Remove internal edit mode and add "content" tool.
[ardour.git] / gtk2_ardour / note.cc
index dc8decf83776d6a76e1d5abe6705d549f59c377f..bc10d79d8b0c4ab4cd9eb37fdd6c72a72a24ffc9 100644 (file)
@@ -24,7 +24,6 @@
 #include "canvas/debug.h"
 
 #include "note.h"
-#include "midi_region_view.h"
 #include "public_editor.h"
 
 using namespace ARDOUR;
@@ -33,7 +32,7 @@ using namespace ArdourCanvas;
 Note::Note (
        MidiRegionView& region, Item* parent, const boost::shared_ptr<NoteType> note, bool with_events)
        : NoteBase (region, with_events, note)
-       , _rectangle (new ArdourCanvas::Rectangle (parent))
+       , _rectangle (new ArdourCanvas::TimeRectangle (parent))
 {
        CANVAS_DEBUG_NAME (_rectangle, "note");
        set_item (_rectangle);