comparison src/video/x11/SDL_x11modes.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 ffdd533f7add
children 76f9b76ddf0f
comparison
equal deleted inserted replaced
3499:4cf8a1423d57 3500:4b594623401b
53 #endif 53 #endif
54 54
55 } SDL_DisplayData; 55 } SDL_DisplayData;
56 56
57 extern void X11_InitModes(_THIS); 57 extern void X11_InitModes(_THIS);
58 extern void X11_GetDisplayModes(_THIS); 58 extern void X11_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
59 extern int X11_SetDisplayMode(_THIS, SDL_DisplayMode * mode); 59 extern int X11_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
60 extern void X11_QuitModes(_THIS); 60 extern void X11_QuitModes(_THIS);
61 61
62 #endif /* _SDL_x11modes_h */ 62 #endif /* _SDL_x11modes_h */
63 63
64 /* vi: set ts=4 sw=4 expandtab: */ 64 /* vi: set ts=4 sw=4 expandtab: */