elm_thumb_animation: moved Elm_Thumb_Animation_Settings to elm_thumb.eo

This commit is contained in:
Larry 2016-02-23 21:18:49 -03:00 committed by Felipe Magno de Almeida
parent dc8f73fee2
commit 6d9293cbeb
2 changed files with 11 additions and 15 deletions

View File

@ -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]]
}
}

View File

@ -4,20 +4,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.
*