diff options
author | Robin Gareus <robin@gareus.org> | 2017-07-02 15:29:57 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-07-02 18:19:13 +0200 |
commit | 98a1a96f3244de660f5434a6816f2ddd36a38513 (patch) | |
tree | 581444d9ff1eecd40ed41a16b4866006641d087f /gtk2_ardour/stereo_panner.h | |
parent | c4fcb12d128857a0eaab7d2093d38fdf4cc641cc (diff) |
Add control-focus notifications from bindable GUI widgets.
Diffstat (limited to 'gtk2_ardour/stereo_panner.h')
-rw-r--r-- | gtk2_ardour/stereo_panner.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/stereo_panner.h b/gtk2_ardour/stereo_panner.h index aea2ca19ed..d897bd3644 100644 --- a/gtk2_ardour/stereo_panner.h +++ b/gtk2_ardour/stereo_panner.h @@ -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; |