summaryrefslogtreecommitdiff
path: root/gtk2_ardour/marker.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r--gtk2_ardour/marker.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h
index d1bc12561f..fe6cac75c4 100644
--- a/gtk2_ardour/marker.h
+++ b/gtk2_ardour/marker.h
@@ -22,6 +22,9 @@
#include <string>
#include <glib.h>
+
+#include <libgnomecanvasmm/pixbuf.h>
+
#include "ardour/ardour.h"
#include "pbd/destructible.h"
@@ -79,10 +82,12 @@ class Marker : public PBD::Destructible
protected:
PublicEditor& editor;
+ Pango::FontDescription* name_font;
+
ArdourCanvas::Group * _parent;
ArdourCanvas::Group *group;
ArdourCanvas::Polygon *mark;
- ArdourCanvas::Text *text;
+ ArdourCanvas::Pixbuf *name_pixbuf;
ArdourCanvas::Points *points;
ArdourCanvas::SimpleLine *line;
ArdourCanvas::Points *line_points;
@@ -90,7 +95,8 @@ class Marker : public PBD::Destructible
double unit_position;
nframes64_t frame_position;
unsigned char shift; /* should be double, but its always small and integral */
- Type _type;
+ Type _type;
+ int name_height;
void reposition ();
};