diff options
author | Amitesh Singh <amitesh.sh@samsung.com> | 2017-07-28 11:48:34 +0900 |
---|---|---|
committer | Amitesh Singh <amitesh.sh@samsung.com> | 2017-08-04 16:22:59 +0900 |
commit | 0e7a316a7a05b0c2733403285120a6a59a67d790 (patch) | |
tree | 408282a7dd2ce1eebbb4cb3db87ac1e3704a665e /src/lib/edje/edje_program.c | |
parent | f2082c0412a5e1df6b1a53e209125e7fe37dccf8 (diff) | |
download | efl-0e7a316a7a05b0c2733403285120a6a59a67d790.tar.gz |
edje: implement edje.player interface functions
fixes T5560
Diffstat (limited to 'src/lib/edje/edje_program.c')
-rw-r--r-- | src/lib/edje/edje_program.c | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/src/lib/edje/edje_program.c b/src/lib/edje/edje_program.c index 8aeb63e9ab..6c90f46650 100644 --- a/src/lib/edje/edje_program.c +++ b/src/lib/edje/edje_program.c @@ -213,19 +213,6 @@ edje_transition_duration_factor_set(double scale) _edje_transition_duration_scale = FROM_DOUBLE(scale); } -EOLIAN void -_edje_object_transition_duration_factor_set(Eo *obj EINA_UNUSED, - Edje *pd, double scale) -{ - pd->duration_scale = scale; -} - -EOLIAN double -_edje_object_transition_duration_factor_get(Eo *obj EINA_UNUSED, Edje *pd) -{ - return pd->duration_scale; -} - static inline Eina_Bool _edje_object_signal_callback_add(Edje *ed, const char *emission, const char *source, Efl_Signal_Cb func, void *data) { @@ -299,54 +286,6 @@ _edje_object_efl_canvas_layout_signal_signal_emit(Eo *obj EINA_UNUSED, Edje *ed, /* FIXDOC: Verify/Expand */ EOLIAN void -_edje_object_play_set(Eo *obj EINA_UNUSED, Edje *ed, Eina_Bool play) -{ - double t; - Eina_List *l; - Edje_Running_Program *runp; - unsigned short i; - - if (!ed) return; - if (ed->delete_me) return; - if (play) - { - if (!ed->paused) return; - ed->paused = EINA_FALSE; - t = ecore_time_get() - ed->paused_at; - EINA_LIST_FOREACH(ed->actions, l, runp) - runp->start_time += t; - } - else - { - if (ed->paused) return; - ed->paused = EINA_TRUE; - ed->paused_at = ecore_time_get(); - } - - for (i = 0; i < ed->table_parts_size; i++) - { - Edje_Real_Part *rp; - rp = ed->table_parts[i]; - if ((rp->part->type == EDJE_PART_TYPE_GROUP) && - ((rp->type == EDJE_RP_TYPE_SWALLOW) && - (rp->typedata.swallow)) && - (rp->typedata.swallow->swallowed_object)) - edje_object_play_set(rp->typedata.swallow->swallowed_object, play); - } -} - -EOLIAN Eina_Bool -_edje_object_play_get(Eo *obj EINA_UNUSED, Edje *ed) -{ - if (!ed) return EINA_FALSE; - if (ed->delete_me) return EINA_FALSE; - if (ed->paused) return EINA_FALSE; - - return EINA_TRUE; -} - -/* FIXDOC: Verify/Expand */ -EOLIAN void _edje_object_animation_set(Eo *obj, Edje *ed, Eina_Bool on) { Eina_List *l; |