2018-06-06 10:05:56 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-01-09 13:49:20 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
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>
|
2021-11-07 22:41:03 +00:00
|
|
|
class BITMAP_BUTTON;
|
2022-01-03 01:20:25 +00:00
|
|
|
class FONT_CHOICE;
|
2018-06-06 10:05:56 +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>
|
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>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/choice.h>
|
2021-11-07 22:41:03 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2018-06-06 10:05:56 +00:00
|
|
|
#include <wx/combobox.h>
|
2021-11-07 22:41:03 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2018-06-06 10:05:56 +00:00
|
|
|
#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;
|
2022-03-08 13:16:39 +00:00
|
|
|
wxCheckBox* m_Visible;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxStaticText* m_LayerLabel;
|
|
|
|
PCB_LAYER_BOX_SELECTOR* m_LayerSelectionCtrl;
|
2022-03-08 13:16:39 +00:00
|
|
|
wxCheckBox* m_cbKnockout;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxCheckBox* m_KeepUpright;
|
|
|
|
wxStaticText* m_fontLabel;
|
|
|
|
FONT_CHOICE* m_fontCtrl;
|
|
|
|
BITMAP_BUTTON* m_bold;
|
2021-11-07 22:41:03 +00:00
|
|
|
BITMAP_BUTTON* m_italic;
|
|
|
|
BITMAP_BUTTON* m_separator1;
|
|
|
|
BITMAP_BUTTON* m_alignLeft;
|
|
|
|
BITMAP_BUTTON* m_alignCenter;
|
|
|
|
BITMAP_BUTTON* m_alignRight;
|
|
|
|
BITMAP_BUTTON* m_separator2;
|
2023-01-08 12:13:06 +00:00
|
|
|
BITMAP_BUTTON* m_valignTop;
|
|
|
|
BITMAP_BUTTON* m_valignCenter;
|
|
|
|
BITMAP_BUTTON* m_valignBottom;
|
2021-11-07 22:41:03 +00:00
|
|
|
BITMAP_BUTTON* m_separator3;
|
2023-01-08 12:13:06 +00:00
|
|
|
BITMAP_BUTTON* m_mirrored;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxStaticText* m_SizeXLabel;
|
|
|
|
wxTextCtrl* m_SizeXCtrl;
|
|
|
|
wxStaticText* m_SizeXUnits;
|
|
|
|
wxStaticText* m_SizeYLabel;
|
|
|
|
wxTextCtrl* m_SizeYCtrl;
|
|
|
|
wxStaticText* m_SizeYUnits;
|
|
|
|
wxStaticText* m_ThicknessLabel;
|
|
|
|
wxTextCtrl* m_ThicknessCtrl;
|
|
|
|
wxStaticText* m_ThicknessUnits;
|
|
|
|
wxStaticText* m_PositionXLabel;
|
|
|
|
wxTextCtrl* m_PositionXCtrl;
|
|
|
|
wxStaticText* m_PositionXUnits;
|
|
|
|
wxStaticText* m_PositionYLabel;
|
|
|
|
wxTextCtrl* m_PositionYCtrl;
|
|
|
|
wxStaticText* m_PositionYUnits;
|
2021-11-07 22:41:03 +00:00
|
|
|
wxStaticText* m_OrientLabel;
|
|
|
|
wxComboBox* m_OrientCtrl;
|
2018-07-18 16:59:05 +00:00
|
|
|
wxStaticText* m_statusLine;
|
2018-06-06 10:05:56 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-03-27 10:50:24 +00:00
|
|
|
|
2023-01-09 13:49:20 +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(); }
|
2022-01-03 01:20:25 +00:00
|
|
|
virtual void onFontSelected( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onBoldToggle( wxCommandEvent& event ) { event.Skip(); }
|
2021-11-07 22:41:03 +00:00
|
|
|
virtual void onAlignButton( wxCommandEvent& event ) { event.Skip(); }
|
2023-01-08 12:13:06 +00:00
|
|
|
virtual void onValignButton( wxCommandEvent& event ) { event.Skip(); }
|
2022-01-03 01:20:25 +00:00
|
|
|
virtual void onThickness( 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 );
|
2023-01-09 13:49:20 +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
|
|
|
};
|
|
|
|
|