37 m_titleBlock( nullptr )
112 std::vector<GAL_LAYER_ID> galLayers;
121 std::sort( galLayers.begin(), galLayers.end(),
FOOTPRINT_EDIT_FRAME * m_frame
virtual bool Store()
Stores the current parameters into the JSON document represented by this object Note: this doesn't do...
wxCheckBox * m_optOverrideColors
SETTINGS_MANAGER * GetSettingsManager() const
bool TransferDataFromWindow() override
~PANEL_FP_EDITOR_COLOR_SETTINGS() override
GAL_LAYER_ID
GAL layers are "virtual" layers, i.e.
wxString GetFilename() const
to draw via holes (pad holes do not use this layer)
std::string m_colorNamespace
A namespace that will be passed to SETTINGS_MANAGER::SaveColorSettings.
Meta control for all vias opacity/visibility.
void createThemeList(const wxString &aCurrent)
Builds the theme listbox and sets the selection to the current theme.
COLOR_SETTINGS * m_currentSettings
T * GetAppSettings(bool aLoadNow=true)
Returns a handle to the a given settings by type If the settings have already been loaded,...
wxBoxSizer * m_colorsMainSizer
wxString LayerName(int aLayer)
Returns the default display name for a given layer.
std::vector< int > m_validLayers
A list of layer IDs that are valid for the current color settings dialog.
TITLE_BLOCK * m_titleBlock
COLOR_SETTINGS * GetColorSettings(const wxString &aName="user")
Retrieves a color settings object that applications can read colors from.
COLOR4D GetColor(int aLayer) const
void ReloadColorSettings()
Re-scans the color themes directory, reloading any changes it finds.
Information pertinent to a Pcbnew printed circuit board.
bool TransferDataToWindow() override
void SaveColorSettings(COLOR_SETTINGS *aSettings, const std::string &aNamespace="")
Safely saves a COLOR_SETTINGS to disk, preserving any changes outside the given namespace.
Color settings are a bit different than most of the settings objects in that there can be more than o...
to draw pad holes (plated)
void createSwatch(int aLayer, const wxString &aName)
PANEL_FP_EDITOR_COLOR_SETTINGS(FOOTPRINT_EDIT_FRAME *aFrame, wxWindow *aParent)
wxString m_ColorTheme
Active color theme name.