22 #include <ytkmm/combobox.h>
23 #include <ytkmm/comboboxtext.h>
24 #include <ytkmm/box.h>
25 #include <ytkmm/spinbutton.h>
26 #include <ytkmm/table.h>
27 #include <ytkmm/treestore.h>
28 #include <ytkmm/treeview.h>
29 #include <ytkmm/liststore.h>
30 #include <ytkmm/notebook.h>
31 #include <ytkmm/scrolledwindow.h>
34 class CellRendererCombo;
87 Gtk::TreeModelColumn<std::string>
name;
88 Gtk::TreeModelColumn<US2400::Button::ID>
id;
89 Gtk::TreeModelColumn<std::string>
plain;
90 Gtk::TreeModelColumn<std::string>
shift;
91 Gtk::TreeModelColumn<std::string>
control;
92 Gtk::TreeModelColumn<std::string>
option;
93 Gtk::TreeModelColumn<std::string>
cmdalt;
111 void action_changed (
const Glib::ustring &sPath,
const Gtk::TreeModel::iterator &, Gtk::TreeModelColumnBase);
124 Gtk::ComboBox* input_combo,
125 Gtk::ComboBox* output_combo,
126 std::shared_ptr<US2400::Surface> surface);
Gtk::Widget * _device_dependent_widget
void active_port_changed(Gtk::ComboBox *combo, std::weak_ptr< US2400::Surface > ws, bool for_input)
Glib::RefPtr< Gtk::ListStore > build_midi_port_list(bool for_input)
MidiPortColumns midi_port_columns
bool ignore_active_change
Gtk::ScrolledWindow function_key_scroller
US2400ProtocolGUI(US2400Protocol &)
PBD::ScopedConnectionList _port_connections
PBD::ScopedConnection device_change_connection
Gtk::Widget * device_dependent_widget()
Glib::RefPtr< Gtk::ListStore > build_midi_port_list(std::vector< std::string > const &ports, bool for_input)
Gtk::CellRendererCombo * make_action_renderer(Glib::RefPtr< Gtk::TreeStore > model, Gtk::TreeModelColumnBase)
Gtk::TreeView function_key_editor
void update_port_combos(std::vector< std::string > const &, std::vector< std::string > const &, Gtk::ComboBox *input_combo, Gtk::ComboBox *output_combo, std::shared_ptr< US2400::Surface > surface)
Gtk::ComboBoxText _profile_combo
std::vector< Gtk::ComboBox * > PortCombos
Glib::RefPtr< Gtk::TreeStore > available_action_model
Glib::RefPtr< Gtk::ListStore > function_key_model
FunctionKeyColumns function_key_columns
void refresh_function_key_editor()
const ActionManager::ActionModel & action_model
void build_function_key_editor()
void profile_combo_changed()
bool _ignore_profile_changed
void action_changed(const Glib::ustring &sPath, const Gtk::TreeModel::iterator &, Gtk::TreeModelColumnBase)
void connection_handler()
Gtk::TreeModelColumn< std::string > shiftcontrol
Gtk::TreeModelColumn< std::string > option
Gtk::TreeModelColumn< std::string > control
Gtk::TreeModelColumn< std::string > cmdalt
Gtk::TreeModelColumn< std::string > name
Gtk::TreeModelColumn< US2400::Button::ID > id
Gtk::TreeModelColumn< std::string > shift
Gtk::TreeModelColumn< std::string > plain
Gtk::TreeModelColumn< std::string > full_name
Gtk::TreeModelColumn< std::string > short_name