summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_time_axis.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-12 23:38:41 -0500
committerDavid Robillard <d@drobilla.net>2014-12-12 23:38:41 -0500
commit17a58ecd4bdf0764f1d074a56743f2304bd713a7 (patch)
tree17402d0408ec10a8d4b2d022c9266cb3f5602341 /gtk2_ardour/midi_time_axis.h
parente19e05fc5949a6e5326fc0a1b2e80014dff5f28c (diff)
Use ArdourDropdown for MIDI device selector.
Diffstat (limited to 'gtk2_ardour/midi_time_axis.h')
-rw-r--r--gtk2_ardour/midi_time_axis.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h
index c99ab68851..f8f77244d0 100644
--- a/gtk2_ardour/midi_time_axis.h
+++ b/gtk2_ardour/midi_time_axis.h
@@ -34,6 +34,7 @@
#include "ardour/region.h"
#include "ardour_dialog.h"
+#include "ardour_dropdown.h"
#include "route_ui.h"
#include "enums.h"
#include "route_time_axis.h"
@@ -107,8 +108,8 @@ class MidiTimeAxisView : public RouteTimeAxisView
private:
sigc::signal<void, std::string, std::string> _midi_patch_settings_changed;
- void model_changed();
- void custom_device_mode_changed();
+ void model_changed(const std::string& model);
+ void custom_device_mode_changed(const std::string& mode);
void append_extra_display_menu_items ();
void build_automation_action_menu (bool);
@@ -138,8 +139,8 @@ class MidiTimeAxisView : public RouteTimeAxisView
Gtk::HBox _channel_status_box;
Gtk::VBox _midi_controls_box;
MidiChannelSelectorWindow* _channel_selector;
- Gtk::ComboBoxText _midnam_model_selector;
- Gtk::ComboBoxText _midnam_custom_device_mode_selector;
+ ArdourDropdown _midnam_model_selector;
+ ArdourDropdown _midnam_custom_device_mode_selector;
Gtk::CheckMenuItem* _step_edit_item;
Gtk::Menu* default_channel_menu;