diff options
author | Robin Gareus <robin@gareus.org> | 2016-12-06 18:48:36 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-12-06 18:48:36 +0100 |
commit | ac814d32d13d831c197619165da173bf0c93e6e5 (patch) | |
tree | b73a0297ce753c0c48e51823108a35351887e084 /gtk2_ardour/midi_time_axis.h | |
parent | f26ed23fd91a0f16feab65ad7940566544d54a64 (diff) |
Allow to send Immediate Patch Changes
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 9f3ef78e5b..ffbbeb62a2 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -45,6 +45,7 @@ namespace MIDI { namespace Name { class MasterDeviceNames; class CustomDeviceMode; +struct PatchPrimaryKey; } } @@ -134,10 +135,12 @@ private: void build_automation_action_menu (bool); Gtk::Menu* build_note_mode_menu(); Gtk::Menu* build_color_mode_menu(); + Gtk::Menu* build_patch_menu(); 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 on_patch_menu_selected (int chn, const MIDI::Name::PatchPrimaryKey& key); void route_active_changed (); void note_range_changed (); |