mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
28 lines
608 B
C++
28 lines
608 B
C++
#ifndef OPENMW_LUAUI_FLEX
|
|
#define OPENMW_LUAUI_FLEX
|
|
|
|
#include "widget.hpp"
|
|
#include "alignment.hpp"
|
|
|
|
namespace LuaUi
|
|
{
|
|
class LuaFlex : public MyGUI::Widget, public WidgetExtension
|
|
{
|
|
MYGUI_RTTI_DERIVED(LuaFlex)
|
|
|
|
protected:
|
|
MyGUI::IntSize calculateSize() override;
|
|
void updateProperties() override;
|
|
void updateChildren() override;
|
|
|
|
private:
|
|
bool mHorizontal;
|
|
bool mAutoSized;
|
|
MyGUI::IntSize mChildrenSize;
|
|
Alignment mAlign;
|
|
Alignment mArrange;
|
|
};
|
|
}
|
|
|
|
#endif // OPENMW_LUAUI_FLEX
|