
Class Reference
DK_ColourPalette(const char *name,
Widget parent,
Arg *args = NULL,
Cardinal nargs = 0)
Creates a DK_ColourPalette object called *name and attached as a child of the specified parent widget. int numColours ();Returns the number of colours in the palette.
const DK_Colour& getColour ( int index );Returns the colour with the specified index number.
void setColour ( int index, const DK_Colour& );Sets the palette position with the specified index number to the specified colour.
void addColour ( int index, const DK_Colour& );Adds the specified colour to the palette at the position with the specified index number. The indices of colours after pos are automatically incremented.
void deleteColour( int index );Removes the colour at the at the position with the specified index number from the palette. The indices of colours after pos are automatically decremented.
void clearColours();Removes all colours from the palette.
void setStandard ()Sets the palette to the standard Eddie default palette.
