2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-04-23 16:35:29 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Apr 19 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-03-15 11:40:13 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_GENERAL_OPTIONS_BOARDEDITOR_BASE_H__
|
|
|
|
#define __DIALOG_GENERAL_OPTIONS_BOARDEDITOR_BASE_H__
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2018-03-15 11:40:13 +00:00
|
|
|
#include "widgets/stepped_slider.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2018-02-16 16:57:18 +00:00
|
|
|
#include <wx/stattext.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/spinctrl.h>
|
2018-02-16 16:57:18 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/slider.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statbox.h>
|
2018-02-16 16:57:18 +00:00
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/textctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2016-05-10 21:37:51 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
2018-02-16 16:57:18 +00:00
|
|
|
wxID_AUTOPAN = 1000,
|
|
|
|
wxID_POLAR_CTRL,
|
2013-05-26 04:36:44 +00:00
|
|
|
wxID_UNITS,
|
|
|
|
wxID_GENERAL_RATSNEST,
|
2017-08-04 12:43:02 +00:00
|
|
|
wxID_SEGMENTS45,
|
2018-02-16 16:57:18 +00:00
|
|
|
wxID_MAGNETIC_TRACKS,
|
2017-08-04 12:43:02 +00:00
|
|
|
wxID_DRC_ONOFF,
|
2013-05-26 04:36:44 +00:00
|
|
|
wxID_TRACK_AUTODEL,
|
2018-02-16 16:57:18 +00:00
|
|
|
wxID_TRACKS45
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
2016-05-10 21:37:51 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextautosave;
|
|
|
|
wxSpinCtrl* m_SaveTime;
|
2018-02-16 16:57:18 +00:00
|
|
|
wxStaticText* m_staticText1;
|
|
|
|
STEPPED_SLIDER* m_scaleSlider;
|
|
|
|
wxStaticText* m_staticText2;
|
|
|
|
wxCheckBox* m_scaleAuto;
|
|
|
|
wxCheckBox* m_checkBoxIconsInMenus;
|
|
|
|
wxCheckBox* m_ZoomCenterOpt;
|
|
|
|
wxCheckBox* m_MousewheelPANOpt;
|
|
|
|
wxCheckBox* m_AutoPANOpt;
|
|
|
|
wxRadioBox* m_PolarDisplay;
|
|
|
|
wxRadioBox* m_UnitsSelection;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_ShowGlobalRatsnest;
|
2018-02-16 16:57:18 +00:00
|
|
|
wxCheckBox* m_Show_Page_Limits;
|
2017-08-04 12:43:02 +00:00
|
|
|
wxCheckBox* m_Segments_45_Only_Ctrl;
|
|
|
|
wxCheckBox* m_UseEditKeyForWidth;
|
2018-02-28 14:47:26 +00:00
|
|
|
wxCheckBox* m_dragSelects;
|
2018-02-16 16:57:18 +00:00
|
|
|
wxStaticText* m_staticTextRotationAngle;
|
|
|
|
wxTextCtrl* m_RotationAngle;
|
|
|
|
wxRadioBox* m_MagneticPadOptCtrl;
|
|
|
|
wxRadioBox* m_MagneticTrackOptCtrl;
|
2017-08-04 12:43:02 +00:00
|
|
|
wxCheckBox* m_DrcOn;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_TrackAutodel;
|
|
|
|
wxCheckBox* m_Track_45_Only_Ctrl;
|
|
|
|
wxCheckBox* m_Track_DoubleSegm_Ctrl;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2016-05-10 21:37:51 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2018-02-16 16:57:18 +00:00
|
|
|
virtual void OnScaleSlider( wxScrollEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnScaleAuto( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
|
2016-05-10 21:37:51 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2016-05-10 21:37:51 +00:00
|
|
|
|
|
|
|
DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("General Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE();
|
2016-05-10 21:37:51 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_GENERAL_OPTIONS_BOARDEDITOR_BASE_H__
|