1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 11:53:53 +00:00
openmw/components/lua_ui/textedit.hpp

24 lines
500 B
C++

#ifndef OPENMW_LUAUI_TEXTEDIT
#define OPENMW_LUAUI_TEXTEDIT
#include <MyGUI_EditBox.h>
#include "widget.hpp"
namespace LuaUi
{
class LuaTextEdit : public MyGUI::EditBox, public WidgetExtension
{
MYGUI_RTTI_DERIVED(LuaTextEdit)
protected:
void initialize() override;
void deinitialize() override;
void updateProperties() override;
private:
void textChange(MyGUI::EditBox*);
};
}
#endif // OPENMW_LUAUI_TEXTEDIT