mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 17:28:07 +00:00
27 lines
624 B
C++
27 lines
624 B
C++
#pragma once
|
|
|
|
#include <RmlUi/Lua/IncludeLua.h>
|
|
#include <RmlUi/Lua/LuaType.h>
|
|
|
|
namespace Rml {
|
|
class Element;
|
|
|
|
namespace Lua {
|
|
struct ElementStyleProxy {
|
|
Element* owner;
|
|
};
|
|
|
|
template <>
|
|
void ExtraInit<ElementStyleProxy>(lua_State* L, int metatable_index);
|
|
int ElementStyleProxy__index(lua_State* L);
|
|
int ElementStyleProxy__newindex(lua_State* L);
|
|
int ElementStyleProxy__pairs(lua_State* L);
|
|
|
|
extern RegType<ElementStyleProxy> ElementStyleProxyMethods[];
|
|
extern luaL_Reg ElementStyleProxyGetters[];
|
|
extern luaL_Reg ElementStyleProxySetters[];
|
|
|
|
RMLUI_LUATYPE_DECLARE(ElementStyleProxy)
|
|
} // namespace Lua
|
|
} // namespace Rml
|