55 int pos =
m_themes->Append( settings->GetName(),
static_cast<void*
>( settings ) );
57 if( settings == current )
60 m_themes->GetTextExtent( settings->GetName(), &width, &height );
61 minwidth = std::max( minwidth, width );
64 m_themes->SetMinSize( wxSize( minwidth + 50, -1 ) );
76 cfg->m_UseEeschemaColorSettings =
m_eeschemaRB->GetValue();
78 if( !cfg->m_UseEeschemaColorSettings )
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)
bool m_UseEeschemaColorSettings
SETTINGS_MANAGER * GetSettingsManager()
PGM_BASE & Pgm()
The global program "get" accessor.
COLOR_SETTINGS * GetColorSettings(const wxString &aName)