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. wxSystemColourProperty value makes this possible. More...

#include <advprops.h>

List of all members.

Public Member Functions

void Init (wxUint32 type, const wxColour &colour)
 wxColourPropertyValue (wxUint32 type, const wxColour &colour)
 wxColourPropertyValue (wxUint32 type)
 wxColourPropertyValue (const wxColour &colour)

Public Attributes

wxColour m_colour
wxUint32 m_type


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

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.

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:
Generated on Mon Oct 29 16:56:23 2007 for wxPropertyGrid by doxygen 1.3.6