MCPcopy Create free account
hub / github.com/Raais/ImStudio / IsWindowWithinBeginStackOf

Method IsWindowWithinBeginStackOf

src/third-party/imgui/imgui.cpp:6955–6966  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6953}
6954
6955bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
6956{
6957 if (window->RootWindow == potential_parent)
6958 return true;
6959 while (window != NULL)
6960 {
6961 if (window == potential_parent)
6962 return true;
6963 window = window->ParentWindowInBeginStack;
6964 }
6965 return false;
6966}
6967
6968bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below)
6969{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected