- Gtk::Adjustment& adjustment;
- BindingProxy binding_proxy;
- Gtk::DrawingArea darea;
- LabelCallback label_callback;
- Glib::RefPtr<Pango::Layout> layout;
- Style _style;
- bool grabbed;
- bool switching;
- bool switch_on_release;
- bool with_text;
- double initial_value;
- double grab_x;
- GdkWindow* grab_window;
- Gtk::SpinButton spinner;
- bool use_parent;
-
- virtual bool button_press (GdkEventButton *);
- virtual bool button_release (GdkEventButton *);
- virtual bool motion (GdkEventMotion *);
- virtual bool expose (GdkEventExpose *);
- virtual bool scroll (GdkEventScroll *);
- virtual bool entry_focus_out (GdkEventFocus*);
-
- gint mouse_control (double x, GdkWindow* w, double scaling);
+ bool on_button_press_event (GdkEventButton*);
+ bool on_button_release_event (GdkEventButton*);
+ void on_style_changed (const Glib::RefPtr<Gtk::Style>&);
+
+ virtual std::string get_label (double& /*x*/) {
+ return "";
+ }
+
+ private:
+ HSliderController _slider;
+ bool entry_focus_out (GdkEventFocus*);
+ void entry_activated ();
+ void before_expose ();