Allow strips to add or remove personal sends
[ardour.git] / gtk2_ardour / note.h
index e763ea95f86bef6981ce340b70fe8d4d5e3403e8..05635205cefcb5714c814f4c1455d3150503da46 100644 (file)
 
 namespace ArdourCanvas {
        class Container;
+       class Note;
 }
 
 class Note : public NoteBase
 {
 public:
-       typedef Evoral::Note<Evoral::Beats> NoteType;
+       typedef Evoral::Note<Temporal::Beats> NoteType;
 
        Note (MidiRegionView&                   region,
              ArdourCanvas::Item*               parent,
@@ -46,13 +47,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);
@@ -62,10 +64,11 @@ public:
 
        void set_ignore_events (bool);
 
+       void set_velocity (double);
        void move_event (double dx, double dy);
 
 private:
-       ArdourCanvas::Rectangle* _rectangle;
+       ArdourCanvas::Note* _note;
 };
 
 #endif /* __gtk_ardour_note_h__ */