wxPropertyGrid
Public Member Functions | Public Attributes | List of all members
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>

Inheritance diagram for wxColourPropertyValue:

Public Member Functions

void Init (wxUint32 type, const wxColour &colour)
 
void operator= (const wxColourPropertyValue &cpv)
 
 wxColourPropertyValue (const wxColourPropertyValue &v)
 
 wxColourPropertyValue (const wxColour &colour)
 
 wxColourPropertyValue (wxUint32 type)
 
 wxColourPropertyValue (wxUint32 type, const wxColour &colour)
 

Public Attributes

wxColour m_colour
 Resulting colour. More...
 
wxUint32 m_type
 An integer value relating to the colour, and which exact meaning depends on the property with which it is used. More...
 

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

◆ m_colour

wxColour wxColourPropertyValue::m_colour

Resulting colour.

Should be correct regardless of type.

◆ m_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: