| 5887 | } |
| 5888 | |
| 5889 | void ImGui::TreeNodeSetOpen(ImGuiID id, bool open) |
| 5890 | { |
| 5891 | ImGuiContext& g = *GImGui; |
| 5892 | ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; |
| 5893 | storage->SetInt(id, open ? 1 : 0); |
| 5894 | } |
| 5895 | |
| 5896 | bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags) |
| 5897 | { |