X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fnote.cc;h=6e1878afc0651c23b3d7bba5b34288693202185f;hb=994df3aaa370125d3fa442baa38392a32c640e69;hp=dc8decf83776d6a76e1d5abe6705d549f59c377f;hpb=0796ccfb652dd31ea1d94526e0e6d92863a972b0;p=ardour.git diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc index dc8decf837..6e1878afc0 100644 --- a/gtk2_ardour/note.cc +++ b/gtk2_ardour/note.cc @@ -24,7 +24,6 @@ #include "canvas/debug.h" #include "note.h" -#include "midi_region_view.h" #include "public_editor.h" using namespace ARDOUR; @@ -98,6 +97,12 @@ Note::hide () _rectangle->hide (); } +void +Note::set (ArdourCanvas::Rect rect) +{ + _rectangle->set (rect); +} + void Note::set_x0 (Coord x0) {