2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-08-25 23:14:36 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-08-19 16:09:23 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2020-11-14 01:16:02 +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>
|
2013-09-03 12:48:38 +00:00
|
|
|
class PCB_LAYER_BOX_SELECTOR;
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
#include "dialog_shim.h"
|
|
|
|
#include <wx/string.h>
|
|
|
|
#include <wx/stattext.h>
|
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
|
|
|
#include <wx/textctrl.h>
|
2019-07-11 16:01:30 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2020-11-14 01:16:02 +00:00
|
|
|
#include <wx/checkbox.h>
|
2013-09-03 12:48:38 +00:00
|
|
|
#include <wx/bmpcbox.h>
|
2019-07-11 16:01:30 +00:00
|
|
|
#include <wx/sizer.h>
|
2018-06-11 15:03:16 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2019-07-11 16:01:30 +00:00
|
|
|
wxGridBagSizer* m_sizerLeft;
|
|
|
|
wxStaticText* m_startPointLabel;
|
2018-06-11 15:03:16 +00:00
|
|
|
wxStaticText* m_startXLabel;
|
|
|
|
wxTextCtrl* m_startXCtrl;
|
|
|
|
wxStaticText* m_startXUnits;
|
|
|
|
wxStaticText* m_startYLabel;
|
|
|
|
wxTextCtrl* m_startYCtrl;
|
|
|
|
wxStaticText* m_startYUnits;
|
2019-07-11 16:01:30 +00:00
|
|
|
wxStaticText* m_endPointLabel;
|
2018-06-11 15:03:16 +00:00
|
|
|
wxStaticText* m_endXLabel;
|
|
|
|
wxTextCtrl* m_endXCtrl;
|
|
|
|
wxStaticText* m_endXUnits;
|
|
|
|
wxStaticText* m_endYLabel;
|
|
|
|
wxTextCtrl* m_endYCtrl;
|
|
|
|
wxStaticText* m_endYUnits;
|
2019-07-11 16:01:30 +00:00
|
|
|
wxStaticText* m_bezierCtrlPt1Label;
|
2018-07-22 12:50:35 +00:00
|
|
|
wxStaticText* m_BezierPointC1XLabel;
|
|
|
|
wxTextCtrl* m_BezierC1X_Ctrl;
|
|
|
|
wxStaticText* m_BezierPointC1XUnit;
|
|
|
|
wxStaticText* m_BezierPointC1YLabel;
|
|
|
|
wxTextCtrl* m_BezierC1Y_Ctrl;
|
|
|
|
wxStaticText* m_BezierPointC1YUnit;
|
2019-07-11 16:01:30 +00:00
|
|
|
wxStaticText* m_bezierCtrlPt2Label;
|
2018-07-22 12:50:35 +00:00
|
|
|
wxStaticText* m_BezierPointC2XLabel;
|
|
|
|
wxTextCtrl* m_BezierC2X_Ctrl;
|
|
|
|
wxStaticText* m_BezierPointC2XUnit;
|
|
|
|
wxStaticText* m_BezierPointC2YLabel;
|
|
|
|
wxTextCtrl* m_BezierC2Y_Ctrl;
|
|
|
|
wxStaticText* m_BezierPointC2YUnit;
|
2018-06-11 15:03:16 +00:00
|
|
|
wxStaticText* m_angleLabel;
|
|
|
|
wxTextCtrl* m_angleCtrl;
|
|
|
|
wxStaticText* m_angleUnits;
|
2021-01-07 17:35:27 +00:00
|
|
|
wxCheckBox* m_locked;
|
2020-11-14 01:16:02 +00:00
|
|
|
wxCheckBox* m_filledCtrl;
|
2018-06-11 15:03:16 +00:00
|
|
|
wxStaticText* m_thicknessLabel;
|
|
|
|
wxTextCtrl* m_thicknessCtrl;
|
|
|
|
wxStaticText* m_thicknessUnits;
|
2021-08-25 23:14:36 +00:00
|
|
|
wxStaticText* m_lineStyleLabel;
|
|
|
|
wxBitmapComboBox* m_lineStyleCombo;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_LayerLabel;
|
2013-09-03 12:48:38 +00:00
|
|
|
PCB_LAYER_BOX_SELECTOR* m_LayerSelectionCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_StandardButtonsSizer;
|
|
|
|
wxButton* m_StandardButtonsSizerOK;
|
|
|
|
wxButton* m_StandardButtonsSizerCancel;
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2021-08-25 23:14:36 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnClose( wxCloseEvent& event ) { event.Skip(); }
|
2016-07-18 16:28:02 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2021-08-25 23:14:36 +00:00
|
|
|
virtual void onFilledCheckbox( wxCommandEvent& event ) { event.Skip(); }
|
2020-11-14 01:16:02 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2020-11-14 01:16:02 +00:00
|
|
|
|
|
|
|
DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Graphic Item Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_GRAPHIC_ITEM_PROPERTIES_BASE();
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|