+ bool dragging;
+ double drag_start_pos;
+ double drag_start_value;
+ unsigned drag_area_size;
+
+public:
+ sigc::signal<void, double> signal_value_changed;
+
+protected:
+ Slider(const Resources &);
+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);
+ void end_drag();