2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2025-01-05 16:42:53 -05:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
|
2013-05-25 23:36:44 -05:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-02-15 15:12:10 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-06-12 11:58:56 +01:00
|
|
|
#pragma once
|
2013-05-25 23:36:44 -05:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2023-08-24 16:41:08 +01:00
|
|
|
class STD_BITMAP_BUTTON;
|
|
|
|
|
2023-08-26 13:29:24 +01:00
|
|
|
#include "widgets/resettable_panel.h"
|
2013-05-25 23:36:44 -05:00
|
|
|
#include <wx/string.h>
|
2023-08-26 13:29:24 +01:00
|
|
|
#include <wx/stattext.h>
|
2013-05-25 23:36:44 -05:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2023-08-26 13:29:24 +01:00
|
|
|
#include <wx/listbox.h>
|
2023-08-21 15:06:50 -04:00
|
|
|
#include <wx/bmpbuttn.h>
|
2020-06-12 11:58:56 +01:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2023-08-21 15:06:50 -04:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
2023-08-26 13:29:24 +01:00
|
|
|
#include <wx/statline.h>
|
2023-08-24 16:41:08 +01:00
|
|
|
#include <wx/choice.h>
|
2023-08-21 15:06:50 -04:00
|
|
|
#include <wx/checkbox.h>
|
2023-08-26 13:29:24 +01:00
|
|
|
#include <wx/panel.h>
|
2013-05-25 23:36:44 -05:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-08-26 13:29:24 +01:00
|
|
|
/// Class PANEL_GRID_SETTINGS_BASE
|
2013-05-25 23:36:44 -05:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-08-26 13:29:24 +01:00
|
|
|
class PANEL_GRID_SETTINGS_BASE : public RESETTABLE_PANEL
|
2013-05-25 23:36:44 -05:00
|
|
|
{
|
|
|
|
private:
|
2020-06-12 11:58:56 +01:00
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
protected:
|
2023-08-26 13:29:24 +01:00
|
|
|
wxStaticText* m_gridsLabel;
|
2023-08-24 16:41:08 +01:00
|
|
|
wxListBox* m_currentGridCtrl;
|
|
|
|
STD_BITMAP_BUTTON* m_addGridButton;
|
2024-09-12 15:19:09 -04:00
|
|
|
STD_BITMAP_BUTTON* m_editGridButton;
|
2023-08-24 13:57:22 -04:00
|
|
|
STD_BITMAP_BUTTON* m_moveUpButton;
|
|
|
|
STD_BITMAP_BUTTON* m_moveDownButton;
|
2023-08-26 13:29:24 +01:00
|
|
|
STD_BITMAP_BUTTON* m_removeGridButton;
|
|
|
|
wxStaticText* m_staticText21;
|
|
|
|
wxStaticLine* m_staticline2;
|
2013-05-25 23:36:44 -05:00
|
|
|
wxStaticText* m_staticTextGrid1;
|
2019-08-09 16:01:45 +01:00
|
|
|
wxChoice* m_grid1Ctrl;
|
2018-08-26 18:57:28 +01:00
|
|
|
wxStaticText* m_grid1HotKey;
|
2013-05-25 23:36:44 -05:00
|
|
|
wxStaticText* m_staticTextGrid2;
|
2019-08-09 16:01:45 +01:00
|
|
|
wxChoice* m_grid2Ctrl;
|
2018-08-26 18:57:28 +01:00
|
|
|
wxStaticText* m_grid2HotKey;
|
2023-08-26 13:29:24 +01:00
|
|
|
wxStaticText* m_overridesLabel;
|
|
|
|
wxStaticLine* m_staticline3;
|
|
|
|
wxCheckBox* m_checkGridOverrideConnected;
|
2023-08-30 13:33:04 -04:00
|
|
|
wxChoice* m_gridOverrideConnectedChoice;
|
2023-07-23 13:51:42 -04:00
|
|
|
wxCheckBox* m_checkGridOverrideWires;
|
2023-08-30 13:33:04 -04:00
|
|
|
wxChoice* m_gridOverrideWiresChoice;
|
2023-08-24 10:13:59 -04:00
|
|
|
wxCheckBox* m_checkGridOverrideVias;
|
2023-08-30 13:33:04 -04:00
|
|
|
wxChoice* m_gridOverrideViasChoice;
|
2023-07-23 13:51:42 -04:00
|
|
|
wxCheckBox* m_checkGridOverrideText;
|
2023-08-30 13:33:04 -04:00
|
|
|
wxChoice* m_gridOverrideTextChoice;
|
2023-07-23 13:51:42 -04:00
|
|
|
wxCheckBox* m_checkGridOverrideGraphics;
|
2023-08-30 13:33:04 -04:00
|
|
|
wxChoice* m_gridOverrideGraphicsChoice;
|
2020-06-12 11:58:56 +01: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 00:20:05 -04:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2024-09-12 15:19:09 -04:00
|
|
|
virtual void OnEditGrid( wxCommandEvent& event ) { event.Skip(); }
|
2024-09-16 16:21:38 -04:00
|
|
|
virtual void OnAddGrid( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnUpdateEditGrid( wxUpdateUIEvent& event ) { event.Skip(); }
|
2023-08-24 13:57:22 -04:00
|
|
|
virtual void OnMoveGridUp( wxCommandEvent& event ) { event.Skip(); }
|
2024-09-16 16:21:38 -04:00
|
|
|
virtual void OnUpdateMoveUp( wxUpdateUIEvent& event ) { event.Skip(); }
|
2023-08-24 13:57:22 -04:00
|
|
|
virtual void OnMoveGridDown( wxCommandEvent& event ) { event.Skip(); }
|
2024-09-16 16:21:38 -04:00
|
|
|
virtual void OnUpdateMoveDown( wxUpdateUIEvent& event ) { event.Skip(); }
|
2023-08-26 13:29:24 +01:00
|
|
|
virtual void OnRemoveGrid( wxCommandEvent& event ) { event.Skip(); }
|
2024-09-16 16:21:38 -04:00
|
|
|
virtual void OnUpdateRemove( wxUpdateUIEvent& event ) { event.Skip(); }
|
2020-06-12 11:58:56 +01:00
|
|
|
|
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
public:
|
2020-06-12 11:58:56 +01:00
|
|
|
|
2023-08-26 13:29:24 +01:00
|
|
|
PANEL_GRID_SETTINGS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
|
2023-01-05 12:23:03 +00:00
|
|
|
|
2023-08-26 13:29:24 +01:00
|
|
|
~PANEL_GRID_SETTINGS_BASE();
|
2020-06-12 11:58:56 +01:00
|
|
|
|
2013-05-25 23:36:44 -05:00
|
|
|
};
|
|
|
|
|