From: raster Date: Sun, 2 Nov 2008 02:43:43 +0000 (+0000) Subject: also use looptime X-Git-Tag: 2.0_alpha~163^2~997 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09cb2634f10b62f3de790b421e6e3b93a0f56834;p=framework%2Fuifw%2Fedje.git also use looptime git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@37394 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/edje_callbacks.c b/src/lib/edje_callbacks.c index 3fef442..66583aa 100644 --- a/src/lib/edje_callbacks.c +++ b/src/lib/edje_callbacks.c @@ -338,7 +338,7 @@ _edje_timer_cb(void *data) Eina_List *animl = NULL; Edje *ed; - t = ecore_time_get(); + t = ecore_loop_time_get(); EINA_LIST_FOREACH(_edje_animators, l, ed) { _edje_ref(ed); diff --git a/src/lib/edje_program.c b/src/lib/edje_program.c index 46c78ef..eb989e2 100644 --- a/src/lib/edje_program.c +++ b/src/lib/edje_program.c @@ -575,7 +575,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force, const char *ssig, const if (!ed->actions) _edje_animators = eina_list_append(_edje_animators, ed); ed->actions = eina_list_append(ed->actions, runp); - runp->start_time = ecore_time_get(); + runp->start_time = ecore_loop_time_get(); runp->edje = ed; runp->program = pr; if (!_edje_timer) diff --git a/src/lib/edje_var.c b/src/lib/edje_var.c index c42db04..19868f1 100644 --- a/src/lib/edje_var.c +++ b/src/lib/edje_var.c @@ -50,7 +50,7 @@ _edje_var_anim_cb(void *data) double t; const void *tmp; - t = ecore_time_get(); + t = ecore_loop_time_get(); EINA_LIST_FOREACH(_edje_anim_list, l, tmp) tl = eina_list_append(tl, tmp); while (tl) @@ -1000,7 +1000,7 @@ _edje_var_anim_add(Edje *ed, double len, const char *fname, int val) if (fn == EMBRYO_FUNCTION_NONE) return 0; ea = calloc(1, sizeof(Edje_Var_Animator)); if (!ea) return 0; - ea->start = ecore_time_get(); + ea->start = ecore_loop_time_get(); ea->len = len; ea->id = ++ed->var_pool->id_count; ea->edje = ed;