#pragma once /* Proxy table for Element.attribues read-only Dictionary */ #include #include #include namespace Rocket { namespace Core { namespace Lua { //where owner is the Element that we should look up information from struct ElementAttributesProxy { Element* owner; }; template<> void LuaType::extra_init(lua_State* L, int metatable_index); int ElementAttributesProxy__index(lua_State* L); //method int ElementAttributesProxyGetTable(lua_State* L, ElementAttributesProxy* obj); RegType ElementAttributesProxyMethods[]; luaL_reg ElementAttributesProxyGetters[]; luaL_reg ElementAttributesProxySetters[]; } } }