3 This file is part of libmspgltk
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GLTK_SLIDER_H_
9 #define MSP_GLTK_SLIDER_H_
11 #include <sigc++/sigc++.h>
18 Sliders are used to adjust numeric values visually. This class provides the
19 common interface for sliders - see classes HSlider and VSlider (NYI) for
22 class Slider: public Widget
30 sigc::signal<void, double> signal_value_changed;
33 Slider(const Resources &);
35 void set_value(double);
36 void set_range(double, double);
37 void set_step(double);
38 double get_value() const { return value; }