FIXME-OPT: This is technically suboptimal, but it is simpler this way.
| 14542 | |
| 14543 | // FIXME-OPT: This is technically suboptimal, but it is simpler this way. |
| 14544 | void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack) |
| 14545 | { |
| 14546 | for (int i = 0; i < windows_size; i++) |
| 14547 | { |
| 14548 | ImGuiWindow* window = windows[i]; |
| 14549 | if (window->ParentWindowInBeginStack != parent_in_begin_stack) |
| 14550 | continue; |
| 14551 | char buf[20]; |
| 14552 | ImFormatString(buf, IM_ARRAYSIZE(buf), "[%04d] Window", window->BeginOrderWithinContext); |
| 14553 | //BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name); |
| 14554 | DebugNodeWindow(window, buf); |
| 14555 | Indent(); |
| 14556 | DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window); |
| 14557 | Unindent(); |
| 14558 | } |
| 14559 | } |
| 14560 | |
| 14561 | //----------------------------------------------------------------------------- |
| 14562 | // [SECTION] DEBUG LOG WINDOW |
nothing calls this directly
no test coverage detected