kicad/eeschema/widgets/tuner_slider_base.h

81 lines
2.5 KiB
C
Raw Normal View History

2016-08-11 12:41:44 +00:00
///////////////////////////////////////////////////////////////////////////
2024-05-26 21:12:51 +00:00
// C++ code generated with wxFormBuilder (version 4.1.0-0-g733bf3d)
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>
class BITMAP_BUTTON;
class STD_BITMAP_BUTTON;
2016-08-11 12:41:44 +00:00
#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/sizer.h>
#include <wx/statline.h>
#include <wx/bmpbuttn.h>
#include <wx/bitmap.h>
#include <wx/image.h>
#include <wx/icon.h>
#include <wx/button.h>
#include <wx/slider.h>
#include <wx/textctrl.h>
2016-08-11 12:41:44 +00:00
#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:
wxPanel* m_panel1;
2016-08-11 12:41:44 +00:00
wxStaticText* m_name;
wxStaticLine* m_staticline4;
BITMAP_BUTTON* m_e24;
BITMAP_BUTTON* m_separator;
BITMAP_BUTTON* m_e48;
BITMAP_BUTTON* m_e96;
BITMAP_BUTTON* m_e192;
2016-08-11 12:41:44 +00:00
wxSlider* m_slider;
wxTextCtrl* m_maxText;
wxTextCtrl* m_valueText;
wxTextCtrl* m_minText;
wxButton* m_saveBtn;
STD_BITMAP_BUTTON* m_closeBtn;
// Virtual event handlers, override them in your derived class
virtual void onESeries( wxCommandEvent& event ) { event.Skip(); }
virtual void onSliderScroll( wxScrollEvent& event ) { event.Skip(); }
2016-08-11 12:41:44 +00:00
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(); }
virtual void onClose( 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( -1,-1 ), long style = wxBORDER_NONE|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
};