Editor zooming:
[ardour.git] / gtk2_ardour / stereo_panner.h
index aea2ca19edb1e0f7ccbd54d5874ff538f03df74a..f1e1025d76f5ae8e076ae46d26d7601b2b904db6 100644 (file)
@@ -21,7 +21,7 @@
 #define __gtk_ardour_stereo_panner_h__
 
 #include "pbd/signals.h"
-#include "gtkmm2ext/binding_proxy.h"
+#include "widgets/binding_proxy.h"
 #include "panner_interface.h"
 
 namespace ARDOUR {
@@ -58,6 +58,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;
@@ -74,8 +79,8 @@ private:
        double accumulated_delta;
        bool detented;
 
-       BindingProxy position_binder;
-       BindingProxy width_binder;
+       ArdourWidgets::BindingProxy position_binder;
+       ArdourWidgets::BindingProxy width_binder;
 
        void set_tooltip ();