Wiki Page Content

Differences between revisions 2 and 3
Revision 2 as of 2013-08-08 20:35:37
Size: 1000
Editor: Sam Lantinga
Comment:
Revision 3 as of 2013-08-11 12:13:58
Size: 1016
Comment: Changed parameter names to match SDL_video.h.
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
                              int w,
                              int h)
                              int max_w,
                              int max_h)
Line 24: Line 24:
||'''w'''||the maximum width of the window in pixels||
||'''h'''||the maximum height of the window in pixels||
||'''max_w'''||the maximum width of the window in pixels||
||'''max_h'''||the maximum height of the window in pixels||

SDL_SetWindowMaximumSize

Use this function to set the maximum size of a window's client area.

Syntax

void SDL_SetWindowMaximumSize(SDL_Window* window,
                              int         max_w,
                              int         max_h)

Function Parameters

window

the window to change

max_w

the maximum width of the window in pixels

max_h

the maximum height of the window in pixels

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_SetWindowMaximumSize (last edited 2013-08-11 12:13:58 by PhilippWiesemann)

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit