• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: question about custom cursor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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

  • Prev by Date: Re: ssh-tunnel, remote controlling (and stuff)
  • Next by Date: Re: Counting the number of files in a directory
  • Previous by thread: question about custom cursor
  • Next by thread: Re: question about custom cursor
  • Index(es):
    • Date
    • Thread