MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / FindFrontMostVisibleChildWindow

Function FindFrontMostVisibleChildWindow

imgui_tiny_app/imgui/imgui.cpp:6101–6107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6099}
6100
6101static ImGuiWindow* FindFrontMostVisibleChildWindow(ImGuiWindow* window)
6102{
6103 for (int n = window->DC.ChildWindows.Size - 1; n >= 0; n--)
6104 if (IsWindowActiveAndVisible(window->DC.ChildWindows[n]))
6105 return FindFrontMostVisibleChildWindow(window->DC.ChildWindows[n]);
6106 return window;
6107}
6108
6109static void ImGui::RenderDimmedBackgroundBehindWindow(ImGuiWindow* window, ImU32 col)
6110{

Callers 1

Calls 1

IsWindowActiveAndVisibleFunction · 0.85

Tested by

no test coverage detected