3 #ifndef E_MOD_COMP_EFFECT_H
4 #define E_MOD_COMP_EFFECT_H
6 typedef enum _E_Comp_Effect_Style E_Comp_Effect_Style;
7 typedef enum _E_Comp_Effect_Kind E_Comp_Effect_Kind;
8 typedef struct _E_Comp_Effect_Type E_Comp_Effect_Type;
9 typedef struct _E_Comp_Effect_Job E_Comp_Effect_Job;
11 enum _E_Comp_Effect_Style
13 E_COMP_EFFECT_STYLE_DEFAULT = 0,
14 E_COMP_EFFECT_STYLE_NONE,
15 E_COMP_EFFECT_STYLE_CUSTOM0,
16 E_COMP_EFFECT_STYLE_CUSTOM1,
17 E_COMP_EFFECT_STYLE_CUSTOM2,
18 E_COMP_EFFECT_STYLE_CUSTOM3,
19 E_COMP_EFFECT_STYLE_CUSTOM4,
20 E_COMP_EFFECT_STYLE_CUSTOM5,
21 E_COMP_EFFECT_STYLE_CUSTOM6,
22 E_COMP_EFFECT_STYLE_CUSTOM7,
23 E_COMP_EFFECT_STYLE_CUSTOM8,
24 E_COMP_EFFECT_STYLE_CUSTOM9
27 enum _E_Comp_Effect_Kind
29 E_COMP_EFFECT_KIND_SHOW = 0,
30 E_COMP_EFFECT_KIND_HIDE,
31 E_COMP_EFFECT_KIND_RESTACK,
32 E_COMP_EFFECT_KIND_ROTATION,
33 E_COMP_EFFECT_KIND_FOCUSIN,
34 E_COMP_EFFECT_KIND_FOCUSOUT
37 struct _E_Comp_Effect_Object
43 Ecore_X_Pixmap pixmap;
44 Eina_Bool ev_vis; // send E_EVENT_COMP_SOURCE_VISIBILITY event when effect is done
45 Eina_Bool show; // indicates that object is used to show app launching effect
46 Eina_Bool send_launching_done; // send client message as the meaning that launching effect was done.
49 Evas_Object *offset; // offset rectangle object for transparent rectangle
50 Evas_Object *rect; // transparent rectangle object
54 struct _E_Comp_Effect_Type
56 Eina_Bool animatable : 1; // if this valuse is true then window can show animaton.
57 E_Comp_Effect_Style show; // indicate show effect type
58 E_Comp_Effect_Style hide; // indicate hide effect type
59 E_Comp_Effect_Style restack; // indicate restack effect type
60 E_Comp_Effect_Style rotation; // indicate rotation effect type
61 E_Comp_Effect_Style focusin; // indicate focus in effect type
62 E_Comp_Effect_Style focusout; // indicate focus out effect type
65 struct _E_Comp_Effect_Job
68 E_Comp_Canvas *canvas;