summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLarry <larry.olj@gmail.com>2016-02-23 21:18:49 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-02-25 23:16:09 -0300
commit040b4cfc25317f4cf9738963411d7c1f96519579 (patch)
tree4c002e43924790c2d384cc9fa097d7c5c774cb1e
parentbc861a6975ac4edc11d0df3066a257d096c7c4f8 (diff)
elm_thumb_animation: moved Elm_Thumb_Animation_Settings to elm_thumb.eo
-rw-r--r--src/lib/elm_thumb.eo12
-rw-r--r--src/lib/elm_thumb_common.h14
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 @@
1enum Elm.Thumb.Animation_Setting
2{
3 [[Used to set if a video thumbnail is animating or not]]
4 legacy: elm_thumb_animation;
5 start = 0, [[Play animation once]]
6 loop, [[Keep playing animation until stop is requested]]
7 stop, [[Stop playing the animation]]
8 last
9}
10
1class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface) 11class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface)
2{ 12{
3 eo_prefix: elm_obj_thumb; 13 eo_prefix: elm_obj_thumb;
@@ -50,7 +60,7 @@ class Elm.Thumb (Elm.Layout, Efl.File, Evas.Clickable_Interface)
50 [[Get the animation state for the thumb object.]] 60 [[Get the animation state for the thumb object.]]
51 } 61 }
52 values { 62 values {
53 setting: Elm_Thumb_Animation_Setting; [[The animation setting or 63 setting: Elm.Thumb.Animation_Setting; [[The animation setting or
54 #ELM_THUMB_ANIMATION_LAST]] 64 #ELM_THUMB_ANIMATION_LAST]]
55 } 65 }
56 } 66 }
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 @@
5 */ 5 */
6 6
7/** 7/**
8 * @enum Elm_Thumb_Animation_Setting
9 * @typedef Elm_Thumb_Animation_Setting
10 *
11 * Used to set if a video thumbnail is animating or not.
12 */
13typedef enum
14{
15 ELM_THUMB_ANIMATION_START = 0, /**< Play animation once */
16 ELM_THUMB_ANIMATION_LOOP, /**< Keep playing animation until stop is requested */
17 ELM_THUMB_ANIMATION_STOP, /**< Stop playing the animation */
18 ELM_THUMB_ANIMATION_LAST
19} Elm_Thumb_Animation_Setting;
20
21/**
22 * Get the ethumb_client handle so custom configuration can be made. 8 * Get the ethumb_client handle so custom configuration can be made.
23 * 9 *
24 * @return Ethumb_Client instance or NULL. 10 * @return Ethumb_Client instance or NULL.