elementary animation_view: updated doc. 23/197723/2 submit/tizen/20190116.084147
authorHermet Park <hermetpark@gmail.com>
Wed, 16 Jan 2019 01:37:49 +0000 (10:37 +0900)
committerjunsu choi <jsuya.choi@samsung.com>
Wed, 16 Jan 2019 08:01:20 +0000 (08:01 +0000)
frame number is more clear than frame index.

Change-Id: I48c751293edab5f637b9aaa016a8baa62dde7a12

src/lib/elementary/elm_animation_view.c
src/lib/elementary/elm_animation_view.eo

index 949424f..dc39f86 100644 (file)
@@ -513,9 +513,9 @@ _elm_animation_view_keyframe_get(const Eo *obj EINA_UNUSED, Elm_Animation_View_D
 }
 
 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
index 30f2de5..0e1866d 100644 (file)
@@ -97,16 +97,16 @@ class Elm.Animation_View (Efl.Ui.Widget, Efl.Gfx.View, Efl.Ui.Legacy, Efl.File)
       }
       @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 {