diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-25 19:00:34 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-09-25 19:00:34 +0000 |
commit | 9867035f2981e60f00cc9ec19aef5840a5bd7fad (patch) | |
tree | afa78bb74bc4a3537893d920532d12c1391b4c14 /gtk2_ardour/midi_time_axis.h | |
parent | 756fc1839442ae236083c918ba7c7af30e5f8100 (diff) |
make MIDI thru work even when not rolling; add GUI control over MIDI thru (midi track context menu); add "default channel" concept for MIDI tracks so that piano roll header events can send stuff on the right channel; add GUI control over this channel setting
git-svn-id: svn://localhost/ardour2/branches/3.0@5687 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index fd9db05a99..d71c156f48 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -129,12 +129,17 @@ class MidiTimeAxisView : public RouteTimeAxisView Gtk::ComboBoxText _custom_device_mode_selector; Gtk::CheckMenuItem* _step_edit_item; + Gtk::CheckMenuItem* _midi_thru_item; + Gtk::Menu* default_channel_menu; nframes64_t step_edit_insert_position; Evoral::MusicalTime step_edit_beat_pos; boost::shared_ptr<ARDOUR::Region> step_edit_region; MidiRegionView* step_edit_region_view; + Gtk::Menu* build_def_channel_menu(); + void set_default_channel (int); + void toggle_midi_thru (); }; #endif /* __ardour_midi_time_axis_h__ */ |