1 /*-----------------------------------------------------*/
2 /* group "shadow_fade" */
3 /*-----------------------------------------------------*/
4 group { name: "shadow_fade";
5 #include "../common/comp-config.edc"
7 image: "comp-sh1.png" COMP;
10 part { name: "clipper";
13 description { state: "default" 0.0;
16 rel1.relative: -1.0 -1.0;
17 rel1.offset: -9999 -9999;
18 rel2.relative: 2.0 2.0;
19 rel2.offset: 9999 9999;
21 description { state: "invisible" 0.0;
22 inherit: "default" 0.0;
25 description { state: "visible" 0.0;
26 inherit: "default" 0.0;
28 color: 255 255 255 255;
30 description { state: "foreground" 0.0;
31 inherit: "default" 0.0;
33 color: 255 255 255 255;
35 description { state: "background" 0.0;
36 inherit: "default" 0.0;
38 color: 255 255 255 100;
40 description { state: "hide" 0.0;
41 inherit: "default" 0.0;
44 part { name: "shadow";
47 description { state: "default" 0.0;
50 normal: "comp-sh1.png";
56 to: "e.swallow.content";
61 to: "e.swallow.content";
66 description { state: "show" 0.0;
67 inherit: "default" 0.0;
70 description { state: "hidden" 0.0;
71 inherit: "default" 0.0;
74 part { name: "shower";
77 description { state: "default" 0.0;
83 description { state: "invisible" 0.0;
84 inherit: "default" 0.0;
89 description { state: "visible" 0.0;
90 inherit: "default" 0.0;
95 description { state: "hide" 0.0;
96 inherit: "default" 0.0;
101 description { state: "foreground" 0.0;
102 inherit: "default" 0.0;
107 description { state: "background" 0.0;
108 inherit: "default" 0.0;
109 rel1.relative: 0.05 0.05;
111 rel2.relative: 0.95 0.95;
114 part { name: "e.swallow.transp.offset";
118 description { state: "default" 0.0;
130 part { name: "e.swallow.transp.rect";
134 description { state: "default" 0.0;
138 to: "e.swallow.transp.offset";
142 to: "e.swallow.transp.offset";
146 part { name: "persp";
148 description { state: "default" 0.0;
152 perspective.zplane: 0.0;
153 perspective.focal: 1000;
155 description { state: "hide" 0.0;
156 inherit: "default" 0.0;
157 perspective.zplane: -700.0;
158 perspective.focal: 1000;
160 description { state: "invisible" 0.0;
161 inherit: "default" 0.0;
162 perspective.zplane: -2000.0;
163 perspective.focal: 1000;
165 description { state: "visible" 0.0;
166 inherit: "default" 0.0;
167 perspective.zplane: 0.0;
168 perspective.focal: 1000;
171 part { name: "e.swallow.content";
175 description { state: "default" 0.0;
179 description { state: "invisible" 0.0;
188 perspective: "persp";
196 description { state: "visible" 0.0;
205 perspective: "persp";
213 description { state: "hide" 0.0;
222 perspective: "persp";
230 description { state: "foreground" 0.0;
234 description { state: "background" 0.0;
241 program { name: "show1";
242 signal: "e,state,visible,on";
244 action: STATE_SET "invisible" 0.0;
248 target: "e.swallow.content";
251 program { name: "show1-1";
252 action: STATE_SET "invisible" 0.0;
253 transition: LINEAR 0.05;
257 target: "e.swallow.content";
260 program { name: "show2";
261 action: STATE_SET "visible" 0.0;
262 transition: DECEL_FAC 0.15 0.8;
266 target: "e.swallow.content";
269 program { name: "show3";
270 action: SIGNAL_EMIT "e,action,show,done" "e";
272 program { name: "background_show";
273 signal: "e,state,background,visible,on";
275 action: STATE_SET "foreground" 0.0;
278 target: "e.swallow.content";
279 after: "background_show2";
281 program { name: "background_show2";
282 action: STATE_SET "background" 0.0;
283 transition: DECELERATE 0.25;
286 target: "e.swallow.content";
287 after: "background_show3";
289 program { name: "background_show3";
290 action: SIGNAL_EMIT "e,action,show,done" "e";
292 program { name: "hide1";
293 signal: "e,state,visible,off";
295 action: STATE_SET "visible" 0.0;
299 target: "e.swallow.content";
302 program { name: "hide1-1";
303 action: STATE_SET "visible" 0.0;
304 transition: LINEAR 0.05;
310 program { name: "hide2";
311 action: STATE_SET "hide" 0.0;
312 transition: ACCEL_FAC 0.25 1.5;
318 program { name: "hide3";
319 action: STATE_SET "default" 0.0;
325 program { name: "hide4";
326 action: SIGNAL_EMIT "e,action,hide,done" "e";
328 program { name: "background_hide1";
329 signal: "e,state,background,visible,off";
331 action: STATE_SET "background" 0.0;
334 target: "e.swallow.content";
335 after: "background_hide2";
337 program { name: "background_hide2";
338 action: STATE_SET "foreground" 0.0;
339 transition: DECELERATE 0.25;
342 after: "background_hide3";
344 program { name: "background_hide3";
345 action: SIGNAL_EMIT "e,action,hide,done" "e";
347 program { name: "show1_noeffect";
348 signal: "e,state,visible,on,noeffect";
350 action: STATE_SET "default" 0.0;
353 target: "e.swallow.content";
354 after: "show2_noeffect";
356 program { name: "show2_noeffect";
357 action: STATE_SET "visible" 0.0;
360 target: "e.swallow.content";
363 program { name: "hide1_noeffect";
364 signal: "e,state,visible,off,noeffect";
366 action: STATE_SET "default" 0.0;
371 program { name: "shadow-on";
372 signal: "e,state,shadow,on";
374 action: STATE_SET "show" 0.0;
377 program { name: "shadow-off";
378 signal: "e,state,shadow,off";
380 action: STATE_SET "hidden" 0.0;
384 } /* end of group "shadow_fade" */