index dbc319c1ad0634d58793561a7a2ae546f63e34a7..1576184acc86fc932fce75624c62d6dee79bca95 100644 (file)
bool freeze; // used to block recursive updates of slider and spinbutton
};
+class PrefSlider : public Gtk::HBox
+{
+public:
+ void init(Glib::ustring const &prefs_path,
+ double lower, double upper, double step_increment, double page_increment, double default_value, int digits);
+
+private:
+ void on_slider_value_changed();
+ void on_spinbutton_value_changed();
+
+ Glib::ustring _prefs_path;
+ Gtk::SpinButton _sb;
+ Gtk::HScale _slider;
+ bool freeze; // used to block recursive updates of slider and spinbutton
+};
+
+
class PrefCombo : public Gtk::ComboBoxText
{
public: