Function sdl2_sys::SDL_SetWindowMaximumSize

source ·
pub unsafe extern "C" fn SDL_SetWindowMaximumSize(
    window: *mut SDL_Window,
    max_w: c_int,
    max_h: c_int,
)
Expand description

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