Crazy Eddie's GUI System  0.8.0
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
GroupBox.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 - 2012 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 "../Base.h"
34 #include "../WindowFactory.h"
35 #include "./ClippedContainer.h"
36 #include <vector>
37 
38 #if defined(_MSC_VER)
39 # pragma warning(push)
40 # pragma warning(disable : 4251)
41 #endif
42 
43 namespace CEGUI
44 {
60 class CEGUIEXPORT GroupBox : public Window
61 {
62 public:
64  static const String EventNamespace;
65 
66  static const String WidgetTypeName;
67  static const String ContentPaneName;
68 
69 
70  GroupBox(const String& type, const String& name);
71 
72 
79  bool drawAroundWidget(const CEGUI::Window* wnd);
80  bool drawAroundWidget(const String& name);
81 
89  Window * getContentPane() const;
90 
91 protected:
95  virtual void addChild_impl(Element* element);
96 
100  virtual void removeChild_impl(Element* element);
101 
102 
103 };
104 
105 }
106 
107 #if defined(_MSC_VER)
108 # pragma warning(pop)
109 #endif
110 
111 #endif
112