wxcolourdatathis class holds a variety of information related to colour dialogs. derived from include files <wx/cmndata.h> see also wxcolour, wxcolourdialog, wxcolourdialog overview members
wxcolourdata::wxcolourdata
wxcolourdata::wxcolourdatawxcolourdata() constructor. initializes the custom colours to wxnullcolour, the data colour setting to black, and the choose full setting to true.
wxcolourdata::~wxcolourdata~wxcolourdata() destructor.
wxcolourdata::getchoosefullbool getchoosefull() const under windows, determines whether the windows colour dialog will display the full dialog with custom colour selection controls. under palmos, determines whether colour dialog will display full rgb colour picker or only available palette indexer. has no meaning under other platforms. the default value is true.
wxcolourdata::getcolourwxcolour& getcolour() const gets the current colour associated with the colour dialog. the default colour is black.
wxcolourdata::getcustomcolourwxcolour& getcustomcolour(int i) const gets the ith custom colour associated with the colour dialog. i should be an integer between 0 and 15. the default custom colours are invalid colours.
wxcolourdata::setchoosefullvoid setchoosefull(const 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.
wxcolourdata::setcolourvoid setcolour(const wxcolour& colour) sets the default colour for the colour dialog. the default colour is black.
wxcolourdata::setcustomcolourvoid setcustomcolour(int i, const 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 invalid colours.
wxcolourdata::operator =void operator =(const wxcolourdata& data) assignment operator for the colour data.
|