| 6789 | } |
| 6790 | |
| 6791 | void ImGui::TreeNodeSetOpen(ImGuiID storage_id, bool is_open) |
| 6792 | { |
| 6793 | ImGuiContext& g = *GImGui; |
| 6794 | ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; |
| 6795 | storage->SetInt(storage_id, is_open ? 1 : 0); |
| 6796 | } |
| 6797 | |
| 6798 | bool ImGui::TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags) |
| 6799 | { |