MCPcopy Create free account
hub / github.com/bluescan/tacentview / IsWindowWithinBeginStackOf

Method IsWindowWithinBeginStackOf

Contrib/imgui/imgui.cpp:7092–7103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7090}
7091
7092bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
7093{
7094 if (window->RootWindow == potential_parent)
7095 return true;
7096 while (window != NULL)
7097 {
7098 if (window == potential_parent)
7099 return true;
7100 window = window->ParentWindowInBeginStack;
7101 }
7102 return false;
7103}
7104
7105bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below)
7106{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected