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

Method DebugNodeWindowsList

imgui_tiny_app/imgui/imgui.cpp:23683–23694  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23681}
23682
23683void ImGui::DebugNodeWindowsList(ImVector<ImGuiWindow*>* windows, const char* label)
23684{
23685 if (!TreeNode(label, "%s (%d)", label, windows->Size))
23686 return;
23687 for (int i = windows->Size - 1; i >= 0; i--) // Iterate front to back
23688 {
23689 PushID((*windows)[i]);
23690 DebugNodeWindow((*windows)[i], "Window");
23691 PopID();
23692 }
23693 TreePop();
23694}
23695
23696// FIXME-OPT: This is technically suboptimal, but it is simpler this way.
23697void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected