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

Method IsWindowWithinBeginStackOf

include/imgui/imgui.cpp:8433–8444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8431}
8432
8433bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
8434{
8435 if (window->RootWindow == potential_parent)
8436 return true;
8437 while (window != NULL)
8438 {
8439 if (window == potential_parent)
8440 return true;
8441 window = window->ParentWindowInBeginStack;
8442 }
8443 return false;
8444}
8445
8446bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below)
8447{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected