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

Method IsWindowInBeginStack

include/imgui/imgui.cpp:8424–8431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8422}
8423
8424bool ImGui::IsWindowInBeginStack(ImGuiWindow* window)
8425{
8426 ImGuiContext& g = *GImGui;
8427 for (int n = g.CurrentWindowStack.Size - 1; n >= 0; n--)
8428 if (g.CurrentWindowStack[n].Window == window)
8429 return true;
8430 return false;
8431}
8432
8433bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
8434{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected