sdlGetWindowMaximumSize function

void sdlGetWindowMaximumSize(
  1. Pointer<SdlWindow> window,
  2. Pointer<Int32> w,
  3. Pointer<Int32> h
)

Get the maximum size of a window's client area.

\param window the window to query \param w a pointer filled in with the maximum width of the window, may be NULL \param h a pointer filled in with the maximum height of the window, may be NULL

\since This function is available since SDL 2.0.0.

\sa SDL_GetWindowMinimumSize \sa SDL_SetWindowMaximumSize

extern DECLSPEC void SDLCALL SDL_GetWindowMaximumSize(SDL_Window * window, int *w, int *h)

Implementation

void sdlGetWindowMaximumSize(
    Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h) {
  final sdlGetWindowMaximumSizeLookupFunction = libSdl2.lookupFunction<
      Void Function(
          Pointer<SdlWindow> window, Pointer<Int32> w, Pointer<Int32> h),
      void Function(Pointer<SdlWindow> window, Pointer<Int32> w,
          Pointer<Int32> h)>('SDL_GetWindowMaximumSize');
  return sdlGetWindowMaximumSizeLookupFunction(window, w, h);
}