Eina_List *elist;
EINA_LIST_FOREACH(transit->effect_list, elist, effect)
- {
- if ((effect->animation_op == cb) && (effect->user_data == data)) return;
- }
+ if ((effect->animation_op == cb) && (effect->user_data == data)) return;
effect = ELM_NEW(Elm_Transit_Effect);
if (!effect) return;
elm_transit_event_enabled_get(const Elm_Transit *transit)
{
ELM_TRANSIT_CHECK_OR_RETURN(transit, EINA_FALSE);
-
return transit->event_enabled;
}
elm_transit_tween_mode_set(Elm_Transit *transit, Elm_Transit_Tween_Mode tween_mode)
{
ELM_TRANSIT_CHECK_OR_RETURN(transit);
-
transit->tween_mode = tween_mode;
}
elm_transit_progress_value_get(const Elm_Transit *transit)
{
ELM_TRANSIT_CHECK_OR_RETURN(transit, 0);
-
return transit->progress;
}