2018-06-06 10:05:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-11-27 09:08:30 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.0-39-g3487c3cb)
|
2018-06-06 10:05:56 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-03-27 10:50:24 +00:00
|
|
|
#pragma once
|
2018-06-06 10:05:56 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
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>
|
2019-09-05 07:42:01 +00:00
|
|
|
#include <wx/stc/stc.h>
|
2018-06-06 10:05:56 +00:00
|
|
|
#include <wx/sizer.h>
|
2019-09-05 07:42:01 +00:00
|
|
|
#include <wx/textctrl.h>
|
2018-06-06 10:05:56 +00:00
|
|
|
#include <wx/checkbox.h>
|
2021-01-12 09:00:21 +00:00
|
|
|
#include <wx/bmpcbox.h>
|
2020-09-09 03:17:08 +00:00
|
|
|
#include <wx/choice.h>
|
2018-06-06 10:05:56 +00:00
|
|
|
#include <wx/combobox.h>
|
|
|
|
#include <wx/statline.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_TEXT_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_TEXT_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
2019-03-27 10:50:24 +00:00
|
|
|
|
2018-06-06 10:05:56 +00:00
|
|
|
protected:
|
|
|
|
wxBoxSizer* m_MultiLineSizer;
|
2019-09-05 07:42:01 +00:00
|
|
|
wxStyledTextCtrl* m_MultiLineText;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxBoxSizer* m_SingleLineSizer;
|
|
|
|
wxStaticText* m_TextLabel;
|
|
|
|
wxTextCtrl* m_SingleLineText;
|
2021-01-12 09:00:21 +00:00
|
|
|
wxCheckBox* m_cbLocked;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxStaticText* m_LayerLabel;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_LayerSelectionCtrl;
|
|
|
|
wxCheckBox* m_Visible;
|
|
|
|
wxStaticText* m_SizeXLabel;
|
|
|
|
wxTextCtrl* m_SizeXCtrl;
|
|
|
|
wxStaticText* m_SizeXUnits;
|
|
|
|
wxCheckBox* m_Italic;
|
|
|
|
wxStaticText* m_SizeYLabel;
|
|
|
|
wxTextCtrl* m_SizeYCtrl;
|
|
|
|
wxStaticText* m_SizeYUnits;
|
|
|
|
wxStaticText* m_staticText11;
|
|
|
|
wxChoice* m_JustifyChoice;
|
|
|
|
wxStaticText* m_ThicknessLabel;
|
|
|
|
wxTextCtrl* m_ThicknessCtrl;
|
|
|
|
wxStaticText* m_ThicknessUnits;
|
|
|
|
wxStaticText* m_OrientLabel;
|
|
|
|
wxComboBox* m_OrientCtrl;
|
|
|
|
wxStaticText* m_PositionXLabel;
|
|
|
|
wxTextCtrl* m_PositionXCtrl;
|
|
|
|
wxStaticText* m_PositionXUnits;
|
|
|
|
wxCheckBox* m_Mirrored;
|
|
|
|
wxStaticText* m_PositionYLabel;
|
|
|
|
wxTextCtrl* m_PositionYCtrl;
|
|
|
|
wxStaticText* m_PositionYUnits;
|
|
|
|
wxCheckBox* m_KeepUpright;
|
2018-07-18 16:59:05 +00:00
|
|
|
wxStaticText* m_statusLine;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxStaticLine* m_staticline;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-03-27 10:50:24 +00:00
|
|
|
|
2021-10-21 12:59:55 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2018-06-06 10:05:56 +00:00
|
|
|
virtual void OnInitDlg( wxInitDialogEvent& event ) { event.Skip(); }
|
2021-11-27 09:08:30 +00:00
|
|
|
virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
|
2020-11-25 16:25:26 +00:00
|
|
|
virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
|
2018-06-06 10:05:56 +00:00
|
|
|
virtual void OnOkClick( wxCommandEvent& event ) { event.Skip(); }
|
2019-03-27 10:50:24 +00:00
|
|
|
|
|
|
|
|
2018-06-06 10:05:56 +00:00
|
|
|
public:
|
2019-03-27 10:50:24 +00:00
|
|
|
|
2020-04-18 20:40:54 +00:00
|
|
|
DIALOG_TEXT_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Text Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxSYSTEM_MENU );
|
2021-10-21 12:59:55 +00:00
|
|
|
|
2018-06-06 10:05:56 +00:00
|
|
|
~DIALOG_TEXT_PROPERTIES_BASE();
|
2019-03-27 10:50:24 +00:00
|
|
|
|
2018-06-06 10:05:56 +00:00
|
|
|
};
|
|
|
|
|