2018-05-14 17:34:18 +00:00
///////////////////////////////////////////////////////////////////////////
2020-02-13 14:19:40 +00:00
// C++ code generated with wxFormBuilder (version 3.9.0 Jan 23 2020)
2018-05-14 17:34:18 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////
# include "panel_eeschema_display_options_base.h"
///////////////////////////////////////////////////////////////////////////
2019-10-21 18:03:54 +00:00
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE : : PANEL_EESCHEMA_DISPLAY_OPTIONS_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 * bPanelSizer ;
2018-09-04 00:00:17 +00:00
bPanelSizer = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-04 00:00:17 +00:00
m_galOptionsSizer = new wxBoxSizer ( wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
bPanelSizer - > Add ( m_galOptionsSizer , 1 , wxEXPAND | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-04 00:00:17 +00:00
wxBoxSizer * bRightColumn ;
bRightColumn = new wxBoxSizer ( wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
wxStaticBoxSizer * sbSizer2 ;
sbSizer2 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Dimensions " ) ) , wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-05-14 17:34:18 +00:00
wxFlexGridSizer * fgSizer32 ;
2018-09-09 23:04:42 +00:00
fgSizer32 = new wxFlexGridSizer ( 0 , 3 , 3 , 0 ) ;
2018-05-14 17:34:18 +00:00
fgSizer32 - > AddGrowableCol ( 1 ) ;
fgSizer32 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer32 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_busWidthLabel = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " &Bus thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_busWidthLabel - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_busWidthLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_busWidthCtrl = new wxTextCtrl ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS | wxSP_WRAP ) ;
fgSizer32 - > Add ( m_busWidthCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_busWidthUnits = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_busWidthUnits - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_busWidthUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-06-30 10:12:18 +00:00
m_wireWidthLabel = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " &Wire thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_wireWidthLabel - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_wireWidthLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-06-30 10:12:18 +00:00
m_wireWidthCtrl = new wxTextCtrl ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS | wxSP_WRAP ) ;
fgSizer32 - > Add ( m_wireWidthCtrl , 0 , wxEXPAND | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-06-30 10:12:18 +00:00
m_wireWidthUnits = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_wireWidthUnits - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_wireWidthUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_jctSizeLabel = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " Junction size: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_jctSizeLabel - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_jctSizeLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_jctSizeCtrl = new wxTextCtrl ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , 0 ) ;
fgSizer32 - > Add ( m_jctSizeCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_jctSizeUnits = new wxStaticText ( sbSizer2 - > GetStaticBox ( ) , wxID_ANY , _ ( " mils " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_jctSizeUnits - > Wrap ( - 1 ) ;
fgSizer32 - > Add ( m_jctSizeUnits , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
sbSizer2 - > Add ( fgSizer32 , 0 , wxBOTTOM | wxRIGHT | wxEXPAND , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-11-21 15:48:44 +00:00
bRightColumn - > Add ( sbSizer2 , 0 , wxEXPAND | wxTOP , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
wxStaticBoxSizer * sbSizer1 ;
2019-11-21 15:48:44 +00:00
sbSizer1 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Appearance " ) ) , wxVERTICAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
wxBoxSizer * bSizer6 ;
bSizer6 = new wxBoxSizer ( wxHORIZONTAL ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_staticText26 = new wxStaticText ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Symbol unit notation: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2018-05-14 17:34:18 +00:00
m_staticText26 - > Wrap ( - 1 ) ;
2018-09-09 23:04:42 +00:00
bSizer6 - > Add ( m_staticText26 , 0 , wxRIGHT | wxLEFT | wxALIGN_CENTER_VERTICAL , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-05-14 17:34:18 +00:00
wxString m_choiceSeparatorRefIdChoices [ ] = { _ ( " A " ) , _ ( " .A " ) , _ ( " -A " ) , _ ( " _A " ) , _ ( " .1 " ) , _ ( " -1 " ) , _ ( " _1 " ) } ;
int m_choiceSeparatorRefIdNChoices = sizeof ( m_choiceSeparatorRefIdChoices ) / sizeof ( wxString ) ;
2018-09-09 23:04:42 +00:00
m_choiceSeparatorRefId = new wxChoice ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceSeparatorRefIdNChoices , m_choiceSeparatorRefIdChoices , 0 ) ;
2018-05-14 17:34:18 +00:00
m_choiceSeparatorRefId - > SetSelection ( 0 ) ;
2018-09-09 23:04:42 +00:00
bSizer6 - > Add ( m_choiceSeparatorRefId , 1 , wxEXPAND | wxRIGHT , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-12-11 20:49:58 +00:00
sbSizer1 - > Add ( bSizer6 , 0 , wxEXPAND | wxBOTTOM | wxRIGHT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_checkShowHiddenPins = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " S&how hidden pins " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
sbSizer1 - > Add ( m_checkShowHiddenPins , 0 , wxEXPAND | wxALL , 5 ) ;
2019-10-21 18:03:54 +00:00
m_checkSuperSub = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Enable superscript/subscript markup " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer1 - > Add ( m_checkSuperSub , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
m_checkPageLimits = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show page limi&ts " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-10-21 18:03:54 +00:00
m_checkPageLimits - > SetValue ( true ) ;
2019-12-11 20:49:58 +00:00
sbSizer1 - > Add ( m_checkPageLimits , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-10-21 18:03:54 +00:00
2019-12-11 20:49:58 +00:00
bRightColumn - > Add ( sbSizer1 , 0 , wxEXPAND | wxTOP , 5 ) ;
2019-11-21 15:48:44 +00:00
wxStaticBoxSizer * sbSizer3 ;
sbSizer3 = new wxStaticBoxSizer ( new wxStaticBox ( this , wxID_ANY , _ ( " Selection " ) ) , wxVERTICAL ) ;
m_checkSelTextBox = new wxCheckBox ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Draw selected text items as box " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( m_checkSelTextBox , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-11-21 15:48:44 +00:00
m_checkSelDrawChildItems = new wxCheckBox ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Draw selected child items " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( m_checkSelDrawChildItems , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-11-21 15:48:44 +00:00
m_checkSelFillShapes = new wxCheckBox ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Fill selected shapes " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( m_checkSelFillShapes , 0 , wxEXPAND | wxBOTTOM | wxRIGHT | wxLEFT , 5 ) ;
2019-11-21 15:48:44 +00:00
2019-11-20 19:54:33 +00:00
wxFlexGridSizer * fgSizer321 ;
fgSizer321 = new wxFlexGridSizer ( 0 , 2 , 3 , 0 ) ;
fgSizer321 - > AddGrowableCol ( 1 ) ;
fgSizer321 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer321 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
m_selWidthLabel = new wxStaticText ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " &Highlight thickness: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_selWidthLabel - > Wrap ( - 1 ) ;
2019-12-11 20:49:58 +00:00
fgSizer321 - > Add ( m_selWidthLabel , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 5 ) ;
2019-11-20 19:54:33 +00:00
2020-02-13 14:19:40 +00:00
m_selWidthCtrl = new wxSpinCtrlDouble ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxALIGN_RIGHT | wxSP_ARROW_KEYS , 0 , 50 , 0 , 1 ) ;
2019-12-03 19:47:36 +00:00
m_selWidthCtrl - > SetDigits ( 0 ) ;
2020-02-13 14:19:40 +00:00
fgSizer321 - > Add ( m_selWidthCtrl , 0 , wxALIGN_CENTER_VERTICAL | wxEXPAND | wxRIGHT , 5 ) ;
2019-11-20 19:54:33 +00:00
2019-12-11 20:49:58 +00:00
sbSizer3 - > Add ( fgSizer321 , 0 , wxEXPAND | wxTOP | wxBOTTOM , 5 ) ;
2019-12-19 16:05:59 +00:00
m_highlightColorNote = new wxStaticText ( sbSizer3 - > GetStaticBox ( ) , wxID_ANY , _ ( " Note: \n highlight color can be edited in the \" Colors \" section. " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2019-12-11 20:49:58 +00:00
m_highlightColorNote - > Wrap ( - 1 ) ;
sbSizer3 - > Add ( m_highlightColorNote , 0 , wxALL , 5 ) ;
2019-11-20 19:54:33 +00:00
2019-11-21 15:48:44 +00:00
bRightColumn - > Add ( sbSizer3 , 1 , wxEXPAND | wxTOP , 5 ) ;
2019-10-21 18:03:54 +00:00
2018-09-09 23:04:42 +00:00
bPanelSizer - > Add ( bRightColumn , 1 , wxEXPAND | wxRIGHT | wxLEFT , 10 ) ;
2019-10-21 18:03:54 +00:00
2018-05-14 17:34:18 +00:00
this - > SetSizer ( bPanelSizer ) ;
this - > Layout ( ) ;
bPanelSizer - > Fit ( this ) ;
}
PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE : : ~ PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE ( )
{
}