mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-05 15:55:45 +00:00
22 lines
455 B
C++
22 lines
455 B
C++
|
#ifndef OPENMW_LUAUI_CONTAINER
|
||
|
#define OPENMW_LUAUI_CONTAINER
|
||
|
|
||
|
#include "widget.hpp"
|
||
|
|
||
|
namespace LuaUi
|
||
|
{
|
||
|
class LuaContainer : public WidgetExtension, public MyGUI::Widget
|
||
|
{
|
||
|
MYGUI_RTTI_DERIVED(LuaContainer)
|
||
|
|
||
|
protected:
|
||
|
virtual void updateChildren() override;
|
||
|
virtual MyGUI::IntSize childScalingSize() override;
|
||
|
|
||
|
private:
|
||
|
void updateSizeToFit();
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif // !OPENMW_LUAUI_CONTAINER
|