Mercurial > sdl-ios-xcode
comparison src/video/directfb/SDL_DirectFB_modes.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 | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3499:4cf8a1423d57 | 3500:4b594623401b |
---|---|
46 int ch; | 46 int ch; |
47 }; | 47 }; |
48 | 48 |
49 | 49 |
50 extern void DirectFB_InitModes(_THIS); | 50 extern void DirectFB_InitModes(_THIS); |
51 extern void DirectFB_GetDisplayModes(_THIS); | 51 extern void DirectFB_GetDisplayModes(_THIS, SDL_VideoDisplay * display); |
52 extern int DirectFB_SetDisplayMode(_THIS, SDL_DisplayMode * mode); | 52 extern int DirectFB_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); |
53 extern void DirectFB_QuitModes(_THIS); | 53 extern void DirectFB_QuitModes(_THIS); |
54 | 54 |
55 #endif /* _SDL_directfb_modes_h */ | 55 #endif /* _SDL_directfb_modes_h */ |
56 | 56 |
57 /* vi: set ts=4 sw=4 expandtab: */ | 57 /* vi: set ts=4 sw=4 expandtab: */ |