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: How to create a custom cursor using Carbon ?



Nick Nallick <email@hidden> wrote:

On May 22, 2006, at 10:22 AM, James W. Walker wrote:

We plan to add Carbon API for this task in Leopard. Until then, we recommend using either the deprecated Quickdraw API, or NSCursor.

I once tried using NSCursor in a Carbon app, but was unable to get it to work. I ended up faking a cursor using a little overlay window.

I certainly have no inside information, but I'd say that in this case you're almost certainly going to be fine using the deprecated QuickDraw calls. If it's a concern the future safe thing to do would be to add a runtime check and use the new API for Leopard (once that's available).

If you mean QDRegisterNamedPixMapCursor, it doesn't work on all Macs, so I considered that unacceptable. And I needed cursors bigger than 16x16, so I couldn't use older QuickDraw calls.
--
James W. Walker, Innoventive Software LLC
<http://www.frameforge3d.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartz-dev/email@hidden


This email sent to email@hidden
References: 
 >How to create a custom cursor using Carbon ? (From: Graeme Gill <email@hidden>)
 >Re: How to create a custom cursor using Carbon ? (From: Eric Schlegel <email@hidden>)
 >Re: How to create a custom cursor using Carbon ? (From: "James W. Walker" <email@hidden>)
 >Re: How to create a custom cursor using Carbon ? (From: Nick Nallick <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.