Because text, background and other colours tend to differ between platforms, wxSystemColourProperty must be able to select between system colour and, when necessary, to pick a custom one. More...
#include <advprops.h>
Public Member Functions | |
void | Init (wxUint32 type, const wxColour &colour) |
void | operator= (const wxColourPropertyValue &cpv) |
wxColourPropertyValue (wxUint32 type, const wxColour &colour) | |
wxColourPropertyValue (wxUint32 type) | |
wxColourPropertyValue (const wxColour &colour) | |
wxColourPropertyValue (const wxColourPropertyValue &v) | |
Public Attributes | |
wxColour | m_colour |
Resulting colour. | |
wxUint32 | m_type |
An integer value relating to the colour, and which exact meaning depends on the property with which it is used. |
Because text, background and other colours tend to differ between platforms, wxSystemColourProperty must be able to select between system colour and, when necessary, to pick a custom one.
wxSystemColourProperty value makes this possible.
wxColour wxColourPropertyValue::m_colour |
Resulting colour.
Should be correct regardless of type.
wxUint32 wxColourPropertyValue::m_type |
An integer value relating to the colour, and which exact meaning depends on the property with which it is used.
Any of wxSYS_COLOUR_XXX, or any web-colour ( use wxPG_TO_WEB_COLOUR macro - (currently unsupported) ), or wxPG_COLOUR_CUSTOM.
For custom colour properties without values array specified:
index or wxPG_COLOUR_CUSTOM
For custom colour properties with values array specified:
m_arrValues[index] or wxPG_COLOUR_CUSTOM