2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
2020-06-07 10:42:28 +00:00
// C++ code generated with wxFormBuilder (version Oct 26 2018)
2013-05-26 04:36:44 +00:00
// http://www.wxformbuilder.org/
//
2018-11-26 13:49:06 +00:00
// PLEASE DO *NOT* EDIT THIS FILE!
2013-05-26 04:36:44 +00:00
///////////////////////////////////////////////////////////////////////////
# include "dialog_3D_view_option_base.h"
///////////////////////////////////////////////////////////////////////////
DIALOG_3D_VIEW_OPTIONS_BASE : : DIALOG_3D_VIEW_OPTIONS_BASE ( wxWindow * parent , wxWindowID id , const wxString & title , const wxPoint & pos , const wxSize & size , long style ) : DIALOG_SHIM ( parent , id , title , pos , size , style )
{
this - > SetSizeHints ( wxDefaultSize , wxDefaultSize ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
wxBoxSizer * bSizerMain ;
bSizerMain = new wxBoxSizer ( wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2020-04-17 21:33:23 +00:00
m_notebook = new wxNotebook ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_panelDspOpt = new wxPanel ( m_notebook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
2020-04-23 16:28:56 +00:00
wxBoxSizer * bSizerDisplayOptions ;
bSizerDisplayOptions = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
wxBoxSizer * bSizeLeft ;
bSizeLeft = new wxBoxSizer ( wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
wxStaticBoxSizer * sbSizer1 ;
2020-04-24 23:58:50 +00:00
sbSizer1 = new wxStaticBoxSizer ( new wxStaticBox ( m_panelDspOpt , wxID_ANY , _ ( " Render Options " ) ) , wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
wxFlexGridSizer * fgSizerRenderOptions ;
fgSizerRenderOptions = new wxFlexGridSizer ( 0 , 3 , 0 , 0 ) ;
fgSizerRenderOptions - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerRenderOptions - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( 0 , 0 , 0 , wxALIGN_CENTER_VERTICAL | wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_bitmapRealisticMode = new wxStaticBitmap ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( m_bitmapRealisticMode , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_checkBoxRealisticMode = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Realistic mode " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( m_checkBoxRealisticMode , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_bitmapBoardBody = new wxStaticBitmap ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 13:14:46 +00:00
fgSizerRenderOptions - > Add ( m_bitmapBoardBody , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_checkBoxBoardBody = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show board body " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 13:14:46 +00:00
fgSizerRenderOptions - > Add ( m_checkBoxBoardBody , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_bitmapAreas = new wxStaticBitmap ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( m_bitmapAreas , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_checkBoxAreas = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Show filled areas in zones " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( m_checkBoxAreas , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
fgSizerRenderOptions - > Add ( 0 , 0 , 0 , wxALIGN_LEFT | wxALIGN_RIGHT , 10 ) ;
2020-04-23 16:28:56 +00:00
m_bitmapSubtractMaskFromSilk = new wxStaticBitmap ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-01-29 16:00:05 +00:00
fgSizerRenderOptions - > Add ( m_bitmapSubtractMaskFromSilk , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxSubtractMaskFromSilk = new wxCheckBox ( sbSizer1 - > GetStaticBox ( ) , wxID_ANY , _ ( " Subtract soldermask from silkscreen " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-01-29 16:00:05 +00:00
fgSizerRenderOptions - > Add ( m_checkBoxSubtractMaskFromSilk , 0 , wxALL , 5 ) ;
2017-12-28 08:29:56 +00:00
wxFlexGridSizer * fgSizer3 ;
fgSizer3 = new wxFlexGridSizer ( 0 , 2 , 0 , 0 ) ;
fgSizer3 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer3 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerRenderOptions - > Add ( fgSizer3 , 1 , wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
sbSizer1 - > Add ( fgSizerRenderOptions , 0 , wxEXPAND | wxBOTTOM , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-24 23:58:50 +00:00
bSizeLeft - > Add ( sbSizer1 , 0 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
wxStaticBoxSizer * sbSizer3DVis ;
sbSizer3DVis = new wxStaticBoxSizer ( new wxStaticBox ( m_panelDspOpt , wxID_ANY , _ ( " 3D Model Visibility " ) ) , wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
wxFlexGridSizer * fgSizer3DVisibility ;
fgSizer3DVisibility = new wxFlexGridSizer ( 0 , 3 , 0 , 0 ) ;
fgSizer3DVisibility - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer3DVisibility - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( 0 , 0 , 1 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_bitmap3DshapesTH = new wxStaticBitmap ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_bitmap3DshapesTH , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_checkBox3DshapesTH = new wxCheckBox ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , _ ( " Show 3D through hole models " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_checkBox3DshapesTH , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_bitmap3DshapesSMD = new wxStaticBitmap ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_bitmap3DshapesSMD , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_checkBox3DshapesSMD = new wxCheckBox ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , _ ( " Show 3D SMD models " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_checkBox3DshapesSMD , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_bitmap3DshapesVirtual = new wxStaticBitmap ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_bitmap3DshapesVirtual , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
m_checkBox3DshapesVirtual = new wxCheckBox ( sbSizer3DVis - > GetStaticBox ( ) , wxID_ANY , _ ( " Show 3D virtual models " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizer3DVisibility - > Add ( m_checkBox3DshapesVirtual , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
sbSizer3DVis - > Add ( fgSizer3DVisibility , 0 , wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-05-05 06:05:45 +00:00
bSizeLeft - > Add ( sbSizer3DVis , 0 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
bSizerDisplayOptions - > Add ( bSizeLeft , 1 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_staticlineVertical = new wxStaticLine ( m_panelDspOpt , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_VERTICAL ) ;
bSizerDisplayOptions - > Add ( m_staticlineVertical , 0 , wxEXPAND | wxALL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
wxBoxSizer * bSizerRight ;
bSizerRight = new wxBoxSizer ( wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
wxStaticBoxSizer * sbBoardLayers ;
sbBoardLayers = new wxStaticBoxSizer ( new wxStaticBox ( m_panelDspOpt , wxID_ANY , _ ( " Board Layers " ) ) , wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
wxFlexGridSizer * fgSizerShowBrdLayersOpts ;
fgSizerShowBrdLayersOpts = new wxFlexGridSizer ( 0 , 3 , 0 , 0 ) ;
fgSizerShowBrdLayersOpts - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerShowBrdLayersOpts - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapSilkscreen = new wxStaticBitmap ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_bitmapSilkscreen , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxSilkscreen = new wxCheckBox ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show silkscreen layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_checkBoxSilkscreen , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapSolderMask = new wxStaticBitmap ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_bitmapSolderMask , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxSolderMask = new wxCheckBox ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show solder mask layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_checkBoxSolderMask , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapSolderPaste = new wxStaticBitmap ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_bitmapSolderPaste , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxSolderpaste = new wxCheckBox ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show solder paste layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_checkBoxSolderpaste , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapAdhesive = new wxStaticBitmap ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_bitmapAdhesive , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxAdhesive = new wxCheckBox ( sbBoardLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show adhesive layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowBrdLayersOpts - > Add ( m_checkBoxAdhesive , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
sbBoardLayers - > Add ( fgSizerShowBrdLayersOpts , 0 , wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
bSizerRight - > Add ( sbBoardLayers , 0 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
wxStaticBoxSizer * sbUserLayers ;
sbUserLayers = new wxStaticBoxSizer ( new wxStaticBox ( m_panelDspOpt , wxID_ANY , _ ( " User Layers (not shown in realistic mode) " ) ) , wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
wxFlexGridSizer * fgSizerShowUserLayersOpts ;
fgSizerShowUserLayersOpts = new wxFlexGridSizer ( 0 , 3 , 0 , 0 ) ;
fgSizerShowUserLayersOpts - > SetFlexibleDirection ( wxBOTH ) ;
fgSizerShowUserLayersOpts - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapComments = new wxStaticBitmap ( sbUserLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( m_bitmapComments , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxComments = new wxCheckBox ( sbUserLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show comments and drawings layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( m_checkBoxComments , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( 0 , 0 , 0 , wxRIGHT | wxLEFT , 10 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_bitmapECO = new wxStaticBitmap ( sbUserLayers - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( m_bitmapECO , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
m_checkBoxECO = new wxCheckBox ( sbUserLayers - > GetStaticBox ( ) , wxID_ANY , _ ( " Show ECO layers " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2017-12-28 08:29:56 +00:00
fgSizerShowUserLayersOpts - > Add ( m_checkBoxECO , 0 , wxALL | wxALIGN_CENTER_VERTICAL , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
sbUserLayers - > Add ( fgSizerShowUserLayersOpts , 0 , wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
bSizerRight - > Add ( sbUserLayers , 0 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
wxStaticBoxSizer * sbCameraOptions ;
sbCameraOptions = new wxStaticBoxSizer ( new wxStaticBox ( m_panelDspOpt , wxID_ANY , _ ( " Camera Options " ) ) , wxVERTICAL ) ;
2020-01-29 16:00:05 +00:00
2020-06-07 10:42:28 +00:00
wxBoxSizer * bSizerRotAngle ;
bSizerRotAngle = new wxBoxSizer ( wxHORIZONTAL ) ;
m_staticTextRotAngle = new wxStaticText ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Rotation Increment: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextRotAngle - > Wrap ( - 1 ) ;
bSizerRotAngle - > Add ( m_staticTextRotAngle , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
m_spinCtrlRotationAngle = new wxSpinCtrlDouble ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , wxEmptyString , wxDefaultPosition , wxDefaultSize , wxSP_ARROW_KEYS , 0 , 359 , 10 , 1 ) ;
m_spinCtrlRotationAngle - > SetDigits ( 0 ) ;
bSizerRotAngle - > Add ( m_spinCtrlRotationAngle , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
m_staticTextRotAngleUnits = new wxStaticText ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " deg " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
m_staticTextRotAngleUnits - > Wrap ( - 1 ) ;
bSizerRotAngle - > Add ( m_staticTextRotAngleUnits , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
sbCameraOptions - > Add ( bSizerRotAngle , 1 , wxEXPAND , 5 ) ;
m_staticline3 = new wxStaticLine ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
sbCameraOptions - > Add ( m_staticline3 , 0 , wxEXPAND | wxALL , 5 ) ;
m_checkBoxEnableAnimation = new wxCheckBox ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Enable animation " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-05-05 06:05:45 +00:00
m_checkBoxEnableAnimation - > SetValue ( true ) ;
2020-06-07 10:42:28 +00:00
sbCameraOptions - > Add ( m_checkBoxEnableAnimation , 0 , wxALL , 5 ) ;
2020-04-24 23:58:50 +00:00
2020-05-05 06:05:45 +00:00
wxBoxSizer * bSizerSlider ;
bSizerSlider = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-04-24 23:58:50 +00:00
2020-06-07 10:42:28 +00:00
m_staticAnimationSpeed = new wxStaticText ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Animation speed: " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-24 23:58:50 +00:00
m_staticAnimationSpeed - > Wrap ( - 1 ) ;
2020-05-05 06:05:45 +00:00
bSizerSlider - > Add ( m_staticAnimationSpeed , 0 , wxALIGN_CENTER_VERTICAL | wxALL , 5 ) ;
2020-04-24 23:58:50 +00:00
2020-06-07 10:42:28 +00:00
m_sliderAnimationSpeed = new wxSlider ( sbCameraOptions - > GetStaticBox ( ) , wxID_ANY , 3 , 1 , 5 , wxDefaultPosition , wxDefaultSize , wxSL_AUTOTICKS | wxSL_HORIZONTAL | wxSL_LABELS ) ;
2020-05-05 06:05:45 +00:00
m_sliderAnimationSpeed - > SetMinSize ( wxSize ( 100 , - 1 ) ) ;
2020-04-24 23:58:50 +00:00
2020-05-05 06:05:45 +00:00
bSizerSlider - > Add ( m_sliderAnimationSpeed , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-24 23:58:50 +00:00
2020-06-07 10:42:28 +00:00
sbCameraOptions - > Add ( bSizerSlider , 1 , wxEXPAND , 5 ) ;
2020-04-24 23:58:50 +00:00
2020-06-07 10:42:28 +00:00
bSizerRight - > Add ( sbCameraOptions , 0 , wxALL | wxEXPAND , 5 ) ;
2020-04-24 23:58:50 +00:00
bSizerDisplayOptions - > Add ( bSizerRight , 0 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
m_panelDspOpt - > SetSizer ( bSizerDisplayOptions ) ;
2020-04-17 21:33:23 +00:00
m_panelDspOpt - > Layout ( ) ;
2020-04-23 16:28:56 +00:00
bSizerDisplayOptions - > Fit ( m_panelDspOpt ) ;
2020-04-17 21:33:23 +00:00
m_notebook - > AddPage ( m_panelDspOpt , _ ( " Display Options " ) , true ) ;
m_panelOpenGL = new wxPanel ( m_notebook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
wxBoxSizer * bSizerOpenGL ;
2020-04-23 16:28:56 +00:00
bSizerOpenGL = new wxBoxSizer ( wxHORIZONTAL ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxBoxSizer * bSizer7 ;
bSizer7 = new wxBoxSizer ( wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxStaticBoxSizer * sbSizerOpenGLRenderoptions ;
2020-04-24 23:58:50 +00:00
sbSizerOpenGLRenderoptions = new wxStaticBoxSizer ( new wxStaticBox ( m_panelOpenGL , wxID_ANY , _ ( " OpenGL Render Options " ) ) , wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
wxFlexGridSizer * fgSizer6 ;
2020-04-23 16:28:56 +00:00
fgSizer6 = new wxFlexGridSizer ( 2 , 3 , 0 , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer6 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer6 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer6 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_bitmapBoundingBoxes = new wxStaticBitmap ( sbSizerOpenGLRenderoptions - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer6 - > Add ( m_bitmapBoundingBoxes , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxBoundingBoxes = new wxCheckBox ( sbSizerOpenGLRenderoptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Show model bounding boxes " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer6 - > Add ( m_checkBoxBoundingBoxes , 0 , wxALL , 5 ) ;
fgSizer6 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_bitmapCuThickness = new wxStaticBitmap ( sbSizerOpenGLRenderoptions - > GetStaticBox ( ) , wxID_ANY , wxNullBitmap , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer6 - > Add ( m_bitmapCuThickness , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxCuThickness = new wxCheckBox ( sbSizerOpenGLRenderoptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Show copper thickness " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer6 - > Add ( m_checkBoxCuThickness , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
sbSizerOpenGLRenderoptions - > Add ( fgSizer6 , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
bSizer7 - > Add ( sbSizerOpenGLRenderoptions , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxStaticBoxSizer * sbSizerAntialiasing ;
sbSizerAntialiasing = new wxStaticBoxSizer ( new wxStaticBox ( m_panelOpenGL , wxID_ANY , _ ( " Anti-aliasing " ) ) , wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
wxFlexGridSizer * fgSizer7 ;
fgSizer7 = new wxFlexGridSizer ( 1 , 2 , 0 , 0 ) ;
fgSizer7 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer7 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer7 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
wxString m_choiceAntiAliasingChoices [ ] = { _ ( " Disabled " ) , _ ( " 2x " ) , _ ( " 4x " ) , _ ( " 8x " ) , wxEmptyString } ;
int m_choiceAntiAliasingNChoices = sizeof ( m_choiceAntiAliasingChoices ) / sizeof ( wxString ) ;
2020-04-23 16:28:56 +00:00
m_choiceAntiAliasing = new wxChoice ( sbSizerAntialiasing - > GetStaticBox ( ) , wxID_ANY , wxDefaultPosition , wxDefaultSize , m_choiceAntiAliasingNChoices , m_choiceAntiAliasingChoices , 0 ) ;
2020-04-17 21:33:23 +00:00
m_choiceAntiAliasing - > SetSelection ( 0 ) ;
2020-04-23 16:28:56 +00:00
m_choiceAntiAliasing - > SetToolTip ( _ ( " 3D-Viewer must be closed and re-opened to apply this setting " ) ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
fgSizer7 - > Add ( m_choiceAntiAliasing , 0 , 0 , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
sbSizerAntialiasing - > Add ( fgSizer7 , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
bSizer7 - > Add ( sbSizerAntialiasing , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxStaticBoxSizer * sbSizerWhileMoving ;
sbSizerWhileMoving = new wxStaticBoxSizer ( new wxStaticBox ( m_panelOpenGL , wxID_ANY , _ ( " While Moving " ) ) , wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
wxFlexGridSizer * fgSizer8 ;
2020-04-23 16:28:56 +00:00
fgSizer8 = new wxFlexGridSizer ( 2 , 4 , 0 , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer8 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer8 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer8 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxDisableAAMove = new wxCheckBox ( sbSizerWhileMoving - > GetStaticBox ( ) , wxID_ANY , _ ( " Disable anti-aliasing " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer8 - > Add ( m_checkBoxDisableAAMove , 0 , wxALL , 5 ) ;
fgSizer8 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxDisableMoveThickness = new wxCheckBox ( sbSizerWhileMoving - > GetStaticBox ( ) , wxID_ANY , _ ( " Disable thickness " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer8 - > Add ( m_checkBoxDisableMoveThickness , 0 , wxALL , 5 ) ;
fgSizer8 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxDisableMoveVias = new wxCheckBox ( sbSizerWhileMoving - > GetStaticBox ( ) , wxID_ANY , _ ( " Disable vias " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer8 - > Add ( m_checkBoxDisableMoveVias , 0 , wxALL , 5 ) ;
fgSizer8 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxDisableMoveHoles = new wxCheckBox ( sbSizerWhileMoving - > GetStaticBox ( ) , wxID_ANY , _ ( " Disable holes " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer8 - > Add ( m_checkBoxDisableMoveHoles , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
sbSizerWhileMoving - > Add ( fgSizer8 , 1 , wxALL | wxEXPAND , 5 ) ;
bSizer7 - > Add ( sbSizerWhileMoving , 1 , wxALL | wxEXPAND , 5 ) ;
bSizerOpenGL - > Add ( bSizer7 , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
m_panelOpenGL - > SetSizer ( bSizerOpenGL ) ;
m_panelOpenGL - > Layout ( ) ;
bSizerOpenGL - > Fit ( m_panelOpenGL ) ;
m_notebook - > AddPage ( m_panelOpenGL , _ ( " OpenGL " ) , false ) ;
m_panelRaytracing = new wxPanel ( m_notebook , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxTAB_TRAVERSAL ) ;
2020-04-23 16:28:56 +00:00
wxBoxSizer * bSizerRaytracing ;
bSizerRaytracing = new wxBoxSizer ( wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxBoxSizer * bSizer8 ;
bSizer8 = new wxBoxSizer ( wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
wxStaticBoxSizer * sbSizerRaytracingRenderOptions ;
2020-04-24 23:58:50 +00:00
sbSizerRaytracingRenderOptions = new wxStaticBoxSizer ( new wxStaticBox ( m_panelRaytracing , wxID_ANY , _ ( " Raytracing Render Options " ) ) , wxVERTICAL ) ;
2020-04-17 21:33:23 +00:00
wxFlexGridSizer * fgSizer9 ;
2020-04-23 16:28:56 +00:00
fgSizer9 = new wxFlexGridSizer ( 4 , 4 , 0 , 0 ) ;
2020-04-17 21:33:23 +00:00
fgSizer9 - > SetFlexibleDirection ( wxBOTH ) ;
fgSizer9 - > SetNonFlexibleGrowMode ( wxFLEX_GROWMODE_SPECIFIED ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-24 23:58:50 +00:00
m_checkBoxRaytracing_renderShadows = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Shadows " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_renderShadows - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_renderShadows , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-24 23:58:50 +00:00
m_checkBoxRaytracing_proceduralTextures = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Procedural textures " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_proceduralTextures - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_proceduralTextures , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-24 23:58:50 +00:00
m_checkBoxRaytracing_addFloor = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Add floor " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_addFloor - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_addFloor , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxRaytracing_showRefractions = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Refractions " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_showRefractions - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_showRefractions , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxRaytracing_showReflections = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Reflections " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_showReflections - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_showReflections , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxRaytracing_antiAliasing = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Anti-aliasing " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_antiAliasing - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_antiAliasing , 0 , wxALL , 5 ) ;
fgSizer9 - > Add ( 0 , 0 , 1 , wxLEFT | wxRIGHT , 5 ) ;
2020-04-23 16:28:56 +00:00
m_checkBoxRaytracing_postProcessing = new wxCheckBox ( sbSizerRaytracingRenderOptions - > GetStaticBox ( ) , wxID_ANY , _ ( " Post-processing " ) , wxDefaultPosition , wxDefaultSize , 0 ) ;
2020-04-17 21:33:23 +00:00
m_checkBoxRaytracing_postProcessing - > SetValue ( true ) ;
fgSizer9 - > Add ( m_checkBoxRaytracing_postProcessing , 0 , wxALL , 5 ) ;
2020-04-23 16:28:56 +00:00
sbSizerRaytracingRenderOptions - > Add ( fgSizer9 , 1 , wxALL | wxEXPAND , 5 ) ;
bSizer8 - > Add ( sbSizerRaytracingRenderOptions , 1 , wxALL | wxEXPAND , 5 ) ;
bSizerRaytracing - > Add ( bSizer8 , 1 , wxALL | wxEXPAND , 5 ) ;
2020-04-17 21:33:23 +00:00
2020-04-23 16:28:56 +00:00
m_panelRaytracing - > SetSizer ( bSizerRaytracing ) ;
2020-04-17 21:33:23 +00:00
m_panelRaytracing - > Layout ( ) ;
2020-04-23 16:28:56 +00:00
bSizerRaytracing - > Fit ( m_panelRaytracing ) ;
2020-04-17 21:33:23 +00:00
m_notebook - > AddPage ( m_panelRaytracing , _ ( " Raytracing " ) , false ) ;
bSizerMain - > Add ( m_notebook , 1 , wxALL | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2017-12-28 08:29:56 +00:00
m_staticlineH = new wxStaticLine ( this , wxID_ANY , wxDefaultPosition , wxDefaultSize , wxLI_HORIZONTAL ) ;
2018-04-09 17:36:38 +00:00
bSizerMain - > Add ( m_staticlineH , 0 , wxBOTTOM | wxRIGHT | wxLEFT | wxEXPAND , 5 ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
m_sdbSizer = new wxStdDialogButtonSizer ( ) ;
m_sdbSizerOK = new wxButton ( this , wxID_OK ) ;
m_sdbSizer - > AddButton ( m_sdbSizerOK ) ;
m_sdbSizerCancel = new wxButton ( this , wxID_CANCEL ) ;
m_sdbSizer - > AddButton ( m_sdbSizerCancel ) ;
m_sdbSizer - > Realize ( ) ;
2020-01-29 16:00:05 +00:00
2020-04-23 16:28:56 +00:00
bSizerMain - > Add ( m_sdbSizer , 0 , wxALIGN_RIGHT | wxALL , 5 ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
this - > SetSizer ( bSizerMain ) ;
this - > Layout ( ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
this - > Centre ( wxBOTH ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
// Connect Events
2015-08-18 10:59:43 +00:00
m_checkBoxRealisticMode - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_3D_VIEW_OPTIONS_BASE : : OnCheckRealisticMode ) , NULL , this ) ;
2020-04-24 23:58:50 +00:00
m_checkBoxEnableAnimation - > Connect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_3D_VIEW_OPTIONS_BASE : : OnCheckEnableAnimation ) , NULL , this ) ;
2013-05-26 04:36:44 +00:00
}
DIALOG_3D_VIEW_OPTIONS_BASE : : ~ DIALOG_3D_VIEW_OPTIONS_BASE ( )
{
// Disconnect Events
2015-08-18 10:59:43 +00:00
m_checkBoxRealisticMode - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_3D_VIEW_OPTIONS_BASE : : OnCheckRealisticMode ) , NULL , this ) ;
2020-04-24 23:58:50 +00:00
m_checkBoxEnableAnimation - > Disconnect ( wxEVT_COMMAND_CHECKBOX_CLICKED , wxCommandEventHandler ( DIALOG_3D_VIEW_OPTIONS_BASE : : OnCheckEnableAnimation ) , NULL , this ) ;
2020-01-29 16:00:05 +00:00
2013-05-26 04:36:44 +00:00
}