forked from enlightenment/efl
parent
41ac47244f
commit
68794e198b
|
@ -338,7 +338,7 @@ _edje_timer_cb(void *data)
|
||||||
Eina_List *animl = NULL;
|
Eina_List *animl = NULL;
|
||||||
Edje *ed;
|
Edje *ed;
|
||||||
|
|
||||||
t = ecore_time_get();
|
t = ecore_loop_time_get();
|
||||||
EINA_LIST_FOREACH(_edje_animators, l, ed)
|
EINA_LIST_FOREACH(_edje_animators, l, ed)
|
||||||
{
|
{
|
||||||
_edje_ref(ed);
|
_edje_ref(ed);
|
||||||
|
|
|
@ -575,7 +575,7 @@ _edje_program_run(Edje *ed, Edje_Program *pr, int force, const char *ssig, const
|
||||||
if (!ed->actions)
|
if (!ed->actions)
|
||||||
_edje_animators = eina_list_append(_edje_animators, ed);
|
_edje_animators = eina_list_append(_edje_animators, ed);
|
||||||
ed->actions = eina_list_append(ed->actions, runp);
|
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->edje = ed;
|
||||||
runp->program = pr;
|
runp->program = pr;
|
||||||
if (!_edje_timer)
|
if (!_edje_timer)
|
||||||
|
|
|
@ -50,7 +50,7 @@ _edje_var_anim_cb(void *data)
|
||||||
double t;
|
double t;
|
||||||
const void *tmp;
|
const void *tmp;
|
||||||
|
|
||||||
t = ecore_time_get();
|
t = ecore_loop_time_get();
|
||||||
EINA_LIST_FOREACH(_edje_anim_list, l, tmp)
|
EINA_LIST_FOREACH(_edje_anim_list, l, tmp)
|
||||||
tl = eina_list_append(tl, tmp);
|
tl = eina_list_append(tl, tmp);
|
||||||
while (tl)
|
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;
|
if (fn == EMBRYO_FUNCTION_NONE) return 0;
|
||||||
ea = calloc(1, sizeof(Edje_Var_Animator));
|
ea = calloc(1, sizeof(Edje_Var_Animator));
|
||||||
if (!ea) return 0;
|
if (!ea) return 0;
|
||||||
ea->start = ecore_time_get();
|
ea->start = ecore_loop_time_get();
|
||||||
ea->len = len;
|
ea->len = len;
|
||||||
ea->id = ++ed->var_pool->id_count;
|
ea->id = ++ed->var_pool->id_count;
|
||||||
ea->edje = ed;
|
ea->edje = ed;
|
||||||
|
|
Loading…
Reference in New Issue