Crazy Eddies GUI System
0.7.8
Main Page
Related Pages
Namespaces
Classes
Files
File List
cegui
include
elements
CEGUIGroupBox.h
1
/************************************************************************
2
filename: CEGUIGroupBox.h
3
created: 03/23/2007
4
author: Lars 'Levia' Wesselius (Content Pane based on Tomas Lindquist Olsen's code)
5
6
purpose: Interface for the GroupBox widget
7
*************************************************************************/
8
/***************************************************************************
9
* Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team
10
*
11
* Permission is hereby granted, free of charge, to any person obtaining
12
* a copy of this software and associated documentation files (the
13
* "Software"), to deal in the Software without restriction, including
14
* without limitation the rights to use, copy, modify, merge, publish,
15
* distribute, sublicense, and/or sell copies of the Software, and to
16
* permit persons to whom the Software is furnished to do so, subject to
17
* the following conditions:
18
*
19
* The above copyright notice and this permission notice shall be
20
* included in all copies or substantial portions of the Software.
21
*
22
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25
* IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
26
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
27
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
28
* OTHER DEALINGS IN THE SOFTWARE.
29
***************************************************************************/
30
#ifndef _CEGUIGroupBox_h_
31
#define _CEGUIGroupBox_h_
32
33
#include "../CEGUIBase.h"
34
#include "../CEGUIWindowFactory.h"
35
#include "CEGUIClippedContainer.h"
36
#include <vector>
37
38
39
#if defined(_MSC_VER)
40
# pragma warning(push)
41
# pragma warning(disable : 4251)
42
#endif
43
44
45
// Start of CEGUI namespace section
46
namespace
CEGUI
47
{
48
53
class
CEGUIEXPORT
GroupBox
:
public
Window
54
{
55
protected
:
56
57
public
:
58
static
const
String
EventNamespace
;
59
60
61
/*************************************************************************
62
Constants
63
*************************************************************************/
64
// temp
65
static
const
String
WidgetTypeName;
66
67
static
const
String
ContentPaneNameSuffix;
68
69
70
/*************************************************************************
71
Construction and Destruction
72
*************************************************************************/
77
GroupBox
(
const
String
& type,
const
String
& name);
78
79
84
virtual
~
GroupBox
();
85
91
bool
drawAroundWidget(
const
CEGUI::Window
* wnd);
92
bool
drawAroundWidget(
const
String
& name);
93
104
virtual
bool
testClassName_impl(
const
String
& class_name)
const
105
{
106
if
(class_name==
"GroupBox"
)
return
true
;
107
return
Window::testClassName_impl
(class_name);
108
}
109
117
Window
* getContentPane()
const
;
118
119
120
protected
:
125
virtual
void
addChild_impl(
Window
* wnd);
126
131
virtual
void
removeChild_impl(
Window
* wnd);
132
133
134
};
135
136
}
// End of CEGUI namespace section
137
138
139
#if defined(_MSC_VER)
140
# pragma warning(pop)
141
#endif
142
143
#endif // end of guard _CEGUIGroupBox_h_
Generated by
1.8.3.1