Set the position of a window.
Defined in SDL_video.h
window | the window to reposition |
x | the x coordinate of the window in screen coordinates, or SDL_WINDOWPOS_CENTERED or SDL_WINDOWPOS_UNDEFINED |
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.