along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __ardour_marker_time_axis_view_h__
#define __ardour_marker_time_axis_view_h__
#include <list>
-
-#include <gtkmm.h>
-#include <libgnomecanvas/libgnomecanvas.h>
+#include <gdkmm/color.h>
+#include <libgnomecanvasmm/group.h>
#include <ardour/location.h>
+#include "simplerect.h"
+#include "canvas.h"
class PublicEditor;
class MarkerTimeAxis;
/**
*
*/
- GnomeCanvasItem *canvas_item() { return canvas_group; }
+ ArdourCanvas::Item *canvas_item() { return canvas_group; }
//---------------------------------------------------------------------------------------//
*
* @param color the new base color
*/
- void apply_color(GdkColor& color) ;
+ void apply_color(Gdk::Color& color) ;
//---------------------------------------------------------------------------------------//
// Child MarkerView Accessors/Mutators
* @param duration the duration the new item should be placed upon the timeline
* @param src the identity of the object that initiated the change
*/
- MarkerView* add_marker_view(ImageFrameView* ifv, std::string mark_type, std::string mark_id, jack_nframes_t start, jack_nframes_t dur, void* src) ;
+ MarkerView* add_marker_view(ImageFrameView* ifv, std::string mark_type, std::string mark_id, nframes_t start, nframes_t dur, void* src) ;
/**
* Returns the named MarkerView or 0 if the named marker does not exist
/* 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 */
+ 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 */