2020-09-08 02:42:26 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2022-01-03 01:20:25 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2020-09-08 02:42:26 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
class BITMAP_BUTTON;
|
|
|
|
class FONT_CHOICE;
|
2020-09-08 02:42:26 +00:00
|
|
|
class PCB_LAYER_BOX_SELECTOR;
|
|
|
|
|
|
|
|
#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>
|
|
|
|
#include <wx/choice.h>
|
|
|
|
#include <wx/bmpcbox.h>
|
|
|
|
#include <wx/gbsizer.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statbox.h>
|
2020-09-12 20:09:40 +00:00
|
|
|
#include <wx/checkbox.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
2020-09-08 02:42:26 +00:00
|
|
|
#include <wx/button.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/combobox.h>
|
2020-09-08 02:42:26 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_DIMENSION_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_DIMENSION_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
2020-09-12 20:09:40 +00:00
|
|
|
wxBoxSizer* m_mainSizer;
|
|
|
|
wxStaticBoxSizer* m_sizerLeader;
|
|
|
|
wxStaticText* m_lblLeaderValue;
|
|
|
|
wxTextCtrl* m_txtLeaderValue;
|
|
|
|
wxStaticText* m_lblTextFrame;
|
|
|
|
wxChoice* m_cbTextFrame;
|
|
|
|
wxStaticText* m_lblLeaderLayer;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_cbLeaderLayer;
|
2020-09-17 00:54:58 +00:00
|
|
|
wxStaticBoxSizer* m_sizerCenter;
|
|
|
|
wxStaticText* m_lblCenterLayer;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_cbCenterLayer;
|
2020-09-12 20:09:40 +00:00
|
|
|
wxStaticBoxSizer* m_sizerFormat;
|
2020-09-08 02:42:26 +00:00
|
|
|
wxStaticText* m_lblValue;
|
|
|
|
wxTextCtrl* m_txtValue;
|
|
|
|
wxCheckBox* m_cbOverrideValue;
|
|
|
|
wxStaticText* m_lblUnits;
|
|
|
|
wxChoice* m_cbUnits;
|
|
|
|
wxStaticText* m_lblPrefix;
|
|
|
|
wxTextCtrl* m_txtPrefix;
|
|
|
|
wxStaticText* m_txtUnitsFormat;
|
|
|
|
wxChoice* m_cbUnitsFormat;
|
|
|
|
wxStaticText* m_lblSuffix;
|
|
|
|
wxTextCtrl* m_txtSuffix;
|
|
|
|
wxStaticText* m_lblPrecision;
|
|
|
|
wxChoice* m_cbPrecision;
|
|
|
|
wxCheckBox* m_cbSuppressZeroes;
|
|
|
|
wxStaticText* m_lblLayer;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_cbLayer;
|
|
|
|
wxStaticText* m_lblPreview;
|
|
|
|
wxStaticText* m_staticTextPreview;
|
2020-09-17 00:54:58 +00:00
|
|
|
wxStaticBoxSizer* m_sizerText;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxStaticText* m_fontLabel;
|
|
|
|
FONT_CHOICE* m_fontCtrl;
|
|
|
|
BITMAP_BUTTON* m_separator0;
|
|
|
|
BITMAP_BUTTON* m_bold;
|
|
|
|
BITMAP_BUTTON* m_italic;
|
|
|
|
BITMAP_BUTTON* m_separator1;
|
|
|
|
BITMAP_BUTTON* m_alignLeft;
|
|
|
|
BITMAP_BUTTON* m_alignCenter;
|
|
|
|
BITMAP_BUTTON* m_alignRight;
|
|
|
|
BITMAP_BUTTON* m_separator2;
|
|
|
|
BITMAP_BUTTON* m_mirrored;
|
|
|
|
BITMAP_BUTTON* m_separator3;
|
2020-09-08 02:42:26 +00:00
|
|
|
wxStaticText* m_lblTextWidth;
|
|
|
|
wxTextCtrl* m_txtTextWidth;
|
|
|
|
wxStaticText* m_lblTextWidthUnits;
|
|
|
|
wxStaticText* m_lblTextPosX;
|
|
|
|
wxTextCtrl* m_txtTextPosX;
|
|
|
|
wxStaticText* m_lblTextPosXUnits;
|
|
|
|
wxStaticText* m_lblTextHeight;
|
|
|
|
wxTextCtrl* m_txtTextHeight;
|
|
|
|
wxStaticText* m_lblTextHeightUnits;
|
|
|
|
wxStaticText* m_lblTextPosY;
|
|
|
|
wxTextCtrl* m_txtTextPosY;
|
|
|
|
wxStaticText* m_lblTextPosYUnits;
|
|
|
|
wxStaticText* m_lblTextThickness;
|
|
|
|
wxTextCtrl* m_txtTextThickness;
|
|
|
|
wxStaticText* m_lblTextThicknessUnits;
|
|
|
|
wxStaticText* m_lblTextOrientation;
|
|
|
|
wxComboBox* m_cbTextOrientation;
|
2020-09-11 23:52:45 +00:00
|
|
|
wxStaticText* m_lblTextPositionMode;
|
|
|
|
wxChoice* m_cbTextPositionMode;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxCheckBox* m_cbKeepAligned;
|
2020-09-08 02:42:26 +00:00
|
|
|
wxStaticText* m_lblLineThickness;
|
|
|
|
wxTextCtrl* m_txtLineThickness;
|
|
|
|
wxStaticText* m_lblLineThicknessUnits;
|
|
|
|
wxStaticText* m_lblArrowLength;
|
|
|
|
wxTextCtrl* m_txtArrowLength;
|
|
|
|
wxStaticText* m_lblArrowLengthUnits;
|
2020-09-12 15:46:33 +00:00
|
|
|
wxStaticText* m_lblExtensionOffset;
|
|
|
|
wxTextCtrl* m_txtExtensionOffset;
|
|
|
|
wxStaticText* m_lblExtensionOffsetUnits;
|
2020-09-08 02:42:26 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
2022-01-03 01:20:25 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2020-09-08 02:42:26 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDimensionUnitsChange( wxCommandEvent& event ) { event.Skip(); }
|
2022-01-03 01:20:25 +00:00
|
|
|
virtual void onFontSelected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onBoldToggle( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onAlignButton( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-08 02:42:26 +00:00
|
|
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
|
2022-01-03 01:20:25 +00:00
|
|
|
virtual void onThickness( wxCommandEvent& event ) { event.Skip(); }
|
2020-09-08 02:42:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
2020-09-19 19:41:54 +00:00
|
|
|
DIALOG_DIMENSION_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Dimension Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2020-09-08 02:42:26 +00:00
|
|
|
~DIALOG_DIMENSION_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|