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

Enum ImGuiCond_

KBotExt/imgui/imgui.h:1772–1779  ·  view source on GitHub ↗

Enumeration for ImGui::SetWindow***(), SetNextWindow***(), SetNextItem***() functions Represent a condition. Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always.

Source from the content-addressed store, hash-verified

1770// Represent a condition.
1771// Important: Treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGuiCond_Always.
1772enum ImGuiCond_
1773{
1774 ImGuiCond_None = 0, // No condition (always set the variable), same as _Always
1775 ImGuiCond_Always = 1 << 0, // No condition (always set the variable), same as _None
1776 ImGuiCond_Once = 1 << 1, // Set the variable once per runtime session (only the first call will succeed)
1777 ImGuiCond_FirstUseEver = 1 << 2, // Set the variable if the object/window has no persistently saved data (no entry in .ini file)
1778 ImGuiCond_Appearing = 1 << 3, // Set the variable if the object/window is appearing after being hidden/inactive (or the first time)
1779};
1780
1781//-----------------------------------------------------------------------------
1782// [SECTION] Helpers: Memory allocations macros, ImVector<>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected