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

Method FindWindowFocusIndex

include/imgui/imgui.cpp:12900–12908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12898}
12899
12900static int ImGui::FindWindowFocusIndex(ImGuiWindow* window)
12901{
12902 ImGuiContext& g = *GImGui;
12903 IM_UNUSED(g);
12904 int order = window->FocusOrder;
12905 IM_ASSERT(window->RootWindow == window); // No child window (not testing _ChildWindow because of docking)
12906 IM_ASSERT(g.WindowsFocusOrder[order] == window);
12907 return order;
12908}
12909
12910static void ImGui::UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, ImGuiWindowFlags new_flags)
12911{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected