#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 {
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;
double accumulated_delta;
bool detented;
- BindingProxy position_binder;
- BindingProxy width_binder;
+ ArdourWidgets::BindingProxy position_binder;
+ ArdourWidgets::BindingProxy width_binder;
void set_tooltip ();