Mercurial > sdl-ios-xcode
comparison src/video/quartz/SDL_QuartzVideo.h @ 4070:b8f2db95145e SDL-1.2
Patch from Christian Walther
Yes, the idea to use a cursor rectangle instead of [NSCursor set] has occurred
to me too, and it does seem to be the most elegant way. Here's my attempt at an
implementation
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 15 Jul 2007 15:58:00 +0000 |
parents | 58a5055da431 |
children | a1b03ba2fcd0 |
comparison
equal
deleted
inserted
replaced
4069:f19931785c42 | 4070:b8f2db95145e |
---|---|
222 | 222 |
223 /* Private functions (used internally) */ | 223 /* Private functions (used internally) */ |
224 void QZ_PrivateWarpCursor (_THIS, int x, int y); | 224 void QZ_PrivateWarpCursor (_THIS, int x, int y); |
225 void QZ_ChangeGrabState (_THIS, int action); | 225 void QZ_ChangeGrabState (_THIS, int action); |
226 void QZ_RegisterForSleepNotifications (_THIS); | 226 void QZ_RegisterForSleepNotifications (_THIS); |
227 void QZ_ShowMouse (_THIS, NSCursor *cursor); | |
228 void QZ_HideMouse (_THIS); | |
229 void QZ_PrivateGlobalToLocal (_THIS, NSPoint *p); | 227 void QZ_PrivateGlobalToLocal (_THIS, NSPoint *p); |
230 void QZ_PrivateCocoaToSDL (_THIS, NSPoint *p); | 228 void QZ_PrivateCocoaToSDL (_THIS, NSPoint *p); |
231 BOOL QZ_IsMouseInWindow (_THIS); | 229 BOOL QZ_IsMouseInWindow (_THIS); |
232 void QZ_DoActivate (_THIS); | 230 void QZ_DoActivate (_THIS); |
233 void QZ_DoDeactivate (_THIS); | 231 void QZ_DoDeactivate (_THIS); |