diff options
author | David Robillard <d@drobilla.net> | 2013-01-19 20:15:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-19 20:15:15 +0000 |
commit | 444d89b669145beed314b8a7cf5755b5cda0b820 (patch) | |
tree | 8e525924f07aefc16732a90a740f06acf83b1b24 /gtk2_ardour/midi_time_axis.h | |
parent | 2d9a15087bad6dfaeedd259b2fe948627d3b5ffb (diff) |
Set MIDI device mode to the first by default if unset.
Give up trying to hide mode selector when it's useless.
Fix display of program names for default mode.
Abstract out (non-crashy) MidiTimeAxisView::get_device_names().
git-svn-id: svn://localhost/ardour2/branches/3.0@13903 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r-- | gtk2_ardour/midi_time_axis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index 04e37913b5..635d529d34 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -111,6 +111,8 @@ class MidiTimeAxisView : public RouteTimeAxisView void build_automation_action_menu (bool); Gtk::Menu* build_note_mode_menu(); Gtk::Menu* build_color_mode_menu(); + + boost::shared_ptr<MIDI::Name::MasterDeviceNames> get_device_names(const std::string& model); 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); |