Watch
3
0
Fork
You've already forked raylib-cs
0

Add SetWindowFocused

This commit is contained in:
MrScautHD 2023-11-19 12:22:20 +01:00
commit 8872f3624f

View file

@ -138,6 +138,10 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void SetWindowOpacity(float opacity);
/// <summary>Set window focused (only PLATFORM_DESKTOP)</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void SetWindowFocused();
/// <summary>Get native window handle</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void* GetWindowHandle();