FIXME-OPT: This is technically suboptimal, but it is simpler this way.
| 17691 | |
| 17692 | // FIXME-OPT: This is technically suboptimal, but it is simpler this way. |
| 17693 | void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack) |
| 17694 | { |
| 17695 | for (int i = 0; i < windows_size; i++) |
| 17696 | { |
| 17697 | ImGuiWindow* window = windows[i]; |
| 17698 | if (window->ParentWindowInBeginStack != parent_in_begin_stack) |
| 17699 | continue; |
| 17700 | char buf[20]; |
| 17701 | ImFormatString(buf, IM_COUNTOF(buf), "[%04d] Window", window->BeginOrderWithinContext); |
| 17702 | //BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name); |
| 17703 | DebugNodeWindow(window, buf); |
| 17704 | TreePush(buf); |
| 17705 | DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window); |
| 17706 | TreePop(); |
| 17707 | } |
| 17708 | } |
| 17709 | |
| 17710 | //----------------------------------------------------------------------------- |
| 17711 | // [SECTION] DEBUG LOG WINDOW |
nothing calls this directly
no test coverage detected