1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-24 02:14:22 +00:00

TreeNode: extracted TreeNodeDrawLineToChildNode() for usage by custom widgets (#2920)

This commit is contained in:
ocornut 2025-04-09 12:04:09 +02:00
parent 39f34e1e58
commit 789de09dda
5 changed files with 29 additions and 16 deletions

View file

@ -16578,9 +16578,9 @@ void ImGui::DebugNodeWindowsListByBeginStackParent(ImGuiWindow** windows, int wi
ImFormatString(buf, IM_ARRAYSIZE(buf), "[%04d] Window", window->BeginOrderWithinContext);
//BulletText("[%04d] Window '%s'", window->BeginOrderWithinContext, window->Name);
DebugNodeWindow(window, buf);
Indent();
TreePush(buf);
DebugNodeWindowsListByBeginStackParent(windows + i + 1, windows_size - i - 1, window);
Unindent();
TreePop();
}
}