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 ) );
RESETTABLE_PANEL(wxWindow *aParent, wxWindowID aId=wxID_ANY, const wxPoint &aPos=wxDefaultPosition, const wxSize &aSize=wxSize(-1,-1), long aStyle=wxTAB_TRAVERSAL, const wxString &aName=wxEmptyString)