KiCad PCB EDA Suite
color4Dpickerdlg_base.h
Go to the documentation of this file.
1 // C++ code generated with wxFormBuilder (version Jul 11 2018)
3 // http://www.wxformbuilder.org/
4 //
5 // PLEASE DO *NOT* EDIT THIS FILE!
7 
8 #ifndef __COLOR4DPICKERDLG_BASE_H__
9 #define __COLOR4DPICKERDLG_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/bitmap.h>
16 #include <wx/image.h>
17 #include <wx/icon.h>
18 #include <wx/statbmp.h>
19 #include <wx/gdicmn.h>
20 #include <wx/font.h>
21 #include <wx/colour.h>
22 #include <wx/settings.h>
23 #include <wx/string.h>
24 #include <wx/stattext.h>
25 #include <wx/spinctrl.h>
26 #include <wx/sizer.h>
27 #include <wx/statbox.h>
28 #include <wx/slider.h>
29 #include <wx/panel.h>
30 #include <wx/notebook.h>
31 #include <wx/statline.h>
32 #include <wx/button.h>
33 #include <wx/dialog.h>
34 
36 
37 
42 {
43  private:
44 
45  protected:
46  wxNotebook* m_notebook;
48  wxStaticBitmap* m_RgbBitmap;
49  wxStaticText* m_staticTextR;
50  wxStaticText* m_staticTextG;
51  wxStaticText* m_staticTextB;
52  wxSpinCtrl* m_spinCtrlRed;
53  wxSpinCtrl* m_spinCtrlGreen;
54  wxSpinCtrl* m_spinCtrlBlue;
55  wxStaticBitmap* m_HsvBitmap;
56  wxStaticText* m_staticTextHue;
57  wxStaticText* m_staticTextSat;
58  wxSpinCtrl* m_spinCtrlHue;
59  wxSpinCtrl* m_spinCtrlSaturation;
60  wxStaticText* m_staticTextBright;
61  wxSlider* m_sliderBrightness;
63  wxBoxSizer* m_SizerDefinedColors;
64  wxFlexGridSizer* m_fgridColor;
65  wxBoxSizer* m_SizerTransparency;
66  wxStaticText* m_opacityLabel;
68  wxStaticLine* m_staticline;
69  wxStaticText* m_staticTextOldColor;
70  wxStaticBitmap* m_OldColorRect;
71  wxStaticBitmap* m_NewColorRect;
72  wxStdDialogButtonSizer* m_sdbSizer;
73  wxButton* m_sdbSizerOK;
74  wxButton* m_sdbSizerCancel;
75 
76  // Virtual event handlers, overide them in your derived class
77  virtual void onRGBMouseClick( wxMouseEvent& event ) { event.Skip(); }
78  virtual void onRGBMouseDrag( wxMouseEvent& event ) { event.Skip(); }
79  virtual void OnChangeEditRed( wxSpinEvent& event ) { event.Skip(); }
80  virtual void OnChangeEditGreen( wxSpinEvent& event ) { event.Skip(); }
81  virtual void OnChangeEditBlue( wxSpinEvent& event ) { event.Skip(); }
82  virtual void onHSVMouseClick( wxMouseEvent& event ) { event.Skip(); }
83  virtual void onHSVMouseDrag( wxMouseEvent& event ) { event.Skip(); }
84  virtual void OnChangeEditHue( wxSpinEvent& event ) { event.Skip(); }
85  virtual void OnChangeEditSat( wxSpinEvent& event ) { event.Skip(); }
86  virtual void OnChangeBrightness( wxScrollEvent& event ) { event.Skip(); }
87  virtual void OnChangeAlpha( wxScrollEvent& event ) { event.Skip(); }
88 
89 
90  public:
91 
92  COLOR4D_PICKER_DLG_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Color Picker"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1,-1 ), long style = wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER );
94 
95 };
96 
97 #endif //__COLOR4DPICKERDLG_BASE_H__
Class DIALOG_SHIM may sit in the inheritance tree between wxDialog and any class written by wxFormBui...
Definition: dialog_shim.h:53
virtual void OnChangeEditBlue(wxSpinEvent &event)
COLOR4D_PICKER_DLG_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Color Picker"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
Class COLOR4D_PICKER_DLG_BASE.
virtual void OnChangeBrightness(wxScrollEvent &event)
virtual void OnChangeEditSat(wxSpinEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onHSVMouseClick(wxMouseEvent &event)
wxFlexGridSizer * m_fgridColor
virtual void onRGBMouseClick(wxMouseEvent &event)
virtual void OnChangeEditGreen(wxSpinEvent &event)
virtual void OnChangeEditHue(wxSpinEvent &event)
virtual void onRGBMouseDrag(wxMouseEvent &event)
virtual void onHSVMouseDrag(wxMouseEvent &event)
virtual void OnChangeAlpha(wxScrollEvent &event)
virtual void OnChangeEditRed(wxSpinEvent &event)