summaryrefslogtreecommitdiff
path: root/gtk2_ardour/stereo_panner.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/stereo_panner.h')
-rw-r--r--gtk2_ardour/stereo_panner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/stereo_panner.h b/gtk2_ardour/stereo_panner.h
index 8d76442724..19fa0c056e 100644
--- a/gtk2_ardour/stereo_panner.h
+++ b/gtk2_ardour/stereo_panner.h
@@ -38,6 +38,9 @@ class StereoPanner : public PannerInterface
StereoPanner (boost::shared_ptr<ARDOUR::Panner>);
~StereoPanner ();
+ boost::shared_ptr<PBD::Controllable> get_position_controllable() const { return position_control; }
+ boost::shared_ptr<PBD::Controllable> get_width_controllable() const { return width_control; }
+
sigc::signal<void> StartPositionGesture;
sigc::signal<void> StopPositionGesture;
sigc::signal<void> StartWidthGesture;
@@ -52,6 +55,8 @@ class StereoPanner : public PannerInterface
bool on_key_press_event (GdkEventKey*);
private:
+ PannerEditor* editor ();
+
boost::shared_ptr<PBD::Controllable> position_control;
boost::shared_ptr<PBD::Controllable> width_control;
PBD::ScopedConnectionList connections;