diff options
Diffstat (limited to 'gtk2_ardour/stereo_panner.h')
-rw-r--r-- | gtk2_ardour/stereo_panner.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/stereo_panner.h b/gtk2_ardour/stereo_panner.h index 8b62b7d82a..5ecf343ab1 100644 --- a/gtk2_ardour/stereo_panner.h +++ b/gtk2_ardour/stereo_panner.h @@ -24,6 +24,10 @@ #include "gtkmm2ext/binding_proxy.h" #include "panner_interface.h" +namespace ARDOUR { + class PannerShell; +} + namespace PBD { class Controllable; } @@ -35,7 +39,7 @@ namespace ARDOUR { class StereoPanner : public PannerInterface { public: - StereoPanner (boost::shared_ptr<ARDOUR::Panner>); + StereoPanner (boost::shared_ptr<ARDOUR::PannerShell>); ~StereoPanner (); boost::shared_ptr<PBD::Controllable> get_position_controllable() const { return position_control; } @@ -56,6 +60,7 @@ class StereoPanner : public PannerInterface private: PannerEditor* editor (); + boost::shared_ptr<ARDOUR::PannerShell> _panner_shell; boost::shared_ptr<PBD::Controllable> position_control; boost::shared_ptr<PBD::Controllable> width_control; @@ -90,10 +95,14 @@ class StereoPanner : public PannerInterface bool _dragging; + static Pango::AttrList panner_font_attributes; + static bool have_font; + static ColorScheme colors[3]; static void set_colors (); static bool have_colors; void color_handler (); + void bypass_handler (); }; #endif /* __gtk_ardour_stereo_panner_h__ */ |