diff src/video/quartz/SDL_QuartzWindow.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 d910939febfa
children a1b03ba2fcd0
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzWindow.h	Sun Jul 15 14:14:45 2007 +0000
+++ b/src/video/quartz/SDL_QuartzWindow.h	Sun Jul 15 15:58:00 2007 +0000
@@ -37,3 +37,7 @@
 - (BOOL)windowShouldClose:(id)sender;
 @end
 
+/* Subclass of NSView to set cursor rectangle */
+@interface SDL_QuartzView : NSView
+- (void)resetCursorRects;
+@end