- #include "stdlib.h"
- #include "GUI.H"
- /* Palette
- The following are the entries of the palette table.
- Every entry is a 32-bit value (of which 24 bits are actually used)
- the lower 8 bits represent the Red component,
- the middle 8 bits represent the Green component,
- the highest 8 bits (of the 24 bits used) represent the Blue component
- as follows: 0xBBGGRR
- */
- const GUI_COLOR Colorskk[] = {
- 0xFFFFFF,0x000000,0xC0C0C0,0x808080
- ,0x00FFFF,0xFF0000,0x008080,0x800000
- ,0x0000FF,0x000080,0xFFFF00,0x808000
- ,0x008000,0x800080,0xFF00FF,0x00FF00
- };
- const GUI_LOGPALETTE Palkk = {
- 16, /* number of entries */
- 0, /* No transparency */
- &Colorskk[0]
- };
- const unsigned char ackk[] = {...};
- const GUI_BITMAP bmkk = {
- 798, /* XSize */
- 480, /* YSize */
- 399, /* BytesPerLine */
- 4, /* BitsPerPixel */
- ackk, /* Pointer to picture data (indices) */
- &Palkk /* Pointer to palette */
- };
|