|
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 311 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 703 of file pg_properties.cpp.
References PG_COLOR_EDITOR::EDITOR_NAME, and m_backgroundColor.
|
virtualdefault |
|
inline |
Definition at line 334 of file pg_properties.h.
References m_backgroundColor.
|
inline |
Definition at line 333 of file pg_properties.h.
References m_backgroundColor.
|
override |
Definition at line 723 of file pg_properties.cpp.
|
override |
Definition at line 736 of file pg_properties.cpp.
References COLOR4D_VARIANT_DATA::Write().
|
private |
Used for rendering colors with opacity.
Definition at line 338 of file pg_properties.h.
Referenced by GetBackgroundColor(), PGPROPERTY_COLOR4D(), and SetBackgroundColor().