ardour/gtk2_ardour/canvas-note.cc
Paul Davis 1bf79fa885 move note drag & note resize mouse handling up into the Drag/Editor infrastructure/level
git-svn-id: svn://localhost/ardour2/branches/3.0@5641 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-08 21:45:44 +00:00

23 lines
401 B
C++

#include "canvas-note.h"
#include "midi_region_view.h"
#include "public_editor.h"
#include "evoral/Note.hpp"
using namespace ARDOUR;
namespace Gnome {
namespace Canvas {
bool
CanvasNote::on_event(GdkEvent* ev)
{
if (!_region.get_trackview().editor().canvas_note_event (ev, this)) {
return CanvasNoteEvent::on_event (ev);
} else {
return true;
}
}
} // namespace Gnome
} // namespace Canvas