Re: question about custom cursor
Re: question about custom cursor
- Subject: Re: question about custom cursor
- From: Alastair Houghton <email@hidden>
- Date: Wed, 7 Mar 2007 00:17:58 +0000
On 4 Mar 2007, at 05:43, Fred Hope wrote:
Hi everyone. I'm writing a text+graphic adventure game that uses a
custom NSCursor object whenever the cursor is within the graphic
view (a subclass of NSImageView). It's working okay; the only
problem is that when text is printed (to the adjacent NSTextView),
for example if the user clicks on something which causes text to be
printed, the cursor reverts to the standard black arrow, and the
user must move the cursor out of the graphics region and back in,
to see the custom cursor again.
Are you using a cursor rect? Or are you calling [cursor set] (or
similar)?
The behaviour you're describing sounds like the kind of thing that
might happen if you *weren't* using cursor rects.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden