X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fnote.h;h=c294962c749bc2910e82b2cbcde9dbc941a81ece;hb=842c33fba81ee7d360bb347a9a011582f6aac95f;hp=c6bcd957e3a9e6a2717d8dcd520811f0b95eb921;hpb=c10896e984c4e7532920815fbb20fc9c7467aea8;p=ardour.git diff --git a/gtk2_ardour/note.h b/gtk2_ardour/note.h index c6bcd957e3..c294962c74 100644 --- a/gtk2_ardour/note.h +++ b/gtk2_ardour/note.h @@ -26,16 +26,16 @@ #include "midi_util.h" namespace ArdourCanvas { - class Group; + class Container; } class Note : public NoteBase { public: - typedef Evoral::Note NoteType; + typedef Evoral::Note NoteType; Note (MidiRegionView& region, - ArdourCanvas::Group* group, + ArdourCanvas::Item* parent, const boost::shared_ptr note = boost::shared_ptr(), bool with_events = true); @@ -46,13 +46,14 @@ public: ArdourCanvas::Coord x1 () const; ArdourCanvas::Coord y1 () const; + void set (ArdourCanvas::Rect); void set_x0 (ArdourCanvas::Coord); void set_y0 (ArdourCanvas::Coord); void set_x1 (ArdourCanvas::Coord); void set_y1 (ArdourCanvas::Coord); - void set_outline_what (ArdourCanvas::Rectangle::What); - void set_outline_all (); + void set_outline_what (ArdourCanvas::Rectangle::What); + void set_outline_all (); void set_outline_color (uint32_t); void set_fill_color (uint32_t);