1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-30 21:32:42 +00:00

29 lines
547 B
C++
Raw Normal View History

2021-11-18 15:19:54 +00:00
#ifndef OPENMW_LUAUI_TEXT
#define OPENMW_LUAUI_TEXT
#include <MyGUI_EditBox.h>
2021-11-18 15:19:54 +00:00
#include "widget.hpp"
namespace LuaUi
{
class LuaText : public MyGUI::EditBox, public WidgetExtension
2021-11-18 15:19:54 +00:00
{
MYGUI_RTTI_DERIVED(LuaText)
2022-09-22 21:26:05 +03:00
public:
LuaText();
void initialize() override;
void updateProperties() override;
void setCaption(const MyGUI::UString& caption) override;
2021-11-18 15:19:54 +00:00
2022-09-22 21:26:05 +03:00
private:
bool mAutoSized;
2021-11-18 15:19:54 +00:00
2022-09-22 21:26:05 +03:00
protected:
MyGUI::IntSize calculateSize() override;
2021-11-18 15:19:54 +00:00
};
}
#endif // OPENMW_LUAUI_TEXT