diff 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
line wrap: on
line diff
--- a/src/video/cocoa/SDL_cocoamodes.h	Mon Nov 30 21:04:25 2009 +0000
+++ b/src/video/cocoa/SDL_cocoamodes.h	Tue Dec 01 05:57:15 2009 +0000
@@ -35,8 +35,8 @@
 } SDL_DisplayModeData;
 
 extern void Cocoa_InitModes(_THIS);
-extern void Cocoa_GetDisplayModes(_THIS);
-extern int Cocoa_SetDisplayMode(_THIS, SDL_DisplayMode * mode);
+extern void Cocoa_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
+extern int Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
 extern void Cocoa_QuitModes(_THIS);
 
 #endif /* _SDL_cocoamodes_h */