summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker_time_axis_view.h
diff options
context:
space:
mode:
authorNick Mainsbridge <beatroute@iprimus.com.au>2005-11-13 03:53:51 +0000
committerNick Mainsbridge <beatroute@iprimus.com.au>2005-11-13 03:53:51 +0000
commit183f69970c6c436b102f8b2fbe1bc6070c9e9bfe (patch)
tree9e0831557d8b096605d7c80b563fec755b5cbdf0 /gtk2_ardour/marker_time_axis_view.h
parent1a3a77607768721f6834ddae09f532cdb6aec4a6 (diff)
some C++-ification of GnomeCanvasBlah
git-svn-id: svn://localhost/trunk/ardour2@82 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/marker_time_axis_view.h')
-rw-r--r--gtk2_ardour/marker_time_axis_view.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk2_ardour/marker_time_axis_view.h b/gtk2_ardour/marker_time_axis_view.h
index 633bcd559c..5d3f76ad8e 100644
--- a/gtk2_ardour/marker_time_axis_view.h
+++ b/gtk2_ardour/marker_time_axis_view.h
@@ -24,9 +24,11 @@
#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; }
//---------------------------------------------------------------------------------------//
@@ -224,8 +226,8 @@ 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;