Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
4069:f19931785c42 | 4070:b8f2db95145e |
---|---|
754 if ( center_window ) { | 754 if ( center_window ) { |
755 [ qz_window center ]; | 755 [ qz_window center ]; |
756 } | 756 } |
757 [ qz_window setDelegate: | 757 [ qz_window setDelegate: |
758 [ [ [ SDL_QuartzWindowDelegate alloc ] init ] autorelease ] ]; | 758 [ [ [ SDL_QuartzWindowDelegate alloc ] init ] autorelease ] ]; |
759 [ qz_window setContentView: [ [ [ SDL_QuartzView alloc ] init ] autorelease ] ]; | |
759 } | 760 } |
760 /* We already have a window, just change its size */ | 761 /* We already have a window, just change its size */ |
761 else { | 762 else { |
762 | 763 |
763 if (!isCustom) { | 764 if (!isCustom) { |