On Sun, 30 Oct 2011 23:22:48 +1000 David Seikel <onef...@gmail.com>
wrote:

> This is my first crack at adding more lua stuff to edje.  This
> implements getting and setting color_classes.
> 
> It's not working though, I'm missing something.  The function reads
> the existing color_classes fine.  The actual values in the
> colour_class actually change, but the on screen colour never does.  I
> copied how embryo does it. Perhaps the color_class in the lua script
> only group is not a pointer to the one in the edje, but a clone of it?
> 
> Maybe someone can enlighten me about what is wrong?
> 
> Yes, we would also need a function to set the color_class of a lua
> object.  That might shed some light on the problem.  I'll probably
> write that next.
> 
> My tests use a color_class defined outside the collection, an edje
> group with parts using that color_class, and a script only lua group
> trying to change that color_class.  My changes to lua_script.edc just
> show basic usage, think that example edc needs some love.
> 

Actually, I think this IS the first bit of lua2 that is integrating
with edje.  The rest goes directly to evas and ecore.  Color_class is
an edje only thing I think.

I'm not sure how raster wanted to go with edje integration.  Just like
the old lua stuff, or something different?  Don't really have any
examples here to work with.  Other than embryo and the old lua stuff.

-- 
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

------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to