Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoamodes.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 | 455a6c47d2c6 |
comparison
equal
deleted
inserted
replaced
3499:4cf8a1423d57 | 3500:4b594623401b |
---|---|
33 { | 33 { |
34 CFDictionaryRef moderef; | 34 CFDictionaryRef moderef; |
35 } SDL_DisplayModeData; | 35 } SDL_DisplayModeData; |
36 | 36 |
37 extern void Cocoa_InitModes(_THIS); | 37 extern void Cocoa_InitModes(_THIS); |
38 extern void Cocoa_GetDisplayModes(_THIS); | 38 extern void Cocoa_GetDisplayModes(_THIS, SDL_VideoDisplay * display); |
39 extern int Cocoa_SetDisplayMode(_THIS, SDL_DisplayMode * mode); | 39 extern int Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); |
40 extern void Cocoa_QuitModes(_THIS); | 40 extern void Cocoa_QuitModes(_THIS); |
41 | 41 |
42 #endif /* _SDL_cocoamodes_h */ | 42 #endif /* _SDL_cocoamodes_h */ |
43 | 43 |
44 /* vi: set ts=4 sw=4 expandtab: */ | 44 /* vi: set ts=4 sw=4 expandtab: */ |