1 #ifndef OPENMW_WIDGETS_BOX_H
2 #define OPENMW_WIDGETS_BOX_H
4 #include <MyGUI_Widget.h>
5 #include <MyGUI_TextBox.h>
6 #include <MyGUI_EditBox.h>
7 #include <MyGUI_Button.h>
31 virtual void setCaption(
const MyGUI::UString& _value);
43 virtual void setCaption(
const MyGUI::UString& _value);
55 virtual void setCaption(
const MyGUI::UString& _value);
73 virtual void align() = 0;
75 virtual bool _setPropertyImpl(
const std::string& _key,
const std::string& _value);
84 class HBox :
public Box,
public MyGUI::Widget
86 MYGUI_RTTI_DERIVED(
HBox )
89 virtual void setSize (
const MyGUI::IntSize &_value);
90 virtual void setCoord (
const MyGUI::IntCoord &_value);
103 MYGUI_RTTI_DERIVED(
VBox)
106 virtual void setSize (
const MyGUI::IntSize &_value);
107 virtual void setCoord (
const MyGUI::IntCoord &_value);
110 virtual void align();
A container widget that automatically sizes its children.
Definition: box.hpp:65
virtual void onWidgetCreated(MyGUI::Widget *_widget)
Definition: box.cpp:420
virtual MyGUI::IntSize getRequestedSize()
Definition: box.cpp:385
int mSpacing
Definition: box.hpp:77
virtual MyGUI::IntSize getRequestedSize()
Definition: box.cpp:244
virtual void setCaption(const MyGUI::UString &_value)
Definition: box.cpp:62
virtual bool _setPropertyImpl(const std::string &_key, const std::string &_value)
Definition: box.cpp:124
virtual void setCoord(const MyGUI::IntCoord &_value)
Definition: box.cpp:379
virtual void onWidgetCreated(MyGUI::Widget *_widget)
Definition: box.cpp:239
virtual void setSize(const MyGUI::IntSize &_value)
Definition: box.cpp:227
Box()
Definition: box.cpp:111
virtual void setCoord(const MyGUI::IntCoord &_value)
Definition: box.cpp:233
virtual void setPropertyOverride(const std::string &_key, const std::string &_value)
Definition: box.cpp:367
void notifyChildrenSizeChanged()
Definition: box.cpp:119
bool mAutoResize
Definition: box.hpp:81
virtual void setCaption(const MyGUI::UString &_value)
Definition: box.cpp:36
virtual void setPropertyOverride(const std::string &_key, const std::string &_value)
Definition: box.cpp:221
virtual void setPropertyOverride(const std::string &_key, const std::string &_value)
Definition: box.cpp:69
virtual void setPropertyOverride(const std::string &_key, const std::string &_value)
Definition: box.cpp:43
int mPadding
Definition: box.hpp:79
virtual void setSize(const MyGUI::IntSize &_value)
Definition: box.cpp:373
virtual void align()
Definition: box.cpp:138
virtual MyGUI::IntSize getRequestedSize()
Definition: box.cpp:55
virtual void align()
Definition: box.cpp:282
virtual MyGUI::IntSize getRequestedSize()
Definition: box.cpp:31