2018-05-14 17:34:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-10-04 16:43:48 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2018-05-14 17:34:18 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "panel_gerbview_settings_base.h"
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-10-04 16:43:48 +00:00
|
|
|
PANEL_GERBVIEW_SETTINGS_BASE::PANEL_GERBVIEW_SETTINGS_BASE( wxWindow* parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style, const wxString& name ) : wxPanel( parent, id, pos, size, style, name )
|
2018-05-14 17:34:18 +00:00
|
|
|
{
|
|
|
|
wxBoxSizer* bDialogSizer;
|
|
|
|
bDialogSizer = new wxBoxSizer( wxVERTICAL );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
m_UpperSizer = new wxBoxSizer( wxVERTICAL );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
wxBoxSizer* bLeftSizer;
|
|
|
|
bLeftSizer = new wxBoxSizer( wxVERTICAL );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
wxString m_PageSizeChoices[] = { _("Full size"), _("Size A4"), _("Size A3"), _("Size A2"), _("Size A"), _("Size B"), _("Size C") };
|
|
|
|
int m_PageSizeNChoices = sizeof( m_PageSizeChoices ) / sizeof( wxString );
|
|
|
|
m_PageSize = new wxRadioBox( this, wxID_ANY, _("Page Size"), wxDefaultPosition, wxDefaultSize, m_PageSizeNChoices, m_PageSizeChoices, 1, wxRA_SPECIFY_COLS );
|
|
|
|
m_PageSize->SetSelection( 0 );
|
|
|
|
bLeftSizer->Add( m_PageSize, 0, wxEXPAND|wxTOP|wxLEFT, 5 );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
m_ShowPageLimitsOpt = new wxCheckBox( this, wxID_ANY, _("Show page limits"), wxDefaultPosition, wxDefaultSize, 0 );
|
|
|
|
bLeftSizer->Add( m_ShowPageLimitsOpt, 0, wxALL, 10 );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
|
|
|
|
2018-07-16 06:25:27 +00:00
|
|
|
m_UpperSizer->Add( bLeftSizer, 0, wxEXPAND|wxRIGHT, 5 );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
|
|
|
|
2018-07-16 06:25:27 +00:00
|
|
|
bDialogSizer->Add( m_UpperSizer, 0, wxEXPAND|wxRIGHT, 5 );
|
2020-10-04 16:43:48 +00:00
|
|
|
|
|
|
|
|
2018-05-14 17:34:18 +00:00
|
|
|
this->SetSizer( bDialogSizer );
|
|
|
|
this->Layout();
|
|
|
|
bDialogSizer->Fit( this );
|
|
|
|
}
|
|
|
|
|
|
|
|
PANEL_GERBVIEW_SETTINGS_BASE::~PANEL_GERBVIEW_SETTINGS_BASE()
|
|
|
|
{
|
|
|
|
}
|