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