| 1658 | } |
| 1659 | |
| 1660 | void LuaPushNode(lua_State* L, dmGui::HScene scene, dmGui::HNode node) |
| 1661 | { |
| 1662 | NodeProxy* node_proxy = (NodeProxy *)lua_newuserdata(L, sizeof(NodeProxy)); |
| 1663 | node_proxy->m_Scene = scene; |
| 1664 | node_proxy->m_Node = node; |
| 1665 | luaL_getmetatable(L, NODE_PROXY_TYPE_NAME); |
| 1666 | lua_setmetatable(L, -2); |
| 1667 | } |
| 1668 | |
| 1669 | static int LuaDoNewNode(lua_State* L, Scene* scene, Point3 pos, Vector3 size, NodeType node_type, uint32_t custom_type, const char* text, void* font) |
| 1670 | { |
no test coverage detected