mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 10:49:48 +00:00
26 lines
696 B
C++
26 lines
696 B
C++
#pragma once
|
|
|
|
#include <RmlUi/Core/Context.h>
|
|
#include <RmlUi/Lua/IncludeLua.h>
|
|
#include <RmlUi/Lua/LuaType.h>
|
|
|
|
namespace Rml {
|
|
namespace Lua {
|
|
// where owner is the context that we should look information from
|
|
struct ContextDocumentsProxy {
|
|
Context* owner;
|
|
};
|
|
|
|
template <>
|
|
void ExtraInit<ContextDocumentsProxy>(lua_State* L, int metatable_index);
|
|
int ContextDocumentsProxy__index(lua_State* L);
|
|
int ContextDocumentsProxy__pairs(lua_State* L);
|
|
|
|
extern RegType<ContextDocumentsProxy> ContextDocumentsProxyMethods[];
|
|
extern luaL_Reg ContextDocumentsProxyGetters[];
|
|
extern luaL_Reg ContextDocumentsProxySetters[];
|
|
|
|
RMLUI_LUATYPE_DECLARE(ContextDocumentsProxy)
|
|
} // namespace Lua
|
|
} // namespace Rml
|