KiCad PCB EDA Suite
dialog_image_editor_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jun 5 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __DIALOG_IMAGE_EDITOR_BASE_H__
9 #define __DIALOG_IMAGE_EDITOR_BASE_H__
10 
11 #include <wx/artprov.h>
12 #include <wx/xrc/xmlres.h>
13 #include <wx/intl.h>
14 #include "dialog_shim.h"
15 #include <wx/panel.h>
16 #include <wx/gdicmn.h>
17 #include <wx/font.h>
18 #include <wx/colour.h>
19 #include <wx/settings.h>
20 #include <wx/string.h>
21 #include <wx/button.h>
22 #include <wx/stattext.h>
23 #include <wx/textctrl.h>
24 #include <wx/sizer.h>
25 #include <wx/dialog.h>
26 
28 
29 
34 {
35  private:
36 
37  protected:
38  wxPanel* m_panelDraw;
39  wxButton* m_buttonMirrorX;
40  wxButton* m_buttonMirrorY;
41  wxButton* m_buttonRotate;
42  wxButton* m_buttonGrey;
43  wxButton* m_buttonHalfSize;
44  wxButton* m_buttonUndoLast;
45  wxStaticText* m_staticTextScale;
46  wxTextCtrl* m_textCtrlScale;
47  wxStdDialogButtonSizer* m_sdbSizer;
48  wxButton* m_sdbSizerOK;
49  wxButton* m_sdbSizerCancel;
50 
51  // Virtual event handlers, overide them in your derived class
52  virtual void OnRedrawPanel( wxPaintEvent& event ) { event.Skip(); }
53  virtual void OnMirrorX_click( wxCommandEvent& event ) { event.Skip(); }
54  virtual void OnMirrorY_click( wxCommandEvent& event ) { event.Skip(); }
55  virtual void OnRotateClick( wxCommandEvent& event ) { event.Skip(); }
56  virtual void OnGreyScaleConvert( wxCommandEvent& event ) { event.Skip(); }
57  virtual void OnHalfSize( wxCommandEvent& event ) { event.Skip(); }
58  virtual void OnUndoLastChange( wxCommandEvent& event ) { event.Skip(); }
59 
60 
61  public:
62 
63  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 );
65 
66 };
67 
68 #endif //__DIALOG_IMAGE_EDITOR_BASE_H__
Class DIALOG_IMAGE_EDITOR_BASE.
virtual void OnRotateClick(wxCommandEvent &event)
virtual void OnMirrorY_click(wxCommandEvent &event)
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)
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:82
virtual void OnMirrorX_click(wxCommandEvent &event)
virtual void OnUndoLastChange(wxCommandEvent &event)
virtual void OnRedrawPanel(wxPaintEvent &event)
virtual void OnHalfSize(wxCommandEvent &event)
virtual void OnGreyScaleConvert(wxCommandEvent &event)
wxStdDialogButtonSizer * m_sdbSizer