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_h__
#define __ardour_marker_time_axis_h__
-#include <gtkmm.h>
-#include <gtk-canvas.h>
+#include <string>
+#include <libgnomecanvas/libgnomecanvas.h>
#include "ardour_dialog.h"
#include "route_ui.h"
#include "enums.h"
#include "time_axis_view.h"
-#include <string>
+#include "canvas.h"
#include "visual_time_axis.h"
namespace ARDOUR {
class Session;
}
+namespace ARDOUR {
+ class Menu;
+}
class PublicEditor;
class ImageFrameView ;
* @param name the name/id of this time axis
* @param tav the associated track view that this MarkerTimeAxis is marking up
*/
- MarkerTimeAxis(PublicEditor& ed, ARDOUR::Session& sess, Gtk::Widget* canvas, std::string name, TimeAxisView* tav) ;
+ MarkerTimeAxis(PublicEditor& ed, ARDOUR::Session& sess, ArdourCanvas::Canvas& canvas, const string & name, TimeAxisView* tav) ;
/**
* Destructor
/**
* Sets the height of this TrackView to one of the defined TrackHeights
*
- * @param h the TrackHeight value to set
+ * @param h the number of pixels to set the height to
*/
- virtual void set_height(TimeAxisView::TrackHeight h) ;
+ virtual void set_height(uint32_t h) ;
/**
* Sets the number of samples per unit that are used.
TimeAxisView* get_marked_time_axis() ;
- protected:
-
- /**
- * Handle the closing of the renaming dialog during the rename of this item
- */
- virtual void finish_route_rename() ;
-
private:
/**