diff options
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 (); |