KiCad PCB EDA Suite
|
#include <pg_properties.h>
Public Member Functions | |
PGPROPERTY_COLOR4D (const wxString &aLabel=wxPG_LABEL, const wxString &aName=wxPG_LABEL, KIGFX::COLOR4D aValue=KIGFX::COLOR4D::UNSPECIFIED, KIGFX::COLOR4D aBackground=KIGFX::COLOR4D::UNSPECIFIED) | |
virtual | ~PGPROPERTY_COLOR4D ()=default |
wxString | ValueToString (wxVariant &aValue, int aFlags=0) const override |
bool | StringToValue (wxVariant &aVariant, const wxString &aText, int aFlags=0) const override |
void | SetBackgroundColor (const KIGFX::COLOR4D &aColor) |
const KIGFX::COLOR4D & | GetBackgroundColor () const |
Private Attributes | |
KIGFX::COLOR4D | m_backgroundColor |
Used for rendering colors with opacity. | |
Definition at line 309 of file pg_properties.h.
PGPROPERTY_COLOR4D::PGPROPERTY_COLOR4D | ( | const wxString & | aLabel = wxPG_LABEL , |
const wxString & | aName = wxPG_LABEL , |
||
KIGFX::COLOR4D | aValue = KIGFX::COLOR4D::UNSPECIFIED , |
||
KIGFX::COLOR4D | aBackground = KIGFX::COLOR4D::UNSPECIFIED |
||
) |
Definition at line 656 of file pg_properties.cpp.
References PG_COLOR_EDITOR::EDITOR_NAME.
|
virtualdefault |
|
inline |
Definition at line 332 of file pg_properties.h.
References m_backgroundColor.
|
inline |
Definition at line 331 of file pg_properties.h.
References m_backgroundColor.
|
override |
Definition at line 674 of file pg_properties.cpp.
|
override |
Definition at line 687 of file pg_properties.cpp.
|
private |
Used for rendering colors with opacity.
Definition at line 336 of file pg_properties.h.
Referenced by GetBackgroundColor(), and SetBackgroundColor().