This class holds a variety of information related to colour dialogs.
wxColourData::wxColourData
wxColourData::~wxColourData
wxColourData::GetChooseFull
wxColourData::GetColour
wxColourData::GetCustomColour
wxColourData::SetChooseFull
wxColourData::SetColour
wxColourData::SetCustomColour
wxColourData::operator =
void wxColourData(void)
Constructor. Initializes the custom colours to white, the dataColour member to black, and the chooseFull member to TRUE.
void ~wxColourData(void)
Destructor.
Bool GetChooseFull(void)
Under Windows, determines whether the Windows colour dialog will display the full dialog with custom colour selection controls. Has no meaning under other platforms.
The default value is TRUE.
wxColour& GetColour(void)
Gets the current colour associated with the colour dialog.
The default colour is black.
wxColour& GetCustomColour(int i)
Gets the ith custom colour associated with the colour dialog. i should be an integer between 0 and 15.
The default custom colours are all white.
void SetChooseFull(Bool flag)
Under Windows, tells the Windows colour dialog to display the full dialog with custom colour selection controls. Under other platforms, has no effect.
The default value is TRUE.
void SetColour(wxColour& colour)
Sets the default colour for the colour dialog.
The default colour is black.
void SetColour(int i, wxColour& colour)
Sets the ith custom colour for the colour dialog. i should be an integer between 0 and 15.
The default custom colours are all white.
void operator =(const wxColourData& data)
Assingment operator for the colour data.