diff src/video/SDL_sysvideo.h @ 3528:59ff7a2beb57

Added an API function to query geometry of multiple monitors: SDL_GetDisplayBounds() Implemented multi-monitor window positions on Windows
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Dec 2009 08:03:38 +0000
parents e7eec78e4b92
children 0267b8b1595c
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Sun Dec 06 06:21:39 2009 +0000
+++ b/src/video/SDL_sysvideo.h	Sun Dec 06 08:03:38 2009 +0000
@@ -213,6 +213,11 @@
      */
 
     /*
+     * 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)
      */