From 39692eed662d169109708cc623bc50d7564d78ef Mon Sep 17 00:00:00 2001 From: nick_m Date: Sat, 25 Jun 2016 00:04:04 +1000 Subject: Add Note::set (Rect) for optimisation purposes (minimise begin/end changes) --- gtk2_ardour/note.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk2_ardour/note.cc') 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) { -- cgit v1.2.3