MCPcopy Create free account
hub / github.com/GPUOpen-LibrariesAndSDKs/Cauldron / SetWindowCollapsed

Function SetWindowCollapsed

libs/imgui/imgui.cpp:5654–5663  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5652}
5653
5654static void SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiCond cond)
5655{
5656 // Test condition (NB: bit 0 is always true) and clear flags for next time
5657 if (cond && (window->SetWindowCollapsedAllowFlags & cond) == 0)
5658 return;
5659 window->SetWindowCollapsedAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing);
5660
5661 // Set
5662 window->Collapsed = collapsed;
5663}
5664
5665void ImGui::SetWindowCollapsed(bool collapsed, ImGuiCond cond)
5666{

Callers 2

BeginMethod · 0.85
SetWindowCollapsedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected