- void add_insert_to_subplugin_menu (ARDOUR::Processor *);
-
- void channel_selector_toggled();
-
- Gtk::Menu _subplugin_menu;
-
- MidiScroomer* _range_scroomer;
- PianoRollHeader* _piano_roll_header;
- ARDOUR::NoteMode _note_mode;
- Gtk::RadioMenuItem* _note_mode_item;
- Gtk::RadioMenuItem* _percussion_mode_item;
- Gtk::Expander _midi_expander;
- MidiMultipleChannelSelector* _channel_selector;
+ bool _ignore_signals;
+ MidiScroomer* _range_scroomer;
+ PianoRollHeader* _piano_roll_header;
+ ARDOUR::NoteMode _note_mode;
+ Gtk::RadioMenuItem* _note_mode_item;
+ Gtk::RadioMenuItem* _percussion_mode_item;
+ ARDOUR::ColorMode _color_mode;
+ Gtk::RadioMenuItem* _meter_color_mode_item;
+ Gtk::RadioMenuItem* _channel_color_mode_item;
+ Gtk::RadioMenuItem* _track_color_mode_item;
+ Gtk::VBox _midi_controls_box;
+ MidiMultipleChannelSelector _channel_selector;
+ Gtk::ComboBoxText _model_selector;
+ 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 ();
+
+ void change_all_channel_tracks_visibility (bool yn, Evoral::Parameter param);
+ void add_basic_parameter_menu_item (Gtk::Menu_Helpers::MenuList& items, const std::string& label, Evoral::Parameter param);
+ void add_channel_command_menu_item (Gtk::Menu_Helpers::MenuList& items, const std::string& label, ARDOUR::AutomationType auto_type, uint8_t cmd);
+
+ Gtk::Menu* controller_menu;
+ void build_controller_menu ();
+ void set_channel_mode (ARDOUR::ChannelMode, uint16_t);
+
+ void add_note_selection (uint8_t note);
+ void extend_note_selection (uint8_t note);
+ void toggle_note_selection (uint8_t note);
+ void add_note_selection_region_view (RegionView* rv, uint8_t note, uint16_t chn_mask);
+ void extend_note_selection_region_view (RegionView*, uint8_t note, uint16_t chn_mask);
+ void toggle_note_selection_region_view (RegionView*, uint8_t note, uint16_t chn_mask);
+
+ /** parameter -> menu item map for the channel command items */
+ ParameterMenuMap _channel_command_menu_map;
+ /** parameter -> menu item map for the controller menu */
+ ParameterMenuMap _controller_menu_map;