Guitarix
gx_main_boxes.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 part of the gx_head GUI main class
21
*
22
* ----------------------------------------------------------------------------
23
*/
24
25
#include "
guitarix.h
"
// NOLINT
26
27
#include <glibmm/i18n.h>
// NOLINT
28
29
#include <iomanip>
// NOLINT
30
#include <cstring>
// NOLINT
31
#include <string>
// NOLINT
32
33
namespace
gx_gui
{
34
35
/****************************************************************
36
** predefined gtkmm widget classes used in main GUI
37
*/
38
39
/****************************************************************/
40
41
GxPaintBox::GxPaintBox
(
const
char
*expose_funk)
42
:
Gxw
::PaintBox(), m_hbox(false, 0) {
43
property_paint_func() = expose_funk;
44
pack_start(
m_hbox
);
45
}
46
47
GxPaintBox::~GxPaintBox
() {}
48
49
/****************************************************************/
50
51
GxEventBox::GxEventBox
():
52
Gtk::HBox(),
53
m_hbox
(),
54
m_pbox(),
55
m_tbox(),
56
m_eventbox(),
57
m_fbox(),
58
m_fixedbox(),
59
m_label() {
60
m_eventbox
.add(
m_hbox
);
61
m_fixedbox
.add(
m_eventbox
);
62
add(
m_pbox
);
63
pack_start(
m_fbox
,
false
,
false
);
64
m_fbox
.pack_start(
m_fixedbox
,
false
,
false
);
65
add(
m_tbox
);
66
}
67
68
GxEventBox::~GxEventBox
() {}
69
70
/****************************************************************/
71
72
GxNotebookBox::GxNotebookBox
() {
73
set_name(
"tab_rack"
);
74
}
75
76
/****************************************************************/
77
}
gx_gui
Definition:
gx_gui_helpers.h:28
guitarix.h
gx_gui::GxPaintBox::m_hbox
Gtk::HBox m_hbox
Definition:
gx_main_boxes.h:154
gx_gui::GxEventBox::m_pbox
Gtk::HBox m_pbox
Definition:
gx_main_boxes.h:164
gx_gui::GxEventBox::m_eventbox
Gtk::EventBox m_eventbox
Definition:
gx_main_boxes.h:166
gx_gui::GxEventBox::m_fbox
Gtk::HBox m_fbox
Definition:
gx_main_boxes.h:167
gx_gui::GxEventBox::m_fixedbox
Gtk::HBox m_fixedbox
Definition:
gx_main_boxes.h:168
gx_gui::GxPaintBox::~GxPaintBox
~GxPaintBox()
Definition:
gx_main_boxes.cpp:47
gx_gui::GxNotebookBox::GxNotebookBox
GxNotebookBox()
Definition:
gx_main_boxes.cpp:72
Gxw
Definition:
bigknob.cc:51
gx_gui::GxEventBox::~GxEventBox
~GxEventBox()
Definition:
gx_main_boxes.cpp:68
gx_gui::GxEventBox::m_hbox
Gtk::HBox m_hbox
Definition:
gx_main_boxes.h:163
gx_gui::GxEventBox::GxEventBox
GxEventBox()
Definition:
gx_main_boxes.cpp:51
gx_gui::GxPaintBox::GxPaintBox
GxPaintBox(const char *expose_funk)
Definition:
gx_main_boxes.cpp:41
gx_gui::GxEventBox::m_tbox
Gtk::HBox m_tbox
Definition:
gx_main_boxes.h:165
src
gx_head
gui
gx_main_boxes.cpp
Generated on Fri Jan 28 2022 05:20:24 for Guitarix by
1.8.13