also use looptime
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 2 Nov 2008 02:43:43 +0000 (02:43 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 2 Nov 2008 02:43:43 +0000 (02:43 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/edje@37394 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_callbacks.c
src/lib/edje_program.c
src/lib/edje_var.c

index 3fef442..66583aa 100644 (file)
@@ -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);
index 46c78ef..eb989e2 100644 (file)
@@ -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)
index c42db04..19868f1 100644 (file)
@@ -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;