MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

plugins/Cardinal/src/DearImGui/imgui.cpp:5263–5268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5261}
5262
5263static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5264{
5265 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5266 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5267 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5268}
5269
5270ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5271{

Callers 2

CreateNewWindowFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected