Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2013-08-08 20:36:33
Size: 1000
Editor: Sam Lantinga
Comment:
Revision 4 as of 2013-08-11 12:12:39
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 min_w,
                              int min_h)
Line 24: Line 24:
||'''w'''||the minimum width of the window in pixels||
||'''h'''||the minimum height of the window in pixels||
||'''min_w'''||the minimum width of the window in pixels||
||'''min_h'''||the minimum height of the window in pixels||

SDL_SetWindowMinimumSize

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

Syntax

void SDL_SetWindowMinimumSize(SDL_Window* window,
                              int         min_w,
                              int         min_h)

Function Parameters

window

the window to change

min_w

the minimum width of the window in pixels

min_h

the minimum 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_SetWindowMinimumSize (last edited 2013-08-11 12:12:39 by PhilippWiesemann)

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