MCPcopy Create free account
hub / github.com/ShenCiao/CialloResearch / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

imgui/imgui.cpp:5575–5581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5573}
5574
5575static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5576{
5577 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5578 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5579 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5580 window->SetWindowDockAllowFlags = enabled ? (window->SetWindowDockAllowFlags | flags) : (window->SetWindowDockAllowFlags & ~flags);
5581}
5582
5583ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5584{

Callers 2

CreateNewWindowFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected