mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 00:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			439 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			439 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef OPENMW_LUAUI_CONTAINER
 | 
						|
#define OPENMW_LUAUI_CONTAINER
 | 
						|
 | 
						|
#include "widget.hpp"
 | 
						|
 | 
						|
namespace LuaUi
 | 
						|
{
 | 
						|
    class LuaContainer : public WidgetExtension, public MyGUI::Widget
 | 
						|
    {
 | 
						|
        MYGUI_RTTI_DERIVED(LuaContainer)
 | 
						|
 | 
						|
        protected:
 | 
						|
            void updateChildren() override;
 | 
						|
            MyGUI::IntSize childScalingSize() override;
 | 
						|
 | 
						|
        private:
 | 
						|
            void updateSizeToFit();
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif // !OPENMW_LUAUI_CONTAINER
 |