Crazy Eddie's GUI System  0.8.4
CEGUI::GroupBox Class Reference

Base class for standard GroupBox widget. More...

+ Inheritance diagram for CEGUI::GroupBox:
+ Collaboration diagram for CEGUI::GroupBox:

List of all members.

Public Member Functions

 GroupBox (const String &type, const String &name)
bool drawAroundWidget (const CEGUI::Window *wnd)
 Draws the GroupBox around a widget. The size and position of the GroupBox are overriden. Once the window that is drawn around resizes, you'll have to call the function again. FIXME.
bool drawAroundWidget (const String &name)
WindowgetContentPane () const
 Returns the content pane held by this GroupBox.

Static Public Attributes

static const String EventNamespace
 Namespace for global events.
static const String WidgetTypeName
static const String ContentPaneName

Protected Member Functions

virtual void addChild_impl (Element *element)
virtual void removeChild_impl (Element *element)

Detailed Description

Base class for standard GroupBox widget.

Deprecated:
You should consider not using this class. It performs no useful function and can be replicated 100% accurately via an XML based WidgetLook definition. If you are already using this and need to migrate, you can usually do so by changing the following:
  • in the looknfeel (WidgetLook) change the the <Child> element for "__auto_contentpane__" into a <NamedArea> with the name "inner_rect" (and remove anything other than the <Area> definition).
  • in the scheme file, change the targetType from "CEGUI/GroupBox" to "DefaultWindow".

Member Function Documentation

virtual void CEGUI::GroupBox::addChild_impl ( Element element) [protected, virtual]

Add given element to child list at an appropriate position.

Reimplemented from CEGUI::Window.

Returns the content pane held by this GroupBox.

Returns:
Pointer to a Window instance.
virtual void CEGUI::GroupBox::removeChild_impl ( Element element) [protected, virtual]

Remove given element from child list.

Reimplemented from CEGUI::Window.

 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends