2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2021-12-16 18:04:59 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2013-05-26 04:36:44 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2018-04-23 18:48:01 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2021-06-14 18:00:08 +00:00
|
|
|
#pragma once
|
2013-05-26 04:36:44 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
2021-12-16 18:04:59 +00:00
|
|
|
class COLOR_SWATCH;
|
|
|
|
|
2016-07-16 10:54:55 +00:00
|
|
|
#include "dialog_shim.h"
|
2013-05-26 04:36:44 +00:00
|
|
|
#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/sizer.h>
|
2021-12-16 18:04:59 +00:00
|
|
|
#include <wx/radiobut.h>
|
|
|
|
#include <wx/gbsizer.h>
|
2021-12-15 10:17:53 +00:00
|
|
|
#include <wx/statbox.h>
|
2018-08-31 23:18:47 +00:00
|
|
|
#include <wx/checkbox.h>
|
|
|
|
#include <wx/statline.h>
|
2013-05-26 04:36:44 +00:00
|
|
|
#include <wx/button.h>
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-08-06 19:54:26 +00:00
|
|
|
/// Class DIALOG_LIB_SHAPE_PROPERTIES_BASE
|
2013-05-26 04:36:44 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2021-08-06 19:54:26 +00:00
|
|
|
class DIALOG_LIB_SHAPE_PROPERTIES_BASE : public DIALOG_SHIM
|
2013-05-26 04:36:44 +00:00
|
|
|
{
|
2021-12-16 18:04:59 +00:00
|
|
|
DECLARE_EVENT_TABLE()
|
2013-05-26 04:36:44 +00:00
|
|
|
private:
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2021-12-16 18:04:59 +00:00
|
|
|
// Private event handlers
|
|
|
|
void _wxFB_onFill( wxCommandEvent& event ){ onFill( event ); }
|
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
protected:
|
2021-12-16 18:04:59 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
NO_FILL = 1000,
|
|
|
|
FILLED_SHAPE,
|
|
|
|
FILLED_WITH_BG_BODYCOLOR,
|
|
|
|
FILLED_WITH_COLOR
|
|
|
|
};
|
|
|
|
|
2018-06-14 08:26:11 +00:00
|
|
|
wxStaticText* m_widthLabel;
|
|
|
|
wxTextCtrl* m_widthCtrl;
|
|
|
|
wxStaticText* m_widthUnits;
|
2021-11-29 20:01:41 +00:00
|
|
|
wxStaticText* m_helpLabel;
|
2021-12-16 18:04:59 +00:00
|
|
|
wxRadioButton* m_rbFillNone;
|
|
|
|
wxRadioButton* m_rbFillOutline;
|
|
|
|
wxRadioButton* m_rbFillBackground;
|
|
|
|
wxRadioButton* m_rbFillCustom;
|
|
|
|
COLOR_SWATCH* m_colorSwatch;
|
2022-01-25 22:33:37 +00:00
|
|
|
wxCheckBox* m_privateCheckbox;
|
2013-05-26 04:36:44 +00:00
|
|
|
wxCheckBox* m_checkApplyToAllUnits;
|
|
|
|
wxCheckBox* m_checkApplyToAllConversions;
|
2018-10-20 10:38:36 +00:00
|
|
|
wxStaticLine* m_staticline;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2021-12-16 18:04:59 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
|
|
|
virtual void onFill( wxCommandEvent& event ) { event.Skip(); }
|
|
|
|
|
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
public:
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2021-08-06 19:54:26 +00:00
|
|
|
DIALOG_LIB_SHAPE_PROPERTIES_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Drawing Properties"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
|
|
|
~DIALOG_LIB_SHAPE_PROPERTIES_BASE();
|
2021-06-14 18:00:08 +00:00
|
|
|
|
2013-05-26 04:36:44 +00:00
|
|
|
};
|
|
|
|
|