Revert back to Original State (Merged Elementary)
[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: 0;
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: "launcher_page";
172       parts {
173          part { name: "slot.0.0"; type: SWALLOW;
174             description { state: "default" 0.0;
175               rel1 { relative: 0.0  0.0;
176               }
177               rel2 { relative: 0.25 0.25;
178               }
179             }
180          }
181          part { name: "slot.1.0"; type: SWALLOW;
182             description { state: "default" 0.0;
183               rel1 { relative: 0.25 0.0;
184               }
185               rel2 { relative: 0.50 0.25;
186               }
187             }
188          }
189          part { name: "slot.2.0"; type: SWALLOW;
190             description { state: "default" 0.0;
191               rel1 { relative: 0.50 0.0;
192               }
193               rel2 { relative: 0.75 0.25;
194               }
195             }
196          }
197          part { name: "slot.3.0"; type: SWALLOW;
198             description { state: "default" 0.0;
199               rel1 { relative: 0.75 0.0;
200               }
201               rel2 { relative: 1.00 0.25;
202               }
203             }
204          }
205          part { name: "slot.0.1"; type: SWALLOW;
206             description { state: "default" 0.0;
207               rel1 { relative: 0.0  0.25;
208               }
209               rel2 { relative: 0.25 0.50;
210               }
211             }
212          }
213          part { name: "slot.1.1"; type: SWALLOW;
214             description { state: "default" 0.0;
215               rel1 { relative: 0.25 0.25;
216               }
217               rel2 { relative: 0.50 0.50;
218               }
219             }
220          }
221          part { name: "slot.2.1"; type: SWALLOW;
222             description { state: "default" 0.0;
223               rel1 { relative: 0.50 0.25;
224               }
225               rel2 { relative: 0.75 0.50;
226               }
227             }
228          }
229          part { name: "slot.3.1"; type: SWALLOW;
230             description { state: "default" 0.0;
231               rel1 { relative: 0.75 0.25;
232               }
233               rel2 { relative: 1.00 0.50;
234               }
235             }
236          }
237          part { name: "slot.0.2"; type: SWALLOW;
238             description { state: "default" 0.0;
239               rel1 { relative: 0.0  0.50;
240               }
241               rel2 { relative: 0.25 0.75;
242               }
243             }
244          }
245          part { name: "slot.1.2"; type: SWALLOW;
246             description { state: "default" 0.0;
247               rel1 { relative: 0.25 0.50;
248               }
249               rel2 { relative: 0.50 0.75;
250               }
251             }
252          }
253          part { name: "slot.2.2"; type: SWALLOW;
254             description { state: "default" 0.0;
255               rel1 { relative: 0.50 0.50;
256               }
257               rel2 { relative: 0.75 0.75;
258               }
259             }
260          }
261          part { name: "slot.3.2"; type: SWALLOW;
262             description { state: "default" 0.0;
263               rel1 { relative: 0.75 0.50;
264               }
265               rel2 { relative: 1.00 0.75;
266               }
267             }
268          }
269          part { name: "slot.0.3"; type: SWALLOW;
270             description { state: "default" 0.0;
271               rel1 { relative: 0.0  0.75;
272               }
273               rel2 { relative: 0.25 1.00;
274               }
275             }
276          }
277          part { name: "slot.1.3"; type: SWALLOW;
278             description { state: "default" 0.0;
279               rel1 { relative: 0.25 0.75;
280               }
281               rel2 { relative: 0.50 1.00;
282               }
283             }
284          }
285          part { name: "slot.2.3"; type: SWALLOW;
286             description { state: "default" 0.0;
287               rel1 { relative: 0.50 0.75;
288               }
289               rel2 { relative: 0.75 1.00;
290               }
291             }
292          }
293          part { name: "slot.3.3"; type: SWALLOW;
294             description { state: "default" 0.0;
295               rel1 { relative: 0.75 0.75;
296               }
297               rel2 { relative: 1.00 1.00;
298               }
299             }
300          }
301       }
302    }
303    group { name: "launcher_icon";
304       parts {
305          part { name: "slot"; type: SWALLOW;
306             description { state: "default" 0.0;
307               rel1 { relative: 0.0 0.0;
308               }
309               rel2 { relative: 1.00 0.00;
310                 to_y: "label";
311               }
312             }
313             description { state: "drag1" 0.0;
314               inherit: "default" 0.0;
315               rel1.offset: -5 -3;
316               rel2.offset: -5 -3;
317             }
318             description { state: "drag2" 0.0;
319               inherit: "default" 0.0;
320               rel1.offset: 10 3;
321               rel2.offset: 10 3;
322             }
323             description { state: "drag3" 0.0;
324               inherit: "default" 0.0;
325               rel1.offset: -1  6;
326               rel2.offset: -1  6;
327             }
328          }
329          part { name: "label"; type: TEXT;
330             effect: SOFT_SHADOW;
331             scale: 1;
332             description { state: "default" 0.0;
333               fixed: 1 1;
334               align: 0.5 1.0;
335               rel1 { relative: 0.0  1.00;
336               }
337               rel2 { relative: 1.00 1.00;
338               }
339               color: 224 224 224 255;
340               color3: 0 0 0 64;
341               text {
342                 font: "Sans:style=Bold,Edje-Vera-Bold";
343                 size: 10;
344                 min: 0 1;
345                 max: 1 1;
346                 align: 0.5 0.0;
347               }
348             }
349             description { state: "hi" 0.0;
350               inherit: "default" 0.0;
351               color: 255 0 0 255;
352               color3: 0 0 0 255;
353             }
354             description { state: "drag1" 0.0;
355               inherit: "default" 0.0;
356               color: 255 0 0 255;
357               color3: 0 0 0 255;
358               rel1.offset: -5 -3;
359               rel2.offset: -5 -3;
360             }
361             description { state: "drag2" 0.0;
362               inherit: "default" 0.0;
363               color: 255 0 0 255;
364               color3: 0 0 0 255;
365               rel1.offset: 10 3;
366               rel2.offset: 10 3;
367             }
368             description { state: "drag3" 0.0;
369               inherit: "default" 0.0;
370               color: 255 0 0 255;
371               color3: 0 0 0 255;
372               rel1.offset: -1  6;
373               rel2.offset: -1  6;
374             }
375          }
376       }
377       programs {
378          program { name: "click";
379             signal: "click"; source: "app";
380             action: STATE_SET "hi" 0.0;
381             transition: LINEAR 0.5;
382             target: "label";
383          }
384          program { name: "drag1";
385             signal: "drag"; source: "app";
386             action: STATE_SET "drag1" 0.0;
387             transition: LINEAR 0.1;
388             target: "label";
389             target: "slot";
390             after: "drag2";
391          }
392          program { name: "drag2";
393             action: STATE_SET "drag2" 0.0;
394             transition: LINEAR 0.2;
395             target: "label";
396             target: "slot";
397             after: "drag3";
398          }
399          program { name: "drag3";
400             action: STATE_SET "drag3" 0.0;
401             transition: LINEAR 0.1;
402             target: "label";
403             target: "slot";
404             after: "drag1";
405          }
406          program { name: "drop";
407             signal: "drop"; source: "app";
408             action: STATE_SET "default" 0.0;
409             target: "label";
410             target: "slot";
411          }
412          program { name: "unclick";
413             signal: "unclick"; source: "app";
414             action: STATE_SET "default" 0.0;
415             transition: LINEAR 0.5;
416             target: "label";
417             target: "slot";
418          }
419          program { name: "cancel";
420             signal: "cancel"; source: "app";
421             action: STATE_SET "default" 0.0;
422             transition: LINEAR 0.5;
423             target: "label";
424             target: "slot";
425          }
426       }
427    }
428    group { name: "twolines";
429       parts {
430          part { name: "clip";
431             type: RECT;
432             description { state: "default" 0.0;
433             }
434          }
435          part { name: "under";
436             mouse_events: 0;
437             clip_to: "clip";
438             type: RECT;
439             description { state: "default" 0.0;
440                color: 0 128 200 30;
441             }
442          }
443          part { name: "element1";
444             type: SWALLOW;
445             clip_to: "clip";
446             description { state: "default" 0.0;
447                rel1 {
448                   relative: 0.0 0.0;
449                   offset: 4 4;
450                }
451                rel2 {
452                   relative: 1.0 0.5;
453                   offset: -5 -3;
454                }
455             }
456          }
457          part { name: "element2";
458             type: SWALLOW;
459             clip_to: "clip";
460             description { state: "default" 0.0;
461                rel1 {
462                   relative: 0.0 0.5;
463                   offset: 4 2;
464                }
465                rel2 {
466                   relative: 1.0 1.0;
467                   offset: -5 -5;
468                }
469             }
470          }
471       }
472    }
473    group { name: "bg_overlay";
474       images {
475          image: "clo.png" LOSSY 60;
476       }
477       parts {
478          part { name: "clip";
479             type: RECT;
480             description { state: "default" 0.0;
481             }
482          }
483          part { name: "clo";
484             mouse_events: 0;
485             clip_to: "clip";
486             description { state: "default" 0.0;
487                fill {
488                   smooth: 0;
489                   origin {
490                      relative: 0.0 0.0;
491                      offset: 0 0;
492                   }
493                   size {
494                      relative: 1.84722 1.0;
495                      offset: 0 0;
496                   }
497                }
498                image.normal: "clo.png";
499             }
500             description { state: "drift" 0.0;
501                inherit: "default" 0.0;
502                fill {
503                   origin {
504                      relative: 1.84722 0.0;
505                      offset: 0 0;
506                   }
507                   size {
508                      relative: 1.84722 1.0;
509                      offset: 0 0;
510                   }
511                }
512             }
513          }
514       }
515       programs {
516          program { name: "anim1";
517             signal: "load";
518             source: "";
519             action: STATE_SET "drift" 0.0;
520             transition: LINEAR 10.0;
521             target: "clo";
522             after: "anim2";
523          }
524          program { name: "anim2";
525             action: STATE_SET "default" 0.0;
526             target: "clo";
527             after: "anim1";
528          }
529       }
530    }
531 }
532