summaryrefslogtreecommitdiff
path: root/gtk2_ardour/stereo_panner.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-06 11:47:09 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-06 11:47:09 +0000
commit46e448252f74ce35f37a1a41bb3ebe0f0312cd5d (patch)
tree727768ad3569c3e4becb9694e93fbf6f1b909691 /gtk2_ardour/stereo_panner.h
parent31f94b9b048f55b06b7de8fa0b8612b0fa2ea274 (diff)
Provide dialogs to edit pan values numerically, at least for
mono and stereo panners. git-svn-id: svn://localhost/ardour2/branches/3.0@12577 d708f5d6-7413-0410-9779-e7cbd77b26cf
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;