diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index ea12712e4a..6345432ec3 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -97,6 +97,12 @@ Note::hide () _rectangle->hide (); } +void +Note::set (Rect rect) +{ + _rectangle->set (rect); +} + void Note::set_x0 (Coord x0) { diff --git a/gtk2_ardour/note.h b/gtk2_ardour/note.h index 37d5573fa1..c294962c74 100644 --- a/gtk2_ardour/note.h +++ b/gtk2_ardour/note.h @@ -46,6 +46,7 @@ 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);