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

@@ -3467,6 +3467,7 @@ namespace ImGui
// Widgets: Tree Nodes
IMGUI_API bool TreeNodeBehavior(ImGuiID id, ImGuiTreeNodeFlags flags, const char* label, const char* label_end = NULL);
IMGUI_API void TreeNodeDrawLineToChildNode(const ImVec2& target_pos);
IMGUI_API void TreePushOverrideID(ImGuiID id);
IMGUI_API bool TreeNodeGetOpen(ImGuiID storage_id);
IMGUI_API void TreeNodeSetOpen(ImGuiID storage_id, bool open);