2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-08-24 16:33:06 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b3)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-15 15:12:10 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-06-12 10:58:56 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2023-08-24 15:41:08 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2023-08-24 15:41:08 +00:00
|
|
|
#include <wx/listbox.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>
|
2023-08-21 19:06:50 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2020-06-12 10:58:56 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2023-08-21 19:06:50 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/textctrl.h>
|
2023-08-24 15:41:08 +00:00
|
|
|
#include <wx/choice.h>
|
2023-08-21 19:06:50 +00:00
|
|
|
#include <wx/checkbox.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-06-14 15:08:47 +00:00
|
|
|
/// Class DIALOG_GRID_SETTINGS_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2020-06-14 15:08:47 +00:00
|
|
|
class DIALOG_GRID_SETTINGS_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2020-06-12 10:58:56 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2023-08-24 15:41:08 +00:00
|
|
|
wxListBox* m_currentGridCtrl;
|
|
|
|
STD_BITMAP_BUTTON* m_addGridButton;
|
|
|
|
STD_BITMAP_BUTTON* m_removeGridButton;
|
2023-08-24 17:57:22 +00:00
|
|
|
STD_BITMAP_BUTTON* m_moveUpButton;
|
|
|
|
STD_BITMAP_BUTTON* m_moveDownButton;
|
2023-08-21 19:06:50 +00:00
|
|
|
wxStaticBoxSizer* sbGridOriginSizer;
|
|
|
|
wxStaticText* m_staticTextGridPosX;
|
|
|
|
wxTextCtrl* m_GridOriginXCtrl;
|
|
|
|
wxStaticText* m_TextPosXUnits;
|
|
|
|
wxStaticText* m_staticTextGridPosY;
|
|
|
|
wxTextCtrl* m_GridOriginYCtrl;
|
|
|
|
wxStaticText* m_TextPosYUnits;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextGrid1;
|
2019-08-09 15:01:45 +00:00
|
|
|
wxChoice* m_grid1Ctrl;
|
2018-08-26 17:57:28 +00:00
|
|
|
wxStaticText* m_grid1HotKey;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextGrid2;
|
2019-08-09 15:01:45 +00:00
|
|
|
wxChoice* m_grid2Ctrl;
|
2018-08-26 17:57:28 +00:00
|
|
|
wxStaticText* m_grid2HotKey;
|
2023-07-23 17:51:42 +00:00
|
|
|
wxStaticBoxSizer* sbGridOverridesSizer;
|
|
|
|
wxCheckBox* m_checkGridOverrideConnectables;
|
|
|
|
wxStaticText* m_staticTextConnectables;
|
|
|
|
wxTextCtrl* m_GridOverrideConnectablesSize;
|
|
|
|
wxStaticText* m_staticTextConnectablesUnits;
|
|
|
|
wxCheckBox* m_checkGridOverrideWires;
|
|
|
|
wxStaticText* m_staticTextWires;
|
|
|
|
wxTextCtrl* m_GridOverrideWiresSize;
|
|
|
|
wxStaticText* m_staticTextWiresUnits;
|
2023-08-24 14:13:59 +00:00
|
|
|
wxCheckBox* m_checkGridOverrideVias;
|
|
|
|
wxStaticText* m_staticTextVias;
|
|
|
|
wxTextCtrl* m_GridOverrideViasSize;
|
|
|
|
wxStaticText* m_staticTextViasUnits;
|
2023-07-23 17:51:42 +00:00
|
|
|
wxCheckBox* m_checkGridOverrideText;
|
|
|
|
wxStaticText* m_staticTextText;
|
|
|
|
wxTextCtrl* m_GridOverrideTextSize;
|
|
|
|
wxStaticText* m_staticTextTextUnits;
|
|
|
|
wxCheckBox* m_checkGridOverrideGraphics;
|
|
|
|
wxStaticText* m_staticTextGraphics;
|
|
|
|
wxTextCtrl* m_GridOverrideGraphicsSize;
|
|
|
|
wxStaticText* m_staticTextGraphicsUnits;
|
2021-02-21 20:32:52 +00:00
|
|
|
wxButton* m_buttonResetSizes;
|
2016-07-14 14:25:35 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2020-06-12 10:58:56 +00:00
|
|
|
|
Fix various typos
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
2022-07-03 04:20:05 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2016-07-14 14:25:35 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2023-08-21 19:06:50 +00:00
|
|
|
virtual void OnAddGrid( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnRemoveGrid( wxCommandEvent& event ) { event.Skip(); }
|
2023-08-24 17:57:22 +00:00
|
|
|
virtual void OnMoveGridUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveGridDown( 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(); }
|
2020-06-12 10:58:56 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2020-06-12 10:58:56 +00:00
|
|
|
|
2023-08-24 15:41:08 +00:00
|
|
|
DIALOG_GRID_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Grid Settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2023-01-05 12:23:03 +00:00
|
|
|
|
2020-06-14 15:08:47 +00:00
|
|
|
~DIALOG_GRID_SETTINGS_BASE();
|
2020-06-12 10:58:56 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|