MCPcopy Create free account
hub / github.com/Wemino/EchoPatch / IsWindowWithinBeginStackOf

Method IsWindowWithinBeginStackOf

include/imgui/imgui.cpp:8380–8391  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8378}
8379
8380bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
8381{
8382 if (window->RootWindow == potential_parent)
8383 return true;
8384 while (window != NULL)
8385 {
8386 if (window == potential_parent)
8387 return true;
8388 window = window->ParentWindowInBeginStack;
8389 }
8390 return false;
8391}
8392
8393bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below)
8394{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected