Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-01-17 06:46:38
Size: 935
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2010-01-21 17:40:06
Size: 928
Editor: SheenaSmith
Comment: update WindowID > Window*
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
void SDL_SetWindowPosition(SDL_WindowID windowID,
                           int  x,
                           int  y)
void SDL_SetWindowPosition(SDL_Window* window,
                           int x,
                           int y)
Line 18: Line 18:
||'''windowID'''||the window to reposition|| ||'''window'''||the window to reposition||

DRAFT

SDL_SetWindowPosition

Use this function to set the position of the window.

Syntax

void SDL_SetWindowPosition(SDL_Window* window,
                           int         x,
                           int         y)

Function Parameters

window

the window to reposition

x

the x coordinate of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED

y

the y coordinate of the window, SDL_WINDOWPOS_CENTERED, or SDL_WINDOWPOS_UNDEFINED

Code Examples

You can add your code example here

Remarks

The window coordinate origin is the upper left of the display.


CategoryAPI, CategoryVideo

None: SDL_SetWindowPosition (last edited 2016-01-01 18:28:03 by PhilippWiesemann)

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