| 14483 | } |
| 14484 | |
| 14485 | static 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 | |
| 14494 | static void NavUpdateWindowingTarget(int focus_change_dir) |
| 14495 | { |
no outgoing calls
no test coverage detected