summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-06-13 17:24:15 +0000
committerCarl Hetherington <carl@carlh.net>2012-06-13 17:24:15 +0000
commitb524fe05d57e7f42bc5fd62593a11ea5c72c2046 (patch)
treea87ddb854e60aa7b32bac4c387f1112217bff5e4 /gtk2_ardour/midi_time_axis.h
parent5dc49d678f4f0024ddc2f5197cf1dfd61255a218 (diff)
Make a few more MIDI track menu options apply to the current selection (#4106).
git-svn-id: svn://localhost/ardour2/branches/3.0@12706 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r--gtk2_ardour/midi_time_axis.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h
index 86f899967e..356a2474db 100644
--- a/gtk2_ardour/midi_time_axis.h
+++ b/gtk2_ardour/midi_time_axis.h
@@ -112,10 +112,9 @@ class MidiTimeAxisView : public RouteTimeAxisView
Gtk::Menu* build_note_mode_menu();
Gtk::Menu* build_color_mode_menu();
- void set_note_mode (ARDOUR::NoteMode mode);
- void set_color_mode (ARDOUR::ColorMode, bool force=false, bool redisplay=true);
- void set_note_range(MidiStreamView::VisibleNoteRange range);
- void set_note_range_for_selection (MidiStreamView::VisibleNoteRange range);
+ void set_note_mode (ARDOUR::NoteMode mode, bool apply_to_selection = false);
+ void set_color_mode (ARDOUR::ColorMode, bool force = false, bool redisplay = true, bool apply_to_selection = false);
+ void set_note_range (MidiStreamView::VisibleNoteRange range, bool apply_to_selection = false);
void route_active_changed ();
void note_range_changed ();