2017-10-31 16:33:37 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////
|
2017-11-16 23:56:41 +00:00
|
|
|
// C++ code generated with wxFormBuilder (version Oct 30 2017)
|
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
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#ifndef __DIALOG_EDIT_LINE_STYLE_BASE_H__
|
|
|
|
#define __DIALOG_EDIT_LINE_STYLE_BASE_H__
|
|
|
|
|
|
|
|
#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>
|
2017-11-14 23:19:03 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/icon.h>
|
|
|
|
#include <wx/bmpbuttn.h>
|
|
|
|
#include <wx/button.h>
|
2017-11-15 19:28:17 +00:00
|
|
|
#include <wx/sizer.h>
|
2017-10-31 16:33:37 +00:00
|
|
|
#include <wx/statbox.h>
|
|
|
|
#include <wx/radiobox.h>
|
2017-11-15 19:28:17 +00:00
|
|
|
#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:
|
|
|
|
|
|
|
|
// 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 ); }
|
|
|
|
|
|
|
|
|
|
|
|
protected:
|
2017-11-14 23:19:03 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
idColorBtn = 1000
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
wxStaticText* m_staticText5;
|
2017-11-14 23:19:03 +00:00
|
|
|
wxBitmapButton* m_colorButton;
|
2017-10-31 16:33:37 +00:00
|
|
|
wxRadioBox* m_lineStyle;
|
2017-11-15 19:28:17 +00:00
|
|
|
wxStaticLine* m_staticline;
|
|
|
|
wxStdDialogButtonSizer* m_sdbSizer;
|
|
|
|
wxButton* m_sdbSizerOK;
|
|
|
|
wxButton* m_sdbSizerApply;
|
|
|
|
wxButton* m_sdbSizerCancel;
|
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(); }
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
bool m_isValid;
|
|
|
|
|
2017-11-16 23:56:41 +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( 298,204 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
|
2017-10-31 16:33:37 +00:00
|
|
|
~DIALOG_EDIT_LINE_STYLE_BASE();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif //__DIALOG_EDIT_LINE_STYLE_BASE_H__
|