felipealmeida pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=040b4cfc25317f4cf9738963411d7c1f96519579

commit 040b4cfc25317f4cf9738963411d7c1f96519579
Author: Larry <larry....@gmail.com>
Date:   Tue Feb 23 21:18:49 2016 -0300

    elm_thumb_animation: moved Elm_Thumb_Animation_Settings to elm_thumb.eo
---
 src/lib/elm_thumb.eo       | 12 +++++++++++-
 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 ff81f7a..6dd3d49 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 f569d21..c65f902 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.

-- 


Reply via email to