2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2015-08-08 13:54:32 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Jun 17 2015)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO "NOT" EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#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>
|
|
|
|
class DIALOG_SHIM;
|
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/radiobox.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/spinctrl.h>
|
2013-12-17 21:38:20 +00:00
|
|
|
#include <wx/textctrl.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#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:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_POLAR_CTRL = 1000,
|
|
|
|
wxID_UNITS,
|
|
|
|
wxID_CURSOR_SHAPE,
|
|
|
|
wxID_DRC_ONOFF,
|
|
|
|
wxID_GENERAL_RATSNEST,
|
|
|
|
wxID_RATSNEST_MODULE,
|
|
|
|
wxID_TRACK_AUTODEL,
|
|
|
|
wxID_TRACKS45,
|
|
|
|
wxID_SEGMENTS45,
|
|
|
|
wxID_MAGNETIC_TRACKS,
|
|
|
|
wxID_MIDDLEBUTTONPAN,
|
|
|
|
wxID_AUTOPAN
|
|
|
|
};
|
|
|
|
|
|
|
|
wxRadioBox* m_PolarDisplay;
|
|
|
|
wxRadioBox* m_UnitsSelection;
|
|
|
|
wxRadioBox* m_CursorShape;
|
|
|
|
wxStaticText* m_staticTextmaxlinks;
|
|
|
|
wxSpinCtrl* m_MaxShowLinks;
|
|
|
|
wxStaticText* m_staticTextautosave;
|
|
|
|
wxSpinCtrl* m_SaveTime;
|
2015-08-05 14:28:27 +00:00
|
|
|
wxStaticText* m_stMaxUndoItems;
|
|
|
|
wxSpinCtrl* m_spinMaxUndoItems;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextRotationAngle;
|
2013-12-17 21:38:20 +00:00
|
|
|
wxTextCtrl* m_RotationAngle;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_DrcOn;
|
|
|
|
wxCheckBox* m_ShowGlobalRatsnest;
|
|
|
|
wxCheckBox* m_ShowModuleRatsnest;
|
|
|
|
wxCheckBox* m_TrackAutodel;
|
|
|
|
wxCheckBox* m_Track_45_Only_Ctrl;
|
|
|
|
wxCheckBox* m_Segments_45_Only_Ctrl;
|
|
|
|
wxCheckBox* m_Track_DoubleSegm_Ctrl;
|
|
|
|
wxRadioBox* m_MagneticPadOptCtrl;
|
|
|
|
wxRadioBox* m_MagneticTrackOptCtrl;
|
2015-08-06 18:40:22 +00:00
|
|
|
wxCheckBox* m_ZoomCenterOpt;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_MiddleButtonPANOpt;
|
|
|
|
wxCheckBox* m_OptMiddleButtonPanLimited;
|
|
|
|
wxCheckBox* m_AutoPANOpt;
|
2015-06-12 15:13:18 +00:00
|
|
|
wxCheckBox* m_DumpZonesWhenFilling;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void OnMiddleBtnPanEnbl( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnCancelClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
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 );
|
|
|
|
~DIALOG_GENERALOPTIONS_BOARDEDITOR_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_GENERAL_OPTIONS_BOARDEDITOR_BASE_H__
|