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.
| 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. |
| 1772 | enum 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<> |
nothing calls this directly
no outgoing calls
no test coverage detected