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.

68 lines
2.3 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. // C++ code generated with wxFormBuilder (version Jun 5 2018)
  3. // http://www.wxformbuilder.org/
  4. //
  5. // PLEASE DO *NOT* EDIT THIS FILE!
  6. ///////////////////////////////////////////////////////////////////////////
  7. #ifndef __DIALOG_IMAGE_EDITOR_BASE_H__
  8. #define __DIALOG_IMAGE_EDITOR_BASE_H__
  9. #include <wx/artprov.h>
  10. #include <wx/xrc/xmlres.h>
  11. #include <wx/intl.h>
  12. #include "dialog_shim.h"
  13. #include <wx/panel.h>
  14. #include <wx/gdicmn.h>
  15. #include <wx/font.h>
  16. #include <wx/colour.h>
  17. #include <wx/settings.h>
  18. #include <wx/string.h>
  19. #include <wx/button.h>
  20. #include <wx/stattext.h>
  21. #include <wx/textctrl.h>
  22. #include <wx/sizer.h>
  23. #include <wx/dialog.h>
  24. ///////////////////////////////////////////////////////////////////////////
  25. ///////////////////////////////////////////////////////////////////////////////
  26. /// Class DIALOG_IMAGE_EDITOR_BASE
  27. ///////////////////////////////////////////////////////////////////////////////
  28. class DIALOG_IMAGE_EDITOR_BASE : public DIALOG_SHIM
  29. {
  30. private:
  31. protected:
  32. wxPanel* m_panelDraw;
  33. wxButton* m_buttonMirrorX;
  34. wxButton* m_buttonMirrorY;
  35. wxButton* m_buttonRotate;
  36. wxButton* m_buttonGrey;
  37. wxButton* m_buttonHalfSize;
  38. wxButton* m_buttonUndoLast;
  39. wxStaticText* m_staticTextScale;
  40. wxTextCtrl* m_textCtrlScale;
  41. wxStdDialogButtonSizer* m_sdbSizer;
  42. wxButton* m_sdbSizerOK;
  43. wxButton* m_sdbSizerCancel;
  44. // Virtual event handlers, overide them in your derived class
  45. virtual void OnRedrawPanel( wxPaintEvent& event ) { event.Skip(); }
  46. virtual void OnMirrorX_click( wxCommandEvent& event ) { event.Skip(); }
  47. virtual void OnMirrorY_click( wxCommandEvent& event ) { event.Skip(); }
  48. virtual void OnRotateClick( wxCommandEvent& event ) { event.Skip(); }
  49. virtual void OnGreyScaleConvert( wxCommandEvent& event ) { event.Skip(); }
  50. virtual void OnHalfSize( wxCommandEvent& event ) { event.Skip(); }
  51. virtual void OnUndoLastChange( wxCommandEvent& event ) { event.Skip(); }
  52. public:
  53. DIALOG_IMAGE_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Image Editor"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
  54. ~DIALOG_IMAGE_EDITOR_BASE();
  55. };
  56. #endif //__DIALOG_IMAGE_EDITOR_BASE_H__