MCPcopy Create free account
hub / github.com/RenderKit/embree / FindWindowNavFocusable

Function FindWindowNavFocusable

tutorials/common/imgui/imgui.cpp:11463–11470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11461}
11462
11463static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N)
11464{
11465 ImGuiContext& g = *GImGui;
11466 for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir)
11467 if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i]))
11468 return g.WindowsFocusOrder[i];
11469 return NULL;
11470}
11471
11472static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
11473{

Callers 2

NavUpdateWindowingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected