Initialize Tizen 2.3
[framework/uifw/elementary.git] / data / objects / test.edc
1 collections {
2    group { name: "layout";
3       images {
4          image: "over.png" COMP;
5          image: "under.png" COMP;
6          image: "sky.jpg" LOSSY 80;
7          image: "clo.png" LOSSY 60;
8       }
9       parts {
10          part { name: "clip";
11             type: RECT;
12             description { state: "default" 0.0;
13             }
14          }
15          part { name: "sky";
16             mouse_events: 1;
17             clip_to: "clip";
18             description { state: "default" 0.0;
19                aspect: 2.6225 2.6225;
20                aspect_preference: NONE;
21                image.normal: "sky.jpg";
22             }
23             description { state: "drift" 0.0;
24                inherit: "default" 0.0;
25                fill {
26                   origin {
27                      relative: 1.0 0.0;
28                      offset: 0 0;
29                   }
30                }
31             }
32          }
33          part { name: "under";
34             mouse_events: 0;
35             clip_to: "clip";
36             description { state: "default" 0.0;
37                align: 0.5 0.0;
38                aspect: 1.486068111 1.486068111;
39                aspect_preference: HORIZONTAL;
40                image.normal: "under.png";
41             }
42          }
43          part { name: "text";
44             type: TEXT;
45             clip_to: "clip";
46             description { state: "default" 0.0;
47                color: 255 255 0 255;
48                rel1 {
49                   relative: 0.3 0.02;
50                }
51                rel2 {
52                   relative: 0.6 0.12;
53                }
54                align: 0.5 0.5;
55                text {
56                   font: "Sans:style=Bold";
57                   size: 14;
58                   min: 1 1;
59                   text: "some edje text here";
60                }
61             }
62          }
63          part { name: "element1";
64             type: SWALLOW;
65             clip_to: "clip";
66             description { state: "default" 0.0;
67                rel1 {
68                   relative: 0.2 0.2;
69                }
70                rel2 {
71                   relative: 0.4 0.3;
72                }
73             }
74          }
75          part { name: "element2";
76             type: SWALLOW;
77             clip_to: "clip";
78             description { state: "default" 0.0;
79                rel1 {
80                   relative: 0.6 0.3;
81                }
82                rel2 {
83                   relative: 0.9 0.5;
84                }
85             }
86          }
87          part { name: "element3";
88             type: SWALLOW;
89             clip_to: "clip";
90             description { state: "default" 0.0;
91                rel1 {
92                   relative: 0.1 0.7;
93                }
94                rel2 {
95                   relative: 0.9 0.9;
96                }
97             }
98          }
99          part { name: "over";
100             mouse_events: 0;
101             clip_to: "clip";
102             description { state: "default" 0.0;
103                align: 0.0 1.0;
104                aspect: 2.238095238 2.238095238;
105                max: 329 147;
106                aspect_preference: HORIZONTAL;
107                image.normal: "over.png";
108             }
109          }
110          part { name: "clo";
111             mouse_events: 0;
112             clip_to: "clip";
113             description { state: "default" 0.0;
114                fill {
115                   smooth: 0;
116                   origin {
117                      relative: 0.0 0.0;
118                      offset: 0 0;
119                   }
120                   size {
121                      relative: 1.84722 1.0;
122                      offset: 0 0;
123                   }
124                }
125                image.normal: "clo.png";
126             }
127             description { state: "drift" 0.0;
128                inherit: "default" 0.0;
129                fill {
130                   origin {
131                      relative: 1.84722 0.0;
132                      offset: 0 0;
133                   }
134                   size {
135                      relative: 1.84722 1.0;
136                      offset: 0 0;
137                   }
138                }
139             }
140          }
141       }
142       programs {
143          program { name: "anim1";
144             signal: "load";
145             source: "";
146             action: STATE_SET "drift" 0.0;
147             transition: LINEAR 10.0;
148             target: "clo";
149             after: "anim2";
150          }
151          program { name: "anim2";
152             action: STATE_SET "default" 0.0;
153             target: "clo";
154             after: "anim1";
155          }
156          program { name: "anim3";
157             signal: "load";
158             source: "";
159             action: STATE_SET "drift" 0.0;
160             transition: LINEAR 40.0;
161             target: "sky";
162             after: "anim4";
163          }
164          program { name: "anim4";
165             action: STATE_SET "default" 0.0;
166             target: "sky";
167             after: "anim3";
168          }
169       }
170    }
171    group { name: "layout2";
172       images {
173          image: "over.png" COMP;
174          image: "under.png" COMP;
175          image: "sky.jpg" LOSSY 80;
176          image: "clo.png" LOSSY 60;
177       }
178       parts {
179          part { name: "clip";
180             type: RECT;
181             description { state: "default" 0.0;
182             }
183          }
184          part { name: "sky";
185             mouse_events: 0;
186             clip_to: "clip";
187             description { state: "default" 0.0;
188                aspect: 2.6225 2.6225;
189                aspect_preference: NONE;
190                image.normal: "sky.jpg";
191             }
192             description { state: "drift" 0.0;
193                inherit: "default" 0.0;
194                fill {
195                   origin {
196                      relative: 1.0 0.0;
197                      offset: 0 0;
198                   }
199                }
200             }
201          }
202          part { name: "under";
203             mouse_events: 0;
204             clip_to: "clip";
205             description { state: "default" 0.0;
206                align: 0.5 0.0;
207                aspect: 1.486068111 1.486068111;
208                aspect_preference: HORIZONTAL;
209                image.normal: "under.png";
210             }
211          }
212          part { name: "text";
213             type: TEXT;
214             clip_to: "clip";
215             description { state: "default" 0.0;
216                color: 255 255 0 255;
217                rel1 {
218                   relative: 0.3 0.02;
219                }
220                rel2 {
221                   relative: 0.6 0.12;
222                }
223                align: 0.5 0.5;
224                text {
225                   font: "Sans:style=Bold";
226                   size: 14;
227                   min: 1 1;
228                   text: "some edje text here";
229                }
230             }
231          }
232          part { name: "element1";
233             type: SWALLOW;
234             clip_to: "clip";
235             description { state: "default" 0.0;
236                rel1 {
237                   relative: 0.2 0.2;
238                }
239                rel2 {
240                   relative: 0.4 0.3;
241                }
242             }
243          }
244          part { name: "element2";
245             type: SWALLOW;
246             clip_to: "clip";
247             description { state: "default" 0.0;
248                rel1 {
249                   relative: 0.6 0.3;
250                }
251                rel2 {
252                   relative: 0.9 0.5;
253                }
254             }
255          }
256          part { name: "element3";
257             type: SWALLOW;
258             clip_to: "clip";
259             description { state: "default" 0.0;
260                rel1 {
261                   relative: 0.1 0.7;
262                }
263                rel2 {
264                   relative: 0.9 0.9;
265                }
266             }
267          }
268          part { name: "over";
269             mouse_events: 0;
270             clip_to: "clip";
271             description { state: "default" 0.0;
272                align: 0.0 1.0;
273                aspect: 2.238095238 2.238095238;
274                max: 329 147;
275                aspect_preference: HORIZONTAL;
276                image.normal: "over.png";
277             }
278          }
279          part { name: "clo";
280             mouse_events: 0;
281             clip_to: "clip";
282             description { state: "default" 0.0;
283                fill {
284                   smooth: 0;
285                   origin {
286                      relative: 0.0 0.0;
287                      offset: 0 0;
288                   }
289                   size {
290                      relative: 1.84722 1.0;
291                      offset: 0 0;
292                   }
293                }
294                image.normal: "clo.png";
295             }
296             description { state: "drift" 0.0;
297                inherit: "default" 0.0;
298                fill {
299                   origin {
300                      relative: 1.84722 0.0;
301                      offset: 0 0;
302                   }
303                   size {
304                      relative: 1.84722 1.0;
305                      offset: 0 0;
306                   }
307                }
308             }
309          }
310       }
311    }
312    group { name: "launcher_page";
313       parts {
314          part { name: "slot.0.0"; type: SWALLOW;
315             description { state: "default" 0.0;
316               rel1 { relative: 0.0  0.0;
317               }
318               rel2 { relative: 0.25 0.25;
319               }
320             }
321          }
322          part { name: "slot.1.0"; type: SWALLOW;
323             description { state: "default" 0.0;
324               rel1 { relative: 0.25 0.0;
325               }
326               rel2 { relative: 0.50 0.25;
327               }
328             }
329          }
330          part { name: "slot.2.0"; type: SWALLOW;
331             description { state: "default" 0.0;
332               rel1 { relative: 0.50 0.0;
333               }
334               rel2 { relative: 0.75 0.25;
335               }
336             }
337          }
338          part { name: "slot.3.0"; type: SWALLOW;
339             description { state: "default" 0.0;
340               rel1 { relative: 0.75 0.0;
341               }
342               rel2 { relative: 1.00 0.25;
343               }
344             }
345          }
346          part { name: "slot.0.1"; type: SWALLOW;
347             description { state: "default" 0.0;
348               rel1 { relative: 0.0  0.25;
349               }
350               rel2 { relative: 0.25 0.50;
351               }
352             }
353          }
354          part { name: "slot.1.1"; type: SWALLOW;
355             description { state: "default" 0.0;
356               rel1 { relative: 0.25 0.25;
357               }
358               rel2 { relative: 0.50 0.50;
359               }
360             }
361          }
362          part { name: "slot.2.1"; type: SWALLOW;
363             description { state: "default" 0.0;
364               rel1 { relative: 0.50 0.25;
365               }
366               rel2 { relative: 0.75 0.50;
367               }
368             }
369          }
370          part { name: "slot.3.1"; type: SWALLOW;
371             description { state: "default" 0.0;
372               rel1 { relative: 0.75 0.25;
373               }
374               rel2 { relative: 1.00 0.50;
375               }
376             }
377          }
378          part { name: "slot.0.2"; type: SWALLOW;
379             description { state: "default" 0.0;
380               rel1 { relative: 0.0  0.50;
381               }
382               rel2 { relative: 0.25 0.75;
383               }
384             }
385          }
386          part { name: "slot.1.2"; type: SWALLOW;
387             description { state: "default" 0.0;
388               rel1 { relative: 0.25 0.50;
389               }
390               rel2 { relative: 0.50 0.75;
391               }
392             }
393          }
394          part { name: "slot.2.2"; type: SWALLOW;
395             description { state: "default" 0.0;
396               rel1 { relative: 0.50 0.50;
397               }
398               rel2 { relative: 0.75 0.75;
399               }
400             }
401          }
402          part { name: "slot.3.2"; type: SWALLOW;
403             description { state: "default" 0.0;
404               rel1 { relative: 0.75 0.50;
405               }
406               rel2 { relative: 1.00 0.75;
407               }
408             }
409          }
410          part { name: "slot.0.3"; type: SWALLOW;
411             description { state: "default" 0.0;
412               rel1 { relative: 0.0  0.75;
413               }
414               rel2 { relative: 0.25 1.00;
415               }
416             }
417          }
418          part { name: "slot.1.3"; type: SWALLOW;
419             description { state: "default" 0.0;
420               rel1 { relative: 0.25 0.75;
421               }
422               rel2 { relative: 0.50 1.00;
423               }
424             }
425          }
426          part { name: "slot.2.3"; type: SWALLOW;
427             description { state: "default" 0.0;
428               rel1 { relative: 0.50 0.75;
429               }
430               rel2 { relative: 0.75 1.00;
431               }
432             }
433          }
434          part { name: "slot.3.3"; type: SWALLOW;
435             description { state: "default" 0.0;
436               rel1 { relative: 0.75 0.75;
437               }
438               rel2 { relative: 1.00 1.00;
439               }
440             }
441          }
442       }
443    }
444    group { name: "launcher_icon";
445       parts {
446          part { name: "slot"; type: SWALLOW;
447             description { state: "default" 0.0;
448               rel1 { relative: 0.0 0.0;
449               }
450               rel2 { relative: 1.00 0.00;
451                 to_y: "label";
452               }
453             }
454             description { state: "drag1" 0.0;
455               inherit: "default" 0.0;
456               rel1.offset: -5 -3;
457               rel2.offset: -5 -3;
458             }
459             description { state: "drag2" 0.0;
460               inherit: "default" 0.0;
461               rel1.offset: 10 3;
462               rel2.offset: 10 3;
463             }
464             description { state: "drag3" 0.0;
465               inherit: "default" 0.0;
466               rel1.offset: -1  6;
467               rel2.offset: -1  6;
468             }
469          }
470          part { name: "label"; type: TEXT;
471             effect: SOFT_SHADOW;
472             scale: 1;
473             description { state: "default" 0.0;
474               fixed: 1 1;
475               align: 0.5 1.0;
476               rel1 { relative: 0.0  1.00;
477               }
478               rel2 { relative: 1.00 1.00;
479               }
480               color: 224 224 224 255;
481               color3: 0 0 0 64;
482               text {
483                 font: "Sans:style=Bold,Edje-Vera-Bold";
484                 size: 10;
485                 min: 0 1;
486                 max: 1 1;
487                 align: 0.5 0.0;
488               }
489             }
490             description { state: "hi" 0.0;
491               inherit: "default" 0.0;
492               color: 255 0 0 255;
493               color3: 0 0 0 255;
494             }
495             description { state: "drag1" 0.0;
496               inherit: "default" 0.0;
497               color: 255 0 0 255;
498               color3: 0 0 0 255;
499               rel1.offset: -5 -3;
500               rel2.offset: -5 -3;
501             }
502             description { state: "drag2" 0.0;
503               inherit: "default" 0.0;
504               color: 255 0 0 255;
505               color3: 0 0 0 255;
506               rel1.offset: 10 3;
507               rel2.offset: 10 3;
508             }
509             description { state: "drag3" 0.0;
510               inherit: "default" 0.0;
511               color: 255 0 0 255;
512               color3: 0 0 0 255;
513               rel1.offset: -1  6;
514               rel2.offset: -1  6;
515             }
516          }
517       }
518       programs {
519          program { name: "click";
520             signal: "click"; source: "app";
521             action: STATE_SET "hi" 0.0;
522             transition: LINEAR 0.5;
523             target: "label";
524          }
525          program { name: "drag1";
526             signal: "drag"; source: "app";
527             action: STATE_SET "drag1" 0.0;
528             transition: LINEAR 0.1;
529             target: "label";
530             target: "slot";
531             after: "drag2";
532          }
533          program { name: "drag2";
534             action: STATE_SET "drag2" 0.0;
535             transition: LINEAR 0.2;
536             target: "label";
537             target: "slot";
538             after: "drag3";
539          }
540          program { name: "drag3";
541             action: STATE_SET "drag3" 0.0;
542             transition: LINEAR 0.1;
543             target: "label";
544             target: "slot";
545             after: "drag1";
546          }
547          program { name: "drop";
548             signal: "drop"; source: "app";
549             action: STATE_SET "default" 0.0;
550             target: "label";
551             target: "slot";
552          }
553          program { name: "unclick";
554             signal: "unclick"; source: "app";
555             action: STATE_SET "default" 0.0;
556             transition: LINEAR 0.5;
557             target: "label";
558             target: "slot";
559          }
560          program { name: "cancel";
561             signal: "cancel"; source: "app";
562             action: STATE_SET "default" 0.0;
563             transition: LINEAR 0.5;
564             target: "label";
565             target: "slot";
566          }
567       }
568    }
569    group { name: "twolines";
570       parts {
571          part { name: "clip";
572             type: RECT;
573             description { state: "default" 0.0;
574             }
575          }
576          part { name: "under";
577             mouse_events: 0;
578             clip_to: "clip";
579             type: RECT;
580             description { state: "default" 0.0;
581                color: 0 128 200 30;
582             }
583          }
584          part { name: "element1";
585             type: SWALLOW;
586             clip_to: "clip";
587             description { state: "default" 0.0;
588                rel1 {
589                   relative: 0.0 0.0;
590                   offset: 4 4;
591                }
592                rel2 {
593                   relative: 1.0 0.5;
594                   offset: -5 -3;
595                }
596             }
597          }
598          part { name: "element2";
599             type: SWALLOW;
600             clip_to: "clip";
601             description { state: "default" 0.0;
602                rel1 {
603                   relative: 0.0 0.5;
604                   offset: 4 2;
605                }
606                rel2 {
607                   relative: 1.0 1.0;
608                   offset: -5 -5;
609                }
610             }
611          }
612       }
613    }
614
615    group { name: "bg_overlay";
616       images {
617          image: "clo.png" LOSSY 60;
618       }
619       parts {
620          part { name: "clip";
621             type: RECT;
622             description { state: "default" 0.0;
623             }
624          }
625          part { name: "clo";
626             mouse_events: 0;
627             clip_to: "clip";
628             description { state: "default" 0.0;
629                fill {
630                   smooth: 0;
631                   origin {
632                      relative: 0.0 0.0;
633                      offset: 0 0;
634                   }
635                   size {
636                      relative: 1.84722 1.0;
637                      offset: 0 0;
638                   }
639                }
640                image.normal: "clo.png";
641             }
642             description { state: "drift" 0.0;
643                inherit: "default" 0.0;
644                fill {
645                   origin {
646                      relative: 1.84722 0.0;
647                      offset: 0 0;
648                   }
649                   size {
650                      relative: 1.84722 1.0;
651                      offset: 0 0;
652                   }
653                }
654             }
655          }
656       }
657       programs {
658          program { name: "anim1";
659             signal: "load";
660             source: "";
661             action: STATE_SET "drift" 0.0;
662             transition: LINEAR 10.0;
663             target: "clo";
664             after: "anim2";
665          }
666          program { name: "anim2";
667             action: STATE_SET "default" 0.0;
668             target: "clo";
669             after: "anim1";
670          }
671       }
672    }
673    group {
674       name: "test/layout";
675       images {
676          image: "sky.jpg" LOSSY 80;
677       }
678       parts {
679             part {
680                  name: "bg";
681                  description {
682                      state: "default" 0.0;
683                      color: 255 255 255 100;
684                      image.normal: "sky.jpg";
685                  }
686             }
687             part {
688                  name: "swallow";
689                  type: SWALLOW;
690                  description {
691                      state: "default" 0.0;
692                      rel1.offset: 8 8;
693                      rel2.offset: -7 -7;
694                  }
695             }
696       }
697    }
698 }