• 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: CURS ressources on OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >CURS ressources on OS X (From: Stefan Pantke <email@hidden>)

  • Prev by Date: Re: Current mouse screen?
  • Next by Date: Re: CodeWarrior vs. Xcode?
  • Previous by thread: Re: CURS ressources on OS X
  • Next by thread: NSObjectController and NSDefaultsController Binding?
  • Index(es):
    • Date
    • Thread