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_h__
#define __ardour_imageframe_time_axis_h__
-#include <gtkmm.h>
-#include <libgnomecanvas/libgnomecanvas.h>
+#include <list>
+
+//#include <libgnomecanvas.h>
#include "ardour_dialog.h"
#include "enums.h"
#include "time_axis_view.h"
-#include <list>
+#include "canvas.h"
#include "visual_time_axis.h"
namespace ARDOUR
{
class Session ;
}
+namespace Gtk {
+ class Menu;
+}
class PublicEditor ;
class ImageFrameView ;
* @param sess the current session
* @param canvas the parent canvas item
*/
- ImageFrameTimeAxis(std::string track_id, PublicEditor& ed, ARDOUR::Session& sess, Gtk::Widget *canvas) ;
+ ImageFrameTimeAxis(const string & track_id, PublicEditor& ed, ARDOUR::Session& sess, ArdourCanvas::Canvas& canvas) ;
/**
* Destructor
/**
* Sets the height of this TrackView to one of ths TrackHeghts
*
- * @param h the TrackHeight value to set
+ * @param h the number of pixels to set the height too
*/
- virtual void set_height(TimeAxisView::TrackHeight) ;
+ virtual void set_height(uint32_t h) ;
/**
* Sets the number of samples per unit that are used.
* @param track_id the track_id of the MarkerTimeAxis to search for
* @return the named markerTimeAxis, or 0 if the named MarkerTimeAxis is not associated with this ImageFrameTimeAxis
*/
- MarkerTimeAxis* get_named_marker_time_axis(std::string track_id) ;
+ MarkerTimeAxis* get_named_marker_time_axis(const string & track_id) ;
/**
* Removes the named markerTimeAxis from those associated with this ImageFrameTimeAxis
* @param src the identity of the object that initiated the change
* @return the removed MarkerTimeAxis
*/
- MarkerTimeAxis* remove_named_marker_time_axis(std::string track_id, void* src) ;
+ MarkerTimeAxis* remove_named_marker_time_axis(const string & track_id, void* src) ;
/**
* Removes tav from the list of MarkerTimaAxis associated with this ImageFrameTimeAxis