#include <pg_properties.h>
|
| PGPROPERTY_COLORENUM (const wxString &aLabel, const wxString &aName, wxPGChoices *aChoices, int aValue=0) |
|
wxSize | OnMeasureImage (int aItem=-1) const override |
|
void | OnCustomPaint (wxDC &aDC, const wxRect &aRect, wxPGPaintData &aPaintData) override |
|
void | SetColorFunc (std::function< wxColour(int aValue)> aFunc) |
|
wxColour | GetColor (int aValue) |
|
Definition at line 132 of file pg_properties.h.
◆ PGPROPERTY_COLORENUM()
PGPROPERTY_COLORENUM::PGPROPERTY_COLORENUM |
( |
const wxString & |
aLabel, |
|
|
const wxString & |
aName, |
|
|
wxPGChoices * |
aChoices, |
|
|
int |
aValue = 0 |
|
) |
| |
|
inline |
◆ GetColor()
wxColour PGPROPERTY_COLORENUM::GetColor |
( |
int |
aValue | ) |
|
|
inline |
◆ OnCustomPaint()
void PGPROPERTY_COLORENUM::OnCustomPaint |
( |
wxDC & |
aDC, |
|
|
const wxRect & |
aRect, |
|
|
wxPGPaintData & |
aPaintData |
|
) |
| |
|
override |
◆ OnMeasureImage()
wxSize PGPROPERTY_COLORENUM::OnMeasureImage |
( |
int |
aItem = -1 | ) |
const |
|
override |
◆ SetColorFunc()
void PGPROPERTY_COLORENUM::SetColorFunc |
( |
std::function< wxColour(int aValue)> |
aFunc | ) |
|
|
inline |
◆ m_colorFunc
std::function<wxColour( int aValue )> PGPROPERTY_COLORENUM::m_colorFunc |
|
protected |
The documentation for this class was generated from the following files: