Fixed some valgrind errors from using uninitialized variables in
[ardour.git] / gtk2_ardour / marker_time_axis_view.h
index 26b070ef6ac3b6c67fdcac40985e193340863b8c..1dd742a4591060f8e63a43b755b57014afab5924 100644 (file)
 #define __ardour_marker_time_axis_view_h__
 
 #include <list>
-
-#include <gtkmm.h>
-#include <gtk-canvas.h>
+#include <gdkmm/color.h>
+#include <libgnomecanvasmm/group.h>
 
 #include <ardour/location.h>
+#include "simplerect.h"
+#include "canvas.h"
 
 class PublicEditor;
 class MarkerTimeAxis;
@@ -73,7 +74,7 @@ class MarkerTimeAxisView : public sigc::trackable
                /**
                 *
                 */
-               GtkCanvasItem *canvas_item() { return canvas_group; }
+               ArdourCanvas::Item *canvas_item() { return canvas_group; }
                
                
                //---------------------------------------------------------------------------------------//
@@ -114,7 +115,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 +225,14 @@ class MarkerTimeAxisView : public sigc::trackable
                /* the TimeAxisView that this object is acting as the view helper for */
                MarkerTimeAxis& _trackview ;
                
-               GtkCanvasItem *canvas_group ;
-               GtkCanvasItem *canvas_rect ; /* frame around the whole thing */
+               ArdourCanvas::Group *canvas_group ;
+               ArdourCanvas::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 */