5 #include <libgnomecanvasmm/group.h>
6 #include <libgnomecanvasmm/widget.h>
7 #include <libgnomecanvasmm/text.h>
9 #include "ardour/midi_model.h"
11 #include "simplerect.h"
12 #include "simpleline.h"
19 class CanvasFlag
: public Group
22 CanvasFlag(MidiRegionView
& region
,
25 guint outline_color_rgba
= 0xc0c0c0ff,
26 guint fill_color_rgba
= 0x07070707,
30 virtual ~CanvasFlag();
32 virtual bool on_event(GdkEvent
* ev
);
34 void set_text(const std::string
& a_text
);
39 guint _outline_color_rgba
;
40 guint _fill_color_rgba
;
41 MidiRegionView
& _region
;
44 void delete_allocated_objects();
54 #endif /*CANVASFLAG_H_*/