FIXME-OPT: This is technically suboptimal, but it is simpler this way.
| 13850 | |
| 13851 | // FIXME-OPT: This is technically suboptimal, but it is simpler this way. |
| 13852 | void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int windows_size, ImGuiWindow* parent_in_begin_stack) |
| 13853 | { |
| 13854 | for (int i = 0; i < windows_size; i++) |
| 13855 | { |
| 13856 | ImGuiWindow* window = windows[i]; |
| 13857 | if (window->ParentWindowInBeginStack != parent_in_begin_stack) |
| 13858 | continue; |
| 13859 | char buf[20]; |
| 13860 | ImFormatString(buf, IM_ARRAYSIZE(buf), "[%04d] Window", window->BeginOrderWithinContext); |
| 13861 | //BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name); |
| 13862 | DebugNodeWindow(window, buf); |
| 13863 | Indent(); |
| 13864 | DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window); |
| 13865 | Unindent(); |
| 13866 | } |
| 13867 | } |
| 13868 | |
| 13869 | //----------------------------------------------------------------------------- |
| 13870 | // [SECTION] DEBUG LOG WINDOW |
nothing calls this directly
no test coverage detected