On Thu, 06 Jan 2011 15:21:30 +0900 ChunEon Park <chuneon.p...@samsung.com> said:
this is definitely an improvement i'd say - and yes - setting up a transit is setting up a pipeline. unlike timer and animators they are not 1-off setups. they require several calls to be set up. so this is better. as for elm animator... hmm - i quite like how it works - you can pause and resume it - transit can't currently. also get if its currently active or not. > Hi. > > Even it looks somewhat alien elm, > > I hope EFL supports basic effect by using c and edc. > > In some cases, it is useful for app developers. > They want to use effects easily and quickly as Other F/W does providing. > > Here is patch again. > > Added two lines for elm_transit_duration_set exception handling. > > I guess there are possibilities still to add/modify some functions to the > transit. > So, currently the exception cases does not defined yet. > > But I will try patches soon as perfect things. > > Please consider about transit. > > And.. if this transit is acceptable, > How about deprecate elm_animator as soon as possible? > > Thanks. > > -----Original Message----- > From: Carsten Haitzler (The Rasterman) [mailto:ras...@rasterman.com] > Sent: Thursday, January 06, 2011 1:37 AM > To: Gustavo Sverzut Barbieri > Cc: ChunEon Park; enlightenment-devel@lists.sourceforge.net > Subject: Re: [E-devel] [PATCH] elm_transit > > On Wed, 5 Jan 2011 12:48:05 -0200 Gustavo Sverzut Barbieri > <barbi...@profusion.mobi> said: > > > On Wed, Jan 5, 2011 at 12:27 PM, ChunEon Park <chuneon.p...@samsung.com> > > wrote: > > > Good day, this is Hermet. > > > > > > Here is elm_transit patch. > > > > > > - Modified elm_transit_add(double duration) to elm_transit_add() > > > - Added elm_transit_duration_set() / elm_transit_duration_get() APIs > > > - Added elm_transit_go API > > > > Modifying the duration of an ongoing animation is tricky, what do you > > do to avoid things going weirdly? Let's say you're at 0.5 of an 1.0 > > second (progress = 50%), then you reset it to 2.0 second, you're now > > back in progress to 25%. > > > > I'm also strongly against _go() apis. They do not need to exist, as > > they don't for all but elm_list, which is there for an optimization > > hack which I dislike every time i have to type them. > > in this case transit is a time based thing - when does it start its > animation? > you can do a lot of set-up before you start it and thus there is a good > reason > for being able to separate the starting of the transition from its setup. as > for setting the duration - not weird - not more weird than the adding ofthe > objects. if you stand back and look at it, transit is much like an object - > u > create it then set up a whole bunch of properties (basically a transition > pipeline) and then say "go". there is no good reason why it shouldn't be > expanded to allow chained transitions. eg transition from A to B, then B to > C, > then C to D - and thus there would be a good case for each leg of the > transition to have its own timeframe - thus a set call for setting the > transition duration. again - this also makes the go() call almost a must as > at > what point would you start that transition - and for that matter if you have > a > fairly lengthy and complex transition you do often you may want to repeat it > again and again (call go to start it each time). > > -- > ------------- Codito, ergo sum - "I code, therefore I am" -------------- > The Rasterman (Carsten Haitzler) ras...@rasterman.com -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel