Details
GrGetSystemPalette ()
void GrGetSystemPalette (GR_PALETTE *pal); |
Retrieves the system palette and places it in the specified palette
structure.
GrSetSystemPalette ()
void GrSetSystemPalette (GR_COUNT first,
GR_PALETTE *pal); |
Sets the system palette to the values stored in the specified palette
structure. The values before the specified first value are not set.
GrFindColor ()
void GrFindColor (GR_COLOR c,
GR_PIXELVAL *retpixel); |
Calculates the pixel value to use to display the specified colour value.
The colour value is specified as a GR_COLOR, which is a 32 bit truecolour
value stored as RGBX. The pixel value size depends on the architecture.
GrGetSysColor ()
GR_COLOR GrGetSysColor (int index); |