1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-04 21:49:42 +00:00
openmw/components/lua_ui/text.hpp
2022-01-18 08:12:56 +00:00

26 lines
498 B
C++

#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:
LuaText();
virtual void setProperties(sol::object) override;
private:
bool mAutoSized;
protected:
virtual MyGUI::IntSize calculateSize() override;
};
}
#endif // OPENMW_LUAUI_TEXT