Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
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?




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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.