You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
2.2 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Oct 26 2018)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #pragma once
  8. #include <wx/artprov.h>
  9. #include <wx/xrc/xmlres.h>
  10. #include <wx/intl.h>
  11. #include "dialog_shim.h"
  12. #include <wx/string.h>
  13. #include <wx/stattext.h>
  14. #include <wx/gdicmn.h>
  15. #include <wx/font.h>
  16. #include <wx/colour.h>
  17. #include <wx/settings.h>
  18. #include <wx/textctrl.h>
  19. #include <wx/bmpbuttn.h>
  20. #include <wx/bitmap.h>
  21. #include <wx/image.h>
  22. #include <wx/icon.h>
  23. #include <wx/button.h>
  24. #include <wx/bmpcbox.h>
  25. #include <wx/sizer.h>
  26. #include <wx/statline.h>
  27. #include <wx/dialog.h>
  28. ///////////////////////////////////////////////////////////////////////////
  29. ///////////////////////////////////////////////////////////////////////////////
  30. /// Class DIALOG_EDIT_LINE_STYLE_BASE
  31. ///////////////////////////////////////////////////////////////////////////////
  32. class DIALOG_EDIT_LINE_STYLE_BASE : public DIALOG_SHIM
  33. {
  34. DECLARE_EVENT_TABLE()
  35. private:
  36. // Private event handlers
  37. void _wxFB_onColorButtonClicked( wxCommandEvent& event ){ onColorButtonClicked( event ); }
  38. void _wxFB_resetDefaults( wxCommandEvent& event ){ resetDefaults( event ); }
  39. protected:
  40. enum
  41. {
  42. idColorBtn = 1000
  43. };
  44. wxStaticText* m_staticTextWidth;
  45. wxTextCtrl* m_lineWidth;
  46. wxStaticText* m_staticWidthUnits;
  47. wxStaticText* m_staticTextColor;
  48. wxBitmapButton* m_colorButton;
  49. wxStaticText* m_staticTextStyle;
  50. wxBitmapComboBox* m_typeCombo;
  51. wxStaticLine* m_staticline;
  52. wxStdDialogButtonSizer* m_sdbSizer;
  53. wxButton* m_sdbSizerOK;
  54. wxButton* m_sdbSizerApply;
  55. wxButton* m_sdbSizerCancel;
  56. // Virtual event handlers, overide them in your derived class
  57. virtual void onColorButtonClicked( wxCommandEvent& event ) { event.Skip(); }
  58. virtual void resetDefaults( wxCommandEvent& event ) { event.Skip(); }
  59. public:
  60. 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 );
  61. ~DIALOG_EDIT_LINE_STYLE_BASE();
  62. };