2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-07-23 17:51:42 +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>
|
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
2018-02-15 15:12:10 +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/textctrl.h>
|
|
|
|
#include <wx/sizer.h>
|
2018-02-15 15:12:10 +00:00
|
|
|
#include <wx/statbox.h>
|
2020-06-14 15:08:47 +00:00
|
|
|
#include <wx/panel.h>
|
2019-08-09 15:01:45 +00:00
|
|
|
#include <wx/choice.h>
|
2020-06-14 15:08:47 +00:00
|
|
|
#include <wx/simplebook.h>
|
2023-07-23 17:51:42 +00:00
|
|
|
#include <wx/checkbox.h>
|
2023-01-05 12:23:03 +00:00
|
|
|
#include <wx/button.h>
|
2020-06-12 10:58:56 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.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:
|
2020-06-14 15:08:47 +00:00
|
|
|
wxSimplebook* m_book;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextGridPosX;
|
|
|
|
wxTextCtrl* m_GridOriginXCtrl;
|
|
|
|
wxStaticText* m_TextPosXUnits;
|
|
|
|
wxStaticText* m_staticTextGridPosY;
|
|
|
|
wxTextCtrl* m_GridOriginYCtrl;
|
|
|
|
wxStaticText* m_TextPosYUnits;
|
2020-06-14 15:08:47 +00:00
|
|
|
wxChoice* m_currentGridCtrl;
|
2018-02-15 15:12:10 +00:00
|
|
|
wxStaticText* m_staticTextSizeX;
|
|
|
|
wxTextCtrl* m_OptGridSizeX;
|
|
|
|
wxStaticText* m_TextSizeXUnits;
|
|
|
|
wxStaticText* m_staticTextSizeY;
|
|
|
|
wxTextCtrl* m_OptGridSizeY;
|
|
|
|
wxStaticText* m_TextSizeYUnits;
|
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;
|
|
|
|
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_buttonResetOrigin;
|
|
|
|
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(); }
|
2020-06-14 15:08:47 +00:00
|
|
|
virtual void OnResetGridOriginClick( 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
|
|
|
|
2022-04-10 22:40:59 +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 );
|
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
|
|
|
};
|
|
|
|
|