Watch
2
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
3 changed files with 7 additions and 3 deletions

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();