1 ///////////////////////////////////////////////////////////////////////////
2 // C++ code generated with wxFormBuilder (version Oct 26 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
6 ///////////////////////////////////////////////////////////////////////////
7 
8 #pragma once
9 
10 #include <wx/artprov.h>
11 #include <wx/xrc/xmlres.h>
12 #include <wx/intl.h>
13 class TEXT_CTRL_EVAL;
14 class WX_GRID;
15 
16 #include "dialog_shim.h"
17 #include <wx/string.h>
18 #include <wx/stattext.h>
19 #include <wx/gdicmn.h>
20 #include <wx/font.h>
21 #include <wx/colour.h>
22 #include <wx/settings.h>
23 #include <wx/choice.h>
24 #include <wx/textctrl.h>
25 #include <widgets/net_selector.h>
26 #include <wx/checkbox.h>
27 #include <wx/gbsizer.h>
28 #include <wx/statline.h>
29 #include <wx/sizer.h>
30 #include <wx/panel.h>
31 #include <wx/simplebook.h>
32 #include <wx/combobox.h>
33 #include <wx/bitmap.h>
34 #include <wx/image.h>
35 #include <wx/icon.h>
36 #include <wx/statbmp.h>
37 #include <wx/statbox.h>
38 #include <wx/listctrl.h>
39 #include <wx/button.h>
40 #include <wx/notebook.h>
41 #include <wx/dialog.h>
42 #include <wx/spinctrl.h>
43 #include <wx/grid.h>
44 #include <wx/bmpbuttn.h>
45 
46 ///////////////////////////////////////////////////////////////////////////
47 
48 ///////////////////////////////////////////////////////////////////////////////
49 /// Class DIALOG_PAD_PROPERTIES_BASE
50 ///////////////////////////////////////////////////////////////////////////////
51 class DIALOG_PAD_PROPERTIES_BASE : public DIALOG_SHIM
52 {
53 	private:
54 
55 	protected:
56 		enum
57 		{
58 			wxID_DIALOG_EDIT_PAD = 1000,
59 			wxID_PADNUMCTRL
60 		};
61 
62 		wxBoxSizer* m_MainSizer;
63 		wxNotebook* m_notebook;
64 		wxPanel* m_panelGeneral;
65 		wxBoxSizer* m_LeftBoxSizer;
66 		wxStaticText* m_padTypeLabel;
67 		wxChoice* m_padType;
68 		wxStaticText* m_padNumLabel;
69 		wxTextCtrl* m_padNumCtrl;
70 		wxStaticText* m_padNetLabel;
71 		NET_SELECTOR* m_padNetSelector;
72 		wxStaticText* m_posXLabel;
73 		wxTextCtrl* m_posXCtrl;
74 		wxStaticText* m_posXUnits;
75 		wxStaticText* m_posYLabel;
76 		wxTextCtrl* m_posYCtrl;
77 		wxStaticText* m_posYUnits;
78 		wxCheckBox* m_locked;
79 		wxStaticLine* m_staticline5;
80 		wxStaticText* m_shapeLabel;
81 		wxChoice* m_PadShapeSelector;
82 		wxSimplebook* m_shapePropsBook;
83 		wxPanel* m_emptyProps;
84 		wxPanel* m_trapProps;
85 		wxFlexGridSizer* fgSizerTrapProps;
86 		wxStaticText* m_trapDeltaLabel;
87 		wxTextCtrl* m_trapDeltaCtrl;
88 		wxStaticText* m_trapDeltaUnits;
89 		wxStaticText* m_trapAxisLabel;
90 		wxChoice* m_trapAxisCtrl;
91 		wxPanel* m_roudingProps;
92 		wxFlexGridSizer* fgSizerRoundingProps;
93 		wxStaticText* m_cornerRatioLabel;
94 		TEXT_CTRL_EVAL* m_cornerRatioCtrl;
95 		wxStaticText* m_cornerRatioUnits;
96 		wxStaticText* m_cornerRadiusLabel;
97 		wxTextCtrl* m_cornerRadiusCtrl;
98 		wxStaticText* m_cornerRadiusUnits;
99 		wxPanel* m_chamferProps;
100 		wxStaticText* m_chamferRatioLabel;
101 		TEXT_CTRL_EVAL* m_chamferRatioCtrl;
102 		wxStaticText* m_chamferRatioUnits;
103 		wxStaticText* m_staticTextChamferCorner;
104 		wxCheckBox* m_cbTopLeft;
105 		wxCheckBox* m_cbTopRight;
106 		wxCheckBox* m_cbBottomLeft;
107 		wxCheckBox* m_cbBottomRight;
108 		wxPanel* m_mixedProps;
109 		wxStaticText* m_mixedChamferRatioLabel;
110 		TEXT_CTRL_EVAL* m_mixedChamferRatioCtrl;
111 		wxStaticText* m_mixedChamferRatioUnits;
112 		wxStaticText* m_staticTextChamferCorner1;
113 		wxCheckBox* m_cbTopLeft1;
114 		wxCheckBox* m_cbTopRight1;
115 		wxCheckBox* m_cbBottomLeft1;
116 		wxCheckBox* m_cbBottomRight1;
117 		wxStaticText* m_mixedCornerRatioLabel;
118 		TEXT_CTRL_EVAL* m_mixedCornerRatioCtrl;
119 		wxStaticText* m_mixedCornerRatioUnits;
120 		wxStaticText* m_sizeXLabel;
121 		wxTextCtrl* m_sizeXCtrl;
122 		wxStaticText* m_sizeXUnits;
123 		wxStaticText* m_sizeYLabel;
124 		wxTextCtrl* m_sizeYCtrl;
125 		wxStaticText* m_sizeYUnits;
126 		wxStaticText* m_PadOrientText;
127 		wxComboBox* m_cb_padrotation;
128 		wxStaticText* m_orientationUnits;
129 		wxStaticLine* m_staticline6;
130 		wxStaticText* m_holeShapeLabel;
131 		wxChoice* m_holeShapeCtrl;
132 		wxStaticText* m_holeXLabel;
133 		wxTextCtrl* m_holeXCtrl;
134 		wxStaticText* m_holeXUnits;
135 		wxStaticText* m_holeYLabel;
136 		wxTextCtrl* m_holeYCtrl;
137 		wxStaticText* m_holeYUnits;
138 		wxStaticLine* m_staticline7;
139 		wxCheckBox* m_offsetShapeOpt;
140 		wxStaticText* m_offsetShapeOptLabel;
141 		wxFlexGridSizer* m_offsetCtrls;
142 		wxStaticText* m_offsetXLabel;
143 		wxTextCtrl* m_offsetXCtrl;
144 		wxStaticText* m_offsetXUnits;
145 		wxStaticText* m_offsetYLabel;
146 		wxTextCtrl* m_offsetYCtrl;
147 		wxStaticText* m_offsetYUnits;
148 		wxCheckBox* m_padToDieOpt;
149 		wxStaticText* m_padToDieLabel;
150 		wxTextCtrl* m_padToDieCtrl;
151 		wxStaticText* m_padToDieUnits;
152 		wxBoxSizer* m_middleBoxSizer;
153 		wxBoxSizer* m_FlippedWarningSizer;
154 		wxStaticBitmap* m_FlippedWarningIcon;
155 		wxStaticText* m_staticText86;
156 		wxStaticText* m_copperLayersLabel;
157 		wxChoice* m_rbCopperLayersSel;
158 		wxStaticText* m_techLayersLabel;
159 		wxCheckBox* m_PadLayerAdhCmp;
160 		wxCheckBox* m_PadLayerAdhCu;
161 		wxCheckBox* m_PadLayerPateCmp;
162 		wxCheckBox* m_PadLayerPateCu;
163 		wxCheckBox* m_PadLayerSilkCmp;
164 		wxCheckBox* m_PadLayerSilkCu;
165 		wxCheckBox* m_PadLayerMaskCmp;
166 		wxCheckBox* m_PadLayerMaskCu;
167 		wxCheckBox* m_PadLayerDraft;
168 		wxCheckBox* m_PadLayerECO1;
169 		wxCheckBox* m_PadLayerECO2;
170 		wxStaticText* m_staticTextFabProperty;
171 		wxChoice* m_choiceFabProperty;
172 		wxPanel* m_localSettingsPanel;
173 		wxStaticText* m_staticTextInfoPosValue;
174 		wxStaticText* m_staticTextInfoNegVal;
175 		wxStaticText* m_clearanceLabel;
176 		wxTextCtrl* m_clearanceCtrl;
177 		wxStaticText* m_clearanceUnits;
178 		wxStaticText* m_maskMarginLabel;
179 		wxTextCtrl* m_maskMarginCtrl;
180 		wxStaticText* m_maskMarginUnits;
181 		wxStaticText* m_pasteMarginLabel;
182 		wxTextCtrl* m_pasteMarginCtrl;
183 		wxStaticText* m_pasteMarginUnits;
184 		wxStaticText* m_pasteMarginRatioLabel;
185 		TEXT_CTRL_EVAL* m_pasteMarginRatioCtrl;
186 		wxStaticText* m_pasteMarginRatioUnits;
187 		wxSimplebook* m_nonCopperWarningBook;
188 		wxStaticText* m_nonCopperNote;
189 		wxStaticText* m_staticTextInfoPaste;
190 		wxStaticBitmap* m_nonCopperWarningIcon;
191 		wxStaticText* m_nonCopperWarningText;
192 		wxStaticBoxSizer* m_sbSizerZonesSettings;
193 		wxStaticText* m_staticText40;
194 		wxChoice* m_ZoneConnectionChoice;
195 		wxStaticText* m_spokeWidthLabel;
196 		wxTextCtrl* m_spokeWidthCtrl;
197 		wxStaticText* m_spokeWidthUnits;
198 		wxStaticText* m_thermalGapLabel;
199 		wxTextCtrl* m_thermalGapCtrl;
200 		wxStaticText* m_thermalGapUnits;
201 		wxStaticText* m_staticTextcps;
202 		wxChoice* m_ZoneCustomPadShape;
203 		wxPanel* m_panelCustomShapePrimitives;
204 		wxBoxSizer* m_bSizerPanelPrimitives;
205 		wxStaticText* m_staticTextPrimitivesList;
206 		wxStaticText* m_staticTextPrimitiveListWarning;
207 		wxListView* m_listCtrlPrimitives;
208 		wxButton* m_buttonAddShape;
209 		wxButton* m_buttonEditShape;
210 		wxButton* m_buttonDup;
211 		wxButton* m_buttonGeometry;
212 		wxButton* m_buttonDel;
213 		wxSimplebook* m_stackupImagesBook;
214 		wxPanel* page0;
215 		wxStaticBitmap* m_stackupImage0;
216 		wxPanel* page1;
217 		wxStaticBitmap* m_stackupImage1;
218 		wxPanel* page2;
219 		wxStaticBitmap* m_stackupImage2;
220 		wxPanel* page3;
221 		wxPanel* page4;
222 		wxStaticBitmap* m_stackupImage4;
223 		wxPanel* page5;
224 		wxStaticBitmap* m_stackupImage5;
225 		wxPanel* page6;
226 		wxStaticBitmap* m_stackupImage6;
227 		wxPanel* page7;
228 		wxStaticBitmap* m_stackupImage7;
229 		wxPanel* m_boardViewPanel;
230 		wxBoxSizer* m_padPreviewSizer;
231 		wxStaticText* m_parentInfo;
232 		wxCheckBox* m_cbShowPadOutline;
233 		wxStdDialogButtonSizer* m_sdbSizer;
234 		wxButton* m_sdbSizerOK;
235 		wxButton* m_sdbSizerCancel;
236 
237 		// Virtual event handlers, overide them in your derived class
OnInitDialog(wxInitDialogEvent & event)238 		virtual void OnInitDialog( wxInitDialogEvent& event ) { event.Skip(); }
OnUpdateUI(wxUpdateUIEvent & event)239 		virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
PadTypeSelected(wxCommandEvent & event)240 		virtual void PadTypeSelected( wxCommandEvent& event ) { event.Skip(); }
OnValuesChanged(wxCommandEvent & event)241 		virtual void OnValuesChanged( wxCommandEvent& event ) { event.Skip(); }
OnPadShapeSelection(wxCommandEvent & event)242 		virtual void OnPadShapeSelection( wxCommandEvent& event ) { event.Skip(); }
OnSetLayers(wxCommandEvent & event)243 		virtual void OnSetLayers( wxCommandEvent& event ) { event.Skip(); }
onCornerSizePercentChange(wxCommandEvent & event)244 		virtual void onCornerSizePercentChange( wxCommandEvent& event ) { event.Skip(); }
onCornerRadiusChange(wxCommandEvent & event)245 		virtual void onCornerRadiusChange( wxCommandEvent& event ) { event.Skip(); }
PadOrientEvent(wxCommandEvent & event)246 		virtual void PadOrientEvent( wxCommandEvent& event ) { event.Skip(); }
OnDrillShapeSelected(wxCommandEvent & event)247 		virtual void OnDrillShapeSelected( wxCommandEvent& event ) { event.Skip(); }
OnOffsetCheckbox(wxCommandEvent & event)248 		virtual void OnOffsetCheckbox( wxCommandEvent& event ) { event.Skip(); }
OnPadToDieCheckbox(wxCommandEvent & event)249 		virtual void OnPadToDieCheckbox( wxCommandEvent& event ) { event.Skip(); }
OnSetCopperLayers(wxCommandEvent & event)250 		virtual void OnSetCopperLayers( wxCommandEvent& event ) { event.Skip(); }
OnUpdateUINonCopperWarning(wxUpdateUIEvent & event)251 		virtual void OnUpdateUINonCopperWarning( wxUpdateUIEvent& event ) { event.Skip(); }
onPrimitiveDClick(wxMouseEvent & event)252 		virtual void onPrimitiveDClick( wxMouseEvent& event ) { event.Skip(); }
OnPrimitiveSelection(wxListEvent & event)253 		virtual void OnPrimitiveSelection( wxListEvent& event ) { event.Skip(); }
onAddPrimitive(wxCommandEvent & event)254 		virtual void onAddPrimitive( wxCommandEvent& event ) { event.Skip(); }
onEditPrimitive(wxCommandEvent & event)255 		virtual void onEditPrimitive( wxCommandEvent& event ) { event.Skip(); }
onDuplicatePrimitive(wxCommandEvent & event)256 		virtual void onDuplicatePrimitive( wxCommandEvent& event ) { event.Skip(); }
onGeometryTransform(wxCommandEvent & event)257 		virtual void onGeometryTransform( wxCommandEvent& event ) { event.Skip(); }
onDeletePrimitive(wxCommandEvent & event)258 		virtual void onDeletePrimitive( wxCommandEvent& event ) { event.Skip(); }
onChangePadMode(wxCommandEvent & event)259 		virtual void onChangePadMode( wxCommandEvent& event ) { event.Skip(); }
OnCancel(wxCommandEvent & event)260 		virtual void OnCancel( wxCommandEvent& event ) { event.Skip(); }
261 
262 
263 	public:
264 
265 		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 );
266 		~DIALOG_PAD_PROPERTIES_BASE();
267 
268 };
269 
270 ///////////////////////////////////////////////////////////////////////////////
271 /// Class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE
272 ///////////////////////////////////////////////////////////////////////////////
273 class DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE : public DIALOG_SHIM
274 {
275 	private:
276 
277 	protected:
278 		wxStaticText* m_staticTextPosStart;
279 		wxStaticText* m_startXLabel;
280 		TEXT_CTRL_EVAL* m_startXCtrl;
281 		wxStaticText* m_startXUnits;
282 		wxStaticText* m_startYLabel;
283 		TEXT_CTRL_EVAL* m_startYCtrl;
284 		wxStaticText* m_startYUnits;
285 		wxStaticText* m_staticTextPosCtrl1;
286 		wxStaticText* m_ctrl1XLabel;
287 		TEXT_CTRL_EVAL* m_ctrl1XCtrl;
288 		wxStaticText* m_ctrl1XUnits;
289 		wxStaticText* m_ctrl1YLabel;
290 		TEXT_CTRL_EVAL* m_ctrl1YCtrl;
291 		wxStaticText* m_ctrl1YUnits;
292 		wxStaticText* m_staticTextPosCtrl2;
293 		wxStaticText* m_ctrl2XLabel;
294 		TEXT_CTRL_EVAL* m_ctrl2XCtrl;
295 		wxStaticText* m_ctrl2XUnits;
296 		wxStaticText* m_ctrl2YLabel;
297 		TEXT_CTRL_EVAL* m_ctrl2YCtrl;
298 		wxStaticText* m_ctrl2YUnits;
299 		wxStaticText* m_staticTextPosEnd;
300 		wxStaticText* m_endXLabel;
301 		TEXT_CTRL_EVAL* m_endXCtrl;
302 		wxStaticText* m_endXUnits;
303 		wxStaticText* m_endYLabel;
304 		TEXT_CTRL_EVAL* m_endYCtrl;
305 		wxStaticText* m_endYUnits;
306 		wxStaticText* m_radiusLabel;
307 		TEXT_CTRL_EVAL* m_radiusCtrl;
308 		wxStaticText* m_radiusUnits;
309 		wxStaticText* m_thicknessLabel;
310 		wxTextCtrl* m_thicknessCtrl;
311 		wxStaticText* m_thicknessUnits;
312 		wxCheckBox* m_filledCtrl;
313 		wxStaticLine* m_staticline1;
314 		wxStdDialogButtonSizer* m_sdbSizer;
315 		wxButton* m_sdbSizerOK;
316 		wxButton* m_sdbSizerCancel;
317 
318 	public:
319 
320 		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 );
321 		~DIALOG_PAD_PRIMITIVES_PROPERTIES_BASE();
322 
323 };
324 
325 ///////////////////////////////////////////////////////////////////////////////
326 /// Class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE
327 ///////////////////////////////////////////////////////////////////////////////
328 class DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE : public DIALOG_SHIM
329 {
330 	private:
331 
332 	protected:
333 		wxStaticText* m_staticTextMove;
334 		wxStaticText* m_xLabel;
335 		TEXT_CTRL_EVAL* m_xCtrl;
336 		wxStaticText* m_xUnits;
337 		wxStaticText* m_yLabel;
338 		TEXT_CTRL_EVAL* m_yCtrl;
339 		wxStaticText* m_yUnits;
340 		wxStaticText* m_rotationLabel;
341 		TEXT_CTRL_EVAL* m_rotationCtrl;
342 		wxStaticText* m_rotationUnits;
343 		wxStaticText* m_scaleLabel;
344 		TEXT_CTRL_EVAL* m_scaleCtrl;
345 		wxStaticText* m_staticTextDupCnt;
346 		wxSpinCtrl* m_spinCtrlDuplicateCount;
347 		wxStaticLine* m_staticline1;
348 		wxStdDialogButtonSizer* m_sdbSizer;
349 		wxButton* m_sdbSizerOK;
350 		wxButton* m_sdbSizerCancel;
351 
352 	public:
353 
354 		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 );
355 		~DIALOG_PAD_PRIMITIVES_TRANSFORM_BASE();
356 
357 };
358 
359 ///////////////////////////////////////////////////////////////////////////////
360 /// Class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE
361 ///////////////////////////////////////////////////////////////////////////////
362 class DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE : public DIALOG_SHIM
363 {
364 	private:
365 
366 	protected:
367 		WX_GRID* m_gridCornersList;
368 		wxBitmapButton* m_addButton;
369 		wxBitmapButton* m_deleteButton;
370 		wxStaticText* m_thicknessLabel;
371 		TEXT_CTRL_EVAL* m_thicknessCtrl;
372 		wxStaticText* m_thicknessUnits;
373 		wxCheckBox* m_filledCtrl;
374 		wxPanel* m_panelPoly;
375 		wxStaticBitmap* m_warningIcon;
376 		wxStaticText* m_warningText;
377 		wxStaticLine* m_staticline3;
378 		wxStaticText* m_statusLine1;
379 		wxStdDialogButtonSizer* m_sdbSizer;
380 		wxButton* m_sdbSizerOK;
381 		wxButton* m_sdbSizerCancel;
382 
383 		// Virtual event handlers, overide them in your derived class
onGridSelect(wxGridRangeSelectEvent & event)384 		virtual void onGridSelect( wxGridRangeSelectEvent& event ) { event.Skip(); }
onCellSelect(wxGridEvent & event)385 		virtual void onCellSelect( wxGridEvent& event ) { event.Skip(); }
OnButtonAdd(wxCommandEvent & event)386 		virtual void OnButtonAdd( wxCommandEvent& event ) { event.Skip(); }
OnButtonDelete(wxCommandEvent & event)387 		virtual void OnButtonDelete( wxCommandEvent& event ) { event.Skip(); }
onPaintPolyPanel(wxPaintEvent & event)388 		virtual void onPaintPolyPanel( wxPaintEvent& event ) { event.Skip(); }
onPolyPanelResize(wxSizeEvent & event)389 		virtual void onPolyPanelResize( wxSizeEvent& event ) { event.Skip(); }
390 
391 
392 	public:
393 
394 		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 );
395 		~DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE();
396 
397 };
398 
399