You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw/components/lua_ui/text.hpp

29 lines
583 B
C++

3 years ago
#ifndef OPENMW_LUAUI_TEXT
#define OPENMW_LUAUI_TEXT
#include <MyGUI_EditBox.h>
3 years ago
#include "widget.hpp"
namespace LuaUi
{
class LuaText : public MyGUI::EditBox, public WidgetExtension
3 years ago
{
MYGUI_RTTI_DERIVED(LuaText)
public:
LuaText();
void initialize() override;
void updateProperties() override;
3 years ago
void setCaption(const MyGUI::UString& caption) override;
3 years ago
private:
bool mAutoSized;
protected:
MyGUI::IntSize calculateSize() override;
3 years ago
};
}
#endif // OPENMW_LUAUI_TEXT