MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

engine/3rdparty/imgui/imgui.cpp:5476–5482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5474}
5475
5476static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5477{
5478 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5479 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5480 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5481 window->SetWindowDockAllowFlags = enabled ? (window->SetWindowDockAllowFlags | flags) : (window->SetWindowDockAllowFlags & ~flags);
5482}
5483
5484ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5485{

Callers 2

CreateNewWindowFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected