Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoavideo.m @ 1959:25d6537feea4
Implemented Cocoa key event handling.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 30 Jul 2006 05:18:33 +0000 |
parents | 420716272158 |
children | 4baee598306d |
comparison
equal
deleted
inserted
replaced
1958:5fc6fb0fb605 | 1959:25d6537feea4 |
---|---|
64 } | 64 } |
65 return NULL; | 65 return NULL; |
66 } | 66 } |
67 device->driverdata = data; | 67 device->driverdata = data; |
68 | 68 |
69 /* Find out what version of Mac OS X we're running */ | |
70 Gestalt(gestaltSystemVersion, &data->osversion); | |
71 | |
69 /* Set the function pointers */ | 72 /* Set the function pointers */ |
70 device->VideoInit = Cocoa_VideoInit; | 73 device->VideoInit = Cocoa_VideoInit; |
71 device->VideoQuit = Cocoa_VideoQuit; | 74 device->VideoQuit = Cocoa_VideoQuit; |
72 device->GetDisplayModes = Cocoa_GetDisplayModes; | 75 device->GetDisplayModes = Cocoa_GetDisplayModes; |
73 device->SetDisplayMode = Cocoa_SetDisplayMode; | 76 device->SetDisplayMode = Cocoa_SetDisplayMode; |