Set the position of a window.
Defined in SDL_video.h
void SDL_SetWindowPosition(SDL_Window * window,
int x, int y);
SDL_Window * | window | the window to reposition. |
int | x | the x coordinate of the window in screen coordinates, or SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_UNDEFINED . |
int | y | the y coordinate of the window in screen coordinates, or SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_UNDEFINED . |
The window coordinate origin is the upper left of the display.
This function is available since SDL 2.0.0.