MCPcopy Create free account
hub / github.com/RenderKit/embree / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

tutorials/common/imgui/imgui.cpp:5617–5622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5615}
5616
5617static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5618{
5619 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5620 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5621 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5622}
5623
5624ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5625{

Callers 2

CreateNewWindowFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected