2022-01-25 22:33:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-12-08 18:08:52 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.0.0-0-g0efcecf)
|
2022-01-25 22:33:37 +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>
|
|
|
|
class BITMAP_BUTTON;
|
2022-03-31 18:43:08 +00:00
|
|
|
class COLOR_SWATCH;
|
2022-01-25 22:33:37 +00:00
|
|
|
class FONT_CHOICE;
|
2023-10-02 22:32:20 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2022-01-25 22:33:37 +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>
|
|
|
|
#include <wx/stc/stc.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/choice.h>
|
2022-03-31 18:43:08 +00:00
|
|
|
#include <wx/panel.h>
|
2022-01-25 22:33:37 +00:00
|
|
|
#include <wx/gbsizer.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_FIELD_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_FIELD_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
wxStaticText* m_textLabel;
|
|
|
|
wxTextCtrl* m_TextCtrl;
|
|
|
|
wxStyledTextCtrl* m_StyledTextCtrl;
|
2023-10-02 22:32:20 +00:00
|
|
|
STD_BITMAP_BUTTON* m_TextValueSelectButton;
|
2022-01-25 22:33:37 +00:00
|
|
|
wxStaticText* m_note;
|
|
|
|
wxCheckBox* m_visible;
|
2022-09-03 20:54:05 +00:00
|
|
|
wxCheckBox* m_nameVisible;
|
2022-09-04 16:34:16 +00:00
|
|
|
wxCheckBox* m_cbAllowAutoPlace;
|
2022-01-25 22:33:37 +00:00
|
|
|
wxStaticText* m_fontLabel;
|
|
|
|
FONT_CHOICE* m_fontCtrl;
|
|
|
|
BITMAP_BUTTON* m_separator1;
|
|
|
|
BITMAP_BUTTON* m_bold;
|
|
|
|
BITMAP_BUTTON* m_italic;
|
2022-09-02 18:15:40 +00:00
|
|
|
BITMAP_BUTTON* m_separator2;
|
2022-01-25 22:33:37 +00:00
|
|
|
BITMAP_BUTTON* m_hAlignLeft;
|
|
|
|
BITMAP_BUTTON* m_hAlignCenter;
|
|
|
|
BITMAP_BUTTON* m_hAlignRight;
|
2022-09-02 18:15:40 +00:00
|
|
|
BITMAP_BUTTON* m_separator3;
|
2022-01-25 22:33:37 +00:00
|
|
|
BITMAP_BUTTON* m_vAlignTop;
|
|
|
|
BITMAP_BUTTON* m_vAlignCenter;
|
|
|
|
BITMAP_BUTTON* m_vAlignBottom;
|
2022-09-02 18:15:40 +00:00
|
|
|
BITMAP_BUTTON* m_separator4;
|
|
|
|
BITMAP_BUTTON* m_horizontal;
|
|
|
|
BITMAP_BUTTON* m_vertical;
|
2022-01-25 22:33:37 +00:00
|
|
|
BITMAP_BUTTON* m_separator5;
|
|
|
|
wxStaticText* m_textSizeLabel;
|
|
|
|
wxTextCtrl* m_textSizeCtrl;
|
|
|
|
wxStaticText* m_textSizeUnits;
|
2022-03-31 18:43:08 +00:00
|
|
|
wxStaticText* m_textColorLabel;
|
|
|
|
wxPanel* m_panelBorderColor1;
|
|
|
|
COLOR_SWATCH* m_textColorSwatch;
|
2022-01-25 22:33:37 +00:00
|
|
|
wxStaticText* m_xPosLabel;
|
|
|
|
wxTextCtrl* m_xPosCtrl;
|
|
|
|
wxStaticText* m_xPosUnits;
|
|
|
|
wxStaticText* m_yPosLabel;
|
|
|
|
wxTextCtrl* m_yPosCtrl;
|
|
|
|
wxStaticText* m_yPosUnits;
|
2024-01-26 16:16:13 +00:00
|
|
|
wxCheckBox* m_commonToAllUnits;
|
|
|
|
wxCheckBox* m_commonToAllBodyStyles;
|
2022-01-25 22:33:37 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizerButtons;
|
|
|
|
wxButton* m_sdbSizerButtonsOK;
|
|
|
|
wxButton* m_sdbSizerButtonsCancel;
|
|
|
|
|
2022-09-02 18:15:40 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2022-01-25 22:33:37 +00:00
|
|
|
virtual void OnCloseDialog( wxCloseEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSetFocusText( wxFocusEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onMultiLineTCLostFocus( wxFocusEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnTextValueSelectButtonClick( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
DIALOG_FIELD_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Text Item Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-09-02 18:15:40 +00:00
|
|
|
|
2022-01-25 22:33:37 +00:00
|
|
|
~DIALOG_FIELD_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|