Added an API function to query geometry of multiple monitors:

SDL_GetDisplayBounds()

Implemented multi-monitor window positions on Windows

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404271
This commit is contained in:
Sam Lantinga 2009-12-06 08:03:38 +00:00
parent 540357e23a
commit 52f2433c29
13 changed files with 124 additions and 34 deletions

View file

@ -212,6 +212,11 @@ struct SDL_VideoDevice
* Display functions
*/
/*
* Get the bounds of a display
*/
int (*GetDisplayBounds) (_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
/*
* Get a list of the available display modes. e.g.
* SDL_AddDisplayMode(_this->current_display, mode)