On 11/21/04 2:44 PM, email@hidden didst favor us with:
> In general, however, it seems that you shouldn't have to supply a
> separate 8 bit mask because the CG calls will, themselves, generate the
> alpha channel. I don't know what image formats the set family icon
> data routine will take. :-(
It takes a PICT (which isn't useable for this case), or it takes the actual
data for each icon type in the family. So you need these:
err = SetIconFamilyData(iconFamily, kThumbnail32BitData, dataH);
err = SetIconFamilyData(iconFamily, kThumbnail8BitMask, maskH);
It won't take an image with alpha and handle the data and mask
automatically. I seem to recall that if you feed it a PICT you'll just end
up with a solid black mask.
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/email@hidden
This email sent to email@hidden