Re: future proof icon sizes?
Re: future proof icon sizes?
- Subject: Re: future proof icon sizes?
- From: Daniel Jalkut <email@hidden>
- Date: Sat, 17 Jun 2006 09:59:56 -0400
I use ".icns" in my toolbar and, I don't have the sharpest eye, but I
just assume it's using the closest size the same as the application
icon does. Indeed, when I inspect the image I set on the toolbar item
at runtime, it has multiple representations as expected.
Daniel
On Jun 17, 2006, at 8:34 AM, Ricky Sharp wrote:
Also for application icons multiple images are included so that
the icon can be made to look better when scaled small. Is there a
similar feature for toolbar icons, so that toolbar icons can be
made to look sharper when viewed with "Use Small Size" checked?
I'd file a feature enhancement. Perhaps the toolbar icons,
NSCursor, etc. could be made to work with multiple-resolution files
(e.g. TIFF) and do the right thing.
Note however, that you should be able to use vector-based images
which will scale nicely at all scaling factors. If you have to
stick with bitmapped content, perhaps supply different flavors.
This is what I currently do with images I feed to NSCursor. 72dpi
flavors are used for scaling factors <= 1.0 and a 216dpi one is
used for factors > 1.0.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden