You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Important: unlike legacy IsKeyPressed(ImGuiKey, bool repeat=true) which DEFAULT to repeat, this requires EXPLICIT repeat.
7783
7783
// [Internal] 2022/07: Do not call this directly! It is a temporary entry point which we will soon replace with an overload for IsKeyPressed() when we introduce key ownership.
typedefintImGuiInputReadFlags; // -> enum ImGuiInputReadFlags_ // Flags: for IsKeyPressedEx()
151
+
typedefintImGuiInputFlags; // -> enum ImGuiInputFlags_ // Flags: for IsKeyPressedEx()
152
152
typedefint ImGuiItemFlags; // -> enum ImGuiItemFlags_ // Flags: for PushItemFlag()
153
153
typedefint ImGuiItemStatusFlags; // -> enum ImGuiItemStatusFlags_ // Flags: for DC.LastItemStatusFlags
154
154
typedefint ImGuiOldColumnFlags; // -> enum ImGuiOldColumnFlags_ // Flags: for BeginColumns()
@@ -1243,15 +1243,15 @@ struct ImGuiInputEvent
1243
1243
1244
1244
// Flags for IsKeyPressedEx(). In upcoming feature this will be used more (and IsKeyPressedEx() renamed)
1245
1245
// Don't mistake with ImGuiInputTextFlags! (for ImGui::InputText() function)
1246
-
enumImGuiInputReadFlags_
1246
+
enumImGuiInputFlags_
1247
1247
{
1248
1248
// Flags for IsKeyPressedEx()
1249
-
ImGuiInputReadFlags_None = 0,
1250
-
ImGuiInputReadFlags_Repeat = 1 << 0, // Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1.
ImGuiInputFlags_Repeat = 1 << 0, // Return true on successive repeats. Default for legacy IsKeyPressed(). NOT Default for legacy IsMouseClicked(). MUST BE == 1.
0 commit comments