Ardour  9.0-pre0-582-g084a23a80d
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 <gtkmm/box.h>
26 #include <gtkmm/combobox.h>
27 #include <gtkmm/checkbutton.h>
28 #include <gtkmm/image.h>
29 #include <gtkmm/table.h>
30 #include <gtkmm/treestore.h>
31 #include <gtkmm/spinbutton.h>
32 #include <gtkmm/notebook.h>
33 
34 namespace Gtk {
35  class CellRendererCombo;
36  class ListStore;
37 }
38 
39 #include "ardour/mode.h"
40 
41 #include "console1.h"
42 
43 namespace ArdourSurface {
44 
45 class C1GUI : public Gtk::VBox
46 {
47 public:
49  ~C1GUI ();
50 
51 private:
61 
66 
69  add (short_name);
70  add (full_name);
71  }
74  };
75 
78 
79  Glib::RefPtr<Gtk::ListStore> build_midi_port_list (std::vector<std::string> const & ports, bool for_input);
80  void active_port_changed (Gtk::ComboBox*,bool for_input);
81 
84 
85 };
86 
87 }
88 
89 #endif /* __ardour_console1_gui_h__ */
Gtk::ComboBox input_combo
Definition: c1_gui.h:56
bool ignore_active_change
Definition: c1_gui.h:77
PBD::ScopedConnection connection_change_connection
Definition: c1_gui.h:63
Gtk::CheckButton swap_solo_mute_cb
Definition: c1_gui.h:59
MidiPortColumns midi_port_columns
Definition: c1_gui.h:76
Gtk::Table table
Definition: c1_gui.h:55
PBD::ScopedConnectionList _port_connections
Definition: c1_gui.h:65
void active_port_changed(Gtk::ComboBox *, bool for_input)
Gtk::VBox hpacker
Definition: c1_gui.h:54
Console1 & c1
Definition: c1_gui.h:52
PBD::ScopedConnectionList lcxl_connections
Definition: c1_gui.h:53
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:60
Gtk::Image image
Definition: c1_gui.h:58
Gtk::ComboBox output_combo
Definition: c1_gui.h:57
void set_create_mapping_stubs()
void add(TreeModelColumnBase &column)
Definition: ardour_ui.h:188
Gtk::TreeModelColumn< std::string > full_name
Definition: c1_gui.h:73
Gtk::TreeModelColumn< std::string > short_name
Definition: c1_gui.h:72