Initialize Tizen 2.3
[framework/uifw/elementary.git] / wearable / 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       part { name: "access";
203          type: RECT;
204          repeat_events: 1;
205          description { state: "default" 0.0;
206             rel1.to:"elm.swallow.event.0";
207             rel2.to:"elm.swallow.event.0";
208             color: 0 0 0 0;
209          }
210       }
211    }
212    programs {
213       program { name: "active";
214          signal: "elm,state,active";
215          source: "elm";
216          action: STATE_SET "active" 0.0;
217          transition: DECELERATE 0.5;
218          target: "clip";
219       }
220       program { name: "inactive";
221          signal: "elm,state,inactive";
222          source: "elm";
223          action: STATE_SET "default" 0.0;
224          transition: DECELERATE 0.5;
225          target: "clip";
226       }
227       program { name: "active2";
228          signal: "elm,indicator,state,active";
229          source: "elm";
230          action: STATE_SET "active" 0.0;
231          transition: DECELERATE 0.5;
232          target: "clip2";
233       }
234       program { name: "inactive2";
235          signal: "elm,indicator,state,inactive";
236          source: "elm";
237          action: STATE_SET "default" 0.0;
238          transition: DECELERATE 0.5;
239          target: "clip2";
240       }
241    }
242 }
243
244 group { name: "elm/index/item/vertical/default";
245    data.item: "stacking" "above";
246    data.item: "selectraise" "on";
247    images {
248       image: "ilist_1.png" COMP;
249       image: "ilist_item_shadow.png" COMP;
250    }
251    parts {
252       part {
253          name: "base_sh";
254          mouse_events: 0;
255          description {
256             state: "default" 0.0;
257             align: 0.0 0.0;
258             min: 0 10;
259             fixed: 1 1;
260             rel1 {
261                to: "base";
262                relative: 0.0 1.0;
263                offset: 0 0;
264             }
265             rel2 {
266                to: "base";
267                relative: 1.0 1.0;
268                offset: -1 0;
269             }
270             image {
271                normal: "ilist_item_shadow.png";
272             }
273             fill.smooth: 0;
274          }
275       }
276       part {
277          name: "base";
278          mouse_events: 0;
279          description {
280             state: "default" 0.0;
281             image {
282                normal: "ilist_1.png";
283                border: 2 2 2 2;
284             }
285             fill.smooth: 0;
286          }
287          description { state: "active" 0.0;
288             inherit: "default" 0.0;
289             rel1 {
290                offset: -16 0;
291             }
292          }
293       }
294       part { name: "elm.text";
295          type:           TEXT;
296          mouse_events:   0;
297          scale: 1;
298          description {
299             state: "default" 0.0;
300                    //               min: 16 16;
301             rel1 {
302                to: "base";
303                relative: 0.0  0.0;
304                offset:   4 4;
305             }
306             rel2 {
307                to: "base";
308                relative: 0.5  1.0;
309                offset:   -1 -1;
310             }
311             color: 0 0 0 128;
312             text {
313                font: "Sans";
314                size: 10;
315                min: 1 1;
316                     //                  min: 0 1;
317                align: 0.5 0.5;
318             }
319          }
320          description { state: "active" 0.0;
321             inherit: "default" 0.0;
322             color: 0 0 0 255;
323          }
324       }
325    }
326    programs {
327       program { name: "active";
328          signal: "elm,state,active";
329          source: "elm";
330          action: STATE_SET "active" 0.0;
331          transition: DECELERATE 0.5;
332          target: "elm.text";
333          target: "base";
334       }
335       program { name: "inactive";
336          signal: "elm,state,inactive";
337          source: "elm";
338          action: STATE_SET "default" 0.0;
339          transition: DECELERATE 0.5;
340          target: "elm.text";
341          target: "base";
342       }
343    }
344 }
345
346 group { name: "elm/index/item_odd/vertical/default";
347    data.item: "stacking" "below";
348    images {
349       image: "ilist_2.png" COMP;
350    }
351    parts {
352       part {
353          name: "base";
354          mouse_events: 0;
355          description {
356             state: "default" 0.0;
357             image {
358                normal: "ilist_2.png";
359                border: 2 2 2 2;
360             }
361             fill.smooth: 0;
362          }
363          description { state: "active" 0.0;
364             inherit: "default" 0.0;
365             rel1 {
366                offset: -16 0;
367             }
368          }
369       }
370       part { name: "elm.text";
371          type:           TEXT;
372          mouse_events:   0;
373          scale: 1;
374          description {
375             state: "default" 0.0;
376                    //               min: 16 16;
377             rel1 {
378                to: "base";
379                relative: 0.0  0.0;
380                offset:   4 4;
381             }
382             rel2 {
383                to: "base";
384                relative: 0.5  1.0;
385                offset:   -1 -1;
386             }
387             color: 0 0 0 128;
388             text {
389                font: "Sans";
390                size: 10;
391                min: 1 1;
392                     //                  min: 0 1;
393                align: 0.5 0.5;
394             }
395          }
396          description { state: "active" 0.0;
397             inherit: "default" 0.0;
398             color: 0 0 0 255;
399          }
400       }
401    }
402    programs {
403       program { name: "active";
404          signal: "elm,state,active";
405          source: "elm";
406          action: STATE_SET "active" 0.0;
407          transition: DECELERATE 0.5;
408          target: "elm.text";
409          target: "base";
410       }
411       program { name: "inactive";
412          signal: "elm,state,inactive";
413          source: "elm";
414          action: STATE_SET "default" 0.0;
415          transition: DECELERATE 0.5;
416          target: "elm.text";
417          target: "base";
418       }
419    }
420 }
421 group { name: "elm/index/base/horizontal/default";
422    images {
423       image: "bt_base1.png" COMP;
424       image: "bt_base2.png" COMP;
425       image: "bt_hilight.png" COMP;
426       image: "bt_shine.png" COMP;
427    }
428    parts {
429       part { name: "clip";
430          type: RECT;
431          mouse_events:  0;
432          description { state: "default" 0.0;
433             visible:  0;
434             color: 255 255 255 0;
435          }
436          description { state: "active" 0.0;
437             visible:  1;
438             color: 255 255 255 255;
439          }
440       }
441       part { name: "clip2";
442          type: RECT;
443          mouse_events:  0;
444          clip_to: "clip";
445          description { state: "default" 0.0;
446             visible: 0;
447             color: 255 255 255 0;
448          }
449          description { state: "active" 0.0;
450             visible:  1;
451             color: 255 255 255 255;
452          }
453       }
454       part { name: "elm.swallow.index.0";
455          type: SWALLOW;
456          clip_to: "clip";
457          description { state: "default" 0.0;
458             align: 0.5 1.0;
459             fixed: 1 1;
460             rel1 {
461                relative: 0.5 1;
462                offset: 0 0;
463             }
464             rel2 {
465                relative: 0.5 1;
466                offset: -1 -1;
467             }
468          }
469       }
470       part { name: "button_image";
471          mouse_events: 1;
472          clip_to: "clip2";
473          description { state: "default" 0.0;
474             rel1 {
475                to: "elm.text";
476                offset: -5 -5;
477             }
478             rel2 {
479                to: "elm.text";
480                offset: 4 4;
481             }
482             image {
483                normal: "bt_base2.png";
484                border: 7 7 7 7;
485             }
486             image.middle: SOLID;
487          }
488       }
489       part { name: "elm.text.body";
490          type: TEXT;
491          effect: SOFT_SHADOW;
492          mouse_events: 0;
493          scale: 1;
494          clip_to: "clip2";
495          description { state: "default" 0.0;
496             align: 0.5 1;
497             fixed: 1 1;
498             rel1 {
499                to: "elm.text";
500                relative: 0.0 0.0;
501             }
502             rel2 {
503                to: "elm.text";
504                relative: 0.1 0.0;
505             }
506             color: 224 224 224 255;
507             color3: 0 0 0 64;
508             text {
509                font:     "Sans,Edje-Vera";
510                size:     20;
511                min:      1 1;
512                align:    0.5 1;
513             }
514          }
515       }
516       part { name: "elm.text";
517          type: TEXT;
518          effect: SOFT_SHADOW;
519          mouse_events: 0;
520          scale: 1;
521          clip_to: "clip2";
522          description { state: "default" 0.0;
523             align: 0.5 1;
524             fixed: 1 1;
525             rel1 {
526                to_x: "elm.dragable.pointer";
527                to_y: "elm.swallow.event.0";
528                relative: 0.5 0;
529                offset: 0 -16;
530             }
531             rel2 {
532                to_x: "elm.dragable.pointer";
533                to_y: "elm.swallow.event.0";
534                relative: 0.5 0;
535                offset: -1 -16;
536             }
537             color: 255 0 0 255;
538             color3: 0 0 0 64;
539             text {
540                font:     "Sans,Edje-Vera";
541                size:     20;
542                min:      1 1;
543                align:    0.5 1;
544             }
545          }
546       }
547       part { name: "over1";
548          mouse_events: 0;
549          clip_to: "clip2";
550          description { state: "default" 0.0;
551             rel1 {
552                to: "button_image";
553             }
554             rel2 {
555                to: "button_image";
556                relative: 0.5 1;
557             }
558             image {
559                normal: "bt_hilight.png";
560                border: 7 7 7 0;
561             }
562          }
563       }
564       part { name: "over2";
565          mouse_events: 1;
566          repeat_events: 1;
567          ignore_flags: ON_HOLD;
568          clip_to: "clip2";
569          description { state: "default" 0.0;
570             rel1 {
571                to: "button_image";
572             }
573             rel2 {
574                to: "button_image";
575             }
576             image {
577                normal: "bt_shine.png";
578                border: 7 7 7 7;
579             }
580          }
581       }
582       part { name: "elm.dragable.pointer";
583          type: RECT;
584          mouse_events: 0;
585          dragable {
586             x: 1 1 0;
587             y: 1 1 0;
588          }
589          clip_to: "clip";
590          description { state: "default" 0.0;
591             fixed: 1 1;
592             min: 8 8;
593             max: 8 8;
594             visible: 0;
595             rel1 {
596                relative: 0.0 0.0;
597                offset:   0 0;
598             }
599             rel2 {
600                relative: 0.0 0.0;
601                offset:   0 0;
602             }
603          }
604       }
605       part { name: "elm.swallow.event.0";
606          type: SWALLOW;
607          description { state: "default" 0.0;
608             align: 0.5 1;
609             fixed: 1 1;
610             rel1 {
611                relative: 0.0 1.0;
612                offset: -1 0;
613             }
614             rel2 {
615                relative: 1.0 1.0;
616                offset: -1 -1;
617             }
618          }
619       }
620    }
621    programs {
622       program { name: "active";
623          signal: "elm,state,active";
624          source: "elm";
625          action: STATE_SET "active" 0.0;
626          transition: DECELERATE 0.5;
627          target: "clip";
628       }
629       program { name: "inactive";
630          signal: "elm,state,inactive";
631          source: "elm";
632          action: STATE_SET "default" 0.0;
633          transition: DECELERATE 0.5;
634          target: "clip";
635       }
636       program { name: "active2";
637          signal: "elm,indicator,state,active";
638          source: "elm";
639          action: STATE_SET "active" 0.0;
640          transition: DECELERATE 0.5;
641          target: "clip2";
642       }
643       program { name: "inactive2";
644          signal: "elm,indicator,state,inactive";
645          source: "elm";
646          action: STATE_SET "default" 0.0;
647          transition: DECELERATE 0.5;
648          target: "clip2";
649       }
650    }
651 }
652 group { name: "elm/index/item/horizontal/default";
653    data.item: "stacking" "above";
654    data.item: "selectraise" "on";
655    images {
656       image: "ilist_1.png" COMP;
657       image: "ilist_item_shadow.png" COMP;
658    }
659    parts {
660       part {
661          name: "base_sh";
662          mouse_events: 0;
663          description {
664             state: "default" 0.0;
665             align: 0.0 0.0;
666             min: 0 10;
667             fixed: 1 1;
668             rel1 {
669                to: "base";
670                relative: 0.0 1.0;
671             }
672             rel2 {
673                to: "base";
674                relative: 1.0 1.0;
675             }
676             image {
677                normal: "ilist_item_shadow.png";
678             }
679             fill.smooth: 0;
680          }
681       }
682       part {
683          name: "base";
684          mouse_events: 0;
685          description {
686             state: "default" 0.0;
687             image {
688                normal: "ilist_1.png";
689                border: 2 2 2 2;
690             }
691             fill.smooth: 0;
692          }
693          description { state: "active" 0.0;
694             inherit: "default" 0.0;
695             rel1 {
696                offset: 0 -16;
697             }
698          }
699       }
700       part { name: "elm.text";
701          type:           TEXT;
702          mouse_events:   0;
703          scale: 1;
704          description {
705             state: "default" 0.0;
706             rel1 {
707                to: "base";
708                relative: 0.25  0.0;
709             }
710             rel2 {
711                to: "base";
712                relative: 0.75 1.0;
713             }
714             color: 0 0 0 128;
715             text {
716                font: "Sans";
717                size: 10;
718                min: 1 1;
719                align: 0.5 0.5;
720             }
721          }
722          description { state: "active" 0.0;
723             inherit: "default" 0.0;
724             color: 0 0 0 255;
725          }
726       }
727    }
728    programs {
729       program { name: "active";
730          signal: "elm,state,active";
731          source: "elm";
732          action: STATE_SET "active" 0.0;
733          transition: DECELERATE 0.5;
734          target: "elm.text";
735          target: "base";
736       }
737       program { name: "inactive";
738          signal: "elm,state,inactive";
739          source: "elm";
740          action: STATE_SET "default" 0.0;
741          transition: DECELERATE 0.5;
742          target: "elm.text";
743          target: "base";
744       }
745    }
746 }
747 group { name: "elm/index/item_odd/horizontal/default";
748    data.item: "stacking" "below";
749    images {
750       image: "ilist_2.png" COMP;
751    }
752    parts {
753       part {
754          name: "base";
755          mouse_events: 0;
756          description {
757             state: "default" 0.0;
758             image {
759                normal: "ilist_2.png";
760                border: 2 2 2 2;
761             }
762             fill.smooth: 0;
763          }
764          description { state: "active" 0.0;
765             inherit: "default" 0.0;
766             rel1 {
767                offset: 0 -16;
768             }
769          }
770       }
771       part { name: "elm.text";
772          type:           TEXT;
773          mouse_events:   0;
774          scale: 1;
775          description {
776             state: "default" 0.0;
777             rel1 {
778                to: "base";
779                relative: 0.25  0.0;
780             }
781             rel2 {
782                to: "base";
783                relative: 0.75  1.0;
784             }
785             color: 0 0 0 128;
786             text {
787                font: "Sans";
788                size: 10;
789                min: 1 1;
790                align: 0.5 0.5;
791             }
792          }
793          description { state: "active" 0.0;
794             inherit: "default" 0.0;
795             color: 0 0 0 255;
796          }
797       }
798    }
799    programs {
800       program { name: "active";
801          signal: "elm,state,active";
802          source: "elm";
803          action: STATE_SET "active" 0.0;
804          transition: DECELERATE 0.5;
805          target: "elm.text";
806          target: "base";
807       }
808       program { name: "inactive";
809          signal: "elm,state,inactive";
810          source: "elm";
811          action: STATE_SET "default" 0.0;
812          transition: DECELERATE 0.5;
813          target: "elm.text";
814          target: "base";
815       }
816    }
817 }