| 11461 | } |
| 11462 | |
| 11463 | static 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 | |
| 11472 | static void NavUpdateWindowingHighlightWindow(int focus_change_dir) |
| 11473 | { |
no outgoing calls
no test coverage detected