Merge branch 'master' of youmin.ha@165.213.180.234:/git/slp2.0/slp2.0-pkgs/EFL-pkgs...
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 collections {
10
11 ///////////////////////////////////////////////////////////////////////////////
12    group { name: "elm/bg/base/default";
13       images {
14          image: "dia_grad.png" COMP;
15          image: "dia_topshad.png" COMP;
16          image: "dia_botshad.png" COMP;
17       }
18       parts {
19          part { name: "base";
20             mouse_events:  0;
21             description { state: "default" 0.0;
22                image.normal: "dia_grad.png";
23                fill {
24                   smooth: 0;
25                   size {
26                      relative: 0.0 1.0;
27                      offset: 64 0;
28                   }
29                }
30             }
31          }
32          part { name: "elm.swallow.background";
33             type: SWALLOW;
34             description { state: "default" 0.0;
35             }
36          }
37          part { name: "shadow";
38             mouse_events:  0;
39             description { state: "default" 0.0;
40                rel2.relative: 1.0 0.0;
41                rel2.offset: -1 31;
42                image.normal: "dia_topshad.png";
43                fill {
44                   smooth: 0;
45                   size {
46                      relative: 0.0 1.0;
47                      offset: 64 0;
48                   }
49                }
50             }
51          }
52          part { name: "shadow2";
53             mouse_events:  0;
54             description { state: "default" 0.0;
55                rel1.relative: 0.0 1.0;
56                rel1.offset: 0 -4;
57                image.normal: "dia_botshad.png";
58                fill {
59                   smooth: 0;
60                   size {
61                      relative: 0.0 1.0;
62                      offset: 64 0;
63                   }
64                }
65             }
66          }
67          part { name: "elm.swallow.content";
68             type: SWALLOW;
69             description { state: "default" 0.0;
70                rel1.offset:  4 4;
71                rel2.offset: -5 -5;
72             }
73          }
74       }
75    }
76
77 ///////////////////////////////////////////////////////////////////////////////
78    group { name: "elm/scroller/base/default";
79
80       alias: "elm/list/base/default";
81       alias: "elm/genlist/base/default";
82       alias: "elm/carousel/base/default";
83       alias: "elm/gengrid/base/default";
84
85       script {
86          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
87          public timer0(val) {
88             new v;
89             v = get_int(sbvis_v);
90             if (v) {
91                v = get_int(sbalways_v);
92                if (!v) {
93                   emit("do-hide-vbar", "");
94                   set_int(sbvis_v, 0);
95                }
96             }
97             v = get_int(sbvis_h);
98             if (v) {
99                v = get_int(sbalways_h);
100                if (!v) {
101                   emit("do-hide-hbar", "");
102                   set_int(sbvis_h, 0);
103                }
104             }
105             set_int(sbvis_timer, 0);
106             return 0;
107          }
108       }
109       images {
110          image: "shelf_inset.png" COMP;
111          image: "bt_sm_base2.png" COMP;
112          image: "bt_sm_shine.png" COMP;
113          image: "bt_sm_hilight.png" COMP;
114          image: "sb_runnerh.png" COMP;
115          image: "sb_runnerv.png" COMP;
116       }
117       parts {
118          part { name: "bg";
119             type: RECT;
120             description { state: "default" 0.0;
121                rel1.offset: 1 1;
122                rel2.offset: -2 -2;
123                color: 255 255 255 0;
124             }
125          }
126          part { name: "clipper";
127             type: RECT;
128             mouse_events: 0;
129             description { state: "default" 0.0;
130                rel1.to: "bg";
131                rel2.to: "bg";
132             }
133          }
134          part { name: "elm.swallow.content";
135             clip_to: "clipper";
136             type: SWALLOW;
137             description { state: "default" 0.0;
138                rel1.offset: 1 1;
139                rel2.offset: -2 -2;
140             }
141          }
142          part { name: "conf_over";
143             mouse_events:  0;
144             description { state: "default" 0.0;
145                rel1.offset: 0 0;
146                rel2.offset: -1 -1;
147                image {
148                   normal: "shelf_inset.png";
149                   border: 7 7 7 7;
150                   middle: 0;
151                }
152                fill.smooth : 0;
153             }
154          }
155          part { name: "sb_vbar_clip_master";
156             type: RECT;
157             mouse_events: 0;
158             description { state: "default" 0.0;
159             }
160             description { state: "hidden" 0.0;
161                visible: 0;
162                color: 255 255 255 0;
163             }
164          }
165          part { name: "sb_vbar_clip";
166             clip_to: "sb_vbar_clip_master";
167             type: RECT;
168             mouse_events: 0;
169             description { state: "default" 0.0;
170             }
171             description { state: "hidden" 0.0;
172                visible: 0;
173                color: 255 255 255 0;
174             }
175          }
176          part { name: "sb_vbar";
177             type: RECT;
178             mouse_events: 0;
179             description { state: "default" 0.0;
180                fixed: 1 1;
181                visible: 0;
182                min: 17 17;
183                align: 1.0 0.0;
184                rel1 {
185                   relative: 1.0 0.0;
186                   offset:   -2 0;
187                }
188                rel2 {
189                   relative: 1.0 0.0;
190                   offset:   -2 -1;
191                   to_y:     "sb_hbar";
192                }
193             }
194          }
195          part { name: "sb_vbar_runner";
196             clip_to: "sb_vbar_clip";
197             mouse_events: 0;
198             description { state: "default" 0.0;
199                min: 3 3;
200                max: 3 99999;
201                rel1.to:       "sb_vbar";
202                rel2.to:       "sb_vbar";
203                image {
204                   normal: "sb_runnerv.png";
205                   border: 0 0 4 4;
206                }
207                fill.smooth: 0;
208             }
209          }
210          part { name: "elm.dragable.vbar";
211             clip_to: "sb_vbar_clip";
212             mouse_events: 0;
213             dragable {
214                x: 0 0 0;
215                y: 1 1 0;
216                confine: "sb_vbar";
217             }
218             description { state: "default" 0.0;
219                fixed: 1 1;
220                min: 17 17;
221                rel1 {
222                   relative: 0.5  0.5;
223                   offset:   0    0;
224                   to: "sb_vbar";
225                }
226                rel2 {
227                   relative: 0.5  0.5;
228                   offset:   0    0;
229                   to: "sb_vbar";
230                }
231                image {
232                   normal: "bt_sm_base2.png";
233                   border: 6 6 6 6;
234                }
235                image.middle: SOLID;
236             }
237          }
238          part { name: "sb_vbar_over1";
239             clip_to: "sb_vbar_clip";
240             mouse_events: 0;
241             description { state: "default" 0.0;
242                rel1.to: "elm.dragable.vbar";
243                rel2.relative: 1.0 0.5;
244                rel2.to: "elm.dragable.vbar";
245                image {
246                   normal: "bt_sm_hilight.png";
247                   border: 6 6 6 0;
248                }
249             }
250          }
251          part { name: "sb_vbar_over2";
252             clip_to: "sb_vbar_clip";
253             mouse_events: 0;
254             description { state: "default" 0.0;
255                rel1.to: "elm.dragable.vbar";
256                rel2.to: "elm.dragable.vbar";
257                image {
258                   normal: "bt_sm_shine.png";
259                   border: 6 6 6 0;
260                }
261             }
262          }
263
264          part { name: "sb_hbar_clip_master";
265             type: RECT;
266             mouse_events: 0;
267             description { state: "default" 0.0;
268             }
269             description { state: "hidden" 0.0;
270                visible: 0;
271                color: 255 255 255 0;
272             }
273          }
274          part { name: "sb_hbar_clip";
275             clip_to: "sb_hbar_clip_master";
276             type: RECT;
277             mouse_events: 0;
278             description { state: "default" 0.0;
279             }
280             description { state: "hidden" 0.0;
281                visible: 0;
282                color: 255 255 255 0;
283             }
284          }
285          part { name: "sb_hbar";
286             type: RECT;
287             mouse_events: 0;
288             description { state: "default" 0.0;
289                fixed: 1 1;
290                visible: 0;
291                min: 17 17;
292                align: 0.0 1.0;
293                rel1 {
294                   relative: 0.0 1.0;
295                   offset:   0 -2;
296                }
297                rel2 {
298                   relative: 0.0 1.0;
299                   offset:   -1 -2;
300                   to_x:     "sb_vbar";
301                }
302             }
303          }
304          part { name: "sb_hbar_runner";
305             clip_to: "sb_hbar_clip";
306             mouse_events: 0;
307             description { state: "default" 0.0;
308                min: 3 3;
309                max: 99999 3;
310                rel1.to:       "sb_hbar";
311                rel2.to:       "sb_hbar";
312                image {
313                   normal: "sb_runnerh.png";
314                   border: 4 4 0 0;
315                }
316                fill.smooth: 0;
317             }
318          }
319          part { name: "elm.dragable.hbar";
320             clip_to: "sb_hbar_clip";
321             mouse_events: 0;
322             dragable {
323                x: 1 1 0;
324                y: 0 0 0;
325                confine: "sb_hbar";
326             }
327             description { state: "default" 0.0;
328                fixed: 1 1;
329                min: 17 17;
330                rel1 {
331                   relative: 0.5  0.5;
332                   offset:   0    0;
333                   to: "sb_hbar";
334                }
335                rel2 {
336                   relative: 0.5  0.5;
337                   offset:   0    0;
338                   to: "sb_hbar";
339                }
340                image {
341                   normal: "bt_sm_base2.png";
342                   border: 6 6 6 6;
343                }
344                image.middle: SOLID;
345             }
346          }
347          part { name: "sb_hbar_over1";
348             clip_to: "sb_hbar_clip";
349             mouse_events: 0;
350             description { state: "default" 0.0;
351                rel1.to: "elm.dragable.hbar";
352                rel2.relative: 1.0 0.5;
353                rel2.to: "elm.dragable.hbar";
354                image {
355                   normal: "bt_sm_hilight.png";
356                   border: 6 6 6 0;
357                }
358             }
359          }
360          part { name: "sb_hbar_over2";
361             clip_to: "sb_hbar_clip";
362             mouse_events: 0;
363             description { state: "default" 0.0;
364                rel1.to: "elm.dragable.hbar";
365                rel2.to: "elm.dragable.hbar";
366                image {
367                   normal: "bt_sm_shine.png";
368                   border: 6 6 6 0;
369                }
370             }
371          }
372       }
373       programs {
374          program { name: "load";
375             signal: "load";
376             source: "";
377             script {
378                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
379                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
380                set_int(sbvis_h, 0);
381                set_int(sbvis_v, 0);
382                set_int(sbalways_v, 0);
383                set_int(sbalways_h, 0);
384                set_int(sbvis_timer, 0);
385             }
386          }
387
388          program { name: "vbar_show";
389             signal: "elm,action,show,vbar";
390             source: "elm";
391             action:  STATE_SET "default" 0.0;
392             target: "sb_vbar_clip_master";
393          }
394          program { name: "vbar_hide";
395             signal: "elm,action,hide,vbar";
396             source: "elm";
397             action:  STATE_SET "hidden" 0.0;
398             target: "sb_vbar_clip_master";
399          }
400          program { name: "vbar_show_always";
401             signal: "elm,action,show_always,vbar";
402             source: "elm";
403             script {
404                new v;
405                v = get_int(sbvis_v);
406                v |= get_int(sbalways_v);
407                if (!v) {
408                   set_int(sbalways_v, 1);
409                   emit("do-show-vbar", "");
410                   set_int(sbvis_v, 1);
411                }
412             }
413          }
414          program { name: "vbar_show_notalways";
415             signal: "elm,action,show_notalways,vbar";
416             source: "elm";
417             script {
418                new v;
419                v = get_int(sbalways_v);
420                if (v) {
421                   set_int(sbalways_v, 0);
422                   v = get_int(sbvis_v);
423                   if (!v) {
424                      emit("do-hide-vbar", "");
425                      set_int(sbvis_v, 0);
426                   }
427                }
428             }
429          }
430          program { name: "sb_vbar_show";
431             signal: "do-show-vbar";
432             source: "";
433             action:  STATE_SET "default" 0.0;
434             transition: LINEAR 1.0;
435             target: "sb_vbar_clip";
436          }
437          program { name: "sb_vbar_hide";
438             signal: "do-hide-vbar";
439             source: "";
440             action:  STATE_SET "hidden" 0.0;
441             transition: LINEAR 1.0;
442             target: "sb_vbar_clip";
443          }
444
445          program { name: "hbar_show";
446             signal: "elm,action,show,hbar";
447             source: "elm";
448             action:  STATE_SET "default" 0.0;
449             target: "sb_hbar_clip_master";
450          }
451          program { name: "hbar_hide";
452             signal: "elm,action,hide,hbar";
453             source: "elm";
454             action:  STATE_SET "hidden" 0.0;
455             target: "sb_hbar_clip_master";
456          }
457          program { name: "hbar_show_always";
458             signal: "elm,action,show_always,hbar";
459             source: "elm";
460             script {
461                new v;
462                v = get_int(sbvis_h);
463                v |= get_int(sbalways_h);
464                if (!v) {
465                   set_int(sbalways_h, 1);
466                   emit("do-show-hbar", "");
467                   set_int(sbvis_h, 1);
468                }
469             }
470          }
471          program { name: "hbar_show_notalways";
472             signal: "elm,action,show_notalways,hbar";
473             source: "elm";
474             script {
475                new v;
476                v = get_int(sbalways_h);
477                if (v) {
478                   set_int(sbalways_h, 0);
479                   v = get_int(sbvis_h);
480                   if (!v) {
481                      emit("do-hide-hbar", "");
482                      set_int(sbvis_h, 0);
483                   }
484                }
485             }
486          }
487          program { name: "sb_hbar_show";
488             signal: "do-show-hbar";
489             source: "";
490             action:  STATE_SET "default" 0.0;
491             transition: LINEAR 1.0;
492             target: "sb_hbar_clip";
493          }
494          program { name: "sb_hbar_hide";
495             signal: "do-hide-hbar";
496             source: "";
497             action:  STATE_SET "hidden" 0.0;
498             transition: LINEAR 1.0;
499             target: "sb_hbar_clip";
500          }
501
502          program { name: "scroll";
503             signal: "elm,action,scroll";
504             source: "elm";
505             script {
506                new v;
507                v = get_int(sbvis_v);
508                v |= get_int(sbalways_v);
509                if (!v) {
510                   emit("do-show-vbar", "");
511                   set_int(sbvis_v, 1);
512                }
513                v = get_int(sbvis_h);
514                v |= get_int(sbalways_h);
515                if (!v) {
516                   emit("do-show-hbar", "");
517                   set_int(sbvis_h, 1);
518                }
519                v = get_int(sbvis_timer);
520                if (v > 0) cancel_timer(v);
521                v = timer(2.0, "timer0", 0);
522                set_int(sbvis_timer, v);
523             }
524          }
525       }
526    }
527
528 ///////////////////////////////////////////////////////////////////////////////
529    group { name: "elm/label/base/default";
530       styles
531         {
532            style { name: "textblock_style";
533               base: "font=Sans font_size=10 align=left color=#000 wrap=word";
534
535               tag:  "br" "\n";
536               tag:  "hilight" "+ font=Sans:style=Bold";
537               tag:  "b" "+ font=Sans:style=Bold";
538               tag:  "tab" "\t";
539            }
540         }
541       parts {
542          part { name: "label.swallow.background";
543             type: SWALLOW;
544             description { state: "default" 0.0;
545                visible: 1;
546                rel1 { relative: 0 0; to: "elm.text"; }
547                rel2 { relative: 1 1; to: "elm.text"; }
548             }
549          }
550          part { name: "elm.text";
551             type: TEXTBLOCK;
552             mouse_events: 0;
553             scale: 1;
554             description { state: "default" 0.0;
555                text {
556                   style: "textblock_style";
557                   min: 1 1;
558                }
559             }
560          }
561       }
562    }
563
564    group { name: "elm/label/base_wrap/default";
565       parts {
566          part { name: "label.swallow.background";
567             type: SWALLOW;
568             description { state: "default" 0.0;
569                visible: 1;
570                rel1 { relative: 0 0; to: "elm.text"; }
571                rel2 { relative: 1 1; to: "elm.text"; }
572             }
573          }
574          part { name: "elm.text";
575             type: TEXTBLOCK;
576             mouse_events: 0;
577             scale: 1;
578             description { state: "default" 0.0;
579                fixed: 0 1;
580                text {
581                   style: "textblock_style";
582                   min: 0 1;
583                }
584             }
585          }
586       }
587    }
588
589    group { name: "elm/label/base/marker";
590       styles
591         {
592            style { name: "textblock_style2";
593               base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word";
594
595               tag:  "br" "\n";
596               tag:  "hilight" "+ color=#ffff";
597               tag:  "b" "+ color=#ffff";
598               tag:  "tab" "\t";
599            }
600         }
601       parts {
602          part { name: "label.swallow.background";
603             type: SWALLOW;
604             description { state: "default" 0.0;
605                visible: 1;
606                rel1 { relative: 0 0; to: "elm.text"; }
607                rel2 { relative: 1 1; to: "elm.text"; }
608             }
609          }
610          part { name: "elm.text";
611             type: TEXTBLOCK;
612             mouse_events: 0;
613             scale: 1;
614             description { state: "default" 0.0;
615                text {
616                   style: "textblock_style2";
617                   min: 1 1;
618                }
619             }
620          }
621       }
622    }
623
624    group { name: "elm/label/base_wrap/marker";
625       parts {
626          part { name: "label.swallow.background";
627             type: SWALLOW;
628             description { state: "default" 0.0;
629                visible: 1;
630                rel1 { relative: 0 0; to: "elm.text"; }
631                rel2 { relative: 1 1; to: "elm.text"; }
632             }
633          }
634          part { name: "elm.text";
635             type: TEXTBLOCK;
636             mouse_events: 0;
637             scale: 1;
638             description { state: "default" 0.0;
639                fixed: 0 1;
640                text {
641                   style: "textblock_style2";
642                   min: 0 1;
643                }
644             }
645          }
646       }
647    }
648
649 ///////////////////////////////////////////////////////////////////////////////
650
651    group { name: "elm/button/base/default";
652       images {
653          image: "bt_base1.png" COMP;
654          image: "bt_base2.png" COMP;
655          image: "bt_hilight.png" COMP;
656          image: "bt_shine.png" COMP;
657          image: "bt_glow.png" COMP;
658          image: "bt_dis_base.png" COMP;
659          image: "bt_dis_hilight.png" COMP;
660       }
661       parts {
662          part { name: "button_image";
663             mouse_events: 1;
664             description { state: "default" 0.0;
665                image {
666                   normal: "bt_base2.png";
667                   border: 7 7 7 7;
668                }
669                image.middle: SOLID;
670             }
671             description { state: "clicked" 0.0;
672                inherit: "default" 0.0;
673                image.normal: "bt_base1.png";
674                image.middle: SOLID;
675             }
676             description { state: "disabled" 0.0;
677                inherit:  "default" 0.0;
678                image {
679                   normal: "bt_dis_base.png";
680                   border: 4 4 4 4;
681                }
682             }
683          }
684          part { name: "elm.swallow.content";
685             type: SWALLOW;
686             description { state: "default" 0.0;
687                fixed: 1 0;
688                visible: 0;
689                align: 0.0 0.5;
690                rel1.offset: 4 4;
691                rel2.offset: 3 -5;
692                rel2.relative: 0.0 1.0;
693             }
694             description { state: "visible" 0.0;
695                inherit: "default" 0.0;
696                fixed: 1 0;
697                visible: 1;
698                aspect: 1.0 1.0;
699                aspect_preference: VERTICAL;
700                rel2.offset: 4 -5;
701             }
702             description { state: "icononly" 0.0;
703                inherit: "default" 0.0;
704                fixed: 0 0;
705                visible: 1;
706                align: 0.5 0.5;
707                aspect: 1.0 1.0;
708                rel2.offset: -5 -5;
709                rel2.relative: 1.0 1.0;
710                aspect_preference: VERTICAL;
711             }
712          }
713          part {
714             name:          "elm.text";
715             type:          TEXT;
716             effect:        SOFT_SHADOW;
717             mouse_events:  0;
718             scale: 1;
719             description { state: "default" 0.0;
720                visible: 0;
721                rel1.to_x: "elm.swallow.content";
722                rel1.relative: 1.0 0.0;
723                rel1.offset: 0 4;
724                rel2.offset: -5 -5;
725                color: 224 224 224 255;
726                color3: 0 0 0 64;
727                text {
728                   font:     "Sans,Edje-Vera";
729                   size:     10;
730                   min:      0 0;
731                   align:    0.5 0.5;
732                }
733             }
734             description { state: "visible" 0.0;
735                inherit: "default" 0.0;
736                visible: 1;
737                text.min: 1 1;
738             }
739             description { state: "disabled" 0.0;
740                inherit: "default" 0.0;
741                color: 0 0 0 128;
742                color3: 0 0 0 0;
743             }
744             description { state: "disabled_visible" 0.0;
745                inherit: "default" 0.0;
746                color: 0 0 0 128;
747                color3: 0 0 0 0;
748                visible: 1;
749                text.min: 1 1;
750             }
751          }
752          part {   name: "over1";
753             mouse_events: 0;
754             description { state: "default" 0.0;
755                rel2.relative: 1.0 0.5;
756                image {
757                   normal: "bt_hilight.png";
758                   border: 7 7 7 0;
759                }
760             }
761             description { state: "disabled" 0.0;
762                inherit:  "default" 0.0;
763                image {
764                   normal: "bt_dis_hilight.png";
765                   border: 4 4 4 0;
766                }
767             }
768          }
769          part { name: "over2";
770             mouse_events: 1;
771             repeat_events: 1;
772             ignore_flags: ON_HOLD;
773             description { state: "default" 0.0;
774                image {
775                   normal: "bt_shine.png";
776                   border: 7 7 7 7;
777                }
778             }
779             description { state: "disabled" 0.0;
780                inherit:  "default" 0.0;
781                visible: 0;
782             }
783          }
784          part { name: "over3";
785             mouse_events: 1;
786             repeat_events: 1;
787             description { state: "default" 0.0;
788                color: 255 255 255 0;
789                image {
790                   normal: "bt_glow.png";
791                   border: 12 12 12 12;
792                }
793                fill.smooth : 0;
794             }
795             description { state: "clicked" 0.0;
796                inherit:  "default" 0.0;
797                visible: 1;
798                color: 255 255 255 255;
799             }
800          }
801          part { name: "disabler";
802             type: RECT;
803             description { state: "default" 0.0;
804                color: 0 0 0 0;
805                visible: 0;
806             }
807             description { state: "disabled" 0.0;
808                inherit: "default" 0.0;
809                visible: 1;
810             }
811          }
812       }
813       programs {
814          program {
815             name:   "button_click";
816             signal: "mouse,down,1";
817             source: "over2";
818             action: SIGNAL_EMIT "elm,action,press" "";
819             after: "button_click_anim";
820          }
821          program {
822             name:   "button_click_anim";
823             action: STATE_SET "clicked" 0.0;
824             target: "button_image";
825          }
826          program {
827             name:   "button_unclick";
828             signal: "mouse,up,1";
829             source: "over2";
830             action: SIGNAL_EMIT "elm,action,unpress" "";
831             after: "button_unclick_anim";
832          }
833          program {
834             name:   "button_unclick_anim";
835             action: STATE_SET "default" 0.0;
836             target: "button_image";
837          }
838          program {
839             name:   "button_click2";
840             signal: "mouse,down,1";
841             source: "over3";
842             action: STATE_SET "clicked" 0.0;
843             target: "over3";
844          }
845          program {
846             name:   "button_unclick2";
847             signal: "mouse,up,1";
848             source: "over3";
849             action: STATE_SET "default" 0.0;
850             transition: DECELERATE 0.5;
851             target: "over3";
852          }
853          program {
854             name:   "button_unclick3";
855             signal: "mouse,up,1";
856             source: "over2";
857             action: SIGNAL_EMIT "elm,action,click" "";
858          }
859          program { name: "text_show";
860             signal: "elm,state,text,visible";
861             source: "elm";
862             script {
863                new st[31];
864                new Float:vl;
865                get_state(PART:"elm.swallow.content", st, 30, vl);
866                if (!strcmp(st, "icononly"))
867                  set_state(PART:"elm.swallow.content", "visible", 0.0);
868                set_state(PART:"elm.text", "visible", 0.0);
869             }
870          }
871          program { name: "text_hide";
872             signal: "elm,state,text,hidden";
873             source: "elm";
874             script {
875                new st[31];
876                new Float:vl;
877                get_state(PART:"elm.swallow.content", st, 30, vl);
878                if (!strcmp(st, "visible"))
879                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
880                set_state(PART:"elm.text", "default", 0.0);
881             }
882          }
883          program { name: "icon_show";
884             signal: "elm,state,icon,visible";
885             source: "elm";
886             script {
887                new st[31];
888                new Float:vl;
889                get_state(PART:"elm.text", st, 30, vl);
890                if (!strcmp(st, "visible"))
891                  set_state(PART:"elm.swallow.content", "visible", 0.0);
892                else
893                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
894             }
895          }
896          program { name: "icon_hide";
897             signal: "elm,state,icon,hidden";
898             source: "elm";
899             action:  STATE_SET "default" 0.0;
900             target: "elm.swallow.content";
901          }
902          program { name: "disable";
903             signal: "elm,state,disabled";
904             source: "elm";
905             action: STATE_SET "disabled" 0.0;
906             target: "button_image";
907             target: "over1";
908             target: "over2";
909             target: "disabler";
910             after: "disable_text";
911          }
912          program { name: "disable_text";
913             script {
914                new st[31];
915                new Float:vl;
916                get_state(PART:"elm.text", st, 30, vl);
917                if (!strcmp(st, "visible"))
918                  set_state(PART:"elm.text", "disabled_visible", 0.0);
919                else
920                  set_state(PART:"elm.text", "disabled", 0.0);
921             }
922          }
923          program { name: "enable";
924             signal: "elm,state,enabled";
925             source: "elm";
926             action: STATE_SET "default" 0.0;
927             target: "button_image";
928             target: "over1";
929             target: "over2";
930             target: "disabler";
931             after: "enable_text";
932          }
933          program { name: "enable_text";
934             script {
935                new st[31];
936                new Float:vl;
937                get_state(PART:"elm.text", st, 30, vl);
938                if (!strcmp(st, "disabled_visible"))
939                  set_state(PART:"elm.text", "visible", 0.0);
940                else
941                  set_state(PART:"elm.text", "default", 0.0);
942             }
943          }
944       }
945    }
946
947    group { name: "elm/button/base/hoversel_vertical/default";
948       alias: "elm/button/base/hoversel_vertical/entry";
949       alias: "elm/button/base/hoversel_horizontal/default";
950       alias: "elm/button/base/hoversel_horizontal/entry";
951       images {
952          image: "bt_base1.png" COMP;
953          image: "bt_base2.png" COMP;
954          image: "bt_hilight.png" COMP;
955          image: "bt_shine.png" COMP;
956          image: "bt_glow.png" COMP;
957          image: "updown.png" COMP;
958          image: "bt_dis_base.png" COMP;
959          image: "bt_dis_hilight.png" COMP;
960       }
961       parts {
962          part { name: "button_image";
963             mouse_events: 1;
964             description { state: "default" 0.0;
965                image {
966                   normal: "bt_base2.png";
967                   border: 7 7 7 7;
968                }
969                image.middle: SOLID;
970             }
971             description { state: "clicked" 0.0;
972                inherit: "default" 0.0;
973                image.normal: "bt_base1.png";
974                image.middle: SOLID;
975             }
976             description { state: "disabled" 0.0;
977                inherit:  "default" 0.0;
978                image {
979                   normal: "bt_dis_base.png";
980                   border: 4 4 4 4;
981                }
982             }
983          }
984          part { name: "arrow";
985             mouse_events: 0;
986             description { state: "default" 0.0;
987                image.normal: "updown.png";
988                aspect: 0.6666666666 0.6666666666;
989                aspect_preference: VERTICAL;
990                rel1.offset: 6 7;
991                rel2.offset: 6 -7;
992                rel2.relative: 0.0 1.0;
993                align: 0.0 0.5;
994             }
995          }
996          part { name: "elm.swallow.content";
997             type: SWALLOW;
998             description { state: "default" 0.0;
999                fixed: 1 0;
1000                visible: 0;
1001                align: 0.0 0.5;
1002                rel1 {
1003                   to_x: "arrow";
1004                   offset: 2 4;
1005                   relative: 1.0 0.0;
1006                }
1007                rel2 {
1008                   to_x: "arrow";
1009                   offset: 1 -5;
1010                   relative: 1.0 1.0;
1011                }
1012             }
1013             description { state: "visible" 0.0;
1014                inherit: "default" 0.0;
1015                fixed: 0 0;
1016                visible: 1;
1017                aspect: 1.0 1.0;
1018                aspect_preference: VERTICAL;
1019                rel2.offset: 2 -5;
1020             }
1021             description { state: "icononly" 0.0;
1022                inherit: "default" 0.0;
1023                fixed: 0 0;
1024                visible: 1;
1025                align: 0.5 0.5;
1026                aspect: 1.0 1.0;
1027                rel1 {
1028                   to_x: "button_image";
1029                   offset: -5 -5;
1030                   relative: 1.0 1.0;
1031                }
1032                aspect_preference: VERTICAL;
1033             }
1034          }
1035          part {
1036             name:          "elm.text";
1037             type:          TEXT;
1038             effect:        SOFT_SHADOW;
1039             mouse_events:  0;
1040             scale: 1;
1041             description { state: "default" 0.0;
1042                visible: 0;
1043                rel1.to_x: "elm.swallow.content";
1044                rel1.relative: 1.0 0.0;
1045                rel1.offset: 0 4;
1046                rel2.offset: -5 -5;
1047                color: 224 224 224 255;
1048                color3: 0 0 0 64;
1049                text {
1050                   font:     "Sans,Edje-Vera";
1051                   size:     10;
1052                   min:      0 0;
1053                   align:    0.5 0.5;
1054                }
1055             }
1056             description { state: "visible" 0.0;
1057                inherit: "default" 0.0;
1058                visible: 1;
1059                text.min: 1 1;
1060             }
1061             description { state: "disabled" 0.0;
1062                inherit: "default" 0.0;
1063                color: 0 0 0 128;
1064                color3: 0 0 0 0;
1065             }
1066             description { state: "disabled_visible" 0.0;
1067                inherit: "default" 0.0;
1068                color: 0 0 0 128;
1069                color3: 0 0 0 0;
1070                visible: 1;
1071                text.min: 1 1;
1072             }
1073          }
1074          part {   name: "over1";
1075             mouse_events: 0;
1076             description { state: "default" 0.0;
1077                rel2.relative: 1.0 0.5;
1078                image {
1079                   normal: "bt_hilight.png";
1080                   border: 7 7 7 0;
1081                }
1082             }
1083             description { state: "disabled" 0.0;
1084                inherit:  "default" 0.0;
1085                image {
1086                   normal: "bt_dis_hilight.png";
1087                   border: 4 4 4 0;
1088                }
1089             }
1090          }
1091          part { name: "over2";
1092             mouse_events: 1;
1093             repeat_events: 1;
1094             ignore_flags: ON_HOLD;
1095             description { state: "default" 0.0;
1096                image {
1097                   normal: "bt_shine.png";
1098                   border: 7 7 7 7;
1099                }
1100             }
1101             description { state: "disabled" 0.0;
1102                inherit:  "default" 0.0;
1103                visible: 0;
1104             }
1105          }
1106          part { name: "over3";
1107             mouse_events: 1;
1108             repeat_events: 1;
1109             description { state: "default" 0.0;
1110                color: 255 255 255 0;
1111                image {
1112                   normal: "bt_glow.png";
1113                   border: 12 12 12 12;
1114                }
1115                fill.smooth : 0;
1116             }
1117             description { state: "clicked" 0.0;
1118                inherit:  "default" 0.0;
1119                visible: 1;
1120                color: 255 255 255 255;
1121             }
1122          }
1123          part { name: "disabler";
1124             type: RECT;
1125             description { state: "default" 0.0;
1126                color: 0 0 0 0;
1127                visible: 0;
1128             }
1129             description { state: "disabled" 0.0;
1130                inherit: "default" 0.0;
1131                visible: 1;
1132             }
1133          }
1134       }
1135       programs {
1136          program {
1137             name:   "button_click";
1138             signal: "mouse,down,1";
1139             source: "over2";
1140             action: STATE_SET "clicked" 0.0;
1141             target: "button_image";
1142          }
1143          program {
1144             name:   "button_unclick";
1145             signal: "mouse,up,1";
1146             source: "over2";
1147             action: STATE_SET "default" 0.0;
1148             target: "button_image";
1149          }
1150          program {
1151             name:   "button_click2";
1152             signal: "mouse,down,1";
1153             source: "over3";
1154             action: STATE_SET "clicked" 0.0;
1155             target: "over3";
1156          }
1157          program {
1158             name:   "button_unclick2";
1159             signal: "mouse,up,1";
1160             source: "over3";
1161             action: STATE_SET "default" 0.0;
1162             transition: DECELERATE 0.5;
1163             target: "over3";
1164          }
1165          program {
1166             name:   "button_unclick3";
1167             signal: "mouse,up,1";
1168             source: "over2";
1169             action: SIGNAL_EMIT "elm,action,click" "";
1170          }
1171          program { name: "text_show";
1172             signal: "elm,state,text,visible";
1173             source: "elm";
1174             script {
1175                new st[31];
1176                new Float:vl;
1177                get_state(PART:"elm.swallow.content", st, 30, vl);
1178                if (!strcmp(st, "icononly"))
1179                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1180                set_state(PART:"elm.text", "visible", 0.0);
1181             }
1182          }
1183          program { name: "text_hide";
1184             signal: "elm,state,text,hidden";
1185             source: "elm";
1186             script {
1187                new st[31];
1188                new Float:vl;
1189                get_state(PART:"elm.swallow.content", st, 30, vl);
1190                if (!strcmp(st, "visible"))
1191                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1192                set_state(PART:"elm.text", "default", 0.0);
1193             }
1194          }
1195          program { name: "icon_show";
1196             signal: "elm,state,icon,visible";
1197             source: "elm";
1198             script {
1199                new st[31];
1200                new Float:vl;
1201                get_state(PART:"elm.text", st, 30, vl);
1202                if (!strcmp(st, "visible"))
1203                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1204                else
1205                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1206             }
1207          }
1208          program { name: "icon_hide";
1209             signal: "elm,state,icon,hidden";
1210             source: "elm";
1211             action:  STATE_SET "default" 0.0;
1212             target: "elm.swallow.content";
1213          }
1214          program { name: "disable";
1215             signal: "elm,state,disabled";
1216             source: "elm";
1217             action: STATE_SET "disabled" 0.0;
1218             target: "button_image";
1219             target: "over1";
1220             target: "over2";
1221             target: "disabler";
1222             after: "disable_text";
1223          }
1224          program { name: "disable_text";
1225             script {
1226                new st[31];
1227                new Float:vl;
1228                get_state(PART:"elm.text", st, 30, vl);
1229                if (!strcmp(st, "visible"))
1230                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1231                else
1232                  set_state(PART:"elm.text", "disabled", 0.0);
1233             }
1234          }
1235          program { name: "enable";
1236             signal: "elm,state,enabled";
1237             source: "elm";
1238             action: STATE_SET "default" 0.0;
1239             target: "button_image";
1240             target: "over1";
1241             target: "over2";
1242             target: "disabler";
1243             after: "enable_text";
1244          }
1245          program { name: "enable_text";
1246             script {
1247                new st[31];
1248                new Float:vl;
1249                get_state(PART:"elm.text", st, 30, vl);
1250                if (!strcmp(st, "disabled_visible"))
1251                  set_state(PART:"elm.text", "visible", 0.0);
1252                else
1253                  set_state(PART:"elm.text", "default", 0.0);
1254             }
1255          }
1256       }
1257    }
1258
1259    group { name: "elm/button/base/hoversel_vertical_entry/default";
1260       alias: "elm/button/base/hoversel_vertical_entry/entry";
1261       alias: "elm/button/base/hoversel_horizontal_entry/default";
1262       alias: "elm/button/base/hoversel_horizontal_entry/entry";
1263       images {
1264          image: "hoversel_entry_bg.png" COMP;
1265       }
1266       parts {
1267          part { name: "button_image";
1268             mouse_events: 1;
1269             description { state: "default" 0.0;
1270                color: 255 255 255 0;
1271                image.normal: "hoversel_entry_bg.png";
1272                image.border: 0 0 2 2;
1273                fill.smooth: 0;
1274             }
1275             description { state: "clicked" 0.0;
1276                inherit: "default" 0.0;
1277                color: 255 255 255 255;
1278             }
1279          }
1280          part { name: "elm.swallow.content";
1281             type: SWALLOW;
1282             description { state: "default" 0.0;
1283                visible: 0;
1284                align: 0.0 0.5;
1285                rel1.offset: 4 4;
1286                rel2.offset: 3 -5;
1287                rel2.relative: 0.0 1.0;
1288             }
1289             description { state: "visible" 0.0;
1290                inherit: "default" 0.0;
1291                visible: 1;
1292                aspect: 1.0 1.0;
1293                aspect_preference: VERTICAL;
1294                rel2.offset: 4 -5;
1295             }
1296             description { state: "icononly" 0.0;
1297                inherit: "default" 0.0;
1298                visible: 1;
1299                align: 0.5 0.5;
1300                aspect: 1.0 1.0;
1301                rel2.offset: -5 -5;
1302                rel2.relative: 1.0 1.0;
1303                aspect_preference: VERTICAL;
1304             }
1305          }
1306          part { name: "textvis";
1307             type: RECT;
1308             mouse_events: 0;
1309             description { state: "default" 0.0;
1310                visible: 0;
1311             }
1312             description { state: "visible" 0.0;
1313                visible: 1;
1314             }
1315          }
1316          part {
1317             name:          "elm.text";
1318             type:          TEXT;
1319             effect:        SOFT_SHADOW;
1320             mouse_events:  0;
1321             scale: 1;
1322             clip_to:       "textvis";
1323             description { state: "default" 0.0;
1324                rel1.to_x: "elm.swallow.content";
1325                rel1.relative: 1.0 0.0;
1326                rel1.offset: 0 4;
1327                rel2.offset: -5 -5;
1328                color: 224 224 224 255;
1329                color3: 0 0 0 64;
1330                text {
1331                   font:     "Sans,Edje-Vera";
1332                   size:     10;
1333                   min:      0 0;
1334                   align:    0.5 0.5;
1335                }
1336             }
1337             description { state: "visible" 0.0;
1338                inherit: "default" 0.0;
1339                text.min: 1 1;
1340             }
1341             description { state: "clicked" 0.0;
1342                inherit: "default" 0.0;
1343                text.min: 1 1;
1344                color: 0 0 0 255;
1345                color3: 0 0 0 0;
1346             }
1347          }
1348          part { name: "over2";
1349             type: RECT;
1350             mouse_events: 1;
1351             description { state: "default" 0.0;
1352                color: 0 0 0 0;
1353             }
1354          }
1355       }
1356       programs {
1357          program {
1358             name:   "button_click";
1359             signal: "mouse,down,1";
1360             source: "over2";
1361             action: STATE_SET "clicked" 0.0;
1362             target: "button_image";
1363             target: "elm.text";
1364          }
1365          program {
1366             name:   "button_unclick";
1367             signal: "mouse,up,1";
1368             source: "over2";
1369             action: STATE_SET "default" 0.0;
1370             target: "button_image";
1371             target: "elm.text";
1372          }
1373          program {
1374             name:   "button_unclick3";
1375             signal: "mouse,up,1";
1376             source: "over2";
1377             action: SIGNAL_EMIT "elm,action,click" "";
1378          }
1379          program { name: "text_show";
1380             signal: "elm,state,text,visible";
1381             source: "elm";
1382             script {
1383                new st[31];
1384                new Float:vl;
1385                get_state(PART:"elm.swallow.content", st, 30, vl);
1386                if (!strcmp(st, "icononly"))
1387                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1388                set_state(PART:"textvis", "visible", 0.0);
1389                set_state(PART:"elm.text", "visible", 0.0);
1390             }
1391          }
1392          program { name: "text_hide";
1393             signal: "elm,state,text,hidden";
1394             source: "elm";
1395             script {
1396                new st[31];
1397                new Float:vl;
1398                get_state(PART:"elm.swallow.content", st, 30, vl);
1399                if (!strcmp(st, "visible"))
1400                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1401                set_state(PART:"textvis", "default", 0.0);
1402                set_state(PART:"elm.text", "default", 0.0);
1403             }
1404          }
1405          program { name: "icon_show";
1406             signal: "elm,state,icon,visible";
1407             source: "elm";
1408             script {
1409                new st[31];
1410                new Float:vl;
1411                get_state(PART:"textvis", st, 30, vl);
1412                if (!strcmp(st, "visible"))
1413                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1414                else
1415                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1416             }
1417          }
1418          program { name: "icon_hide";
1419             signal: "elm,state,icon,hidden";
1420             source: "elm";
1421             action:  STATE_SET "default" 0.0;
1422             target: "elm.swallow.content";
1423          }
1424       }
1425    }
1426
1427    group { name: "elm/button/base/anchor";
1428       images {
1429          image: "bt_base1.png" COMP;
1430          image: "bt_base2.png" COMP;
1431          image: "bt_hilight.png" COMP;
1432          image: "bt_shine.png" COMP;
1433          image: "bt_glow.png" COMP;
1434          image: "bt_dis_base.png" COMP;
1435          image: "bt_dis_hilight.png" COMP;
1436       }
1437       parts {
1438          part { name: "button_image";
1439             mouse_events: 1;
1440             description { state: "default" 0.0;
1441            color: 255 255 255 0;
1442                image {
1443                   normal: "bt_base2.png";
1444                   border: 7 7 7 7;
1445                }
1446                image.middle: SOLID;
1447             }
1448        description { state: "visible" 0.0;
1449                inherit: "default" 0.0;
1450           color: 255 255 255 255;
1451             }
1452             description { state: "clicked" 0.0;
1453                inherit: "default" 0.0;
1454           inherit: "visible" 0.0;
1455                image.normal: "bt_base1.png";
1456                image.middle: SOLID;
1457             }
1458             description { state: "disabled" 0.0;
1459                inherit:  "default" 0.0;
1460           inherit: "visible" 0.0;
1461                image {
1462                   normal: "bt_dis_base.png";
1463                   border: 4 4 4 4;
1464                }
1465             }
1466          }
1467          part { name: "elm.swallow.content";
1468             type: SWALLOW;
1469             description { state: "default" 0.0;
1470                fixed: 1 0;
1471                visible: 0;
1472                align: 0.0 0.5;
1473                rel1.offset: 4 4;
1474                rel2.offset: 3 -5;
1475                rel2.relative: 0.0 1.0;
1476             }
1477             description { state: "visible" 0.0;
1478                inherit: "default" 0.0;
1479                fixed: 1 0;
1480                visible: 1;
1481                aspect: 1.0 1.0;
1482                aspect_preference: VERTICAL;
1483                rel2.offset: 4 -5;
1484             }
1485             description { state: "icononly" 0.0;
1486                inherit: "default" 0.0;
1487                fixed: 0 0;
1488                visible: 1;
1489                align: 0.5 0.5;
1490                aspect: 1.0 1.0;
1491                rel2.offset: -5 -5;
1492                rel2.relative: 1.0 1.0;
1493                aspect_preference: VERTICAL;
1494             }
1495          }
1496          part {
1497             name:          "elm.text";
1498             type:          TEXT;
1499             effect:        SOFT_SHADOW;
1500             mouse_events:  0;
1501             scale: 1;
1502             description { state: "default" 0.0;
1503                visible: 0;
1504                rel1.to_x: "elm.swallow.content";
1505                rel1.relative: 1.0 0.0;
1506                rel1.offset: 0 4;
1507                rel2.offset: -5 -5;
1508                color: 224 224 224 255;
1509                color3: 0 0 0 64;
1510                text {
1511                   font:     "Sans,Edje-Vera";
1512                   size:     10;
1513                   min:      0 0;
1514                   align:    0.5 0.5;
1515                }
1516             }
1517             description { state: "visible" 0.0;
1518                inherit: "default" 0.0;
1519                visible: 1;
1520                text.min: 1 1;
1521             }
1522             description { state: "disabled" 0.0;
1523                inherit: "default" 0.0;
1524                color: 0 0 0 128;
1525                color3: 0 0 0 0;
1526             }
1527             description { state: "disabled_visible" 0.0;
1528                inherit: "default" 0.0;
1529                color: 0 0 0 128;
1530                color3: 0 0 0 0;
1531                visible: 1;
1532                text.min: 1 1;
1533             }
1534          }
1535          part {   name: "over1";
1536             mouse_events: 0;
1537             description { state: "default" 0.0;
1538            color: 255 255 255 0;
1539                rel2.relative: 1.0 0.5;
1540                image {
1541                   normal: "bt_hilight.png";
1542                   border: 7 7 7 0;
1543                }
1544             }
1545        description { state: "visible" 0.0;
1546                inherit:  "default" 0.0;
1547           color: 255 255 255 255;
1548             }
1549             description { state: "disabled" 0.0;
1550                inherit:  "default" 0.0;
1551           inherit:  "visible" 0.0;
1552                image {
1553                   normal: "bt_dis_hilight.png";
1554                   border: 4 4 4 0;
1555                }
1556             }
1557          }
1558          part { name: "over2";
1559             mouse_events: 1;
1560             repeat_events: 1;
1561             ignore_flags: ON_HOLD;
1562             description { state: "default" 0.0;
1563                image {
1564                   normal: "bt_shine.png";
1565                   border: 7 7 7 7;
1566                }
1567             }
1568             description { state: "disabled" 0.0;
1569                inherit:  "default" 0.0;
1570                visible: 0;
1571             }
1572          }
1573          part { name: "over3";
1574             mouse_events: 1;
1575             repeat_events: 1;
1576             description { state: "default" 0.0;
1577                color: 255 255 255 0;
1578                image {
1579                   normal: "bt_glow.png";
1580                   border: 12 12 12 12;
1581                }
1582                fill.smooth : 0;
1583             }
1584             description { state: "clicked" 0.0;
1585                inherit:  "default" 0.0;
1586                visible: 1;
1587                color: 255 255 255 255;
1588             }
1589          }
1590          part { name: "disabler";
1591             type: RECT;
1592             description { state: "default" 0.0;
1593                color: 0 0 0 0;
1594                visible: 0;
1595             }
1596             description { state: "disabled" 0.0;
1597                inherit: "default" 0.0;
1598                visible: 1;
1599             }
1600          }
1601       }
1602       programs {
1603     program {
1604             name:   "button_mouse_in";
1605             signal: "mouse,in";
1606             source: "over2";
1607             action: STATE_SET "visible" 0.0;
1608             target: "button_image";
1609        target: "over1";
1610        transition: DECELERATE 0.5;
1611          }
1612          program {
1613             name:   "button_mouse_out";
1614             signal: "mouse,out";
1615             source: "over2";
1616             action: STATE_SET "default" 0.0;
1617             target: "button_image";
1618        target: "over1";
1619        transition: DECELERATE 0.5;
1620          }
1621          program {
1622             name:   "button_unclick";
1623             signal: "mouse,up,1";
1624             source: "over2";
1625             action: STATE_SET "visible" 0.0;
1626             target: "button_image";
1627          }
1628          program {
1629             name:   "button_click2";
1630             signal: "mouse,down,1";
1631             source: "over3";
1632             action: STATE_SET "clicked" 0.0;
1633             target: "over3";
1634          }
1635          program {
1636             name:   "button_unclick2";
1637             signal: "mouse,up,1";
1638             source: "over3";
1639             action: STATE_SET "default" 0.0;
1640             transition: DECELERATE 0.5;
1641             target: "over3";
1642          }
1643          program {
1644             name:   "button_unclick3";
1645             signal: "mouse,up,1";
1646             source: "over2";
1647             action: SIGNAL_EMIT "elm,action,click" "";
1648          }
1649          program { name: "text_show";
1650             signal: "elm,state,text,visible";
1651             source: "elm";
1652             script {
1653                new st[31];
1654                new Float:vl;
1655                get_state(PART:"elm.swallow.content", st, 30, vl);
1656                if (!strcmp(st, "icononly"))
1657                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1658                set_state(PART:"elm.text", "visible", 0.0);
1659             }
1660          }
1661          program { name: "text_hide";
1662             signal: "elm,state,text,hidden";
1663             source: "elm";
1664             script {
1665                new st[31];
1666                new Float:vl;
1667                get_state(PART:"elm.swallow.content", st, 30, vl);
1668                if (!strcmp(st, "visible"))
1669                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1670                set_state(PART:"elm.text", "default", 0.0);
1671             }
1672          }
1673          program { name: "icon_show";
1674             signal: "elm,state,icon,visible";
1675             source: "elm";
1676             script {
1677                new st[31];
1678                new Float:vl;
1679                get_state(PART:"elm.text", st, 30, vl);
1680                if (!strcmp(st, "visible"))
1681                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1682                else
1683                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1684             }
1685          }
1686          program { name: "icon_hide";
1687             signal: "elm,state,icon,hidden";
1688             source: "elm";
1689             action:  STATE_SET "default" 0.0;
1690             target: "elm.swallow.content";
1691          }
1692          program { name: "disable";
1693             signal: "elm,state,disabled";
1694             source: "elm";
1695             action: STATE_SET "disabled" 0.0;
1696             target: "button_image";
1697             target: "over1";
1698             target: "over2";
1699             target: "disabler";
1700             after: "disable_text";
1701          }
1702          program { name: "disable_text";
1703             script {
1704                new st[31];
1705                new Float:vl;
1706                get_state(PART:"elm.text", st, 30, vl);
1707                if (!strcmp(st, "visible"))
1708                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1709                else
1710                  set_state(PART:"elm.text", "disabled", 0.0);
1711             }
1712          }
1713          program { name: "enable";
1714             signal: "elm,state,enabled";
1715             source: "elm";
1716             action: STATE_SET "default" 0.0;
1717             target: "button_image";
1718             target: "over1";
1719             target: "over2";
1720             target: "disabler";
1721             after: "enable_text";
1722          }
1723          program { name: "enable_text";
1724             script {
1725                new st[31];
1726                new Float:vl;
1727                get_state(PART:"elm.text", st, 30, vl);
1728                if (!strcmp(st, "disabled_visible"))
1729                  set_state(PART:"elm.text", "visible", 0.0);
1730                else
1731                  set_state(PART:"elm.text", "default", 0.0);
1732             }
1733          }
1734       }
1735    }
1736
1737 ///////////////////////////////////////////////////////////////////////////////
1738    group { name: "elm/toggle/base/default";
1739       images {
1740          image: "shelf_inset.png" COMP;
1741          image: "bt_basew.png" COMP;
1742          image: "bt_bases.png" COMP;
1743          image: "bt_hilightw.png" COMP;
1744          image: "tog_base.png" COMP;
1745          image: "tog_dis_base.png" COMP;
1746       }
1747       parts {
1748          part { name: "bg";
1749             type: RECT;
1750             mouse_events: 0;
1751             scale: 1;
1752             description { state: "default" 0.0;
1753                rel1.relative: 1.0 0.0;
1754                rel1.offset: -4 3;
1755                rel2.offset: -4 -4;
1756                align: 1.0 0.5;
1757                min: 96 16;
1758                max: 96 16;
1759                aspect: 4.0 4.0;
1760                aspect_preference: VERTICAL;
1761                color: 255 255 255 255;
1762             }
1763          }
1764          part { name: "clipper";
1765             type: RECT;
1766             mouse_events: 0;
1767             description { state: "default" 0.0;
1768                rel1.to: "bg";
1769                rel2.to: "bg";
1770                color: 255 255 255 255;
1771             }
1772          }
1773          part { name: "button";
1774             type: RECT;
1775             scale: 1;
1776             clip_to: "clipper";
1777             mouse_events: 1;
1778             dragable {
1779                x: 1 1 0;
1780                y: 0 0 0;
1781                confine: "bg";
1782             }
1783             description { state: "default" 0.0;
1784                fixed: 1 1;
1785                rel1.to: "bg";
1786                rel2.to: "bg";
1787                min: 16 16;
1788                max: 16 16;
1789                aspect: 1.0 1.0;
1790                aspect_preference: VERTICAL;
1791                color: 0 0 0 0;
1792             }
1793          }
1794          part { name: "button_events";
1795             type: RECT;
1796             dragable {
1797                events: "button";
1798             }
1799             description { state: "default" 0.0;
1800                rel1.to_x: "bg";
1801                rel1.offset: 0 0;
1802                rel1.relative: 0.0 0.0;
1803                rel2.to_x: "bg";
1804                rel2.offset: -1 -1;
1805                rel2.relative: 1.0 1.0;
1806                color: 0 0 0 0;
1807             }
1808          }
1809          part { name: "onrect";
1810             type: RECT;
1811             scale: 1;
1812             clip_to: "clipper";
1813             mouse_events: 0;
1814             description { state: "default" 0.0;
1815                rel1.to: "button";
1816                rel1.relative: -5.0 0.0;
1817                rel2.to: "button";
1818                rel2.relative: 0.0 1.0;
1819                color: 0 0 0 0;
1820             }
1821          }
1822          part { name: "offrect";
1823             type: RECT;
1824             scale: 1;
1825             clip_to: "clipper";
1826             mouse_events: 0;
1827             description { state: "default" 0.0;
1828                rel1.to: "button";
1829                rel1.relative: 1.0 0.0;
1830                rel2.to: "button";
1831                rel2.relative: 6.0 1.0;
1832                color: 0 0 0 0;
1833             }
1834          }
1835          part { name: "togbase";
1836             mouse_events:  0;
1837             clip_to: "clipper";
1838             description { state: "default" 0.0;
1839                rel1.to: "onrect";
1840                rel2.to: "offrect";
1841                image.normal: "tog_base.png";
1842             }
1843             description { state: "disabled" 0.0;
1844                inherit: "default" 0.0;
1845                image.normal: "tog_dis_base.png";
1846             }
1847          }
1848          part { name: "elm.offtext";
1849             type: TEXT;
1850             mouse_events:  0;
1851             scale: 1;
1852             clip_to: "clipper";
1853             description { state: "default" 0.0;
1854                fixed: 1 1;
1855                rel1.to_x: "offrect";
1856                rel2.to_x: "offrect";
1857                color: 0 0 0 255;
1858                text {
1859                   font:     "Sans,Edje-Vera";
1860                   size:     10;
1861                   min:      0 1;
1862                   align:    0.5 0.5;
1863                   text:     "OFF";
1864                }
1865             }
1866             description { state: "disabled" 0.0;
1867                inherit: "default" 0.0;
1868                color: 128 128 128 128;
1869             }
1870          }
1871          part { name: "elm.ontext";
1872             type: TEXT;
1873             effect: SOFT_SHADOW;
1874             mouse_events:  0;
1875             scale: 1;
1876             clip_to: "clipper";
1877             description { state: "default" 0.0;
1878                fixed: 1 1;
1879                rel1.to_x: "onrect";
1880                rel1.offset: 1 1;
1881                rel2.to_x: "onrect";
1882                rel2.offset: 0 0;
1883                color: 224 224 224 255;
1884                color3: 0 0 0 64;
1885                text {
1886                   font:     "Sans,Edje-Vera";
1887                   size:     10;
1888                   min:      0 1;
1889                   align:    0.5 0.5;
1890                   text:     "ON";
1891                }
1892             }
1893             description { state: "disabled" 0.0;
1894                inherit: "default" 0.0;
1895                color: 128 128 128 128;
1896                color3: 0 0 0 24;
1897             }
1898          }
1899          part { name: "conf_over";
1900             mouse_events:  0;
1901             description { state: "default" 0.0;
1902                rel1.offset: -1 -1;
1903                rel1.to: "bg";
1904                rel2.offset: 0 0;
1905                rel2.to: "bg";
1906                image {
1907                   normal: "shelf_inset.png";
1908                   border: 7 7 7 7;
1909                   middle: 0;
1910                }
1911                fill.smooth : 0;
1912             }
1913          }
1914          part { name: "button0";
1915             mouse_events:  0;
1916             clip_to: "clipper";
1917             description { state: "default" 0.0;
1918                rel1.to: "button2";
1919                rel1.offset: -4 -4;
1920                rel2.to: "button2";
1921                rel2.offset: 3 3;
1922                image {
1923                   normal: "bt_bases.png";
1924                   border: 11 11 11 11;
1925                }
1926                image.middle: SOLID;
1927                color: 255 255 255 128;
1928             }
1929          }
1930          part { name: "button2";
1931             mouse_events:  0;
1932             clip_to: "clipper";
1933             description { state: "default" 0.0;
1934                rel1.to: "button";
1935                rel1.offset: -2 -2;
1936                rel2.to: "button";
1937                rel2.offset: 1 1;
1938                image {
1939                   normal: "bt_basew.png";
1940                   border: 7 7 7 7;
1941                }
1942                image.middle: SOLID;
1943             }
1944          }
1945          part { name: "button3";
1946             mouse_events:  0;
1947             clip_to: "clipper";
1948             description { state: "default" 0.0;
1949                rel1.to: "button2";
1950                rel2.to: "button2";
1951                rel2.relative: 1.0 0.5;
1952                image {
1953                   normal: "bt_hilightw.png";
1954                   border: 4 4 4 0;
1955                }
1956             }
1957          }
1958          part { name: "elm.swallow.content";
1959             type: SWALLOW;
1960             description { state: "default" 0.0;
1961                fixed: 1 0;
1962                visible: 0;
1963                align: 0.0 0.5;
1964                rel1.offset: 4 4;
1965                rel2.relative: 0.0 1.0;
1966                rel2.offset: 3 -5;
1967             }
1968             description { state: "visible" 0.0;
1969                inherit: "default" 0.0;
1970                fixed: 1 1;
1971                visible: 1;
1972                aspect: 1.0 1.0;
1973                aspect_preference: VERTICAL;
1974                rel2.offset: 4 -5;
1975             }
1976             description { state: "disabled" 0.0;
1977                inherit: "default" 0.0;
1978                color: 128 128 128 128;
1979             }
1980             description { state: "disabled_visible" 0.0;
1981                inherit: "default" 0.0;
1982                color: 128 128 128 128;
1983                fixed: 1 1;
1984                visible: 1;
1985                aspect: 1.0 1.0;
1986             }
1987          }
1988          part { name: "elm.text";
1989             type: TEXT;
1990             mouse_events: 0;
1991             scale: 1;
1992             description { state: "default" 0.0;
1993                visible: 0;
1994                rel1.to_x: "elm.swallow.content";
1995                rel1.relative: 1.0 0.0;
1996                rel1.offset: 0 4;
1997                rel2.to_x: "bg";
1998                rel2.relative: 0.0 1.0;
1999                rel2.offset: -5 -5;
2000                color: 0 0 0 255;
2001                text {
2002                   font: "Sans,Edje-Vera";
2003                   size: 10;
2004                   min: 0 0;
2005                   align: 0.0 0.5;
2006                }
2007             }
2008             description { state: "visible" 0.0;
2009                inherit: "default" 0.0;
2010                visible: 1;
2011                text.min: 1 1;
2012             }
2013             description { state: "disabled" 0.0;
2014                inherit: "default" 0.0;
2015                color: 128 128 128 128;
2016             }
2017             description { state: "disabled_visible" 0.0;
2018                inherit: "default" 0.0;
2019                color: 128 128 128 128;
2020                visible: 1;
2021             }
2022          }
2023          part { name: "disabler";
2024             type: RECT;
2025             description { state: "default" 0.0;
2026                color: 0 0 0 0;
2027                visible: 0;
2028             }
2029             description { state: "disabled" 0.0;
2030                inherit: "default" 0.0;
2031                visible: 1;
2032             }
2033          }
2034       }
2035       programs {
2036          program { name:   "drag_end";
2037             signal: "mouse,up,1";
2038             source: "button";
2039             script {
2040                new Float:dx, Float:dy;
2041                get_drag(PART:"button", dx, dy);
2042                if (dx > 0.5)
2043                  {
2044                     set_drag(PART:"button", 1.0, 0.0);
2045                     emit("elm,action,toggle,on", "");
2046                  }
2047                else
2048                  {
2049                     set_drag(PART:"button", 0.0, 0.0);
2050                     emit("elm,action,toggle,off", "");
2051                  }
2052             }
2053          }
2054          program { name: "toggle_on";
2055             signal: "elm,state,toggle,on";
2056             source: "elm";
2057             script {
2058                set_drag(PART:"button", 100.0, 0.0);
2059             }
2060          }
2061          program { name: "toggle_off";
2062             signal: "elm,state,toggle,off";
2063             source: "elm";
2064             script {
2065                set_drag(PART:"button", 0.0, 0.0);
2066             }
2067          }
2068          program { name: "text_show";
2069             signal: "elm,state,text,visible";
2070             source: "elm";
2071             action:  STATE_SET "visible" 0.0;
2072             target: "elm.text";
2073          }
2074          program { name: "text_hide";
2075             signal: "elm,state,text,hidden";
2076             source: "elm";
2077             action:  STATE_SET "default" 0.0;
2078             target: "elm.text";
2079          }
2080          program { name: "icon_show";
2081             signal: "elm,state,icon,visible";
2082             source: "elm";
2083             action:  STATE_SET "visible" 0.0;
2084             target: "elm.swallow.content";
2085          }
2086          program { name: "icon_hide";
2087             signal: "elm,state,icon,hidden";
2088             source: "elm";
2089             action:  STATE_SET "default" 0.0;
2090             target: "elm.swallow.content";
2091          }
2092          program { name: "disable";
2093             signal: "elm,state,disabled";
2094             source: "elm";
2095             action: STATE_SET "disabled" 0.0;
2096             target: "togbase";
2097             target: "elm.offtext";
2098             target: "elm.ontext";
2099             target: "disabler";
2100             after: "disable_text";
2101          }
2102          program { name: "disable_text";
2103             script {
2104                new st[31];
2105                new Float:vl;
2106                get_state(PART:"elm.text", st, 30, vl);
2107                if (!strcmp(st, "visible"))
2108                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2109                else
2110                  set_state(PART:"elm.text", "disabled", 0.0);
2111
2112                get_state(PART:"elm.swallow.content", st, 30, vl);
2113                if (!strcmp(st, "visible"))
2114                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
2115                else
2116                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
2117             }
2118          }
2119          program { name: "enable";
2120             signal: "elm,state,enabled";
2121             source: "elm";
2122             action: STATE_SET "default" 0.0;
2123             target: "disabler";
2124             after: "enable_text";
2125          }
2126          program { name: "enable_text";
2127             script {
2128                new st[31];
2129                new Float:vl;
2130                get_state(PART:"elm.text", st, 30, vl);
2131                if (!strcmp(st, "disabled_visible"))
2132                  set_state(PART:"elm.text", "visible", 0.0);
2133                else
2134                  set_state(PART:"elm.text", "default", 0.0);
2135
2136                get_state(PART:"elm.swallow.content", st, 30, vl);
2137                if (!strcmp(st, "visible"))
2138                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2139                else
2140                  set_state(PART:"elm.swallow.content", "default", 0.0);
2141             }
2142          }
2143       }
2144    }
2145
2146 ///////////////////////////////////////////////////////////////////////////////
2147    group { name: "elm/clock/flipdigit/default";
2148       images {
2149          image: "flip_base.png" COMP;
2150          image: "flip_base_shad.png" COMP;
2151          image: "flip_shad.png" COMP;
2152          image: "flip_0t.png" COMP;
2153          image: "flip_0b.png" COMP;
2154          image: "flip_1t.png" COMP;
2155          image: "flip_1b.png" COMP;
2156          image: "flip_2t.png" COMP;
2157          image: "flip_2b.png" COMP;
2158          image: "flip_3t.png" COMP;
2159          image: "flip_3b.png" COMP;
2160          image: "flip_4t.png" COMP;
2161          image: "flip_4b.png" COMP;
2162          image: "flip_5t.png" COMP;
2163          image: "flip_5b.png" COMP;
2164          image: "flip_6t.png" COMP;
2165          image: "flip_6b.png" COMP;
2166          image: "flip_7t.png" COMP;
2167          image: "flip_7b.png" COMP;
2168          image: "flip_8t.png" COMP;
2169          image: "flip_8b.png" COMP;
2170          image: "flip_9t.png" COMP;
2171          image: "flip_9b.png" COMP;
2172          image: "arrow_up.png" COMP;
2173          image: "arrow_down.png" COMP;
2174       }
2175       script {
2176          public v0_cur, v0_pre, v0_lock, v0_next;
2177
2178        public animator2(val, Float:pos) {
2179           new st1[11], st2[11], v;
2180
2181           v = get_int(v0_cur);
2182           snprintf(st1, 10, "%ih", v);
2183           snprintf(st2, 10, "%i", v);
2184           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2185           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2186           if (pos >= 1.0) {
2187              set_state(PART:"sh", "default", 0.0);
2188              set_int(v0_lock, 0);
2189              v = get_int(v0_next);
2190              if (v >= 0) {
2191                 set_int(v0_next, -1);
2192                 message(MSG_INT, 1, v);
2193              }
2194           }
2195        }
2196        public animator1(val, Float:pos) {
2197           new st1[11], st2[11], v;
2198
2199           v = get_int(v0_pre);
2200           snprintf(st1, 10, "%i", v);
2201           snprintf(st2, 10, "%ih", v);
2202           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2203           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2204           if (pos >= 1.0) anim(0.2, "animator2", val);
2205        }
2206        public message(Msg_Type:type, id, ...) {
2207           if ((type == MSG_INT) && (id == 1)) {
2208              new value, v, buf[11];
2209
2210              value = getarg(2);
2211              if (get_int(v0_lock) == 1) {
2212                 set_int(v0_next, value);
2213                 return;
2214              }
2215              v = get_int(v0_cur);
2216              set_int(v0_pre, v);
2217              set_int(v0_cur, value);
2218              set_int(v0_lock, 1);
2219              snprintf(buf, 10, "%i", get_int(v0_pre));
2220              set_state(PART:"bot0", buf, 0.0);
2221              snprintf(buf, 10, "%ih", get_int(v0_cur));
2222              set_state(PART:"bot", buf, 0.0);
2223              snprintf(buf, 10, "%i", get_int(v0_cur));
2224              set_state(PART:"top0", buf, 0.0);
2225              snprintf(buf, 10, "%i", get_int(v0_pre));
2226              set_state(PART:"top", buf, 0.0);
2227              set_state(PART:"sh", "default", 0.0);
2228              anim(0.2, "animator1", 1);
2229           }
2230        }
2231       }
2232       parts {
2233          part { name: "shad";
2234             mouse_events: 0;
2235             description { state: "default" 0.0;
2236                rel1.offset: -4 -4;
2237                rel1.to: "base";
2238                rel2.offset: 3 3;
2239                rel2.to: "base";
2240                image {
2241                   normal: "flip_base_shad.png";
2242                   border: 8 8 8 8;
2243                }
2244             }
2245          }
2246          part { name: "base";
2247             scale: 1;
2248             description { state: "default" 0.0;
2249                rel1.offset: 4 4;
2250                rel2.offset: -5 -5;
2251                // FIXME 48x96 should be the native pixel design, right now
2252                // its 80x160. fix int he artwork later
2253                min: 24 48;
2254                aspect: 0.5 0.5;
2255 //             max: 24 48;
2256                image.normal: "flip_base.png";
2257             }
2258          }
2259          part { name: "b";
2260             type: RECT;
2261             mouse_events: 1;
2262             description { state: "default" 0.0;
2263                visible: 0;
2264                rel1.to: "base";
2265                rel1.relative: 0.0 0.5;
2266                rel2.to: "base";
2267                color: 0 0 0 0;
2268             }
2269             description { state: "visible" 0.0;
2270                inherit: "default" 0.0;
2271                visible: 1;
2272             }
2273          }
2274          part { name: "t";
2275             type: RECT;
2276             mouse_events: 1;
2277             description { state: "default" 0.0;
2278                visible: 0;
2279                rel1.to: "base";
2280                rel2.to: "base";
2281                rel2.relative: 1.0 0.5;
2282                color: 0 0 0 0;
2283             }
2284             description { state: "visible" 0.0;
2285                inherit: "default" 0.0;
2286                visible: 1;
2287             }
2288          }
2289          part { name: "bot0";
2290             mouse_events: 0;
2291             description { state: "default" 0.0;
2292                rel1.to: "b";
2293                rel2.to: "b";
2294                image.normal: "flip_0b.png";
2295             }
2296             description { state: "0" 0.0;
2297                inherit: "default" 0.0;
2298                image.normal: "flip_0b.png";
2299             }
2300             description { state: "1" 0.0;
2301                inherit: "default" 0.0;
2302                image.normal: "flip_1b.png";
2303             }
2304             description { state: "2" 0.0;
2305                inherit: "default" 0.0;
2306                image.normal: "flip_2b.png";
2307             }
2308             description { state: "3" 0.0;
2309                inherit: "default" 0.0;
2310                image.normal: "flip_3b.png";
2311             }
2312             description { state: "4" 0.0;
2313                inherit: "default" 0.0;
2314                image.normal: "flip_4b.png";
2315             }
2316             description { state: "5" 0.0;
2317                inherit: "default" 0.0;
2318                image.normal: "flip_5b.png";
2319             }
2320             description { state: "6" 0.0;
2321                inherit: "default" 0.0;
2322                image.normal: "flip_6b.png";
2323             }
2324             description { state: "7" 0.0;
2325                inherit: "default" 0.0;
2326                image.normal: "flip_7b.png";
2327             }
2328             description { state: "8" 0.0;
2329                inherit: "default" 0.0;
2330                image.normal: "flip_8b.png";
2331             }
2332             description { state: "9" 0.0;
2333                inherit: "default" 0.0;
2334                image.normal: "flip_9b.png";
2335             }
2336          }
2337          part { name: "sh";
2338             mouse_events: 0;
2339             description { state: "default" 0.0;
2340                rel1.to: "b";
2341                rel2.to: "b";
2342                rel2.relative: 1.0 0.0;
2343                image.normal: "flip_shad.png";
2344             }
2345             description { state: "half" 0.0;
2346                inherit: "default" 0.0;
2347                rel2.relative: 1.0 0.5;
2348             }
2349             description { state: "full" 0.0;
2350                inherit: "default" 0.0;
2351                rel2.relative: 1.0 1.0;
2352             }
2353          }
2354          part { name: "bot";
2355             mouse_events: 0;
2356             description { state: "default" 0.0;
2357                visible: 1;
2358                rel1.to: "b";
2359                rel2.to: "b";
2360                image.normal: "flip_0b.png";
2361             }
2362             description { state: "0" 0.0;
2363                inherit: "default" 0.0;
2364                visible: 1;
2365                rel2.relative: 1.0 1.0;
2366                image.normal: "flip_0b.png";
2367             }
2368             description { state: "0h" 0.0;
2369                inherit: "default" 0.0;
2370                visible: 0;
2371                rel2.relative: 1.0 0.0;
2372                image.normal: "flip_0b.png";
2373             }
2374             description { state: "1" 0.0;
2375                inherit: "default" 0.0;
2376                visible: 1;
2377                rel2.relative: 1.0 1.0;
2378                image.normal: "flip_1b.png";
2379             }
2380             description { state: "1h" 0.0;
2381                inherit: "default" 0.0;
2382                visible: 0;
2383                rel2.relative: 1.0 0.0;
2384                image.normal: "flip_1b.png";
2385             }
2386             description { state: "2" 0.0;
2387                inherit: "default" 0.0;
2388                visible: 1;
2389                rel2.relative: 1.0 1.0;
2390                image.normal: "flip_2b.png";
2391             }
2392             description { state: "2h" 0.0;
2393                inherit: "default" 0.0;
2394                visible: 0;
2395                rel2.relative: 1.0 0.0;
2396                image.normal: "flip_2b.png";
2397             }
2398             description { state: "3" 0.0;
2399                inherit: "default" 0.0;
2400                visible: 1;
2401                rel2.relative: 1.0 1.0;
2402                image.normal: "flip_3b.png";
2403             }
2404             description { state: "3h" 0.0;
2405                inherit: "default" 0.0;
2406                visible: 0;
2407                rel2.relative: 1.0 0.0;
2408                image.normal: "flip_3b.png";
2409             }
2410             description { state: "4" 0.0;
2411                inherit: "default" 0.0;
2412                visible: 1;
2413                rel2.relative: 1.0 1.0;
2414                image.normal: "flip_4b.png";
2415             }
2416             description { state: "4h" 0.0;
2417                inherit: "default" 0.0;
2418                visible: 0;
2419                rel2.relative: 1.0 0.0;
2420                image.normal: "flip_4b.png";
2421             }
2422             description { state: "5" 0.0;
2423                inherit: "default" 0.0;
2424                visible: 1;
2425                rel2.relative: 1.0 1.0;
2426                image.normal: "flip_5b.png";
2427             }
2428             description { state: "5h" 0.0;
2429                inherit: "default" 0.0;
2430                visible: 0;
2431                rel2.relative: 1.0 0.0;
2432                image.normal: "flip_5b.png";
2433             }
2434             description { state: "6" 0.0;
2435                inherit: "default" 0.0;
2436                visible: 1;
2437                rel2.relative: 1.0 1.0;
2438                image.normal: "flip_6b.png";
2439             }
2440             description { state: "6h" 0.0;
2441                inherit: "default" 0.0;
2442                visible: 0;
2443                rel2.relative: 1.0 0.0;
2444                image.normal: "flip_6b.png";
2445             }
2446             description { state: "7" 0.0;
2447                inherit: "default" 0.0;
2448                visible: 1;
2449                rel2.relative: 1.0 1.0;
2450                image.normal: "flip_7b.png";
2451             }
2452             description { state: "7h" 0.0;
2453                inherit: "default" 0.0;
2454                visible: 0;
2455                rel2.relative: 1.0 0.0;
2456                image.normal: "flip_7b.png";
2457             }
2458             description { state: "8" 0.0;
2459                inherit: "default" 0.0;
2460                visible: 1;
2461                rel2.relative: 1.0 1.0;
2462                image.normal: "flip_8b.png";
2463             }
2464             description { state: "8h" 0.0;
2465                inherit: "default" 0.0;
2466                visible: 0;
2467                rel2.relative: 1.0 0.0;
2468                image.normal: "flip_8b.png";
2469             }
2470             description { state: "9" 0.0;
2471                inherit: "default" 0.0;
2472                visible: 1;
2473                rel2.relative: 1.0 1.0;
2474                image.normal: "flip_9b.png";
2475             }
2476             description { state: "9h" 0.0;
2477                inherit: "default" 0.0;
2478                visible: 0;
2479                rel2.relative: 1.0 0.0;
2480                image.normal: "flip_9b.png";
2481             }
2482          }
2483          part { name: "top0";
2484             mouse_events: 0;
2485             description { state: "default" 0.0;
2486                rel1.to: "t";
2487                rel2.to: "t";
2488                image.normal: "flip_0t.png";
2489             }
2490             description { state: "0" 0.0;
2491                inherit: "default" 0.0;
2492                image.normal: "flip_0t.png";
2493             }
2494             description { state: "1" 0.0;
2495                inherit: "default" 0.0;
2496                image.normal: "flip_1t.png";
2497             }
2498             description { state: "2" 0.0;
2499                inherit: "default" 0.0;
2500                image.normal: "flip_2t.png";
2501             }
2502             description { state: "3" 0.0;
2503                inherit: "default" 0.0;
2504                image.normal: "flip_3t.png";
2505             }
2506             description { state: "4" 0.0;
2507                inherit: "default" 0.0;
2508                image.normal: "flip_4t.png";
2509             }
2510             description { state: "5" 0.0;
2511                inherit: "default" 0.0;
2512                image.normal: "flip_5t.png";
2513             }
2514             description { state: "6" 0.0;
2515                inherit: "default" 0.0;
2516                image.normal: "flip_6t.png";
2517             }
2518             description { state: "7" 0.0;
2519                inherit: "default" 0.0;
2520                image.normal: "flip_7t.png";
2521             }
2522             description { state: "8" 0.0;
2523                inherit: "default" 0.0;
2524                image.normal: "flip_8t.png";
2525             }
2526             description { state: "9" 0.0;
2527                inherit: "default" 0.0;
2528                image.normal: "flip_9t.png";
2529             }
2530          }
2531          part { name: "top";
2532             mouse_events: 0;
2533             description { state: "default" 0.0;
2534                visible: 1;
2535                rel1.to: "t";
2536                rel2.to: "t";
2537                image.normal: "flip_0t.png";
2538             }
2539             description { state: "0" 0.0;
2540                inherit: "default" 0.0;
2541                visible: 1;
2542                rel1.relative: 0.0 0.0;
2543                image.normal: "flip_0t.png";
2544             }
2545             description { state: "0h" 0.0;
2546                inherit: "default" 0.0;
2547                color: 128 128 128 255;
2548                visible: 0;
2549                rel1.relative: 0.0 1.0;
2550                image.normal: "flip_0t.png";
2551             }
2552             description { state: "1" 0.0;
2553                inherit: "default" 0.0;
2554                visible: 1;
2555                rel1.relative: 0.0 0.0;
2556                image.normal: "flip_1t.png";
2557             }
2558             description { state: "1h" 0.0;
2559                inherit: "default" 0.0;
2560                color: 128 128 128 255;
2561                visible: 0;
2562                rel1.relative: 0.0 1.0;
2563                image.normal: "flip_1t.png";
2564             }
2565             description { state: "2" 0.0;
2566                inherit: "default" 0.0;
2567                visible: 1;
2568                rel1.relative: 0.0 0.0;
2569                image.normal: "flip_2t.png";
2570             }
2571             description { state: "2h" 0.0;
2572                inherit: "default" 0.0;
2573                color: 128 128 128 255;
2574                visible: 0;
2575                rel1.relative: 0.0 1.0;
2576                image.normal: "flip_2t.png";
2577             }
2578             description { state: "3" 0.0;
2579                inherit: "default" 0.0;
2580                visible: 1;
2581                rel1.relative: 0.0 0.0;
2582                image.normal: "flip_3t.png";
2583             }
2584             description { state: "3h" 0.0;
2585                inherit: "default" 0.0;
2586                color: 128 128 128 255;
2587                visible: 0;
2588                rel1.relative: 0.0 1.0;
2589                image.normal: "flip_3t.png";
2590             }
2591             description { state: "4" 0.0;
2592                inherit: "default" 0.0;
2593                visible: 1;
2594                rel1.relative: 0.0 0.0;
2595                image.normal: "flip_4t.png";
2596             }
2597             description { state: "4h" 0.0;
2598                inherit: "default" 0.0;
2599                color: 128 128 128 255;
2600                visible: 0;
2601                rel1.relative: 0.0 1.0;
2602                image.normal: "flip_4t.png";
2603             }
2604             description { state: "5" 0.0;
2605                inherit: "default" 0.0;
2606                visible: 1;
2607                rel1.relative: 0.0 0.0;
2608                image.normal: "flip_5t.png";
2609             }
2610             description { state: "5h" 0.0;
2611                inherit: "default" 0.0;
2612                color: 128 128 128 255;
2613                visible: 0;
2614                rel1.relative: 0.0 1.0;
2615                image.normal: "flip_5t.png";
2616             }
2617             description { state: "6" 0.0;
2618                inherit: "default" 0.0;
2619                visible: 1;
2620                rel1.relative: 0.0 0.0;
2621                image.normal: "flip_6t.png";
2622             }
2623             description { state: "6h" 0.0;
2624                inherit: "default" 0.0;
2625                color: 128 128 128 255;
2626                visible: 0;
2627                rel1.relative: 0.0 1.0;
2628                image.normal: "flip_6t.png";
2629             }
2630             description { state: "7" 0.0;
2631                inherit: "default" 0.0;
2632                visible: 1;
2633                rel1.relative: 0.0 0.0;
2634                image.normal: "flip_7t.png";
2635             }
2636             description { state: "7h" 0.0;
2637                inherit: "default" 0.0;
2638                color: 128 128 128 255;
2639                visible: 0;
2640                rel1.relative: 0.0 1.0;
2641                image.normal: "flip_7t.png";
2642             }
2643             description { state: "8" 0.0;
2644                inherit: "default" 0.0;
2645                visible: 1;
2646                rel1.relative: 0.0 0.0;
2647                image.normal: "flip_8t.png";
2648             }
2649             description { state: "8h" 0.0;
2650                inherit: "default" 0.0;
2651                color: 128 128 128 255;
2652                visible: 0;
2653                rel1.relative: 0.0 1.0;
2654                image.normal: "flip_8t.png";
2655             }
2656             description { state: "9" 0.0;
2657                inherit: "default" 0.0;
2658                visible: 1;
2659                rel1.relative: 0.0 0.0;
2660                image.normal: "flip_9t.png";
2661             }
2662             description { state: "9h" 0.0;
2663                inherit: "default" 0.0;
2664                color: 128 128 128 255;
2665                visible: 0;
2666                rel1.relative: 0.0 1.0;
2667                image.normal: "flip_9t.png";
2668             }
2669          }
2670          part { name: "atop";
2671             mouse_events: 0;
2672             scale: 1;
2673             description { state: "default" 0.0;
2674                visible: 0;
2675                min: 15 15;
2676                max: 15 15;
2677                align: 0.5 0.0;
2678                rel1.to: "t";
2679                rel2.to: "t";
2680                image.normal: "arrow_up.png";
2681             }
2682             description { state: "visible" 0.0;
2683                inherit: "default" 0.0;
2684                visible: 1;
2685             }
2686          }
2687          part { name: "abot";
2688             mouse_events: 0;
2689             scale: 1;
2690             description { state: "default" 0.0;
2691                visible: 0;
2692                min: 15 15;
2693                max: 15 15;
2694                align: 0.5 1.0;
2695                rel1.to: "b";
2696                rel2.to: "b";
2697                image.normal: "arrow_down.png";
2698             }
2699             description { state: "visible" 0.0;
2700                inherit: "default" 0.0;
2701                visible: 1;
2702             }
2703          }
2704       }
2705       programs {
2706          program { name: "load";
2707             signal: "load";
2708             source: "";
2709             script {
2710                set_int(v0_cur, 0);
2711                set_int(v0_pre, 0);
2712                set_int(v0_lock, 0);
2713                set_int(v0_next, -1);
2714             }
2715          }
2716          program { name: "edit_on";
2717             signal: "elm,state,edit,on";
2718             source: "elm";
2719             action: STATE_SET "visible" 0.0;
2720             target: "atop";
2721             target: "abot";
2722             target: "t";
2723             target: "b";
2724          }
2725          program { name: "edit_off";
2726             signal: "elm,state,edit,off";
2727             source: "elm";
2728             action: STATE_SET "default" 0.0;
2729             target: "atop";
2730             target: "abot";
2731             target: "t";
2732             target: "b";
2733          }
2734          program { name: "up";
2735             signal: "mouse,down,1";
2736             source: "t";
2737             action: SIGNAL_EMIT "elm,action,up,start" "";
2738          }
2739          program { name: "up,stop";
2740             signal: "mouse,up,1";
2741             source: "t";
2742             action: SIGNAL_EMIT "elm,action,up,stop" "";
2743          }
2744          program { name: "down";
2745             signal: "mouse,down,1";
2746             source: "b";
2747             action: SIGNAL_EMIT "elm,action,down,start" "";
2748          }
2749          program { name: "down,stop";
2750             signal: "mouse,up,1";
2751             source: "b";
2752             action: SIGNAL_EMIT "elm,action,down,stop" "";
2753          }
2754       }
2755    }
2756
2757 ///////////////////////////////////////////////////////////////////////////////
2758    group { name: "elm/clock/flipampm/default";
2759       images {
2760          image: "flip_base.png" COMP;
2761          image: "flip_base_shad.png" COMP;
2762          image: "flip_shad.png" COMP;
2763          image: "flip_amt.png" COMP;
2764          image: "flip_amb.png" COMP;
2765          image: "flip_pmt.png" COMP;
2766          image: "flip_pmb.png" COMP;
2767          image: "arrow_up.png" COMP;
2768          image: "arrow_down.png" COMP;
2769       }
2770       script {
2771          public v0_cur, v0_pre, v0_lock, v0_next;
2772
2773        public animator2(val, Float:pos) {
2774           new st1[11], st2[11], v;
2775
2776           v = get_int(v0_cur);
2777           snprintf(st1, 10, "%ih", v);
2778           snprintf(st2, 10, "%i", v);
2779           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2780           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2781           if (pos >= 1.0) {
2782              set_state(PART:"sh", "default", 0.0);
2783              set_int(v0_lock, 0);
2784              v = get_int(v0_next);
2785              if (v >= 0) {
2786                 set_int(v0_next, -1);
2787                 message(MSG_INT, 1, v);
2788              }
2789           }
2790        }
2791        public animator1(val, Float:pos) {
2792           new st1[11], st2[11], v;
2793
2794           v = get_int(v0_pre);
2795           snprintf(st1, 10, "%i", v);
2796           snprintf(st2, 10, "%ih", v);
2797           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2798           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2799           if (pos >= 1.0) anim(0.2, "animator2", val);
2800        }
2801        public message(Msg_Type:type, id, ...) {
2802           if ((type == MSG_INT) && (id == 1)) {
2803              new value, v, buf[11];
2804
2805              value = getarg(2);
2806              if (get_int(v0_lock) == 1) {
2807                 set_int(v0_next, value);
2808                 return;
2809              }
2810              v = get_int(v0_cur);
2811              set_int(v0_pre, v);
2812              set_int(v0_cur, value);
2813              set_int(v0_lock, 1);
2814              snprintf(buf, 10, "%i", get_int(v0_pre));
2815              set_state(PART:"bot0", buf, 0.0);
2816              snprintf(buf, 10, "%ih", get_int(v0_cur));
2817              set_state(PART:"bot", buf, 0.0);
2818              snprintf(buf, 10, "%i", get_int(v0_cur));
2819              set_state(PART:"top0", buf, 0.0);
2820              snprintf(buf, 10, "%i", get_int(v0_pre));
2821              set_state(PART:"top", buf, 0.0);
2822              set_state(PART:"sh", "default", 0.0);
2823              anim(0.2, "animator1", 1);
2824           }
2825        }
2826       }
2827       parts {
2828          part { name: "shad";
2829             mouse_events: 0;
2830             description { state: "default" 0.0;
2831                rel1.offset: -4 -4;
2832                rel1.to: "base";
2833                rel2.offset: 3 3;
2834                rel2.to: "base";
2835                image {
2836                   normal: "flip_base_shad.png";
2837                   border: 8 8 8 8;
2838                }
2839             }
2840          }
2841          part { name: "base";
2842             mouse_events: 0;
2843             scale: 1;
2844             description { state: "default" 0.0;
2845                rel1.offset: 4 4;
2846                rel2.offset: -5 -5;
2847                // FIXME 48x96 should be the native pixel design, right now
2848                // its 80x160. fix int he artwork later
2849                aspect: 0.5 0.5;
2850                min: 24 48;
2851 //             max: 24 48;
2852                image.normal: "flip_base.png";
2853             }
2854          }
2855          part { name: "b";
2856             type: RECT;
2857             mouse_events: 1;
2858             description { state: "default" 0.0;
2859                rel1.to: "base";
2860                rel1.relative: 0.0 0.5;
2861                rel2.to: "base";
2862                color: 0 0 0 0;
2863             }
2864          }
2865          part { name: "t";
2866             type: RECT;
2867             mouse_events: 1;
2868             description { state: "default" 0.0;
2869                rel1.to: "base";
2870                rel2.to: "base";
2871                rel2.relative: 1.0 0.5;
2872                color: 0 0 0 0;
2873             }
2874          }
2875          part { name: "bot0";
2876             mouse_events: 0;
2877             description { state: "default" 0.0;
2878                rel1.to: "b";
2879                rel2.to: "b";
2880                image.normal: "flip_amb.png";
2881             }
2882             description { state: "0" 0.0;
2883                inherit: "default" 0.0;
2884                image.normal: "flip_amb.png";
2885             }
2886             description { state: "1" 0.0;
2887                inherit: "default" 0.0;
2888                image.normal: "flip_pmb.png";
2889             }
2890          }
2891          part { name: "sh";
2892             mouse_events: 0;
2893             description { state: "default" 0.0;
2894                rel1.to: "b";
2895                rel2.to: "b";
2896                rel2.relative: 1.0 0.0;
2897                image.normal: "flip_shad.png";
2898             }
2899             description { state: "half" 0.0;
2900                inherit: "default" 0.0;
2901                rel2.relative: 1.0 0.5;
2902             }
2903             description { state: "full" 0.0;
2904                inherit: "default" 0.0;
2905                rel2.relative: 1.0 1.0;
2906             }
2907          }
2908          part { name: "bot";
2909             mouse_events: 0;
2910             description { state: "default" 0.0;
2911                visible: 1;
2912                rel1.to: "b";
2913                rel2.to: "b";
2914                image.normal: "flip_amb.png";
2915             }
2916             description { state: "0" 0.0;
2917                inherit: "default" 0.0;
2918                visible: 1;
2919                rel2.relative: 1.0 1.0;
2920                image.normal: "flip_amb.png";
2921             }
2922             description { state: "0h" 0.0;
2923                inherit: "default" 0.0;
2924                visible: 0;
2925                rel2.relative: 1.0 0.0;
2926                image.normal: "flip_amb.png";
2927             }
2928             description { state: "1" 0.0;
2929                inherit: "default" 0.0;
2930                visible: 1;
2931                rel2.relative: 1.0 1.0;
2932                image.normal: "flip_pmb.png";
2933             }
2934             description { state: "1h" 0.0;
2935                inherit: "default" 0.0;
2936                visible: 0;
2937                rel2.relative: 1.0 0.0;
2938                image.normal: "flip_pmb.png";
2939             }
2940          }
2941          part { name: "top0";
2942             mouse_events: 0;
2943             description { state: "default" 0.0;
2944                rel1.to: "t";
2945                rel2.to: "t";
2946                image.normal: "flip_amt.png";
2947             }
2948             description { state: "0" 0.0;
2949                inherit: "default" 0.0;
2950                image.normal: "flip_amt.png";
2951             }
2952             description { state: "1" 0.0;
2953                inherit: "default" 0.0;
2954                image.normal: "flip_pmt.png";
2955             }
2956          }
2957          part { name: "top";
2958             mouse_events: 0;
2959             description { state: "default" 0.0;
2960                visible: 1;
2961                rel1.to: "t";
2962                rel2.to: "t";
2963                image.normal: "flip_amt.png";
2964             }
2965             description { state: "0" 0.0;
2966                inherit: "default" 0.0;
2967                visible: 1;
2968                rel1.relative: 0.0 0.0;
2969                image.normal: "flip_amt.png";
2970             }
2971             description { state: "0h" 0.0;
2972                inherit: "default" 0.0;
2973                color: 128 128 128 255;
2974                visible: 0;
2975                rel1.relative: 0.0 1.0;
2976                image.normal: "flip_amt.png";
2977             }
2978             description { state: "1" 0.0;
2979                inherit: "default" 0.0;
2980                visible: 1;
2981                rel1.relative: 0.0 0.0;
2982                image.normal: "flip_pmt.png";
2983             }
2984             description { state: "1h" 0.0;
2985                inherit: "default" 0.0;
2986                color: 128 128 128 255;
2987                visible: 0;
2988                rel1.relative: 0.0 1.0;
2989                image.normal: "flip_pmt.png";
2990             }
2991          }
2992          part { name: "atop";
2993             mouse_events: 0;
2994             scale: 1;
2995             description { state: "default" 0.0;
2996                visible: 0;
2997                min: 15 15;
2998                max: 15 15;
2999                align: 0.5 0.0;
3000                rel1.to: "t";
3001                rel2.to: "t";
3002                image.normal: "arrow_up.png";
3003             }
3004             description { state: "visible" 0.0;
3005                inherit: "default" 0.0;
3006                visible: 1;
3007             }
3008          }
3009          part { name: "abot";
3010             mouse_events: 0;
3011             scale: 1;
3012             description { state: "default" 0.0;
3013                visible: 0;
3014                min: 15 15;
3015                max: 15 15;
3016                align: 0.5 1.0;
3017                rel1.to: "b";
3018                rel2.to: "b";
3019                image.normal: "arrow_down.png";
3020             }
3021             description { state: "visible" 0.0;
3022                inherit: "default" 0.0;
3023                visible: 1;
3024             }
3025          }
3026       }
3027       programs {
3028          program { name: "load";
3029             signal: "load";
3030             source: "";
3031             script {
3032                set_int(v0_cur, 0);
3033                set_int(v0_pre, 0);
3034                set_int(v0_lock, 0);
3035                set_int(v0_next, -1);
3036             }
3037          }
3038          program { name: "edit_on";
3039             signal: "elm,state,edit,on";
3040             source: "elm";
3041             action: STATE_SET "visible" 0.0;
3042             target: "atop";
3043             target: "abot";
3044          }
3045 /*
3046          program { name: "edit_off";
3047             signal: "elm,state,edit,off";
3048             source: "elm";
3049             action: STATE_SET "default" 0.0;
3050             target: "atop";
3051             target: "abot";
3052          }
3053  */
3054          program { name: "up";
3055             signal: "mouse,down,1";
3056             source: "t";
3057             action: SIGNAL_EMIT "elm,action,up,start" "";
3058          }
3059          program { name: "up,stop";
3060             signal: "mouse,up,1";
3061             source: "t";
3062             action: SIGNAL_EMIT "elm,action,up,stop" "";
3063          }
3064          program { name: "down";
3065             signal: "mouse,down,1";
3066             source: "b";
3067             action: SIGNAL_EMIT "elm,action,down,start" "";
3068          }
3069          program { name: "down,stop";
3070             signal: "mouse,up,1";
3071             source: "b";
3072             action: SIGNAL_EMIT "elm,action,down,stop" "";
3073          }
3074       }
3075    }
3076
3077    ///////////////////////////////////////////////////////////////////////////////
3078    group { name: "elm/menu/item/default";
3079        images {
3080            image: "bt_base1.png" COMP;
3081            image: "bt_base2.png" COMP;
3082            image: "bt_hilight.png" COMP;
3083            image: "bt_shine.png" COMP;
3084            image: "bt_glow.png" COMP;
3085            image: "bt_dis_base.png" COMP;
3086            image: "bt_dis_hilight.png" COMP;
3087        }
3088        script {
3089             public menu_text_visible; //0:hide (default), 1:visible
3090             public menu_disable; //0:enable, 1:disable
3091        }
3092        parts {
3093            part { name: "item_image";
3094                mouse_events: 1;
3095                description { state: "default" 0.0;
3096                    color: 255 255 255 0;
3097                    image {
3098                        normal: "bt_base2.png";
3099                        border: 7 7 7 7;
3100                    }
3101                    image.middle: SOLID;
3102                }
3103                description { state: "visible" 0.0;
3104                    inherit: "default" 0.0;
3105                    color: 255 255 255 255;
3106                }
3107                description { state: "clicked" 0.0;
3108                    inherit: "default" 0.0;
3109                    inherit: "visible" 0.0;
3110                    image.normal: "bt_base1.png";
3111                    image.middle: SOLID;
3112                }
3113                description { state: "disabled" 0.0;
3114                    inherit:  "default" 0.0;
3115                }
3116            }
3117            part { name: "item_image_disabled";
3118                mouse_events: 1;
3119                description { state: "default" 0.0;
3120                    color: 255 255 255 0;
3121                    image {
3122                        normal: "bt_dis_base.png";
3123                        border: 4 4 4 4;
3124                    }
3125                    image.middle: SOLID;
3126                }
3127                description { state: "disabled" 0.0;
3128                    inherit:  "default" 0.0;
3129                    color: 255 255 255 255;
3130                }
3131            }
3132            part { name: "elm.swallow.content";
3133                type: SWALLOW;
3134                description { state: "default" 0.0;
3135                    fixed: 1 0;
3136                    visible: 1;
3137                    align: 0.0 0.5;
3138                    rel1.offset: 4 4;
3139                    rel2.offset: 3 -5;
3140                    rel2.relative: 0.0 1.0;
3141                    aspect: 1.0 1.0;
3142                    aspect_preference: VERTICAL;
3143                    rel2.offset: 4 -5;
3144                }
3145            }
3146            part {
3147                name:          "elm.text";
3148                type:          TEXT;
3149                mouse_events:  0;
3150                scale: 1;
3151                description { state: "default" 0.0;
3152                    visible: 0;
3153                    rel1.to_x: "elm.swallow.content";
3154                    rel1.relative: 1.0 0.0;
3155                    rel1.offset: 5 7;
3156                    rel2.offset: -10 -8;
3157                    color: 0 0 0 255;
3158                    text {
3159                        font:     "Sans,Edje-Vera";
3160                        size:     10;
3161                        min:      1 1;
3162                        align:    0.0 0.5;
3163                    }
3164                }
3165                description { state: "visible" 0.0;
3166                    inherit: "default" 0.0;
3167                    visible: 1;
3168                    text.min: 1 1;
3169                }
3170                description { state: "selected" 0.0;
3171                    inherit: "default" 0.0;
3172                    inherit: "visible" 0.0;
3173                    color: 254 254 254 255;
3174                }
3175                description { state: "disabled" 0.0;
3176                    inherit: "default" 0.0;
3177                    color: 0 0 0 128;
3178                }
3179                description { state: "disabled_visible" 0.0;
3180                    inherit: "default" 0.0;
3181                    inherit: "visible" 0.0;
3182                    color: 0 0 0 128;
3183                }
3184            }
3185            part {         name: "over1";
3186                mouse_events: 0;
3187                description { state: "default" 0.0;
3188                    color: 255 255 255 0;
3189                    rel2.relative: 1.0 0.5;
3190                    image {
3191                        normal: "bt_hilight.png";
3192                        border: 7 7 7 0;
3193                    }
3194                }
3195                description { state: "visible" 0.0;
3196                    inherit:  "default" 0.0;
3197                    color: 255 255 255 255;
3198                }
3199                description { state: "disabled" 0.0;
3200                    inherit:  "default" 0.0;
3201                }
3202            }
3203            part {         name: "over_disabled";
3204                mouse_events: 0;
3205                description { state: "default" 0.0;
3206                    color: 255 255 255 0;
3207                    rel2.relative: 1.0 0.5;
3208                    image {
3209                        normal: "bt_dis_hilight.png";
3210                        border: 4 4 4 0;
3211                    }
3212                }
3213                description { state: "disabled" 0.0;
3214                    inherit:  "default" 0.0;
3215                    color: 255 255 255 255;
3216                }
3217            }
3218            part { name: "over2";
3219                mouse_events: 1;
3220                repeat_events: 1;
3221                ignore_flags: ON_HOLD;
3222                description { state: "default" 0.0;
3223                    image {
3224                        normal: "bt_shine.png";
3225                        border: 7 7 7 7;
3226                    }
3227                }
3228                description { state: "disabled" 0.0;
3229                    inherit:  "default" 0.0;
3230                    visible: 0;
3231                }
3232            }
3233            part { name: "over3";
3234                mouse_events: 1;
3235                repeat_events: 1;
3236                description { state: "default" 0.0;
3237                    color: 255 255 255 0;
3238                    image {
3239                        normal: "bt_glow.png";
3240                        border: 12 12 12 12;
3241                    }
3242                    fill.smooth : 0;
3243                }
3244                description { state: "clicked" 0.0;
3245                    inherit:  "default" 0.0;
3246                    visible: 1;
3247                    color: 255 255 255 255;
3248                }
3249            }
3250            part { name: "disabler";
3251                type: RECT;
3252                description { state: "default" 0.0;
3253                    color: 0 0 0 0;
3254                    visible: 0;
3255                }
3256                description { state: "disabled" 0.0;
3257                    inherit: "default" 0.0;
3258                    visible: 1;
3259                }
3260            }
3261        }
3262        programs {
3263           //
3264            program {
3265                name:   "item_mouse_in";
3266                signal: "mouse,in";
3267                source: "over2";
3268                action: SIGNAL_EMIT "elm,action,activate" "";
3269                after: "item_mouse_in_2";
3270                after: "item_mouse_in_3";
3271            }
3272            program {
3273                name:   "item_mouse_in_2";
3274                transition: DECELERATE 0.5;
3275                script {
3276                    new v, d;
3277                    v = get_int(menu_text_visible);
3278                    d = get_int(menu_disable);
3279
3280                    if (v==1 && d==0)
3281                         run_program(PROGRAM:"selected_text");
3282                }
3283            }
3284            program {
3285                name:   "item_mouse_in_3";
3286                action : STATE_SET "visible" 0.0;
3287                target: "item_image";
3288                target: "over1";
3289                transition: DECELERATE 0.5;
3290            }
3291            program {
3292                name:   "selected_text";
3293                action: STATE_SET "selected" 0.0;
3294                target: "elm.text";
3295                transition: DECELERATE 0.5;
3296            }
3297            //
3298
3299            //
3300            program {
3301                name:   "item_mouse_out";
3302                signal: "mouse,out";
3303                source: "over2";
3304                after: "item_mouse_out_2";
3305                after: "item_mouse_out_3";
3306            }
3307            program {
3308                name:   "item_mouse_out_2";
3309                transition: DECELERATE 0.5;
3310                script {
3311                    new v, d;
3312                    v = get_int(menu_text_visible);
3313                    d = get_int(menu_disable);
3314
3315                    if (v==1 && d==0)
3316                         run_program(PROGRAM:"visible_text");
3317                }
3318            }
3319            program {
3320                name:   "item_mouse_out_3";
3321                action: STATE_SET "default" 0.0;
3322                target: "item_image";
3323                target: "over1";
3324                transition: DECELERATE 0.5;
3325            }
3326            program {
3327                name:   "visible_text";
3328                action: STATE_SET "visible" 0.0;
3329                target: "elm.text";
3330                transition: DECELERATE 0.5;
3331            }
3332            //
3333
3334            program {
3335                name:   "item_unclick";
3336                signal: "mouse,up,1";
3337                source: "over2";
3338                action: STATE_SET "visible" 0.0;
3339                target: "item_image";
3340            }
3341            program {
3342                name:   "item_click2";
3343                signal: "mouse,down,1";
3344                source: "over3";
3345                action: STATE_SET "clicked" 0.0;
3346                target: "over3";
3347            }
3348            program {
3349                name:   "item_unclick2";
3350                signal: "mouse,up,1";
3351                source: "over3";
3352                action: STATE_SET "default" 0.0;
3353                transition: DECELERATE 0.5;
3354                target: "over3";
3355            }
3356            program {
3357                name:   "item_unclick3";
3358                signal: "mouse,up,1";
3359                source: "over2";
3360                action: SIGNAL_EMIT "elm,action,click" "";
3361            }
3362            program { name: "text_show";
3363                signal: "elm,state,text,visible";
3364                source: "elm";
3365                script {
3366                    set_int(menu_text_visible, 1);
3367                    set_state(PART:"elm.text", "visible", 0.0);
3368                }
3369            }
3370            program { name: "text_hide";
3371                signal: "elm,state,text,hidden";
3372                source: "elm";
3373                script {
3374                    set_int(menu_text_visible, 0);
3375                    set_state(PART:"elm.text", "default", 0.0);
3376                }
3377            }
3378            program { name: "disable";
3379                signal: "elm,state,disabled";
3380                source: "elm";
3381                action: STATE_SET "disabled" 0.0;
3382                target: "item_image";
3383                target: "item_image_disabled";
3384                target: "over1";
3385                target: "over2";
3386                target: "over_disabled";
3387                target: "disabler";
3388                after: "disable_text";
3389            }
3390            program { name: "disable_text";
3391                script {
3392                    new v;
3393                    v = get_int(menu_text_visible);
3394                    if (v==1)
3395                     set_state(PART:"elm.text", "disabled_visible", 0.0);
3396                    else if (v==0)
3397                     set_state(PART:"elm.text", "disabled", 0.0);
3398                    set_int(menu_disable, 1);
3399                }
3400            }
3401            program { name: "enable";
3402                signal: "elm,state,enabled";
3403                source: "elm";
3404                action: STATE_SET "default" 0.0;
3405                target: "item_image";
3406                target: "item_image_disabled";
3407                target: "over1";
3408                target: "over2";
3409                target: "over_disabled";
3410                target: "disabler";
3411                after: "enable_text";
3412            }
3413            program { name: "enable_text";
3414                script {
3415                    new v;
3416                    v = get_int(menu_text_visible);
3417                    if (v==1)
3418                     set_state(PART:"elm.text", "visible", 0.0);
3419                    else  if (v==0)
3420                     set_state(PART:"elm.text", "default", 0.0);
3421                    set_int(menu_disable, 0);
3422                }
3423            }
3424        }
3425    }
3426
3427    group { name: "elm/menu/item_with_submenu/default";
3428        images {
3429            image: "bt_base1.png" COMP;
3430            image: "bt_base2.png" COMP;
3431            image: "bt_hilight.png" COMP;
3432            image: "bt_shine.png" COMP;
3433            image: "bt_glow.png" COMP;
3434            image: "bt_dis_base.png" COMP;
3435            image: "bt_dis_hilight.png" COMP;
3436            image: "arrow_right.png" COMP;
3437        }
3438        script {
3439             public menu_text_visible; //0:hide (default), 1:visible
3440             public menu_disable; //0:enable, 1:disable
3441        }
3442        parts {
3443            part { name: "item_image";
3444                mouse_events: 1;
3445                description { state: "default" 0.0;
3446                    color: 255 255 255 0;
3447                    image {
3448                        normal: "bt_base2.png";
3449                        border: 7 7 7 7;
3450                    }
3451                    image.middle: SOLID;
3452                }
3453                description { state: "visible" 0.0;
3454                    inherit: "default" 0.0;
3455                    color: 255 255 255 255;
3456                }
3457                description { state: "clicked" 0.0;
3458                    inherit: "default" 0.0;
3459                    inherit: "visible" 0.0;
3460                    image.normal: "bt_base1.png";
3461                    image.middle: SOLID;
3462                }
3463                description { state: "disabled" 0.0;
3464                    inherit:  "default" 0.0;
3465                }
3466            }
3467            part { name: "item_image_disabled";
3468                mouse_events: 1;
3469                description { state: "default" 0.0;
3470                    color: 255 255 255 0;
3471                    image {
3472                        normal: "bt_dis_base.png";
3473                        border: 4 4 4 4;
3474                    }
3475                    image.middle: SOLID;
3476                }
3477                description { state: "disabled" 0.0;
3478                    inherit:  "default" 0.0;
3479                    color: 255 255 255 255;
3480                }
3481            }
3482            part { name: "arrow";
3483                mouse_events: 1;
3484                description { state: "default" 0.0;
3485                    color: 255 255 255 255;
3486                    align: 1.0 0.5;
3487                    aspect: 1 1;
3488                    aspect_preference: BOTH;
3489                    image {
3490                        normal: "arrow_right.png";
3491                    }
3492                }
3493            }
3494            part { name: "elm.swallow.content";
3495                type: SWALLOW;
3496                description { state: "default" 0.0;
3497                    fixed: 1 0;
3498                    visible: 1;
3499                    align: 0.0 0.5;
3500                    rel1.offset: 4 4;
3501                    rel2.offset: 3 -5;
3502                    rel2.relative: 0.0 1.0;
3503                    aspect: 1.0 1.0;
3504                    aspect_preference: VERTICAL;
3505                    rel2.offset: 4 -5;
3506                }
3507            }
3508            part {
3509                name:          "elm.text";
3510                type:          TEXT;
3511                mouse_events:  0;
3512                scale: 1;
3513                description { state: "default" 0.0;
3514                    visible: 0;
3515                    rel1.to_x: "elm.swallow.content";
3516                    rel1.relative: 1.0 0.0;
3517                    rel1.offset: 5 7;
3518                    rel2.offset: -10 -8;
3519                    color: 0 0 0 255;
3520                    text {
3521                        font:     "Sans,Edje-Vera";
3522                        size:     10;
3523                        min:      1 1;
3524                        align:    0.0 0.5;
3525                    }
3526                }
3527                description { state: "visible" 0.0;
3528                    inherit: "default" 0.0;
3529                    visible: 1;
3530                    text.min: 1 1;
3531                }
3532                description { state: "selected" 0.0;
3533                    inherit: "default" 0.0;
3534                    inherit: "visible" 0.0;
3535                    color: 254 254 254 255;
3536                }
3537                description { state: "disabled" 0.0;
3538                    inherit: "default" 0.0;
3539                    color: 0 0 0 128;
3540                }
3541                description { state: "disabled_visible" 0.0;
3542                    inherit: "default" 0.0;
3543                    inherit: "visible" 0.0;
3544                    color: 0 0 0 128;
3545                }
3546            }
3547            part {         name: "over1";
3548                mouse_events: 0;
3549                description { state: "default" 0.0;
3550                    color: 255 255 255 0;
3551                    rel2.relative: 1.0 0.5;
3552                    image {
3553                        normal: "bt_hilight.png";
3554                        border: 7 7 7 0;
3555                    }
3556                }
3557                description { state: "visible" 0.0;
3558                    inherit:  "default" 0.0;
3559                    color: 255 255 255 255;
3560                }
3561                description { state: "disabled" 0.0;
3562                    inherit:  "default" 0.0;
3563                }
3564            }
3565            part { name: "over_disabled";
3566                mouse_events: 0;
3567                description { state: "default" 0.0;
3568                    color: 255 255 255 0;
3569                    rel2.relative: 1.0 0.5;
3570                    image {
3571                        normal: "bt_dis_hilight.png";
3572                        border: 4 4 4 0;
3573                    }
3574                }
3575                description { state: "disabled" 0.0;
3576                    inherit:  "default" 0.0;
3577                    color: 255 255 255 255;
3578                }
3579            }
3580            part { name: "over2";
3581                mouse_events: 1;
3582                repeat_events: 1;
3583                ignore_flags: ON_HOLD;
3584                description { state: "default" 0.0;
3585                    image {
3586                        normal: "bt_shine.png";
3587                        border: 7 7 7 7;
3588                    }
3589                }
3590                description { state: "disabled" 0.0;
3591                    inherit:  "default" 0.0;
3592                    visible: 0;
3593                }
3594            }
3595            part { name: "over3";
3596                mouse_events: 1;
3597                repeat_events: 1;
3598                description { state: "default" 0.0;
3599                    color: 255 255 255 0;
3600                    image {
3601                        normal: "bt_glow.png";
3602                        border: 12 12 12 12;
3603                    }
3604                    fill.smooth : 0;
3605                }
3606                description { state: "clicked" 0.0;
3607                    inherit:  "default" 0.0;
3608                    visible: 1;
3609                    color: 255 255 255 255;
3610                }
3611            }
3612            part { name: "disabler";
3613                type: RECT;
3614                description { state: "default" 0.0;
3615                    color: 0 0 0 0;
3616                    visible: 0;
3617                }
3618                description { state: "disabled" 0.0;
3619                    inherit: "default" 0.0;
3620                    visible: 1;
3621                }
3622            }
3623        }
3624        programs {
3625            //
3626            program {
3627                name:   "item_mouse_in";
3628                signal: "mouse,in";
3629                source: "over2";
3630                action: SIGNAL_EMIT "elm,action,activate" "";
3631                after: "item_mouse_in_2";
3632                after: "item_mouse_in_3";
3633            }
3634            program {
3635                name:   "item_mouse_in_2";
3636                transition: DECELERATE 0.5;
3637                script {
3638                    new v, d;
3639                    v = get_int(menu_text_visible);
3640                    d = get_int(menu_disable);
3641
3642                    if (v==1 && d==0)
3643                         run_program(PROGRAM:"selected_text");
3644                }
3645            }
3646            program {
3647                name:   "item_mouse_in_3";
3648                action : STATE_SET "visible" 0.0;
3649                target: "item_image";
3650                target: "over1";
3651                transition: DECELERATE 0.5;
3652            }
3653            program {
3654                name:   "selected_text";
3655                action: STATE_SET "selected" 0.0;
3656                target: "elm.text";
3657                transition: DECELERATE 0.5;
3658            }
3659            //
3660
3661            //
3662            program {
3663                name:   "item_mouse_out";
3664                signal: "mouse,out";
3665                source: "over2";
3666                after: "item_mouse_out_2";
3667                after: "item_mouse_out_3";
3668            }
3669            program {
3670                name:   "item_mouse_out_2";
3671                transition: DECELERATE 0.5;
3672                script {
3673                    new v, d;
3674                    v = get_int(menu_text_visible);
3675                    d = get_int(menu_disable);
3676
3677                    if (v==1 && d==0)
3678                         run_program(PROGRAM:"visible_text");
3679                }
3680            }
3681            program {
3682                name:   "item_mouse_out_3";
3683                action: STATE_SET "default" 0.0;
3684                target: "item_image";
3685                target: "over1";
3686                transition: DECELERATE 0.5;
3687            }
3688            program {
3689                name:   "visible_text";
3690                action: STATE_SET "visible" 0.0;
3691                target: "elm.text";
3692                transition: DECELERATE 0.5;
3693            }
3694            //
3695
3696            program {
3697                name:   "item_unclick";
3698                signal: "mouse,up,1";
3699                source: "over2";
3700                action: STATE_SET "visible" 0.0;
3701                target: "item_image";
3702            }
3703            program {
3704                name:   "item_click2";
3705                signal: "mouse,down,1";
3706                source: "over3";
3707                action: STATE_SET "clicked" 0.0;
3708                target: "over3";
3709            }
3710            program {
3711                name:   "item_unclick2";
3712                signal: "mouse,up,1";
3713                source: "over3";
3714                action: STATE_SET "default" 0.0;
3715                transition: DECELERATE 0.5;
3716                target: "over3";
3717            }
3718            program {
3719                name:   "item_unclick3";
3720                signal: "mouse,up,1";
3721                source: "over2";
3722                action: SIGNAL_EMIT "elm,action,click" "";
3723            }
3724            program {
3725                name:   "menu_open";
3726                signal: "mouse,in";
3727                source: "over2";
3728                action: SIGNAL_EMIT "elm,action,open" "";
3729            }
3730             program { name: "text_show";
3731                signal: "elm,state,text,visible";
3732                source: "elm";
3733                script {
3734                    set_int(menu_text_visible, 1);
3735                    set_state(PART:"elm.text", "visible", 0.0);
3736                }
3737            }
3738            program { name: "text_hide";
3739                signal: "elm,state,text,hidden";
3740                source: "elm";
3741                script {
3742                    set_int(menu_text_visible, 0);
3743                    set_state(PART:"elm.text", "default", 0.0);
3744                }
3745            }
3746            program { name: "disable";
3747                signal: "elm,state,disabled";
3748                source: "elm";
3749                action: STATE_SET "disabled" 0.0;
3750                target: "item_image";
3751                target: "item_image_disabled";
3752                target: "over1";
3753                target: "over2";
3754                target: "over_disabled";
3755                target: "disabler";
3756                after: "disable_text";
3757            }
3758            program { name: "disable_text";
3759                script {
3760                    new st[31];
3761                    new Float:vl;
3762                    get_state(PART:"elm.text", st, 30, vl);
3763                    if (!strcmp(st, "visible"))
3764                    set_state(PART:"elm.text", "disabled_visible", 0.0);
3765                    else if (!strcmp(st, "default"))
3766                    set_state(PART:"elm.text", "disabled", 0.0);
3767                }
3768            }
3769            program { name: "enable";
3770                signal: "elm,state,enabled";
3771                source: "elm";
3772                action: STATE_SET "default" 0.0;
3773                target: "item_image";
3774                target: "item_image_disabled";
3775                target: "over1";
3776                target: "over2";
3777                target: "over_disabled";
3778                target: "disabler";
3779                after: "enable_text";
3780            }
3781            program { name: "enable_text";
3782                script {
3783                    new v;
3784                    v = get_int(menu_text_visible);
3785                    if (v==1)
3786                     set_state(PART:"elm.text", "visible", 0.0);
3787                    else  if (v==0)
3788                     set_state(PART:"elm.text", "default", 0.0);
3789                    set_int(menu_disable, 0);
3790                }
3791            }
3792        }
3793    }
3794
3795    group { name: "elm/menu/separator/default";
3796        images {
3797            image: "separator_h.png" COMP;
3798        }
3799        parts {
3800            part { name: "separator"; // separator group
3801                description { state: "default" 0.0;
3802                    min: 2 2;
3803                    rel1.offset: 4 4;
3804                    rel2.offset: -5 -5;
3805                    image {
3806                        normal: "separator_h.png";
3807                    }
3808                    fill {
3809                        smooth: 0;
3810                    }
3811                }
3812            }
3813        }
3814    }
3815 ///////////////////////////////////////////////////////////////////////////////
3816    group { name: "elm/clock/base-all/default";
3817       parts {
3818          part { name: "d0";
3819             type: SWALLOW;
3820             description { state: "default" 0.0;
3821                rel1.relative: 0.0000000 0.0;
3822                rel2.relative: 0.1250000 1.0;
3823             }
3824          }
3825          part { name: "d1";
3826             type: SWALLOW;
3827             description { state: "default" 0.0;
3828                rel1.relative: 0.1250000 0.0;
3829                rel2.relative: 0.2500000 1.0;
3830             }
3831          }
3832          part { name: "c0";
3833             type: SWALLOW;
3834             type: TEXT;
3835             mouse_events:  0;
3836             scale: 1;
3837             description { state: "default" 0.0;
3838                rel1.relative: 0.2500000 0.0;
3839                rel2.relative: 0.3125000 1.0;
3840                color: 0 0 0 255;
3841                text {
3842                   font:     "Sans,Edje-Vera";
3843                   text:     ":";
3844                   size:     10;
3845                   min:      1 1;
3846                   align:    0.5 0.5;
3847                }
3848             }
3849          }
3850          part { name: "d2";
3851             type: SWALLOW;
3852             description { state: "default" 0.0;
3853                rel1.relative: 0.3125000 0.0;
3854                rel2.relative: 0.4375000 1.0;
3855             }
3856          }
3857          part { name: "d3";
3858             type: SWALLOW;
3859             description { state: "default" 0.0;
3860                rel1.relative: 0.4375000 0.0;
3861                rel2.relative: 0.5625000 1.0;
3862             }
3863          }
3864          // (if seconds)
3865          part { name: "c1";
3866             type: SWALLOW;
3867             type: TEXT;
3868             mouse_events:  0;
3869             scale: 1;
3870             description { state: "default" 0.0;
3871                rel1.relative: 0.5625000 0.0;
3872                rel2.relative: 0.6250000 1.0;
3873                color: 0 0 0 255;
3874                text {
3875                   font:     "Sans,Edje-Vera";
3876                   text:     ":";
3877                   size:     10;
3878                   min:      1 1;
3879                   align:    0.5 0.5;
3880                }
3881             }
3882          }
3883          // (if seconds)
3884          part { name: "d4";
3885             type: SWALLOW;
3886             description { state: "default" 0.0;
3887                rel1.relative: 0.6250000 0.0;
3888                rel2.relative: 0.7500000 1.0;
3889             }
3890          }
3891          // (if seconds)
3892          part { name: "d5";
3893             type: SWALLOW;
3894             description { state: "default" 0.0;
3895                rel1.relative: 0.7500000 0.0;
3896                rel2.relative: 0.8750000 1.0;
3897             }
3898          }
3899          // (if am_pm)
3900          part { name: "ampm";
3901             type: SWALLOW;
3902             description { state: "default" 0.0;
3903                rel1.relative: 0.8750000 0.0;
3904                rel2.relative: 1.0 1.0;
3905             }
3906          }
3907       }
3908    }
3909
3910 ///////////////////////////////////////////////////////////////////////////////
3911    group { name: "elm/clock/base-seconds/default";
3912       parts {
3913          part { name: "d0";
3914             type: SWALLOW;
3915             description { state: "default" 0.0;
3916                rel1.relative: 0.000000000 0.0;
3917                rel2.relative: 0.142857143 1.0;
3918             }
3919          }
3920          part { name: "d1";
3921             type: SWALLOW;
3922             description { state: "default" 0.0;
3923                rel1.relative: 0.142857143 0.0;
3924                rel2.relative: 0.285714286 1.0;
3925             }
3926          }
3927          part { name: "c0";
3928             type: SWALLOW;
3929             type: TEXT;
3930             mouse_events:  0;
3931             scale: 1;
3932             description { state: "default" 0.0;
3933                rel1.relative: 0.285714286 0.0;
3934                rel2.relative: 0.357142857 1.0;
3935                color: 0 0 0 255;
3936                text {
3937                   font:     "Sans,Edje-Vera";
3938                   text:     ":";
3939                   size:     10;
3940                   min:      1 1;
3941                   align:    0.5 0.5;
3942                }
3943             }
3944          }
3945          part { name: "d2";
3946             type: SWALLOW;
3947             description { state: "default" 0.0;
3948                rel1.relative: 0.357142857 0.0;
3949                rel2.relative: 0.500000000 1.0;
3950             }
3951          }
3952          part { name: "d3";
3953             type: SWALLOW;
3954             description { state: "default" 0.0;
3955                rel1.relative: 0.500000000 0.0;
3956                rel2.relative: 0.642857143 1.0;
3957             }
3958          }
3959          // (if seconds)
3960          part { name: "c1";
3961             type: SWALLOW;
3962             type: TEXT;
3963             mouse_events:  0;
3964             scale: 1;
3965             description { state: "default" 0.0;
3966                rel1.relative: 0.642857143 0.0;
3967                rel2.relative: 0.714285714 1.0;
3968                color: 0 0 0 255;
3969                text {
3970                   font:     "Sans,Edje-Vera";
3971                   text:     ":";
3972                   size:     10;
3973                   min:      1 1;
3974                   align:    0.5 0.5;
3975                }
3976             }
3977          }
3978          // (if seconds)
3979          part { name: "d4";
3980             type: SWALLOW;
3981             description { state: "default" 0.0;
3982                rel1.relative: 0.714285714 0.0;
3983                rel2.relative: 0.857142857 1.0;
3984             }
3985          }
3986          // (if seconds)
3987          part { name: "d5";
3988             type: SWALLOW;
3989             description { state: "default" 0.0;
3990                rel1.relative: 0.857142857 0.0;
3991                rel2.relative: 1.000000000 1.0;
3992             }
3993          }
3994       }
3995    }
3996
3997 ///////////////////////////////////////////////////////////////////////////////
3998    group { name: "elm/clock/base-am_pm/default";
3999       parts {
4000          part { name: "d0";
4001             type: SWALLOW;
4002             description { state: "default" 0.0;
4003                rel1.relative: 0.000000000 0.0;
4004                rel2.relative: 0.181818182 1.0;
4005             }
4006          }
4007          part { name: "d1";
4008             type: SWALLOW;
4009             description { state: "default" 0.0;
4010                rel1.relative: 0.181818182 0.0;
4011                rel2.relative: 0.363636364 1.0;
4012             }
4013          }
4014          part { name: "c0";
4015             type: SWALLOW;
4016             type: TEXT;
4017             mouse_events:  0;
4018             scale: 1;
4019             description { state: "default" 0.0;
4020                rel1.relative: 0.363636364 0.0;
4021                rel2.relative: 0.454545455 1.0;
4022                color: 0 0 0 255;
4023                text {
4024                   font:     "Sans,Edje-Vera";
4025                   text:     ":";
4026                   size:     10;
4027                   min:      1 1;
4028                   align:    0.5 0.5;
4029                }
4030             }
4031          }
4032          part { name: "d2";
4033             type: SWALLOW;
4034             description { state: "default" 0.0;
4035                rel1.relative: 0.454545455 0.0;
4036                rel2.relative: 0.636363636 1.0;
4037             }
4038          }
4039          part { name: "d3";
4040             type: SWALLOW;
4041             description { state: "default" 0.0;
4042                rel1.relative: 0.636363636 0.0;
4043                rel2.relative: 0.818181818 1.0;
4044             }
4045          }
4046          // (if am_pm)
4047          part { name: "ampm";
4048             type: SWALLOW;
4049             description { state: "default" 0.0;
4050                rel1.relative: 0.818181818 0.0;
4051                rel2.relative: 1.0 1.0;
4052             }
4053          }
4054       }
4055    }
4056
4057 ///////////////////////////////////////////////////////////////////////////////
4058    group { name: "elm/clock/base/default";
4059       parts {
4060          part { name: "d0";
4061             type: SWALLOW;
4062             description { state: "default" 0.0;
4063                rel1.relative: 0.000000000 0.0;
4064                rel2.relative: 0.222222222 1.0;
4065             }
4066          }
4067          part { name: "d1";
4068             type: SWALLOW;
4069             description { state: "default" 0.0;
4070                rel1.relative: 0.222222222 0.0;
4071                rel2.relative: 0.444444444 1.0;
4072             }
4073          }
4074          part { name: "c0";
4075             type: SWALLOW;
4076             type: TEXT;
4077             mouse_events:  0;
4078             scale: 1;
4079             description { state: "default" 0.0;
4080                rel1.relative: 0.444444444 0.0;
4081                rel2.relative: 0.555555556 1.0;
4082                color: 0 0 0 255;
4083                text {
4084                   font:     "Sans,Edje-Vera";
4085                   text:     ":";
4086                   size:     10;
4087                   min:      1 1;
4088                   align:    0.5 0.5;
4089                }
4090             }
4091          }
4092          part { name: "d2";
4093             type: SWALLOW;
4094             description { state: "default" 0.0;
4095                rel1.relative: 0.555555556 0.0;
4096                rel2.relative: 0.777777778 1.0;
4097             }
4098          }
4099          part { name: "d3";
4100             type: SWALLOW;
4101             description { state: "default" 0.0;
4102                rel1.relative: 0.777777778 0.0;
4103                rel2.relative: 1.000000000 1.0;
4104             }
4105          }
4106       }
4107    }
4108
4109 ///////////////////////////////////////////////////////////////////////////////
4110    group { name: "elm/frame/base/default";
4111        images {
4112            image: "frame_1.png" COMP;
4113            image: "frame_2.png" COMP;
4114            image: "dia_grad.png" COMP;
4115        }
4116        parts {
4117            part { name: "base0";
4118                mouse_events:  0;
4119                description { state: "default" 0.0;
4120                    image.normal: "dia_grad.png";
4121                    rel1.to: "over";
4122                    rel2.to: "over";
4123                    fill {
4124                        smooth: 0;
4125                        size {
4126                            relative: 0.0 1.0;
4127                            offset: 64 0;
4128                        }
4129                    }
4130                }
4131            }
4132            part { name: "base";
4133                mouse_events:  0;
4134                description { state:    "default" 0.0;
4135                    rel2.to: "elm.swallow.content";
4136                    rel2.offset: 9 9;
4137                    image {
4138                        normal: "frame_2.png";
4139                        border: 5 5 32 26;
4140                        middle: 0;
4141                    }
4142                    fill.smooth : 0;
4143                }
4144            }
4145            part { name: "elm.text";
4146                type: TEXT;
4147                mouse_events:   0;
4148                scale: 1;
4149                description { state: "default" 0.0;
4150                    align: 0.0 0.0;
4151                    fixed: 0 1;
4152                    rel1 {
4153                        relative: 0.0 0.0;
4154                        offset: 6 6;
4155                    }
4156                    rel2 {
4157                        relative: 1.0 0.0;
4158                        offset: -7 6;
4159                    }
4160                    color: 0 0 0 64;
4161                    text {
4162                        font: "Sans:style=Bold,Edje-Vera-Bold";
4163                        size: 10;
4164                        min: 1 1;
4165                        max: 1 1;
4166                        align: 0.0 0.0;
4167                    }
4168                }
4169            }
4170            part { name: "over";
4171                mouse_events:  0;
4172                description { state:    "default" 0.0;
4173                    rel1.offset: 4 4;
4174                    rel2.to: "elm.swallow.content";
4175                    rel2.offset: 5 5;
4176                    image {
4177                        normal: "frame_1.png";
4178                        border: 2 2 28 22;
4179                        middle: 0;
4180                    }
4181                    fill.smooth : 0;
4182                }
4183            }
4184            part { name: "elm.swallow.content";
4185                type: SWALLOW;
4186                description { state: "default" 0.0;
4187                    align: 0.0 0.0;
4188                    rel1 {
4189                        to_y: "elm.text";
4190                        relative: 0.0 1.0;
4191                        offset: 8 2;
4192                    }
4193                    rel2.offset: -9 -9;
4194                }
4195            }
4196        }
4197    }
4198
4199    group { name: "elm/frame/base/pad_small";
4200        parts {
4201            part { name: "b0";
4202                mouse_events:  0;
4203                type: RECT;
4204                scale: 1;
4205                description { state: "default" 0.0;
4206                    visible: 0;
4207                    min: 4 4;
4208                    max: 4 4;
4209                    align: 0.0 0.0;
4210                }
4211            }
4212            part { name: "b1";
4213                mouse_events:  0;
4214                type: RECT;
4215                scale: 1;
4216                description { state: "default" 0.0;
4217                    visible: 0;
4218                    min: 4 4;
4219                    max: 4 4;
4220                    align: 1.0 1.0;
4221                }
4222            }
4223            part { name: "elm.swallow.content";
4224                type: SWALLOW;
4225                description { state: "default" 0.0;
4226                    rel1 {
4227                        to: "b0";
4228                        relative: 1.0 1.0;
4229                        offset: 0 0;
4230                    }
4231                    rel2 {
4232                        to: "b1";
4233                        relative: 0.0 0.0;
4234                        offset: -1 -1;
4235                    }
4236                }
4237            }
4238        }
4239    }
4240
4241    group { name: "elm/frame/base/pad_medium";
4242        parts {
4243            part { name: "b0";
4244                mouse_events:  0;
4245                type: RECT;
4246                scale: 1;
4247                description { state: "default" 0.0;
4248                    visible: 0;
4249                    min: 8 8;
4250                    max: 8 8;
4251                    align: 0.0 0.0;
4252                }
4253            }
4254            part { name: "b1";
4255                mouse_events:  0;
4256                type: RECT;
4257                scale: 1;
4258                description { state: "default" 0.0;
4259                    visible: 0;
4260                    min: 8 8;
4261                    max: 8 8;
4262                    align: 1.0 1.0;
4263                }
4264            }
4265            part { name: "elm.swallow.content";
4266                type: SWALLOW;
4267                description { state: "default" 0.0;
4268                    rel1 {
4269                        to: "b0";
4270                        relative: 1.0 1.0;
4271                        offset: 0 0;
4272                    }
4273                    rel2 {
4274                        to: "b1";
4275                        relative: 0.0 0.0;
4276                        offset: -1 -1;
4277                    }
4278                }
4279            }
4280        }
4281    }
4282
4283    group { name: "elm/frame/base/pad_large";
4284        parts {
4285            part { name: "b0";
4286                mouse_events:  0;
4287                type: RECT;
4288                scale: 1;
4289                description { state: "default" 0.0;
4290                    visible: 0;
4291                    min: 16 16;
4292                    max: 16 16;
4293                    align: 0.0 0.0;
4294                }
4295            }
4296            part { name: "b1";
4297                mouse_events:  0;
4298                type: RECT;
4299                scale: 1;
4300                description { state: "default" 0.0;
4301                    visible: 0;
4302                    min: 16 16;
4303                    max: 16 16;
4304                    align: 1.0 1.0;
4305                }
4306            }
4307            part { name: "elm.swallow.content";
4308                type: SWALLOW;
4309                description { state: "default" 0.0;
4310                    rel1 {
4311                        to: "b0";
4312                        relative: 1.0 1.0;
4313                        offset: 0 0;
4314                    }
4315                    rel2 {
4316                        to: "b1";
4317                        relative: 0.0 0.0;
4318                        offset: -1 -1;
4319                    }
4320                }
4321            }
4322        }
4323    }
4324
4325    group { name: "elm/frame/base/pad_huge";
4326        parts {
4327            part { name: "b0";
4328                mouse_events:  0;
4329                type: RECT;
4330                scale: 1;
4331                description { state: "default" 0.0;
4332                    visible: 0;
4333                    min: 32 32;
4334                    max: 32 32;
4335                    align: 0.0 0.0;
4336                }
4337            }
4338            part { name: "b1";
4339                mouse_events:  0;
4340                type: RECT;
4341                scale: 1;
4342                description { state: "default" 0.0;
4343                    visible: 0;
4344                    min: 32 32;
4345                    max: 32 32;
4346                    align: 1.0 1.0;
4347                }
4348            }
4349            part { name: "elm.swallow.content";
4350                type: SWALLOW;
4351                description { state: "default" 0.0;
4352                    rel1 {
4353                        to: "b0";
4354                        relative: 1.0 1.0;
4355                        offset: 0 0;
4356                    }
4357                    rel2 {
4358                        to: "b1";
4359                        relative: 0.0 0.0;
4360                        offset: -1 -1;
4361                    }
4362                }
4363            }
4364        }
4365    }
4366
4367    group { name: "elm/frame/base/outdent_top";
4368        images {
4369            image: "outdent-top.png" COMP;
4370        }
4371        parts {
4372            part { name: "base0";
4373                mouse_events:  0;
4374                description { state: "default" 0.0;
4375                    image.normal: "outdent-top.png";
4376                    image.border: 0 0 0 13;
4377                    fill.smooth: 0;
4378                }
4379            }
4380            part { name: "elm.swallow.content";
4381                type: SWALLOW;
4382                description { state: "default" 0.0;
4383                    rel1.offset: 2 2;
4384                    rel2.offset: -3 -13;
4385                }
4386            }
4387        }
4388    }
4389
4390    group { name: "elm/frame/base/outdent_bottom";
4391        images {
4392            image: "outdent-bottom.png" COMP;
4393        }
4394        parts {
4395            part { name: "base0";
4396                mouse_events:  0;
4397                description { state: "default" 0.0;
4398                    image.normal: "outdent-bottom.png";
4399                    image.border: 0 0 13 0;
4400                    fill.smooth: 0;
4401                }
4402            }
4403            part { name: "elm.swallow.content";
4404                type: SWALLOW;
4405                description { state: "default" 0.0;
4406                    rel1.offset: 2 12;
4407                    rel2.offset: -3 -3;
4408                }
4409            }
4410        }
4411    }
4412
4413 ///////////////////////////////////////////////////////////////////////////////
4414    group { name: "elm/hover/base/default";
4415       images {
4416          image: "shad_circ.png" COMP;
4417       }
4418       parts {
4419          part { name: "elm.swallow.offset";
4420             type: SWALLOW;
4421             description { state: "default" 0.0;
4422                align: 0.0 0.0;
4423                rel1.relative: 0.0 0.0;
4424                rel2.relative: 0.0 0.0;
4425             }
4426          }
4427          part { name: "elm.swallow.size";
4428             type: SWALLOW;
4429             description { state: "default" 0.0;
4430                align: 0.0 0.0;
4431                rel1.to: "elm.swallow.offset";
4432                rel1.relative: 1.0 1.0;
4433                rel2.to: "elm.swallow.offset";
4434                rel2.relative: 1.0 1.0;
4435             }
4436          }
4437          part { name: "base";
4438             type: RECT;
4439             mouse_events: 1;
4440             description { state: "default" 0.0;
4441                color: 0 0 0 64;
4442             }
4443          }
4444          part { name: "shad";
4445             mouse_events:  0;
4446             description { state: "default" 0.0;
4447                image.normal: "shad_circ.png";
4448                rel1.to: "elm.swallow.size";
4449                rel1.offset: -32 -32;
4450                rel2.to: "elm.swallow.size";
4451                rel2.offset: 31 31;
4452                fill.smooth: 0;
4453             }
4454          }
4455          part { name: "box";
4456             type: RECT;
4457             mouse_events: 0;
4458             description { state: "default" 0.0;
4459                color: 0 0 0 0;
4460                rel1.to: "elm.swallow.size";
4461                rel1.offset: -2 -2;
4462                rel2.to: "elm.swallow.size";
4463                rel2.offset: 1 1;
4464             }
4465          }
4466          part { name: "elm.swallow.slot.left";
4467             type: SWALLOW;
4468             description { state: "default" 0.0;
4469                align: 1.0 0.5;
4470                rel1.to: "elm.swallow.slot.middle";
4471                rel1.relative: 0.0 0.0;
4472                rel1.offset: -1 0;
4473                rel2.to: "elm.swallow.slot.middle";
4474                rel2.relative: 0.0 1.0;
4475                rel2.offset: -1 -1;
4476             }
4477          }
4478          part { name: "elm.swallow.slot.right";
4479             type: SWALLOW;
4480             description { state: "default" 0.0;
4481                align: 0.0 0.5;
4482                rel1.to: "elm.swallow.slot.middle";
4483                rel1.relative: 1.0 0.0;
4484                rel1.offset: 0 0;
4485                rel2.to: "elm.swallow.slot.middle";
4486                rel2.relative: 1.0 1.0;
4487                rel2.offset: 0 -1;
4488             }
4489          }
4490          part { name: "elm.swallow.slot.top";
4491             type: SWALLOW;
4492             description { state: "default" 0.0;
4493                align: 0.5 1.0;
4494                rel1.to: "elm.swallow.slot.middle";
4495                rel1.relative: 0.0 0.0;
4496                rel1.offset: 0 -1;
4497                rel2.to: "elm.swallow.slot.middle";
4498                rel2.relative: 1.0 0.0;
4499                rel2.offset: -1 -1;
4500             }
4501          }
4502          part { name: "elm.swallow.slot.bottom";
4503             type: SWALLOW;
4504             description { state: "default" 0.0;
4505                align: 0.5 0.0;
4506                rel1.to: "elm.swallow.slot.middle";
4507                rel1.relative: 0.0 1.0;
4508                rel1.offset: 0 0;
4509                rel2.to: "elm.swallow.slot.middle";
4510                rel2.relative: 1.0 1.0;
4511                rel2.offset: -1 0;
4512             }
4513          }
4514          part { name: "elm.swallow.slot.middle";
4515             type: SWALLOW;
4516             description { state: "default" 0.0;
4517                rel1.to: "elm.swallow.size";
4518                rel2.to: "elm.swallow.size";
4519             }
4520          }
4521       }
4522       programs {
4523          program { name: "end";
4524             signal: "mouse,up,1";
4525             source: "base";
4526             action: SIGNAL_EMIT "elm,action,dismiss" "";
4527          }
4528       }
4529    }
4530
4531    group { name: "elm/hover/base/popout";
4532       images {
4533          image: "shad_circ.png" COMP;
4534          image: "bt_dis_base.png" COMP;
4535          image: "bt_dis_hilight.png" COMP;
4536       }
4537       parts {
4538          part { name: "elm.swallow.offset";
4539             type: SWALLOW;
4540             description { state: "default" 0.0;
4541                align: 0.0 0.0;
4542                rel1.relative: 0.0 0.0;
4543                rel2.relative: 0.0 0.0;
4544             }
4545          }
4546          part { name: "elm.swallow.size";
4547             type: SWALLOW;
4548             description { state: "default" 0.0;
4549                align: 0.0 0.0;
4550                rel1.to: "elm.swallow.offset";
4551                rel1.relative: 1.0 1.0;
4552                rel2.to: "elm.swallow.offset";
4553                rel2.relative: 1.0 1.0;
4554             }
4555          }
4556          part { name: "base";
4557             type: RECT;
4558             mouse_events: 1;
4559             description { state: "default" 0.0;
4560                color: 0 0 0 0;
4561             }
4562             description { state: "visible" 0.0;
4563                inherit: "default" 1.0;
4564                color: 0 0 0 64;
4565             }
4566          }
4567          part { name: "leftclip";
4568             type: RECT;
4569             description { state: "default" 0.0;
4570                rel2.to_x: "pop";
4571                rel2.relative: 0.0 1.0;
4572                rel2.offset: 1 -1;
4573             }
4574          }
4575          part { name: "left";
4576             clip_to: "leftclip";
4577             description { state: "default" 0.0;
4578                visible: 0;
4579                rel1.to: "elm.swallow.slot.left";
4580                rel1.offset: -5 -5;
4581                rel2.to: "elm.swallow.slot.left";
4582                rel2.offset: 4 4;
4583                image {
4584                   normal: "bt_dis_base.png";
4585                   border: 4 4 4 4;
4586                }
4587                image.middle: SOLID;
4588             }
4589             description { state: "visible" 0.0;
4590                inherit: "default" 0.0;
4591                visible: 1;
4592             }
4593          }
4594          part { name: "elm.swallow.slot.left";
4595             type: SWALLOW;
4596             clip_to: "leftclip";
4597             description { state: "default" 0.0;
4598                align: 0.0 0.5;
4599                rel1.to: "elm.swallow.slot.middle";
4600                rel1.relative: 0.0 0.0;
4601                rel1.offset: -1 0;
4602                rel2.to: "elm.swallow.slot.middle";
4603                rel2.relative: 0.0 1.0;
4604                rel2.offset: -1 -1;
4605             }
4606             description { state: "visible" 0.0;
4607                inherit: "default" 0.0;
4608                rel1.offset: -7 0;
4609                rel2.offset: -7 -1;
4610                align: 1.0 0.5;
4611             }
4612          }
4613          part { name: "leftover";
4614             clip_to: "leftclip";
4615             mouse_events: 0;
4616             description { state: "default" 0.0;
4617                rel1.to: "left";
4618                rel2.to: "left";
4619                rel2.relative: 1.0 0.5;
4620                image {
4621                   normal: "bt_dis_hilight.png";
4622                   border: 4 4 4 0;
4623                }
4624             }
4625          }
4626          part { name: "rightclip";
4627             type: RECT;
4628             description { state: "default" 0.0;
4629                rel1.to_x: "pop";
4630                rel1.relative: 1.0 0.0;
4631                rel1.offset: -2 0;
4632             }
4633          }
4634          part { name: "right";
4635             clip_to: "rightclip";
4636             description { state: "default" 0.0;
4637                visible: 0;
4638                rel1.to: "elm.swallow.slot.right";
4639                rel1.offset: -5 -5;
4640                rel2.to: "elm.swallow.slot.right";
4641                rel2.offset: 4 4;
4642                image {
4643                   normal: "bt_dis_base.png";
4644                   border: 4 4 4 4;
4645                }
4646                image.middle: SOLID;
4647             }
4648             description { state: "visible" 0.0;
4649                inherit: "default" 0.0;
4650                visible: 1;
4651             }
4652          }
4653          part { name: "elm.swallow.slot.right";
4654             type: SWALLOW;
4655             clip_to: "rightclip";
4656             description { state: "default" 0.0;
4657                align: 1.0 0.5;
4658                rel1.to: "elm.swallow.slot.middle";
4659                rel1.relative: 1.0 0.0;
4660                rel1.offset: 0 0;
4661                rel2.to: "elm.swallow.slot.middle";
4662                rel2.relative: 1.0 1.0;
4663                rel2.offset: 0 -1;
4664             }
4665             description { state: "visible" 0.0;
4666                inherit: "default" 0.0;
4667                rel1.offset: 6 0;
4668                rel2.offset: 6 -1;
4669                align: 0.0 0.5;
4670             }
4671          }
4672          part { name: "rightover";
4673             clip_to: "rightclip";
4674             mouse_events: 0;
4675             description { state: "default" 0.0;
4676                rel1.to: "right";
4677                rel2.to: "right";
4678                rel2.relative: 1.0 0.5;
4679                image {
4680                   normal: "bt_dis_hilight.png";
4681                   border: 4 4 4 0;
4682                }
4683             }
4684          }
4685          part { name: "topclip";
4686             type: RECT;
4687             description { state: "default" 0.0;
4688                rel2.to_y: "pop";
4689                rel2.relative: 1.0 0.0;
4690                rel2.offset: -1 1;
4691             }
4692          }
4693          part { name: "top";
4694             clip_to: "topclip";
4695             description { state: "default" 0.0;
4696                visible: 0;
4697                rel1.to: "elm.swallow.slot.top";
4698                rel1.offset: -5 -5;
4699                rel2.to: "elm.swallow.slot.top";
4700                rel2.offset: 4 4;
4701                image {
4702                   normal: "bt_dis_base.png";
4703                   border: 4 4 4 4;
4704                }
4705                image.middle: SOLID;
4706             }
4707             description { state: "visible" 0.0;
4708                inherit: "default" 0.0;
4709                visible: 1;
4710             }
4711          }
4712          part { name: "elm.swallow.slot.top";
4713             type: SWALLOW;
4714             clip_to: "topclip";
4715             description { state: "default" 0.0;
4716                visible: 1;
4717                align: 0.5 0.0;
4718                rel1.to: "elm.swallow.slot.middle";
4719                rel1.relative: 0.0 0.0;
4720                rel1.offset: 0 -1;
4721                rel2.to: "elm.swallow.slot.middle";
4722                rel2.relative: 1.0 0.0;
4723                rel2.offset: -1 -1;
4724             }
4725             description { state: "visible" 0.0;
4726                inherit: "default" 0.0;
4727                rel1.offset: 0 -7;
4728                rel2.offset: -1 -7;
4729                align: 0.5 1.0;
4730             }
4731          }
4732          part { name: "topover";
4733             clip_to: "topclip";
4734             mouse_events: 0;
4735             description { state: "default" 0.0;
4736                rel1.to: "top";
4737                rel2.to: "top";
4738                rel2.relative: 1.0 0.5;
4739                image {
4740                   normal: "bt_dis_hilight.png";
4741                   border: 4 4 4 0;
4742                }
4743             }
4744          }
4745          part { name: "bottomclip";
4746             type: RECT;
4747             description { state: "default" 0.0;
4748                rel1.to_y: "pop";
4749                rel1.relative: 0.0 1.0;
4750                rel1.offset: -1 -2;
4751             }
4752          }
4753          part { name: "bottom";
4754             clip_to: "bottomclip";
4755             description { state: "default" 0.0;
4756                visible: 0;
4757                rel1.to: "elm.swallow.slot.bottom";
4758                rel1.offset: -5 -5;
4759                rel2.to: "elm.swallow.slot.bottom";
4760                rel2.offset: 4 4;
4761                image {
4762                   normal: "bt_dis_base.png";
4763                   border: 4 4 4 4;
4764                }
4765                image.middle: SOLID;
4766             }
4767             description { state: "visible" 0.0;
4768                inherit: "default" 0.0;
4769                visible: 1;
4770             }
4771          }
4772          part { name: "elm.swallow.slot.bottom";
4773             type: SWALLOW;
4774             clip_to: "bottomclip";
4775             description { state: "default" 0.0;
4776                align: 0.5 1.0;
4777                rel1.to: "elm.swallow.slot.middle";
4778                rel1.relative: 0.0 1.0;
4779                rel1.offset: 0 0;
4780                rel2.to: "elm.swallow.slot.middle";
4781                rel2.relative: 1.0 1.0;
4782                rel2.offset: -1 0;
4783             }
4784             description { state: "visible" 0.0;
4785                inherit: "default" 0.0;
4786                rel1.offset: 0 6;
4787                rel2.offset: -1 6;
4788                align: 0.5 0.0;
4789             }
4790          }
4791          part { name: "bottomover";
4792             clip_to: "bottomclip";
4793             mouse_events: 0;
4794             description { state: "default" 0.0;
4795                rel1.to: "bottom";
4796                rel2.to: "bottom";
4797                rel2.relative: 1.0 0.5;
4798                image {
4799                   normal: "bt_dis_hilight.png";
4800                   border: 4 4 4 0;
4801                }
4802             }
4803          }
4804          part { name: "shad";
4805             mouse_events:  0;
4806             description { state: "default" 0.0;
4807                image.normal: "shad_circ.png";
4808                rel1.to: "elm.swallow.size";
4809                rel1.offset: -64 -64;
4810                rel2.to: "elm.swallow.size";
4811                rel2.offset: 63 63;
4812                fill.smooth: 0;
4813             }
4814          }
4815          part { name: "pop";
4816             mouse_events: 1;
4817             description { state: "default" 0.0;
4818                rel1.to: "elm.swallow.slot.middle";
4819                rel1.offset: -5 -5;
4820                rel2.to: "elm.swallow.slot.middle";
4821                rel2.offset: 4 4;
4822                image {
4823                   normal: "bt_dis_base.png";
4824                   border: 4 4 4 4;
4825                }
4826                image.middle: SOLID;
4827             }
4828          }
4829          part { name: "elm.swallow.slot.middle";
4830             type: SWALLOW;
4831             description { state: "default" 0.0;
4832                rel1.to: "elm.swallow.size";
4833                rel2.to: "elm.swallow.size";
4834             }
4835          }
4836          part { name: "popover";
4837             mouse_events: 0;
4838             description { state: "default" 0.0;
4839                rel1.to: "pop";
4840                rel2.to: "pop";
4841                rel2.relative: 1.0 0.5;
4842                image {
4843                   normal: "bt_dis_hilight.png";
4844                   border: 4 4 4 0;
4845                }
4846             }
4847          }
4848       }
4849       programs {
4850          program { name: "end";
4851             signal: "mouse,up,1";
4852             source: "base";
4853             action: SIGNAL_EMIT "elm,action,dismiss" "";
4854          }
4855
4856          program { name: "show";
4857             signal: "elm,action,show";
4858             source: "elm";
4859             action: STATE_SET "visible" 0.0;
4860 //          transition: DECELERATE 0.5;
4861             target: "base";
4862          }
4863          program { name: "hide";
4864             signal: "elm,action,hide";
4865             source: "elm";
4866             action: STATE_SET "default" 0.0;
4867 //          transition: DECELERATE 0.5;
4868             target: "base";
4869          }
4870
4871          program { name: "leftshow";
4872             signal: "elm,action,slot,left,show";
4873             source: "elm";
4874             action: STATE_SET "visible" 0.0;
4875             transition: DECELERATE 0.5;
4876             target: "left";
4877             target: "elm.swallow.slot.left";
4878          }
4879          program { name: "lefthide";
4880             signal: "elm,action,slot,left,hide";
4881             source: "elm";
4882             action: STATE_SET "default" 0.0;
4883             transition: DECELERATE 0.5;
4884             target: "left";
4885             target: "elm.swallow.slot.left";
4886          }
4887          program { name: "rightshow";
4888             signal: "elm,action,slot,right,show";
4889             source: "elm";
4890             action: STATE_SET "visible" 0.0;
4891             transition: DECELERATE 0.5;
4892             target: "right";
4893             target: "elm.swallow.slot.right";
4894          }
4895          program { name: "righthide";
4896             signal: "elm,action,slot,right,hide";
4897             source: "elm";
4898             action: STATE_SET "default" 0.0;
4899             transition: DECELERATE 0.5;
4900             target: "right";
4901             target: "elm.swallow.slot.right";
4902          }
4903          program { name: "topshow";
4904             signal: "elm,action,slot,top,show";
4905             source: "elm";
4906             action: STATE_SET "visible" 0.0;
4907             transition: DECELERATE 0.5;
4908             target: "top";
4909             target: "elm.swallow.slot.top";
4910          }
4911          program { name: "tophide";
4912             signal: "elm,action,slot,top,hide";
4913             source: "elm";
4914             action: STATE_SET "default" 0.0;
4915             transition: DECELERATE 0.5;
4916             target: "top";
4917             target: "elm.swallow.slot.top";
4918          }
4919          program { name: "bottomshow";
4920             signal: "elm,action,slot,bottom,show";
4921             source: "elm";
4922             action: STATE_SET "visible" 0.0;
4923             transition: DECELERATE 0.5;
4924             target: "bottom";
4925             target: "elm.swallow.slot.bottom";
4926          }
4927          program { name: "bottomhide";
4928             signal: "elm,action,slot,bottom,hide";
4929             source: "elm";
4930             action: STATE_SET "default" 0.0;
4931             transition: DECELERATE 0.5;
4932             target: "bottom";
4933             target: "elm.swallow.slot.bottom";
4934          }
4935       }
4936    }
4937
4938    //In the hover used by the menu only the bottom part is used.
4939    group { name: "elm/hover/base/menu";
4940        images {
4941            image: "shad_circ.png" COMP;
4942            image: "bt_dis_base.png" COMP;
4943        }
4944        parts {
4945            part { name: "elm.swallow.offset";
4946                type: SWALLOW;
4947                description { state: "default" 0.0;
4948                    align: 0.0 0.0;
4949                    rel1.relative: 0.0 0.0;
4950                    rel2.relative: 0.0 0.0;
4951                }
4952            }
4953            part { name: "elm.swallow.size";
4954                type: SWALLOW;
4955                description { state: "default" 0.0;
4956                    align: 0.0 0.0;
4957                    rel1.to: "elm.swallow.offset";
4958                    rel1.relative: 1.0 1.0;
4959                    rel2.to: "elm.swallow.offset";
4960                    rel2.relative: 1.0 1.0;
4961                }
4962            }
4963            part { name: "base";
4964                type: RECT;
4965                mouse_events: 1;
4966                description { state: "default" 0.0;
4967                    color: 0 0 0 0;
4968                }
4969                description { state: "visible" 0.0;
4970                    inherit: "default" 1.0;
4971                    color: 0 0 0 64;
4972                }
4973            }
4974            part { name: "elm.swallow.slot.left";
4975                type: SWALLOW;
4976                description { state: "default" 0.0;
4977                }
4978            }
4979            part { name: "elm.swallow.slot.right";
4980                type: SWALLOW;
4981                description { state: "default" 0.0;
4982                }
4983            }
4984            part { name: "elm.swallow.slot.top";
4985                type: SWALLOW;
4986                description { state: "default" 0.0;
4987                }
4988                description { state: "visible" 0.0;
4989                    inherit: "default" 0.0;
4990                }
4991            }
4992            part { name: "bottomclip";
4993                type: RECT;
4994                description { state: "default" 0.0;
4995                    rel1.to_y: "pop";
4996                    rel1.relative: 0.0 1.0;
4997                    rel1.offset: -1 -2;
4998                }
4999            }
5000            part { name: "bottom";
5001                clip_to: "bottomclip";
5002                description { state: "default" 0.0;
5003                    visible: 0;
5004                    rel1.to: "elm.swallow.slot.bottom";
5005                    rel1.offset: -5 -5;
5006                    rel2.to: "elm.swallow.slot.bottom";
5007                    rel2.offset: 4 4;
5008                    image {
5009                        normal: "bt_dis_base.png";
5010                        border: 4 4 4 4;
5011                    }
5012                    image.middle: SOLID;
5013                }
5014                description { state: "visible" 0.0;
5015                    inherit: "default" 0.0;
5016                    visible: 1;
5017                }
5018            }
5019            part { name: "elm.swallow.slot.bottom";
5020                type: SWALLOW;
5021                clip_to: "bottomclip";
5022                description { state: "default" 0.0;
5023                    align: 0.5 1.0;
5024                    rel1.to: "elm.swallow.slot.middle";
5025                    rel1.relative: 0.0 1.0;
5026                    rel1.offset: 0 0;
5027                    rel2.to: "elm.swallow.slot.middle";
5028                    rel2.relative: 1.0 1.0;
5029                    rel2.offset: -1 0;
5030                }
5031                description { state: "visible" 0.0;
5032                    inherit: "default" 0.0;
5033                    rel1.offset: 0 6;
5034                    rel2.offset: -1 6;
5035                    align: 0.5 0.0;
5036                }
5037            }
5038            part { name: "pop";
5039                mouse_events: 1;
5040                repeat_events:1;
5041                description { state: "default" 0.0;
5042                    rel1.to: "elm.swallow.slot.middle";
5043                    rel1.offset: -5 -5;
5044                    rel2.to: "elm.swallow.slot.middle";
5045                    rel2.offset: 4 4;
5046                }
5047            }
5048            part { name: "elm.swallow.slot.middle";
5049                type: SWALLOW;
5050                repeat_events:1;
5051                description { state: "default" 0.0;
5052                    rel1.to: "elm.swallow.size";
5053                    rel2.to: "elm.swallow.size";
5054                }
5055            }
5056        }
5057        programs {
5058            program { name: "end";
5059                signal: "mouse,up,1";
5060                source: "base";
5061                action: SIGNAL_EMIT "elm,action,dismiss" "";
5062            }
5063            program { name: "show";
5064                signal: "elm,action,show";
5065                source: "elm";
5066                action: STATE_SET "visible" 0.0;
5067                        //           transition: DECELERATE 0.5;
5068                target: "base";
5069            }
5070            program { name: "hide";
5071                signal: "elm,action,hide";
5072                source: "elm";
5073                action: STATE_SET "default" 0.0;
5074                        //           transition: DECELERATE 0.5;
5075                target: "base";
5076            }
5077            program { name: "bottomshow";
5078                signal: "elm,action,slot,bottom,show";
5079                source: "elm";
5080                action: STATE_SET "visible" 0.0;
5081                transition: DECELERATE 0.3;
5082                target: "bottom";
5083                target: "elm.swallow.slot.bottom";
5084            }
5085            program { name: "bottomhide";
5086                signal: "elm,action,slot,bottom,hide";
5087                source: "elm";
5088                action: STATE_SET "default" 0.0;
5089                transition: DECELERATE 0.5;
5090                target: "bottom";
5091                target: "elm.swallow.slot.bottom";
5092            }
5093        }
5094    }
5095
5096    //In the hover used by the submenu only the bottom part is used
5097    //and no part should interact except the bottom area
5098    group { name: "elm/hover/base/submenu";
5099        images {
5100            image: "shad_circ.png" COMP;
5101            image: "bt_dis_base.png" COMP;
5102        }
5103        parts {
5104            part { name: "elm.swallow.offset";
5105                type: SWALLOW;
5106                repeat_events:1;
5107                description { state: "default" 0.0;
5108                    align: 0.0 0.0;
5109                    rel1.relative: 0.0 0.0;
5110                    rel2.relative: 0.0 0.0;
5111                }
5112            }
5113            part { name: "elm.swallow.size";
5114                type: SWALLOW;
5115                description { state: "default" 0.0;
5116                    align: 0.0 0.0;
5117                    rel1.to: "elm.swallow.offset";
5118                    rel1.relative: 1.0 1.0;
5119                    rel2.to: "elm.swallow.offset";
5120                    rel2.relative: 1.0 1.0;
5121                }
5122            }
5123            //here we do non catch events like the hover hover does
5124            part { name: "base";
5125                type: RECT;
5126                mouse_events: 1;
5127                description { state: "default" 0.0;
5128                    color: 0 0 0 0;
5129                    visible: 0;
5130                }
5131            }
5132            part { name: "elm.swallow.slot.left";
5133                type: SWALLOW;
5134                description { state: "default" 0.0;
5135                }
5136            }
5137            part { name: "elm.swallow.slot.right";
5138                type: SWALLOW;
5139                description { state: "default" 0.0;
5140                }
5141            }
5142            part { name: "elm.swallow.slot.top";
5143                type: SWALLOW;
5144                description { state: "default" 0.0;
5145                }
5146            }
5147            part { name: "bottomclip";
5148                type: RECT;
5149                description { state: "default" 0.0;
5150                    rel1.to_y: "pop";
5151                    rel1.relative: 0.0 1.0;
5152                    rel1.offset: -1 -2;
5153                }
5154            }
5155            part { name: "bottom";
5156                clip_to: "bottomclip";
5157                description { state: "default" 0.0;
5158                    visible: 0;
5159                    rel1.to: "elm.swallow.slot.bottom";
5160                    rel1.offset: -5 -5;
5161                    rel2.to: "elm.swallow.slot.bottom";
5162                    rel2.offset: 4 4;
5163                    image {
5164                        normal: "bt_dis_base.png";
5165                        border: 4 4 4 4;
5166                    }
5167                    image.middle: SOLID;
5168                }
5169                description { state: "visible" 0.0;
5170                    inherit: "default" 0.0;
5171                    visible: 1;
5172                }
5173            }
5174            part { name: "elm.swallow.slot.bottom";
5175                type: SWALLOW;
5176                clip_to: "bottomclip";
5177                description { state: "default" 0.0;
5178                    align: 0.5 1.0;
5179                    rel1.to: "elm.swallow.slot.middle";
5180                    rel1.relative: 0.0 1.0;
5181                    rel1.offset: 0 0;
5182                    rel2.to: "elm.swallow.slot.middle";
5183                    rel2.relative: 1.0 1.0;
5184                    rel2.offset: -1 0;
5185                }
5186                description { state: "visible" 0.0;
5187                    inherit: "default" 0.0;
5188                    rel1.offset: 0 6;
5189                    rel2.offset: -1 6;
5190                    align: 0.5 0.0;
5191                }
5192            }
5193            part { name: "pop";
5194                mouse_events: 1;
5195                repeat_events:1;
5196                description { state: "default" 0.0;
5197                    rel1.to: "elm.swallow.slot.middle";
5198                    rel1.offset: -5 -5;
5199                    rel2.to: "elm.swallow.slot.middle";
5200                    rel2.offset: 4 4;
5201                }
5202            }
5203            part { name: "elm.swallow.slot.middle";
5204                type: SWALLOW;
5205                repeat_events:1;
5206                description { state: "default" 0.0;
5207                    rel1.to: "elm.swallow.size";
5208                    rel2.to: "elm.swallow.size";
5209                }
5210            }
5211        }
5212        programs {
5213            program { name: "end";
5214                signal: "mouse,up,1";
5215                source: "base";
5216                action: SIGNAL_EMIT "elm,action,dismiss" "";
5217            }
5218            program { name: "show";
5219                signal: "elm,action,show";
5220                source: "elm";
5221                action: STATE_SET "visible" 0.0;
5222                        //           transition: DECELERATE 0.5;
5223                target: "base";
5224            }
5225            program { name: "hide";
5226                signal: "elm,action,hide";
5227                source: "elm";
5228                action: STATE_SET "default" 0.0;
5229                        //           transition: DECELERATE 0.5;
5230                target: "base";
5231            }
5232            program { name: "bottomshow";
5233                signal: "elm,action,slot,bottom,show";
5234                source: "elm";
5235                action: STATE_SET "visible" 0.0;
5236                transition: DECELERATE 0.3;
5237                target: "bottom";
5238                target: "elm.swallow.slot.bottom";
5239            }
5240            program { name: "bottomhide";
5241                signal: "elm,action,slot,bottom,hide";
5242                source: "elm";
5243                action: STATE_SET "default" 0.0;
5244                transition: DECELERATE 0.5;
5245                target: "bottom";
5246                target: "elm.swallow.slot.bottom";
5247            }
5248        }
5249    }
5250
5251    group { name: "elm/hover/base/hoversel_vertical/default";
5252       alias: "elm/hover/base/hoversel_vertical/entry";
5253       images {
5254 //       image: "shad_circ.png" COMP;
5255          image: "bt_base2.png" COMP;
5256          image: "bt_hilight.png" COMP;
5257          image: "bt_shine.png" COMP;
5258          image: "outdent-top.png" COMP;
5259          image: "outdent-bottom.png" COMP;
5260       }
5261       parts {
5262          part { name: "elm.swallow.offset";
5263             type: SWALLOW;
5264             description { state: "default" 0.0;
5265                align: 0.0 0.0;
5266                rel1.relative: 0.0 0.0;
5267                rel2.relative: 0.0 0.0;
5268             }
5269          }
5270          part { name: "elm.swallow.size";
5271             type: SWALLOW;
5272             description { state: "default" 0.0;
5273                align: 0.0 0.0;
5274                rel1.to: "elm.swallow.offset";
5275                rel1.relative: 1.0 1.0;
5276                rel2.to: "elm.swallow.offset";
5277                rel2.relative: 1.0 1.0;
5278             }
5279          }
5280 /*
5281         part { name: "shad";
5282             mouse_events:  0;
5283             description { state: "default" 0.0;
5284                image.normal: "shad_circ.png";
5285                rel1.to: "button_image";
5286                rel1.offset: -64 -64;
5287                rel2.to: "button_image";
5288                rel2.offset: 63 63;
5289                fill.smooth: 0;
5290             }
5291          }
5292  */
5293          part { name: "button_image";
5294             mouse_events: 1;
5295             description { state: "default" 0.0;
5296                rel1.to_x: "elm.swallow.slot.top";
5297                rel1.to_y: "elm.swallow.slot.top";
5298                rel1.offset: -2 -6;
5299                rel2.to_x: "elm.swallow.slot.top";
5300                rel2.to_y: "elm.swallow.slot.bottom";
5301                rel2.offset: 1 5;
5302                image {
5303                   normal: "bt_base2.png";
5304                   border: 7 7 7 7;
5305                }
5306                image.middle: SOLID;
5307             }
5308             description { state: "bottom" 0.0;
5309                rel1.to_x: "elm.swallow.slot.bottom";
5310                rel1.to_y: "elm.swallow.slot.top";
5311                rel1.offset: -2 -6;
5312                rel2.to_x: "elm.swallow.slot.bottom";
5313                rel2.to_y: "elm.swallow.slot.bottom";
5314                rel2.offset: 1 5;
5315                image {
5316                   normal: "bt_base2.png";
5317                   border: 7 7 7 7;
5318                }
5319                image.middle: SOLID;
5320             }
5321          }
5322
5323          part { name: "base";
5324             type: RECT;
5325             mouse_events: 1;
5326             description { state: "default" 0.0;
5327                color: 0 0 0 0;
5328             }
5329             description { state: "visible" 0.0;
5330                inherit: "default" 1.0;
5331                color: 0 0 0 64;
5332             }
5333          }
5334
5335          part { name: "topclip";
5336             type: RECT;
5337             description { state: "default" 0.0;
5338                rel2.to_y: "edge_top";
5339                rel2.relative: 1.0 0.0;
5340                rel2.offset: -1 7;
5341             }
5342          }
5343          part { name: "elm.swallow.slot.top";
5344             type: SWALLOW;
5345             clip_to: "topclip";
5346             description { state: "default" 0.0;
5347                visible: 1;
5348                align: 0.5 0.0;
5349                rel1.to: "elm.swallow.slot.middle";
5350                rel1.relative: 0.0 0.0;
5351                rel1.offset: 0 -1;
5352                rel2.to: "elm.swallow.slot.middle";
5353                rel2.relative: 1.0 0.0;
5354                rel2.offset: -1 -1;
5355             }
5356             description { state: "visible" 0.0;
5357                inherit: "default" 0.0;
5358                rel1.offset: 0 -7;
5359                rel2.offset: -1 -7;
5360                align: 0.5 1.0;
5361             }
5362          }
5363
5364          part { name: "bottomclip";
5365             type: RECT;
5366             description { state: "default" 0.0;
5367                rel1.to_y: "edge_bottom";
5368                rel1.relative: 0.0 1.0;
5369                rel1.offset: -1 -8;
5370             }
5371          }
5372          part { name: "elm.swallow.slot.bottom";
5373             type: SWALLOW;
5374             clip_to: "bottomclip";
5375             description { state: "default" 0.0;
5376                align: 0.5 1.0;
5377                rel1.to: "elm.swallow.slot.middle";
5378                rel1.relative: 0.0 1.0;
5379                rel1.offset: 0 0;
5380                rel2.to: "elm.swallow.slot.middle";
5381                rel2.relative: 1.0 1.0;
5382                rel2.offset: -1 0;
5383             }
5384             description { state: "visible" 0.0;
5385                inherit: "default" 0.0;
5386                rel1.offset: 0 6;
5387                rel2.offset: -1 6;
5388                align: 0.5 0.0;
5389             }
5390          }
5391
5392          part {   name: "over1";
5393             mouse_events: 0;
5394             description { state: "default" 0.0;
5395                rel1.to: "button_image";
5396                rel2.to: "button_image";
5397                rel2.relative: 1.0 0.5;
5398                image {
5399                   normal: "bt_hilight.png";
5400                   border: 7 7 7 0;
5401                }
5402             }
5403          }
5404          part { name: "over2";
5405             mouse_events: 1;
5406             repeat_events: 1;
5407             ignore_flags: ON_HOLD;
5408             description { state: "default" 0.0;
5409                rel1.to: "button_image";
5410                rel2.to: "button_image";
5411                image {
5412                   normal: "bt_shine.png";
5413                   border: 7 7 7 7;
5414                }
5415             }
5416          }
5417          part { name: "edge_top";
5418             mouse_events:  0;
5419             description { state: "default" 0.0;
5420                visible: 0;
5421                rel1 {
5422                   to: "elm.swallow.size";
5423                   offset: 0 -10;
5424                }
5425                rel2 {
5426                   to: "elm.swallow.size";
5427                }
5428                image.normal: "outdent-bottom.png";
5429                image.border: 0 0 13 0;
5430                fill.smooth: 0;
5431             }
5432             description { state: "visible" 0.0;
5433                inherit: "default" 0.0;
5434                visible: 1;
5435             }
5436          }
5437          part { name: "edge_bottom";
5438             mouse_events:  0;
5439             description { state: "default" 0.0;
5440                visible: 0;
5441                rel1 {
5442                   to: "elm.swallow.size";
5443                }
5444                rel2 {
5445                   to: "elm.swallow.size";
5446                   offset: -1 9;
5447                }
5448                image.normal: "outdent-top.png";
5449                image.border: 0 0 0 13;
5450                fill.smooth: 0;
5451             }
5452             description { state: "visible" 0.0;
5453                inherit: "default" 0.0;
5454                visible: 1;
5455             }
5456          }
5457          part { name: "elm.swallow.slot.middle";
5458             type: SWALLOW;
5459             description { state: "default" 0.0;
5460                rel1.to: "elm.swallow.size";
5461                rel2.to: "elm.swallow.size";
5462             }
5463          }
5464       }
5465       programs {
5466          program { name: "end";
5467             signal: "mouse,up,1";
5468             source: "base";
5469             action: SIGNAL_EMIT "elm,action,dismiss" "";
5470          }
5471
5472          program { name: "show";
5473             signal: "elm,action,show";
5474             source: "elm";
5475             action: STATE_SET "visible" 0.0;
5476 //          transition: DECELERATE 0.5;
5477             target: "base";
5478          }
5479          program { name: "hide";
5480             signal: "elm,action,hide";
5481             source: "elm";
5482             action: STATE_SET "default" 0.0;
5483 //          transition: DECELERATE 0.5;
5484             target: "base";
5485          }
5486          program { name: "topshow";
5487             signal: "elm,action,slot,top,show";
5488             source: "elm";
5489             action: STATE_SET "visible" 0.0;
5490             target: "edge_top";
5491             after: "topshow2";
5492          }
5493          program { name: "topshow2";
5494             action: STATE_SET "visible" 0.0;
5495             transition: DECELERATE 0.5;
5496             target: "elm.swallow.slot.top";
5497          }
5498          program { name: "topshow3";
5499             signal: "elm,action,slot,top,show";
5500             source: "elm";
5501             action: STATE_SET "default" 0.0;
5502             target: "button_image";
5503          }
5504          program { name: "tophide";
5505             signal: "elm,action,slot,top,hide";
5506             source: "elm";
5507             action: STATE_SET "default" 0.0;
5508             transition: DECELERATE 0.5;
5509             target: "elm.swallow.slot.top";
5510             after: "tophide2";
5511          }
5512          program { name: "tophide2";
5513             action: STATE_SET "default" 0.0;
5514             target: "edge_top";
5515          }
5516          program { name: "bottomshow";
5517             signal: "elm,action,slot,bottom,show";
5518             source: "elm";
5519             action: STATE_SET "visible" 0.0;
5520             target: "edge_bottom";
5521             after: "bottomshow2";
5522          }
5523          program { name: "bottomshow2";
5524             action: STATE_SET "visible" 0.0;
5525             transition: DECELERATE 0.5;
5526             target: "elm.swallow.slot.bottom";
5527          }
5528          program { name: "bottomshow3";
5529             signal: "elm,action,slot,bottom,show";
5530             source: "elm";
5531             action: STATE_SET "bottom" 0.0;
5532             target: "button_image";
5533          }
5534          program { name: "bottomhide";
5535             signal: "elm,action,slot,bottom,hide";
5536             source: "elm";
5537             action: STATE_SET "default" 0.0;
5538             transition: DECELERATE 0.5;
5539             target: "elm.swallow.slot.bottom";
5540             after: "bottomhide2";
5541          }
5542          program { name: "bottomhide2";
5543             action: STATE_SET "default" 0.0;
5544             target: "edge_bottom";
5545          }
5546       }
5547    }
5548
5549 ///////////////////////////////////////////////////////////////////////////////
5550 // emoticon images from:
5551 // Tanya - Latvia
5552 // http://lazycrazy.deviantart.com/
5553 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
5554   group { name: "elm/entry/emoticon/angry/default"; images.image:
5555      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5556         "emo-angry.png"; } } } }
5557   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
5558      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5559         "emo-angry-shout.png"; } } } }
5560   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
5561      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5562         "emo-crazy-laugh.png"; } } } }
5563   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
5564      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5565         "emo-evil-laugh.png"; } } } }
5566   group { name: "elm/entry/emoticon/evil/default"; images.image:
5567      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5568         "emo-evil.png"; } } } }
5569   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
5570      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5571         "emo-goggle-smile.png"; } } } }
5572   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
5573      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5574         "emo-grumpy.png"; } } } }
5575   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
5576      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5577         "emo-grumpy-smile.png"; } } } }
5578   group { name: "elm/entry/emoticon/guilty/default"; images.image:
5579      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5580         "emo-guilty.png"; } } } }
5581   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
5582      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5583         "emo-guilty-smile.png"; } } } }
5584   group { name: "elm/entry/emoticon/haha/default"; images.image:
5585      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5586         "emo-haha.png"; } } } }
5587   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
5588      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5589         "emo-half-smile.png"; } } } }
5590   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
5591      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5592         "emo-happy-panting.png"; } } } }
5593   group { name: "elm/entry/emoticon/happy/default"; images.image:
5594      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5595         "emo-happy.png"; } } } }
5596   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
5597      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5598         "emo-indifferent.png"; } } } }
5599   group { name: "elm/entry/emoticon/kiss/default"; images.image:
5600      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5601         "emo-kiss.png"; } } } }
5602   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
5603      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5604         "emo-knowing-grin.png"; } } } }
5605   group { name: "elm/entry/emoticon/laugh/default"; images.image:
5606      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5607         "emo-laugh.png"; } } } }
5608   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
5609      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5610         "emo-little-bit-sorry.png"; } } } }
5611   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
5612      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5613         "emo-love-lots.png"; } } } }
5614   group { name: "elm/entry/emoticon/love/default"; images.image:
5615      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5616         "emo-love.png"; } } } }
5617   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
5618      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5619         "emo-minimal-smile.png"; } } } }
5620   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
5621      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5622         "emo-not-happy.png"; } } } }
5623   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
5624      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5625         "emo-not-impressed.png"; } } } }
5626   group { name: "elm/entry/emoticon/omg/default"; images.image:
5627      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5628         "emo-omg.png"; } } } }
5629   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
5630      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5631         "emo-opensmile.png"; } } } }
5632   group { name: "elm/entry/emoticon/smile/default"; images.image:
5633      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5634         "emo-smile.png"; } } } }
5635   group { name: "elm/entry/emoticon/sorry/default"; images.image:
5636      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5637         "emo-sorry.png"; } } } }
5638   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
5639      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5640         "emo-squint-laugh.png"; } } } }
5641   group { name: "elm/entry/emoticon/surprised/default"; images.image:
5642      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5643         "emo-surprised.png"; } } } }
5644   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
5645      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5646         "emo-suspicious.png"; } } } }
5647   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
5648      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5649         "emo-tongue-dangling.png"; } } } }
5650   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
5651      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5652         "emo-tongue-poke.png"; } } } }
5653   group { name: "elm/entry/emoticon/uh/default"; images.image:
5654      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5655         "emo-uh.png"; } } } }
5656   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
5657      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5658         "emo-unhappy.png"; } } } }
5659   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
5660      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5661         "emo-very-sorry.png"; } } } }
5662   group { name: "elm/entry/emoticon/what/default"; images.image:
5663      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5664         "emo-what.png"; } } } }
5665   group { name: "elm/entry/emoticon/wink/default"; images.image:
5666      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5667         "emo-wink.png"; } } } }
5668   group { name: "elm/entry/emoticon/worried/default"; images.image:
5669      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5670         "emo-worried.png"; } } } }
5671   group { name: "elm/entry/emoticon/wtf/default"; images.image:
5672      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5673         "emo-wtf.png"; } } } }
5674 //------------------------------------------------------------
5675    group { name: "elm/entry/base/default";
5676       styles
5677         {
5678            style { name: "entry_textblock_style";
5679               base: "font=Sans font_size=10 align=left color=#000 wrap=word";
5680               tag:  "br" "\n";
5681               tag:  "tab" "\t";
5682               tag:  "em" "+ font=Sans:style=Oblique";
5683               tag:  "b" "+ font=Sans:style=Bold";
5684               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5685               tag:  "hilight" "+ font=Sans:style=Bold";
5686            }
5687            style { name: "entry_textblock_disabled_style";
5688               base: "font=Sans font_size=10 align=left color=#00000080 wrap=word";
5689               tag:  "br" "\n";
5690               tag:  "tab" "\t";
5691               tag:  "em" "+ font=Sans:style=Oblique";
5692               tag:  "b" "+ font=Sans:style=Bold";
5693               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5694               tag:  "hilight" "+ font=Sans:style=Bold";
5695            }
5696         }
5697       data {
5698 //         item: context_menu_orientation "horizontal";
5699       }
5700       parts {
5701      part { name: "entry.swallow.background";
5702         type: SWALLOW;
5703         description { state: "default" 0.0;
5704            visible: 1;
5705            rel1 { relative: 0 0; to: "elm.text"; }
5706            rel2 { relative: 1 1; to: "elm.text"; }
5707             }
5708         }
5709          part { name: "elm.text";
5710             type: TEXTBLOCK;
5711             mouse_events: 1;
5712             scale: 1;
5713             entry_mode: EDITABLE;
5714             select_mode: EXPLICIT;
5715             multiline: 1;
5716             source: "elm/entry/selection/default"; // selection under
5717 //          source2: "X"; // selection over
5718 //          source3: "X"; // cursor under
5719             source4: "elm/entry/cursor/default"; // cursorover
5720             source5: "elm/entry/anchor/default"; // anchor under
5721 //          source6: "X"; // anchor over
5722             description { state: "default" 0.0;
5723                fixed: 1 0;
5724                text {
5725                   style: "entry_textblock_style";
5726                   min: 0 1;
5727                }
5728             }
5729             description { state: "disabled" 0.0;
5730                inherit: "default" 0.0;
5731                text {
5732                   style: "entry_textblock_disabled_style";
5733                   min: 0 1;
5734                }
5735             }
5736          }
5737       }
5738       programs {
5739          program { name: "focus";
5740             signal: "load";
5741             source: "";
5742             action: FOCUS_SET;
5743             target: "elm.text";
5744          }
5745          program { name: "disable";
5746             signal: "elm,state,disabled";
5747             source: "elm";
5748             action: STATE_SET "disabled" 0.0;
5749             target: "elm.text";
5750          }
5751          program { name: "enable";
5752             signal: "elm,state,enabled";
5753             source: "elm";
5754             action: STATE_SET "default" 0.0;
5755             target: "elm.text";
5756          }
5757       }
5758    }
5759
5760     group { name: "elm/entry/base-charwrap/default";
5761       styles
5762         {
5763            style { name: "entry_textblock_style_charwrap";
5764               base: "font=Sans font_size=10 align=left color=#000 wrap=char";
5765               tag:  "br" "\n";
5766               tag:  "tab" "\t";
5767               tag:  "em" "+ font=Sans:style=Oblique";
5768               tag:  "b" "+ font=Sans:style=Bold";
5769               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5770               tag:  "hilight" "+ font=Sans:style=Bold";
5771            }
5772            style { name: "entry_textblock_disabled_style_charwrap";
5773               base: "font=Sans font_size=10 align=left color=#00000080 wrap=char";
5774               tag:  "br" "\n";
5775               tag:  "tab" "\t";
5776               tag:  "em" "+ font=Sans:style=Oblique";
5777               tag:  "b" "+ font=Sans:style=Bold";
5778               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5779               tag:  "hilight" "+ font=Sans:style=Bold";
5780            }
5781         }
5782       parts {
5783      part { name: "entry.swallow.background";
5784         type: SWALLOW;
5785         description { state: "default" 0.0;
5786            visible: 1;
5787            rel1 { relative: 0 0; to: "elm.text"; }
5788            rel2 { relative: 1 1; to: "elm.text"; }
5789             }
5790         }
5791          part { name: "elm.text";
5792             type: TEXTBLOCK;
5793             mouse_events: 1;
5794             scale: 1;
5795             entry_mode: EDITABLE;
5796             select_mode: EXPLICIT;
5797             multiline: 1;
5798             source: "elm/entry/selection/default"; // selection under
5799 //          source2: "X"; // selection over
5800 //          source3: "X"; // cursor under
5801             source4: "elm/entry/cursor/default"; // cursorover
5802             source5: "elm/entry/anchor/default"; // anchor under
5803 //          source6: "X"; // anchor over
5804             description { state: "default" 0.0;
5805                fixed: 1 0;
5806                text {
5807                   style: "entry_textblock_style_charwrap";
5808                   min: 0 1;
5809                }
5810             }
5811             description { state: "disabled" 0.0;
5812                inherit: "default" 0.0;
5813                text {
5814                   style: "entry_textblock_disabled_style_charwrap";
5815                   min: 0 1;
5816                }
5817             }
5818          }
5819       }
5820       programs {
5821          program { name: "focus";
5822             signal: "load";
5823             source: "";
5824             action: FOCUS_SET;
5825             target: "elm.text";
5826          }
5827          program { name: "disable";
5828             signal: "elm,state,disabled";
5829             source: "elm";
5830             action: STATE_SET "disabled" 0.0;
5831             target: "elm.text";
5832          }
5833          program { name: "enable";
5834             signal: "elm,state,enabled";
5835             source: "elm";
5836             action: STATE_SET "default" 0.0;
5837             target: "elm.text";
5838          }
5839       }
5840    }
5841
5842
5843    group { name: "elm/entry/base-nowrap/default";
5844       parts {
5845      part { name: "entry.swallow.background";
5846         type: SWALLOW;
5847         description { state: "default" 0.0;
5848            visible: 1;
5849            rel1 { relative: 0 0; to: "elm.text"; }
5850            rel2 { relative: 1 1; to: "elm.text"; }
5851             }
5852         }
5853          part { name: "elm.text";
5854             type: TEXTBLOCK;
5855             mouse_events: 1;
5856             scale: 1;
5857             entry_mode: EDITABLE;
5858             select_mode: EXPLICIT;
5859             multiline: 1;
5860             source: "elm/entry/selection/default"; // selection under
5861             source4: "elm/entry/cursor/default"; // cursorover
5862             source5: "elm/entry/anchor/default"; // anchor under
5863             description { state: "default" 0.0;
5864                text {
5865                   style: "entry_textblock_style";
5866                   min: 1 1;
5867                }
5868             }
5869             description { state: "disabled" 0.0;
5870                inherit: "default" 0.0;
5871                text {
5872                   style: "entry_textblock_disabled_style";
5873                   min: 0 1;
5874                }
5875             }
5876          }
5877 /*
5878          part { name: "sel";
5879             type: RECT;
5880             mouse_events: 0;
5881             description { state: "default" 0.0;
5882                align: 1.0 1.0;
5883                max: 16 16;
5884                aspect: 1.0 1.0;
5885                color: 255 0 0 0;
5886             }
5887             description { state: "visible" 0.0;
5888                inherit: "default" 0.0;
5889                color: 255 0 0 50;
5890             }
5891          }
5892  */
5893       }
5894       programs {
5895          program { name: "focus";
5896             signal: "load";
5897             source: "";
5898             action: FOCUS_SET;
5899             target: "elm.text";
5900          }
5901          program { name: "disable";
5902             signal: "elm,state,disabled";
5903             source: "elm";
5904             action: STATE_SET "disabled" 0.0;
5905             target: "elm.text";
5906          }
5907          program { name: "enable";
5908             signal: "elm,state,enabled";
5909             source: "elm";
5910             action: STATE_SET "default" 0.0;
5911             target: "elm.text";
5912          }
5913 /*
5914          program { name: "selmode0";
5915             signal: "elm,state,select,on";
5916             source: "elm";
5917             action: STATE_SET "visible" 0.0;
5918             target: "sel";
5919          }
5920          program { name: "selmode1";
5921             signal: "elm,state,select,off";
5922             source: "elm";
5923             action: STATE_SET "default" 0.0;
5924             target: "sel";
5925          }
5926  */
5927       }
5928    }
5929
5930    group { name: "elm/entry/base-single/default";
5931       styles
5932         {
5933            style { name: "entry_single_textblock_style";
5934               base: "font=Sans font_size=10 align=left color=#000 wrap=none";
5935               tag:  "br" "\n";
5936               tag:  "tab" "\t";
5937               tag:  "em" "+ font=Sans:style=Oblique";
5938               tag:  "b" "+ font=Sans:style=Bold";
5939               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5940               tag:  "hilight" "+ font=Sans:style=Bold";
5941            }
5942            style { name: "entry_single_textblock_disabled_style";
5943               base: "font=Sans font_size=10 align=left color=#00000080 wrap=none";
5944               tag:  "br" "\n";
5945               tag:  "tab" "\t";
5946               tag:  "em" "+ font=Sans:style=Oblique";
5947               tag:  "b" "+ font=Sans:style=Bold";
5948               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5949               tag:  "hilight" "+ font=Sans:style=Bold";
5950            }
5951         }
5952       parts {
5953      part { name: "entry.swallow.background";
5954         type: SWALLOW;
5955         description { state: "default" 0.0;
5956            visible: 1;
5957            rel1 { relative: 0 0; to: "elm.text"; }
5958            rel2 { relative: 1 1; to: "elm.text"; }
5959             }
5960         }
5961          part { name: "elm.text";
5962             type: TEXTBLOCK;
5963             mouse_events: 1;
5964             scale: 1;
5965             entry_mode: EDITABLE;
5966             select_mode: EXPLICIT;
5967             multiline: 0;
5968             source: "elm/entry/selection/default"; // selection under
5969             source4: "elm/entry/cursor/default"; // cursorover
5970             source5: "elm/entry/anchor/default"; // anchor under
5971             description { state: "default" 0.0;
5972                text {
5973                   style: "entry_single_textblock_style";
5974                   min: 1 1;
5975                   max: 0 1;
5976                }
5977             }
5978             description { state: "disabled" 0.0;
5979                inherit: "default" 0.0;
5980                text {
5981                   style: "entry_single_textblock_disabled_style";
5982                }
5983             }
5984          }
5985       }
5986       programs {
5987          program { name: "focus";
5988             signal: "load";
5989             source: "";
5990             action: FOCUS_SET;
5991             target: "elm.text";
5992          }
5993          program { name: "disable";
5994             signal: "elm,state,disabled";
5995             source: "elm";
5996             action: STATE_SET "disabled" 0.0;
5997             target: "elm.text";
5998          }
5999          program { name: "enable";
6000             signal: "elm,state,enabled";
6001             source: "elm";
6002             action: STATE_SET "default" 0.0;
6003             target: "elm.text";
6004          }
6005       }
6006    }
6007
6008    group { name: "elm/entry/base-single-noedit/default";
6009       parts {
6010      part { name: "entry.swallow.background";
6011         type: SWALLOW;
6012         description { state: "default" 0.0;
6013            visible: 1;
6014            rel1 { relative: 0 0; to: "elm.text"; }
6015            rel2 { relative: 1 1; to: "elm.text"; }
6016             }
6017         }
6018          part { name: "elm.text";
6019             type: TEXTBLOCK;
6020             mouse_events: 1;
6021             scale: 1;
6022             entry_mode: PLAIN;
6023             select_mode: EXPLICIT;
6024             multiline: 0;
6025             source: "elm/entry/selection/default"; // selection under
6026             source5: "elm/entry/anchor/default"; // anchor under
6027             description { state: "default" 0.0;
6028                text {
6029                   style: "entry_single_textblock_style";
6030                   min: 1 1;
6031                   max: 0 1;
6032                }
6033             }
6034             description { state: "disabled" 0.0;
6035                inherit: "default" 0.0;
6036                text {
6037                   style: "entry_single_textblock_disabled_style";
6038                }
6039             }
6040          }
6041       }
6042       programs {
6043          program { name: "focus";
6044             signal: "load";
6045             source: "";
6046             action: FOCUS_SET;
6047             target: "elm.text";
6048          }
6049          program { name: "disable";
6050             signal: "elm,state,disabled";
6051             source: "elm";
6052             action: STATE_SET "disabled" 0.0;
6053             target: "elm.text";
6054          }
6055          program { name: "enable";
6056             signal: "elm,state,enabled";
6057             source: "elm";
6058             action: STATE_SET "default" 0.0;
6059             target: "elm.text";
6060          }
6061       }
6062    }
6063
6064    group { name: "elm/entry/base-noedit/default";
6065       parts {
6066      part { name: "entry.swallow.background";
6067         type: SWALLOW;
6068         description { state: "default" 0.0;
6069            visible: 1;
6070            rel1 { relative: 0 0; to: "elm.text"; }
6071            rel2 { relative: 1 1; to: "elm.text"; }
6072             }
6073         }
6074          part { name: "elm.text";
6075             type: TEXTBLOCK;
6076             mouse_events: 1;
6077             scale: 1;
6078             entry_mode: PLAIN;
6079             select_mode: EXPLICIT;
6080             multiline: 1;
6081             source: "elm/entry/selection/default"; // selection under
6082             source5: "elm/entry/anchor/default"; // anchor under
6083             description { state: "default" 0.0;
6084                fixed: 1 0;
6085                text {
6086                   style: "entry_textblock_style";
6087                   min: 0 1;
6088                }
6089             }
6090             description { state: "disabled" 0.0;
6091                inherit: "default" 0.0;
6092                text {
6093                   style: "entry_textblock_disabled_style";
6094                }
6095             }
6096          }
6097       }
6098       programs {
6099          program { name: "focus";
6100             signal: "load";
6101             source: "";
6102             action: FOCUS_SET;
6103             target: "elm.text";
6104          }
6105          program { name: "disable";
6106             signal: "elm,state,disabled";
6107             source: "elm";
6108             action: STATE_SET "disabled" 0.0;
6109             target: "elm.text";
6110          }
6111          program { name: "enable";
6112             signal: "elm,state,enabled";
6113             source: "elm";
6114             action: STATE_SET "default" 0.0;
6115             target: "elm.text";
6116          }
6117       }
6118    }
6119
6120    group { name: "elm/entry/base-noedit-charwrap/default";
6121       parts {
6122      part { name: "entry.swallow.background";
6123         type: SWALLOW;
6124         description { state: "default" 0.0;
6125            visible: 1;
6126            rel1 { relative: 0 0; to: "elm.text"; }
6127            rel2 { relative: 1 1; to: "elm.text"; }
6128             }
6129         }
6130          part { name: "elm.text";
6131             type: TEXTBLOCK;
6132             mouse_events: 1;
6133             scale: 1;
6134             entry_mode: PLAIN;
6135             select_mode: EXPLICIT;
6136             multiline: 1;
6137             source: "elm/entry/selection/default"; // selection under
6138             source5: "elm/entry/anchor/default"; // anchor under
6139             description { state: "default" 0.0;
6140                fixed: 1 0;
6141                text {
6142                   style: "entry_textblock_style_charwrap";
6143                   min: 0 1;
6144                }
6145             }
6146             description { state: "disabled" 0.0;
6147                inherit: "default" 0.0;
6148                text {
6149                   style: "entry_textblock_disabled_style_charwrap";
6150                }
6151             }
6152          }
6153       }
6154       programs {
6155          program { name: "focus";
6156             signal: "load";
6157             source: "";
6158             action: FOCUS_SET;
6159             target: "elm.text";
6160          }
6161          program { name: "disable";
6162             signal: "elm,state,disabled";
6163             source: "elm";
6164             action: STATE_SET "disabled" 0.0;
6165             target: "elm.text";
6166          }
6167          program { name: "enable";
6168             signal: "elm,state,enabled";
6169             source: "elm";
6170             action: STATE_SET "default" 0.0;
6171             target: "elm.text";
6172          }
6173       }
6174    }
6175
6176    group { name: "elm/entry/base-nowrap-noedit/default";
6177       parts {
6178      part { name: "entry.swallow.background";
6179         type: SWALLOW;
6180         description { state: "default" 0.0;
6181            visible: 1;
6182            rel1 { relative: 0 0; to: "elm.text"; }
6183            rel2 { relative: 1 1; to: "elm.text"; }
6184             }
6185         }
6186          part { name: "elm.text";
6187             type: TEXTBLOCK;
6188             mouse_events: 1;
6189             scale: 1;
6190             entry_mode: PLAIN;
6191             select_mode: EXPLICIT;
6192             multiline: 1;
6193             source: "elm/entry/selection/default"; // selection under
6194             source5: "elm/entry/anchor/default"; // anchor under
6195             description { state: "default" 0.0;
6196                text {
6197                   style: "entry_textblock_style";
6198                   min: 1 1;
6199                }
6200             }
6201             description { state: "disabled" 0.0;
6202                inherit: "default" 0.0;
6203                text {
6204                   style: "entry_textblock_disabled_style";
6205                }
6206             }
6207          }
6208       }
6209       programs {
6210          program { name: "focus";
6211             signal: "load";
6212             source: "";
6213             action: FOCUS_SET;
6214             target: "elm.text";
6215          }
6216          program { name: "disable";
6217             signal: "elm,state,disabled";
6218             source: "elm";
6219             action: STATE_SET "disabled" 0.0;
6220             target: "elm.text";
6221          }
6222          program { name: "enable";
6223             signal: "elm,state,enabled";
6224             source: "elm";
6225             action: STATE_SET "default" 0.0;
6226             target: "elm.text";
6227          }
6228       }
6229    }
6230
6231   group { name: "elm/entry/base-password/default";
6232       parts {
6233      part { name: "entry.swallow.background";
6234         type: SWALLOW;
6235         description { state: "default" 0.0;
6236            visible: 1;
6237            rel1 { relative: 0 0; to: "elm.text"; }
6238            rel2 { relative: 1 1; to: "elm.text"; }
6239             }
6240         }
6241          part { name: "elm.text";
6242             type: TEXTBLOCK;
6243             mouse_events: 1;
6244             scale: 1;
6245             entry_mode: PASSWORD;
6246             select_mode: EXPLICIT;
6247             multiline: 0;
6248             source: "elm/entry/selection/default"; // selection under
6249             source4: "elm/entry/cursor/default"; // cursorover
6250             source5: "elm/entry/anchor/default"; // anchor under
6251             description { state: "default" 0.0;
6252                text {
6253                   style: "entry_single_textblock_style";
6254                   repch: "*";
6255                   min: 1 1;
6256                   max: 0 1;
6257                }
6258             }
6259             description { state: "disabled" 0.0;
6260                inherit: "default" 0.0;
6261                text {
6262                   style: "entry_single_textblock_disabled_style";
6263                }
6264             }
6265          }
6266       }
6267       programs {
6268          program { name: "focus";
6269             signal: "load";
6270             source: "";
6271             action: FOCUS_SET;
6272             target: "elm.text";
6273          }
6274          program { name: "disable";
6275             signal: "elm,state,disabled";
6276             source: "elm";
6277             action: STATE_SET "disabled" 0.0;
6278             target: "elm.text";
6279          }
6280          program { name: "enable";
6281             signal: "elm,state,enabled";
6282             source: "elm";
6283             action: STATE_SET "default" 0.0;
6284             target: "elm.text";
6285          }
6286       }
6287    }
6288
6289    group { name: "elm/entry/cursor/default";
6290       images {
6291          image: "cur_box.png" COMP;
6292          image: "cur_hi.png" COMP;
6293          image: "cur_shad.png" COMP;
6294          image: "cur_shine.png" COMP;
6295          image: "cur_glow.png" COMP;
6296       }
6297       parts {
6298          part { name: "clip2";
6299             type: RECT;
6300             mouse_events: 0;
6301             description { state: "default" 0.0;
6302                rel1.to: "clip";
6303                rel2.to: "clip";
6304                visible: 0;
6305             }
6306             description { state: "focused" 0.0;
6307                inherit: "default" 0.0;
6308                visible: 1;
6309             }
6310          }
6311          part { name: "clip";
6312             type: RECT;
6313             mouse_events: 0;
6314             clip_to: "clip2";
6315             description { state: "default" 0.0;
6316                rel1.offset: -10 0;
6317                rel2.offset: 9 9;
6318             }
6319             description { state: "hidden" 0.0;
6320                inherit: "default" 0.0;
6321                visible: 0;
6322             }
6323          }
6324          part { name: "bg";
6325             mouse_events: 0;
6326             clip_to: "clip";
6327             description { state: "default" 0.0;
6328                rel1.to: "base";
6329                rel1.offset: -2 0;
6330                rel2.to: "base";
6331                rel2.offset: 1 1;
6332                image.border: 2 2 2 2;
6333                image.normal: "cur_shad.png";
6334             }
6335          }
6336          part { name: "base";
6337             mouse_events: 0;
6338             scale: 1;
6339             clip_to: "clip";
6340             description { state: "default" 0.0;
6341                min: 2 2;
6342                align: 0.5 1.0;
6343                rel1.relative: 0.0 1.0;
6344                rel1.offset: 0 -1;
6345                rel2.relative: 1.0 1.0;
6346                rel2.offset: -1 -1;
6347                image.normal: "cur_box.png";
6348             }
6349          }
6350          part { name: "hi";
6351             mouse_events: 0;
6352             clip_to: "clip";
6353             description { state: "default" 0.0;
6354                rel1.to: "base";
6355                rel2.to: "base";
6356                rel2.relative: 1.0 0.5;
6357                image.normal: "cur_hi.png";
6358             }
6359          }
6360          part { name: "shine";
6361             mouse_events: 0;
6362             clip_to: "clip";
6363             clip_to: "clip2";
6364             description { state: "default" 0.0;
6365                rel1.to: "base";
6366                rel2.to: "base";
6367                rel2.relative: 1.0 0.75;
6368                image.border: 2 2 1 0;
6369                image.normal: "cur_shine.png";
6370                fill.smooth: 0;
6371             }
6372          }
6373          part { name: "glow";
6374             mouse_events: 0;
6375             clip_to: "clip2";
6376             description { state: "default" 0.0;
6377                rel1.to: "base";
6378                rel1.relative: 0.0 -2.0;
6379                rel1.offset: -2 0;
6380                rel2.to: "base";
6381                rel2.relative: 1.0 0.0;
6382                rel2.offset: 1 1;
6383                image.border: 2 2 0 4;
6384                image.normal: "cur_glow.png";
6385                fill.smooth: 0;
6386             }
6387             description { state: "hidden" 0.0;
6388                inherit: "default" 0.0;
6389                color: 255 255 255 0;
6390             }
6391          }
6392       }
6393       programs {
6394          program { name: "show";
6395             signal: "show";
6396             source: "";
6397             action: STATE_SET "hidden" 0.0;
6398             in: 1.0 0.0;
6399             transition: DECELERATE 2.0;
6400             target: "glow";
6401             after: "show2";
6402          }
6403          program { name: "show2";
6404             action: STATE_SET "hidden" 0.0;
6405             in: 0.2 0.0;
6406             target: "clip";
6407             after: "show3";
6408          }
6409          program { name: "show3";
6410             action: STATE_SET "default" 0.0;
6411             in: 0.5 0.0;
6412             target: "clip";
6413             after: "show4";
6414          }
6415          program { name: "show4";
6416             action: STATE_SET "default" 0.0;
6417             in: 0.5 0.0;
6418             transition: DECELERATE 0.5;
6419             target: "glow";
6420             after: "show";
6421          }
6422          program { name: "focused";
6423             signal: "elm,action,focus";
6424             source: "elm";
6425             action: STATE_SET "focused" 0.0;
6426             target: "clip2";
6427          }
6428          program { name: "unfocused";
6429             signal: "elm,action,unfocus";
6430             source: "elm";
6431             action: STATE_SET "default" 0.0;
6432             target: "clip2";
6433          }
6434       }
6435    }
6436
6437    group { name: "elm/entry/selection/default";
6438       parts {
6439          part { name: "bg";
6440             type: RECT;
6441             mouse_events: 0;
6442             description { state: "default" 0.0;
6443                color: 128 128 128 128;
6444             }
6445          }
6446       }
6447    }
6448
6449    group { name: "elm/entry/anchor/default";
6450       parts {
6451          part { name: "bg";
6452             type: RECT;
6453             mouse_events: 0;
6454             description { state: "default" 0.0;
6455                color: 128 0 0 64;
6456             }
6457          }
6458       }
6459    }
6460
6461 ///////////////////////////////////////////////////////////////////////////////
6462   group { name: "elm/bubble/top_left/default";
6463     alias: "elm/bubble/base/default";
6464     images {
6465       image: "bubble_3.png" COMP;
6466       image: "bubble_shine3.png" COMP;
6467     }
6468     parts {
6469       part { name: "elm.swallow.icon";
6470         type: SWALLOW;
6471         description { state: "default" 0.0;
6472           fixed: 1 1;
6473           align: 0.0 0.0;
6474           aspect: 1.0 1.0;
6475           aspect_preference: VERTICAL;
6476           rel1 {
6477             relative: 0.0 0.0;
6478             offset: 4 4;
6479           }
6480           rel2 {
6481             to_y: "elm.text";
6482             relative: 0.0 1.0;
6483             offset: 4 -1;
6484           }
6485         }
6486       }
6487       part { name: "elm.text";
6488         type: TEXT;
6489         mouse_events:   0;
6490         scale: 1;
6491         description { state: "default" 0.0;
6492           align: 0.0 0.0;
6493           fixed: 0 1;
6494           rel1 {
6495             to_x: "elm.swallow.icon";
6496             relative: 1.0 0.0;
6497             offset: 4 4;
6498           }
6499           rel2 {
6500             to_x: "elm.info";
6501             relative: 0.0 0.0;
6502             offset: -5 4;
6503           }
6504           color: 0 0 0 255;
6505           text {
6506             font: "Sans:style=Bold,Edje-Vera-Bold";
6507             size: 10;
6508             min: 0 1;
6509             max: 0 1;
6510             align: 0.0 0.0;
6511           }
6512         }
6513       }
6514       part { name: "elm.info";
6515         type: TEXT;
6516         mouse_events:   0;
6517         scale: 1;
6518         description { state: "default" 0.0;
6519           align: 1.0 0.0;
6520           fixed: 1 1;
6521           rel1 {
6522             relative: 1.0 0.0;
6523             offset: -5 4;
6524           }
6525           rel2 {
6526             relative: 1.0 0.0;
6527             offset: -5 4;
6528           }
6529           color: 0 0 0 64;
6530           text {
6531             font: "Sans:style=Bold,Edje-Vera-Bold";
6532             size: 10;
6533             min: 1 1;
6534             max: 1 1;
6535             align: 1.0 0.0;
6536           }
6537         }
6538       }
6539       part { name: "base0";
6540         mouse_events:  0;
6541         description { state: "default" 0.0;
6542           rel1 {
6543             to_y: "elm.swallow.icon";
6544             relative: 0.0 1.0;
6545             offset: 0 0;
6546           }
6547           image {
6548             normal: "bubble_3.png";
6549             border: 36 11 18 9;
6550           }
6551           image.middle: SOLID;
6552           fill.smooth: 0;
6553         }
6554       }
6555       part { name: "elm.swallow.content";
6556         type: SWALLOW;
6557         description { state: "default" 0.0;
6558           rel1 {
6559             to: "base0";
6560             offset: 9 16;
6561           }
6562           rel2 {
6563             to: "base0";
6564             offset: -10 -9;
6565           }
6566         }
6567       }
6568       part { name: "shine";
6569         mouse_events:  0;
6570         description { state:    "default" 0.0;
6571           rel1 {
6572             to: "base0";
6573             offset: 5 4;
6574           }
6575           rel2 {
6576             to: "base0";
6577             relative: 1.0 0.5;
6578             offset: -6 7;
6579           }
6580           image {
6581             normal: "bubble_shine3.png";
6582             border: 36 5 14 0;
6583           }
6584           fill.smooth: 0;
6585         }
6586       }
6587     }
6588   }
6589
6590   group { name: "elm/bubble/top_right/default";
6591     images {
6592       image: "bubble_4.png" COMP;
6593       image: "bubble_shine4.png" COMP;
6594     }
6595     parts {
6596       part { name: "elm.swallow.icon";
6597         type: SWALLOW;
6598         description { state: "default" 0.0;
6599           fixed: 1 1;
6600           align: 1.0 0.0;
6601           aspect: 1.0 1.0;
6602           aspect_preference: VERTICAL;
6603           rel1 {
6604             relative: 1.0 0.0;
6605             offset: -5 4;
6606           }
6607           rel2 {
6608             to_y: "elm.text";
6609             relative: 1.0 1.0;
6610             offset: -5 -1;
6611           }
6612         }
6613       }
6614       part { name: "elm.text";
6615         type: TEXT;
6616         mouse_events:   0;
6617         scale: 1;
6618         description { state: "default" 0.0;
6619           align: 0.0 0.0;
6620           fixed: 0 1;
6621           rel1 {
6622             relative: 0.0 0.0;
6623             offset: 4 4;
6624           }
6625           rel2 {
6626             to_x: "elm.info";
6627             relative: 0.0 0.0;
6628             offset: -5 4;
6629           }
6630           color: 0 0 0 255;
6631           text {
6632             font: "Sans:style=Bold,Edje-Vera-Bold";
6633             size: 10;
6634             min: 0 1;
6635             max: 0 1;
6636             align: 0.0 0.0;
6637           }
6638         }
6639       }
6640       part { name: "elm.info";
6641         type: TEXT;
6642         mouse_events:   0;
6643         scale: 1;
6644         description { state: "default" 0.0;
6645           align: 1.0 0.0;
6646           fixed: 1 1;
6647           rel1 {
6648             relative: 1.0 0.0;
6649             offset: -5 4;
6650           }
6651           rel2 {
6652             to_x: "elm.swallow.icon";
6653             relative: 0.0 0.0;
6654             offset: -5 4;
6655           }
6656           color: 0 0 0 64;
6657           text {
6658             font: "Sans:style=Bold,Edje-Vera-Bold";
6659             size: 10;
6660             min: 1 1;
6661             max: 1 1;
6662             align: 1.0 0.0;
6663           }
6664         }
6665       }
6666       part { name: "base0";
6667         mouse_events:  0;
6668         description { state: "default" 0.0;
6669           rel1 {
6670             to_y: "elm.swallow.icon";
6671             relative: 0.0 1.0;
6672             offset: 0 0;
6673           }
6674           image {
6675             normal: "bubble_4.png";
6676             border: 11 36 18 9;
6677           }
6678           image.middle: SOLID;
6679           fill.smooth: 0;
6680         }
6681       }
6682       part { name: "elm.swallow.content";
6683         type: SWALLOW;
6684         description { state: "default" 0.0;
6685           rel1 {
6686             to: "base0";
6687             offset: 9 16;
6688           }
6689           rel2 {
6690             to: "base0";
6691             offset: -10 -9;
6692           }
6693         }
6694       }
6695       part { name: "shine";
6696         mouse_events:  0;
6697         description { state:    "default" 0.0;
6698           rel1 {
6699             to: "base0";
6700             offset: 5 4;
6701           }
6702           rel2 {
6703             to: "base0";
6704             relative: 1.0 0.5;
6705             offset: -6 7;
6706           }
6707           image {
6708             normal: "bubble_shine4.png";
6709             border: 5 36 14 0;
6710           }
6711           fill.smooth: 0;
6712         }
6713       }
6714     }
6715   }
6716
6717   group { name: "elm/bubble/bottom_left/default";
6718     images {
6719       image: "bubble_1.png" COMP;
6720       image: "bubble_shine.png" COMP;
6721     }
6722     parts {
6723       part { name: "elm.swallow.icon";
6724         type: SWALLOW;
6725         description { state: "default" 0.0;
6726           fixed: 1 1;
6727           align: 0.0 1.0;
6728           aspect: 1.0 1.0;
6729           aspect_preference: VERTICAL;
6730           rel1 {
6731             to_y: "elm.text";
6732             relative: 0.0 0.0;
6733             offset: 4 0;
6734           }
6735           rel2 {
6736             relative: 0.0 1.0;
6737             offset: 4 -5;
6738           }
6739         }
6740       }
6741       part { name: "elm.text";
6742         type: TEXT;
6743         mouse_events:   0;
6744         scale: 1;
6745         description { state: "default" 0.0;
6746           align: 0.0 1.0;
6747           fixed: 0 1;
6748           rel1 {
6749             to_x: "elm.swallow.icon";
6750             relative: 1.0 1.0;
6751             offset: 4 -5;
6752           }
6753           rel2 {
6754             to_x: "elm.info";
6755             relative: 0.0 1.0;
6756             offset: -5 -5;
6757           }
6758           color: 0 0 0 255;
6759           text {
6760             font: "Sans:style=Bold,Edje-Vera-Bold";
6761             size: 10;
6762             min: 0 1;
6763             max: 0 1;
6764             align: 0.0 1.0;
6765           }
6766         }
6767       }
6768       part { name: "elm.info";
6769         type: TEXT;
6770         mouse_events:   0;
6771         scale: 1;
6772         description { state: "default" 0.0;
6773           align: 1.0 1.0;
6774           fixed: 1 1;
6775           rel1 {
6776             relative: 1.0 1.0;
6777             offset: -5 -5;
6778           }
6779           rel2 {
6780             relative: 1.0 1.0;
6781             offset: -5 -5;
6782           }
6783           color: 0 0 0 64;
6784           text {
6785             font: "Sans:style=Bold,Edje-Vera-Bold";
6786             size: 10;
6787             min: 1 1;
6788             max: 1 1;
6789             align: 1.0 1.0;
6790           }
6791         }
6792       }
6793       part { name: "base0";
6794         mouse_events:  0;
6795         description { state: "default" 0.0;
6796           rel2 {
6797             to_y: "elm.swallow.icon";
6798             relative: 1.0 0.0;
6799             offset: -1 -1;
6800           }
6801           image {
6802             normal: "bubble_1.png";
6803             border: 36 11 10 19;
6804           }
6805           image.middle: SOLID;
6806           fill.smooth: 0;
6807         }
6808       }
6809       part { name: "elm.swallow.content";
6810         type: SWALLOW;
6811         description { state: "default" 0.0;
6812           rel1 {
6813             to: "base0";
6814             offset: 9 8;
6815           }
6816           rel2 {
6817             to: "base0";
6818             offset: -10 -17;
6819           }
6820         }
6821       }
6822       part { name: "shine";
6823         mouse_events:  0;
6824         description { state:    "default" 0.0;
6825           rel1 {
6826             to: "base0";
6827             offset: 5 4;
6828           }
6829           rel2 {
6830             to: "base0";
6831             relative: 1.0 0.5;
6832             offset: -6 -16;
6833           }
6834           image {
6835             normal: "bubble_shine.png";
6836             border: 5 5 5 0;
6837           }
6838           fill.smooth: 0;
6839         }
6840       }
6841     }
6842   }
6843
6844   group { name: "elm/bubble/bottom_right/default";
6845     images {
6846       image: "bubble_2.png" COMP;
6847       image: "bubble_shine.png" COMP;
6848     }
6849     parts {
6850       part { name: "elm.swallow.icon";
6851         type: SWALLOW;
6852         description { state: "default" 0.0;
6853           fixed: 1 1;
6854           align: 1.0 1.0;
6855           aspect: 1.0 1.0;
6856           aspect_preference: VERTICAL;
6857           rel1 {
6858             to_y: "elm.text";
6859             relative: 1.0 0.0;
6860             offset: -5 0;
6861           }
6862           rel2 {
6863             relative: 1.0 1.0;
6864             offset: -5 -5;
6865           }
6866         }
6867       }
6868       part { name: "elm.text";
6869         type: TEXT;
6870         mouse_events:   0;
6871         scale: 1;
6872         description { state: "default" 0.0;
6873           align: 0.0 1.0;
6874           fixed: 0 1;
6875           rel1 {
6876             relative: 0.0 1.0;
6877             offset: 4 -5;
6878           }
6879           rel2 {
6880             to_x: "elm.info";
6881             relative: 0.0 1.0;
6882             offset: -5 -5;
6883           }
6884           color: 0 0 0 255;
6885           text {
6886             font: "Sans:style=Bold,Edje-Vera-Bold";
6887             size: 10;
6888             min: 0 1;
6889             max: 0 1;
6890             align: 0.0 1.0;
6891           }
6892         }
6893       }
6894       part { name: "elm.info";
6895         type: TEXT;
6896         mouse_events:   0;
6897         scale: 1;
6898         description { state: "default" 0.0;
6899           align: 1.0 1.0;
6900           fixed: 1 1;
6901           rel1 {
6902             relative: 1.0 1.0;
6903             offset: -5 -5;
6904           }
6905           rel2 {
6906             to_x: "elm.swallow.icon";
6907             relative: 0.0 1.0;
6908             offset: -5 -5;
6909           }
6910           color: 0 0 0 64;
6911           text {
6912             font: "Sans:style=Bold,Edje-Vera-Bold";
6913             size: 10;
6914             min: 1 1;
6915             max: 1 1;
6916             align: 1.0 1.0;
6917           }
6918         }
6919       }
6920       part { name: "base0";
6921         mouse_events:  0;
6922         description { state: "default" 0.0;
6923           rel2 {
6924             to_y: "elm.swallow.icon";
6925             relative: 1.0 0.0;
6926             offset: -1 -1;
6927           }
6928           image {
6929             normal: "bubble_2.png";
6930             border: 11 36 10 19;
6931           }
6932           image.middle: SOLID;
6933           fill.smooth: 0;
6934         }
6935       }
6936       part { name: "elm.swallow.content";
6937         type: SWALLOW;
6938         description { state: "default" 0.0;
6939           rel1 {
6940             to: "base0";
6941             offset: 9 8;
6942           }
6943           rel2 {
6944             to: "base0";
6945             offset: -10 -17;
6946           }
6947         }
6948       }
6949       part { name: "shine";
6950         mouse_events:  0;
6951         description { state:    "default" 0.0;
6952           rel1 {
6953             to: "base0";
6954             offset: 5 4;
6955           }
6956           rel2 {
6957             to: "base0";
6958             relative: 1.0 0.5;
6959             offset: -6 -16;
6960           }
6961           image {
6962             normal: "bubble_shine.png";
6963             border: 5 5 5 0;
6964           }
6965           fill.smooth: 0;
6966         }
6967       }
6968     }
6969   }
6970
6971 ///////////////////////////////////////////////////////////////////////////////
6972    group { name: "elm/photo/base/default";
6973       images {
6974          image: "frame_1.png" COMP;
6975          image: "frame_2.png" COMP;
6976          image: "dia_grad.png" COMP;
6977          image: "head.png" COMP;
6978       }
6979       parts {
6980          part { name: "base0";
6981             mouse_events:  0;
6982             description { state: "default" 0.0;
6983                image.normal: "dia_grad.png";
6984                rel1.to: "over";
6985                rel2.to: "over";
6986                fill {
6987                   smooth: 0;
6988                   size {
6989                      relative: 0.0 1.0;
6990                      offset: 64 0;
6991                   }
6992                }
6993             }
6994          }
6995          part { name: "base";
6996             mouse_events:  0;
6997             description { state:    "default" 0.0;
6998                image {
6999                   normal: "frame_2.png";
7000                   border: 5 5 32 26;
7001                   middle: 0;
7002                }
7003                fill.smooth : 0;
7004             }
7005          }
7006          part { name: "head";
7007             mouse_events:  0;
7008             description { state:    "default" 0.0;
7009                rel1.offset: 4 4;
7010                rel2.offset: -5 -5;
7011                aspect: 1.0 1.0;
7012                aspect_preference: BOTH;
7013                image.normal: "head.png";
7014             }
7015          }
7016          part { name: "clip";
7017             mouse_events:  0;
7018             type: RECT;
7019             description { state:    "default" 0.0;
7020                rel1.offset: 4 4;
7021                rel2.offset: -5 -5;
7022                color: 255 255 255 255;
7023             }
7024          }
7025          part { name: "elm.swallow.content";
7026             type: SWALLOW;
7027             clip_to: "clip";
7028             description { state: "default" 0.0;
7029                rel1.offset: 4 4;
7030                rel2.offset: -5 -5;
7031             }
7032          }
7033          part { name: "over";
7034             mouse_events:  0;
7035             description { state:    "default" 0.0;
7036                rel1.offset: 4 4;
7037                rel2.offset: -5 -5;
7038                image {
7039                   normal: "frame_1.png";
7040                   border: 2 2 28 22;
7041                   middle: 0;
7042                }
7043                fill.smooth: 0;
7044             }
7045          }
7046      }
7047    }
7048
7049 ///////////////////////////////////////////////////////////////////////////////
7050    group { name: "elm/thumb/base/default";
7051       images {
7052          image: "frame_1.png" COMP;
7053          image: "frame_2.png" COMP;
7054          image: "dia_grad.png" COMP;
7055          image: "busy-1.png" COMP;
7056          image: "busy-2.png" COMP;
7057          image: "busy-3.png" COMP;
7058          image: "busy-4.png" COMP;
7059          image: "busy-5.png" COMP;
7060          image: "busy-6.png" COMP;
7061          image: "busy-7.png" COMP;
7062          image: "busy-8.png" COMP;
7063          image: "busy-9.png" COMP;
7064       }
7065       parts {
7066          part { name: "base0";
7067             mouse_events:  0;
7068             description { state:        "default" 0.0;
7069                image.normal: "dia_grad.png";
7070                rel1.to: "over";
7071                rel2.to: "over";
7072                fill {
7073                   smooth: 0;
7074                   size {
7075                      relative: 0.0 1.0;
7076                      offset: 64 0;
7077                   }
7078                }
7079             }
7080          }
7081          part { name: "base";
7082             mouse_events:  0;
7083             description { state:        "default" 0.0;
7084                image {
7085                   normal: "frame_2.png";
7086                   border: 5 5 32 26;
7087                   middle: 0;
7088                }
7089                fill.smooth : 0;
7090             }
7091          }
7092          part { name: "clip";
7093             mouse_events:  0;
7094             type: RECT;
7095             description { state:        "default" 0.0;
7096                rel1.offset: 4 4;
7097                rel2.offset: -5 -5;
7098                color: 255 255 255 255;
7099             }
7100          }
7101          part { name: "elm.swallow.content";
7102             type: SWALLOW;
7103             clip_to: "clip";
7104             description { state:        "default" 0.0;
7105                rel1.offset: 4 4;
7106                rel2.offset: -5 -5;
7107             }
7108          }
7109          part { name: "progress";
7110             mouse_events: 0;
7111
7112             clip_to: "clip";
7113             description { state:        "default" 0.0;
7114                min: 32 32;
7115                max: 32 32;
7116                visible: 0;
7117                aspect: 1.0 1.0;
7118                aspect_preference: BOTH;
7119             }
7120             description { state:        "pulse" 0.0;
7121                inherit: "default" 0.0;
7122                visible: 1;
7123                image {
7124                   normal: "busy-9.png";
7125                   tween:  "busy-1.png";
7126                   tween:  "busy-2.png";
7127                   tween:  "busy-3.png";
7128                   tween:  "busy-4.png";
7129                   tween:  "busy-5.png";
7130                   tween:  "busy-6.png";
7131                   tween:  "busy-7.png";
7132                   tween:  "busy-8.png";
7133                   border: 7 7 7 7;
7134                }
7135             }
7136          }
7137          part { name: "over";
7138             mouse_events:  0;
7139             description { state:        "default" 0.0;
7140                rel1.offset: 4 4;
7141                rel2.offset: -5 -5;
7142                image {
7143                   normal: "frame_1.png";
7144                   border: 2 2 28 22;
7145                   middle: 0;
7146                }
7147                fill.smooth: 0;
7148             }
7149          }
7150          programs {
7151             program { name: "start_pulse";
7152                signal: "elm,state,pulse,start";
7153                source: "elm";
7154                action: STATE_SET "pulse" 0.0;
7155                target: "progress";
7156                transition: LINEAR 0.5;
7157                after: "start_pulse";
7158             }
7159             program { name: "stop_pulse";
7160                signal: "elm,state,pulse,stop";
7161                source: "elm";
7162                action: STATE_SET "default" 0.0;
7163                target: "progress";
7164             }
7165          }
7166       }
7167    }
7168
7169 ///////////////////////////////////////////////////////////////////////////////
7170    group { name: "elm/icon/home/default"; min: 32 32;
7171       images.image: "icon_home.png" COMP; parts { part { name: "base";
7172          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7173             image.normal: "icon_home.png"; } } } }
7174    group { name: "elm/icon/close/default"; min: 32 32;
7175       images.image: "icon_close.png" COMP; parts { part { name: "base";
7176          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7177             image.normal: "icon_close.png"; } } } }
7178    group { name: "elm/icon/apps/default"; min: 32 32;
7179       images.image: "icon_apps.png" COMP; parts { part { name: "base";
7180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7181             image.normal: "icon_apps.png"; } } } }
7182    group { name: "elm/icon/arrow_up/default"; min: 32 32;
7183       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
7184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7185             image.normal: "icon_arrow_up.png"; } } } }
7186    group { name: "elm/icon/arrow_down/default"; min: 32 32;
7187       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
7188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7189             image.normal: "icon_arrow_down.png"; } } } }
7190    group { name: "elm/icon/arrow_left/default"; min: 32 32;
7191       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
7192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7193             image.normal: "icon_arrow_left.png"; } } } }
7194    group { name: "elm/icon/arrow_right/default"; min: 32 32;
7195       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
7196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7197             image.normal: "icon_arrow_right.png"; } } } }
7198    group { name: "elm/icon/chat/default"; min: 32 32;
7199       images.image: "icon_chat.png" COMP; parts { part { name: "base";
7200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7201             image.normal: "icon_chat.png"; } } } }
7202    group { name: "elm/icon/clock/default"; min: 32 32;
7203       images.image: "icon_clock.png" COMP; parts { part { name: "base";
7204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7205             image.normal: "icon_clock.png"; } } } }
7206    group { name: "elm/icon/delete/default"; min: 32 32;
7207       images.image: "icon_delete.png" COMP; parts { part { name: "base";
7208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7209             image.normal: "icon_delete.png"; } } } }
7210    group { name: "elm/icon/edit/default"; min: 32 32;
7211       images.image: "icon_edit.png" COMP; parts { part { name: "base";
7212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7213             image.normal: "icon_edit.png"; } } } }
7214    group { name: "elm/icon/refresh/default"; min: 32 32;
7215       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
7216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7217             image.normal: "icon_refresh.png"; } } } }
7218    group { name: "elm/icon/folder/default"; min: 32 32;
7219       images.image: "icon_folder.png" COMP; parts { part { name: "base";
7220          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7221             image.normal: "icon_folder.png"; } } } }
7222    group { name: "elm/icon/file/default"; min: 32 32;
7223       images.image: "icon_file.png" COMP; parts { part { name: "base";
7224          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7225             image.normal: "icon_file.png"; } } } }
7226
7227 ///////////////////////////////////////////////////////////////////////////////
7228    group { name: "elm/toolbar/base/default";
7229       images {
7230          image: "bt_dis_base.png" COMP;
7231          image: "bt_dis_hilight.png" COMP;
7232          image: "bt_dis_shine.png" COMP;
7233          image: "icon_left_arrow.png" COMP;
7234          image: "icon_right_arrow.png" COMP;
7235       }
7236       parts {
7237          part { name: "base";
7238             mouse_events: 1;
7239             description { state: "default" 0.0;
7240                rel1 {
7241                   relative: 0.0 0.0;
7242                   offset: 2 2;
7243                }
7244                rel2.offset: -3 -3;
7245                image {
7246                   normal: "bt_dis_base.png";
7247                   border: 4 4 4 4;
7248                }
7249                image.middle: SOLID;
7250             }
7251          }
7252          part { name: "clipper";
7253             type: RECT;
7254             mouse_events: 0;
7255             description {
7256                state: "default" 0.0;
7257                rel1 {
7258                   to: "base";
7259                   offset: 2 2;
7260                }
7261                rel2 {
7262                   to: "base";
7263                   offset: -3 -3;
7264                }
7265             }
7266          }
7267          part { name: "elm.swallow.content";
7268             clip_to: "clipper";
7269             type: SWALLOW;
7270             description {
7271                state: "default" 0.0;
7272                rel1.to: "clipper";
7273                rel2.to: "clipper";
7274             }
7275          }
7276          part { name: "over2";
7277             mouse_events: 0;
7278             description { state: "default" 0.0;
7279                rel1.to: "base";
7280                rel2.to: "base";
7281                image {
7282                   normal: "bt_dis_shine.png";
7283                   border: 4 4 4 4;
7284                }
7285             }
7286          }
7287          part { name: "over1";
7288             mouse_events: 0;
7289             description { state: "default" 0.0;
7290                rel1.to: "base";
7291                rel2.to: "base";
7292                rel2.relative: 1.0 0.5;
7293                image {
7294                   normal: "bt_dis_hilight.png";
7295                   border: 4 4 4 0;
7296                }
7297                color: 255 255 255 128;
7298             }
7299          }
7300          part { name: "left_arrow";
7301             mouse_events: 0;
7302             description { state: "default" 0.0;
7303                image.normal: "icon_left_arrow.png";
7304                aspect: 1.0 1.0;
7305                aspect_preference: VERTICAL;
7306                align: 0.0 0.5;
7307                min: 32 32;
7308                max: 32 32;
7309             }
7310             description { state: "hidden" 0.0;
7311                inherit: "default" 0.0;
7312                visible: 0;
7313                color: 255 255 255 0;
7314             }
7315          }
7316          part { name: "right_arrow";
7317             mouse_events: 0;
7318             description { state: "default" 0.0;
7319                image.normal: "icon_right_arrow.png";
7320                aspect: 1.0 1.0;
7321                aspect_preference: VERTICAL;
7322                align: 1.0 0.5;
7323                min: 32 32;
7324                max: 32 32;
7325             }
7326             description { state: "hidden" 0.0;
7327                inherit: "default" 0.0;
7328                visible: 0;
7329                color: 255 255 255 0;
7330             }
7331          }
7332          part { name: "event";
7333             type: RECT;
7334             mouse_events: 1;
7335             repeat_events: 1;
7336             description { state: "default" 0.0;
7337                color: 0 0 0 0;
7338             }
7339          }
7340       }
7341       programs {
7342          program { name: "sb_hbar_show";
7343             signal: "elm,action,show,hbar";
7344             source: "elm";
7345             action:  STATE_SET "default" 0.0;
7346             transition: LINEAR 0.5;
7347             target: "left_arrow";
7348             target: "right_arrow";
7349          }
7350          program { name: "sb_hbar_hide";
7351             signal: "elm,action,hide,hbar";
7352             source: "elm";
7353             action:  STATE_SET "hidden" 0.0;
7354             target: "left_arrow";
7355             target: "right_arrow";
7356             transition: LINEAR 0.5;
7357          }
7358       }
7359    }
7360
7361    group { name: "elm/toolbar/item/default";
7362        images {
7363            image: "toolbar_sel.png" COMP;
7364        }
7365        parts {
7366            part { name: "label2";
7367                type: TEXT;
7368                mouse_events:  0;
7369                scale: 1;
7370                description { state: "default" 0.0;
7371                    align: 0.5 1.0;
7372                    fixed: 0 1;
7373                    rel1.to: "elm.text";
7374                    rel2.to: "elm.text";
7375                    color: 0 0 0 255;
7376                    text {
7377                        font: "Sans";
7378                        text_source: "elm.text";
7379                        size: 10;
7380                        min: 1 1;
7381                        align: 0.5 0.5;
7382                    }
7383                }
7384                description { state: "selected" 0.0;
7385                    inherit: "default" 0.0;
7386                    visible: 0;
7387                }
7388                description { state: "disabled" 0.0;
7389                    inherit: "default" 0.0;
7390                    color: 0 0 0 128;
7391                    color3: 0 0 0 0;
7392                }
7393                description { state: "disabled_visible" 0.0;
7394                    inherit: "default" 0.0;
7395                    color: 0 0 0 128;
7396                    color3: 0 0 0 0;
7397                    visible: 1;
7398                    text.min: 1 1;
7399                }
7400            }
7401            part { name: "bg";
7402                mouse_events: 0;
7403                description { state: "default" 0.0;
7404                    visible: 0;
7405                    color: 255 255 255 0;
7406                    image {
7407                        normal: "toolbar_sel.png";
7408                        border: 3 3 0 0;
7409                    }
7410                    image.middle: SOLID;
7411                    fill.smooth: 0;
7412                }
7413                description { state: "selected" 0.0;
7414                    inherit: "default" 0.0;
7415                    visible: 1;
7416                    color: 255 255 255 255;
7417                }
7418                description { state: "disabled" 0.0;
7419                    inherit: "default" 0.0;
7420                    visible: 0;
7421                    color: 255 255 255 0;
7422                }
7423            }
7424            part { name: "elm.swallow.icon";
7425                type: SWALLOW;
7426                description { state: "default" 0.0;
7427                    align: 0.5 0.5;
7428                    fixed: 0 0;
7429                    //aspect: 1.0 1.0;
7430                    //aspect_preference: VERTICAL;
7431                    rel1 {
7432                        relative: 0.0 0.0;
7433                        offset: 2 2;
7434                    }
7435                    rel2 {
7436                        to_y: "elm.text";
7437                        relative: 1.0 0.0;
7438                        offset: -3 -1;
7439                    }
7440                    color: 0 0 0 0;
7441                }
7442            }
7443            part { name: "elm.text";
7444                type: TEXT;
7445                effect: SOFT_SHADOW;
7446                mouse_events:  0;
7447                scale: 1;
7448                description { state: "default" 0.0;
7449                    align: 0.5 1.0;
7450                    fixed: 0 1;
7451                    rel1 {
7452                        relative: 0.0 1.0;
7453                        offset:   0 -1;
7454                    }
7455                    rel2 {
7456                        relative: 1.0 1.0;
7457                        offset:   -1 -1;
7458                    }
7459                    visible: 0;
7460                    color: 224 224 224 255;
7461                    color3: 0 0 0 32;
7462                    text {
7463                        font: "Sans:style=Bold";
7464                        size: 10;
7465                        min: 1 1;
7466                        align: 0.5 0.5;
7467                    }
7468                }
7469                description { state: "selected" 0.0;
7470                    inherit: "default" 0.0;
7471                    visible: 1;
7472                }
7473                description { state: "visible" 0.0;
7474                    inherit: "default" 0.0;
7475                    visible: 1;
7476                    text.min: 1 1;
7477                }
7478                description { state: "disabled" 0.0;
7479                    inherit: "default" 0.0;
7480                    color: 0 0 0 128;
7481                    color3: 0 0 0 0;
7482                }
7483                description { state: "disabled_visible" 0.0;
7484                    inherit: "default" 0.0;
7485                    color: 0 0 0 128;
7486                    color3: 0 0 0 0;
7487                    visible: 1;
7488                    text.min: 1 1;
7489                }
7490            }
7491            part { name: "event";
7492                type: RECT;
7493                mouse_events: 1;
7494                ignore_flags: ON_HOLD;
7495                description { state: "default" 0.0;
7496                    color: 0 0 0 0;
7497                }
7498            }
7499        }
7500        programs {
7501            program { name: "go_active";
7502                signal:  "elm,state,selected";
7503                source:  "elm";
7504                action:  STATE_SET "selected" 0.0;
7505                target:  "bg";
7506                target:  "elm.text";
7507                target:  "label2";
7508                transition: LINEAR 0.2;
7509            }
7510            program { name: "go_passive";
7511                signal:  "elm,state,unselected";
7512                source:  "elm";
7513                action:  STATE_SET "default" 0.0;
7514                target:  "bg";
7515                target:  "elm.text";
7516                target:  "label2";
7517                transition: LINEAR 0.1;
7518            }
7519            program { name: "go";
7520                signal:  "mouse,up,1";
7521                source:  "event";
7522                action:  SIGNAL_EMIT "elm,action,click" "elm";
7523            }
7524            program { name: "disable";
7525                signal: "elm,state,disabled";
7526                source: "elm";
7527                action: STATE_SET "disabled" 0.0;
7528                target: "label2";
7529                target: "bg";
7530                after: "disable_text";
7531            }
7532            program { name: "disable_text";
7533                script {
7534                    new st[31];
7535                    new Float:vl;
7536                    get_state(PART:"elm.text", st, 30, vl);
7537                    if (!strcmp(st, "visible"))
7538                    set_state(PART:"elm.text", "disabled_visible", 0.0);
7539                    else
7540                    set_state(PART:"elm.text", "disabled", 0.0);
7541                }
7542            }
7543            program { name: "enable";
7544                signal: "elm,state,enabled";
7545                source: "elm";
7546                action: STATE_SET "default" 0.0;
7547                target: "label2";
7548                target: "bg";
7549                after: "enable_text";
7550            }
7551            program { name: "enable_text";
7552                script {
7553                    new st[31];
7554                    new Float:vl;
7555                    get_state(PART:"elm.text", st, 30, vl);
7556                    if (!strcmp(st, "disabled_visible"))
7557                    set_state(PART:"elm.text", "visible", 0.0);
7558                    else
7559                    set_state(PART:"elm.text", "default", 0.0);
7560                }
7561            }
7562        }
7563    }
7564
7565    group { name: "elm/toolbar/separator/default";
7566       images {
7567          image: "toolbar_separator_v.png" COMP;
7568       }
7569       parts {
7570          part { name: "separator"; // separator group
7571             description { state: "default" 0.0;
7572                min: 2 2;
7573                max: 2 9999;
7574                rel1.offset: 4 4;
7575                rel2.offset: -5 -5;
7576                image {
7577                   normal: "toolbar_separator_v.png";
7578                }
7579                fill {
7580                   smooth: 0;
7581                }
7582             }
7583          }
7584       }
7585    }
7586
7587    ///////////////////////////////////////////////////////////////////////////////
7588    group { name: "elm/notify/block_events/default";
7589        parts {
7590            part { name: "block_events";
7591                type: RECT;
7592                description { state: "default" 0.0;
7593                    color: 0 0 0 64;
7594                    visible: 1;
7595                }
7596            }
7597        }
7598            programs {
7599                    program {
7600                                 name: "block_clicked";
7601                                 signal: "mouse,clicked,1";
7602                                 source: "block_events";
7603                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
7604                    }
7605            }
7606    }
7607    group { name: "elm/notify/base/default";
7608        //this group is a design similar to the inwin group
7609        images {
7610            image: "shad_circ.png" COMP;
7611            image: "bt_dis_base.png" COMP;
7612            image: "bt_dis_hilight.png" COMP;
7613        }
7614        parts {
7615            part { name: "base";
7616                type: RECT;
7617                mouse_events: 0;
7618                repeat_events: 1;
7619                description { state: "default" 0.0;
7620                    color: 0 0 0 0;
7621                    rel1.offset: 10 10;
7622                    rel2.offset: -10 -10;
7623                    rel1.relative: 0.0 -1.0;
7624                    rel2.relative: 1.0 0.0;
7625                }
7626                description { state: "visible" 0.0;
7627                    inherit: "default" 0.0;
7628                    color: 0 0 0 64;
7629                    rel1.relative: 0.0 0.0;
7630                    rel2.relative: 1.0 1.0;
7631                }
7632            }
7633            part { name: "shad";
7634                mouse_events:  0;
7635                description { state: "default" 0.0;
7636                    image.normal: "shad_circ.png";
7637                    rel1.to: "elm.swallow.content";
7638                    rel1.offset: -64 -64;
7639                    rel2.to: "elm.swallow.content";
7640                    rel2.offset: 63 63;
7641                    fill.smooth: 0;
7642                }
7643            }
7644            part { name: "pop";
7645                mouse_events: 1;
7646                description { state: "default" 0.0;
7647                    rel1.to: "elm.swallow.content";
7648                    rel1.offset: -5 -5;
7649                    rel2.to: "elm.swallow.content";
7650                    rel2.offset: 4 4;
7651                    image {
7652                        normal: "bt_dis_base.png";
7653                        border: 4 4 4 4;
7654                    }
7655                    image.middle: SOLID;
7656                }
7657            }
7658            part { name: "popover";
7659                mouse_events: 0;
7660                description { state: "default" 0.0;
7661                    rel1.to: "pop";
7662                    rel2.to: "pop";
7663                    rel2.relative: 1.0 0.5;
7664                    image {
7665                        normal: "bt_dis_hilight.png";
7666                        border: 4 4 4 0;
7667                    }
7668                }
7669            }
7670            part { name: "elm.swallow.content";
7671                type: SWALLOW;
7672                description { state: "default" 0.0;
7673                    rel1.to: "base";
7674                    rel2.to: "base";
7675                }
7676            }
7677        }
7678        programs {
7679            program { name: "show";
7680                signal: "elm,action,show";
7681                source: "elm";
7682                action: STATE_SET "visible" 0.0;
7683                target: "base";
7684            }
7685            program { name: "show_2";
7686                 signal: "show";
7687                 action: STATE_SET "default" 0.0;
7688                 target: "base";
7689                 after: "show_3";
7690            }
7691            program { name: "show_3";
7692                 signal: "show";
7693                 action: STATE_SET "visible" 0.0;
7694                 target: "base";
7695                 transition: LINEAR 0.5;
7696            }
7697            program { name: "hide";
7698                signal: "elm,action,hide";
7699                source: "elm";
7700                action: STATE_SET "default" 0.0;
7701                target: "base";
7702            }
7703        }
7704    }
7705    group { name: "elm/notify/base/center";
7706        //this group is a design similar to the inwin group
7707        images {
7708            image: "bt_dis_base.png" COMP;
7709        }
7710        parts {
7711            part { name: "base";
7712                type: RECT;
7713                mouse_events: 0;
7714                repeat_events: 1;
7715                description { state: "default" 0.0;
7716                    color: 0 0 0 0;
7717                    rel1.relative: 0.0 0.0;
7718                    rel2.relative: 1.0 1.0;
7719                }
7720            }
7721            part { name: "pop";
7722                mouse_events: 1;
7723                description { state: "default" 0.0;
7724                    rel1.to: "elm.swallow.content";
7725                    rel1.offset: -5 -5;
7726                    rel2.to: "elm.swallow.content";
7727                    rel2.offset: 4 4;
7728                    image {
7729                        normal: "bt_dis_base.png";
7730                        border: 4 4 4 4;
7731                    }
7732                }
7733            }
7734            part { name: "elm.swallow.content";
7735                type: SWALLOW;
7736                description { state: "default" 0.0;
7737                    rel1.to: "base";
7738                    rel2.to: "base";
7739                }
7740            }
7741        }
7742        programs {
7743            program { name: "show";
7744                signal: "elm,action,show";
7745                source: "elm";
7746                action: STATE_SET "default" 0.0;
7747                target: "base";
7748            }
7749            program { name: "show_2";
7750                 signal: "show";
7751                 action: STATE_SET "default" 0.0;
7752                 target: "base";
7753            }
7754            program { name: "hide";
7755                signal: "elm,action,hide";
7756                source: "elm";
7757                action: STATE_SET "default" 0.0;
7758                target: "base";
7759            }
7760        }
7761    }
7762    group { name: "elm/notify/base/bottom";
7763        //this group is a design similar to the inwin group
7764        images {
7765            image: "shad_circ.png" COMP;
7766            image: "bt_dis_base.png" COMP;
7767            image: "bt_dis_hilight.png" COMP;
7768        }
7769        parts {
7770            part { name: "base";
7771                type: RECT;
7772                mouse_events: 0;
7773                repeat_events: 1;
7774                description { state: "default" 0.0;
7775                    color: 0 0 0 0;
7776                    rel1.offset: 10 10;
7777                    rel2.offset: -10 -10;
7778                    rel1.relative: 0.0 1.0;
7779                    rel2.relative: 1.0 2.0;
7780                }
7781                description { state: "visible" 0.0;
7782                    inherit: "default" 0.0;
7783                    color: 0 0 0 64;
7784                    rel1.relative: 0.0 0.0;
7785                    rel2.relative: 1.0 1.0;
7786                }
7787            }
7788            part { name: "shad";
7789                mouse_events:  0;
7790                description { state: "default" 0.0;
7791                    image.normal: "shad_circ.png";
7792                    rel1.to: "elm.swallow.content";
7793                    rel1.offset: -64 -64;
7794                    rel2.to: "elm.swallow.content";
7795                    rel2.offset: 63 63;
7796                    fill.smooth: 0;
7797                }
7798            }
7799            part { name: "pop";
7800                mouse_events: 1;
7801                description { state: "default" 0.0;
7802                    rel1.to: "elm.swallow.content";
7803                    rel1.offset: -5 -5;
7804                    rel2.to: "elm.swallow.content";
7805                    rel2.offset: 4 4;
7806                    image {
7807                        normal: "bt_dis_base.png";
7808                        border: 4 4 4 4;
7809                    }
7810                    image.middle: SOLID;
7811                }
7812            }
7813            part { name: "popover";
7814                mouse_events: 0;
7815                description { state: "default" 0.0;
7816                    rel1.to: "pop";
7817                    rel2.to: "pop";
7818                    rel2.relative: 1.0 0.5;
7819                    image {
7820                        normal: "bt_dis_hilight.png";
7821                        border: 4 4 4 0;
7822                    }
7823                }
7824            }
7825            part { name: "elm.swallow.content";
7826                type: SWALLOW;
7827                description { state: "default" 0.0;
7828                    rel1.to: "base";
7829                    rel2.to: "base";
7830                }
7831            }
7832        }
7833        programs {
7834            program { name: "show";
7835                signal: "elm,action,show";
7836                source: "elm";
7837                action: STATE_SET "visible" 0.0;
7838                target: "base";
7839            }
7840            program { name: "show_2";
7841                 signal: "show";
7842                 action: STATE_SET "default" 0.0;
7843                 target: "base";
7844                 after: "show_3";
7845            }
7846            program { name: "show_3";
7847                 signal: "show";
7848                 action: STATE_SET "visible" 0.0;
7849                 target: "base";
7850                 transition: LINEAR 0.5;
7851            }
7852            program { name: "hide";
7853                signal: "elm,action,hide";
7854                source: "elm";
7855                action: STATE_SET "default" 0.0;
7856                target: "base";
7857            }
7858        }
7859    }
7860    group { name: "elm/notify/base/left";
7861        //this group is a design similar to the inwin group
7862        images {
7863            image: "shad_circ.png" COMP;
7864            image: "bt_dis_base.png" COMP;
7865            image: "bt_dis_hilight.png" COMP;
7866        }
7867        parts {
7868            part { name: "base";
7869                type: RECT;
7870                mouse_events: 0;
7871                repeat_events: 1;
7872                description { state: "default" 0.0;
7873                    color: 0 0 0 0;
7874                    rel1.offset: 10 10;
7875                    rel2.offset: -10 -10;
7876                    rel1.relative: -1.0 0.0;
7877                    rel2.relative: 0.0 1.0;
7878                }
7879                description { state: "visible" 0.0;
7880                    inherit: "default" 0.0;
7881                    color: 0 0 0 64;
7882                    rel1.relative: 0.0 0.0;
7883                    rel2.relative: 1.0 1.0;
7884                }
7885            }
7886            part { name: "shad";
7887                mouse_events:  0;
7888                description { state: "default" 0.0;
7889                    image.normal: "shad_circ.png";
7890                    rel1.to: "elm.swallow.content";
7891                    rel1.offset: -64 -64;
7892                    rel2.to: "elm.swallow.content";
7893                    rel2.offset: 63 63;
7894                    fill.smooth: 0;
7895                }
7896            }
7897            part { name: "pop";
7898                mouse_events: 1;
7899                description { state: "default" 0.0;
7900                    rel1.to: "elm.swallow.content";
7901                    rel1.offset: -5 -5;
7902                    rel2.to: "elm.swallow.content";
7903                    rel2.offset: 4 4;
7904                    image {
7905                        normal: "bt_dis_base.png";
7906                        border: 4 4 4 4;
7907                    }
7908                    image.middle: SOLID;
7909                }
7910            }
7911            part { name: "popover";
7912                mouse_events: 0;
7913                description { state: "default" 0.0;
7914                    rel1.to: "pop";
7915                    rel2.to: "pop";
7916                    rel2.relative: 1.0 0.5;
7917                    image {
7918                        normal: "bt_dis_hilight.png";
7919                        border: 4 4 4 0;
7920                    }
7921                }
7922            }
7923            part { name: "elm.swallow.content";
7924                type: SWALLOW;
7925                description { state: "default" 0.0;
7926                    rel1.to: "base";
7927                    rel2.to: "base";
7928                }
7929            }
7930        }
7931        programs {
7932            program { name: "show";
7933                signal: "elm,action,show";
7934                source: "elm";
7935                action: STATE_SET "visible" 0.0;
7936                target: "base";
7937            }
7938            program { name: "show_2";
7939                signal: "show";
7940                action: STATE_SET "default" 0.0;
7941                target: "base";
7942                after: "show_3";
7943            }
7944            program { name: "show_3";
7945                signal: "show";
7946                action: STATE_SET "visible" 0.0;
7947                target: "base";
7948                transition: LINEAR 0.5;
7949            }
7950            program { name: "hide";
7951                signal: "elm,action,hide";
7952                source: "elm";
7953                action: STATE_SET "default" 0.0;
7954                target: "base";
7955            }
7956        }
7957    }
7958    group { name: "elm/notify/base/right";
7959        //this group is a design similar to the inwin group
7960        images {
7961            image: "shad_circ.png" COMP;
7962            image: "bt_dis_base.png" COMP;
7963            image: "bt_dis_hilight.png" COMP;
7964        }
7965        parts {
7966            part { name: "base";
7967                type: RECT;
7968                mouse_events: 0;
7969                repeat_events: 1;
7970                 description { state: "default" 0.0;
7971                    color: 0 0 0 0;
7972                    rel1.offset: 10 10;
7973                    rel2.offset: -10 -10;
7974                    rel1.relative: 1.0 0.0;
7975                    rel2.relative: 2.0 1.0;
7976                }
7977                description { state: "visible" 0.0;
7978                    inherit: "default" 0.0;
7979                    color: 0 0 0 64;
7980                    rel1.relative: 0.0 0.0;
7981                    rel2.relative: 1.0 1.0;
7982                }
7983            }
7984            part { name: "shad";
7985                mouse_events:  0;
7986                description { state: "default" 0.0;
7987                    image.normal: "shad_circ.png";
7988                    rel1.to: "elm.swallow.content";
7989                    rel1.offset: -64 -64;
7990                    rel2.to: "elm.swallow.content";
7991                    rel2.offset: 63 63;
7992                    fill.smooth: 0;
7993                }
7994            }
7995            part { name: "pop";
7996                mouse_events: 1;
7997                description { state: "default" 0.0;
7998                    rel1.to: "elm.swallow.content";
7999                    rel1.offset: -5 -5;
8000                    rel2.to: "elm.swallow.content";
8001                    rel2.offset: 4 4;
8002                    image {
8003                        normal: "bt_dis_base.png";
8004                        border: 4 4 4 4;
8005                    }
8006                    image.middle: SOLID;
8007                }
8008            }
8009            part { name: "popover";
8010                mouse_events: 0;
8011                description { state: "default" 0.0;
8012                    rel1.to: "pop";
8013                    rel2.to: "pop";
8014                    rel2.relative: 1.0 0.5;
8015                    image {
8016                        normal: "bt_dis_hilight.png";
8017                        border: 4 4 4 0;
8018                    }
8019                }
8020            }
8021            part { name: "elm.swallow.content";
8022                type: SWALLOW;
8023                description { state: "default" 0.0;
8024                    rel1.to: "base";
8025                    rel2.to: "base";
8026                }
8027            }
8028        }
8029        programs {
8030            program { name: "show";
8031                signal: "elm,action,show";
8032                source: "elm";
8033                action: STATE_SET "visible" 0.0;
8034                target: "base";
8035            }
8036            program { name: "show_2";
8037                signal: "show";
8038                action: STATE_SET "default" 0.0;
8039                target: "base";
8040                after: "show_3";
8041            }
8042            program { name: "show_3";
8043                signal: "show";
8044                action: STATE_SET "visible" 0.0;
8045                target: "base";
8046                transition: LINEAR 0.5;
8047            }
8048            program { name: "hide";
8049                signal: "elm,action,hide";
8050                source: "elm";
8051                action: STATE_SET "default" 0.0;
8052                target: "base";
8053            }
8054        }
8055    }
8056    group { name: "elm/notify/base/top_left";
8057        //this group is a design similar to the inwin group
8058        images {
8059            image: "shad_circ.png" COMP;
8060            image: "bt_dis_base.png" COMP;
8061            image: "bt_dis_hilight.png" COMP;
8062        }
8063        parts {
8064            part { name: "base";
8065                type: RECT;
8066                mouse_events: 0;
8067                repeat_events: 1;
8068                 description { state: "default" 0.0;
8069                    color: 0 0 0 0;
8070                    rel1.offset: 10 10;
8071                    rel2.offset: -10 -10;
8072                    rel1.relative: 0.0 -1.0;
8073                    rel2.relative: 1.0 0.0;
8074                }
8075                description { state: "visible" 0.0;
8076                    inherit: "default" 0.0;
8077                    color: 0 0 0 64;
8078                    rel1.relative: 0.0 0.0;
8079                    rel2.relative: 1.0 1.0;
8080                }
8081            }
8082            part { name: "shad";
8083                mouse_events:  0;
8084                description { state: "default" 0.0;
8085                    image.normal: "shad_circ.png";
8086                    rel1.to: "elm.swallow.content";
8087                    rel1.offset: -64 -64;
8088                    rel2.to: "elm.swallow.content";
8089                    rel2.offset: 63 63;
8090                    fill.smooth: 0;
8091                }
8092            }
8093            part { name: "pop";
8094                mouse_events: 1;
8095                description { state: "default" 0.0;
8096                    rel1.to: "elm.swallow.content";
8097                    rel1.offset: -5 -5;
8098                    rel2.to: "elm.swallow.content";
8099                    rel2.offset: 4 4;
8100                    image {
8101                        normal: "bt_dis_base.png";
8102                        border: 4 4 4 4;
8103                    }
8104                    image.middle: SOLID;
8105                }
8106            }
8107            part { name: "popover";
8108                mouse_events: 0;
8109                description { state: "default" 0.0;
8110                    rel1.to: "pop";
8111                    rel2.to: "pop";
8112                    rel2.relative: 1.0 0.5;
8113                    image {
8114                        normal: "bt_dis_hilight.png";
8115                        border: 4 4 4 0;
8116                    }
8117                }
8118            }
8119            part { name: "elm.swallow.content";
8120                type: SWALLOW;
8121                description { state: "default" 0.0;
8122                    rel1.to: "base";
8123                    rel2.to: "base";
8124                }
8125            }
8126        }
8127        programs {
8128            program { name: "show";
8129                signal: "elm,action,show";
8130                source: "elm";
8131                action: STATE_SET "visible" 0.0;
8132                target: "base";
8133            }
8134            program { name: "show_2";
8135                signal: "show";
8136                action: STATE_SET "default" 0.0;
8137                target: "base";
8138                after: "show_3";
8139            }
8140            program { name: "show_3";
8141                signal: "show";
8142                action: STATE_SET "visible" 0.0;
8143                target: "base";
8144                transition: LINEAR 0.5;
8145            }
8146            program { name: "hide";
8147                signal: "elm,action,hide";
8148                source: "elm";
8149                action: STATE_SET "default" 0.0;
8150                target: "base";
8151            }
8152        }
8153    }
8154    group { name: "elm/notify/base/top_right";
8155        //this group is a design similar to the inwin group
8156        images {
8157            image: "shad_circ.png" COMP;
8158            image: "bt_dis_base.png" COMP;
8159            image: "bt_dis_hilight.png" COMP;
8160        }
8161        parts {
8162            part { name: "base";
8163                type: RECT;
8164                mouse_events: 0;
8165                repeat_events: 1;
8166                description { state: "default" 0.0;
8167                    color: 0 0 0 0;
8168                    rel1.offset: 10 10;
8169                    rel2.offset: -10 -10;
8170                    rel1.relative: 0.0 -1.0;
8171                    rel2.relative: 1.0 0.0;
8172                }
8173                description { state: "visible" 0.0;
8174                    inherit: "default" 0.0;
8175                    color: 0 0 0 64;
8176                    rel1.relative: 0.0 0.0;
8177                    rel2.relative: 1.0 1.0;
8178                }
8179            }
8180            part { name: "shad";
8181                mouse_events:  0;
8182                description { state: "default" 0.0;
8183                    image.normal: "shad_circ.png";
8184                    rel1.to: "elm.swallow.content";
8185                    rel1.offset: -64 -64;
8186                    rel2.to: "elm.swallow.content";
8187                    rel2.offset: 63 63;
8188                    fill.smooth: 0;
8189                }
8190            }
8191            part { name: "pop";
8192                mouse_events: 1;
8193                description { state: "default" 0.0;
8194                    rel1.to: "elm.swallow.content";
8195                    rel1.offset: -5 -5;
8196                    rel2.to: "elm.swallow.content";
8197                    rel2.offset: 4 4;
8198                    image {
8199                        normal: "bt_dis_base.png";
8200                        border: 4 4 4 4;
8201                    }
8202                    image.middle: SOLID;
8203                }
8204            }
8205            part { name: "popover";
8206                mouse_events: 0;
8207                description { state: "default" 0.0;
8208                    rel1.to: "pop";
8209                    rel2.to: "pop";
8210                    rel2.relative: 1.0 0.5;
8211                    image {
8212                        normal: "bt_dis_hilight.png";
8213                        border: 4 4 4 0;
8214                    }
8215                }
8216            }
8217            part { name: "elm.swallow.content";
8218                type: SWALLOW;
8219                description { state: "default" 0.0;
8220                    rel1.to: "base";
8221                    rel2.to: "base";
8222                }
8223            }
8224        }
8225        programs {
8226            program { name: "show";
8227                signal: "elm,action,show";
8228                source: "elm";
8229                action: STATE_SET "visible" 0.0;
8230                target: "base";
8231            }
8232            program { name: "show_2";
8233                signal: "show";
8234                action: STATE_SET "default" 0.0;
8235                target: "base";
8236                after: "show_3";
8237            }
8238            program { name: "show_3";
8239                signal: "show";
8240                action: STATE_SET "visible" 0.0;
8241                target: "base";
8242                transition: LINEAR 0.5;
8243            }
8244            program { name: "hide";
8245                signal: "elm,action,hide";
8246                source: "elm";
8247                action: STATE_SET "default" 0.0;
8248                target: "base";
8249            }
8250        }
8251    }
8252    group { name: "elm/notify/base/bottom_left";
8253        //this group is a design similar to the inwin group
8254        images {
8255            image: "shad_circ.png" COMP;
8256            image: "bt_dis_base.png" COMP;
8257            image: "bt_dis_hilight.png" COMP;
8258        }
8259        parts {
8260            part { name: "base";
8261                type: RECT;
8262                mouse_events: 0;
8263                repeat_events: 1;
8264                description { state: "default" 0.0;
8265                    color: 0 0 0 0;
8266                    rel1.offset: 10 10;
8267                    rel2.offset: -10 -10;
8268                    rel1.relative: 0.0 1.0;
8269                    rel2.relative: 1.0 2.0;
8270                }
8271                description { state: "visible" 0.0;
8272                    inherit: "default" 0.0;
8273                    color: 0 0 0 64;
8274                    rel1.relative: 0.0 0.0;
8275                    rel2.relative: 1.0 1.0;
8276                }
8277            }
8278            part { name: "shad";
8279                mouse_events:  0;
8280                description { state: "default" 0.0;
8281                    image.normal: "shad_circ.png";
8282                    rel1.to: "elm.swallow.content";
8283                    rel1.offset: -64 -64;
8284                    rel2.to: "elm.swallow.content";
8285                    rel2.offset: 63 63;
8286                    fill.smooth: 0;
8287                }
8288            }
8289            part { name: "pop";
8290                mouse_events: 1;
8291                description { state: "default" 0.0;
8292                    rel1.to: "elm.swallow.content";
8293                    rel1.offset: -5 -5;
8294                    rel2.to: "elm.swallow.content";
8295                    rel2.offset: 4 4;
8296                    image {
8297                        normal: "bt_dis_base.png";
8298                        border: 4 4 4 4;
8299                    }
8300                    image.middle: SOLID;
8301                }
8302            }
8303            part { name: "popover";
8304                mouse_events: 0;
8305                description { state: "default" 0.0;
8306                    rel1.to: "pop";
8307                    rel2.to: "pop";
8308                    rel2.relative: 1.0 0.5;
8309                    image {
8310                        normal: "bt_dis_hilight.png";
8311                        border: 4 4 4 0;
8312                    }
8313                }
8314            }
8315            part { name: "elm.swallow.content";
8316                type: SWALLOW;
8317                description { state: "default" 0.0;
8318                    rel1.to: "base";
8319                    rel2.to: "base";
8320                }
8321            }
8322        }
8323        programs {
8324            program { name: "show";
8325                signal: "elm,action,show";
8326                source: "elm";
8327                action: STATE_SET "visible" 0.0;
8328                target: "base";
8329            }
8330            program { name: "show_2";
8331                signal: "show";
8332                action: STATE_SET "default" 0.0;
8333                target: "base";
8334                after: "show_3";
8335            }
8336            program { name: "show_3";
8337                signal: "show";
8338                action: STATE_SET "visible" 0.0;
8339                target: "base";
8340                transition: LINEAR 0.5;
8341            }
8342            program { name: "hide";
8343                signal: "elm,action,hide";
8344                source: "elm";
8345                action: STATE_SET "default" 0.0;
8346                target: "base";
8347            }
8348        }
8349    }
8350    group { name: "elm/notify/base/bottom_right";
8351        //this group is a design similar to the inwin group
8352        images {
8353            image: "shad_circ.png" COMP;
8354            image: "bt_dis_base.png" COMP;
8355            image: "bt_dis_hilight.png" COMP;
8356        }
8357        parts {
8358            part { name: "base";
8359                type: RECT;
8360                mouse_events: 0;
8361                repeat_events: 1;
8362               description { state: "default" 0.0;
8363                    color: 0 0 0 0;
8364                    rel1.offset: 10 10;
8365                    rel2.offset: -10 -10;
8366                    rel1.relative: 0.0 1.0;
8367                    rel2.relative: 1.0 2.0;
8368                }
8369                description { state: "visible" 0.0;
8370                    inherit: "default" 0.0;
8371                    color: 0 0 0 64;
8372                    rel1.relative: 0.0 0.0;
8373                    rel2.relative: 1.0 1.0;
8374                }
8375            }
8376            part { name: "shad";
8377                mouse_events:  0;
8378                description { state: "default" 0.0;
8379                    image.normal: "shad_circ.png";
8380                    rel1.to: "elm.swallow.content";
8381                    rel1.offset: -64 -64;
8382                    rel2.to: "elm.swallow.content";
8383                    rel2.offset: 63 63;
8384                    fill.smooth: 0;
8385                }
8386            }
8387            part { name: "pop";
8388                mouse_events: 1;
8389                description { state: "default" 0.0;
8390                    rel1.to: "elm.swallow.content";
8391                    rel1.offset: -5 -5;
8392                    rel2.to: "elm.swallow.content";
8393                    rel2.offset: 4 4;
8394                    image {
8395                        normal: "bt_dis_base.png";
8396                        border: 4 4 4 4;
8397                    }
8398                    image.middle: SOLID;
8399                }
8400            }
8401            part { name: "popover";
8402                mouse_events: 0;
8403                description { state: "default" 0.0;
8404                    rel1.to: "pop";
8405                    rel2.to: "pop";
8406                    rel2.relative: 1.0 0.5;
8407                    image {
8408                        normal: "bt_dis_hilight.png";
8409                        border: 4 4 4 0;
8410                    }
8411                }
8412            }
8413            part { name: "elm.swallow.content";
8414                type: SWALLOW;
8415                description { state: "default" 0.0;
8416                    rel1.to: "base";
8417                    rel2.to: "base";
8418                }
8419            }
8420        }
8421        programs {
8422            program { name: "show";
8423                signal: "elm,action,show";
8424                source: "elm";
8425                action: STATE_SET "visible" 0.0;
8426                target: "base";
8427            }
8428            program { name: "show_2";
8429                signal: "show";
8430                action: STATE_SET "default" 0.0;
8431                target: "base";
8432                after: "show_3";
8433            }
8434            program { name: "show_3";
8435                signal: "show";
8436                action: STATE_SET "visible" 0.0;
8437                target: "base";
8438                transition: LINEAR 0.5;
8439            }
8440            program { name: "hide";
8441                signal: "elm,action,hide";
8442                source: "elm";
8443                action: STATE_SET "default" 0.0;
8444                target: "base";
8445            }
8446        }
8447    }
8448
8449 ///////////////////////////////////////////////////////////////////////////////
8450    group { name: "elm/slideshow/base/default";
8451       data {
8452          item: transitions "fade black_fade horizontal vertical square";
8453       }
8454       parts {
8455          part { name: "whole";
8456             description {
8457                state: "default" 0.0;
8458                visible: 1;
8459                color: 0 0 0 0;
8460             }
8461          }
8462          part { name: "image_1_whole";
8463             description {
8464                state: "default" 0.0;
8465                color: 255 255 255 255;
8466             }
8467             description {
8468                state: "fade_prev_next" 0.0;
8469                inherit: "default" 0.0;
8470                color: 255 255 255 0;
8471             }
8472             description {
8473                state: "black_fade_prev_next_init" 0.0;
8474                inherit: "default" 0.0;
8475                color: 255 255 255 255;
8476             }
8477             description {
8478                state: "black_fade_prev_next" 0.0;
8479                inherit: "default" 0.0;
8480                color: 0 0 0 255;
8481             }
8482             description {
8483                state: "horizontal_next_init" 0.0;
8484                inherit: "default" 0.0;
8485             }
8486             description {
8487                state: "horizontal_next" 0.0;
8488                inherit: "default" 0.0;
8489                rel1.relative: -1.0 0.0;
8490                rel2.relative: 0.0 1.0;
8491             }
8492             description {
8493                state: "horizontal_prev_init" 0.0;
8494                inherit: "default" 0.0;
8495             }
8496             description {
8497                state: "horizontal_prev" 0.0;
8498                inherit: "default" 0.0;
8499                rel1.relative: 1.0 0.0;
8500                rel2.relative: 2.0 1.0;
8501             }
8502             description {
8503                state: "vertical_next_init" 0.0;
8504                inherit: "default" 0.0;
8505             }
8506             description {
8507                state: "vertical_next" 0.0;
8508                inherit: "default" 0.0;
8509                rel1.relative: 0.0 -1.0;
8510                rel2.relative: 1.0 0.0;
8511             }
8512             description {
8513                state: "vertical_prev_init" 0.0;
8514                inherit: "default" 0.0;
8515             }
8516             description {
8517                state: "vertical_prev" 0.0;
8518                inherit: "default" 0.0;
8519                rel1.relative: 0.0 1.0;
8520                rel2.relative: 1.0 2.0;
8521             }
8522          }
8523          part { name: "image_2_whole";
8524             description {
8525                state: "default" 0.0;
8526                visible: 1;
8527                color: 255 255 255 0;
8528             }
8529             description {
8530                state: "fade_prev_next" 0.0;
8531                inherit: "default" 0.0;
8532                color: 255 255 255 255;
8533             }
8534             description {
8535                state: "black_fade_prev_next_init" 0.0;
8536                inherit: "default" 0.0;
8537                color: 0 0 0 0;
8538             }
8539             description {
8540                state: "black_fade_prev_next" 0.0;
8541                inherit: "default" 0.0;
8542                color: 255 255 255 255;
8543             }
8544             description {
8545                state: "horizontal_next_init" 0.0;
8546                inherit: "default" 0.0;
8547                rel1.relative: 1.0 0.0;
8548                rel2.relative: 2.0 1.0;
8549                color: 255 255 255 255;
8550             }
8551             description {
8552                state: "horizontal_next" 0.0;
8553                inherit: "default" 0.0;
8554                color: 255 255 255 255;
8555             }
8556             description {
8557                state: "horizontal_prev_init" 0.0;
8558                inherit: "default" 0.0;
8559                rel1.relative: -1.0 0.0;
8560                rel2.relative: 0.0 1.0;
8561                color: 255 255 255 255;
8562             }
8563             description {
8564                state: "horizontal_prev" 0.0;
8565                inherit: "default" 0.0;
8566                color: 255 255 255 255;
8567             }
8568             description {
8569                state: "vertical_next_init" 0.0;
8570                inherit: "default" 0.0;
8571                rel1.relative: 0.0 1.0;
8572                rel2.relative: 1.0 2.0;
8573                color: 255 255 255 255;
8574             }
8575             description {
8576                state: "vertical_next" 0.0;
8577                inherit: "default" 0.0;
8578                color: 255 255 255 255;
8579             }
8580             description {
8581                state: "vertical_prev_init" 0.0;
8582                inherit: "default" 0.0;
8583                rel1.relative: 0.0 -1.0;
8584                rel2.relative: 1.0 0.0;
8585                color: 255 255 255 255;
8586             }
8587             description {
8588                state: "vertical_prev" 0.0;
8589                inherit: "default" 0.0;
8590                color: 255 255 255 255;
8591             }
8592             description {
8593                state: "square_prev_next_init" 0.0;
8594                inherit: "default" 0.0;
8595                rel1.relative: 0.5 0.5;
8596                rel2.relative: 0.5 0.5;
8597                color: 255 255 255 255;
8598             }
8599             description {
8600                state: "square_prev_next" 0.0;
8601                inherit: "default" 0.0;
8602                rel1.relative: 0.0 0.0;
8603                rel2.relative: 1.0 1.0;
8604                color: 255 255 255 255;
8605             }
8606          }
8607          part { name: "elm.swallow.1";
8608             type: SWALLOW;
8609             clip_to: "image_1_whole";
8610             description {
8611                state: "default" 0.0;
8612                rel1.to: "image_1_whole";
8613                rel2.to: "image_1_whole";
8614                color: 255 255 255 255;
8615             }
8616          }
8617          part { name: "elm.swallow.2";
8618             type: SWALLOW;
8619             clip_to: "image_2_whole";
8620             description {
8621                state: "default" 0.0;
8622                color: 255 255 255 255;
8623                rel1.to: "image_2_whole";
8624                rel2.to: "image_2_whole";
8625             }
8626          }
8627          part { name: "events_catcher";
8628             type: RECT;
8629             repeat_events: 1;
8630             description {
8631                state: "default" 0.0;
8632                visible: 1;
8633                color: 0 0 0 0;
8634             }
8635          }
8636       }
8637       programs {
8638          program { name: "fade_next";
8639             signal: "fade,next";
8640             source: "slideshow";
8641             action: STATE_SET "default" 0.0;
8642             target: "image_1_whole";
8643             target: "image_2_whole";
8644             after: "fade_next_2";
8645          }
8646          program { name: "fade_next_2";
8647             action: STATE_SET "fade_prev_next" 0.0;
8648             target: "image_1_whole";
8649             target: "image_2_whole";
8650             transition: SINUSOIDAL 1.5;
8651             after: "end";
8652          }
8653          program { name: "fade_previous";
8654             signal: "fade,previous";
8655             source: "slideshow";
8656             action: STATE_SET "default" 0.0;
8657             target: "image_1_whole";
8658             target: "image_2_whole";
8659             after: "fade_previous_2";
8660          }
8661          program { name: "fade_previous_2";
8662             action: STATE_SET "fade_prev_next" 0.0;
8663             target: "image_1_whole";
8664             target: "image_2_whole";
8665             transition: SINUSOIDAL 1.5;
8666             after: "end";
8667          }
8668          program { name: "black_fade_next";
8669             signal: "black_fade,next";
8670             source: "slideshow";
8671             action: STATE_SET "black_fade_prev_next_init" 0.0;
8672             target: "image_1_whole";
8673             target: "image_2_whole";
8674             after: "black_fade_next_2";
8675          }
8676          program { name: "black_fade_next_2";
8677             action: STATE_SET "black_fade_prev_next" 0.0;
8678             target: "image_1_whole";
8679             transition: SINUSOIDAL 0.75;
8680             after: "black_fade_next_3";
8681          }
8682          program { name: "black_fade_next_3";
8683             action: STATE_SET "black_fade_prev_next" 0.0;
8684             target: "image_2_whole";
8685             transition: SINUSOIDAL 0.75;
8686             after: "end";
8687          }
8688          program { name: "black_fade_previous";
8689             signal: "black_fade,previous";
8690             source: "slideshow";
8691             action: STATE_SET "black_fade_prev_next_init" 0.0;
8692             target: "image_1_whole";
8693             target: "image_2_whole";
8694             after: "black_fade_previous_2";
8695          }
8696          program { name: "black_fade_previous_2";
8697             action: STATE_SET "black_fade_prev_next" 0.0;
8698             target: "image_1_whole";
8699             transition: SINUSOIDAL 0.75;
8700             after: "black_fade_previous_3";
8701          }
8702          program { name: "black_fade_previous_3";
8703             action: STATE_SET "black_fade_prev_next" 0.0;
8704             target: "image_2_whole";
8705             transition: SINUSOIDAL 0.75;
8706             after: "end";
8707          }
8708          program { name: "horizontal_next";
8709             signal: "horizontal,next";
8710             source: "slideshow";
8711             action: STATE_SET "horizontal_next_init" 0.0;
8712             target: "image_1_whole";
8713             target: "image_2_whole";
8714             after: "horizontal_next_2";
8715          }
8716          program { name: "horizontal_next_2";
8717             action: STATE_SET "horizontal_next" 0.0;
8718             target: "image_1_whole";
8719             target: "image_2_whole";
8720             transition: SINUSOIDAL 1.5;
8721             after: "end";
8722          }
8723          program { name: "horizontal_previous";
8724             signal: "horizontal,previous";
8725             source: "slideshow";
8726             action: STATE_SET "horizontal_prev_init" 0.0;
8727             target: "image_1_whole";
8728             target: "image_2_whole";
8729             after: "horizontal_previous_2";
8730          }
8731          program { name: "horizontal_previous_2";
8732             action: STATE_SET "horizontal_prev" 0.0;
8733             target: "image_1_whole";
8734             target: "image_2_whole";
8735             transition: SINUSOIDAL 1.5;
8736             after: "end";
8737          }
8738          program { name: "vertical_next";
8739             signal: "vertical,next";
8740             source: "slideshow";
8741             action: STATE_SET "vertical_next_init" 0.0;
8742             target: "image_1_whole";
8743             target: "image_2_whole";
8744             after: "vertical_next_2";
8745          }
8746          program { name: "vertical_next_2";
8747             action: STATE_SET "vertical_next" 0.0;
8748             target: "image_1_whole";
8749             target: "image_2_whole";
8750             transition: SINUSOIDAL 1.5;
8751             after: "end";
8752          }
8753          program { name: "vertical_previous";
8754             signal: "vertical,previous";
8755             source: "slideshow";
8756             action: STATE_SET "vertical_prev_init" 0.0;
8757             target: "image_1_whole";
8758             target: "image_2_whole";
8759             after: "vertical_previous_2";
8760          }
8761          program { name: "vertical_previous_2";
8762             action: STATE_SET "vertical_prev" 0.0;
8763             target: "image_1_whole";
8764             target: "image_2_whole";
8765             transition: SINUSOIDAL 1.5;
8766             after: "end";
8767          }
8768          program { name: "square_next";
8769             signal: "square,next";
8770             source: "slideshow";
8771             action: STATE_SET "square_prev_next_init" 0.0;
8772             target: "image_2_whole";
8773             after: "square_next_2";
8774          }
8775          program { name: "square_next_2";
8776             action: STATE_SET "square_prev_next" 0.0;
8777             target: "image_2_whole";
8778             transition: SINUSOIDAL 1.5;
8779             after: "end";
8780          }
8781          program { name: "square_previous";
8782             signal: "square,previous";
8783             source: "slideshow";
8784             action: STATE_SET "square_prev_next_init" 0.0;
8785             target: "image_2_whole";
8786             after: "square_next_2";
8787          }
8788          program { name: "end";
8789             action: STATE_SET "default" 0.0;
8790             target: "image_1_whole";
8791             target: "image_2_whole";
8792             after: "end_signal";
8793          }
8794          program { name: "end_signal";
8795             action: SIGNAL_EMIT "end" "slideshow";
8796          }
8797       }
8798    }
8799
8800 ///////////////////////////////////////////////////////////////////////////////
8801    group { name: "elm/win/inwin/default";
8802       images {
8803          image: "shad_circ.png" COMP;
8804          image: "bt_dis_base.png" COMP;
8805          image: "bt_dis_hilight.png" COMP;
8806       }
8807       parts {
8808          part { name: "base";
8809             type: RECT;
8810             mouse_events: 1;
8811             description { state: "default" 0.0;
8812                color: 0 0 0 0;
8813             }
8814             description { state: "visible" 0.0;
8815                inherit: "default" 1.0;
8816                color: 0 0 0 64;
8817             }
8818          }
8819          part { name: "shad";
8820             mouse_events:  0;
8821             description { state: "default" 0.0;
8822                image.normal: "shad_circ.png";
8823                rel1.to: "elm.swallow.content";
8824                rel1.offset: -64 -64;
8825                rel2.to: "elm.swallow.content";
8826                rel2.offset: 63 63;
8827                fill.smooth: 0;
8828             }
8829          }
8830          part { name: "pop";
8831             mouse_events: 1;
8832             description { state: "default" 0.0;
8833                rel1.to: "elm.swallow.content";
8834                rel1.offset: -5 -5;
8835                rel2.to: "elm.swallow.content";
8836                rel2.offset: 4 4;
8837                image {
8838                   normal: "bt_dis_base.png";
8839                   border: 4 4 4 4;
8840                }
8841                image.middle: SOLID;
8842             }
8843          }
8844          part { name: "popover";
8845             mouse_events: 0;
8846             description { state: "default" 0.0;
8847                rel1.to: "pop";
8848                rel2.to: "pop";
8849                rel2.relative: 1.0 0.5;
8850                image {
8851                   normal: "bt_dis_hilight.png";
8852                   border: 4 4 4 0;
8853                }
8854             }
8855          }
8856          part { name: "elm.swallow.content";
8857             type: SWALLOW;
8858             description { state: "default" 0.0;
8859                rel1.relative: 0.1 0.1;
8860                rel2.relative: 0.9 0.9;
8861             }
8862          }
8863       }
8864       programs {
8865          program { name: "show";
8866             signal: "elm,action,show";
8867             source: "elm";
8868             action: STATE_SET "visible" 0.0;
8869 //          transition: DECELERATE 0.5;
8870             target: "base";
8871          }
8872          program { name: "hide";
8873             signal: "elm,action,hide";
8874             source: "elm";
8875             action: STATE_SET "default" 0.0;
8876 //          transition: DECELERATE 0.5;
8877             target: "base";
8878          }
8879       }
8880    }
8881
8882    group { name: "elm/win/inwin/minimal";
8883       images {
8884          image: "shad_circ.png" COMP;
8885          image: "bt_dis_base.png" COMP;
8886          image: "bt_dis_hilight.png" COMP;
8887       }
8888       parts {
8889          part { name: "base";
8890             type: RECT;
8891             mouse_events: 1;
8892             description { state: "default" 0.0;
8893                color: 0 0 0 0;
8894             }
8895             description { state: "visible" 0.0;
8896                inherit: "default" 1.0;
8897                color: 0 0 0 64;
8898             }
8899          }
8900          part { name: "shad";
8901             mouse_events:  0;
8902             description { state: "default" 0.0;
8903                image.normal: "shad_circ.png";
8904                rel1.to: "elm.swallow.content";
8905                rel1.offset: -64 -64;
8906                rel2.to: "elm.swallow.content";
8907                rel2.offset: 63 63;
8908                fill.smooth: 0;
8909             }
8910          }
8911          part { name: "pop";
8912             mouse_events: 1;
8913             description { state: "default" 0.0;
8914                rel1.to: "elm.swallow.content";
8915                rel1.offset: -5 -5;
8916                rel2.to: "elm.swallow.content";
8917                rel2.offset: 4 4;
8918                image {
8919                   normal: "bt_dis_base.png";
8920                   border: 4 4 4 4;
8921                }
8922                image.middle: SOLID;
8923             }
8924          }
8925          part { name: "popover";
8926             mouse_events: 0;
8927             description { state: "default" 0.0;
8928                rel1.to: "pop";
8929                rel2.to: "pop";
8930                rel2.relative: 1.0 0.5;
8931                image {
8932                   normal: "bt_dis_hilight.png";
8933                   border: 4 4 4 0;
8934                }
8935             }
8936          }
8937          part { name: "elm.swallow.content";
8938             type: SWALLOW;
8939             description { state: "default" 0.0;
8940                fixed: 1 1;
8941                rel1.relative: 0.5 0.5;
8942                rel2.relative: 0.5 0.5;
8943             }
8944          }
8945       }
8946       programs {
8947          program { name: "show";
8948             signal: "elm,action,show";
8949             source: "elm";
8950             action: STATE_SET "visible" 0.0;
8951 //          transition: DECELERATE 0.5;
8952             target: "base";
8953          }
8954          program { name: "hide";
8955             signal: "elm,action,hide";
8956             source: "elm";
8957             action: STATE_SET "default" 0.0;
8958 //          transition: DECELERATE 0.5;
8959             target: "base";
8960          }
8961       }
8962    }
8963
8964    group { name: "elm/win/inwin/minimal_vertical";
8965       images {
8966          image: "shad_circ.png" COMP;
8967          image: "bt_dis_base.png" COMP;
8968          image: "bt_dis_hilight.png" COMP;
8969       }
8970       parts {
8971          part { name: "base";
8972             type: RECT;
8973             mouse_events: 1;
8974             description { state: "default" 0.0;
8975                color: 0 0 0 0;
8976             }
8977             description { state: "visible" 0.0;
8978                inherit: "default" 1.0;
8979                color: 0 0 0 64;
8980             }
8981          }
8982          part { name: "shad";
8983             mouse_events:  0;
8984             description { state: "default" 0.0;
8985                image.normal: "shad_circ.png";
8986                rel1.to: "elm.swallow.content";
8987                rel1.offset: -64 -64;
8988                rel2.to: "elm.swallow.content";
8989                rel2.offset: 63 63;
8990                fill.smooth: 0;
8991             }
8992          }
8993          part { name: "pop";
8994             mouse_events: 1;
8995             description { state: "default" 0.0;
8996                rel1.to: "elm.swallow.content";
8997                rel1.offset: -5 -5;
8998                rel2.to: "elm.swallow.content";
8999                rel2.offset: 4 4;
9000                image {
9001                   normal: "bt_dis_base.png";
9002                   border: 4 4 4 4;
9003                }
9004                image.middle: SOLID;
9005             }
9006          }
9007          part { name: "popover";
9008             mouse_events: 0;
9009             description { state: "default" 0.0;
9010                rel1.to: "pop";
9011                rel2.to: "pop";
9012                rel2.relative: 1.0 0.5;
9013                image {
9014                   normal: "bt_dis_hilight.png";
9015                   border: 4 4 4 0;
9016                }
9017             }
9018          }
9019          part { name: "elm.swallow.content";
9020             type: SWALLOW;
9021             description { state: "default" 0.0;
9022                fixed: 1 1;
9023                rel1.relative: 0.1 0.5;
9024                rel2.relative: 0.9 0.5;
9025             }
9026          }
9027       }
9028       programs {
9029          program { name: "show";
9030             signal: "elm,action,show";
9031             source: "elm";
9032             action: STATE_SET "visible" 0.0;
9033 //          transition: DECELERATE 0.5;
9034             target: "base";
9035          }
9036          program { name: "hide";
9037             signal: "elm,action,hide";
9038             source: "elm";
9039             action: STATE_SET "default" 0.0;
9040 //          transition: DECELERATE 0.5;
9041             target: "base";
9042          }
9043       }
9044    }
9045
9046 ///////////////////////////////////////////////////////////////////////////////
9047
9048    ///////////////////////////////////////////////////////////////////////////////
9049    group { name: "elm/list/item/default";
9050       data.item: "stacking" "above";
9051       images {
9052          image: "bt_sm_base1.png" COMP;
9053          image: "bt_sm_shine.png" COMP;
9054          image: "bt_sm_hilight.png" COMP;
9055          image: "ilist_1.png" COMP;
9056          image: "ilist_item_shadow.png" COMP;
9057       }
9058       parts {
9059          part {
9060             name:           "event";
9061             type:           RECT;
9062             repeat_events: 1;
9063             description {
9064                state: "default" 0.0;
9065                color: 0 0 0 0;
9066             }
9067          }
9068          part {
9069             name: "base_sh";
9070             mouse_events: 0;
9071             description {
9072                state: "default" 0.0;
9073                align: 0.0 0.0;
9074                min: 0 10;
9075                fixed: 1 1;
9076                rel1 {
9077                   to: "base";
9078                   relative: 0.0 1.0;
9079                   offset: 0 0;
9080                }
9081                rel2 {
9082                   to: "base";
9083                   relative: 1.0 1.0;
9084                   offset: -1 0;
9085                }
9086                image {
9087                   normal: "ilist_item_shadow.png";
9088                }
9089                fill.smooth: 0;
9090             }
9091          }
9092          part {
9093             name: "base";
9094             mouse_events: 0;
9095             description {
9096                state: "default" 0.0;
9097                image {
9098                   normal: "ilist_1.png";
9099                   border: 2 2 2 2;
9100                }
9101                fill.smooth: 0;
9102             }
9103          }
9104          part { name: "bg";
9105             mouse_events: 0;
9106             description { state: "default" 0.0;
9107                visible: 0;
9108                color: 255 255 255 0;
9109                rel1 {
9110                   relative: 0.0 0.0;
9111                   offset: -5 -5;
9112                }
9113                rel2 {
9114                   relative: 1.0 1.0;
9115                   offset: 4 4;
9116                }
9117                image {
9118                   normal: "bt_sm_base1.png";
9119                   border: 6 6 6 6;
9120                }
9121                image.middle: SOLID;
9122             }
9123             description { state: "selected" 0.0;
9124                inherit: "default" 0.0;
9125                visible: 1;
9126                color: 255 255 255 255;
9127                rel1 {
9128                   relative: 0.0 0.0;
9129                   offset: -2 -2;
9130                }
9131                rel2 {
9132                   relative: 1.0 1.0;
9133                   offset: 1 1;
9134                }
9135             }
9136          }
9137          part { name: "elm.swallow.icon";
9138             type: SWALLOW;
9139             description { state: "default" 0.0;
9140                fixed: 1 0;
9141                align: 0.0 0.5;
9142                rel1 {
9143                   relative: 0.0  0.0;
9144                   offset:   4    4;
9145                }
9146                rel2 {
9147                   relative: 0.0  1.0;
9148                   offset:   4   -5;
9149                }
9150             }
9151          }
9152          part { name: "elm.swallow.end";
9153             type: SWALLOW;
9154             description { state: "default" 0.0;
9155                fixed: 1 0;
9156                align: 1.0 0.5;
9157                rel1 {
9158                   relative: 1.0  0.0;
9159                   offset:   -5    4;
9160                }
9161                rel2 {
9162                   relative: 1.0  1.0;
9163                   offset:   -5   -5;
9164                }
9165             }
9166          }
9167          part { name: "elm.text";
9168             type:           TEXT;
9169             effect:         SOFT_SHADOW;
9170             mouse_events:   0;
9171             scale: 1;
9172             description {
9173                state: "default" 0.0;
9174 //               min: 16 16;
9175                rel1 {
9176                   to_x:     "elm.swallow.icon";
9177                   relative: 1.0  0.0;
9178                   offset:   4 4;
9179                }
9180                rel2 {
9181                   to_x:     "elm.swallow.end";
9182                   relative: 0.0  1.0;
9183                   offset:   -1 -5;
9184                }
9185                color: 0 0 0 255;
9186                color3: 0 0 0 0;
9187                text {
9188                   font: "Sans";
9189                   size: 10;
9190                   min: 1 1;
9191 //                  min: 0 1;
9192                   align: 0.0 0.5;
9193                }
9194             }
9195             description { state: "selected" 0.0;
9196                inherit: "default" 0.0;
9197                color: 224 224 224 255;
9198                color3: 0 0 0 64;
9199             }
9200          }
9201          part { name: "fg1";
9202             mouse_events: 0;
9203             description { state: "default" 0.0;
9204                visible: 0;
9205                color: 255 255 255 0;
9206                rel1.to: "bg";
9207                rel2.relative: 1.0 0.5;
9208                rel2.to: "bg";
9209                image {
9210                   normal: "bt_sm_hilight.png";
9211                   border: 6 6 6 0;
9212                }
9213             }
9214             description { state: "selected" 0.0;
9215                inherit: "default" 0.0;
9216                visible: 1;
9217                color: 255 255 255 255;
9218             }
9219          }
9220          part { name: "fg2";
9221             mouse_events: 0;
9222             description { state: "default" 0.0;
9223                visible: 0;
9224                color: 255 255 255 0;
9225                rel1.to: "bg";
9226                rel2.to: "bg";
9227                image {
9228                   normal: "bt_sm_shine.png";
9229                   border: 6 6 6 0;
9230                }
9231             }
9232             description { state: "selected" 0.0;
9233                inherit: "default" 0.0;
9234                visible: 1;
9235                color: 255 255 255 255;
9236             }
9237          }
9238       }
9239       programs {
9240          program {
9241             name:    "go_active";
9242             signal:  "elm,state,selected";
9243             source:  "elm";
9244             action:  STATE_SET "selected" 0.0;
9245             target:  "bg";
9246             target:  "fg1";
9247             target:  "fg2";
9248             target:  "elm.text";
9249          }
9250          program {
9251             name:    "go_passive";
9252             signal:  "elm,state,unselected";
9253             source:  "elm";
9254             action:  STATE_SET "default" 0.0;
9255             target:  "bg";
9256             target:  "fg1";
9257             target:  "fg2";
9258             target:  "elm.text";
9259             transition: LINEAR 0.1;
9260          }
9261       }
9262    }
9263    group { name: "elm/list/item_odd/default";
9264       data.item: "stacking" "below";
9265       data.item: "selectraise" "on";
9266       images {
9267          image: "bt_sm_base1.png" COMP;
9268          image: "bt_sm_shine.png" COMP;
9269          image: "bt_sm_hilight.png" COMP;
9270          image: "ilist_2.png" COMP;
9271       }
9272       parts {
9273          part {
9274             name:           "event";
9275             type:           RECT;
9276             repeat_events: 1;
9277             description {
9278                state: "default" 0.0;
9279                color: 0 0 0 0;
9280             }
9281          }
9282          part {
9283             name: "base";
9284             mouse_events: 0;
9285             description {
9286                state: "default" 0.0;
9287                image {
9288                   normal: "ilist_2.png";
9289                   border: 2 2 2 2;
9290                }
9291                fill.smooth: 0;
9292             }
9293          }
9294          part { name: "bg";
9295             mouse_events: 0;
9296             description { state: "default" 0.0;
9297                visible: 0;
9298                color: 255 255 255 0;
9299                rel1 {
9300                   relative: 0.0 0.0;
9301                   offset: -5 -5;
9302                }
9303                rel2 {
9304                   relative: 1.0 1.0;
9305                   offset: 4 4;
9306                }
9307                image {
9308                   normal: "bt_sm_base1.png";
9309                   border: 6 6 6 6;
9310                }
9311                image.middle: SOLID;
9312             }
9313             description { state: "selected" 0.0;
9314                inherit: "default" 0.0;
9315                visible: 1;
9316                color: 255 255 255 255;
9317                rel1 {
9318                   relative: 0.0 0.0;
9319                   offset: -2 -2;
9320                }
9321                rel2 {
9322                   relative: 1.0 1.0;
9323                   offset: 1 1;
9324                }
9325             }
9326          }
9327          part {
9328             name:          "elm.swallow.icon";
9329             type:          SWALLOW;
9330             description { state:    "default" 0.0;
9331                fixed: 1 0;
9332                align:    0.0 0.5;
9333                rel1 {
9334                   relative: 0.0  0.0;
9335                   offset:   4    4;
9336                }
9337                rel2 {
9338                   relative: 0.0  1.0;
9339                   offset:   4   -5;
9340                }
9341             }
9342          }
9343          part {
9344             name:          "elm.swallow.end";
9345             type:          SWALLOW;
9346             description { state:    "default" 0.0;
9347                fixed: 1 0;
9348                align: 1.0 0.5;
9349                rel1 {
9350                   relative: 1.0  0.0;
9351                   offset:   -5    4;
9352                }
9353                rel2 {
9354                   relative: 1.0  1.0;
9355                   offset:   -5   -5;
9356                }
9357             }
9358          }
9359          part {
9360             name:           "elm.text";
9361             type:           TEXT;
9362             effect:         SOFT_SHADOW;
9363             mouse_events:   0;
9364             scale: 1;
9365             description {
9366                state: "default" 0.0;
9367 //               min:      16 16;
9368                rel1 {
9369                   to_x:     "elm.swallow.icon";
9370                   relative: 1.0  0.0;
9371                   offset:   4 4;
9372                }
9373                rel2 {
9374                   to_x:     "elm.swallow.end";
9375                   relative: 0.0  1.0;
9376                   offset:   -1 -5;
9377                }
9378                color: 0 0 0 255;
9379                color3: 0 0 0 0;
9380                text {
9381                   font: "Sans";
9382                   size: 10;
9383                   min: 1 1;
9384 //                  min: 0 1;
9385                   align: 0.0 0.5;
9386                }
9387             }
9388             description { state: "selected" 0.0;
9389                inherit: "default" 0.0;
9390                color: 224 224 224 255;
9391                color3: 0 0 0 64;
9392             }
9393          }
9394          part { name: "fg1";
9395             mouse_events: 0;
9396             description { state: "default" 0.0;
9397                visible: 0;
9398                color: 255 255 255 0;
9399                rel1.to: "bg";
9400                rel2.relative: 1.0 0.5;
9401                rel2.to: "bg";
9402                image {
9403                   normal: "bt_sm_hilight.png";
9404                   border: 6 6 6 0;
9405                }
9406             }
9407             description { state: "selected" 0.0;
9408                inherit: "default" 0.0;
9409                visible: 1;
9410                color: 255 255 255 255;
9411             }
9412          }
9413          part { name: "fg2";
9414             mouse_events: 0;
9415             description { state: "default" 0.0;
9416                visible: 0;
9417                color: 255 255 255 0;
9418                rel1.to: "bg";
9419                rel2.to: "bg";
9420                image {
9421                   normal: "bt_sm_shine.png";
9422                   border: 6 6 6 0;
9423                }
9424             }
9425             description { state: "selected" 0.0;
9426                inherit: "default" 0.0;
9427                visible: 1;
9428                color: 255 255 255 255;
9429             }
9430          }
9431       }
9432       programs {
9433          program {
9434             name:    "go_active";
9435             signal:  "elm,state,selected";
9436             source:  "elm";
9437             action:  STATE_SET "selected" 0.0;
9438             target:  "bg";
9439             target:  "fg1";
9440             target:  "fg2";
9441             target:  "elm.text";
9442          }
9443          program {
9444             name:    "go_passive";
9445             signal:  "elm,state,unselected";
9446             source:  "elm";
9447             action:  STATE_SET "default" 0.0;
9448             target:  "bg";
9449             target:  "fg1";
9450             target:  "fg2";
9451             target:  "elm.text";
9452             transition: LINEAR 0.1;
9453          }
9454       }
9455    }
9456    group { name: "elm/list/item_compress/default";
9457       data.item: "stacking" "above";
9458       data.item: "selectraise" "on";
9459       images {
9460          image: "bt_sm_base1.png" COMP;
9461          image: "bt_sm_shine.png" COMP;
9462          image: "bt_sm_hilight.png" COMP;
9463          image: "ilist_1.png" COMP;
9464          image: "ilist_item_shadow.png" COMP;
9465       }
9466       parts {
9467          part {
9468             name: "base_sh";
9469             mouse_events: 0;
9470             description { state: "default" 0.0;
9471                fixed: 1 1;
9472                align: 0.0 0.0;
9473                min: 0 10;
9474                rel1 {
9475                   to: "base";
9476                   relative: 0.0 1.0;
9477                   offset: 0 0;
9478                }
9479                rel2 {
9480                   to: "base";
9481                   relative: 1.0 1.0;
9482                   offset: -1 0;
9483                }
9484                image {
9485                   normal: "ilist_item_shadow.png";
9486                }
9487                fill.smooth: 0;
9488             }
9489          }
9490          part {
9491             name: "base";
9492             mouse_events: 0;
9493             description {
9494                state: "default" 0.0;
9495                image {
9496                   normal: "ilist_1.png";
9497                   border: 2 2 2 2;
9498                }
9499                fill.smooth: 0;
9500             }
9501          }
9502          part { name: "bg";
9503             mouse_events: 0;
9504             description { state: "default" 0.0;
9505                visible: 0;
9506                color: 255 255 255 0;
9507                rel1 {
9508                   relative: 0.0 0.0;
9509                   offset: -5 -5;
9510                }
9511                rel2 {
9512                   relative: 1.0 1.0;
9513                   offset: 4 4;
9514                }
9515                image {
9516                   normal: "bt_sm_base1.png";
9517                   border: 6 6 6 6;
9518                }
9519                image.middle: SOLID;
9520             }
9521             description { state: "selected" 0.0;
9522                inherit: "default" 0.0;
9523                visible: 1;
9524                color: 255 255 255 255;
9525                rel1 {
9526                   relative: 0.0 0.0;
9527                   offset: -2 -2;
9528                }
9529                rel2 {
9530                   relative: 1.0 1.0;
9531                   offset: 1 1;
9532                }
9533             }
9534          }
9535          part { name:          "elm.swallow.icon";
9536             type:          SWALLOW;
9537             description { state:    "default" 0.0;
9538                fixed: 1 0;
9539                align:    0.0 0.5;
9540                rel1 {
9541                   relative: 0.0  0.0;
9542                   offset:   4    4;
9543                }
9544                rel2 {
9545                   relative: 0.0  1.0;
9546                   offset:   4   -5;
9547                }
9548             }
9549          }
9550          part { name:          "elm.swallow.end";
9551             type:          SWALLOW;
9552             description { state:    "default" 0.0;
9553                fixed: 1 0;
9554                align:    1.0 0.5;
9555                rel1 {
9556                   relative: 1.0  0.0;
9557                   offset:   -5    4;
9558                }
9559                rel2 {
9560                   relative: 1.0  1.0;
9561                   offset:   -5   -5;
9562                }
9563             }
9564          }
9565          part {
9566             name:           "elm.text";
9567             type:           TEXT;
9568             effect:         SOFT_SHADOW;
9569             mouse_events:   0;
9570             scale: 1;
9571             description { state: "default" 0.0;
9572 //               min:      16 16;
9573                rel1 {
9574                   to_x:     "elm.swallow.icon";
9575                   relative: 1.0  0.0;
9576                   offset:   4 4;
9577                }
9578                rel2 {
9579                   to_x:     "elm.swallow.end";
9580                   relative: 0.0  1.0;
9581                   offset:   -1 -5;
9582                }
9583                color: 0 0 0 255;
9584                color3: 0 0 0 0;
9585                text {
9586                   font: "Sans";
9587                   size: 10;
9588 //                  min: 1 1;
9589                   min: 0 1;
9590                   align: 0.0 0.5;
9591                }
9592             }
9593             description { state: "selected" 0.0;
9594                inherit: "default" 0.0;
9595                color: 224 224 224 255;
9596                color3: 0 0 0 64;
9597             }
9598          }
9599          part { name: "fg1";
9600             mouse_events: 0;
9601             description { state: "default" 0.0;
9602                visible: 0;
9603                color: 255 255 255 0;
9604                rel1.to: "bg";
9605                rel2.relative: 1.0 0.5;
9606                rel2.to: "bg";
9607                image {
9608                   normal: "bt_sm_hilight.png";
9609                   border: 6 6 6 0;
9610                }
9611             }
9612             description { state: "selected" 0.0;
9613                inherit: "default" 0.0;
9614                visible: 1;
9615                color: 255 255 255 255;
9616             }
9617          }
9618          part { name: "fg2";
9619             mouse_events: 0;
9620             description { state: "default" 0.0;
9621                visible: 0;
9622                color: 255 255 255 0;
9623                rel1.to: "bg";
9624                rel2.to: "bg";
9625                image {
9626                   normal: "bt_sm_shine.png";
9627                   border: 6 6 6 0;
9628                }
9629             }
9630             description { state: "selected" 0.0;
9631                inherit: "default" 0.0;
9632                visible: 1;
9633                color: 255 255 255 255;
9634             }
9635          }
9636          part {
9637             name:           "event";
9638             type:           RECT;
9639             repeat_events: 1;
9640             description {
9641                state: "default" 0.0;
9642                color: 0 0 0 0;
9643             }
9644          }
9645       }
9646       programs {
9647          program {
9648             name:    "go_active";
9649             signal:  "elm,state,selected";
9650             source:  "elm";
9651             action:  STATE_SET "selected" 0.0;
9652             target:  "bg";
9653             target:  "fg1";
9654             target:  "fg2";
9655             target:  "elm.text";
9656          }
9657          program {
9658             name:    "go_passive";
9659             signal:  "elm,state,unselected";
9660             source:  "elm";
9661             action:  STATE_SET "default" 0.0;
9662             target:  "bg";
9663             target:  "fg1";
9664             target:  "fg2";
9665             target:  "elm.text";
9666             transition: LINEAR 0.1;
9667          }
9668       }
9669    }
9670    group { name: "elm/list/item_compress_odd/default";
9671       data.item: "stacking" "below";
9672       data.item: "selectraise" "on";
9673       images {
9674          image: "bt_sm_base1.png" COMP;
9675          image: "bt_sm_shine.png" COMP;
9676          image: "bt_sm_hilight.png" COMP;
9677          image: "ilist_2.png" COMP;
9678       }
9679       parts {
9680          part {
9681             name: "base";
9682             mouse_events: 0;
9683             description {
9684                state: "default" 0.0;
9685                image {
9686                   normal: "ilist_2.png";
9687                   border: 2 2 2 2;
9688                }
9689                fill.smooth: 0;
9690             }
9691          }
9692          part { name: "bg";
9693             mouse_events: 0;
9694             description { state: "default" 0.0;
9695                visible: 0;
9696                color: 255 255 255 0;
9697                rel1 {
9698                   relative: 0.0 0.0;
9699                   offset: -5 -5;
9700                }
9701                rel2 {
9702                   relative: 1.0 1.0;
9703                   offset: 4 4;
9704                }
9705                image {
9706                   normal: "bt_sm_base1.png";
9707                   border: 6 6 6 6;
9708                }
9709                image.middle: SOLID;
9710             }
9711             description { state: "selected" 0.0;
9712                inherit: "default" 0.0;
9713                visible: 1;
9714                color: 255 255 255 255;
9715                rel1 {
9716                   relative: 0.0 0.0;
9717                   offset: -2 -2;
9718                }
9719                rel2 {
9720                   relative: 1.0 1.0;
9721                   offset: 1 1;
9722                }
9723             }
9724          }
9725          part { name:          "elm.swallow.icon";
9726             type:          SWALLOW;
9727             description { state:    "default" 0.0;
9728                fixed: 1 0;
9729                align:    0.0 0.5;
9730                rel1 {
9731                   relative: 0.0  0.0;
9732                   offset:   4    4;
9733                }
9734                rel2 {
9735                   relative: 0.0  1.0;
9736                   offset:   4   -5;
9737                }
9738             }
9739          }
9740          part { name:          "elm.swallow.end";
9741             type:          SWALLOW;
9742             description { state:    "default" 0.0;
9743                fixed: 1 0;
9744                align:    1.0 0.5;
9745                rel1 {
9746                   relative: 1.0  0.0;
9747                   offset:   -5    4;
9748                }
9749                rel2 {
9750                   relative: 1.0  1.0;
9751                   offset:   -5   -5;
9752                }
9753             }
9754          }
9755          part {
9756             name:           "elm.text";
9757             type:           TEXT;
9758             effect:         SOFT_SHADOW;
9759             mouse_events:   0;
9760             scale: 1;
9761             description {
9762                state: "default" 0.0;
9763 //               min:      16 16;
9764                rel1 {
9765                   to_x:     "elm.swallow.icon";
9766                   relative: 1.0  0.0;
9767                   offset:   4 4;
9768                }
9769                rel2 {
9770                   to_x:     "elm.swallow.end";
9771                   relative: 0.0  1.0;
9772                   offset:   -1 -5;
9773                }
9774                color: 0 0 0 255;
9775                color3: 0 0 0 0;
9776                text {
9777                   font: "Sans";
9778                   size: 10;
9779 //                  min: 1 1;
9780                   min: 0 1;
9781                   align: 0.0 0.5;
9782                }
9783             }
9784             description { state: "selected" 0.0;
9785                inherit: "default" 0.0;
9786                color: 224 224 224 255;
9787                color3: 0 0 0 64;
9788             }
9789          }
9790          part { name: "fg1";
9791             mouse_events: 0;
9792             description { state: "default" 0.0;
9793                visible: 0;
9794                color: 255 255 255 0;
9795                rel1.to: "bg";
9796                rel2.relative: 1.0 0.5;
9797                rel2.to: "bg";
9798                image {
9799                   normal: "bt_sm_hilight.png";
9800                   border: 6 6 6 0;
9801                }
9802             }
9803             description { state: "selected" 0.0;
9804                inherit: "default" 0.0;
9805                visible: 1;
9806                color: 255 255 255 255;
9807             }
9808          }
9809          part { name: "fg2";
9810             mouse_events: 0;
9811             description { state: "default" 0.0;
9812                visible: 0;
9813                color: 255 255 255 0;
9814                rel1.to: "bg";
9815                rel2.to: "bg";
9816                image {
9817                   normal: "bt_sm_shine.png";
9818                   border: 6 6 6 0;
9819                }
9820             }
9821             description { state: "selected" 0.0;
9822                inherit: "default" 0.0;
9823                visible: 1;
9824                color: 255 255 255 255;
9825             }
9826          }
9827          part {
9828             name:           "event";
9829             type:           RECT;
9830             repeat_events: 1;
9831             description {
9832                state: "default" 0.0;
9833                color: 0 0 0 0;
9834             }
9835          }
9836       }
9837       programs {
9838          program {
9839             name:    "go_active";
9840             signal:  "elm,state,selected";
9841             source:  "elm";
9842             action:  STATE_SET "selected" 0.0;
9843             target:  "bg";
9844             target:  "fg1";
9845             target:  "fg2";
9846             target:  "elm.text";
9847          }
9848          program {
9849             name:    "go_passive";
9850             signal:  "elm,state,unselected";
9851             source:  "elm";
9852             action:  STATE_SET "default" 0.0;
9853             target:  "bg";
9854             target:  "fg1";
9855             target:  "fg2";
9856             target:  "elm.text";
9857             transition: LINEAR 0.1;
9858          }
9859       }
9860    }
9861
9862 ///////////////////////////////////////////////////////////////////////////////
9863    group { name: "elm/slider/horizontal/default";
9864       images {
9865          image: "sl_bg.png" COMP;
9866          image: "sl_bg_over.png" COMP;
9867          image: "sl_bt_0.png" COMP;
9868          image: "sl_bt_1.png" COMP;
9869          image: "sl_bt_2.png" COMP;
9870          image: "sl_bt2_0_0.png" COMP;
9871          image: "sl_bt2_0_1.png" COMP;
9872          image: "sl_bt2_0_2.png" COMP;
9873          image: "sl_bt2_1.png" COMP;
9874          image: "sl_bt2_2.png" COMP;
9875          image: "sl_units.png" COMP;
9876       }
9877       parts {
9878          part { name: "base";
9879             mouse_events: 0;
9880             description { state: "default" 0.0;
9881                max: 99999 6;
9882                min: 0 6;
9883                rel1 { to: "bg";
9884                   offset: 1 0;
9885                }
9886                rel2 { to: "bg";
9887                   offset: -2 -1;
9888                }
9889                image.normal: "sl_bg.png";
9890                fill.smooth: 0;
9891             }
9892          }
9893          part { name: "level";
9894             type: RECT;
9895             mouse_events: 0;
9896             description { state: "default" 0.0;
9897                fixed: 1 1;
9898                rel1.to: "base";
9899                rel2 {
9900                   to_y: "base";
9901                   to_x: "elm.dragable.slider";
9902                   relative: 0.5 1.0;
9903                }
9904                color: 255 0 0 200;
9905             }
9906             description { state: "inverted" 0.0;
9907                inherit: "default" 0.0;
9908                visible: 0;
9909             }
9910          }
9911          part { name: "level2";
9912             type: RECT;
9913             mouse_events: 0;
9914             description { state: "default" 0.0;
9915                fixed: 1 1;
9916                visible: 0;
9917                rel1 {
9918                   to_y: "base";
9919                   to_x: "elm.dragable.slider";
9920                   relative: 0.5 0.0;
9921                }
9922                rel2.to: "base";
9923                color: 255 0 0 200;
9924             }
9925             description { state: "inverted" 0.0;
9926                inherit: "default" 0.0;
9927                visible: 1;
9928             }
9929          }
9930          part {
9931             name: "base_over";
9932             mouse_events: 0;
9933             description { state: "default" 0.0;
9934                rel1.to: "base";
9935                rel1.offset: -1 -1;
9936                rel2.to: "base";
9937                rel2.offset: 0 0;
9938                image {
9939                   normal: "sl_bg_over.png";
9940                   border: 3 3 3 3;
9941                }
9942                fill.smooth: 0;
9943             }
9944          }
9945          part { name: "bg";
9946             type: RECT;
9947             mouse_events: 0;
9948             scale: 1;
9949             description { state: "default" 0.0;
9950                visible: 0;
9951                rel1.to: "elm.swallow.bar";
9952                rel2.to: "elm.swallow.bar";
9953                color: 0 0 0 0;
9954             }
9955          }
9956          part { name: "elm.swallow.bar";
9957             type: SWALLOW;
9958             scale: 1;
9959             description { state: "default" 0.0;
9960                min: 48 24;
9961                max: 99999 24;
9962                align: 1.0 0.5;
9963                rel1 {
9964                   to_x: "elm.text";
9965                   relative: 1.0 0.0;
9966                   offset: 8 0;
9967                }
9968                rel2 {
9969                   to_x: "elm.units";
9970                   relative: 0.0 1.0;
9971                   offset: -10 -1;
9972                }
9973             }
9974          }
9975          part { name: "elm.swallow.content";
9976             type: SWALLOW;
9977             description { state: "default" 0.0;
9978                visible: 0;
9979                align: 0.0 0.5;
9980                rel1 {
9981                   offset: 4 0;
9982                   to_y: "elm.swallow.bar";
9983                }
9984                rel2 {
9985                   offset: 3 -1;
9986                   relative: 0.0 1.0;
9987                   to_y: "elm.swallow.bar";
9988                }
9989             }
9990             description { state: "visible" 0.0;
9991                inherit: "default" 0.0;
9992                visible: 1;
9993                aspect: 1.0 1.0;
9994                aspect_preference: VERTICAL;
9995                rel2.offset: 4 -1;
9996             }
9997          }
9998          part { name: "elm.text";
9999             type: TEXT;
10000             mouse_events: 0;
10001             scale: 1;
10002             description { state: "default" 0.0;
10003                visible: 0;
10004                fixed: 1 1;
10005                align: 0.0 0.5;
10006                rel1.to_x: "elm.swallow.content";
10007                rel1.relative: 1.0 0.0;
10008                rel1.offset: -1 4;
10009                rel2.to_x: "elm.swallow.content";
10010                rel2.relative: 1.0 1.0;
10011                rel2.offset: -1 -5;
10012                color: 0 0 0 255;
10013                text {
10014                   font: "Sans,Edje-Vera";
10015                   size: 10;
10016                   min: 0 0;
10017                   align: 0.0 0.5;
10018                }
10019             }
10020             description { state: "visible" 0.0;
10021                inherit: "default" 0.0;
10022                visible: 1;
10023                text.min: 1 1;
10024                rel1.offset: 0 4;
10025                rel2.offset: 0 -5;
10026             }
10027          }
10028          part { name: "units";
10029             mouse_events: 0;
10030             description { state: "default" 0.0;
10031                visible: 0;
10032                rel1 {
10033                   to_x: "elm.units";
10034                   offset: 0 5;
10035                }
10036                image {
10037                   normal: "sl_units.png";
10038                   border: 0 5 3 8;
10039                }
10040                fill.smooth: 0;
10041             }
10042             description { state: "visible" 0.0;
10043                inherit: "default" 0.0;
10044                visible: 1;
10045             }
10046          }
10047          part { name: "elm.units";
10048             type: TEXT;
10049             mouse_events: 0;
10050             scale: 1;
10051             description { state: "default" 0.0;
10052                visible: 0;
10053                fixed: 1 1;
10054                align: 1.0 0.5;
10055                rel1.relative: 1.0 0.0;
10056                rel1.offset: 0 8;
10057                rel2.relative: 1.0 1.0;
10058                rel2.offset: 0 -9;
10059                color: 0 0 0 255;
10060                text {
10061                   font: "Sans,Edje-Vera";
10062                   size: 10;
10063                   min: 0 0;
10064                   align: 0.0 0.5;
10065                }
10066             }
10067             description { state: "visible" 0.0;
10068                inherit: "default" 0.0;
10069                fixed: 1 1;
10070                visible: 1;
10071                text.min: 1 1;
10072                rel1.offset: -5 0;
10073                rel2.offset: -5 -1;
10074             }
10075          }
10076          part { name: "elm.dragable.slider";
10077             type: RECT;
10078             mouse_events: 0;
10079             scale: 1;
10080             dragable {
10081                x: 1 1 0;
10082                y: 0 0 0;
10083                confine: "bg";
10084             }
10085             description { state: "default" 0.0;
10086                min: 0 24;
10087                max: 0 24;
10088                fixed: 1 1;
10089                rel1 {
10090                   relative: 0.5 0.0;
10091                   to_x: "bg";
10092                }
10093                rel2 {
10094                   relative: 0.5 1.0;
10095                   to_x: "bg";
10096                }
10097                color: 255 0 0 100;
10098             }
10099          }
10100          part { name: "button_events";
10101             type: RECT;
10102             dragable {
10103                events: "elm.dragable.slider";
10104             }
10105             mouse_events: 1;
10106             description { state: "default" 0.0;
10107                fixed: 1 1;
10108                min: 16 16;
10109                aspect: 1.0 1.0;
10110                aspect_preference: VERTICAL;
10111                rel1.to_x: "elm.dragable.slider";
10112                rel2.to_x: "elm.dragable.slider";
10113                color: 0 0 0 0;
10114             }
10115          }
10116          part { name: "button0";
10117             mouse_events: 0;
10118             description { state: "default" 0.0;
10119                fixed: 1 1;
10120                max: 17 999;
10121                min: 17 24;
10122                rel1.to: "elm.dragable.slider";
10123                rel2.to: "elm.dragable.slider";
10124                image {
10125                   normal: "sl_bt_0.png";
10126                   border: 5 5 5 10;
10127                }
10128                fill.smooth: 0;
10129             }
10130          }
10131          part { name: "button1";
10132             mouse_events: 0;
10133             description { state: "default" 0.0;
10134                rel1.to: "button0";
10135                rel2 {
10136                   to: "button0";
10137                   relative: 1.0 0.5;
10138                   offset: -1 -5;
10139                }
10140                image {
10141                   normal: "sl_bt_1.png";
10142                   border: 5 5 5 0;
10143                }
10144             }
10145          }
10146          part { name: "button2";
10147             mouse_events: 0;
10148             description { state: "default" 0.0;
10149                rel1.to: "button0";
10150                rel2.to: "button0";
10151                image {
10152                   normal: "sl_bt_2.png";
10153                   border: 5 5 5 10;
10154                }
10155                fill.smooth: 0;
10156             }
10157          }
10158          part { name: "button3";
10159             mouse_events: 0;
10160             description { state: "default" 0.0;
10161                fixed: 1 1;
10162                visible: 0;
10163                min: 8 32;
10164                align: 1.0 0.5;
10165                rel1 {
10166                   to_x: "elm.indicator";
10167                   to_y: "button4";
10168                   relative: 0.0 0.0;
10169                   offset: -7 0;
10170                }
10171                rel2 {
10172                   to: "button4";
10173                   relative: 0.0 1.0;
10174                   offset: -1 -1;
10175                }
10176                image {
10177                   normal: "sl_bt2_0_0.png";
10178                   border: 6 0 6 12;
10179                }
10180                fill.smooth: 0;
10181             }
10182             description { state: "visible" 0.0;
10183                inherit: "default" 0.0;
10184                visible: 1;
10185             }
10186          }
10187          part { name: "button4";
10188             mouse_events: 0;
10189             description { state: "default" 0.0;
10190                visible: 0;
10191                max: 15 999;
10192                min: 15 32;
10193                rel1 {
10194                   to_x: "button0";
10195                   to_y: "elm.indicator";
10196                   offset: 0 0;
10197                }
10198                rel2.to: "button0";
10199                image {
10200                   normal: "sl_bt2_0_1.png";
10201                   border: 0 0 6 12;
10202                }
10203                fill.smooth: 0;
10204             }
10205             description { state: "visible" 0.0;
10206                inherit: "default" 0.0;
10207                visible: 1;
10208             }
10209          }
10210          part { name: "button5";
10211             mouse_events: 0;
10212             description { state: "default" 0.0;
10213                fixed: 1 1;
10214                visible: 0;
10215                min: 8 32;
10216                align: 0.0 0.5;
10217                rel1 {
10218                   to: "button4";
10219                   relative: 1.0 0.0;
10220                   offset: 0 0;
10221                }
10222                rel2 {
10223                   to_x: "elm.indicator";
10224                   to_y: "button4";
10225                   relative: 1.0 1.0;
10226                   offset: 6 -1;
10227                }
10228                image {
10229                   normal: "sl_bt2_0_2.png";
10230                   border: 0 6 6 12;
10231                }
10232                fill.smooth: 0;
10233             }
10234             description { state: "visible" 0.0;
10235                inherit: "default" 0.0;
10236                visible: 1;
10237             }
10238          }
10239          part { name: "elm.indicator";
10240             type: TEXT;
10241             mouse_events: 0;
10242             effect: SOFT_SHADOW;
10243             scale: 1;
10244             description { state: "default" 0.0;
10245                visible: 0;
10246                fixed: 1 1;
10247                align: 0.5 1.0;
10248                rel1 {
10249                   to: "button0";
10250                   relative: 0.0 -0.25;
10251                   offset: 0 0;
10252                }
10253                rel2 {
10254                   to_x: "button0";
10255                   relative: 1.0 -0.25;
10256                   offset: -1 0;
10257                }
10258                color: 224 224 224 255;
10259                color3: 0 0 0 64;
10260                text {
10261                   font:     "Sans,Edje-Vera";
10262                   size:     10;
10263                   min:      0 0;
10264                   align:    0.5 0.5;
10265                }
10266             }
10267             description { state: "visible" 0.0;
10268                inherit: "default" 0.0;
10269                visible: 1;
10270                text.min: 1 1;
10271                rel1.offset: 0 -1;
10272                rel2.offset: -1 -1;
10273             }
10274          }
10275          part { name: "button6";
10276             mouse_events: 0;
10277             description { state: "default" 0.0;
10278                visible: 0;
10279                rel1.to: "button3";
10280                rel2 {
10281                   to: "button5";
10282                   relative: 1.0 0.3;
10283                   offset: -1 -1;
10284                }
10285                image {
10286                   normal: "sl_bt2_1.png";
10287                   border: 5 5 5 0;
10288                }
10289                fill.smooth: 0;
10290             }
10291             description { state: "visible" 0.0;
10292                inherit: "default" 0.0;
10293                visible: 1;
10294             }
10295          }
10296          part { name: "button7";
10297             mouse_events: 0;
10298             description { state: "default" 0.0;
10299                visible: 0;
10300                rel1.to: "button3";
10301                rel2.to: "button5";
10302                image {
10303                   normal: "sl_bt2_2.png";
10304                   border: 5 5 5 0;
10305                   middle: 0;
10306                }
10307                fill.smooth: 0;
10308             }
10309             description { state: "visible" 0.0;
10310                inherit: "default" 0.0;
10311                visible: 1;
10312             }
10313          }
10314       }
10315       programs {
10316          program { name: "text_show";
10317             signal: "elm,state,text,visible";
10318             source: "elm";
10319             action:  STATE_SET "visible" 0.0;
10320             target: "elm.text";
10321          }
10322          program { name: "text_hide";
10323             signal: "elm,state,text,hidden";
10324             source: "elm";
10325             action:  STATE_SET "default" 0.0;
10326             target: "elm.text";
10327          }
10328          program { name: "icon_show";
10329             signal: "elm,state,icon,visible";
10330             source: "elm";
10331             action:  STATE_SET "visible" 0.0;
10332             target: "elm.swallow.content";
10333          }
10334          program { name: "icon_hide";
10335             signal: "elm,state,icon,hidden";
10336             source: "elm";
10337             action:  STATE_SET "default" 0.0;
10338             target: "elm.swallow.content";
10339          }
10340          program { name: "units_show";
10341             signal: "elm,state,units,visible";
10342             source: "elm";
10343             action:  STATE_SET "visible" 0.0;
10344             target: "elm.units";
10345             target: "units";
10346          }
10347          program { name: "units_hide";
10348             signal: "elm,state,units,hidden";
10349             source: "elm";
10350             action:  STATE_SET "default" 0.0;
10351             target: "elm.units";
10352             target: "units";
10353          }
10354          program { name: "invert_on";
10355             signal: "elm,state,inverted,on";
10356             source: "elm";
10357             action:  STATE_SET "inverted" 0.0;
10358             target: "level";
10359             target: "level2";
10360          }
10361          program { name: "invert_off";
10362             signal: "elm,state,inverted,off";
10363             source: "elm";
10364             action:  STATE_SET "default" 0.0;
10365             target: "level";
10366             target: "level2";
10367          }
10368          program { name: "val_show";
10369             signal: "mouse,down,*";
10370             source: "elm.dragable.slider";
10371             action:  STATE_SET "visible" 0.0;
10372             target: "elm.indicator";
10373             target: "button3";
10374             target: "button4";
10375             target: "button5";
10376             target: "button6";
10377             target: "button7";
10378          }
10379          program { name: "val_hide";
10380             signal: "mouse,up,*";
10381             source: "elm.dragable.slider";
10382             action:  STATE_SET "default" 0.0;
10383             target: "elm.indicator";
10384             target: "button3";
10385             target: "button4";
10386             target: "button5";
10387             target: "button6";
10388             target: "button7";
10389          }
10390       }
10391    }
10392
10393    group { name: "elm/slider/vertical/default";
10394       images {
10395          image: "slv_bg.png" COMP;
10396          image: "slv_bg_over.png" COMP;
10397
10398          image: "sl_bt_0.png" COMP;
10399          image: "sl_bt_1.png" COMP;
10400          image: "sl_bt_2.png" COMP;
10401          image: "sl_bt2_0_0.png" COMP;
10402          image: "sl_bt2_0_1.png" COMP;
10403          image: "sl_bt2_0_2.png" COMP;
10404          image: "sl_bt2_1.png" COMP;
10405          image: "sl_bt2_2.png" COMP;
10406
10407          image: "slv_units.png" COMP;
10408       }
10409       parts {
10410          part { name: "base";
10411             mouse_events: 0;
10412             description { state: "default" 0.0;
10413                max: 6 99999;
10414                min: 6 0;
10415                rel1 { to: "bg";
10416                   offset: 1 0;
10417                }
10418                rel2 { to: "bg";
10419                   offset: -2 -1;
10420                }
10421                image.normal: "slv_bg.png";
10422                fill.smooth: 0;
10423             }
10424          }
10425          part { name: "level";
10426             type: RECT;
10427             mouse_events: 0;
10428             description { state: "default" 0.0;
10429                fixed: 1 1;
10430                rel1.to: "base";
10431                rel2 {
10432                   to_x: "base";
10433                   to_y: "elm.dragable.slider";
10434                   relative: 1.0 0.5;
10435                }
10436                color: 255 0 0 200;
10437             }
10438             description { state: "inverted" 0.0;
10439                inherit: "default" 0.0;
10440                visible: 0;
10441             }
10442          }
10443          part { name: "level2";
10444             type: RECT;
10445             mouse_events: 0;
10446             description { state: "default" 0.0;
10447                fixed: 1 1;
10448                visible: 0;
10449                rel1 {
10450                   to_x: "base";
10451                   to_y: "elm.dragable.slider";
10452                   relative: 0.0 0.5;
10453                }
10454                rel2.to: "base";
10455                color: 255 0 0 200;
10456             }
10457             description { state: "inverted" 0.0;
10458                inherit: "default" 0.0;
10459                visible: 1;
10460             }
10461          }
10462          part {
10463             name: "base_over";
10464             mouse_events: 0;
10465             description { state: "default" 0.0;
10466                rel1.to: "base";
10467                rel1.offset: -1 -1;
10468                rel2.to: "base";
10469                rel2.offset: 0 0;
10470                image {
10471                   normal: "slv_bg_over.png";
10472                   border: 3 3 3 3;
10473                }
10474                fill.smooth: 0;
10475             }
10476          }
10477          part { name: "bg";
10478             type: RECT;
10479             mouse_events: 0;
10480             scale: 1;
10481             description { state: "default" 0.0;
10482                visible: 0;
10483                rel1.to: "elm.swallow.bar";
10484                rel2.to: "elm.swallow.bar";
10485                color: 0 0 0 0;
10486             }
10487          }
10488          part { name: "elm.swallow.bar";
10489             type: SWALLOW;
10490             scale: 1;
10491             description { state: "default" 0.0;
10492                min: 24 48;
10493                max: 24 9999;
10494                align: 0.5 1.0;
10495                rel1 {
10496                   to_y: "elm.text";
10497                   relative: 0.0 1.0;
10498                   offset: 0 10;
10499                }
10500                rel2 {
10501                   to_y: "elm.units";
10502                   relative: 1.0 0.0;
10503                   offset: -1 -8;
10504                }
10505             }
10506          }
10507          part { name: "elm.swallow.content";
10508             type: SWALLOW;
10509             description { state: "default" 0.0;
10510                visible: 0;
10511                align: 0.5 0.0;
10512                rel1 {
10513                   offset: 0 4;
10514                   to_x: "elm.swallow.bar";
10515                }
10516                rel2 {
10517                   offset: -1 3;
10518                   relative: 1.0 0.0;
10519                   to_x: "elm.swallow.bar";
10520                }
10521             }
10522             description { state: "visible" 0.0;
10523                inherit: "default" 0.0;
10524                visible: 1;
10525                aspect: 1.0 1.0;
10526                aspect_preference: HORIZONTAL;
10527                rel2.offset: -1 4;
10528             }
10529          }
10530          part { name: "elm.text";
10531             type: TEXT;
10532             mouse_events: 0;
10533             scale: 1;
10534             description { state: "default" 0.0;
10535                visible: 0;
10536                fixed: 1 1;
10537                align: 0.5 0.0;
10538                rel1.to_y: "elm.swallow.content";
10539                rel1.relative: 0.5 1.0;
10540                rel1.offset: 0 -1;
10541                rel2.to_y: "elm.swallow.content";
10542                rel2.relative: 0.5 1.0;
10543                rel2.offset: -1 -1;
10544                color: 0 0 0 255;
10545                text {
10546                   font: "Sans,Edje-Vera";
10547                   size: 10;
10548                   min: 0 0;
10549                   align: 0.5 0.0;
10550                }
10551             }
10552             description { state: "visible" 0.0;
10553                inherit: "default" 0.0;
10554                visible: 1;
10555                text.min: 1 1;
10556                rel1.offset: 4 0;
10557                rel2.offset: -5 0;
10558             }
10559          }
10560          part { name: "units";
10561             mouse_events: 0;
10562             description { state: "default" 0.0;
10563                visible: 0;
10564                rel1 {
10565                   to: "elm.units";
10566                   offset: -8 0;
10567                }
10568                rel2 {
10569                   to: "elm.units";
10570                   offset: 7 8;
10571                }
10572                image {
10573                   normal: "slv_units.png";
10574                   border: 8 8 0 9;
10575                }
10576                fill.smooth: 0;
10577             }
10578             description { state: "visible" 0.0;
10579                inherit: "default" 0.0;
10580                visible: 1;
10581             }
10582          }
10583          part { name: "elm.units";
10584             type: TEXT;
10585             mouse_events: 0;
10586             scale: 1;
10587             description { state: "default" 0.0;
10588                visible: 0;
10589                fixed: 1 1;
10590                align: 0.5 1.0;
10591                rel1.relative: 0.0 1.0;
10592                rel1.offset: 8 0;
10593                rel2.relative: 1.0 1.0;
10594                rel2.offset: -9 0;
10595                color: 0 0 0 255;
10596                text {
10597                   font: "Sans,Edje-Vera";
10598                   size: 10;
10599                   min: 0 0;
10600                   align: 0.5 0.0;
10601                }
10602             }
10603             description { state: "visible" 0.0;
10604                inherit: "default" 0.0;
10605                fixed: 1 1;
10606                visible: 1;
10607                text.min: 1 1;
10608                rel1.offset: 8 -9;
10609                rel2.offset: -9 -9;
10610             }
10611          }
10612          part { name: "elm.dragable.slider";
10613             type: RECT;
10614             mouse_events: 0;
10615             scale: 1;
10616             dragable {
10617                x: 0 0 0;
10618                y: 1 1 0;
10619                confine: "bg";
10620             }
10621             description { state: "default" 0.0;
10622                min: 24 0;
10623                max: 24 0;
10624                fixed: 1 1;
10625                rel1 {
10626                   relative: 0.5  0.0;
10627                   to_y: "bg";
10628                }
10629                rel2 {
10630                   relative: 0.5  1.0;
10631                   to_y: "bg";
10632                }
10633                color: 0 0 0 0;
10634             }
10635          }
10636          part { name: "button_events";
10637             type: RECT;
10638             dragable {
10639                events: "elm.dragable.slider";
10640             }
10641             mouse_events: 1;
10642             description { state: "default" 0.0;
10643                fixed: 1 1;
10644                min: 16 16;
10645                aspect: 1.0 1.0;
10646                aspect_preference: HORIZONTAL;
10647                rel1.to_y: "elm.dragable.slider";
10648                rel2.to_y: "elm.dragable.slider";
10649                color: 0 0 0 0;
10650             }
10651          }
10652          part { name: "button0";
10653             mouse_events: 0;
10654             description { state: "default" 0.0;
10655                fixed: 1 1;
10656                max: 17 999;
10657                min: 17 24;
10658                rel1.to: "elm.dragable.slider";
10659                rel2.to: "elm.dragable.slider";
10660                image {
10661                   normal: "sl_bt_0.png";
10662                   border: 5 5 5 10;
10663                }
10664                fill.smooth: 0;
10665             }
10666          }
10667          part { name: "button1";
10668             mouse_events: 0;
10669             description { state: "default" 0.0;
10670                rel1.to: "button0";
10671                rel2 {
10672                   to: "button0";
10673                   relative: 1.0 0.5;
10674                   offset: -1 -5;
10675                }
10676                image {
10677                   normal: "sl_bt_1.png";
10678                   border: 5 5 5 0;
10679                }
10680             }
10681          }
10682          part { name: "button2";
10683             mouse_events: 0;
10684             description { state: "default" 0.0;
10685                rel1.to: "button0";
10686                rel2.to: "button0";
10687                image {
10688                   normal: "sl_bt_2.png";
10689                   border: 5 5 5 10;
10690                }
10691                fill.smooth: 0;
10692             }
10693          }
10694          part { name: "button3";
10695             mouse_events: 0;
10696             description { state: "default" 0.0;
10697                visible: 0;
10698                min: 8 32;
10699                align: 1.0 0.5;
10700                rel1 {
10701                   to_x: "elm.indicator";
10702                   to_y: "button4";
10703                   relative: 0.0 0.0;
10704                   offset: -7 0;
10705                }
10706                rel2 {
10707                   to: "button4";
10708                   relative: 0.0 1.0;
10709                   offset: -1 -1;
10710                }
10711                image {
10712                   normal: "sl_bt2_0_0.png";
10713                   border: 6 0 6 12;
10714                }
10715                fill.smooth: 0;
10716             }
10717             description { state: "visible" 0.0;
10718                inherit: "default" 0.0;
10719                visible: 1;
10720             }
10721          }
10722          part { name: "button4";
10723             mouse_events: 0;
10724             description { state: "default" 0.0;
10725                visible: 0;
10726                max: 15 999;
10727                min: 15 32;
10728                fixed: 1 1;
10729                rel1 {
10730                   to_x: "button0";
10731                   to_y: "elm.indicator";
10732                   offset: 0 -7;
10733                }
10734                rel2.to: "button0";
10735                image {
10736                   normal: "sl_bt2_0_1.png";
10737                   border: 0 0 6 12;
10738                }
10739                fill.smooth: 0;
10740             }
10741             description { state: "visible" 0.0;
10742                inherit: "default" 0.0;
10743                visible: 1;
10744             }
10745          }
10746          part { name: "button5";
10747             mouse_events: 0;
10748             description { state: "default" 0.0;
10749                visible: 0;
10750                min: 8 32;
10751                align: 0.0 0.5;
10752                rel1 {
10753                   to: "button4";
10754                   relative: 1.0 0.0;
10755                   offset: 0 0;
10756                }
10757                rel2 {
10758                   to_x: "elm.indicator";
10759                   to_y: "button4";
10760                   relative: 1.0 1.0;
10761                   offset: 6 -1;
10762                }
10763                image {
10764                   normal: "sl_bt2_0_2.png";
10765                   border: 0 6 6 12;
10766                }
10767                fill.smooth: 0;
10768             }
10769             description { state: "visible" 0.0;
10770                inherit: "default" 0.0;
10771                visible: 1;
10772             }
10773          }
10774          part { name: "elm.indicator";
10775             type: TEXT;
10776             mouse_events: 0;
10777             effect: SOFT_SHADOW;
10778             scale: 1;
10779             description { state: "default" 0.0;
10780                visible: 0;
10781                fixed: 1 1;
10782                align: 0.5 1.0;
10783                rel1 {
10784                   to: "button0";
10785                   relative: 0.0 -1.0;
10786                   offset: 0 0;
10787                }
10788                rel2 {
10789                   to: "button0";
10790                   relative: 1.0 -1.0;
10791                   offset: -1 0;
10792                }
10793                color: 224 224 224 255;
10794                color3: 0 0 0 64;
10795                text {
10796                   font:     "Sans,Edje-Vera";
10797                   size:     10;
10798                   min:      0 0;
10799                   align:    0.5 0.5;
10800                }
10801             }
10802             description { state: "visible" 0.0;
10803                inherit: "default" 0.0;
10804                visible: 1;
10805                text.min: 1 1;
10806                rel1.offset: 0 -1;
10807                rel2.offset: -1 -1;
10808             }
10809          }
10810          part { name: "button6";
10811             mouse_events: 0;
10812             description { state: "default" 0.0;
10813                visible: 0;
10814                rel1.to: "button3";
10815                rel2 {
10816                   to: "button5";
10817                   relative: 1.0 0.3;
10818                   offset: -1 -1;
10819                }
10820                image {
10821                   normal: "sl_bt2_1.png";
10822                   border: 5 5 5 0;
10823                }
10824                fill.smooth: 0;
10825             }
10826             description { state: "visible" 0.0;
10827                inherit: "default" 0.0;
10828                visible: 1;
10829             }
10830          }
10831          part { name: "button7";
10832             mouse_events: 0;
10833             description { state: "default" 0.0;
10834                visible: 0;
10835                rel1.to: "button3";
10836                rel2.to: "button5";
10837                image {
10838                   normal: "sl_bt2_2.png";
10839                   border: 5 5 5 0;
10840                   middle: 0;
10841                }
10842                fill.smooth: 0;
10843             }
10844             description { state: "visible" 0.0;
10845                inherit: "default" 0.0;
10846                visible: 1;
10847             }
10848          }
10849       }
10850       programs {
10851          program { name: "text_show";
10852             signal: "elm,state,text,visible";
10853             source: "elm";
10854             action:  STATE_SET "visible" 0.0;
10855             target: "elm.text";
10856          }
10857          program { name: "text_hide";
10858             signal: "elm,state,text,hidden";
10859             source: "elm";
10860             action:  STATE_SET "default" 0.0;
10861             target: "elm.text";
10862          }
10863          program { name: "icon_show";
10864             signal: "elm,state,icon,visible";
10865             source: "elm";
10866             action:  STATE_SET "visible" 0.0;
10867             target: "elm.swallow.content";
10868          }
10869          program { name: "icon_hide";
10870             signal: "elm,state,icon,hidden";
10871             source: "elm";
10872             action:  STATE_SET "default" 0.0;
10873             target: "elm.swallow.content";
10874          }
10875          program { name: "units_show";
10876             signal: "elm,state,units,visible";
10877             source: "elm";
10878             action:  STATE_SET "visible" 0.0;
10879             target: "elm.units";
10880             target: "units";
10881          }
10882          program { name: "units_hide";
10883             signal: "elm,state,units,hidden";
10884             source: "elm";
10885             action:  STATE_SET "default" 0.0;
10886             target: "elm.units";
10887             target: "units";
10888          }
10889          program { name: "invert_on";
10890             signal: "elm,state,inverted,on";
10891             source: "elm";
10892             action:  STATE_SET "inverted" 0.0;
10893             target: "level";
10894             target: "level2";
10895          }
10896          program { name: "invert_off";
10897             signal: "elm,state,inverted,off";
10898             source: "elm";
10899             action:  STATE_SET "default" 0.0;
10900             target: "level";
10901             target: "level2";
10902          }
10903          program { name: "val_show";
10904             signal: "mouse,down,*";
10905             source: "elm.dragable.slider";
10906             action:  STATE_SET "visible" 0.0;
10907             target: "elm.indicator";
10908             target: "button3";
10909             target: "button4";
10910             target: "button5";
10911             target: "button6";
10912             target: "button7";
10913          }
10914          program { name: "val_hide";
10915             signal: "mouse,up,*";
10916             source: "elm.dragable.slider";
10917             action:  STATE_SET "default" 0.0;
10918             target: "elm.indicator";
10919             target: "button3";
10920             target: "button4";
10921             target: "button5";
10922             target: "button6";
10923             target: "button7";
10924          }
10925       }
10926    }
10927
10928 ///////////////////////////////////////////////////////////////////////////////
10929    group { name: "elm/genlist/item/default/default";
10930       data.item: "stacking" "above";
10931       data.item: "selectraise" "on";
10932       data.item: "labels" "elm.text";
10933       data.item: "icons" "elm.swallow.icon elm.swallow.end";
10934       data.item: "treesize" "20";
10935 //      data.item: "states" "";
10936       images {
10937          image: "bt_sm_base1.png" COMP;
10938          image: "bt_sm_shine.png" COMP;
10939          image: "bt_sm_hilight.png" COMP;
10940          image: "ilist_1.png" COMP;
10941          image: "ilist_item_shadow.png" COMP;
10942       }
10943       parts {
10944          part {
10945             name:           "event";
10946             type:           RECT;
10947             repeat_events: 1;
10948             description {
10949                state: "default" 0.0;
10950                color: 0 0 0 0;
10951             }
10952          }
10953          part {
10954             name: "base_sh";
10955             mouse_events: 0;
10956             description {
10957                state: "default" 0.0;
10958                align: 0.0 0.0;
10959                min: 0 10;
10960                fixed: 1 1;
10961                rel1 {
10962                   to: "base";
10963                   relative: 0.0 1.0;
10964                   offset: 0 0;
10965                }
10966                rel2 {
10967                   to: "base";
10968                   relative: 1.0 1.0;
10969                   offset: -1 0;
10970                }
10971                image {
10972                   normal: "ilist_item_shadow.png";
10973                }
10974                fill.smooth: 0;
10975             }
10976          }
10977          part {
10978             name: "base";
10979             mouse_events: 0;
10980             description {
10981                state: "default" 0.0;
10982                image {
10983                   normal: "ilist_1.png";
10984                   border: 2 2 2 2;
10985                }
10986                fill.smooth: 0;
10987             }
10988          }
10989          part { name: "bg";
10990             clip_to: "disclip";
10991             mouse_events: 0;
10992             description { state: "default" 0.0;
10993                visible: 0;
10994                color: 255 255 255 0;
10995                rel1 {
10996                   relative: 0.0 0.0;
10997                   offset: -5 -5;
10998                }
10999                rel2 {
11000                   relative: 1.0 1.0;
11001                   offset: 4 4;
11002                }
11003                image {
11004                   normal: "bt_sm_base1.png";
11005                   border: 6 6 6 6;
11006                }
11007                image.middle: SOLID;
11008             }
11009             description { state: "selected" 0.0;
11010                inherit: "default" 0.0;
11011                visible: 1;
11012                color: 255 255 255 255;
11013                rel1 {
11014                   relative: 0.0 0.0;
11015                   offset: -2 -2;
11016                }
11017                rel2 {
11018                   relative: 1.0 1.0;
11019                   offset: 1 1;
11020                }
11021             }
11022          }
11023          part { name: "elm.swallow.pad";
11024             type: SWALLOW;
11025             description { state: "default" 0.0;
11026                fixed: 1 0;
11027                align: 0.0 0.5;
11028                rel1 {
11029                   relative: 0.0  0.0;
11030                   offset:   4    4;
11031                }
11032                rel2 {
11033                   relative: 0.0  1.0;
11034                   offset:   4   -5;
11035                }
11036             }
11037          }
11038          part { name: "elm.swallow.icon";
11039             clip_to: "disclip";
11040             type: SWALLOW;
11041             description { state: "default" 0.0;
11042                fixed: 1 0;
11043                align: 0.0 0.5;
11044                rel1 {
11045                   to_x: "elm.swallow.pad";
11046                   relative: 1.0  0.0;
11047                   offset:   -1    4;
11048                }
11049                rel2 {
11050                   to_x: "elm.swallow.pad";
11051                   relative: 1.0  1.0;
11052                   offset:   -1   -5;
11053                }
11054             }
11055          }
11056          part { name: "elm.swallow.end";
11057             clip_to: "disclip";
11058             type: SWALLOW;
11059             description { state: "default" 0.0;
11060                fixed: 1 0;
11061                align: 1.0 0.5;
11062                aspect: 1.0 1.0;
11063                aspect_preference: VERTICAL;
11064                rel1 {
11065                   relative: 1.0  0.0;
11066                   offset:   -5    4;
11067                }
11068                rel2 {
11069                   relative: 1.0  1.0;
11070                   offset:   -5   -5;
11071                }
11072             }
11073          }
11074          part { name: "elm.text";
11075             clip_to: "disclip";
11076             type:           TEXT;
11077             effect:         SOFT_SHADOW;
11078             mouse_events:   0;
11079             scale: 1;
11080             description {
11081                state: "default" 0.0;
11082 //               min: 16 16;
11083                rel1 {
11084                   to_x:     "elm.swallow.icon";
11085                   relative: 1.0  0.0;
11086                   offset:   0 4;
11087                }
11088                rel2 {
11089                   to_x:     "elm.swallow.end";
11090                   relative: 0.0  1.0;
11091                   offset:   -1 -5;
11092                }
11093                color: 0 0 0 255;
11094                color3: 0 0 0 0;
11095                text {
11096                   font: "Sans";
11097                   size: 10;
11098                   min: 1 1;
11099 //                  min: 0 1;
11100                   align: 0.0 0.5;
11101                }
11102             }
11103             description { state: "selected" 0.0;
11104                inherit: "default" 0.0;
11105                color: 224 224 224 255;
11106                color3: 0 0 0 64;
11107             }
11108          }
11109          part { name: "fg1";
11110             clip_to: "disclip";
11111             mouse_events: 0;
11112             description { state: "default" 0.0;
11113                visible: 0;
11114                color: 255 255 255 0;
11115                rel1.to: "bg";
11116                rel2.relative: 1.0 0.5;
11117                rel2.to: "bg";
11118                image {
11119                   normal: "bt_sm_hilight.png";
11120                   border: 6 6 6 0;
11121                }
11122             }
11123             description { state: "selected" 0.0;
11124                inherit: "default" 0.0;
11125                visible: 1;
11126                color: 255 255 255 255;
11127             }
11128          }
11129          part { name: "fg2";
11130             clip_to: "disclip";
11131             mouse_events: 0;
11132             description { state: "default" 0.0;
11133                visible: 0;
11134                color: 255 255 255 0;
11135                rel1.to: "bg";
11136                rel2.to: "bg";
11137                image {
11138                   normal: "bt_sm_shine.png";
11139                   border: 6 6 6 0;
11140                }
11141             }
11142             description { state: "selected" 0.0;
11143                inherit: "default" 0.0;
11144                visible: 1;
11145                color: 255 255 255 255;
11146             }
11147          }
11148          part { name: "disclip";
11149             type: RECT;
11150             description { state: "default" 0.0;
11151                rel1.to: "bg";
11152                rel2.to: "bg";
11153             }
11154             description { state: "disabled" 0.0;
11155                inherit: "default" 0.0;
11156                color: 255 255 255 64;
11157             }
11158          }
11159       }
11160       programs {
11161          // signal: elm,state,%s,active
11162          //   a "check" item named %s went active
11163          // signal: elm,state,%s,passive
11164          //   a "check" item named %s went passive
11165          // default is passive
11166          program {
11167             name:    "go_active";
11168             signal:  "elm,state,selected";
11169             source:  "elm";
11170             action:  STATE_SET "selected" 0.0;
11171             target:  "bg";
11172             target:  "fg1";
11173             target:  "fg2";
11174             target:  "elm.text";
11175          }
11176          program {
11177             name:    "go_passive";
11178             signal:  "elm,state,unselected";
11179             source:  "elm";
11180             action:  STATE_SET "default" 0.0;
11181             target:  "bg";
11182             target:  "fg1";
11183             target:  "fg2";
11184             target:  "elm.text";
11185             transition: LINEAR 0.1;
11186          }
11187          program {
11188             name:    "go_disabled";
11189             signal:  "elm,state,disabled";
11190             source:  "elm";
11191             action:  STATE_SET "disabled" 0.0;
11192             target:  "disclip";
11193          }
11194          program {
11195             name:    "go_enabled";
11196             signal:  "elm,state,enabled";
11197             source:  "elm";
11198             action:  STATE_SET "default" 0.0;
11199             target:  "disclip";
11200          }
11201       }
11202    }
11203    group { name: "elm/genlist/item_compress/default/default";
11204       data.item: "stacking" "above";
11205       data.item: "selectraise" "on";
11206       data.item: "labels" "elm.text";
11207       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11208       data.item: "treesize" "20";
11209 //      data.item: "states" "";
11210       images {
11211          image: "bt_sm_base1.png" COMP;
11212          image: "bt_sm_shine.png" COMP;
11213          image: "bt_sm_hilight.png" COMP;
11214          image: "ilist_1.png" COMP;
11215          image: "ilist_item_shadow.png" COMP;
11216       }
11217       parts {
11218          part {
11219             name:           "event";
11220             type:           RECT;
11221             repeat_events: 1;
11222             description {
11223                state: "default" 0.0;
11224                color: 0 0 0 0;
11225             }
11226          }
11227          part {
11228             name: "base_sh";
11229             mouse_events: 0;
11230             description {
11231                state: "default" 0.0;
11232                align: 0.0 0.0;
11233                min: 0 10;
11234                fixed: 1 1;
11235                rel1 {
11236                   to: "base";
11237                   relative: 0.0 1.0;
11238                   offset: 0 0;
11239                }
11240                rel2 {
11241                   to: "base";
11242                   relative: 1.0 1.0;
11243                   offset: -1 0;
11244                }
11245                image {
11246                   normal: "ilist_item_shadow.png";
11247                }
11248                fill.smooth: 0;
11249             }
11250          }
11251          part {
11252             name: "base";
11253             mouse_events: 0;
11254             description {
11255                state: "default" 0.0;
11256                image {
11257                   normal: "ilist_1.png";
11258                   border: 2 2 2 2;
11259                }
11260                fill.smooth: 0;
11261             }
11262          }
11263          part { name: "bg";
11264             clip_to: "disclip";
11265             mouse_events: 0;
11266             description { state: "default" 0.0;
11267                visible: 0;
11268                color: 255 255 255 0;
11269                rel1 {
11270                   relative: 0.0 0.0;
11271                   offset: -5 -5;
11272                }
11273                rel2 {
11274                   relative: 1.0 1.0;
11275                   offset: 4 4;
11276                }
11277                image {
11278                   normal: "bt_sm_base1.png";
11279                   border: 6 6 6 6;
11280                }
11281                image.middle: SOLID;
11282             }
11283             description { state: "selected" 0.0;
11284                inherit: "default" 0.0;
11285                visible: 1;
11286                color: 255 255 255 255;
11287                rel1 {
11288                   relative: 0.0 0.0;
11289                   offset: -2 -2;
11290                }
11291                rel2 {
11292                   relative: 1.0 1.0;
11293                   offset: 1 1;
11294                }
11295             }
11296          }
11297          part { name: "elm.swallow.pad";
11298             type: SWALLOW;
11299             description { state: "default" 0.0;
11300                fixed: 1 0;
11301                align: 0.0 0.5;
11302                rel1 {
11303                   relative: 0.0  0.0;
11304                   offset:   4    4;
11305                }
11306                rel2 {
11307                   relative: 0.0  1.0;
11308                   offset:   4   -5;
11309                }
11310             }
11311          }
11312          part { name: "elm.swallow.icon";
11313             clip_to: "disclip";
11314             type: SWALLOW;
11315             description { state: "default" 0.0;
11316                fixed: 1 0;
11317                align: 0.0 0.5;
11318                rel1 {
11319                   to_x: "elm.swallow.pad";
11320                   relative: 1.0  0.0;
11321                   offset:   -1    4;
11322                }
11323                rel2 {
11324                   to_x: "elm.swallow.pad";
11325                   relative: 1.0  1.0;
11326                   offset:   -1   -5;
11327                }
11328             }
11329          }
11330          part { name: "elm.swallow.end";
11331             clip_to: "disclip";
11332             type: SWALLOW;
11333             description { state: "default" 0.0;
11334                fixed: 1 0;
11335                align: 1.0 0.5;
11336                aspect: 1.0 1.0;
11337                aspect_preference: VERTICAL;
11338                rel1 {
11339                   relative: 1.0  0.0;
11340                   offset:   -5    4;
11341                }
11342                rel2 {
11343                   relative: 1.0  1.0;
11344                   offset:   -5   -5;
11345                }
11346             }
11347          }
11348          part { name: "elm.text";
11349             clip_to: "disclip";
11350             type:           TEXT;
11351             effect:         SOFT_SHADOW;
11352             mouse_events:   0;
11353             scale: 1;
11354             description {
11355                state: "default" 0.0;
11356 //               min: 16 16;
11357                rel1 {
11358                   to_x:     "elm.swallow.icon";
11359                   relative: 1.0  0.0;
11360                   offset:   0 4;
11361                }
11362                rel2 {
11363                   to_x:     "elm.swallow.end";
11364                   relative: 0.0  1.0;
11365                   offset:   -1 -5;
11366                }
11367                color: 0 0 0 255;
11368                color3: 0 0 0 0;
11369                text {
11370                   font: "Sans";
11371                   size: 10;
11372                   min: 0 1;
11373 //                  min: 1 1;
11374                   align: 0.0 0.5;
11375                }
11376             }
11377             description { state: "selected" 0.0;
11378                inherit: "default" 0.0;
11379                color: 224 224 224 255;
11380                color3: 0 0 0 64;
11381             }
11382          }
11383          part { name: "fg1";
11384             clip_to: "disclip";
11385             mouse_events: 0;
11386             description { state: "default" 0.0;
11387                visible: 0;
11388                color: 255 255 255 0;
11389                rel1.to: "bg";
11390                rel2.relative: 1.0 0.5;
11391                rel2.to: "bg";
11392                image {
11393                   normal: "bt_sm_hilight.png";
11394                   border: 6 6 6 0;
11395                }
11396             }
11397             description { state: "selected" 0.0;
11398                inherit: "default" 0.0;
11399                visible: 1;
11400                color: 255 255 255 255;
11401             }
11402          }
11403          part { name: "fg2";
11404             clip_to: "disclip";
11405             mouse_events: 0;
11406             description { state: "default" 0.0;
11407                visible: 0;
11408                color: 255 255 255 0;
11409                rel1.to: "bg";
11410                rel2.to: "bg";
11411                image {
11412                   normal: "bt_sm_shine.png";
11413                   border: 6 6 6 0;
11414                }
11415             }
11416             description { state: "selected" 0.0;
11417                inherit: "default" 0.0;
11418                visible: 1;
11419                color: 255 255 255 255;
11420             }
11421          }
11422          part { name: "disclip";
11423             type: RECT;
11424             description { state: "default" 0.0;
11425                rel1.to: "bg";
11426                rel2.to: "bg";
11427             }
11428             description { state: "disabled" 0.0;
11429                inherit: "default" 0.0;
11430                color: 255 255 255 64;
11431             }
11432          }
11433       }
11434       programs {
11435          // signal: elm,state,%s,active
11436          //   a "check" item named %s went active
11437          // signal: elm,state,%s,passive
11438          //   a "check" item named %s went passive
11439          // default is passive
11440          program {
11441             name:    "go_active";
11442             signal:  "elm,state,selected";
11443             source:  "elm";
11444             action:  STATE_SET "selected" 0.0;
11445             target:  "bg";
11446             target:  "fg1";
11447             target:  "fg2";
11448             target:  "elm.text";
11449          }
11450          program {
11451             name:    "go_passive";
11452             signal:  "elm,state,unselected";
11453             source:  "elm";
11454             action:  STATE_SET "default" 0.0;
11455             target:  "bg";
11456             target:  "fg1";
11457             target:  "fg2";
11458             target:  "elm.text";
11459             transition: LINEAR 0.1;
11460          }
11461          program {
11462             name:    "go_disabled";
11463             signal:  "elm,state,disabled";
11464             source:  "elm";
11465             action:  STATE_SET "disabled" 0.0;
11466             target:  "disclip";
11467          }
11468          program {
11469             name:    "go_enabled";
11470             signal:  "elm,state,enabled";
11471             source:  "elm";
11472             action:  STATE_SET "default" 0.0;
11473             target:  "disclip";
11474          }
11475       }
11476    }
11477    group { name: "elm/genlist/item_odd/default/default";
11478       data.item: "stacking" "below";
11479       data.item: "selectraise" "on";
11480       data.item: "labels" "elm.text";
11481       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11482       data.item: "treesize" "20";
11483 //      data.item: "states" "";
11484       images {
11485          image: "bt_sm_base1.png" COMP;
11486          image: "bt_sm_shine.png" COMP;
11487          image: "bt_sm_hilight.png" COMP;
11488          image: "ilist_2.png" COMP;
11489       }
11490       parts {
11491          part { name: "event";
11492             type: RECT;
11493             repeat_events: 1;
11494             description {
11495                state: "default" 0.0;
11496                color: 0 0 0 0;
11497             }
11498          }
11499          part {
11500             name: "base";
11501             mouse_events: 0;
11502             description {
11503                state: "default" 0.0;
11504                image {
11505                   normal: "ilist_2.png";
11506                   border: 2 2 2 2;
11507                }
11508                fill.smooth: 0;
11509             }
11510          }
11511          part { name: "bg";
11512             clip_to: "disclip";
11513             mouse_events: 0;
11514             description { state: "default" 0.0;
11515                visible: 0;
11516                color: 255 255 255 0;
11517                rel1 {
11518                   relative: 0.0 0.0;
11519                   offset: -5 -5;
11520                }
11521                rel2 {
11522                   relative: 1.0 1.0;
11523                   offset: 4 4;
11524                }
11525                image {
11526                   normal: "bt_sm_base1.png";
11527                   border: 6 6 6 6;
11528                }
11529                image.middle: SOLID;
11530             }
11531             description { state: "selected" 0.0;
11532                inherit: "default" 0.0;
11533                visible: 1;
11534                color: 255 255 255 255;
11535                rel1 {
11536                   relative: 0.0 0.0;
11537                   offset: -2 -2;
11538                }
11539                rel2 {
11540                   relative: 1.0 1.0;
11541                   offset: 1 1;
11542                }
11543             }
11544          }
11545          part { name: "elm.swallow.pad";
11546             type: SWALLOW;
11547             description { state: "default" 0.0;
11548                fixed: 1 0;
11549                align: 0.0 0.5;
11550                rel1 {
11551                   relative: 0.0  0.0;
11552                   offset:   4    4;
11553                }
11554                rel2 {
11555                   relative: 0.0  1.0;
11556                   offset:   4   -5;
11557                }
11558             }
11559          }
11560          part { name: "elm.swallow.icon";
11561             clip_to: "disclip";
11562             type: SWALLOW;
11563             description { state: "default" 0.0;
11564                fixed: 1 0;
11565                align: 0.0 0.5;
11566                rel1 {
11567                   to_x: "elm.swallow.pad";
11568                   relative: 1.0  0.0;
11569                   offset:   -1    4;
11570                }
11571                rel2 {
11572                   to_x: "elm.swallow.pad";
11573                   relative: 1.0  1.0;
11574                   offset:   -1   -5;
11575                }
11576             }
11577          }
11578          part { name: "elm.swallow.end";
11579             clip_to: "disclip";
11580             type:          SWALLOW;
11581             description { state:    "default" 0.0;
11582                fixed: 1 0;
11583                align:    1.0 0.5;
11584                aspect: 1.0 1.0;
11585                aspect_preference: VERTICAL;
11586                rel1 {
11587                   relative: 1.0  0.0;
11588                   offset:   -5    4;
11589                }
11590                rel2 {
11591                   relative: 1.0  1.0;
11592                   offset:   -5   -5;
11593                }
11594             }
11595          }
11596          part { name: "elm.text";
11597             clip_to: "disclip";
11598             type:           TEXT;
11599             effect:         SOFT_SHADOW;
11600             mouse_events:   0;
11601             scale: 1;
11602             description {
11603                state: "default" 0.0;
11604 //               min:      16 16;
11605                rel1 {
11606                   to_x:     "elm.swallow.icon";
11607                   relative: 1.0  0.0;
11608                   offset:   0 4;
11609                }
11610                rel2 {
11611                   to_x:     "elm.swallow.end";
11612                   relative: 0.0  1.0;
11613                   offset:   -1 -5;
11614                }
11615                color: 0 0 0 255;
11616                color3: 0 0 0 0;
11617                text {
11618                   font: "Sans";
11619                   size: 10;
11620                   min: 1 1;
11621 //                  min: 0 1;
11622                   align: 0.0 0.5;
11623                }
11624             }
11625             description { state: "selected" 0.0;
11626                inherit: "default" 0.0;
11627                color: 224 224 224 255;
11628                color3: 0 0 0 64;
11629             }
11630          }
11631          part { name: "fg1";
11632             clip_to: "disclip";
11633             mouse_events: 0;
11634             description { state: "default" 0.0;
11635                visible: 0;
11636                color: 255 255 255 0;
11637                rel1.to: "bg";
11638                rel2.relative: 1.0 0.5;
11639                rel2.to: "bg";
11640                image {
11641                   normal: "bt_sm_hilight.png";
11642                   border: 6 6 6 0;
11643                }
11644             }
11645             description { state: "selected" 0.0;
11646                inherit: "default" 0.0;
11647                visible: 1;
11648                color: 255 255 255 255;
11649             }
11650          }
11651          part { name: "fg2";
11652             clip_to: "disclip";
11653             mouse_events: 0;
11654             description { state: "default" 0.0;
11655                visible: 0;
11656                color: 255 255 255 0;
11657                rel1.to: "bg";
11658                rel2.to: "bg";
11659                image {
11660                   normal: "bt_sm_shine.png";
11661                   border: 6 6 6 0;
11662                }
11663             }
11664             description { state: "selected" 0.0;
11665                inherit: "default" 0.0;
11666                visible: 1;
11667                color: 255 255 255 255;
11668             }
11669          }
11670          part { name: "disclip";
11671             type: RECT;
11672             description { state: "default" 0.0;
11673                rel1.to: "bg";
11674                rel2.to: "bg";
11675             }
11676             description { state: "disabled" 0.0;
11677                inherit: "default" 0.0;
11678                color: 255 255 255 64;
11679             }
11680          }
11681       }
11682       programs {
11683          // signal: elm,state,%s,active
11684          //   a "check" item named %s went active
11685          // signal: elm,state,%s,passive
11686          //   a "check" item named %s went passive
11687          // default is passive
11688          program {
11689             name:    "go_active";
11690             signal:  "elm,state,selected";
11691             source:  "elm";
11692             action:  STATE_SET "selected" 0.0;
11693             target:  "bg";
11694             target:  "fg1";
11695             target:  "fg2";
11696             target:  "elm.text";
11697          }
11698          program {
11699             name:    "go_passive";
11700             signal:  "elm,state,unselected";
11701             source:  "elm";
11702             action:  STATE_SET "default" 0.0;
11703             target:  "bg";
11704             target:  "fg1";
11705             target:  "fg2";
11706             target:  "elm.text";
11707             transition: LINEAR 0.1;
11708          }
11709          program {
11710             name:    "go_disabled";
11711             signal:  "elm,state,disabled";
11712             source:  "elm";
11713             action:  STATE_SET "disabled" 0.0;
11714             target:  "disclip";
11715          }
11716          program {
11717             name:    "go_enabled";
11718             signal:  "elm,state,enabled";
11719             source:  "elm";
11720             action:  STATE_SET "default" 0.0;
11721             target:  "disclip";
11722          }
11723       }
11724    }
11725    group { name: "elm/genlist/item_compress_odd/default/default";
11726       data.item: "stacking" "below";
11727       data.item: "selectraise" "on";
11728       data.item: "labels" "elm.text";
11729       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11730       data.item: "treesize" "20";
11731 //      data.item: "states" "";
11732       images {
11733          image: "bt_sm_base1.png" COMP;
11734          image: "bt_sm_shine.png" COMP;
11735          image: "bt_sm_hilight.png" COMP;
11736          image: "ilist_2.png" COMP;
11737       }
11738       parts {
11739          part { name: "event";
11740             type: RECT;
11741             repeat_events: 1;
11742             description {
11743                state: "default" 0.0;
11744                color: 0 0 0 0;
11745             }
11746          }
11747          part {
11748             name: "base";
11749             mouse_events: 0;
11750             description {
11751                state: "default" 0.0;
11752                image {
11753                   normal: "ilist_2.png";
11754                   border: 2 2 2 2;
11755                }
11756                fill.smooth: 0;
11757             }
11758          }
11759          part { name: "bg";
11760             clip_to: "disclip";
11761             mouse_events: 0;
11762             description { state: "default" 0.0;
11763                visible: 0;
11764                color: 255 255 255 0;
11765                rel1 {
11766                   relative: 0.0 0.0;
11767                   offset: -5 -5;
11768                }
11769                rel2 {
11770                   relative: 1.0 1.0;
11771                   offset: 4 4;
11772                }
11773                image {
11774                   normal: "bt_sm_base1.png";
11775                   border: 6 6 6 6;
11776                }
11777                image.middle: SOLID;
11778             }
11779             description { state: "selected" 0.0;
11780                inherit: "default" 0.0;
11781                visible: 1;
11782                color: 255 255 255 255;
11783                rel1 {
11784                   relative: 0.0 0.0;
11785                   offset: -2 -2;
11786                }
11787                rel2 {
11788                   relative: 1.0 1.0;
11789                   offset: 1 1;
11790                }
11791             }
11792          }
11793          part { name: "elm.swallow.pad";
11794             type: SWALLOW;
11795             description { state: "default" 0.0;
11796                fixed: 1 0;
11797                align: 0.0 0.5;
11798                rel1 {
11799                   relative: 0.0  0.0;
11800                   offset:   4    4;
11801                }
11802                rel2 {
11803                   relative: 0.0  1.0;
11804                   offset:   4   -5;
11805                }
11806             }
11807          }
11808          part { name: "elm.swallow.icon";
11809             clip_to: "disclip";
11810             type: SWALLOW;
11811             description { state: "default" 0.0;
11812                fixed: 1 0;
11813                align: 0.0 0.5;
11814                rel1 {
11815                   to_x: "elm.swallow.pad";
11816                   relative: 1.0  0.0;
11817                   offset:   -1    4;
11818                }
11819                rel2 {
11820                   to_x: "elm.swallow.pad";
11821                   relative: 1.0  1.0;
11822                   offset:   -1   -5;
11823                }
11824             }
11825          }
11826          part { name: "elm.swallow.end";
11827             clip_to: "disclip";
11828             type:          SWALLOW;
11829             description { state:    "default" 0.0;
11830                fixed: 1 0;
11831                align:    1.0 0.5;
11832                aspect: 1.0 1.0;
11833                aspect_preference: VERTICAL;
11834                rel1 {
11835                   relative: 1.0  0.0;
11836                   offset:   -5    4;
11837                }
11838                rel2 {
11839                   relative: 1.0  1.0;
11840                   offset:   -5   -5;
11841                }
11842             }
11843          }
11844          part { name: "elm.text";
11845             clip_to: "disclip";
11846             type:           TEXT;
11847             effect:         SOFT_SHADOW;
11848             mouse_events:   0;
11849             scale: 1;
11850             description {
11851                state: "default" 0.0;
11852 //               min:      16 16;
11853                rel1 {
11854                   to_x:     "elm.swallow.icon";
11855                   relative: 1.0  0.0;
11856                   offset:   0 4;
11857                }
11858                rel2 {
11859                   to_x:     "elm.swallow.end";
11860                   relative: 0.0  1.0;
11861                   offset:   -1 -5;
11862                }
11863                color: 0 0 0 255;
11864                color3: 0 0 0 0;
11865                text {
11866                   font: "Sans";
11867                   size: 10;
11868                   min: 0 1;
11869 //                  min: 1 1;
11870                   align: 0.0 0.5;
11871                }
11872             }
11873             description { state: "selected" 0.0;
11874                inherit: "default" 0.0;
11875                color: 224 224 224 255;
11876                color3: 0 0 0 64;
11877             }
11878          }
11879          part { name: "fg1";
11880             clip_to: "disclip";
11881             mouse_events: 0;
11882             description { state: "default" 0.0;
11883                visible: 0;
11884                color: 255 255 255 0;
11885                rel1.to: "bg";
11886                rel2.relative: 1.0 0.5;
11887                rel2.to: "bg";
11888                image {
11889                   normal: "bt_sm_hilight.png";
11890                   border: 6 6 6 0;
11891                }
11892             }
11893             description { state: "selected" 0.0;
11894                inherit: "default" 0.0;
11895                visible: 1;
11896                color: 255 255 255 255;
11897             }
11898          }
11899          part { name: "fg2";
11900             clip_to: "disclip";
11901             mouse_events: 0;
11902             description { state: "default" 0.0;
11903                visible: 0;
11904                color: 255 255 255 0;
11905                rel1.to: "bg";
11906                rel2.to: "bg";
11907                image {
11908                   normal: "bt_sm_shine.png";
11909                   border: 6 6 6 0;
11910                }
11911             }
11912             description { state: "selected" 0.0;
11913                inherit: "default" 0.0;
11914                visible: 1;
11915                color: 255 255 255 255;
11916             }
11917          }
11918          part { name: "disclip";
11919             type: RECT;
11920             description { state: "default" 0.0;
11921                rel1.to: "bg";
11922                rel2.to: "bg";
11923             }
11924             description { state: "disabled" 0.0;
11925                inherit: "default" 0.0;
11926                color: 255 255 255 64;
11927             }
11928          }
11929       }
11930       programs {
11931          // signal: elm,state,%s,active
11932          //   a "check" item named %s went active
11933          // signal: elm,state,%s,passive
11934          //   a "check" item named %s went passive
11935          // default is passive
11936          program {
11937             name:    "go_active";
11938             signal:  "elm,state,selected";
11939             source:  "elm";
11940             action:  STATE_SET "selected" 0.0;
11941             target:  "bg";
11942             target:  "fg1";
11943             target:  "fg2";
11944             target:  "elm.text";
11945          }
11946          program {
11947             name:    "go_passive";
11948             signal:  "elm,state,unselected";
11949             source:  "elm";
11950             action:  STATE_SET "default" 0.0;
11951             target:  "bg";
11952             target:  "fg1";
11953             target:  "fg2";
11954             target:  "elm.text";
11955             transition: LINEAR 0.1;
11956          }
11957          program {
11958             name:    "go_disabled";
11959             signal:  "elm,state,disabled";
11960             source:  "elm";
11961             action:  STATE_SET "disabled" 0.0;
11962             target:  "disclip";
11963          }
11964          program {
11965             name:    "go_enabled";
11966             signal:  "elm,state,enabled";
11967             source:  "elm";
11968             action:  STATE_SET "default" 0.0;
11969             target:  "disclip";
11970          }
11971       }
11972    }
11973
11974    group { name: "elm/genlist/tree/default/default";
11975       data.item: "stacking" "above";
11976       data.item: "selectraise" "on";
11977       data.item: "labels" "elm.text";
11978       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11979       data.item: "treesize" "20";
11980 //      data.item: "states" "";
11981       images {
11982          image: "bt_sm_base1.png" COMP;
11983          image: "bt_sm_shine.png" COMP;
11984          image: "bt_sm_hilight.png" COMP;
11985          image: "ilist_1.png" COMP;
11986          image: "ilist_item_shadow.png" COMP;
11987          image: "icon_arrow_right.png" COMP;
11988          image: "icon_arrow_down.png" COMP;
11989       }
11990       parts {
11991          part {
11992             name:           "event";
11993             type:           RECT;
11994             repeat_events: 1;
11995             description {
11996                state: "default" 0.0;
11997                color: 0 0 0 0;
11998             }
11999          }
12000          part {
12001             name: "base_sh";
12002             mouse_events: 0;
12003             description {
12004                state: "default" 0.0;
12005                align: 0.0 0.0;
12006                min: 0 10;
12007                fixed: 1 1;
12008                rel1 {
12009                   to: "base";
12010                   relative: 0.0 1.0;
12011                   offset: 0 0;
12012                }
12013                rel2 {
12014                   to: "base";
12015                   relative: 1.0 1.0;
12016                   offset: -1 0;
12017                }
12018                image {
12019                   normal: "ilist_item_shadow.png";
12020                }
12021                fill.smooth: 0;
12022             }
12023          }
12024          part {
12025             name: "base";
12026             mouse_events: 0;
12027             description {
12028                state: "default" 0.0;
12029                image {
12030                   normal: "ilist_1.png";
12031                   border: 2 2 2 2;
12032                }
12033                fill.smooth: 0;
12034             }
12035          }
12036          part { name: "bg";
12037             clip_to: "disclip";
12038             mouse_events: 0;
12039             description { state: "default" 0.0;
12040                visible: 0;
12041                color: 255 255 255 0;
12042                rel1 {
12043                   relative: 0.0 0.0;
12044                   offset: -5 -5;
12045                }
12046                rel2 {
12047                   relative: 1.0 1.0;
12048                   offset: 4 4;
12049                }
12050                image {
12051                   normal: "bt_sm_base1.png";
12052                   border: 6 6 6 6;
12053                }
12054                image.middle: SOLID;
12055             }
12056             description { state: "selected" 0.0;
12057                inherit: "default" 0.0;
12058                visible: 1;
12059                color: 255 255 255 255;
12060                rel1 {
12061                   relative: 0.0 0.0;
12062                   offset: -2 -2;
12063                }
12064                rel2 {
12065                   relative: 1.0 1.0;
12066                   offset: 1 1;
12067                }
12068             }
12069          }
12070          part { name: "elm.swallow.pad";
12071             type: SWALLOW;
12072             description { state: "default" 0.0;
12073                fixed: 1 0;
12074                align: 0.0 0.5;
12075                rel1 {
12076                   relative: 0.0  0.0;
12077                   offset:   4    4;
12078                }
12079                rel2 {
12080                   relative: 0.0  1.0;
12081                   offset:   4   -5;
12082                }
12083             }
12084          }
12085          part { name: "arrow";
12086             clip_to: "disclip";
12087             ignore_flags: ON_HOLD;
12088             description { state: "default" 0.0;
12089                fixed: 1 0;
12090                align: 0.0 0.5;
12091                aspect: 1.0 1.0;
12092                rel1 {
12093                   to_x: "elm.swallow.pad";
12094                   relative: 1.0  0.0;
12095                   offset:   -1    4;
12096                }
12097                rel2 {
12098                   to_x: "elm.swallow.pad";
12099                   relative: 1.0  1.0;
12100                   offset:   -1   -5;
12101                }
12102                image.normal: "icon_arrow_right.png";
12103             }
12104             description { state: "active" 0.0;
12105                inherit: "default" 0.0;
12106                image.normal: "icon_arrow_down.png";
12107             }
12108          }
12109          part { name: "elm.swallow.icon";
12110             clip_to: "disclip";
12111             type: SWALLOW;
12112             description { state: "default" 0.0;
12113                fixed: 1 0;
12114                align: 0.0 0.5;
12115                rel1 {
12116                   to_x: "arrow";
12117                   relative: 1.0  0.0;
12118                   offset:   4    4;
12119                }
12120                rel2 {
12121                   to_x: "arrow";
12122                   relative: 1.0  1.0;
12123                   offset:   4   -5;
12124                }
12125             }
12126          }
12127          part { name: "elm.swallow.end";
12128             clip_to: "disclip";
12129             type: SWALLOW;
12130             description { state: "default" 0.0;
12131                fixed: 1 0;
12132                align: 1.0 0.5;
12133                aspect: 1.0 1.0;
12134                aspect_preference: VERTICAL;
12135                rel1 {
12136                   relative: 1.0  0.0;
12137                   offset:   -5    4;
12138                }
12139                rel2 {
12140                   relative: 1.0  1.0;
12141                   offset:   -5   -5;
12142                }
12143             }
12144          }
12145          part { name: "elm.text";
12146             clip_to: "disclip";
12147             type:           TEXT;
12148             effect:         SOFT_SHADOW;
12149             mouse_events:   0;
12150             scale: 1;
12151             description {
12152                state: "default" 0.0;
12153 //               min: 16 16;
12154                rel1 {
12155                   to_x:     "elm.swallow.icon";
12156                   relative: 1.0  0.0;
12157                   offset:   0 4;
12158                }
12159                rel2 {
12160                   to_x:     "elm.swallow.end";
12161                   relative: 0.0  1.0;
12162                   offset:   -1 -5;
12163                }
12164                color: 0 0 0 255;
12165                color3: 0 0 0 0;
12166                text {
12167                   font: "Sans";
12168                   size: 10;
12169                   min: 1 1;
12170 //                  min: 0 1;
12171                   align: 0.0 0.5;
12172                }
12173             }
12174             description { state: "selected" 0.0;
12175                inherit: "default" 0.0;
12176                color: 224 224 224 255;
12177                color3: 0 0 0 64;
12178             }
12179          }
12180          part { name: "fg1";
12181             clip_to: "disclip";
12182             mouse_events: 0;
12183             description { state: "default" 0.0;
12184                visible: 0;
12185                color: 255 255 255 0;
12186                rel1.to: "bg";
12187                rel2.relative: 1.0 0.5;
12188                rel2.to: "bg";
12189                image {
12190                   normal: "bt_sm_hilight.png";
12191                   border: 6 6 6 0;
12192                }
12193             }
12194             description { state: "selected" 0.0;
12195                inherit: "default" 0.0;
12196                visible: 1;
12197                color: 255 255 255 255;
12198             }
12199          }
12200          part { name: "fg2";
12201             clip_to: "disclip";
12202             mouse_events: 0;
12203             description { state: "default" 0.0;
12204                visible: 0;
12205                color: 255 255 255 0;
12206                rel1.to: "bg";
12207                rel2.to: "bg";
12208                image {
12209                   normal: "bt_sm_shine.png";
12210                   border: 6 6 6 0;
12211                }
12212             }
12213             description { state: "selected" 0.0;
12214                inherit: "default" 0.0;
12215                visible: 1;
12216                color: 255 255 255 255;
12217             }
12218          }
12219          part { name: "disclip";
12220             type: RECT;
12221             description { state: "default" 0.0;
12222                rel1.to: "bg";
12223                rel2.to: "bg";
12224             }
12225             description { state: "disabled" 0.0;
12226                inherit: "default" 0.0;
12227                color: 255 255 255 64;
12228             }
12229          }
12230       }
12231       programs {
12232          // signal: elm,state,%s,active
12233          //   a "check" item named %s went active
12234          // signal: elm,state,%s,passive
12235          //   a "check" item named %s went passive
12236          // default is passive
12237          program {
12238             name:    "go_active";
12239             signal:  "elm,state,selected";
12240             source:  "elm";
12241             action:  STATE_SET "selected" 0.0;
12242             target:  "bg";
12243             target:  "fg1";
12244             target:  "fg2";
12245             target:  "elm.text";
12246          }
12247          program {
12248             name:    "go_passive";
12249             signal:  "elm,state,unselected";
12250             source:  "elm";
12251             action:  STATE_SET "default" 0.0;
12252             target:  "bg";
12253             target:  "fg1";
12254             target:  "fg2";
12255             target:  "elm.text";
12256             transition: LINEAR 0.1;
12257          }
12258          program {
12259             name:    "go_disabled";
12260             signal:  "elm,state,disabled";
12261             source:  "elm";
12262             action:  STATE_SET "disabled" 0.0;
12263             target:  "disclip";
12264          }
12265          program {
12266             name:    "go_enabled";
12267             signal:  "elm,state,enabled";
12268             source:  "elm";
12269             action:  STATE_SET "default" 0.0;
12270             target:  "disclip";
12271          }
12272          program {
12273             name:    "expand";
12274             signal:  "mouse,up,1";
12275             source:  "arrow";
12276             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12277          }
12278          program {
12279             name:    "go_expanded";
12280             signal:  "elm,state,expanded";
12281             source:  "elm";
12282             action:  STATE_SET "active" 0.0;
12283             target:  "arrow";
12284          }
12285          program {
12286             name:    "go_contracted";
12287             signal:  "elm,state,contracted";
12288             source:  "elm";
12289             action:  STATE_SET "default" 0.0;
12290             target:  "arrow";
12291          }
12292       }
12293    }
12294    group { name: "elm/genlist/tree_compress/default/default";
12295       data.item: "stacking" "above";
12296       data.item: "selectraise" "on";
12297       data.item: "labels" "elm.text";
12298       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12299       data.item: "treesize" "20";
12300 //      data.item: "states" "";
12301       images {
12302          image: "bt_sm_base1.png" COMP;
12303          image: "bt_sm_shine.png" COMP;
12304          image: "bt_sm_hilight.png" COMP;
12305          image: "ilist_1.png" COMP;
12306          image: "ilist_item_shadow.png" COMP;
12307          image: "icon_arrow_right.png" COMP;
12308          image: "icon_arrow_down.png" COMP;
12309       }
12310       parts {
12311          part {
12312             name:           "event";
12313             type:           RECT;
12314             repeat_events: 1;
12315             description {
12316                state: "default" 0.0;
12317                color: 0 0 0 0;
12318             }
12319          }
12320          part {
12321             name: "base_sh";
12322             mouse_events: 0;
12323             description {
12324                state: "default" 0.0;
12325                align: 0.0 0.0;
12326                min: 0 10;
12327                fixed: 1 1;
12328                rel1 {
12329                   to: "base";
12330                   relative: 0.0 1.0;
12331                   offset: 0 0;
12332                }
12333                rel2 {
12334                   to: "base";
12335                   relative: 1.0 1.0;
12336                   offset: -1 0;
12337                }
12338                image {
12339                   normal: "ilist_item_shadow.png";
12340                }
12341                fill.smooth: 0;
12342             }
12343          }
12344          part {
12345             name: "base";
12346             mouse_events: 0;
12347             description {
12348                state: "default" 0.0;
12349                image {
12350                   normal: "ilist_1.png";
12351                   border: 2 2 2 2;
12352                }
12353                fill.smooth: 0;
12354             }
12355          }
12356          part { name: "bg";
12357             clip_to: "disclip";
12358             mouse_events: 0;
12359             description { state: "default" 0.0;
12360                visible: 0;
12361                color: 255 255 255 0;
12362                rel1 {
12363                   relative: 0.0 0.0;
12364                   offset: -5 -5;
12365                }
12366                rel2 {
12367                   relative: 1.0 1.0;
12368                   offset: 4 4;
12369                }
12370                image {
12371                   normal: "bt_sm_base1.png";
12372                   border: 6 6 6 6;
12373                }
12374                image.middle: SOLID;
12375             }
12376             description { state: "selected" 0.0;
12377                inherit: "default" 0.0;
12378                visible: 1;
12379                color: 255 255 255 255;
12380                rel1 {
12381                   relative: 0.0 0.0;
12382                   offset: -2 -2;
12383                }
12384                rel2 {
12385                   relative: 1.0 1.0;
12386                   offset: 1 1;
12387                }
12388             }
12389          }
12390          part { name: "elm.swallow.pad";
12391             type: SWALLOW;
12392             description { state: "default" 0.0;
12393                fixed: 1 0;
12394                align: 0.0 0.5;
12395                rel1 {
12396                   relative: 0.0  0.0;
12397                   offset:   4    4;
12398                }
12399                rel2 {
12400                   relative: 0.0  1.0;
12401                   offset:   4   -5;
12402                }
12403             }
12404          }
12405          part { name: "arrow";
12406             clip_to: "disclip";
12407             ignore_flags: ON_HOLD;
12408             description { state: "default" 0.0;
12409                fixed: 1 0;
12410                align: 0.0 0.5;
12411                aspect: 1.0 1.0;
12412                rel1 {
12413                   to_x: "elm.swallow.pad";
12414                   relative: 1.0  0.0;
12415                   offset:   -1    4;
12416                }
12417                rel2 {
12418                   to_x: "elm.swallow.pad";
12419                   relative: 1.0  1.0;
12420                   offset:   -1   -5;
12421                }
12422                image.normal: "icon_arrow_right.png";
12423             }
12424             description { state: "active" 0.0;
12425                inherit: "default" 0.0;
12426                image.normal: "icon_arrow_down.png";
12427             }
12428          }
12429          part { name: "elm.swallow.icon";
12430             clip_to: "disclip";
12431             type: SWALLOW;
12432             description { state: "default" 0.0;
12433                fixed: 1 0;
12434                align: 0.0 0.5;
12435                rel1 {
12436                   to_x: "arrow";
12437                   relative: 1.0  0.0;
12438                   offset:   4    4;
12439                }
12440                rel2 {
12441                   to_x: "arrow";
12442                   relative: 1.0  1.0;
12443                   offset:   4   -5;
12444                }
12445             }
12446          }
12447          part { name: "elm.swallow.end";
12448             clip_to: "disclip";
12449             type: SWALLOW;
12450             description { state: "default" 0.0;
12451                fixed: 1 0;
12452                align: 1.0 0.5;
12453                aspect: 1.0 1.0;
12454                aspect_preference: VERTICAL;
12455                rel1 {
12456                   relative: 1.0  0.0;
12457                   offset:   -5    4;
12458                }
12459                rel2 {
12460                   relative: 1.0  1.0;
12461                   offset:   -5   -5;
12462                }
12463             }
12464          }
12465          part { name: "elm.text";
12466             clip_to: "disclip";
12467             type:           TEXT;
12468             effect:         SOFT_SHADOW;
12469             mouse_events:   0;
12470             scale: 1;
12471             description {
12472                state: "default" 0.0;
12473 //               min: 16 16;
12474                rel1 {
12475                   to_x:     "elm.swallow.icon";
12476                   relative: 1.0  0.0;
12477                   offset:   0 4;
12478                }
12479                rel2 {
12480                   to_x:     "elm.swallow.end";
12481                   relative: 0.0  1.0;
12482                   offset:   -1 -5;
12483                }
12484                color: 0 0 0 255;
12485                color3: 0 0 0 0;
12486                text {
12487                   font: "Sans";
12488                   size: 10;
12489 //                  min: 1 1;
12490                   min: 0 1;
12491                   align: 0.0 0.5;
12492                }
12493             }
12494             description { state: "selected" 0.0;
12495                inherit: "default" 0.0;
12496                color: 224 224 224 255;
12497                color3: 0 0 0 64;
12498             }
12499          }
12500          part { name: "fg1";
12501             clip_to: "disclip";
12502             mouse_events: 0;
12503             description { state: "default" 0.0;
12504                visible: 0;
12505                color: 255 255 255 0;
12506                rel1.to: "bg";
12507                rel2.relative: 1.0 0.5;
12508                rel2.to: "bg";
12509                image {
12510                   normal: "bt_sm_hilight.png";
12511                   border: 6 6 6 0;
12512                }
12513             }
12514             description { state: "selected" 0.0;
12515                inherit: "default" 0.0;
12516                visible: 1;
12517                color: 255 255 255 255;
12518             }
12519          }
12520          part { name: "fg2";
12521             clip_to: "disclip";
12522             mouse_events: 0;
12523             description { state: "default" 0.0;
12524                visible: 0;
12525                color: 255 255 255 0;
12526                rel1.to: "bg";
12527                rel2.to: "bg";
12528                image {
12529                   normal: "bt_sm_shine.png";
12530                   border: 6 6 6 0;
12531                }
12532             }
12533             description { state: "selected" 0.0;
12534                inherit: "default" 0.0;
12535                visible: 1;
12536                color: 255 255 255 255;
12537             }
12538          }
12539          part { name: "disclip";
12540             type: RECT;
12541             description { state: "default" 0.0;
12542                rel1.to: "bg";
12543                rel2.to: "bg";
12544             }
12545             description { state: "disabled" 0.0;
12546                inherit: "default" 0.0;
12547                color: 255 255 255 64;
12548             }
12549          }
12550       }
12551       programs {
12552          // signal: elm,state,%s,active
12553          //   a "check" item named %s went active
12554          // signal: elm,state,%s,passive
12555          //   a "check" item named %s went passive
12556          // default is passive
12557          program {
12558             name:    "go_active";
12559             signal:  "elm,state,selected";
12560             source:  "elm";
12561             action:  STATE_SET "selected" 0.0;
12562             target:  "bg";
12563             target:  "fg1";
12564             target:  "fg2";
12565             target:  "elm.text";
12566          }
12567          program {
12568             name:    "go_passive";
12569             signal:  "elm,state,unselected";
12570             source:  "elm";
12571             action:  STATE_SET "default" 0.0;
12572             target:  "bg";
12573             target:  "fg1";
12574             target:  "fg2";
12575             target:  "elm.text";
12576             transition: LINEAR 0.1;
12577          }
12578          program {
12579             name:    "go_disabled";
12580             signal:  "elm,state,disabled";
12581             source:  "elm";
12582             action:  STATE_SET "disabled" 0.0;
12583             target:  "disclip";
12584          }
12585          program {
12586             name:    "go_enabled";
12587             signal:  "elm,state,enabled";
12588             source:  "elm";
12589             action:  STATE_SET "default" 0.0;
12590             target:  "disclip";
12591          }
12592          program {
12593             name:    "expand";
12594             signal:  "mouse,up,1";
12595             source:  "arrow";
12596             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12597          }
12598          program {
12599             name:    "go_expanded";
12600             signal:  "elm,state,expanded";
12601             source:  "elm";
12602             action:  STATE_SET "active" 0.0;
12603             target:  "arrow";
12604          }
12605          program {
12606             name:    "go_contracted";
12607             signal:  "elm,state,contracted";
12608             source:  "elm";
12609             action:  STATE_SET "default" 0.0;
12610             target:  "arrow";
12611          }
12612       }
12613    }
12614    group { name: "elm/genlist/tree_odd/default/default";
12615       data.item: "stacking" "below";
12616       data.item: "selectraise" "on";
12617       data.item: "labels" "elm.text";
12618       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12619       data.item: "treesize" "20";
12620 //      data.item: "states" "";
12621       images {
12622          image: "bt_sm_base1.png" COMP;
12623          image: "bt_sm_shine.png" COMP;
12624          image: "bt_sm_hilight.png" COMP;
12625          image: "ilist_2.png" COMP;
12626          image: "icon_arrow_right.png" COMP;
12627          image: "icon_arrow_down.png" COMP;
12628       }
12629       parts {
12630          part {
12631             name:           "event";
12632             type:           RECT;
12633             repeat_events: 1;
12634             description {
12635                state: "default" 0.0;
12636                color: 0 0 0 0;
12637             }
12638          }
12639          part {
12640             name: "base";
12641             mouse_events: 0;
12642             description {
12643                state: "default" 0.0;
12644                image {
12645                   normal: "ilist_2.png";
12646                   border: 2 2 2 2;
12647                }
12648                fill.smooth: 0;
12649             }
12650          }
12651          part { name: "bg";
12652             clip_to: "disclip";
12653             mouse_events: 0;
12654             description { state: "default" 0.0;
12655                visible: 0;
12656                color: 255 255 255 0;
12657                rel1 {
12658                   relative: 0.0 0.0;
12659                   offset: -5 -5;
12660                }
12661                rel2 {
12662                   relative: 1.0 1.0;
12663                   offset: 4 4;
12664                }
12665                image {
12666                   normal: "bt_sm_base1.png";
12667                   border: 6 6 6 6;
12668                }
12669                image.middle: SOLID;
12670             }
12671             description { state: "selected" 0.0;
12672                inherit: "default" 0.0;
12673                visible: 1;
12674                color: 255 255 255 255;
12675                rel1 {
12676                   relative: 0.0 0.0;
12677                   offset: -2 -2;
12678                }
12679                rel2 {
12680                   relative: 1.0 1.0;
12681                   offset: 1 1;
12682                }
12683             }
12684          }
12685          part { name: "elm.swallow.pad";
12686             type: SWALLOW;
12687             description { state: "default" 0.0;
12688                fixed: 1 0;
12689                align: 0.0 0.5;
12690                rel1 {
12691                   relative: 0.0  0.0;
12692                   offset:   4    4;
12693                }
12694                rel2 {
12695                   relative: 0.0  1.0;
12696                   offset:   4   -5;
12697                }
12698             }
12699          }
12700          part { name: "arrow";
12701             clip_to: "disclip";
12702             ignore_flags: ON_HOLD;
12703             description { state: "default" 0.0;
12704                fixed: 1 0;
12705                align: 0.0 0.5;
12706                aspect: 1.0 1.0;
12707                rel1 {
12708                   to_x: "elm.swallow.pad";
12709                   relative: 1.0  0.0;
12710                   offset:   -1    4;
12711                }
12712                rel2 {
12713                   to_x: "elm.swallow.pad";
12714                   relative: 1.0  1.0;
12715                   offset:   -1   -5;
12716                }
12717                image.normal: "icon_arrow_right.png";
12718             }
12719             description { state: "active" 0.0;
12720                inherit: "default" 0.0;
12721                image.normal: "icon_arrow_down.png";
12722             }
12723          }
12724          part { name: "elm.swallow.icon";
12725             clip_to: "disclip";
12726             type: SWALLOW;
12727             description { state: "default" 0.0;
12728                fixed: 1 0;
12729                align: 0.0 0.5;
12730                rel1 {
12731                   to_x: "arrow";
12732                   relative: 1.0  0.0;
12733                   offset:   4    4;
12734                }
12735                rel2 {
12736                   to_x: "arrow";
12737                   relative: 1.0  1.0;
12738                   offset:   4   -5;
12739                }
12740             }
12741          }
12742          part { name: "elm.swallow.end";
12743             clip_to: "disclip";
12744             type: SWALLOW;
12745             description { state: "default" 0.0;
12746                fixed: 1 0;
12747                align: 1.0 0.5;
12748                aspect: 1.0 1.0;
12749                aspect_preference: VERTICAL;
12750                rel1 {
12751                   relative: 1.0  0.0;
12752                   offset:   -5    4;
12753                }
12754                rel2 {
12755                   relative: 1.0  1.0;
12756                   offset:   -5   -5;
12757                }
12758             }
12759          }
12760          part { name: "elm.text";
12761             clip_to: "disclip";
12762             type:           TEXT;
12763             effect:         SOFT_SHADOW;
12764             mouse_events:   0;
12765             scale: 1;
12766             description {
12767                state: "default" 0.0;
12768 //               min: 16 16;
12769                rel1 {
12770                   to_x:     "elm.swallow.icon";
12771                   relative: 1.0  0.0;
12772                   offset:   0 4;
12773                }
12774                rel2 {
12775                   to_x:     "elm.swallow.end";
12776                   relative: 0.0  1.0;
12777                   offset:   -1 -5;
12778                }
12779                color: 0 0 0 255;
12780                color3: 0 0 0 0;
12781                text {
12782                   font: "Sans";
12783                   size: 10;
12784                   min: 1 1;
12785 //                  min: 0 1;
12786                   align: 0.0 0.5;
12787                }
12788             }
12789             description { state: "selected" 0.0;
12790                inherit: "default" 0.0;
12791                color: 224 224 224 255;
12792                color3: 0 0 0 64;
12793             }
12794          }
12795          part { name: "fg1";
12796             clip_to: "disclip";
12797             mouse_events: 0;
12798             description { state: "default" 0.0;
12799                visible: 0;
12800                color: 255 255 255 0;
12801                rel1.to: "bg";
12802                rel2.relative: 1.0 0.5;
12803                rel2.to: "bg";
12804                image {
12805                   normal: "bt_sm_hilight.png";
12806                   border: 6 6 6 0;
12807                }
12808             }
12809             description { state: "selected" 0.0;
12810                inherit: "default" 0.0;
12811                visible: 1;
12812                color: 255 255 255 255;
12813             }
12814          }
12815          part { name: "fg2";
12816             clip_to: "disclip";
12817             mouse_events: 0;
12818             description { state: "default" 0.0;
12819                visible: 0;
12820                color: 255 255 255 0;
12821                rel1.to: "bg";
12822                rel2.to: "bg";
12823                image {
12824                   normal: "bt_sm_shine.png";
12825                   border: 6 6 6 0;
12826                }
12827             }
12828             description { state: "selected" 0.0;
12829                inherit: "default" 0.0;
12830                visible: 1;
12831                color: 255 255 255 255;
12832             }
12833          }
12834          part { name: "disclip";
12835             type: RECT;
12836             description { state: "default" 0.0;
12837                rel1.to: "bg";
12838                rel2.to: "bg";
12839             }
12840             description { state: "disabled" 0.0;
12841                inherit: "default" 0.0;
12842                color: 255 255 255 64;
12843             }
12844          }
12845       }
12846       programs {
12847          // signal: elm,state,%s,active
12848          //   a "check" item named %s went active
12849          // signal: elm,state,%s,passive
12850          //   a "check" item named %s went passive
12851          // default is passive
12852          program {
12853             name:    "go_active";
12854             signal:  "elm,state,selected";
12855             source:  "elm";
12856             action:  STATE_SET "selected" 0.0;
12857             target:  "bg";
12858             target:  "fg1";
12859             target:  "fg2";
12860             target:  "elm.text";
12861          }
12862          program {
12863             name:    "go_passive";
12864             signal:  "elm,state,unselected";
12865             source:  "elm";
12866             action:  STATE_SET "default" 0.0;
12867             target:  "bg";
12868             target:  "fg1";
12869             target:  "fg2";
12870             target:  "elm.text";
12871             transition: LINEAR 0.1;
12872          }
12873          program {
12874             name:    "go_disabled";
12875             signal:  "elm,state,disabled";
12876             source:  "elm";
12877             action:  STATE_SET "disabled" 0.0;
12878             target:  "disclip";
12879          }
12880          program {
12881             name:    "go_enabled";
12882             signal:  "elm,state,enabled";
12883             source:  "elm";
12884             action:  STATE_SET "default" 0.0;
12885             target:  "disclip";
12886          }
12887          program {
12888             name:    "expand";
12889             signal:  "mouse,up,1";
12890             source:  "arrow";
12891             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12892          }
12893          program {
12894             name:    "go_expanded";
12895             signal:  "elm,state,expanded";
12896             source:  "elm";
12897             action:  STATE_SET "active" 0.0;
12898             target:  "arrow";
12899          }
12900          program {
12901             name:    "go_contracted";
12902             signal:  "elm,state,contracted";
12903             source:  "elm";
12904             action:  STATE_SET "default" 0.0;
12905             target:  "arrow";
12906          }
12907       }
12908    }
12909    group { name: "elm/genlist/tree_compress_odd/default/default";
12910       data.item: "stacking" "below";
12911       data.item: "selectraise" "on";
12912       data.item: "labels" "elm.text";
12913       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12914       data.item: "treesize" "20";
12915 //      data.item: "states" "";
12916       images {
12917          image: "bt_sm_base1.png" COMP;
12918          image: "bt_sm_shine.png" COMP;
12919          image: "bt_sm_hilight.png" COMP;
12920          image: "ilist_2.png" COMP;
12921          image: "icon_arrow_right.png" COMP;
12922          image: "icon_arrow_down.png" COMP;
12923       }
12924       parts {
12925          part {
12926             name:           "event";
12927             type:           RECT;
12928             repeat_events: 1;
12929             description {
12930                state: "default" 0.0;
12931                color: 0 0 0 0;
12932             }
12933          }
12934          part {
12935             name: "base";
12936             mouse_events: 0;
12937             description {
12938                state: "default" 0.0;
12939                image {
12940                   normal: "ilist_2.png";
12941                   border: 2 2 2 2;
12942                }
12943                fill.smooth: 0;
12944             }
12945          }
12946          part { name: "bg";
12947             clip_to: "disclip";
12948             mouse_events: 0;
12949             description { state: "default" 0.0;
12950                visible: 0;
12951                color: 255 255 255 0;
12952                rel1 {
12953                   relative: 0.0 0.0;
12954                   offset: -5 -5;
12955                }
12956                rel2 {
12957                   relative: 1.0 1.0;
12958                   offset: 4 4;
12959                }
12960                image {
12961                   normal: "bt_sm_base1.png";
12962                   border: 6 6 6 6;
12963                }
12964                image.middle: SOLID;
12965             }
12966             description { state: "selected" 0.0;
12967                inherit: "default" 0.0;
12968                visible: 1;
12969                color: 255 255 255 255;
12970                rel1 {
12971                   relative: 0.0 0.0;
12972                   offset: -2 -2;
12973                }
12974                rel2 {
12975                   relative: 1.0 1.0;
12976                   offset: 1 1;
12977                }
12978             }
12979          }
12980          part { name: "elm.swallow.pad";
12981             type: SWALLOW;
12982             description { state: "default" 0.0;
12983                fixed: 1 0;
12984                align: 0.0 0.5;
12985                rel1 {
12986                   relative: 0.0  0.0;
12987                   offset:   4    4;
12988                }
12989                rel2 {
12990                   relative: 0.0  1.0;
12991                   offset:   4   -5;
12992                }
12993             }
12994          }
12995          part { name: "arrow";
12996             clip_to: "disclip";
12997             ignore_flags: ON_HOLD;
12998             description { state: "default" 0.0;
12999                fixed: 1 0;
13000                align: 0.0 0.5;
13001                aspect: 1.0 1.0;
13002                rel1 {
13003                   to_x: "elm.swallow.pad";
13004                   relative: 1.0  0.0;
13005                   offset:   -1    4;
13006                }
13007                rel2 {
13008                   to_x: "elm.swallow.pad";
13009                   relative: 1.0  1.0;
13010                   offset:   -1   -5;
13011                }
13012                image.normal: "icon_arrow_right.png";
13013             }
13014             description { state: "active" 0.0;
13015                inherit: "default" 0.0;
13016                image.normal: "icon_arrow_down.png";
13017             }
13018          }
13019          part { name: "elm.swallow.icon";
13020             clip_to: "disclip";
13021             type: SWALLOW;
13022             description { state: "default" 0.0;
13023                fixed: 1 0;
13024                align: 0.0 0.5;
13025                rel1 {
13026                   to_x: "arrow";
13027                   relative: 1.0  0.0;
13028                   offset:   4    4;
13029                }
13030                rel2 {
13031                   to_x: "arrow";
13032                   relative: 1.0  1.0;
13033                   offset:   4   -5;
13034                }
13035             }
13036          }
13037          part { name: "elm.swallow.end";
13038             clip_to: "disclip";
13039             type: SWALLOW;
13040             description { state: "default" 0.0;
13041                fixed: 1 0;
13042                align: 1.0 0.5;
13043                aspect: 1.0 1.0;
13044                aspect_preference: VERTICAL;
13045                rel1 {
13046                   relative: 1.0  0.0;
13047                   offset:   -5    4;
13048                }
13049                rel2 {
13050                   relative: 1.0  1.0;
13051                   offset:   -5   -5;
13052                }
13053             }
13054          }
13055          part { name: "elm.text";
13056             clip_to: "disclip";
13057             type:           TEXT;
13058             effect:         SOFT_SHADOW;
13059             mouse_events:   0;
13060             scale: 1;
13061             description {
13062                state: "default" 0.0;
13063 //               min: 16 16;
13064                rel1 {
13065                   to_x:     "elm.swallow.icon";
13066                   relative: 1.0  0.0;
13067                   offset:   0 4;
13068                }
13069                rel2 {
13070                   to_x:     "elm.swallow.end";
13071                   relative: 0.0  1.0;
13072                   offset:   -1 -5;
13073                }
13074                color: 0 0 0 255;
13075                color3: 0 0 0 0;
13076                text {
13077                   font: "Sans";
13078                   size: 10;
13079 //                  min: 1 1;
13080                   min: 0 1;
13081                   align: 0.0 0.5;
13082                }
13083             }
13084             description { state: "selected" 0.0;
13085                inherit: "default" 0.0;
13086                color: 224 224 224 255;
13087                color3: 0 0 0 64;
13088             }
13089          }
13090          part { name: "fg1";
13091             clip_to: "disclip";
13092             mouse_events: 0;
13093             description { state: "default" 0.0;
13094                visible: 0;
13095                color: 255 255 255 0;
13096                rel1.to: "bg";
13097                rel2.relative: 1.0 0.5;
13098                rel2.to: "bg";
13099                image {
13100                   normal: "bt_sm_hilight.png";
13101                   border: 6 6 6 0;
13102                }
13103             }
13104             description { state: "selected" 0.0;
13105                inherit: "default" 0.0;
13106                visible: 1;
13107                color: 255 255 255 255;
13108             }
13109          }
13110          part { name: "fg2";
13111             clip_to: "disclip";
13112             mouse_events: 0;
13113             description { state: "default" 0.0;
13114                visible: 0;
13115                color: 255 255 255 0;
13116                rel1.to: "bg";
13117                rel2.to: "bg";
13118                image {
13119                   normal: "bt_sm_shine.png";
13120                   border: 6 6 6 0;
13121                }
13122             }
13123             description { state: "selected" 0.0;
13124                inherit: "default" 0.0;
13125                visible: 1;
13126                color: 255 255 255 255;
13127             }
13128          }
13129          part { name: "disclip";
13130             type: RECT;
13131             description { state: "default" 0.0;
13132                rel1.to: "bg";
13133                rel2.to: "bg";
13134             }
13135             description { state: "disabled" 0.0;
13136                inherit: "default" 0.0;
13137                color: 255 255 255 64;
13138             }
13139          }
13140       }
13141       programs {
13142          // signal: elm,state,%s,active
13143          //   a "check" item named %s went active
13144          // signal: elm,state,%s,passive
13145          //   a "check" item named %s went passive
13146          // default is passive
13147          program {
13148             name:    "go_active";
13149             signal:  "elm,state,selected";
13150             source:  "elm";
13151             action:  STATE_SET "selected" 0.0;
13152             target:  "bg";
13153             target:  "fg1";
13154             target:  "fg2";
13155             target:  "elm.text";
13156          }
13157          program {
13158             name:    "go_passive";
13159             signal:  "elm,state,unselected";
13160             source:  "elm";
13161             action:  STATE_SET "default" 0.0;
13162             target:  "bg";
13163             target:  "fg1";
13164             target:  "fg2";
13165             target:  "elm.text";
13166             transition: LINEAR 0.1;
13167          }
13168          program {
13169             name:    "go_disabled";
13170             signal:  "elm,state,disabled";
13171             source:  "elm";
13172             action:  STATE_SET "disabled" 0.0;
13173             target:  "disclip";
13174          }
13175          program {
13176             name:    "go_enabled";
13177             signal:  "elm,state,enabled";
13178             source:  "elm";
13179             action:  STATE_SET "default" 0.0;
13180             target:  "disclip";
13181          }
13182          program {
13183             name:    "expand";
13184             signal:  "mouse,up,1";
13185             source:  "arrow";
13186             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
13187          }
13188          program {
13189             name:    "go_expanded";
13190             signal:  "elm,state,expanded";
13191             source:  "elm";
13192             action:  STATE_SET "active" 0.0;
13193             target:  "arrow";
13194          }
13195          program {
13196             name:    "go_contracted";
13197             signal:  "elm,state,contracted";
13198             source:  "elm";
13199             action:  STATE_SET "default" 0.0;
13200             target:  "arrow";
13201          }
13202       }
13203    }
13204
13205    group { name: "elm/genlist/item/default_style/default";
13206        styles
13207        {
13208            style { name: "genlist_style";
13209                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
13210                tag:  "br" "\n";
13211                tag:  "hilight" "+ font=Sans:style=Bold";
13212                tag:  "b" "+ font=Sans:style=Bold";
13213                tag:  "tab" "\t";
13214            }
13215            style { name: "genlist_selected_style";
13216                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
13217                tag:  "br" "\n";
13218                tag:  "hilight" "+ font=Sans:style=Bold";
13219                tag:  "b" "+ font=Sans:style=Bold";
13220                tag:  "tab" "\t";
13221            }
13222        }
13223        data.item: "stacking" "above";
13224        data.item: "selectraise" "on";
13225        data.item: "labels" "elm.text";
13226        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13227        data.item: "treesize" "20";
13228        images {
13229            image: "bt_sm_base1.png" COMP;
13230            image: "bt_sm_shine.png" COMP;
13231            image: "bt_sm_hilight.png" COMP;
13232            image: "ilist_1.png" COMP;
13233            image: "ilist_item_shadow.png" COMP;
13234        }
13235        parts {
13236            part {
13237                name:           "event";
13238                type:           RECT;
13239                repeat_events: 1;
13240                description {
13241                    state: "default" 0.0;
13242                    color: 0 0 0 0;
13243                }
13244            }
13245            part {
13246                name: "base_sh";
13247                mouse_events: 0;
13248                description {
13249                    state: "default" 0.0;
13250                    align: 0.0 0.0;
13251                    min: 0 10;
13252                    fixed: 1 1;
13253                    rel1 {
13254                        to: "base";
13255                        relative: 0.0 1.0;
13256                        offset: 0 0;
13257                    }
13258                    rel2 {
13259                        to: "base";
13260                        relative: 1.0 1.0;
13261                        offset: -1 0;
13262                    }
13263                    image {
13264                        normal: "ilist_item_shadow.png";
13265                    }
13266                    fill.smooth: 0;
13267                }
13268            }
13269            part {
13270                name: "base";
13271                mouse_events: 0;
13272                description {
13273                    state: "default" 0.0;
13274                    min: 16 28;
13275                    image {
13276                        normal: "ilist_1.png";
13277                        border: 2 2 2 2;
13278                    }
13279                    fill.smooth: 0;
13280                }
13281            }
13282            part { name: "bg";
13283                clip_to: "disclip";
13284                mouse_events: 0;
13285                description { state: "default" 0.0;
13286                    visible: 0;
13287                    color: 255 255 255 0;
13288                    rel1 {
13289                        relative: 0.0 0.0;
13290                        offset: -5 -5;
13291                    }
13292                    rel2 {
13293                        relative: 1.0 1.0;
13294                        offset: 4 4;
13295                    }
13296                    image {
13297                        normal: "bt_sm_base1.png";
13298                        border: 6 6 6 6;
13299                    }
13300                    image.middle: SOLID;
13301                }
13302                description { state: "selected" 0.0;
13303                    inherit: "default" 0.0;
13304                    visible: 1;
13305                    color: 255 255 255 255;
13306                    rel1 {
13307                        relative: 0.0 0.0;
13308                        offset: -2 -2;
13309                    }
13310                    rel2 {
13311                        relative: 1.0 1.0;
13312                        offset: 1 1;
13313                    }
13314                }
13315            }
13316            part { name: "elm.swallow.pad";
13317                type: SWALLOW;
13318                description { state: "default" 0.0;
13319                    fixed: 1 0;
13320                    align: 0.0 0.5;
13321                    rel1 {
13322                        relative: 0.0  0.0;
13323                        offset:   4    4;
13324                    }
13325                    rel2 {
13326                        relative: 0.0  1.0;
13327                        offset:   4   -5;
13328                    }
13329                }
13330            }
13331            part { name: "elm.swallow.icon";
13332                clip_to: "disclip";
13333                type: SWALLOW;
13334                description { state: "default" 0.0;
13335                    fixed: 1 0;
13336                    align: 0.0 0.5;
13337                    rel1 {
13338                        to_x: "elm.swallow.pad";
13339                        relative: 1.0  0.0;
13340                        offset:   -1    4;
13341                    }
13342                    rel2 {
13343                        to_x: "elm.swallow.pad";
13344                        relative: 1.0  1.0;
13345                        offset:   -1   -5;
13346                    }
13347                }
13348            }
13349            part { name: "elm.swallow.end";
13350                clip_to: "disclip";
13351                type: SWALLOW;
13352                description { state: "default" 0.0;
13353                    fixed: 1 0;
13354                    align: 1.0 0.5;
13355                    aspect: 1.0 1.0;
13356                    aspect_preference: VERTICAL;
13357                    rel1 {
13358                        relative: 1.0  0.0;
13359                        offset:   -5    4;
13360                    }
13361                    rel2 {
13362                        relative: 1.0  1.0;
13363                        offset:   -5   -5;
13364                    }
13365                }
13366            }
13367            part { name: "elm.text";
13368                clip_to: "disclip";
13369                type: TEXTBLOCK;
13370                mouse_events: 0;
13371                scale: 1;
13372                description {
13373                    state: "default" 0.0;
13374                    align: 0.0 0.5;
13375                    fixed: 0 1;
13376                    rel1 {
13377                        to_x: "elm.swallow.icon";
13378                        to_y: "base";
13379                        relative: 1.0  0.5;
13380                        offset:   0 4;
13381                    }
13382                    rel2 {
13383                        to_x: "elm.swallow.end";
13384                        to_y: "base";
13385                        relative: 0.0  0.5;
13386                        offset:   -1 -5;
13387                    }
13388                    text {
13389                        style: "genlist_style";
13390                        min: 1 1;
13391                    }
13392                }
13393                description { state: "selected" 0.0;
13394                    inherit: "default" 0.0;
13395                    text {
13396                        style: "genlist_selected_style";
13397                    }
13398                }
13399            }
13400            part { name: "fg1";
13401                clip_to: "disclip";
13402                mouse_events: 0;
13403                description { state: "default" 0.0;
13404                    visible: 0;
13405                    color: 255 255 255 0;
13406                    rel1.to: "bg";
13407                    rel2.relative: 1.0 0.5;
13408                    rel2.to: "bg";
13409                    image {
13410                        normal: "bt_sm_hilight.png";
13411                        border: 6 6 6 0;
13412                    }
13413                }
13414                description { state: "selected" 0.0;
13415                    inherit: "default" 0.0;
13416                    visible: 1;
13417                    color: 255 255 255 255;
13418                }
13419            }
13420            part { name: "fg2";
13421                clip_to: "disclip";
13422                mouse_events: 0;
13423                description { state: "default" 0.0;
13424                    visible: 0;
13425                    color: 255 255 255 0;
13426                    rel1.to: "bg";
13427                    rel2.to: "bg";
13428                    image {
13429                        normal: "bt_sm_shine.png";
13430                        border: 6 6 6 0;
13431                    }
13432                }
13433                description { state: "selected" 0.0;
13434                    inherit: "default" 0.0;
13435                    visible: 1;
13436                    color: 255 255 255 255;
13437                }
13438            }
13439            part { name: "disclip";
13440                type: RECT;
13441                description { state: "default" 0.0;
13442                    rel1.to: "bg";
13443                    rel2.to: "bg";
13444                }
13445                description { state: "disabled" 0.0;
13446                    inherit: "default" 0.0;
13447                    color: 255 255 255 64;
13448                }
13449            }
13450        }
13451        programs {
13452            // signal: elm,state,%s,active
13453            //   a "check" item named %s went active
13454            // signal: elm,state,%s,passive
13455            //   a "check" item named %s went passive
13456            // default is passive
13457            program {
13458                name:    "go_active";
13459                signal:  "elm,state,selected";
13460                source:  "elm";
13461                action:  STATE_SET "selected" 0.0;
13462                target:  "bg";
13463                target:  "fg1";
13464                target:  "fg2";
13465                target:  "elm.text";
13466            }
13467            program {
13468                name:    "go_passive";
13469                signal:  "elm,state,unselected";
13470                source:  "elm";
13471                action:  STATE_SET "default" 0.0;
13472                target:  "bg";
13473                target:  "fg1";
13474                target:  "fg2";
13475                target:  "elm.text";
13476                transition: LINEAR 0.1;
13477            }
13478            program {
13479                name:    "go_disabled";
13480                signal:  "elm,state,disabled";
13481                source:  "elm";
13482                action:  STATE_SET "disabled" 0.0;
13483                target:  "disclip";
13484            }
13485            program {
13486                name:    "go_enabled";
13487                signal:  "elm,state,enabled";
13488                source:  "elm";
13489                action:  STATE_SET "default" 0.0;
13490                target:  "disclip";
13491            }
13492        }
13493    }
13494    group { name: "elm/genlist/item_odd/default_style/default";
13495        data.item: "stacking" "below";
13496        data.item: "selectraise" "on";
13497        data.item: "labels" "elm.text";
13498        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13499        data.item: "treesize" "20";
13500        images {
13501            image: "bt_sm_base1.png" COMP;
13502            image: "bt_sm_shine.png" COMP;
13503            image: "bt_sm_hilight.png" COMP;
13504            image: "ilist_2.png" COMP;
13505        }
13506        parts {
13507            part { name: "event";
13508                type: RECT;
13509                repeat_events: 1;
13510                description {
13511                    state: "default" 0.0;
13512                    color: 0 0 0 0;
13513                }
13514            }
13515            part {
13516                name: "base";
13517                mouse_events: 0;
13518                description {
13519                    state: "default" 0.0;
13520                    min: 16 28;
13521                    image {
13522                        normal: "ilist_2.png";
13523                        border: 2 2 2 2;
13524                    }
13525                    fill.smooth: 0;
13526                }
13527            }
13528            part { name: "bg";
13529                clip_to: "disclip";
13530                mouse_events: 0;
13531                description { state: "default" 0.0;
13532                    visible: 0;
13533                    color: 255 255 255 0;
13534                    rel1 {
13535                        relative: 0.0 0.0;
13536                        offset: -5 -5;
13537                    }
13538                    rel2 {
13539                        relative: 1.0 1.0;
13540                        offset: 4 4;
13541                    }
13542                    image {
13543                        normal: "bt_sm_base1.png";
13544                        border: 6 6 6 6;
13545                    }
13546                    image.middle: SOLID;
13547                }
13548                description { state: "selected" 0.0;
13549                    inherit: "default" 0.0;
13550                    visible: 1;
13551                    color: 255 255 255 255;
13552                    rel1 {
13553                        relative: 0.0 0.0;
13554                        offset: -2 -2;
13555                    }
13556                    rel2 {
13557                        relative: 1.0 1.0;
13558                        offset: 1 1;
13559                    }
13560                }
13561            }
13562            part { name: "elm.swallow.pad";
13563                type: SWALLOW;
13564                description { state: "default" 0.0;
13565                    fixed: 1 0;
13566                    align: 0.0 0.5;
13567                    rel1 {
13568                        relative: 0.0  0.0;
13569                        offset:   4    4;
13570                    }
13571                    rel2 {
13572                        relative: 0.0  1.0;
13573                        offset:   4   -5;
13574                    }
13575                }
13576            }
13577            part { name: "elm.swallow.icon";
13578                clip_to: "disclip";
13579                type: SWALLOW;
13580                description { state: "default" 0.0;
13581                    fixed: 1 0;
13582                    align: 0.0 0.5;
13583                    rel1 {
13584                        to_x: "elm.swallow.pad";
13585                        relative: 1.0  0.0;
13586                        offset:   -1    4;
13587                    }
13588                    rel2 {
13589                        to_x: "elm.swallow.pad";
13590                        relative: 1.0  1.0;
13591                        offset:   -1   -5;
13592                    }
13593                }
13594            }
13595            part { name: "elm.swallow.end";
13596                clip_to: "disclip";
13597                type:          SWALLOW;
13598                description { state:    "default" 0.0;
13599                    fixed: 1 0;
13600                    align:    1.0 0.5;
13601                    aspect: 1.0 1.0;
13602                    aspect_preference: VERTICAL;
13603                    rel1 {
13604                        relative: 1.0  0.0;
13605                        offset:   -5    4;
13606                    }
13607                    rel2 {
13608                        relative: 1.0  1.0;
13609                        offset:   -5   -5;
13610                    }
13611                }
13612            }
13613            part { name: "elm.text";
13614                clip_to: "disclip";
13615                type:           TEXTBLOCK;
13616                mouse_events:   0;
13617                scale: 1;
13618                description {
13619                    state: "default" 0.0;
13620                    align: 0.0 0.5;
13621                    fixed: 0 1;
13622                    rel1 {
13623                        to_x: "elm.swallow.icon";
13624                        to_y: "base";
13625                        relative: 1.0  0.5;
13626                        offset:   0 4;
13627                    }
13628                    rel2 {
13629                        to_x: "elm.swallow.end";
13630                        to_y: "base";
13631                        relative: 0.0  0.5;
13632                        offset:   -1 -5;
13633                    }
13634                    text {
13635                        style: "genlist_style";
13636                        min: 1 1;
13637                    }
13638                }
13639                description { state: "selected" 0.0;
13640                    inherit: "default" 0.0;
13641                    text {
13642                        style: "genlist_selected_style";
13643                    }
13644                }
13645            }
13646            part { name: "fg1";
13647                clip_to: "disclip";
13648                mouse_events: 0;
13649                description { state: "default" 0.0;
13650                    visible: 0;
13651                    color: 255 255 255 0;
13652                    rel1.to: "bg";
13653                    rel2.relative: 1.0 0.5;
13654                    rel2.to: "bg";
13655                    image {
13656                        normal: "bt_sm_hilight.png";
13657                        border: 6 6 6 0;
13658                    }
13659                }
13660                description { state: "selected" 0.0;
13661                    inherit: "default" 0.0;
13662                    visible: 1;
13663                    color: 255 255 255 255;
13664                }
13665            }
13666            part { name: "fg2";
13667                clip_to: "disclip";
13668                mouse_events: 0;
13669                description { state: "default" 0.0;
13670                    visible: 0;
13671                    color: 255 255 255 0;
13672                    rel1.to: "bg";
13673                    rel2.to: "bg";
13674                    image {
13675                        normal: "bt_sm_shine.png";
13676                        border: 6 6 6 0;
13677                    }
13678                }
13679                description { state: "selected" 0.0;
13680                    inherit: "default" 0.0;
13681                    visible: 1;
13682                    color: 255 255 255 255;
13683                }
13684            }
13685            part { name: "disclip";
13686                type: RECT;
13687                description { state: "default" 0.0;
13688                    rel1.to: "bg";
13689                    rel2.to: "bg";
13690                }
13691                description { state: "disabled" 0.0;
13692                    inherit: "default" 0.0;
13693                    color: 255 255 255 64;
13694                }
13695            }
13696        }
13697        programs {
13698            // signal: elm,state,%s,active
13699            //   a "check" item named %s went active
13700            // signal: elm,state,%s,passive
13701            //   a "check" item named %s went passive
13702            // default is passive
13703            program {
13704                name:    "go_active";
13705                signal:  "elm,state,selected";
13706                source:  "elm";
13707                action:  STATE_SET "selected" 0.0;
13708                target:  "bg";
13709                target:  "fg1";
13710                target:  "fg2";
13711                target:  "elm.text";
13712            }
13713            program {
13714                name:    "go_passive";
13715                signal:  "elm,state,unselected";
13716                source:  "elm";
13717                action:  STATE_SET "default" 0.0;
13718                target:  "bg";
13719                target:  "fg1";
13720                target:  "fg2";
13721                target:  "elm.text";
13722                transition: LINEAR 0.1;
13723            }
13724            program {
13725                name:    "go_disabled";
13726                signal:  "elm,state,disabled";
13727                source:  "elm";
13728                action:  STATE_SET "disabled" 0.0;
13729                target:  "disclip";
13730            }
13731            program {
13732                name:    "go_enabled";
13733                signal:  "elm,state,enabled";
13734                source:  "elm";
13735                action:  STATE_SET "default" 0.0;
13736                target:  "disclip";
13737            }
13738        }
13739    }
13740
13741    group { name: "elm/genlist/tree/default_style/default";
13742        data.item: "stacking" "above";
13743        data.item: "selectraise" "on";
13744        data.item: "labels" "elm.text";
13745        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13746        data.item: "treesize" "20";
13747        images {
13748            image: "bt_sm_base1.png" COMP;
13749            image: "bt_sm_shine.png" COMP;
13750            image: "bt_sm_hilight.png" COMP;
13751            image: "ilist_1.png" COMP;
13752            image: "ilist_item_shadow.png" COMP;
13753            image: "icon_arrow_right.png" COMP;
13754            image: "icon_arrow_down.png" COMP;
13755        }
13756        parts {
13757            part {
13758                name:           "event";
13759                type:           RECT;
13760                repeat_events: 1;
13761                description {
13762                    state: "default" 0.0;
13763                    color: 0 0 0 0;
13764                }
13765            }
13766            part {
13767                name: "base_sh";
13768                mouse_events: 0;
13769                description {
13770                    state: "default" 0.0;
13771                    align: 0.0 0.0;
13772                    min: 0 10;
13773                    fixed: 1 1;
13774                    rel1 {
13775                        to: "base";
13776                        relative: 0.0 1.0;
13777                        offset: 0 0;
13778                    }
13779                    rel2 {
13780                        to: "base";
13781                        relative: 1.0 1.0;
13782                        offset: -1 0;
13783                    }
13784                    image {
13785                        normal: "ilist_item_shadow.png";
13786                    }
13787                    fill.smooth: 0;
13788                }
13789            }
13790            part {
13791                name: "base";
13792                mouse_events: 0;
13793                description {
13794                    state: "default" 0.0;
13795                    min: 16 28;
13796                    image {
13797                        normal: "ilist_1.png";
13798                        border: 2 2 2 2;
13799                    }
13800                    fill.smooth: 0;
13801                }
13802            }
13803            part { name: "bg";
13804                clip_to: "disclip";
13805                mouse_events: 0;
13806                description { state: "default" 0.0;
13807                    visible: 0;
13808                    color: 255 255 255 0;
13809                    rel1 {
13810                        relative: 0.0 0.0;
13811                        offset: -5 -5;
13812                    }
13813                    rel2 {
13814                        relative: 1.0 1.0;
13815                        offset: 4 4;
13816                    }
13817                    image {
13818                        normal: "bt_sm_base1.png";
13819                        border: 6 6 6 6;
13820                    }
13821                    image.middle: SOLID;
13822                }
13823                description { state: "selected" 0.0;
13824                    inherit: "default" 0.0;
13825                    visible: 1;
13826                    color: 255 255 255 255;
13827                    rel1 {
13828                        relative: 0.0 0.0;
13829                        offset: -2 -2;
13830                    }
13831                    rel2 {
13832                        relative: 1.0 1.0;
13833                        offset: 1 1;
13834                    }
13835                }
13836            }
13837            part { name: "elm.swallow.pad";
13838                type: SWALLOW;
13839                description { state: "default" 0.0;
13840                    fixed: 1 0;
13841                    align: 0.0 0.5;
13842                    rel1 {
13843                        relative: 0.0  0.0;
13844                        offset:   4    4;
13845                    }
13846                    rel2 {
13847                        relative: 0.0  1.0;
13848                        offset:   4   -5;
13849                    }
13850                }
13851            }
13852            part { name: "arrow";
13853                clip_to: "disclip";
13854                ignore_flags: ON_HOLD;
13855                description { state: "default" 0.0;
13856                    fixed: 1 0;
13857                    align: 0.0 0.5;
13858                    aspect: 1.0 1.0;
13859                    rel1 {
13860                        to_x: "elm.swallow.pad";
13861                        relative: 1.0  0.0;
13862                        offset:   -1    4;
13863                    }
13864                    rel2 {
13865                        to_x: "elm.swallow.pad";
13866                        relative: 1.0  1.0;
13867                        offset:   -1   -5;
13868                    }
13869                    image.normal: "icon_arrow_right.png";
13870                }
13871                description { state: "active" 0.0;
13872                    inherit: "default" 0.0;
13873                    image.normal: "icon_arrow_down.png";
13874                }
13875            }
13876            part { name: "elm.swallow.icon";
13877                clip_to: "disclip";
13878                type: SWALLOW;
13879                description { state: "default" 0.0;
13880                    fixed: 1 0;
13881                    align: 0.0 0.5;
13882                    rel1 {
13883                        to_x: "arrow";
13884                        relative: 1.0  0.0;
13885                        offset:   4    4;
13886                    }
13887                    rel2 {
13888                        to_x: "arrow";
13889                        relative: 1.0  1.0;
13890                        offset:   4   -5;
13891                    }
13892                }
13893            }
13894            part { name: "elm.swallow.end";
13895                clip_to: "disclip";
13896                type: SWALLOW;
13897                description { state: "default" 0.0;
13898                    fixed: 1 0;
13899                    align: 1.0 0.5;
13900                    aspect: 1.0 1.0;
13901                    aspect_preference: VERTICAL;
13902                    rel1 {
13903                        relative: 1.0  0.0;
13904                        offset:   -5    4;
13905                    }
13906                    rel2 {
13907                        relative: 1.0  1.0;
13908                        offset:   -5   -5;
13909                    }
13910                }
13911            }
13912            part { name: "elm.text";
13913                clip_to: "disclip";
13914                type:           TEXTBLOCK;
13915                effect:         SOFT_SHADOW;
13916                mouse_events:   0;
13917                scale: 1;
13918                description {
13919                    state: "default" 0.0;
13920                    align: 0.0 0.5;
13921                    fixed: 0 1;
13922                    rel1 {
13923                        to_x:     "elm.swallow.icon";
13924                        to_y: "base";
13925                        relative: 1.0  0.5;
13926                        offset:   0 4;
13927                    }
13928                    rel2 {
13929                        to_x:     "elm.swallow.end";
13930                        to_y: "base";
13931                        relative: 0.0  0.5;
13932                        offset:   -1 -5;
13933                    }
13934                    text {
13935                        style: "genlist_style";
13936                        min: 1 1;
13937                    }
13938                }
13939                description { state: "selected" 0.0;
13940                    inherit: "default" 0.0;
13941                    text {
13942                        style: "genlist_selected_style";
13943                    }
13944                }
13945            }
13946            part { name: "fg1";
13947                clip_to: "disclip";
13948                mouse_events: 0;
13949                description { state: "default" 0.0;
13950                    visible: 0;
13951                    color: 255 255 255 0;
13952                    rel1.to: "bg";
13953                    rel2.relative: 1.0 0.5;
13954                    rel2.to: "bg";
13955                    image {
13956                        normal: "bt_sm_hilight.png";
13957                        border: 6 6 6 0;
13958                    }
13959                }
13960                description { state: "selected" 0.0;
13961                    inherit: "default" 0.0;
13962                    visible: 1;
13963                    color: 255 255 255 255;
13964                }
13965            }
13966            part { name: "fg2";
13967                clip_to: "disclip";
13968                mouse_events: 0;
13969                description { state: "default" 0.0;
13970                    visible: 0;
13971                    color: 255 255 255 0;
13972                    rel1.to: "bg";
13973                    rel2.to: "bg";
13974                    image {
13975                        normal: "bt_sm_shine.png";
13976                        border: 6 6 6 0;
13977                    }
13978                }
13979                description { state: "selected" 0.0;
13980                    inherit: "default" 0.0;
13981                    visible: 1;
13982                    color: 255 255 255 255;
13983                }
13984            }
13985            part { name: "disclip";
13986                type: RECT;
13987                description { state: "default" 0.0;
13988                    rel1.to: "bg";
13989                    rel2.to: "bg";
13990                }
13991                description { state: "disabled" 0.0;
13992                    inherit: "default" 0.0;
13993                    color: 255 255 255 64;
13994                }
13995            }
13996        }
13997        programs {
13998            // signal: elm,state,%s,active
13999            //   a "check" item named %s went active
14000            // signal: elm,state,%s,passive
14001            //   a "check" item named %s went passive
14002            // default is passive
14003            program {
14004                name:    "go_active";
14005                signal:  "elm,state,selected";
14006                source:  "elm";
14007                action:  STATE_SET "selected" 0.0;
14008                target:  "bg";
14009                target:  "fg1";
14010                target:  "fg2";
14011                target:  "elm.text";
14012            }
14013            program {
14014                name:    "go_passive";
14015                signal:  "elm,state,unselected";
14016                source:  "elm";
14017                action:  STATE_SET "default" 0.0;
14018                target:  "bg";
14019                target:  "fg1";
14020                target:  "fg2";
14021                target:  "elm.text";
14022                transition: LINEAR 0.1;
14023            }
14024            program {
14025                name:    "go_disabled";
14026                signal:  "elm,state,disabled";
14027                source:  "elm";
14028                action:  STATE_SET "disabled" 0.0;
14029                target:  "disclip";
14030            }
14031            program {
14032                name:    "go_enabled";
14033                signal:  "elm,state,enabled";
14034                source:  "elm";
14035                action:  STATE_SET "default" 0.0;
14036                target:  "disclip";
14037            }
14038            program {
14039                name:    "expand";
14040                signal:  "mouse,up,1";
14041                source:  "arrow";
14042                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14043            }
14044            program {
14045                name:    "go_expanded";
14046                signal:  "elm,state,expanded";
14047                source:  "elm";
14048                action:  STATE_SET "active" 0.0;
14049                target:  "arrow";
14050            }
14051            program {
14052                name:    "go_contracted";
14053                signal:  "elm,state,contracted";
14054                source:  "elm";
14055                action:  STATE_SET "default" 0.0;
14056                target:  "arrow";
14057            }
14058        }
14059    }
14060    group { name: "elm/genlist/tree_odd/default_style/default";
14061        data.item: "stacking" "below";
14062        data.item: "selectraise" "on";
14063        data.item: "labels" "elm.text";
14064        data.item: "icons" "elm.swallow.icon elm.swallow.end";
14065        data.item: "treesize" "20";
14066        images {
14067            image: "bt_sm_base1.png" COMP;
14068            image: "bt_sm_shine.png" COMP;
14069            image: "bt_sm_hilight.png" COMP;
14070            image: "ilist_2.png" COMP;
14071            image: "icon_arrow_right.png" COMP;
14072            image: "icon_arrow_down.png" COMP;
14073        }
14074        parts {
14075            part {
14076                name:           "event";
14077                type:           RECT;
14078                repeat_events: 1;
14079                description {
14080                    state: "default" 0.0;
14081                    color: 0 0 0 0;
14082                }
14083            }
14084            part {
14085                name: "base";
14086                mouse_events: 0;
14087                description {
14088                    state: "default" 0.0;
14089                    min: 16 28;
14090                    image {
14091                        normal: "ilist_2.png";
14092                        border: 2 2 2 2;
14093                    }
14094                    fill.smooth: 0;
14095                }
14096            }
14097            part { name: "bg";
14098                clip_to: "disclip";
14099                mouse_events: 0;
14100                description { state: "default" 0.0;
14101                    visible: 0;
14102                    color: 255 255 255 0;
14103                    rel1 {
14104                        relative: 0.0 0.0;
14105                        offset: -5 -5;
14106                    }
14107                    rel2 {
14108                        relative: 1.0 1.0;
14109                        offset: 4 4;
14110                    }
14111                    image {
14112                        normal: "bt_sm_base1.png";
14113                        border: 6 6 6 6;
14114                    }
14115                    image.middle: SOLID;
14116                }
14117                description { state: "selected" 0.0;
14118                    inherit: "default" 0.0;
14119                    visible: 1;
14120                    color: 255 255 255 255;
14121                    rel1 {
14122                        relative: 0.0 0.0;
14123                        offset: -2 -2;
14124                    }
14125                    rel2 {
14126                        relative: 1.0 1.0;
14127                        offset: 1 1;
14128                    }
14129                }
14130            }
14131            part { name: "elm.swallow.pad";
14132                type: SWALLOW;
14133                description { state: "default" 0.0;
14134                    fixed: 1 0;
14135                    align: 0.0 0.5;
14136                    rel1 {
14137                        relative: 0.0  0.0;
14138                        offset:   4    4;
14139                    }
14140                    rel2 {
14141                        relative: 0.0  1.0;
14142                        offset:   4   -5;
14143                    }
14144                }
14145            }
14146            part { name: "arrow";
14147                clip_to: "disclip";
14148                ignore_flags: ON_HOLD;
14149                description { state: "default" 0.0;
14150                    fixed: 1 0;
14151                    align: 0.0 0.5;
14152                    aspect: 1.0 1.0;
14153                    rel1 {
14154                        to_x: "elm.swallow.pad";
14155                        relative: 1.0  0.0;
14156                        offset:   -1    4;
14157                    }
14158                    rel2 {
14159                        to_x: "elm.swallow.pad";
14160                        relative: 1.0  1.0;
14161                        offset:   -1   -5;
14162                    }
14163                    image.normal: "icon_arrow_right.png";
14164                }
14165                description { state: "active" 0.0;
14166                    inherit: "default" 0.0;
14167                    image.normal: "icon_arrow_down.png";
14168                }
14169            }
14170            part { name: "elm.swallow.icon";
14171                clip_to: "disclip";
14172                type: SWALLOW;
14173                description { state: "default" 0.0;
14174                    fixed: 1 0;
14175                    align: 0.0 0.5;
14176                    rel1 {
14177                        to_x: "arrow";
14178                        relative: 1.0  0.0;
14179                        offset:   4    4;
14180                    }
14181                    rel2 {
14182                        to_x: "arrow";
14183                        relative: 1.0  1.0;
14184                        offset:   4   -5;
14185                    }
14186                }
14187            }
14188            part { name: "elm.swallow.end";
14189                clip_to: "disclip";
14190                type: SWALLOW;
14191                description { state: "default" 0.0;
14192                    fixed: 1 0;
14193                    align: 1.0 0.5;
14194                    aspect: 1.0 1.0;
14195                    aspect_preference: VERTICAL;
14196                    rel1 {
14197                        relative: 1.0  0.0;
14198                        offset:   -5    4;
14199                    }
14200                    rel2 {
14201                        relative: 1.0  1.0;
14202                        offset:   -5   -5;
14203                    }
14204                }
14205            }
14206            part { name: "elm.text";
14207                clip_to: "disclip";
14208                type:           TEXTBLOCK;
14209                effect:         SOFT_SHADOW;
14210                mouse_events:   0;
14211                scale: 1;
14212                description {
14213                    state: "default" 0.0;
14214                    align: 0.0 0.5;
14215                    fixed: 0 1;
14216                    rel1 {
14217                        to_x:     "elm.swallow.icon";
14218                        to_y: "base";
14219                        relative: 1.0  0.5;
14220                        offset:   0 4;
14221                    }
14222                    rel2 {
14223                        to_x:     "elm.swallow.end";
14224                        to_y: "base";
14225                        relative: 0.0  0.5;
14226                        offset:   -1 -5;
14227                    }
14228                    text {
14229                        style: "genlist_style";
14230                        min: 1 1;
14231                    }
14232                }
14233                description { state: "selected" 0.0;
14234                    inherit: "default" 0.0;
14235                    text {
14236                        style: "genlist_selected_style";
14237                    }
14238                }
14239            }
14240            part { name: "fg1";
14241                clip_to: "disclip";
14242                mouse_events: 0;
14243                description { state: "default" 0.0;
14244                    visible: 0;
14245                    color: 255 255 255 0;
14246                    rel1.to: "bg";
14247                    rel2.relative: 1.0 0.5;
14248                    rel2.to: "bg";
14249                    image {
14250                        normal: "bt_sm_hilight.png";
14251                        border: 6 6 6 0;
14252                    }
14253                }
14254                description { state: "selected" 0.0;
14255                    inherit: "default" 0.0;
14256                    visible: 1;
14257                    color: 255 255 255 255;
14258                }
14259            }
14260            part { name: "fg2";
14261                clip_to: "disclip";
14262                mouse_events: 0;
14263                description { state: "default" 0.0;
14264                    visible: 0;
14265                    color: 255 255 255 0;
14266                    rel1.to: "bg";
14267                    rel2.to: "bg";
14268                    image {
14269                        normal: "bt_sm_shine.png";
14270                        border: 6 6 6 0;
14271                    }
14272                }
14273                description { state: "selected" 0.0;
14274                    inherit: "default" 0.0;
14275                    visible: 1;
14276                    color: 255 255 255 255;
14277                }
14278            }
14279            part { name: "disclip";
14280                type: RECT;
14281                description { state: "default" 0.0;
14282                    rel1.to: "bg";
14283                    rel2.to: "bg";
14284                }
14285                description { state: "disabled" 0.0;
14286                    inherit: "default" 0.0;
14287                    color: 255 255 255 64;
14288                }
14289            }
14290        }
14291        programs {
14292            // signal: elm,state,%s,active
14293            //   a "check" item named %s went active
14294            // signal: elm,state,%s,passive
14295            //   a "check" item named %s went passive
14296            // default is passive
14297            program {
14298                name:    "go_active";
14299                signal:  "elm,state,selected";
14300                source:  "elm";
14301                action:  STATE_SET "selected" 0.0;
14302                target:  "bg";
14303                target:  "fg1";
14304                target:  "fg2";
14305                target:  "elm.text";
14306            }
14307            program {
14308                name:    "go_passive";
14309                signal:  "elm,state,unselected";
14310                source:  "elm";
14311                action:  STATE_SET "default" 0.0;
14312                target:  "bg";
14313                target:  "fg1";
14314                target:  "fg2";
14315                target:  "elm.text";
14316                transition: LINEAR 0.1;
14317            }
14318            program {
14319                name:    "go_disabled";
14320                signal:  "elm,state,disabled";
14321                source:  "elm";
14322                action:  STATE_SET "disabled" 0.0;
14323                target:  "disclip";
14324            }
14325            program {
14326                name:    "go_enabled";
14327                signal:  "elm,state,enabled";
14328                source:  "elm";
14329                action:  STATE_SET "default" 0.0;
14330                target:  "disclip";
14331            }
14332            program {
14333                name:    "expand";
14334                signal:  "mouse,up,1";
14335                source:  "arrow";
14336                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14337            }
14338            program {
14339                name:    "go_expanded";
14340                signal:  "elm,state,expanded";
14341                source:  "elm";
14342                action:  STATE_SET "active" 0.0;
14343                target:  "arrow";
14344            }
14345            program {
14346                name:    "go_contracted";
14347                signal:  "elm,state,contracted";
14348                source:  "elm";
14349                action:  STATE_SET "default" 0.0;
14350                target:  "arrow";
14351            }
14352        }
14353    }
14354
14355
14356    group { name: "elm/genlist/item/double_label/default";
14357       data.item: "stacking" "above";
14358       data.item: "selectraise" "on";
14359       data.item: "labels" "elm.text elm.text.sub";
14360       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14361       data.item: "treesize" "20";
14362 //      data.item: "states" "";
14363       images {
14364          image: "bt_sm_base1.png" COMP;
14365          image: "bt_sm_shine.png" COMP;
14366          image: "bt_sm_hilight.png" COMP;
14367          image: "ilist_1.png" COMP;
14368          image: "ilist_item_shadow.png" COMP;
14369       }
14370       parts {
14371          part {
14372             name:           "event";
14373             type:           RECT;
14374             repeat_events: 1;
14375             description {
14376                state: "default" 0.0;
14377                color: 0 0 0 0;
14378             }
14379          }
14380          part {
14381             name: "base_sh";
14382             mouse_events: 0;
14383             description {
14384                state: "default" 0.0;
14385                align: 0.0 0.0;
14386                min: 0 10;
14387                fixed: 1 1;
14388                rel1 {
14389                   to: "base";
14390                   relative: 0.0 1.0;
14391                   offset: 0 0;
14392                }
14393                rel2 {
14394                   to: "base";
14395                   relative: 1.0 1.0;
14396                   offset: -1 0;
14397                }
14398                image {
14399                   normal: "ilist_item_shadow.png";
14400                }
14401                fill.smooth: 0;
14402             }
14403          }
14404          part {
14405             name: "base";
14406             mouse_events: 0;
14407             description {
14408                state: "default" 0.0;
14409                image {
14410                   normal: "ilist_1.png";
14411                   border: 2 2 2 2;
14412                }
14413                fill.smooth: 0;
14414             }
14415          }
14416          part { name: "bg";
14417             clip_to: "disclip";
14418             mouse_events: 0;
14419             description { state: "default" 0.0;
14420                visible: 0;
14421                color: 255 255 255 0;
14422                rel1 {
14423                   relative: 0.0 0.0;
14424                   offset: -5 -5;
14425                }
14426                rel2 {
14427                   relative: 1.0 1.0;
14428                   offset: 4 4;
14429                }
14430                image {
14431                   normal: "bt_sm_base1.png";
14432                   border: 6 6 6 6;
14433                }
14434                image.middle: SOLID;
14435             }
14436             description { state: "selected" 0.0;
14437                inherit: "default" 0.0;
14438                visible: 1;
14439                color: 255 255 255 255;
14440                rel1 {
14441                   relative: 0.0 0.0;
14442                   offset: -2 -2;
14443                }
14444                rel2 {
14445                   relative: 1.0 1.0;
14446                   offset: 1 1;
14447                }
14448             }
14449          }
14450          part { name: "elm.swallow.pad";
14451             type: SWALLOW;
14452             description { state: "default" 0.0;
14453                fixed: 1 0;
14454                align: 0.0 0.5;
14455                rel1 {
14456                   relative: 0.0  0.0;
14457                   offset:   4    4;
14458                }
14459                rel2 {
14460                   relative: 0.0  1.0;
14461                   offset:   4   -5;
14462                }
14463             }
14464          }
14465          part { name: "elm.swallow.icon";
14466             clip_to: "disclip";
14467             type: SWALLOW;
14468             description { state: "default" 0.0;
14469                fixed: 1 0;
14470                align: 0.0 0.5;
14471                rel1 {
14472                   to_x: "elm.swallow.pad";
14473                   relative: 1.0  0.0;
14474                   offset:   -1    4;
14475                }
14476                rel2 {
14477                   to_x: "elm.swallow.pad";
14478                   relative: 1.0  1.0;
14479                   offset:   -1   -5;
14480                }
14481             }
14482          }
14483          part { name: "elm.swallow.end";
14484             clip_to: "disclip";
14485             type: SWALLOW;
14486             description { state: "default" 0.0;
14487                fixed: 1 0;
14488                align: 1.0 0.5;
14489                aspect: 1.0 1.0;
14490                aspect_preference: VERTICAL;
14491                rel1 {
14492                   relative: 1.0  0.0;
14493                   offset:   -5    4;
14494                }
14495                rel2 {
14496                   relative: 1.0  1.0;
14497                   offset:   -5   -5;
14498                }
14499             }
14500          }
14501          part { name: "elm.text";
14502             clip_to: "disclip";
14503             type:           TEXT;
14504             effect:         SOFT_SHADOW;
14505             mouse_events:   0;
14506             scale: 1;
14507             description {
14508                state: "default" 0.0;
14509 //               min: 16 16;
14510                rel1 {
14511                   to_x:     "elm.swallow.icon";
14512                   relative: 1.0  0.0;
14513                   offset:   0 4;
14514                }
14515                rel2 {
14516                   to_x:     "elm.swallow.end";
14517                   relative: 0.0  0.5;
14518                   offset:   -1 -5;
14519                }
14520                color: 0 0 0 255;
14521                color3: 0 0 0 0;
14522                text {
14523                   font: "Sans";
14524                   size: 10;
14525                   min: 1 1;
14526 //                  min: 0 1;
14527                   align: 0.0 0.5;
14528                }
14529             }
14530             description { state: "selected" 0.0;
14531                inherit: "default" 0.0;
14532                color: 224 224 224 255;
14533                color3: 0 0 0 64;
14534             }
14535          }
14536          part { name: "elm.text.sub";
14537             clip_to: "disclip";
14538             type:           TEXT;
14539             mouse_events:   0;
14540             scale: 1;
14541             description {
14542                state: "default" 0.0;
14543 //               min: 16 16;
14544                rel1 {
14545                   to_x:     "elm.swallow.icon";
14546                   relative: 1.0  0.5;
14547                   offset:   0 4;
14548                }
14549                rel2 {
14550                   to_x:     "elm.swallow.end";
14551                   relative: 0.0  1.0;
14552                   offset:   -1 -5;
14553                }
14554                color: 0 0 0 128;
14555                color3: 0 0 0 0;
14556                text {
14557                   font: "Sans";
14558                   size: 8;
14559                   min: 1 1;
14560 //                  min: 0 1;
14561                   align: 0.0 0.5;
14562                }
14563             }
14564             description { state: "selected" 0.0;
14565                inherit: "default" 0.0;
14566                color: 128 128 128 255;
14567                color3: 0 0 0 32;
14568             }
14569          }
14570          part { name: "fg1";
14571             clip_to: "disclip";
14572             mouse_events: 0;
14573             description { state: "default" 0.0;
14574                visible: 0;
14575                color: 255 255 255 0;
14576                rel1.to: "bg";
14577                rel2.relative: 1.0 0.5;
14578                rel2.to: "bg";
14579                image {
14580                   normal: "bt_sm_hilight.png";
14581                   border: 6 6 6 0;
14582                }
14583             }
14584             description { state: "selected" 0.0;
14585                inherit: "default" 0.0;
14586                visible: 1;
14587                color: 255 255 255 255;
14588             }
14589          }
14590          part { name: "fg2";
14591             clip_to: "disclip";
14592             mouse_events: 0;
14593             description { state: "default" 0.0;
14594                visible: 0;
14595                color: 255 255 255 0;
14596                rel1.to: "bg";
14597                rel2.to: "bg";
14598                image {
14599                   normal: "bt_sm_shine.png";
14600                   border: 6 6 6 0;
14601                }
14602             }
14603             description { state: "selected" 0.0;
14604                inherit: "default" 0.0;
14605                visible: 1;
14606                color: 255 255 255 255;
14607             }
14608          }
14609          part { name: "disclip";
14610             type: RECT;
14611             description { state: "default" 0.0;
14612                rel1.to: "bg";
14613                rel2.to: "bg";
14614             }
14615             description { state: "disabled" 0.0;
14616                inherit: "default" 0.0;
14617                color: 255 255 255 64;
14618             }
14619          }
14620       }
14621       programs {
14622          // signal: elm,state,%s,active
14623          //   a "check" item named %s went active
14624          // signal: elm,state,%s,passive
14625          //   a "check" item named %s went passive
14626          // default is passive
14627          program {
14628             name:    "go_active";
14629             signal:  "elm,state,selected";
14630             source:  "elm";
14631             action:  STATE_SET "selected" 0.0;
14632             target:  "bg";
14633             target:  "fg1";
14634             target:  "fg2";
14635             target:  "elm.text";
14636             target:  "elm.text.sub";
14637          }
14638          program {
14639             name:    "go_passive";
14640             signal:  "elm,state,unselected";
14641             source:  "elm";
14642             action:  STATE_SET "default" 0.0;
14643             target:  "bg";
14644             target:  "fg1";
14645             target:  "fg2";
14646             target:  "elm.text";
14647             target:  "elm.text.sub";
14648             transition: LINEAR 0.1;
14649          }
14650          program {
14651             name:    "go_disabled";
14652             signal:  "elm,state,disabled";
14653             source:  "elm";
14654             action:  STATE_SET "disabled" 0.0;
14655             target:  "disclip";
14656          }
14657          program {
14658             name:    "go_enabled";
14659             signal:  "elm,state,enabled";
14660             source:  "elm";
14661             action:  STATE_SET "default" 0.0;
14662             target:  "disclip";
14663          }
14664       }
14665    }
14666    group { name: "elm/genlist/item_compress/double_label/default";
14667       data.item: "stacking" "above";
14668       data.item: "selectraise" "on";
14669       data.item: "labels" "elm.text elm.text.sub";
14670       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14671       data.item: "treesize" "20";
14672 //      data.item: "states" "";
14673       images {
14674          image: "bt_sm_base1.png" COMP;
14675          image: "bt_sm_shine.png" COMP;
14676          image: "bt_sm_hilight.png" COMP;
14677          image: "ilist_1.png" COMP;
14678          image: "ilist_item_shadow.png" COMP;
14679       }
14680       parts {
14681          part {
14682             name:           "event";
14683             type:           RECT;
14684             repeat_events: 1;
14685             description {
14686                state: "default" 0.0;
14687                color: 0 0 0 0;
14688             }
14689          }
14690          part {
14691             name: "base_sh";
14692             mouse_events: 0;
14693             description {
14694                state: "default" 0.0;
14695                align: 0.0 0.0;
14696                min: 0 10;
14697                fixed: 1 1;
14698                rel1 {
14699                   to: "base";
14700                   relative: 0.0 1.0;
14701                   offset: 0 0;
14702                }
14703                rel2 {
14704                   to: "base";
14705                   relative: 1.0 1.0;
14706                   offset: -1 0;
14707                }
14708                image {
14709                   normal: "ilist_item_shadow.png";
14710                }
14711                fill.smooth: 0;
14712             }
14713          }
14714          part {
14715             name: "base";
14716             mouse_events: 0;
14717             description {
14718                state: "default" 0.0;
14719                image {
14720                   normal: "ilist_1.png";
14721                   border: 2 2 2 2;
14722                }
14723                fill.smooth: 0;
14724             }
14725          }
14726          part { name: "bg";
14727             clip_to: "disclip";
14728             mouse_events: 0;
14729             description { state: "default" 0.0;
14730                visible: 0;
14731                color: 255 255 255 0;
14732                rel1 {
14733                   relative: 0.0 0.0;
14734                   offset: -5 -5;
14735                }
14736                rel2 {
14737                   relative: 1.0 1.0;
14738                   offset: 4 4;
14739                }
14740                image {
14741                   normal: "bt_sm_base1.png";
14742                   border: 6 6 6 6;
14743                }
14744                image.middle: SOLID;
14745             }
14746             description { state: "selected" 0.0;
14747                inherit: "default" 0.0;
14748                visible: 1;
14749                color: 255 255 255 255;
14750                rel1 {
14751                   relative: 0.0 0.0;
14752                   offset: -2 -2;
14753                }
14754                rel2 {
14755                   relative: 1.0 1.0;
14756                   offset: 1 1;
14757                }
14758             }
14759          }
14760          part { name: "elm.swallow.pad";
14761             type: SWALLOW;
14762             description { state: "default" 0.0;
14763                fixed: 1 0;
14764                align: 0.0 0.5;
14765                rel1 {
14766                   relative: 0.0  0.0;
14767                   offset:   4    4;
14768                }
14769                rel2 {
14770                   relative: 0.0  1.0;
14771                   offset:   4   -5;
14772                }
14773             }
14774          }
14775          part { name: "elm.swallow.icon";
14776             clip_to: "disclip";
14777             type: SWALLOW;
14778             description { state: "default" 0.0;
14779                fixed: 1 0;
14780                align: 0.0 0.5;
14781                rel1 {
14782                   to_x: "elm.swallow.pad";
14783                   relative: 1.0  0.0;
14784                   offset:   -1    4;
14785                }
14786                rel2 {
14787                   to_x: "elm.swallow.pad";
14788                   relative: 1.0  1.0;
14789                   offset:   -1   -5;
14790                }
14791             }
14792          }
14793          part { name: "elm.swallow.end";
14794             clip_to: "disclip";
14795             type: SWALLOW;
14796             description { state: "default" 0.0;
14797                fixed: 1 0;
14798                align: 1.0 0.5;
14799                aspect: 1.0 1.0;
14800                aspect_preference: VERTICAL;
14801                rel1 {
14802                   relative: 1.0  0.0;
14803                   offset:   -5    4;
14804                }
14805                rel2 {
14806                   relative: 1.0  1.0;
14807                   offset:   -5   -5;
14808                }
14809             }
14810          }
14811          part { name: "elm.text";
14812             clip_to: "disclip";
14813             type:           TEXT;
14814             effect:         SOFT_SHADOW;
14815             mouse_events:   0;
14816             scale: 1;
14817             description {
14818                state: "default" 0.0;
14819 //               min: 16 16;
14820                rel1 {
14821                   to_x:     "elm.swallow.icon";
14822                   relative: 1.0  0.0;
14823                   offset:   0 4;
14824                }
14825                rel2 {
14826                   to_x:     "elm.swallow.end";
14827                   relative: 0.0  0.5;
14828                   offset:   -1 -5;
14829                }
14830                color: 0 0 0 255;
14831                color3: 0 0 0 0;
14832                text {
14833                   font: "Sans";
14834                   size: 10;
14835 //                  min: 1 1;
14836                   min: 0 1;
14837                   align: 0.0 0.5;
14838                }
14839             }
14840             description { state: "selected" 0.0;
14841                inherit: "default" 0.0;
14842                color: 224 224 224 255;
14843                color3: 0 0 0 64;
14844             }
14845          }
14846          part { name: "elm.text.sub";
14847             clip_to: "disclip";
14848             type:           TEXT;
14849             mouse_events:   0;
14850             scale: 1;
14851             description {
14852                state: "default" 0.0;
14853 //               min: 16 16;
14854                rel1 {
14855                   to_x:     "elm.swallow.icon";
14856                   relative: 1.0  0.5;
14857                   offset:   0 4;
14858                }
14859                rel2 {
14860                   to_x:     "elm.swallow.end";
14861                   relative: 0.0  1.0;
14862                   offset:   -1 -5;
14863                }
14864                color: 0 0 0 128;
14865                color3: 0 0 0 0;
14866                text {
14867                   font: "Sans";
14868                   size: 8;
14869 //                  min: 1 1;
14870                   min: 0 1;
14871                   align: 0.0 0.5;
14872                }
14873             }
14874             description { state: "selected" 0.0;
14875                inherit: "default" 0.0;
14876                color: 128 128 128 255;
14877                color3: 0 0 0 32;
14878             }
14879          }
14880          part { name: "fg1";
14881             clip_to: "disclip";
14882             mouse_events: 0;
14883             description { state: "default" 0.0;
14884                visible: 0;
14885                color: 255 255 255 0;
14886                rel1.to: "bg";
14887                rel2.relative: 1.0 0.5;
14888                rel2.to: "bg";
14889                image {
14890                   normal: "bt_sm_hilight.png";
14891                   border: 6 6 6 0;
14892                }
14893             }
14894             description { state: "selected" 0.0;
14895                inherit: "default" 0.0;
14896                visible: 1;
14897                color: 255 255 255 255;
14898             }
14899          }
14900          part { name: "fg2";
14901             clip_to: "disclip";
14902             mouse_events: 0;
14903             description { state: "default" 0.0;
14904                visible: 0;
14905                color: 255 255 255 0;
14906                rel1.to: "bg";
14907                rel2.to: "bg";
14908                image {
14909                   normal: "bt_sm_shine.png";
14910                   border: 6 6 6 0;
14911                }
14912             }
14913             description { state: "selected" 0.0;
14914                inherit: "default" 0.0;
14915                visible: 1;
14916                color: 255 255 255 255;
14917             }
14918          }
14919          part { name: "disclip";
14920             type: RECT;
14921             description { state: "default" 0.0;
14922                rel1.to: "bg";
14923                rel2.to: "bg";
14924             }
14925             description { state: "disabled" 0.0;
14926                inherit: "default" 0.0;
14927                color: 255 255 255 64;
14928             }
14929          }
14930       }
14931       programs {
14932          // signal: elm,state,%s,active
14933          //   a "check" item named %s went active
14934          // signal: elm,state,%s,passive
14935          //   a "check" item named %s went passive
14936          // default is passive
14937          program {
14938             name:    "go_active";
14939             signal:  "elm,state,selected";
14940             source:  "elm";
14941             action:  STATE_SET "selected" 0.0;
14942             target:  "bg";
14943             target:  "fg1";
14944             target:  "fg2";
14945             target:  "elm.text";
14946             target:  "elm.text.sub";
14947          }
14948          program {
14949             name:    "go_passive";
14950             signal:  "elm,state,unselected";
14951             source:  "elm";
14952             action:  STATE_SET "default" 0.0;
14953             target:  "bg";
14954             target:  "fg1";
14955             target:  "fg2";
14956             target:  "elm.text";
14957             target:  "elm.text.sub";
14958             transition: LINEAR 0.1;
14959          }
14960          program {
14961             name:    "go_disabled";
14962             signal:  "elm,state,disabled";
14963             source:  "elm";
14964             action:  STATE_SET "disabled" 0.0;
14965             target:  "disclip";
14966          }
14967          program {
14968             name:    "go_enabled";
14969             signal:  "elm,state,enabled";
14970             source:  "elm";
14971             action:  STATE_SET "default" 0.0;
14972             target:  "disclip";
14973          }
14974       }
14975    }
14976    group { name: "elm/genlist/item_odd/double_label/default";
14977       data.item: "stacking" "below";
14978       data.item: "selectraise" "on";
14979       data.item: "labels" "elm.text elm.text.sub";
14980       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14981       data.item: "treesize" "20";
14982 //      data.item: "states" "";
14983       images {
14984          image: "bt_sm_base1.png" COMP;
14985          image: "bt_sm_shine.png" COMP;
14986          image: "bt_sm_hilight.png" COMP;
14987          image: "ilist_2.png" COMP;
14988       }
14989       parts {
14990          part { name: "event";
14991             type: RECT;
14992             repeat_events: 1;
14993             description {
14994                state: "default" 0.0;
14995                color: 0 0 0 0;
14996             }
14997          }
14998          part {
14999             name: "base";
15000             mouse_events: 0;
15001             description {
15002                state: "default" 0.0;
15003                image {
15004                   normal: "ilist_2.png";
15005                   border: 2 2 2 2;
15006                }
15007                fill.smooth: 0;
15008             }
15009          }
15010          part { name: "bg";
15011             clip_to: "disclip";
15012             mouse_events: 0;
15013             description { state: "default" 0.0;
15014                visible: 0;
15015                color: 255 255 255 0;
15016                rel1 {
15017                   relative: 0.0 0.0;
15018                   offset: -5 -5;
15019                }
15020                rel2 {
15021                   relative: 1.0 1.0;
15022                   offset: 4 4;
15023                }
15024                image {
15025                   normal: "bt_sm_base1.png";
15026                   border: 6 6 6 6;
15027                }
15028                image.middle: SOLID;
15029             }
15030             description { state: "selected" 0.0;
15031                inherit: "default" 0.0;
15032                visible: 1;
15033                color: 255 255 255 255;
15034                rel1 {
15035                   relative: 0.0 0.0;
15036                   offset: -2 -2;
15037                }
15038                rel2 {
15039                   relative: 1.0 1.0;
15040                   offset: 1 1;
15041                }
15042             }
15043          }
15044          part { name: "elm.swallow.pad";
15045             type: SWALLOW;
15046             description { state: "default" 0.0;
15047                fixed: 1 0;
15048                align: 0.0 0.5;
15049                rel1 {
15050                   relative: 0.0  0.0;
15051                   offset:   4    4;
15052                }
15053                rel2 {
15054                   relative: 0.0  1.0;
15055                   offset:   4   -5;
15056                }
15057             }
15058          }
15059          part { name: "elm.swallow.icon";
15060             clip_to: "disclip";
15061             type: SWALLOW;
15062             description { state: "default" 0.0;
15063                fixed: 1 0;
15064                align: 0.0 0.5;
15065                rel1 {
15066                   to_x: "elm.swallow.pad";
15067                   relative: 1.0  0.0;
15068                   offset:   -1    4;
15069                }
15070                rel2 {
15071                   to_x: "elm.swallow.pad";
15072                   relative: 1.0  1.0;
15073                   offset:   -1   -5;
15074                }
15075             }
15076          }
15077          part { name: "elm.swallow.end";
15078             clip_to: "disclip";
15079             type:          SWALLOW;
15080             description { state:    "default" 0.0;
15081                fixed: 1 0;
15082                align:    1.0 0.5;
15083                aspect: 1.0 1.0;
15084                aspect_preference: VERTICAL;
15085                rel1 {
15086                   relative: 1.0  0.0;
15087                   offset:   -5    4;
15088                }
15089                rel2 {
15090                   relative: 1.0  1.0;
15091                   offset:   -5   -5;
15092                }
15093             }
15094          }
15095          part { name: "elm.text";
15096             clip_to: "disclip";
15097             type:           TEXT;
15098             effect:         SOFT_SHADOW;
15099             mouse_events:   0;
15100             scale: 1;
15101             description {
15102                state: "default" 0.0;
15103 //               min: 16 16;
15104                rel1 {
15105                   to_x:     "elm.swallow.icon";
15106                   relative: 1.0  0.0;
15107                   offset:   0 4;
15108                }
15109                rel2 {
15110                   to_x:     "elm.swallow.end";
15111                   relative: 0.0  0.5;
15112                   offset:   -1 -5;
15113                }
15114                color: 0 0 0 255;
15115                color3: 0 0 0 0;
15116                text {
15117                   font: "Sans";
15118                   size: 10;
15119                   min: 1 1;
15120 //                  min: 0 1;
15121                   align: 0.0 0.5;
15122                }
15123             }
15124             description { state: "selected" 0.0;
15125                inherit: "default" 0.0;
15126                color: 224 224 224 255;
15127                color3: 0 0 0 64;
15128             }
15129          }
15130          part { name: "elm.text.sub";
15131             clip_to: "disclip";
15132             type:           TEXT;
15133             mouse_events:   0;
15134             scale: 1;
15135             description {
15136                state: "default" 0.0;
15137 //               min: 16 16;
15138                rel1 {
15139                   to_x:     "elm.swallow.icon";
15140                   relative: 1.0  0.5;
15141                   offset:   0 4;
15142                }
15143                rel2 {
15144                   to_x:     "elm.swallow.end";
15145                   relative: 0.0  1.0;
15146                   offset:   -1 -5;
15147                }
15148                color: 0 0 0 128;
15149                color3: 0 0 0 0;
15150                text {
15151                   font: "Sans";
15152                   size: 8;
15153                   min: 1 1;
15154 //                  min: 0 1;
15155                   align: 0.0 0.5;
15156                }
15157             }
15158             description { state: "selected" 0.0;
15159                inherit: "default" 0.0;
15160                color: 128 128 128 255;
15161                color3: 0 0 0 32;
15162             }
15163          }
15164          part { name: "fg1";
15165             clip_to: "disclip";
15166             mouse_events: 0;
15167             description { state: "default" 0.0;
15168                visible: 0;
15169                color: 255 255 255 0;
15170                rel1.to: "bg";
15171                rel2.relative: 1.0 0.5;
15172                rel2.to: "bg";
15173                image {
15174                   normal: "bt_sm_hilight.png";
15175                   border: 6 6 6 0;
15176                }
15177             }
15178             description { state: "selected" 0.0;
15179                inherit: "default" 0.0;
15180                visible: 1;
15181                color: 255 255 255 255;
15182             }
15183          }
15184          part { name: "fg2";
15185             clip_to: "disclip";
15186             mouse_events: 0;
15187             description { state: "default" 0.0;
15188                visible: 0;
15189                color: 255 255 255 0;
15190                rel1.to: "bg";
15191                rel2.to: "bg";
15192                image {
15193                   normal: "bt_sm_shine.png";
15194                   border: 6 6 6 0;
15195                }
15196             }
15197             description { state: "selected" 0.0;
15198                inherit: "default" 0.0;
15199                visible: 1;
15200                color: 255 255 255 255;
15201             }
15202          }
15203          part { name: "disclip";
15204             type: RECT;
15205             description { state: "default" 0.0;
15206                rel1.to: "bg";
15207                rel2.to: "bg";
15208             }
15209             description { state: "disabled" 0.0;
15210                inherit: "default" 0.0;
15211                color: 255 255 255 64;
15212             }
15213          }
15214       }
15215       programs {
15216          // signal: elm,state,%s,active
15217          //   a "check" item named %s went active
15218          // signal: elm,state,%s,passive
15219          //   a "check" item named %s went passive
15220          // default is passive
15221          program {
15222             name:    "go_active";
15223             signal:  "elm,state,selected";
15224             source:  "elm";
15225             action:  STATE_SET "selected" 0.0;
15226             target:  "bg";
15227             target:  "fg1";
15228             target:  "fg2";
15229             target:  "elm.text";
15230             target:  "elm.text.sub";
15231          }
15232          program {
15233             name:    "go_passive";
15234             signal:  "elm,state,unselected";
15235             source:  "elm";
15236             action:  STATE_SET "default" 0.0;
15237             target:  "bg";
15238             target:  "fg1";
15239             target:  "fg2";
15240             target:  "elm.text";
15241             target:  "elm.text.sub";
15242             transition: LINEAR 0.1;
15243          }
15244          program {
15245             name:    "go_disabled";
15246             signal:  "elm,state,disabled";
15247             source:  "elm";
15248             action:  STATE_SET "disabled" 0.0;
15249             target:  "disclip";
15250          }
15251          program {
15252             name:    "go_enabled";
15253             signal:  "elm,state,enabled";
15254             source:  "elm";
15255             action:  STATE_SET "default" 0.0;
15256             target:  "disclip";
15257          }
15258       }
15259    }
15260    group { name: "elm/genlist/item_compress_odd/double_label/default";
15261       data.item: "stacking" "below";
15262       data.item: "selectraise" "on";
15263       data.item: "labels" "elm.text elm.text.sub";
15264       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15265       data.item: "treesize" "20";
15266 //      data.item: "states" "";
15267       images {
15268          image: "bt_sm_base1.png" COMP;
15269          image: "bt_sm_shine.png" COMP;
15270          image: "bt_sm_hilight.png" COMP;
15271          image: "ilist_2.png" COMP;
15272       }
15273       parts {
15274          part { name: "event";
15275             type: RECT;
15276             repeat_events: 1;
15277             description {
15278                state: "default" 0.0;
15279                color: 0 0 0 0;
15280             }
15281          }
15282          part {
15283             name: "base";
15284             mouse_events: 0;
15285             description {
15286                state: "default" 0.0;
15287                image {
15288                   normal: "ilist_2.png";
15289                   border: 2 2 2 2;
15290                }
15291                fill.smooth: 0;
15292             }
15293          }
15294          part { name: "bg";
15295             clip_to: "disclip";
15296             mouse_events: 0;
15297             description { state: "default" 0.0;
15298                visible: 0;
15299                color: 255 255 255 0;
15300                rel1 {
15301                   relative: 0.0 0.0;
15302                   offset: -5 -5;
15303                }
15304                rel2 {
15305                   relative: 1.0 1.0;
15306                   offset: 4 4;
15307                }
15308                image {
15309                   normal: "bt_sm_base1.png";
15310                   border: 6 6 6 6;
15311                }
15312                image.middle: SOLID;
15313             }
15314             description { state: "selected" 0.0;
15315                inherit: "default" 0.0;
15316                visible: 1;
15317                color: 255 255 255 255;
15318                rel1 {
15319                   relative: 0.0 0.0;
15320                   offset: -2 -2;
15321                }
15322                rel2 {
15323                   relative: 1.0 1.0;
15324                   offset: 1 1;
15325                }
15326             }
15327          }
15328          part { name: "elm.swallow.pad";
15329             type: SWALLOW;
15330             description { state: "default" 0.0;
15331                fixed: 1 0;
15332                align: 0.0 0.5;
15333                rel1 {
15334                   relative: 0.0  0.0;
15335                   offset:   4    4;
15336                }
15337                rel2 {
15338                   relative: 0.0  1.0;
15339                   offset:   4   -5;
15340                }
15341             }
15342          }
15343          part { name: "elm.swallow.icon";
15344             clip_to: "disclip";
15345             type: SWALLOW;
15346             description { state: "default" 0.0;
15347                fixed: 1 0;
15348                align: 0.0 0.5;
15349                rel1 {
15350                   to_x: "elm.swallow.pad";
15351                   relative: 1.0  0.0;
15352                   offset:   -1    4;
15353                }
15354                rel2 {
15355                   to_x: "elm.swallow.pad";
15356                   relative: 1.0  1.0;
15357                   offset:   -1   -5;
15358                }
15359             }
15360          }
15361          part { name: "elm.swallow.end";
15362             clip_to: "disclip";
15363             type:          SWALLOW;
15364             description { state:    "default" 0.0;
15365                fixed: 1 0;
15366                align:    1.0 0.5;
15367                aspect: 1.0 1.0;
15368                aspect_preference: VERTICAL;
15369                rel1 {
15370                   relative: 1.0  0.0;
15371                   offset:   -5    4;
15372                }
15373                rel2 {
15374                   relative: 1.0  1.0;
15375                   offset:   -5   -5;
15376                }
15377             }
15378          }
15379          part { name: "elm.text";
15380             clip_to: "disclip";
15381             type:           TEXT;
15382             effect:         SOFT_SHADOW;
15383             mouse_events:   0;
15384             scale: 1;
15385             description {
15386                state: "default" 0.0;
15387 //               min: 16 16;
15388                rel1 {
15389                   to_x:     "elm.swallow.icon";
15390                   relative: 1.0  0.0;
15391                   offset:   0 4;
15392                }
15393                rel2 {
15394                   to_x:     "elm.swallow.end";
15395                   relative: 0.0  0.5;
15396                   offset:   -1 -5;
15397                }
15398                color: 0 0 0 255;
15399                color3: 0 0 0 0;
15400                text {
15401                   font: "Sans";
15402                   size: 10;
15403 //                  min: 1 1;
15404                   min: 0 1;
15405                   align: 0.0 0.5;
15406                }
15407             }
15408             description { state: "selected" 0.0;
15409                inherit: "default" 0.0;
15410                color: 224 224 224 255;
15411                color3: 0 0 0 64;
15412             }
15413          }
15414          part { name: "elm.text.sub";
15415             clip_to: "disclip";
15416             type:           TEXT;
15417             mouse_events:   0;
15418             scale: 1;
15419             description {
15420                state: "default" 0.0;
15421 //               min: 16 16;
15422                rel1 {
15423                   to_x:     "elm.swallow.icon";
15424                   relative: 1.0  0.5;
15425                   offset:   0 4;
15426                }
15427                rel2 {
15428                   to_x:     "elm.swallow.end";
15429                   relative: 0.0  1.0;
15430                   offset:   -1 -5;
15431                }
15432                color: 0 0 0 128;
15433                color3: 0 0 0 0;
15434                text {
15435                   font: "Sans";
15436                   size: 8;
15437 //                  min: 1 1;
15438                   min: 0 1;
15439                   align: 0.0 0.5;
15440                }
15441             }
15442             description { state: "selected" 0.0;
15443                inherit: "default" 0.0;
15444                color: 128 128 128 255;
15445                color3: 0 0 0 32;
15446             }
15447          }
15448          part { name: "fg1";
15449             clip_to: "disclip";
15450             mouse_events: 0;
15451             description { state: "default" 0.0;
15452                visible: 0;
15453                color: 255 255 255 0;
15454                rel1.to: "bg";
15455                rel2.relative: 1.0 0.5;
15456                rel2.to: "bg";
15457                image {
15458                   normal: "bt_sm_hilight.png";
15459                   border: 6 6 6 0;
15460                }
15461             }
15462             description { state: "selected" 0.0;
15463                inherit: "default" 0.0;
15464                visible: 1;
15465                color: 255 255 255 255;
15466             }
15467          }
15468          part { name: "fg2";
15469             clip_to: "disclip";
15470             mouse_events: 0;
15471             description { state: "default" 0.0;
15472                visible: 0;
15473                color: 255 255 255 0;
15474                rel1.to: "bg";
15475                rel2.to: "bg";
15476                image {
15477                   normal: "bt_sm_shine.png";
15478                   border: 6 6 6 0;
15479                }
15480             }
15481             description { state: "selected" 0.0;
15482                inherit: "default" 0.0;
15483                visible: 1;
15484                color: 255 255 255 255;
15485             }
15486          }
15487          part { name: "disclip";
15488             type: RECT;
15489             description { state: "default" 0.0;
15490                rel1.to: "bg";
15491                rel2.to: "bg";
15492             }
15493             description { state: "disabled" 0.0;
15494                inherit: "default" 0.0;
15495                color: 255 255 255 64;
15496             }
15497          }
15498       }
15499       programs {
15500          // signal: elm,state,%s,active
15501          //   a "check" item named %s went active
15502          // signal: elm,state,%s,passive
15503          //   a "check" item named %s went passive
15504          // default is passive
15505          program {
15506             name:    "go_active";
15507             signal:  "elm,state,selected";
15508             source:  "elm";
15509             action:  STATE_SET "selected" 0.0;
15510             target:  "bg";
15511             target:  "fg1";
15512             target:  "fg2";
15513             target:  "elm.text";
15514             target:  "elm.text.sub";
15515          }
15516          program {
15517             name:    "go_passive";
15518             signal:  "elm,state,unselected";
15519             source:  "elm";
15520             action:  STATE_SET "default" 0.0;
15521             target:  "bg";
15522             target:  "fg1";
15523             target:  "fg2";
15524             target:  "elm.text";
15525             target:  "elm.text.sub";
15526             transition: LINEAR 0.1;
15527          }
15528          program {
15529             name:    "go_disabled";
15530             signal:  "elm,state,disabled";
15531             source:  "elm";
15532             action:  STATE_SET "disabled" 0.0;
15533             target:  "disclip";
15534          }
15535          program {
15536             name:    "go_enabled";
15537             signal:  "elm,state,enabled";
15538             source:  "elm";
15539             action:  STATE_SET "default" 0.0;
15540             target:  "disclip";
15541          }
15542       }
15543    }
15544
15545    group { name: "elm/genlist/tree/double_label/default";
15546       data.item: "stacking" "above";
15547       data.item: "selectraise" "on";
15548       data.item: "labels" "elm.text elm.text.sub";
15549       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15550       data.item: "treesize" "20";
15551 //      data.item: "states" "";
15552       images {
15553          image: "bt_sm_base1.png" COMP;
15554          image: "bt_sm_shine.png" COMP;
15555          image: "bt_sm_hilight.png" COMP;
15556          image: "ilist_1.png" COMP;
15557          image: "ilist_item_shadow.png" COMP;
15558          image: "icon_arrow_right.png" COMP;
15559          image: "icon_arrow_down.png" COMP;
15560       }
15561       parts {
15562          part {
15563             name:           "event";
15564             type:           RECT;
15565             repeat_events: 1;
15566             description {
15567                state: "default" 0.0;
15568                color: 0 0 0 0;
15569             }
15570          }
15571          part {
15572             name: "base_sh";
15573             mouse_events: 0;
15574             description {
15575                state: "default" 0.0;
15576                align: 0.0 0.0;
15577                min: 0 10;
15578                fixed: 1 1;
15579                rel1 {
15580                   to: "base";
15581                   relative: 0.0 1.0;
15582                   offset: 0 0;
15583                }
15584                rel2 {
15585                   to: "base";
15586                   relative: 1.0 1.0;
15587                   offset: -1 0;
15588                }
15589                image {
15590                   normal: "ilist_item_shadow.png";
15591                }
15592                fill.smooth: 0;
15593             }
15594          }
15595          part {
15596             name: "base";
15597             mouse_events: 0;
15598             description {
15599                state: "default" 0.0;
15600                image {
15601                   normal: "ilist_1.png";
15602                   border: 2 2 2 2;
15603                }
15604                fill.smooth: 0;
15605             }
15606          }
15607          part { name: "bg";
15608             clip_to: "disclip";
15609             mouse_events: 0;
15610             description { state: "default" 0.0;
15611                visible: 0;
15612                color: 255 255 255 0;
15613                rel1 {
15614                   relative: 0.0 0.0;
15615                   offset: -5 -5;
15616                }
15617                rel2 {
15618                   relative: 1.0 1.0;
15619                   offset: 4 4;
15620                }
15621                image {
15622                   normal: "bt_sm_base1.png";
15623                   border: 6 6 6 6;
15624                }
15625                image.middle: SOLID;
15626             }
15627             description { state: "selected" 0.0;
15628                inherit: "default" 0.0;
15629                visible: 1;
15630                color: 255 255 255 255;
15631                rel1 {
15632                   relative: 0.0 0.0;
15633                   offset: -2 -2;
15634                }
15635                rel2 {
15636                   relative: 1.0 1.0;
15637                   offset: 1 1;
15638                }
15639             }
15640          }
15641          part { name: "elm.swallow.pad";
15642             type: SWALLOW;
15643             description { state: "default" 0.0;
15644                fixed: 1 0;
15645                align: 0.0 0.5;
15646                rel1 {
15647                   relative: 0.0  0.0;
15648                   offset:   4    4;
15649                }
15650                rel2 {
15651                   relative: 0.0  1.0;
15652                   offset:   4   -5;
15653                }
15654             }
15655          }
15656          part { name: "arrow";
15657             clip_to: "disclip";
15658             ignore_flags: ON_HOLD;
15659             description { state: "default" 0.0;
15660                fixed: 1 0;
15661                align: 0.0 0.5;
15662                aspect: 1.0 1.0;
15663                rel1 {
15664                   to_x: "elm.swallow.pad";
15665                   relative: 1.0  0.0;
15666                   offset:   -1    4;
15667                }
15668                rel2 {
15669                   to_x: "elm.swallow.pad";
15670                   relative: 1.0  1.0;
15671                   offset:   -1   -5;
15672                }
15673                image.normal: "icon_arrow_right.png";
15674             }
15675             description { state: "active" 0.0;
15676                inherit: "default" 0.0;
15677                image.normal: "icon_arrow_down.png";
15678             }
15679          }
15680          part { name: "elm.swallow.icon";
15681             clip_to: "disclip";
15682             type: SWALLOW;
15683             description { state: "default" 0.0;
15684                fixed: 1 0;
15685                align: 0.0 0.5;
15686                rel1 {
15687                   to_x: "arrow";
15688                   relative: 1.0  0.0;
15689                   offset:   4    4;
15690                }
15691                rel2 {
15692                   to_x: "arrow";
15693                   relative: 1.0  1.0;
15694                   offset:   4   -5;
15695                }
15696             }
15697          }
15698          part { name: "elm.swallow.end";
15699             clip_to: "disclip";
15700             type: SWALLOW;
15701             description { state: "default" 0.0;
15702                fixed: 1 0;
15703                align: 1.0 0.5;
15704                aspect: 1.0 1.0;
15705                aspect_preference: VERTICAL;
15706                rel1 {
15707                   relative: 1.0  0.0;
15708                   offset:   -5    4;
15709                }
15710                rel2 {
15711                   relative: 1.0  1.0;
15712                   offset:   -5   -5;
15713                }
15714             }
15715          }
15716          part { name: "elm.text";
15717             clip_to: "disclip";
15718             type:           TEXT;
15719             effect:         SOFT_SHADOW;
15720             mouse_events:   0;
15721             scale: 1;
15722             description {
15723                state: "default" 0.0;
15724 //               min: 16 16;
15725                rel1 {
15726                   to_x:     "elm.swallow.icon";
15727                   relative: 1.0  0.0;
15728                   offset:   0 4;
15729                }
15730                rel2 {
15731                   to_x:     "elm.swallow.end";
15732                   relative: 0.0  0.5;
15733                   offset:   -1 -5;
15734                }
15735                color: 0 0 0 255;
15736                color3: 0 0 0 0;
15737                text {
15738                   font: "Sans";
15739                   size: 10;
15740                   min: 1 1;
15741 //                  min: 0 1;
15742                   align: 0.0 0.5;
15743                }
15744             }
15745             description { state: "selected" 0.0;
15746                inherit: "default" 0.0;
15747                color: 224 224 224 255;
15748                color3: 0 0 0 64;
15749             }
15750          }
15751          part { name: "elm.text.sub";
15752             clip_to: "disclip";
15753             type:           TEXT;
15754             mouse_events:   0;
15755             scale: 1;
15756             description {
15757                state: "default" 0.0;
15758 //               min: 16 16;
15759                rel1 {
15760                   to_x:     "elm.swallow.icon";
15761                   relative: 1.0  0.5;
15762                   offset:   0 4;
15763                }
15764                rel2 {
15765                   to_x:     "elm.swallow.end";
15766                   relative: 0.0  1.0;
15767                   offset:   -1 -5;
15768                }
15769                color: 0 0 0 128;
15770                color3: 0 0 0 0;
15771                text {
15772                   font: "Sans";
15773                   size: 8;
15774                   min: 1 1;
15775 //                  min: 0 1;
15776                   align: 0.0 0.5;
15777                }
15778             }
15779             description { state: "selected" 0.0;
15780                inherit: "default" 0.0;
15781                color: 128 128 128 255;
15782                color3: 0 0 0 32;
15783             }
15784          }
15785          part { name: "fg1";
15786             clip_to: "disclip";
15787             mouse_events: 0;
15788             description { state: "default" 0.0;
15789                visible: 0;
15790                color: 255 255 255 0;
15791                rel1.to: "bg";
15792                rel2.relative: 1.0 0.5;
15793                rel2.to: "bg";
15794                image {
15795                   normal: "bt_sm_hilight.png";
15796                   border: 6 6 6 0;
15797                }
15798             }
15799             description { state: "selected" 0.0;
15800                inherit: "default" 0.0;
15801                visible: 1;
15802                color: 255 255 255 255;
15803             }
15804          }
15805          part { name: "fg2";
15806             clip_to: "disclip";
15807             mouse_events: 0;
15808             description { state: "default" 0.0;
15809                visible: 0;
15810                color: 255 255 255 0;
15811                rel1.to: "bg";
15812                rel2.to: "bg";
15813                image {
15814                   normal: "bt_sm_shine.png";
15815                   border: 6 6 6 0;
15816                }
15817             }
15818             description { state: "selected" 0.0;
15819                inherit: "default" 0.0;
15820                visible: 1;
15821                color: 255 255 255 255;
15822             }
15823          }
15824          part { name: "disclip";
15825             type: RECT;
15826             description { state: "default" 0.0;
15827                rel1.to: "bg";
15828                rel2.to: "bg";
15829             }
15830             description { state: "disabled" 0.0;
15831                inherit: "default" 0.0;
15832                color: 255 255 255 64;
15833             }
15834          }
15835       }
15836       programs {
15837          // signal: elm,state,%s,active
15838          //   a "check" item named %s went active
15839          // signal: elm,state,%s,passive
15840          //   a "check" item named %s went passive
15841          // default is passive
15842          program {
15843             name:    "go_active";
15844             signal:  "elm,state,selected";
15845             source:  "elm";
15846             action:  STATE_SET "selected" 0.0;
15847             target:  "bg";
15848             target:  "fg1";
15849             target:  "fg2";
15850             target:  "elm.text";
15851             target:  "elm.text.sub";
15852          }
15853          program {
15854             name:    "go_passive";
15855             signal:  "elm,state,unselected";
15856             source:  "elm";
15857             action:  STATE_SET "default" 0.0;
15858             target:  "bg";
15859             target:  "fg1";
15860             target:  "fg2";
15861             target:  "elm.text";
15862             target:  "elm.text.sub";
15863             transition: LINEAR 0.1;
15864          }
15865          program {
15866             name:    "go_disabled";
15867             signal:  "elm,state,disabled";
15868             source:  "elm";
15869             action:  STATE_SET "disabled" 0.0;
15870             target:  "disclip";
15871          }
15872          program {
15873             name:    "go_enabled";
15874             signal:  "elm,state,enabled";
15875             source:  "elm";
15876             action:  STATE_SET "default" 0.0;
15877             target:  "disclip";
15878          }
15879          program {
15880             name:    "expand";
15881             signal:  "mouse,up,1";
15882             source:  "arrow";
15883             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
15884          }
15885          program {
15886             name:    "go_expanded";
15887             signal:  "elm,state,expanded";
15888             source:  "elm";
15889             action:  STATE_SET "active" 0.0;
15890             target:  "arrow";
15891          }
15892          program {
15893             name:    "go_contracted";
15894             signal:  "elm,state,contracted";
15895             source:  "elm";
15896             action:  STATE_SET "default" 0.0;
15897             target:  "arrow";
15898          }
15899       }
15900    }
15901    group { name: "elm/genlist/tree_compress/double_label/default";
15902       data.item: "stacking" "above";
15903       data.item: "selectraise" "on";
15904       data.item: "labels" "elm.text elm.text.sub";
15905       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15906       data.item: "treesize" "20";
15907 //      data.item: "states" "";
15908       images {
15909          image: "bt_sm_base1.png" COMP;
15910          image: "bt_sm_shine.png" COMP;
15911          image: "bt_sm_hilight.png" COMP;
15912          image: "ilist_1.png" COMP;
15913          image: "ilist_item_shadow.png" COMP;
15914          image: "icon_arrow_right.png" COMP;
15915          image: "icon_arrow_down.png" COMP;
15916       }
15917       parts {
15918          part {
15919             name:           "event";
15920             type:           RECT;
15921             repeat_events: 1;
15922             description {
15923                state: "default" 0.0;
15924                color: 0 0 0 0;
15925             }
15926          }
15927          part {
15928             name: "base_sh";
15929             mouse_events: 0;
15930             description {
15931                state: "default" 0.0;
15932                align: 0.0 0.0;
15933                min: 0 10;
15934                fixed: 1 1;
15935                rel1 {
15936                   to: "base";
15937                   relative: 0.0 1.0;
15938                   offset: 0 0;
15939                }
15940                rel2 {
15941                   to: "base";
15942                   relative: 1.0 1.0;
15943                   offset: -1 0;
15944                }
15945                image {
15946                   normal: "ilist_item_shadow.png";
15947                }
15948                fill.smooth: 0;
15949             }
15950          }
15951          part {
15952             name: "base";
15953             mouse_events: 0;
15954             description {
15955                state: "default" 0.0;
15956                image {
15957                   normal: "ilist_1.png";
15958                   border: 2 2 2 2;
15959                }
15960                fill.smooth: 0;
15961             }
15962          }
15963          part { name: "bg";
15964             clip_to: "disclip";
15965             mouse_events: 0;
15966             description { state: "default" 0.0;
15967                visible: 0;
15968                color: 255 255 255 0;
15969                rel1 {
15970                   relative: 0.0 0.0;
15971                   offset: -5 -5;
15972                }
15973                rel2 {
15974                   relative: 1.0 1.0;
15975                   offset: 4 4;
15976                }
15977                image {
15978                   normal: "bt_sm_base1.png";
15979                   border: 6 6 6 6;
15980                }
15981                image.middle: SOLID;
15982             }
15983             description { state: "selected" 0.0;
15984                inherit: "default" 0.0;
15985                visible: 1;
15986                color: 255 255 255 255;
15987                rel1 {
15988                   relative: 0.0 0.0;
15989                   offset: -2 -2;
15990                }
15991                rel2 {
15992                   relative: 1.0 1.0;
15993                   offset: 1 1;
15994                }
15995             }
15996          }
15997          part { name: "elm.swallow.pad";
15998             type: SWALLOW;
15999             description { state: "default" 0.0;
16000                fixed: 1 0;
16001                align: 0.0 0.5;
16002                rel1 {
16003                   relative: 0.0  0.0;
16004                   offset:   4    4;
16005                }
16006                rel2 {
16007                   relative: 0.0  1.0;
16008                   offset:   4   -5;
16009                }
16010             }
16011          }
16012          part { name: "arrow";
16013             clip_to: "disclip";
16014             ignore_flags: ON_HOLD;
16015             description { state: "default" 0.0;
16016                fixed: 1 0;
16017                align: 0.0 0.5;
16018                aspect: 1.0 1.0;
16019                rel1 {
16020                   to_x: "elm.swallow.pad";
16021                   relative: 1.0  0.0;
16022                   offset:   -1    4;
16023                }
16024                rel2 {
16025                   to_x: "elm.swallow.pad";
16026                   relative: 1.0  1.0;
16027                   offset:   -1   -5;
16028                }
16029                image.normal: "icon_arrow_right.png";
16030             }
16031             description { state: "active" 0.0;
16032                inherit: "default" 0.0;
16033                image.normal: "icon_arrow_down.png";
16034             }
16035          }
16036          part { name: "elm.swallow.icon";
16037             clip_to: "disclip";
16038             type: SWALLOW;
16039             description { state: "default" 0.0;
16040                fixed: 1 0;
16041                align: 0.0 0.5;
16042                rel1 {
16043                   to_x: "arrow";
16044                   relative: 1.0  0.0;
16045                   offset:   4    4;
16046                }
16047                rel2 {
16048                   to_x: "arrow";
16049                   relative: 1.0  1.0;
16050                   offset:   4   -5;
16051                }
16052             }
16053          }
16054          part { name: "elm.swallow.end";
16055             clip_to: "disclip";
16056             type: SWALLOW;
16057             description { state: "default" 0.0;
16058                fixed: 1 0;
16059                align: 1.0 0.5;
16060                aspect: 1.0 1.0;
16061                aspect_preference: VERTICAL;
16062                rel1 {
16063                   relative: 1.0  0.0;
16064                   offset:   -5    4;
16065                }
16066                rel2 {
16067                   relative: 1.0  1.0;
16068                   offset:   -5   -5;
16069                }
16070             }
16071          }
16072          part { name: "elm.text";
16073             clip_to: "disclip";
16074             type:           TEXT;
16075             effect:         SOFT_SHADOW;
16076             mouse_events:   0;
16077             scale: 1;
16078             description {
16079                state: "default" 0.0;
16080 //               min: 16 16;
16081                rel1 {
16082                   to_x:     "elm.swallow.icon";
16083                   relative: 1.0  0.0;
16084                   offset:   0 4;
16085                }
16086                rel2 {
16087                   to_x:     "elm.swallow.end";
16088                   relative: 0.0  0.5;
16089                   offset:   -1 -5;
16090                }
16091                color: 0 0 0 255;
16092                color3: 0 0 0 0;
16093                text {
16094                   font: "Sans";
16095                   size: 10;
16096 //                  min: 1 1;
16097                   min: 0 1;
16098                   align: 0.0 0.5;
16099                }
16100             }
16101             description { state: "selected" 0.0;
16102                inherit: "default" 0.0;
16103                color: 224 224 224 255;
16104                color3: 0 0 0 64;
16105             }
16106          }
16107          part { name: "elm.text.sub";
16108             clip_to: "disclip";
16109             type:           TEXT;
16110             mouse_events:   0;
16111             scale: 1;
16112             description {
16113                state: "default" 0.0;
16114 //               min: 16 16;
16115                rel1 {
16116                   to_x:     "elm.swallow.icon";
16117                   relative: 1.0  0.5;
16118                   offset:   0 4;
16119                }
16120                rel2 {
16121                   to_x:     "elm.swallow.end";
16122                   relative: 0.0  1.0;
16123                   offset:   -1 -5;
16124                }
16125                color: 0 0 0 128;
16126                color3: 0 0 0 0;
16127                text {
16128                   font: "Sans";
16129                   size: 8;
16130 //                  min: 1 1;
16131                   min: 0 1;
16132                   align: 0.0 0.5;
16133                }
16134             }
16135             description { state: "selected" 0.0;
16136                inherit: "default" 0.0;
16137                color: 128 128 128 255;
16138                color3: 0 0 0 32;
16139             }
16140          }
16141          part { name: "fg1";
16142             clip_to: "disclip";
16143             mouse_events: 0;
16144             description { state: "default" 0.0;
16145                visible: 0;
16146                color: 255 255 255 0;
16147                rel1.to: "bg";
16148                rel2.relative: 1.0 0.5;
16149                rel2.to: "bg";
16150                image {
16151                   normal: "bt_sm_hilight.png";
16152                   border: 6 6 6 0;
16153                }
16154             }
16155             description { state: "selected" 0.0;
16156                inherit: "default" 0.0;
16157                visible: 1;
16158                color: 255 255 255 255;
16159             }
16160          }
16161          part { name: "fg2";
16162             clip_to: "disclip";
16163             mouse_events: 0;
16164             description { state: "default" 0.0;
16165                visible: 0;
16166                color: 255 255 255 0;
16167                rel1.to: "bg";
16168                rel2.to: "bg";
16169                image {
16170                   normal: "bt_sm_shine.png";
16171                   border: 6 6 6 0;
16172                }
16173             }
16174             description { state: "selected" 0.0;
16175                inherit: "default" 0.0;
16176                visible: 1;
16177                color: 255 255 255 255;
16178             }
16179          }
16180          part { name: "disclip";
16181             type: RECT;
16182             description { state: "default" 0.0;
16183                rel1.to: "bg";
16184                rel2.to: "bg";
16185             }
16186             description { state: "disabled" 0.0;
16187                inherit: "default" 0.0;
16188                color: 255 255 255 64;
16189             }
16190          }
16191       }
16192       programs {
16193          // signal: elm,state,%s,active
16194          //   a "check" item named %s went active
16195          // signal: elm,state,%s,passive
16196          //   a "check" item named %s went passive
16197          // default is passive
16198          program {
16199             name:    "go_active";
16200             signal:  "elm,state,selected";
16201             source:  "elm";
16202             action:  STATE_SET "selected" 0.0;
16203             target:  "bg";
16204             target:  "fg1";
16205             target:  "fg2";
16206             target:  "elm.text";
16207             target:  "elm.text.sub";
16208          }
16209          program {
16210             name:    "go_passive";
16211             signal:  "elm,state,unselected";
16212             source:  "elm";
16213             action:  STATE_SET "default" 0.0;
16214             target:  "bg";
16215             target:  "fg1";
16216             target:  "fg2";
16217             target:  "elm.text";
16218             target:  "elm.text.sub";
16219             transition: LINEAR 0.1;
16220          }
16221          program {
16222             name:    "go_disabled";
16223             signal:  "elm,state,disabled";
16224             source:  "elm";
16225             action:  STATE_SET "disabled" 0.0;
16226             target:  "disclip";
16227          }
16228          program {
16229             name:    "go_enabled";
16230             signal:  "elm,state,enabled";
16231             source:  "elm";
16232             action:  STATE_SET "default" 0.0;
16233             target:  "disclip";
16234          }
16235          program {
16236             name:    "expand";
16237             signal:  "mouse,up,1";
16238             source:  "arrow";
16239             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16240          }
16241          program {
16242             name:    "go_expanded";
16243             signal:  "elm,state,expanded";
16244             source:  "elm";
16245             action:  STATE_SET "active" 0.0;
16246             target:  "arrow";
16247          }
16248          program {
16249             name:    "go_contracted";
16250             signal:  "elm,state,contracted";
16251             source:  "elm";
16252             action:  STATE_SET "default" 0.0;
16253             target:  "arrow";
16254          }
16255       }
16256    }
16257    group { name: "elm/genlist/tree_odd/double_label/default";
16258       data.item: "stacking" "below";
16259       data.item: "selectraise" "on";
16260       data.item: "labels" "elm.text elm.text.sub";
16261       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16262       data.item: "treesize" "20";
16263 //      data.item: "states" "";
16264       images {
16265          image: "bt_sm_base1.png" COMP;
16266          image: "bt_sm_shine.png" COMP;
16267          image: "bt_sm_hilight.png" COMP;
16268          image: "ilist_2.png" COMP;
16269          image: "icon_arrow_right.png" COMP;
16270          image: "icon_arrow_down.png" COMP;
16271       }
16272       parts {
16273          part {
16274             name:           "event";
16275             type:           RECT;
16276             repeat_events: 1;
16277             description {
16278                state: "default" 0.0;
16279                color: 0 0 0 0;
16280             }
16281          }
16282          part {
16283             name: "base";
16284             mouse_events: 0;
16285             description {
16286                state: "default" 0.0;
16287                image {
16288                   normal: "ilist_2.png";
16289                   border: 2 2 2 2;
16290                }
16291                fill.smooth: 0;
16292             }
16293          }
16294          part { name: "bg";
16295             clip_to: "disclip";
16296             mouse_events: 0;
16297             description { state: "default" 0.0;
16298                visible: 0;
16299                color: 255 255 255 0;
16300                rel1 {
16301                   relative: 0.0 0.0;
16302                   offset: -5 -5;
16303                }
16304                rel2 {
16305                   relative: 1.0 1.0;
16306                   offset: 4 4;
16307                }
16308                image {
16309                   normal: "bt_sm_base1.png";
16310                   border: 6 6 6 6;
16311                }
16312                image.middle: SOLID;
16313             }
16314             description { state: "selected" 0.0;
16315                inherit: "default" 0.0;
16316                visible: 1;
16317                color: 255 255 255 255;
16318                rel1 {
16319                   relative: 0.0 0.0;
16320                   offset: -2 -2;
16321                }
16322                rel2 {
16323                   relative: 1.0 1.0;
16324                   offset: 1 1;
16325                }
16326             }
16327          }
16328          part { name: "elm.swallow.pad";
16329             type: SWALLOW;
16330             description { state: "default" 0.0;
16331                fixed: 1 0;
16332                align: 0.0 0.5;
16333                rel1 {
16334                   relative: 0.0  0.0;
16335                   offset:   4    4;
16336                }
16337                rel2 {
16338                   relative: 0.0  1.0;
16339                   offset:   4   -5;
16340                }
16341             }
16342          }
16343          part { name: "arrow";
16344             clip_to: "disclip";
16345             ignore_flags: ON_HOLD;
16346             description { state: "default" 0.0;
16347                fixed: 1 0;
16348                align: 0.0 0.5;
16349                aspect: 1.0 1.0;
16350                rel1 {
16351                   to_x: "elm.swallow.pad";
16352                   relative: 1.0  0.0;
16353                   offset:   -1    4;
16354                }
16355                rel2 {
16356                   to_x: "elm.swallow.pad";
16357                   relative: 1.0  1.0;
16358                   offset:   -1   -5;
16359                }
16360                image.normal: "icon_arrow_right.png";
16361             }
16362             description { state: "active" 0.0;
16363                inherit: "default" 0.0;
16364                image.normal: "icon_arrow_down.png";
16365             }
16366          }
16367          part { name: "elm.swallow.icon";
16368             clip_to: "disclip";
16369             type: SWALLOW;
16370             description { state: "default" 0.0;
16371                fixed: 1 0;
16372                align: 0.0 0.5;
16373                rel1 {
16374                   to_x: "arrow";
16375                   relative: 1.0  0.0;
16376                   offset:   4    4;
16377                }
16378                rel2 {
16379                   to_x: "arrow";
16380                   relative: 1.0  1.0;
16381                   offset:   4   -5;
16382                }
16383             }
16384          }
16385          part { name: "elm.swallow.end";
16386             clip_to: "disclip";
16387             type: SWALLOW;
16388             description { state: "default" 0.0;
16389                fixed: 1 0;
16390                align: 1.0 0.5;
16391                aspect: 1.0 1.0;
16392                aspect_preference: VERTICAL;
16393                rel1 {
16394                   relative: 1.0  0.0;
16395                   offset:   -5    4;
16396                }
16397                rel2 {
16398                   relative: 1.0  1.0;
16399                   offset:   -5   -5;
16400                }
16401             }
16402          }
16403          part { name: "elm.text";
16404             clip_to: "disclip";
16405             type:           TEXT;
16406             effect:         SOFT_SHADOW;
16407             mouse_events:   0;
16408             scale: 1;
16409             description {
16410                state: "default" 0.0;
16411 //               min: 16 16;
16412                rel1 {
16413                   to_x:     "elm.swallow.icon";
16414                   relative: 1.0  0.0;
16415                   offset:   0 4;
16416                }
16417                rel2 {
16418                   to_x:     "elm.swallow.end";
16419                   relative: 0.0  0.5;
16420                   offset:   -1 -5;
16421                }
16422                color: 0 0 0 255;
16423                color3: 0 0 0 0;
16424                text {
16425                   font: "Sans";
16426                   size: 10;
16427                   min: 1 1;
16428 //                  min: 0 1;
16429                   align: 0.0 0.5;
16430                }
16431             }
16432             description { state: "selected" 0.0;
16433                inherit: "default" 0.0;
16434                color: 224 224 224 255;
16435                color3: 0 0 0 64;
16436             }
16437          }
16438          part { name: "elm.text.sub";
16439             clip_to: "disclip";
16440             type:           TEXT;
16441             mouse_events:   0;
16442             scale: 1;
16443             description {
16444                state: "default" 0.0;
16445 //               min: 16 16;
16446                rel1 {
16447                   to_x:     "elm.swallow.icon";
16448                   relative: 1.0  0.5;
16449                   offset:   0 4;
16450                }
16451                rel2 {
16452                   to_x:     "elm.swallow.end";
16453                   relative: 0.0  1.0;
16454                   offset:   -1 -5;
16455                }
16456                color: 0 0 0 128;
16457                color3: 0 0 0 0;
16458                text {
16459                   font: "Sans";
16460                   size: 8;
16461                   min: 1 1;
16462 //                  min: 0 1;
16463                   align: 0.0 0.5;
16464                }
16465             }
16466             description { state: "selected" 0.0;
16467                inherit: "default" 0.0;
16468                color: 128 128 128 255;
16469                color3: 0 0 0 32;
16470             }
16471          }
16472          part { name: "fg1";
16473             clip_to: "disclip";
16474             mouse_events: 0;
16475             description { state: "default" 0.0;
16476                visible: 0;
16477                color: 255 255 255 0;
16478                rel1.to: "bg";
16479                rel2.relative: 1.0 0.5;
16480                rel2.to: "bg";
16481                image {
16482                   normal: "bt_sm_hilight.png";
16483                   border: 6 6 6 0;
16484                }
16485             }
16486             description { state: "selected" 0.0;
16487                inherit: "default" 0.0;
16488                visible: 1;
16489                color: 255 255 255 255;
16490             }
16491          }
16492          part { name: "fg2";
16493             clip_to: "disclip";
16494             mouse_events: 0;
16495             description { state: "default" 0.0;
16496                visible: 0;
16497                color: 255 255 255 0;
16498                rel1.to: "bg";
16499                rel2.to: "bg";
16500                image {
16501                   normal: "bt_sm_shine.png";
16502                   border: 6 6 6 0;
16503                }
16504             }
16505             description { state: "selected" 0.0;
16506                inherit: "default" 0.0;
16507                visible: 1;
16508                color: 255 255 255 255;
16509             }
16510          }
16511          part { name: "disclip";
16512             type: RECT;
16513             description { state: "default" 0.0;
16514                rel1.to: "bg";
16515                rel2.to: "bg";
16516             }
16517             description { state: "disabled" 0.0;
16518                inherit: "default" 0.0;
16519                color: 255 255 255 64;
16520             }
16521          }
16522       }
16523       programs {
16524          // signal: elm,state,%s,active
16525          //   a "check" item named %s went active
16526          // signal: elm,state,%s,passive
16527          //   a "check" item named %s went passive
16528          // default is passive
16529          program {
16530             name:    "go_active";
16531             signal:  "elm,state,selected";
16532             source:  "elm";
16533             action:  STATE_SET "selected" 0.0;
16534             target:  "bg";
16535             target:  "fg1";
16536             target:  "fg2";
16537             target:  "elm.text";
16538             target:  "elm.text.sub";
16539          }
16540          program {
16541             name:    "go_passive";
16542             signal:  "elm,state,unselected";
16543             source:  "elm";
16544             action:  STATE_SET "default" 0.0;
16545             target:  "bg";
16546             target:  "fg1";
16547             target:  "fg2";
16548             target:  "elm.text";
16549             target:  "elm.text.sub";
16550             transition: LINEAR 0.1;
16551          }
16552          program {
16553             name:    "go_disabled";
16554             signal:  "elm,state,disabled";
16555             source:  "elm";
16556             action:  STATE_SET "disabled" 0.0;
16557             target:  "disclip";
16558          }
16559          program {
16560             name:    "go_enabled";
16561             signal:  "elm,state,enabled";
16562             source:  "elm";
16563             action:  STATE_SET "default" 0.0;
16564             target:  "disclip";
16565          }
16566          program {
16567             name:    "expand";
16568             signal:  "mouse,up,1";
16569             source:  "arrow";
16570             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16571          }
16572          program {
16573             name:    "go_expanded";
16574             signal:  "elm,state,expanded";
16575             source:  "elm";
16576             action:  STATE_SET "active" 0.0;
16577             target:  "arrow";
16578          }
16579          program {
16580             name:    "go_contracted";
16581             signal:  "elm,state,contracted";
16582             source:  "elm";
16583             action:  STATE_SET "default" 0.0;
16584             target:  "arrow";
16585          }
16586       }
16587    }
16588
16589    group { name: "elm/genlist/item/icon_top_text_bottom/default";
16590       data.item: "stacking" "above";
16591       data.item: "selectraise" "on";
16592       data.item: "labels" "elm.text";
16593       data.item: "icons" "elm.swallow.icon";
16594       data.item: "treesize" "20";
16595 //      data.item: "states" "";
16596       images {
16597          image: "bt_sm_base1.png" COMP;
16598          image: "bt_sm_shine.png" COMP;
16599          image: "bt_sm_hilight.png" COMP;
16600          image: "ilist_1.png" COMP;
16601          image: "ilist_item_shadow.png" COMP;
16602       }
16603       parts {
16604          part {
16605             name:           "event";
16606             type:           RECT;
16607             repeat_events: 1;
16608             description {
16609                state: "default" 0.0;
16610                color: 0 0 0 0;
16611             }
16612          }
16613          part {
16614             name: "base_sh";
16615             mouse_events: 0;
16616             description {
16617                state: "default" 0.0;
16618                align: 0.0 0.0;
16619                min: 0 10;
16620                fixed: 1 1;
16621                rel1 {
16622                   to: "base";
16623                   relative: 0.0 1.0;
16624                   offset: 0 0;
16625                }
16626                rel2 {
16627                   to: "base";
16628                   relative: 1.0 1.0;
16629                   offset: -1 0;
16630                }
16631                image {
16632                   normal: "ilist_item_shadow.png";
16633                }
16634                fill.smooth: 0;
16635             }
16636          }
16637          part {
16638             name: "base";
16639             mouse_events: 0;
16640             description {
16641                state: "default" 0.0;
16642                image {
16643                   normal: "ilist_1.png";
16644                   border: 2 2 2 2;
16645                }
16646                fill.smooth: 0;
16647             }
16648          }
16649          part { name: "bg";
16650             clip_to: "disclip";
16651             mouse_events: 0;
16652             description { state: "default" 0.0;
16653                visible: 0;
16654                color: 255 255 255 0;
16655                rel1 {
16656                   relative: 0.0 0.0;
16657                   offset: -5 -5;
16658                }
16659                rel2 {
16660                   relative: 1.0 1.0;
16661                   offset: 4 4;
16662                }
16663                image {
16664                   normal: "bt_sm_base1.png";
16665                   border: 6 6 6 6;
16666                }
16667                image.middle: SOLID;
16668             }
16669             description { state: "selected" 0.0;
16670                inherit: "default" 0.0;
16671                visible: 1;
16672                color: 255 255 255 255;
16673                rel1 {
16674                   relative: 0.0 0.0;
16675                   offset: -2 -2;
16676                }
16677                rel2 {
16678                   relative: 1.0 1.0;
16679                   offset: 1 1;
16680                }
16681             }
16682          }
16683          part { name: "elm.swallow.pad";
16684             type: SWALLOW;
16685             description { state: "default" 0.0;
16686                fixed: 1 0;
16687                align: 0.0 0.5;
16688                rel1 {
16689                   relative: 0.0  0.0;
16690                   offset:   4    4;
16691                }
16692                rel2 {
16693                   relative: 1.0  1.0;
16694                   offset:   -4   -5;
16695                }
16696             }
16697          }
16698          part { name: "elm.swallow.icon";
16699             clip_to: "disclip";
16700             type: SWALLOW;
16701             description { state: "default" 0.0;
16702                fixed: 1 0;
16703                align: 0.5 0.5;
16704                rel1 {
16705                   to_x: "elm.swallow.pad";
16706                   relative: 0.0  0.0;
16707                   offset:   -1    4;
16708                }
16709                rel2 {
16710                   to_x: "elm.swallow.pad";
16711                   relative: 1.0  1.0;
16712                   offset:   -1   -5;
16713                }
16714             }
16715          }
16716          part { name: "elm.text";
16717             clip_to: "disclip";
16718             type:           TEXT;
16719             effect:         SOFT_SHADOW;
16720             mouse_events:   0;
16721             scale: 1;
16722             description {
16723                state: "default" 0.0;
16724 //               min: 16 16;
16725                rel1 {
16726                   to_y:     "elm.swallow.icon";
16727                   relative: 0.0  1.0;
16728                   offset:   0 4;
16729                }
16730                rel2 {
16731                   relative: 1.0  1.0;
16732                   offset:   -5 -5;
16733                }
16734                color: 0 0 0 255;
16735                color3: 0 0 0 0;
16736                text {
16737                   font: "Sans";
16738                   size: 10;
16739                   min: 1 1;
16740 //                  min: 0 1;
16741                   align: 0.5 0.5;
16742                }
16743             }
16744             description { state: "selected" 0.0;
16745                inherit: "default" 0.0;
16746                color: 224 224 224 255;
16747                color3: 0 0 0 64;
16748             }
16749          }
16750          part { name: "fg1";
16751             clip_to: "disclip";
16752             mouse_events: 0;
16753             description { state: "default" 0.0;
16754                visible: 0;
16755                color: 255 255 255 0;
16756                rel1.to: "bg";
16757                rel2.relative: 1.0 0.5;
16758                rel2.to: "bg";
16759                image {
16760                   normal: "bt_sm_hilight.png";
16761                   border: 6 6 6 0;
16762                }
16763             }
16764             description { state: "selected" 0.0;
16765                inherit: "default" 0.0;
16766                visible: 1;
16767                color: 255 255 255 255;
16768             }
16769          }
16770          part { name: "fg2";
16771             clip_to: "disclip";
16772             mouse_events: 0;
16773             description { state: "default" 0.0;
16774                visible: 0;
16775                color: 255 255 255 0;
16776                rel1.to: "bg";
16777                rel2.to: "bg";
16778                image {
16779                   normal: "bt_sm_shine.png";
16780                   border: 6 6 6 0;
16781                }
16782             }
16783             description { state: "selected" 0.0;
16784                inherit: "default" 0.0;
16785                visible: 1;
16786                color: 255 255 255 255;
16787             }
16788          }
16789          part { name: "disclip";
16790             type: RECT;
16791             description { state: "default" 0.0;
16792                rel1.to: "bg";
16793                rel2.to: "bg";
16794             }
16795             description { state: "disabled" 0.0;
16796                inherit: "default" 0.0;
16797                color: 255 255 255 64;
16798             }
16799          }
16800       }
16801       programs {
16802          // signal: elm,state,%s,active
16803          //   a "check" item named %s went active
16804          // signal: elm,state,%s,passive
16805          //   a "check" item named %s went passive
16806          // default is passive
16807          program {
16808             name:    "go_active";
16809             signal:  "elm,state,selected";
16810             source:  "elm";
16811             action:  STATE_SET "selected" 0.0;
16812             target:  "bg";
16813             target:  "fg1";
16814             target:  "fg2";
16815             target:  "elm.text";
16816          }
16817          program {
16818             name:    "go_passive";
16819             signal:  "elm,state,unselected";
16820             source:  "elm";
16821             action:  STATE_SET "default" 0.0;
16822             target:  "bg";
16823             target:  "fg1";
16824             target:  "fg2";
16825             target:  "elm.text";
16826             transition: LINEAR 0.1;
16827          }
16828          program {
16829             name:    "go_disabled";
16830             signal:  "elm,state,disabled";
16831             source:  "elm";
16832             action:  STATE_SET "disabled" 0.0;
16833             target:  "disclip";
16834          }
16835          program {
16836             name:    "go_enabled";
16837             signal:  "elm,state,enabled";
16838             source:  "elm";
16839             action:  STATE_SET "default" 0.0;
16840             target:  "disclip";
16841          }
16842       }
16843    }
16844    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
16845       data.item: "stacking" "below";
16846       data.item: "selectraise" "on";
16847       data.item: "labels" "elm.text";
16848       data.item: "icons" "elm.swallow.icon";
16849       data.item: "treesize" "20";
16850 //      data.item: "states" "";
16851       images {
16852          image: "bt_sm_base1.png" COMP;
16853          image: "bt_sm_shine.png" COMP;
16854          image: "bt_sm_hilight.png" COMP;
16855          image: "ilist_2.png" COMP;
16856       }
16857       parts {
16858          part { name: "event";
16859             type: RECT;
16860             repeat_events: 1;
16861             description {
16862                state: "default" 0.0;
16863                color: 0 0 0 0;
16864             }
16865          }
16866          part {
16867             name: "base";
16868             mouse_events: 0;
16869             description {
16870                state: "default" 0.0;
16871                image {
16872                   normal: "ilist_2.png";
16873                   border: 2 2 2 2;
16874                }
16875                fill.smooth: 0;
16876             }
16877          }
16878          part { name: "bg";
16879             clip_to: "disclip";
16880             mouse_events: 0;
16881             description { state: "default" 0.0;
16882                visible: 0;
16883                color: 255 255 255 0;
16884                rel1 {
16885                   relative: 0.0 0.0;
16886                   offset: -5 -5;
16887                }
16888                rel2 {
16889                   relative: 1.0 1.0;
16890                   offset: 4 4;
16891                }
16892                image {
16893                   normal: "bt_sm_base1.png";
16894                   border: 6 6 6 6;
16895                }
16896                image.middle: SOLID;
16897             }
16898             description { state: "selected" 0.0;
16899                inherit: "default" 0.0;
16900                visible: 1;
16901                color: 255 255 255 255;
16902                rel1 {
16903                   relative: 0.0 0.0;
16904                   offset: -2 -2;
16905                }
16906                rel2 {
16907                   relative: 1.0 1.0;
16908                   offset: 1 1;
16909                }
16910             }
16911          }
16912          part { name: "elm.swallow.pad";
16913             type: SWALLOW;
16914             description { state: "default" 0.0;
16915                fixed: 1 0;
16916                align: 0.0 0.5;
16917                rel1 {
16918                   relative: 0.0  0.0;
16919                   offset:   4    4;
16920                }
16921                rel2 {
16922                   relative: 1.0  1.0;
16923                   offset:   -4   -5;
16924                }
16925             }
16926          }
16927          part { name: "elm.swallow.icon";
16928             clip_to: "disclip";
16929             type: SWALLOW;
16930             description { state: "default" 0.0;
16931                fixed: 1 0;
16932                align: 0.5 0.5;
16933                rel1 {
16934                   to_x: "elm.swallow.pad";
16935                   relative: 0.0  0.0;
16936                   offset:   -1    4;
16937                }
16938                rel2 {
16939                   to_x: "elm.swallow.pad";
16940                   relative: 1.0  1.0;
16941                   offset:   -1   -5;
16942                }
16943             }
16944          }
16945          part { name: "elm.text";
16946             clip_to: "disclip";
16947             type:           TEXT;
16948             effect:         SOFT_SHADOW;
16949             mouse_events:   0;
16950             scale: 1;
16951             description {
16952                state: "default" 0.0;
16953 //               min:      16 16;
16954                rel1 {
16955                   to_y:     "elm.swallow.icon";
16956                   relative: 0.0  1.0;
16957                   offset:   0 4;
16958                }
16959                rel2 {
16960                   relative: 1.0  1.0;
16961                   offset:   -5 -5;
16962                }
16963                color: 0 0 0 255;
16964                color3: 0 0 0 0;
16965                text {
16966                   font: "Sans";
16967                   size: 10;
16968                   min: 1 1;
16969 //                  min: 0 1;
16970                   align: 0.5 0.5;
16971                }
16972             }
16973             description { state: "selected" 0.0;
16974                inherit: "default" 0.0;
16975                color: 224 224 224 255;
16976                color3: 0 0 0 64;
16977             }
16978          }
16979          part { name: "fg1";
16980             clip_to: "disclip";
16981             mouse_events: 0;
16982             description { state: "default" 0.0;
16983                visible: 0;
16984                color: 255 255 255 0;
16985                rel1.to: "bg";
16986                rel2.relative: 1.0 0.5;
16987                rel2.to: "bg";
16988                image {
16989                   normal: "bt_sm_hilight.png";
16990                   border: 6 6 6 0;
16991                }
16992             }
16993             description { state: "selected" 0.0;
16994                inherit: "default" 0.0;
16995                visible: 1;
16996                color: 255 255 255 255;
16997             }
16998          }
16999          part { name: "fg2";
17000             clip_to: "disclip";
17001             mouse_events: 0;
17002             description { state: "default" 0.0;
17003                visible: 0;
17004                color: 255 255 255 0;
17005                rel1.to: "bg";
17006                rel2.to: "bg";
17007                image {
17008                   normal: "bt_sm_shine.png";
17009                   border: 6 6 6 0;
17010                }
17011             }
17012             description { state: "selected" 0.0;
17013                inherit: "default" 0.0;
17014                visible: 1;
17015                color: 255 255 255 255;
17016             }
17017          }
17018          part { name: "disclip";
17019             type: RECT;
17020             description { state: "default" 0.0;
17021                rel1.to: "bg";
17022                rel2.to: "bg";
17023             }
17024             description { state: "disabled" 0.0;
17025                inherit: "default" 0.0;
17026                color: 255 255 255 64;
17027             }
17028          }
17029       }
17030       programs {
17031          // signal: elm,state,%s,active
17032          //   a "check" item named %s went active
17033          // signal: elm,state,%s,passive
17034          //   a "check" item named %s went passive
17035          // default is passive
17036          program {
17037             name:    "go_active";
17038             signal:  "elm,state,selected";
17039             source:  "elm";
17040             action:  STATE_SET "selected" 0.0;
17041             target:  "bg";
17042             target:  "fg1";
17043             target:  "fg2";
17044             target:  "elm.text";
17045          }
17046          program {
17047             name:    "go_passive";
17048             signal:  "elm,state,unselected";
17049             source:  "elm";
17050             action:  STATE_SET "default" 0.0;
17051             target:  "bg";
17052             target:  "fg1";
17053             target:  "fg2";
17054             target:  "elm.text";
17055             transition: LINEAR 0.1;
17056          }
17057          program {
17058             name:    "go_disabled";
17059             signal:  "elm,state,disabled";
17060             source:  "elm";
17061             action:  STATE_SET "disabled" 0.0;
17062             target:  "disclip";
17063          }
17064          program {
17065             name:    "go_enabled";
17066             signal:  "elm,state,enabled";
17067             source:  "elm";
17068             action:  STATE_SET "default" 0.0;
17069             target:  "disclip";
17070          }
17071       }
17072    }
17073
17074    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
17075       data.item: "stacking" "above";
17076       data.item: "selectraise" "on";
17077       data.item: "labels" "elm.text";
17078       data.item: "icons" "elm.swallow.icon";
17079       data.item: "treesize" "20";
17080 //      data.item: "states" "";
17081       images {
17082          image: "bt_sm_base1.png" COMP;
17083          image: "bt_sm_shine.png" COMP;
17084          image: "bt_sm_hilight.png" COMP;
17085          image: "ilist_1.png" COMP;
17086          image: "ilist_item_shadow.png" COMP;
17087          image: "icon_arrow_right.png" COMP;
17088          image: "icon_arrow_down.png" COMP;
17089       }
17090       parts {
17091          part {
17092             name:           "event";
17093             type:           RECT;
17094             repeat_events: 1;
17095             description {
17096                state: "default" 0.0;
17097                color: 0 0 0 0;
17098             }
17099          }
17100          part {
17101             name: "base_sh";
17102             mouse_events: 0;
17103             description {
17104                state: "default" 0.0;
17105                align: 0.0 0.0;
17106                min: 0 10;
17107                fixed: 1 1;
17108                rel1 {
17109                   to: "base";
17110                   relative: 0.0 1.0;
17111                   offset: 0 0;
17112                }
17113                rel2 {
17114                   to: "base";
17115                   relative: 1.0 1.0;
17116                   offset: -1 0;
17117                }
17118                image {
17119                   normal: "ilist_item_shadow.png";
17120                }
17121                fill.smooth: 0;
17122             }
17123          }
17124          part {
17125             name: "base";
17126             mouse_events: 0;
17127             description {
17128                state: "default" 0.0;
17129                image {
17130                   normal: "ilist_1.png";
17131                   border: 2 2 2 2;
17132                }
17133                fill.smooth: 0;
17134             }
17135          }
17136          part { name: "bg";
17137             clip_to: "disclip";
17138             mouse_events: 0;
17139             description { state: "default" 0.0;
17140                visible: 0;
17141                color: 255 255 255 0;
17142                rel1 {
17143                   relative: 0.0 0.0;
17144                   offset: -5 -5;
17145                }
17146                rel2 {
17147                   relative: 1.0 1.0;
17148                   offset: 4 4;
17149                }
17150                image {
17151                   normal: "bt_sm_base1.png";
17152                   border: 6 6 6 6;
17153                }
17154                image.middle: SOLID;
17155             }
17156             description { state: "selected" 0.0;
17157                inherit: "default" 0.0;
17158                visible: 1;
17159                color: 255 255 255 255;
17160                rel1 {
17161                   relative: 0.0 0.0;
17162                   offset: -2 -2;
17163                }
17164                rel2 {
17165                   relative: 1.0 1.0;
17166                   offset: 1 1;
17167                }
17168             }
17169          }
17170          part { name: "elm.swallow.pad";
17171             type: SWALLOW;
17172             description { state: "default" 0.0;
17173                fixed: 1 0;
17174                align: 0.0 0.5;
17175                rel1 {
17176                   relative: 0.0  0.0;
17177                   offset:   4    4;
17178                }
17179                rel2 {
17180                   relative: 0.0  1.0;
17181                   offset:   4   -5;
17182                }
17183             }
17184          }
17185          part { name: "arrow";
17186             clip_to: "disclip";
17187             ignore_flags: ON_HOLD;
17188             description { state: "default" 0.0;
17189                fixed: 1 0;
17190                align: 0.0 0.5;
17191                aspect: 1.0 1.0;
17192                rel1 {
17193                   to_x: "elm.swallow.pad";
17194                   relative: 1.0  0.0;
17195                   offset:   -1    4;
17196                }
17197                rel2 {
17198                   to_x: "elm.swallow.pad";
17199                   relative: 1.0  1.0;
17200                   offset:   -1   -5;
17201                }
17202                image.normal: "icon_arrow_right.png";
17203             }
17204             description { state: "active" 0.0;
17205                inherit: "default" 0.0;
17206                image.normal: "icon_arrow_down.png";
17207             }
17208          }
17209          part { name: "elm.swallow.icon";
17210             clip_to: "disclip";
17211             type: SWALLOW;
17212             description { state: "default" 0.0;
17213                fixed: 1 0;
17214                align: 0.5 0.5;
17215                rel1 {
17216                   to_x: "arrow";
17217                   relative: 1.0  0.0;
17218                   offset:   4    4;
17219                }
17220                rel2 {
17221                   relative: 1.0  1.0;
17222                   offset:   -4   -5;
17223                }
17224             }
17225          }
17226          part { name: "elm.text";
17227             clip_to: "disclip";
17228             type:           TEXT;
17229             effect:         SOFT_SHADOW;
17230             mouse_events:   0;
17231             scale: 1;
17232             description {
17233                state: "default" 0.0;
17234 //               min: 16 16;
17235                rel1 {
17236                   to_y:     "elm.swallow.icon";
17237                   relative: 0.0  1.0;
17238                   offset:   0 4;
17239                }
17240                rel2 {
17241                   relative: 1.0  1.0;
17242                   offset:   -5 -5;
17243                }
17244                color: 0 0 0 255;
17245                color3: 0 0 0 0;
17246                text {
17247                   font: "Sans";
17248                   size: 10;
17249                   min: 1 1;
17250 //                  min: 0 1;
17251                   align: 0.5 0.5;
17252                }
17253             }
17254             description { state: "selected" 0.0;
17255                inherit: "default" 0.0;
17256                color: 224 224 224 255;
17257                color3: 0 0 0 64;
17258             }
17259          }
17260          part { name: "fg1";
17261             clip_to: "disclip";
17262             mouse_events: 0;
17263             description { state: "default" 0.0;
17264                visible: 0;
17265                color: 255 255 255 0;
17266                rel1.to: "bg";
17267                rel2.relative: 1.0 0.5;
17268                rel2.to: "bg";
17269                image {
17270                   normal: "bt_sm_hilight.png";
17271                   border: 6 6 6 0;
17272                }
17273             }
17274             description { state: "selected" 0.0;
17275                inherit: "default" 0.0;
17276                visible: 1;
17277                color: 255 255 255 255;
17278             }
17279          }
17280          part { name: "fg2";
17281             clip_to: "disclip";
17282             mouse_events: 0;
17283             description { state: "default" 0.0;
17284                visible: 0;
17285                color: 255 255 255 0;
17286                rel1.to: "bg";
17287                rel2.to: "bg";
17288                image {
17289                   normal: "bt_sm_shine.png";
17290                   border: 6 6 6 0;
17291                }
17292             }
17293             description { state: "selected" 0.0;
17294                inherit: "default" 0.0;
17295                visible: 1;
17296                color: 255 255 255 255;
17297             }
17298          }
17299          part { name: "disclip";
17300             type: RECT;
17301             description { state: "default" 0.0;
17302                rel1.to: "bg";
17303                rel2.to: "bg";
17304             }
17305             description { state: "disabled" 0.0;
17306                inherit: "default" 0.0;
17307                color: 255 255 255 64;
17308             }
17309          }
17310       }
17311       programs {
17312          // signal: elm,state,%s,active
17313          //   a "check" item named %s went active
17314          // signal: elm,state,%s,passive
17315          //   a "check" item named %s went passive
17316          // default is passive
17317          program {
17318             name:    "go_active";
17319             signal:  "elm,state,selected";
17320             source:  "elm";
17321             action:  STATE_SET "selected" 0.0;
17322             target:  "bg";
17323             target:  "fg1";
17324             target:  "fg2";
17325             target:  "elm.text";
17326          }
17327          program {
17328             name:    "go_passive";
17329             signal:  "elm,state,unselected";
17330             source:  "elm";
17331             action:  STATE_SET "default" 0.0;
17332             target:  "bg";
17333             target:  "fg1";
17334             target:  "fg2";
17335             target:  "elm.text";
17336             transition: LINEAR 0.1;
17337          }
17338          program {
17339             name:    "go_disabled";
17340             signal:  "elm,state,disabled";
17341             source:  "elm";
17342             action:  STATE_SET "disabled" 0.0;
17343             target:  "disclip";
17344          }
17345          program {
17346             name:    "go_enabled";
17347             signal:  "elm,state,enabled";
17348             source:  "elm";
17349             action:  STATE_SET "default" 0.0;
17350             target:  "disclip";
17351          }
17352          program {
17353             name:    "expand";
17354             signal:  "mouse,up,1";
17355             source:  "arrow";
17356             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17357          }
17358          program {
17359             name:    "go_expanded";
17360             signal:  "elm,state,expanded";
17361             source:  "elm";
17362             action:  STATE_SET "active" 0.0;
17363             target:  "arrow";
17364          }
17365          program {
17366             name:    "go_contracted";
17367             signal:  "elm,state,contracted";
17368             source:  "elm";
17369             action:  STATE_SET "default" 0.0;
17370             target:  "arrow";
17371          }
17372       }
17373    }
17374    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
17375       data.item: "stacking" "below";
17376       data.item: "selectraise" "on";
17377       data.item: "labels" "elm.text";
17378       data.item: "icons" "elm.swallow.icon";
17379       data.item: "treesize" "20";
17380 //      data.item: "states" "";
17381       images {
17382          image: "bt_sm_base1.png" COMP;
17383          image: "bt_sm_shine.png" COMP;
17384          image: "bt_sm_hilight.png" COMP;
17385          image: "ilist_2.png" COMP;
17386          image: "icon_arrow_right.png" COMP;
17387          image: "icon_arrow_down.png" COMP;
17388       }
17389       parts {
17390          part {
17391             name:           "event";
17392             type:           RECT;
17393             repeat_events: 1;
17394             description {
17395                state: "default" 0.0;
17396                color: 0 0 0 0;
17397             }
17398          }
17399          part {
17400             name: "base";
17401             mouse_events: 0;
17402             description {
17403                state: "default" 0.0;
17404                image {
17405                   normal: "ilist_2.png";
17406                   border: 2 2 2 2;
17407                }
17408                fill.smooth: 0;
17409             }
17410          }
17411          part { name: "bg";
17412             clip_to: "disclip";
17413             mouse_events: 0;
17414             description { state: "default" 0.0;
17415                visible: 0;
17416                color: 255 255 255 0;
17417                rel1 {
17418                   relative: 0.0 0.0;
17419                   offset: -5 -5;
17420                }
17421                rel2 {
17422                   relative: 1.0 1.0;
17423                   offset: 4 4;
17424                }
17425                image {
17426                   normal: "bt_sm_base1.png";
17427                   border: 6 6 6 6;
17428                }
17429                image.middle: SOLID;
17430             }
17431             description { state: "selected" 0.0;
17432                inherit: "default" 0.0;
17433                visible: 1;
17434                color: 255 255 255 255;
17435                rel1 {
17436                   relative: 0.0 0.0;
17437                   offset: -2 -2;
17438                }
17439                rel2 {
17440                   relative: 1.0 1.0;
17441                   offset: 1 1;
17442                }
17443             }
17444          }
17445          part { name: "elm.swallow.pad";
17446             type: SWALLOW;
17447             description { state: "default" 0.0;
17448                fixed: 1 0;
17449                align: 0.0 0.5;
17450                rel1 {
17451                   relative: 0.0  0.0;
17452                   offset:   4    4;
17453                }
17454                rel2 {
17455                   relative: 0.0  1.0;
17456                   offset:   4   -5;
17457                }
17458             }
17459          }
17460          part { name: "arrow";
17461             clip_to: "disclip";
17462             ignore_flags: ON_HOLD;
17463             description { state: "default" 0.0;
17464                fixed: 1 0;
17465                align: 0.0 0.5;
17466                aspect: 1.0 1.0;
17467                rel1 {
17468                   to_x: "elm.swallow.pad";
17469                   relative: 1.0  0.0;
17470                   offset:   -1    4;
17471                }
17472                rel2 {
17473                   to_x: "elm.swallow.pad";
17474                   relative: 1.0  1.0;
17475                   offset:   -1   -5;
17476                }
17477                image.normal: "icon_arrow_right.png";
17478             }
17479             description { state: "active" 0.0;
17480                inherit: "default" 0.0;
17481                image.normal: "icon_arrow_down.png";
17482             }
17483          }
17484          part { name: "elm.swallow.icon";
17485             clip_to: "disclip";
17486             type: SWALLOW;
17487             description { state: "default" 0.0;
17488                fixed: 1 0;
17489                align: 0.5 0.5;
17490                rel1 {
17491                   to_x: "arrow";
17492                   relative: 1.0  0.0;
17493                   offset:   4    4;
17494                }
17495                rel2 {
17496                   relative: 1.0  1.0;
17497                   offset:   -4   -5;
17498                }
17499             }
17500          }
17501          part { name: "elm.text";
17502             clip_to: "disclip";
17503             type:           TEXT;
17504             effect:         SOFT_SHADOW;
17505             mouse_events:   0;
17506             scale: 1;
17507             description {
17508                state: "default" 0.0;
17509 //               min: 16 16;
17510                rel1 {
17511                   to_y:     "elm.swallow.icon";
17512                   relative: 0.0  1.0;
17513                   offset:   0 4;
17514                }
17515                rel2 {
17516                   relative: 1.0  1.0;
17517                   offset:   -5 -5;
17518                }
17519                color: 0 0 0 255;
17520                color3: 0 0 0 0;
17521                text {
17522                   font: "Sans";
17523                   size: 10;
17524                   min: 1 1;
17525 //                  min: 0 1;
17526                   align: 0.5 0.5;
17527                }
17528             }
17529             description { state: "selected" 0.0;
17530                inherit: "default" 0.0;
17531                color: 224 224 224 255;
17532                color3: 0 0 0 64;
17533             }
17534          }
17535          part { name: "fg1";
17536             clip_to: "disclip";
17537             mouse_events: 0;
17538             description { state: "default" 0.0;
17539                visible: 0;
17540                color: 255 255 255 0;
17541                rel1.to: "bg";
17542                rel2.relative: 1.0 0.5;
17543                rel2.to: "bg";
17544                image {
17545                   normal: "bt_sm_hilight.png";
17546                   border: 6 6 6 0;
17547                }
17548             }
17549             description { state: "selected" 0.0;
17550                inherit: "default" 0.0;
17551                visible: 1;
17552                color: 255 255 255 255;
17553             }
17554          }
17555          part { name: "fg2";
17556             clip_to: "disclip";
17557             mouse_events: 0;
17558             description { state: "default" 0.0;
17559                visible: 0;
17560                color: 255 255 255 0;
17561                rel1.to: "bg";
17562                rel2.to: "bg";
17563                image {
17564                   normal: "bt_sm_shine.png";
17565                   border: 6 6 6 0;
17566                }
17567             }
17568             description { state: "selected" 0.0;
17569                inherit: "default" 0.0;
17570                visible: 1;
17571                color: 255 255 255 255;
17572             }
17573          }
17574          part { name: "disclip";
17575             type: RECT;
17576             description { state: "default" 0.0;
17577                rel1.to: "bg";
17578                rel2.to: "bg";
17579             }
17580             description { state: "disabled" 0.0;
17581                inherit: "default" 0.0;
17582                color: 255 255 255 64;
17583             }
17584          }
17585       }
17586       programs {
17587          // signal: elm,state,%s,active
17588          //   a "check" item named %s went active
17589          // signal: elm,state,%s,passive
17590          //   a "check" item named %s went passive
17591          // default is passive
17592          program {
17593             name:    "go_active";
17594             signal:  "elm,state,selected";
17595             source:  "elm";
17596             action:  STATE_SET "selected" 0.0;
17597             target:  "bg";
17598             target:  "fg1";
17599             target:  "fg2";
17600             target:  "elm.text";
17601          }
17602          program {
17603             name:    "go_passive";
17604             signal:  "elm,state,unselected";
17605             source:  "elm";
17606             action:  STATE_SET "default" 0.0;
17607             target:  "bg";
17608             target:  "fg1";
17609             target:  "fg2";
17610             target:  "elm.text";
17611             transition: LINEAR 0.1;
17612          }
17613          program {
17614             name:    "go_disabled";
17615             signal:  "elm,state,disabled";
17616             source:  "elm";
17617             action:  STATE_SET "disabled" 0.0;
17618             target:  "disclip";
17619          }
17620          program {
17621             name:    "go_enabled";
17622             signal:  "elm,state,enabled";
17623             source:  "elm";
17624             action:  STATE_SET "default" 0.0;
17625             target:  "disclip";
17626          }
17627          program {
17628             name:    "expand";
17629             signal:  "mouse,up,1";
17630             source:  "arrow";
17631             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17632          }
17633          program {
17634             name:    "go_expanded";
17635             signal:  "elm,state,expanded";
17636             source:  "elm";
17637             action:  STATE_SET "active" 0.0;
17638             target:  "arrow";
17639          }
17640          program {
17641             name:    "go_contracted";
17642             signal:  "elm,state,contracted";
17643             source:  "elm";
17644             action:  STATE_SET "default" 0.0;
17645             target:  "arrow";
17646          }
17647       }
17648    }
17649
17650
17651 ///////////////////////////////////////////////////////////////////////////////
17652    group { name: "elm/check/base/default";
17653       images {
17654          image: "check_base.png" COMP;
17655          image: "check.png" COMP;
17656          image: "check2.png" COMP;
17657       }
17658       parts {
17659          part { name: "bg";
17660             mouse_events: 0;
17661             scale: 1;
17662             description { state: "default" 0.0;
17663                rel1.offset: 1 1;
17664                rel2.relative: 0.0 1.0;
17665                rel2.offset: 1 -2;
17666                align: 0.0 0.5;
17667                min: 16 16;
17668                max: 16 16;
17669                aspect: 1.0 1.0;
17670                aspect_preference: VERTICAL;
17671                image {
17672                   normal: "check_base.png";
17673                   border: 5 5 5 5;
17674                   middle: 0;
17675                }
17676                fill.smooth : 0;
17677             }
17678          }
17679          part { name: "check";
17680             mouse_events: 0;
17681             scale: 1;
17682             description { state: "default" 0.0;
17683                rel1 {
17684                   to: "bg";
17685                   offset: 1 1;
17686                }
17687                rel2 {
17688                   to: "bg";
17689                   offset: -2 -2;
17690                }
17691                visible: 0;
17692                color: 255 255 255 255;
17693                image.normal: "check.png";
17694             }
17695             description { state: "visible" 0.0;
17696                inherit: "default" 0.0;
17697                visible: 1;
17698             }
17699             description { state: "disabled" 0.0;
17700                inherit: "default" 0.0;
17701                visible: 0;
17702                color: 128 128 128 128;
17703             }
17704             description { state: "disabled_visible" 0.0;
17705                inherit: "default" 0.0;
17706                color: 128 128 128 128;
17707                visible: 1;
17708             }
17709          }
17710          part { name: "elm.swallow.content";
17711             type: SWALLOW;
17712             description { state: "default" 0.0;
17713                fixed: 1 0;
17714                visible: 0;
17715                color: 255 255 255 255;
17716                align: 0.0 0.5;
17717                rel1.to_x: "bg";
17718                rel1.relative: 1.0 0.0;
17719                rel1.offset: 1 1;
17720                rel2.to_x: "bg";
17721                rel2.relative: 1.0 1.0;
17722                rel2.offset: 2 -2;
17723             }
17724             description { state: "visible" 0.0;
17725                inherit: "default" 0.0;
17726                fixed: 1 1;
17727                visible: 1;
17728                aspect: 1.0 1.0;
17729                aspect_preference: VERTICAL;
17730             }
17731             description { state: "disabled" 0.0;
17732                inherit: "default" 0.0;
17733                color: 128 128 128 128;
17734             }
17735             description { state: "disabled_visible" 0.0;
17736                inherit: "default" 0.0;
17737                color: 128 128 128 128;
17738                fixed: 1 1;
17739                visible: 1;
17740                aspect: 1.0 1.0;
17741             }
17742          }
17743          part { name: "elm.text";
17744             type: TEXT;
17745             mouse_events: 0;
17746             scale: 1;
17747             description { state: "default" 0.0;
17748                visible: 0;
17749                rel1.to_x: "elm.swallow.content";
17750                rel1.relative: 1.0 0.0;
17751                rel1.offset: 1 1;
17752                rel2.relative: 1.0 1.0;
17753                rel2.offset: -2 -2;
17754                color: 0 0 0 255;
17755                text {
17756                   font: "Sans,Edje-Vera";
17757                   size: 10;
17758                   min: 0 0;
17759                   align: 0.0 0.5;
17760                }
17761             }
17762             description { state: "visible" 0.0;
17763                inherit: "default" 0.0;
17764                visible: 1;
17765                text.min: 1 1;
17766             }
17767             description { state: "disabled" 0.0;
17768                inherit: "default" 0.0;
17769                color: 0 0 0 128;
17770                color3: 0 0 0 0;
17771             }
17772             description { state: "disabled_visible" 0.0;
17773                inherit: "default" 0.0;
17774                color: 0 0 0 128;
17775                color3: 0 0 0 0;
17776                visible: 1;
17777                text.min: 1 1;
17778             }
17779          }
17780          part { name: "events";
17781             type: RECT;
17782             ignore_flags: ON_HOLD;
17783             description { state: "default" 0.0;
17784                color: 0 0 0 0;
17785             }
17786          }
17787          part { name: "disabler";
17788             type: RECT;
17789             description { state: "default" 0.0;
17790                color: 0 0 0 0;
17791                visible: 0;
17792             }
17793             description { state: "disabled" 0.0;
17794                inherit: "default" 0.0;
17795                visible: 1;
17796             }
17797          }
17798       }
17799       programs {
17800          program { name: "click";
17801             signal: "mouse,up,1";
17802             source: "events";
17803             action: SIGNAL_EMIT "elm,action,check,toggle" "";
17804          }
17805          program { name: "check_on";
17806             signal: "elm,state,check,on";
17807             source: "elm";
17808             action:  STATE_SET "visible" 0.0;
17809             target: "check";
17810          }
17811          program { name: "check_off";
17812             signal: "elm,state,check,off";
17813             source: "elm";
17814             action:  STATE_SET "default" 0.0;
17815             target: "check";
17816          }
17817          program { name: "text_show";
17818             signal: "elm,state,text,visible";
17819             source: "elm";
17820             action:  STATE_SET "visible" 0.0;
17821             target: "elm.text";
17822          }
17823          program { name: "text_hide";
17824             signal: "elm,state,text,hidden";
17825             source: "elm";
17826             action:  STATE_SET "default" 0.0;
17827             target: "elm.text";
17828          }
17829          program { name: "icon_show";
17830             signal: "elm,state,icon,visible";
17831             source: "elm";
17832             action:  STATE_SET "visible" 0.0;
17833             target: "elm.swallow.content";
17834          }
17835          program { name: "icon_hide";
17836             signal: "elm,state,icon,hidden";
17837             source: "elm";
17838             action:  STATE_SET "default" 0.0;
17839             target: "elm.swallow.content";
17840          }
17841          program { name: "disable";
17842             signal: "elm,state,disabled";
17843             source: "elm";
17844             action: STATE_SET "disabled" 0.0;
17845             target: "disabler";
17846             after: "disable_text";
17847          }
17848          program { name: "disable_text";
17849             script {
17850                new st[31];
17851                new Float:vl;
17852                get_state(PART:"elm.text", st, 30, vl);
17853                if (!strcmp(st, "visible"))
17854                  set_state(PART:"elm.text", "disabled_visible", 0.0);
17855                else
17856                  set_state(PART:"elm.text", "disabled", 0.0);
17857
17858                get_state(PART:"elm.swallow.content", st, 30, vl);
17859                if (!strcmp(st, "visible"))
17860                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
17861                else
17862                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
17863
17864                get_state(PART:"check", st, 30, vl);
17865                if (!strcmp(st, "visible"))
17866                  set_state(PART:"check", "disabled_visible", 0.0);
17867                else
17868                  set_state(PART:"check", "disabled", 0.0);
17869             }
17870          }
17871          program { name: "enable";
17872             signal: "elm,state,enabled";
17873             source: "elm";
17874             action: STATE_SET "default" 0.0;
17875             target: "disabler";
17876             after: "enable_text";
17877          }
17878          program { name: "enable_text";
17879             script {
17880                new st[31];
17881                new Float:vl;
17882                get_state(PART:"elm.text", st, 30, vl);
17883                if (!strcmp(st, "disabled_visible"))
17884                  set_state(PART:"elm.text", "visible", 0.0);
17885                else
17886                  set_state(PART:"elm.text", "default", 0.0);
17887
17888                get_state(PART:"elm.swallow.content", st, 30, vl);
17889                if (!strcmp(st, "visible"))
17890                  set_state(PART:"elm.swallow.content", "visible", 0.0);
17891                else
17892                  set_state(PART:"elm.swallow.content", "default", 0.0);
17893
17894                get_state(PART:"check", st, 30, vl);
17895                if (!strcmp(st, "visible"))
17896                  set_state(PART:"check", "visible", 0.0);
17897                else
17898                  set_state(PART:"check", "default", 0.0);
17899             }
17900          }
17901       }
17902    }
17903 ///////////////////////////////////////////////////////////////////////////////
17904    group { name: "elm/radio/base/default";
17905       images {
17906          image: "radio_base.png" COMP;
17907          image: "radio.png" COMP;
17908          image: "radio2.png" COMP;
17909       }
17910       parts {
17911          part { name: "bg";
17912             mouse_events: 0;
17913             scale: 1;
17914             description { state: "default" 0.0;
17915                rel1.offset: 1 1;
17916                rel2.relative: 0.0 1.0;
17917                rel2.offset: 1 -2;
17918                align: 0.0 0.5;
17919                min: 16 16;
17920                max: 16 16;
17921                aspect: 1.0 1.0;
17922                aspect_preference: VERTICAL;
17923                image.normal: "radio_base.png";
17924             }
17925          }
17926          part { name: "radio";
17927             mouse_events: 0;
17928             scale: 1;
17929             description { state: "default" 0.0;
17930                rel1.to: "bg";
17931                rel2.to: "bg";
17932                visible: 0;
17933                image.normal: "radio.png";
17934             }
17935             description { state: "visible" 0.0;
17936                inherit: "default" 0.0;
17937                visible: 1;
17938             }
17939          }
17940          part { name: "elm.swallow.content";
17941             type: SWALLOW;
17942             description { state: "default" 0.0;
17943                fixed: 1 0;
17944                visible: 0;
17945                align: 0.0 0.5;
17946                color: 0 0 0 0;
17947                rel1.to_x: "bg";
17948                rel1.relative: 1.0 0.0;
17949                rel1.offset: 1 1;
17950                rel2.to_x: "bg";
17951                rel2.relative: 1.0 1.0;
17952                rel2.offset: 2 -2;
17953             }
17954             description { state: "visible" 0.0;
17955                inherit: "default" 0.0;
17956                fixed: 1 1;
17957                visible: 1;
17958                color: 255 255 255 255;
17959                aspect: 1.0 1.0;
17960                aspect_preference: VERTICAL;
17961             }
17962             description { state: "disabled" 0.0;
17963                inherit: "default" 0.0;
17964                color: 128 128 128 128;
17965             }
17966             description { state: "disabled_visible" 0.0;
17967                inherit: "default" 0.0;
17968                color: 128 128 128 128;
17969                visible: 1;
17970             }
17971          }
17972          part { name: "elm.text";
17973             type: TEXT;
17974             mouse_events: 0;
17975             scale: 1;
17976             description { state: "default" 0.0;
17977                visible: 0;
17978                rel1.to_x: "elm.swallow.content";
17979                rel1.relative: 1.0 0.0;
17980                rel1.offset: 1 1;
17981                rel2.relative: 1.0 1.0;
17982                rel2.offset: -2 -2;
17983                color: 0 0 0 255;
17984                text {
17985                   font: "Sans,Edje-Vera";
17986                   size: 10;
17987                   min: 0 0;
17988                   align: 0.0 0.5;
17989                }
17990             }
17991             description { state: "visible" 0.0;
17992                inherit: "default" 0.0;
17993                visible: 1;
17994                text.min: 1 1;
17995             }
17996             description { state: "disabled" 0.0;
17997                inherit: "default" 0.0;
17998                color: 0 0 0 128;
17999                color3: 0 0 0 0;
18000             }
18001             description { state: "disabled_visible" 0.0;
18002                inherit: "default" 0.0;
18003                color: 0 0 0 128;
18004                color3: 0 0 0 0;
18005                visible: 1;
18006                text.min: 1 1;
18007             }
18008          }
18009          part { name: "events";
18010             type: RECT;
18011             ignore_flags: ON_HOLD;
18012             description { state: "default" 0.0;
18013                color: 0 0 0 0;
18014             }
18015          }
18016          part { name: "disabler";
18017             type: RECT;
18018             description { state: "default" 0.0;
18019                color: 0 0 0 0;
18020                visible: 0;
18021             }
18022             description { state: "disabled" 0.0;
18023                inherit: "default" 0.0;
18024                visible: 1;
18025             }
18026          }
18027       }
18028       programs {
18029          program { name: "click";
18030             signal: "mouse,up,1";
18031             source: "events";
18032             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
18033          }
18034          program { name: "radio_on";
18035             signal: "elm,state,radio,on";
18036             source: "elm";
18037             action:  STATE_SET "visible" 0.0;
18038             target: "radio";
18039          }
18040          program { name: "radio_off";
18041             signal: "elm,state,radio,off";
18042             source: "elm";
18043             action:  STATE_SET "default" 0.0;
18044             target: "radio";
18045          }
18046          program { name: "text_show";
18047             signal: "elm,state,text,visible";
18048             source: "elm";
18049             action:  STATE_SET "visible" 0.0;
18050             target: "elm.text";
18051          }
18052          program { name: "text_hide";
18053             signal: "elm,state,text,hidden";
18054             source: "elm";
18055             action:  STATE_SET "default" 0.0;
18056             target: "elm.text";
18057          }
18058          program { name: "icon_show";
18059             signal: "elm,state,icon,visible";
18060             source: "elm";
18061             action:  STATE_SET "visible" 0.0;
18062             target: "elm.swallow.content";
18063          }
18064          program { name: "icon_hide";
18065             signal: "elm,state,icon,hidden";
18066             source: "elm";
18067             action:  STATE_SET "default" 0.0;
18068             target: "elm.swallow.content";
18069          }
18070          program { name: "disable";
18071             signal: "elm,state,disabled";
18072             source: "elm";
18073             action: STATE_SET "disabled" 0.0;
18074             target: "disabler";
18075             after: "disable_text";
18076          }
18077          program { name: "disable_text";
18078             script {
18079                new st[31];
18080                new Float:vl;
18081                get_state(PART:"elm.text", st, 30, vl);
18082                if (!strcmp(st, "visible"))
18083                  set_state(PART:"elm.text", "disabled_visible", 0.0);
18084                else
18085                  set_state(PART:"elm.text", "disabled", 0.0);
18086
18087                get_state(PART:"elm.swallow.content", st, 30, vl);
18088                if (!strcmp(st, "visible"))
18089                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
18090                else
18091                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
18092             }
18093          }
18094          program { name: "enable";
18095             signal: "elm,state,enabled";
18096             source: "elm";
18097             action: STATE_SET "default" 0.0;
18098             target: "disabler";
18099             after: "enable_text";
18100          }
18101          program { name: "enable_text";
18102             script {
18103                new st[31];
18104                new Float:vl;
18105                get_state(PART:"elm.text", st, 30, vl);
18106                if (!strcmp(st, "disabled_visible"))
18107                  set_state(PART:"elm.text", "visible", 0.0);
18108                else
18109                  set_state(PART:"elm.text", "default", 0.0);
18110
18111                get_state(PART:"elm.swallow.content", st, 30, vl);
18112                if (!strcmp(st, "visible"))
18113                  set_state(PART:"elm.swallow.content", "visible", 0.0);
18114                else
18115                  set_state(PART:"elm.swallow.content", "default", 0.0);
18116             }
18117          }
18118       }
18119    }
18120    group { name: "elm/genlist/tree_compress_odd/double_label/default";
18121       data.item: "stacking" "below";
18122       data.item: "selectraise" "on";
18123       data.item: "labels" "elm.text elm.text.sub";
18124       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18125       data.item: "treesize" "20";
18126 //      data.item: "states" "";
18127       images {
18128          image: "bt_sm_base1.png" COMP;
18129          image: "bt_sm_shine.png" COMP;
18130          image: "bt_sm_hilight.png" COMP;
18131          image: "ilist_2.png" COMP;
18132          image: "icon_arrow_right.png" COMP;
18133          image: "icon_arrow_down.png" COMP;
18134       }
18135       parts {
18136          part {
18137             name:           "event";
18138             type:           RECT;
18139             repeat_events: 1;
18140             description {
18141                state: "default" 0.0;
18142                color: 0 0 0 0;
18143             }
18144          }
18145          part {
18146             name: "base";
18147             mouse_events: 0;
18148             description {
18149                state: "default" 0.0;
18150                image {
18151                   normal: "ilist_2.png";
18152                   border: 2 2 2 2;
18153                }
18154                fill.smooth: 0;
18155             }
18156          }
18157          part { name: "bg";
18158             clip_to: "disclip";
18159             mouse_events: 0;
18160             description { state: "default" 0.0;
18161                visible: 0;
18162                color: 255 255 255 0;
18163                rel1 {
18164                   relative: 0.0 0.0;
18165                   offset: -5 -5;
18166                }
18167                rel2 {
18168                   relative: 1.0 1.0;
18169                   offset: 4 4;
18170                }
18171                image {
18172                   normal: "bt_sm_base1.png";
18173                   border: 6 6 6 6;
18174                }
18175                image.middle: SOLID;
18176             }
18177             description { state: "selected" 0.0;
18178                inherit: "default" 0.0;
18179                visible: 1;
18180                color: 255 255 255 255;
18181                rel1 {
18182                   relative: 0.0 0.0;
18183                   offset: -2 -2;
18184                }
18185                rel2 {
18186                   relative: 1.0 1.0;
18187                   offset: 1 1;
18188                }
18189             }
18190          }
18191          part { name: "elm.swallow.pad";
18192             type: SWALLOW;
18193             description { state: "default" 0.0;
18194                fixed: 1 0;
18195                align: 0.0 0.5;
18196                rel1 {
18197                   relative: 0.0  0.0;
18198                   offset:   4    4;
18199                }
18200                rel2 {
18201                   relative: 0.0  1.0;
18202                   offset:   4   -5;
18203                }
18204             }
18205          }
18206          part { name: "arrow";
18207             clip_to: "disclip";
18208             ignore_flags: ON_HOLD;
18209             description { state: "default" 0.0;
18210                fixed: 1 0;
18211                align: 0.0 0.5;
18212                aspect: 1.0 1.0;
18213                rel1 {
18214                   to_x: "elm.swallow.pad";
18215                   relative: 1.0  0.0;
18216                   offset:   -1    4;
18217                }
18218                rel2 {
18219                   to_x: "elm.swallow.pad";
18220                   relative: 1.0  1.0;
18221                   offset:   -1   -5;
18222                }
18223                image.normal: "icon_arrow_right.png";
18224             }
18225             description { state: "active" 0.0;
18226                inherit: "default" 0.0;
18227                image.normal: "icon_arrow_down.png";
18228             }
18229          }
18230          part { name: "elm.swallow.icon";
18231             clip_to: "disclip";
18232             type: SWALLOW;
18233             description { state: "default" 0.0;
18234                fixed: 1 0;
18235                align: 0.0 0.5;
18236                rel1 {
18237                   to_x: "arrow";
18238                   relative: 1.0  0.0;
18239                   offset:   4    4;
18240                }
18241                rel2 {
18242                   to_x: "arrow";
18243                   relative: 1.0  1.0;
18244                   offset:   4   -5;
18245                }
18246             }
18247          }
18248          part { name: "elm.swallow.end";
18249             clip_to: "disclip";
18250             type: SWALLOW;
18251             description { state: "default" 0.0;
18252                fixed: 1 0;
18253                align: 1.0 0.5;
18254                aspect: 1.0 1.0;
18255                aspect_preference: VERTICAL;
18256                rel1 {
18257                   relative: 1.0  0.0;
18258                   offset:   -5    4;
18259                }
18260                rel2 {
18261                   relative: 1.0  1.0;
18262                   offset:   -5   -5;
18263                }
18264             }
18265          }
18266          part { name: "elm.text";
18267             clip_to: "disclip";
18268             type:           TEXT;
18269             effect:         SOFT_SHADOW;
18270             mouse_events:   0;
18271             scale: 1;
18272             description {
18273                state: "default" 0.0;
18274 //               min: 16 16;
18275                rel1 {
18276                   to_x:     "elm.swallow.icon";
18277                   relative: 1.0  0.0;
18278                   offset:   0 4;
18279                }
18280                rel2 {
18281                   to_x:     "elm.swallow.end";
18282                   relative: 0.0  0.5;
18283                   offset:   -1 -5;
18284                }
18285                color: 0 0 0 255;
18286                color3: 0 0 0 0;
18287                text {
18288                   font: "Sans";
18289                   size: 10;
18290 //                  min: 1 1;
18291                   min: 0 1;
18292                   align: 0.0 0.5;
18293                }
18294             }
18295             description { state: "selected" 0.0;
18296                inherit: "default" 0.0;
18297                color: 224 224 224 255;
18298                color3: 0 0 0 64;
18299             }
18300          }
18301          part { name: "elm.text.sub";
18302             clip_to: "disclip";
18303             type:           TEXT;
18304             mouse_events:   0;
18305             scale: 1;
18306             description {
18307                state: "default" 0.0;
18308 //               min: 16 16;
18309                rel1 {
18310                   to_x:     "elm.swallow.icon";
18311                   relative: 1.0  0.5;
18312                   offset:   0 4;
18313                }
18314                rel2 {
18315                   to_x:     "elm.swallow.end";
18316                   relative: 0.0  1.0;
18317                   offset:   -1 -5;
18318                }
18319                color: 0 0 0 128;
18320                color3: 0 0 0 0;
18321                text {
18322                   font: "Sans";
18323                   size: 8;
18324 //                  min: 1 1;
18325                   min: 0 1;
18326                   align: 0.0 0.5;
18327                }
18328             }
18329             description { state: "selected" 0.0;
18330                inherit: "default" 0.0;
18331                color: 128 128 128 255;
18332                color3: 0 0 0 32;
18333             }
18334          }
18335          part { name: "fg1";
18336             clip_to: "disclip";
18337             mouse_events: 0;
18338             description { state: "default" 0.0;
18339                visible: 0;
18340                color: 255 255 255 0;
18341                rel1.to: "bg";
18342                rel2.relative: 1.0 0.5;
18343                rel2.to: "bg";
18344                image {
18345                   normal: "bt_sm_hilight.png";
18346                   border: 6 6 6 0;
18347                }
18348             }
18349             description { state: "selected" 0.0;
18350                inherit: "default" 0.0;
18351                visible: 1;
18352                color: 255 255 255 255;
18353             }
18354          }
18355          part { name: "fg2";
18356             clip_to: "disclip";
18357             mouse_events: 0;
18358             description { state: "default" 0.0;
18359                visible: 0;
18360                color: 255 255 255 0;
18361                rel1.to: "bg";
18362                rel2.to: "bg";
18363                image {
18364                   normal: "bt_sm_shine.png";
18365                   border: 6 6 6 0;
18366                }
18367             }
18368             description { state: "selected" 0.0;
18369                inherit: "default" 0.0;
18370                visible: 1;
18371                color: 255 255 255 255;
18372             }
18373          }
18374          part { name: "disclip";
18375             type: RECT;
18376             description { state: "default" 0.0;
18377                rel1.to: "bg";
18378                rel2.to: "bg";
18379             }
18380             description { state: "disabled" 0.0;
18381                inherit: "default" 0.0;
18382                color: 255 255 255 64;
18383             }
18384          }
18385       }
18386       programs {
18387          // signal: elm,state,%s,active
18388          //   a "check" item named %s went active
18389          // signal: elm,state,%s,passive
18390          //   a "check" item named %s went passive
18391          // default is passive
18392          program {
18393             name:    "go_active";
18394             signal:  "elm,state,selected";
18395             source:  "elm";
18396             action:  STATE_SET "selected" 0.0;
18397             target:  "bg";
18398             target:  "fg1";
18399             target:  "fg2";
18400             target:  "elm.text";
18401             target:  "elm.text.sub";
18402          }
18403          program {
18404             name:    "go_passive";
18405             signal:  "elm,state,unselected";
18406             source:  "elm";
18407             action:  STATE_SET "default" 0.0;
18408             target:  "bg";
18409             target:  "fg1";
18410             target:  "fg2";
18411             target:  "elm.text";
18412             target:  "elm.text.sub";
18413             transition: LINEAR 0.1;
18414          }
18415          program {
18416             name:    "go_disabled";
18417             signal:  "elm,state,disabled";
18418             source:  "elm";
18419             action:  STATE_SET "disabled" 0.0;
18420             target:  "disclip";
18421          }
18422          program {
18423             name:    "go_enabled";
18424             signal:  "elm,state,enabled";
18425             source:  "elm";
18426             action:  STATE_SET "default" 0.0;
18427             target:  "disclip";
18428          }
18429          program {
18430             name:    "expand";
18431             signal:  "mouse,up,1";
18432             source:  "arrow";
18433             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18434          }
18435          program {
18436             name:    "go_expanded";
18437             signal:  "elm,state,expanded";
18438             source:  "elm";
18439             action:  STATE_SET "active" 0.0;
18440             target:  "arrow";
18441          }
18442          program {
18443             name:    "go_contracted";
18444             signal:  "elm,state,contracted";
18445             source:  "elm";
18446             action:  STATE_SET "default" 0.0;
18447             target:  "arrow";
18448          }
18449       }
18450    }
18451
18452 ///////////////////////////////////////////////////////////////////////////////
18453    group { name: "elm/pager/base/default";
18454       data.item: "onshow" "raise";
18455 // other options
18456 //      data.item: "onhide" "lower";
18457 //      data.item: "onshow" "lower";
18458       images {
18459          image: "frame_1.png" COMP;
18460          image: "frame_2.png" COMP;
18461          image: "dia_grad.png" COMP;
18462       }
18463       parts {
18464          part { name: "clip";
18465             type: RECT;
18466             mouse_events: 0;
18467             description { state: "default" 0.0;
18468                rel1 {
18469                   to: "base";
18470                   offset: -9999 -9999;
18471                }
18472                rel2 {
18473                   to: "base";
18474                   offset: 9999 9999;
18475                }
18476                color: 255 255 255 255;
18477             }
18478             description { state: "visible" 0.0;
18479                inherit: "default" 0.0;
18480             }
18481             description { state: "hidden" 0.0;
18482                inherit: "default" 0.0;
18483                color: 255 255 255 0;
18484                visible: 0;
18485             }
18486          }
18487          part { name: "base0";
18488             mouse_events:  0;
18489             clip_to: "clip";
18490             description { state: "default" 0.0;
18491                image.normal: "dia_grad.png";
18492                rel1.to: "over";
18493                rel2.to: "over";
18494                fill {
18495                   smooth: 0;
18496                   size {
18497                      relative: 0.0 1.0;
18498                      offset: 64 0;
18499                   }
18500                }
18501             }
18502          }
18503          part { name: "base";
18504             mouse_events:  0;
18505             clip_to: "clip";
18506             description { state: "default" 0.0;
18507                image {
18508                   normal: "frame_2.png";
18509                   border: 5 5 32 26;
18510                   middle: 0;
18511                }
18512                fill.smooth : 0;
18513             }
18514             description { state: "hidden" 0.0;
18515                inherit: "default" 0.0;
18516                rel1.relative: -1.0 0.0;
18517                rel2.relative: 0.0 1.0;
18518             }
18519             description { state: "visible" 0.0;
18520                inherit: "default" 0.0;
18521                rel1.relative: 0.0 0.0;
18522                rel2.relative: 1.0 1.0;
18523             }
18524          }
18525          part { name: "over";
18526             mouse_events:  0;
18527             clip_to: "clip";
18528             description { state:    "default" 0.0;
18529                rel1 {
18530                   to: "base";
18531                   offset: 4 4;
18532                }
18533                rel2 {
18534                   to: "base";
18535                   offset: -5 -5;
18536                }
18537                image {
18538                   normal: "frame_1.png";
18539                   border: 2 2 28 22;
18540                   middle: 0;
18541                }
18542                fill.smooth : 0;
18543             }
18544          }
18545          part { name: "elm.swallow.content";
18546             type: SWALLOW;
18547             clip_to: "clip";
18548             description { state: "default" 0.0;
18549                rel1 {
18550                   to: "base";
18551                   offset: 8 8;
18552                }
18553                rel2 {
18554                   to: "base";
18555                   offset: -9 -9;
18556                }
18557             }
18558          }
18559       }
18560       programs {
18561          program { name: "show_start";
18562             signal: "elm,action,show";
18563             source: "elm";
18564             action:  STATE_SET "hidden" 0.0;
18565             target: "base";
18566             target: "clip";
18567             after: "show_start2";
18568          }
18569          program { name: "show_start2";
18570             action:  STATE_SET "visible" 0.0;
18571             transition: DECELERATE 0.5;
18572             target: "base";
18573             target: "clip";
18574             after: "show_end";
18575          }
18576          program { name: "show_end";
18577             action: SIGNAL_EMIT "elm,action,show,finished" "";
18578          }
18579          program { name: "hide_start";
18580             signal: "elm,action,hide";
18581             source: "elm";
18582             action:  STATE_SET "visible" 0.0;
18583             target: "base";
18584             target: "clip";
18585             after: "hide_start2";
18586          }
18587          program { name: "hide_start2";
18588             action:  STATE_SET "hidden" 0.0;
18589             transition: DECELERATE 0.5;
18590             target: "base";
18591             target: "clip";
18592             after: "hide_end";
18593          }
18594          program { name: "hide_end";
18595             action: SIGNAL_EMIT "elm,action,hide,finished" "";
18596          }
18597          program { name: "reset";
18598             signal: "elm,action,reset";
18599             source: "elm";
18600             action:  STATE_SET "default" 0.0;
18601             target: "base";
18602             target: "clip";
18603          }
18604       }
18605    }
18606
18607    group { name: "elm/pager/base/fade";
18608        data.item: "onshow" "raise";
18609        // other options
18610        //      data.item: "onhide" "lower";
18611        //      data.item: "onshow" "lower";
18612        images {
18613            image: "frame_1.png" COMP;
18614            image: "frame_2.png" COMP;
18615            image: "dia_grad.png" COMP;
18616        }
18617        parts {
18618            part { name: "clip_base";
18619                type: RECT;
18620                mouse_events: 0;
18621                description { state: "default" 0.0;
18622                    rel1 {
18623                        to: "base";
18624                        offset: -9999 -9999;
18625                    }
18626                    rel2 {
18627                        to: "base";
18628                        offset: 9999 9999;
18629                    }
18630                    color: 255 255 255 120;
18631                }
18632                description { state: "visible" 0.0;
18633                    inherit: "default" 0.0;
18634                }
18635                description { state: "hidden" 0.0;
18636                    inherit: "default" 0.0;
18637                    color: 255 255 255 0;
18638                    visible: 0;
18639                }
18640            }
18641            part { name: "clip";
18642                type: RECT;
18643                mouse_events: 0;
18644                description { state: "default" 0.0;
18645                    rel1 {
18646                        to: "base";
18647                        offset: -9999 -9999;
18648                    }
18649                    rel2 {
18650                        to: "base";
18651                        offset: 9999 9999;
18652                    }
18653                    color: 255 255 255 255;
18654                }
18655                description { state: "visible" 0.0;
18656                    inherit: "default" 0.0;
18657                }
18658                description { state: "hidden" 0.0;
18659                    inherit: "default" 0.0;
18660                    color: 255 255 255 0;
18661                    visible: 0;
18662                }
18663            }
18664            part { name: "base0";
18665                mouse_events:  0;
18666                clip_to: "clip_base";
18667                description { state: "default" 0.0;
18668                    image.normal: "dia_grad.png";
18669                    rel1.to: "over";
18670                    rel2.to: "over";
18671                    fill {
18672                        smooth: 0;
18673                        size {
18674                            relative: 0.0 1.0;
18675                            offset: 64 0;
18676                        }
18677                    }
18678                }
18679            }
18680            part { name: "base";
18681                mouse_events:  0;
18682                clip_to: "clip_base";
18683                description { state: "default" 0.0;
18684                    image {
18685                        normal: "frame_2.png";
18686                        border: 5 5 32 26;
18687                        middle: 0;
18688                    }
18689                    fill.smooth : 0;
18690                }
18691            }
18692            part { name: "over";
18693                mouse_events:  0;
18694                clip_to: "clip";
18695                description { state:    "default" 0.0;
18696                    rel1 {
18697                        to: "base";
18698                        offset: 4 4;
18699                    }
18700                    rel2 {
18701                        to: "base";
18702                        offset: -5 -5;
18703                    }
18704                    image {
18705                        normal: "frame_1.png";
18706                        border: 2 2 28 22;
18707                        middle: 0;
18708                    }
18709                    fill.smooth : 0;
18710                }
18711            }
18712            part { name: "elm.swallow.content";
18713                type: SWALLOW;
18714                clip_to: "clip";
18715                description { state: "default" 0.0;
18716                    rel1 {
18717                        to: "base";
18718                        offset: 8 8;
18719                    }
18720                    rel2 {
18721                        to: "base";
18722                        offset: -9 -9;
18723                    }
18724                }
18725            }
18726        }
18727        programs {
18728            program { name: "show_start";
18729                signal: "elm,action,show";
18730                source: "elm";
18731                action:  STATE_SET "hidden" 0.0;
18732                target: "clip";
18733                target: "clip_base";
18734                after: "show_start2";
18735            }
18736            program { name: "show_start2";
18737                action:  STATE_SET "visible" 0.0;
18738                transition: DECELERATE 0.5;
18739                target: "clip";
18740                target: "clip_base";
18741                after: "show_end";
18742            }
18743            program { name: "show_end";
18744                action: SIGNAL_EMIT "elm,action,show,finished" "";
18745            }
18746            program { name: "hide_start";
18747                signal: "elm,action,hide";
18748                source: "elm";
18749                action:  STATE_SET "visible" 0.0;
18750                target: "clip";
18751                target: "clip_base";
18752                after: "hide_start2";
18753            }
18754            program { name: "hide_start2";
18755                action:  STATE_SET "hidden" 0.0;
18756                transition: DECELERATE 0.5;
18757                target: "clip";
18758                target: "clip_base";
18759                after: "hide_end";
18760            }
18761            program { name: "hide_end";
18762                action: SIGNAL_EMIT "elm,action,hide,finished" "";
18763            }
18764            program { name: "reset";
18765                signal: "elm,action,reset";
18766                source: "elm";
18767                action:  STATE_SET "default" 0.0;
18768                target: "clip_base";
18769                target: "clip";
18770            }
18771        }
18772    }
18773    group { name: "elm/pager/base/fade_translucide";
18774        data.item: "onshow" "raise";
18775        // other options
18776        //      data.item: "onhide" "lower";
18777        //      data.item: "onshow" "lower";
18778        images {
18779            image: "frame_1.png" COMP;
18780            image: "frame_2.png" COMP;
18781            image: "dia_grad.png" COMP;
18782        }
18783        parts {
18784            part { name: "clip_base";
18785                type: RECT;
18786                mouse_events: 0;
18787                description { state: "default" 0.0;
18788                    rel1 {
18789                        to: "base";
18790                        offset: -9999 -9999;
18791                    }
18792                    rel2 {
18793                        to: "base";
18794                        offset: 9999 9999;
18795                    }
18796                    color: 255 255 255 120;
18797                }
18798                description { state: "visible" 0.0;
18799                    inherit: "default" 0.0;
18800                }
18801                description { state: "hidden" 0.0;
18802                    inherit: "default" 0.0;
18803                    color: 255 255 255 0;
18804                    visible: 0;
18805                }
18806            }
18807            part { name: "clip";
18808                type: RECT;
18809                mouse_events: 0;
18810                description { state: "default" 0.0;
18811                    rel1 {
18812                        to: "base";
18813                        offset: -9999 -9999;
18814                    }
18815                    rel2 {
18816                        to: "base";
18817                        offset: 9999 9999;
18818                    }
18819                    color: 255 255 255 255;
18820                }
18821                description { state: "visible" 0.0;
18822                    inherit: "default" 0.0;
18823                }
18824                description { state: "hidden" 0.0;
18825                    inherit: "default" 0.0;
18826                    color: 255 255 255 0;
18827                    visible: 0;
18828                }
18829            }
18830            part { name: "base0";
18831                mouse_events:  0;
18832                clip_to: "clip_base";
18833                description { state: "default" 0.0;
18834                    image.normal: "dia_grad.png";
18835                    rel1.to: "over";
18836                    rel2.to: "over";
18837                    fill {
18838                        smooth: 0;
18839                        size {
18840                            relative: 0.0 1.0;
18841                            offset: 64 0;
18842                        }
18843                    }
18844                }
18845            }
18846            part { name: "base";
18847                mouse_events:  0;
18848                clip_to: "clip_base";
18849                description { state: "default" 0.0;
18850                    image {
18851                        normal: "frame_2.png";
18852                        border: 5 5 32 26;
18853                        middle: 0;
18854                    }
18855                    fill.smooth : 0;
18856                }
18857            }
18858            part { name: "over";
18859                mouse_events:  0;
18860                clip_to: "clip";
18861                description { state:    "default" 0.0;
18862                    rel1 {
18863                        to: "base";
18864                        offset: 4 4;
18865                    }
18866                    rel2 {
18867                        to: "base";
18868                        offset: -5 -5;
18869                    }
18870                    image {
18871                        normal: "frame_1.png";
18872                        border: 2 2 28 22;
18873                        middle: 0;
18874                    }
18875                    fill.smooth : 0;
18876                }
18877            }
18878            part { name: "elm.swallow.content";
18879                type: SWALLOW;
18880                clip_to: "clip";
18881                description { state: "default" 0.0;
18882                    rel1 {
18883                        to: "base";
18884                        offset: 8 8;
18885                    }
18886                    rel2 {
18887                        to: "base";
18888                        offset: -9 -9;
18889                    }
18890                }
18891            }
18892        }
18893        programs {
18894            program { name: "show_start";
18895                signal: "elm,action,show";
18896                source: "elm";
18897                action:  STATE_SET "hidden" 0.0;
18898                target: "clip";
18899                target: "clip_base";
18900                after: "show_start2";
18901            }
18902            program { name: "show_start2";
18903                action:  STATE_SET "visible" 0.0;
18904                transition: DECELERATE 0.5;
18905                target: "clip";
18906                target: "clip_base";
18907                after: "show_end";
18908            }
18909            program { name: "show_end";
18910                action: SIGNAL_EMIT "elm,action,show,finished" "";
18911            }
18912            program { name: "hide_start";
18913                signal: "elm,action,hide";
18914                source: "elm";
18915                action:  STATE_SET "visible" 0.0;
18916                target: "clip";
18917                target: "clip_base";
18918                after: "hide_start2";
18919            }
18920            program { name: "hide_start2";
18921                action:  STATE_SET "hidden" 0.0;
18922                transition: DECELERATE 0.5;
18923                target: "clip";
18924                target: "clip_base";
18925                after: "hide_end";
18926            }
18927            program { name: "hide_end";
18928                action: SIGNAL_EMIT "elm,action,hide,finished" "";
18929            }
18930            program { name: "reset";
18931                signal: "elm,action,reset";
18932                source: "elm";
18933                action:  STATE_SET "default" 0.0;
18934                target: "clip_base";
18935                target: "clip";
18936            }
18937        }
18938    }
18939
18940
18941
18942 ///////////////////////////////////////////////////////////////////////////////
18943 // FIXME: this doesn't look too hot. need to fix it up
18944    group { name: "elm/progressbar/horizontal/default";
18945       images {
18946          image: "shelf_inset.png" COMP;
18947          image: "bt_sm_base2.png" COMP;
18948          image: "bt_sm_hilight.png" COMP;
18949          image: "bt_sm_shine.png" COMP;
18950       }
18951       parts {
18952          part { name: "elm.background.progressbar";
18953             mouse_events: 0;
18954             description {
18955                state: "default" 0.0;
18956                rel1 {
18957                   relative: 0.0 0.0;
18958                   offset: 0 0;
18959                }
18960                rel2 {
18961                   relative: 1.0 1.0;
18962                }
18963             }
18964          }
18965          part { name: "elm.swallow.bar";
18966             mouse_events: 0;
18967             type: SWALLOW;
18968             description {
18969                min: 48 28;
18970                max: 99999 28;
18971                state: "default" 0.0;
18972                rel1 {
18973                   to_x: "elm.text";
18974                   to_y: "elm.background.progressbar";
18975                   relative: 1.0 0.0;
18976                }
18977                rel2 {
18978                   to: "elm.background.progressbar";
18979                   relative: 1.0 1.0;
18980                }
18981             }
18982          }
18983          part { name: "elm.swallow.content";
18984             type: SWALLOW;
18985             description { state: "default" 0.0;
18986                visible: 0;
18987                align: 0.0 0.5;
18988                rel1 {
18989                   offset: 4 0;
18990                   to_y: "elm.background.progressbar";
18991                }
18992                rel2 {
18993                   offset: 3 -1;
18994                   relative: 0.0 1.0;
18995                   to_y: "elm.background.progressbar";
18996                }
18997             }
18998             description { state: "visible" 0.0;
18999                inherit: "default" 0.0;
19000                visible: 1;
19001                aspect: 1.0 1.0;
19002                aspect_preference: VERTICAL;
19003                rel2.offset: 4 -1;
19004             }
19005          }
19006          part { name: "elm.text";
19007             type: TEXT;
19008             mouse_events: 0;
19009             scale: 1;
19010             description { state: "default" 0.0;
19011                visible: 0;
19012                fixed: 1 1;
19013                align: 0.0 0.5;
19014                rel1.to_x: "elm.swallow.content";
19015                rel1.relative: 1.0 0.0;
19016                rel1.offset: -1 4;
19017                rel2.to_x: "elm.swallow.content";
19018                rel2.relative: 1.0 1.0;
19019                rel2.offset: -1 -5;
19020                color: 0 0 0 255;
19021                text {
19022                   font: "Sans,Edje-Vera";
19023                   size: 10;
19024                   min: 0 0;
19025                   align: 0.0 0.5;
19026                }
19027             }
19028             description { state: "visible" 0.0;
19029                inherit: "default" 0.0;
19030                visible: 1;
19031                text.min: 1 1;
19032                rel1.offset: 0 4;
19033                rel2.offset: 0 -5;
19034             }
19035          }
19036
19037          part { name: "background";
19038             mouse_events: 0;
19039             clip_to: "elm.background.progressbar";
19040             description {
19041                state: "default" 0.0;
19042                rel1 {
19043                   to: "elm.swallow.bar";
19044                   relative: 0.0 0.0;
19045                }
19046                rel2 {
19047                   to: "elm.swallow.bar";
19048                   relative: 1.0 1.0;
19049                   offset: -1 -1;
19050                }
19051                image {
19052                   normal: "shelf_inset.png";
19053                   border: 7 7 7 7;
19054                }
19055             }
19056          }
19057
19058          part { name: "elm.text.status";
19059             type: TEXT;
19060             mouse_events: 0;
19061             description { state: "default" 0.0;
19062                fixed: 1 1;
19063                visible: 1;
19064                rel1 {
19065                   to: "background";
19066                   relative: 0.5 0.5;
19067                }
19068                rel2 {
19069                   to: "background";
19070                   relative: 0.5 0.5;
19071                }
19072                text {
19073                   font: "Sans:style=Bold,Edje-Vera-Bold";
19074                   size: 10;
19075                   min: 1 1;
19076                   align: 0.5 0.0;
19077                }
19078                color: 0 0 0 255;
19079             }
19080             description { state: "hidden" 0.0;
19081                inherit: "default" 0.0;
19082                visible: 0;
19083                text.min: 0 0;
19084             }
19085          }
19086
19087          part { name: "elm.progress.progressbar";
19088             mouse_events: 0;
19089             clip_to: "elm.background.progressbar";
19090             description {
19091                state: "default" 0.0;
19092                min: 14 28;
19093                fixed: 1 1;
19094                rel1 {
19095                   to: "elm.swallow.bar";
19096                   relative: 0.0 0.0;
19097                }
19098                rel2 {
19099                   to_y: "elm.swallow.bar";
19100                   to_x: "elm.cur.progressbar";
19101                   offset: -1 -1;
19102                }
19103                image {
19104                   normal: "bt_sm_base2.png";
19105                   border: 6 6 6 6;
19106                }
19107             }
19108             description {
19109                state: "invert" 0.0;
19110                inherit: "default" 0.0;
19111                rel1 {
19112                   to_y: "elm.swallow.bar";
19113                   to_x: "elm.cur.progressbar";
19114                }
19115                rel2 {
19116                   to: "elm.swallow.bar";
19117                   relative: 1.0 1.0;
19118                }
19119             }
19120             description {
19121                state: "state_begin" 0.0;
19122                inherit: "default" 0.0;
19123                rel1 {
19124                   to: "elm.swallow.bar";
19125                   relative: 0.0 0.0;
19126                }
19127                rel2 {
19128                   to: "elm.swallow.bar";
19129                   relative: 0.1 1.0;
19130                }
19131             }
19132             description {
19133                state: "state_end" 0.0;
19134                inherit: "default" 0.0;
19135                rel1 {
19136                   to: "elm.swallow.bar";
19137                   relative: 0.9 0.0;
19138                }
19139                rel2 {
19140                   to: "elm.swallow.bar";
19141                   relative: 1.0 1.0;
19142                }
19143             }
19144          }
19145          part { name: "text-bar";
19146             type: TEXT;
19147             mouse_events: 0;
19148             clip_to: "progress-rect";
19149             effect: SOFT_SHADOW;
19150             scale: 1;
19151             description { state: "default" 0.0;
19152                align: 0.0 0.0;
19153                fixed: 1 1;
19154                visible: 1;
19155                rel1.to: "elm.text.status";
19156                rel1.offset: -1 -1;
19157                rel2.to: "elm.text.status";
19158                text {
19159                   text_source: "elm.text.status";
19160                   font: "Sans:style=Bold,Edje-Vera-Bold";
19161                   size: 10;
19162                   min: 1 1;
19163                   align: 0.0 0.0;
19164                }
19165                color: 224 224 224 255;
19166                color3: 0 0 0 64;
19167             }
19168             description { state: "hidden" 0.0;
19169                inherit: "default" 0.0;
19170                visible: 0;
19171                text.min: 0 0;
19172             }
19173          }
19174
19175          part { name: "over1";
19176             mouse_events: 0;
19177             description { state: "default" 0.0;
19178                rel1.to: "elm.progress.progressbar";
19179                rel2.to: "elm.progress.progressbar";
19180                rel2.relative: 1.0 0.5;
19181                image {
19182                   normal: "bt_sm_hilight.png";
19183                   border: 6 6 6 0;
19184                }
19185             }
19186          }
19187
19188          part { name: "over2";
19189             mouse_events: 1;
19190             repeat_events: 1;
19191             description { state: "default" 0.0;
19192                rel1.to: "elm.progress.progressbar";
19193                rel2.to: "elm.progress.progressbar";
19194                image {
19195                   normal: "bt_sm_shine.png";
19196                   border: 6 6 6 0;
19197                }
19198             }
19199          }
19200
19201          part { name: "elm.cur.progressbar";
19202             mouse_events: 0;
19203             dragable {
19204                confine: "background";
19205                x: 1 1 1;
19206                y: 0 0 0;
19207             }
19208             description { state: "default" 0.0;
19209                min: 14 28;
19210                fixed: 1 1;
19211                visible: 0;
19212                rel1 {
19213                   to: "background";
19214                   relative: 0 0;
19215                }
19216                rel2.to: "background";
19217            }
19218          }
19219          part { name: "progress-rect";
19220             mouse_events: 0;
19221             description {
19222                state: "default" 0.0;
19223                rel1.to: "elm.progress.progressbar";
19224                rel2.to: "elm.progress.progressbar";
19225             }
19226          }
19227       }
19228       programs {
19229          program { name: "label_show";
19230             signal: "elm,state,text,visible";
19231             source: "elm";
19232             action:  STATE_SET "visible" 0.0;
19233             target: "elm.text";
19234          }
19235          program { name: "label_hide";
19236             signal: "elm,state,text,hidden";
19237             source: "elm";
19238             action:  STATE_SET "default" 0.0;
19239             target: "elm.text";
19240          }
19241          program { name: "icon_show";
19242             signal: "elm,state,icon,visible";
19243             source: "elm";
19244             action:  STATE_SET "visible" 0.0;
19245             target: "elm.swallow.content";
19246          }
19247          program { name: "icon_hide";
19248             signal: "elm,state,icon,hidden";
19249             source: "elm";
19250             action:  STATE_SET "default" 0.0;
19251             target: "elm.swallow.content";
19252          }
19253          program { name: "units_show";
19254             signal: "elm,state,units,visible";
19255             source: "elm";
19256             action:  STATE_SET "default" 0.0;
19257             target: "text-bar";
19258             target: "elm.text.status";
19259          }
19260          program { name: "units_hide";
19261             signal: "elm,state,units,hidden";
19262             source: "elm";
19263             action:  STATE_SET "hidden" 0.0;
19264             target: "text-bar";
19265             target: "elm.text.status";
19266          }
19267          program { name: "slide_to_end";
19268             action:  STATE_SET "state_end" 0.0;
19269             transition: LINEAR 0.5;
19270             target: "elm.progress.progressbar";
19271             after: "slide_to_begin";
19272          }
19273          program { name: "slide_to_begin";
19274             signal: "elm,state,slide,begin";
19275             action: STATE_SET "state_begin" 0.0;
19276             target: "elm.progress.progressbar";
19277             transition: LINEAR 0.5;
19278             after: "slide_to_end";
19279          }
19280          program { name: "start_pulse";
19281             signal: "elm,state,pulse,start";
19282             source: "elm";
19283             after: "slide_to_end";
19284          }
19285          program { name: "stop_pulse";
19286             signal: "elm,state,pulse,stop";
19287             source: "elm";
19288             action: ACTION_STOP;
19289             target: "slide_to_begin";
19290             target: "slide_to_end";
19291             target: "start_pulse";
19292             after: "state_pulse";
19293          }
19294          program { name: "state_pulse";
19295             signal: "elm,state,pulse";
19296             source: "elm";
19297             action: STATE_SET "state_begin" 0.0;
19298             target: "elm.progress.progressbar";
19299             after: "units_hide";
19300          }
19301          program { name: "state_fraction";
19302             signal: "elm,state,fraction";
19303             source: "elm";
19304             action: ACTION_STOP;
19305             target: "slide_to_begin";
19306             target: "slide_to_end";
19307             target: "start_pulse";
19308             action: STATE_SET "default" 0.0;
19309             target: "elm.progress.progressbar";
19310          }
19311          program { name: "set_invert_on";
19312             signal: "elm,state,inverted,on";
19313             source: "elm";
19314             action:  STATE_SET "invert" 0.0;
19315             target: "elm.progress.progressbar";
19316          }
19317          program { name: "set_invert_off";
19318             signal: "elm,state,inverted,off";
19319             source: "elm";
19320             action:  STATE_SET "default" 0.0;
19321             target: "elm.progress.progressbar";
19322          }
19323       }
19324    }
19325
19326 ///////////////////////////////////////////////////////////////////////////////
19327    group { name: "elm/progressbar/vertical/default";
19328       images {
19329          image: "shelf_inset.png" COMP;
19330          image: "bt_sm_base2.png" COMP;
19331          image: "bt_sm_hilight.png" COMP;
19332          image: "bt_sm_shine.png" COMP;
19333       }
19334       parts {
19335          part { name: "elm.background.progressbar";
19336             type: RECT;
19337             mouse_events: 0;
19338             description {
19339                state: "default" 0.0;
19340                rel1 {
19341                   relative: 0.0 0.0;
19342                   offset: 0 0;
19343                }
19344                rel2 {
19345                   relative: 1.0 1.0;
19346                   offset: -1 -1;
19347                }
19348             }
19349          }
19350          part { name: "elm.swallow.bar";
19351             type: SWALLOW;
19352             scale: 1;
19353             description { state: "default" 0.0;
19354                min: 28 48;
19355                max: 28 9999;
19356                align: 0.5 1.0;
19357                rel1 {
19358                   to_y: "elm.text";
19359                   relative: 0.0 1.0;
19360                   offset: 0 2;
19361                }
19362                rel2 {
19363                   to_y: "elm.text.box";
19364                   relative: 1.0 0.0;
19365                   offset: -1 -3;
19366                }
19367             }
19368          }
19369          part { name: "elm.swallow.content";
19370             type: SWALLOW;
19371             description { state: "default" 0.0;
19372                visible: 0;
19373                align: 0.5 0.0;
19374                rel1 {
19375                   offset: 0 4;
19376                   to_x: "elm.swallow.bar";
19377                }
19378                rel2 {
19379                   offset: -1 3;
19380                   relative: 1.0 0.0;
19381                   to_x: "elm.swallow.bar";
19382                }
19383             }
19384             description { state: "visible" 0.0;
19385                inherit: "default" 0.0;
19386                visible: 1;
19387                aspect: 1.0 1.0;
19388                aspect_preference: HORIZONTAL;
19389                rel2.offset: -1 4;
19390             }
19391          }
19392          part { name: "elm.text";
19393             type: TEXT;
19394             mouse_events: 0;
19395             scale: 1;
19396             description { state: "default" 0.0;
19397                visible: 0;
19398                fixed: 1 1;
19399                align: 0.5 0.0;
19400                rel1.to_y: "elm.swallow.content";
19401                rel1.relative: 0.5 1.0;
19402                rel1.offset: 0 -1;
19403                rel2.to_y: "elm.swallow.content";
19404                rel2.relative: 0.5 1.0;
19405                rel2.offset: -1 -1;
19406                color: 0 0 0 255;
19407                text {
19408                   font: "Sans,Edje-Vera";
19409                   size: 10;
19410                   min: 0 0;
19411                   align: 0.5 0.0;
19412                }
19413             }
19414             description { state: "visible" 0.0;
19415                inherit: "default" 0.0;
19416                visible: 1;
19417                text.min: 1 1;
19418                rel1.offset: 4 0;
19419                rel2.offset: -5 0;
19420             }
19421          }
19422
19423          part { name: "background";
19424             mouse_events: 0;
19425             clip_to: "elm.background.progressbar";
19426             description {
19427                state: "default" 0.0;
19428                rel1 {
19429                   to: "elm.swallow.bar";
19430                   relative: 0.0 0.0;
19431                }
19432                rel2 {
19433                   to: "elm.swallow.bar";
19434                   relative: 1.0 1.0;
19435                   offset: -1 -1;
19436                }
19437                image {
19438                   normal: "shelf_inset.png";
19439                   border: 7 7 7 7;
19440                }
19441             }
19442          }
19443
19444          part { name: "elm.progress.progressbar";
19445             mouse_events: 0;
19446             clip_to: "elm.background.progressbar";
19447             description {
19448                state: "default" 0.0;
19449                min: 28 14;
19450                fixed: 1 1;
19451                rel1 {
19452                   to: "elm.swallow.bar";
19453                   relative: 0.0 0.0;
19454                }
19455                rel2 {
19456                   to_x: "elm.swallow.bar";
19457                   to_y: "elm.cur.progressbar";
19458                   offset: -1 -1;
19459                }
19460                image {
19461                   normal: "bt_sm_base2.png";
19462                   border: 6 6 6 6;
19463                }
19464             }
19465             description {
19466                state: "invert" 0.0;
19467                inherit: "default" 0.0;
19468                rel1 {
19469                   to_x: "elm.swallow.bar";
19470                   to_y: "elm.cur.progressbar";
19471                }
19472                rel2 {
19473                   to: "elm.swallow.bar";
19474                   relative: 1.0 1.0;
19475                }
19476             }
19477             description {
19478                state: "state_begin" 0.0;
19479                inherit: "default" 0.0;
19480                rel1 {
19481                   to: "elm.swallow.bar";
19482                   relative: 0.0 0.0;
19483                }
19484                rel2 {
19485                   to: "elm.swallow.bar";
19486                   relative: 1.0 0.1;
19487                }
19488             }
19489             description {
19490                state: "state_end" 0.0;
19491                inherit: "default" 0.0;
19492                rel1 {
19493                   to: "elm.swallow.bar";
19494                   relative: 0.0 0.9;
19495                }
19496                rel2 {
19497                   to: "elm.swallow.bar";
19498                   relative: 1.0 1.0;
19499                }
19500             }
19501          }
19502
19503          part { name: "over1";
19504             mouse_events: 0;
19505             description { state: "default" 0.0;
19506                rel1.to: "elm.progress.progressbar";
19507                rel2.to: "elm.progress.progressbar";
19508                rel2.relative: 1.0 0.5;
19509                image {
19510                   normal: "bt_sm_hilight.png";
19511                   border: 6 6 6 0;
19512                }
19513             }
19514          }
19515
19516          part { name: "over2";
19517             mouse_events: 1;
19518             repeat_events: 1;
19519             description { state: "default" 0.0;
19520                rel1.to: "elm.progress.progressbar";
19521                rel2.to: "elm.progress.progressbar";
19522                image {
19523                   normal: "bt_sm_shine.png";
19524                   border: 6 6 6 0;
19525                }
19526             }
19527          }
19528
19529          part { name: "elm.cur.progressbar";
19530             mouse_events: 0;
19531             dragable {
19532                confine: "background";
19533                x: 0 0 0;
19534                y: 1 1 1;
19535             }
19536             description { state: "default" 0.0;
19537                min: 28 14;
19538                fixed: 1 1;
19539                visible: 0;
19540                rel1 {
19541                   to: "background";
19542                   relative: 0 0;
19543                }
19544                rel2.to: "background";
19545            }
19546          }
19547
19548          part { name: "elm.text.box";
19549             mouse_events: 0;
19550             type: RECT;
19551             description { state: "default" 0.0;
19552                visible: 0;
19553                rel1 {
19554                   to: "elm.text.status";
19555                   offset: -2 -2;
19556                }
19557                rel2 {
19558                   to: "elm.text.status";
19559                   offset: 2 2;
19560                }
19561                color: 255 255 255 0;
19562             }
19563             description { state: "visible" 0.0;
19564                inherit: "default" 0.0;
19565                visible: 1;
19566             }
19567          }
19568          part { name: "elm.text.status";
19569             type: TEXT;
19570             mouse_events: 0;
19571             scale: 1;
19572             description { state: "default" 0.0;
19573                visible: 0;
19574                fixed: 1 1;
19575                align: 0.5 1.0;
19576                rel1.relative: 0.0 1.0;
19577                rel1.offset: 2 0;
19578                rel2.relative: 1.0 1.0;
19579                rel2.offset: -2 0;
19580                color: 0 0 0 255;
19581                text {
19582                   font: "Sans:style=Bold,Edje-Vera-Bold";
19583                   size: 10;
19584                   min: 0 0;
19585                   align: 0.5 0.0;
19586                }
19587             }
19588             description { state: "visible" 0.0;
19589                inherit: "default" 0.0;
19590                fixed: 1 1;
19591                visible: 1;
19592                text.min: 1 1;
19593                rel1.offset: 8 -9;
19594                rel2.offset: -9 -9;
19595             }
19596          }
19597       }
19598       programs {
19599          program { name: "label_show";
19600             signal: "elm,state,text,visible";
19601             source: "elm";
19602             action:  STATE_SET "visible" 0.0;
19603             target: "elm.text";
19604          }
19605          program { name: "label_hide";
19606             signal: "elm,state,text,hidden";
19607             source: "elm";
19608             action:  STATE_SET "default" 0.0;
19609             target: "elm.text";
19610          }
19611          program { name: "icon_show";
19612             signal: "elm,state,icon,visible";
19613             source: "elm";
19614             action:  STATE_SET "visible" 0.0;
19615             target: "elm.swallow.content";
19616          }
19617          program { name: "icon_hide";
19618             signal: "elm,state,icon,hidden";
19619             source: "elm";
19620             action:  STATE_SET "default" 0.0;
19621             target: "elm.swallow.content";
19622          }
19623          program { name: "units_show";
19624             signal: "elm,state,units,visible";
19625             source: "elm";
19626             action:  STATE_SET "visible" 0.0;
19627             target: "elm.text.status";
19628             target: "elm.text.box";
19629          }
19630          program { name: "units_hide";
19631             signal: "elm,state,units,hidden";
19632             source: "elm";
19633             action:  STATE_SET "default" 0.0;
19634             target: "elm.text.status";
19635             target: "elm.text.box";
19636          }
19637          program { name: "slide_to_end";
19638             action:  STATE_SET "state_end" 0.0;
19639             transition: LINEAR 0.5;
19640             target: "elm.progress.progressbar";
19641             after: "slide_to_begin";
19642          }
19643          program { name: "slide_to_begin";
19644             action:  STATE_SET "state_begin" 0.0;
19645             target: "elm.progress.progressbar";
19646             transition: LINEAR 0.5;
19647             after: "slide_to_end";
19648          }
19649          program { name: "start_pulse";
19650             signal: "elm,state,pulse,start";
19651             source: "elm";
19652             action: STATE_SET "state_begin" 0.0;
19653             target: "elm.progress.progressbar";
19654             after: "slide_to_end";
19655          }
19656          program { name: "stop_pulse";
19657             signal: "elm,state,pulse,stop";
19658             source: "elm";
19659             action: ACTION_STOP;
19660             target: "slide_to_begin";
19661             target: "slide_to_end";
19662             target: "start_pulse";
19663             after: "state_pulse";
19664          }
19665          program { name: "state_pulse";
19666             signal: "elm,state,pulse";
19667             source: "elm";
19668             action: STATE_SET "state_begin" 0.0;
19669             target: "elm.progress.progressbar";
19670             after: "units_hide";
19671          }
19672          program { name: "state_fraction";
19673             signal: "elm,state,fraction";
19674             source: "elm";
19675             action: ACTION_STOP;
19676             target: "slide_to_begin";
19677             target: "slide_to_end";
19678             target: "start_pulse";
19679             action: STATE_SET "default" 0.0;
19680             target: "elm.progress.progressbar";
19681          }
19682          program { name: "set_invert_on";
19683             signal: "elm,state,inverted,on";
19684             source: "elm";
19685             action:  STATE_SET "invert" 0.0;
19686             target: "elm.progress.progressbar";
19687             target: "elm.cur.progressbar";
19688          }
19689          program { name: "set_invert_off";
19690             signal: "elm,state,inverted,off";
19691             source: "elm";
19692             action:  STATE_SET "default" 0.0;
19693             target: "elm.progress.progressbar";
19694             target: "elm.cur.progressbar";
19695          }
19696       }
19697    }
19698
19699 ///////////////////////////////////////////////////////////////////////////////
19700    group { name: "elm/separator/horizontal/default";
19701        images {
19702            image: "separator_h.png" COMP;
19703        }
19704        parts {
19705            part { name: "separator"; // separator group
19706                description { state: "default" 0.0;
19707                    min: 2 2;
19708                    rel1.offset: 4 4;
19709                    rel2.offset: -5 -5;
19710                    image {
19711                        normal: "separator_h.png";
19712                    }
19713                    fill {
19714                        smooth: 0;
19715                    }
19716                }
19717            }
19718        }
19719    }
19720
19721    ///////////////////////////////////////////////////////////////////////////////
19722    group { name: "elm/separator/vertical/default";
19723        images {
19724            image: "separator_v.png" COMP;
19725        }
19726        parts {
19727            part { name: "separator"; // separator group
19728                description { state: "default" 0.0;
19729                    min: 2 2;
19730                    rel1.offset: 4 4;
19731                    rel2.offset: -5 -5;
19732                    image {
19733                        normal: "separator_v.png";
19734                    }
19735                    fill {
19736                        smooth: 0;
19737                    }
19738                }
19739            }
19740        }
19741    }
19742
19743    group { name: "elm/progressbar/horizontal/wheel";
19744        images {
19745            image: "busy-1.png" COMP;
19746            image: "busy-2.png" COMP;
19747            image: "busy-3.png" COMP;
19748            image: "busy-4.png" COMP;
19749            image: "busy-5.png" COMP;
19750            image: "busy-6.png" COMP;
19751            image: "busy-7.png" COMP;
19752            image: "busy-8.png" COMP;
19753            image: "busy-9.png" COMP;
19754        }
19755        parts {
19756            part { name: "elm.background.progressbar";
19757                mouse_events: 0;
19758                type: RECT;
19759                description {
19760                    state: "default" 0.0;
19761                }
19762            }
19763            part { name: "elm.swallow.bar";
19764                mouse_events: 0;
19765                type: SWALLOW;
19766                description { state: "default" 0.0;
19767                    min: 0 0;
19768                    max: 0 0;
19769                    visible: 0;
19770                }
19771            }
19772            part { name: "elm.swallow.content";
19773                type: SWALLOW;
19774                description { state: "default" 0.0;
19775                    min: 0 0;
19776                    max: 0 0;
19777                    visible: 0;
19778                }
19779            }
19780            part { name: "background";
19781                mouse_events: 0;
19782                clip_to: "elm.background.progressbar";
19783                description {
19784                    state: "default" 0.0;
19785                    min: 32 32;
19786                    max: 32 32;
19787                    visible: 1;
19788                    aspect: 1.0 1.0;
19789                    aspect_preference: BOTH;
19790                    image {
19791                        normal: "busy-9.png";
19792                        border: 7 7 7 7;
19793                    }
19794                }
19795                description {
19796                    state: "pulse" 0.0;
19797                    inherit: "default" 0.0;
19798                    image {
19799                        normal: "busy-9.png";
19800                        tween:  "busy-1.png";
19801                        tween:  "busy-2.png";
19802                        tween:  "busy-3.png";
19803                        tween:  "busy-4.png";
19804                        tween:  "busy-5.png";
19805                        tween:  "busy-6.png";
19806                        tween:  "busy-7.png";
19807                        tween:  "busy-8.png";
19808                        border: 7 7 7 7;
19809                    }
19810                }
19811            }
19812        }
19813        programs {
19814            program { name: "start_pulse";
19815                signal: "elm,state,pulse,start";
19816                source: "elm";
19817                action: STATE_SET "pulse" 0.0;
19818                target: "background";
19819                transition: LINEAR 0.5;
19820                after: "start_pulse";
19821            }
19822            program { name: "stop_pulse";
19823                signal: "elm,state,pulse,stop";
19824                source: "elm";
19825                action: STATE_SET "default" 0.0;
19826                target: "background";
19827            }
19828        }
19829    }
19830
19831
19832 ///////////////////////////////////////////////////////////////////////////////
19833    group { name: "elm/spinner/base/default";
19834        images {
19835            image: "shelf_inset.png" COMP;
19836            image: "bt_base1.png" COMP;
19837            image: "bt_hilight.png" COMP;
19838            image: "bt_shine.png" COMP;
19839            image: "bt_glow.png" COMP;
19840            image: "bt_dis_base.png" COMP;
19841            image: "bt_dis_hilight.png" COMP;
19842            image: "sp_bt_l.png" COMP;
19843            image: "sp_bt_r.png" COMP;
19844        }
19845        parts {
19846            part { name: "bg";
19847                type: RECT;
19848                description { state: "default" 0.0;
19849                    max: 99999 30;
19850                    min: 0 30;
19851                    rel1.offset: 1 1;
19852                    rel2.offset: -2 -2;
19853                    color: 255 255 255 0;
19854                }
19855            }
19856            part { name: "conf_over";
19857                mouse_events:  0;
19858                description { state: "default" 0.0;
19859                    rel1.to: "bg";
19860                    rel2.to: "bg";
19861                    image {
19862                        normal: "shelf_inset.png";
19863                        border: 7 7 7 7;
19864                        middle: 0;
19865                    }
19866                    fill.smooth : 0;
19867                }
19868            }
19869            part { name: "left_bt";
19870                mouse_events:  1;
19871                description { state: "default" 0.0;
19872                    rel1 { to: "bg";
19873                        offset: 2 2;
19874                    }
19875                    rel2 { to: "bg";
19876                        offset: -3 -3;
19877                    }
19878                    align: 0.0 0.5;
19879                    min: 24 24;
19880                    max: 24 24;
19881                    image {
19882                        normal: "bt_base1.png";
19883                        border: 6 6 6 6;
19884                    }
19885                    fill.smooth : 0;
19886                }
19887                description { state: "clicked" 0.0;
19888                    inherit: "default" 0.0;
19889                    image.normal: "bt_base1.png";
19890                    image.middle: SOLID;
19891                }
19892                description { state: "disabled" 0.0;
19893                    inherit:  "default" 0.0;
19894                    image {
19895                        normal: "bt_dis_base.png";
19896                        border: 4 4 4 4;
19897                    }
19898                }
19899            }
19900            part {         name: "left_over1";
19901                mouse_events: 0;
19902                description { state: "default" 0.0;
19903                    rel1.to: "left_bt";
19904                    rel2 { to: "left_bt";
19905                        relative: 1.0 0.5;
19906                    }
19907                    image {
19908                        normal: "bt_hilight.png";
19909                        border: 7 7 7 0;
19910                    }
19911                }
19912                description { state: "disabled" 0.0;
19913                    inherit:  "default" 0.0;
19914                    image {
19915                        normal: "bt_dis_hilight.png";
19916                        border: 4 4 4 0;
19917                    }
19918                }
19919            }
19920            part { name: "left_over2";
19921                mouse_events: 1;
19922                repeat_events: 1;
19923                ignore_flags: ON_HOLD;
19924                description { state: "default" 0.0;
19925                    rel1.to: "left_bt";
19926                    rel2.to: "left_bt";
19927                    image {
19928                        normal: "bt_shine.png";
19929                        border: 7 7 7 7;
19930                    }
19931                }
19932                description { state: "disabled" 0.0;
19933                    inherit:  "default" 0.0;
19934                    visible: 0;
19935                }
19936            }
19937            part { name: "left_over3";
19938                mouse_events: 1;
19939                repeat_events: 1;
19940                description { state: "default" 0.0;
19941                    color: 255 255 255 0;
19942                    rel1.to: "left_bt";
19943                    rel2.to: "left_bt";
19944                    image {
19945                        normal: "bt_glow.png";
19946                        border: 12 12 12 12;
19947                    }
19948                    fill.smooth : 0;
19949                }
19950                description { state: "clicked" 0.0;
19951                    inherit:  "default" 0.0;
19952                    visible: 1;
19953                    color: 255 255 255 255;
19954                }
19955            }
19956            part { name: "right_bt";
19957                mouse_events:  1;
19958                description { state: "default" 0.0;
19959                    rel1 { to: "bg";
19960                        offset: -27 3;
19961                    }
19962                    rel2 { to: "bg";
19963                        offset: -3 -3;
19964                    }
19965                    align: 1.0 0.5;
19966                    min: 24 24;
19967                    max: 24 24;
19968                    image {
19969                        normal: "bt_base1.png";
19970                        border: 5 5 4 12;
19971                    }
19972                    fill.smooth : 0;
19973                }
19974                description { state: "clicked" 0.0;
19975                    inherit: "default" 0.0;
19976                    image.normal: "bt_base1.png";
19977                    image.middle: SOLID;
19978                }
19979                description { state: "disabled" 0.0;
19980                    inherit:  "default" 0.0;
19981                    image {
19982                        normal: "bt_dis_base.png";
19983                        border: 4 4 4 4;
19984                    }
19985                }
19986            }
19987            part { name: "right_over1";
19988                mouse_events: 0;
19989                description { state: "default" 0.0;
19990                    rel1.to: "right_bt";
19991                    rel2 { to: "right_bt";
19992                        relative: 1.0 0.5;
19993                    }
19994                    image {
19995                        normal: "bt_hilight.png";
19996                        border: 7 7 7 0;
19997                    }
19998                }
19999                description { state: "disabled" 0.0;
20000                    inherit:  "default" 0.0;
20001                    image {
20002                        normal: "bt_dis_hilight.png";
20003                        border: 4 4 4 0;
20004                    }
20005                }
20006            }
20007            part { name: "right_over2";
20008                mouse_events: 1;
20009                repeat_events: 1;
20010                ignore_flags: ON_HOLD;
20011                description { state: "default" 0.0;
20012                    rel1.to: "right_bt";
20013                    rel2.to: "right_bt";
20014                    image {
20015                        normal: "bt_shine.png";
20016                        border: 7 7 7 7;
20017                    }
20018                }
20019                description { state: "disabled" 0.0;
20020                    inherit:  "default" 0.0;
20021                    visible: 0;
20022                }
20023            }
20024            part { name: "right_over3";
20025                mouse_events: 1;
20026                repeat_events: 1;
20027                description { state: "default" 0.0;
20028                    color: 255 255 255 0;
20029                    rel1.to: "right_bt";
20030                    rel2.to: "right_bt";
20031                    image {
20032                        normal: "bt_glow.png";
20033                        border: 12 12 12 12;
20034                    }
20035                    fill.smooth : 0;
20036                }
20037                description { state: "clicked" 0.0;
20038                    inherit:  "default" 0.0;
20039                    visible: 1;
20040                    color: 255 255 255 255;
20041                }
20042            }
20043            part { name: "left_bt_icon";
20044                repeat_events: 1;
20045                description { state: "default" 0.0;
20046                    rel1.to: "left_bt";
20047                    rel2.to: "left_bt";
20048                    align: 0.5 0.5;
20049                    min: 16 16;
20050                    max: 16 16;
20051                    image.normal: "sp_bt_l.png";
20052                }
20053            }
20054            part { name: "right_bt_icon";
20055                repeat_events: 1;
20056                description { state: "default" 0.0;
20057                    rel1.to: "right_bt";
20058                    rel2.to: "right_bt";
20059                    align: 0.5 0.5;
20060                    min: 16 16;
20061                    max: 16 16;
20062                    image.normal: "sp_bt_r.png";
20063                }
20064            }
20065            part { name: "elm.text";
20066                type: TEXT;
20067                mouse_events: 0;
20068                scale: 1;
20069                description { state: "default" 0.0;
20070                    visible: 1;
20071                    align: 0.0 0.5;
20072                    rel1 { relative: 1.0 0.0;
20073                        offset: 3 2;
20074                        to_x: "left_bt";
20075                        to_y: "bg";
20076                    }
20077                    rel2 { relative: 0.0 1.0;
20078                        offset: -3 -2;
20079                        to_x: "right_bt";
20080                        to_y: "bg";
20081                    }
20082                    color: 0 0 0 255;
20083                    text {
20084                        font: "Sans,Edje-Vera";
20085                        size: 10;
20086                        min: 1 1;
20087                        align: 0.5 0.5;
20088                    }
20089                }
20090                description { state: "active" 0.0;
20091                    inherit: "default" 0.0;
20092                    visible: 0;
20093                }
20094                description { state: "disabled_active" 0.0;
20095                    inherit: "default" 0.0;
20096                    color: 0 0 0 128;
20097                    color3: 0 0 0 0;
20098                }
20099                description { state: "disabled" 0.0;
20100                    inherit: "default" 0.0;
20101                    color: 0 0 0 128;
20102                    color3: 0 0 0 0;
20103                }
20104            }
20105            part { name: "elm.dragable.slider";
20106                type: RECT;
20107                mouse_events: 0;
20108                scale: 1;
20109                dragable {
20110                    x: 1 1 0;
20111                    y: 0 0 0;
20112                }
20113                description { state: "default" 0.0;
20114                    rel1.to: "bg";
20115                    rel2.to: "bg";
20116                    fixed: 1 1;
20117                    color: 0 0 0 0;
20118                }
20119            }
20120            part { name: "button_events";
20121                type: RECT;
20122                dragable {
20123                    events: "elm.dragable.slider";
20124                }
20125                mouse_events: 1;
20126                description { state: "default" 0.0;
20127                    rel1.to: "elm.text";
20128                    rel2.to: "elm.text";
20129                    color: 0 0 0 0;
20130                }
20131            }
20132            part { name: "elm.swallow.entry";
20133                type: SWALLOW;
20134                description { state: "default" 0.0;
20135                    visible: 0;
20136                    align: 0.5 0.5;
20137                    rel1 { relative: 1.0 0.5;
20138                        offset: 3 2;
20139                        to_x: "left_bt";
20140                        to_y: "bg";
20141                    }
20142                    rel2 { relative: 0.0 0.5;
20143                        offset: -3 -2;
20144                        to_x: "right_bt";
20145                        to_y: "bg";
20146                    }
20147                    fixed: 1 1;
20148                    color: 0 0 0 0;
20149                }
20150                description { state: "active" 0.0;
20151                    inherit: "default" 0.0;
20152                    visible: 1;
20153                    color: 255 255 255 255;
20154                }
20155                description { state: "disabled_active" 0.0;
20156                    inherit: "default" 0.0;
20157                    visible: 0;
20158                }
20159                description { state: "disabled" 0.0;
20160                    inherit: "default" 0.0;
20161                    visible: 0;
20162                }
20163            }
20164            part { name: "disabler";
20165                type: RECT;
20166                description { state: "default" 0.0;
20167                    color: 0 0 0 0;
20168                    visible: 0;
20169                }
20170                description { state: "disabled" 0.0;
20171                    inherit: "default" 0.0;
20172                    visible: 1;
20173                }
20174            }
20175        }
20176        programs {
20177            program { name: "text_show";
20178                signal: "elm,state,text,visible";
20179                source: "elm";
20180                action:  STATE_SET "visible" 0.0;
20181                target: "elm.text";
20182            }
20183            program { name: "text_hide";
20184                signal: "elm,state,text,hidden";
20185                source: "elm";
20186                action:  STATE_SET "default" 0.0;
20187                target: "elm.text";
20188            }
20189            program { name: "dec";
20190                signal: "mouse,down,1";
20191                source: "left_bt";
20192                action: SIGNAL_EMIT "elm,action,decrement,start" "";
20193            }
20194            program { name: "dec2";
20195                signal: "mouse,up,1";
20196                source: "left_bt";
20197                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
20198            }
20199            program { name: "inc";
20200                signal: "mouse,down,1";
20201                source: "right_bt";
20202                action: SIGNAL_EMIT "elm,action,increment,start" "";
20203            }
20204            program { name: "inc2";
20205                signal: "mouse,up,1";
20206                source: "right_bt";
20207                action: SIGNAL_EMIT "elm,action,increment,stop" "";
20208            }
20209            program {
20210                name:   "left_bt_click";
20211                signal: "mouse,down,1";
20212                source: "left_over2";
20213                action: STATE_SET "clicked" 0.0;
20214                target: "left_bt";
20215            }
20216            program {
20217                name:   "left_bt_unclick";
20218                signal: "mouse,up,1";
20219                source: "left_over2";
20220                action: STATE_SET "default" 0.0;
20221                target: "left_bt";
20222            }
20223            program {
20224                name:   "left_bt_click2";
20225                signal: "mouse,down,1";
20226                source: "left_over3";
20227                action: STATE_SET "clicked" 0.0;
20228                target: "left_over3";
20229            }
20230            program {
20231                name:   "left_bt_unclick2";
20232                signal: "mouse,up,1";
20233                source: "left_over3";
20234                action: STATE_SET "default" 0.0;
20235                transition: DECELERATE 0.5;
20236                target: "left_over3";
20237            }
20238            program {
20239                name:   "left_bt_unclick3";
20240                signal: "mouse,up,1";
20241                source: "left_over2";
20242                action: SIGNAL_EMIT "elm,action,click" "";
20243            }
20244
20245            program {
20246                name:   "right_bt_click";
20247                signal: "mouse,down,1";
20248                source: "right_over2";
20249                action: STATE_SET "clicked" 0.0;
20250                target: "right_bt";
20251            }
20252            program {
20253                name:   "right_bt_unclick";
20254                signal: "mouse,up,1";
20255                source: "right_over2";
20256                action: STATE_SET "default" 0.0;
20257                target: "right_bt";
20258            }
20259            program {
20260                name:   "right_bt_click2";
20261                signal: "mouse,down,1";
20262                source: "right_over3";
20263                action: STATE_SET "clicked" 0.0;
20264                target: "right_over3";
20265            }
20266            program {
20267                name:   "right_bt_unclick2";
20268                signal: "mouse,up,1";
20269                source: "right_over3";
20270                action: STATE_SET "default" 0.0;
20271                transition: DECELERATE 0.5;
20272                target: "right_over3";
20273            }
20274            program {
20275                name:   "right_bt_unclick3";
20276                signal: "mouse,up,1";
20277                source: "right_over2";
20278                action: SIGNAL_EMIT "elm,action,click" "";
20279            }
20280            program { name: "disable";
20281                signal: "elm,state,disabled";
20282                source: "elm";
20283                action: STATE_SET "disabled" 0.0;
20284                target: "left_bt";
20285                target: "left_over1";
20286                target: "left_over2";
20287                target: "right_bt";
20288                target: "right_over1";
20289                target: "right_over2";
20290                target: "disabler";
20291                after: "disable_text";
20292            }
20293            program { name: "disable_text";
20294                script {
20295                    new st[31];
20296                    new Float:vl;
20297                    get_state(PART:"elm.text", st, 30, vl);
20298                    if (!strcmp(st, "active"))
20299                    set_state(PART:"elm.text", "disabled_active", 0.0);
20300                    else
20301                    set_state(PART:"elm.text", "disabled", 0.0);
20302
20303                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20304                    if (!strcmp(st, "active"))
20305                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
20306                    else
20307                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
20308                }
20309            }
20310            program { name: "enable";
20311                signal: "elm,state,enabled";
20312                source: "elm";
20313                action: STATE_SET "default" 0.0;
20314                target: "left_bt";
20315                target: "left_over1";
20316                target: "left_over2";
20317                target: "right_bt";
20318                target: "right_over1";
20319                target: "right_over2";
20320                target: "disabler";
20321                after: "enable_text";
20322            }
20323            program { name: "enable_text";
20324                script {
20325                    new st[31];
20326                    new Float:vl;
20327                    get_state(PART:"elm.text", st, 30, vl);
20328                    if (!strcmp(st, "disabled_active"))
20329                    set_state(PART:"elm.text", "active", 0.0);
20330                    else
20331                    set_state(PART:"elm.text", "default", 0.0);
20332
20333                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20334                    if (!strcmp(st, "disabled_active"))
20335                    set_state(PART:"elm.swallow.entry", "active", 0.0);
20336                    else
20337                    set_state(PART:"elm.swallow.entry", "default", 0.0);
20338                }
20339            }
20340            program { name: "active";
20341                signal: "elm,state,active";
20342                source: "elm";
20343                action: STATE_SET "active" 0.0;
20344                target: "elm.text";
20345                target: "elm.swallow.entry";
20346            }
20347            program { name: "inactive";
20348                signal: "elm,state,inactive";
20349                source: "elm";
20350                action: STATE_SET "default" 0.0;
20351                target: "elm.text";
20352                target: "elm.swallow.entry";
20353            }
20354            program { name: "toggle_text";
20355                signal: "mouse,up,1";
20356                source: "button_events";
20357                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
20358            }
20359        }
20360    }
20361
20362 ///////////////////////////////////////////////////////////////////////////////
20363    group { name: "elm/spinner/base/vertical";
20364        images {
20365            image: "shelf_inset.png" COMP;
20366            image: "bt_hilight.png" COMP;
20367            image: "bt_shine.png" COMP;
20368            image: "bt_glow.png" COMP;
20369            image: "bt_dis_base.png" COMP;
20370            image: "bt_dis_hilight.png" COMP;
20371            image: "up.png" COMP;
20372            image: "down.png" COMP;
20373            image: "bt_spinner_up.png" COMP;
20374            image: "bt_spinner_down.png" COMP;
20375            image: "bt_spinner_hilight.png" COMP;
20376        }
20377        parts {
20378            part { name: "bg";
20379                type: RECT;
20380                description { state: "default" 0.0;
20381                    max: 99999 30;
20382                    min: 0 30;
20383                    rel1.offset: 1 1;
20384                    rel2.offset: -2 -2;
20385                    color: 255 255 255 0;
20386                }
20387            }
20388            part { name: "conf_over";
20389                mouse_events:  0;
20390                description { state: "default" 0.0;
20391                    rel1 {
20392                      to: "bg";
20393                      relative: 0.0 0.0;
20394                    }
20395                    rel2 {
20396                       to_x: "down_bt";
20397                       offset: -22 -1;
20398                    }
20399                    rel2 {
20400                       to_y: "bg";
20401                    }
20402                    image {
20403                        normal: "shelf_inset.png";
20404                        border: 7 7 7 7;
20405                        middle: 0;
20406                    }
20407                    fill.smooth : 0;
20408                }
20409            }
20410            part { name: "down_bt";
20411                mouse_events:  1;
20412                description { state: "default" 0.0;
20413                    rel1 {
20414                        to_x: "bg";
20415                        to_y: "up_bt";
20416                        relative: 1 1;
20417                        offset: 0 1;
20418                    }
20419                    rel2 { to: "bg";
20420                        relative: 1 1;
20421                        offset: -1 -1;
20422                    }
20423                    align: 1.0 0.5;
20424                    min: 24 16;
20425                    max: 24 16;
20426                    image {
20427                        normal: "bt_spinner_down.png";
20428                        border: 6 6 6 6;
20429                    }
20430                    fill.smooth : 0;
20431                }
20432                description { state: "clicked" 0.0;
20433                    inherit: "default" 0.0;
20434                    image.normal: "bt_spinner_down.png";
20435                    image.middle: SOLID;
20436                }
20437                description { state: "disabled" 0.0;
20438                    inherit:  "default" 0.0;
20439                    image {
20440                        normal: "bt_dis_base.png";
20441                        border: 4 4 4 4;
20442                    }
20443                }
20444            }
20445            part { name: "down_over3";
20446                mouse_events: 1;
20447                repeat_events: 1;
20448                description { state: "default" 0.0;
20449                    color: 255 255 255 0;
20450                    rel1.to: "down_bt";
20451                    rel2.to: "down_bt";
20452                    image {
20453                        normal: "bt_glow.png";
20454                        border: 12 12 12 12;
20455                    }
20456                    fill.smooth : 0;
20457                }
20458                description { state: "clicked" 0.0;
20459                    inherit:  "default" 0.0;
20460                    visible: 1;
20461                    color: 255 255 255 255;
20462                }
20463            }
20464            part { name: "up_bt";
20465                mouse_events:  1;
20466                description { state: "default" 0.0;
20467                    rel1 { to: "bg";
20468                        relative: 0 0;
20469                        offset: 0 0;
20470                    }
20471                    rel2 { to: "bg";
20472                        relative: 1 0.5;
20473                        offset: -1 -1;
20474                    }
20475                    align: 1.0 0.5;
20476                    min: 24 16;
20477                    max: 24 16;
20478                    image {
20479                        normal: "bt_spinner_up.png";
20480                        border: 6 6 6 6;
20481                    }
20482                    fill.smooth : 0;
20483                }
20484                description { state: "clicked" 0.0;
20485                    inherit: "default" 0.0;
20486                    image.normal: "bt_spinner_up.png";
20487                    image.middle: SOLID;
20488                }
20489                description { state: "disabled" 0.0;
20490                    inherit:  "default" 0.0;
20491                    image {
20492                        normal: "bt_dis_base.png";
20493                        border: 4 4 4 4;
20494                    }
20495                }
20496            }
20497            part { name: "up_over1";
20498                mouse_events: 0;
20499                description { state: "default" 0.0;
20500                    rel1.to: "up_bt";
20501                    rel2 { to: "up_bt";
20502                        relative: 1.0 0.5;
20503                    }
20504                    image {
20505                        normal: "bt_spinner_hilight.png";
20506                        border: 7 7 7 0;
20507                    }
20508                }
20509                description { state: "disabled" 0.0;
20510                    inherit:  "default" 0.0;
20511                    image {
20512                        normal: "bt_dis_hilight.png";
20513                        border: 4 4 4 0;
20514                    }
20515                }
20516            }
20517            part { name: "up_over3";
20518                mouse_events: 1;
20519                repeat_events: 1;
20520                description { state: "default" 0.0;
20521                    color: 255 255 255 0;
20522                    rel1.to: "up_bt";
20523                    rel2.to: "up_bt";
20524                    image {
20525                        normal: "bt_glow.png";
20526                        border: 12 12 12 12;
20527                    }
20528                    fill.smooth : 0;
20529                }
20530                description { state: "clicked" 0.0;
20531                    inherit:  "default" 0.0;
20532                    visible: 1;
20533                    color: 255 255 255 255;
20534                }
20535            }
20536            part { name: "down_bt_icon";
20537                repeat_events: 1;
20538                description { state: "default" 0.0;
20539                    rel1.to: "down_bt";
20540                    rel2.to: "down_bt";
20541                    align: 0.5 0.5;
20542                    min: 14 12;
20543                    max: 14 12;
20544                    image.normal: "down.png";
20545                }
20546            }
20547            part { name: "up_bt_icon";
20548                repeat_events: 1;
20549                description { state: "default" 0.0;
20550                    rel1.to: "up_bt";
20551                    rel2.to: "up_bt";
20552                    align: 0.5 0.5;
20553                    min: 14 12;
20554                    max: 14 12;
20555                    image.normal: "up.png";
20556                }
20557            }
20558            part { name: "elm.text";
20559                type: TEXT;
20560                mouse_events: 0;
20561                scale: 1;
20562                description { state: "default" 0.0;
20563                    visible: 1;
20564                    align: 0.0 0.5;
20565                    rel1 { relative: 0.0 0.0;
20566                        offset: 3 2;
20567                        to_x: "bg";
20568                        to_y: "bg";
20569                    }
20570                    rel2 { relative: 0.0 1.0;
20571                        offset: -3 -2;
20572                        to_x: "bg";
20573                        to_y: "bg";
20574                    }
20575                    color: 0 0 0 255;
20576                    text {
20577                        font: "Sans,Edje-Vera";
20578                        size: 10;
20579                        min: 1 1;
20580                        align: 0.5 0.5;
20581                    }
20582                }
20583                description { state: "active" 0.0;
20584                    inherit: "default" 0.0;
20585                    visible: 0;
20586                }
20587                description { state: "disabled_active" 0.0;
20588                    inherit: "default" 0.0;
20589                    color: 0 0 0 128;
20590                    color3: 0 0 0 0;
20591                }
20592                description { state: "disabled" 0.0;
20593                    inherit: "default" 0.0;
20594                    color: 0 0 0 128;
20595                    color3: 0 0 0 0;
20596                }
20597            }
20598            part { name: "elm.dragable.slider";
20599                type: RECT;
20600                mouse_events: 0;
20601                scale: 1;
20602                dragable {
20603                    x: 1 1 0;
20604                    y: 0 0 0;
20605                }
20606                description { state: "default" 0.0;
20607                    rel1.to: "bg";
20608                    rel2.to: "bg";
20609                    fixed: 1 1;
20610                    color: 0 0 0 0;
20611                }
20612            }
20613            part { name: "button_events";
20614                type: RECT;
20615                dragable {
20616                    events: "elm.dragable.slider";
20617                }
20618                mouse_events: 1;
20619                description { state: "default" 0.0;
20620                    rel1.to: "elm.text";
20621                    rel2.to: "elm.text";
20622                    color: 0 0 0 0;
20623                }
20624            }
20625            part { name: "elm.swallow.entry";
20626                type: SWALLOW;
20627                description { state: "default" 0.0;
20628                    visible: 0;
20629                    align: 0.5 0.5;
20630                    rel1 { relative: 0.0 0.5;
20631                        offset: 3 2;
20632                        to: "bg";
20633                    }
20634                    rel2 { relative: 1.0 0.5;
20635                        offset: -3 -2;
20636                        to: "bg";
20637                    }
20638                    fixed: 1 1;
20639                    color: 0 0 0 0;
20640                }
20641                description { state: "active" 0.0;
20642                    inherit: "default" 0.0;
20643                    visible: 1;
20644                    color: 255 255 255 255;
20645                }
20646                description { state: "disabled_active" 0.0;
20647                    inherit: "default" 0.0;
20648                    visible: 0;
20649                }
20650                description { state: "disabled" 0.0;
20651                    inherit: "default" 0.0;
20652                    visible: 0;
20653                }
20654            }
20655            part { name: "disabler";
20656                type: RECT;
20657                description { state: "default" 0.0;
20658                    color: 0 0 0 0;
20659                    visible: 0;
20660                }
20661                description { state: "disabled" 0.0;
20662                    inherit: "default" 0.0;
20663                    visible: 1;
20664                }
20665            }
20666        }
20667        programs {
20668            program { name: "text_show";
20669                signal: "elm,state,text,visible";
20670                source: "elm";
20671                action:  STATE_SET "visible" 0.0;
20672                target: "elm.text";
20673            }
20674            program { name: "text_hide";
20675                signal: "elm,state,text,hidden";
20676                source: "elm";
20677                action:  STATE_SET "default" 0.0;
20678                target: "elm.text";
20679            }
20680            program { name: "dec";
20681                signal: "mouse,down,1";
20682                source: "down_bt";
20683                action: SIGNAL_EMIT "elm,action,decrement,start" "";
20684            }
20685            program { name: "dec2";
20686                signal: "mouse,up,1";
20687                source: "down_bt";
20688                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
20689            }
20690            program { name: "inc";
20691                signal: "mouse,down,1";
20692                source: "up_bt";
20693                action: SIGNAL_EMIT "elm,action,increment,start" "";
20694            }
20695            program { name: "inc2";
20696                signal: "mouse,up,1";
20697                source: "up_bt";
20698                action: SIGNAL_EMIT "elm,action,increment,stop" "";
20699            }
20700            program {
20701                name:   "down_bt_click2";
20702                signal: "mouse,down,1";
20703                source: "down_over3";
20704                action: STATE_SET "clicked" 0.0;
20705                target: "down_over3";
20706            }
20707            program {
20708                name:   "down_bt_unclick2";
20709                signal: "mouse,up,1";
20710                source: "down_over3";
20711                action: STATE_SET "default" 0.0;
20712                transition: DECELERATE 0.5;
20713                target: "down_over3";
20714            }
20715            program {
20716                name:   "up_bt_click2";
20717                signal: "mouse,down,1";
20718                source: "up_over3";
20719                action: STATE_SET "clicked" 0.0;
20720                target: "up_over3";
20721            }
20722            program {
20723                name:   "up_bt_unclick2";
20724                signal: "mouse,up,1";
20725                source: "up_over3";
20726                action: STATE_SET "default" 0.0;
20727                transition: DECELERATE 0.5;
20728                target: "up_over3";
20729            }
20730            program { name: "disable";
20731                signal: "elm,state,disabled";
20732                source: "elm";
20733                action: STATE_SET "disabled" 0.0;
20734                target: "down_bt";
20735                target: "up_bt";
20736                target: "disabler";
20737                after: "disable_text";
20738            }
20739            program { name: "disable_text";
20740                script {
20741                    new st[31];
20742                    new Float:vl;
20743                    get_state(PART:"elm.text", st, 30, vl);
20744                    if (!strcmp(st, "active"))
20745                    set_state(PART:"elm.text", "disabled_active", 0.0);
20746                    else
20747                    set_state(PART:"elm.text", "disabled", 0.0);
20748
20749                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20750                    if (!strcmp(st, "active"))
20751                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
20752                    else
20753                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
20754                }
20755            }
20756            program { name: "enable";
20757                signal: "elm,state,enabled";
20758                source: "elm";
20759                action: STATE_SET "default" 0.0;
20760                target: "down_bt";
20761                target: "up_bt";
20762                target: "disabler";
20763                after: "enable_text";
20764            }
20765            program { name: "enable_text";
20766                script {
20767                    new st[31];
20768                    new Float:vl;
20769                    get_state(PART:"elm.text", st, 30, vl);
20770                    if (!strcmp(st, "disabled_active"))
20771                    set_state(PART:"elm.text", "active", 0.0);
20772                    else
20773                    set_state(PART:"elm.text", "default", 0.0);
20774
20775                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20776                    if (!strcmp(st, "disabled_active"))
20777                    set_state(PART:"elm.swallow.entry", "active", 0.0);
20778                    else
20779                    set_state(PART:"elm.swallow.entry", "default", 0.0);
20780                }
20781            }
20782            program { name: "active";
20783                signal: "elm,state,active";
20784                source: "elm";
20785                action: STATE_SET "active" 0.0;
20786                target: "elm.text";
20787                target: "elm.swallow.entry";
20788            }
20789            program { name: "inactive";
20790                signal: "elm,state,inactive";
20791                source: "elm";
20792                action: STATE_SET "default" 0.0;
20793                target: "elm.text";
20794                target: "elm.swallow.entry";
20795            }
20796            program { name: "toggle_text";
20797                signal: "mouse,up,1";
20798                source: "button_events";
20799                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
20800            }
20801        }
20802    }
20803
20804
20805    ///////////////////////////////////////////////////////////////////////////////
20806    group { name: "elm/index/base/vertical/default";
20807        images {
20808            image: "bt_base1.png" COMP;
20809            image: "bt_base2.png" COMP;
20810            image: "bt_hilight.png" COMP;
20811            image: "bt_shine.png" COMP;
20812        }
20813        parts {
20814            part { name: "clip";
20815                type: RECT;
20816                mouse_events:  0;
20817                description { state: "default" 0.0;
20818                    visible:  0;
20819                    color: 255 255 255 0;
20820                }
20821                description { state: "active" 0.0;
20822                    visible:  1;
20823                    color: 255 255 255 255;
20824                }
20825            }
20826            part { name: "clip2";
20827                type: RECT;
20828                mouse_events:  0;
20829                clip_to: "clip";
20830                description { state: "default" 0.0;
20831                    visible: 0;
20832                    color: 255 255 255 0;
20833                }
20834                description { state: "active" 0.0;
20835                    visible:  1;
20836                    color: 255 255 255 255;
20837                }
20838            }
20839            part { name: "elm.swallow.index.0";
20840                type: SWALLOW;
20841                clip_to: "clip";
20842                description { state: "default" 0.0;
20843                    align: 1.0 0.5;
20844                    rel1 {
20845                        relative: 1.0 0.5;
20846                        offset: -1 5;
20847                    }
20848                    rel2 {
20849                        relative: 1.0 0.5;
20850                        offset: -1 -6;
20851                    }
20852                }
20853            }
20854            part { name: "button_image";
20855                mouse_events: 1;
20856                clip_to: "clip";
20857                description { state: "default" 0.0;
20858                    rel1 {
20859                        to: "elm.text.body";
20860                        offset: -5 -5;
20861                    }
20862                    rel2 {
20863                        to: "elm.text";
20864                        offset: 4 4;
20865                    }
20866                    image {
20867                        normal: "bt_base2.png";
20868                        border: 7 7 7 7;
20869                    }
20870                    image.middle: SOLID;
20871                }
20872            }
20873            part { name: "elm.text.body";
20874                type: TEXT;
20875                effect: SOFT_SHADOW;
20876                mouse_events: 0;
20877                scale: 1;
20878                clip_to: "clip";
20879                description { state: "default" 0.0;
20880                    align: 1.0 0.5;
20881                    rel1 {
20882                        to: "elm.text";
20883                        relative: 0.0 0.0;
20884                        offset: 5 0;
20885                    }
20886                    rel2 {
20887                        to: "elm.text";
20888                        relative: 0.0 1.0;
20889                        offset: 5 -1;
20890                    }
20891                    color: 224 224 224 255;
20892                    color3: 0 0 0 64;
20893                    text {
20894                        font:     "Sans,Edje-Vera";
20895                        size:     20;
20896                        min:      1 1;
20897                        align:    1.0 0.5;
20898                    }
20899                }
20900            }
20901            part { name: "elm.text";
20902                type: TEXT;
20903                effect: SOFT_SHADOW;
20904                mouse_events: 0;
20905                scale: 1;
20906                clip_to: "clip";
20907                description { state: "default" 0.0;
20908                    align: 1.0 0.5;
20909                    rel1 {
20910                        to_x: "elm.swallow.event.0";
20911                        to_y: "elm.dragable.pointer";
20912                        relative: 0.0 0.5;
20913                        offset: -16 0;
20914                    }
20915                    rel2 {
20916                        to_x: "elm.swallow.event.0";
20917                        to_y: "elm.dragable.pointer";
20918                        relative: 0.0 0.5;
20919                        offset: -16 -1;
20920                    }
20921                    color: 255 0 0 255;
20922                    color3: 0 0 0 64;
20923                    text {
20924                        font:     "Sans,Edje-Vera";
20925                        size:     20;
20926                        min:      1 1;
20927                        align:    1.0 0.5;
20928                    }
20929                }
20930            }
20931            part {       name: "over1";
20932                mouse_events: 0;
20933                clip_to: "clip";
20934                description { state: "default" 0.0;
20935                    rel1 {
20936                        to: "button_image";
20937                    }
20938                    rel2 {
20939                        to: "button_image";
20940                        relative: 1.0 0.5;
20941                    }
20942                    image {
20943                        normal: "bt_hilight.png";
20944                        border: 7 7 7 0;
20945                    }
20946                }
20947            }
20948            part { name: "over2";
20949                mouse_events: 1;
20950                repeat_events: 1;
20951                ignore_flags: ON_HOLD;
20952                clip_to: "clip";
20953                description { state: "default" 0.0;
20954                    rel1 {
20955                        to: "button_image";
20956                    }
20957                    rel2 {
20958                        to: "button_image";
20959                    }
20960                    image {
20961                        normal: "bt_shine.png";
20962                        border: 7 7 7 7;
20963                    }
20964                }
20965            }
20966            part { name: "elm.dragable.pointer";
20967                type: RECT;
20968                mouse_events: 0;
20969                dragable {
20970                    x: 1 1 0;
20971                    y: 1 1 0;
20972                }
20973                clip_to: "clip";
20974                description { state: "default" 0.0;
20975                    fixed: 1 1;
20976                    min: 8 8;
20977                    max: 8 8;
20978                    rel1 {
20979                        relative: 0.0 0.0;
20980                        offset:   0 0;
20981                    }
20982                    rel2 {
20983                        relative: 0.0 0.0;
20984                        offset:   0 0;
20985                    }
20986                    color: 0 0 255 128;
20987                }
20988            }
20989            part { name: "elm.swallow.event.0";
20990                type: SWALLOW;
20991                description { state: "default" 0.0;
20992                    align: 1.0 0.5;
20993                    rel1 {
20994                        relative: 1.0 0.0;
20995                        offset: -1 0;
20996                    }
20997                    rel2 {
20998                        relative: 1.0 1.0;
20999                        offset: -1 -1;
21000                    }
21001                }
21002            }
21003        }
21004        programs {
21005            program { name: "active";
21006                signal: "elm,state,active";
21007                source: "elm";
21008                action: STATE_SET "active" 0.0;
21009                transition: DECELERATE 0.5;
21010                target: "clip";
21011            }
21012            program { name: "inactive";
21013                signal: "elm,state,inactive";
21014                source: "elm";
21015                action: STATE_SET "default" 0.0;
21016                transition: DECELERATE 0.5;
21017                target: "clip";
21018            }
21019        }
21020    }
21021
21022    group { name: "elm/index/item/vertical/default";
21023        data.item: "stacking" "above";
21024        data.item: "selectraise" "on";
21025        images {
21026            image: "ilist_1.png" COMP;
21027            image: "ilist_item_shadow.png" COMP;
21028        }
21029        parts {
21030            part {
21031                name: "base_sh";
21032                mouse_events: 0;
21033                description {
21034                    state: "default" 0.0;
21035                    align: 0.0 0.0;
21036                    min: 0 10;
21037                    fixed: 1 1;
21038                    rel1 {
21039                        to: "base";
21040                        relative: 0.0 1.0;
21041                        offset: 0 0;
21042                    }
21043                    rel2 {
21044                        to: "base";
21045                        relative: 1.0 1.0;
21046                        offset: -1 0;
21047                    }
21048                    image {
21049                        normal: "ilist_item_shadow.png";
21050                    }
21051                    fill.smooth: 0;
21052                }
21053            }
21054            part {
21055                name: "base";
21056                mouse_events: 0;
21057                description {
21058                    state: "default" 0.0;
21059                    image {
21060                        normal: "ilist_1.png";
21061                        border: 2 2 2 2;
21062                    }
21063                    fill.smooth: 0;
21064                }
21065                description { state: "active" 0.0;
21066                    inherit: "default" 0.0;
21067                    rel1 {
21068                        offset: -16 0;
21069                    }
21070                }
21071            }
21072            part { name: "elm.text";
21073                type:           TEXT;
21074                mouse_events:   0;
21075                scale: 1;
21076                description {
21077                    state: "default" 0.0;
21078                           //               min: 16 16;
21079                    rel1 {
21080                        to: "base";
21081                        relative: 0.0  0.0;
21082                        offset:   4 4;
21083                    }
21084                    rel2 {
21085                        to: "base";
21086                        relative: 1.0  1.0;
21087                        offset:   -5 -5;
21088                    }
21089                    color: 0 0 0 128;
21090                    text {
21091                        font: "Sans";
21092                        size: 10;
21093                        min: 1 1;
21094                             //                  min: 0 1;
21095                        align: 0.0 0.5;
21096                    }
21097                }
21098                description { state: "active" 0.0;
21099                    inherit: "default" 0.0;
21100                    color: 0 0 0 255;
21101                }
21102            }
21103        }
21104        programs {
21105            program { name: "active";
21106                signal: "elm,state,active";
21107                source: "elm";
21108                action: STATE_SET "active" 0.0;
21109                transition: DECELERATE 0.5;
21110                target: "elm.text";
21111                target: "base";
21112            }
21113            program { name: "inactive";
21114                signal: "elm,state,inactive";
21115                source: "elm";
21116                action: STATE_SET "default" 0.0;
21117                transition: DECELERATE 0.5;
21118                target: "elm.text";
21119                target: "base";
21120            }
21121        }
21122    }
21123
21124    group { name: "elm/index/item_odd/vertical/default";
21125        data.item: "stacking" "below";
21126        images {
21127            image: "ilist_2.png" COMP;
21128        }
21129        parts {
21130            part {
21131                name: "base";
21132                mouse_events: 0;
21133                description {
21134                    state: "default" 0.0;
21135                    image {
21136                        normal: "ilist_2.png";
21137                        border: 2 2 2 2;
21138                    }
21139                    fill.smooth: 0;
21140                }
21141                description { state: "active" 0.0;
21142                    inherit: "default" 0.0;
21143                    rel1 {
21144                        offset: -16 0;
21145                    }
21146                }
21147            }
21148            part { name: "elm.text";
21149                type:           TEXT;
21150                mouse_events:   0;
21151                scale: 1;
21152                description {
21153                    state: "default" 0.0;
21154                           //               min: 16 16;
21155                    rel1 {
21156                        to: "base";
21157                        relative: 0.0  0.0;
21158                        offset:   4 4;
21159                    }
21160                    rel2 {
21161                        to: "base";
21162                        relative: 1.0  1.0;
21163                        offset:   -5 -5;
21164                    }
21165                    color: 0 0 0 128;
21166                    text {
21167                        font: "Sans";
21168                        size: 10;
21169                        min: 1 1;
21170                             //                  min: 0 1;
21171                        align: 0.0 0.5;
21172                    }
21173                }
21174                description { state: "active" 0.0;
21175                    inherit: "default" 0.0;
21176                    color: 0 0 0 255;
21177                }
21178            }
21179        }
21180        programs {
21181            program { name: "active";
21182                signal: "elm,state,active";
21183                source: "elm";
21184                action: STATE_SET "active" 0.0;
21185                transition: DECELERATE 0.5;
21186                target: "elm.text";
21187                target: "base";
21188            }
21189            program { name: "inactive";
21190                signal: "elm,state,inactive";
21191                source: "elm";
21192                action: STATE_SET "default" 0.0;
21193                transition: DECELERATE 0.5;
21194                target: "elm.text";
21195                target: "base";
21196            }
21197        }
21198    }
21199
21200    ///////////////////////////////////////////////////////////////////////////////
21201    group { name: "elm/gengrid/item/default/default";
21202       data.item: "labels" "elm.text";
21203       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21204       images {
21205          image: "bt_sm_base1.png" COMP;
21206          image: "bt_sm_shine.png" COMP;
21207          image: "bt_sm_hilight.png" COMP;
21208          image: "ilist_1.png" COMP;
21209          image: "ilist_item_shadow.png" COMP;
21210       }
21211       parts {
21212          part {
21213             name: "event";
21214             type: RECT;
21215             repeat_events: 1;
21216             description {
21217                state: "default" 0.0;
21218                color: 0 0 0 0;
21219             }
21220          }
21221          part {
21222             name: "base_sh";
21223             mouse_events: 0;
21224             description {
21225                state: "default" 0.0;
21226                align: 0.0 0.0;
21227                min: 0 10;
21228                fixed: 1 1;
21229                rel1 {
21230                   to: "base";
21231                   relative: 0.0 1.0;
21232                   offset: 0 0;
21233                }
21234                rel2 {
21235                   to: "base";
21236                   relative: 1.0 1.0;
21237                   offset: -1 0;
21238                }
21239                image {
21240                   normal: "ilist_item_shadow.png";
21241                }
21242                fill.smooth: 0;
21243             }
21244          }
21245          part {
21246             name: "base";
21247             mouse_events: 0;
21248             description {
21249                state: "default" 0.0;
21250                image {
21251                   normal: "ilist_1.png";
21252                   border: 2 2 2 2;
21253                }
21254                fill.smooth: 0;
21255             }
21256          }
21257          part { name: "bg";
21258             clip_to: "disclip";
21259             mouse_events: 0;
21260             description { state: "default" 0.0;
21261                visible: 0;
21262                color: 255 255 255 0;
21263                rel1 {
21264                   relative: 0.0 0.0;
21265                   offset: -5 -5;
21266                }
21267                rel2 {
21268                   relative: 1.0 1.0;
21269                   offset: 4 4;
21270                }
21271                image {
21272                   normal: "bt_sm_base1.png";
21273                   border: 6 6 6 6;
21274                }
21275                image.middle: SOLID;
21276             }
21277             description { state: "selected" 0.0;
21278                inherit: "default" 0.0;
21279                visible: 1;
21280                color: 255 255 255 255;
21281                rel1 {
21282                   relative: 0.0 0.0;
21283                   offset: -2 -2;
21284                }
21285                rel2 {
21286                   relative: 1.0 1.0;
21287                   offset: 1 1;
21288                }
21289             }
21290          }
21291          part { name: "elm.swallow.pad";
21292             type: SWALLOW;
21293             description { state: "default" 0.0;
21294                fixed: 1 0;
21295                align: 0.0 0.5;
21296                rel1 {
21297                   relative: 0.0  1.0;
21298                   offset:   0    -10;
21299                }
21300                rel2 {
21301                   to_y: "elm.text";
21302                   relative: 0.0  0.0;
21303                   offset:   -1   -1;
21304                }
21305             }
21306          }
21307          part { name: "elm.swallow.icon";
21308             clip_to: "disclip";
21309             type: SWALLOW;
21310             description { state: "default" 0.0;
21311                fixed: 1 0;
21312                align: 0.5 0.5;
21313                rel1 {
21314                   relative: 0.0  0.0;
21315                   offset:   -1    4;
21316                }
21317                rel2 {
21318                   to_y: "elm.swallow.pad";
21319                   relative: 1.0  0.0;
21320                   offset:   -1   -5;
21321                }
21322             }
21323          }
21324          part { name: "elm.swallow.end";
21325             clip_to: "disclip";
21326             type: SWALLOW;
21327             description { state: "default" 0.0;
21328                fixed: 1 0;
21329                align: 1.0 0.0;
21330                aspect: 1.0 1.0;
21331                aspect_preference: HORIZONTAL;
21332                rel1 {
21333                   relative: 1.0 0.0;
21334                   offset: -5 -5;
21335                }
21336                rel2 {
21337                   relative: 1.0 1.0;
21338                   offset: 5 5;
21339                }
21340             }
21341          }
21342          part { name: "elm.text";
21343             clip_to: "disclip";
21344             type: TEXT;
21345             effect: SOFT_SHADOW;
21346             mouse_events: 0;
21347             scale: 1;
21348             description {
21349                state: "default" 0.0;
21350                rel1 {
21351                   relative: 0.0  1.0;
21352                   offset: 0 0;
21353                }
21354                rel2 {
21355                   relative: 1.0  1.0;
21356                   offset: -5 -5;
21357                }
21358                color: 0 0 0 255;
21359                color3: 0 0 0 0;
21360                text {
21361                   font: "Sans";
21362                   size: 10;
21363                   min: 0 1;
21364                   align: 0.5 0.0;
21365                }
21366             }
21367             description { state: "selected" 0.0;
21368                inherit: "default" 0.0;
21369                color: 224 224 224 255;
21370                color3: 0 0 0 64;
21371             }
21372          }
21373          part { name: "fg1";
21374             clip_to: "disclip";
21375             mouse_events: 0;
21376             description { state: "default" 0.0;
21377                visible: 0;
21378                color: 255 255 255 0;
21379                rel1.to: "bg";
21380                rel2.relative: 1.0 0.5;
21381                rel2.to: "bg";
21382                image {
21383                   normal: "bt_sm_hilight.png";
21384                   border: 6 6 6 0;
21385                }
21386             }
21387             description { state: "selected" 0.0;
21388                inherit: "default" 0.0;
21389                visible: 1;
21390                color: 255 255 255 255;
21391             }
21392          }
21393          part { name: "fg2";
21394             clip_to: "disclip";
21395             mouse_events: 0;
21396             description { state: "default" 0.0;
21397                visible: 0;
21398                color: 255 255 255 0;
21399                rel1.to: "bg";
21400                rel2.to: "bg";
21401                image {
21402                   normal: "bt_sm_shine.png";
21403                   border: 6 6 6 0;
21404                }
21405             }
21406             description { state: "selected" 0.0;
21407                inherit: "default" 0.0;
21408                visible: 1;
21409                color: 255 255 255 255;
21410             }
21411          }
21412          part { name: "disclip";
21413             type: RECT;
21414             description { state: "default" 0.0;
21415                rel1.to: "bg";
21416                rel2.to: "bg";
21417             }
21418             description { state: "disabled" 0.0;
21419                inherit: "default" 0.0;
21420                color: 255 255 255 64;
21421             }
21422          }
21423       }
21424       programs {
21425          // signal: elm,state,%s,active
21426          //   a "check" item named %s went active
21427          // signal: elm,state,%s,passive
21428          //   a "check" item named %s went passive
21429          // default is passive
21430          program {
21431             name:    "go_active";
21432             signal:  "elm,state,selected";
21433             source:  "elm";
21434             action:  STATE_SET "selected" 0.0;
21435             target:  "bg";
21436             target:  "fg1";
21437             target:  "fg2";
21438             target:  "elm.text";
21439          }
21440          program {
21441             name:    "go_passive";
21442             signal:  "elm,state,unselected";
21443             source:  "elm";
21444             action:  STATE_SET "default" 0.0;
21445             target:  "bg";
21446             target:  "fg1";
21447             target:  "fg2";
21448             target:  "elm.text";
21449             transition: LINEAR 0.1;
21450          }
21451          program {
21452             name:    "go_disabled";
21453             signal:  "elm,state,disabled";
21454             source:  "elm";
21455             action:  STATE_SET "disabled" 0.0;
21456             target:  "disclip";
21457          }
21458          program {
21459             name:    "go_enabled";
21460             signal:  "elm,state,enabled";
21461             source:  "elm";
21462             action:  STATE_SET "default" 0.0;
21463             target:  "disclip";
21464          }
21465       }
21466    }
21467    group { name: "elm/gengrid/item/default_style/default";
21468        styles
21469        {
21470            style { name: "gengrid_style";
21471                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
21472                tag:  "br" "\n";
21473                tag:  "hilight" "+ font=Sans:style=Bold";
21474                tag:  "b" "+ font=Sans:style=Bold";
21475                tag:  "tab" "\t";
21476            }
21477            style { name: "gengrid_selected_style";
21478                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
21479                tag:  "br" "\n";
21480                tag:  "hilight" "+ font=Sans:style=Bold";
21481                tag:  "b" "+ font=Sans:style=Bold";
21482                tag:  "tab" "\t";
21483            }
21484        }
21485        data.item: "labels" "elm.text";
21486        data.item: "icons" "elm.swallow.icon elm.swallow.end";
21487        images {
21488            image: "bt_sm_base1.png" COMP;
21489            image: "bt_sm_shine.png" COMP;
21490            image: "bt_sm_hilight.png" COMP;
21491            image: "ilist_1.png" COMP;
21492            image: "ilist_item_shadow.png" COMP;
21493        }
21494        parts {
21495            part {
21496                name: "event";
21497                type: RECT;
21498                repeat_events: 1;
21499                description {
21500                    state: "default" 0.0;
21501                    color: 0 0 0 0;
21502                }
21503            }
21504            part {
21505                name: "base_sh";
21506                mouse_events: 0;
21507                description {
21508                    state: "default" 0.0;
21509                    align: 0.0 0.0;
21510                    min: 0 10;
21511                    fixed: 1 1;
21512                    rel1 {
21513                        to: "base";
21514                        relative: 0.0 1.0;
21515                        offset: 0 0;
21516                    }
21517                    rel2 {
21518                        to: "base";
21519                        relative: 1.0 1.0;
21520                        offset: -1 0;
21521                    }
21522                    image {
21523                        normal: "ilist_item_shadow.png";
21524                    }
21525                    fill.smooth: 0;
21526                }
21527            }
21528            part {
21529                name: "base";
21530                mouse_events: 0;
21531                description {
21532                    state: "default" 0.0;
21533                    min: 16 28;
21534                    image {
21535                        normal: "ilist_1.png";
21536                        border: 2 2 2 2;
21537                    }
21538                    fill.smooth: 0;
21539                }
21540            }
21541            part { name: "bg";
21542                clip_to: "disclip";
21543                mouse_events: 0;
21544                description { state: "default" 0.0;
21545                    visible: 0;
21546                    color: 255 255 255 0;
21547                    rel1 {
21548                        relative: 0.0 0.0;
21549                        offset: -5 -5;
21550                    }
21551                    rel2 {
21552                        relative: 1.0 1.0;
21553                        offset: 4 4;
21554                    }
21555                    image {
21556                        normal: "bt_sm_base1.png";
21557                        border: 6 6 6 6;
21558                    }
21559                    image.middle: SOLID;
21560                }
21561                description { state: "selected" 0.0;
21562                    inherit: "default" 0.0;
21563                    visible: 1;
21564                    color: 255 255 255 255;
21565                    rel1 {
21566                        relative: 0.0 0.0;
21567                        offset: -2 -2;
21568                    }
21569                    rel2 {
21570                        relative: 1.0 1.0;
21571                        offset: 1 1;
21572                    }
21573                }
21574            }
21575            part { name: "elm.swallow.pad";
21576                type: SWALLOW;
21577                description { state: "default" 0.0;
21578                    fixed: 1 0;
21579                    align: 0.0 0.5;
21580                    rel1 {
21581                        relative: 0.0  0.0;
21582                        offset:   4    4;
21583                    }
21584                    rel2 {
21585                        relative: 0.0  1.0;
21586                        offset:   4   -5;
21587                    }
21588                }
21589            }
21590            part { name: "elm.swallow.icon";
21591                clip_to: "disclip";
21592                type: SWALLOW;
21593                description { state: "default" 0.0;
21594                    fixed: 1 0;
21595                    align: 0.0 0.5;
21596                    rel1 {
21597                        to_x: "elm.swallow.pad";
21598                        relative: 1.0  0.0;
21599                        offset:   -1    4;
21600                    }
21601                    rel2 {
21602                        to_x: "elm.swallow.pad";
21603                        relative: 1.0  1.0;
21604                        offset:   -1   -5;
21605                    }
21606                }
21607            }
21608            part { name: "elm.swallow.end";
21609                clip_to: "disclip";
21610                type: SWALLOW;
21611                description { state: "default" 0.0;
21612                    fixed: 1 0;
21613                    align: 1.0 0.5;
21614                    aspect: 1.0 1.0;
21615                    aspect_preference: VERTICAL;
21616                    rel1 {
21617                        relative: 1.0  0.0;
21618                        offset:   -5    4;
21619                    }
21620                    rel2 {
21621                        relative: 1.0  1.0;
21622                        offset:   -5   -5;
21623                    }
21624                }
21625            }
21626            part { name: "elm.text";
21627                clip_to: "disclip";
21628                type: TEXTBLOCK;
21629                mouse_events: 0;
21630                scale: 1;
21631                description {
21632                    state: "default" 0.0;
21633                    align: 0.0 0.5;
21634                    fixed: 0 1;
21635                    rel1 {
21636                        to_x: "elm.swallow.icon";
21637                        to_y: "base";
21638                        relative: 1.0  0.5;
21639                        offset:   0 4;
21640                    }
21641                    rel2 {
21642                        to_x: "elm.swallow.end";
21643                        to_y: "base";
21644                        relative: 0.0  0.5;
21645                        offset:   -1 -5;
21646                    }
21647                    text {
21648                        style: "gengrid_style";
21649                        min: 1 1;
21650                    }
21651                }
21652                description { state: "selected" 0.0;
21653                    inherit: "default" 0.0;
21654                    text {
21655                        style: "gengrid_selected_style";
21656                    }
21657                }
21658            }
21659            part { name: "fg1";
21660                clip_to: "disclip";
21661                mouse_events: 0;
21662                description { state: "default" 0.0;
21663                    visible: 0;
21664                    color: 255 255 255 0;
21665                    rel1.to: "bg";
21666                    rel2.relative: 1.0 0.5;
21667                    rel2.to: "bg";
21668                    image {
21669                        normal: "bt_sm_hilight.png";
21670                        border: 6 6 6 0;
21671                    }
21672                }
21673                description { state: "selected" 0.0;
21674                    inherit: "default" 0.0;
21675                    visible: 1;
21676                    color: 255 255 255 255;
21677                }
21678            }
21679            part { name: "fg2";
21680                clip_to: "disclip";
21681                mouse_events: 0;
21682                description { state: "default" 0.0;
21683                    visible: 0;
21684                    color: 255 255 255 0;
21685                    rel1.to: "bg";
21686                    rel2.to: "bg";
21687                    image {
21688                        normal: "bt_sm_shine.png";
21689                        border: 6 6 6 0;
21690                    }
21691                }
21692                description { state: "selected" 0.0;
21693                    inherit: "default" 0.0;
21694                    visible: 1;
21695                    color: 255 255 255 255;
21696                }
21697            }
21698            part { name: "disclip";
21699                type: RECT;
21700                description { state: "default" 0.0;
21701                    rel1.to: "bg";
21702                    rel2.to: "bg";
21703                }
21704                description { state: "disabled" 0.0;
21705                    inherit: "default" 0.0;
21706                    color: 255 255 255 64;
21707                }
21708            }
21709        }
21710        programs {
21711            // signal: elm,state,%s,active
21712            //   a "check" item named %s went active
21713            // signal: elm,state,%s,passive
21714            //   a "check" item named %s went passive
21715            // default is passive
21716            program {
21717                name:    "go_active";
21718                signal:  "elm,state,selected";
21719                source:  "elm";
21720                action:  STATE_SET "selected" 0.0;
21721                target:  "bg";
21722                target:  "fg1";
21723                target:  "fg2";
21724                target:  "elm.text";
21725            }
21726            program {
21727                name:    "go_passive";
21728                signal:  "elm,state,unselected";
21729                source:  "elm";
21730                action:  STATE_SET "default" 0.0;
21731                target:  "bg";
21732                target:  "fg1";
21733                target:  "fg2";
21734                target:  "elm.text";
21735                transition: LINEAR 0.1;
21736            }
21737            program {
21738                name:    "go_disabled";
21739                signal:  "elm,state,disabled";
21740                source:  "elm";
21741                action:  STATE_SET "disabled" 0.0;
21742                target:  "disclip";
21743            }
21744            program {
21745                name:    "go_enabled";
21746                signal:  "elm,state,enabled";
21747                source:  "elm";
21748                action:  STATE_SET "default" 0.0;
21749                target:  "disclip";
21750            }
21751        }
21752    }
21753
21754    ///////////////////////////////////////////////////////////////////////////////
21755    group { name: "elm/photocam/base/default";
21756        script {
21757            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
21758            public timer0(val) {
21759                new v;
21760                v = get_int(sbvis_v);
21761                if (v) {
21762                    v = get_int(sbalways_v);
21763                    if (!v) {
21764                        emit("do-hide-vbar", "");
21765                        set_int(sbvis_v, 0);
21766                    }
21767                }
21768                v = get_int(sbvis_h);
21769                if (v) {
21770                    v = get_int(sbalways_h);
21771                    if (!v) {
21772                        emit("do-hide-hbar", "");
21773                        set_int(sbvis_h, 0);
21774                    }
21775                }
21776                set_int(sbvis_timer, 0);
21777                return 0;
21778            }
21779        }
21780        images {
21781            image: "shelf_inset.png" COMP;
21782            image: "bt_sm_base2.png" COMP;
21783            image: "bt_sm_shine.png" COMP;
21784            image: "bt_sm_hilight.png" COMP;
21785            image: "sb_runnerh.png" COMP;
21786            image: "sb_runnerv.png" COMP;
21787            image: "busy-1.png" COMP;
21788            image: "busy-2.png" COMP;
21789            image: "busy-3.png" COMP;
21790            image: "busy-4.png" COMP;
21791            image: "busy-5.png" COMP;
21792            image: "busy-6.png" COMP;
21793            image: "busy-7.png" COMP;
21794            image: "busy-8.png" COMP;
21795            image: "busy-9.png" COMP;
21796        }
21797        parts {
21798            part { name: "bg";
21799                type: RECT;
21800                description { state: "default" 0.0;
21801                    rel1.offset: 1 1;
21802                    rel2.offset: -2 -2;
21803                    color: 255 255 255 0;
21804                }
21805            }
21806            part { name: "clipper";
21807                type: RECT;
21808                mouse_events: 0;
21809                description { state: "default" 0.0;
21810                    rel1.to: "bg";
21811                    rel2.to: "bg";
21812                }
21813            }
21814            part { name: "elm.swallow.content";
21815                clip_to: "clipper";
21816                type: SWALLOW;
21817                description { state: "default" 0.0;
21818                    rel1.offset: 1 1;
21819                    rel2.offset: -2 -2;
21820                }
21821            }
21822            part { name: "busy_clip";
21823                type: RECT;
21824                mouse_events: 0;
21825                description { state: "default" 0.0;
21826                    visible: 0;
21827                    color: 255 255 255 0;
21828                }
21829                description { state: "active" 0.0;
21830                    visible: 1;
21831                    color: 255 255 255 255;
21832                }
21833            }
21834            part { name: "busy";
21835                clip_to: "busy_clip";
21836                mouse_events: 0;
21837                description { state: "default" 0.0;
21838                    fixed: 1 1;
21839                    min: 32 32;
21840                    aspect: 1.0 1.0;
21841                    align: 1.0 1.0;
21842                    aspect_preference: BOTH;
21843                    rel1 {
21844                        relative: 0.9 0.9;
21845                        offset:   -9 -9;
21846                    }
21847                    rel2 {
21848                        relative: 0.9 0.9;
21849                        offset:   -9 -9;
21850                    }
21851                    image {
21852                        normal: "busy-9.png";
21853                        tween:  "busy-1.png";
21854                        tween:  "busy-2.png";
21855                        tween:  "busy-3.png";
21856                        tween:  "busy-4.png";
21857                        tween:  "busy-5.png";
21858                        tween:  "busy-6.png";
21859                        tween:  "busy-7.png";
21860                        tween:  "busy-8.png";
21861                    }
21862                }
21863            }
21864            part { name: "conf_over";
21865                mouse_events:  0;
21866                description { state: "default" 0.0;
21867                    rel1.offset: 0 0;
21868                    rel2.offset: -1 -1;
21869                    image {
21870                        normal: "shelf_inset.png";
21871                        border: 7 7 7 7;
21872                        middle: 0;
21873                    }
21874                    fill.smooth : 0;
21875                }
21876            }
21877            part { name: "sb_vbar_clip_master";
21878                type: RECT;
21879                mouse_events: 0;
21880                description { state: "default" 0.0;
21881                }
21882                description { state: "hidden" 0.0;
21883                    visible: 0;
21884                    color: 255 255 255 0;
21885                }
21886            }
21887            part { name: "sb_vbar_clip";
21888                clip_to: "sb_vbar_clip_master";
21889                type: RECT;
21890                mouse_events: 0;
21891                description { state: "default" 0.0;
21892                }
21893                description { state: "hidden" 0.0;
21894                    visible: 0;
21895                    color: 255 255 255 0;
21896                }
21897            }
21898            part { name: "sb_vbar";
21899                type: RECT;
21900                mouse_events: 0;
21901                description { state: "default" 0.0;
21902                    fixed: 1 1;
21903                    visible: 0;
21904                    min: 17 17;
21905                    align: 1.0 0.0;
21906                    rel1 {
21907                        relative: 1.0 0.0;
21908                        offset:   -2 0;
21909                    }
21910                    rel2 {
21911                        relative: 1.0 0.0;
21912                        offset:   -2 -1;
21913                        to_y:     "sb_hbar";
21914                    }
21915                }
21916            }
21917            part { name: "sb_vbar_runner";
21918                clip_to: "sb_vbar_clip";
21919                mouse_events: 0;
21920                description { state: "default" 0.0;
21921                    min: 3 3;
21922                    max: 3 99999;
21923                    rel1.to:       "sb_vbar";
21924                    rel2.to:       "sb_vbar";
21925                    image {
21926                        normal: "sb_runnerv.png";
21927                        border: 0 0 4 4;
21928                    }
21929                    fill.smooth: 0;
21930                }
21931            }
21932            part { name: "elm.dragable.vbar";
21933                clip_to: "sb_vbar_clip";
21934                mouse_events: 0;
21935                dragable {
21936                    x: 0 0 0;
21937                    y: 1 1 0;
21938                    confine: "sb_vbar";
21939                }
21940                description { state: "default" 0.0;
21941                    fixed: 1 1;
21942                    min: 17 17;
21943                    rel1 {
21944                        relative: 0.5  0.5;
21945                        offset:   0    0;
21946                        to: "sb_vbar";
21947                    }
21948                    rel2 {
21949                        relative: 0.5  0.5;
21950                        offset:   0    0;
21951                        to: "sb_vbar";
21952                    }
21953                    image {
21954                        normal: "bt_sm_base2.png";
21955                        border: 6 6 6 6;
21956                    }
21957                    image.middle: SOLID;
21958                }
21959            }
21960            part { name: "sb_vbar_over1";
21961                clip_to: "sb_vbar_clip";
21962                mouse_events: 0;
21963                description { state: "default" 0.0;
21964                    rel1.to: "elm.dragable.vbar";
21965                    rel2.relative: 1.0 0.5;
21966                    rel2.to: "elm.dragable.vbar";
21967                    image {
21968                        normal: "bt_sm_hilight.png";
21969                        border: 6 6 6 0;
21970                    }
21971                }
21972            }
21973            part { name: "sb_vbar_over2";
21974                clip_to: "sb_vbar_clip";
21975                mouse_events: 0;
21976                description { state: "default" 0.0;
21977                    rel1.to: "elm.dragable.vbar";
21978                    rel2.to: "elm.dragable.vbar";
21979                    image {
21980                        normal: "bt_sm_shine.png";
21981                        border: 6 6 6 0;
21982                    }
21983                }
21984            }
21985
21986            part { name: "sb_hbar_clip_master";
21987                type: RECT;
21988                mouse_events: 0;
21989                description { state: "default" 0.0;
21990                }
21991                description { state: "hidden" 0.0;
21992                    visible: 0;
21993                    color: 255 255 255 0;
21994                }
21995            }
21996            part { name: "sb_hbar_clip";
21997                clip_to: "sb_hbar_clip_master";
21998                type: RECT;
21999                mouse_events: 0;
22000                description { state: "default" 0.0;
22001                }
22002                description { state: "hidden" 0.0;
22003                    visible: 0;
22004                    color: 255 255 255 0;
22005                }
22006            }
22007            part { name: "sb_hbar";
22008                type: RECT;
22009                mouse_events: 0;
22010                description { state: "default" 0.0;
22011                    fixed: 1 1;
22012                    visible: 0;
22013                    min: 17 17;
22014                    align: 0.0 1.0;
22015                    rel1 {
22016                        relative: 0.0 1.0;
22017                        offset:   0 -2;
22018                    }
22019                    rel2 {
22020                        relative: 0.0 1.0;
22021                        offset:   -1 -2;
22022                        to_x:     "sb_vbar";
22023                    }
22024                }
22025            }
22026            part { name: "sb_hbar_runner";
22027                clip_to: "sb_hbar_clip";
22028                mouse_events: 0;
22029                description { state: "default" 0.0;
22030                    min: 3 3;
22031                    max: 99999 3;
22032                    rel1.to:       "sb_hbar";
22033                    rel2.to:       "sb_hbar";
22034                    image {
22035                        normal: "sb_runnerh.png";
22036                        border: 4 4 0 0;
22037                    }
22038                    fill.smooth: 0;
22039                }
22040            }
22041            part { name: "elm.dragable.hbar";
22042                clip_to: "sb_hbar_clip";
22043                mouse_events: 0;
22044                dragable {
22045                    x: 1 1 0;
22046                    y: 0 0 0;
22047                    confine: "sb_hbar";
22048                }
22049                description { state: "default" 0.0;
22050                    fixed: 1 1;
22051                    min: 17 17;
22052                    rel1 {
22053                        relative: 0.5  0.5;
22054                        offset:   0    0;
22055                        to: "sb_hbar";
22056                    }
22057                    rel2 {
22058                        relative: 0.5  0.5;
22059                        offset:   0    0;
22060                        to: "sb_hbar";
22061                    }
22062                    image {
22063                        normal: "bt_sm_base2.png";
22064                        border: 6 6 6 6;
22065                    }
22066                    image.middle: SOLID;
22067                }
22068            }
22069            part { name: "sb_hbar_over1";
22070                clip_to: "sb_hbar_clip";
22071                mouse_events: 0;
22072                description { state: "default" 0.0;
22073                    rel1.to: "elm.dragable.hbar";
22074                    rel2.relative: 1.0 0.5;
22075                    rel2.to: "elm.dragable.hbar";
22076                    image {
22077                        normal: "bt_sm_hilight.png";
22078                        border: 6 6 6 0;
22079                    }
22080                }
22081            }
22082            part { name: "sb_hbar_over2";
22083                clip_to: "sb_hbar_clip";
22084                mouse_events: 0;
22085                description { state: "default" 0.0;
22086                    rel1.to: "elm.dragable.hbar";
22087                    rel2.to: "elm.dragable.hbar";
22088                    image {
22089                        normal: "bt_sm_shine.png";
22090                        border: 6 6 6 0;
22091                    }
22092                }
22093            }
22094        }
22095        programs {
22096            program { name: "load";
22097                signal: "load";
22098                source: "";
22099                script {
22100                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
22101                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
22102                    set_int(sbvis_h, 0);
22103                    set_int(sbvis_v, 0);
22104                    set_int(sbalways_v, 0);
22105                    set_int(sbalways_h, 0);
22106                    set_int(sbvis_timer, 0);
22107                }
22108            }
22109
22110            program { name: "vbar_show";
22111                signal: "elm,action,show,vbar";
22112                source: "elm";
22113                action:  STATE_SET "default" 0.0;
22114                target: "sb_vbar_clip_master";
22115            }
22116            program { name: "vbar_hide";
22117                signal: "elm,action,hide,vbar";
22118                source: "elm";
22119                action:  STATE_SET "hidden" 0.0;
22120                target: "sb_vbar_clip_master";
22121            }
22122            program { name: "vbar_show_always";
22123                signal: "elm,action,show_always,vbar";
22124                source: "elm";
22125                script {
22126                    new v;
22127                    v = get_int(sbvis_v);
22128                    v |= get_int(sbalways_v);
22129                    if (!v) {
22130                        set_int(sbalways_v, 1);
22131                        emit("do-show-vbar", "");
22132                        set_int(sbvis_v, 1);
22133                    }
22134                }
22135            }
22136            program { name: "vbar_show_notalways";
22137                signal: "elm,action,show_notalways,vbar";
22138                source: "elm";
22139                script {
22140                    new v;
22141                    v = get_int(sbalways_v);
22142                    if (v) {
22143                        set_int(sbalways_v, 0);
22144                        v = get_int(sbvis_v);
22145                        if (!v) {
22146                            emit("do-hide-vbar", "");
22147                            set_int(sbvis_v, 0);
22148                        }
22149                    }
22150                }
22151            }
22152            program { name: "sb_vbar_show";
22153                signal: "do-show-vbar";
22154                source: "";
22155                action:  STATE_SET "default" 0.0;
22156                transition: LINEAR 1.0;
22157                target: "sb_vbar_clip";
22158            }
22159            program { name: "sb_vbar_hide";
22160                signal: "do-hide-vbar";
22161                source: "";
22162                action:  STATE_SET "hidden" 0.0;
22163                transition: LINEAR 1.0;
22164                target: "sb_vbar_clip";
22165            }
22166
22167            program { name: "hbar_show";
22168                signal: "elm,action,show,hbar";
22169                source: "elm";
22170                action:  STATE_SET "default" 0.0;
22171                target: "sb_hbar_clip_master";
22172            }
22173            program { name: "hbar_hide";
22174                signal: "elm,action,hide,hbar";
22175                source: "elm";
22176                action:  STATE_SET "hidden" 0.0;
22177                target: "sb_hbar_clip_master";
22178            }
22179            program { name: "hbar_show_always";
22180                signal: "elm,action,show_always,hbar";
22181                source: "elm";
22182                script {
22183                    new v;
22184                    v = get_int(sbvis_h);
22185                    v |= get_int(sbalways_h);
22186                    if (!v) {
22187                        set_int(sbalways_h, 1);
22188                        emit("do-show-hbar", "");
22189                        set_int(sbvis_h, 1);
22190                    }
22191                }
22192            }
22193            program { name: "hbar_show_notalways";
22194                signal: "elm,action,show_notalways,hbar";
22195                source: "elm";
22196                script {
22197                    new v;
22198                    v = get_int(sbalways_h);
22199                    if (v) {
22200                        set_int(sbalways_h, 0);
22201                        v = get_int(sbvis_h);
22202                        if (!v) {
22203                            emit("do-hide-hbar", "");
22204                            set_int(sbvis_h, 0);
22205                        }
22206                    }
22207                }
22208            }
22209            program { name: "sb_hbar_show";
22210                signal: "do-show-hbar";
22211                source: "";
22212                action:  STATE_SET "default" 0.0;
22213                transition: LINEAR 1.0;
22214                target: "sb_hbar_clip";
22215            }
22216            program { name: "sb_hbar_hide";
22217                signal: "do-hide-hbar";
22218                source: "";
22219                action:  STATE_SET "hidden" 0.0;
22220                transition: LINEAR 1.0;
22221                target: "sb_hbar_clip";
22222            }
22223
22224            program { name: "scroll";
22225                signal: "elm,action,scroll";
22226                source: "elm";
22227                script {
22228                    new v;
22229                    v = get_int(sbvis_v);
22230                    v |= get_int(sbalways_v);
22231                    if (!v) {
22232                        emit("do-show-vbar", "");
22233                        set_int(sbvis_v, 1);
22234                    }
22235                    v = get_int(sbvis_h);
22236                    v |= get_int(sbalways_h);
22237                    if (!v) {
22238                        emit("do-show-hbar", "");
22239                        set_int(sbvis_h, 1);
22240                    }
22241                    v = get_int(sbvis_timer);
22242                    if (v > 0) cancel_timer(v);
22243                    v = timer(2.0, "timer0", 0);
22244                    set_int(sbvis_timer, v);
22245                }
22246            }
22247            program { name: "go1";
22248                signal: "elm,state,busy,start";
22249                source: "elm";
22250                action: STATE_SET "active" 0.0;
22251                transition: SINUSOIDAL 1.0;
22252                target:  "busy_clip";
22253            }
22254            program { name: "go2";
22255                signal: "elm,state,busy,start";
22256                source: "elm";
22257                action: STATE_SET "default" 0.0;
22258                transition: LINEAR 0.5;
22259                target: "busy";
22260                after:  "go2";
22261            }
22262            program { name: "stop1";
22263                signal: "elm,state,busy,stop";
22264                source: "elm";
22265                action: STATE_SET "default" 0.0;
22266                transition: SINUSOIDAL 1.0;
22267                target: "busy_clip";
22268                after: "stop2";
22269            }
22270          program { name: "stop2";
22271             action: ACTION_STOP;
22272             target: "go2";
22273          }
22274       }
22275    }
22276
22277    ///////////////////////////////////////////////////////////////////////////////
22278    group { name: "elm/map/base/default";
22279        script {
22280            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
22281            public timer0(val) {
22282                new v;
22283                v = get_int(sbvis_v);
22284                if (v) {
22285                    v = get_int(sbalways_v);
22286                    if (!v) {
22287                        emit("do-hide-vbar", "");
22288                        set_int(sbvis_v, 0);
22289                    }
22290                }
22291                v = get_int(sbvis_h);
22292                if (v) {
22293                    v = get_int(sbalways_h);
22294                    if (!v) {
22295                        emit("do-hide-hbar", "");
22296                        set_int(sbvis_h, 0);
22297                    }
22298                }
22299                set_int(sbvis_timer, 0);
22300                return 0;
22301            }
22302        }
22303        images {
22304            image: "shelf_inset.png" COMP;
22305            image: "bt_sm_base2.png" COMP;
22306            image: "bt_sm_shine.png" COMP;
22307            image: "bt_sm_hilight.png" COMP;
22308            image: "sb_runnerh.png" COMP;
22309            image: "sb_runnerv.png" COMP;
22310            image: "busy-1.png" COMP;
22311            image: "busy-2.png" COMP;
22312            image: "busy-3.png" COMP;
22313            image: "busy-4.png" COMP;
22314            image: "busy-5.png" COMP;
22315            image: "busy-6.png" COMP;
22316            image: "busy-7.png" COMP;
22317            image: "busy-8.png" COMP;
22318            image: "busy-9.png" COMP;
22319        }
22320        parts {
22321            part { name: "bg";
22322                type: RECT;
22323                description { state: "default" 0.0;
22324                    rel1.offset: 1 1;
22325                    rel2.offset: -2 -2;
22326                    color: 255 255 255 0;
22327                }
22328            }
22329            part { name: "clipper";
22330                type: RECT;
22331                mouse_events: 0;
22332                description { state: "default" 0.0;
22333                    rel1.to: "bg";
22334                    rel2.to: "bg";
22335                }
22336            }
22337            part { name: "elm.swallow.content";
22338                clip_to: "clipper";
22339                type: SWALLOW;
22340                description { state: "default" 0.0;
22341                    rel1.offset: 1 1;
22342                    rel2.offset: -2 -2;
22343                }
22344            }
22345            part { name: "busy_clip";
22346                type: RECT;
22347                mouse_events: 0;
22348                description { state: "default" 0.0;
22349                    visible: 0;
22350                    color: 255 255 255 0;
22351                }
22352                description { state: "active" 0.0;
22353                    visible: 1;
22354                    color: 255 255 255 255;
22355                }
22356            }
22357            part { name: "busy";
22358                clip_to: "busy_clip";
22359                mouse_events: 0;
22360                description { state: "default" 0.0;
22361                    fixed: 1 1;
22362                    min: 32 32;
22363                    aspect: 1.0 1.0;
22364                    align: 1.0 1.0;
22365                    aspect_preference: BOTH;
22366                    rel1 {
22367                        relative: 0.9 0.9;
22368                        offset:   -9 -9;
22369                    }
22370                    rel2 {
22371                        relative: 0.9 0.9;
22372                        offset:   -9 -9;
22373                    }
22374                    image {
22375                        normal: "busy-9.png";
22376                        tween:  "busy-1.png";
22377                        tween:  "busy-2.png";
22378                        tween:  "busy-3.png";
22379                        tween:  "busy-4.png";
22380                        tween:  "busy-5.png";
22381                        tween:  "busy-6.png";
22382                        tween:  "busy-7.png";
22383                        tween:  "busy-8.png";
22384                    }
22385                }
22386            }
22387            part { name: "conf_over";
22388                mouse_events:  0;
22389                description { state: "default" 0.0;
22390                    rel1.offset: 0 0;
22391                    rel2.offset: -1 -1;
22392                    image {
22393                        normal: "shelf_inset.png";
22394                        border: 7 7 7 7;
22395                        middle: 0;
22396                    }
22397                    fill.smooth : 0;
22398                }
22399            }
22400            part { name: "sb_vbar_clip_master";
22401                type: RECT;
22402                mouse_events: 0;
22403                description { state: "default" 0.0;
22404                }
22405                description { state: "hidden" 0.0;
22406                    visible: 0;
22407                    color: 255 255 255 0;
22408                }
22409            }
22410            part { name: "sb_vbar_clip";
22411                clip_to: "sb_vbar_clip_master";
22412                type: RECT;
22413                mouse_events: 0;
22414                description { state: "default" 0.0;
22415                }
22416                description { state: "hidden" 0.0;
22417                    visible: 0;
22418                    color: 255 255 255 0;
22419                }
22420            }
22421            part { name: "sb_vbar";
22422                type: RECT;
22423                mouse_events: 0;
22424                description { state: "default" 0.0;
22425                    fixed: 1 1;
22426                    visible: 0;
22427                    min: 17 17;
22428                    align: 1.0 0.0;
22429                    rel1 {
22430                        relative: 1.0 0.0;
22431                        offset:   -2 0;
22432                    }
22433                    rel2 {
22434                        relative: 1.0 0.0;
22435                        offset:   -2 -1;
22436                        to_y:     "sb_hbar";
22437                    }
22438                }
22439            }
22440            part { name: "sb_vbar_runner";
22441                clip_to: "sb_vbar_clip";
22442                mouse_events: 0;
22443                description { state: "default" 0.0;
22444                    min: 3 3;
22445                    max: 3 99999;
22446                    rel1.to:       "sb_vbar";
22447                    rel2.to:       "sb_vbar";
22448                    image {
22449                        normal: "sb_runnerv.png";
22450                        border: 0 0 4 4;
22451                    }
22452                    fill.smooth: 0;
22453                }
22454            }
22455            part { name: "elm.dragable.vbar";
22456                clip_to: "sb_vbar_clip";
22457                mouse_events: 0;
22458                dragable {
22459                    x: 0 0 0;
22460                    y: 1 1 0;
22461                    confine: "sb_vbar";
22462                }
22463                description { state: "default" 0.0;
22464                    fixed: 1 1;
22465                    min: 17 17;
22466                    rel1 {
22467                        relative: 0.5  0.5;
22468                        offset:   0    0;
22469                        to: "sb_vbar";
22470                    }
22471                    rel2 {
22472                        relative: 0.5  0.5;
22473                        offset:   0    0;
22474                        to: "sb_vbar";
22475                    }
22476                    image {
22477                        normal: "bt_sm_base2.png";
22478                        border: 6 6 6 6;
22479                    }
22480                    image.middle: SOLID;
22481                }
22482            }
22483            part { name: "sb_vbar_over1";
22484                clip_to: "sb_vbar_clip";
22485                mouse_events: 0;
22486                description { state: "default" 0.0;
22487                    rel1.to: "elm.dragable.vbar";
22488                    rel2.relative: 1.0 0.5;
22489                    rel2.to: "elm.dragable.vbar";
22490                    image {
22491                        normal: "bt_sm_hilight.png";
22492                        border: 6 6 6 0;
22493                    }
22494                }
22495            }
22496            part { name: "sb_vbar_over2";
22497                clip_to: "sb_vbar_clip";
22498                mouse_events: 0;
22499                description { state: "default" 0.0;
22500                    rel1.to: "elm.dragable.vbar";
22501                    rel2.to: "elm.dragable.vbar";
22502                    image {
22503                        normal: "bt_sm_shine.png";
22504                        border: 6 6 6 0;
22505                    }
22506                }
22507            }
22508
22509            part { name: "sb_hbar_clip_master";
22510                type: RECT;
22511                mouse_events: 0;
22512                description { state: "default" 0.0;
22513                }
22514                description { state: "hidden" 0.0;
22515                    visible: 0;
22516                    color: 255 255 255 0;
22517                }
22518            }
22519            part { name: "sb_hbar_clip";
22520                clip_to: "sb_hbar_clip_master";
22521                type: RECT;
22522                mouse_events: 0;
22523                description { state: "default" 0.0;
22524                }
22525                description { state: "hidden" 0.0;
22526                    visible: 0;
22527                    color: 255 255 255 0;
22528                }
22529            }
22530            part { name: "sb_hbar";
22531                type: RECT;
22532                mouse_events: 0;
22533                description { state: "default" 0.0;
22534                    fixed: 1 1;
22535                    visible: 0;
22536                    min: 17 17;
22537                    align: 0.0 1.0;
22538                    rel1 {
22539                        relative: 0.0 1.0;
22540                        offset:   0 -2;
22541                    }
22542                    rel2 {
22543                        relative: 0.0 1.0;
22544                        offset:   -1 -2;
22545                        to_x:     "sb_vbar";
22546                    }
22547                }
22548            }
22549            part { name: "sb_hbar_runner";
22550                clip_to: "sb_hbar_clip";
22551                mouse_events: 0;
22552                description { state: "default" 0.0;
22553                    min: 3 3;
22554                    max: 99999 3;
22555                    rel1.to:       "sb_hbar";
22556                    rel2.to:       "sb_hbar";
22557                    image {
22558                        normal: "sb_runnerh.png";
22559                        border: 4 4 0 0;
22560                    }
22561                    fill.smooth: 0;
22562                }
22563            }
22564            part { name: "elm.dragable.hbar";
22565                clip_to: "sb_hbar_clip";
22566                mouse_events: 0;
22567                dragable {
22568                    x: 1 1 0;
22569                    y: 0 0 0;
22570                    confine: "sb_hbar";
22571                }
22572                description { state: "default" 0.0;
22573                    fixed: 1 1;
22574                    min: 17 17;
22575                    rel1 {
22576                        relative: 0.5  0.5;
22577                        offset:   0    0;
22578                        to: "sb_hbar";
22579                    }
22580                    rel2 {
22581                        relative: 0.5  0.5;
22582                        offset:   0    0;
22583                        to: "sb_hbar";
22584                    }
22585                    image {
22586                        normal: "bt_sm_base2.png";
22587                        border: 6 6 6 6;
22588                    }
22589                    image.middle: SOLID;
22590                }
22591            }
22592            part { name: "sb_hbar_over1";
22593                clip_to: "sb_hbar_clip";
22594                mouse_events: 0;
22595                description { state: "default" 0.0;
22596                    rel1.to: "elm.dragable.hbar";
22597                    rel2.relative: 1.0 0.5;
22598                    rel2.to: "elm.dragable.hbar";
22599                    image {
22600                        normal: "bt_sm_hilight.png";
22601                        border: 6 6 6 0;
22602                    }
22603                }
22604            }
22605            part { name: "sb_hbar_over2";
22606                clip_to: "sb_hbar_clip";
22607                mouse_events: 0;
22608                description { state: "default" 0.0;
22609                    rel1.to: "elm.dragable.hbar";
22610                    rel2.to: "elm.dragable.hbar";
22611                    image {
22612                        normal: "bt_sm_shine.png";
22613                        border: 6 6 6 0;
22614                    }
22615                }
22616            }
22617        }
22618        programs {
22619            program { name: "load";
22620                signal: "load";
22621                source: "";
22622                script {
22623                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
22624                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
22625                    set_int(sbvis_h, 0);
22626                    set_int(sbvis_v, 0);
22627                    set_int(sbalways_v, 0);
22628                    set_int(sbalways_h, 0);
22629                    set_int(sbvis_timer, 0);
22630                }
22631            }
22632
22633            program { name: "vbar_show";
22634                signal: "elm,action,show,vbar";
22635                source: "elm";
22636                action:  STATE_SET "default" 0.0;
22637                target: "sb_vbar_clip_master";
22638            }
22639            program { name: "vbar_hide";
22640                signal: "elm,action,hide,vbar";
22641                source: "elm";
22642                action:  STATE_SET "hidden" 0.0;
22643                target: "sb_vbar_clip_master";
22644            }
22645            program { name: "vbar_show_always";
22646                signal: "elm,action,show_always,vbar";
22647                source: "elm";
22648                script {
22649                    new v;
22650                    v = get_int(sbvis_v);
22651                    v |= get_int(sbalways_v);
22652                    if (!v) {
22653                        set_int(sbalways_v, 1);
22654                        emit("do-show-vbar", "");
22655                        set_int(sbvis_v, 1);
22656                    }
22657                }
22658            }
22659            program { name: "vbar_show_notalways";
22660                signal: "elm,action,show_notalways,vbar";
22661                source: "elm";
22662                script {
22663                    new v;
22664                    v = get_int(sbalways_v);
22665                    if (v) {
22666                        set_int(sbalways_v, 0);
22667                        v = get_int(sbvis_v);
22668                        if (!v) {
22669                            emit("do-hide-vbar", "");
22670                            set_int(sbvis_v, 0);
22671                        }
22672                    }
22673                }
22674            }
22675            program { name: "sb_vbar_show";
22676                signal: "do-show-vbar";
22677                source: "";
22678                action:  STATE_SET "default" 0.0;
22679                transition: LINEAR 1.0;
22680                target: "sb_vbar_clip";
22681            }
22682            program { name: "sb_vbar_hide";
22683                signal: "do-hide-vbar";
22684                source: "";
22685                action:  STATE_SET "hidden" 0.0;
22686                transition: LINEAR 1.0;
22687                target: "sb_vbar_clip";
22688            }
22689
22690            program { name: "hbar_show";
22691                signal: "elm,action,show,hbar";
22692                source: "elm";
22693                action:  STATE_SET "default" 0.0;
22694                target: "sb_hbar_clip_master";
22695            }
22696            program { name: "hbar_hide";
22697                signal: "elm,action,hide,hbar";
22698                source: "elm";
22699                action:  STATE_SET "hidden" 0.0;
22700                target: "sb_hbar_clip_master";
22701            }
22702            program { name: "hbar_show_always";
22703                signal: "elm,action,show_always,hbar";
22704                source: "elm";
22705                script {
22706                    new v;
22707                    v = get_int(sbvis_h);
22708                    v |= get_int(sbalways_h);
22709                    if (!v) {
22710                        set_int(sbalways_h, 1);
22711                        emit("do-show-hbar", "");
22712                        set_int(sbvis_h, 1);
22713                    }
22714                }
22715            }
22716            program { name: "hbar_show_notalways";
22717                signal: "elm,action,show_notalways,hbar";
22718                source: "elm";
22719                script {
22720                    new v;
22721                    v = get_int(sbalways_h);
22722                    if (v) {
22723                        set_int(sbalways_h, 0);
22724                        v = get_int(sbvis_h);
22725                        if (!v) {
22726                            emit("do-hide-hbar", "");
22727                            set_int(sbvis_h, 0);
22728                        }
22729                    }
22730                }
22731            }
22732            program { name: "sb_hbar_show";
22733                signal: "do-show-hbar";
22734                source: "";
22735                action:  STATE_SET "default" 0.0;
22736                transition: LINEAR 1.0;
22737                target: "sb_hbar_clip";
22738            }
22739            program { name: "sb_hbar_hide";
22740                signal: "do-hide-hbar";
22741                source: "";
22742                action:  STATE_SET "hidden" 0.0;
22743                transition: LINEAR 1.0;
22744                target: "sb_hbar_clip";
22745            }
22746
22747            program { name: "scroll";
22748                signal: "elm,action,scroll";
22749                source: "elm";
22750                script {
22751                    new v;
22752                    v = get_int(sbvis_v);
22753                    v |= get_int(sbalways_v);
22754                    if (!v) {
22755                        emit("do-show-vbar", "");
22756                        set_int(sbvis_v, 1);
22757                    }
22758                    v = get_int(sbvis_h);
22759                    v |= get_int(sbalways_h);
22760                    if (!v) {
22761                        emit("do-show-hbar", "");
22762                        set_int(sbvis_h, 1);
22763                    }
22764                    v = get_int(sbvis_timer);
22765                    if (v > 0) cancel_timer(v);
22766                    v = timer(2.0, "timer0", 0);
22767                    set_int(sbvis_timer, v);
22768                }
22769            }
22770            program { name: "go1";
22771                signal: "elm,state,busy,start";
22772                source: "elm";
22773                action: STATE_SET "active" 0.0;
22774                transition: SINUSOIDAL 1.0;
22775                target:  "busy_clip";
22776            }
22777            program { name: "go2";
22778                signal: "elm,state,busy,start";
22779                source: "elm";
22780                action: STATE_SET "default" 0.0;
22781                transition: LINEAR 0.5;
22782                target: "busy";
22783                after:  "go2";
22784            }
22785            program { name: "stop1";
22786                signal: "elm,state,busy,stop";
22787                source: "elm";
22788                action: STATE_SET "default" 0.0;
22789                transition: SINUSOIDAL 1.0;
22790                target: "busy_clip";
22791                after: "stop2";
22792            }
22793          program { name: "stop2";
22794             action: ACTION_STOP;
22795             target: "go2";
22796          }
22797       }
22798    }
22799    group { name: "elm/map/marker/radio/default";
22800         data {
22801             item: size_w 32;
22802             item: size_h 32;
22803             item: size_max_w 64;
22804             item: size_max_h 64;
22805         }
22806         parts {
22807             part { name: "whole";
22808                 description { state: "default" 0.0;
22809                 }
22810             }
22811             part { name: "base";
22812                 ignore_flags: ON_HOLD;
22813                 description { state: "default" 0.0;
22814                     image.normal: "radio.png";
22815                 }
22816             }
22817             part { name: "elm.icon";
22818                 type: SWALLOW;
22819                 clip_to: "whole";
22820                 mouse_events:  0;
22821                 description { state: "default" 0.0;
22822                     rel1.relative: 0.27 0.27;
22823                     rel2.relative: 0.73 0.73;
22824                 }
22825             }
22826             part { name: "elm.text";
22827                 type:          TEXT;
22828                 effect:        SOFT_SHADOW;
22829                 mouse_events:  0;
22830                 scale: 1;
22831                 description { state: "default" 0.0;
22832                     align:    0.5 0.5;
22833                     color: 224 224 224 255;
22834                     color3: 0 0 0 64;
22835                     rel1.relative: 0.28 0.25;
22836                     rel2.relative: 0.75 0.75;
22837                     text {
22838                         font:     "Sans,Edje-Vera";
22839                         size:     10;
22840                         min:      0 0;
22841                         align:    0.5 0.5;
22842                     }
22843                 }
22844             }
22845        }
22846        programs {
22847             program { name: "open";
22848                 signal: "mouse,clicked,1";
22849                 source: "base";
22850                 action: SIGNAL_EMIT "open" "elm";
22851             }
22852             program { name: "bringin";
22853                 signal: "mouse,down,1,double";
22854                 source: "base";
22855                 action: SIGNAL_EMIT "bringin" "elm";
22856             }
22857        }
22858    }
22859    group { name: "elm/map/marker/radio2/default";
22860         data {
22861             item: size_w 32;
22862             item: size_h 32;
22863             item: size_max_w 64;
22864             item: size_max_h 64;
22865         }
22866         parts {
22867             part { name: "base";
22868                 ignore_flags: ON_HOLD;
22869                 description { state: "default" 0.0;
22870                     image.normal: "radio2.png";
22871                 }
22872             }
22873             part { name: "elm.text";
22874                 type:          TEXT;
22875                 effect:        SOFT_SHADOW;
22876                 mouse_events:  0;
22877                 scale: 1;
22878                 description { state: "default" 0.0;
22879                     align:    0.5 0.5;
22880                     color: 224 224 224 255;
22881                     color3: 0 0 0 64;
22882                     rel1.relative: 0.28 0.25;
22883                     rel2.relative: 0.75 0.75;
22884                     text {
22885                         font:     "Sans,Edje-Vera";
22886                         size:     10;
22887                         min:      0 0;
22888                         align:    0.5 0.5;
22889                     }
22890                 }
22891             }
22892        }
22893        programs {
22894             program { name: "open";
22895                 signal: "mouse,clicked,1";
22896                 source: "base";
22897                 action: SIGNAL_EMIT "open" "elm";
22898             }
22899             program { name: "bringin";
22900                 signal: "mouse,down,1,double";
22901                 source: "base";
22902                 action: SIGNAL_EMIT "bringin" "elm";
22903             }
22904        }
22905    }
22906    group { name: "elm/map/marker/empty/default";
22907         data {
22908             item: size_w 22;
22909             item: size_h 22;
22910             item: size_max_w 64;
22911             item: size_max_h 64;
22912         }
22913         parts {
22914             part { name: "whole";
22915                 description { state: "default" 0.0;
22916                 }
22917             }
22918             part { name: "base";
22919                 ignore_flags: ON_HOLD;
22920                 description { state: "default" 0.0;
22921                 }
22922             }
22923             part { name: "elm.icon";
22924                 type: SWALLOW;
22925                 clip_to: "whole";
22926                 mouse_events:  0;
22927                 description { state: "default" 0.0;
22928                 }
22929             }
22930             part { name: "elm.text";
22931                 type:          TEXT;
22932                 effect:        SOFT_SHADOW;
22933                 mouse_events:  0;
22934                 scale: 1;
22935                 description { state: "default" 0.0;
22936                     align:    0.5 0.5;
22937                     color: 224 224 224 255;
22938                     color3: 0 0 0 64;
22939                     rel1.relative: 0.28 0.25;
22940                     rel2.relative: 0.75 0.75;
22941                     text {
22942                         font:     "Sans,Edje-Vera";
22943                         size:     10;
22944                         min:      0 0;
22945                         align:    0.5 0.5;
22946                     }
22947                 }
22948             }
22949        }
22950        programs {
22951             program { name: "open";
22952                 signal: "mouse,clicked,1";
22953                 source: "base";
22954                 action: SIGNAL_EMIT "open" "elm";
22955             }
22956             program { name: "bringin";
22957                 signal: "mouse,down,1,double";
22958                 source: "base";
22959                 action: SIGNAL_EMIT "bringin" "elm";
22960             }
22961        }
22962    }
22963    group { name: "elm/map/marker_bubble/default";
22964     images {
22965       image: "bubble.png" COMP;
22966       image: "bubble_shine.png" COMP;
22967     }
22968     data {
22969             item: size_w 400;
22970             item: size_h 100;
22971         }
22972     parts {
22973     part { name: "clipper";
22974         mouse_events:  1;
22975         description { state: "default" 0.0;
22976           color: 255 255 255 0;
22977         }
22978         description { state: "show" 0.0;
22979             inherit: "default" 0.0;
22980             color: 255 255 255 255;
22981         }
22982       }
22983      part { name: "base0";
22984         mouse_events:  0;
22985         clip_to: "clipper";
22986         description { state: "default" 0.0;
22987           image {
22988             normal: "bubble.png";
22989             border: 11 36 10 19;
22990           }
22991           image.middle: SOLID;
22992           fill.smooth: 0;
22993         }
22994       }
22995       part { name: "elm.swallow.content";
22996         type: SWALLOW;
22997         clip_to: "clipper";
22998         description { state: "default" 0.0;
22999             align: 0.5 0.5;
23000           rel1 {
23001             offset: 9 8;
23002           }
23003           rel2 {
23004             offset: -10 -17;
23005           }
23006         }
23007       }
23008       part { name: "shine";
23009         mouse_events:  0;
23010         clip_to: "clipper";
23011         description { state:    "default" 0.0;
23012           rel1 {
23013             to: "base0";
23014           }
23015           rel2 {
23016             to: "base0";
23017             relative: 1.0 0.5;
23018           }
23019           image {
23020             normal: "bubble_shine.png";
23021             border: 5 5 5 0;
23022           }
23023           fill.smooth: 0;
23024         }
23025         }
23026     }
23027     programs {
23028         program { name: "show";
23029             signal: "show";
23030             action: STATE_SET "show" 0.0;
23031             target: "clipper";
23032             transition: ACCELERATE 0.5;
23033         }
23034     }
23035   }
23036
23037
23038
23039 /////////////////////////////////////////////////////////////////////////////
23040 // PANEL
23041 /////////////////////////////////////////////////////////////////////////////
23042   group {
23043      name: "elm/panel/base/left";
23044      images
23045        {
23046           image: "bt_base1.png" COMP;
23047           image: "bt_hilight.png" COMP;
23048           image: "bt_shine.png" COMP;
23049           image: "bt_glow.png" COMP;
23050           image: "bt_dis_base.png" COMP;
23051           image: "icon_arrow_left.png" COMP;
23052           image: "icon_arrow_right.png" COMP;
23053        }
23054      parts
23055        {
23056           part
23057             {
23058                name: "bg";
23059                type: RECT;
23060                mouse_events: 0;
23061                description
23062                  {
23063                     state: "default" 0.0;
23064                     color: 255 255 255 0;
23065                     rel1.offset: 30 0;
23066                     rel2.relative: 0.0 1.0;
23067                  }
23068                description
23069                  {
23070                     state: "visible" 0.0;
23071                     inherit: "default" 0.0;
23072                     rel2.relative: 1.0 1.0;
23073                  }
23074             }
23075           part
23076             {
23077                name: "base";
23078                type: IMAGE;
23079                mouse_events: 0;
23080                description
23081                  {
23082                     state: "default" 0.0;
23083                     rel2
23084                       {
23085                          offset: -20 -1;
23086                          to_x: "bg";
23087                       }
23088                     image
23089                       {
23090                          normal: "bt_dis_base.png";
23091                          border: 4 4 4 4;
23092                       }
23093                  }
23094             }
23095           part
23096             {
23097                name: "clipper";
23098                type: RECT;
23099                mouse_events: 0;
23100                description
23101                  {
23102                     state: "default" 0.0;
23103                     rel1
23104                       {
23105                          offset: 4 4;
23106                          to: "base";
23107                       }
23108                     rel2
23109                       {
23110                          offset: -5 -5;
23111                          to: "base";
23112                       }
23113                  }
23114             }
23115           part
23116             {
23117                name: "elm.swallow.content";
23118                type: SWALLOW;
23119                clip_to: "clipper";
23120                description
23121                  {
23122                     state: "default" 0.0;
23123                     rel1.to: "clipper";
23124                     rel2.to: "clipper";
23125                  }
23126             }
23127           part
23128             {
23129                name: "btn";
23130                type: IMAGE;
23131                mouse_events: 1;
23132                description
23133                  {
23134                     state: "default" 0.0;
23135                     max: 32 48;
23136                     fixed: 1 1;
23137                     align: 0.0 0.5;
23138                     rel1
23139                       {
23140                          relative: 1.0 0.0;
23141                          offset: -3 0;
23142                          to_x: "base";
23143                       }
23144                     rel2.to_x: "bg";
23145                     image
23146                       {
23147                          normal: "bt_base1.png";
23148                          border: 0 5 4 12;
23149                       }
23150                     fill.smooth: 0;
23151                  }
23152                description
23153                  {
23154                     state: "clicked" 0.0;
23155                     inherit: "default" 0.0;
23156                  }
23157             }
23158           part
23159             {
23160                name: "btn_over";
23161                type: IMAGE;
23162                mouse_events: 0;
23163                description
23164                  {
23165                     state: "default" 0.0;
23166                     rel1.to: "btn";
23167                     rel2
23168                       {
23169                          relative: 1.0 0.5;
23170                          to: "btn";
23171                       }
23172                     image
23173                       {
23174                          normal: "bt_hilight.png";
23175                          border: 0 7 7 0;
23176                       }
23177                  }
23178             }
23179           part
23180             {
23181                name: "btn_over2";
23182                type: IMAGE;
23183                mouse_events: 1;
23184                repeat_events: 1;
23185                ignore_flags: ON_HOLD;
23186                description
23187                  {
23188                     state: "default" 0.0;
23189                     rel1.to: "btn";
23190                     rel2.to: "btn";
23191                     image
23192                       {
23193                          normal: "bt_shine.png";
23194                          border: 0 7 7 7;
23195                     }
23196                  }
23197             }
23198           part
23199             {
23200                name: "btn_over3";
23201                type: IMAGE;
23202                mouse_events: 1;
23203                repeat_events: 1;
23204                description
23205                  {
23206                     state: "default" 0.0;
23207                     color: 255 255 255 0;
23208                     rel1.to: "btn";
23209                     rel2.to: "btn";
23210                     image
23211                       {
23212                        normal: "bt_glow.png";
23213                        border: 12 12 12 12;
23214                     }
23215                   fill.smooth: 0;
23216                }
23217              description
23218                {
23219                   state: "clicked" 0.0;
23220                   inherit: "default" 0.0;
23221                   visible: 1;
23222                   color: 255 255 255 255;
23223                }
23224             }
23225           part
23226             {
23227                name: "btn_icon";
23228                type: IMAGE;
23229                repeat_events: 1;
23230                description
23231                  {
23232                     state: "default" 0.0;
23233                     rel1.to: "btn";
23234                     rel2.to: "btn";
23235                     align: 0.5 0.5;
23236                     min: 16 16;
23237                     max: 16 16;
23238                     image.normal: "icon_arrow_right.png";
23239                  }
23240                description
23241                  {
23242                     state: "visible" 0.0;
23243                     inherit: "default" 0.0;
23244                     image.normal: "icon_arrow_left.png";
23245                  }
23246             }
23247        }
23248      programs
23249        {
23250           program
23251             {
23252                name: "show";
23253                signal: "elm,action,show";
23254                source: "elm";
23255                action: STATE_SET "visible" 0.0;
23256                target: "bg";
23257                target: "btn_icon";
23258                transition: LINEAR 0.5;
23259             }
23260           program
23261             {
23262                name: "show2";
23263                signal: "show";
23264                action: STATE_SET "default" 0.0;
23265                target: "bg";
23266                target: "btn_icon";
23267                after: "show3";
23268             }
23269           program
23270             {
23271                name: "show3";
23272                action: STATE_SET "visible" 0.0;
23273                target: "bg";
23274                target: "btn_icon";
23275                transition: LINEAR 0.5;
23276             }
23277           program
23278             {
23279                name: "hide";
23280                signal: "elm,action,hide";
23281                source: "elm";
23282                action: STATE_SET "default" 0.0;
23283                target: "bg";
23284                target: "btn_icon";
23285                transition: LINEAR 0.5;
23286             }
23287           program
23288             {
23289                name: "btn_click";
23290                signal: "mouse,down,1";
23291                source: "btn_over2";
23292                action: STATE_SET "clicked" 0.0;
23293                target: "btn";
23294             }
23295           program
23296             {
23297                name: "btn_unclick";
23298                signal: "mouse,up,1";
23299                source: "btn_over2";
23300                action: STATE_SET "default" 0.0;
23301                target: "btn";
23302             }
23303           program
23304             {
23305                name: "btn_click2";
23306                signal: "mouse,down,1";
23307                source: "btn_over3";
23308                action: STATE_SET "clicked" 0.0;
23309                target: "btn_over3";
23310             }
23311           program
23312             {
23313                name: "btn_unclick2";
23314                signal: "mouse,up,1";
23315                source: "btn_over3";
23316                action: STATE_SET "default" 0.0;
23317                transition: DECELERATE 0.5;
23318                target: "btn_over3";
23319             }
23320           program
23321             {
23322                name: "btn_unclick3";
23323                signal: "mouse,up,1";
23324                source: "btn_over2";
23325                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
23326             }
23327        }
23328   }
23329
23330   group {
23331      name: "elm/panel/base/right";
23332      images
23333        {
23334           image: "bt_base1.png" COMP;
23335           image: "bt_hilight.png" COMP;
23336           image: "bt_shine.png" COMP;
23337           image: "bt_glow.png" COMP;
23338           image: "bt_dis_base.png" COMP;
23339           image: "icon_arrow_left.png" COMP;
23340           image: "icon_arrow_right.png" COMP;
23341        }
23342      parts
23343        {
23344           part
23345             {
23346                name: "bg";
23347                type: RECT;
23348                mouse_events: 0;
23349                description
23350                  {
23351                     state: "default" 0.0;
23352                     color: 255 255 255 0;
23353                     rel1.relative: 1 0;
23354                     rel2.offset: -31 0;
23355                  }
23356                description
23357                  {
23358                     state: "visible" 0.0;
23359                     inherit: "default" 0.0;
23360                     rel1.relative: 0 0;
23361                  }
23362             }
23363           part
23364             {
23365                name: "base";
23366                type: IMAGE;
23367                mouse_events: 0;
23368                description
23369                  {
23370                     state: "default" 0.0;
23371                     rel1
23372                       {
23373                          offset: 20 0;
23374                          to_x: "bg";
23375                       }
23376                     rel2.offset: -1 -1;
23377                     image
23378                       {
23379                          normal: "bt_dis_base.png";
23380                          border: 4 4 4 4;
23381                       }
23382                  }
23383             }
23384           part
23385             {
23386                name: "clipper";
23387                type: RECT;
23388                mouse_events: 0;
23389                description
23390                  {
23391                     state: "default" 0.0;
23392                     rel1
23393                       {
23394                          offset: 4 4;
23395                          to: "base";
23396                       }
23397                     rel2
23398                       {
23399                          offset: -5 -5;
23400                          to: "base";
23401                       }
23402                  }
23403             }
23404           part
23405             {
23406                name: "elm.swallow.content";
23407                type: SWALLOW;
23408                clip_to: "clipper";
23409                description
23410                  {
23411                     state: "default" 0.0;
23412                     rel1.to: "clipper";
23413                     rel2.to: "clipper";
23414                  }
23415             }
23416           part
23417             {
23418                name: "btn";
23419                type: IMAGE;
23420                mouse_events: 1;
23421                description
23422                  {
23423                     state: "default" 0.0;
23424                     max: 32 48;
23425                     fixed: 1 1;
23426                     align: 1 0.5;
23427                     rel1
23428                       {
23429                          to_x: "bg";
23430                       }
23431                     rel2
23432                       {
23433                          offset: 2 0;
23434                          relative: 0.0 1;
23435                          to_x: "base";
23436                       }
23437                     image
23438                       {
23439                          normal: "bt_base1.png";
23440                          border: 5 0 4 12;
23441                       }
23442                     fill.smooth: 0;
23443                  }
23444                description
23445                  {
23446                     state: "clicked" 0.0;
23447                     inherit: "default" 0.0;
23448                  }
23449             }
23450           part
23451             {
23452                name: "btn_over";
23453                type: IMAGE;
23454                mouse_events: 0;
23455                description
23456                  {
23457                     state: "default" 0.0;
23458                     rel1.to: "btn";
23459                     rel2
23460                       {
23461                          relative: 1.0 0.5;
23462                          to: "btn";
23463                       }
23464                     image
23465                       {
23466                          normal: "bt_hilight.png";
23467                          border: 7 0 7 0;
23468                       }
23469                  }
23470             }
23471           part
23472             {
23473                name: "btn_over2";
23474                type: IMAGE;
23475                mouse_events: 1;
23476                repeat_events: 1;
23477                ignore_flags: ON_HOLD;
23478                description
23479                  {
23480                     state: "default" 0.0;
23481                     rel1.to: "btn";
23482                     rel2.to: "btn";
23483                     image
23484                       {
23485                          normal: "bt_shine.png";
23486                          border: 7 0 7 7;
23487                     }
23488                  }
23489             }
23490           part
23491             {
23492                name: "btn_over3";
23493                type: IMAGE;
23494                mouse_events: 1;
23495                repeat_events: 1;
23496                description
23497                  {
23498                     state: "default" 0.0;
23499                     color: 255 255 255 0;
23500                     rel1.to: "btn";
23501                     rel2.to: "btn";
23502                     image
23503                       {
23504                        normal: "bt_glow.png";
23505                        border: 12 12 12 12;
23506                     }
23507                   fill.smooth: 0;
23508                }
23509              description
23510                {
23511                   state: "clicked" 0.0;
23512                   inherit: "default" 0.0;
23513                   visible: 1;
23514                   color: 255 255 255 255;
23515                }
23516             }
23517           part
23518             {
23519                name: "btn_icon";
23520                type: IMAGE;
23521                repeat_events: 1;
23522                description
23523                  {
23524                     state: "default" 0.0;
23525                     rel1.to: "btn";
23526                     rel2.to: "btn";
23527                     align: 0.5 0.5;
23528                     min: 16 16;
23529                     max: 16 16;
23530                     image.normal: "icon_arrow_left.png";
23531                  }
23532                description
23533                  {
23534                     state: "visible" 0.0;
23535                     inherit: "default" 0.0;
23536                     image.normal: "icon_arrow_right.png";
23537                  }
23538             }
23539        }
23540      programs
23541        {
23542           program
23543             {
23544                name: "show";
23545                signal: "elm,action,show";
23546                source: "elm";
23547                action: STATE_SET "visible" 0.0;
23548                target: "bg";
23549                target: "btn_icon";
23550                transition: LINEAR 0.5;
23551             }
23552           program
23553             {
23554                name: "show2";
23555                signal: "show";
23556                action: STATE_SET "default" 0.0;
23557                target: "bg";
23558                target: "btn_icon";
23559                after: "show3";
23560             }
23561           program
23562             {
23563                name: "show3";
23564                action: STATE_SET "visible" 0.0;
23565                target: "bg";
23566                target: "btn_icon";
23567                transition: LINEAR 0.5;
23568             }
23569           program
23570             {
23571                name: "hide";
23572                signal: "elm,action,hide";
23573                source: "elm";
23574                action: STATE_SET "default" 0.0;
23575                target: "bg";
23576                target: "btn_icon";
23577                transition: LINEAR 0.5;
23578             }
23579           program
23580             {
23581                name: "btn_click";
23582                signal: "mouse,down,1";
23583                source: "btn_over2";
23584                action: STATE_SET "clicked" 0.0;
23585                target: "btn";
23586             }
23587           program
23588             {
23589                name: "btn_unclick";
23590                signal: "mouse,up,1";
23591                source: "btn_over2";
23592                action: STATE_SET "default" 0.0;
23593                target: "btn";
23594             }
23595           program
23596             {
23597                name: "btn_click2";
23598                signal: "mouse,down,1";
23599                source: "btn_over3";
23600                action: STATE_SET "clicked" 0.0;
23601                target: "btn_over3";
23602             }
23603           program
23604             {
23605                name: "btn_unclick2";
23606                signal: "mouse,up,1";
23607                source: "btn_over3";
23608                action: STATE_SET "default" 0.0;
23609                transition: DECELERATE 0.5;
23610                target: "btn_over3";
23611             }
23612           program
23613             {
23614                name: "btn_unclick3";
23615                signal: "mouse,up,1";
23616                source: "btn_over2";
23617                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
23618             }
23619        }
23620   }
23621
23622 ///////////////////////////////////////////////////////////////////////////////
23623   group { name: "elm/conformant/base/default";
23624      parts {
23625         part { name: "elm.swallow.shelf";
23626            type: SWALLOW;
23627            description { state: "default" 0.0;
23628               fixed: 1 1;
23629               align: 0.0 0.0;
23630               rel2.relative: 1.0 0.0;
23631            }
23632         }
23633         part { name: "elm.swallow.content";
23634            type: SWALLOW;
23635            description { state: "default" 0.0;
23636               align: 0.5 0.5;
23637               rel1.relative: 0.0 1.0;
23638               rel1.to_y: "elm.swallow.shelf";
23639               rel2.relative: 1.0 0.0;
23640               rel2.to_y: "elm.swallow.panel";
23641            }
23642         }
23643         part { name: "elm.swallow.panel";
23644            type: SWALLOW;
23645            description { state: "default" 0.0;
23646               fixed: 1 1;
23647               align: 0.0 1.0;
23648               rel1.relative: 0.0 1.0;
23649            }
23650         }
23651      }
23652   }
23653 }