MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / FindWindowNavFocusable

Function FindWindowNavFocusable

KBotExt/imgui/imgui.cpp:12028–12035  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12026}
12027
12028static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N)
12029{
12030 ImGuiContext& g = *GImGui;
12031 for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir)
12032 if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i]))
12033 return g.WindowsFocusOrder[i];
12034 return NULL;
12035}
12036
12037static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
12038{

Callers 2

NavUpdateWindowingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected