1 #ifndef MSP_GLTK_SLIDER_H_
2 #define MSP_GLTK_SLIDER_H_
4 #include <sigc++/sigc++.h>
11 Sliders are used to adjust numeric values visually. This class provides the
12 common interface for sliders - see classes HSlider and VSlider for concrete
15 class Slider: public Widget
18 class Loader: public Widget::Loader
22 Slider &get_object() const;
25 sigc::signal<void, double> signal_value_changed;
33 double drag_start_pos;
34 double drag_start_value;
35 unsigned drag_area_size;
40 void set_value(double);
41 void set_range(double, double);
42 void set_step(double);
43 double get_value() const { return value; }