Fix playhead smoothing when auditioning.
[ardour.git] / gtk2_ardour / mono_panner.h
index 4a0c2a4c59aeab46522d799e6fe24fd6d09c3906..5022e9b52d83573bd0f9200662dfb6b5c6703af0 100644 (file)
@@ -24,7 +24,7 @@
 
 #include <boost/shared_ptr.hpp>
 
-#include "gtkmm2ext/binding_proxy.h"
+#include "widgets/binding_proxy.h"
 
 #include "panner_interface.h"
 
@@ -55,6 +55,11 @@ protected:
        bool on_scroll_event (GdkEventScroll*);
        bool on_key_press_event (GdkEventKey*);
 
+       boost::weak_ptr<PBD::Controllable> proxy_controllable () const
+       {
+               return boost::weak_ptr<PBD::Controllable> (position_binder.get_controllable());
+       }
+
 private:
        PannerEditor* editor ();
        boost::shared_ptr<ARDOUR::PannerShell> _panner_shell;
@@ -67,7 +72,7 @@ private:
        double accumulated_delta;
        bool detented;
 
-       BindingProxy position_binder;
+       ArdourWidgets::BindingProxy position_binder;
 
        void set_tooltip ();