summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 1cc833c91a..36e198abfa 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -410,7 +410,7 @@ private:
Note** _active_notes;
ArdourCanvas::Container* _note_group;
ARDOUR::MidiModel::NoteDiffCommand* _note_diff_command;
- Note* _ghost_note;
+ NoteBase* _ghost_note;
double _last_ghost_x;
double _last_ghost_y;
ArdourCanvas::Rectangle* _step_edit_cursor;
@@ -450,8 +450,10 @@ private:
NoteBase* find_canvas_note (boost::shared_ptr<NoteType>);
Events::iterator _optimization_iterator;
- void update_note (Note *, bool update_ghost_regions = true);
- void update_hit (Hit *);
+ void update_note (NoteBase*, bool update_ghost_regions = true);
+ void update_sustained (Note *, bool update_ghost_regions = true);
+ void update_hit (Hit *, bool update_ghost_regions = true);
+
void create_ghost_note (double, double);
void update_ghost_note (double, double);