On Mon, Mar 05, 2007 at 10:21:53PM +0200, ???????????? ?????????????????? wrote:
> Is there any particular reason why the gradient type in edc is a string,
> instead of a keyword like the rest of the types?
> 
> when you write 'gradient {type: ', you can't write anything other than
> "linear" or "radial", right? So why isn't that statement parsed as
> 'type: LINEAR' or 'type: RADIAL'?

IIRC, the evas gradiant types are strings, so I just used these directly
in the edje format. I originally considered doing keywords, but I was
under the impression that the string type names existed to allow future
pluggable gradient types. So, using the strings directly in edje would
allow support for such things.

But, I'm not certain what the plan actually is/was. Grads in evas are
(unfortunately) not used a whole lot and have little documentation. If
pluggable grads isn't on the future feature list, then I'm not opposed
to codifying the grad types in edje.

rephorm



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to