support for glade and new new session dialog
[ardour.git] / gtk2_ardour / marker_time_axis_view.h
index f611a38f2e6261cac8408fc8592d1eea2fcb9694..5d3f76ad8ec3bc06a2efdc665a5bce5c8fccf02b 100644 (file)
 #include <list>
 
 #include <gtkmm.h>
-#include <libgnomecanvas/libgnomecanvas.h>
+#include <libgnomecanvasmm/group.h>
+#include <libgnomecanvasmm/canvas.h>
 
 #include <ardour/location.h>
+#include "simplerect.h"
 
 class PublicEditor;
 class MarkerTimeAxis;
@@ -73,7 +75,7 @@ class MarkerTimeAxisView : public sigc::trackable
                /**
                 *
                 */
-               GnomeCanvasItem *canvas_item() { return canvas_group; }
+               Gnome::Canvas::Item *canvas_item() { return canvas_group; }
                
                
                //---------------------------------------------------------------------------------------//
@@ -114,7 +116,7 @@ class MarkerTimeAxisView : public sigc::trackable
                 *
                 * @param color the new base color
                 */
-               void apply_color(GdkColor& color) ;
+               void apply_color(Gdk::Color& color) ;
 
                //---------------------------------------------------------------------------------------//
                // Child MarkerView Accessors/Mutators
@@ -224,14 +226,14 @@ class MarkerTimeAxisView : public sigc::trackable
                /* the TimeAxisView that this object is acting as the view helper for */
                MarkerTimeAxis& _trackview ;
                
-               GnomeCanvasItem *canvas_group ;
-               GnomeCanvasItem *canvas_rect ; /* frame around the whole thing */
+               Gnome::Canvas::Group *canvas_group ;
+               Gnome::Canvas::SimpleRect *canvas_rect ; /* frame around the whole thing */
 
                /** the current samples per unit */
                double _samples_per_unit;
 
                /* XXX why are these different? */
-               GdkColor region_color;
+               Gdk::Color region_color;
                uint32_t stream_base_color;
                
 }; /* class MarkerTimeAxisView */