summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_spotlight_fade_manager.c
blob: cb2fa5f0a49f2c307abee2284780dc71362dc6f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif

#include <Efl_Ui.h>
#include "elm_priv.h"

typedef struct {

} Efl_Ui_Spotlight_Fade_Manager_Data;

EOLIAN static Efl_Object*
_efl_ui_spotlight_fade_manager_efl_object_constructor(Eo *obj, Efl_Ui_Spotlight_Fade_Manager_Data *pd EINA_UNUSED)
{
   Efl_Canvas_Animation *animation;

   obj = efl_constructor(efl_super(obj, EFL_UI_SPOTLIGHT_FADE_MANAGER_CLASS));

   animation = efl_add(EFL_CANVAS_ALPHA_ANIMATION_CLASS, obj);
   efl_animation_alpha_set(animation, 0.0, 1.0);
   efl_animation_duration_set(animation, 0.5);

   efl_ui_spotlight_manager_animation_jump_setup_set(obj, animation, animation);
   efl_unref(animation);

   return obj;
}


#include "efl_ui_spotlight_fade_manager.eo.c"