2017-10-31 16:33:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2020-01-10 17:39:25 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 26 2018)
|
2017-10-31 16:33:37 +00:00
|
|
|
// http://www.wxformbuilder.org/
|
|
|
|
//
|
2017-11-16 23:56:41 +00:00
|
|
|
// PLEASE DO *NOT* EDIT THIS FILE!
|
2017-10-31 16:33:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2019-12-31 04:05:51 +00:00
|
|
|
#pragma once
|
2017-10-31 16:33:37 +00:00
|
|
|
|
|
|
|
#include <wx/artprov.h>
|
|
|
|
#include <wx/xrc/xmlres.h>
|
|
|
|
#include <wx/intl.h>
|
|
|
|
#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>
|
2019-12-31 04:05:51 +00:00
|
|
|
#include <wx/bmpbuttn.h>
|
2017-11-14 23:19:03 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/button.h>
|
2019-12-31 04:05:51 +00:00
|
|
|
#include <wx/bmpcbox.h>
|
2017-11-15 19:28:17 +00:00
|
|
|
#include <wx/sizer.h>
|
|
|
|
#include <wx/statline.h>
|
2017-10-31 16:33:37 +00:00
|
|
|
#include <wx/dialog.h>
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
/// Class DIALOG_EDIT_LINE_STYLE_BASE
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
class DIALOG_EDIT_LINE_STYLE_BASE : public DIALOG_SHIM
|
|
|
|
{
|
|
|
|
DECLARE_EVENT_TABLE()
|
|
|
|
private:
|
2019-12-31 04:05:51 +00:00
|
|
|
|
2017-10-31 16:33:37 +00:00
|
|
|
// Private event handlers
|
2017-11-14 23:19:03 +00:00
|
|
|
void _wxFB_onColorButtonClicked( wxCommandEvent& event ){ onColorButtonClicked( event ); }
|
2017-10-31 16:33:37 +00:00
|
|
|
void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
|
2019-12-31 04:05:51 +00:00
|
|
|
|
|
|
|
|
2017-10-31 16:33:37 +00:00
|
|
|
protected:
|
2017-11-14 23:19:03 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
idColorBtn = 1000
|
|
|
|
};
|
2019-12-31 04:05:51 +00:00
|
|
|
|
2017-11-15 19:28:17 +00:00
|
|
|
wxStaticText* m_staticTextWidth;
|
2017-10-31 16:33:37 +00:00
|
|
|
wxTextCtrl* m_lineWidth;
|
|
|
|
wxStaticText* m_staticWidthUnits;
|
2019-12-31 14:01:37 +00:00
|
|
|
wxStaticText* m_staticTextColor;
|
2017-11-14 23:19:03 +00:00
|
|
|
wxBitmapButton* m_colorButton;
|
2019-12-31 14:01:37 +00:00
|
|
|
wxStaticText* m_staticTextStyle;
|
2019-12-31 04:05:51 +00:00
|
|
|
wxBitmapComboBox* m_typeCombo;
|
2017-11-15 19:28:17 +00:00
|
|
|
wxStaticLine* m_staticline;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerApply;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
2019-12-31 04:05:51 +00:00
|
|
|
|
2017-10-31 16:33:37 +00:00
|
|
|
// Virtual event handlers, overide them in your derived class
|
2017-11-14 23:19:03 +00:00
|
|
|
virtual void onColorButtonClicked( wxCommandEvent& event ) { event.Skip(); }
|
2017-10-31 16:33:37 +00:00
|
|
|
virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
|
2019-12-31 04:05:51 +00:00
|
|
|
|
|
|
|
|
2017-10-31 16:33:37 +00:00
|
|
|
public:
|
2019-12-31 04:05:51 +00:00
|
|
|
|
2020-01-10 17:39:25 +00:00
|
|
|
DIALOG_EDIT_LINE_STYLE_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Line Style"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-10-31 16:33:37 +00:00
|
|
|
~DIALOG_EDIT_LINE_STYLE_BASE();
|
2019-12-31 04:05:51 +00:00
|
|
|
|
2017-10-31 16:33:37 +00:00
|
|
|
};
|
|
|
|
|