Re: CURS ressources on OS X
Re: CURS ressources on OS X
- Subject: Re: CURS ressources on OS X
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sun, 18 Apr 2004 12:01:15 +0200
At 23:48 Uhr +0200 17.04.2004, Stefan Pantke wrote:
I need some CURS resources for use on OS X.
Why? You're aware this is the Cocoa-Dev mailing list, right? This
sounds more like a candidate for Carbon-Dev, as Cocoa doesn't use
CURS. Neither does it use crsr. It just takes any old NSImage that
you can use as an NSCursor. If you have some legacy compatibility
needs that require you to use CURS resources, you could run ResEdit
in the Classic compatibility mode.
Or, if you have some files containing the desired cursor resources,
you could use ResKnife (
http://resknife.sf.net), which should let you
copy these resources, even though there's no editor. I think I wrote
a simple viewer and submitted it to CVS, though, so at least you
should be able to easily locate the appropriate cursor in the
resource fork of your older applications.
Since the code is under a BSD or MIT or somesuch license (or did we
PD it? Not even sure right now, anyway, it's free), you could even
use the code from my viewer to load the CURS into an NSImage, and
then use NSCursor to display that.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.