2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2018-08-29 07:13:07 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Dec 1 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-05-04 16:20:41 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2018-08-29 07:13:07 +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>
|
2017-11-23 13:05:26 +00:00
|
|
|
class TEXT_CTRL_EVAL;
|
2018-08-19 16:10:14 +00:00
|
|
|
class WX_GRID;
|
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>
|
2018-08-19 16:11:58 +00:00
|
|
|
#include <widgets/net_selector.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/choice.h>
|
2018-08-19 16:11:58 +00:00
|
|
|
#include <wx/combobox.h>
|
2018-08-29 07:13:07 +00:00
|
|
|
#include <wx/checkbox.h>
|
2018-02-08 23:41:45 +00:00
|
|
|
#include <wx/sizer.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2018-02-03 23:22:45 +00:00
|
|
|
#include <wx/statbmp.h>
|
2018-02-08 23:41:45 +00:00
|
|
|
#include <wx/statbox.h>
|
2018-02-03 23:22:45 +00:00
|
|
|
#include <wx/panel.h>
|
2018-05-04 16:20:41 +00:00
|
|
|
#include <wx/simplebook.h>
|
2017-01-13 17:51:22 +00:00
|
|
|
#include <wx/listctrl.h>
|
|
|
|
#include <wx/button.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/notebook.h>
|
2018-01-29 15:39:40 +00:00
|
|
|
#include <pcb_base_frame.h>
|
2014-07-09 09:22:43 +00:00
|
|
|
#include <pcb_draw_panel_gal.h>
|
2018-05-23 06:11:47 +00:00
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/dialog.h>
|
2017-01-13 17:51:22 +00:00
|
|
|
#include <wx/spinctrl.h>
|
|
|
|
#include <wx/grid.h>
|
2018-05-23 06:11:47 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_PAD_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
wxID_DIALOG_EDIT_PAD = 1000,
|
2018-05-23 06:11:47 +00:00
|
|
|
wxID_PADNUMCTRL
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
wxNotebook* m_notebook;
|
|
|
|
wxPanel* m_panelGeneral;
|
|
|
|
wxStaticText* m_PadNumText;
|
|
|
|
wxTextCtrl* m_PadNumCtrl;
|
|
|
|
wxStaticText* m_PadNameText;
|
2018-08-29 07:13:07 +00:00
|
|
|
NET_SELECTOR* m_PadNetSelector;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText44;
|
|
|
|
wxChoice* m_PadType;
|
|
|
|
wxStaticText* m_staticText45;
|
|
|
|
wxChoice* m_PadShape;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_posXLabel;
|
|
|
|
wxTextCtrl* m_posXCtrl;
|
|
|
|
wxStaticText* m_posXUnits;
|
|
|
|
wxStaticText* m_posYLabel;
|
|
|
|
wxTextCtrl* m_posYCtrl;
|
|
|
|
wxStaticText* m_posYUnits;
|
|
|
|
wxStaticText* m_sizeXLabel;
|
|
|
|
wxTextCtrl* m_sizeXCtrl;
|
|
|
|
wxStaticText* m_sizeXUnits;
|
|
|
|
wxStaticText* m_sizeYLabel;
|
|
|
|
wxTextCtrl* m_sizeYCtrl;
|
|
|
|
wxStaticText* m_sizeYUnits;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticText* m_PadOrientText;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxComboBox* m_orientation;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText491;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_offsetXLabel;
|
|
|
|
wxTextCtrl* m_offsetXCtrl;
|
|
|
|
wxStaticText* m_offsetXUnits;
|
|
|
|
wxStaticText* m_offsetYLabel;
|
|
|
|
wxTextCtrl* m_offsetYCtrl;
|
|
|
|
wxStaticText* m_offsetYUnits;
|
|
|
|
wxStaticText* m_padToDieLabel;
|
|
|
|
wxTextCtrl* m_padToDieCtrl;
|
|
|
|
wxStaticText* m_padToDieUnits;
|
|
|
|
wxStaticText* m_trapDeltaLabel;
|
|
|
|
wxTextCtrl* m_trapDeltaCtrl;
|
|
|
|
wxStaticText* m_trapDeltaUnits;
|
|
|
|
wxStaticText* m_trapAxisLabel;
|
|
|
|
wxChoice* m_trapAxisCtrl;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticText* m_staticTextCornerSizeRatio;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_tcCornerSizeRatio;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStaticText* m_staticTextCornerSizeRatioUnit;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_cornerRadiusLabel;
|
2019-02-06 00:05:17 +00:00
|
|
|
wxTextCtrl* m_tcCornerRadius;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_cornerRadiusUnits;
|
2018-08-29 07:13:07 +00:00
|
|
|
wxStaticText* m_staticTextChamferRatio;
|
|
|
|
TEXT_CTRL_EVAL* m_tcChamferRatio;
|
|
|
|
wxStaticText* m_staticTextChamferRatioUnit;
|
|
|
|
wxStaticText* m_staticTextChamferCorner;
|
|
|
|
wxCheckBox* m_cbTopLeft;
|
|
|
|
wxCheckBox* m_cbTopRight;
|
|
|
|
wxCheckBox* m_cbBottomLeft;
|
|
|
|
wxCheckBox* m_cbBottomRight;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_holeShapeLabel;
|
|
|
|
wxChoice* m_holeShapeCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText51;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_holeXLabel;
|
|
|
|
wxTextCtrl* m_holeXCtrl;
|
|
|
|
wxStaticText* m_holeXUnits;
|
|
|
|
wxStaticText* m_holeYLabel;
|
|
|
|
wxTextCtrl* m_holeYCtrl;
|
|
|
|
wxStaticText* m_holeYUnits;
|
2018-02-03 23:22:45 +00:00
|
|
|
wxBoxSizer* m_FlippedWarningSizer;
|
|
|
|
wxStaticBitmap* m_FlippedWarningIcon;
|
2018-02-08 23:41:45 +00:00
|
|
|
wxStaticText* m_staticText86;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText511;
|
|
|
|
wxChoice* m_rbCopperLayersSel;
|
2018-07-18 16:59:05 +00:00
|
|
|
wxStaticText* m_techLayersLabel;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_PadLayerAdhCmp;
|
|
|
|
wxCheckBox* m_PadLayerAdhCu;
|
|
|
|
wxCheckBox* m_PadLayerPateCmp;
|
|
|
|
wxCheckBox* m_PadLayerPateCu;
|
|
|
|
wxCheckBox* m_PadLayerSilkCmp;
|
|
|
|
wxCheckBox* m_PadLayerSilkCu;
|
|
|
|
wxCheckBox* m_PadLayerMaskCmp;
|
|
|
|
wxCheckBox* m_PadLayerMaskCu;
|
|
|
|
wxCheckBox* m_PadLayerDraft;
|
|
|
|
wxCheckBox* m_PadLayerECO1;
|
|
|
|
wxCheckBox* m_PadLayerECO2;
|
|
|
|
wxPanel* m_localSettingsPanel;
|
2018-02-14 16:46:35 +00:00
|
|
|
wxStaticText* m_staticTextInfoPosValue;
|
|
|
|
wxStaticText* m_staticTextInfoNegVal;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_clearanceLabel;
|
|
|
|
wxTextCtrl* m_clearanceCtrl;
|
|
|
|
wxStaticText* m_clearanceUnits;
|
|
|
|
wxStaticText* m_maskClearanceLabel;
|
|
|
|
wxTextCtrl* m_maskClearanceCtrl;
|
|
|
|
wxStaticText* m_maskClearanceUnits;
|
|
|
|
wxStaticText* m_pasteClearanceLabel;
|
|
|
|
wxTextCtrl* m_pasteClearanceCtrl;
|
|
|
|
wxStaticText* m_pasteClearanceUnits;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticTextRatio;
|
2017-11-23 13:05:26 +00:00
|
|
|
TEXT_CTRL_EVAL* m_SolderPasteMarginRatioCtrl;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_SolderPasteRatioMarginUnits;
|
2018-05-04 16:20:41 +00:00
|
|
|
wxSimplebook* m_nonCopperWarningBook;
|
|
|
|
wxStaticText* m_nonCopperNote;
|
|
|
|
wxStaticBitmap* m_nonCopperWarningIcon;
|
|
|
|
wxStaticText* m_nonCopperWarningText;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticBoxSizer* m_sbSizerZonesSettings;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxStaticText* m_staticText40;
|
|
|
|
wxChoice* m_ZoneConnectionChoice;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_spokeWidthLabel;
|
|
|
|
wxTextCtrl* m_spokeWidthCtrl;
|
|
|
|
wxStaticText* m_spokeWidthUnits;
|
|
|
|
wxStaticText* m_thermalGapLabel;
|
|
|
|
wxTextCtrl* m_thermalGapCtrl;
|
|
|
|
wxStaticText* m_thermalGapUnits;
|
2017-12-21 09:23:17 +00:00
|
|
|
wxStaticBoxSizer* m_sbSizerCustomShapedZonesSettings;
|
|
|
|
wxStaticText* m_staticTextCsZconnTitle;
|
2018-03-11 16:23:51 +00:00
|
|
|
wxChoice* m_ZoneConnectionCustom;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextcps;
|
|
|
|
wxChoice* m_ZoneCustomPadShape;
|
2017-09-20 08:28:52 +00:00
|
|
|
wxPanel* m_panelCustomShapePrimitives;
|
|
|
|
wxBoxSizer* m_bSizerPanelPrimitives;
|
|
|
|
wxStaticText* m_staticTextPrimitivesList;
|
|
|
|
wxStaticText* m_staticTextPrimitiveListWarning;
|
|
|
|
wxListView* m_listCtrlPrimitives;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxButton* m_buttonDel;
|
|
|
|
wxButton* m_buttonEditShape;
|
|
|
|
wxButton* m_buttonAddShape;
|
|
|
|
wxButton* m_buttonDup;
|
|
|
|
wxButton* m_buttonGeometry;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_parentInfoLine1;
|
|
|
|
wxStaticText* m_parentInfoLine2;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxPanel* m_panelShowPad;
|
2014-07-09 09:22:43 +00:00
|
|
|
PCB_DRAW_PANEL_GAL* m_panelShowPadGal;
|
2017-05-11 22:59:04 +00:00
|
|
|
KIGFX::GAL_DISPLAY_OPTIONS m_galOptions;
|
2018-01-13 16:05:09 +00:00
|
|
|
wxCheckBox* m_cbShowPadOutline;
|
2018-02-08 23:41:45 +00:00
|
|
|
wxStaticLine* m_staticline13;
|
2016-04-06 18:15:49 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2017-01-22 21:51:37 +00:00
|
|
|
virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
|
2018-07-24 13:56:20 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
|
2016-04-06 18:15:49 +00:00
|
|
|
virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
|
2018-09-09 19:19:21 +00:00
|
|
|
virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
|
2018-05-04 16:20:41 +00:00
|
|
|
virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
|
2017-09-20 08:28:52 +00:00
|
|
|
virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
|
2017-01-13 17:51:22 +00:00
|
|
|
virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
|
2017-09-20 08:28:52 +00:00
|
|
|
virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
|
2017-01-13 17:51:22 +00:00
|
|
|
virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
|
2013-05-26 04:36:44 +00:00
|
|
|
virtual void OnPaintShowPanel( wxPaintEvent& event ) { event.Skip(); }
|
2018-01-13 16:05:09 +00:00
|
|
|
virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
|
2017-11-07 17:33:13 +00:00
|
|
|
virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
DIALOG_PAD_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_DIALOG_EDIT_PAD, const wxString& title = _("Pad Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2013-05-26 04:36:44 +00:00
|
|
|
~DIALOG_PAD_PROPERTIES_BASE();
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextPosStart;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_startXLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_startXCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_startXUnits;
|
|
|
|
wxStaticText* m_startYLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_startYCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_startYUnits;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextPosEnd;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_endXLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_endXCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_endXUnits;
|
|
|
|
wxStaticText* m_endYLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_endYCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_endYUnits;
|
|
|
|
wxStaticText* m_radiusLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_radiusCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_radiusUnits;
|
|
|
|
wxStaticText* m_thicknessLabel;
|
|
|
|
wxTextCtrl* m_thicknessCtrl;
|
|
|
|
wxStaticText* m_thicknessUnits;
|
|
|
|
wxStaticText* m_staticTextInfo;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
public:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE();
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
protected:
|
|
|
|
wxStaticText* m_staticTextMove;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_xLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_xCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_xUnits;
|
|
|
|
wxStaticText* m_yLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_yCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_yUnits;
|
|
|
|
wxStaticText* m_rotationLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_rotationCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_rotationUnits;
|
|
|
|
wxStaticText* m_scaleLabel;
|
|
|
|
TEXT_CTRL_EVAL* m_scaleCtrl;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticText* m_staticTextDupCnt;
|
|
|
|
wxSpinCtrl* m_spinCtrlDuplicateCount;
|
|
|
|
wxStaticLine* m_staticline1;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
public:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Pad Custom Shape Geometry Transform"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE();
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
/// Class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE
|
2017-01-13 17:51:22 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2017-09-20 08:28:52 +00:00
|
|
|
class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE : public DIALOG_SHIM
|
2017-01-13 17:51:22 +00:00
|
|
|
{
|
|
|
|
private:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
protected:
|
2018-08-19 16:10:14 +00:00
|
|
|
WX_GRID* m_gridCornersList;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxBitmapButton* m_addButton;
|
|
|
|
wxBitmapButton* m_deleteButton;
|
|
|
|
wxStaticText* m_thicknessLabel;
|
2018-08-29 07:13:07 +00:00
|
|
|
TEXT_CTRL_EVAL* m_thicknessCtrl;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_thicknessUnits;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxPanel* m_panelPoly;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticBitmap* m_warningIcon;
|
|
|
|
wxStaticText* m_warningText;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStaticLine* m_staticline3;
|
2018-05-23 06:11:47 +00:00
|
|
|
wxStaticText* m_statusLine1;
|
|
|
|
wxStaticText* m_statusLine2;
|
2017-01-13 17:51:22 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
|
2018-05-23 06:11:47 +00:00
|
|
|
virtual void OnButtonAdd( wxCommandEvent& event ) { event.Skip(); }
|
2017-01-13 17:51:22 +00:00
|
|
|
virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
public:
|
2018-08-29 07:13:07 +00:00
|
|
|
|
|
|
|
DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Basic Shape Polygon"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-09-20 08:28:52 +00:00
|
|
|
~DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE();
|
2018-08-29 07:13:07 +00:00
|
|
|
|
2017-01-13 17:51:22 +00:00
|
|
|
};
|
|
|
|
|