KiCad PCB EDA Suite
panel_sym_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
12BEGIN_EVENT_TABLE( PANEL_SYM_COLOR_SETTINGS_BASE, wxPanel )
14END_EVENT_TABLE()
15
16PANEL_SYM_COLOR_SETTINGS_BASE::PANEL_SYM_COLOR_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
17{
18 wxBoxSizer* p1mainSizer;
19 p1mainSizer = new wxBoxSizer( wxHORIZONTAL );
20
21 wxStaticBoxSizer* sbSizer1;
22 sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Color Theme") ), wxVERTICAL );
23
24 sbSizer1->SetMinSize( wxSize( 250,-1 ) );
25 m_eeschemaRB = new wxRadioButton( sbSizer1->GetStaticBox(), wxID_ANY, _("Use schematic editor color theme"), wxDefaultPosition, wxDefaultSize, wxRB_GROUP );
26 sbSizer1->Add( m_eeschemaRB, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
27
28 wxBoxSizer* bSizer2;
29 bSizer2 = new wxBoxSizer( wxHORIZONTAL );
30
31 m_themeRB = new wxRadioButton( sbSizer1->GetStaticBox(), wxID_ANY, _("Use theme:"), wxDefaultPosition, wxDefaultSize, 0 );
32 bSizer2->Add( m_themeRB, 0, wxALIGN_CENTER_VERTICAL|wxRIGHT|wxLEFT, 5 );
33
34 wxArrayString m_themesChoices;
35 m_themes = new wxChoice( sbSizer1->GetStaticBox(), wxID_ANY, wxDefaultPosition, wxDefaultSize, m_themesChoices, 0 );
36 m_themes->SetSelection( 0 );
37 bSizer2->Add( m_themes, 1, wxALIGN_CENTER_VERTICAL|wxRIGHT, 5 );
38
39
40 sbSizer1->Add( bSizer2, 1, wxEXPAND|wxTOP|wxBOTTOM, 5 );
41
42
43 p1mainSizer->Add( sbSizer1, 0, wxALL, 5 );
44
45
46 p1mainSizer->Add( 0, 0, 1, wxEXPAND, 5 );
47
48
49 this->SetSizer( p1mainSizer );
50 this->Layout();
51 p1mainSizer->Fit( this );
52}
53
55{
56}
const char * name
Definition: DXF_plotter.cpp:56
Class PANEL_SYM_COLOR_SETTINGS_BASE.
void _wxFB_OnThemeChanged(wxCommandEvent &event)
#define _(s)
GERBVIEW_FRAME::OnZipFileHistory GERBVIEW_FRAME::OnSelectDisplayMode EVT_CHOICE(ID_GBR_AUX_TOOLBAR_PCB_APERATTRIBUTES_CHOICE, GERBVIEW_FRAME::OnSelectHighlightChoice) EVT_UPDATE_UI(ID_TOOLBARH_GERBVIEW_SELECT_ACTIVE_LAYER