24 #ifndef COM_DAFER45_TBTK_PARAMETER_SLIDER_PANEL
25 #define COM_DAFER45_TBTK_PARAMETER_SLIDER_PANEL
32 class ParameterSliderPanel :
public wxPanel{
38 const std::string ¶meterName,
41 unsigned int numTicks,
46 ~ParameterSliderPanel();
49 void onPaintEvent(wxPaintEvent &event);
52 void onSizeEvent(wxSizeEvent &event);
55 void onSliderChange(wxScrollEvent &event);
58 double getValue()
const;
61 unsigned int getTick()
const;
63 DECLARE_EVENT_TABLE();
75 unsigned int numTicks;
84 wxStaticText valuePanel;
86 static const wxWindowID SLIDER_ID;
89 inline double ParameterSliderPanel::getValue()
const{
93 inline unsigned int ParameterSliderPanel::getTick()
const{
94 return slider.GetValue();