class Panner2d;
class PannerBar;
class Panner2dWindow;
+class StereoPanner;
namespace ARDOUR {
class Session;
boost::shared_ptr<PBD::Controllable> get_controllable();
void set_mono (bool);
+ void on_size_allocate (Gtk::Allocation &);
+
+ static void setup_slider_pix ();
private:
friend class MixerStrip;
Gtk::EventBox panning_down;
Gtk::Arrow panning_down_arrow;
Gtk::VBox pan_vbox;
+ Gtk::VBox poswidth_box;
Width _width;
+ StereoPanner* _stereo_panner;
+ bool _ignore_width_change;
+ bool _ignore_position_change;
+ void width_adjusted ();
+ void show_width ();
+ void position_adjusted ();
+ void show_position ();
+
Gtk::ToggleButton panning_link_button;
Gtk::Button panning_link_direction_button;
Gtk::HBox panning_link_box;
void start_touch (boost::weak_ptr<ARDOUR::AutomationControl>);
void stop_touch (boost::weak_ptr<ARDOUR::AutomationControl>);
+
+ void bar_spinner_activate (bool);
+ /** true if any of our PannerBars are currently using a SpinButton to modify value */
+ bool _bar_spinner_active;
};
#endif /* __ardour_gtk_panner_ui_h__ */