summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-05-25 15:19:47 +0000
committerCarl Hetherington <carl@carlh.net>2011-05-25 15:19:47 +0000
commit711db34a81eed3748684bc52b17a56292ffe4092 (patch)
tree19680b02723ff9519bded9d46a21398d9ec7c9d3 /gtk2_ardour/midi_time_axis.h
parente984220eaaa318d9b51ebb20995d1bccae389389 (diff)
Remove MIDI track default channel and its menu, and choose the channel for new notes using MidiTimeAxisView::get_channel_for_add() (fixes #3998 and #3865).
git-svn-id: svn://localhost/ardour2/branches/3.0@9585 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r--gtk2_ardour/midi_time_axis.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h
index 489ce0ccd3..032db50b36 100644
--- a/gtk2_ardour/midi_time_axis.h
+++ b/gtk2_ardour/midi_time_axis.h
@@ -101,6 +101,8 @@ class MidiTimeAxisView : public RouteTimeAxisView
void first_idle ();
+ uint8_t get_channel_for_add () const;
+
protected:
void start_step_editing ();
void stop_step_editing ();
@@ -141,9 +143,6 @@ class MidiTimeAxisView : public RouteTimeAxisView
Gtk::CheckMenuItem* _midi_thru_item;
Gtk::Menu* default_channel_menu;
-
- Gtk::Menu* build_def_channel_menu();
- void set_default_channel (int);
void toggle_midi_thru ();
void change_all_channel_tracks_visibility (bool yn, Evoral::Parameter param);