mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 13:56:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			583 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			583 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() override;
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif // OPENMW_LUAUI_TEXT
 |