KiCad PCB EDA Suite
panel_pl_editor_color_settings_base.cpp
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version Oct 26 2018)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
9
11
12PANEL_PL_EDITOR_COLOR_SETTINGS_BASE::PANEL_PL_EDITOR_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 )
13{
14 wxBoxSizer* p1mainSizer;
15 p1mainSizer = new wxBoxSizer( wxHORIZONTAL );
16
17 wxStaticBoxSizer* sbSizer1;
18 sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Color Theme") ), wxHORIZONTAL );
19
20 sbSizer1->SetMinSize( wxSize( 250,-1 ) );
21 m_txtTheme = new wxStaticText( sbSizer1->GetStaticBox(), wxID_ANY, _("Theme:"), wxDefaultPosition, wxDefaultSize, 0 );
22 m_txtTheme->Wrap( -1 );
23 sbSizer1->Add( m_txtTheme, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT|wxLEFT, 5 );
24
25 wxArrayString m_themesChoices;
26 m_themes = new wxChoice( sbSizer1->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_themesChoices, 0 );
27 m_themes->SetSelection( 0 );
28 sbSizer1->Add( m_themes, 1, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
29
30
31 p1mainSizer->Add( sbSizer1, 0, wxALL, 10 );
32
33
34 p1mainSizer->Add( 0, 0, 1, wxEXPAND, 5 );
35
36
37 this->SetSizer( p1mainSizer );
38 this->Layout();
39 p1mainSizer->Fit( this );
40}
41
43{
44}
const char * name
Definition: DXF_plotter.cpp:56
PANEL_PL_EDITOR_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)
A wxPanel that is designed to be reset in a standard manner.
#define _(s)