comparison src/video/cocoa/SDL_cocoamodes.h @ 3528:59ff7a2beb57

Added an API function to query geometry of multiple monitors: SDL_GetDisplayBounds() Implemented multi-monitor window positions on Windows
author Sam Lantinga <slouken@libsdl.org>
date Sun, 06 Dec 2009 08:03:38 +0000
parents 455a6c47d2c6
children f7b03b6838cb
comparison
equal deleted inserted replaced
3527:444cb12cadb6 3528:59ff7a2beb57
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 NSRect Cocoa_DisplayBounds(CGDirectDisplayID display); 38 extern int Cocoa_GetDisplayBounds(_THIS, SDL_VideoDisplay * display, SDL_Rect * rect);
39 extern void Cocoa_GetDisplayModes(_THIS, SDL_VideoDisplay * display); 39 extern void Cocoa_GetDisplayModes(_THIS, SDL_VideoDisplay * display);
40 extern int Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode); 40 extern int Cocoa_SetDisplayMode(_THIS, SDL_VideoDisplay * display, SDL_DisplayMode * mode);
41 extern void Cocoa_QuitModes(_THIS); 41 extern void Cocoa_QuitModes(_THIS);
42 42
43 #endif /* _SDL_cocoamodes_h */ 43 #endif /* _SDL_cocoamodes_h */