frame number is more clear than frame index.
Change-Id: I48c751293edab5f637b9aaa016a8baa62dde7a12
}
EOLIAN static void
-_elm_animation_view_frame_set(Eo *obj EINA_UNUSED, Elm_Animation_View_Data *pd, int frame)
+_elm_animation_view_frame_set(Eo *obj EINA_UNUSED, Elm_Animation_View_Data *pd, int frame_num)
{
- elm_animation_view_keyframe_set(obj, (double) frame / (double) (evas_object_vg_animated_frame_count_get(pd->vg) - 1));
+ elm_animation_view_keyframe_set(obj, (double) frame_num / (double) (evas_object_vg_animated_frame_count_get(pd->vg) - 1));
}
EOLIAN static int
}
@property frame {
//FIXME : frame_count need add '@' symbol after add eo method frame_count.
- [[Index of the current frame of an animated animation view.
+ [[Number of current frame.
Ranges from 0 to frame_count - 1.
]]
set {
- [[Set the frame to current frame of an animation view object.]]
+ [[Set the current frame of an animation view object.]]
}
get {}
values {
- frame: int; [[The index of current frame.]]
+ frame_num: int; [[Current frame number.]]
}
}
play {