Tidy a couple of minor things up.
[ardour.git] / gtk2_ardour / shuttle_control.h
index 7f8176ea01b69e559891fa6fbf1c683d5240d17a..ab58969743bbb5609dafeb9628b4cbb6c6134b2e 100644 (file)
@@ -32,7 +32,7 @@ namespace Gtk {
 
 #include "ardour/types.h"
 
-class ShuttleControl : public Gtk::DrawingArea, public ARDOUR::SessionHandlePtr 
+class ShuttleControl : public Gtk::DrawingArea, public ARDOUR::SessionHandlePtr
 {
   public:
        ShuttleControl ();
@@ -48,9 +48,7 @@ class ShuttleControl : public Gtk::DrawingArea, public ARDOUR::SessionHandlePtr
                ShuttleControllable (ShuttleControl&);
                void set_value (double);
                double get_value (void) const;
-               
-               void set_id (const std::string&);
-               
+
                ShuttleControl& sc;
        };
 
@@ -60,6 +58,7 @@ class ShuttleControl : public Gtk::DrawingArea, public ARDOUR::SessionHandlePtr
        float  shuttle_max_speed;
        float  last_speed_displayed;
        bool   shuttle_grabbed;
+       double shuttle_speed_on_grab;
        float shuttle_fract;
        boost::shared_ptr<ShuttleControllable> _controllable;
        cairo_pattern_t* pattern;