maximumSize property

WindowSize maximumSize

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

SDL Docs

Implementation

WindowSize get maximumSize {
  sdl.sdl.SDL_GetWindowMaximumSize(handle, sdl.xPointer, sdl.yPointer);
  return WindowSize(sdl.xPointer.value, sdl.yPointer.value);
}
void maximumSize=(WindowSize size)

Set the maximum size of the client area.

SDL Docs

Implementation

set maximumSize(final WindowSize size) =>
    sdl.sdl.SDL_SetWindowMaximumSize(handle, size.width, size.height);