mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2024-12-23 09:35:39 +00:00
Added SDL_Window[Get/Set]MinimumSize and SDL_Window[Get/Set]MaximumSize.
This commit is contained in:
parent
ed8c91d2f3
commit
fbe2627fd4
32
src/SDL2.cs
32
src/SDL2.cs
|
@ -1343,6 +1343,22 @@ namespace SDL2
|
|||
IntPtr window
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_GetWindowMaximumSize(
|
||||
IntPtr window,
|
||||
out int max_w,
|
||||
out int max_h
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_GetWindowMinimumSize(
|
||||
IntPtr window,
|
||||
out int min_w,
|
||||
out int min_h
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_GetWindowPosition(
|
||||
|
@ -1531,6 +1547,22 @@ namespace SDL2
|
|||
IntPtr icon
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_SetWindowMaximumSize(
|
||||
IntPtr window,
|
||||
int max_w,
|
||||
int max_h
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_SetWindowMinimumSize(
|
||||
IntPtr window,
|
||||
int min_w,
|
||||
int min_h
|
||||
);
|
||||
|
||||
/* window refers to an SDL_Window* */
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
public static extern void SDL_SetWindowPosition(
|
||||
|
|
Loading…
Reference in a new issue