| 5895 | } |
| 5896 | |
| 5897 | void ImGui::TreeNodeSetOpen(ImGuiID id, bool open) |
| 5898 | { |
| 5899 | ImGuiContext& g = *GImGui; |
| 5900 | ImGuiStorage* storage = g.CurrentWindow->DC.StateStorage; |
| 5901 | storage->SetInt(id, open ? 1 : 0); |
| 5902 | } |
| 5903 | |
| 5904 | bool ImGui::TreeNodeUpdateNextOpen(ImGuiID id, ImGuiTreeNodeFlags flags) |
| 5905 | { |