kicad/eeschema/widgets/tuner_slider_base.h

67 lines
2.1 KiB
C
Raw Normal View History

2016-08-11 12:41:44 +00:00
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 3.10.0-4761b0c5)
2016-08-11 12:41:44 +00:00
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
2016-08-11 12:41:44 +00:00
///////////////////////////////////////////////////////////////////////////
#pragma once
2016-08-11 12:41:44 +00:00
#include <wx/artprov.h>
#include <wx/xrc/xmlres.h>
#include <wx/intl.h>
#include <wx/string.h>
#include <wx/stattext.h>
#include <wx/gdicmn.h>
#include <wx/font.h>
#include <wx/colour.h>
#include <wx/settings.h>
#include <wx/button.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
2016-08-11 12:41:44 +00:00
#include <wx/sizer.h>
#include <wx/slider.h>
#include <wx/textctrl.h>
#include <wx/panel.h>
///////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
/// Class TUNER_SLIDER_BASE
///////////////////////////////////////////////////////////////////////////////
class TUNER_SLIDER_BASE : public wxPanel
2016-08-11 12:41:44 +00:00
{
private:
2016-08-11 12:41:44 +00:00
protected:
wxStaticText* m_name;
wxButton* m_closeBtn;
wxSlider* m_slider;
wxTextCtrl* m_maxText;
wxTextCtrl* m_valueText;
wxTextCtrl* m_minText;
wxButton* m_saveBtn;
// Virtual event handlers, override them in your derived class
2016-08-11 12:41:44 +00:00
virtual void onClose( wxCommandEvent& event ) { event.Skip(); }
virtual void onSliderChanged( wxScrollEvent& event ) { event.Skip(); }
virtual void onMaxKillFocus( wxFocusEvent& event ) { event.Skip(); }
2016-08-11 12:41:44 +00:00
virtual void onMaxTextEnter( wxCommandEvent& event ) { event.Skip(); }
virtual void onValueKillFocus( wxFocusEvent& event ) { event.Skip(); }
2016-08-11 12:41:44 +00:00
virtual void onValueTextEnter( wxCommandEvent& event ) { event.Skip(); }
virtual void onMinKillFocus( wxFocusEvent& event ) { event.Skip(); }
2016-08-11 12:41:44 +00:00
virtual void onMinTextEnter( wxCommandEvent& event ) { event.Skip(); }
virtual void onSave( wxCommandEvent& event ) { event.Skip(); }
2016-08-11 12:41:44 +00:00
public:
TUNER_SLIDER_BASE( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 126,283 ), long style = wxTAB_TRAVERSAL, const wxString& name = wxEmptyString );
2016-08-11 12:41:44 +00:00
~TUNER_SLIDER_BASE();
2016-08-11 12:41:44 +00:00
};