KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_color_picker_base.h
Go to the documentation of this file.
1
2// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
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 "dialog_shim.h"
14#include <wx/bitmap.h>
15#include <wx/image.h>
16#include <wx/icon.h>
17#include <wx/statbmp.h>
18#include <wx/gdicmn.h>
19#include <wx/font.h>
20#include <wx/colour.h>
21#include <wx/settings.h>
22#include <wx/string.h>
23#include <wx/stattext.h>
24#include <wx/spinctrl.h>
25#include <wx/sizer.h>
26#include <wx/statbox.h>
27#include <wx/slider.h>
28#include <wx/panel.h>
29#include <wx/notebook.h>
30#include <wx/textctrl.h>
31#include <wx/button.h>
32#include <wx/dialog.h>
33
35
36
41{
42 private:
43
44 protected:
45 wxNotebook* m_notebook;
47 wxStaticBitmap* m_RgbBitmap;
48 wxStaticText* m_staticTextR;
49 wxStaticText* m_staticTextG;
50 wxStaticText* m_staticTextB;
51 wxSpinCtrl* m_spinCtrlRed;
52 wxSpinCtrl* m_spinCtrlGreen;
53 wxSpinCtrl* m_spinCtrlBlue;
54 wxStaticBitmap* m_HsvBitmap;
55 wxStaticText* m_staticTextHue;
56 wxStaticText* m_staticTextSat;
57 wxSpinCtrl* m_spinCtrlHue;
59 wxStaticText* m_staticTextBright;
63 wxFlexGridSizer* m_fgridColor;
65 wxStaticText* m_opacityLabel;
67 wxStaticText* m_staticTextOldColor;
68 wxStaticBitmap* m_OldColorRect;
69 wxStaticBitmap* m_NewColorRect;
70 wxTextCtrl* m_colorValue;
72 wxStdDialogButtonSizer* m_sdbSizer;
73 wxButton* m_sdbSizerOK;
75
76 // Virtual event handlers, override 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 onSize( wxSizeEvent& event ) { event.Skip(); }
85 virtual void OnChangeEditHue( wxSpinEvent& event ) { event.Skip(); }
86 virtual void OnChangeEditSat( wxSpinEvent& event ) { event.Skip(); }
87 virtual void OnChangeBrightness( wxScrollEvent& event ) { event.Skip(); }
88 virtual void OnChangeAlpha( wxScrollEvent& event ) { event.Skip(); }
89 virtual void OnColorValueText( wxCommandEvent& event ) { event.Skip(); }
90 virtual void OnResetButton( wxCommandEvent& event ) { event.Skip(); }
91
92
93 public:
94
95 DIALOG_COLOR_PICKER_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 );
96
98
99};
100
Class DIALOG_COLOR_PICKER_BASE.
virtual void onSize(wxSizeEvent &event)
virtual void onRGBMouseDrag(wxMouseEvent &event)
virtual void OnChangeEditBlue(wxSpinEvent &event)
virtual void OnColorValueText(wxCommandEvent &event)
virtual void onHSVMouseClick(wxMouseEvent &event)
virtual void OnChangeEditSat(wxSpinEvent &event)
virtual void OnResetButton(wxCommandEvent &event)
virtual void OnChangeEditRed(wxSpinEvent &event)
virtual void OnChangeEditGreen(wxSpinEvent &event)
virtual void OnChangeEditHue(wxSpinEvent &event)
wxStdDialogButtonSizer * m_sdbSizer
virtual void onRGBMouseClick(wxMouseEvent &event)
virtual void onHSVMouseDrag(wxMouseEvent &event)
virtual void OnChangeAlpha(wxScrollEvent &event)
virtual void OnChangeBrightness(wxScrollEvent &event)
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Definition: dialog_shim.h:88
#define _(s)