46 int pos =
m_themes->Append( settings->GetName(),
static_cast<void*
>( settings ) );
48 if( settings == current )
51 m_themes->GetTextExtent( settings->GetName(), &width, &height );
52 minwidth = std::max( minwidth, width );
55 m_themes->SetMinSize( wxSize( minwidth + 50, -1 ) );
80 m_themes->SetStringSelection(
_(
"KiCad Default" ) );
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...
wxString GetFilename() const
Class PANEL_PL_EDITOR_COLOR_SETTINGS_BASE.
bool TransferDataFromWindow() override
PANEL_PL_EDITOR_COLOR_SETTINGS(wxWindow *aParent)
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataToWindow() 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.
SETTINGS_MANAGER * GetSettingsManager()
PGM_BASE & Pgm()
The global Program "get" accessor.