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)
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

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.

Definition at line 71 of file advprops.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

Resulting colour. Should be correct regardless of type.

Definition at line 93 of file advprops.h.

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

Definition at line 90 of file advprops.h.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


wxpropgrid
Author(s): Jaakko Salli
autogenerated on Fri Jan 11 09:34:05 2013