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
openmsx::OpenMSX_Icon
Definition: Icon.hh:6
openmsx::OpenMSX_Icon::pixel_data
const char * pixel_data
Definition: Icon.hh:11
openmsx::OpenMSX_Icon::bytes_per_pixel
unsigned bytes_per_pixel
Definition: Icon.hh:10
openmsx::OpenMSX_Icon::width
unsigned width
Definition: Icon.hh:8
openmsx::openMSX_icon
OpenMSX_Icon openMSX_icon
Definition: Icon.cc:17
openmsx::OpenMSX_Icon::height
unsigned height
Definition: Icon.hh:9
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5