Skip to content

An OpenMW mod that lets you play the whole Elder Scrolls III: Morrowind as a top-down isometric game — with full online co-op or MMO modes.

C++
654 B
Raw Blame
#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;
    };
}

#endif // OPENMW_LUAUI_TEXT