| 10188 | } |
| 10189 | |
| 10190 | static 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 | |
| 10199 | static void NavUpdateWindowingHighlightWindow(int focus_change_dir) |
| 10200 | { |
no outgoing calls
no test coverage detected