mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
TreeNode: extract code out of TreePop() into TreeNodeDrawLineToTreePop(). (#2920)
This commit is contained in:
parent
8c977bf7b3
commit
ee0d96ac0d
2 changed files with 34 additions and 27 deletions
|
|
@ -3471,6 +3471,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 TreeNodeDrawLineToTreePop(const ImGuiTreeNodeStackData* data);
|
||||
IMGUI_API void TreePushOverrideID(ImGuiID id);
|
||||
IMGUI_API bool TreeNodeGetOpen(ImGuiID storage_id);
|
||||
IMGUI_API void TreeNodeSetOpen(ImGuiID storage_id, bool open);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue