|
⇤ ← Revision 1 as of 2010-01-17 06:46:38
Size: 935
Comment: create page, add content
|
Size: 928
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.
