Wiki Page Content

Revision 4 as of 2010-09-15 04:20:16

Clear message

SDL_SetWindowSize

Use this function to set the size of the 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

h

the height of the window in pixels

Code Examples

You can add your code example here

Remarks

This function sets the size for a windowed window. To change the size of a fullscreen window use SDL_SetWindowDisplayMode() instead.


CategoryAPI, CategoryVideo

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