Wiki Page Content

Differences between revisions 8 and 9
Revision 8 as of 2010-10-18 03:18:28
Size: 732
Editor: SheenaSmith
Comment: update content - pointers, structs
Revision 9 as of 2016-01-01 18:32:48
Size: 804
Comment: Updated with content from header file.
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
||'''w'''||the width of the window in pixels||
||'''h'''||the height of the window in pixels||
||'''w'''||the width of the window in pixels, in screen coordinates, must be > 0||
||'''h'''||the height of the window in pixels, in screen coordinates, must be > 0||

SDL_SetWindowSize

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

Syntax

void SDL_SetWindowSize(SDL_Window* window,
                       int         w,
                       int         h)

Function Parameters

window

the window to change

w

the width of the window in pixels, in screen coordinates, must be > 0

h

the height of the window in pixels, in screen coordinates, must be > 0

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryVideo

None: SDL_SetWindowSize (last edited 2017-10-22 01:28:18 by DanielG)

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