KiCad PCB EDA Suite
|
#include <color4d_variant.h>
Public Member Functions | |
COLOR4D_VARIANT_DATA () | |
COLOR4D_VARIANT_DATA (const wxString &aColorStr) | |
COLOR4D_VARIANT_DATA (const KIGFX::COLOR4D &aColor) | |
bool | Eq (wxVariantData &aOther) const override |
wxString | GetType () const override |
bool | Read (wxString &aString) override |
bool | Write (wxString &aString) const override |
bool | GetAsAny (wxAny *aAny) const override |
const KIGFX::COLOR4D & | Color () |
void | SetColor (const KIGFX::COLOR4D &aColor) |
Static Public Member Functions | |
static wxVariantData * | VariantDataFactory (const wxAny &aAny) |
Protected Attributes | |
KIGFX::COLOR4D | m_color |
Definition at line 26 of file color4d_variant.h.
COLOR4D_VARIANT_DATA::COLOR4D_VARIANT_DATA | ( | ) |
Definition at line 22 of file color4d_variant.cpp.
Referenced by VariantDataFactory().
COLOR4D_VARIANT_DATA::COLOR4D_VARIANT_DATA | ( | const wxString & | aColorStr | ) |
Definition at line 27 of file color4d_variant.cpp.
COLOR4D_VARIANT_DATA::COLOR4D_VARIANT_DATA | ( | const KIGFX::COLOR4D & | aColor | ) |
Definition at line 33 of file color4d_variant.cpp.
|
inline |
Definition at line 47 of file color4d_variant.h.
References m_color.
Referenced by PG_COLOR_EDITOR::colorFromVariant(), and PROPERTY_BASE::set().
|
override |
Definition at line 39 of file color4d_variant.cpp.
References m_color.
|
override |
Definition at line 68 of file color4d_variant.cpp.
References m_color.
|
inlineoverride |
Definition at line 37 of file color4d_variant.h.
|
override |
Definition at line 54 of file color4d_variant.cpp.
References m_color.
|
inline |
Definition at line 49 of file color4d_variant.h.
References m_color.
|
static |
Definition at line 75 of file color4d_variant.cpp.
References COLOR4D_VARIANT_DATA().
|
override |
Definition at line 61 of file color4d_variant.cpp.
References m_color, and KIGFX::COLOR4D::ToCSSString().
|
protected |
Definition at line 52 of file color4d_variant.h.
Referenced by Color(), Eq(), GetAsAny(), Read(), SetColor(), and Write().