3d, gesturelayer, index, naviframe, transit, fileselector, frame, glview, layout...
[framework/uifw/elementary.git] / data / themes / widgets / index.edc
1 group { name: "elm/index/base/vertical/default";
2    images {
3       image: "bt_base1.png" COMP;
4       image: "bt_base2.png" COMP;
5       image: "bt_hilight.png" COMP;
6       image: "bt_shine.png" COMP;
7    }
8    parts {
9       part { name: "clip";
10          type: RECT;
11          mouse_events:  0;
12          description { state: "default" 0.0;
13             visible:  0;
14             color: 255 255 255 0;
15          }
16          description { state: "active" 0.0;
17             visible:  1;
18             color: 255 255 255 255;
19          }
20       }
21       part { name: "clip2";
22          type: RECT;
23          mouse_events:  0;
24          clip_to: "clip";
25          description { state: "default" 0.0;
26             visible: 0;
27             color: 255 255 255 0;
28          }
29          description { state: "active" 0.0;
30             visible:  1;
31             color: 255 255 255 255;
32          }
33       }
34       part { name: "elm.swallow.index.0";
35          type: SWALLOW;
36          clip_to: "clip";
37          description { state: "default" 0.0;
38             align: 1.0 0.5;
39             fixed: 1 1;
40             rel1 {
41                relative: 1.0 0.5;
42                offset: -1 5;
43             }
44             rel2 {
45                relative: 1.0 0.5;
46                offset: -1 -6;
47             }
48          }
49       }
50       part { name: "button_image";
51          mouse_events: 1;
52          clip_to: "clip2";
53          description { state: "default" 0.0;
54             rel1 {
55                to: "elm.text.body";
56                offset: -5 -5;
57             }
58             rel2 {
59                to: "elm.text";
60                offset: 4 4;
61             }
62             image {
63                normal: "bt_base2.png";
64                border: 7 7 7 7;
65             }
66             image.middle: SOLID;
67          }
68       }
69       part { name: "elm.text.body";
70          type: TEXT;
71          effect: SOFT_SHADOW;
72          mouse_events: 0;
73          scale: 1;
74          clip_to: "clip2";
75          description { state: "default" 0.0;
76             align: 1.0 0.5;
77             fixed: 1 1;
78             rel1 {
79                to: "elm.text";
80                relative: 0.0 0.0;
81                offset: 5 0;
82             }
83             rel2 {
84                to: "elm.text";
85                relative: 0.0 1.0;
86                offset: 5 -1;
87             }
88             color: 224 224 224 255;
89             color3: 0 0 0 64;
90             text {
91                font:     "Sans,Edje-Vera";
92                size:     20;
93                min:      1 1;
94                align:    1.0 0.5;
95             }
96          }
97       }
98       part { name: "elm.text";
99          type: TEXT;
100          effect: SOFT_SHADOW;
101          mouse_events: 0;
102          scale: 1;
103          clip_to: "clip2";
104          description { state: "default" 0.0;
105             align: 1.0 0.5;
106             fixed: 1 1;
107             rel1 {
108                to_x: "elm.swallow.event.0";
109                to_y: "elm.dragable.pointer";
110                relative: 0.0 0.5;
111                offset: -16 0;
112             }
113             rel2 {
114                to_x: "elm.swallow.event.0";
115                to_y: "elm.dragable.pointer";
116                relative: 0.0 0.5;
117                offset: -16 -1;
118             }
119             color: 255 0 0 255;
120             color3: 0 0 0 64;
121             text {
122                font:     "Sans,Edje-Vera";
123                size:     20;
124                min:      1 1;
125                align:    1.0 0.5;
126             }
127          }
128       }
129       part { name: "over1";
130          mouse_events: 0;
131          clip_to: "clip2";
132          description { state: "default" 0.0;
133             rel1 {
134                to: "button_image";
135             }
136             rel2 {
137                to: "button_image";
138                relative: 1.0 0.5;
139             }
140             image {
141                normal: "bt_hilight.png";
142                border: 7 7 7 0;
143             }
144          }
145       }
146       part { name: "over2";
147          mouse_events: 1;
148          repeat_events: 1;
149          ignore_flags: ON_HOLD;
150          clip_to: "clip2";
151          description { state: "default" 0.0;
152             rel1 {
153                to: "button_image";
154             }
155             rel2 {
156                to: "button_image";
157             }
158             image {
159                normal: "bt_shine.png";
160                border: 7 7 7 7;
161             }
162          }
163       }
164       part { name: "elm.dragable.pointer";
165          type: RECT;
166          mouse_events: 0;
167          dragable {
168             x: 1 1 0;
169             y: 1 1 0;
170          }
171          clip_to: "clip";
172          description { state: "default" 0.0;
173             fixed: 1 1;
174             min: 8 8;
175             max: 8 8;
176             visible: 0;
177             rel1 {
178                relative: 0.0 0.0;
179                offset:   0 0;
180             }
181             rel2 {
182                relative: 0.0 0.0;
183                offset:   0 0;
184             }
185          }
186       }
187       part { name: "elm.swallow.event.0";
188          type: SWALLOW;
189          description { state: "default" 0.0;
190             align: 1.0 0.5;
191             fixed: 1 1;
192             rel1 {
193                relative: 1.0 0.0;
194                offset: -1 0;
195             }
196             rel2 {
197                relative: 1.0 1.0;
198                offset: -1 -1;
199             }
200          }
201       }
202    }
203    programs {
204       program { name: "active";
205          signal: "elm,state,active";
206          source: "elm";
207          action: STATE_SET "active" 0.0;
208          transition: DECELERATE 0.5;
209          target: "clip";
210       }
211       program { name: "inactive";
212          signal: "elm,state,inactive";
213          source: "elm";
214          action: STATE_SET "default" 0.0;
215          transition: DECELERATE 0.5;
216          target: "clip";
217       }
218       program { name: "active2";
219          signal: "elm,indicator,state,active";
220          source: "elm";
221          action: STATE_SET "active" 0.0;
222          transition: DECELERATE 0.5;
223          target: "clip2";
224       }
225       program { name: "inactive2";
226          signal: "elm,indicator,state,inactive";
227          source: "elm";
228          action: STATE_SET "default" 0.0;
229          transition: DECELERATE 0.5;
230          target: "clip2";
231       }
232    }
233 }
234
235 group { name: "elm/index/item/vertical/default";
236    data.item: "stacking" "above";
237    data.item: "selectraise" "on";
238    images {
239       image: "ilist_1.png" COMP;
240       image: "ilist_item_shadow.png" COMP;
241    }
242    parts {
243       part {
244          name: "base_sh";
245          mouse_events: 0;
246          description {
247             state: "default" 0.0;
248             align: 0.0 0.0;
249             min: 0 10;
250             fixed: 1 1;
251             rel1 {
252                to: "base";
253                relative: 0.0 1.0;
254                offset: 0 0;
255             }
256             rel2 {
257                to: "base";
258                relative: 1.0 1.0;
259                offset: -1 0;
260             }
261             image {
262                normal: "ilist_item_shadow.png";
263             }
264             fill.smooth: 0;
265          }
266       }
267       part {
268          name: "base";
269          mouse_events: 0;
270          description {
271             state: "default" 0.0;
272             image {
273                normal: "ilist_1.png";
274                border: 2 2 2 2;
275             }
276             fill.smooth: 0;
277          }
278          description { state: "active" 0.0;
279             inherit: "default" 0.0;
280             rel1 {
281                offset: -16 0;
282             }
283          }
284       }
285       part { name: "elm.text";
286          type:           TEXT;
287          mouse_events:   0;
288          scale: 1;
289          description {
290             state: "default" 0.0;
291                    //               min: 16 16;
292             rel1 {
293                to: "base";
294                relative: 0.0  0.0;
295                offset:   4 4;
296             }
297             rel2 {
298                to: "base";
299                relative: 0.5  1.0;
300                offset:   -1 -1;
301             }
302             color: 0 0 0 128;
303             text {
304                font: "Sans";
305                size: 10;
306                min: 1 1;
307                     //                  min: 0 1;
308                align: 0.5 0.5;
309             }
310          }
311          description { state: "active" 0.0;
312             inherit: "default" 0.0;
313             color: 0 0 0 255;
314          }
315       }
316    }
317    programs {
318       program { name: "active";
319          signal: "elm,state,active";
320          source: "elm";
321          action: STATE_SET "active" 0.0;
322          transition: DECELERATE 0.5;
323          target: "elm.text";
324          target: "base";
325       }
326       program { name: "inactive";
327          signal: "elm,state,inactive";
328          source: "elm";
329          action: STATE_SET "default" 0.0;
330          transition: DECELERATE 0.5;
331          target: "elm.text";
332          target: "base";
333       }
334    }
335 }
336
337 group { name: "elm/index/item_odd/vertical/default";
338    data.item: "stacking" "below";
339    images {
340       image: "ilist_2.png" COMP;
341    }
342    parts {
343       part {
344          name: "base";
345          mouse_events: 0;
346          description {
347             state: "default" 0.0;
348             image {
349                normal: "ilist_2.png";
350                border: 2 2 2 2;
351             }
352             fill.smooth: 0;
353          }
354          description { state: "active" 0.0;
355             inherit: "default" 0.0;
356             rel1 {
357                offset: -16 0;
358             }
359          }
360       }
361       part { name: "elm.text";
362          type:           TEXT;
363          mouse_events:   0;
364          scale: 1;
365          description {
366             state: "default" 0.0;
367                    //               min: 16 16;
368             rel1 {
369                to: "base";
370                relative: 0.0  0.0;
371                offset:   4 4;
372             }
373             rel2 {
374                to: "base";
375                relative: 0.5  1.0;
376                offset:   -1 -1;
377             }
378             color: 0 0 0 128;
379             text {
380                font: "Sans";
381                size: 10;
382                min: 1 1;
383                     //                  min: 0 1;
384                align: 0.5 0.5;
385             }
386          }
387          description { state: "active" 0.0;
388             inherit: "default" 0.0;
389             color: 0 0 0 255;
390          }
391       }
392    }
393    programs {
394       program { name: "active";
395          signal: "elm,state,active";
396          source: "elm";
397          action: STATE_SET "active" 0.0;
398          transition: DECELERATE 0.5;
399          target: "elm.text";
400          target: "base";
401       }
402       program { name: "inactive";
403          signal: "elm,state,inactive";
404          source: "elm";
405          action: STATE_SET "default" 0.0;
406          transition: DECELERATE 0.5;
407          target: "elm.text";
408          target: "base";
409       }
410    }
411 }
412 group { name: "elm/index/base/horizontal/default";
413    images {
414       image: "bt_base1.png" COMP;
415       image: "bt_base2.png" COMP;
416       image: "bt_hilight.png" COMP;
417       image: "bt_shine.png" COMP;
418    }
419    parts {
420       part { name: "clip";
421          type: RECT;
422          mouse_events:  0;
423          description { state: "default" 0.0;
424             visible:  0;
425             color: 255 255 255 0;
426          }
427          description { state: "active" 0.0;
428             visible:  1;
429             color: 255 255 255 255;
430          }
431       }
432       part { name: "clip2";
433          type: RECT;
434          mouse_events:  0;
435          clip_to: "clip";
436          description { state: "default" 0.0;
437             visible: 0;
438             color: 255 255 255 0;
439          }
440          description { state: "active" 0.0;
441             visible:  1;
442             color: 255 255 255 255;
443          }
444       }
445       part { name: "elm.swallow.index.0";
446          type: SWALLOW;
447          clip_to: "clip";
448          description { state: "default" 0.0;
449             align: 0.5 1.0;
450             fixed: 1 1;
451             rel1 {
452                relative: 0.5 1;
453                offset: 0 0;
454             }
455             rel2 {
456                relative: 0.5 1;
457                offset: -1 -1;
458             }
459          }
460       }
461       part { name: "button_image";
462          mouse_events: 1;
463          clip_to: "clip2";
464          description { state: "default" 0.0;
465             rel1 {
466                to: "elm.text";
467                offset: -5 -5;
468             }
469             rel2 {
470                to: "elm.text";
471                offset: 4 4;
472             }
473             image {
474                normal: "bt_base2.png";
475                border: 7 7 7 7;
476             }
477             image.middle: SOLID;
478          }
479       }
480       part { name: "elm.text.body";
481          type: TEXT;
482          effect: SOFT_SHADOW;
483          mouse_events: 0;
484          scale: 1;
485          clip_to: "clip2";
486          description { state: "default" 0.0;
487             align: 0.5 1;
488             fixed: 1 1;
489             rel1 {
490                to: "elm.text";
491                relative: 0.0 0.0;
492             }
493             rel2 {
494                to: "elm.text";
495                relative: 0.1 0.0;
496             }
497             color: 224 224 224 255;
498             color3: 0 0 0 64;
499             text {
500                font:     "Sans,Edje-Vera";
501                size:     20;
502                min:      1 1;
503                align:    0.5 1;
504             }
505          }
506       }
507       part { name: "elm.text";
508          type: TEXT;
509          effect: SOFT_SHADOW;
510          mouse_events: 0;
511          scale: 1;
512          clip_to: "clip2";
513          description { state: "default" 0.0;
514             align: 0.5 1;
515             fixed: 1 1;
516             rel1 {
517                to_x: "elm.dragable.pointer";
518                to_y: "elm.swallow.event.0";
519                relative: 0.5 0;
520                offset: 0 -16;
521             }
522             rel2 {
523                to_x: "elm.dragable.pointer";
524                to_y: "elm.swallow.event.0";
525                relative: 0.5 0;
526                offset: -1 -16;
527             }
528             color: 255 0 0 255;
529             color3: 0 0 0 64;
530             text {
531                font:     "Sans,Edje-Vera";
532                size:     20;
533                min:      1 1;
534                align:    0.5 1;
535             }
536          }
537       }
538       part { name: "over1";
539          mouse_events: 0;
540          clip_to: "clip2";
541          description { state: "default" 0.0;
542             rel1 {
543                to: "button_image";
544             }
545             rel2 {
546                to: "button_image";
547                relative: 0.5 1;
548             }
549             image {
550                normal: "bt_hilight.png";
551                border: 7 7 7 0;
552             }
553          }
554       }
555       part { name: "over2";
556          mouse_events: 1;
557          repeat_events: 1;
558          ignore_flags: ON_HOLD;
559          clip_to: "clip2";
560          description { state: "default" 0.0;
561             rel1 {
562                to: "button_image";
563             }
564             rel2 {
565                to: "button_image";
566             }
567             image {
568                normal: "bt_shine.png";
569                border: 7 7 7 7;
570             }
571          }
572       }
573       part { name: "elm.dragable.pointer";
574          type: RECT;
575          mouse_events: 0;
576          dragable {
577             x: 1 1 0;
578             y: 1 1 0;
579          }
580          clip_to: "clip";
581          description { state: "default" 0.0;
582             fixed: 1 1;
583             min: 8 8;
584             max: 8 8;
585             visible: 0;
586             rel1 {
587                relative: 0.0 0.0;
588                offset:   0 0;
589             }
590             rel2 {
591                relative: 0.0 0.0;
592                offset:   0 0;
593             }
594          }
595       }
596       part { name: "elm.swallow.event.0";
597          type: SWALLOW;
598          description { state: "default" 0.0;
599             align: 0.5 1;
600             fixed: 1 1;
601             rel1 {
602                relative: 0.0 1.0;
603                offset: -1 0;
604             }
605             rel2 {
606                relative: 1.0 1.0;
607                offset: -1 -1;
608             }
609          }
610       }
611    }
612    programs {
613       program { name: "active";
614          signal: "elm,state,active";
615          source: "elm";
616          action: STATE_SET "active" 0.0;
617          transition: DECELERATE 0.5;
618          target: "clip";
619       }
620       program { name: "inactive";
621          signal: "elm,state,inactive";
622          source: "elm";
623          action: STATE_SET "default" 0.0;
624          transition: DECELERATE 0.5;
625          target: "clip";
626       }
627       program { name: "active2";
628          signal: "elm,indicator,state,active";
629          source: "elm";
630          action: STATE_SET "active" 0.0;
631          transition: DECELERATE 0.5;
632          target: "clip2";
633       }
634       program { name: "inactive2";
635          signal: "elm,indicator,state,inactive";
636          source: "elm";
637          action: STATE_SET "default" 0.0;
638          transition: DECELERATE 0.5;
639          target: "clip2";
640       }
641    }
642 }
643 group { name: "elm/index/item/horizontal/default";
644    data.item: "stacking" "above";
645    data.item: "selectraise" "on";
646    images {
647       image: "ilist_1.png" COMP;
648       image: "ilist_item_shadow.png" COMP;
649    }
650    parts {
651       part {
652          name: "base_sh";
653          mouse_events: 0;
654          description {
655             state: "default" 0.0;
656             align: 0.0 0.0;
657             min: 0 10;
658             fixed: 1 1;
659             rel1 {
660                to: "base";
661                relative: 0.0 1.0;
662             }
663             rel2 {
664                to: "base";
665                relative: 1.0 1.0;
666             }
667             image {
668                normal: "ilist_item_shadow.png";
669             }
670             fill.smooth: 0;
671          }
672       }
673       part {
674          name: "base";
675          mouse_events: 0;
676          description {
677             state: "default" 0.0;
678             image {
679                normal: "ilist_1.png";
680                border: 2 2 2 2;
681             }
682             fill.smooth: 0;
683          }
684          description { state: "active" 0.0;
685             inherit: "default" 0.0;
686             rel1 {
687                offset: 0 -16;
688             }
689          }
690       }
691       part { name: "elm.text";
692          type:           TEXT;
693          mouse_events:   0;
694          scale: 1;
695          description {
696             state: "default" 0.0;
697             rel1 {
698                to: "base";
699                relative: 0.25  0.0;
700             }
701             rel2 {
702                to: "base";
703                relative: 0.75 1.0;
704             }
705             color: 0 0 0 128;
706             text {
707                font: "Sans";
708                size: 10;
709                min: 1 1;
710                align: 0.5 0.5;
711             }
712          }
713          description { state: "active" 0.0;
714             inherit: "default" 0.0;
715             color: 0 0 0 255;
716          }
717       }
718    }
719    programs {
720       program { name: "active";
721          signal: "elm,state,active";
722          source: "elm";
723          action: STATE_SET "active" 0.0;
724          transition: DECELERATE 0.5;
725          target: "elm.text";
726          target: "base";
727       }
728       program { name: "inactive";
729          signal: "elm,state,inactive";
730          source: "elm";
731          action: STATE_SET "default" 0.0;
732          transition: DECELERATE 0.5;
733          target: "elm.text";
734          target: "base";
735       }
736    }
737 }
738 group { name: "elm/index/item_odd/horizontal/default";
739    data.item: "stacking" "below";
740    images {
741       image: "ilist_2.png" COMP;
742    }
743    parts {
744       part {
745          name: "base";
746          mouse_events: 0;
747          description {
748             state: "default" 0.0;
749             image {
750                normal: "ilist_2.png";
751                border: 2 2 2 2;
752             }
753             fill.smooth: 0;
754          }
755          description { state: "active" 0.0;
756             inherit: "default" 0.0;
757             rel1 {
758                offset: 0 -16;
759             }
760          }
761       }
762       part { name: "elm.text";
763          type:           TEXT;
764          mouse_events:   0;
765          scale: 1;
766          description {
767             state: "default" 0.0;
768             rel1 {
769                to: "base";
770                relative: 0.25  0.0;
771             }
772             rel2 {
773                to: "base";
774                relative: 0.75  1.0;
775             }
776             color: 0 0 0 128;
777             text {
778                font: "Sans";
779                size: 10;
780                min: 1 1;
781                align: 0.5 0.5;
782             }
783          }
784          description { state: "active" 0.0;
785             inherit: "default" 0.0;
786             color: 0 0 0 255;
787          }
788       }
789    }
790    programs {
791       program { name: "active";
792          signal: "elm,state,active";
793          source: "elm";
794          action: STATE_SET "active" 0.0;
795          transition: DECELERATE 0.5;
796          target: "elm.text";
797          target: "base";
798       }
799       program { name: "inactive";
800          signal: "elm,state,inactive";
801          source: "elm";
802          action: STATE_SET "default" 0.0;
803          transition: DECELERATE 0.5;
804          target: "elm.text";
805          target: "base";
806       }
807    }
808 }
809