Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
661 B · 28 lines
C++
at master
1234567891011121314151617181920212223242526272829#ifndef OPENMW_LUAUI_CONTAINER#define OPENMW_LUAUI_CONTAINER
#include "widget.hpp"
namespace LuaUi{ class LuaContainer : public WidgetExtension, public MyGUI::Widget { MYGUI_RTTI_DERIVED(LuaContainer)
public: MyGUI::IntSize calculateSize() const override; void updateCoord() override;
protected: void updateChildren() override; MyGUI::IntSize childScalingSize() const override; MyGUI::IntSize templateScalingSize() const override;
private: void updateSizeToFit(); MyGUI::IntSize mInnerSize; MyGUI::IntSize mOuterSize; };}
#endif // !OPENMW_LUAUI_CONTAINER