comparison src/video/cocoa/SDL_cocoavideo.m @ 5254:7a963be087ef

Mostly fixed fullscreen mode on Mac OS X, and you can toggle it on and off. There are still some problems with the ConvertNSRect() calculations when switching video modes, which causes wierd window positioning issues, and the fullscreen window is still minimized on exit.
author Sam Lantinga <slouken@libsdl.org>
date Fri, 11 Feb 2011 00:25:44 -0800
parents 455bc74f7034
children b530ef003506
comparison
equal deleted inserted replaced
5253:ff2564c24045 5254:7a963be087ef
88 device->HideWindow = Cocoa_HideWindow; 88 device->HideWindow = Cocoa_HideWindow;
89 device->RaiseWindow = Cocoa_RaiseWindow; 89 device->RaiseWindow = Cocoa_RaiseWindow;
90 device->MaximizeWindow = Cocoa_MaximizeWindow; 90 device->MaximizeWindow = Cocoa_MaximizeWindow;
91 device->MinimizeWindow = Cocoa_MinimizeWindow; 91 device->MinimizeWindow = Cocoa_MinimizeWindow;
92 device->RestoreWindow = Cocoa_RestoreWindow; 92 device->RestoreWindow = Cocoa_RestoreWindow;
93 device->SetWindowFullscreen = Cocoa_SetWindowFullscreen;
93 device->SetWindowGrab = Cocoa_SetWindowGrab; 94 device->SetWindowGrab = Cocoa_SetWindowGrab;
94 device->DestroyWindow = Cocoa_DestroyWindow; 95 device->DestroyWindow = Cocoa_DestroyWindow;
95 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo; 96 device->GetWindowWMInfo = Cocoa_GetWindowWMInfo;
96 97
97 device->shape_driver.CreateShaper = Cocoa_CreateShaper; 98 device->shape_driver.CreateShaper = Cocoa_CreateShaper;