From a766fe1fd9852ea6b041ba257e588fca7a032cb9 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 9 Jun 2012 01:51:34 +0000 Subject: Somewhat primitive implementation of allowing the edit note dialog to handle multiple notes (#4096). git-svn-id: svn://localhost/ardour2/branches/3.0@12623 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/midi_region_view.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 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 0663e75a7b..07c51800d5 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -281,6 +281,11 @@ public: void show_list_editor (); + typedef std::set Selection; + Selection selection () const { + return _selection; + } + void selection_as_notelist (Notes& selected, bool allow_all_if_none_selected = false); void enable_display (bool); @@ -409,8 +414,7 @@ private: MouseState _mouse_state; int _pressed_button; - typedef std::set Selection; - /// Currently selected CanvasNoteEvents + /** Currently selected CanvasNoteEvents */ Selection _selection; bool _sort_needed; -- cgit v1.2.3