From 45d51d3aeee2fbc0dc446452b369d90ff54be382 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 17 Aug 2011 12:46:42 +0000 Subject: 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. git-svn-id: svn://localhost/ardour2/branches/3.0@10000 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk2_ardour/midi_region_view.h') 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*); -- cgit v1.2.3