#pragma once #include #include #include namespace Rml { namespace Lua { // where owner is the ElementFormControlSelect that we should look up information from struct SelectOptionsProxy { ElementFormControlSelect* owner; }; int SelectOptionsProxy__index(lua_State* L); int SelectOptionsProxy__pairs(lua_State* L); extern RegType SelectOptionsProxyMethods[]; extern luaL_Reg SelectOptionsProxyGetters[]; extern luaL_Reg SelectOptionsProxySetters[]; template <> void ExtraInit(lua_State* L, int metatable_index); RMLUI_LUATYPE_DECLARE(SelectOptionsProxy) } // namespace Lua } // namespace Rml