Something went wrong. Try again.
OpenMW is an open implementation of the Morrowind engine
Something went wrong. Try again.
763 B · 34 lines
C++
1234567891011121314151617181920212223242526272829303132333435#ifndef OPENMW_LUAUI_TEXT#define OPENMW_LUAUI_TEXT
#include <vector>
#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;
const std::vector<std::string_view>& allUsedProperties() const override;
private: bool mAutoSized;
protected: MyGUI::IntSize calculateSize() const override; MyGUI::IntCoord getTextRegion() const override; MyGUI::IntSize getViewSize() const override; };}
#endif // OPENMW_LUAUI_TEXT