MCPcopy Create free account
hub / github.com/AlexandreRouma/SDRPlusPlus / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

core/src/imgui/imgui.cpp:5097–5102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5095}
5096
5097static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5098{
5099 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5100 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5101 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5102}
5103
5104ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5105{

Callers 2

CreateNewWindowFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected