Mercurial > sdl-ios-xcode
diff src/video/quartz/SDL_QuartzVideo.m @ 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 | 0c76e6d1c3d6 |
children | fedb379bedd0 |
line wrap: on
line diff
--- a/src/video/quartz/SDL_QuartzVideo.m Sun Jul 15 14:14:45 2007 +0000 +++ b/src/video/quartz/SDL_QuartzVideo.m Sun Jul 15 15:58:00 2007 +0000 @@ -756,6 +756,7 @@ } [ qz_window setDelegate: [ [ [ SDL_QuartzWindowDelegate alloc ] init ] autorelease ] ]; + [ qz_window setContentView: [ [ [ SDL_QuartzView alloc ] init ] autorelease ] ]; } /* We already have a window, just change its size */ else {