Re: Icon Composer question: specifying a mask?
Re: Icon Composer question: specifying a mask?
- Subject: Re: Icon Composer question: specifying a mask?
- From: Laurence Harris <email@hidden>
- Date: Mon, 12 Nov 2007 20:12:27 -0500
On Nov 12, 2007, at 7:29 PM, Mike Kobb wrote:
Hi,
I'm using Icon Composer from XCode 3.0 (Icon Composer 2.0/120).
I'm building an icon for an application, and the application's icon
has some large "hollow" spaces in it. I want these to render
transparently, but to be part of the hit mask for clicking the icon.
I had no trouble importing the visible part of my icon (as a
transparent PNG from PhotoShop), and this automatically built a
mask for me.
Where I'm stuck is in figuring out how to set a different mask.
When I tried dropping both PNG and BMP versions of my icon (with
the hollow areas filled in) into the Masks view, this affected how
the icon was drawn in the Preview -- it's rendering the mask rather
than just using it as a mask...
Sorry if this is covered somewhere, but the Icon Composer section
of the Cocoa tutorial doesn't cover custom masks, and there is no
help at all for the application.
Instead of making the transparent areas fully transparent you'll have
to make them almost transparent and have a tiny bit of opacity. The
mask is used to determine if a click occurred in the icon, so if it's
fully transparent clicks and drags won't work in those areas.
Larry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden