KiCad PCB EDA Suite
Loading...
Searching...
No Matches
panel_image_editor_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
3// http://www.wxformbuilder.org/
4//
5// PLEASE DO *NOT* EDIT THIS FILE!
7
8#pragma once
9
10#include <wx/artprov.h>
11#include <wx/xrc/xmlres.h>
12#include <wx/intl.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/stattext.h>
20#include <wx/textctrl.h>
21#include <wx/button.h>
22#include <wx/bitmap.h>
23#include <wx/image.h>
24#include <wx/icon.h>
25#include <wx/gbsizer.h>
26#include <wx/sizer.h>
27
29
33class PANEL_IMAGE_EDITOR_BASE : public wxPanel
34{
35 private:
36
37 protected:
38 wxPanel* m_panelDraw;
39 wxStaticText* m_staticTextScale;
40 wxTextCtrl* m_textCtrlScale;
41 wxStaticText* m_staticTextPPI;
42 wxStaticText* m_stPPI_Value;
43 wxButton* m_buttonGrey;
44 wxButton* m_buttonInvert;
46
47 // Virtual event handlers, override them in your derived class
48 virtual void OnRedrawPanel( wxPaintEvent& event ) { event.Skip(); }
49 virtual void OnGreyScaleConvert( wxCommandEvent& event ) { event.Skip(); }
50 virtual void OnInvert( wxCommandEvent& event ) { event.Skip(); }
51 virtual void OnRemoveBackground( wxCommandEvent& event ) { event.Skip(); }
52
53
54 public:
55
56 PANEL_IMAGE_EDITOR_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
57
59
60};
const char * name
PANEL_IMAGE_EDITOR_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
virtual void OnInvert(wxCommandEvent &event)
virtual void OnGreyScaleConvert(wxCommandEvent &event)
virtual void OnRemoveBackground(wxCommandEvent &event)
virtual void OnRedrawPanel(wxPaintEvent &event)