add GUI support to create tape/destructive tracks
[ardour.git] / gtk2_ardour / marker_time_axis.h
index a46025cd19256f10ffcd5dc67ea36f9f0e4ccf82..e321fe40031b51c5085758261568ae189307ac6a 100644 (file)
 #ifndef __ardour_marker_time_axis_h__
 #define __ardour_marker_time_axis_h__
 
-#include <gtk--.h>
-#include <gtk-canvas.h>
+#include <string>
+#include <libgnomecanvas/libgnomecanvas.h>
 
 #include "ardour_dialog.h"
 #include "route_ui.h"
 #include "enums.h"
 #include "time_axis_view.h"
-#include <string>
+#include "canvas.h"
 #include "visual_time_axis.h"
 
 namespace ARDOUR {
        class Session;
 }
+namespace ARDOUR {
+       class Menu;
+}
 
 class PublicEditor;
 class ImageFrameView ;
@@ -63,7 +66,7 @@ class MarkerTimeAxis : public VisualTimeAxis
                 * @param name the name/id of this time axis
                 * @param tav the associated track view that this MarkerTimeAxis is marking up
                 */
-               MarkerTimeAxis(PublicEditor& ed, ARDOUR::Session& sess, Gtk::Widget* canvas, std::string name, TimeAxisView* tav) ;
+               MarkerTimeAxis(PublicEditor& ed, ARDOUR::Session& sess, ArdourCanvas::Canvas& canvas, const string & name, TimeAxisView* tav) ;
                
                /**
                 * Destructor
@@ -120,13 +123,6 @@ class MarkerTimeAxis : public VisualTimeAxis
                TimeAxisView* get_marked_time_axis() ;
 
 
-       protected:
-       
-               /**
-                * Handle the closing of the renaming dialog during the rename of this item
-                */
-               virtual void finish_route_rename() ;
-
        private:
        
                /**