Functions | |
GR_COLOR | GrGetSysColor (int index) |
Returns the colour at the specified index into the server's color look up table. | |
void | GrGetSystemPalette (GR_PALETTE *pal) |
Retrieves the system palette and places it in the specified palette structure. | |
void | GrSetSystemPalette (GR_COUNT first, GR_PALETTE *pal) |
Sets the system palette to the values stored in the specified palette structure. | |
void | GrFindColor (GR_COLOR c, GR_PIXELVAL *retpixel) |
Calculates the pixel value to use to display the specified colour value. |
|
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.
|
|
Returns the colour at the specified index into the server's color look up table. The colours in the table are those with names like "GR_COLOR_DESKTOP", "GR_COLOR_ACTIVECAPTION", "GR_COLOR_APPWINDOW", etc. as listed in nano-X.h
|
|
Retrieves the system palette and places it in the specified palette structure.
|
|
Sets the system palette to the values stored in the specified palette structure. The values before the specified first value are not set.
|