2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-06-14 21:40:33 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
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>
|
2023-09-19 10:23:35 +00:00
|
|
|
#include <wx/sizer.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>
|
2023-07-30 19:39:07 +00:00
|
|
|
#include <widgets/net_selector.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-09-19 10:23:35 +00:00
|
|
|
/// Class DIALOG_SHAPE_PROPERTIES_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2023-09-19 10:23:35 +00:00
|
|
|
class DIALOG_SHAPE_PROPERTIES_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
|
|
|
private:
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2023-09-19 10:23:35 +00:00
|
|
|
wxBoxSizer* m_upperSizer;
|
|
|
|
wxGridBagSizer* m_sizerStartEnd;
|
2019-07-11 16:01:30 +00:00
|
|
|
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;
|
2023-09-19 10:23:35 +00:00
|
|
|
wxGridBagSizer* m_sizerBezier;
|
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;
|
2023-06-25 07:25:28 +00:00
|
|
|
wxStaticText* m_segmentLengthLabel;
|
|
|
|
wxTextCtrl* m_segmentLengthCtrl;
|
|
|
|
wxStaticText* m_segmentLengthUnits;
|
|
|
|
wxStaticText* m_segmentAngleLabel;
|
|
|
|
wxTextCtrl* m_segmentAngleCtrl;
|
|
|
|
wxStaticText* m_segmentAngleUnits;
|
2023-06-26 22:10:40 +00:00
|
|
|
wxStaticText* m_rectangleHeightLabel;
|
|
|
|
wxTextCtrl* m_rectangleHeightCtrl;
|
|
|
|
wxStaticText* m_rectangleHeightUnits;
|
2023-06-25 07:25:28 +00:00
|
|
|
wxStaticText* m_rectangleWidthLabel;
|
|
|
|
wxTextCtrl* m_rectangleWidthCtrl;
|
|
|
|
wxStaticText* m_rectangleWidthUnits;
|
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;
|
2023-07-30 19:39:07 +00:00
|
|
|
wxStaticText* m_netLabel;
|
|
|
|
NET_SELECTOR* m_netSelector;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStdDialogButtonSizer* m_StandardButtonsSizer;
|
|
|
|
wxButton* m_StandardButtonsSizerOK;
|
|
|
|
wxButton* m_StandardButtonsSizerCancel;
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2023-01-09 13:49:20 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2021-08-25 23:14:36 +00:00
|
|
|
virtual void onFilledCheckbox( wxCommandEvent& event ) { event.Skip(); }
|
2023-08-12 09:30:52 +00:00
|
|
|
virtual void onLayerSelection( 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
|
|
|
|
2023-09-19 10:23:35 +00:00
|
|
|
DIALOG_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("%s Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2023-01-09 13:49:20 +00:00
|
|
|
|
2023-09-19 10:23:35 +00:00
|
|
|
~DIALOG_SHAPE_PROPERTIES_BASE();
|
2020-11-14 01:16:02 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|