-#include "canvas-flag.h"
#include <iostream>
+
#include "ardour_ui.h"
+#include "canvas-flag.h"
+#include "time_axis_view_item.h"
using namespace Gnome::Canvas;
using namespace std;
{
delete_allocated_objects();
- _text = new Text (*this, 0.0, 0.0, a_text);
+ _text = new NoEventText (*this, 0.0, 0.0, a_text);
_text->property_justification() = Gtk::JUSTIFY_CENTER;
_text->property_fill_color_rgba() = _outline_color_rgba;
+ _text->property_font_desc() = TimeAxisViewItem::NAME_FONT;
double flagwidth = _text->property_text_width() + 10.0;
double flagheight = _text->property_text_height() + 3.0;
_text->property_x() = flagwidth / 2.0;
#include "simplerect.h"
#include "simpleline.h"
+#include "canvas-noevent-text.h"
class MidiRegionView;
virtual void set_height (double);
protected:
- Text* _text;
+ NoEventText* _text;
double _height;
guint _outline_color_rgba;
guint _fill_color_rgba;