MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / FindWindowNavFocusable

Function FindWindowNavFocusable

plugins/Cardinal/src/DearImGui/imgui.cpp:10190–10197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10188}
10189
10190static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N)
10191{
10192 ImGuiContext& g = *GImGui;
10193 for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir)
10194 if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i]))
10195 return g.WindowsFocusOrder[i];
10196 return NULL;
10197}
10198
10199static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
10200{

Callers 2

NavUpdateWindowingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected