FIXME-OPT: This is technically suboptimal, but it is simpler this way.
| 14860 | |
| 14861 | // FIXME-OPT: This is technically suboptimal, but it is simpler this way. |
| 14862 | void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack) |
| 14863 | { |
| 14864 | for (int i = 0; i < windows_size; i++) |
| 14865 | { |
| 14866 | ImGuiWindow* window = windows[i]; |
| 14867 | if (window->ParentWindowInBeginStack != parent_in_begin_stack) |
| 14868 | continue; |
| 14869 | char buf[20]; |
| 14870 | ImFormatString(buf, IM_ARRAYSIZE(buf), "[%04d] Window", window->BeginOrderWithinContext); |
| 14871 | //BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name); |
| 14872 | DebugNodeWindow(window, buf); |
| 14873 | Indent(); |
| 14874 | DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window); |
| 14875 | Unindent(); |
| 14876 | } |
| 14877 | } |
| 14878 | |
| 14879 | //----------------------------------------------------------------------------- |
| 14880 | // [SECTION] DEBUG LOG WINDOW |
nothing calls this directly
no test coverage detected