2021-07-17 19:56:18 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2023-01-08 19:26:10 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version 3.10.1-0-g8feb16b)
|
2021-07-17 19:56:18 +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 COLOR_SWATCH;
|
2022-03-29 19:41:03 +00:00
|
|
|
class WX_INFOBAR;
|
2021-07-17 19:56:18 +00:00
|
|
|
|
|
|
|
#include "dialog_shim.h"
|
2022-03-29 19:41:03 +00:00
|
|
|
#include <wx/infobar.h>
|
2021-07-17 19:56:18 +00:00
|
|
|
#include <wx/gdicmn.h>
|
|
|
|
#include <wx/font.h>
|
|
|
|
#include <wx/colour.h>
|
|
|
|
#include <wx/settings.h>
|
2022-03-29 19:41:03 +00:00
|
|
|
#include <wx/string.h>
|
2022-04-05 22:32:48 +00:00
|
|
|
#include <wx/checkbox.h>
|
2022-03-29 19:41:03 +00:00
|
|
|
#include <wx/stattext.h>
|
2021-07-17 19:56:18 +00:00
|
|
|
#include <wx/textctrl.h>
|
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/panel.h>
|
|
|
|
#include <wx/bmpcbox.h>
|
2022-04-05 22:32:48 +00:00
|
|
|
#include <wx/gbsizer.h>
|
2021-07-17 19:56:18 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_SHAPE_PROPERTIES_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_SHAPE_PROPERTIES_BASE : public DIALOG_SHIM
|
|
|
|
{
|
2022-04-05 22:32:48 +00:00
|
|
|
DECLARE_EVENT_TABLE()
|
2021-07-17 19:56:18 +00:00
|
|
|
private:
|
|
|
|
|
2022-04-05 22:32:48 +00:00
|
|
|
// Private event handlers
|
|
|
|
void _wxFB_onBorderChecked( wxCommandEvent& event ){ onBorderChecked( event ); }
|
|
|
|
void _wxFB_onFillChecked( wxCommandEvent& event ){ onFillChecked( event ); }
|
|
|
|
|
|
|
|
|
2021-07-17 19:56:18 +00:00
|
|
|
protected:
|
2022-03-29 19:41:03 +00:00
|
|
|
WX_INFOBAR* m_infoBar;
|
2022-04-05 22:32:48 +00:00
|
|
|
wxGridBagSizer* m_textEntrySizer;
|
|
|
|
wxCheckBox* m_borderCheckbox;
|
|
|
|
wxStaticText* m_borderWidthLabel;
|
|
|
|
wxTextCtrl* m_borderWidthCtrl;
|
|
|
|
wxStaticText* m_borderWidthUnits;
|
|
|
|
wxStaticText* m_borderColorLabel;
|
|
|
|
wxPanel* m_panelBorderColor;
|
|
|
|
COLOR_SWATCH* m_borderColorSwatch;
|
|
|
|
wxStaticText* m_borderStyleLabel;
|
|
|
|
wxBitmapComboBox* m_borderStyleCombo;
|
2021-07-17 19:56:18 +00:00
|
|
|
wxCheckBox* m_filledCtrl;
|
|
|
|
wxStaticText* m_fillColorLabel;
|
2022-04-05 22:32:48 +00:00
|
|
|
wxPanel* m_panelFillColor;
|
2021-07-17 19:56:18 +00:00
|
|
|
COLOR_SWATCH* m_fillColorSwatch;
|
|
|
|
wxStaticText* m_helpLabel1;
|
|
|
|
wxStaticText* m_helpLabel2;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
|
|
|
|
2023-01-08 19:26:10 +00:00
|
|
|
// Virtual event handlers, override them in your derived class
|
2022-04-05 22:32:48 +00:00
|
|
|
virtual void onBorderChecked( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
virtual void onFillChecked( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
2021-07-17 19:56:18 +00:00
|
|
|
public:
|
|
|
|
|
|
|
|
DIALOG_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("%s Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2023-01-08 19:26:10 +00:00
|
|
|
|
2021-07-17 19:56:18 +00:00
|
|
|
~DIALOG_SHAPE_PROPERTIES_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|