KiCad PCB EDA Suite
panel_gerbview_display_options_base.cpp
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Dec 30 2017)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
9 
11 
12 PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE::PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style ) : wxPanel( parent, id, pos, size, style )
13 {
14  wxBoxSizer* bDialogSizer;
15  bDialogSizer = new wxBoxSizer( wxVERTICAL );
16 
17  m_UpperSizer = new wxBoxSizer( wxHORIZONTAL );
18 
19  m_galOptionsSizer = new wxBoxSizer( wxVERTICAL );
20 
21 
22  m_UpperSizer->Add( m_galOptionsSizer, 1, wxEXPAND, 5 );
23 
24  wxBoxSizer* bRightSizer;
25  bRightSizer = new wxBoxSizer( wxVERTICAL );
26 
27  wxStaticBoxSizer* sbSizer1;
28  sbSizer1 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Annotations") ), wxVERTICAL );
29 
30  m_OptDisplayDCodes = new wxCheckBox( sbSizer1->GetStaticBox(), wxID_ANY, _("Show D codes"), wxDefaultPosition, wxDefaultSize, 0 );
31  m_OptDisplayDCodes->SetValue(true);
32  sbSizer1->Add( m_OptDisplayDCodes, 0, wxBOTTOM|wxLEFT, 5 );
33 
34 
35  bRightSizer->Add( sbSizer1, 0, wxEXPAND|wxALL, 5 );
36 
37  wxStaticBoxSizer* sbSizer2;
38  sbSizer2 = new wxStaticBoxSizer( new wxStaticBox( this, wxID_ANY, _("Drawing Mode") ), wxVERTICAL );
39 
40  m_OptDisplayFlashedItems = new wxCheckBox( sbSizer2->GetStaticBox(), wxID_ANY, _("Sketch flashed items"), wxDefaultPosition, wxDefaultSize, 0 );
41  sbSizer2->Add( m_OptDisplayFlashedItems, 0, wxBOTTOM|wxRIGHT|wxLEFT, 5 );
42 
43  m_OptDisplayLines = new wxCheckBox( sbSizer2->GetStaticBox(), wxID_ANY, _("Sketch lines"), wxDefaultPosition, wxDefaultSize, 0 );
44  sbSizer2->Add( m_OptDisplayLines, 0, wxALL, 5 );
45 
46  m_OptDisplayPolygons = new wxCheckBox( sbSizer2->GetStaticBox(), wxID_ANY, _("Sketch polygons"), wxDefaultPosition, wxDefaultSize, 0 );
47  sbSizer2->Add( m_OptDisplayPolygons, 0, wxALL, 5 );
48 
49 
50  bRightSizer->Add( sbSizer2, 0, wxEXPAND|wxTOP|wxRIGHT|wxLEFT, 5 );
51 
52 
53  m_UpperSizer->Add( bRightSizer, 1, wxEXPAND|wxRIGHT|wxLEFT, 5 );
54 
55 
56  bDialogSizer->Add( m_UpperSizer, 1, wxEXPAND, 5 );
57 
58 
59  this->SetSizer( bDialogSizer );
60  this->Layout();
61  bDialogSizer->Fit( this );
62 }
63 
65 {
66 }
PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL)