On Thu, 29 Sep 2011 23:04:45 +0900 Carsten Haitzler (The Rasterman)
<[email protected]> wrote:

> On Thu, 29 Sep 2011 22:31:12 +1000 David Seikel <[email protected]>
> said:
> 
> > From what I can tell, there are three different formats for
> > specifying colours in an edje file.  I'm creating macros with
> > colour names, and I have to create three separate macros for each
> > colour name.
> > 
> > Colour in text styles use #ff00ffff (with an optional #f0ff style
> > I'm ignoring for now).
> > Colours in parts and colour classes use 255 0 255 255,
> > Colours in script functions are 255, 0, 255, 255.
> > 
> > It's a bit of a pain.
> > 
> > Would be nice if the first two uses could optionally make use of the
> > third format.  Then we would only have to deal with one format in
> > colour name macros.
> 
> we cant change the colors in script tho.

Um, embryo has set_color_class(), and lua has rect:color().  They work,
I'm using the first in my edje, and the second one is in the lua
example in SVN.  You can't change the FORMAT used by the scripting
languages though, that's why I suggested using the script format for
the other two.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to