summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-01-20 02:54:23 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-01-20 02:54:23 +0000
commit5de9a8f38b0e18317b2b23c5b8698d0d29eba12b (patch)
tree2068d91f2e1af148386e855cee397d332709f4c6 /gtk2_ardour/midi_region_view.h
parentc2a93a9b3855f85830a715757b8c131113bc9a3e (diff)
make mouse range mode do something interesting when in internal/note edit mode. not entirely finished because the usual modifiers to add/extend the selection don't work correctly. note that this works both on the scroomer (where the modifiers do work correctly) and in the track (where they do not)
git-svn-id: svn://localhost/ardour2/branches/3.0@11273 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index d1c1fb7c94..120d571725 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -230,6 +230,7 @@ public:
Pressed,
SelectTouchDragging,
SelectRectDragging,
+ SelectVerticalDragging,
AddDragging
};
@@ -315,6 +316,7 @@ protected:
private:
friend class MidiRubberbandSelectDrag;
+ friend class MidiVerticalSelectDrag;
/** Emitted when the selection has been cleared in one MidiRegionView */
static PBD::Signal1<void, MidiRegionView*> SelectionCleared;
@@ -353,6 +355,7 @@ private:
void clear_selection_except (ArdourCanvas::CanvasNoteEvent* ev, bool signal = true);
void clear_selection (bool signal = true) { clear_selection_except (0, signal); }
void update_drag_selection (double last_x, double x, double last_y, double y, bool extend);
+ void update_vertical_drag_selection (double last_y, double y, bool extend);
void add_to_selection (ArdourCanvas::CanvasNoteEvent*);
void remove_from_selection (ArdourCanvas::CanvasNoteEvent*);