use syntactic sugar
[ardour.git] / gtk2_ardour / automation_controller.h
index c2d225b2db96ab971cb1eab79f78cf01ef851339..ac87ee300f068827e47146bb86f4631b2278b501 100644 (file)
@@ -29,7 +29,8 @@
 #endif
 
 #include <boost/shared_ptr.hpp>
-#include <gtkmm.h>
+
+#include <gtkmm/alignment.h>
 
 #include "pbd/signals.h"
 #include "evoral/Parameter.hpp"
@@ -41,6 +42,11 @@ namespace ARDOUR {
        class AutomationControl;
 }
 
+namespace Gtk {
+       class Adjustment;
+       class Widget;
+}
+
 class AutomationBarController : public ArdourWidgets::BarController {
 public:
        AutomationBarController(boost::shared_ptr<ARDOUR::AutomationControl> ac,
@@ -96,6 +102,7 @@ private:
        sigc::connection                             _screen_update_connection;
        PBD::ScopedConnectionList                    _changed_connections;
        bool                                         _ignore_change;
+       bool                                         _grabbed;
 };