openMSX
Icon.hh
Go to the documentation of this file.
1 #ifndef ICON_HH
2 #define ICON_HH
3 
4 namespace openmsx {
5 
7 {
8  unsigned width;
9  unsigned height;
10  unsigned bytes_per_pixel; /* 3:RGB, 4:RGBA */
11  const char* pixel_data;
12 };
13 
15 
16 } // namespace openmsx
17 
18 #endif
unsigned height
Definition: Icon.hh:9
const char * pixel_data
Definition: Icon.hh:11
OpenMSX_Icon openMSX_icon
Definition: Icon.cc:17
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5
unsigned bytes_per_pixel
Definition: Icon.hh:10
unsigned width
Definition: Icon.hh:8