/* $Id$
This file is part of libmspgltk
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2007, 2010-2011 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
Slider &get_object() const;
};
+ sigc::signal<void, double> signal_value_changed;
+
protected:
double min, max;
double value;
double drag_start_value;
unsigned drag_area_size;
-public:
- sigc::signal<void, double> signal_value_changed;
-
-protected:
Slider();
+
public:
void set_value(double);
void set_range(double, double);
void set_step(double);
double get_value() const { return value; }
+
protected:
void start_drag(int);
void drag(int);