Class used to describe a palette.
Description
CL_Palette represents a palette in the form of a 256 byte array.
Class members
unsigned char *palette
int num_colors
CL_Palette()
virtual ~CL_Palette()
CL_Palette(
unsigned char *palette,
int num_colors=256)
CL_Palette(
char *palette_id,
CL_InputSourceProvider *provider)
CL_Palette(CL_InputSource *input)
See Also
CL_Display | - | The system palette is set here. |
CL_DisplayCard | - | The card specific system palette is set here. |
CL_SurfaceProvider | - | Palettelized surfaces use this class. |
Back to index
|