From 076c4c4aa23d533e3f09b18f01df4219726797ae Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Thu, 11 Nov 2021 12:00:42 +0000 Subject: [PATCH] Rename Gestures enum to Gesture --- Raylib-cs/Raylib.cs | 6 +++--- Raylib-cs/types/Input.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Raylib-cs/Raylib.cs b/Raylib-cs/Raylib.cs index beaf96f..c7741b4 100644 --- a/Raylib-cs/Raylib.cs +++ b/Raylib-cs/Raylib.cs @@ -776,16 +776,16 @@ namespace Raylib_cs /// Enable a set of gestures using flags [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern void SetGesturesEnabled(Gestures flags); + public static extern void SetGesturesEnabled(Gesture flags); /// Check if a gesture have been detected [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [return: MarshalAs(UnmanagedType.I1)] - public static extern bool IsGestureDetected(Gestures gesture); + public static extern bool IsGestureDetected(Gesture gesture); /// Get latest detected gesture [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] - public static extern Gestures GetGestureDetected(); + public static extern Gesture GetGestureDetected(); /// Get touch points count [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] diff --git a/Raylib-cs/types/Input.cs b/Raylib-cs/types/Input.cs index 18677ae..cc1030b 100644 --- a/Raylib-cs/types/Input.cs +++ b/Raylib-cs/types/Input.cs @@ -350,10 +350,10 @@ namespace Raylib_cs GAMEPAD_BUTTON_RIGHT_THUMB } - /// Gestures + /// Gesture /// NOTE: It could be used as flags to enable only some gestures [Flags] - public enum Gestures + public enum Gesture { GESTURE_NONE = 0, GESTURE_TAP = 1,