DAS
3.1.6 - 18/09/2017
|
Colormap entry. More...
#include <Mguidefs.h>
Data Fields | |
unsigned char | blue |
unsigned char | green |
unsigned char | index |
unsigned char | red |
Colormap entry.
A colormap is associated to an image with a fixed limited number of colors (usually 2, 16 or 256). An array of IMAGE_CMAP entries is always bound to an MIMAGE structure with an associated color palette.
Definition at line 410 of file Mguidefs.h.
unsigned char IMAGE_CMAP::blue |
Blue color component
Definition at line 412 of file Mguidefs.h.
unsigned char IMAGE_CMAP::green |
Green color component
Definition at line 414 of file Mguidefs.h.
unsigned char IMAGE_CMAP::index |
Palette index. This field is intended for internal use. When the program runs in PaletteMode (nr of colors <= 256) this field stores the color index corresponding to the palette entry when the image is installed.
Definition at line 423 of file Mguidefs.h.
unsigned char IMAGE_CMAP::red |
Red color component
Definition at line 416 of file Mguidefs.h.