diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-06 16:39:11 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-06 16:39:11 -0400 |
commit | fc787fad50596e15a2f487c8cf3cae164f760791 (patch) | |
tree | 9ef3d09de8b260e876e844f9b21f7daa29c958dc /gtk2_ardour/marker.h | |
parent | 6b5846ab9516e267b71643d29fb401144b0f344e (diff) |
canvas markers now use ArdourCanvas::Text, not ArdourCanvas::Pixbuf, since the latter will be optimized to use Pixbuf too
Diffstat (limited to 'gtk2_ardour/marker.h')
-rw-r--r-- | gtk2_ardour/marker.h | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gtk2_ardour/marker.h b/gtk2_ardour/marker.h index 02ef3dc478..62793264ae 100644 --- a/gtk2_ardour/marker.h +++ b/gtk2_ardour/marker.h @@ -27,6 +27,8 @@ #include "ardour/ardour.h" #include "pbd/signals.h" + +#include "canvas/fwd.h" #include "canvas/types.h" namespace ARDOUR { @@ -34,15 +36,6 @@ namespace ARDOUR { class MeterSection; } -namespace ArdourCanvas { - class Polygon; - class Line; - class Rectangle; - class Group; - class Pixbuf; - class Item; -} - class PublicEditor; class Marker : public sigc::trackable @@ -108,7 +101,7 @@ class Marker : public sigc::trackable ArdourCanvas::Group* _parent; ArdourCanvas::Group *group; ArdourCanvas::Polygon *mark; - ArdourCanvas::Pixbuf *name_pixbuf; + ArdourCanvas::Text *_name_item; ArdourCanvas::Points *points; ArdourCanvas::Line* _line; ArdourCanvas::Points *line_points; |