14PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
long style,
const wxString&
name ) :
RESETTABLE_PANEL( parent, id, pos, size, style,
name )
18 wxBoxSizer* bControlSizer;
19 bControlSizer =
new wxBoxSizer( wxHORIZONTAL );
21 m_staticText9 =
new wxStaticText(
this, wxID_ANY,
_(
"Theme:"), wxDefaultPosition, wxDefaultSize, 0 );
23 bControlSizer->Add(
m_staticText9, 0, wxALIGN_CENTER_VERTICAL|wxLEFT|wxRIGHT, 5 );
25 wxArrayString m_cbThemeChoices;
26 m_cbTheme =
new wxChoice(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, m_cbThemeChoices, 0 );
28 m_cbTheme->SetMinSize( wxSize( 150,-1 ) );
30 bControlSizer->Add(
m_cbTheme, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxTOP, 5 );
33 bControlSizer->Add( 0, 0, 1, wxEXPAND, 5 );
35 m_optOverrideColors =
new wxCheckBox(
this, wxID_ANY,
_(
"Override individual item colors"), wxDefaultPosition, wxDefaultSize, 0 );
36 m_optOverrideColors->SetToolTip(
_(
"Show all items in their default color even if they have specific colors set in their properties.") );
41 bControlSizer->Add( 0, 0, 1, wxEXPAND, 5 );
43 m_btnOpenFolder =
new wxButton(
this, wxID_ANY,
_(
"Open Theme Folder"), wxDefaultPosition, wxDefaultSize, 0 );
46 bControlSizer->Add(
m_btnOpenFolder, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
49 m_mainSizer->Add( bControlSizer, 0, wxEXPAND|wxALL, 5 );
51 m_panel1 =
new WX_PANEL(
this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTAB_TRAVERSAL );
56 m_colorsListWindow->SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ) );
virtual void OnSize(wxSizeEvent &event)
virtual void OnOverrideItemColorsClicked(wxCommandEvent &event)
wxStaticText * m_staticText9
wxCheckBox * m_optOverrideColors
wxBoxSizer * m_colorsMainSizer
~PANEL_COLOR_SETTINGS_BASE()
virtual void OnLeftDownTheme(wxMouseEvent &event)
wxFlexGridSizer * m_colorsGridSizer
wxButton * m_btnOpenFolder
wxBoxSizer * m_previewPanelSizer
PANEL_COLOR_SETTINGS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxScrolledWindow * m_colorsListWindow
virtual void OnBtnOpenThemeFolderClicked(wxCommandEvent &event)
virtual void OnThemeChanged(wxCommandEvent &event)
A wxPanel that is designed to be reset in a standard manner.