MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / FindWindowNavFocusable

Function FindWindowNavFocusable

Source/3rdParty/imgui/imgui.cpp:14485–14492  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14483}
14484
14485static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N)
14486{
14487 ImGuiContext& g = *GImGui;
14488 for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir)
14489 if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i]))
14490 return g.WindowsFocusOrder[i];
14491 return NULL;
14492}
14493
14494static void NavUpdateWindowingTarget(int focus_change_dir)
14495{

Callers 2

NavUpdateWindowingTargetFunction · 0.85
NavUpdateWindowingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected