|
Size: 928
Comment: update WindowID > Window*
|
Size: 871
Comment: update content (w/ Sam); remove 'draft' note
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> 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.
