56 int pos =
m_themes->Append( settings->GetName(),
static_cast<void*
>( settings ) );
58 if( settings == current )
61 m_themes->GetTextExtent( settings->GetName(), &width, &height );
62 minwidth = std::max( minwidth, width );
65 m_themes->SetMinSize( wxSize( minwidth + 50, -1 ) );
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_SYM_COLOR_SETTINGS_BASE.
wxRadioButton * m_themeRB
wxRadioButton * m_eeschemaRB
bool TransferDataFromWindow() override
bool TransferDataToWindow() override
void OnThemeChanged(wxCommandEvent &event) override
PANEL_SYM_COLOR_SETTINGS(wxWindow *aWindow)
virtual SETTINGS_MANAGER & GetSettingsManager() const
COLOR_SETTINGS * GetColorSettings(const wxString &aName="user")
Retrieves a color settings object that applications can read colors from.
T * GetAppSettings(const wxString &aFilename)
Returns a handle to the a given settings by type If the settings have already been loaded,...
std::vector< COLOR_SETTINGS * > GetColorSettingsList()
bool m_UseEeschemaColorSettings
PGM_BASE & Pgm()
The global Program "get" accessor.