mp4chaps Lua script: don't clutter global environment
[ardour.git] / gtk2_ardour / panner_interface.h
index a18c08352873b1474cd13ff82fe68cea4b1fe4d1..07d14abf03923dae37ad20a74377be894fcc3669 100644 (file)
 #include <gtkmm/drawingarea.h>
 #include <gtkmm/label.h>
 #include "gtkmm2ext/persistent_tooltip.h"
+
 #include "pbd/destructible.h"
 
+namespace PBD {
+       class Controllable;
+}
+
 namespace ARDOUR {
        class Panner;
 }
@@ -45,7 +50,7 @@ public:
 private:
        bool _dragging;
 };
-       
+
 
 /** Parent class for some panner UI classes that contains some common code */
 class PannerInterface : public Gtk::DrawingArea, public PBD::Destructible
@@ -63,11 +68,12 @@ public:
 
 protected:
        virtual void set_tooltip () = 0;
+       virtual boost::weak_ptr<PBD::Controllable> proxy_controllable () const = 0;
 
        void value_change ();
-       
-        bool on_enter_notify_event (GdkEventCrossing *);
-        bool on_leave_notify_event (GdkEventCrossing *);
+
+       bool on_enter_notify_event (GdkEventCrossing *);
+       bool on_leave_notify_event (GdkEventCrossing *);
        bool on_key_release_event  (GdkEventKey *);
        bool on_button_press_event (GdkEventButton*);
        bool on_button_release_event (GdkEventButton*);