wxColourPropertyValue Class Reference

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>

List of all members.

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.

Detailed Description

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.


Member Data Documentation

Resulting colour.

Should be correct regardless of type.

An integer value relating to the colour, and which exact meaning depends on the property with which it is used.

For wxSystemColourProperty:

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


The documentation for this class was generated from the following file:
 All Classes Functions Variables Enumerations Enumerator
Generated on Sun Aug 22 12:42:14 2010 for wxPropertyGrid by  doxygen 1.6.3