summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note-event.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-08-10 19:29:29 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-08-10 19:29:29 +0000
commit0bf3eb77591afc4aa8d0d6b5efa72273f02b109e (patch)
treeca49bb8ef0ef1ffd6df3adaa3c835b35cf6f2f16 /gtk2_ardour/canvas-note-event.h
parent7f9aea14e926a58f86ffdc788e4873dcf41a6d2c (diff)
first part of MIDI cut/copy/paste ; fix for input/output_streams of an IOProcessor being reported in a misleading way; in/out translation fix from 2.X, sort of
git-svn-id: svn://localhost/ardour2/branches/3.0@5510 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r--gtk2_ardour/canvas-note-event.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h
index 86f7312d17..305988667d 100644
--- a/gtk2_ardour/canvas-note-event.h
+++ b/gtk2_ardour/canvas-note-event.h
@@ -24,6 +24,8 @@
#include <libgnomecanvasmm/text.h>
#include <libgnomecanvasmm/widget.h>
+#include "ardour/midi_model.h"
+
#include "rgb_macros.h"
#include "ardour_ui.h"
#include "ui_config.h"
@@ -51,7 +53,8 @@ namespace Canvas {
*/
class CanvasNoteEvent : virtual public sigc::trackable, public InteractiveItem {
public:
- typedef Evoral::Note<double> NoteType;
+ typedef Evoral::Note<ARDOUR::MidiModel::TimeType> NoteType;
+
CanvasNoteEvent(
MidiRegionView& region,
Item* item,