48 if( current->GetFilename() != app_settings->
m_ColorTheme )
wxString m_ColorTheme
Active color theme name.
Color settings are a bit different than most of the settings objects in that there can be more than o...
GERBER_LAYER_WIDGET * m_LayersManager
wxString GetFilename() const
wxCheckBox * m_optOverrideColors
void createThemeList(const wxString &aCurrent)
Builds the theme listbox and sets the selection to the current theme.
void createSwatch(int aLayer, const wxString &aName)
std::vector< int > m_validLayers
A list of layer IDs that are valid for the current color settings dialog.
std::string m_colorNamespace
A namespace that will be passed to SETTINGS_MANAGER::SaveColorSettings.
COLOR_SETTINGS * m_currentSettings
bool TransferDataFromWindow() override
bool TransferDataToWindow() override
void createSwatches() override
PANEL_GERBVIEW_COLOR_SETTINGS(wxWindow *aParent)
~PANEL_GERBVIEW_COLOR_SETTINGS() override
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings()
Returns a handle to the a given settings by type If the settings have already been loaded,...
COLOR_SETTINGS * GetColorSettings(const wxString &aName="user")
Retrieves a color settings object that applications can read colors from.
#define GERBVIEW_FRAME_NAME
The main window used in GerbView.
@ LAYER_GERBVIEW_DRAWINGSHEET
@ GERBVIEW_LAYER_ID_START
@ LAYER_GERBVIEW_BACKGROUND
@ LAYER_GERBVIEW_PAGE_LIMITS
#define GERBER_DRAWLAYERS_COUNT
PGM_BASE & Pgm()
The global Program "get" accessor.