From a55050c0928cf60a75d759addb5c64d674adb445 Mon Sep 17 00:00:00 2001 From: ChrisDill Date: Fri, 12 Aug 2022 07:07:09 +0100 Subject: [PATCH] Comment fix --- Raylib-cs/interop/Raylib.cs | 14 +++++++------- Raylib-cs/types/Raylib.Utils.cs | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index c882c8d..a212ef3 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -82,7 +82,7 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void ClearWindowState(ConfigFlags flag); - /// Toggle fullscreen mode (only PLATFORM_DESKTOP) + /// Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP) [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void ToggleFullscreen(); @@ -158,19 +158,19 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Vector2 GetMonitorPosition(int monitor); - /// Get primary monitor width + /// Get specified monitor width [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetMonitorWidth(int monitor); - /// Get primary monitor height + /// Get specified monitor height [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetMonitorHeight(int monitor); - /// Get primary monitor physical width in millimetres + /// Get specified monitor physical width in millimetres [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetMonitorPhysicalWidth(int monitor); - /// Get primary monitor physical height in millimetres + /// Get specified monitor physical height in millimetres [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetMonitorPhysicalHeight(int monitor); @@ -186,7 +186,7 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern Vector2 GetWindowScaleDPI(); - /// Get the human-readable, UTF-8 encoded name of the primary monitor + /// Get the human-readable, UTF-8 encoded name of the specified monitor [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern sbyte* GetMonitorName(int monitor); @@ -554,7 +554,7 @@ namespace Raylib_cs [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern sbyte* GetWorkingDirectory(); - /// Get the directory if the running application (uses static string) + /// Get the directory of the running application (uses static string) [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern sbyte* GetApplicationDirectory(); diff --git a/Raylib-cs/types/Raylib.Utils.cs b/Raylib-cs/types/Raylib.Utils.cs index 737c6b3..6e9d76d 100644 --- a/Raylib-cs/types/Raylib.Utils.cs +++ b/Raylib-cs/types/Raylib.Utils.cs @@ -20,7 +20,7 @@ namespace Raylib_cs SetWindowTitle(str1.AsPointer()); } - /// Get the human-readable, UTF-8 encoded name of the primary monitor + /// Get the human-readable, UTF-8 encoded name of the specified monitor public static string GetMonitorName_(int monitor) { return Utf8StringUtils.GetUTF8String(GetMonitorName(monitor));