Paul Davis
1bf79fa885
git-svn-id: svn://localhost/ardour2/branches/3.0@5641 d708f5d6-7413-0410-9779-e7cbd77b26cf
23 lines
401 B
C++
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
|