also use looptime

SVN revision: 37394
This commit is contained in:
Carsten Haitzler 2008-11-02 02:43:43 +00:00
parent 41ac47244f
commit 68794e198b
3 changed files with 4 additions and 4 deletions

View 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);

View 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)

View 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;