MCPcopy Create free account
hub / github.com/Wemino/MarkerPatch / SetNextWindowCollapsed

Method SetNextWindowCollapsed

include/imgui/imgui.cpp:8712–8719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8710}
8711
8712void ImGui::SetNextWindowCollapsed(bool collapsed, ImGuiCond cond)
8713{
8714 ImGuiContext& g = *GImGui;
8715 IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags.
8716 g.NextWindowData.HasFlags |= ImGuiNextWindowDataFlags_HasCollapsed;
8717 g.NextWindowData.CollapsedVal = collapsed;
8718 g.NextWindowData.CollapsedCond = cond ? cond : ImGuiCond_Always;
8719}
8720
8721void ImGui::SetNextWindowBgAlpha(float alpha)
8722{

Callers

nothing calls this directly

Calls 1

ImIsPowerOfTwoFunction · 0.85

Tested by

no test coverage detected