#include "ardour/types.h"
#include "canvas/text.h"
-#include "canvas.h"
+#include "canvas/canvas.h"
class Editor;
void show (double xoffset = 0, double yoffset = 0);
void hide ();
+ ArdourCanvas::Item& item() { return *_canvas_item; }
+
private:
double clamp_x (double);
double clamp_y (double);
- Editor* _editor;
- ArdourCanvas::NoEventText* _canvas_item;
- bool _visible;
- double _xoffset;
- double _yoffset;
+ Editor* _editor;
+ ArdourCanvas::Text* _canvas_item;
+ bool _visible;
+ double _xoffset;
+ double _yoffset;
};