comparison src/video/win32/SDL_win32modes.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 76f9b76ddf0f
children f7b03b6838cb
comparison
equal deleted inserted replaced
3527:444cb12cadb6 3528:59ff7a2beb57
33 { 33 {
34 DEVMODE DeviceMode; 34 DEVMODE DeviceMode;
35 } SDL_DisplayModeData; 35 } SDL_DisplayModeData;
36 36
37 extern int WIN_InitModes(_THIS); 37 extern int WIN_InitModes(_THIS);
38 extern int WIN_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
38 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display); 39 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
39 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); 40 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
40 extern void WIN_QuitModes(_THIS); 41 extern void WIN_QuitModes(_THIS);
41 42
42 #endif /* _SDL_win32modes_h */ 43 #endif /* _SDL_win32modes_h */