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: Problems with PlotCIcon and Intel mac



That sounds good. I would like to use 'icns' resource with PlotIconRef. I am having trouble obtaining an iconref though. If I have an 'icns' resource in my main application resource file (which is in the app's bundle) how do I turn that into an iconref I can call ploticonref with?

Thanks,

Jeremy

On Jan 18, 2006, at 11:19 AM, Laurence Harris wrote:

On 1/18/06 8:50 AM, Jeremy Sagan didst favor us with:

I want to draw an image with a mask so that it does not destroy the
background. I could use copybits with a mask but that is a pain. I am
not going to switch to drawing into a context at this point. What is
the alternative to cicns?

I use IconRefs created from 'icns' resources. You get more colors and an
8-bit mask, so they look a lot better in Mac OS X, and you can create and
edit them with Resorcerer and modern icon editing software, so you avoid all
the problems you're having with 'cicn' resources. You can use IconRefs
anywhere you could use a 'cicn' icon (controls, menus), some places you
can't use 'cicn' such as proxy icons in windows, draw them with QuickDraw
(PlotIconRef) or into a context (PlotIconRefInContext), scale them, and use
them with transforms like selected and disabled. You only have to supply
data for the sizes you need, so there isn't really any reason to use 'cicn's
anymore.


Larry

Jeremy

On Jan 17, 2006, at 6:47 PM, Laurence Harris wrote:

Out of curiosity, why are still using 'cicn' icons?

Larry




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/jeremy.sagan% 40verizon.net


This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Carbon-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: Problems with PlotCIcon and Intel mac (From: Laurence Harris <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.