On Thu, 07 Apr 2011 11:25:42 +0900 ChunEon Park <[email protected]> said:

> Hi this is Hermet. 
> 
> I'm willing to add two features for elm_transit. 
> 
> I just wanna listen your comments about those functions / APIs
> 
> void elm_transit_chain_transit_add(Elm_Transit *transit, Elm_Transit
> *chain_transit);
> 
> Eina_List *elm_transit_chain_transits_get(const Elm_Transit *transit);
> 
> So.. If user call the above elm_transit_chain_transit_add (t1, t2);
> 
> then t2 will be operate automatically after t1 is done. 
> 
> Originally, I designed this feature as
> elm_transit_chain_effect_order_set(Elm_Transit *transit, Elm_Transit_Effect
> *effect, int order);
> 
> so as to one transit manages it's chain effects in order. 
> 
> But I realized soon, those function does not better than this. 
> 
> Because each effects could not have different duration and tween mode and
> different objects. 
> 
> So I redesigned the feature as elm_transit_chain_transit_add again. 
> 
> Implemention is completed almost. 
> 
> Just waiting for your review. 

chain add makes much more sense. only thing i'd say is maybe you way an append
and prepend (as well as append relative and prepend relative) so you can insert
tranists at the START of a chain or stick them in the middle etc. etc. if you
want to modify them dynamically.

of course if all u want to do is start from nothing then build the chain one
item at a time, and any changes == wipe and start again, then you only need the
chain add call. :)

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to