Set next TreeNode/CollapsingHeader open state.
| 7273 | |
| 7274 | // Set next TreeNode/CollapsingHeader open state. |
| 7275 | void ImGui::SetNextItemOpen(bool is_open, ImGuiCond cond) |
| 7276 | { |
| 7277 | ImGuiContext& g = *GImGui; |
| 7278 | if (g.CurrentWindow->SkipItems) |
| 7279 | return; |
| 7280 | g.NextItemData.HasFlags |= ImGuiNextItemDataFlags_HasOpen; |
| 7281 | g.NextItemData.OpenVal = is_open; |
| 7282 | g.NextItemData.OpenCond = (ImU8)(cond ? cond : ImGuiCond_Always); |
| 7283 | } |
| 7284 | |
| 7285 | // Set next TreeNode/CollapsingHeader storage id. |
| 7286 | void ImGui::SetNextItemStorageID(ImGuiID storage_id) |
nothing calls this directly
no outgoing calls
no test coverage detected