ClanLib
2.3.7
|
256 color ARGB palette class. More...
#include <palette.h>
Public Member Functions | |
Construction | |
CL_Palette () | |
Constructs a palette. More... | |
CL_Palette (const unsigned int *copy) | |
Constructs a Palette. More... | |
Attributes | |
CL_Color | colors [256] |
Palette color entries. More... | |
const CL_Color & | operator[] (int index) const |
Return color at index. More... | |
CL_Color & | operator[] (int index) |
operator const unsigned int * () const | |
Returns the palette in ARGB8888 format. More... | |
operator unsigned int * () const | |
256 color ARGB palette class.
|
inline |
Constructs a palette.
|
inline |
Constructs a Palette.
copy | Integer array of ARGB8888 color components to use as initial palette. |
|
inline |
Returns the palette in ARGB8888 format.
|
inline |
|
inline |
Return color at index.
|
inline |
CL_Color CL_Palette::colors[256] |
Palette color entries.