KiCad PCB EDA Suite
|
#include <stackup_predefined_prms.h>
Public Member Functions | |
FAB_LAYER_COLOR () | |
FAB_LAYER_COLOR (const wxString &aColorName, const wxColor &aColor) | |
const wxString & | GetName () const |
KIGFX::COLOR4D | GetColor (BOARD_STACKUP_ITEM_TYPE aItemType) const |
const wxString | GetColorAsString () const |
Private Attributes | |
wxString | m_colorName |
KIGFX::COLOR4D | m_color |
Definition at line 72 of file stackup_predefined_prms.h.
|
inline |
Definition at line 75 of file stackup_predefined_prms.h.
|
inline |
Definition at line 78 of file stackup_predefined_prms.h.
|
inline |
Definition at line 88 of file stackup_predefined_prms.h.
References BS_ITEM_TYPE_SOLDERMASK, DEFAULT_SOLDERMASK_OPACITY, m_color, and KIGFX::COLOR4D::WithAlpha().
const wxString FAB_LAYER_COLOR::GetColorAsString | ( | ) | const |
Definition at line 135 of file stackup_predefined_prms.cpp.
References KIGFX::COLOR4D::b, KIGFX::COLOR4D::g, IsColorNameNormalized(), m_color, m_colorName, and KIGFX::COLOR4D::r.
|
inline |
Definition at line 83 of file stackup_predefined_prms.h.
References m_colorName.
|
private |
Definition at line 107 of file stackup_predefined_prms.h.
Referenced by GetColor(), and GetColorAsString().
|
private |
Definition at line 104 of file stackup_predefined_prms.h.
Referenced by GetColorAsString(), and GetName().