inline-display, scrollbars and fixed aspect ratio = fun
[ardour.git] / gtk2_ardour / shuttle_control.h
index 21b02d9954640b061d19185d210d3d3ae765a7ca..20fe46096f0e9f8254b483e19423939e5d9aa922 100644 (file)
@@ -22,6 +22,7 @@
 #include <gtkmm/drawingarea.h>
 
 #include "gtkmm2ext/binding_proxy.h"
+#include "gtkmm2ext/cairo_widget.h"
 
 #include "pbd/controllable.h"
 #include "ardour/session_handle.h"
@@ -45,7 +46,7 @@ class ShuttleControl : public CairoWidget, public ARDOUR::SessionHandlePtr
 
        struct ShuttleControllable : public PBD::Controllable {
                ShuttleControllable (ShuttleControl&);
-               void set_value (double);
+               void set_value (double, PBD::Controllable::GroupControlDisposition group_override);
                double get_value (void) const;
 
                 double lower() const { return -1.0; }
@@ -78,6 +79,7 @@ class ShuttleControl : public CairoWidget, public ARDOUR::SessionHandlePtr
        void shuttle_style_changed();
        void shuttle_unit_clicked ();
        void set_shuttle_max_speed (float);
+       void reset_speed ();
 
        bool on_enter_notify_event (GdkEventCrossing*);
        bool on_leave_notify_event (GdkEventCrossing*);