note about which version supports mackie
[ardour.git] / gtk2_ardour / imageframe_time_axis_view.h
index f6215236f18f492332010a20f7c154fbc1e31789..45725038d1f81ff339c14ec8b9eef664287d39b4 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_imageframe_time_axis_view_h__
 #include <list>
 #include <cmath>
 
-#include <gtkmm.h>
-#include <libgnomecanvas/libgnomecanvas.h>
+#include <gdkmm/color.h>
+
 #include <jack/jack.h>
 
+#include <libgnomecanvasmm.h>
+#include "canvas.h"
+#include "simplerect.h"
+
+
 class PublicEditor ;
 class ImageFrameTimeAxis ;
 class ImageFrameView ;
@@ -71,7 +75,7 @@ class ImageFrameTimeAxisView : public sigc::trackable
                /**
                 *
                 */
-               GnomeCanvasItem* canvas_item() { return canvas_group; }
+               ArdourCanvas::Group * canvas_item() { return &canvas_group; }
                
                
                //---------------------------------------------------------------------------------------//
@@ -256,8 +260,8 @@ class ImageFrameTimeAxisView : public sigc::trackable
                /* the TimeAxisView that this object is acting as the view helper for */
                ImageFrameTimeAxis& _trackview ;
                
-               GnomeCanvasItem *canvas_group ;
-               GnomeCanvasItem *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 ;