On Tue, 13 Apr 2010 11:11:18 +0800 Tom Haste <[email protected]> wrote:
> On 13 April 2010 10:58, Christopher Michael <[email protected]> > wrote: > > On 04/12/2010 10:17 PM, Tom Haste wrote: > >> Hey all, > >> > >> Ive had discussions with raster and Manowarrior in IRC about icons > >> and their sizing. We all agree that with edje we have the power to > >> step into a new age of icon size and corresponding image selection. > >> Typically we have 1 icon for a specific task and then call it a > >> day. This becomes a very tough situation when the FDO icon naming > >> spec doesnt have any specifications in regards to size, and to > >> introduce that to the spec would be yet another horror to the > >> nightmare that is the icon naming spec. We also come across issues > >> when using the scale option, where small icons are magnified to a > >> size they no longer look good at, or shrunk so that a high > >> detailed icon looks like a tiny blurry smudge. > >> > >> This can already be done with Embryo, by reading the object area > >> size and using an image based upon it. However it would be better > >> to have this done at a lower level in edje. > >> > >> As a rough (and most likely flawed idea) something a long these > >> lines might work... > >> > >> imagelist { > >> name: "Something"; > >> image: "something-16.png" 8 16 COMP; > >> image: "something-48.png" 16 48 COMP; > >> image: "something-128.png" 48 128 COMP; > >> } > >> > > The only issue I can see here is, how to know which one to use...ie: > > First image says min 8 max 16, but second image says min 16 > > also ... so which gets used ? > > > > dh > > > > This then.. > image: "something-16.png" 8 16 COMP; > image: "something-48.png" 17 48 COMP; > > like I said though, there are obvious flaw in this :) I vaguely remember from my poking at the FDO stuff that it used a "nearest size" fallback. Might be more useful to use something like that. -- A big old stinking pile of genius that no one wants coz there are too many silver coated monkeys in the world.
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
