1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00
OpenMW/components/lua_ui/text.hpp

27 lines
498 B
C++
Raw Normal View History

2021-11-18 15:19:54 +00:00
#ifndef OPENMW_LUAUI_TEXT
#define OPENMW_LUAUI_TEXT
#include <MyGUI_TextBox.h>
#include "widget.hpp"
namespace LuaUi
{
class LuaText : public MyGUI::TextBox, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaText)
public:
2021-11-19 15:21:17 +00:00
LuaText();
virtual void setProperties(sol::object) override;
2021-11-18 15:19:54 +00:00
private:
bool mAutoSized;
protected:
virtual MyGUI::IntSize calculateSize() override;
};
}
#endif // OPENMW_LUAUI_TEXT