Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32video.c @ 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 | 76f9b76ddf0f |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3527:444cb12cadb6 | 3528:59ff7a2beb57 |
---|---|
158 } | 158 } |
159 | 159 |
160 /* Set the function pointers */ | 160 /* Set the function pointers */ |
161 device->VideoInit = WIN_VideoInit; | 161 device->VideoInit = WIN_VideoInit; |
162 device->VideoQuit = WIN_VideoQuit; | 162 device->VideoQuit = WIN_VideoQuit; |
163 device->GetDisplayBounds = WIN_GetDisplayBounds; | |
163 device->GetDisplayModes = WIN_GetDisplayModes; | 164 device->GetDisplayModes = WIN_GetDisplayModes; |
164 device->SetDisplayMode = WIN_SetDisplayMode; | 165 device->SetDisplayMode = WIN_SetDisplayMode; |
165 device->SetDisplayGammaRamp = WIN_SetDisplayGammaRamp; | 166 device->SetDisplayGammaRamp = WIN_SetDisplayGammaRamp; |
166 device->GetDisplayGammaRamp = WIN_GetDisplayGammaRamp; | 167 device->GetDisplayGammaRamp = WIN_GetDisplayGammaRamp; |
167 device->PumpEvents = WIN_PumpEvents; | 168 device->PumpEvents = WIN_PumpEvents; |