Guitarix
gx_stereo_rack_builder.cpp
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2009, 2010 Hermann Meyer, James Warden, Andreas Degert
3  * Copyright (C) 2011 Pete Shorthose
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 * ---------------------------------------------------------------------------
19 *
20 * This file is a part ofthe gx_head interface builder
21 * and build the stereo effect rack,
22 * it's a part of the class GxMainInterface
23 *
24 * ----------------------------------------------------------------------------
25 */
26 
27 
28 #include "guitarix.h" // NOLINT
29 
30 #include <glibmm/i18n.h> // NOLINT
31 
32 // -------- the gx_head user interface build instruktions
33 
34 namespace gx_gui {
35 
37  static gx_jconv::IRWindow *irw = gx_jconv::IRWindow::create("jconv", window_icon, machine, accels, 2);
38  openHorizontalhideBox("");
39  create_master_slider("jconv.wet_dry", _("Dry/Wet"));
40  openSpaceBox("");
41  closeBox();
42  openSpaceBox("");
43  closeBox();
44  addSmallJConvFavButton(C_("Setup", "S"), irw);
45  closeBox();
46  openVerticalBox("");
47  {
48  openSetLabelBox();
49  {
50  }
51  closeBox();
52  openSpaceBox("");
53  closeBox();
54  openHorizontalBox("");
55  {
56  openSpaceBox("");
57  closeBox();
58  openSpaceBox("");
59  closeBox();
60  openSpaceBox("");
61  closeBox();
62  openSpaceBox("");
63  closeBox();
64  create_mid_rackknob("jconv.gain", _("Gain"));
65  create_small_rackknobr("jconv.diff_delay", _("Delta Delay"));
66  create_small_rackknobr("jconv.balance", _("Balance"));
67  create_small_rackknobr("jconv.wet_dry", _("Dry/Wet"));
68  openVerticalBox("");
69  openSpaceBox("");
70  closeBox();
71  openSpaceBox("");
72  closeBox();
73  addJConvButton(_("Setup"), irw);
74  openSpaceBox("");
75  closeBox();
76  closeBox();
77  openSpaceBox("");
78  closeBox();
79  openSpaceBox("");
80  closeBox();
81  openSpaceBox("");
82  closeBox();
83  }
84  closeBox();
85  }
86  closeBox();
87 }
88 
89 } // end namespace gx_gui
gx_jconv::IRWindow
Definition: gx_jconv_settings.h:36
gx_jconv::IRWindow::create
static IRWindow * create(const std::string &unit_id, Glib::RefPtr< Gdk::Pixbuf > icon, gx_engine::GxMachineBase &machine, Glib::RefPtr< Gtk::AccelGroup > accels, int nchan)
Definition: gx_jconv_settings.cpp:32
gx_gui::StackBoxBuilder::make_rackbox_jconv
void make_rackbox_jconv()
Definition: gx_stereo_rack_builder.cpp:36
gx_gui
Definition: gx_gui_helpers.h:28
guitarix.h