• 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
Cocoa replacement for Carbon CompositeIconRef() for Snow Leopard 64-bit apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa replacement for Carbon CompositeIconRef() for Snow Leopard 64-bit apps?


  • Subject: Cocoa replacement for Carbon CompositeIconRef() for Snow Leopard 64-bit apps?
  • From: Dalmazio Brisinda <email@hidden>
  • Date: Fri, 30 Oct 2009 23:28:50 -0600


On 2009-10-29, at 3:13 AM, email@hidden wrote:

Jim Correia put me on to MyCompositeImageRep, and after a fair amount
of head scratching, I came up with the following solution.

Basically, use a subclass of NSCustomImageRep to hold the two images
to be composited or the image to be dimmed, with a drawing method that
draws the two images, or the image and then dims it.

Peter, thanks for the code.

I've also recently discovered this little SourceForge.net project that allows writing of NSImage IconRef data to .icns files and pasteboards. It may also help tracking down your problem. Also looks like it may be useful as a starting point for developing one's own IconRef compositing utility to replace the broken CompositeIconRef() for 64-bit.

http://iconfamily.sourceforge.net/

Best,
Dalmazio

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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


  • Prev by Date: nonsense from cellFrameAtRow:column: on Leopard
  • Next by Date: Re: EndianU32_NtoB
  • Previous by thread: Re: Cocoa replacement for Carbon CompositeIconRef() for Snow Leopard 64-bit apps?
  • Next by thread: Multithreading NSBezierPath creation and stroking. Measuring performance
  • Index(es):
    • Date
    • Thread