MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / DockContextDeleteNode

Method DockContextDeleteNode

imgui_tiny_app/imgui/imgui.cpp:18073–18081  ·  view source on GitHub ↗

Raw-ish delete

Source from the content-addressed store, hash-verified

18071
18072// Raw-ish delete
18073static void ImGui::DockContextDeleteNode(ImGuiContext* ctx, ImGuiDockNode* node)
18074{
18075 ImGuiDockContext* dc = &ctx->DockContext;
18076 if (node->TabBar)
18077 IM_DELETE(node->TabBar);
18078 node->TabBar = NULL;
18079 dc->Nodes.SetVoidPtr(node->ID, NULL);
18080 IM_DELETE(node);
18081}
18082
18083static int IMGUI_CDECL DockNodeComparerDepthMostFirst(const void* lhs, const void* rhs)
18084{

Callers

nothing calls this directly

Calls 2

IM_DELETEFunction · 0.85
SetVoidPtrMethod · 0.80

Tested by

no test coverage detected