mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
29 lines
553 B
C++
29 lines
553 B
C++
#ifndef OPENMW_LUAUI_TEXT
|
|
#define OPENMW_LUAUI_TEXT
|
|
|
|
#include <MyGUI_EditBox.h>
|
|
|
|
#include "widget.hpp"
|
|
|
|
namespace LuaUi
|
|
{
|
|
class LuaText : public MyGUI::EditBox, public WidgetExtension
|
|
{
|
|
MYGUI_RTTI_DERIVED(LuaText)
|
|
|
|
public:
|
|
LuaText();
|
|
void initialize() override;
|
|
void updateProperties() override;
|
|
void setCaption(const MyGUI::UString& caption) override;
|
|
|
|
private:
|
|
bool mAutoSized;
|
|
|
|
protected:
|
|
MyGUI::IntSize calculateSize() const override;
|
|
};
|
|
}
|
|
|
|
#endif // OPENMW_LUAUI_TEXT
|