Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about custom cursor



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >question about custom cursor (From: Fred Hope <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.