From 3ef16c7c73061da862c592e87adb71bd72c6c1ed Mon Sep 17 00:00:00 2001 From: JupiterRider <60042618+JupiterRider@users.noreply.github.com> Date: Tue, 3 Dec 2024 19:47:17 +0100 Subject: [PATCH] some documentation comments updated --- Raylib-cs/interop/Raylib.cs | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Raylib-cs/interop/Raylib.cs b/Raylib-cs/interop/Raylib.cs index 90f95fd..e32f8e0 100644 --- a/Raylib-cs/interop/Raylib.cs +++ b/Raylib-cs/interop/Raylib.cs @@ -50,19 +50,19 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsWindowFullscreen(); - /// Check if window is currently hidden (only PLATFORM_DESKTOP) + /// Check if window is currently hidden [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsWindowHidden(); - /// Check if window is currently minimized (only PLATFORM_DESKTOP) + /// Check if window is currently minimized [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsWindowMinimized(); - /// Check if window is currently maximized (only PLATFORM_DESKTOP) + /// Check if window is currently maximized [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsWindowMaximized(); - /// Check if window is currently focused (only PLATFORM_DESKTOP) + /// Check if window is currently focused [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern CBool IsWindowFocused(); @@ -82,39 +82,39 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void ClearWindowState(ConfigFlags flag); - /// Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP) + /// Toggle window state: fullscreen/windowed, resizes monitor to match window resolution [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void ToggleFullscreen(); - /// Toggle window state: borderless windowed (only PLATFORM_DESKTOP) + /// Toggle window state: borderless windowed, resizes window to match monitor resolution [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void ToggleBorderlessWindowed(); - /// Set window state: maximized, if resizable (only PLATFORM_DESKTOP) + /// Set window state: maximized, if resizable [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void MaximizeWindow(); - /// Set window state: minimized, if resizable (only PLATFORM_DESKTOP) + /// Set window state: minimized, if resizable [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void MinimizeWindow(); - /// Set window state: not minimized/maximized (only PLATFORM_DESKTOP) + /// Set window state: not minimized/maximized [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void RestoreWindow(); - /// Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP) + /// Set icon for window (single image, RGBA 32bit) [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowIcon(Image image); - /// Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP) + /// Set icon for window (multiple images, RGBA 32bit) [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowIcons(Image* images, int count); - /// Set title for window (only PLATFORM_DESKTOP) + /// Set title for window [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowTitle(sbyte* title); - /// Set window position on screen (only PLATFORM_DESKTOP) + /// Set window position on screen [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowPosition(int x, int y); @@ -134,11 +134,11 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowSize(int width, int height); - /// Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP) + /// Set window opacity [0.0f..1.0f] [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowOpacity(float opacity); - /// Set window focused (only PLATFORM_DESKTOP) + /// Set window focused [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void SetWindowFocused(); @@ -166,7 +166,7 @@ public static unsafe partial class Raylib [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetMonitorCount(); - /// Get current connected monitor + /// Get current monitor where window is placed [DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern int GetCurrentMonitor();