Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32modes.h @ 3500:4b594623401b
Work in progress on multi-display support:
* Added display parameter to many internal functions so video modes can be set on displays that aren't the public current one.
* The fullscreen mode is associated with fullscreen windows - not displays, so different windows more naturally have a mode associated with them based on their width and height. It's no longer necessary to specify a fullscreen mode, a default one will be picked automatically for fullscreen windows.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 01 Dec 2009 05:57:15 +0000 |
parents | 99210400e8b9 |
children | 76f9b76ddf0f |
comparison
equal
deleted
inserted
replaced
3499:4cf8a1423d57 | 3500:4b594623401b |
---|---|
29 TCHAR DeviceName[32]; | 29 TCHAR DeviceName[32]; |
30 } SDL_DisplayData; | 30 } SDL_DisplayData; |
31 | 31 |
32 typedef struct | 32 typedef struct |
33 { | 33 { |
34 TCHAR DeviceName[32]; | |
35 DEVMODE DeviceMode; | 34 DEVMODE DeviceMode; |
36 } SDL_DisplayModeData; | 35 } SDL_DisplayModeData; |
37 | 36 |
38 extern void WIN_InitModes(_THIS); | 37 extern void WIN_InitModes(_THIS); |
39 extern void WIN_GetDisplayModes(_THIS); | 38 extern void WIN_GetDisplayModes(_THIS, SDL_VideoDisplay * display); |
40 extern int WIN_SetDisplayMode(_THIS, SDL_DisplayMode * mode); | 39 extern int WIN_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); |
41 extern void WIN_QuitModes(_THIS); | 40 extern void WIN_QuitModes(_THIS); |
42 | 41 |
43 #endif /* _SDL_win32modes_h */ | 42 #endif /* _SDL_win32modes_h */ |
44 | 43 |
45 /* vi: set ts=4 sw=4 expandtab: */ | 44 /* vi: set ts=4 sw=4 expandtab: */ |