Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-17 06:57:46
Size: 886
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-01-21 17:32:46
Size: 879
Editor: SheenaSmith
Comment: update WindowID > Window*
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
void SDL_SetWindowSize(SDL_WindowID windowID,
                       int  w,
                       int  h)
void SDL_SetWindowSize(SDL_Window* window,
                       int w,
                       int h)
Line 18: Line 18:
||'''windowID'''||the type used to identify the window|| ||'''window'''||the type used to identify the window||

DRAFT

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 type used to identify the window

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

You can't change the size of a fullscreen window, it automatically matches the size of the display mode.


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