apply FSL license
[pkgs/u/ui-gadget.git] / ug-efl-engine / ug_effect.edc
1 //TRANSLATION EFFECT
2 collections {
3         group {
4                 name: "ug_effect";
5                 parts {
6                         part {
7                                 name: "clip";
8                                 type: RECT;
9                                 description {
10                                         state: "default" 0.0;
11                                         rel1 { relative: 1 0; }
12                                         rel2 { relative: 2 1; }
13                                         color: 255 255 255 0;
14                                 }
15                                 description {
16                                         state: "show" 0.0;
17                                         rel1 { relative: 0 0; }
18                                         rel2 { relative: 1 1; }
19                                         color: 255 255 255 255;
20                                 }
21                         }
22                         part {
23                                 name: "elm.swallow.content";
24                                 type: SWALLOW;
25                                 clip_to: "clip";
26                                 description {
27                                         rel1.to: "clip";
28                                         rel2.to: "clip";
29                                 }
30                         }
31                         part {
32                                 name: "event_blocker";
33                                 description {
34                                         state: "default" 0.0;
35                                         visible: 1;
36                                 }
37                                 description {
38                                         state: "show" 0.0;
39                                         inherit: "default" 0.0;
40                                 }
41                                 description {
42                                         state: "disabled" 0.0;
43                                         inherit: "default" 0.0;
44                                         visible: 0;
45                                 }
46                         }
47                 }
48                 programs {
49                         program {
50                                 name: "show";
51                                 signal: "elm,state,show";
52                                 action: STATE_SET "show" 0.0;
53                                 target: "clip";
54                                 target: "event_blocker";
55                                 transition: "DECELERATE" 0.2;
56                                 after: "show_end";
57                         }
58                         program {
59                                 name: "hide";
60                                 signal: "elm,state,hide";
61                                 action: STATE_SET "default" 0.0;
62                                 target: "clip";
63                                 target: "event_blocker";
64                                 transition: "DECELERATE" 0.2;
65                                 after: "hide_end";
66                         }
67                         program {
68                                 name: "disable_event_blocker";
69                                 signal: "elm,state,blocker,disabled";
70                                 action: STATE_SET "disabled" 0.0;
71                                 target: "event_blocker";
72                         }
73                         program {
74                                 name: "disable_blocker";
75                                 action: SIGNAL_EMIT "elm,state,blocker,disabled" "";
76                         }
77                         program {
78                                 name: "show_end";
79                                 action: SIGNAL_EMIT "elm,action,show,finished" "";
80                                 after: "disable_blocker";
81                         }
82                         program {
83                                 name: "hide_end";
84                                 action: SIGNAL_EMIT "elm,action,hide,finished" "";
85                                 after: "disable_blocker";
86                         }
87
88                         program {
89                                 name: "hide_already";
90                                 signal: "elm,state,hidealready";
91                                 after: "hide_already_end";
92                         }
93                         program {
94                                 name: "hide_already_end";
95                                 action: SIGNAL_EMIT "elm,action,hidealready,finished" "";
96                         }
97
98                         program {
99                                 name: "hide_only";
100                                 signal: "elm,state,hideonly";
101                                 action: STATE_SET "default" 0.0;
102                                 target: "clip";
103                                 target: "event_blocker";
104                                 transition: "DECELERATE" 0.2;
105                                 after: "hide_only_end";
106                         }
107                         program {
108                                 name: "hide_only_end";
109                                 action: SIGNAL_EMIT "elm,action,hideonly,finished" "";
110                                 after: "disable_blocker";
111                         }
112                 }
113         }
114 }