• 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
Re: Icon Composer question: specifying a mask?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Icon Composer question: specifying a mask?
      • From: Rick Mann <email@hidden>
References: 
 >Icon Composer question: specifying a mask? (From: Mike Kobb <email@hidden>)

  • Prev by Date: Re: "ibtool --connections" -- bindings information not complete
  • Next by Date: Re: Icon Composer question: specifying a mask?
  • Previous by thread: Icon Composer question: specifying a mask?
  • Next by thread: Re: Icon Composer question: specifying a mask?
  • Index(es):
    • Date
    • Thread