added file
[ardour.git] / gtk2_ardour / automation_time_axis.h
index d43be38a498710a99cf421994d09eed87639cea9..2dc43853a2b18bd92b902dd0376e169c59574d28 100644 (file)
@@ -6,6 +6,7 @@
 #include <string>
 #include <ardour/types.h>
 
+#include "canvas.h"
 #include "time_axis_view.h"
 #include "simplerect.h"
 
@@ -18,10 +19,6 @@ namespace ARDOUR {
        class Route;
 }
 
-namespace Gtk {
-       class Widget;
-}
-
 class PublicEditor;
 class TimeSelection;
 class AudioRegionSelection;
@@ -37,7 +34,7 @@ class AutomationTimeAxisView : public TimeAxisView {
                                ARDOUR::Route&,
                                PublicEditor&,
                                TimeAxisView& parent,
-                               Gtk::Widget* parent,
+                               ArdourCanvas::Canvas& canvas,
                                std::string name, /* translatable */
                                std::string state_name, /* not translatable */
                                std::string plug_name = "");
@@ -78,7 +75,7 @@ class AutomationTimeAxisView : public TimeAxisView {
 
   protected:
        ARDOUR::Route& route;
-       Gnome::Canvas::SimpleRect* base_rect;
+       ArdourCanvas::SimpleRect* base_rect;
        string _name;
        string _state_name;
        bool    in_destructor;