OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Gui::Box Class Referenceabstract

A container widget that automatically sizes its children. More...

#include <box.hpp>

Inheritance diagram for Gui::Box:
Collaboration diagram for Gui::Box:

Public Member Functions

 Box ()
 
void notifyChildrenSizeChanged ()
 
- Public Member Functions inherited from Gui::AutoSizedWidget
 AutoSizedWidget ()
 
virtual MyGUI::IntSize getRequestedSize ()=0
 

Protected Member Functions

virtual void align ()=0
 
virtual bool _setPropertyImpl (const std::string &_key, const std::string &_value)
 
- Protected Member Functions inherited from Gui::AutoSizedWidget
void notifySizeChange (MyGUI::Widget *w)
 

Protected Attributes

int mSpacing
 
int mPadding
 
bool mAutoResize
 
- Protected Attributes inherited from Gui::AutoSizedWidget
MyGUI::Align mExpandDirection
 

Detailed Description

A container widget that automatically sizes its children.

Note
the box being an AutoSizedWidget as well allows to put boxes inside a box

Constructor & Destructor Documentation

Gui::Box::Box ( )

Member Function Documentation

bool Gui::Box::_setPropertyImpl ( const std::string &  _key,
const std::string &  _value 
)
protectedvirtual

Here is the caller graph for this function:

virtual void Gui::Box::align ( )
protectedpure virtual

Implemented in Gui::VBox, and Gui::HBox.

Here is the caller graph for this function:

void Gui::Box::notifyChildrenSizeChanged ( )

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool Gui::Box::mAutoResize
protected
int Gui::Box::mPadding
protected
int Gui::Box::mSpacing
protected

The documentation for this class was generated from the following files: