diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index 30149866c0..02475f859c 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -123,11 +123,17 @@ Note::set_y1 (Coord y1) } void -Note::set_outline_what (int what) +Note::set_outline_what (ArdourCanvas::Rectangle::What what) { _rectangle->set_outline_what (what); } +void +Note::set_outline_all () +{ + _rectangle->set_outline_all (); +} + void Note::set_ignore_events (bool ignore) { diff --git a/gtk2_ardour/note.h b/gtk2_ardour/note.h index 26c45adda1..c6bcd957e3 100644 --- a/gtk2_ardour/note.h +++ b/gtk2_ardour/note.h @@ -51,7 +51,8 @@ public: void set_x1 (ArdourCanvas::Coord); void set_y1 (ArdourCanvas::Coord); - void set_outline_what (int); + void set_outline_what (ArdourCanvas::Rectangle::What); + void set_outline_all (); void set_outline_color (uint32_t); void set_fill_color (uint32_t);