diff options
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/note.cc | 8 | ||||
-rw-r--r-- | gtk2_ardour/note.h | 3 |
2 files changed, 9 insertions, 2 deletions
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,12 +123,18 @@ 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) { _rectangle->set_ignore_events (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); |