1 /*-----------------------------------------------------*/
3 /*-----------------------------------------------------*/
4 group { name: "vi_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;
23 color: 255 255 255 50;
26 description { state: "visible" 0.0;
27 inherit: "default" 0.0;
29 color: 255 255 255 255;
31 description { state: "foreground" 0.0;
32 inherit: "default" 0.0;
34 color: 255 255 255 255;
36 description { state: "background" 0.0;
37 inherit: "default" 0.0;
39 color: 255 255 255 100;
41 description { state: "center" 0.0;
42 inherit: "default" 0.0;
43 color: 255 255 255 50;
46 description { state: "foreground_2" 0.0;
47 inherit: "default" 0.0;
49 color: 255 255 255 50;
51 description { state: "background_2" 0.0;
52 inherit: "default" 0.0;
54 color: 255 255 255 255;
56 description { state: "hide" 0.0;
57 inherit: "default" 0.0;
60 part { name: "shadow";
63 description { state: "default" 0.0;
66 normal: "comp-sh1.png";
72 to: "e.swallow.content";
77 to: "e.swallow.content";
82 description { state: "show" 0.0;
83 inherit: "default" 0.0;
86 description { state: "hidden" 0.0;
87 inherit: "default" 0.0;
90 part { name: "shower";
93 description { state: "default" 0.0;
99 description { state: "invisible" 0.0;
100 inherit: "default" 0.0;
105 description { state: "visible" 0.0;
106 inherit: "default" 0.0;
111 description { state: "hide" 0.0;
112 inherit: "default" 0.0;
117 description { state: "foreground" 0.0;
118 inherit: "default" 0.0;
123 description { state: "background" 0.0;
124 inherit: "default" 0.0;
125 rel1.relative: 0.05 0.05;
127 rel2.relative: 0.95 0.95;
129 description { state: "center" 0.0;
130 inherit: "default" 0.0;
131 rel1.relative: 0.30 0.30;
133 rel2.relative: 0.70 0.70;
135 description { state: "foreground_2" 0.0;
136 inherit: "default" 0.0;
137 rel1.relative: -0.25 -0.25;
139 rel2.relative: 1.25 1.25;
141 description { state: "background_2" 0.0;
142 inherit: "default" 0.0;
143 rel1.relative: 0.05 0.05;
145 rel2.relative: 0.95 0.95;
148 part { name: "e.swallow.transp.offset";
152 description { state: "default" 0.0;
164 part { name: "e.swallow.transp.rect";
168 description { state: "default" 0.0;
172 to: "e.swallow.transp.offset";
176 to: "e.swallow.transp.offset";
180 part { name: "persp";
182 description { state: "default" 0.0;
186 perspective.zplane: 0.0;
187 perspective.focal: 1000;
189 description { state: "hide" 0.0;
190 inherit: "default" 0.0;
191 perspective.zplane: -700.0;
192 perspective.focal: 1000;
194 description { state: "invisible" 0.0;
195 inherit: "default" 0.0;
196 perspective.zplane: -2000.0;
197 perspective.focal: 1000;
199 description { state: "visible" 0.0;
200 inherit: "default" 0.0;
201 perspective.zplane: 0.0;
202 perspective.focal: 1000;
205 part { name: "e.swallow.content";
209 description { state: "default" 0.0;
213 description { state: "invisible" 0.0;
222 perspective: "persp";
230 description { state: "visible" 0.0;
239 perspective: "persp";
247 description { state: "hide" 0.0;
256 perspective: "persp";
264 description { state: "foreground" 0.0;
268 description { state: "background" 0.0;
272 description { state: "center" 0.0;
276 description { state: "foreground_2" 0.0;
280 description { state: "background_2" 0.0;
287 program { name: "show1";
288 signal: "e,state,visible,on";
290 action: STATE_SET "center" 0.0;
294 target: "e.swallow.content";
297 program { name: "show2";
298 action: STATE_SET "visible" 0.0;
299 transition: DECELERATE 0.2;
303 target: "e.swallow.content";
306 program { name: "show3";
307 action: SIGNAL_EMIT "e,action,show,done" "e";
309 program { name: "background_show";
310 signal: "e,state,background,visible,on";
312 action: STATE_SET "background_2" 0.0;
315 target: "e.swallow.content";
316 after: "background_show2";
318 program { name: "background_show2";
319 action: STATE_SET "foreground_2" 0.0;
320 transition: DECELERATE 0.25;
323 target: "e.swallow.content";
324 after: "background_show3";
326 program { name: "background_show3";
327 action: SIGNAL_EMIT "e,action,show,done" "e";
329 program { name: "hide1";
330 signal: "e,state,visible,off";
332 action: STATE_SET "visible" 0.0;
336 target: "e.swallow.content";
339 program { name: "hide1-1";
340 action: STATE_SET "visible" 0.0;
341 transition: LINEAR 0.05;
347 program { name: "hide2";
348 action: STATE_SET "hide" 0.0;
349 transition: ACCEL_FAC 0.25 1.5;
355 program { name: "hide3";
356 action: STATE_SET "default" 0.0;
362 program { name: "hide4";
363 action: SIGNAL_EMIT "e,action,hide,done" "e";
365 program { name: "background_hide1";
366 signal: "e,state,background,visible,off";
368 action: STATE_SET "foreground_2" 0.0;
371 target: "e.swallow.content";
372 after: "background_hide2";
374 program { name: "background_hide2";
375 action: STATE_SET "foreground" 0.0;
376 transition: DECELERATE 0.25;
379 after: "background_hide3";
381 program { name: "background_hide3";
382 action: SIGNAL_EMIT "e,action,hide,done" "e";
384 program { name: "show1_noeffect";
385 signal: "e,state,visible,on,noeffect";
387 action: STATE_SET "default" 0.0;
390 target: "e.swallow.content";
391 after: "show2_noeffect";
393 program { name: "show2_noeffect";
394 action: STATE_SET "visible" 0.0;
397 target: "e.swallow.content";
400 program { name: "hide1_noeffect";
401 signal: "e,state,visible,off,noeffect";
403 action: STATE_SET "default" 0.0;
408 program { name: "shadow-on";
409 signal: "e,state,shadow,on";
411 action: STATE_SET "show" 0.0;
414 program { name: "shadow-off";
415 signal: "e,state,shadow,off";
417 action: STATE_SET "hidden" 0.0;
421 } /* end of group "shadow_fade" */