mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-05 21:25:46 +01:00
further work on a MIDI port functionality dialog
This commit is contained in:
parent
e6ff4d8455
commit
8357775fbb
2 changed files with 109 additions and 10 deletions
|
|
@ -137,7 +137,6 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
void midi_option_changed ();
|
||||
|
||||
void setup_midi_tab_for_backend ();
|
||||
void setup_midi_tab_for_jack ();
|
||||
void refresh_midi_display (std::string focus = "");
|
||||
|
||||
void update_midi_options ();
|
||||
|
|
@ -360,6 +359,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
add (in_use);
|
||||
add (music_data);
|
||||
add (control_data);
|
||||
add (selection);
|
||||
add (port);
|
||||
}
|
||||
|
||||
|
|
@ -368,15 +368,25 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
|
|||
Gtk::TreeModelColumn<bool> in_use;
|
||||
Gtk::TreeModelColumn<bool> music_data;
|
||||
Gtk::TreeModelColumn<bool> control_data;
|
||||
Gtk::TreeModelColumn<bool> selection;
|
||||
Gtk::TreeModelColumn<boost::shared_ptr<ARDOUR::Port> > port;
|
||||
};
|
||||
|
||||
MidiPortColumns midi_port_columns;
|
||||
Gtk::TreeView midi_input_view;
|
||||
Gtk::TreeView midi_output_view;
|
||||
int pretty_name_column;
|
||||
int use_column;
|
||||
int music_column;
|
||||
int control_column;
|
||||
int selection_column;
|
||||
|
||||
void refill_midi_ports (bool for_input);
|
||||
void pretty_name_edit (std::string const & path, std::string const & new_text, Gtk::TreeView*);
|
||||
void midi_use_column_toggled (std::string const & path, Gtk::TreeView*);
|
||||
void midi_music_column_toggled (std::string const & path, Gtk::TreeView*);
|
||||
void midi_control_column_toggled (std::string const & path, Gtk::TreeView*);
|
||||
void midi_selection_column_toggled (std::string const & path, Gtk::TreeView*);
|
||||
};
|
||||
|
||||
#endif /* __gtk2_ardour_engine_dialog_h__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue