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;
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;
BindingProxy position_binder;
BindingProxy width_binder;
- void set_drag_data ();
+ void set_tooltip ();
struct ColorScheme {
uint32_t outline;
Inverted
};
+ bool _dragging;
+
static ColorScheme colors[3];
static void set_colors ();
static bool have_colors;