MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / SetWindowConditionAllowFlags

Function SetWindowConditionAllowFlags

KBotExt/imgui/imgui.cpp:5495–5500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5493}
5494
5495static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
5496{
5497 window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
5498 window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSizeAllowFlags | flags) : (window->SetWindowSizeAllowFlags & ~flags);
5499 window->SetWindowCollapsedAllowFlags = enabled ? (window->SetWindowCollapsedAllowFlags | flags) : (window->SetWindowCollapsedAllowFlags & ~flags);
5500}
5501
5502ImGuiWindow* ImGui::FindWindowByID(ImGuiID id)
5503{

Callers 2

InitOrLoadWindowSettingsFunction · 0.85
BeginMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected