diff options
author | Larry <larry.olj@gmail.com> | 2016-02-23 21:18:49 -0300 |
---|---|---|
committer | Felipe Magno de Almeida <felipe@expertisesolutions.com.br> | 2016-02-25 23:16:09 -0300 |
commit | 040b4cfc25317f4cf9738963411d7c1f96519579 (patch) | |
tree | 4c002e43924790c2d384cc9fa097d7c5c774cb1e | |
parent | bc861a6975ac4edc11d0df3066a257d096c7c4f8 (diff) | |
download | elementary-040b4cfc25317f4cf9738963411d7c1f96519579.tar.gz |
elm_thumb_animation: moved Elm_Thumb_Animation_Settings to elm_thumb.eo
-rw-r--r-- | src/lib/elm_thumb.eo | 12 | ||||
-rw-r--r-- | src/lib/elm_thumb_common.h | 14 |
2 files changed, 11 insertions, 15 deletions
diff --git a/src/lib/elm_thumb.eo b/src/lib/elm_thumb.eo index ff81f7ab8..6dd3d498c 100644 --- a/src/lib/elm_thumb.eo +++ b/src/lib/elm_thumb.eo @@ -1,3 +1,13 @@ +enum Elm.Thumb.Animation_Setting +{ + [[Used to set if a video thumbnail is animating or not]] + legacy: elm_thumb_animation; + start = 0, [[Play animation once]] + loop, [[Keep playing animation until stop is requested]] + stop, [[Stop playing the animation]] + last +} + class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface) { eo_prefix: elm_obj_thumb; @@ -50,7 +60,7 @@ class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface) [[Get the animation state for the thumb object.]] } values { - setting: Elm_Thumb_Animation_Setting; [[The animation setting or + setting: Elm.Thumb.Animation_Setting; [[The animation setting or #ELM_THUMB_ANIMATION_LAST]] } } diff --git a/src/lib/elm_thumb_common.h b/src/lib/elm_thumb_common.h index f569d2156..c65f9024e 100644 --- a/src/lib/elm_thumb_common.h +++ b/src/lib/elm_thumb_common.h @@ -5,20 +5,6 @@ */ /** - * @enum Elm_Thumb_Animation_Setting - * @typedef Elm_Thumb_Animation_Setting - * - * Used to set if a video thumbnail is animating or not. - */ -typedef enum -{ - ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */ - ELM_THUMB_ANIMATION_LOOP, /**< Keep playing animation until stop is requested */ - ELM_THUMB_ANIMATION_STOP, /**< Stop playing the animation */ - ELM_THUMB_ANIMATION_LAST -} Elm_Thumb_Animation_Setting; - -/** * Get the ethumb_client handle so custom configuration can be made. * * @return Ethumb_Client instance or NULL. |