From: Carsten H. (T. R. <ra...@ra...> - 2004-09-25 02:22:05
|
On Fri, 24 Sep 2004 21:41:00 -0700 Milosz Derezynski <md...@re...> babbled: > Is it possible to do animations with only Evas (without using Edje), or > at least with Edje, but without using EET? > > For implementing winamp3/5 WAL skins i'd need animations but it's > unfeasible to preprocess the WAL each time and create appropriate .eet > files from it. Although that's an option that i would use if everything > else fails (unhandy for the user etc...),i'd prefer to do without that. actually - that'd be kind-of REALLY COOL. a WAL to EDJE converter :) > Any way this could work? back to your question - yes. it's perfectly possible. this is exactly how edje does animation itself. edje is just built on top of evas, ecore, eet etc. eet is what handles file IO, ecore lets edje animate using animators (which are timers that tick off at a given GLOBAL fps until u say stop - this way all of edje's animations are synchronised). you can also use timers from ecore. this is how you just iterate and in each iteration get the current time (the timers do not GUARANTEE to be called exactly when u ask - they make a best effort, so always check by getting the time). :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 ra...@de... Tokyo, Japan (東京 日本) |