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. 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) | |
wxColourPropertyValue () | |
virtual | ~wxColourPropertyValue () |
Public Attributes | |
wxColour | m_colour |
wxUint32 | m_type |
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.
Definition at line 71 of file advprops.h.
wxColourPropertyValue::wxColourPropertyValue | ( | ) | [inline] |
Definition at line 95 of file advprops.h.
wxColourPropertyValue::wxColourPropertyValue | ( | const wxColourPropertyValue & | v | ) | [inline] |
Definition at line 101 of file advprops.h.
virtual wxColourPropertyValue::~wxColourPropertyValue | ( | ) | [inline, virtual] |
Definition at line 108 of file advprops.h.
wxColourPropertyValue::wxColourPropertyValue | ( | const wxColour & | colour | ) | [inline] |
Definition at line 118 of file advprops.h.
wxColourPropertyValue::wxColourPropertyValue | ( | wxUint32 | type | ) | [inline] |
Definition at line 125 of file advprops.h.
wxColourPropertyValue::wxColourPropertyValue | ( | wxUint32 | type, | |
const wxColour & | colour | |||
) | [inline] |
Definition at line 131 of file advprops.h.
void wxColourPropertyValue::Init | ( | wxUint32 | type, | |
const wxColour & | colour | |||
) | [inline] |
Definition at line 112 of file advprops.h.
void wxColourPropertyValue::operator= | ( | const wxColourPropertyValue & | cpv | ) | [inline] |
Definition at line 139 of file advprops.h.
wxColour wxColourPropertyValue::m_colour |
Resulting colour. Should be correct regardless of type.
Definition at line 93 of file advprops.h.
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
Definition at line 90 of file advprops.h.