MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / TreeNodeSetOpen

Method TreeNodeSetOpen

3rdparty/imgui/src/imgui_widgets.cpp:6791–6796  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6789}
6790
6791void 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
6798bool ImGui::TreeNodeUpdateNextOpen(ImGuiID storage_id, ImGuiTreeNodeFlags flags)
6799{

Callers

nothing calls this directly

Calls 1

SetIntMethod · 0.45

Tested by

no test coverage detected