comparison src/video/cocoa/SDL_cocoavideo.m @ 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 00cace2d9080
children c5925cd41955
comparison
equal deleted inserted replaced
3527:444cb12cadb6 3528:59ff7a2beb57
70 Gestalt(gestaltSystemVersion, &data->osversion); 70 Gestalt(gestaltSystemVersion, &data->osversion);
71 71
72 /* Set the function pointers */ 72 /* Set the function pointers */
73 device->VideoInit = Cocoa_VideoInit; 73 device->VideoInit = Cocoa_VideoInit;
74 device->VideoQuit = Cocoa_VideoQuit; 74 device->VideoQuit = Cocoa_VideoQuit;
75 device->GetDisplayBounds = Cocoa_GetDisplayBounds;
75 device->GetDisplayModes = Cocoa_GetDisplayModes; 76 device->GetDisplayModes = Cocoa_GetDisplayModes;
76 device->SetDisplayMode = Cocoa_SetDisplayMode; 77 device->SetDisplayMode = Cocoa_SetDisplayMode;
77 device->PumpEvents = Cocoa_PumpEvents; 78 device->PumpEvents = Cocoa_PumpEvents;
78 79
79 device->CreateWindow = Cocoa_CreateWindow; 80 device->CreateWindow = Cocoa_CreateWindow;