Ardour  9.2-541-gc1841a13dd
c1_gui.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2023 Holger Dehnhardt <holger@dehnhardt.org>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License along
15  * with this program; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17  */
18 
19 #ifndef __ardour_console1_gui_h__
20 #define __ardour_console1_gui_h__
21 
22 #include <vector>
23 #include <string>
24 
25 #include <ytkmm/box.h>
26 #include <ytkmm/combobox.h>
27 #include <ytkmm/checkbutton.h>
28 #include <ytkmm/image.h>
29 #include <ytkmm/table.h>
30 #include <ytkmm/treestore.h>
31 #include <ytkmm/spinbutton.h>
32 #include <ytkmm/notebook.h>
33 
34 namespace Gtk {
35  class CellRendererCombo;
36  class ListStore;
37 }
38 
39 #include "console1.h"
40 
41 namespace ArdourSurface {
42 
43 class C1GUI : public Gtk::VBox
44 {
45 public:
47  ~C1GUI ();
48 
49 private:
60 
65 
68  add (short_name);
69  add (full_name);
70  }
73  };
74 
77 
78  Glib::RefPtr<Gtk::ListStore> build_midi_port_list (std::vector<std::string> const & ports, bool for_input);
79  void active_port_changed (Gtk::ComboBox*,bool for_input);
80 
84 };
85 
86 }
87 
88 #endif /* __ardour_console1_gui_h__ */
Gtk::ComboBox input_combo
Definition: c1_gui.h:54
bool ignore_active_change
Definition: c1_gui.h:76
PBD::ScopedConnection connection_change_connection
Definition: c1_gui.h:62
Gtk::CheckButton swap_solo_mute_cb
Definition: c1_gui.h:57
MidiPortColumns midi_port_columns
Definition: c1_gui.h:75
Gtk::Table table
Definition: c1_gui.h:53
PBD::ScopedConnectionList _port_connections
Definition: c1_gui.h:64
Gtk::CheckButton band_q_as_send_cb
Definition: c1_gui.h:58
void active_port_changed(Gtk::ComboBox *, bool for_input)
Gtk::VBox hpacker
Definition: c1_gui.h:52
Console1 & c1
Definition: c1_gui.h:50
PBD::ScopedConnectionList lcxl_connections
Definition: c1_gui.h:51
Glib::RefPtr< Gtk::ListStore > build_midi_port_list(std::vector< std::string > const &ports, bool for_input)
Gtk::CheckButton create_plugin_stubs_btn
Definition: c1_gui.h:59
Gtk::Image image
Definition: c1_gui.h:56
Gtk::ComboBox output_combo
Definition: c1_gui.h:55
void set_create_mapping_stubs()
void add(TreeModelColumnBase &column)
Definition: ardour_ui.h:182
Gtk::TreeModelColumn< std::string > full_name
Definition: c1_gui.h:72
Gtk::TreeModelColumn< std::string > short_name
Definition: c1_gui.h:71