Package imgui.flag
Class ImGuiCond
java.lang.Object
imgui.flag.ImGuiCond
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intNo condition (always set the variable), same as _Nonestatic final intSet the variable if the object/window is appearing after being hidden/inactive (or the first time)static final intSet the variable if the object/window has no persistently saved data (no entry in .ini file)static final intNo condition (always set the variable), same as _Alwaysstatic final intSet the variable once per runtime session (only the first call will succeed) -
Method Summary
-
Field Details
-
None
public static final int NoneNo condition (always set the variable), same as _AlwaysDefinition:
0- See Also:
-
Always
public static final int AlwaysNo condition (always set the variable), same as _NoneDefinition:
1 << 0- See Also:
-
Once
public static final int OnceSet the variable once per runtime session (only the first call will succeed)Definition:
1 << 1- See Also:
-
FirstUseEver
public static final int FirstUseEverSet the variable if the object/window has no persistently saved data (no entry in .ini file)Definition:
1 << 2- See Also:
-
Appearing
public static final int AppearingSet the variable if the object/window is appearing after being hidden/inactive (or the first time)Definition:
1 << 3- See Also:
-