2021-10-12 20:05:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2024-05-26 21:12:51 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
|
2021-10-12 20:05: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-03 01:20:25 +00:00
|
|
|
class FONT_CHOICE;
|
2022-12-13 20:47:28 +00:00
|
|
|
class STD_BITMAP_BUTTON;
|
2021-10-12 20:05:37 +00:00
|
|
|
class WX_GRID;
|
|
|
|
|
|
|
|
#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/combobox.h>
|
|
|
|
#include <wx/hyperlink.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/grid.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/radiobut.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/choice.h>
|
2022-03-26 16:27:45 +00:00
|
|
|
#include <wx/checkbox.h>
|
2022-09-01 13:26:32 +00:00
|
|
|
#include <wx/panel.h>
|
2022-01-03 01:20:25 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2021-10-12 20:05:37 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_LABEL_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_LABEL_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
|
|
|
|
protected:
|
|
|
|
enum
|
|
|
|
{
|
2022-03-31 18:43:08 +00:00
|
|
|
wxID_VALUESINGLE = 1000
|
2021-10-12 20:05:37 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
wxFlexGridSizer* m_textEntrySizer;
|
|
|
|
wxStaticText* m_labelSingleLine;
|
|
|
|
wxTextCtrl* m_valueSingleLine;
|
|
|
|
wxStaticText* m_labelCombo;
|
|
|
|
wxComboBox* m_valueCombo;
|
|
|
|
wxHyperlinkCtrl* m_syntaxHelp;
|
|
|
|
WX_GRID* m_grid;
|
2022-12-13 20:47:28 +00:00
|
|
|
STD_BITMAP_BUTTON* m_bpAdd;
|
|
|
|
STD_BITMAP_BUTTON* m_bpMoveUp;
|
|
|
|
STD_BITMAP_BUTTON* m_bpMoveDown;
|
|
|
|
STD_BITMAP_BUTTON* m_bpDelete;
|
2021-10-12 20:05:37 +00:00
|
|
|
wxStaticBoxSizer* m_shapeSizer;
|
|
|
|
wxRadioButton* m_input;
|
|
|
|
wxRadioButton* m_output;
|
|
|
|
wxRadioButton* m_bidirectional;
|
|
|
|
wxRadioButton* m_triState;
|
|
|
|
wxRadioButton* m_passive;
|
|
|
|
wxRadioButton* m_dot;
|
|
|
|
wxRadioButton* m_circle;
|
|
|
|
wxRadioButton* m_diamond;
|
|
|
|
wxRadioButton* m_rectangle;
|
2022-09-22 00:05:51 +00:00
|
|
|
wxGridBagSizer* m_formattingGB;
|
2022-01-03 01:20:25 +00:00
|
|
|
wxStaticText* m_fontLabel;
|
|
|
|
FONT_CHOICE* m_fontCtrl;
|
2022-09-22 00:05:51 +00:00
|
|
|
wxBoxSizer* m_iconBar;
|
2021-10-12 20:05:37 +00:00
|
|
|
BITMAP_BUTTON* m_separator1;
|
|
|
|
BITMAP_BUTTON* m_bold;
|
|
|
|
BITMAP_BUTTON* m_italic;
|
|
|
|
BITMAP_BUTTON* m_separator2;
|
|
|
|
BITMAP_BUTTON* m_spin0;
|
|
|
|
BITMAP_BUTTON* m_spin1;
|
|
|
|
BITMAP_BUTTON* m_spin2;
|
|
|
|
BITMAP_BUTTON* m_spin3;
|
2022-03-26 16:27:45 +00:00
|
|
|
wxCheckBox* m_autoRotate;
|
2021-10-12 20:05:37 +00:00
|
|
|
BITMAP_BUTTON* m_separator3;
|
2022-01-03 01:20:25 +00:00
|
|
|
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;
|
2021-10-12 20:05:37 +00:00
|
|
|
wxStdDialogButtonSizer* m_sdbSizer1;
|
|
|
|
wxButton* m_sdbSizer1OK;
|
|
|
|
wxButton* m_sdbSizer1Cancel;
|
|
|
|
|
2022-03-26 16:27:45 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2021-10-12 20:05:37 +00:00
|
|
|
virtual void OnUpdateUI( wxUpdateUIEvent& event ) { event.Skip(); }
|
2022-05-06 16:00:34 +00:00
|
|
|
virtual void OnValueCharHook( wxKeyEvent& event ) { event.Skip(); }
|
2021-10-12 20:05:37 +00:00
|
|
|
virtual void OnEnterKey( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnFormattingHelp( wxHyperlinkEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnSizeGrid( wxSizeEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnAddField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveUp( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnMoveDown( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void OnDeleteField( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
DIALOG_LABEL_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Label Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2022-03-26 16:27:45 +00:00
|
|
|
|
2021-10-12 20:05:37 +00:00
|
|
|
~DIALOG_LABEL_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|