summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-08-17 12:46:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-08-17 12:46:42 +0000
commit45d51d3aeee2fbc0dc446452b369d90ff54be382 (patch)
treeafb1bdf5db7c5919ffec2166d7407a83cce36c4c /gtk2_ardour/midi_region_view.h
parent4aa84f0513c6cd47561e5bb1d5ec436426fee581 (diff)
various fixes to MidiRegionView selection handling, key handling, drawing of ghost notes (contains a fix for #4263); shift-drag selections in MidiRegionViews now correctly add to the selection rather than replacing any existing one.3.0-alpha10
git-svn-id: svn://localhost/ardour2/branches/3.0@10000 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 69cddd2fc5..29a5d648da 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -344,9 +344,9 @@ private:
void trim_note(ArdourCanvas::CanvasNoteEvent* ev, ARDOUR::MidiModel::TimeType start_delta,
ARDOUR::MidiModel::TimeType end_delta);
- void clear_selection_except(ArdourCanvas::CanvasNoteEvent* ev);
- void clear_selection() { clear_selection_except(NULL); }
- void update_drag_selection(double last_x, double x, double last_y, double y);
+ void clear_selection_except (ArdourCanvas::CanvasNoteEvent* ev);
+ void clear_selection() { clear_selection_except (0); }
+ void update_drag_selection (double last_x, double x, double last_y, double y, bool extend);
void add_to_selection (ArdourCanvas::CanvasNoteEvent*);
void remove_from_selection (ArdourCanvas::CanvasNoteEvent*);