Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoavideo.m @ 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 | 00cace2d9080 |
children | c5925cd41955 |
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoavideo.m Sun Dec 06 06:21:39 2009 +0000 +++ b/src/video/cocoa/SDL_cocoavideo.m Sun Dec 06 08:03:38 2009 +0000 @@ -72,6 +72,7 @@ /* Set the function pointers */ device->VideoInit = Cocoa_VideoInit; device->VideoQuit = Cocoa_VideoQuit; + device->GetDisplayBounds = Cocoa_GetDisplayBounds; device->GetDisplayModes = Cocoa_GetDisplayModes; device->SetDisplayMode = Cocoa_SetDisplayMode; device->PumpEvents = Cocoa_PumpEvents;