sdlSetWindowMaximumSize function

void sdlSetWindowMaximumSize(
  1. Pointer<SdlWindow> window,
  2. int maxW,
  3. int maxH
)

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

\param window the window to change \param max_w the maximum width of the window in pixels \param max_h the maximum height of the window in pixels

\since This function is available since SDL 2.0.0.

\sa SDL_GetWindowMaximumSize \sa SDL_SetWindowMinimumSize

extern DECLSPEC void SDLCALL SDL_SetWindowMaximumSize(SDL_Window * window, int max_w, int max_h)

Implementation

void sdlSetWindowMaximumSize(Pointer<SdlWindow> window, int maxW, int maxH) {
  final sdlSetWindowMaximumSizeLookupFunction = libSdl2.lookupFunction<
      Void Function(Pointer<SdlWindow> window, Int32 maxW, Int32 maxH),
      void Function(Pointer<SdlWindow> window, int maxW,
          int maxH)>('SDL_SetWindowMaximumSize');
  return sdlSetWindowMaximumSizeLookupFunction(window, maxW, maxH);
}