[button,panes] Merged and updated the Button and Panes.
[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: 2 2;
122                rel2.offset: -3 -3;
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                rel1.offset: 2 2;
133                rel2.offset: -3 -3;
134             }
135          }
136          part { name: "elm.swallow.content";
137             clip_to: "clipper";
138             type: SWALLOW;
139             description { state: "default" 0.0;
140                rel1.to: "bg";
141                rel2.to: "bg";
142                rel1.offset: 2 2;
143                rel2.offset: -3 -3;
144             }
145          }
146          part { name: "conf_over";
147             mouse_events:  0;
148             description { state: "default" 0.0;
149                rel1.to: "bg";
150                rel2.to: "bg";
151                image {
152                   normal: "shelf_inset.png";
153                   border: 7 7 7 7;
154                   middle: 0;
155                }
156                fill.smooth : 0;
157             }
158          }
159          part { name: "sb_vbar_clip_master";
160             type: RECT;
161             mouse_events: 0;
162             description { state: "default" 0.0;
163             }
164             description { state: "hidden" 0.0;
165                visible: 0;
166                color: 255 255 255 0;
167             }
168          }
169          part { name: "sb_vbar_clip";
170             clip_to: "sb_vbar_clip_master";
171             type: RECT;
172             mouse_events: 0;
173             description { state: "default" 0.0;
174             }
175             description { state: "hidden" 0.0;
176                visible: 0;
177                color: 255 255 255 0;
178             }
179          }
180          part { name: "sb_vbar";
181             type: RECT;
182             mouse_events: 0;
183             description { state: "default" 0.0;
184                fixed: 1 1;
185                visible: 0;
186                min: 17 17;
187                align: 1.0 0.0;
188                rel1 {
189                   relative: 1.0 0.0;
190                   offset:   -2 2;
191                   to_y:     "elm.swallow.content";
192                }
193                rel2 {
194                   relative: 1.0 0.0;
195                   offset:   -2 -1;
196                   to_y:     "sb_hbar";
197                }
198             }
199          }
200          part { name: "sb_vbar_runner";
201             clip_to: "sb_vbar_clip";
202             mouse_events: 0;
203             description { state: "default" 0.0;
204                min: 3 3;
205                max: 3 99999;
206                rel1.to:       "sb_vbar";
207                rel2.to:       "sb_vbar";
208                image {
209                   normal: "sb_runnerv.png";
210                   border: 0 0 4 4;
211                }
212                fill.smooth: 0;
213             }
214          }
215          part { name: "elm.dragable.vbar";
216             clip_to: "sb_vbar_clip";
217             mouse_events: 0;
218             dragable {
219                x: 0 0 0;
220                y: 1 1 0;
221                confine: "sb_vbar";
222             }
223             description { state: "default" 0.0;
224                fixed: 1 1;
225                min: 17 17;
226                rel1 {
227                   relative: 0.5  0.5;
228                   offset:   0    0;
229                   to: "sb_vbar";
230                }
231                rel2 {
232                   relative: 0.5  0.5;
233                   offset:   0    0;
234                   to: "sb_vbar";
235                }
236                image {
237                   normal: "bt_sm_base2.png";
238                   border: 6 6 6 6;
239                }
240                image.middle: SOLID;
241             }
242          }
243          part { name: "sb_vbar_over1";
244             clip_to: "sb_vbar_clip";
245             mouse_events: 0;
246             description { state: "default" 0.0;
247                rel1.to: "elm.dragable.vbar";
248                rel2.relative: 1.0 0.5;
249                rel2.to: "elm.dragable.vbar";
250                image {
251                   normal: "bt_sm_hilight.png";
252                   border: 6 6 6 0;
253                }
254             }
255          }
256          part { name: "sb_vbar_over2";
257             clip_to: "sb_vbar_clip";
258             mouse_events: 0;
259             description { state: "default" 0.0;
260                rel1.to: "elm.dragable.vbar";
261                rel2.to: "elm.dragable.vbar";
262                image {
263                   normal: "bt_sm_shine.png";
264                   border: 6 6 6 0;
265                }
266             }
267          }
268
269          part { name: "sb_hbar_clip_master";
270             type: RECT;
271             mouse_events: 0;
272             description { state: "default" 0.0;
273             }
274             description { state: "hidden" 0.0;
275                visible: 0;
276                color: 255 255 255 0;
277             }
278          }
279          part { name: "sb_hbar_clip";
280             clip_to: "sb_hbar_clip_master";
281             type: RECT;
282             mouse_events: 0;
283             description { state: "default" 0.0;
284             }
285             description { state: "hidden" 0.0;
286                visible: 0;
287                color: 255 255 255 0;
288             }
289          }
290          part { name: "sb_hbar";
291             type: RECT;
292             mouse_events: 0;
293             description { state: "default" 0.0;
294                fixed: 1 1;
295                visible: 0;
296                min: 17 17;
297                align: 0.0 1.0;
298                rel1 {
299                   relative: 0.0 1.0;
300                   offset:   2 -2;
301                   to_x:     "elm.swallow.content";
302                }
303                rel2 {
304                   relative: 0.0 1.0;
305                   offset:   -1 -2;
306                   to_x:     "sb_vbar";
307                }
308             }
309          }
310          part { name: "sb_hbar_runner";
311             clip_to: "sb_hbar_clip";
312             mouse_events: 0;
313             description { state: "default" 0.0;
314                min: 3 3;
315                max: 99999 3;
316                rel1.to:       "sb_hbar";
317                rel2.to:       "sb_hbar";
318                image {
319                   normal: "sb_runnerh.png";
320                   border: 4 4 0 0;
321                }
322                fill.smooth: 0;
323             }
324          }
325          part { name: "elm.dragable.hbar";
326             clip_to: "sb_hbar_clip";
327             mouse_events: 0;
328             dragable {
329                x: 1 1 0;
330                y: 0 0 0;
331                confine: "sb_hbar";
332             }
333             description { state: "default" 0.0;
334                fixed: 1 1;
335                min: 17 17;
336                rel1 {
337                   relative: 0.5  0.5;
338                   offset:   0    0;
339                   to: "sb_hbar";
340                }
341                rel2 {
342                   relative: 0.5  0.5;
343                   offset:   0    0;
344                   to: "sb_hbar";
345                }
346                image {
347                   normal: "bt_sm_base2.png";
348                   border: 6 6 6 6;
349                }
350                image.middle: SOLID;
351             }
352          }
353          part { name: "sb_hbar_over1";
354             clip_to: "sb_hbar_clip";
355             mouse_events: 0;
356             description { state: "default" 0.0;
357                rel1.to: "elm.dragable.hbar";
358                rel2.relative: 1.0 0.5;
359                rel2.to: "elm.dragable.hbar";
360                image {
361                   normal: "bt_sm_hilight.png";
362                   border: 6 6 6 0;
363                }
364             }
365          }
366          part { name: "sb_hbar_over2";
367             clip_to: "sb_hbar_clip";
368             mouse_events: 0;
369             description { state: "default" 0.0;
370                rel1.to: "elm.dragable.hbar";
371                rel2.to: "elm.dragable.hbar";
372                image {
373                   normal: "bt_sm_shine.png";
374                   border: 6 6 6 0;
375                }
376             }
377          }
378       }
379       programs {
380          program { name: "load";
381             signal: "load";
382             source: "";
383             script {
384                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
385                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
386                set_int(sbvis_h, 0);
387                set_int(sbvis_v, 0);
388                set_int(sbalways_v, 0);
389                set_int(sbalways_h, 0);
390                set_int(sbvis_timer, 0);
391             }
392          }
393
394          program { name: "vbar_show";
395             signal: "elm,action,show,vbar";
396             source: "elm";
397             action:  STATE_SET "default" 0.0;
398             target: "sb_vbar_clip_master";
399          }
400          program { name: "vbar_hide";
401             signal: "elm,action,hide,vbar";
402             source: "elm";
403             action:  STATE_SET "hidden" 0.0;
404             target: "sb_vbar_clip_master";
405          }
406          program { name: "vbar_show_always";
407             signal: "elm,action,show_always,vbar";
408             source: "elm";
409             script {
410                new v;
411                v = get_int(sbvis_v);
412                v |= get_int(sbalways_v);
413                if (!v) {
414                   set_int(sbalways_v, 1);
415                   emit("do-show-vbar", "");
416                   set_int(sbvis_v, 1);
417                }
418             }
419          }
420          program { name: "vbar_show_notalways";
421             signal: "elm,action,show_notalways,vbar";
422             source: "elm";
423             script {
424                new v;
425                v = get_int(sbalways_v);
426                if (v) {
427                   set_int(sbalways_v, 0);
428                   v = get_int(sbvis_v);
429                   if (!v) {
430                      emit("do-hide-vbar", "");
431                      set_int(sbvis_v, 0);
432                   }
433                }
434             }
435          }
436          program { name: "sb_vbar_show";
437             signal: "do-show-vbar";
438             source: "";
439             action:  STATE_SET "default" 0.0;
440             transition: LINEAR 1.0;
441             target: "sb_vbar_clip";
442          }
443          program { name: "sb_vbar_hide";
444             signal: "do-hide-vbar";
445             source: "";
446             action:  STATE_SET "hidden" 0.0;
447             transition: LINEAR 1.0;
448             target: "sb_vbar_clip";
449          }
450
451          program { name: "hbar_show";
452             signal: "elm,action,show,hbar";
453             source: "elm";
454             action:  STATE_SET "default" 0.0;
455             target: "sb_hbar_clip_master";
456          }
457          program { name: "hbar_hide";
458             signal: "elm,action,hide,hbar";
459             source: "elm";
460             action:  STATE_SET "hidden" 0.0;
461             target: "sb_hbar_clip_master";
462          }
463          program { name: "hbar_show_always";
464             signal: "elm,action,show_always,hbar";
465             source: "elm";
466             script {
467                new v;
468                v = get_int(sbvis_h);
469                v |= get_int(sbalways_h);
470                if (!v) {
471                   set_int(sbalways_h, 1);
472                   emit("do-show-hbar", "");
473                   set_int(sbvis_h, 1);
474                }
475             }
476          }
477          program { name: "hbar_show_notalways";
478             signal: "elm,action,show_notalways,hbar";
479             source: "elm";
480             script {
481                new v;
482                v = get_int(sbalways_h);
483                if (v) {
484                   set_int(sbalways_h, 0);
485                   v = get_int(sbvis_h);
486                   if (!v) {
487                      emit("do-hide-hbar", "");
488                      set_int(sbvis_h, 0);
489                   }
490                }
491             }
492          }
493          program { name: "sb_hbar_show";
494             signal: "do-show-hbar";
495             source: "";
496             action:  STATE_SET "default" 0.0;
497             transition: LINEAR 1.0;
498             target: "sb_hbar_clip";
499          }
500          program { name: "sb_hbar_hide";
501             signal: "do-hide-hbar";
502             source: "";
503             action:  STATE_SET "hidden" 0.0;
504             transition: LINEAR 1.0;
505             target: "sb_hbar_clip";
506          }
507
508          program { name: "scroll";
509             signal: "elm,action,scroll";
510             source: "elm";
511             script {
512                new v;
513                v = get_int(sbvis_v);
514                v |= get_int(sbalways_v);
515                if (!v) {
516                   emit("do-show-vbar", "");
517                   set_int(sbvis_v, 1);
518                }
519                v = get_int(sbvis_h);
520                v |= get_int(sbalways_h);
521                if (!v) {
522                   emit("do-show-hbar", "");
523                   set_int(sbvis_h, 1);
524                }
525                v = get_int(sbvis_timer);
526                if (v > 0) cancel_timer(v);
527                v = timer(2.0, "timer0", 0);
528                set_int(sbvis_timer, v);
529             }
530          }
531       }
532    }
533
534 ///////////////////////////////////////////////////////////////////////////////
535    group { name: "elm/label/base/default";
536       data.item: "default_font_size" "24";
537       data.item: "min_font_size" "8";
538       data.item: "max_font_size" "60";
539       styles {
540          style { name: "textblock_style";
541             base: "font=Sans font_size=10 color=#000 wrap=word";
542             tag:  "br" "\n";
543             tag:  "ps" "ps";
544             tag:  "hilight" "+ font=Sans:style=Bold";
545             tag:  "b" "+ font=Sans:style=Bold";
546             tag:  "tab" "\t";
547            }
548         }
549       parts {
550          part { name: "label.swallow.background";
551             type: SWALLOW;
552             description { state: "default" 0.0;
553                visible: 1;
554                rel1 { relative: 0 0; to: "elm.text"; }
555                rel2 { relative: 1 1; to: "elm.text"; }
556             }
557          }
558          part { name: "elm.text";
559             type: TEXTBLOCK;
560             mouse_events: 0;
561             scale: 1;
562             description { state: "default" 0.0;
563                text {
564                   style: "textblock_style";
565                   min: 1 1;
566                }
567             }
568          }
569       }
570    }
571
572    group { name: "elm/label/base_wrap/default";
573       data.item: "default_font_size" "24";
574       data.item: "min_font_size" "8";
575       data.item: "max_font_size" "60";
576       parts {
577          part { name: "label.swallow.background";
578             type: SWALLOW;
579             description { state: "default" 0.0;
580                visible: 1;
581                rel1 { relative: 0 0; to: "elm.text"; }
582                rel2 { relative: 1 1; to: "elm.text"; }
583             }
584          }
585          part { name: "elm.text";
586             type: TEXTBLOCK;
587             mouse_events: 0;
588             scale: 1;
589             description { state: "default" 0.0;
590                text {
591                   style: "textblock_style";
592                   min: 0 1;
593                }
594             }
595          }
596       }
597    }
598
599    group { name: "elm/label/base_wrap_ellipsis/default";
600       data.item: "default_font_size" "24";
601       data.item: "min_font_size" "8";
602       data.item: "max_font_size" "60";
603       parts {
604          part { name: "label.swallow.background";
605             type: SWALLOW;
606             description { state: "default" 0.0;
607                visible: 1;
608                rel1 { relative: 0 0; to: "elm.text"; }
609                rel2 { relative: 1 1; to: "elm.text"; }
610             }
611          }
612
613          part { name: "elm.text";
614             type: TEXTBLOCK;
615             mouse_events: 0;
616             scale: 1;
617             description { state: "default" 0.0;
618                // FIXME : fixed for multiline ellipsis.
619                //         does it need to make another ellipsis style? 
620                fixed: 0 1; 
621                text {
622                   style: "textblock_style";
623                   min: 0 1;
624                }
625             }
626          }
627       }
628    }
629
630    group { name: "elm/label/base/marker";
631       data.item: "default_font_size" "24";
632       data.item: "min_font_size" "8";
633       data.item: "max_font_size" "60";
634       styles {
635          style { name: "textblock_style2";
636            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word";
637            tag:  "br" "\n";
638            tag:  "ps" "ps";
639            tag:  "hilight" "+ color=#ffff";
640            tag:  "b" "+ color=#ffff";
641            tag:  "tab" "\t";
642          }
643       }
644       parts {
645          part { name: "label.swallow.background";
646             type: SWALLOW;
647             description { state: "default" 0.0;
648                visible: 1;
649                rel1 { relative: 0 0; to: "elm.text"; }
650                rel2 { relative: 1 1; to: "elm.text"; }
651             }
652          }
653          part { name: "elm.text";
654             type: TEXTBLOCK;
655             mouse_events: 0;
656             scale: 1;
657             description { state: "default" 0.0;
658                text {
659                   style: "textblock_style2";
660                   min: 1 1;
661                }
662             }
663          }
664       }
665    }
666
667    group { name: "elm/label/base_wrap/marker";
668       data.item: "default_font_size" "24";
669       data.item: "min_font_size" "8";
670       data.item: "max_font_size" "60";
671       parts {
672          part { name: "label.swallow.background";
673             type: SWALLOW;
674             description { state: "default" 0.0;
675                visible: 1;
676                rel1 { relative: 0 0; to: "elm.text"; }
677                rel2 { relative: 1 1; to: "elm.text"; }
678             }
679          }
680          part { name: "elm.text";
681             type: TEXTBLOCK;
682             mouse_events: 0;
683             scale: 1;
684             description { state: "default" 0.0;
685                text {
686                   style: "textblock_style2";
687                   min: 0 1;
688                }
689             }
690          }
691       }
692    }
693
694 ///////////////////////////////////////////////////////////////////////////////
695
696    group { name: "elm/button/base/default";
697       images {
698          image: "bt_base1.png" COMP;
699          image: "bt_base2.png" COMP;
700          image: "bt_hilight.png" COMP;
701          image: "bt_shine.png" COMP;
702          image: "bt_glow.png" COMP;
703          image: "bt_dis_base.png" COMP;
704          image: "bt_dis_hilight.png" COMP;
705       }
706       parts {
707          part { name: "button_image";
708             mouse_events: 1;
709             description { state: "default" 0.0;
710           min: 15 15;
711                image {
712                   normal: "bt_base2.png";
713                   border: 7 7 7 7;
714                }
715                image.middle: SOLID;
716             }
717             description { state: "clicked" 0.0;
718                inherit: "default" 0.0;
719                image.normal: "bt_base1.png";
720                image.middle: SOLID;
721             }
722             description { state: "disabled" 0.0;
723                inherit:  "default" 0.0;
724                image {
725                   normal: "bt_dis_base.png";
726                   border: 4 4 4 4;
727                }
728             }
729          }
730          part { name: "elm.swallow.content";
731             type: SWALLOW;
732             description { state: "default" 0.0;
733                fixed: 1 0;
734                visible: 0;
735                align: 0.0 0.5;
736                rel1.offset: 4 4;
737                rel2.offset: 3 -5;
738                rel2.relative: 0.0 1.0;
739             }
740             description { state: "visible" 0.0;
741                inherit: "default" 0.0;
742                fixed: 1 0;
743                visible: 1;
744                aspect: 1.0 1.0;
745 //             aspect_preference: VERTICAL;
746                rel2.offset: 4 -5;
747             }
748             description { state: "icononly" 0.0;
749                inherit: "default" 0.0;
750                fixed: 0 0;
751                visible: 1;
752                align: 0.5 0.5;
753 //             aspect: 1.0 1.0;
754                rel2.offset: -5 -5;
755                rel2.relative: 1.0 1.0;
756 //             aspect_preference: VERTICAL;
757             }
758          }
759          part {
760             name:          "elm.text";
761             type:          TEXT;
762             effect:        SOFT_SHADOW;
763             mouse_events:  0;
764             scale: 1;
765             description { state: "default" 0.0;
766                visible: 0;
767                rel1.to_x: "elm.swallow.content";
768                rel1.relative: 1.0 0.0;
769                rel1.offset: 0 4;
770                rel2.offset: -5 -5;
771                color: 224 224 224 255;
772                color3: 0 0 0 64;
773                text {
774                   font:     "Sans,Edje-Vera";
775                   size:     10;
776                   min:      0 0;
777                   align:    0.5 0.5;
778                   text_class: "button";
779                }
780             }
781             description { state: "visible" 0.0;
782                inherit: "default" 0.0;
783                visible: 1;
784                text.min: 1 1;
785             }
786             description { state: "disabled" 0.0;
787                inherit: "default" 0.0;
788                color: 0 0 0 128;
789                color3: 0 0 0 0;
790             }
791             description { state: "disabled_visible" 0.0;
792                inherit: "default" 0.0;
793                color: 0 0 0 128;
794                color3: 0 0 0 0;
795                visible: 1;
796                text.min: 1 1;
797             }
798          }
799          part {   name: "over1";
800             mouse_events: 0;
801             description { state: "default" 0.0;
802                rel2.relative: 1.0 0.5;
803                image {
804                   normal: "bt_hilight.png";
805                   border: 7 7 7 0;
806                }
807             }
808             description { state: "disabled" 0.0;
809                inherit:  "default" 0.0;
810                image {
811                   normal: "bt_dis_hilight.png";
812                   border: 4 4 4 0;
813                }
814             }
815          }
816          part { name: "over2";
817             mouse_events: 1;
818             repeat_events: 1;
819             ignore_flags: ON_HOLD;
820             description { state: "default" 0.0;
821                image {
822                   normal: "bt_shine.png";
823                   border: 7 7 7 7;
824                }
825             }
826             description { state: "disabled" 0.0;
827                inherit:  "default" 0.0;
828                visible: 0;
829             }
830          }
831          part { name: "over3";
832             mouse_events: 1;
833             repeat_events: 1;
834             description { state: "default" 0.0;
835                color: 255 255 255 0;
836                image {
837                   normal: "bt_glow.png";
838                   border: 12 12 12 12;
839                }
840                fill.smooth : 0;
841             }
842             description { state: "clicked" 0.0;
843                inherit:  "default" 0.0;
844                color: 255 255 255 255;
845             }
846          }
847          part { name: "disabler";
848             type: RECT;
849             description { state: "default" 0.0;
850                color: 0 0 0 0;
851                visible: 0;
852             }
853             description { state: "disabled" 0.0;
854                inherit: "default" 0.0;
855                visible: 1;
856             }
857          }
858       }
859       programs {
860          program {
861             name:   "button_click";
862             signal: "mouse,down,1";
863             source: "over2";
864             action: SIGNAL_EMIT "elm,action,press" "";
865             after: "button_click_anim";
866          }
867          program {
868             name:   "button_click_anim";
869             action: STATE_SET "clicked" 0.0;
870             target: "button_image";
871          }
872          program {
873             name:   "button_unclick";
874             signal: "mouse,up,1";
875             source: "over3";
876             action: SIGNAL_EMIT "elm,action,unpress" "";
877             after: "button_unclick_anim";
878          }
879          program {
880             name:   "button_pressed_anim";
881             signal: "elm,anim,activate";
882             source: "elm";
883             action: STATE_SET "clicked" 0.0;
884             target: "button_image";
885             target: "over3";
886             after: "button_unpressed_anim";
887          }
888          program {
889             name:   "button_unpressed_anim";
890             action: STATE_SET "default" 0.0;
891             transition: DECELERATE 0.5;
892             target: "button_image";
893             target: "over3";
894          }
895          program {
896             name:   "button_unclick_anim";
897             action: STATE_SET "default" 0.0;
898             target: "button_image";
899          }
900          program {
901             name:   "button_click2";
902             signal: "mouse,down,1";
903             source: "over3";
904             action: STATE_SET "clicked" 0.0;
905             target: "over3";
906          }
907          program {
908             name:   "button_unclick2";
909             signal: "mouse,up,1";
910             source: "over3";
911             action: STATE_SET "default" 0.0;
912             transition: DECELERATE 0.5;
913             target: "over3";
914          }
915          program {
916             name:   "button_unclick3";
917             signal: "mouse,clicked,1";
918             source: "over2";
919             action: SIGNAL_EMIT "elm,action,click" "";
920          }
921          program { name: "text_show";
922             signal: "elm,state,text,visible";
923             source: "elm";
924             script {
925                new st[31];
926                new Float:vl;
927                get_state(PART:"elm.swallow.content", st, 30, vl);
928                if (!strcmp(st, "icononly"))
929                  set_state(PART:"elm.swallow.content", "visible", 0.0);
930                set_state(PART:"elm.text", "visible", 0.0);
931             }
932          }
933          program { name: "text_hide";
934             signal: "elm,state,text,hidden";
935             source: "elm";
936             script {
937                new st[31];
938                new Float:vl;
939                get_state(PART:"elm.swallow.content", st, 30, vl);
940                if (!strcmp(st, "visible"))
941                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
942                set_state(PART:"elm.text", "default", 0.0);
943             }
944          }
945          program { name: "icon_show";
946             signal: "elm,state,icon,visible";
947             source: "elm";
948             script {
949                new st[31];
950                new Float:vl;
951                get_state(PART:"elm.text", st, 30, vl);
952                if (!strcmp(st, "visible"))
953                  set_state(PART:"elm.swallow.content", "visible", 0.0);
954                else
955                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
956             }
957          }
958          program { name: "icon_hide";
959             signal: "elm,state,icon,hidden";
960             source: "elm";
961             action:  STATE_SET "default" 0.0;
962             target: "elm.swallow.content";
963          }
964          program { name: "disable";
965             signal: "elm,state,disabled";
966             source: "elm";
967             action: STATE_SET "disabled" 0.0;
968             target: "button_image";
969             target: "over1";
970             target: "over2";
971             target: "disabler";
972             after: "disable_text";
973          }
974          program { name: "disable_text";
975             script {
976                new st[31];
977                new Float:vl;
978                get_state(PART:"elm.text", st, 30, vl);
979                if (!strcmp(st, "visible"))
980                  set_state(PART:"elm.text", "disabled_visible", 0.0);
981                else
982                  set_state(PART:"elm.text", "disabled", 0.0);
983             }
984          }
985          program { name: "enable";
986             signal: "elm,state,enabled";
987             source: "elm";
988             action: STATE_SET "default" 0.0;
989             target: "button_image";
990             target: "over1";
991             target: "over2";
992             target: "disabler";
993             after: "enable_text";
994          }
995          program { name: "enable_text";
996             script {
997                new st[31];
998                new Float:vl;
999                get_state(PART:"elm.text", st, 30, vl);
1000                if (!strcmp(st, "disabled_visible"))
1001                  set_state(PART:"elm.text", "visible", 0.0);
1002                else
1003                  set_state(PART:"elm.text", "default", 0.0);
1004             }
1005          }
1006       }
1007    }
1008
1009    group { name: "elm/button/base/hoversel_vertical/default";
1010       alias: "elm/button/base/hoversel_vertical/entry";
1011       alias: "elm/button/base/hoversel_horizontal/default";
1012       alias: "elm/button/base/hoversel_horizontal/entry";
1013       images {
1014          image: "bt_base1.png" COMP;
1015          image: "bt_base2.png" COMP;
1016          image: "bt_hilight.png" COMP;
1017          image: "bt_shine.png" COMP;
1018          image: "bt_glow.png" COMP;
1019          image: "updown.png" COMP;
1020          image: "bt_dis_base.png" COMP;
1021          image: "bt_dis_hilight.png" COMP;
1022       }
1023       parts {
1024          part { name: "button_image";
1025             mouse_events: 1;
1026             description { state: "default" 0.0;
1027                image {
1028                   normal: "bt_base2.png";
1029                   border: 7 7 7 7;
1030                }
1031                image.middle: SOLID;
1032             }
1033             description { state: "clicked" 0.0;
1034                inherit: "default" 0.0;
1035                image.normal: "bt_base1.png";
1036                image.middle: SOLID;
1037             }
1038             description { state: "disabled" 0.0;
1039                inherit:  "default" 0.0;
1040                image {
1041                   normal: "bt_dis_base.png";
1042                   border: 4 4 4 4;
1043                }
1044             }
1045          }
1046          part { name: "arrow";
1047             mouse_events: 0;
1048             description { state: "default" 0.0;
1049                image.normal: "updown.png";
1050                aspect: 0.6666666666 0.6666666666;
1051                aspect_preference: VERTICAL;
1052                rel1.offset: 6 7;
1053                rel2.offset: 6 -7;
1054                rel2.relative: 0.0 1.0;
1055                align: 0.0 0.5;
1056             }
1057          }
1058          part { name: "elm.swallow.content";
1059             type: SWALLOW;
1060             description { state: "default" 0.0;
1061                fixed: 1 0;
1062                visible: 0;
1063                align: 0.0 0.5;
1064                rel1 {
1065                   to_x: "arrow";
1066                   offset: 2 4;
1067                   relative: 1.0 0.0;
1068                }
1069                rel2 {
1070                   to_x: "arrow";
1071                   offset: 1 -5;
1072                   relative: 1.0 1.0;
1073                }
1074             }
1075             description { state: "visible" 0.0;
1076                inherit: "default" 0.0;
1077                fixed: 0 0;
1078                visible: 1;
1079                aspect: 1.0 1.0;
1080                aspect_preference: VERTICAL;
1081                rel2.offset: 2 -5;
1082             }
1083             description { state: "icononly" 0.0;
1084                inherit: "default" 0.0;
1085                fixed: 0 0;
1086                visible: 1;
1087                align: 0.5 0.5;
1088                aspect: 1.0 1.0;
1089                rel1 {
1090                   to_x: "button_image";
1091                   offset: -5 -5;
1092                   relative: 1.0 1.0;
1093                }
1094                aspect_preference: VERTICAL;
1095             }
1096          }
1097          part {
1098             name:          "elm.text";
1099             type:          TEXT;
1100             effect:        SOFT_SHADOW;
1101             mouse_events:  0;
1102             scale: 1;
1103             description { state: "default" 0.0;
1104                visible: 0;
1105                rel1.to_x: "elm.swallow.content";
1106                rel1.relative: 1.0 0.0;
1107                rel1.offset: 0 4;
1108                rel2.offset: -5 -5;
1109                color: 224 224 224 255;
1110                color3: 0 0 0 64;
1111                text {
1112                   font:     "Sans,Edje-Vera";
1113                   size:     10;
1114                   min:      0 0;
1115                   align:    0.5 0.5;
1116                   text_class: "button";
1117                }
1118             }
1119             description { state: "visible" 0.0;
1120                inherit: "default" 0.0;
1121                visible: 1;
1122                text.min: 1 1;
1123             }
1124             description { state: "disabled" 0.0;
1125                inherit: "default" 0.0;
1126                color: 0 0 0 128;
1127                color3: 0 0 0 0;
1128             }
1129             description { state: "disabled_visible" 0.0;
1130                inherit: "default" 0.0;
1131                color: 0 0 0 128;
1132                color3: 0 0 0 0;
1133                visible: 1;
1134                text.min: 1 1;
1135             }
1136          }
1137          part {   name: "over1";
1138             mouse_events: 0;
1139             description { state: "default" 0.0;
1140                rel2.relative: 1.0 0.5;
1141                image {
1142                   normal: "bt_hilight.png";
1143                   border: 7 7 7 0;
1144                }
1145             }
1146             description { state: "disabled" 0.0;
1147                inherit:  "default" 0.0;
1148                image {
1149                   normal: "bt_dis_hilight.png";
1150                   border: 4 4 4 0;
1151                }
1152             }
1153          }
1154          part { name: "over2";
1155             mouse_events: 1;
1156             repeat_events: 1;
1157             ignore_flags: ON_HOLD;
1158             description { state: "default" 0.0;
1159                image {
1160                   normal: "bt_shine.png";
1161                   border: 7 7 7 7;
1162                }
1163             }
1164             description { state: "disabled" 0.0;
1165                inherit:  "default" 0.0;
1166                visible: 0;
1167             }
1168          }
1169          part { name: "over3";
1170             mouse_events: 1;
1171             repeat_events: 1;
1172             description { state: "default" 0.0;
1173                color: 255 255 255 0;
1174                image {
1175                   normal: "bt_glow.png";
1176                   border: 12 12 12 12;
1177                }
1178                fill.smooth : 0;
1179             }
1180             description { state: "clicked" 0.0;
1181                inherit:  "default" 0.0;
1182                visible: 1;
1183                color: 255 255 255 255;
1184             }
1185          }
1186          part { name: "disabler";
1187             type: RECT;
1188             description { state: "default" 0.0;
1189                color: 0 0 0 0;
1190                visible: 0;
1191             }
1192             description { state: "disabled" 0.0;
1193                inherit: "default" 0.0;
1194                visible: 1;
1195             }
1196          }
1197       }
1198       programs {
1199          program {
1200             name:   "button_click";
1201             signal: "mouse,down,1";
1202             source: "over2";
1203             action: STATE_SET "clicked" 0.0;
1204             target: "button_image";
1205          }
1206          program {
1207             name:   "button_unclick";
1208             signal: "mouse,up,1";
1209             source: "over2";
1210             action: STATE_SET "default" 0.0;
1211             target: "button_image";
1212          }
1213          program {
1214             name:   "button_click2";
1215             signal: "mouse,down,1";
1216             source: "over3";
1217             action: STATE_SET "clicked" 0.0;
1218             target: "over3";
1219          }
1220          program {
1221             name:   "button_unclick2";
1222             signal: "mouse,up,1";
1223             source: "over3";
1224             action: STATE_SET "default" 0.0;
1225             transition: DECELERATE 0.5;
1226             target: "over3";
1227          }
1228          program {
1229             name:   "button_unclick3";
1230             signal: "mouse,up,1";
1231             source: "over2";
1232             action: SIGNAL_EMIT "elm,action,click" "";
1233          }
1234          program { name: "text_show";
1235             signal: "elm,state,text,visible";
1236             source: "elm";
1237             script {
1238                new st[31];
1239                new Float:vl;
1240                get_state(PART:"elm.swallow.content", st, 30, vl);
1241                if (!strcmp(st, "icononly"))
1242                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1243                set_state(PART:"elm.text", "visible", 0.0);
1244             }
1245          }
1246          program { name: "text_hide";
1247             signal: "elm,state,text,hidden";
1248             source: "elm";
1249             script {
1250                new st[31];
1251                new Float:vl;
1252                get_state(PART:"elm.swallow.content", st, 30, vl);
1253                if (!strcmp(st, "visible"))
1254                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1255                set_state(PART:"elm.text", "default", 0.0);
1256             }
1257          }
1258          program { name: "icon_show";
1259             signal: "elm,state,icon,visible";
1260             source: "elm";
1261             script {
1262                new st[31];
1263                new Float:vl;
1264                get_state(PART:"elm.text", st, 30, vl);
1265                if (!strcmp(st, "visible"))
1266                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1267                else
1268                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1269             }
1270          }
1271          program { name: "icon_hide";
1272             signal: "elm,state,icon,hidden";
1273             source: "elm";
1274             action:  STATE_SET "default" 0.0;
1275             target: "elm.swallow.content";
1276          }
1277          program { name: "disable";
1278             signal: "elm,state,disabled";
1279             source: "elm";
1280             action: STATE_SET "disabled" 0.0;
1281             target: "button_image";
1282             target: "over1";
1283             target: "over2";
1284             target: "disabler";
1285             after: "disable_text";
1286          }
1287          program { name: "disable_text";
1288             script {
1289                new st[31];
1290                new Float:vl;
1291                get_state(PART:"elm.text", st, 30, vl);
1292                if (!strcmp(st, "visible"))
1293                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1294                else
1295                  set_state(PART:"elm.text", "disabled", 0.0);
1296             }
1297          }
1298          program { name: "enable";
1299             signal: "elm,state,enabled";
1300             source: "elm";
1301             action: STATE_SET "default" 0.0;
1302             target: "button_image";
1303             target: "over1";
1304             target: "over2";
1305             target: "disabler";
1306             after: "enable_text";
1307          }
1308          program { name: "enable_text";
1309             script {
1310                new st[31];
1311                new Float:vl;
1312                get_state(PART:"elm.text", st, 30, vl);
1313                if (!strcmp(st, "disabled_visible"))
1314                  set_state(PART:"elm.text", "visible", 0.0);
1315                else
1316                  set_state(PART:"elm.text", "default", 0.0);
1317             }
1318          }
1319       }
1320    }
1321
1322    group { name: "elm/button/base/hoversel_vertical_entry/default";
1323       alias: "elm/button/base/hoversel_vertical_entry/entry";
1324       alias: "elm/button/base/hoversel_horizontal_entry/default";
1325       alias: "elm/button/base/hoversel_horizontal_entry/entry";
1326       images {
1327          image: "hoversel_entry_bg.png" COMP;
1328       }
1329       parts {
1330          part { name: "button_image";
1331             mouse_events: 1;
1332             description { state: "default" 0.0;
1333                color: 255 255 255 0;
1334                image.normal: "hoversel_entry_bg.png";
1335                image.border: 0 0 2 2;
1336                fill.smooth: 0;
1337             }
1338             description { state: "clicked" 0.0;
1339                inherit: "default" 0.0;
1340                color: 255 255 255 255;
1341             }
1342          }
1343          part { name: "elm.swallow.content";
1344             type: SWALLOW;
1345             description { state: "default" 0.0;
1346                visible: 0;
1347                align: 0.0 0.5;
1348                rel1.offset: 4 4;
1349                rel2.offset: 3 -5;
1350                rel2.relative: 0.0 1.0;
1351             }
1352             description { state: "visible" 0.0;
1353                inherit: "default" 0.0;
1354                visible: 1;
1355                aspect: 1.0 1.0;
1356                aspect_preference: VERTICAL;
1357                rel2.offset: 4 -5;
1358             }
1359             description { state: "icononly" 0.0;
1360                inherit: "default" 0.0;
1361                visible: 1;
1362                align: 0.5 0.5;
1363                aspect: 1.0 1.0;
1364                rel2.offset: -5 -5;
1365                rel2.relative: 1.0 1.0;
1366                aspect_preference: VERTICAL;
1367             }
1368          }
1369          part { name: "textvis";
1370             type: RECT;
1371             mouse_events: 0;
1372             description { state: "default" 0.0;
1373                visible: 0;
1374             }
1375             description { state: "visible" 0.0;
1376                visible: 1;
1377             }
1378          }
1379          part {
1380             name:          "elm.text";
1381             type:          TEXT;
1382             effect:        SOFT_SHADOW;
1383             mouse_events:  0;
1384             scale: 1;
1385             clip_to:       "textvis";
1386             description { state: "default" 0.0;
1387                rel1.to_x: "elm.swallow.content";
1388                rel1.relative: 1.0 0.0;
1389                rel1.offset: 0 4;
1390                rel2.offset: -5 -5;
1391                color: 224 224 224 255;
1392                color3: 0 0 0 64;
1393                text {
1394                   font:     "Sans,Edje-Vera";
1395                   size:     10;
1396                   min:      0 0;
1397                   align:    0.5 0.5;
1398                   text_class: "button";
1399                }
1400             }
1401             description { state: "visible" 0.0;
1402                inherit: "default" 0.0;
1403                text.min: 1 1;
1404             }
1405             description { state: "clicked" 0.0;
1406                inherit: "default" 0.0;
1407                text.min: 1 1;
1408                color: 0 0 0 255;
1409                color3: 0 0 0 0;
1410             }
1411          }
1412          part { name: "over2";
1413             type: RECT;
1414             mouse_events: 1;
1415             description { state: "default" 0.0;
1416                color: 0 0 0 0;
1417             }
1418          }
1419       }
1420       programs {
1421          program {
1422             name:   "button_click";
1423             signal: "mouse,down,1";
1424             source: "over2";
1425             action: STATE_SET "clicked" 0.0;
1426             target: "button_image";
1427             target: "elm.text";
1428          }
1429          program {
1430             name:   "button_unclick";
1431             signal: "mouse,up,1";
1432             source: "over2";
1433             action: STATE_SET "default" 0.0;
1434             target: "button_image";
1435             target: "elm.text";
1436          }
1437          program {
1438             name:   "button_unclick3";
1439             signal: "mouse,up,1";
1440             source: "over2";
1441             action: SIGNAL_EMIT "elm,action,click" "";
1442          }
1443          program { name: "text_show";
1444             signal: "elm,state,text,visible";
1445             source: "elm";
1446             script {
1447                new st[31];
1448                new Float:vl;
1449                get_state(PART:"elm.swallow.content", st, 30, vl);
1450                if (!strcmp(st, "icononly"))
1451                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1452                set_state(PART:"textvis", "visible", 0.0);
1453                set_state(PART:"elm.text", "visible", 0.0);
1454             }
1455          }
1456          program { name: "text_hide";
1457             signal: "elm,state,text,hidden";
1458             source: "elm";
1459             script {
1460                new st[31];
1461                new Float:vl;
1462                get_state(PART:"elm.swallow.content", st, 30, vl);
1463                if (!strcmp(st, "visible"))
1464                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1465                set_state(PART:"textvis", "default", 0.0);
1466                set_state(PART:"elm.text", "default", 0.0);
1467             }
1468          }
1469          program { name: "icon_show";
1470             signal: "elm,state,icon,visible";
1471             source: "elm";
1472             script {
1473                new st[31];
1474                new Float:vl;
1475                get_state(PART:"textvis", st, 30, vl);
1476                if (!strcmp(st, "visible"))
1477                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1478                else
1479                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1480             }
1481          }
1482          program { name: "icon_hide";
1483             signal: "elm,state,icon,hidden";
1484             source: "elm";
1485             action:  STATE_SET "default" 0.0;
1486             target: "elm.swallow.content";
1487          }
1488       }
1489    }
1490
1491    group { name: "elm/button/base/anchor";
1492       images {
1493          image: "bt_base1.png" COMP;
1494          image: "bt_base2.png" COMP;
1495          image: "bt_hilight.png" COMP;
1496          image: "bt_shine.png" COMP;
1497          image: "bt_glow.png" COMP;
1498          image: "bt_dis_base.png" COMP;
1499          image: "bt_dis_hilight.png" COMP;
1500       }
1501       parts {
1502          part { name: "button_image";
1503             mouse_events: 1;
1504             description { state: "default" 0.0;
1505           min: 15 15;
1506            color: 255 255 255 0;
1507                image {
1508                   normal: "bt_base2.png";
1509                   border: 7 7 7 7;
1510                }
1511                image.middle: SOLID;
1512             }
1513        description { state: "visible" 0.0;
1514                inherit: "default" 0.0;
1515           color: 255 255 255 255;
1516             }
1517             description { state: "clicked" 0.0;
1518                inherit: "default" 0.0;
1519           inherit: "visible" 0.0;
1520                image.normal: "bt_base1.png";
1521                image.middle: SOLID;
1522             }
1523             description { state: "disabled" 0.0;
1524                inherit:  "default" 0.0;
1525           inherit: "visible" 0.0;
1526                image {
1527                   normal: "bt_dis_base.png";
1528                   border: 4 4 4 4;
1529                }
1530             }
1531          }
1532          part { name: "elm.swallow.content";
1533             type: SWALLOW;
1534             description { state: "default" 0.0;
1535                fixed: 1 0;
1536                visible: 0;
1537                align: 0.0 0.5;
1538                rel1.offset: 4 4;
1539                rel2.offset: 3 -5;
1540                rel2.relative: 0.0 1.0;
1541             }
1542             description { state: "visible" 0.0;
1543                inherit: "default" 0.0;
1544                fixed: 1 0;
1545                visible: 1;
1546                aspect: 1.0 1.0;
1547                aspect_preference: VERTICAL;
1548                rel2.offset: 4 -5;
1549             }
1550             description { state: "icononly" 0.0;
1551                inherit: "default" 0.0;
1552                fixed: 0 0;
1553                visible: 1;
1554                align: 0.5 0.5;
1555                aspect: 1.0 1.0;
1556                rel2.offset: -5 -5;
1557                rel2.relative: 1.0 1.0;
1558                aspect_preference: VERTICAL;
1559             }
1560          }
1561          part {
1562             name:          "elm.text";
1563             type:          TEXT;
1564             effect:        SOFT_SHADOW;
1565             mouse_events:  0;
1566             scale: 1;
1567             description { state: "default" 0.0;
1568                visible: 0;
1569                rel1.to_x: "elm.swallow.content";
1570                rel1.relative: 1.0 0.0;
1571                rel1.offset: 0 4;
1572                rel2.offset: -5 -5;
1573                color: 224 224 224 255;
1574                color3: 0 0 0 64;
1575                text {
1576                   font:     "Sans,Edje-Vera";
1577                   size:     10;
1578                   min:      0 0;
1579                   align:    0.5 0.5;
1580                   text_class: "button";
1581                }
1582             }
1583             description { state: "visible" 0.0;
1584                inherit: "default" 0.0;
1585                visible: 1;
1586                text.min: 1 1;
1587             }
1588             description { state: "disabled" 0.0;
1589                inherit: "default" 0.0;
1590                color: 0 0 0 128;
1591                color3: 0 0 0 0;
1592             }
1593             description { state: "disabled_visible" 0.0;
1594                inherit: "default" 0.0;
1595                color: 0 0 0 128;
1596                color3: 0 0 0 0;
1597                visible: 1;
1598                text.min: 1 1;
1599             }
1600          }
1601          part {   name: "over1";
1602             mouse_events: 0;
1603             description { state: "default" 0.0;
1604            color: 255 255 255 0;
1605                rel2.relative: 1.0 0.5;
1606                image {
1607                   normal: "bt_hilight.png";
1608                   border: 7 7 7 0;
1609                }
1610             }
1611        description { state: "visible" 0.0;
1612                inherit:  "default" 0.0;
1613           color: 255 255 255 255;
1614             }
1615             description { state: "disabled" 0.0;
1616                inherit:  "default" 0.0;
1617           inherit:  "visible" 0.0;
1618                image {
1619                   normal: "bt_dis_hilight.png";
1620                   border: 4 4 4 0;
1621                }
1622             }
1623          }
1624          part { name: "over2";
1625             mouse_events: 1;
1626             repeat_events: 1;
1627             ignore_flags: ON_HOLD;
1628             description { state: "default" 0.0;
1629                image {
1630                   normal: "bt_shine.png";
1631                   border: 7 7 7 7;
1632                }
1633             }
1634             description { state: "disabled" 0.0;
1635                inherit:  "default" 0.0;
1636                visible: 0;
1637             }
1638          }
1639          part { name: "over3";
1640             mouse_events: 1;
1641             repeat_events: 1;
1642             description { state: "default" 0.0;
1643                color: 255 255 255 0;
1644                image {
1645                   normal: "bt_glow.png";
1646                   border: 12 12 12 12;
1647                }
1648                fill.smooth : 0;
1649             }
1650             description { state: "clicked" 0.0;
1651                inherit:  "default" 0.0;
1652                visible: 1;
1653                color: 255 255 255 255;
1654             }
1655          }
1656          part { name: "disabler";
1657             type: RECT;
1658             description { state: "default" 0.0;
1659                color: 0 0 0 0;
1660                visible: 0;
1661             }
1662             description { state: "disabled" 0.0;
1663                inherit: "default" 0.0;
1664                visible: 1;
1665             }
1666          }
1667       }
1668       programs {
1669     program {
1670             name:   "button_mouse_in";
1671             signal: "mouse,in";
1672             source: "over2";
1673             action: STATE_SET "visible" 0.0;
1674             target: "button_image";
1675        target: "over1";
1676        transition: DECELERATE 0.5;
1677          }
1678          program {
1679             name:   "button_mouse_out";
1680             signal: "mouse,out";
1681             source: "over2";
1682             action: STATE_SET "default" 0.0;
1683             target: "button_image";
1684        target: "over1";
1685        transition: DECELERATE 0.5;
1686          }
1687          program {
1688             name:   "button_unclick";
1689             signal: "mouse,up,1";
1690             source: "over2";
1691             action: STATE_SET "visible" 0.0;
1692             target: "button_image";
1693          }
1694          program {
1695             name:   "button_click2";
1696             signal: "mouse,down,1";
1697             source: "over3";
1698             action: STATE_SET "clicked" 0.0;
1699             target: "over3";
1700          }
1701          program {
1702             name:   "button_unclick2";
1703             signal: "mouse,up,1";
1704             source: "over3";
1705             action: STATE_SET "default" 0.0;
1706             transition: DECELERATE 0.5;
1707             target: "over3";
1708          }
1709          program {
1710             name:   "button_unclick3";
1711             signal: "mouse,up,1";
1712             source: "over2";
1713             action: SIGNAL_EMIT "elm,action,click" "";
1714          }
1715          program { name: "text_show";
1716             signal: "elm,state,text,visible";
1717             source: "elm";
1718             script {
1719                new st[31];
1720                new Float:vl;
1721                get_state(PART:"elm.swallow.content", st, 30, vl);
1722                if (!strcmp(st, "icononly"))
1723                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1724                set_state(PART:"elm.text", "visible", 0.0);
1725             }
1726          }
1727          program { name: "text_hide";
1728             signal: "elm,state,text,hidden";
1729             source: "elm";
1730             script {
1731                new st[31];
1732                new Float:vl;
1733                get_state(PART:"elm.swallow.content", st, 30, vl);
1734                if (!strcmp(st, "visible"))
1735                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1736                set_state(PART:"elm.text", "default", 0.0);
1737             }
1738          }
1739          program { name: "icon_show";
1740             signal: "elm,state,icon,visible";
1741             source: "elm";
1742             script {
1743                new st[31];
1744                new Float:vl;
1745                get_state(PART:"elm.text", st, 30, vl);
1746                if (!strcmp(st, "visible"))
1747                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1748                else
1749                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1750             }
1751          }
1752          program { name: "icon_hide";
1753             signal: "elm,state,icon,hidden";
1754             source: "elm";
1755             action:  STATE_SET "default" 0.0;
1756             target: "elm.swallow.content";
1757          }
1758          program { name: "disable";
1759             signal: "elm,state,disabled";
1760             source: "elm";
1761             action: STATE_SET "disabled" 0.0;
1762             target: "button_image";
1763             target: "over1";
1764             target: "over2";
1765             target: "disabler";
1766             after: "disable_text";
1767          }
1768          program { name: "disable_text";
1769             script {
1770                new st[31];
1771                new Float:vl;
1772                get_state(PART:"elm.text", st, 30, vl);
1773                if (!strcmp(st, "visible"))
1774                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1775                else
1776                  set_state(PART:"elm.text", "disabled", 0.0);
1777             }
1778          }
1779          program { name: "enable";
1780             signal: "elm,state,enabled";
1781             source: "elm";
1782             action: STATE_SET "default" 0.0;
1783             target: "button_image";
1784             target: "over1";
1785             target: "over2";
1786             target: "disabler";
1787             after: "enable_text";
1788          }
1789          program { name: "enable_text";
1790             script {
1791                new st[31];
1792                new Float:vl;
1793                get_state(PART:"elm.text", st, 30, vl);
1794                if (!strcmp(st, "disabled_visible"))
1795                  set_state(PART:"elm.text", "visible", 0.0);
1796                else
1797                  set_state(PART:"elm.text", "default", 0.0);
1798             }
1799          }
1800       }
1801    }
1802
1803 ///////////////////////////////////////////////////////////////////////////////
1804    group { name: "elm/toggle/base/default";
1805       images {
1806          image: "shelf_inset.png" COMP;
1807          image: "bt_basew.png" COMP;
1808          image: "bt_bases.png" COMP;
1809          image: "bt_hilightw.png" COMP;
1810          image: "tog_base.png" COMP;
1811          image: "tog_dis_base.png" COMP;
1812       }
1813       parts {
1814          part { name: "bg";
1815             type: RECT;
1816             mouse_events: 0;
1817             scale: 1;
1818             description { state: "default" 0.0;
1819                rel1.relative: 1.0 0.0;
1820                rel1.offset: -4 3;
1821                rel2.offset: -4 -4;
1822                align: 1.0 0.5;
1823                min: 96 16;
1824                max: 96 16;
1825                aspect: 4.0 4.0;
1826                aspect_preference: VERTICAL;
1827                color: 255 255 255 255;
1828             }
1829          }
1830          part { name: "clipper";
1831             type: RECT;
1832             mouse_events: 0;
1833             description { state: "default" 0.0;
1834                rel1.to: "bg";
1835                rel2.to: "bg";
1836                color: 255 255 255 255;
1837             }
1838          }
1839          part { name: "button";
1840             type: RECT;
1841             scale: 1;
1842             clip_to: "clipper";
1843             mouse_events: 1;
1844             dragable {
1845                x: 1 1 0;
1846                y: 0 0 0;
1847                confine: "bg";
1848             }
1849             description { state: "default" 0.0;
1850                fixed: 1 1;
1851                rel1.to: "bg";
1852                rel2.to: "bg";
1853                min: 16 16;
1854                max: 16 16;
1855                aspect: 1.0 1.0;
1856                aspect_preference: VERTICAL;
1857                color: 0 0 0 0;
1858             }
1859          }
1860          part { name: "button_events";
1861             type: RECT;
1862             dragable {
1863                events: "button";
1864             }
1865             description { state: "default" 0.0;
1866                rel1.to_x: "bg";
1867                rel1.offset: 0 0;
1868                rel1.relative: 0.0 0.0;
1869                rel2.to_x: "bg";
1870                rel2.offset: -1 -1;
1871                rel2.relative: 1.0 1.0;
1872                color: 0 0 0 0;
1873             }
1874          }
1875          part { name: "onrect";
1876             type: RECT;
1877             scale: 1;
1878             clip_to: "clipper";
1879             mouse_events: 0;
1880             description { state: "default" 0.0;
1881                rel1.to: "button";
1882                rel1.relative: -5.0 0.0;
1883                rel2.to: "button";
1884                rel2.relative: 0.0 1.0;
1885                color: 0 0 0 0;
1886             }
1887          }
1888          part { name: "offrect";
1889             type: RECT;
1890             scale: 1;
1891             clip_to: "clipper";
1892             mouse_events: 0;
1893             description { state: "default" 0.0;
1894                rel1.to: "button";
1895                rel1.relative: 1.0 0.0;
1896                rel2.to: "button";
1897                rel2.relative: 6.0 1.0;
1898                color: 0 0 0 0;
1899             }
1900          }
1901          part { name: "togbase";
1902             mouse_events:  0;
1903             clip_to: "clipper";
1904             description { state: "default" 0.0;
1905                rel1.to: "onrect";
1906                rel2.to: "offrect";
1907                image.normal: "tog_base.png";
1908             }
1909             description { state: "disabled" 0.0;
1910                inherit: "default" 0.0;
1911                image.normal: "tog_dis_base.png";
1912             }
1913          }
1914          part { name: "elm.offtext";
1915             type: TEXT;
1916             mouse_events:  0;
1917             scale: 1;
1918             clip_to: "clipper";
1919             description { state: "default" 0.0;
1920                fixed: 1 1;
1921                rel1.to_x: "offrect";
1922                rel2.to_x: "offrect";
1923                color: 0 0 0 255;
1924                text {
1925                   font:     "Sans,Edje-Vera";
1926                   size:     10;
1927                   min:      0 1;
1928                   align:    0.5 0.5;
1929                   text:     "OFF";
1930                }
1931             }
1932             description { state: "disabled" 0.0;
1933                inherit: "default" 0.0;
1934                color: 128 128 128 128;
1935             }
1936          }
1937          part { name: "elm.ontext";
1938             type: TEXT;
1939             effect: SOFT_SHADOW;
1940             mouse_events:  0;
1941             scale: 1;
1942             clip_to: "clipper";
1943             description { state: "default" 0.0;
1944                fixed: 1 1;
1945                rel1.to_x: "onrect";
1946                rel1.offset: 1 1;
1947                rel2.to_x: "onrect";
1948                rel2.offset: 0 0;
1949                color: 224 224 224 255;
1950                color3: 0 0 0 64;
1951                text {
1952                   font:     "Sans,Edje-Vera";
1953                   size:     10;
1954                   min:      0 1;
1955                   align:    0.5 0.5;
1956                   text:     "ON";
1957                }
1958             }
1959             description { state: "disabled" 0.0;
1960                inherit: "default" 0.0;
1961                color: 128 128 128 128;
1962                color3: 0 0 0 24;
1963             }
1964          }
1965          part { name: "conf_over";
1966             mouse_events:  0;
1967             description { state: "default" 0.0;
1968                rel1.offset: -1 -1;
1969                rel1.to: "bg";
1970                rel2.offset: 0 0;
1971                rel2.to: "bg";
1972                image {
1973                   normal: "shelf_inset.png";
1974                   border: 7 7 7 7;
1975                   middle: 0;
1976                }
1977                fill.smooth : 0;
1978             }
1979          }
1980          part { name: "button0";
1981             mouse_events:  0;
1982             clip_to: "clipper";
1983             description { state: "default" 0.0;
1984                rel1.to: "button2";
1985                rel1.offset: -4 -4;
1986                rel2.to: "button2";
1987                rel2.offset: 3 3;
1988                image {
1989                   normal: "bt_bases.png";
1990                   border: 11 11 11 11;
1991                }
1992                image.middle: SOLID;
1993                color: 255 255 255 128;
1994             }
1995          }
1996          part { name: "button2";
1997             mouse_events:  0;
1998             clip_to: "clipper";
1999             description { state: "default" 0.0;
2000                rel1.to: "button";
2001                rel1.offset: -2 -2;
2002                rel2.to: "button";
2003                rel2.offset: 1 1;
2004                image {
2005                   normal: "bt_basew.png";
2006                   border: 7 7 7 7;
2007                }
2008                image.middle: SOLID;
2009             }
2010          }
2011          part { name: "button3";
2012             mouse_events:  0;
2013             clip_to: "clipper";
2014             description { state: "default" 0.0;
2015                rel1.to: "button2";
2016                rel2.to: "button2";
2017                rel2.relative: 1.0 0.5;
2018                image {
2019                   normal: "bt_hilightw.png";
2020                   border: 4 4 4 0;
2021                }
2022             }
2023          }
2024          part { name: "elm.swallow.content";
2025             type: SWALLOW;
2026             description { state: "default" 0.0;
2027                fixed: 1 0;
2028                visible: 0;
2029                align: 0.0 0.5;
2030                rel1.offset: 4 4;
2031                rel2.relative: 0.0 1.0;
2032                rel2.offset: 3 -5;
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                fixed: 1 1;
2037                visible: 1;
2038                aspect: 1.0 1.0;
2039                aspect_preference: VERTICAL;
2040                rel2.offset: 4 -5;
2041             }
2042             description { state: "disabled" 0.0;
2043                inherit: "default" 0.0;
2044                color: 128 128 128 128;
2045             }
2046             description { state: "disabled_visible" 0.0;
2047                inherit: "default" 0.0;
2048                color: 128 128 128 128;
2049                fixed: 1 1;
2050                visible: 1;
2051                aspect: 1.0 1.0;
2052             }
2053          }
2054          part { name: "elm.text";
2055             type: TEXT;
2056             mouse_events: 0;
2057             scale: 1;
2058             description { state: "default" 0.0;
2059                visible: 0;
2060                rel1.to_x: "elm.swallow.content";
2061                rel1.relative: 1.0 0.0;
2062                rel1.offset: 0 4;
2063                rel2.to_x: "bg";
2064                rel2.relative: 0.0 1.0;
2065                rel2.offset: -5 -5;
2066                color: 0 0 0 255;
2067                text {
2068                   font: "Sans,Edje-Vera";
2069                   size: 10;
2070                   min: 0 0;
2071                   align: 0.0 0.5;
2072                }
2073             }
2074             description { state: "visible" 0.0;
2075                inherit: "default" 0.0;
2076                visible: 1;
2077                text.min: 1 1;
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit: "default" 0.0;
2081                color: 128 128 128 128;
2082             }
2083             description { state: "disabled_visible" 0.0;
2084                inherit: "default" 0.0;
2085                color: 128 128 128 128;
2086                visible: 1;
2087             }
2088          }
2089          part { name: "disabler";
2090             type: RECT;
2091             description { state: "default" 0.0;
2092                color: 0 0 0 0;
2093                visible: 0;
2094             }
2095             description { state: "disabled" 0.0;
2096                inherit: "default" 0.0;
2097                visible: 1;
2098             }
2099          }
2100       }
2101       programs {
2102          program { name:   "drag_end";
2103             signal: "mouse,up,1";
2104             source: "button";
2105             script {
2106                new Float:dx, Float:dy;
2107                get_drag(PART:"button", dx, dy);
2108                if (dx > 0.5)
2109                  {
2110                     set_drag(PART:"button", 1.0, 0.0);
2111                     emit("elm,action,toggle,on", "");
2112                  }
2113                else
2114                  {
2115                     set_drag(PART:"button", 0.0, 0.0);
2116                     emit("elm,action,toggle,off", "");
2117                  }
2118             }
2119          }
2120          program { name: "toggle_on";
2121             signal: "elm,state,toggle,on";
2122             source: "elm";
2123             script {
2124                set_drag(PART:"button", 100.0, 0.0);
2125             }
2126          }
2127          program { name: "toggle_off";
2128             signal: "elm,state,toggle,off";
2129             source: "elm";
2130             script {
2131                set_drag(PART:"button", 0.0, 0.0);
2132             }
2133          }
2134          program { name: "text_show";
2135             signal: "elm,state,text,visible";
2136             source: "elm";
2137             action:  STATE_SET "visible" 0.0;
2138             target: "elm.text";
2139          }
2140          program { name: "text_hide";
2141             signal: "elm,state,text,hidden";
2142             source: "elm";
2143             action:  STATE_SET "default" 0.0;
2144             target: "elm.text";
2145          }
2146          program { name: "icon_show";
2147             signal: "elm,state,icon,visible";
2148             source: "elm";
2149             action:  STATE_SET "visible" 0.0;
2150             target: "elm.swallow.content";
2151          }
2152          program { name: "icon_hide";
2153             signal: "elm,state,icon,hidden";
2154             source: "elm";
2155             action:  STATE_SET "default" 0.0;
2156             target: "elm.swallow.content";
2157          }
2158          program { name: "disable";
2159             signal: "elm,state,disabled";
2160             source: "elm";
2161             action: STATE_SET "disabled" 0.0;
2162             target: "togbase";
2163             target: "elm.offtext";
2164             target: "elm.ontext";
2165             target: "disabler";
2166             after: "disable_text";
2167          }
2168          program { name: "disable_text";
2169             script {
2170                new st[31];
2171                new Float:vl;
2172                get_state(PART:"elm.text", st, 30, vl);
2173                if (!strcmp(st, "visible"))
2174                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2175                else
2176                  set_state(PART:"elm.text", "disabled", 0.0);
2177
2178                get_state(PART:"elm.swallow.content", st, 30, vl);
2179                if (!strcmp(st, "visible"))
2180                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
2181                else
2182                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
2183             }
2184          }
2185          program { name: "enable";
2186             signal: "elm,state,enabled";
2187             source: "elm";
2188             action: STATE_SET "default" 0.0;
2189             target: "disabler";
2190             after: "enable_text";
2191          }
2192          program { name: "enable_text";
2193             script {
2194                new st[31];
2195                new Float:vl;
2196                get_state(PART:"elm.text", st, 30, vl);
2197                if (!strcmp(st, "disabled_visible"))
2198                  set_state(PART:"elm.text", "visible", 0.0);
2199                else
2200                  set_state(PART:"elm.text", "default", 0.0);
2201
2202                get_state(PART:"elm.swallow.content", st, 30, vl);
2203                if (!strcmp(st, "visible"))
2204                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2205                else
2206                  set_state(PART:"elm.swallow.content", "default", 0.0);
2207             }
2208          }
2209       }
2210    }
2211
2212 ///////////////////////////////////////////////////////////////////////////////
2213    group { name: "elm/clock/flipdigit/default";
2214       images {
2215          image: "flip_base.png" COMP;
2216          image: "flip_base_shad.png" COMP;
2217          image: "flip_shad.png" COMP;
2218          image: "flip_0t.png" COMP;
2219          image: "flip_0b.png" COMP;
2220          image: "flip_1t.png" COMP;
2221          image: "flip_1b.png" COMP;
2222          image: "flip_2t.png" COMP;
2223          image: "flip_2b.png" COMP;
2224          image: "flip_3t.png" COMP;
2225          image: "flip_3b.png" COMP;
2226          image: "flip_4t.png" COMP;
2227          image: "flip_4b.png" COMP;
2228          image: "flip_5t.png" COMP;
2229          image: "flip_5b.png" COMP;
2230          image: "flip_6t.png" COMP;
2231          image: "flip_6b.png" COMP;
2232          image: "flip_7t.png" COMP;
2233          image: "flip_7b.png" COMP;
2234          image: "flip_8t.png" COMP;
2235          image: "flip_8b.png" COMP;
2236          image: "flip_9t.png" COMP;
2237          image: "flip_9b.png" COMP;
2238          image: "arrow_up.png" COMP;
2239          image: "arrow_down.png" COMP;
2240       }
2241       script {
2242          public v0_cur, v0_pre, v0_lock, v0_next;
2243
2244        public animator2(val, Float:pos) {
2245           new st1[11], st2[11], v;
2246
2247           v = get_int(v0_cur);
2248           snprintf(st1, 10, "%ih", v);
2249           snprintf(st2, 10, "%i", v);
2250           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2251           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2252           if (pos >= 1.0) {
2253              set_state(PART:"sh", "default", 0.0);
2254              set_int(v0_lock, 0);
2255              v = get_int(v0_next);
2256              if (v >= 0) {
2257                 set_int(v0_next, -1);
2258                 message(MSG_INT, 1, v);
2259              }
2260           }
2261        }
2262        public animator1(val, Float:pos) {
2263           new st1[11], st2[11], v;
2264
2265           v = get_int(v0_pre);
2266           snprintf(st1, 10, "%i", v);
2267           snprintf(st2, 10, "%ih", v);
2268           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2269           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2270           if (pos >= 1.0) anim(0.2, "animator2", val);
2271        }
2272        public message(Msg_Type:type, id, ...) {
2273           if ((type == MSG_INT) && (id == 1)) {
2274              new value, v, buf[11];
2275
2276              value = getarg(2);
2277              if (get_int(v0_lock) == 1) {
2278                 set_int(v0_next, value);
2279                 return;
2280              }
2281              v = get_int(v0_cur);
2282              set_int(v0_pre, v);
2283              set_int(v0_cur, value);
2284              set_int(v0_lock, 1);
2285              snprintf(buf, 10, "%i", get_int(v0_pre));
2286              set_state(PART:"bot0", buf, 0.0);
2287              snprintf(buf, 10, "%ih", get_int(v0_cur));
2288              set_state(PART:"bot", buf, 0.0);
2289              snprintf(buf, 10, "%i", get_int(v0_cur));
2290              set_state(PART:"top0", buf, 0.0);
2291              snprintf(buf, 10, "%i", get_int(v0_pre));
2292              set_state(PART:"top", buf, 0.0);
2293              set_state(PART:"sh", "default", 0.0);
2294              anim(0.2, "animator1", 1);
2295           }
2296        }
2297       }
2298       parts {
2299          part { name: "shad";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                rel1.offset: -4 -4;
2303                rel1.to: "base";
2304                rel2.offset: 3 3;
2305                rel2.to: "base";
2306                image {
2307                   normal: "flip_base_shad.png";
2308                   border: 8 8 8 8;
2309                }
2310             }
2311          }
2312          part { name: "base";
2313             scale: 1;
2314             description { state: "default" 0.0;
2315                rel1.offset: 4 4;
2316                rel2.offset: -5 -5;
2317                // FIXME 48x96 should be the native pixel design, right now
2318                // its 80x160. fix int he artwork later
2319                min: 24 48;
2320                aspect: 0.5 0.5;
2321 //             max: 24 48;
2322                image.normal: "flip_base.png";
2323             }
2324          }
2325          part { name: "b";
2326             type: RECT;
2327             mouse_events: 1;
2328             description { state: "default" 0.0;
2329                visible: 0;
2330                rel1.to: "base";
2331                rel1.relative: 0.0 0.5;
2332                rel2.to: "base";
2333                color: 0 0 0 0;
2334             }
2335             description { state: "visible" 0.0;
2336                inherit: "default" 0.0;
2337                visible: 1;
2338             }
2339          }
2340          part { name: "t";
2341             type: RECT;
2342             mouse_events: 1;
2343             description { state: "default" 0.0;
2344                visible: 0;
2345                rel1.to: "base";
2346                rel2.to: "base";
2347                rel2.relative: 1.0 0.5;
2348                color: 0 0 0 0;
2349             }
2350             description { state: "visible" 0.0;
2351                inherit: "default" 0.0;
2352                visible: 1;
2353             }
2354          }
2355          part { name: "bot0";
2356             mouse_events: 0;
2357             description { state: "default" 0.0;
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                image.normal: "flip_0b.png";
2365             }
2366             description { state: "1" 0.0;
2367                inherit: "default" 0.0;
2368                image.normal: "flip_1b.png";
2369             }
2370             description { state: "2" 0.0;
2371                inherit: "default" 0.0;
2372                image.normal: "flip_2b.png";
2373             }
2374             description { state: "3" 0.0;
2375                inherit: "default" 0.0;
2376                image.normal: "flip_3b.png";
2377             }
2378             description { state: "4" 0.0;
2379                inherit: "default" 0.0;
2380                image.normal: "flip_4b.png";
2381             }
2382             description { state: "5" 0.0;
2383                inherit: "default" 0.0;
2384                image.normal: "flip_5b.png";
2385             }
2386             description { state: "6" 0.0;
2387                inherit: "default" 0.0;
2388                image.normal: "flip_6b.png";
2389             }
2390             description { state: "7" 0.0;
2391                inherit: "default" 0.0;
2392                image.normal: "flip_7b.png";
2393             }
2394             description { state: "8" 0.0;
2395                inherit: "default" 0.0;
2396                image.normal: "flip_8b.png";
2397             }
2398             description { state: "9" 0.0;
2399                inherit: "default" 0.0;
2400                image.normal: "flip_9b.png";
2401             }
2402          }
2403          part { name: "sh";
2404             mouse_events: 0;
2405             description { state: "default" 0.0;
2406                rel1.to: "b";
2407                rel2.to: "b";
2408                rel2.relative: 1.0 0.0;
2409                image.normal: "flip_shad.png";
2410             }
2411             description { state: "half" 0.0;
2412                inherit: "default" 0.0;
2413                rel2.relative: 1.0 0.5;
2414             }
2415             description { state: "full" 0.0;
2416                inherit: "default" 0.0;
2417                rel2.relative: 1.0 1.0;
2418             }
2419          }
2420          part { name: "bot";
2421             mouse_events: 0;
2422             description { state: "default" 0.0;
2423                visible: 1;
2424                rel1.to: "b";
2425                rel2.to: "b";
2426                image.normal: "flip_0b.png";
2427             }
2428             description { state: "0" 0.0;
2429                inherit: "default" 0.0;
2430                visible: 1;
2431                rel2.relative: 1.0 1.0;
2432                image.normal: "flip_0b.png";
2433             }
2434             description { state: "0h" 0.0;
2435                inherit: "default" 0.0;
2436                visible: 0;
2437                rel2.relative: 1.0 0.0;
2438                image.normal: "flip_0b.png";
2439             }
2440             description { state: "1" 0.0;
2441                inherit: "default" 0.0;
2442                visible: 1;
2443                rel2.relative: 1.0 1.0;
2444                image.normal: "flip_1b.png";
2445             }
2446             description { state: "1h" 0.0;
2447                inherit: "default" 0.0;
2448                visible: 0;
2449                rel2.relative: 1.0 0.0;
2450                image.normal: "flip_1b.png";
2451             }
2452             description { state: "2" 0.0;
2453                inherit: "default" 0.0;
2454                visible: 1;
2455                rel2.relative: 1.0 1.0;
2456                image.normal: "flip_2b.png";
2457             }
2458             description { state: "2h" 0.0;
2459                inherit: "default" 0.0;
2460                visible: 0;
2461                rel2.relative: 1.0 0.0;
2462                image.normal: "flip_2b.png";
2463             }
2464             description { state: "3" 0.0;
2465                inherit: "default" 0.0;
2466                visible: 1;
2467                rel2.relative: 1.0 1.0;
2468                image.normal: "flip_3b.png";
2469             }
2470             description { state: "3h" 0.0;
2471                inherit: "default" 0.0;
2472                visible: 0;
2473                rel2.relative: 1.0 0.0;
2474                image.normal: "flip_3b.png";
2475             }
2476             description { state: "4" 0.0;
2477                inherit: "default" 0.0;
2478                visible: 1;
2479                rel2.relative: 1.0 1.0;
2480                image.normal: "flip_4b.png";
2481             }
2482             description { state: "4h" 0.0;
2483                inherit: "default" 0.0;
2484                visible: 0;
2485                rel2.relative: 1.0 0.0;
2486                image.normal: "flip_4b.png";
2487             }
2488             description { state: "5" 0.0;
2489                inherit: "default" 0.0;
2490                visible: 1;
2491                rel2.relative: 1.0 1.0;
2492                image.normal: "flip_5b.png";
2493             }
2494             description { state: "5h" 0.0;
2495                inherit: "default" 0.0;
2496                visible: 0;
2497                rel2.relative: 1.0 0.0;
2498                image.normal: "flip_5b.png";
2499             }
2500             description { state: "6" 0.0;
2501                inherit: "default" 0.0;
2502                visible: 1;
2503                rel2.relative: 1.0 1.0;
2504                image.normal: "flip_6b.png";
2505             }
2506             description { state: "6h" 0.0;
2507                inherit: "default" 0.0;
2508                visible: 0;
2509                rel2.relative: 1.0 0.0;
2510                image.normal: "flip_6b.png";
2511             }
2512             description { state: "7" 0.0;
2513                inherit: "default" 0.0;
2514                visible: 1;
2515                rel2.relative: 1.0 1.0;
2516                image.normal: "flip_7b.png";
2517             }
2518             description { state: "7h" 0.0;
2519                inherit: "default" 0.0;
2520                visible: 0;
2521                rel2.relative: 1.0 0.0;
2522                image.normal: "flip_7b.png";
2523             }
2524             description { state: "8" 0.0;
2525                inherit: "default" 0.0;
2526                visible: 1;
2527                rel2.relative: 1.0 1.0;
2528                image.normal: "flip_8b.png";
2529             }
2530             description { state: "8h" 0.0;
2531                inherit: "default" 0.0;
2532                visible: 0;
2533                rel2.relative: 1.0 0.0;
2534                image.normal: "flip_8b.png";
2535             }
2536             description { state: "9" 0.0;
2537                inherit: "default" 0.0;
2538                visible: 1;
2539                rel2.relative: 1.0 1.0;
2540                image.normal: "flip_9b.png";
2541             }
2542             description { state: "9h" 0.0;
2543                inherit: "default" 0.0;
2544                visible: 0;
2545                rel2.relative: 1.0 0.0;
2546                image.normal: "flip_9b.png";
2547             }
2548          }
2549          part { name: "top0";
2550             mouse_events: 0;
2551             description { state: "default" 0.0;
2552                rel1.to: "t";
2553                rel2.to: "t";
2554                image.normal: "flip_0t.png";
2555             }
2556             description { state: "0" 0.0;
2557                inherit: "default" 0.0;
2558                image.normal: "flip_0t.png";
2559             }
2560             description { state: "1" 0.0;
2561                inherit: "default" 0.0;
2562                image.normal: "flip_1t.png";
2563             }
2564             description { state: "2" 0.0;
2565                inherit: "default" 0.0;
2566                image.normal: "flip_2t.png";
2567             }
2568             description { state: "3" 0.0;
2569                inherit: "default" 0.0;
2570                image.normal: "flip_3t.png";
2571             }
2572             description { state: "4" 0.0;
2573                inherit: "default" 0.0;
2574                image.normal: "flip_4t.png";
2575             }
2576             description { state: "5" 0.0;
2577                inherit: "default" 0.0;
2578                image.normal: "flip_5t.png";
2579             }
2580             description { state: "6" 0.0;
2581                inherit: "default" 0.0;
2582                image.normal: "flip_6t.png";
2583             }
2584             description { state: "7" 0.0;
2585                inherit: "default" 0.0;
2586                image.normal: "flip_7t.png";
2587             }
2588             description { state: "8" 0.0;
2589                inherit: "default" 0.0;
2590                image.normal: "flip_8t.png";
2591             }
2592             description { state: "9" 0.0;
2593                inherit: "default" 0.0;
2594                image.normal: "flip_9t.png";
2595             }
2596          }
2597          part { name: "top";
2598             mouse_events: 0;
2599             description { state: "default" 0.0;
2600                visible: 1;
2601                rel1.to: "t";
2602                rel2.to: "t";
2603                image.normal: "flip_0t.png";
2604             }
2605             description { state: "0" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                rel1.relative: 0.0 0.0;
2609                image.normal: "flip_0t.png";
2610             }
2611             description { state: "0h" 0.0;
2612                inherit: "default" 0.0;
2613                color: 128 128 128 255;
2614                visible: 0;
2615                rel1.relative: 0.0 1.0;
2616                image.normal: "flip_0t.png";
2617             }
2618             description { state: "1" 0.0;
2619                inherit: "default" 0.0;
2620                visible: 1;
2621                rel1.relative: 0.0 0.0;
2622                image.normal: "flip_1t.png";
2623             }
2624             description { state: "1h" 0.0;
2625                inherit: "default" 0.0;
2626                color: 128 128 128 255;
2627                visible: 0;
2628                rel1.relative: 0.0 1.0;
2629                image.normal: "flip_1t.png";
2630             }
2631             description { state: "2" 0.0;
2632                inherit: "default" 0.0;
2633                visible: 1;
2634                rel1.relative: 0.0 0.0;
2635                image.normal: "flip_2t.png";
2636             }
2637             description { state: "2h" 0.0;
2638                inherit: "default" 0.0;
2639                color: 128 128 128 255;
2640                visible: 0;
2641                rel1.relative: 0.0 1.0;
2642                image.normal: "flip_2t.png";
2643             }
2644             description { state: "3" 0.0;
2645                inherit: "default" 0.0;
2646                visible: 1;
2647                rel1.relative: 0.0 0.0;
2648                image.normal: "flip_3t.png";
2649             }
2650             description { state: "3h" 0.0;
2651                inherit: "default" 0.0;
2652                color: 128 128 128 255;
2653                visible: 0;
2654                rel1.relative: 0.0 1.0;
2655                image.normal: "flip_3t.png";
2656             }
2657             description { state: "4" 0.0;
2658                inherit: "default" 0.0;
2659                visible: 1;
2660                rel1.relative: 0.0 0.0;
2661                image.normal: "flip_4t.png";
2662             }
2663             description { state: "4h" 0.0;
2664                inherit: "default" 0.0;
2665                color: 128 128 128 255;
2666                visible: 0;
2667                rel1.relative: 0.0 1.0;
2668                image.normal: "flip_4t.png";
2669             }
2670             description { state: "5" 0.0;
2671                inherit: "default" 0.0;
2672                visible: 1;
2673                rel1.relative: 0.0 0.0;
2674                image.normal: "flip_5t.png";
2675             }
2676             description { state: "5h" 0.0;
2677                inherit: "default" 0.0;
2678                color: 128 128 128 255;
2679                visible: 0;
2680                rel1.relative: 0.0 1.0;
2681                image.normal: "flip_5t.png";
2682             }
2683             description { state: "6" 0.0;
2684                inherit: "default" 0.0;
2685                visible: 1;
2686                rel1.relative: 0.0 0.0;
2687                image.normal: "flip_6t.png";
2688             }
2689             description { state: "6h" 0.0;
2690                inherit: "default" 0.0;
2691                color: 128 128 128 255;
2692                visible: 0;
2693                rel1.relative: 0.0 1.0;
2694                image.normal: "flip_6t.png";
2695             }
2696             description { state: "7" 0.0;
2697                inherit: "default" 0.0;
2698                visible: 1;
2699                rel1.relative: 0.0 0.0;
2700                image.normal: "flip_7t.png";
2701             }
2702             description { state: "7h" 0.0;
2703                inherit: "default" 0.0;
2704                color: 128 128 128 255;
2705                visible: 0;
2706                rel1.relative: 0.0 1.0;
2707                image.normal: "flip_7t.png";
2708             }
2709             description { state: "8" 0.0;
2710                inherit: "default" 0.0;
2711                visible: 1;
2712                rel1.relative: 0.0 0.0;
2713                image.normal: "flip_8t.png";
2714             }
2715             description { state: "8h" 0.0;
2716                inherit: "default" 0.0;
2717                color: 128 128 128 255;
2718                visible: 0;
2719                rel1.relative: 0.0 1.0;
2720                image.normal: "flip_8t.png";
2721             }
2722             description { state: "9" 0.0;
2723                inherit: "default" 0.0;
2724                visible: 1;
2725                rel1.relative: 0.0 0.0;
2726                image.normal: "flip_9t.png";
2727             }
2728             description { state: "9h" 0.0;
2729                inherit: "default" 0.0;
2730                color: 128 128 128 255;
2731                visible: 0;
2732                rel1.relative: 0.0 1.0;
2733                image.normal: "flip_9t.png";
2734             }
2735          }
2736          part { name: "atop";
2737             mouse_events: 0;
2738             scale: 1;
2739             description { state: "default" 0.0;
2740                visible: 0;
2741                min: 15 15;
2742                max: 15 15;
2743                align: 0.5 0.0;
2744                rel1.to: "t";
2745                rel2.to: "t";
2746                image.normal: "arrow_up.png";
2747             }
2748             description { state: "visible" 0.0;
2749                inherit: "default" 0.0;
2750                visible: 1;
2751             }
2752          }
2753          part { name: "abot";
2754             mouse_events: 0;
2755             scale: 1;
2756             description { state: "default" 0.0;
2757                visible: 0;
2758                min: 15 15;
2759                max: 15 15;
2760                align: 0.5 1.0;
2761                rel1.to: "b";
2762                rel2.to: "b";
2763                image.normal: "arrow_down.png";
2764             }
2765             description { state: "visible" 0.0;
2766                inherit: "default" 0.0;
2767                visible: 1;
2768             }
2769          }
2770       }
2771       programs {
2772          program { name: "load";
2773             signal: "load";
2774             source: "";
2775             script {
2776                set_int(v0_cur, 0);
2777                set_int(v0_pre, 0);
2778                set_int(v0_lock, 0);
2779                set_int(v0_next, -1);
2780             }
2781          }
2782          program { name: "edit_on";
2783             signal: "elm,state,edit,on";
2784             source: "elm";
2785             action: STATE_SET "visible" 0.0;
2786             target: "atop";
2787             target: "abot";
2788             target: "t";
2789             target: "b";
2790          }
2791          program { name: "edit_off";
2792             signal: "elm,state,edit,off";
2793             source: "elm";
2794             action: STATE_SET "default" 0.0;
2795             target: "atop";
2796             target: "abot";
2797             target: "t";
2798             target: "b";
2799          }
2800          program { name: "up";
2801             signal: "mouse,down,1";
2802             source: "t";
2803             action: SIGNAL_EMIT "elm,action,up,start" "";
2804          }
2805          program { name: "up,stop";
2806             signal: "mouse,up,1";
2807             source: "t";
2808             action: SIGNAL_EMIT "elm,action,up,stop" "";
2809          }
2810          program { name: "down";
2811             signal: "mouse,down,1";
2812             source: "b";
2813             action: SIGNAL_EMIT "elm,action,down,start" "";
2814          }
2815          program { name: "down,stop";
2816             signal: "mouse,up,1";
2817             source: "b";
2818             action: SIGNAL_EMIT "elm,action,down,stop" "";
2819          }
2820       }
2821    }
2822
2823 ///////////////////////////////////////////////////////////////////////////////
2824    group { name: "elm/clock/flipampm/default";
2825       images {
2826          image: "flip_base.png" COMP;
2827          image: "flip_base_shad.png" COMP;
2828          image: "flip_shad.png" COMP;
2829          image: "flip_amt.png" COMP;
2830          image: "flip_amb.png" COMP;
2831          image: "flip_pmt.png" COMP;
2832          image: "flip_pmb.png" COMP;
2833          image: "arrow_up.png" COMP;
2834          image: "arrow_down.png" COMP;
2835       }
2836       script {
2837          public v0_cur, v0_pre, v0_lock, v0_next;
2838
2839        public animator2(val, Float:pos) {
2840           new st1[11], st2[11], v;
2841
2842           v = get_int(v0_cur);
2843           snprintf(st1, 10, "%ih", v);
2844           snprintf(st2, 10, "%i", v);
2845           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2846           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2847           if (pos >= 1.0) {
2848              set_state(PART:"sh", "default", 0.0);
2849              set_int(v0_lock, 0);
2850              v = get_int(v0_next);
2851              if (v >= 0) {
2852                 set_int(v0_next, -1);
2853                 message(MSG_INT, 1, v);
2854              }
2855           }
2856        }
2857        public animator1(val, Float:pos) {
2858           new st1[11], st2[11], v;
2859
2860           v = get_int(v0_pre);
2861           snprintf(st1, 10, "%i", v);
2862           snprintf(st2, 10, "%ih", v);
2863           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2864           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2865           if (pos >= 1.0) anim(0.2, "animator2", val);
2866        }
2867        public message(Msg_Type:type, id, ...) {
2868           if ((type == MSG_INT) && (id == 1)) {
2869              new value, v, buf[11];
2870
2871              value = getarg(2);
2872              if (get_int(v0_lock) == 1) {
2873                 set_int(v0_next, value);
2874                 return;
2875              }
2876              v = get_int(v0_cur);
2877              set_int(v0_pre, v);
2878              set_int(v0_cur, value);
2879              set_int(v0_lock, 1);
2880              snprintf(buf, 10, "%i", get_int(v0_pre));
2881              set_state(PART:"bot0", buf, 0.0);
2882              snprintf(buf, 10, "%ih", get_int(v0_cur));
2883              set_state(PART:"bot", buf, 0.0);
2884              snprintf(buf, 10, "%i", get_int(v0_cur));
2885              set_state(PART:"top0", buf, 0.0);
2886              snprintf(buf, 10, "%i", get_int(v0_pre));
2887              set_state(PART:"top", buf, 0.0);
2888              set_state(PART:"sh", "default", 0.0);
2889              anim(0.2, "animator1", 1);
2890           }
2891        }
2892       }
2893       parts {
2894          part { name: "shad";
2895             mouse_events: 0;
2896             description { state: "default" 0.0;
2897                rel1.offset: -4 -4;
2898                rel1.to: "base";
2899                rel2.offset: 3 3;
2900                rel2.to: "base";
2901                image {
2902                   normal: "flip_base_shad.png";
2903                   border: 8 8 8 8;
2904                }
2905             }
2906          }
2907          part { name: "base";
2908             mouse_events: 0;
2909             scale: 1;
2910             description { state: "default" 0.0;
2911                rel1.offset: 4 4;
2912                rel2.offset: -5 -5;
2913                // FIXME 48x96 should be the native pixel design, right now
2914                // its 80x160. fix int he artwork later
2915                aspect: 0.5 0.5;
2916                min: 24 48;
2917 //             max: 24 48;
2918                image.normal: "flip_base.png";
2919             }
2920          }
2921          part { name: "b";
2922             type: RECT;
2923             mouse_events: 1;
2924             description { state: "default" 0.0;
2925                rel1.to: "base";
2926                rel1.relative: 0.0 0.5;
2927                rel2.to: "base";
2928                color: 0 0 0 0;
2929             }
2930          }
2931          part { name: "t";
2932             type: RECT;
2933             mouse_events: 1;
2934             description { state: "default" 0.0;
2935                rel1.to: "base";
2936                rel2.to: "base";
2937                rel2.relative: 1.0 0.5;
2938                color: 0 0 0 0;
2939             }
2940          }
2941          part { name: "bot0";
2942             mouse_events: 0;
2943             description { state: "default" 0.0;
2944                rel1.to: "b";
2945                rel2.to: "b";
2946                image.normal: "flip_amb.png";
2947             }
2948             description { state: "0" 0.0;
2949                inherit: "default" 0.0;
2950                image.normal: "flip_amb.png";
2951             }
2952             description { state: "1" 0.0;
2953                inherit: "default" 0.0;
2954                image.normal: "flip_pmb.png";
2955             }
2956          }
2957          part { name: "sh";
2958             mouse_events: 0;
2959             description { state: "default" 0.0;
2960                rel1.to: "b";
2961                rel2.to: "b";
2962                rel2.relative: 1.0 0.0;
2963                image.normal: "flip_shad.png";
2964             }
2965             description { state: "half" 0.0;
2966                inherit: "default" 0.0;
2967                rel2.relative: 1.0 0.5;
2968             }
2969             description { state: "full" 0.0;
2970                inherit: "default" 0.0;
2971                rel2.relative: 1.0 1.0;
2972             }
2973          }
2974          part { name: "bot";
2975             mouse_events: 0;
2976             description { state: "default" 0.0;
2977                visible: 1;
2978                rel1.to: "b";
2979                rel2.to: "b";
2980                image.normal: "flip_amb.png";
2981             }
2982             description { state: "0" 0.0;
2983                inherit: "default" 0.0;
2984                visible: 1;
2985                rel2.relative: 1.0 1.0;
2986                image.normal: "flip_amb.png";
2987             }
2988             description { state: "0h" 0.0;
2989                inherit: "default" 0.0;
2990                visible: 0;
2991                rel2.relative: 1.0 0.0;
2992                image.normal: "flip_amb.png";
2993             }
2994             description { state: "1" 0.0;
2995                inherit: "default" 0.0;
2996                visible: 1;
2997                rel2.relative: 1.0 1.0;
2998                image.normal: "flip_pmb.png";
2999             }
3000             description { state: "1h" 0.0;
3001                inherit: "default" 0.0;
3002                visible: 0;
3003                rel2.relative: 1.0 0.0;
3004                image.normal: "flip_pmb.png";
3005             }
3006          }
3007          part { name: "top0";
3008             mouse_events: 0;
3009             description { state: "default" 0.0;
3010                rel1.to: "t";
3011                rel2.to: "t";
3012                image.normal: "flip_amt.png";
3013             }
3014             description { state: "0" 0.0;
3015                inherit: "default" 0.0;
3016                image.normal: "flip_amt.png";
3017             }
3018             description { state: "1" 0.0;
3019                inherit: "default" 0.0;
3020                image.normal: "flip_pmt.png";
3021             }
3022          }
3023          part { name: "top";
3024             mouse_events: 0;
3025             description { state: "default" 0.0;
3026                visible: 1;
3027                rel1.to: "t";
3028                rel2.to: "t";
3029                image.normal: "flip_amt.png";
3030             }
3031             description { state: "0" 0.0;
3032                inherit: "default" 0.0;
3033                visible: 1;
3034                rel1.relative: 0.0 0.0;
3035                image.normal: "flip_amt.png";
3036             }
3037             description { state: "0h" 0.0;
3038                inherit: "default" 0.0;
3039                color: 128 128 128 255;
3040                visible: 0;
3041                rel1.relative: 0.0 1.0;
3042                image.normal: "flip_amt.png";
3043             }
3044             description { state: "1" 0.0;
3045                inherit: "default" 0.0;
3046                visible: 1;
3047                rel1.relative: 0.0 0.0;
3048                image.normal: "flip_pmt.png";
3049             }
3050             description { state: "1h" 0.0;
3051                inherit: "default" 0.0;
3052                color: 128 128 128 255;
3053                visible: 0;
3054                rel1.relative: 0.0 1.0;
3055                image.normal: "flip_pmt.png";
3056             }
3057          }
3058          part { name: "atop";
3059             mouse_events: 0;
3060             scale: 1;
3061             description { state: "default" 0.0;
3062                visible: 0;
3063                min: 15 15;
3064                max: 15 15;
3065                align: 0.5 0.0;
3066                rel1.to: "t";
3067                rel2.to: "t";
3068                image.normal: "arrow_up.png";
3069             }
3070             description { state: "visible" 0.0;
3071                inherit: "default" 0.0;
3072                visible: 1;
3073             }
3074          }
3075          part { name: "abot";
3076             mouse_events: 0;
3077             scale: 1;
3078             description { state: "default" 0.0;
3079                visible: 0;
3080                min: 15 15;
3081                max: 15 15;
3082                align: 0.5 1.0;
3083                rel1.to: "b";
3084                rel2.to: "b";
3085                image.normal: "arrow_down.png";
3086             }
3087             description { state: "visible" 0.0;
3088                inherit: "default" 0.0;
3089                visible: 1;
3090             }
3091          }
3092       }
3093       programs {
3094          program { name: "load";
3095             signal: "load";
3096             source: "";
3097             script {
3098                set_int(v0_cur, 0);
3099                set_int(v0_pre, 0);
3100                set_int(v0_lock, 0);
3101                set_int(v0_next, -1);
3102             }
3103          }
3104          program { name: "edit_on";
3105             signal: "elm,state,edit,on";
3106             source: "elm";
3107             action: STATE_SET "visible" 0.0;
3108             target: "atop";
3109             target: "abot";
3110          }
3111 /*
3112          program { name: "edit_off";
3113             signal: "elm,state,edit,off";
3114             source: "elm";
3115             action: STATE_SET "default" 0.0;
3116             target: "atop";
3117             target: "abot";
3118          }
3119  */
3120          program { name: "up";
3121             signal: "mouse,down,1";
3122             source: "t";
3123             action: SIGNAL_EMIT "elm,action,up,start" "";
3124          }
3125          program { name: "up,stop";
3126             signal: "mouse,up,1";
3127             source: "t";
3128             action: SIGNAL_EMIT "elm,action,up,stop" "";
3129          }
3130          program { name: "down";
3131             signal: "mouse,down,1";
3132             source: "b";
3133             action: SIGNAL_EMIT "elm,action,down,start" "";
3134          }
3135          program { name: "down,stop";
3136             signal: "mouse,up,1";
3137             source: "b";
3138             action: SIGNAL_EMIT "elm,action,down,stop" "";
3139          }
3140       }
3141    }
3142
3143    ///////////////////////////////////////////////////////////////////////////////
3144    group { name: "elm/menu/item/default";
3145        images {
3146            image: "bt_base1.png" COMP;
3147            image: "bt_base2.png" COMP;
3148            image: "bt_hilight.png" COMP;
3149            image: "bt_shine.png" COMP;
3150            image: "bt_glow.png" COMP;
3151            image: "bt_dis_base.png" COMP;
3152            image: "bt_dis_hilight.png" COMP;
3153        }
3154        script {
3155             public menu_text_visible; //0:hide (default), 1:visible
3156             public menu_disable; //0:enable, 1:disable
3157        }
3158        parts {
3159            part { name: "item_image";
3160                mouse_events: 1;
3161                description { state: "default" 0.0;
3162                    color: 255 255 255 0;
3163                    image {
3164                        normal: "bt_base2.png";
3165                        border: 7 7 7 7;
3166                    }
3167                    image.middle: SOLID;
3168                }
3169                description { state: "visible" 0.0;
3170                    inherit: "default" 0.0;
3171                    color: 255 255 255 255;
3172                }
3173                description { state: "clicked" 0.0;
3174                    inherit: "default" 0.0;
3175                    inherit: "visible" 0.0;
3176                    image.normal: "bt_base1.png";
3177                    image.middle: SOLID;
3178                }
3179                description { state: "disabled" 0.0;
3180                    inherit:  "default" 0.0;
3181                }
3182            }
3183            part { name: "item_image_disabled";
3184                mouse_events: 1;
3185                description { state: "default" 0.0;
3186                    color: 255 255 255 0;
3187                    image {
3188                        normal: "bt_dis_base.png";
3189                        border: 4 4 4 4;
3190                    }
3191                    image.middle: SOLID;
3192                }
3193                description { state: "disabled" 0.0;
3194                    inherit:  "default" 0.0;
3195                    color: 255 255 255 255;
3196                }
3197            }
3198            part { name: "elm.swallow.content";
3199                type: SWALLOW;
3200                description { state: "default" 0.0;
3201                    fixed: 1 0;
3202                    visible: 1;
3203                    align: 0.0 0.5;
3204                    rel1.offset: 4 4;
3205                    rel2.offset: 3 -5;
3206                    rel2.relative: 0.0 1.0;
3207                    aspect: 1.0 1.0;
3208                    aspect_preference: VERTICAL;
3209                    rel2.offset: 4 -5;
3210                }
3211            }
3212            part {
3213                name:          "elm.text";
3214                type:          TEXT;
3215                mouse_events:  0;
3216                scale: 1;
3217                description { state: "default" 0.0;
3218                    visible: 0;
3219                    rel1.to_x: "elm.swallow.content";
3220                    rel1.relative: 1.0 0.0;
3221                    rel1.offset: 5 7;
3222                    rel2.offset: -10 -8;
3223                    color: 0 0 0 255;
3224                    text {
3225                        font:     "Sans,Edje-Vera";
3226                        size:     10;
3227                        min:      1 1;
3228                        align:    0.0 0.5;
3229                    }
3230                }
3231                description { state: "visible" 0.0;
3232                    inherit: "default" 0.0;
3233                    visible: 1;
3234                    text.min: 1 1;
3235                }
3236                description { state: "selected" 0.0;
3237                    inherit: "default" 0.0;
3238                    inherit: "visible" 0.0;
3239                    color: 254 254 254 255;
3240                }
3241                description { state: "disabled" 0.0;
3242                    inherit: "default" 0.0;
3243                    color: 0 0 0 128;
3244                }
3245                description { state: "disabled_visible" 0.0;
3246                    inherit: "default" 0.0;
3247                    inherit: "visible" 0.0;
3248                    color: 0 0 0 128;
3249                }
3250            }
3251            part {         name: "over1";
3252                mouse_events: 0;
3253                description { state: "default" 0.0;
3254                    color: 255 255 255 0;
3255                    rel2.relative: 1.0 0.5;
3256                    image {
3257                        normal: "bt_hilight.png";
3258                        border: 7 7 7 0;
3259                    }
3260                }
3261                description { state: "visible" 0.0;
3262                    inherit:  "default" 0.0;
3263                    color: 255 255 255 255;
3264                }
3265                description { state: "disabled" 0.0;
3266                    inherit:  "default" 0.0;
3267                }
3268            }
3269            part {         name: "over_disabled";
3270                mouse_events: 0;
3271                description { state: "default" 0.0;
3272                    color: 255 255 255 0;
3273                    rel2.relative: 1.0 0.5;
3274                    image {
3275                        normal: "bt_dis_hilight.png";
3276                        border: 4 4 4 0;
3277                    }
3278                }
3279                description { state: "disabled" 0.0;
3280                    inherit:  "default" 0.0;
3281                    color: 255 255 255 255;
3282                }
3283            }
3284            part { name: "over2";
3285                mouse_events: 1;
3286                repeat_events: 1;
3287                ignore_flags: ON_HOLD;
3288                description { state: "default" 0.0;
3289                    image {
3290                        normal: "bt_shine.png";
3291                        border: 7 7 7 7;
3292                    }
3293                }
3294                description { state: "disabled" 0.0;
3295                    inherit:  "default" 0.0;
3296                    visible: 0;
3297                }
3298            }
3299            part { name: "over3";
3300                mouse_events: 1;
3301                repeat_events: 1;
3302                description { state: "default" 0.0;
3303                    color: 255 255 255 0;
3304                    image {
3305                        normal: "bt_glow.png";
3306                        border: 12 12 12 12;
3307                    }
3308                    fill.smooth : 0;
3309                }
3310                description { state: "clicked" 0.0;
3311                    inherit:  "default" 0.0;
3312                    visible: 1;
3313                    color: 255 255 255 255;
3314                }
3315            }
3316            part { name: "disabler";
3317                type: RECT;
3318                description { state: "default" 0.0;
3319                    color: 0 0 0 0;
3320                    visible: 0;
3321                }
3322                description { state: "disabled" 0.0;
3323                    inherit: "default" 0.0;
3324                    visible: 1;
3325                }
3326            }
3327        }
3328        programs {
3329           //
3330            program {
3331                name:   "item_mouse_in";
3332                signal: "mouse,in";
3333                source: "over2";
3334                action: SIGNAL_EMIT "elm,action,activate" "";
3335                after: "item_mouse_in_2";
3336                after: "item_mouse_in_3";
3337            }
3338            program {
3339                name:   "item_mouse_in_2";
3340                transition: DECELERATE 0.5;
3341                script {
3342                    new v, d;
3343                    v = get_int(menu_text_visible);
3344                    d = get_int(menu_disable);
3345
3346                    if (v==1 && d==0)
3347                         run_program(PROGRAM:"selected_text");
3348                }
3349            }
3350            program {
3351                name:   "item_mouse_in_3";
3352                action : STATE_SET "visible" 0.0;
3353                target: "item_image";
3354                target: "over1";
3355                transition: DECELERATE 0.5;
3356            }
3357            program {
3358                name:   "selected_text";
3359                action: STATE_SET "selected" 0.0;
3360                target: "elm.text";
3361                transition: DECELERATE 0.5;
3362            }
3363            //
3364
3365            //
3366            program {
3367                name:   "item_mouse_out";
3368                signal: "mouse,out";
3369                source: "over2";
3370                after: "item_mouse_out_2";
3371                after: "item_mouse_out_3";
3372            }
3373            program {
3374                name:   "item_mouse_out_2";
3375                transition: DECELERATE 0.5;
3376                script {
3377                    new v, d;
3378                    v = get_int(menu_text_visible);
3379                    d = get_int(menu_disable);
3380
3381                    if (v==1 && d==0)
3382                         run_program(PROGRAM:"visible_text");
3383                }
3384            }
3385            program {
3386                name:   "item_mouse_out_3";
3387                action: STATE_SET "default" 0.0;
3388                target: "item_image";
3389                target: "over1";
3390                transition: DECELERATE 0.5;
3391            }
3392            program {
3393                name:   "visible_text";
3394                action: STATE_SET "visible" 0.0;
3395                target: "elm.text";
3396                transition: DECELERATE 0.5;
3397            }
3398            //
3399
3400            program {
3401                name:   "item_unclick";
3402                signal: "mouse,up,1";
3403                source: "over2";
3404                action: STATE_SET "visible" 0.0;
3405                target: "item_image";
3406            }
3407            program {
3408                name:   "item_click2";
3409                signal: "mouse,down,1";
3410                source: "over3";
3411                action: STATE_SET "clicked" 0.0;
3412                target: "over3";
3413            }
3414            program {
3415                name:   "item_unclick2";
3416                signal: "mouse,up,1";
3417                source: "over3";
3418                action: STATE_SET "default" 0.0;
3419                transition: DECELERATE 0.5;
3420                target: "over3";
3421            }
3422            program {
3423                name:   "item_unclick3";
3424                signal: "mouse,up,1";
3425                source: "over2";
3426                action: SIGNAL_EMIT "elm,action,click" "";
3427            }
3428            program { name: "text_show";
3429                signal: "elm,state,text,visible";
3430                source: "elm";
3431                script {
3432                    set_int(menu_text_visible, 1);
3433                    set_state(PART:"elm.text", "visible", 0.0);
3434                }
3435            }
3436            program { name: "text_hide";
3437                signal: "elm,state,text,hidden";
3438                source: "elm";
3439                script {
3440                    set_int(menu_text_visible, 0);
3441                    set_state(PART:"elm.text", "default", 0.0);
3442                }
3443            }
3444            program { name: "disable";
3445                signal: "elm,state,disabled";
3446                source: "elm";
3447                action: STATE_SET "disabled" 0.0;
3448                target: "item_image";
3449                target: "item_image_disabled";
3450                target: "over1";
3451                target: "over2";
3452                target: "over_disabled";
3453                target: "disabler";
3454                after: "disable_text";
3455            }
3456            program { name: "disable_text";
3457                script {
3458                    new v;
3459                    v = get_int(menu_text_visible);
3460                    if (v==1)
3461                     set_state(PART:"elm.text", "disabled_visible", 0.0);
3462                    else if (v==0)
3463                     set_state(PART:"elm.text", "disabled", 0.0);
3464                    set_int(menu_disable, 1);
3465                }
3466            }
3467            program { name: "enable";
3468                signal: "elm,state,enabled";
3469                source: "elm";
3470                action: STATE_SET "default" 0.0;
3471                target: "item_image";
3472                target: "item_image_disabled";
3473                target: "over1";
3474                target: "over2";
3475                target: "over_disabled";
3476                target: "disabler";
3477                after: "enable_text";
3478            }
3479            program { name: "enable_text";
3480                script {
3481                    new v;
3482                    v = get_int(menu_text_visible);
3483                    if (v==1)
3484                     set_state(PART:"elm.text", "visible", 0.0);
3485                    else  if (v==0)
3486                     set_state(PART:"elm.text", "default", 0.0);
3487                    set_int(menu_disable, 0);
3488                }
3489            }
3490        }
3491    }
3492
3493    group { name: "elm/menu/item_with_submenu/default";
3494        images {
3495            image: "bt_base1.png" COMP;
3496            image: "bt_base2.png" COMP;
3497            image: "bt_hilight.png" COMP;
3498            image: "bt_shine.png" COMP;
3499            image: "bt_glow.png" COMP;
3500            image: "bt_dis_base.png" COMP;
3501            image: "bt_dis_hilight.png" COMP;
3502            image: "arrow_right.png" COMP;
3503        }
3504        script {
3505             public menu_text_visible; //0:hide (default), 1:visible
3506             public menu_disable; //0:enable, 1:disable
3507        }
3508        parts {
3509            part { name: "item_image";
3510                mouse_events: 1;
3511                description { state: "default" 0.0;
3512                    color: 255 255 255 0;
3513                    image {
3514                        normal: "bt_base2.png";
3515                        border: 7 7 7 7;
3516                    }
3517                    image.middle: SOLID;
3518                }
3519                description { state: "visible" 0.0;
3520                    inherit: "default" 0.0;
3521                    color: 255 255 255 255;
3522                }
3523                description { state: "clicked" 0.0;
3524                    inherit: "default" 0.0;
3525                    inherit: "visible" 0.0;
3526                    image.normal: "bt_base1.png";
3527                    image.middle: SOLID;
3528                }
3529                description { state: "disabled" 0.0;
3530                    inherit:  "default" 0.0;
3531                }
3532            }
3533            part { name: "item_image_disabled";
3534                mouse_events: 1;
3535                description { state: "default" 0.0;
3536                    color: 255 255 255 0;
3537                    image {
3538                        normal: "bt_dis_base.png";
3539                        border: 4 4 4 4;
3540                    }
3541                    image.middle: SOLID;
3542                }
3543                description { state: "disabled" 0.0;
3544                    inherit:  "default" 0.0;
3545                    color: 255 255 255 255;
3546                }
3547            }
3548            part { name: "arrow";
3549                mouse_events: 1;
3550                description { state: "default" 0.0;
3551                    color: 255 255 255 255;
3552                    align: 1.0 0.5;
3553                    aspect: 1 1;
3554                    aspect_preference: BOTH;
3555                    image {
3556                        normal: "arrow_right.png";
3557                    }
3558                }
3559            }
3560            part { name: "elm.swallow.content";
3561                type: SWALLOW;
3562                description { state: "default" 0.0;
3563                    fixed: 1 0;
3564                    visible: 1;
3565                    align: 0.0 0.5;
3566                    rel1.offset: 4 4;
3567                    rel2.offset: 3 -5;
3568                    rel2.relative: 0.0 1.0;
3569                    aspect: 1.0 1.0;
3570                    aspect_preference: VERTICAL;
3571                    rel2.offset: 4 -5;
3572                }
3573            }
3574            part {
3575                name:          "elm.text";
3576                type:          TEXT;
3577                mouse_events:  0;
3578                scale: 1;
3579                description { state: "default" 0.0;
3580                    visible: 0;
3581                    rel1.to_x: "elm.swallow.content";
3582                    rel1.relative: 1.0 0.0;
3583                    rel1.offset: 5 7;
3584                    rel2.offset: -10 -8;
3585                    color: 0 0 0 255;
3586                    text {
3587                        font:     "Sans,Edje-Vera";
3588                        size:     10;
3589                        min:      1 1;
3590                        align:    0.0 0.5;
3591                    }
3592                }
3593                description { state: "visible" 0.0;
3594                    inherit: "default" 0.0;
3595                    visible: 1;
3596                    text.min: 1 1;
3597                }
3598                description { state: "selected" 0.0;
3599                    inherit: "default" 0.0;
3600                    inherit: "visible" 0.0;
3601                    color: 254 254 254 255;
3602                }
3603                description { state: "disabled" 0.0;
3604                    inherit: "default" 0.0;
3605                    color: 0 0 0 128;
3606                }
3607                description { state: "disabled_visible" 0.0;
3608                    inherit: "default" 0.0;
3609                    inherit: "visible" 0.0;
3610                    color: 0 0 0 128;
3611                }
3612            }
3613            part {         name: "over1";
3614                mouse_events: 0;
3615                description { state: "default" 0.0;
3616                    color: 255 255 255 0;
3617                    rel2.relative: 1.0 0.5;
3618                    image {
3619                        normal: "bt_hilight.png";
3620                        border: 7 7 7 0;
3621                    }
3622                }
3623                description { state: "visible" 0.0;
3624                    inherit:  "default" 0.0;
3625                    color: 255 255 255 255;
3626                }
3627                description { state: "disabled" 0.0;
3628                    inherit:  "default" 0.0;
3629                }
3630            }
3631            part { name: "over_disabled";
3632                mouse_events: 0;
3633                description { state: "default" 0.0;
3634                    color: 255 255 255 0;
3635                    rel2.relative: 1.0 0.5;
3636                    image {
3637                        normal: "bt_dis_hilight.png";
3638                        border: 4 4 4 0;
3639                    }
3640                }
3641                description { state: "disabled" 0.0;
3642                    inherit:  "default" 0.0;
3643                    color: 255 255 255 255;
3644                }
3645            }
3646            part { name: "over2";
3647                mouse_events: 1;
3648                repeat_events: 1;
3649                ignore_flags: ON_HOLD;
3650                description { state: "default" 0.0;
3651                    image {
3652                        normal: "bt_shine.png";
3653                        border: 7 7 7 7;
3654                    }
3655                }
3656                description { state: "disabled" 0.0;
3657                    inherit:  "default" 0.0;
3658                    visible: 0;
3659                }
3660            }
3661            part { name: "over3";
3662                mouse_events: 1;
3663                repeat_events: 1;
3664                description { state: "default" 0.0;
3665                    color: 255 255 255 0;
3666                    image {
3667                        normal: "bt_glow.png";
3668                        border: 12 12 12 12;
3669                    }
3670                    fill.smooth : 0;
3671                }
3672                description { state: "clicked" 0.0;
3673                    inherit:  "default" 0.0;
3674                    visible: 1;
3675                    color: 255 255 255 255;
3676                }
3677            }
3678            part { name: "disabler";
3679                type: RECT;
3680                description { state: "default" 0.0;
3681                    color: 0 0 0 0;
3682                    visible: 0;
3683                }
3684                description { state: "disabled" 0.0;
3685                    inherit: "default" 0.0;
3686                    visible: 1;
3687                }
3688            }
3689        }
3690        programs {
3691            //
3692            program {
3693                name:   "item_mouse_in";
3694                signal: "mouse,in";
3695                source: "over2";
3696                action: SIGNAL_EMIT "elm,action,activate" "";
3697                after: "item_mouse_in_2";
3698                after: "item_mouse_in_3";
3699            }
3700            program {
3701                name:   "item_mouse_in_2";
3702                transition: DECELERATE 0.5;
3703                script {
3704                    new v, d;
3705                    v = get_int(menu_text_visible);
3706                    d = get_int(menu_disable);
3707
3708                    if (v==1 && d==0)
3709                         run_program(PROGRAM:"selected_text");
3710                }
3711            }
3712            program {
3713                name:   "item_mouse_in_3";
3714                action : STATE_SET "visible" 0.0;
3715                target: "item_image";
3716                target: "over1";
3717                transition: DECELERATE 0.5;
3718            }
3719            program {
3720                name:   "selected_text";
3721                action: STATE_SET "selected" 0.0;
3722                target: "elm.text";
3723                transition: DECELERATE 0.5;
3724            }
3725            //
3726
3727            //
3728            program {
3729                name:   "item_mouse_out";
3730                signal: "mouse,out";
3731                source: "over2";
3732                after: "item_mouse_out_2";
3733                after: "item_mouse_out_3";
3734            }
3735            program {
3736                name:   "item_mouse_out_2";
3737                transition: DECELERATE 0.5;
3738                script {
3739                    new v, d;
3740                    v = get_int(menu_text_visible);
3741                    d = get_int(menu_disable);
3742
3743                    if (v==1 && d==0)
3744                         run_program(PROGRAM:"visible_text");
3745                }
3746            }
3747            program {
3748                name:   "item_mouse_out_3";
3749                action: STATE_SET "default" 0.0;
3750                target: "item_image";
3751                target: "over1";
3752                transition: DECELERATE 0.5;
3753            }
3754            program {
3755                name:   "visible_text";
3756                action: STATE_SET "visible" 0.0;
3757                target: "elm.text";
3758                transition: DECELERATE 0.5;
3759            }
3760            //
3761
3762            program {
3763                name:   "item_unclick";
3764                signal: "mouse,up,1";
3765                source: "over2";
3766                action: STATE_SET "visible" 0.0;
3767                target: "item_image";
3768            }
3769            program {
3770                name:   "item_click2";
3771                signal: "mouse,down,1";
3772                source: "over3";
3773                action: STATE_SET "clicked" 0.0;
3774                target: "over3";
3775            }
3776            program {
3777                name:   "item_unclick2";
3778                signal: "mouse,up,1";
3779                source: "over3";
3780                action: STATE_SET "default" 0.0;
3781                transition: DECELERATE 0.5;
3782                target: "over3";
3783            }
3784            program {
3785                name:   "item_unclick3";
3786                signal: "mouse,up,1";
3787                source: "over2";
3788                action: SIGNAL_EMIT "elm,action,click" "";
3789            }
3790            program {
3791                name:   "menu_open";
3792                signal: "mouse,in";
3793                source: "over2";
3794                action: SIGNAL_EMIT "elm,action,open" "";
3795            }
3796             program { name: "text_show";
3797                signal: "elm,state,text,visible";
3798                source: "elm";
3799                script {
3800                    set_int(menu_text_visible, 1);
3801                    set_state(PART:"elm.text", "visible", 0.0);
3802                }
3803            }
3804            program { name: "text_hide";
3805                signal: "elm,state,text,hidden";
3806                source: "elm";
3807                script {
3808                    set_int(menu_text_visible, 0);
3809                    set_state(PART:"elm.text", "default", 0.0);
3810                }
3811            }
3812            program { name: "disable";
3813                signal: "elm,state,disabled";
3814                source: "elm";
3815                action: STATE_SET "disabled" 0.0;
3816                target: "item_image";
3817                target: "item_image_disabled";
3818                target: "over1";
3819                target: "over2";
3820                target: "over_disabled";
3821                target: "disabler";
3822                after: "disable_text";
3823            }
3824            program { name: "disable_text";
3825                script {
3826                    new st[31];
3827                    new Float:vl;
3828                    get_state(PART:"elm.text", st, 30, vl);
3829                    if (!strcmp(st, "visible"))
3830                    set_state(PART:"elm.text", "disabled_visible", 0.0);
3831                    else if (!strcmp(st, "default"))
3832                    set_state(PART:"elm.text", "disabled", 0.0);
3833                }
3834            }
3835            program { name: "enable";
3836                signal: "elm,state,enabled";
3837                source: "elm";
3838                action: STATE_SET "default" 0.0;
3839                target: "item_image";
3840                target: "item_image_disabled";
3841                target: "over1";
3842                target: "over2";
3843                target: "over_disabled";
3844                target: "disabler";
3845                after: "enable_text";
3846            }
3847            program { name: "enable_text";
3848                script {
3849                    new v;
3850                    v = get_int(menu_text_visible);
3851                    if (v==1)
3852                     set_state(PART:"elm.text", "visible", 0.0);
3853                    else  if (v==0)
3854                     set_state(PART:"elm.text", "default", 0.0);
3855                    set_int(menu_disable, 0);
3856                }
3857            }
3858        }
3859    }
3860
3861    group { name: "elm/menu/separator/default";
3862        images {
3863            image: "separator_h.png" COMP;
3864        }
3865        parts {
3866            part { name: "separator"; // separator group
3867                description { state: "default" 0.0;
3868                    min: 2 2;
3869                    rel1.offset: 4 4;
3870                    rel2.offset: -5 -5;
3871                    image {
3872                        normal: "separator_h.png";
3873                    }
3874                    fill {
3875                        smooth: 0;
3876                    }
3877                }
3878            }
3879        }
3880    }
3881 ///////////////////////////////////////////////////////////////////////////////
3882    group { name: "elm/clock/base-all/default";
3883       parts {
3884          part { name: "d0";
3885             type: SWALLOW;
3886             description { state: "default" 0.0;
3887                rel1.relative: 0.0000000 0.0;
3888                rel2.relative: 0.1250000 1.0;
3889             }
3890          }
3891          part { name: "d1";
3892             type: SWALLOW;
3893             description { state: "default" 0.0;
3894                rel1.relative: 0.1250000 0.0;
3895                rel2.relative: 0.2500000 1.0;
3896             }
3897          }
3898          part { name: "c0";
3899             type: SWALLOW;
3900             type: TEXT;
3901             mouse_events:  0;
3902             scale: 1;
3903             description { state: "default" 0.0;
3904                rel1.relative: 0.2500000 0.0;
3905                rel2.relative: 0.3125000 1.0;
3906                color: 0 0 0 255;
3907                text {
3908                   font:     "Sans,Edje-Vera";
3909                   text:     ":";
3910                   size:     10;
3911                   min:      1 1;
3912                   align:    0.5 0.5;
3913                }
3914             }
3915          }
3916          part { name: "d2";
3917             type: SWALLOW;
3918             description { state: "default" 0.0;
3919                rel1.relative: 0.3125000 0.0;
3920                rel2.relative: 0.4375000 1.0;
3921             }
3922          }
3923          part { name: "d3";
3924             type: SWALLOW;
3925             description { state: "default" 0.0;
3926                rel1.relative: 0.4375000 0.0;
3927                rel2.relative: 0.5625000 1.0;
3928             }
3929          }
3930          // (if seconds)
3931          part { name: "c1";
3932             type: SWALLOW;
3933             type: TEXT;
3934             mouse_events:  0;
3935             scale: 1;
3936             description { state: "default" 0.0;
3937                rel1.relative: 0.5625000 0.0;
3938                rel2.relative: 0.6250000 1.0;
3939                color: 0 0 0 255;
3940                text {
3941                   font:     "Sans,Edje-Vera";
3942                   text:     ":";
3943                   size:     10;
3944                   min:      1 1;
3945                   align:    0.5 0.5;
3946                }
3947             }
3948          }
3949          // (if seconds)
3950          part { name: "d4";
3951             type: SWALLOW;
3952             description { state: "default" 0.0;
3953                rel1.relative: 0.6250000 0.0;
3954                rel2.relative: 0.7500000 1.0;
3955             }
3956          }
3957          // (if seconds)
3958          part { name: "d5";
3959             type: SWALLOW;
3960             description { state: "default" 0.0;
3961                rel1.relative: 0.7500000 0.0;
3962                rel2.relative: 0.8750000 1.0;
3963             }
3964          }
3965          // (if am_pm)
3966          part { name: "ampm";
3967             type: SWALLOW;
3968             description { state: "default" 0.0;
3969                rel1.relative: 0.8750000 0.0;
3970                rel2.relative: 1.0 1.0;
3971             }
3972          }
3973       }
3974    }
3975
3976 ///////////////////////////////////////////////////////////////////////////////
3977    group { name: "elm/clock/base-seconds/default";
3978       parts {
3979          part { name: "d0";
3980             type: SWALLOW;
3981             description { state: "default" 0.0;
3982                rel1.relative: 0.000000000 0.0;
3983                rel2.relative: 0.142857143 1.0;
3984             }
3985          }
3986          part { name: "d1";
3987             type: SWALLOW;
3988             description { state: "default" 0.0;
3989                rel1.relative: 0.142857143 0.0;
3990                rel2.relative: 0.285714286 1.0;
3991             }
3992          }
3993          part { name: "c0";
3994             type: SWALLOW;
3995             type: TEXT;
3996             mouse_events:  0;
3997             scale: 1;
3998             description { state: "default" 0.0;
3999                rel1.relative: 0.285714286 0.0;
4000                rel2.relative: 0.357142857 1.0;
4001                color: 0 0 0 255;
4002                text {
4003                   font:     "Sans,Edje-Vera";
4004                   text:     ":";
4005                   size:     10;
4006                   min:      1 1;
4007                   align:    0.5 0.5;
4008                }
4009             }
4010          }
4011          part { name: "d2";
4012             type: SWALLOW;
4013             description { state: "default" 0.0;
4014                rel1.relative: 0.357142857 0.0;
4015                rel2.relative: 0.500000000 1.0;
4016             }
4017          }
4018          part { name: "d3";
4019             type: SWALLOW;
4020             description { state: "default" 0.0;
4021                rel1.relative: 0.500000000 0.0;
4022                rel2.relative: 0.642857143 1.0;
4023             }
4024          }
4025          // (if seconds)
4026          part { name: "c1";
4027             type: SWALLOW;
4028             type: TEXT;
4029             mouse_events:  0;
4030             scale: 1;
4031             description { state: "default" 0.0;
4032                rel1.relative: 0.642857143 0.0;
4033                rel2.relative: 0.714285714 1.0;
4034                color: 0 0 0 255;
4035                text {
4036                   font:     "Sans,Edje-Vera";
4037                   text:     ":";
4038                   size:     10;
4039                   min:      1 1;
4040                   align:    0.5 0.5;
4041                }
4042             }
4043          }
4044          // (if seconds)
4045          part { name: "d4";
4046             type: SWALLOW;
4047             description { state: "default" 0.0;
4048                rel1.relative: 0.714285714 0.0;
4049                rel2.relative: 0.857142857 1.0;
4050             }
4051          }
4052          // (if seconds)
4053          part { name: "d5";
4054             type: SWALLOW;
4055             description { state: "default" 0.0;
4056                rel1.relative: 0.857142857 0.0;
4057                rel2.relative: 1.000000000 1.0;
4058             }
4059          }
4060       }
4061    }
4062
4063 ///////////////////////////////////////////////////////////////////////////////
4064    group { name: "elm/clock/base-am_pm/default";
4065       parts {
4066          part { name: "d0";
4067             type: SWALLOW;
4068             description { state: "default" 0.0;
4069                rel1.relative: 0.000000000 0.0;
4070                rel2.relative: 0.181818182 1.0;
4071             }
4072          }
4073          part { name: "d1";
4074             type: SWALLOW;
4075             description { state: "default" 0.0;
4076                rel1.relative: 0.181818182 0.0;
4077                rel2.relative: 0.363636364 1.0;
4078             }
4079          }
4080          part { name: "c0";
4081             type: SWALLOW;
4082             type: TEXT;
4083             mouse_events:  0;
4084             scale: 1;
4085             description { state: "default" 0.0;
4086                rel1.relative: 0.363636364 0.0;
4087                rel2.relative: 0.454545455 1.0;
4088                color: 0 0 0 255;
4089                text {
4090                   font:     "Sans,Edje-Vera";
4091                   text:     ":";
4092                   size:     10;
4093                   min:      1 1;
4094                   align:    0.5 0.5;
4095                }
4096             }
4097          }
4098          part { name: "d2";
4099             type: SWALLOW;
4100             description { state: "default" 0.0;
4101                rel1.relative: 0.454545455 0.0;
4102                rel2.relative: 0.636363636 1.0;
4103             }
4104          }
4105          part { name: "d3";
4106             type: SWALLOW;
4107             description { state: "default" 0.0;
4108                rel1.relative: 0.636363636 0.0;
4109                rel2.relative: 0.818181818 1.0;
4110             }
4111          }
4112          // (if am_pm)
4113          part { name: "ampm";
4114             type: SWALLOW;
4115             description { state: "default" 0.0;
4116                rel1.relative: 0.818181818 0.0;
4117                rel2.relative: 1.0 1.0;
4118             }
4119          }
4120       }
4121    }
4122
4123 ///////////////////////////////////////////////////////////////////////////////
4124    group { name: "elm/clock/base/default";
4125       parts {
4126          part { name: "d0";
4127             type: SWALLOW;
4128             description { state: "default" 0.0;
4129                rel1.relative: 0.000000000 0.0;
4130                rel2.relative: 0.222222222 1.0;
4131             }
4132          }
4133          part { name: "d1";
4134             type: SWALLOW;
4135             description { state: "default" 0.0;
4136                rel1.relative: 0.222222222 0.0;
4137                rel2.relative: 0.444444444 1.0;
4138             }
4139          }
4140          part { name: "c0";
4141             type: SWALLOW;
4142             type: TEXT;
4143             mouse_events:  0;
4144             scale: 1;
4145             description { state: "default" 0.0;
4146                rel1.relative: 0.444444444 0.0;
4147                rel2.relative: 0.555555556 1.0;
4148                color: 0 0 0 255;
4149                text {
4150                   font:     "Sans,Edje-Vera";
4151                   text:     ":";
4152                   size:     10;
4153                   min:      1 1;
4154                   align:    0.5 0.5;
4155                }
4156             }
4157          }
4158          part { name: "d2";
4159             type: SWALLOW;
4160             description { state: "default" 0.0;
4161                rel1.relative: 0.555555556 0.0;
4162                rel2.relative: 0.777777778 1.0;
4163             }
4164          }
4165          part { name: "d3";
4166             type: SWALLOW;
4167             description { state: "default" 0.0;
4168                rel1.relative: 0.777777778 0.0;
4169                rel2.relative: 1.000000000 1.0;
4170             }
4171          }
4172       }
4173    }
4174
4175 ///////////////////////////////////////////////////////////////////////////////
4176    group { name: "elm/frame/base/default";
4177        images {
4178            image: "frame_1.png" COMP;
4179            image: "frame_2.png" COMP;
4180            image: "dia_grad.png" COMP;
4181        }
4182        parts {
4183            part { name: "base0";
4184                mouse_events:  0;
4185                description { state: "default" 0.0;
4186                    image.normal: "dia_grad.png";
4187                    rel1.to: "over";
4188                    rel2.to: "over";
4189                    fill {
4190                        smooth: 0;
4191                        size {
4192                            relative: 0.0 1.0;
4193                            offset: 64 0;
4194                        }
4195                    }
4196                }
4197            }
4198            part { name: "base";
4199                mouse_events:  0;
4200                description { state:    "default" 0.0;
4201                    rel2.to: "elm.swallow.content";
4202                    rel2.offset: 9 9;
4203                    image {
4204                        normal: "frame_2.png";
4205                        border: 5 5 32 26;
4206                        middle: 0;
4207                    }
4208                    fill.smooth : 0;
4209                }
4210            }
4211            part { name: "elm.text";
4212                type: TEXT;
4213                mouse_events:   0;
4214                scale: 1;
4215                description { state: "default" 0.0;
4216                    align: 0.0 0.0;
4217                    fixed: 0 1;
4218                    rel1 {
4219                        relative: 0.0 0.0;
4220                        offset: 6 6;
4221                    }
4222                    rel2 {
4223                        relative: 1.0 0.0;
4224                        offset: -7 6;
4225                    }
4226                    color: 0 0 0 64;
4227                    text {
4228                        font: "Sans:style=Bold,Edje-Vera-Bold";
4229                        size: 10;
4230                        min: 1 1;
4231                        max: 1 1;
4232                        align: 0.0 0.0;
4233                    }
4234                }
4235            }
4236            part { name: "over";
4237                mouse_events:  0;
4238                description { state:    "default" 0.0;
4239                    rel1.offset: 4 4;
4240                    rel2.to: "elm.swallow.content";
4241                    rel2.offset: 5 5;
4242                    image {
4243                        normal: "frame_1.png";
4244                        border: 2 2 28 22;
4245                        middle: 0;
4246                    }
4247                    fill.smooth : 0;
4248                }
4249            }
4250            part { name: "elm.swallow.content";
4251                type: SWALLOW;
4252                description { state: "default" 0.0;
4253                    align: 0.0 0.0;
4254                    rel1 {
4255                        to_y: "elm.text";
4256                        relative: 0.0 1.0;
4257                        offset: 8 2;
4258                    }
4259                    rel2.offset: -9 -9;
4260                }
4261            }
4262        }
4263    }
4264
4265    group { name: "elm/frame/base/pad_small";
4266        parts {
4267            part { name: "b0";
4268                mouse_events:  0;
4269                type: RECT;
4270                scale: 1;
4271                description { state: "default" 0.0;
4272                    visible: 0;
4273                    min: 4 4;
4274                    max: 4 4;
4275                    align: 0.0 0.0;
4276                }
4277            }
4278            part { name: "b1";
4279                mouse_events:  0;
4280                type: RECT;
4281                scale: 1;
4282                description { state: "default" 0.0;
4283                    visible: 0;
4284                    min: 4 4;
4285                    max: 4 4;
4286                    align: 1.0 1.0;
4287                }
4288            }
4289            part { name: "elm.swallow.content";
4290                type: SWALLOW;
4291                description { state: "default" 0.0;
4292                    rel1 {
4293                        to: "b0";
4294                        relative: 1.0 1.0;
4295                        offset: 0 0;
4296                    }
4297                    rel2 {
4298                        to: "b1";
4299                        relative: 0.0 0.0;
4300                        offset: -1 -1;
4301                    }
4302                }
4303            }
4304        }
4305    }
4306
4307    group { name: "elm/frame/base/pad_medium";
4308        parts {
4309            part { name: "b0";
4310                mouse_events:  0;
4311                type: RECT;
4312                scale: 1;
4313                description { state: "default" 0.0;
4314                    visible: 0;
4315                    min: 8 8;
4316                    max: 8 8;
4317                    align: 0.0 0.0;
4318                }
4319            }
4320            part { name: "b1";
4321                mouse_events:  0;
4322                type: RECT;
4323                scale: 1;
4324                description { state: "default" 0.0;
4325                    visible: 0;
4326                    min: 8 8;
4327                    max: 8 8;
4328                    align: 1.0 1.0;
4329                }
4330            }
4331            part { name: "elm.swallow.content";
4332                type: SWALLOW;
4333                description { state: "default" 0.0;
4334                    rel1 {
4335                        to: "b0";
4336                        relative: 1.0 1.0;
4337                        offset: 0 0;
4338                    }
4339                    rel2 {
4340                        to: "b1";
4341                        relative: 0.0 0.0;
4342                        offset: -1 -1;
4343                    }
4344                }
4345            }
4346        }
4347    }
4348
4349    group { name: "elm/frame/base/pad_large";
4350        parts {
4351            part { name: "b0";
4352                mouse_events:  0;
4353                type: RECT;
4354                scale: 1;
4355                description { state: "default" 0.0;
4356                    visible: 0;
4357                    min: 16 16;
4358                    max: 16 16;
4359                    align: 0.0 0.0;
4360                }
4361            }
4362            part { name: "b1";
4363                mouse_events:  0;
4364                type: RECT;
4365                scale: 1;
4366                description { state: "default" 0.0;
4367                    visible: 0;
4368                    min: 16 16;
4369                    max: 16 16;
4370                    align: 1.0 1.0;
4371                }
4372            }
4373            part { name: "elm.swallow.content";
4374                type: SWALLOW;
4375                description { state: "default" 0.0;
4376                    rel1 {
4377                        to: "b0";
4378                        relative: 1.0 1.0;
4379                        offset: 0 0;
4380                    }
4381                    rel2 {
4382                        to: "b1";
4383                        relative: 0.0 0.0;
4384                        offset: -1 -1;
4385                    }
4386                }
4387            }
4388        }
4389    }
4390
4391    group { name: "elm/frame/base/pad_huge";
4392        parts {
4393            part { name: "b0";
4394                mouse_events:  0;
4395                type: RECT;
4396                scale: 1;
4397                description { state: "default" 0.0;
4398                    visible: 0;
4399                    min: 32 32;
4400                    max: 32 32;
4401                    align: 0.0 0.0;
4402                }
4403            }
4404            part { name: "b1";
4405                mouse_events:  0;
4406                type: RECT;
4407                scale: 1;
4408                description { state: "default" 0.0;
4409                    visible: 0;
4410                    min: 32 32;
4411                    max: 32 32;
4412                    align: 1.0 1.0;
4413                }
4414            }
4415            part { name: "elm.swallow.content";
4416                type: SWALLOW;
4417                description { state: "default" 0.0;
4418                    rel1 {
4419                        to: "b0";
4420                        relative: 1.0 1.0;
4421                        offset: 0 0;
4422                    }
4423                    rel2 {
4424                        to: "b1";
4425                        relative: 0.0 0.0;
4426                        offset: -1 -1;
4427                    }
4428                }
4429            }
4430        }
4431    }
4432
4433    group { name: "elm/frame/base/outdent_top";
4434        images {
4435            image: "outdent-top.png" COMP;
4436        }
4437        parts {
4438            part { name: "base0";
4439                mouse_events:  0;
4440                description { state: "default" 0.0;
4441                    image.normal: "outdent-top.png";
4442                    image.border: 0 0 0 13;
4443                    fill.smooth: 0;
4444                }
4445            }
4446            part { name: "elm.swallow.content";
4447                type: SWALLOW;
4448                description { state: "default" 0.0;
4449                    rel1.offset: 2 2;
4450                    rel2.offset: -3 -13;
4451                }
4452            }
4453        }
4454    }
4455
4456    group { name: "elm/frame/base/outdent_bottom";
4457        images {
4458            image: "outdent-bottom.png" COMP;
4459        }
4460        parts {
4461            part { name: "base0";
4462                mouse_events:  0;
4463                description { state: "default" 0.0;
4464                    image.normal: "outdent-bottom.png";
4465                    image.border: 0 0 13 0;
4466                    fill.smooth: 0;
4467                }
4468            }
4469            part { name: "elm.swallow.content";
4470                type: SWALLOW;
4471                description { state: "default" 0.0;
4472                    rel1.offset: 2 12;
4473                    rel2.offset: -3 -3;
4474                }
4475            }
4476        }
4477    }
4478
4479 ///////////////////////////////////////////////////////////////////////////////
4480    group { name: "elm/hover/base/default";
4481       images {
4482          image: "shad_circ.png" COMP;
4483       }
4484       parts {
4485          part { name: "elm.swallow.offset";
4486             type: SWALLOW;
4487             description { state: "default" 0.0;
4488                align: 0.0 0.0;
4489                rel1.relative: 0.0 0.0;
4490                rel2.relative: 0.0 0.0;
4491             }
4492          }
4493          part { name: "elm.swallow.size";
4494             type: SWALLOW;
4495             description { state: "default" 0.0;
4496                align: 0.0 0.0;
4497                rel1.to: "elm.swallow.offset";
4498                rel1.relative: 1.0 1.0;
4499                rel2.to: "elm.swallow.offset";
4500                rel2.relative: 1.0 1.0;
4501             }
4502          }
4503          part { name: "base";
4504             type: RECT;
4505             mouse_events: 1;
4506             description { state: "default" 0.0;
4507                color: 0 0 0 64;
4508             }
4509          }
4510          part { name: "shad";
4511             mouse_events:  0;
4512             description { state: "default" 0.0;
4513                image.normal: "shad_circ.png";
4514                rel1.to: "elm.swallow.size";
4515                rel1.offset: -32 -32;
4516                rel2.to: "elm.swallow.size";
4517                rel2.offset: 31 31;
4518                fill.smooth: 0;
4519             }
4520          }
4521          part { name: "box";
4522             type: RECT;
4523             mouse_events: 0;
4524             description { state: "default" 0.0;
4525                color: 0 0 0 0;
4526                rel1.to: "elm.swallow.size";
4527                rel1.offset: -2 -2;
4528                rel2.to: "elm.swallow.size";
4529                rel2.offset: 1 1;
4530             }
4531          }
4532          part { name: "elm.swallow.slot.left";
4533             type: SWALLOW;
4534             description { state: "default" 0.0;
4535                align: 1.0 0.5;
4536                rel1.to: "elm.swallow.slot.middle";
4537                rel1.relative: 0.0 0.0;
4538                rel1.offset: -1 0;
4539                rel2.to: "elm.swallow.slot.middle";
4540                rel2.relative: 0.0 1.0;
4541                rel2.offset: -1 -1;
4542             }
4543          }
4544          part { name: "elm.swallow.slot.right";
4545             type: SWALLOW;
4546             description { state: "default" 0.0;
4547                align: 0.0 0.5;
4548                rel1.to: "elm.swallow.slot.middle";
4549                rel1.relative: 1.0 0.0;
4550                rel1.offset: 0 0;
4551                rel2.to: "elm.swallow.slot.middle";
4552                rel2.relative: 1.0 1.0;
4553                rel2.offset: 0 -1;
4554             }
4555          }
4556          part { name: "elm.swallow.slot.top";
4557             type: SWALLOW;
4558             description { state: "default" 0.0;
4559                align: 0.5 1.0;
4560                rel1.to: "elm.swallow.slot.middle";
4561                rel1.relative: 0.0 0.0;
4562                rel1.offset: 0 -1;
4563                rel2.to: "elm.swallow.slot.middle";
4564                rel2.relative: 1.0 0.0;
4565                rel2.offset: -1 -1;
4566             }
4567          }
4568          part { name: "elm.swallow.slot.bottom";
4569             type: SWALLOW;
4570             description { state: "default" 0.0;
4571                align: 0.5 0.0;
4572                rel1.to: "elm.swallow.slot.middle";
4573                rel1.relative: 0.0 1.0;
4574                rel1.offset: 0 0;
4575                rel2.to: "elm.swallow.slot.middle";
4576                rel2.relative: 1.0 1.0;
4577                rel2.offset: -1 0;
4578             }
4579          }
4580          part { name: "elm.swallow.slot.middle";
4581             type: SWALLOW;
4582             description { state: "default" 0.0;
4583                rel1.to: "elm.swallow.size";
4584                rel2.to: "elm.swallow.size";
4585             }
4586          }
4587       }
4588       programs {
4589          program { name: "end";
4590             signal: "mouse,up,1";
4591             source: "base";
4592             action: SIGNAL_EMIT "elm,action,dismiss" "";
4593          }
4594       }
4595    }
4596
4597    group { name: "elm/hover/base/popout";
4598       images {
4599          image: "shad_circ.png" COMP;
4600          image: "bt_dis_base.png" COMP;
4601          image: "bt_dis_hilight.png" COMP;
4602       }
4603       parts {
4604          part { name: "elm.swallow.offset";
4605             type: SWALLOW;
4606             description { state: "default" 0.0;
4607                align: 0.0 0.0;
4608                rel1.relative: 0.0 0.0;
4609                rel2.relative: 0.0 0.0;
4610             }
4611          }
4612          part { name: "elm.swallow.size";
4613             type: SWALLOW;
4614             description { state: "default" 0.0;
4615                align: 0.0 0.0;
4616                rel1.to: "elm.swallow.offset";
4617                rel1.relative: 1.0 1.0;
4618                rel2.to: "elm.swallow.offset";
4619                rel2.relative: 1.0 1.0;
4620             }
4621          }
4622          part { name: "base";
4623             type: RECT;
4624             mouse_events: 1;
4625             description { state: "default" 0.0;
4626                color: 0 0 0 0;
4627             }
4628             description { state: "visible" 0.0;
4629                inherit: "default" 1.0;
4630                color: 0 0 0 64;
4631             }
4632          }
4633          part { name: "leftclip";
4634             type: RECT;
4635             description { state: "default" 0.0;
4636                rel2.to_x: "pop";
4637                rel2.relative: 0.0 1.0;
4638                rel2.offset: 1 -1;
4639             }
4640          }
4641          part { name: "left";
4642             clip_to: "leftclip";
4643             description { state: "default" 0.0;
4644                visible: 0;
4645                rel1.to: "elm.swallow.slot.left";
4646                rel1.offset: -5 -5;
4647                rel2.to: "elm.swallow.slot.left";
4648                rel2.offset: 4 4;
4649                image {
4650                   normal: "bt_dis_base.png";
4651                   border: 4 4 4 4;
4652                }
4653                image.middle: SOLID;
4654             }
4655             description { state: "visible" 0.0;
4656                inherit: "default" 0.0;
4657                visible: 1;
4658             }
4659          }
4660          part { name: "elm.swallow.slot.left";
4661             type: SWALLOW;
4662             clip_to: "leftclip";
4663             description { state: "default" 0.0;
4664                align: 0.0 0.5;
4665                rel1.to: "elm.swallow.slot.middle";
4666                rel1.relative: 0.0 0.0;
4667                rel1.offset: -1 0;
4668                rel2.to: "elm.swallow.slot.middle";
4669                rel2.relative: 0.0 1.0;
4670                rel2.offset: -1 -1;
4671             }
4672             description { state: "visible" 0.0;
4673                inherit: "default" 0.0;
4674                rel1.offset: -7 0;
4675                rel2.offset: -7 -1;
4676                align: 1.0 0.5;
4677             }
4678          }
4679          part { name: "leftover";
4680             clip_to: "leftclip";
4681             mouse_events: 0;
4682             description { state: "default" 0.0;
4683                rel1.to: "left";
4684                rel2.to: "left";
4685                rel2.relative: 1.0 0.5;
4686                image {
4687                   normal: "bt_dis_hilight.png";
4688                   border: 4 4 4 0;
4689                }
4690             }
4691          }
4692          part { name: "rightclip";
4693             type: RECT;
4694             description { state: "default" 0.0;
4695                rel1.to_x: "pop";
4696                rel1.relative: 1.0 0.0;
4697                rel1.offset: -2 0;
4698             }
4699          }
4700          part { name: "right";
4701             clip_to: "rightclip";
4702             description { state: "default" 0.0;
4703                visible: 0;
4704                rel1.to: "elm.swallow.slot.right";
4705                rel1.offset: -5 -5;
4706                rel2.to: "elm.swallow.slot.right";
4707                rel2.offset: 4 4;
4708                image {
4709                   normal: "bt_dis_base.png";
4710                   border: 4 4 4 4;
4711                }
4712                image.middle: SOLID;
4713             }
4714             description { state: "visible" 0.0;
4715                inherit: "default" 0.0;
4716                visible: 1;
4717             }
4718          }
4719          part { name: "elm.swallow.slot.right";
4720             type: SWALLOW;
4721             clip_to: "rightclip";
4722             description { state: "default" 0.0;
4723                align: 1.0 0.5;
4724                rel1.to: "elm.swallow.slot.middle";
4725                rel1.relative: 1.0 0.0;
4726                rel1.offset: 0 0;
4727                rel2.to: "elm.swallow.slot.middle";
4728                rel2.relative: 1.0 1.0;
4729                rel2.offset: 0 -1;
4730             }
4731             description { state: "visible" 0.0;
4732                inherit: "default" 0.0;
4733                rel1.offset: 6 0;
4734                rel2.offset: 6 -1;
4735                align: 0.0 0.5;
4736             }
4737          }
4738          part { name: "rightover";
4739             clip_to: "rightclip";
4740             mouse_events: 0;
4741             description { state: "default" 0.0;
4742                rel1.to: "right";
4743                rel2.to: "right";
4744                rel2.relative: 1.0 0.5;
4745                image {
4746                   normal: "bt_dis_hilight.png";
4747                   border: 4 4 4 0;
4748                }
4749             }
4750          }
4751          part { name: "topclip";
4752             type: RECT;
4753             description { state: "default" 0.0;
4754                rel2.to_y: "pop";
4755                rel2.relative: 1.0 0.0;
4756                rel2.offset: -1 1;
4757             }
4758          }
4759          part { name: "top";
4760             clip_to: "topclip";
4761             description { state: "default" 0.0;
4762                visible: 0;
4763                rel1.to: "elm.swallow.slot.top";
4764                rel1.offset: -5 -5;
4765                rel2.to: "elm.swallow.slot.top";
4766                rel2.offset: 4 4;
4767                image {
4768                   normal: "bt_dis_base.png";
4769                   border: 4 4 4 4;
4770                }
4771                image.middle: SOLID;
4772             }
4773             description { state: "visible" 0.0;
4774                inherit: "default" 0.0;
4775                visible: 1;
4776             }
4777          }
4778          part { name: "elm.swallow.slot.top";
4779             type: SWALLOW;
4780             clip_to: "topclip";
4781             description { state: "default" 0.0;
4782                visible: 1;
4783                align: 0.5 0.0;
4784                rel1.to: "elm.swallow.slot.middle";
4785                rel1.relative: 0.0 0.0;
4786                rel1.offset: 0 -1;
4787                rel2.to: "elm.swallow.slot.middle";
4788                rel2.relative: 1.0 0.0;
4789                rel2.offset: -1 -1;
4790             }
4791             description { state: "visible" 0.0;
4792                inherit: "default" 0.0;
4793                rel1.offset: 0 -7;
4794                rel2.offset: -1 -7;
4795                align: 0.5 1.0;
4796             }
4797          }
4798          part { name: "topover";
4799             clip_to: "topclip";
4800             mouse_events: 0;
4801             description { state: "default" 0.0;
4802                rel1.to: "top";
4803                rel2.to: "top";
4804                rel2.relative: 1.0 0.5;
4805                image {
4806                   normal: "bt_dis_hilight.png";
4807                   border: 4 4 4 0;
4808                }
4809             }
4810          }
4811          part { name: "bottomclip";
4812             type: RECT;
4813             description { state: "default" 0.0;
4814                rel1.to_y: "pop";
4815                rel1.relative: 0.0 1.0;
4816                rel1.offset: -1 -2;
4817             }
4818          }
4819          part { name: "bottom";
4820             clip_to: "bottomclip";
4821             description { state: "default" 0.0;
4822                visible: 0;
4823                rel1.to: "elm.swallow.slot.bottom";
4824                rel1.offset: -5 -5;
4825                rel2.to: "elm.swallow.slot.bottom";
4826                rel2.offset: 4 4;
4827                image {
4828                   normal: "bt_dis_base.png";
4829                   border: 4 4 4 4;
4830                }
4831                image.middle: SOLID;
4832             }
4833             description { state: "visible" 0.0;
4834                inherit: "default" 0.0;
4835                visible: 1;
4836             }
4837          }
4838          part { name: "elm.swallow.slot.bottom";
4839             type: SWALLOW;
4840             clip_to: "bottomclip";
4841             description { state: "default" 0.0;
4842                align: 0.5 1.0;
4843                rel1.to: "elm.swallow.slot.middle";
4844                rel1.relative: 0.0 1.0;
4845                rel1.offset: 0 0;
4846                rel2.to: "elm.swallow.slot.middle";
4847                rel2.relative: 1.0 1.0;
4848                rel2.offset: -1 0;
4849             }
4850             description { state: "visible" 0.0;
4851                inherit: "default" 0.0;
4852                rel1.offset: 0 6;
4853                rel2.offset: -1 6;
4854                align: 0.5 0.0;
4855             }
4856          }
4857          part { name: "bottomover";
4858             clip_to: "bottomclip";
4859             mouse_events: 0;
4860             description { state: "default" 0.0;
4861                rel1.to: "bottom";
4862                rel2.to: "bottom";
4863                rel2.relative: 1.0 0.5;
4864                image {
4865                   normal: "bt_dis_hilight.png";
4866                   border: 4 4 4 0;
4867                }
4868             }
4869          }
4870          part { name: "shad";
4871             mouse_events:  0;
4872             description { state: "default" 0.0;
4873                image.normal: "shad_circ.png";
4874                rel1.to: "elm.swallow.size";
4875                rel1.offset: -64 -64;
4876                rel2.to: "elm.swallow.size";
4877                rel2.offset: 63 63;
4878                fill.smooth: 0;
4879             }
4880          }
4881          part { name: "pop";
4882             mouse_events: 1;
4883             description { state: "default" 0.0;
4884                rel1.to: "elm.swallow.slot.middle";
4885                rel1.offset: -5 -5;
4886                rel2.to: "elm.swallow.slot.middle";
4887                rel2.offset: 4 4;
4888                image {
4889                   normal: "bt_dis_base.png";
4890                   border: 4 4 4 4;
4891                }
4892                image.middle: SOLID;
4893             }
4894          }
4895          part { name: "elm.swallow.slot.middle";
4896             type: SWALLOW;
4897             description { state: "default" 0.0;
4898                rel1.to: "elm.swallow.size";
4899                rel2.to: "elm.swallow.size";
4900             }
4901          }
4902          part { name: "popover";
4903             mouse_events: 0;
4904             description { state: "default" 0.0;
4905                rel1.to: "pop";
4906                rel2.to: "pop";
4907                rel2.relative: 1.0 0.5;
4908                image {
4909                   normal: "bt_dis_hilight.png";
4910                   border: 4 4 4 0;
4911                }
4912             }
4913          }
4914       }
4915       programs {
4916          program { name: "end";
4917             signal: "mouse,up,1";
4918             source: "base";
4919             action: SIGNAL_EMIT "elm,action,dismiss" "";
4920          }
4921
4922          program { name: "show";
4923             signal: "elm,action,show";
4924             source: "elm";
4925             action: STATE_SET "visible" 0.0;
4926 //          transition: DECELERATE 0.5;
4927             target: "base";
4928          }
4929          program { name: "hide";
4930             signal: "elm,action,hide";
4931             source: "elm";
4932             action: STATE_SET "default" 0.0;
4933 //          transition: DECELERATE 0.5;
4934             target: "base";
4935          }
4936
4937          program { name: "leftshow";
4938             signal: "elm,action,slot,left,show";
4939             source: "elm";
4940             action: STATE_SET "visible" 0.0;
4941             transition: DECELERATE 0.5;
4942             target: "left";
4943             target: "elm.swallow.slot.left";
4944          }
4945          program { name: "lefthide";
4946             signal: "elm,action,slot,left,hide";
4947             source: "elm";
4948             action: STATE_SET "default" 0.0;
4949             transition: DECELERATE 0.5;
4950             target: "left";
4951             target: "elm.swallow.slot.left";
4952          }
4953          program { name: "rightshow";
4954             signal: "elm,action,slot,right,show";
4955             source: "elm";
4956             action: STATE_SET "visible" 0.0;
4957             transition: DECELERATE 0.5;
4958             target: "right";
4959             target: "elm.swallow.slot.right";
4960          }
4961          program { name: "righthide";
4962             signal: "elm,action,slot,right,hide";
4963             source: "elm";
4964             action: STATE_SET "default" 0.0;
4965             transition: DECELERATE 0.5;
4966             target: "right";
4967             target: "elm.swallow.slot.right";
4968          }
4969          program { name: "topshow";
4970             signal: "elm,action,slot,top,show";
4971             source: "elm";
4972             action: STATE_SET "visible" 0.0;
4973             transition: DECELERATE 0.5;
4974             target: "top";
4975             target: "elm.swallow.slot.top";
4976          }
4977          program { name: "tophide";
4978             signal: "elm,action,slot,top,hide";
4979             source: "elm";
4980             action: STATE_SET "default" 0.0;
4981             transition: DECELERATE 0.5;
4982             target: "top";
4983             target: "elm.swallow.slot.top";
4984          }
4985          program { name: "bottomshow";
4986             signal: "elm,action,slot,bottom,show";
4987             source: "elm";
4988             action: STATE_SET "visible" 0.0;
4989             transition: DECELERATE 0.5;
4990             target: "bottom";
4991             target: "elm.swallow.slot.bottom";
4992          }
4993          program { name: "bottomhide";
4994             signal: "elm,action,slot,bottom,hide";
4995             source: "elm";
4996             action: STATE_SET "default" 0.0;
4997             transition: DECELERATE 0.5;
4998             target: "bottom";
4999             target: "elm.swallow.slot.bottom";
5000          }
5001       }
5002    }
5003
5004    //In the hover used by the menu only the bottom part is used.
5005    group { name: "elm/hover/base/menu";
5006        images {
5007            image: "shad_circ.png" COMP;
5008            image: "bt_dis_base.png" COMP;
5009        }
5010        parts {
5011            part { name: "elm.swallow.offset";
5012                type: SWALLOW;
5013                description { state: "default" 0.0;
5014                    align: 0.0 0.0;
5015                    rel1.relative: 0.0 0.0;
5016                    rel2.relative: 0.0 0.0;
5017                }
5018            }
5019            part { name: "elm.swallow.size";
5020                type: SWALLOW;
5021                description { state: "default" 0.0;
5022                    align: 0.0 0.0;
5023                    rel1.to: "elm.swallow.offset";
5024                    rel1.relative: 1.0 1.0;
5025                    rel2.to: "elm.swallow.offset";
5026                    rel2.relative: 1.0 1.0;
5027                }
5028            }
5029            part { name: "base";
5030                type: RECT;
5031                mouse_events: 1;
5032                description { state: "default" 0.0;
5033                    color: 0 0 0 0;
5034                }
5035                description { state: "visible" 0.0;
5036                    inherit: "default" 1.0;
5037                    color: 0 0 0 64;
5038                }
5039            }
5040            part { name: "elm.swallow.slot.left";
5041                type: SWALLOW;
5042                description { state: "default" 0.0;
5043                }
5044            }
5045            part { name: "elm.swallow.slot.right";
5046                type: SWALLOW;
5047                description { state: "default" 0.0;
5048                }
5049            }
5050            part { name: "elm.swallow.slot.top";
5051                type: SWALLOW;
5052                description { state: "default" 0.0;
5053                }
5054                description { state: "visible" 0.0;
5055                    inherit: "default" 0.0;
5056                }
5057            }
5058            part { name: "bottomclip";
5059                type: RECT;
5060                description { state: "default" 0.0;
5061                    rel1.to_y: "pop";
5062                    rel1.relative: 0.0 1.0;
5063                    rel1.offset: -1 -2;
5064                }
5065            }
5066            part { name: "bottom";
5067                clip_to: "bottomclip";
5068                description { state: "default" 0.0;
5069                    visible: 0;
5070                    rel1.to: "elm.swallow.slot.bottom";
5071                    rel1.offset: -5 -5;
5072                    rel2.to: "elm.swallow.slot.bottom";
5073                    rel2.offset: 4 4;
5074                    image {
5075                        normal: "bt_dis_base.png";
5076                        border: 4 4 4 4;
5077                    }
5078                    image.middle: SOLID;
5079                }
5080                description { state: "visible" 0.0;
5081                    inherit: "default" 0.0;
5082                    visible: 1;
5083                }
5084            }
5085            part { name: "elm.swallow.slot.bottom";
5086                type: SWALLOW;
5087                clip_to: "bottomclip";
5088                description { state: "default" 0.0;
5089                    align: 0.5 1.0;
5090                    rel1.to: "elm.swallow.slot.middle";
5091                    rel1.relative: 0.0 1.0;
5092                    rel1.offset: 0 0;
5093                    rel2.to: "elm.swallow.slot.middle";
5094                    rel2.relative: 1.0 1.0;
5095                    rel2.offset: -1 0;
5096                }
5097                description { state: "visible" 0.0;
5098                    inherit: "default" 0.0;
5099                    rel1.offset: 0 6;
5100                    rel2.offset: -1 6;
5101                    align: 0.5 0.0;
5102                }
5103            }
5104            part { name: "pop";
5105                mouse_events: 1;
5106                repeat_events:1;
5107                description { state: "default" 0.0;
5108                    rel1.to: "elm.swallow.slot.middle";
5109                    rel1.offset: -5 -5;
5110                    rel2.to: "elm.swallow.slot.middle";
5111                    rel2.offset: 4 4;
5112                }
5113            }
5114            part { name: "elm.swallow.slot.middle";
5115                type: SWALLOW;
5116                repeat_events:1;
5117                description { state: "default" 0.0;
5118                    rel1.to: "elm.swallow.size";
5119                    rel2.to: "elm.swallow.size";
5120                }
5121            }
5122        }
5123        programs {
5124            program { name: "end";
5125                signal: "mouse,up,1";
5126                source: "base";
5127                action: SIGNAL_EMIT "elm,action,dismiss" "";
5128            }
5129            program { name: "show";
5130                signal: "elm,action,show";
5131                source: "elm";
5132                action: STATE_SET "visible" 0.0;
5133                        //           transition: DECELERATE 0.5;
5134                target: "base";
5135            }
5136            program { name: "hide";
5137                signal: "elm,action,hide";
5138                source: "elm";
5139                action: STATE_SET "default" 0.0;
5140                        //           transition: DECELERATE 0.5;
5141                target: "base";
5142            }
5143            program { name: "bottomshow";
5144                signal: "elm,action,slot,bottom,show";
5145                source: "elm";
5146                action: STATE_SET "visible" 0.0;
5147                transition: DECELERATE 0.3;
5148                target: "bottom";
5149                target: "elm.swallow.slot.bottom";
5150            }
5151            program { name: "bottomhide";
5152                signal: "elm,action,slot,bottom,hide";
5153                source: "elm";
5154                action: STATE_SET "default" 0.0;
5155                transition: DECELERATE 0.5;
5156                target: "bottom";
5157                target: "elm.swallow.slot.bottom";
5158            }
5159        }
5160    }
5161
5162    //In the hover used by the submenu only the bottom part is used
5163    //and no part should interact except the bottom area
5164    group { name: "elm/hover/base/submenu";
5165        images {
5166            image: "shad_circ.png" COMP;
5167            image: "bt_dis_base.png" COMP;
5168        }
5169        parts {
5170            part { name: "elm.swallow.offset";
5171                type: SWALLOW;
5172                repeat_events:1;
5173                description { state: "default" 0.0;
5174                    align: 0.0 0.0;
5175                    rel1.relative: 0.0 0.0;
5176                    rel2.relative: 0.0 0.0;
5177                }
5178            }
5179            part { name: "elm.swallow.size";
5180                type: SWALLOW;
5181                description { state: "default" 0.0;
5182                    align: 0.0 0.0;
5183                    rel1.to: "elm.swallow.offset";
5184                    rel1.relative: 1.0 1.0;
5185                    rel2.to: "elm.swallow.offset";
5186                    rel2.relative: 1.0 1.0;
5187                }
5188            }
5189            //here we do non catch events like the hover hover does
5190            part { name: "base";
5191                type: RECT;
5192                mouse_events: 1;
5193                description { state: "default" 0.0;
5194                    color: 0 0 0 0;
5195                    visible: 0;
5196                }
5197            }
5198            part { name: "elm.swallow.slot.left";
5199                type: SWALLOW;
5200                description { state: "default" 0.0;
5201                }
5202            }
5203            part { name: "elm.swallow.slot.right";
5204                type: SWALLOW;
5205                description { state: "default" 0.0;
5206                }
5207            }
5208            part { name: "elm.swallow.slot.top";
5209                type: SWALLOW;
5210                description { state: "default" 0.0;
5211                }
5212            }
5213            part { name: "bottomclip";
5214                type: RECT;
5215                description { state: "default" 0.0;
5216                    rel1.to_y: "pop";
5217                    rel1.relative: 0.0 1.0;
5218                    rel1.offset: -1 -2;
5219                }
5220            }
5221            part { name: "bottom";
5222                clip_to: "bottomclip";
5223                description { state: "default" 0.0;
5224                    visible: 0;
5225                    rel1.to: "elm.swallow.slot.bottom";
5226                    rel1.offset: -5 -5;
5227                    rel2.to: "elm.swallow.slot.bottom";
5228                    rel2.offset: 4 4;
5229                    image {
5230                        normal: "bt_dis_base.png";
5231                        border: 4 4 4 4;
5232                    }
5233                    image.middle: SOLID;
5234                }
5235                description { state: "visible" 0.0;
5236                    inherit: "default" 0.0;
5237                    visible: 1;
5238                }
5239            }
5240            part { name: "elm.swallow.slot.bottom";
5241                type: SWALLOW;
5242                clip_to: "bottomclip";
5243                description { state: "default" 0.0;
5244                    align: 0.5 1.0;
5245                    rel1.to: "elm.swallow.slot.middle";
5246                    rel1.relative: 0.0 1.0;
5247                    rel1.offset: 0 0;
5248                    rel2.to: "elm.swallow.slot.middle";
5249                    rel2.relative: 1.0 1.0;
5250                    rel2.offset: -1 0;
5251                }
5252                description { state: "visible" 0.0;
5253                    inherit: "default" 0.0;
5254                    rel1.offset: 0 6;
5255                    rel2.offset: -1 6;
5256                    align: 0.5 0.0;
5257                }
5258            }
5259            part { name: "pop";
5260                mouse_events: 1;
5261                repeat_events:1;
5262                description { state: "default" 0.0;
5263                    rel1.to: "elm.swallow.slot.middle";
5264                    rel1.offset: -5 -5;
5265                    rel2.to: "elm.swallow.slot.middle";
5266                    rel2.offset: 4 4;
5267                }
5268            }
5269            part { name: "elm.swallow.slot.middle";
5270                type: SWALLOW;
5271                repeat_events:1;
5272                description { state: "default" 0.0;
5273                    rel1.to: "elm.swallow.size";
5274                    rel2.to: "elm.swallow.size";
5275                }
5276            }
5277        }
5278        programs {
5279            program { name: "end";
5280                signal: "mouse,up,1";
5281                source: "base";
5282                action: SIGNAL_EMIT "elm,action,dismiss" "";
5283            }
5284            program { name: "show";
5285                signal: "elm,action,show";
5286                source: "elm";
5287                action: STATE_SET "visible" 0.0;
5288                        //           transition: DECELERATE 0.5;
5289                target: "base";
5290            }
5291            program { name: "hide";
5292                signal: "elm,action,hide";
5293                source: "elm";
5294                action: STATE_SET "default" 0.0;
5295                        //           transition: DECELERATE 0.5;
5296                target: "base";
5297            }
5298            program { name: "bottomshow";
5299                signal: "elm,action,slot,bottom,show";
5300                source: "elm";
5301                action: STATE_SET "visible" 0.0;
5302                transition: DECELERATE 0.3;
5303                target: "bottom";
5304                target: "elm.swallow.slot.bottom";
5305            }
5306            program { name: "bottomhide";
5307                signal: "elm,action,slot,bottom,hide";
5308                source: "elm";
5309                action: STATE_SET "default" 0.0;
5310                transition: DECELERATE 0.5;
5311                target: "bottom";
5312                target: "elm.swallow.slot.bottom";
5313            }
5314        }
5315    }
5316
5317    group { name: "elm/hover/base/hoversel_vertical/default";
5318       alias: "elm/hover/base/hoversel_vertical/entry";
5319       images {
5320 //       image: "shad_circ.png" COMP;
5321          image: "bt_base2.png" COMP;
5322          image: "bt_hilight.png" COMP;
5323          image: "bt_shine.png" COMP;
5324          image: "outdent-top.png" COMP;
5325          image: "outdent-bottom.png" COMP;
5326       }
5327       parts {
5328          part { name: "elm.swallow.offset";
5329             type: SWALLOW;
5330             description { state: "default" 0.0;
5331                align: 0.0 0.0;
5332                rel1.relative: 0.0 0.0;
5333                rel2.relative: 0.0 0.0;
5334             }
5335          }
5336          part { name: "elm.swallow.size";
5337             type: SWALLOW;
5338             description { state: "default" 0.0;
5339                align: 0.0 0.0;
5340                rel1.to: "elm.swallow.offset";
5341                rel1.relative: 1.0 1.0;
5342                rel2.to: "elm.swallow.offset";
5343                rel2.relative: 1.0 1.0;
5344             }
5345          }
5346 /*
5347         part { name: "shad";
5348             mouse_events:  0;
5349             description { state: "default" 0.0;
5350                image.normal: "shad_circ.png";
5351                rel1.to: "button_image";
5352                rel1.offset: -64 -64;
5353                rel2.to: "button_image";
5354                rel2.offset: 63 63;
5355                fill.smooth: 0;
5356             }
5357          }
5358  */
5359          part { name: "button_image";
5360             mouse_events: 1;
5361             description { state: "default" 0.0;
5362                rel1.to_x: "elm.swallow.slot.top";
5363                rel1.to_y: "elm.swallow.slot.top";
5364                rel1.offset: -2 -6;
5365                rel2.to_x: "elm.swallow.slot.top";
5366                rel2.to_y: "elm.swallow.slot.bottom";
5367                rel2.offset: 1 5;
5368                image {
5369                   normal: "bt_base2.png";
5370                   border: 7 7 7 7;
5371                }
5372                image.middle: SOLID;
5373             }
5374             description { state: "bottom" 0.0;
5375                rel1.to_x: "elm.swallow.slot.bottom";
5376                rel1.to_y: "elm.swallow.slot.top";
5377                rel1.offset: -2 -6;
5378                rel2.to_x: "elm.swallow.slot.bottom";
5379                rel2.to_y: "elm.swallow.slot.bottom";
5380                rel2.offset: 1 5;
5381                image {
5382                   normal: "bt_base2.png";
5383                   border: 7 7 7 7;
5384                }
5385                image.middle: SOLID;
5386             }
5387          }
5388
5389          part { name: "base";
5390             type: RECT;
5391             mouse_events: 1;
5392             description { state: "default" 0.0;
5393                color: 0 0 0 0;
5394             }
5395             description { state: "visible" 0.0;
5396                inherit: "default" 1.0;
5397                color: 0 0 0 64;
5398             }
5399          }
5400
5401          part { name: "topclip";
5402             type: RECT;
5403             description { state: "default" 0.0;
5404                rel2.to_y: "edge_top";
5405                rel2.relative: 1.0 0.0;
5406                rel2.offset: -1 7;
5407             }
5408          }
5409          part { name: "elm.swallow.slot.top";
5410             type: SWALLOW;
5411             clip_to: "topclip";
5412             description { state: "default" 0.0;
5413                visible: 1;
5414                align: 0.5 0.0;
5415                rel1.to: "elm.swallow.slot.middle";
5416                rel1.relative: 0.0 0.0;
5417                rel1.offset: 0 -1;
5418                rel2.to: "elm.swallow.slot.middle";
5419                rel2.relative: 1.0 0.0;
5420                rel2.offset: -1 -1;
5421             }
5422             description { state: "visible" 0.0;
5423                inherit: "default" 0.0;
5424                rel1.offset: 0 -7;
5425                rel2.offset: -1 -7;
5426                align: 0.5 1.0;
5427             }
5428          }
5429
5430          part { name: "bottomclip";
5431             type: RECT;
5432             description { state: "default" 0.0;
5433                rel1.to_y: "edge_bottom";
5434                rel1.relative: 0.0 1.0;
5435                rel1.offset: -1 -8;
5436             }
5437          }
5438          part { name: "elm.swallow.slot.bottom";
5439             type: SWALLOW;
5440             clip_to: "bottomclip";
5441             description { state: "default" 0.0;
5442                align: 0.5 1.0;
5443                rel1.to: "elm.swallow.slot.middle";
5444                rel1.relative: 0.0 1.0;
5445                rel1.offset: 0 0;
5446                rel2.to: "elm.swallow.slot.middle";
5447                rel2.relative: 1.0 1.0;
5448                rel2.offset: -1 0;
5449             }
5450             description { state: "visible" 0.0;
5451                inherit: "default" 0.0;
5452                rel1.offset: 0 6;
5453                rel2.offset: -1 6;
5454                align: 0.5 0.0;
5455             }
5456          }
5457
5458          part {   name: "over1";
5459             mouse_events: 0;
5460             description { state: "default" 0.0;
5461                rel1.to: "button_image";
5462                rel2.to: "button_image";
5463                rel2.relative: 1.0 0.5;
5464                image {
5465                   normal: "bt_hilight.png";
5466                   border: 7 7 7 0;
5467                }
5468             }
5469          }
5470          part { name: "over2";
5471             mouse_events: 1;
5472             repeat_events: 1;
5473             ignore_flags: ON_HOLD;
5474             description { state: "default" 0.0;
5475                rel1.to: "button_image";
5476                rel2.to: "button_image";
5477                image {
5478                   normal: "bt_shine.png";
5479                   border: 7 7 7 7;
5480                }
5481             }
5482          }
5483          part { name: "edge_top";
5484             mouse_events:  0;
5485             description { state: "default" 0.0;
5486                visible: 0;
5487                rel1 {
5488                   to: "elm.swallow.size";
5489                   offset: 0 -10;
5490                }
5491                rel2 {
5492                   to: "elm.swallow.size";
5493                }
5494                image.normal: "outdent-bottom.png";
5495                image.border: 0 0 13 0;
5496                fill.smooth: 0;
5497             }
5498             description { state: "visible" 0.0;
5499                inherit: "default" 0.0;
5500                visible: 1;
5501             }
5502          }
5503          part { name: "edge_bottom";
5504             mouse_events:  0;
5505             description { state: "default" 0.0;
5506                visible: 0;
5507                rel1 {
5508                   to: "elm.swallow.size";
5509                }
5510                rel2 {
5511                   to: "elm.swallow.size";
5512                   offset: -1 9;
5513                }
5514                image.normal: "outdent-top.png";
5515                image.border: 0 0 0 13;
5516                fill.smooth: 0;
5517             }
5518             description { state: "visible" 0.0;
5519                inherit: "default" 0.0;
5520                visible: 1;
5521             }
5522          }
5523          part { name: "elm.swallow.slot.middle";
5524             type: SWALLOW;
5525             description { state: "default" 0.0;
5526                rel1.to: "elm.swallow.size";
5527                rel2.to: "elm.swallow.size";
5528             }
5529          }
5530       }
5531       programs {
5532          program { name: "end";
5533             signal: "mouse,up,1";
5534             source: "base";
5535             action: SIGNAL_EMIT "elm,action,dismiss" "";
5536          }
5537
5538          program { name: "show";
5539             signal: "elm,action,show";
5540             source: "elm";
5541             action: STATE_SET "visible" 0.0;
5542 //          transition: DECELERATE 0.5;
5543             target: "base";
5544          }
5545          program { name: "hide";
5546             signal: "elm,action,hide";
5547             source: "elm";
5548             action: STATE_SET "default" 0.0;
5549 //          transition: DECELERATE 0.5;
5550             target: "base";
5551          }
5552          program { name: "topshow";
5553             signal: "elm,action,slot,top,show";
5554             source: "elm";
5555             action: STATE_SET "visible" 0.0;
5556             target: "edge_top";
5557             after: "topshow2";
5558          }
5559          program { name: "topshow2";
5560             action: STATE_SET "visible" 0.0;
5561             transition: DECELERATE 0.5;
5562             target: "elm.swallow.slot.top";
5563          }
5564          program { name: "topshow3";
5565             signal: "elm,action,slot,top,show";
5566             source: "elm";
5567             action: STATE_SET "default" 0.0;
5568             target: "button_image";
5569          }
5570          program { name: "tophide";
5571             signal: "elm,action,slot,top,hide";
5572             source: "elm";
5573             action: STATE_SET "default" 0.0;
5574             transition: DECELERATE 0.5;
5575             target: "elm.swallow.slot.top";
5576             after: "tophide2";
5577          }
5578          program { name: "tophide2";
5579             action: STATE_SET "default" 0.0;
5580             target: "edge_top";
5581          }
5582          program { name: "bottomshow";
5583             signal: "elm,action,slot,bottom,show";
5584             source: "elm";
5585             action: STATE_SET "visible" 0.0;
5586             target: "edge_bottom";
5587             after: "bottomshow2";
5588          }
5589          program { name: "bottomshow2";
5590             action: STATE_SET "visible" 0.0;
5591             transition: DECELERATE 0.5;
5592             target: "elm.swallow.slot.bottom";
5593          }
5594          program { name: "bottomshow3";
5595             signal: "elm,action,slot,bottom,show";
5596             source: "elm";
5597             action: STATE_SET "bottom" 0.0;
5598             target: "button_image";
5599          }
5600          program { name: "bottomhide";
5601             signal: "elm,action,slot,bottom,hide";
5602             source: "elm";
5603             action: STATE_SET "default" 0.0;
5604             transition: DECELERATE 0.5;
5605             target: "elm.swallow.slot.bottom";
5606             after: "bottomhide2";
5607          }
5608          program { name: "bottomhide2";
5609             action: STATE_SET "default" 0.0;
5610             target: "edge_bottom";
5611          }
5612       }
5613    }
5614
5615 ///////////////////////////////////////////////////////////////////////////////
5616 // emoticon images from:
5617 // Tanya - Latvia
5618 // http://lazycrazy.deviantart.com/
5619 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
5620   group { name: "elm/entry/emoticon/angry/default"; images.image:
5621      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5622         "emo-angry.png"; } } } }
5623   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
5624      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5625         "emo-angry-shout.png"; } } } }
5626   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
5627      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5628         "emo-crazy-laugh.png"; } } } }
5629   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
5630      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5631         "emo-evil-laugh.png"; } } } }
5632   group { name: "elm/entry/emoticon/evil/default"; images.image:
5633      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5634         "emo-evil.png"; } } } }
5635   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
5636      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5637         "emo-goggle-smile.png"; } } } }
5638   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
5639      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5640         "emo-grumpy.png"; } } } }
5641   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
5642      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5643         "emo-grumpy-smile.png"; } } } }
5644   group { name: "elm/entry/emoticon/guilty/default"; images.image:
5645      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5646         "emo-guilty.png"; } } } }
5647   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
5648      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5649         "emo-guilty-smile.png"; } } } }
5650   group { name: "elm/entry/emoticon/haha/default"; images.image:
5651      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5652         "emo-haha.png"; } } } }
5653   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
5654      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5655         "emo-half-smile.png"; } } } }
5656   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
5657      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5658         "emo-happy-panting.png"; } } } }
5659   group { name: "elm/entry/emoticon/happy/default"; images.image:
5660      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5661         "emo-happy.png"; } } } }
5662   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
5663      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5664         "emo-indifferent.png"; } } } }
5665   group { name: "elm/entry/emoticon/kiss/default"; images.image:
5666      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5667         "emo-kiss.png"; } } } }
5668   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
5669      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5670         "emo-knowing-grin.png"; } } } }
5671   group { name: "elm/entry/emoticon/laugh/default"; images.image:
5672      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5673         "emo-laugh.png"; } } } }
5674   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
5675      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5676         "emo-little-bit-sorry.png"; } } } }
5677   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
5678      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5679         "emo-love-lots.png"; } } } }
5680   group { name: "elm/entry/emoticon/love/default"; images.image:
5681      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5682         "emo-love.png"; } } } }
5683   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
5684      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5685         "emo-minimal-smile.png"; } } } }
5686   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
5687      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5688         "emo-not-happy.png"; } } } }
5689   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
5690      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5691         "emo-not-impressed.png"; } } } }
5692   group { name: "elm/entry/emoticon/omg/default"; images.image:
5693      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5694         "emo-omg.png"; } } } }
5695   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
5696      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5697         "emo-opensmile.png"; } } } }
5698   group { name: "elm/entry/emoticon/smile/default"; images.image:
5699      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5700         "emo-smile.png"; } } } }
5701   group { name: "elm/entry/emoticon/sorry/default"; images.image:
5702      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5703         "emo-sorry.png"; } } } }
5704   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
5705      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5706         "emo-squint-laugh.png"; } } } }
5707   group { name: "elm/entry/emoticon/surprised/default"; images.image:
5708      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5709         "emo-surprised.png"; } } } }
5710   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
5711      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5712         "emo-suspicious.png"; } } } }
5713   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
5714      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5715         "emo-tongue-dangling.png"; } } } }
5716   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
5717      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5718         "emo-tongue-poke.png"; } } } }
5719   group { name: "elm/entry/emoticon/uh/default"; images.image:
5720      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5721         "emo-uh.png"; } } } }
5722   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
5723      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5724         "emo-unhappy.png"; } } } }
5725   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
5726      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5727         "emo-very-sorry.png"; } } } }
5728   group { name: "elm/entry/emoticon/what/default"; images.image:
5729      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5730         "emo-what.png"; } } } }
5731   group { name: "elm/entry/emoticon/wink/default"; images.image:
5732      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5733         "emo-wink.png"; } } } }
5734   group { name: "elm/entry/emoticon/worried/default"; images.image:
5735      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5736         "emo-worried.png"; } } } }
5737   group { name: "elm/entry/emoticon/wtf/default"; images.image:
5738      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
5739         "emo-wtf.png"; } } } }
5740 //------------------------------------------------------------
5741    group { name: "elm/entry/base/default";
5742       data.item: "default_font_size" "24";
5743       data.item: "min_font_size" "8";
5744       data.item: "max_font_size" "60";
5745       styles
5746         {
5747            style { name: "entry_textblock_style";
5748               base: "font=Sans font_size=10 color=#000 wrap=word";
5749               tag:  "br" "\n";
5750               tag:  "ps" "ps";
5751               tag:  "tab" "\t";
5752               tag:  "em" "+ font=Sans:style=Oblique";
5753               tag:  "b" "+ font=Sans:style=Bold";
5754               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5755               tag:  "hilight" "+ font=Sans:style=Bold";
5756            }
5757            style { name: "entry_textblock_disabled_style";
5758               base: "font=Sans font_size=10 color=#00000080 wrap=word";
5759               tag:  "br" "\n";
5760               tag:  "ps" "ps";
5761               tag:  "tab" "\t";
5762               tag:  "em" "+ font=Sans:style=Oblique";
5763               tag:  "b" "+ font=Sans:style=Bold";
5764               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5765               tag:  "hilight" "+ font=Sans:style=Bold";
5766            }
5767         }
5768       data {
5769 //         item: context_menu_orientation "horizontal";
5770       }
5771       parts {
5772      part { name: "entry.swallow.background";
5773         type: SWALLOW;
5774         description { state: "default" 0.0;
5775            visible: 1;
5776            rel1 { relative: 0 0; to: "elm.text"; }
5777            rel2 { relative: 1 1; to: "elm.text"; }
5778             }
5779         }
5780          part { name: "elm.text";
5781             type: TEXTBLOCK;
5782             mouse_events: 1;
5783             scale: 1;
5784             entry_mode: EDITABLE;
5785             select_mode: EXPLICIT;
5786             multiline: 1;
5787             source: "elm/entry/selection/default"; // selection under
5788 //          source2: "X"; // selection over
5789 //          source3: "X"; // cursor under
5790             source4: "elm/entry/cursor/default"; // cursorover
5791             source5: "elm/entry/anchor/default"; // anchor under
5792 //          source6: "X"; // anchor over
5793             description { state: "default" 0.0;
5794                /* we gotta use 0 0 here, because of scrolled entries */
5795                fixed: 0 0;
5796                text {
5797                   style: "entry_textblock_style";
5798                   min: 0 1;
5799                }
5800             }
5801             description { state: "disabled" 0.0;
5802                inherit: "default" 0.0;
5803                text {
5804                   style: "entry_textblock_disabled_style";
5805                   min: 0 1;
5806                }
5807             }
5808          }
5809       }
5810       programs {
5811          program { name: "focus";
5812             signal: "load";
5813             source: "";
5814             action: FOCUS_SET;
5815             target: "elm.text";
5816          }
5817          program { name: "disable";
5818             signal: "elm,state,disabled";
5819             source: "elm";
5820             action: STATE_SET "disabled" 0.0;
5821             target: "elm.text";
5822          }
5823          program { name: "enable";
5824             signal: "elm,state,enabled";
5825             source: "elm";
5826             action: STATE_SET "default" 0.0;
5827             target: "elm.text";
5828          }
5829       }
5830    }
5831
5832     group { name: "elm/entry/base-charwrap/default";
5833       data.item: "default_font_size" "24";
5834       data.item: "min_font_size" "8";
5835       data.item: "max_font_size" "60";
5836       styles
5837         {
5838            style { name: "entry_textblock_style_charwrap";
5839               base: "font=Sans font_size=10 color=#000 wrap=char";
5840               tag:  "br" "\n";
5841               tag:  "ps" "ps";
5842               tag:  "tab" "\t";
5843               tag:  "em" "+ font=Sans:style=Oblique";
5844               tag:  "b" "+ font=Sans:style=Bold";
5845               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5846               tag:  "hilight" "+ font=Sans:style=Bold";
5847            }
5848            style { name: "entry_textblock_disabled_style_charwrap";
5849               base: "font=Sans font_size=10 color=#00000080 wrap=char";
5850               tag:  "br" "\n";
5851               tag:  "ps" "ps";
5852               tag:  "tab" "\t";
5853               tag:  "em" "+ font=Sans:style=Oblique";
5854               tag:  "b" "+ font=Sans:style=Bold";
5855               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5856               tag:  "hilight" "+ font=Sans:style=Bold";
5857            }
5858         }
5859       parts {
5860      part { name: "entry.swallow.background";
5861         type: SWALLOW;
5862         description { state: "default" 0.0;
5863            visible: 1;
5864            rel1 { relative: 0 0; to: "elm.text"; }
5865            rel2 { relative: 1 1; to: "elm.text"; }
5866             }
5867         }
5868          part { name: "elm.text";
5869             type: TEXTBLOCK;
5870             mouse_events: 1;
5871             scale: 1;
5872             entry_mode: EDITABLE;
5873             select_mode: EXPLICIT;
5874             multiline: 1;
5875             source: "elm/entry/selection/default"; // selection under
5876 //          source2: "X"; // selection over
5877 //          source3: "X"; // cursor under
5878             source4: "elm/entry/cursor/default"; // cursorover
5879             source5: "elm/entry/anchor/default"; // anchor under
5880 //          source6: "X"; // anchor over
5881             description { state: "default" 0.0;
5882                fixed: 1 0;
5883                text {
5884                   style: "entry_textblock_style_charwrap";
5885                   min: 0 1;
5886                }
5887             }
5888             description { state: "disabled" 0.0;
5889                inherit: "default" 0.0;
5890                text {
5891                   style: "entry_textblock_disabled_style_charwrap";
5892                   min: 0 1;
5893                }
5894             }
5895          }
5896       }
5897       programs {
5898          program { name: "focus";
5899             signal: "load";
5900             source: "";
5901             action: FOCUS_SET;
5902             target: "elm.text";
5903          }
5904          program { name: "disable";
5905             signal: "elm,state,disabled";
5906             source: "elm";
5907             action: STATE_SET "disabled" 0.0;
5908             target: "elm.text";
5909          }
5910          program { name: "enable";
5911             signal: "elm,state,enabled";
5912             source: "elm";
5913             action: STATE_SET "default" 0.0;
5914             target: "elm.text";
5915          }
5916       }
5917    }
5918
5919
5920    group { name: "elm/entry/base-nowrap/default";
5921       data.item: "default_font_size" "24";
5922       data.item: "min_font_size" "8";
5923       data.item: "max_font_size" "60";
5924       parts {
5925      part { name: "entry.swallow.background";
5926         type: SWALLOW;
5927         description { state: "default" 0.0;
5928            visible: 1;
5929            rel1 { relative: 0 0; to: "elm.text"; }
5930            rel2 { relative: 1 1; to: "elm.text"; }
5931             }
5932         }
5933          part { name: "elm.text";
5934             type: TEXTBLOCK;
5935             mouse_events: 1;
5936             scale: 1;
5937             entry_mode: EDITABLE;
5938             select_mode: EXPLICIT;
5939             multiline: 1;
5940             source: "elm/entry/selection/default"; // selection under
5941             source4: "elm/entry/cursor/default"; // cursorover
5942             source5: "elm/entry/anchor/default"; // anchor under
5943             description { state: "default" 0.0;
5944                text {
5945                   style: "entry_textblock_style";
5946                   min: 1 1;
5947                }
5948             }
5949             description { state: "disabled" 0.0;
5950                inherit: "default" 0.0;
5951                text {
5952                   style: "entry_textblock_disabled_style";
5953                   min: 0 1;
5954                }
5955             }
5956          }
5957 /*
5958          part { name: "sel";
5959             type: RECT;
5960             mouse_events: 0;
5961             description { state: "default" 0.0;
5962                align: 1.0 1.0;
5963                max: 16 16;
5964                aspect: 1.0 1.0;
5965                color: 255 0 0 0;
5966             }
5967             description { state: "visible" 0.0;
5968                inherit: "default" 0.0;
5969                color: 255 0 0 50;
5970             }
5971          }
5972  */
5973       }
5974       programs {
5975          program { name: "focus";
5976             signal: "load";
5977             source: "";
5978             action: FOCUS_SET;
5979             target: "elm.text";
5980          }
5981          program { name: "disable";
5982             signal: "elm,state,disabled";
5983             source: "elm";
5984             action: STATE_SET "disabled" 0.0;
5985             target: "elm.text";
5986          }
5987          program { name: "enable";
5988             signal: "elm,state,enabled";
5989             source: "elm";
5990             action: STATE_SET "default" 0.0;
5991             target: "elm.text";
5992          }
5993 /*
5994          program { name: "selmode0";
5995             signal: "elm,state,select,on";
5996             source: "elm";
5997             action: STATE_SET "visible" 0.0;
5998             target: "sel";
5999          }
6000          program { name: "selmode1";
6001             signal: "elm,state,select,off";
6002             source: "elm";
6003             action: STATE_SET "default" 0.0;
6004             target: "sel";
6005          }
6006  */
6007       }
6008    }
6009
6010    group { name: "elm/entry/base-single/default";
6011       data.item: "default_font_size" "24";
6012       data.item: "min_font_size" "8";
6013       data.item: "max_font_size" "60";
6014       styles
6015         {
6016            style { name: "entry_single_textblock_style";
6017               base: "font=Sans font_size=10 color=#000 wrap=none";
6018               tag:  "br" "\n";
6019               tag:  "ps" "ps";
6020               tag:  "tab" "\t";
6021               tag:  "em" "+ font=Sans:style=Oblique";
6022               tag:  "b" "+ font=Sans:style=Bold";
6023               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
6024               tag:  "hilight" "+ font=Sans:style=Bold";
6025            }
6026            style { name: "entry_single_textblock_disabled_style";
6027               base: "font=Sans font_size=10 color=#00000080 wrap=none";
6028               tag:  "br" "\n";
6029               tag:  "ps" "ps";
6030               tag:  "tab" "\t";
6031               tag:  "em" "+ font=Sans:style=Oblique";
6032               tag:  "b" "+ font=Sans:style=Bold";
6033               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
6034               tag:  "hilight" "+ font=Sans:style=Bold";
6035            }
6036         }
6037       parts {
6038      part { name: "entry.swallow.background";
6039         type: SWALLOW;
6040         description { state: "default" 0.0;
6041            visible: 1;
6042            rel1 { relative: 0 0; to: "elm.text"; }
6043            rel2 { relative: 1 1; to: "elm.text"; }
6044             }
6045         }
6046          part { name: "elm.text";
6047             type: TEXTBLOCK;
6048             mouse_events: 1;
6049             scale: 1;
6050             entry_mode: EDITABLE;
6051             select_mode: EXPLICIT;
6052             multiline: 0;
6053             source: "elm/entry/selection/default"; // selection under
6054             source4: "elm/entry/cursor/default"; // cursorover
6055             source5: "elm/entry/anchor/default"; // anchor under
6056             description { state: "default" 0.0;
6057                text {
6058                   style: "entry_single_textblock_style";
6059                   min: 1 1;
6060                   max: 0 1;
6061                }
6062             }
6063             description { state: "disabled" 0.0;
6064                inherit: "default" 0.0;
6065                text {
6066                   style: "entry_single_textblock_disabled_style";
6067                }
6068             }
6069          }
6070       }
6071       programs {
6072          program { name: "focus";
6073             signal: "load";
6074             source: "";
6075             action: FOCUS_SET;
6076             target: "elm.text";
6077          }
6078          program { name: "disable";
6079             signal: "elm,state,disabled";
6080             source: "elm";
6081             action: STATE_SET "disabled" 0.0;
6082             target: "elm.text";
6083          }
6084          program { name: "enable";
6085             signal: "elm,state,enabled";
6086             source: "elm";
6087             action: STATE_SET "default" 0.0;
6088             target: "elm.text";
6089          }
6090       }
6091    }
6092
6093    group { name: "elm/entry/base-single-noedit/default";
6094       data.item: "default_font_size" "24";
6095       data.item: "min_font_size" "8";
6096       data.item: "max_font_size" "60";
6097       parts {
6098      part { name: "entry.swallow.background";
6099         type: SWALLOW;
6100         description { state: "default" 0.0;
6101            visible: 1;
6102            rel1 { relative: 0 0; to: "elm.text"; }
6103            rel2 { relative: 1 1; to: "elm.text"; }
6104             }
6105         }
6106          part { name: "elm.text";
6107             type: TEXTBLOCK;
6108             mouse_events: 1;
6109             scale: 1;
6110             entry_mode: PLAIN;
6111             select_mode: EXPLICIT;
6112             multiline: 0;
6113             source: "elm/entry/selection/default"; // selection under
6114             source5: "elm/entry/anchor/default"; // anchor under
6115             description { state: "default" 0.0;
6116                text {
6117                   style: "entry_single_textblock_style";
6118                   min: 1 1;
6119                   max: 0 1;
6120                }
6121             }
6122             description { state: "disabled" 0.0;
6123                inherit: "default" 0.0;
6124                text {
6125                   style: "entry_single_textblock_disabled_style";
6126                }
6127             }
6128          }
6129       }
6130       programs {
6131          program { name: "focus";
6132             signal: "load";
6133             source: "";
6134             action: FOCUS_SET;
6135             target: "elm.text";
6136          }
6137          program { name: "disable";
6138             signal: "elm,state,disabled";
6139             source: "elm";
6140             action: STATE_SET "disabled" 0.0;
6141             target: "elm.text";
6142          }
6143          program { name: "enable";
6144             signal: "elm,state,enabled";
6145             source: "elm";
6146             action: STATE_SET "default" 0.0;
6147             target: "elm.text";
6148          }
6149       }
6150    }
6151
6152    group { name: "elm/entry/base-noedit/default";
6153       data.item: "default_font_size" "24";
6154       data.item: "min_font_size" "8";
6155       data.item: "max_font_size" "60";
6156       parts {
6157      part { name: "entry.swallow.background";
6158         type: SWALLOW;
6159         description { state: "default" 0.0;
6160            visible: 1;
6161            rel1 { relative: 0 0; to: "elm.text"; }
6162            rel2 { relative: 1 1; to: "elm.text"; }
6163             }
6164         }
6165          part { name: "elm.text";
6166             type: TEXTBLOCK;
6167             mouse_events: 1;
6168             scale: 1;
6169             entry_mode: PLAIN;
6170             select_mode: EXPLICIT;
6171             multiline: 1;
6172             source: "elm/entry/selection/default"; // selection under
6173             source5: "elm/entry/anchor/default"; // anchor under
6174             description { state: "default" 0.0;
6175                fixed: 1 0;
6176                text {
6177                   style: "entry_textblock_style";
6178                   min: 0 1;
6179                }
6180             }
6181             description { state: "disabled" 0.0;
6182                inherit: "default" 0.0;
6183                text {
6184                   style: "entry_textblock_disabled_style";
6185                }
6186             }
6187          }
6188       }
6189       programs {
6190          program { name: "focus";
6191             signal: "load";
6192             source: "";
6193             action: FOCUS_SET;
6194             target: "elm.text";
6195          }
6196          program { name: "disable";
6197             signal: "elm,state,disabled";
6198             source: "elm";
6199             action: STATE_SET "disabled" 0.0;
6200             target: "elm.text";
6201          }
6202          program { name: "enable";
6203             signal: "elm,state,enabled";
6204             source: "elm";
6205             action: STATE_SET "default" 0.0;
6206             target: "elm.text";
6207          }
6208       }
6209    }
6210
6211    group { name: "elm/entry/base-noedit-charwrap/default";
6212       data.item: "default_font_size" "24";
6213       data.item: "min_font_size" "8";
6214       data.item: "max_font_size" "60";
6215       parts {
6216      part { name: "entry.swallow.background";
6217         type: SWALLOW;
6218         description { state: "default" 0.0;
6219            visible: 1;
6220            rel1 { relative: 0 0; to: "elm.text"; }
6221            rel2 { relative: 1 1; to: "elm.text"; }
6222             }
6223         }
6224          part { name: "elm.text";
6225             type: TEXTBLOCK;
6226             mouse_events: 1;
6227             scale: 1;
6228             entry_mode: PLAIN;
6229             select_mode: EXPLICIT;
6230             multiline: 1;
6231             source: "elm/entry/selection/default"; // selection under
6232             source5: "elm/entry/anchor/default"; // anchor under
6233             description { state: "default" 0.0;
6234                fixed: 1 0;
6235                text {
6236                   style: "entry_textblock_style_charwrap";
6237                   min: 0 1;
6238                }
6239             }
6240             description { state: "disabled" 0.0;
6241                inherit: "default" 0.0;
6242                text {
6243                   style: "entry_textblock_disabled_style_charwrap";
6244                }
6245             }
6246          }
6247       }
6248       programs {
6249          program { name: "focus";
6250             signal: "load";
6251             source: "";
6252             action: FOCUS_SET;
6253             target: "elm.text";
6254          }
6255          program { name: "disable";
6256             signal: "elm,state,disabled";
6257             source: "elm";
6258             action: STATE_SET "disabled" 0.0;
6259             target: "elm.text";
6260          }
6261          program { name: "enable";
6262             signal: "elm,state,enabled";
6263             source: "elm";
6264             action: STATE_SET "default" 0.0;
6265             target: "elm.text";
6266          }
6267       }
6268    }
6269
6270    group { name: "elm/entry/base-nowrap-noedit/default";
6271       data.item: "default_font_size" "24";
6272       data.item: "min_font_size" "8";
6273       data.item: "max_font_size" "60";
6274       parts {
6275      part { name: "entry.swallow.background";
6276         type: SWALLOW;
6277         description { state: "default" 0.0;
6278            visible: 1;
6279            rel1 { relative: 0 0; to: "elm.text"; }
6280            rel2 { relative: 1 1; to: "elm.text"; }
6281             }
6282         }
6283          part { name: "elm.text";
6284             type: TEXTBLOCK;
6285             mouse_events: 1;
6286             scale: 1;
6287             entry_mode: PLAIN;
6288             select_mode: EXPLICIT;
6289             multiline: 1;
6290             source: "elm/entry/selection/default"; // selection under
6291             source5: "elm/entry/anchor/default"; // anchor under
6292             description { state: "default" 0.0;
6293                text {
6294                   style: "entry_textblock_style";
6295                   min: 1 1;
6296                }
6297             }
6298             description { state: "disabled" 0.0;
6299                inherit: "default" 0.0;
6300                text {
6301                   style: "entry_textblock_disabled_style";
6302                }
6303             }
6304          }
6305       }
6306       programs {
6307          program { name: "focus";
6308             signal: "load";
6309             source: "";
6310             action: FOCUS_SET;
6311             target: "elm.text";
6312          }
6313          program { name: "disable";
6314             signal: "elm,state,disabled";
6315             source: "elm";
6316             action: STATE_SET "disabled" 0.0;
6317             target: "elm.text";
6318          }
6319          program { name: "enable";
6320             signal: "elm,state,enabled";
6321             source: "elm";
6322             action: STATE_SET "default" 0.0;
6323             target: "elm.text";
6324          }
6325       }
6326    }
6327
6328   group { name: "elm/entry/base-password/default";
6329       data.item: "default_font_size" "24";
6330       data.item: "min_font_size" "8";
6331       data.item: "max_font_size" "60";
6332       parts {
6333      part { name: "entry.swallow.background";
6334         type: SWALLOW;
6335         description { state: "default" 0.0;
6336            visible: 1;
6337            rel1 { relative: 0 0; to: "elm.text"; }
6338            rel2 { relative: 1 1; to: "elm.text"; }
6339             }
6340         }
6341          part { name: "elm.text";
6342             type: TEXTBLOCK;
6343             mouse_events: 1;
6344             scale: 1;
6345             entry_mode: PASSWORD;
6346             select_mode: EXPLICIT;
6347             multiline: 0;
6348             source: "elm/entry/selection/default"; // selection under
6349             source4: "elm/entry/cursor/default"; // cursorover
6350             source5: "elm/entry/anchor/default"; // anchor under
6351             description { state: "default" 0.0;
6352                text {
6353                   style: "entry_single_textblock_style";
6354                   repch: "*";
6355                   min: 1 1;
6356                   max: 0 1;
6357                }
6358             }
6359             description { state: "disabled" 0.0;
6360                inherit: "default" 0.0;
6361                text {
6362                   style: "entry_single_textblock_disabled_style";
6363                }
6364             }
6365          }
6366       }
6367       programs {
6368          program { name: "focus";
6369             signal: "load";
6370             source: "";
6371             action: FOCUS_SET;
6372             target: "elm.text";
6373          }
6374          program { name: "disable";
6375             signal: "elm,state,disabled";
6376             source: "elm";
6377             action: STATE_SET "disabled" 0.0;
6378             target: "elm.text";
6379          }
6380          program { name: "enable";
6381             signal: "elm,state,enabled";
6382             source: "elm";
6383             action: STATE_SET "default" 0.0;
6384             target: "elm.text";
6385          }
6386       }
6387    }
6388
6389    group { name: "elm/entry/cursor/default";
6390       data.item: "default_font_size" "24";
6391       data.item: "min_font_size" "8";
6392       data.item: "max_font_size" "60";
6393       images {
6394          image: "cur_box.png" COMP;
6395          image: "cur_hi.png" COMP;
6396          image: "cur_shad.png" COMP;
6397          image: "cur_shine.png" COMP;
6398          image: "cur_glow.png" COMP;
6399       }
6400       parts {
6401          part { name: "clip2";
6402             type: RECT;
6403             mouse_events: 0;
6404             description { state: "default" 0.0;
6405                rel1.to: "clip";
6406                rel2.to: "clip";
6407                visible: 0;
6408             }
6409             description { state: "focused" 0.0;
6410                inherit: "default" 0.0;
6411                visible: 1;
6412             }
6413          }
6414          part { name: "clip";
6415             type: RECT;
6416             mouse_events: 0;
6417             clip_to: "clip2";
6418             description { state: "default" 0.0;
6419                rel1.offset: -10 0;
6420                rel2.offset: 9 9;
6421             }
6422             description { state: "hidden" 0.0;
6423                inherit: "default" 0.0;
6424                visible: 0;
6425             }
6426          }
6427          part { name: "bg";
6428             mouse_events: 0;
6429             clip_to: "clip";
6430             description { state: "default" 0.0;
6431                rel1.to: "base";
6432                rel1.offset: -2 0;
6433                rel2.to: "base";
6434                rel2.offset: 1 1;
6435                image.border: 2 2 2 2;
6436                image.normal: "cur_shad.png";
6437             }
6438          }
6439          part { name: "base";
6440             mouse_events: 0;
6441             scale: 1;
6442             clip_to: "clip";
6443             description { state: "default" 0.0;
6444                min: 2 2;
6445                align: 0.5 1.0;
6446                rel1.relative: 0.0 1.0;
6447                rel1.offset: 0 -1;
6448                rel2.relative: 1.0 1.0;
6449                rel2.offset: -1 -1;
6450                image.normal: "cur_box.png";
6451             }
6452          }
6453          part { name: "hi";
6454             mouse_events: 0;
6455             clip_to: "clip";
6456             description { state: "default" 0.0;
6457                rel1.to: "base";
6458                rel2.to: "base";
6459                rel2.relative: 1.0 0.5;
6460                image.normal: "cur_hi.png";
6461             }
6462          }
6463          part { name: "shine";
6464             mouse_events: 0;
6465             clip_to: "clip";
6466             clip_to: "clip2";
6467             description { state: "default" 0.0;
6468                rel1.to: "base";
6469                rel2.to: "base";
6470                rel2.relative: 1.0 0.75;
6471                image.border: 2 2 1 0;
6472                image.normal: "cur_shine.png";
6473                fill.smooth: 0;
6474             }
6475          }
6476          part { name: "glow";
6477             mouse_events: 0;
6478             clip_to: "clip2";
6479             description { state: "default" 0.0;
6480                rel1.to: "base";
6481                rel1.relative: 0.0 -2.0;
6482                rel1.offset: -2 0;
6483                rel2.to: "base";
6484                rel2.relative: 1.0 0.0;
6485                rel2.offset: 1 1;
6486                image.border: 2 2 0 4;
6487                image.normal: "cur_glow.png";
6488                fill.smooth: 0;
6489             }
6490             description { state: "hidden" 0.0;
6491                inherit: "default" 0.0;
6492                color: 255 255 255 0;
6493             }
6494          }
6495       }
6496       programs {
6497          program { name: "show";
6498             signal: "show";
6499             source: "";
6500             action: STATE_SET "hidden" 0.0;
6501             in: 1.0 0.0;
6502             transition: DECELERATE 2.0;
6503             target: "glow";
6504             after: "show2";
6505          }
6506          program { name: "show2";
6507             action: STATE_SET "hidden" 0.0;
6508             in: 0.2 0.0;
6509             target: "clip";
6510             after: "show3";
6511          }
6512          program { name: "show3";
6513             action: STATE_SET "default" 0.0;
6514             in: 0.5 0.0;
6515             target: "clip";
6516             after: "show4";
6517          }
6518          program { name: "show4";
6519             action: STATE_SET "default" 0.0;
6520             in: 0.5 0.0;
6521             transition: DECELERATE 0.5;
6522             target: "glow";
6523             after: "show";
6524          }
6525          program { name: "focused";
6526             signal: "elm,action,focus";
6527             source: "elm";
6528             action: STATE_SET "focused" 0.0;
6529             target: "clip2";
6530          }
6531          program { name: "unfocused";
6532             signal: "elm,action,unfocus";
6533             source: "elm";
6534             action: STATE_SET "default" 0.0;
6535             target: "clip2";
6536          }
6537       }
6538    }
6539
6540    group { name: "elm/entry/selection/default";
6541       parts {
6542          part { name: "bg";
6543             type: RECT;
6544             mouse_events: 0;
6545             description { state: "default" 0.0;
6546                color: 128 128 128 128;
6547             }
6548          }
6549       }
6550    }
6551
6552    group { name: "elm/entry/anchor/default";
6553       parts {
6554          part { name: "bg";
6555             type: RECT;
6556             mouse_events: 0;
6557             description { state: "default" 0.0;
6558                color: 128 0 0 64;
6559             }
6560          }
6561       }
6562    }
6563
6564 ///////////////////////////////////////////////////////////////////////////////
6565   group { name: "elm/bubble/top_left/default";
6566     alias: "elm/bubble/base/default";
6567     images {
6568       image: "bubble_3.png" COMP;
6569       image: "bubble_shine3.png" COMP;
6570     }
6571     parts {
6572       part { name: "elm.swallow.icon";
6573         type: SWALLOW;
6574         description { state: "default" 0.0;
6575           fixed: 1 1;
6576           visible: 0;
6577           align: 0.0 0.0;
6578           aspect: 1.0 1.0;
6579           aspect_preference: VERTICAL;
6580           rel1 {
6581             relative: 0.0 0.0;
6582             offset: 4 4;
6583           }
6584           rel2 {
6585             to_y: "elm.text";
6586             relative: 0.0 1.0;
6587             offset: 4 -1;
6588           }
6589         }
6590         description { state: "visible" 0.0;
6591           inherit: "default" 0.0;
6592           visible: 1;
6593         }
6594       }
6595       part { name: "elm.text";
6596         type: TEXT;
6597         mouse_events:   0;
6598         scale: 1;
6599         description { state: "default" 0.0;
6600           align: 0.0 0.0;
6601           fixed: 0 1;
6602           rel1 {
6603             to_x: "elm.swallow.icon";
6604             relative: 1.0 0.0;
6605             offset: 4 4;
6606           }
6607           rel2 {
6608             to_x: "elm.info";
6609             relative: 0.0 0.0;
6610             offset: -5 4;
6611           }
6612           color: 0 0 0 255;
6613           text {
6614             font: "Sans:style=Bold,Edje-Vera-Bold";
6615             size: 10;
6616             min: 0 1;
6617             max: 0 1;
6618             align: 0.0 0.0;
6619           }
6620         }
6621       }
6622       part { name: "elm.info";
6623         type: TEXT;
6624         mouse_events:   0;
6625         scale: 1;
6626         description { state: "default" 0.0;
6627           align: 1.0 0.0;
6628           fixed: 1 1;
6629           rel1 {
6630             relative: 1.0 0.0;
6631             offset: -5 4;
6632           }
6633           rel2 {
6634             relative: 1.0 0.0;
6635             offset: -5 4;
6636           }
6637           color: 0 0 0 64;
6638           text {
6639             font: "Sans:style=Bold,Edje-Vera-Bold";
6640             size: 10;
6641             min: 1 1;
6642             max: 1 1;
6643             align: 1.0 0.0;
6644           }
6645         }
6646       }
6647       part { name: "base0";
6648         mouse_events:  0;
6649         description { state: "default" 0.0;
6650           rel1 {
6651             to_y: "elm.swallow.icon";
6652             relative: 0.0 1.0;
6653             offset: 0 0;
6654           }
6655           image {
6656             normal: "bubble_3.png";
6657             border: 36 11 18 9;
6658           }
6659           image.middle: SOLID;
6660           fill.smooth: 0;
6661         }
6662       }
6663       part { name: "elm.swallow.content";
6664         type: SWALLOW;
6665         description { state: "default" 0.0;
6666           rel1 {
6667             to: "base0";
6668             offset: 9 16;
6669           }
6670           rel2 {
6671             to: "base0";
6672             offset: -10 -9;
6673           }
6674         }
6675       }
6676       part { name: "shine";
6677         mouse_events:  0;
6678         description { state:    "default" 0.0;
6679           rel1 {
6680             to: "base0";
6681             offset: 5 4;
6682           }
6683           rel2 {
6684             to: "base0";
6685             relative: 1.0 0.5;
6686             offset: -6 7;
6687           }
6688           image {
6689             normal: "bubble_shine3.png";
6690             border: 36 5 14 0;
6691           }
6692           fill.smooth: 0;
6693         }
6694       }
6695     }
6696     programs {
6697       program {
6698         name: "icon_show";
6699         signal: "elm,state,icon,visible";
6700         source: "elm";
6701         action: STATE_SET "visible" 0.0;
6702         target: "elm.swallow.icon";
6703       }
6704       program {
6705         name: "icon_hide";
6706         signal: "elm,state,icon,hidden";
6707         source: "elm";
6708         action: STATE_SET "default" 0.0;
6709         target: "elm.swallow.icon";
6710       }
6711     }
6712   }
6713
6714   group { name: "elm/bubble/top_right/default";
6715     images {
6716       image: "bubble_4.png" COMP;
6717       image: "bubble_shine4.png" COMP;
6718     }
6719     parts {
6720       part { name: "elm.swallow.icon";
6721         type: SWALLOW;
6722         description { state: "default" 0.0;
6723           fixed: 1 1;
6724           visible: 0;
6725           align: 1.0 0.0;
6726           aspect: 1.0 1.0;
6727           aspect_preference: VERTICAL;
6728           rel1 {
6729             relative: 1.0 0.0;
6730             offset: -5 4;
6731           }
6732           rel2 {
6733             to_y: "elm.text";
6734             relative: 1.0 1.0;
6735             offset: -5 -1;
6736           }
6737         }
6738         description { state: "visible" 0.0;
6739           inherit: "default" 0.0;
6740           visible: 1;
6741         }
6742       }
6743       part { name: "elm.text";
6744         type: TEXT;
6745         mouse_events:   0;
6746         scale: 1;
6747         description { state: "default" 0.0;
6748           align: 0.0 0.0;
6749           fixed: 0 1;
6750           rel1 {
6751             relative: 0.0 0.0;
6752             offset: 4 4;
6753           }
6754           rel2 {
6755             to_x: "elm.info";
6756             relative: 0.0 0.0;
6757             offset: -5 4;
6758           }
6759           color: 0 0 0 255;
6760           text {
6761             font: "Sans:style=Bold,Edje-Vera-Bold";
6762             size: 10;
6763             min: 0 1;
6764             max: 0 1;
6765             align: 0.0 0.0;
6766           }
6767         }
6768       }
6769       part { name: "elm.info";
6770         type: TEXT;
6771         mouse_events:   0;
6772         scale: 1;
6773         description { state: "default" 0.0;
6774           align: 1.0 0.0;
6775           fixed: 1 1;
6776           rel1 {
6777             relative: 1.0 0.0;
6778             offset: -5 4;
6779           }
6780           rel2 {
6781             to_x: "elm.swallow.icon";
6782             relative: 0.0 0.0;
6783             offset: -5 4;
6784           }
6785           color: 0 0 0 64;
6786           text {
6787             font: "Sans:style=Bold,Edje-Vera-Bold";
6788             size: 10;
6789             min: 1 1;
6790             max: 1 1;
6791             align: 1.0 0.0;
6792           }
6793         }
6794       }
6795       part { name: "base0";
6796         mouse_events:  0;
6797         description { state: "default" 0.0;
6798           rel1 {
6799             to_y: "elm.swallow.icon";
6800             relative: 0.0 1.0;
6801             offset: 0 0;
6802           }
6803           image {
6804             normal: "bubble_4.png";
6805             border: 11 36 18 9;
6806           }
6807           image.middle: SOLID;
6808           fill.smooth: 0;
6809         }
6810       }
6811       part { name: "elm.swallow.content";
6812         type: SWALLOW;
6813         description { state: "default" 0.0;
6814           rel1 {
6815             to: "base0";
6816             offset: 9 16;
6817           }
6818           rel2 {
6819             to: "base0";
6820             offset: -10 -9;
6821           }
6822         }
6823       }
6824       part { name: "shine";
6825         mouse_events:  0;
6826         description { state:    "default" 0.0;
6827           rel1 {
6828             to: "base0";
6829             offset: 5 4;
6830           }
6831           rel2 {
6832             to: "base0";
6833             relative: 1.0 0.5;
6834             offset: -6 7;
6835           }
6836           image {
6837             normal: "bubble_shine4.png";
6838             border: 5 36 14 0;
6839           }
6840           fill.smooth: 0;
6841         }
6842       }
6843     }
6844     programs {
6845       program {
6846         name: "icon_show";
6847         signal: "elm,state,icon,visible";
6848         source: "elm";
6849         action: STATE_SET "visible" 0.0;
6850         target: "elm.swallow.icon";
6851       }
6852       program {
6853         name: "icon_hide";
6854         signal: "elm,state,icon,hidden";
6855         source: "elm";
6856         action: STATE_SET "default" 0.0;
6857         target: "elm.swallow.icon";
6858       }
6859     }
6860   }
6861
6862   group { name: "elm/bubble/bottom_left/default";
6863     images {
6864       image: "bubble_1.png" COMP;
6865       image: "bubble_shine.png" COMP;
6866     }
6867     parts {
6868       part { name: "elm.swallow.icon";
6869         type: SWALLOW;
6870         description { state: "default" 0.0;
6871           fixed: 1 1;
6872           visible: 0;
6873           align: 0.0 1.0;
6874           aspect: 1.0 1.0;
6875           aspect_preference: VERTICAL;
6876           rel1 {
6877             to_y: "elm.text";
6878             relative: 0.0 0.0;
6879             offset: 4 0;
6880           }
6881           rel2 {
6882             relative: 0.0 1.0;
6883             offset: 4 -5;
6884           }
6885         }
6886         description { state: "visible" 0.0;
6887           inherit: "default" 0.0;
6888           visible: 1;
6889         }
6890       }
6891       part { name: "elm.text";
6892         type: TEXT;
6893         mouse_events:   0;
6894         scale: 1;
6895         description { state: "default" 0.0;
6896           align: 0.0 1.0;
6897           fixed: 0 1;
6898           rel1 {
6899             to_x: "elm.swallow.icon";
6900             relative: 1.0 1.0;
6901             offset: 4 -5;
6902           }
6903           rel2 {
6904             to_x: "elm.info";
6905             relative: 0.0 1.0;
6906             offset: -5 -5;
6907           }
6908           color: 0 0 0 255;
6909           text {
6910             font: "Sans:style=Bold,Edje-Vera-Bold";
6911             size: 10;
6912             min: 0 1;
6913             max: 0 1;
6914             align: 0.0 1.0;
6915           }
6916         }
6917       }
6918       part { name: "elm.info";
6919         type: TEXT;
6920         mouse_events:   0;
6921         scale: 1;
6922         description { state: "default" 0.0;
6923           align: 1.0 1.0;
6924           fixed: 1 1;
6925           rel1 {
6926             relative: 1.0 1.0;
6927             offset: -5 -5;
6928           }
6929           rel2 {
6930             relative: 1.0 1.0;
6931             offset: -5 -5;
6932           }
6933           color: 0 0 0 64;
6934           text {
6935             font: "Sans:style=Bold,Edje-Vera-Bold";
6936             size: 10;
6937             min: 1 1;
6938             max: 1 1;
6939             align: 1.0 1.0;
6940           }
6941         }
6942       }
6943       part { name: "base0";
6944         mouse_events:  0;
6945         description { state: "default" 0.0;
6946           rel2 {
6947             to_y: "elm.swallow.icon";
6948             relative: 1.0 0.0;
6949             offset: -1 -1;
6950           }
6951           image {
6952             normal: "bubble_1.png";
6953             border: 36 11 10 19;
6954           }
6955           image.middle: SOLID;
6956           fill.smooth: 0;
6957         }
6958       }
6959       part { name: "elm.swallow.content";
6960         type: SWALLOW;
6961         description { state: "default" 0.0;
6962           rel1 {
6963             to: "base0";
6964             offset: 9 8;
6965           }
6966           rel2 {
6967             to: "base0";
6968             offset: -10 -17;
6969           }
6970         }
6971       }
6972       part { name: "shine";
6973         mouse_events:  0;
6974         description { state:    "default" 0.0;
6975           rel1 {
6976             to: "base0";
6977             offset: 5 4;
6978           }
6979           rel2 {
6980             to: "base0";
6981             relative: 1.0 0.5;
6982             offset: -6 -16;
6983           }
6984           image {
6985             normal: "bubble_shine.png";
6986             border: 5 5 5 0;
6987           }
6988           fill.smooth: 0;
6989         }
6990       }
6991     }
6992     programs {
6993       program {
6994         name: "icon_show";
6995         signal: "elm,state,icon,visible";
6996         source: "elm";
6997         action: STATE_SET "visible" 0.0;
6998         target: "elm.swallow.icon";
6999       }
7000       program {
7001         name: "icon_hide";
7002         signal: "elm,state,icon,hidden";
7003         source: "elm";
7004         action: STATE_SET "default" 0.0;
7005         target: "elm.swallow.icon";
7006       }
7007     }
7008   }
7009
7010   group { name: "elm/bubble/bottom_right/default";
7011     images {
7012       image: "bubble_2.png" COMP;
7013       image: "bubble_shine.png" COMP;
7014     }
7015     parts {
7016       part { name: "elm.swallow.icon";
7017         type: SWALLOW;
7018         description { state: "default" 0.0;
7019           fixed: 1 1;
7020           visible: 0.0;
7021           align: 1.0 1.0;
7022           aspect: 1.0 1.0;
7023           aspect_preference: VERTICAL;
7024           rel1 {
7025             to_y: "elm.text";
7026             relative: 1.0 0.0;
7027             offset: -5 0;
7028           }
7029           rel2 {
7030             relative: 1.0 1.0;
7031             offset: -5 -5;
7032           }
7033         }
7034         description { state: "visible" 0.0;
7035           inherit: "default" 0.0;
7036           visible: 1;
7037         }
7038       }
7039       part { name: "elm.text";
7040         type: TEXT;
7041         mouse_events:   0;
7042         scale: 1;
7043         description { state: "default" 0.0;
7044           align: 0.0 1.0;
7045           fixed: 0 1;
7046           rel1 {
7047             relative: 0.0 1.0;
7048             offset: 4 -5;
7049           }
7050           rel2 {
7051             to_x: "elm.info";
7052             relative: 0.0 1.0;
7053             offset: -5 -5;
7054           }
7055           color: 0 0 0 255;
7056           text {
7057             font: "Sans:style=Bold,Edje-Vera-Bold";
7058             size: 10;
7059             min: 0 1;
7060             max: 0 1;
7061             align: 0.0 1.0;
7062           }
7063         }
7064       }
7065       part { name: "elm.info";
7066         type: TEXT;
7067         mouse_events:   0;
7068         scale: 1;
7069         description { state: "default" 0.0;
7070           align: 1.0 1.0;
7071           fixed: 1 1;
7072           rel1 {
7073             relative: 1.0 1.0;
7074             offset: -5 -5;
7075           }
7076           rel2 {
7077             to_x: "elm.swallow.icon";
7078             relative: 0.0 1.0;
7079             offset: -5 -5;
7080           }
7081           color: 0 0 0 64;
7082           text {
7083             font: "Sans:style=Bold,Edje-Vera-Bold";
7084             size: 10;
7085             min: 1 1;
7086             max: 1 1;
7087             align: 1.0 1.0;
7088           }
7089         }
7090       }
7091       part { name: "base0";
7092         mouse_events:  0;
7093         description { state: "default" 0.0;
7094           rel2 {
7095             to_y: "elm.swallow.icon";
7096             relative: 1.0 0.0;
7097             offset: -1 -1;
7098           }
7099           image {
7100             normal: "bubble_2.png";
7101             border: 11 36 10 19;
7102           }
7103           image.middle: SOLID;
7104           fill.smooth: 0;
7105         }
7106       }
7107       part { name: "elm.swallow.content";
7108         type: SWALLOW;
7109         description { state: "default" 0.0;
7110           rel1 {
7111             to: "base0";
7112             offset: 9 8;
7113           }
7114           rel2 {
7115             to: "base0";
7116             offset: -10 -17;
7117           }
7118         }
7119       }
7120       part { name: "shine";
7121         mouse_events:  0;
7122         description { state:    "default" 0.0;
7123           rel1 {
7124             to: "base0";
7125             offset: 5 4;
7126           }
7127           rel2 {
7128             to: "base0";
7129             relative: 1.0 0.5;
7130             offset: -6 -16;
7131           }
7132           image {
7133             normal: "bubble_shine.png";
7134             border: 5 5 5 0;
7135           }
7136           fill.smooth: 0;
7137         }
7138       }
7139     }
7140     programs {
7141       program {
7142         name: "icon_show";
7143         signal: "elm,state,icon,visible";
7144         source: "elm";
7145         action: STATE_SET "visible" 0.0;
7146         target: "elm.swallow.icon";
7147       }
7148       program {
7149         name: "icon_hide";
7150         signal: "elm,state,icon,hidden";
7151         source: "elm";
7152         action: STATE_SET "default" 0.0;
7153         target: "elm.swallow.icon";
7154       }
7155     }
7156   }
7157
7158 ///////////////////////////////////////////////////////////////////////////////
7159    group { name: "elm/photo/base/default";
7160       images {
7161          image: "frame_1.png" COMP;
7162          image: "frame_2.png" COMP;
7163          image: "dia_grad.png" COMP;
7164          image: "head.png" COMP;
7165       }
7166       parts {
7167          part { name: "base0";
7168             mouse_events:  0;
7169             description { state: "default" 0.0;
7170                image.normal: "dia_grad.png";
7171                rel1.to: "over";
7172                rel2.to: "over";
7173                fill {
7174                   smooth: 0;
7175                   size {
7176                      relative: 0.0 1.0;
7177                      offset: 64 0;
7178                   }
7179                }
7180             }
7181          }
7182          part { name: "base";
7183             mouse_events:  0;
7184             description { state:    "default" 0.0;
7185                image {
7186                   normal: "frame_2.png";
7187                   border: 5 5 32 26;
7188                   middle: 0;
7189                }
7190                fill.smooth : 0;
7191             }
7192          }
7193          part { name: "head";
7194             mouse_events:  0;
7195             description { state:    "default" 0.0;
7196                rel1.offset: 4 4;
7197                rel2.offset: -5 -5;
7198                aspect: 1.0 1.0;
7199                aspect_preference: BOTH;
7200                image.normal: "head.png";
7201             }
7202          }
7203          part { name: "clip";
7204             mouse_events:  0;
7205             type: RECT;
7206             description { state:    "default" 0.0;
7207                rel1.offset: 4 4;
7208                rel2.offset: -5 -5;
7209                color: 255 255 255 255;
7210             }
7211          }
7212          part { name: "elm.swallow.content";
7213             type: SWALLOW;
7214             clip_to: "clip";
7215             description { state: "default" 0.0;
7216                rel1.offset: 4 4;
7217                rel2.offset: -5 -5;
7218             }
7219          }
7220          part { name: "over";
7221             mouse_events:  0;
7222             description { state:    "default" 0.0;
7223                rel1.offset: 4 4;
7224                rel2.offset: -5 -5;
7225                image {
7226                   normal: "frame_1.png";
7227                   border: 2 2 28 22;
7228                   middle: 0;
7229                }
7230                fill.smooth: 0;
7231             }
7232          }
7233      }
7234    }
7235    
7236    group { name: "elm/photo/base/shadow";
7237         images {
7238                         image: "shadow.png" COMP;
7239                         image: "black.png" COMP;
7240         }
7241         script {
7242         public message(Msg_Type:type, id, ...) {
7243                 if( (type==MSG_INT_SET) && (id==0) )
7244                 {
7245                 new w;
7246                 new h;
7247            
7248                 custom_state(PART:"size", "default", 0.0);
7249
7250                 w = getarg(2);
7251                 h = getarg(3);
7252                 set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
7253                 set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
7254                 set_state(PART:"size", "custom", 0.0);
7255                 }
7256         }
7257         }
7258         parts {
7259         part { name: "size";
7260                 type: SWALLOW;
7261                 description { state: "default" 0.0;
7262                         rel1.relative: 0.5 0.5;
7263                         rel2.relative: 0.5 0.5;
7264                 }
7265                 }
7266         part {
7267                 name: "shadow";
7268                 type: IMAGE;
7269                 repeat_events: 1;
7270                 description {
7271                 state: "default" 0.0;
7272                 rel1.to: "size";
7273                 rel2.to: "size";
7274                 rel1.relative: -0.06 -0.06;
7275                 rel2.relative: 1.07 1.07; 
7276                 image.normal: "shadow.png";
7277                 }
7278         }
7279         
7280         
7281                 part { name: "elm.swallow.content";
7282                 type: SWALLOW;
7283                 description { state: "default" 0.0;
7284                 rel1.offset: 3 3;
7285                 rel2.offset: -3 -3;
7286                         fixed: 1 1;
7287                 }
7288                 }
7289                 
7290                 part {
7291                 name: "border";
7292                 type: IMAGE;
7293                 repeat_events: 1;
7294                 description {
7295                 state: "default" 0.0;
7296                 visible: 1;
7297                 color: 0 0 0 255;
7298                 rel1.to: "size";
7299                 rel2.to: "size";
7300                 image.normal: "black.png";
7301                 image.border: 1 1 1 1;
7302                 image.middle: 0;
7303                 }
7304         }
7305                 }
7306    }
7307
7308 ///////////////////////////////////////////////////////////////////////////////
7309    group { name: "elm/thumb/base/default";
7310       images {
7311          image: "frame_1.png" COMP;
7312          image: "frame_2.png" COMP;
7313          image: "dia_grad.png" COMP;
7314          image: "busy-1.png" COMP;
7315          image: "busy-2.png" COMP;
7316          image: "busy-3.png" COMP;
7317          image: "busy-4.png" COMP;
7318          image: "busy-5.png" COMP;
7319          image: "busy-6.png" COMP;
7320          image: "busy-7.png" COMP;
7321          image: "busy-8.png" COMP;
7322          image: "busy-9.png" COMP;
7323       }
7324       parts {
7325          part { name: "base0";
7326             mouse_events:  0;
7327             description { state:        "default" 0.0;
7328                image.normal: "dia_grad.png";
7329                rel1.to: "over";
7330                rel2.to: "over";
7331                fill {
7332                   smooth: 0;
7333                   size {
7334                      relative: 0.0 1.0;
7335                      offset: 64 0;
7336                   }
7337                }
7338             }
7339          }
7340          part { name: "base";
7341             mouse_events:  0;
7342             description { state:        "default" 0.0;
7343                image {
7344                   normal: "frame_2.png";
7345                   border: 5 5 32 26;
7346                   middle: 0;
7347                }
7348                fill.smooth : 0;
7349             }
7350          }
7351          part { name: "clip";
7352             mouse_events:  0;
7353             type: RECT;
7354             description { state:        "default" 0.0;
7355                rel1.offset: 4 4;
7356                rel2.offset: -5 -5;
7357                color: 255 255 255 255;
7358             }
7359          }
7360          part { name: "elm.swallow.content";
7361             type: SWALLOW;
7362             clip_to: "clip";
7363             description { state:        "default" 0.0;
7364                rel1.offset: 4 4;
7365                rel2.offset: -5 -5;
7366             }
7367          }
7368          part { name: "progress";
7369             mouse_events: 0;
7370
7371             clip_to: "clip";
7372             description { state:        "default" 0.0;
7373                min: 32 32;
7374                max: 32 32;
7375                visible: 0;
7376                aspect: 1.0 1.0;
7377                aspect_preference: BOTH;
7378             }
7379             description { state:        "pulse" 0.0;
7380                inherit: "default" 0.0;
7381                visible: 1;
7382                image {
7383                   normal: "busy-9.png";
7384                   tween:  "busy-1.png";
7385                   tween:  "busy-2.png";
7386                   tween:  "busy-3.png";
7387                   tween:  "busy-4.png";
7388                   tween:  "busy-5.png";
7389                   tween:  "busy-6.png";
7390                   tween:  "busy-7.png";
7391                   tween:  "busy-8.png";
7392                   border: 7 7 7 7;
7393                }
7394             }
7395          }
7396          part { name: "over";
7397             mouse_events:  0;
7398             description { state:        "default" 0.0;
7399                rel1.offset: 4 4;
7400                rel2.offset: -5 -5;
7401                image {
7402                   normal: "frame_1.png";
7403                   border: 2 2 28 22;
7404                   middle: 0;
7405                }
7406                fill.smooth: 0;
7407             }
7408          }
7409          programs {
7410             program { name: "start_pulse";
7411                signal: "elm,state,pulse,start";
7412                source: "elm";
7413                action: STATE_SET "pulse" 0.0;
7414                target: "progress";
7415                transition: LINEAR 0.5;
7416                after: "start_pulse";
7417             }
7418             program { name: "stop_pulse";
7419                signal: "elm,state,pulse,stop";
7420                source: "elm";
7421                action: STATE_SET "default" 0.0;
7422                target: "progress";
7423             }
7424          }
7425       }
7426    }
7427
7428 ///////////////////////////////////////////////////////////////////////////////
7429    group { name: "elm/icon/home/default"; min: 32 32;
7430       images.image: "icon_home.png" COMP; parts { part { name: "base";
7431          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7432             image.normal: "icon_home.png"; } } } }
7433    group { name: "elm/icon/close/default"; min: 32 32;
7434       images.image: "icon_close.png" COMP; parts { part { name: "base";
7435          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7436             image.normal: "icon_close.png"; } } } }
7437    group { name: "elm/icon/apps/default"; min: 32 32;
7438       images.image: "icon_apps.png" COMP; parts { part { name: "base";
7439          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7440             image.normal: "icon_apps.png"; } } } }
7441    group { name: "elm/icon/arrow_up/default"; min: 32 32;
7442       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
7443          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7444             image.normal: "icon_arrow_up.png"; } } } }
7445    group { name: "elm/icon/arrow_down/default"; min: 32 32;
7446       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
7447          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7448             image.normal: "icon_arrow_down.png"; } } } }
7449    group { name: "elm/icon/arrow_left/default"; min: 32 32;
7450       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
7451          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7452             image.normal: "icon_arrow_left.png"; } } } }
7453    group { name: "elm/icon/arrow_right/default"; min: 32 32;
7454       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
7455          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7456             image.normal: "icon_arrow_right.png"; } } } }
7457    group { name: "elm/icon/chat/default"; min: 32 32;
7458       images.image: "icon_chat.png" COMP; parts { part { name: "base";
7459          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7460             image.normal: "icon_chat.png"; } } } }
7461    group { name: "elm/icon/clock/default"; min: 32 32;
7462       images.image: "icon_clock.png" COMP; parts { part { name: "base";
7463          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7464             image.normal: "icon_clock.png"; } } } }
7465    group { name: "elm/icon/delete/default"; min: 32 32;
7466       images.image: "icon_delete.png" COMP; parts { part { name: "base";
7467          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7468             image.normal: "icon_delete.png"; } } } }
7469    group { name: "elm/icon/edit/default"; min: 32 32;
7470       images.image: "icon_edit.png" COMP; parts { part { name: "base";
7471          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7472             image.normal: "icon_edit.png"; } } } }
7473    group { name: "elm/icon/refresh/default"; min: 32 32;
7474       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
7475          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7476             image.normal: "icon_refresh.png"; } } } }
7477    group { name: "elm/icon/folder/default"; min: 32 32;
7478       images.image: "icon_folder.png" COMP; parts { part { name: "base";
7479          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7480             image.normal: "icon_folder.png"; } } } }
7481    group { name: "elm/icon/file/default"; min: 32 32;
7482       images.image: "icon_file.png" COMP; parts { part { name: "base";
7483          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7484             image.normal: "icon_file.png"; } } } }
7485
7486 ///////////////////////////////////////////////////////////////////////////////
7487    group { name: "elm/toolbar/base/default";
7488       images {
7489          image: "bt_dis_base.png" COMP;
7490          image: "bt_dis_hilight.png" COMP;
7491          image: "bt_dis_shine.png" COMP;
7492          image: "icon_left_arrow.png" COMP;
7493          image: "icon_right_arrow.png" COMP;
7494       }
7495       parts {
7496          part { name: "base";
7497             mouse_events: 1;
7498             description { state: "default" 0.0;
7499                rel1 {
7500                   relative: 0.0 0.0;
7501                   offset: 2 2;
7502                }
7503                rel2.offset: -3 -3;
7504                image {
7505                   normal: "bt_dis_base.png";
7506                   border: 4 4 4 4;
7507                }
7508                image.middle: SOLID;
7509             }
7510          }
7511          part { name: "clipper";
7512             type: RECT;
7513             mouse_events: 0;
7514             description {
7515                state: "default" 0.0;
7516                rel1 {
7517                   to: "base";
7518                   offset: 2 2;
7519                }
7520                rel2 {
7521                   to: "base";
7522                   offset: -3 -3;
7523                }
7524             }
7525          }
7526          part { name: "elm.swallow.content";
7527             clip_to: "clipper";
7528             type: SWALLOW;
7529             description {
7530                state: "default" 0.0;
7531                rel1.to: "clipper";
7532                rel2.to: "clipper";
7533             }
7534          }
7535          part { name: "over2";
7536             mouse_events: 0;
7537             description { state: "default" 0.0;
7538                rel1.to: "base";
7539                rel2.to: "base";
7540                image {
7541                   normal: "bt_dis_shine.png";
7542                   border: 4 4 4 4;
7543                }
7544             }
7545          }
7546          part { name: "over1";
7547             mouse_events: 0;
7548             description { state: "default" 0.0;
7549                rel1.to: "base";
7550                rel2.to: "base";
7551                rel2.relative: 1.0 0.5;
7552                image {
7553                   normal: "bt_dis_hilight.png";
7554                   border: 4 4 4 0;
7555                }
7556                color: 255 255 255 128;
7557             }
7558          }
7559          part { name: "left_arrow";
7560             mouse_events: 0;
7561             description { state: "default" 0.0;
7562                image.normal: "icon_left_arrow.png";
7563                aspect: 1.0 1.0;
7564                aspect_preference: VERTICAL;
7565                align: 0.0 0.5;
7566                min: 32 32;
7567                max: 32 32;
7568             }
7569             description { state: "hidden" 0.0;
7570                inherit: "default" 0.0;
7571                visible: 0;
7572                color: 255 255 255 0;
7573             }
7574          }
7575          part { name: "right_arrow";
7576             mouse_events: 0;
7577             description { state: "default" 0.0;
7578                image.normal: "icon_right_arrow.png";
7579                aspect: 1.0 1.0;
7580                aspect_preference: VERTICAL;
7581                align: 1.0 0.5;
7582                min: 32 32;
7583                max: 32 32;
7584             }
7585             description { state: "hidden" 0.0;
7586                inherit: "default" 0.0;
7587                visible: 0;
7588                color: 255 255 255 0;
7589             }
7590          }
7591          part { name: "event";
7592             type: RECT;
7593             mouse_events: 1;
7594             repeat_events: 1;
7595             description { state: "default" 0.0;
7596                color: 0 0 0 0;
7597             }
7598          }
7599       }
7600       programs {
7601          program { name: "sb_hbar_show";
7602             signal: "elm,action,show,hbar";
7603             source: "elm";
7604             action:  STATE_SET "default" 0.0;
7605             transition: LINEAR 0.5;
7606             target: "left_arrow";
7607             target: "right_arrow";
7608          }
7609          program { name: "sb_hbar_hide";
7610             signal: "elm,action,hide,hbar";
7611             source: "elm";
7612             action:  STATE_SET "hidden" 0.0;
7613             target: "left_arrow";
7614             target: "right_arrow";
7615             transition: LINEAR 0.5;
7616          }
7617       }
7618    }
7619
7620    group { name: "elm/toolbar/item/default";
7621        images {
7622            image: "toolbar_sel.png" COMP;
7623        }
7624        parts {
7625            part { name: "label2";
7626                type: TEXT;
7627                mouse_events:  0;
7628                scale: 1;
7629                description { state: "default" 0.0;
7630                    align: 0.5 1.0;
7631                    fixed: 0 1;
7632                    rel1.to: "elm.text";
7633                    rel2.to: "elm.text";
7634                    color: 0 0 0 255;
7635                    text {
7636                        font: "Sans";
7637                        text_source: "elm.text";
7638                        size: 10;
7639                        min: 1 1;
7640                        align: 0.5 0.5;
7641                    }
7642                }
7643                description { state: "selected" 0.0;
7644                    inherit: "default" 0.0;
7645                    visible: 0;
7646                }
7647                description { state: "disabled" 0.0;
7648                    inherit: "default" 0.0;
7649                    color: 0 0 0 128;
7650                    color3: 0 0 0 0;
7651                }
7652                description { state: "disabled_visible" 0.0;
7653                    inherit: "default" 0.0;
7654                    color: 0 0 0 128;
7655                    color3: 0 0 0 0;
7656                    visible: 1;
7657                    text.min: 1 1;
7658                }
7659            }
7660            part { name: "bg";
7661                mouse_events: 0;
7662                description { state: "default" 0.0;
7663                    visible: 0;
7664                    color: 255 255 255 0;
7665                    image {
7666                        normal: "toolbar_sel.png";
7667                        border: 3 3 0 0;
7668                    }
7669                    image.middle: SOLID;
7670                    fill.smooth: 0;
7671                }
7672                description { state: "selected" 0.0;
7673                    inherit: "default" 0.0;
7674                    visible: 1;
7675                    color: 255 255 255 255;
7676                }
7677                description { state: "disabled" 0.0;
7678                    inherit: "default" 0.0;
7679                    visible: 0;
7680                    color: 255 255 255 0;
7681                }
7682            }
7683            part { name: "elm.swallow.icon";
7684                type: SWALLOW;
7685                description { state: "default" 0.0;
7686                    align: 0.5 0.5;
7687                    fixed: 0 0;
7688                    //aspect: 1.0 1.0;
7689                    //aspect_preference: VERTICAL;
7690                    rel1 {
7691                        relative: 0.0 0.0;
7692                        offset: 2 2;
7693                    }
7694                    rel2 {
7695                        to_y: "elm.text";
7696                        relative: 1.0 0.0;
7697                        offset: -3 -1;
7698                    }
7699                    color: 0 0 0 0;
7700                }
7701            }
7702            part { name: "elm.text";
7703                type: TEXT;
7704                effect: SOFT_SHADOW;
7705                mouse_events:  0;
7706                scale: 1;
7707                description { state: "default" 0.0;
7708                    align: 0.5 1.0;
7709                    fixed: 0 1;
7710                    rel1 {
7711                        relative: 0.0 1.0;
7712                        offset:   0 -1;
7713                    }
7714                    rel2 {
7715                        relative: 1.0 1.0;
7716                        offset:   -1 -1;
7717                    }
7718                    visible: 0;
7719                    color: 224 224 224 255;
7720                    color3: 0 0 0 32;
7721                    text {
7722                        font: "Sans:style=Bold";
7723                        size: 10;
7724                        min: 1 1;
7725                        align: 0.5 0.5;
7726                    }
7727                }
7728                description { state: "selected" 0.0;
7729                    inherit: "default" 0.0;
7730                    visible: 1;
7731                }
7732                description { state: "visible" 0.0;
7733                    inherit: "default" 0.0;
7734                    visible: 1;
7735                    text.min: 1 1;
7736                }
7737                description { state: "disabled" 0.0;
7738                    inherit: "default" 0.0;
7739                    color: 0 0 0 128;
7740                    color3: 0 0 0 0;
7741                }
7742                description { state: "disabled_visible" 0.0;
7743                    inherit: "default" 0.0;
7744                    color: 0 0 0 128;
7745                    color3: 0 0 0 0;
7746                    visible: 1;
7747                    text.min: 1 1;
7748                }
7749            }
7750            part { name: "event";
7751                type: RECT;
7752                mouse_events: 1;
7753                ignore_flags: ON_HOLD;
7754                description { state: "default" 0.0;
7755                    color: 0 0 0 0;
7756                }
7757            }
7758        }
7759        programs {
7760            program { name: "go_active";
7761                signal:  "elm,state,selected";
7762                source:  "elm";
7763                action:  STATE_SET "selected" 0.0;
7764                target:  "bg";
7765                target:  "elm.text";
7766                target:  "label2";
7767                transition: LINEAR 0.2;
7768            }
7769            program { name: "go_passive";
7770                signal:  "elm,state,unselected";
7771                source:  "elm";
7772                action:  STATE_SET "default" 0.0;
7773                target:  "bg";
7774                target:  "elm.text";
7775                target:  "label2";
7776                transition: LINEAR 0.1;
7777            }
7778            program { name: "go";
7779                signal:  "mouse,up,1";
7780                source:  "event";
7781                action:  SIGNAL_EMIT "elm,action,click" "elm";
7782            }
7783            program { name: "disable";
7784                signal: "elm,state,disabled";
7785                source: "elm";
7786                action: STATE_SET "disabled" 0.0;
7787                target: "label2";
7788                target: "bg";
7789                after: "disable_text";
7790            }
7791            program { name: "disable_text";
7792                script {
7793                    new st[31];
7794                    new Float:vl;
7795                    get_state(PART:"elm.text", st, 30, vl);
7796                    if (!strcmp(st, "visible"))
7797                    set_state(PART:"elm.text", "disabled_visible", 0.0);
7798                    else
7799                    set_state(PART:"elm.text", "disabled", 0.0);
7800                }
7801            }
7802            program { name: "enable";
7803                signal: "elm,state,enabled";
7804                source: "elm";
7805                action: STATE_SET "default" 0.0;
7806                target: "label2";
7807                target: "bg";
7808                after: "enable_text";
7809            }
7810            program { name: "enable_text";
7811                script {
7812                    new st[31];
7813                    new Float:vl;
7814                    get_state(PART:"elm.text", st, 30, vl);
7815                    if (!strcmp(st, "disabled_visible"))
7816                    set_state(PART:"elm.text", "visible", 0.0);
7817                    else
7818                    set_state(PART:"elm.text", "default", 0.0);
7819                }
7820            }
7821        }
7822    }
7823
7824    group { name: "elm/toolbar/separator/default";
7825       images {
7826          image: "toolbar_separator_v.png" COMP;
7827       }
7828       parts {
7829          part { name: "separator"; // separator group
7830             description { state: "default" 0.0;
7831                min: 2 2;
7832                max: 2 9999;
7833                rel1.offset: 4 4;
7834                rel2.offset: -5 -5;
7835                image {
7836                   normal: "toolbar_separator_v.png";
7837                }
7838                fill {
7839                   smooth: 0;
7840                }
7841             }
7842          }
7843       }
7844    }
7845
7846    ///////////////////////////////////////////////////////////////////////////////
7847    group { name: "elm/notify/block_events/default";
7848        parts {
7849            part { name: "block_events";
7850                type: RECT;
7851                description { state: "default" 0.0;
7852                    color: 0 0 0 64;
7853                    visible: 1;
7854                }
7855            }
7856        }
7857            programs {
7858                    program {
7859                                 name: "block_clicked";
7860                                 signal: "mouse,clicked,1";
7861                                 source: "block_events";
7862                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
7863                    }
7864            }
7865    }
7866    group { name: "elm/notify/top/default";
7867        //this group is a design similar to the inwin group
7868        images {
7869            image: "shad_circ.png" COMP;
7870            image: "bt_dis_base.png" COMP;
7871            image: "bt_dis_hilight.png" COMP;
7872        }
7873        parts {
7874            part { name: "base";
7875                type: RECT;
7876                mouse_events: 0;
7877                repeat_events: 1;
7878                description { state: "default" 0.0;
7879                    color: 0 0 0 0;
7880                    rel1.offset: 10 10;
7881                    rel2.offset: -10 -10;
7882                    rel1.relative: 0.0 -1.0;
7883                    rel2.relative: 1.0 0.0;
7884                }
7885                description { state: "visible" 0.0;
7886                    inherit: "default" 0.0;
7887                    color: 0 0 0 64;
7888                    rel1.relative: 0.0 0.0;
7889                    rel2.relative: 1.0 1.0;
7890                }
7891            }
7892            part { name: "shad";
7893                mouse_events:  0;
7894                description { state: "default" 0.0;
7895                    image.normal: "shad_circ.png";
7896                    rel1.to: "elm.swallow.content";
7897                    rel1.offset: -64 -64;
7898                    rel2.to: "elm.swallow.content";
7899                    rel2.offset: 63 63;
7900                    fill.smooth: 0;
7901                }
7902            }
7903            part { name: "pop";
7904                mouse_events: 1;
7905                description { state: "default" 0.0;
7906                    rel1.to: "elm.swallow.content";
7907                    rel1.offset: -5 -5;
7908                    rel2.to: "elm.swallow.content";
7909                    rel2.offset: 4 4;
7910                    image {
7911                        normal: "bt_dis_base.png";
7912                        border: 4 4 4 4;
7913                    }
7914                    image.middle: SOLID;
7915                }
7916            }
7917            part { name: "popover";
7918                mouse_events: 0;
7919                description { state: "default" 0.0;
7920                    rel1.to: "pop";
7921                    rel2.to: "pop";
7922                    rel2.relative: 1.0 0.5;
7923                    image {
7924                        normal: "bt_dis_hilight.png";
7925                        border: 4 4 4 0;
7926                    }
7927                }
7928            }
7929            part { name: "elm.swallow.content";
7930                type: SWALLOW;
7931                description { state: "default" 0.0;
7932                    rel1.to: "base";
7933                    rel2.to: "base";
7934                }
7935            }
7936        }
7937        programs {
7938            program { name: "show";
7939                signal: "elm,action,show";
7940                source: "elm";
7941                action: STATE_SET "visible" 0.0;
7942                target: "base";
7943            }
7944            program { name: "show_2";
7945                 signal: "show";
7946                 action: STATE_SET "default" 0.0;
7947                 target: "base";
7948                 after: "show_3";
7949            }
7950            program { name: "show_3";
7951                 signal: "show";
7952                 action: STATE_SET "visible" 0.0;
7953                 target: "base";
7954                 transition: LINEAR 0.5;
7955            }
7956            program { name: "hide";
7957                signal: "elm,action,hide";
7958                source: "elm";
7959                action: STATE_SET "default" 0.0;
7960                target: "base";
7961            }
7962        }
7963    }
7964    group { name: "elm/notify/center/default";
7965        //this group is a design similar to the inwin group
7966        images {
7967            image: "bt_dis_base.png" COMP;
7968        }
7969        parts {
7970            part { name: "base";
7971                type: RECT;
7972                mouse_events: 0;
7973                repeat_events: 1;
7974                description { state: "default" 0.0;
7975                    color: 0 0 0 0;
7976                    rel1.relative: 0.0 0.0;
7977                    rel2.relative: 1.0 1.0;
7978                }
7979            }
7980            part { name: "pop";
7981                mouse_events: 1;
7982                description { state: "default" 0.0;
7983                    rel1.to: "elm.swallow.content";
7984                    rel1.offset: -5 -5;
7985                    rel2.to: "elm.swallow.content";
7986                    rel2.offset: 4 4;
7987                    image {
7988                        normal: "bt_dis_base.png";
7989                        border: 4 4 4 4;
7990                    }
7991                }
7992            }
7993            part { name: "elm.swallow.content";
7994                type: SWALLOW;
7995                description { state: "default" 0.0;
7996                    rel1.to: "base";
7997                    rel2.to: "base";
7998                }
7999            }
8000        }
8001        programs {
8002            program { name: "show";
8003                signal: "elm,action,show";
8004                source: "elm";
8005                action: STATE_SET "default" 0.0;
8006                target: "base";
8007            }
8008            program { name: "show_2";
8009                 signal: "show";
8010                 action: STATE_SET "default" 0.0;
8011                 target: "base";
8012            }
8013            program { name: "hide";
8014                signal: "elm,action,hide";
8015                source: "elm";
8016                action: STATE_SET "default" 0.0;
8017                target: "base";
8018            }
8019        }
8020    }
8021    group { name: "elm/notify/bottom/default";
8022        //this group is a design similar to the inwin group
8023        images {
8024            image: "shad_circ.png" COMP;
8025            image: "bt_dis_base.png" COMP;
8026            image: "bt_dis_hilight.png" COMP;
8027        }
8028        parts {
8029            part { name: "base";
8030                type: RECT;
8031                mouse_events: 0;
8032                repeat_events: 1;
8033                description { state: "default" 0.0;
8034                    color: 0 0 0 0;
8035                    rel1.offset: 10 10;
8036                    rel2.offset: -10 -10;
8037                    rel1.relative: 0.0 1.0;
8038                    rel2.relative: 1.0 2.0;
8039                }
8040                description { state: "visible" 0.0;
8041                    inherit: "default" 0.0;
8042                    color: 0 0 0 64;
8043                    rel1.relative: 0.0 0.0;
8044                    rel2.relative: 1.0 1.0;
8045                }
8046            }
8047            part { name: "shad";
8048                mouse_events:  0;
8049                description { state: "default" 0.0;
8050                    image.normal: "shad_circ.png";
8051                    rel1.to: "elm.swallow.content";
8052                    rel1.offset: -64 -64;
8053                    rel2.to: "elm.swallow.content";
8054                    rel2.offset: 63 63;
8055                    fill.smooth: 0;
8056                }
8057            }
8058            part { name: "pop";
8059                mouse_events: 1;
8060                description { state: "default" 0.0;
8061                    rel1.to: "elm.swallow.content";
8062                    rel1.offset: -5 -5;
8063                    rel2.to: "elm.swallow.content";
8064                    rel2.offset: 4 4;
8065                    image {
8066                        normal: "bt_dis_base.png";
8067                        border: 4 4 4 4;
8068                    }
8069                    image.middle: SOLID;
8070                }
8071            }
8072            part { name: "popover";
8073                mouse_events: 0;
8074                description { state: "default" 0.0;
8075                    rel1.to: "pop";
8076                    rel2.to: "pop";
8077                    rel2.relative: 1.0 0.5;
8078                    image {
8079                        normal: "bt_dis_hilight.png";
8080                        border: 4 4 4 0;
8081                    }
8082                }
8083            }
8084            part { name: "elm.swallow.content";
8085                type: SWALLOW;
8086                description { state: "default" 0.0;
8087                    rel1.to: "base";
8088                    rel2.to: "base";
8089                }
8090            }
8091        }
8092        programs {
8093            program { name: "show";
8094                signal: "elm,action,show";
8095                source: "elm";
8096                action: STATE_SET "visible" 0.0;
8097                target: "base";
8098            }
8099            program { name: "show_2";
8100                 signal: "show";
8101                 action: STATE_SET "default" 0.0;
8102                 target: "base";
8103                 after: "show_3";
8104            }
8105            program { name: "show_3";
8106                 signal: "show";
8107                 action: STATE_SET "visible" 0.0;
8108                 target: "base";
8109                 transition: LINEAR 0.5;
8110            }
8111            program { name: "hide";
8112                signal: "elm,action,hide";
8113                source: "elm";
8114                action: STATE_SET "default" 0.0;
8115                target: "base";
8116            }
8117        }
8118    }
8119    group { name: "elm/notify/left/default";
8120        //this group is a design similar to the inwin group
8121        images {
8122            image: "shad_circ.png" COMP;
8123            image: "bt_dis_base.png" COMP;
8124            image: "bt_dis_hilight.png" COMP;
8125        }
8126        parts {
8127            part { name: "base";
8128                type: RECT;
8129                mouse_events: 0;
8130                repeat_events: 1;
8131                description { state: "default" 0.0;
8132                    color: 0 0 0 0;
8133                    rel1.offset: 10 10;
8134                    rel2.offset: -10 -10;
8135                    rel1.relative: -1.0 0.0;
8136                    rel2.relative: 0.0 1.0;
8137                }
8138                description { state: "visible" 0.0;
8139                    inherit: "default" 0.0;
8140                    color: 0 0 0 64;
8141                    rel1.relative: 0.0 0.0;
8142                    rel2.relative: 1.0 1.0;
8143                }
8144            }
8145            part { name: "shad";
8146                mouse_events:  0;
8147                description { state: "default" 0.0;
8148                    image.normal: "shad_circ.png";
8149                    rel1.to: "elm.swallow.content";
8150                    rel1.offset: -64 -64;
8151                    rel2.to: "elm.swallow.content";
8152                    rel2.offset: 63 63;
8153                    fill.smooth: 0;
8154                }
8155            }
8156            part { name: "pop";
8157                mouse_events: 1;
8158                description { state: "default" 0.0;
8159                    rel1.to: "elm.swallow.content";
8160                    rel1.offset: -5 -5;
8161                    rel2.to: "elm.swallow.content";
8162                    rel2.offset: 4 4;
8163                    image {
8164                        normal: "bt_dis_base.png";
8165                        border: 4 4 4 4;
8166                    }
8167                    image.middle: SOLID;
8168                }
8169            }
8170            part { name: "popover";
8171                mouse_events: 0;
8172                description { state: "default" 0.0;
8173                    rel1.to: "pop";
8174                    rel2.to: "pop";
8175                    rel2.relative: 1.0 0.5;
8176                    image {
8177                        normal: "bt_dis_hilight.png";
8178                        border: 4 4 4 0;
8179                    }
8180                }
8181            }
8182            part { name: "elm.swallow.content";
8183                type: SWALLOW;
8184                description { state: "default" 0.0;
8185                    rel1.to: "base";
8186                    rel2.to: "base";
8187                }
8188            }
8189        }
8190        programs {
8191            program { name: "show";
8192                signal: "elm,action,show";
8193                source: "elm";
8194                action: STATE_SET "visible" 0.0;
8195                target: "base";
8196            }
8197            program { name: "show_2";
8198                signal: "show";
8199                action: STATE_SET "default" 0.0;
8200                target: "base";
8201                after: "show_3";
8202            }
8203            program { name: "show_3";
8204                signal: "show";
8205                action: STATE_SET "visible" 0.0;
8206                target: "base";
8207                transition: LINEAR 0.5;
8208            }
8209            program { name: "hide";
8210                signal: "elm,action,hide";
8211                source: "elm";
8212                action: STATE_SET "default" 0.0;
8213                target: "base";
8214            }
8215        }
8216    }
8217    group { name: "elm/notify/right/default";
8218        //this group is a design similar to the inwin group
8219        images {
8220            image: "shad_circ.png" COMP;
8221            image: "bt_dis_base.png" COMP;
8222            image: "bt_dis_hilight.png" COMP;
8223        }
8224        parts {
8225            part { name: "base";
8226                type: RECT;
8227                mouse_events: 0;
8228                repeat_events: 1;
8229                 description { state: "default" 0.0;
8230                    color: 0 0 0 0;
8231                    rel1.offset: 10 10;
8232                    rel2.offset: -10 -10;
8233                    rel1.relative: 1.0 0.0;
8234                    rel2.relative: 2.0 1.0;
8235                }
8236                description { state: "visible" 0.0;
8237                    inherit: "default" 0.0;
8238                    color: 0 0 0 64;
8239                    rel1.relative: 0.0 0.0;
8240                    rel2.relative: 1.0 1.0;
8241                }
8242            }
8243            part { name: "shad";
8244                mouse_events:  0;
8245                description { state: "default" 0.0;
8246                    image.normal: "shad_circ.png";
8247                    rel1.to: "elm.swallow.content";
8248                    rel1.offset: -64 -64;
8249                    rel2.to: "elm.swallow.content";
8250                    rel2.offset: 63 63;
8251                    fill.smooth: 0;
8252                }
8253            }
8254            part { name: "pop";
8255                mouse_events: 1;
8256                description { state: "default" 0.0;
8257                    rel1.to: "elm.swallow.content";
8258                    rel1.offset: -5 -5;
8259                    rel2.to: "elm.swallow.content";
8260                    rel2.offset: 4 4;
8261                    image {
8262                        normal: "bt_dis_base.png";
8263                        border: 4 4 4 4;
8264                    }
8265                    image.middle: SOLID;
8266                }
8267            }
8268            part { name: "popover";
8269                mouse_events: 0;
8270                description { state: "default" 0.0;
8271                    rel1.to: "pop";
8272                    rel2.to: "pop";
8273                    rel2.relative: 1.0 0.5;
8274                    image {
8275                        normal: "bt_dis_hilight.png";
8276                        border: 4 4 4 0;
8277                    }
8278                }
8279            }
8280            part { name: "elm.swallow.content";
8281                type: SWALLOW;
8282                description { state: "default" 0.0;
8283                    rel1.to: "base";
8284                    rel2.to: "base";
8285                }
8286            }
8287        }
8288        programs {
8289            program { name: "show";
8290                signal: "elm,action,show";
8291                source: "elm";
8292                action: STATE_SET "visible" 0.0;
8293                target: "base";
8294            }
8295            program { name: "show_2";
8296                signal: "show";
8297                action: STATE_SET "default" 0.0;
8298                target: "base";
8299                after: "show_3";
8300            }
8301            program { name: "show_3";
8302                signal: "show";
8303                action: STATE_SET "visible" 0.0;
8304                target: "base";
8305                transition: LINEAR 0.5;
8306            }
8307            program { name: "hide";
8308                signal: "elm,action,hide";
8309                source: "elm";
8310                action: STATE_SET "default" 0.0;
8311                target: "base";
8312            }
8313        }
8314    }
8315    group { name: "elm/notify/top_left/default";
8316        //this group is a design similar to the inwin group
8317        images {
8318            image: "shad_circ.png" COMP;
8319            image: "bt_dis_base.png" COMP;
8320            image: "bt_dis_hilight.png" COMP;
8321        }
8322        parts {
8323            part { name: "base";
8324                type: RECT;
8325                mouse_events: 0;
8326                repeat_events: 1;
8327                 description { state: "default" 0.0;
8328                    color: 0 0 0 0;
8329                    rel1.offset: 10 10;
8330                    rel2.offset: -10 -10;
8331                    rel1.relative: 0.0 -1.0;
8332                    rel2.relative: 1.0 0.0;
8333                }
8334                description { state: "visible" 0.0;
8335                    inherit: "default" 0.0;
8336                    color: 0 0 0 64;
8337                    rel1.relative: 0.0 0.0;
8338                    rel2.relative: 1.0 1.0;
8339                }
8340            }
8341            part { name: "shad";
8342                mouse_events:  0;
8343                description { state: "default" 0.0;
8344                    image.normal: "shad_circ.png";
8345                    rel1.to: "elm.swallow.content";
8346                    rel1.offset: -64 -64;
8347                    rel2.to: "elm.swallow.content";
8348                    rel2.offset: 63 63;
8349                    fill.smooth: 0;
8350                }
8351            }
8352            part { name: "pop";
8353                mouse_events: 1;
8354                description { state: "default" 0.0;
8355                    rel1.to: "elm.swallow.content";
8356                    rel1.offset: -5 -5;
8357                    rel2.to: "elm.swallow.content";
8358                    rel2.offset: 4 4;
8359                    image {
8360                        normal: "bt_dis_base.png";
8361                        border: 4 4 4 4;
8362                    }
8363                    image.middle: SOLID;
8364                }
8365            }
8366            part { name: "popover";
8367                mouse_events: 0;
8368                description { state: "default" 0.0;
8369                    rel1.to: "pop";
8370                    rel2.to: "pop";
8371                    rel2.relative: 1.0 0.5;
8372                    image {
8373                        normal: "bt_dis_hilight.png";
8374                        border: 4 4 4 0;
8375                    }
8376                }
8377            }
8378            part { name: "elm.swallow.content";
8379                type: SWALLOW;
8380                description { state: "default" 0.0;
8381                    rel1.to: "base";
8382                    rel2.to: "base";
8383                }
8384            }
8385        }
8386        programs {
8387            program { name: "show";
8388                signal: "elm,action,show";
8389                source: "elm";
8390                action: STATE_SET "visible" 0.0;
8391                target: "base";
8392            }
8393            program { name: "show_2";
8394                signal: "show";
8395                action: STATE_SET "default" 0.0;
8396                target: "base";
8397                after: "show_3";
8398            }
8399            program { name: "show_3";
8400                signal: "show";
8401                action: STATE_SET "visible" 0.0;
8402                target: "base";
8403                transition: LINEAR 0.5;
8404            }
8405            program { name: "hide";
8406                signal: "elm,action,hide";
8407                source: "elm";
8408                action: STATE_SET "default" 0.0;
8409                target: "base";
8410            }
8411        }
8412    }
8413    group { name: "elm/notify/top_right/default";
8414        //this group is a design similar to the inwin group
8415        images {
8416            image: "shad_circ.png" COMP;
8417            image: "bt_dis_base.png" COMP;
8418            image: "bt_dis_hilight.png" COMP;
8419        }
8420        parts {
8421            part { name: "base";
8422                type: RECT;
8423                mouse_events: 0;
8424                repeat_events: 1;
8425                description { state: "default" 0.0;
8426                    color: 0 0 0 0;
8427                    rel1.offset: 10 10;
8428                    rel2.offset: -10 -10;
8429                    rel1.relative: 0.0 -1.0;
8430                    rel2.relative: 1.0 0.0;
8431                }
8432                description { state: "visible" 0.0;
8433                    inherit: "default" 0.0;
8434                    color: 0 0 0 64;
8435                    rel1.relative: 0.0 0.0;
8436                    rel2.relative: 1.0 1.0;
8437                }
8438            }
8439            part { name: "shad";
8440                mouse_events:  0;
8441                description { state: "default" 0.0;
8442                    image.normal: "shad_circ.png";
8443                    rel1.to: "elm.swallow.content";
8444                    rel1.offset: -64 -64;
8445                    rel2.to: "elm.swallow.content";
8446                    rel2.offset: 63 63;
8447                    fill.smooth: 0;
8448                }
8449            }
8450            part { name: "pop";
8451                mouse_events: 1;
8452                description { state: "default" 0.0;
8453                    rel1.to: "elm.swallow.content";
8454                    rel1.offset: -5 -5;
8455                    rel2.to: "elm.swallow.content";
8456                    rel2.offset: 4 4;
8457                    image {
8458                        normal: "bt_dis_base.png";
8459                        border: 4 4 4 4;
8460                    }
8461                    image.middle: SOLID;
8462                }
8463            }
8464            part { name: "popover";
8465                mouse_events: 0;
8466                description { state: "default" 0.0;
8467                    rel1.to: "pop";
8468                    rel2.to: "pop";
8469                    rel2.relative: 1.0 0.5;
8470                    image {
8471                        normal: "bt_dis_hilight.png";
8472                        border: 4 4 4 0;
8473                    }
8474                }
8475            }
8476            part { name: "elm.swallow.content";
8477                type: SWALLOW;
8478                description { state: "default" 0.0;
8479                    rel1.to: "base";
8480                    rel2.to: "base";
8481                }
8482            }
8483        }
8484        programs {
8485            program { name: "show";
8486                signal: "elm,action,show";
8487                source: "elm";
8488                action: STATE_SET "visible" 0.0;
8489                target: "base";
8490            }
8491            program { name: "show_2";
8492                signal: "show";
8493                action: STATE_SET "default" 0.0;
8494                target: "base";
8495                after: "show_3";
8496            }
8497            program { name: "show_3";
8498                signal: "show";
8499                action: STATE_SET "visible" 0.0;
8500                target: "base";
8501                transition: LINEAR 0.5;
8502            }
8503            program { name: "hide";
8504                signal: "elm,action,hide";
8505                source: "elm";
8506                action: STATE_SET "default" 0.0;
8507                target: "base";
8508            }
8509        }
8510    }
8511    group { name: "elm/notify/bottom_left/default";
8512        //this group is a design similar to the inwin group
8513        images {
8514            image: "shad_circ.png" COMP;
8515            image: "bt_dis_base.png" COMP;
8516            image: "bt_dis_hilight.png" COMP;
8517        }
8518        parts {
8519            part { name: "base";
8520                type: RECT;
8521                mouse_events: 0;
8522                repeat_events: 1;
8523                description { state: "default" 0.0;
8524                    color: 0 0 0 0;
8525                    rel1.offset: 10 10;
8526                    rel2.offset: -10 -10;
8527                    rel1.relative: 0.0 1.0;
8528                    rel2.relative: 1.0 2.0;
8529                }
8530                description { state: "visible" 0.0;
8531                    inherit: "default" 0.0;
8532                    color: 0 0 0 64;
8533                    rel1.relative: 0.0 0.0;
8534                    rel2.relative: 1.0 1.0;
8535                }
8536            }
8537            part { name: "shad";
8538                mouse_events:  0;
8539                description { state: "default" 0.0;
8540                    image.normal: "shad_circ.png";
8541                    rel1.to: "elm.swallow.content";
8542                    rel1.offset: -64 -64;
8543                    rel2.to: "elm.swallow.content";
8544                    rel2.offset: 63 63;
8545                    fill.smooth: 0;
8546                }
8547            }
8548            part { name: "pop";
8549                mouse_events: 1;
8550                description { state: "default" 0.0;
8551                    rel1.to: "elm.swallow.content";
8552                    rel1.offset: -5 -5;
8553                    rel2.to: "elm.swallow.content";
8554                    rel2.offset: 4 4;
8555                    image {
8556                        normal: "bt_dis_base.png";
8557                        border: 4 4 4 4;
8558                    }
8559                    image.middle: SOLID;
8560                }
8561            }
8562            part { name: "popover";
8563                mouse_events: 0;
8564                description { state: "default" 0.0;
8565                    rel1.to: "pop";
8566                    rel2.to: "pop";
8567                    rel2.relative: 1.0 0.5;
8568                    image {
8569                        normal: "bt_dis_hilight.png";
8570                        border: 4 4 4 0;
8571                    }
8572                }
8573            }
8574            part { name: "elm.swallow.content";
8575                type: SWALLOW;
8576                description { state: "default" 0.0;
8577                    rel1.to: "base";
8578                    rel2.to: "base";
8579                }
8580            }
8581        }
8582        programs {
8583            program { name: "show";
8584                signal: "elm,action,show";
8585                source: "elm";
8586                action: STATE_SET "visible" 0.0;
8587                target: "base";
8588            }
8589            program { name: "show_2";
8590                signal: "show";
8591                action: STATE_SET "default" 0.0;
8592                target: "base";
8593                after: "show_3";
8594            }
8595            program { name: "show_3";
8596                signal: "show";
8597                action: STATE_SET "visible" 0.0;
8598                target: "base";
8599                transition: LINEAR 0.5;
8600            }
8601            program { name: "hide";
8602                signal: "elm,action,hide";
8603                source: "elm";
8604                action: STATE_SET "default" 0.0;
8605                target: "base";
8606            }
8607        }
8608    }
8609    group { name: "elm/notify/bottom_right/default";
8610        //this group is a design similar to the inwin group
8611        images {
8612            image: "shad_circ.png" COMP;
8613            image: "bt_dis_base.png" COMP;
8614            image: "bt_dis_hilight.png" COMP;
8615        }
8616        parts {
8617            part { name: "base";
8618                type: RECT;
8619                mouse_events: 0;
8620                repeat_events: 1;
8621               description { state: "default" 0.0;
8622                    color: 0 0 0 0;
8623                    rel1.offset: 10 10;
8624                    rel2.offset: -10 -10;
8625                    rel1.relative: 0.0 1.0;
8626                    rel2.relative: 1.0 2.0;
8627                }
8628                description { state: "visible" 0.0;
8629                    inherit: "default" 0.0;
8630                    color: 0 0 0 64;
8631                    rel1.relative: 0.0 0.0;
8632                    rel2.relative: 1.0 1.0;
8633                }
8634            }
8635            part { name: "shad";
8636                mouse_events:  0;
8637                description { state: "default" 0.0;
8638                    image.normal: "shad_circ.png";
8639                    rel1.to: "elm.swallow.content";
8640                    rel1.offset: -64 -64;
8641                    rel2.to: "elm.swallow.content";
8642                    rel2.offset: 63 63;
8643                    fill.smooth: 0;
8644                }
8645            }
8646            part { name: "pop";
8647                mouse_events: 1;
8648                description { state: "default" 0.0;
8649                    rel1.to: "elm.swallow.content";
8650                    rel1.offset: -5 -5;
8651                    rel2.to: "elm.swallow.content";
8652                    rel2.offset: 4 4;
8653                    image {
8654                        normal: "bt_dis_base.png";
8655                        border: 4 4 4 4;
8656                    }
8657                    image.middle: SOLID;
8658                }
8659            }
8660            part { name: "popover";
8661                mouse_events: 0;
8662                description { state: "default" 0.0;
8663                    rel1.to: "pop";
8664                    rel2.to: "pop";
8665                    rel2.relative: 1.0 0.5;
8666                    image {
8667                        normal: "bt_dis_hilight.png";
8668                        border: 4 4 4 0;
8669                    }
8670                }
8671            }
8672            part { name: "elm.swallow.content";
8673                type: SWALLOW;
8674                description { state: "default" 0.0;
8675                    rel1.to: "base";
8676                    rel2.to: "base";
8677                }
8678            }
8679        }
8680        programs {
8681            program { name: "show";
8682                signal: "elm,action,show";
8683                source: "elm";
8684                action: STATE_SET "visible" 0.0;
8685                target: "base";
8686            }
8687            program { name: "show_2";
8688                signal: "show";
8689                action: STATE_SET "default" 0.0;
8690                target: "base";
8691                after: "show_3";
8692            }
8693            program { name: "show_3";
8694                signal: "show";
8695                action: STATE_SET "visible" 0.0;
8696                target: "base";
8697                transition: LINEAR 0.5;
8698            }
8699            program { name: "hide";
8700                signal: "elm,action,hide";
8701                source: "elm";
8702                action: STATE_SET "default" 0.0;
8703                target: "base";
8704            }
8705        }
8706    }
8707
8708 ///////////////////////////////////////////////////////////////////////////////
8709    group { name: "elm/slideshow/base/default";
8710       data {
8711          item: transitions "fade black_fade horizontal vertical square";
8712          item: layouts "fullscreen not_fullscreen";
8713       }
8714       parts {
8715          part { name: "whole";
8716                 type: RECT;
8717             description {
8718                state: "default" 0.0;
8719                visible: 1;
8720                color: 20 20 20 255;
8721             }
8722          }
8723          part { name: "image_1_whole";
8724             description {
8725                state: "default" 0.0;
8726                color: 255 255 255 255;
8727             }
8728             description {
8729                state: "fade_prev_next" 0.0;
8730                inherit: "default" 0.0;
8731                color: 255 255 255 0;
8732             }
8733             description {
8734                state: "black_fade_prev_next_init" 0.0;
8735                inherit: "default" 0.0;
8736                color: 255 255 255 255;
8737             }
8738             description {
8739                state: "black_fade_prev_next" 0.0;
8740                inherit: "default" 0.0;
8741                color: 0 0 0 255;
8742             }
8743             description {
8744                state: "horizontal_next_init" 0.0;
8745                inherit: "default" 0.0;
8746             }
8747             description {
8748                state: "horizontal_next" 0.0;
8749                inherit: "default" 0.0;
8750                rel1.relative: -1.0 0.0;
8751                rel2.relative: 0.0 1.0;
8752             }
8753             description {
8754                state: "horizontal_prev_init" 0.0;
8755                inherit: "default" 0.0;
8756             }
8757             description {
8758                state: "horizontal_prev" 0.0;
8759                inherit: "default" 0.0;
8760                rel1.relative: 1.0 0.0;
8761                rel2.relative: 2.0 1.0;
8762             }
8763             description {
8764                state: "vertical_next_init" 0.0;
8765                inherit: "default" 0.0;
8766             }
8767             description {
8768                state: "vertical_next" 0.0;
8769                inherit: "default" 0.0;
8770                rel1.relative: 0.0 -1.0;
8771                rel2.relative: 1.0 0.0;
8772             }
8773             description {
8774                state: "vertical_prev_init" 0.0;
8775                inherit: "default" 0.0;
8776             }
8777             description {
8778                state: "vertical_prev" 0.0;
8779                inherit: "default" 0.0;
8780                rel1.relative: 0.0 1.0;
8781                rel2.relative: 1.0 2.0;
8782             }
8783             description {
8784                state: "square_prev_next" 0.0;
8785                inherit: "default" 0.0;
8786                color: 255 255 255 0;
8787             }
8788          }
8789          part { name: "image_2_whole";
8790             description {
8791                state: "default" 0.0;
8792                visible: 1;
8793                color: 255 255 255 0;
8794             }
8795             description {
8796                state: "fade_prev_next" 0.0;
8797                inherit: "default" 0.0;
8798                color: 255 255 255 255;
8799             }
8800             description {
8801                state: "black_fade_prev_next_init" 0.0;
8802                inherit: "default" 0.0;
8803                color: 0 0 0 0;
8804             }
8805             description {
8806                state: "black_fade_prev_next" 0.0;
8807                inherit: "default" 0.0;
8808                color: 255 255 255 255;
8809             }
8810             description {
8811                state: "horizontal_next_init" 0.0;
8812                inherit: "default" 0.0;
8813                rel1.relative: 1.0 0.0;
8814                rel2.relative: 2.0 1.0;
8815                color: 255 255 255 255;
8816             }
8817             description {
8818                state: "horizontal_next" 0.0;
8819                inherit: "default" 0.0;
8820                color: 255 255 255 255;
8821             }
8822             description {
8823                state: "horizontal_prev_init" 0.0;
8824                inherit: "default" 0.0;
8825                rel1.relative: -1.0 0.0;
8826                rel2.relative: 0.0 1.0;
8827                color: 255 255 255 255;
8828             }
8829             description {
8830                state: "horizontal_prev" 0.0;
8831                inherit: "default" 0.0;
8832                color: 255 255 255 255;
8833             }
8834             description {
8835                state: "vertical_next_init" 0.0;
8836                inherit: "default" 0.0;
8837                rel1.relative: 0.0 1.0;
8838                rel2.relative: 1.0 2.0;
8839                color: 255 255 255 255;
8840             }
8841             description {
8842                state: "vertical_next" 0.0;
8843                inherit: "default" 0.0;
8844                color: 255 255 255 255;
8845             }
8846             description {
8847                state: "vertical_prev_init" 0.0;
8848                inherit: "default" 0.0;
8849                rel1.relative: 0.0 -1.0;
8850                rel2.relative: 1.0 0.0;
8851                color: 255 255 255 255;
8852             }
8853             description {
8854                state: "vertical_prev" 0.0;
8855                inherit: "default" 0.0;
8856                color: 255 255 255 255;
8857             }
8858             description {
8859                state: "square_prev_next_init" 0.0;
8860                inherit: "default" 0.0;
8861                rel1.relative: 0.5 0.5;
8862                rel2.relative: 0.5 0.5;
8863                color: 255 255 255 255;
8864             }
8865             description {
8866                state: "square_prev_next" 0.0;
8867                inherit: "default" 0.0;
8868                rel1.relative: 0.0 0.0;
8869                rel2.relative: 1.0 1.0;
8870                color: 255 255 255 255;
8871             }
8872          }
8873          part { name: "elm.swallow.1";
8874             type: SWALLOW;
8875             clip_to: "image_1_whole";
8876             description {
8877                state: "default" 0.0;
8878                rel1.to: "image_1_whole";
8879                rel2.to: "image_1_whole";
8880                color: 255 255 255 255;
8881             }
8882             description {
8883                state: "not_fullscreen" 0.0;
8884                rel1.relative: 0.1 0.1;
8885                rel1.to: "image_1_whole";
8886                rel2.relative: 0.9 0.9;
8887                rel2.to: "image_1_whole";
8888                color: 255 255 255 255;
8889             }
8890          }
8891          part { name: "elm.swallow.2";
8892             type: SWALLOW;
8893             clip_to: "image_2_whole";
8894             description {
8895                state: "default" 0.0;
8896                color: 255 255 255 255;
8897                rel1.to: "image_2_whole";
8898                rel2.to: "image_2_whole";
8899             }
8900             description {
8901                state: "not_fullscreen" 0.0;
8902                color: 255 255 255 255;
8903                rel1.relative: 0.1 0.1;
8904                rel1.to: "image_2_whole";
8905                rel2.relative: 0.9 0.9;
8906                rel2.to: "image_2_whole";
8907             }
8908          }
8909          part { name: "events_catcher";
8910             type: RECT;
8911             repeat_events: 1;
8912             description {
8913                state: "default" 0.0;
8914                visible: 1;
8915                color: 0 0 0 0;
8916             }
8917          }
8918       }
8919       programs {
8920         //Substyle
8921         program { name: "layout_fullscreen";
8922             signal: "layout,fullscreen";
8923             source: "slideshow";
8924             action: STATE_SET "default" 0.0;
8925             target: "elm.swallow.1";
8926             target: "elm.swallow.2";
8927             transition: SINUSOIDAL 1.0;
8928         }
8929         program { name: "layout_not_fullscreen";
8930             signal: "layout,not_fullscreen";
8931             source: "slideshow";
8932             action: STATE_SET "not_fullscreen" 0.0;
8933             target: "elm.swallow.1";
8934             target: "elm.swallow.2";
8935             transition: SINUSOIDAL 1.0;
8936          } 
8937          //
8938          program { name: "fade_next";
8939             signal: "fade,next";
8940             source: "slideshow";
8941             action: STATE_SET "default" 0.0;
8942             target: "image_1_whole";
8943             target: "image_2_whole";
8944             after: "fade_next_2";
8945          }
8946          program { name: "fade_next_2";
8947             action: STATE_SET "fade_prev_next" 0.0;
8948             target: "image_1_whole";
8949             target: "image_2_whole";
8950             transition: SINUSOIDAL 1.5;
8951             after: "end";
8952          }
8953          program { name: "fade_previous";
8954             signal: "fade,previous";
8955             source: "slideshow";
8956             action: STATE_SET "default" 0.0;
8957             target: "image_1_whole";
8958             target: "image_2_whole";
8959             after: "fade_previous_2";
8960          }
8961          program { name: "fade_previous_2";
8962             action: STATE_SET "fade_prev_next" 0.0;
8963             target: "image_1_whole";
8964             target: "image_2_whole";
8965             transition: SINUSOIDAL 1.5;
8966             after: "end";
8967          }
8968          program { name: "black_fade_next";
8969             signal: "black_fade,next";
8970             source: "slideshow";
8971             action: STATE_SET "black_fade_prev_next_init" 0.0;
8972             target: "image_1_whole";
8973             target: "image_2_whole";
8974             after: "black_fade_next_2";
8975          }
8976          program { name: "black_fade_next_2";
8977             action: STATE_SET "black_fade_prev_next" 0.0;
8978             target: "image_1_whole";
8979             transition: SINUSOIDAL 0.75;
8980             after: "black_fade_next_3";
8981          }
8982          program { name: "black_fade_next_3";
8983             action: STATE_SET "black_fade_prev_next" 0.0;
8984             target: "image_2_whole";
8985             transition: SINUSOIDAL 0.75;
8986             after: "end";
8987          }
8988          program { name: "black_fade_previous";
8989             signal: "black_fade,previous";
8990             source: "slideshow";
8991             action: STATE_SET "black_fade_prev_next_init" 0.0;
8992             target: "image_1_whole";
8993             target: "image_2_whole";
8994             after: "black_fade_previous_2";
8995          }
8996          program { name: "black_fade_previous_2";
8997             action: STATE_SET "black_fade_prev_next" 0.0;
8998             target: "image_1_whole";
8999             transition: SINUSOIDAL 0.75;
9000             after: "black_fade_previous_3";
9001          }
9002          program { name: "black_fade_previous_3";
9003             action: STATE_SET "black_fade_prev_next" 0.0;
9004             target: "image_2_whole";
9005             transition: SINUSOIDAL 0.75;
9006             after: "end";
9007          }
9008          program { name: "horizontal_next";
9009             signal: "horizontal,next";
9010             source: "slideshow";
9011             action: STATE_SET "horizontal_next_init" 0.0;
9012             target: "image_1_whole";
9013             target: "image_2_whole";
9014             after: "horizontal_next_2";
9015          }
9016          program { name: "horizontal_next_2";
9017             action: STATE_SET "horizontal_next" 0.0;
9018             target: "image_1_whole";
9019             target: "image_2_whole";
9020             transition: SINUSOIDAL 1.5;
9021             after: "end";
9022          }
9023          program { name: "horizontal_previous";
9024             signal: "horizontal,previous";
9025             source: "slideshow";
9026             action: STATE_SET "horizontal_prev_init" 0.0;
9027             target: "image_1_whole";
9028             target: "image_2_whole";
9029             after: "horizontal_previous_2";
9030          }
9031          program { name: "horizontal_previous_2";
9032             action: STATE_SET "horizontal_prev" 0.0;
9033             target: "image_1_whole";
9034             target: "image_2_whole";
9035             transition: SINUSOIDAL 1.5;
9036             after: "end";
9037          }
9038          program { name: "vertical_next";
9039             signal: "vertical,next";
9040             source: "slideshow";
9041             action: STATE_SET "vertical_next_init" 0.0;
9042             target: "image_1_whole";
9043             target: "image_2_whole";
9044             after: "vertical_next_2";
9045          }
9046          program { name: "vertical_next_2";
9047             action: STATE_SET "vertical_next" 0.0;
9048             target: "image_1_whole";
9049             target: "image_2_whole";
9050             transition: SINUSOIDAL 1.5;
9051             after: "end";
9052          }
9053          program { name: "vertical_previous";
9054             signal: "vertical,previous";
9055             source: "slideshow";
9056             action: STATE_SET "vertical_prev_init" 0.0;
9057             target: "image_1_whole";
9058             target: "image_2_whole";
9059             after: "vertical_previous_2";
9060          }
9061          program { name: "vertical_previous_2";
9062             action: STATE_SET "vertical_prev" 0.0;
9063             target: "image_1_whole";
9064             target: "image_2_whole";
9065             transition: SINUSOIDAL 1.5;
9066             after: "end";
9067          }
9068          program { name: "square_next";
9069             signal: "square,next";
9070             source: "slideshow";
9071             action: STATE_SET "square_prev_next_init" 0.0;
9072             target: "image_2_whole";
9073             after: "square_next_2";
9074          }
9075          program { name: "square_next_2";
9076             action: STATE_SET "square_prev_next" 0.0;
9077             target: "image_2_whole";
9078             target: "image_1_whole";
9079             transition: SINUSOIDAL 1.5;
9080             after: "end";
9081          }
9082          program { name: "square_previous";
9083             signal: "square,previous";
9084             source: "slideshow";
9085             action: STATE_SET "square_prev_next_init" 0.0;
9086             target: "image_2_whole";
9087             after: "square_next_2";
9088          }
9089          program { name: "end";
9090             action: SIGNAL_EMIT "end" "slideshow";
9091          }
9092          program { name: "end_signal";
9093             signal: "anim,end";
9094             source: "slideshow";
9095             action: STATE_SET "default" 0.0;
9096             target: "image_1_whole";
9097             target: "image_2_whole";
9098          }
9099       }
9100    }
9101
9102 ///////////////////////////////////////////////////////////////////////////////
9103    group { name: "elm/win/inwin/default";
9104       images {
9105          image: "shad_circ.png" COMP;
9106          image: "bt_dis_base.png" COMP;
9107          image: "bt_dis_hilight.png" COMP;
9108       }
9109       parts {
9110          part { name: "base";
9111             type: RECT;
9112             mouse_events: 1;
9113             description { state: "default" 0.0;
9114                color: 0 0 0 0;
9115             }
9116             description { state: "visible" 0.0;
9117                inherit: "default" 1.0;
9118                color: 0 0 0 64;
9119             }
9120          }
9121          part { name: "shad";
9122             mouse_events:  0;
9123             description { state: "default" 0.0;
9124                image.normal: "shad_circ.png";
9125                rel1.to: "elm.swallow.content";
9126                rel1.offset: -64 -64;
9127                rel2.to: "elm.swallow.content";
9128                rel2.offset: 63 63;
9129                fill.smooth: 0;
9130             }
9131          }
9132          part { name: "pop";
9133             mouse_events: 1;
9134             description { state: "default" 0.0;
9135                rel1.to: "elm.swallow.content";
9136                rel1.offset: -5 -5;
9137                rel2.to: "elm.swallow.content";
9138                rel2.offset: 4 4;
9139                image {
9140                   normal: "bt_dis_base.png";
9141                   border: 4 4 4 4;
9142                }
9143                image.middle: SOLID;
9144             }
9145          }
9146          part { name: "popover";
9147             mouse_events: 0;
9148             description { state: "default" 0.0;
9149                rel1.to: "pop";
9150                rel2.to: "pop";
9151                rel2.relative: 1.0 0.5;
9152                image {
9153                   normal: "bt_dis_hilight.png";
9154                   border: 4 4 4 0;
9155                }
9156             }
9157          }
9158          part { name: "elm.swallow.content";
9159             type: SWALLOW;
9160             description { state: "default" 0.0;
9161                rel1.relative: 0.1 0.1;
9162                rel2.relative: 0.9 0.9;
9163             }
9164          }
9165       }
9166       programs {
9167          program { name: "show";
9168             signal: "elm,action,show";
9169             source: "elm";
9170             action: STATE_SET "visible" 0.0;
9171 //          transition: DECELERATE 0.5;
9172             target: "base";
9173          }
9174          program { name: "hide";
9175             signal: "elm,action,hide";
9176             source: "elm";
9177             action: STATE_SET "default" 0.0;
9178 //          transition: DECELERATE 0.5;
9179             target: "base";
9180          }
9181       }
9182    }
9183
9184    group { name: "elm/win/inwin/minimal";
9185       images {
9186          image: "shad_circ.png" COMP;
9187          image: "bt_dis_base.png" COMP;
9188          image: "bt_dis_hilight.png" COMP;
9189       }
9190       parts {
9191          part { name: "base";
9192             type: RECT;
9193             mouse_events: 1;
9194             description { state: "default" 0.0;
9195                color: 0 0 0 0;
9196             }
9197             description { state: "visible" 0.0;
9198                inherit: "default" 1.0;
9199                color: 0 0 0 64;
9200             }
9201          }
9202          part { name: "shad";
9203             mouse_events:  0;
9204             description { state: "default" 0.0;
9205                image.normal: "shad_circ.png";
9206                rel1.to: "elm.swallow.content";
9207                rel1.offset: -64 -64;
9208                rel2.to: "elm.swallow.content";
9209                rel2.offset: 63 63;
9210                fill.smooth: 0;
9211             }
9212          }
9213          part { name: "pop";
9214             mouse_events: 1;
9215             description { state: "default" 0.0;
9216                rel1.to: "elm.swallow.content";
9217                rel1.offset: -5 -5;
9218                rel2.to: "elm.swallow.content";
9219                rel2.offset: 4 4;
9220                image {
9221                   normal: "bt_dis_base.png";
9222                   border: 4 4 4 4;
9223                }
9224                image.middle: SOLID;
9225             }
9226          }
9227          part { name: "popover";
9228             mouse_events: 0;
9229             description { state: "default" 0.0;
9230                rel1.to: "pop";
9231                rel2.to: "pop";
9232                rel2.relative: 1.0 0.5;
9233                image {
9234                   normal: "bt_dis_hilight.png";
9235                   border: 4 4 4 0;
9236                }
9237             }
9238          }
9239          part { name: "elm.swallow.content";
9240             type: SWALLOW;
9241             description { state: "default" 0.0;
9242                fixed: 1 1;
9243                rel1.relative: 0.5 0.5;
9244                rel2.relative: 0.5 0.5;
9245             }
9246          }
9247       }
9248       programs {
9249          program { name: "show";
9250             signal: "elm,action,show";
9251             source: "elm";
9252             action: STATE_SET "visible" 0.0;
9253 //          transition: DECELERATE 0.5;
9254             target: "base";
9255          }
9256          program { name: "hide";
9257             signal: "elm,action,hide";
9258             source: "elm";
9259             action: STATE_SET "default" 0.0;
9260 //          transition: DECELERATE 0.5;
9261             target: "base";
9262          }
9263       }
9264    }
9265
9266    group { name: "elm/win/inwin/minimal_vertical";
9267       images {
9268          image: "shad_circ.png" COMP;
9269          image: "bt_dis_base.png" COMP;
9270          image: "bt_dis_hilight.png" COMP;
9271       }
9272       parts {
9273          part { name: "base";
9274             type: RECT;
9275             mouse_events: 1;
9276             description { state: "default" 0.0;
9277                color: 0 0 0 0;
9278             }
9279             description { state: "visible" 0.0;
9280                inherit: "default" 1.0;
9281                color: 0 0 0 64;
9282             }
9283          }
9284          part { name: "shad";
9285             mouse_events:  0;
9286             description { state: "default" 0.0;
9287                image.normal: "shad_circ.png";
9288                rel1.to: "elm.swallow.content";
9289                rel1.offset: -64 -64;
9290                rel2.to: "elm.swallow.content";
9291                rel2.offset: 63 63;
9292                fill.smooth: 0;
9293             }
9294          }
9295          part { name: "pop";
9296             mouse_events: 1;
9297             description { state: "default" 0.0;
9298                rel1.to: "elm.swallow.content";
9299                rel1.offset: -5 -5;
9300                rel2.to: "elm.swallow.content";
9301                rel2.offset: 4 4;
9302                image {
9303                   normal: "bt_dis_base.png";
9304                   border: 4 4 4 4;
9305                }
9306                image.middle: SOLID;
9307             }
9308          }
9309          part { name: "popover";
9310             mouse_events: 0;
9311             description { state: "default" 0.0;
9312                rel1.to: "pop";
9313                rel2.to: "pop";
9314                rel2.relative: 1.0 0.5;
9315                image {
9316                   normal: "bt_dis_hilight.png";
9317                   border: 4 4 4 0;
9318                }
9319             }
9320          }
9321          part { name: "elm.swallow.content";
9322             type: SWALLOW;
9323             description { state: "default" 0.0;
9324                fixed: 1 1;
9325                rel1.relative: 0.1 0.5;
9326                rel2.relative: 0.9 0.5;
9327             }
9328          }
9329       }
9330       programs {
9331          program { name: "show";
9332             signal: "elm,action,show";
9333             source: "elm";
9334             action: STATE_SET "visible" 0.0;
9335 //          transition: DECELERATE 0.5;
9336             target: "base";
9337          }
9338          program { name: "hide";
9339             signal: "elm,action,hide";
9340             source: "elm";
9341             action: STATE_SET "default" 0.0;
9342 //          transition: DECELERATE 0.5;
9343             target: "base";
9344          }
9345       }
9346    }
9347
9348 ///////////////////////////////////////////////////////////////////////////////
9349
9350    ///////////////////////////////////////////////////////////////////////////////
9351    group { name: "elm/list/item/default";
9352       data.item: "stacking" "above";
9353       images {
9354          image: "bt_sm_base1.png" COMP;
9355          image: "bt_sm_shine.png" COMP;
9356          image: "bt_sm_hilight.png" COMP;
9357          image: "ilist_1.png" COMP;
9358          image: "ilist_item_shadow.png" COMP;
9359       }
9360       parts {
9361          part {
9362             name:           "event";
9363             type:           RECT;
9364             repeat_events: 1;
9365             description {
9366                state: "default" 0.0;
9367                color: 0 0 0 0;
9368             }
9369          }
9370          part {
9371             name: "base_sh";
9372             mouse_events: 0;
9373             description {
9374                state: "default" 0.0;
9375                align: 0.0 0.0;
9376                min: 0 10;
9377                fixed: 1 1;
9378                rel1 {
9379                   to: "base";
9380                   relative: 0.0 1.0;
9381                   offset: 0 0;
9382                }
9383                rel2 {
9384                   to: "base";
9385                   relative: 1.0 1.0;
9386                   offset: -1 0;
9387                }
9388                image {
9389                   normal: "ilist_item_shadow.png";
9390                }
9391                fill.smooth: 0;
9392             }
9393          }
9394          part {
9395             name: "base";
9396             mouse_events: 0;
9397             description {
9398                state: "default" 0.0;
9399                image {
9400                   normal: "ilist_1.png";
9401                   border: 2 2 2 2;
9402                }
9403                fill.smooth: 0;
9404             }
9405          }
9406          part { name: "bg";
9407             mouse_events: 0;
9408             description { state: "default" 0.0;
9409                visible: 0;
9410                color: 255 255 255 0;
9411                rel1 {
9412                   relative: 0.0 0.0;
9413                   offset: -5 -5;
9414                }
9415                rel2 {
9416                   relative: 1.0 1.0;
9417                   offset: 4 4;
9418                }
9419                image {
9420                   normal: "bt_sm_base1.png";
9421                   border: 6 6 6 6;
9422                }
9423                image.middle: SOLID;
9424             }
9425             description { state: "selected" 0.0;
9426                inherit: "default" 0.0;
9427                visible: 1;
9428                color: 255 255 255 255;
9429                rel1 {
9430                   relative: 0.0 0.0;
9431                   offset: -2 -2;
9432                }
9433                rel2 {
9434                   relative: 1.0 1.0;
9435                   offset: 1 1;
9436                }
9437             }
9438          }
9439          part { name: "elm.swallow.icon";
9440             type: SWALLOW;
9441             description { state: "default" 0.0;
9442                fixed: 1 0;
9443                align: 0.0 0.5;
9444                rel1 {
9445                   relative: 0.0  0.0;
9446                   offset:   4    4;
9447                }
9448                rel2 {
9449                   relative: 0.0  1.0;
9450                   offset:   4   -5;
9451                }
9452             }
9453          }
9454          part { name: "elm.swallow.end";
9455             type: SWALLOW;
9456             description { state: "default" 0.0;
9457                fixed: 1 0;
9458                align: 1.0 0.5;
9459                rel1 {
9460                   relative: 1.0  0.0;
9461                   offset:   -5    4;
9462                }
9463                rel2 {
9464                   relative: 1.0  1.0;
9465                   offset:   -5   -5;
9466                }
9467             }
9468          }
9469          part { name: "elm.text";
9470             type:           TEXT;
9471             effect:         SOFT_SHADOW;
9472             mouse_events:   0;
9473             scale: 1;
9474             description {
9475                state: "default" 0.0;
9476 //               min: 16 16;
9477                rel1 {
9478                   to_x:     "elm.swallow.icon";
9479                   relative: 1.0  0.0;
9480                   offset:   4 4;
9481                }
9482                rel2 {
9483                   to_x:     "elm.swallow.end";
9484                   relative: 0.0  1.0;
9485                   offset:   -1 -5;
9486                }
9487                color: 0 0 0 255;
9488                color3: 0 0 0 0;
9489                text {
9490                   font: "Sans";
9491                   size: 10;
9492                   min: 1 1;
9493 //                  min: 0 1;
9494                   align: 0.0 0.5;
9495                }
9496             }
9497             description { state: "selected" 0.0;
9498                inherit: "default" 0.0;
9499                color: 224 224 224 255;
9500                color3: 0 0 0 64;
9501             }
9502          }
9503          part { name: "fg1";
9504             mouse_events: 0;
9505             description { state: "default" 0.0;
9506                visible: 0;
9507                color: 255 255 255 0;
9508                rel1.to: "bg";
9509                rel2.relative: 1.0 0.5;
9510                rel2.to: "bg";
9511                image {
9512                   normal: "bt_sm_hilight.png";
9513                   border: 6 6 6 0;
9514                }
9515             }
9516             description { state: "selected" 0.0;
9517                inherit: "default" 0.0;
9518                visible: 1;
9519                color: 255 255 255 255;
9520             }
9521          }
9522          part { name: "fg2";
9523             mouse_events: 0;
9524             description { state: "default" 0.0;
9525                visible: 0;
9526                color: 255 255 255 0;
9527                rel1.to: "bg";
9528                rel2.to: "bg";
9529                image {
9530                   normal: "bt_sm_shine.png";
9531                   border: 6 6 6 0;
9532                }
9533             }
9534             description { state: "selected" 0.0;
9535                inherit: "default" 0.0;
9536                visible: 1;
9537                color: 255 255 255 255;
9538             }
9539          }
9540       }
9541       programs {
9542          program {
9543             name:    "go_active";
9544             signal:  "elm,state,selected";
9545             source:  "elm";
9546             action:  STATE_SET "selected" 0.0;
9547             target:  "bg";
9548             target:  "fg1";
9549             target:  "fg2";
9550             target:  "elm.text";
9551          }
9552          program {
9553             name:    "go_passive";
9554             signal:  "elm,state,unselected";
9555             source:  "elm";
9556             action:  STATE_SET "default" 0.0;
9557             target:  "bg";
9558             target:  "fg1";
9559             target:  "fg2";
9560             target:  "elm.text";
9561             transition: LINEAR 0.1;
9562          }
9563       }
9564    }
9565    group { name: "elm/list/item_odd/default";
9566       data.item: "stacking" "below";
9567       data.item: "selectraise" "on";
9568       images {
9569          image: "bt_sm_base1.png" COMP;
9570          image: "bt_sm_shine.png" COMP;
9571          image: "bt_sm_hilight.png" COMP;
9572          image: "ilist_2.png" COMP;
9573       }
9574       parts {
9575          part {
9576             name:           "event";
9577             type:           RECT;
9578             repeat_events: 1;
9579             description {
9580                state: "default" 0.0;
9581                color: 0 0 0 0;
9582             }
9583          }
9584          part {
9585             name: "base";
9586             mouse_events: 0;
9587             description {
9588                state: "default" 0.0;
9589                image {
9590                   normal: "ilist_2.png";
9591                   border: 2 2 2 2;
9592                }
9593                fill.smooth: 0;
9594             }
9595          }
9596          part { name: "bg";
9597             mouse_events: 0;
9598             description { state: "default" 0.0;
9599                visible: 0;
9600                color: 255 255 255 0;
9601                rel1 {
9602                   relative: 0.0 0.0;
9603                   offset: -5 -5;
9604                }
9605                rel2 {
9606                   relative: 1.0 1.0;
9607                   offset: 4 4;
9608                }
9609                image {
9610                   normal: "bt_sm_base1.png";
9611                   border: 6 6 6 6;
9612                }
9613                image.middle: SOLID;
9614             }
9615             description { state: "selected" 0.0;
9616                inherit: "default" 0.0;
9617                visible: 1;
9618                color: 255 255 255 255;
9619                rel1 {
9620                   relative: 0.0 0.0;
9621                   offset: -2 -2;
9622                }
9623                rel2 {
9624                   relative: 1.0 1.0;
9625                   offset: 1 1;
9626                }
9627             }
9628          }
9629          part {
9630             name:          "elm.swallow.icon";
9631             type:          SWALLOW;
9632             description { state:    "default" 0.0;
9633                fixed: 1 0;
9634                align:    0.0 0.5;
9635                rel1 {
9636                   relative: 0.0  0.0;
9637                   offset:   4    4;
9638                }
9639                rel2 {
9640                   relative: 0.0  1.0;
9641                   offset:   4   -5;
9642                }
9643             }
9644          }
9645          part {
9646             name:          "elm.swallow.end";
9647             type:          SWALLOW;
9648             description { state:    "default" 0.0;
9649                fixed: 1 0;
9650                align: 1.0 0.5;
9651                rel1 {
9652                   relative: 1.0  0.0;
9653                   offset:   -5    4;
9654                }
9655                rel2 {
9656                   relative: 1.0  1.0;
9657                   offset:   -5   -5;
9658                }
9659             }
9660          }
9661          part {
9662             name:           "elm.text";
9663             type:           TEXT;
9664             effect:         SOFT_SHADOW;
9665             mouse_events:   0;
9666             scale: 1;
9667             description {
9668                state: "default" 0.0;
9669 //               min:      16 16;
9670                rel1 {
9671                   to_x:     "elm.swallow.icon";
9672                   relative: 1.0  0.0;
9673                   offset:   4 4;
9674                }
9675                rel2 {
9676                   to_x:     "elm.swallow.end";
9677                   relative: 0.0  1.0;
9678                   offset:   -1 -5;
9679                }
9680                color: 0 0 0 255;
9681                color3: 0 0 0 0;
9682                text {
9683                   font: "Sans";
9684                   size: 10;
9685                   min: 1 1;
9686 //                  min: 0 1;
9687                   align: 0.0 0.5;
9688                }
9689             }
9690             description { state: "selected" 0.0;
9691                inherit: "default" 0.0;
9692                color: 224 224 224 255;
9693                color3: 0 0 0 64;
9694             }
9695          }
9696          part { name: "fg1";
9697             mouse_events: 0;
9698             description { state: "default" 0.0;
9699                visible: 0;
9700                color: 255 255 255 0;
9701                rel1.to: "bg";
9702                rel2.relative: 1.0 0.5;
9703                rel2.to: "bg";
9704                image {
9705                   normal: "bt_sm_hilight.png";
9706                   border: 6 6 6 0;
9707                }
9708             }
9709             description { state: "selected" 0.0;
9710                inherit: "default" 0.0;
9711                visible: 1;
9712                color: 255 255 255 255;
9713             }
9714          }
9715          part { name: "fg2";
9716             mouse_events: 0;
9717             description { state: "default" 0.0;
9718                visible: 0;
9719                color: 255 255 255 0;
9720                rel1.to: "bg";
9721                rel2.to: "bg";
9722                image {
9723                   normal: "bt_sm_shine.png";
9724                   border: 6 6 6 0;
9725                }
9726             }
9727             description { state: "selected" 0.0;
9728                inherit: "default" 0.0;
9729                visible: 1;
9730                color: 255 255 255 255;
9731             }
9732          }
9733       }
9734       programs {
9735          program {
9736             name:    "go_active";
9737             signal:  "elm,state,selected";
9738             source:  "elm";
9739             action:  STATE_SET "selected" 0.0;
9740             target:  "bg";
9741             target:  "fg1";
9742             target:  "fg2";
9743             target:  "elm.text";
9744          }
9745          program {
9746             name:    "go_passive";
9747             signal:  "elm,state,unselected";
9748             source:  "elm";
9749             action:  STATE_SET "default" 0.0;
9750             target:  "bg";
9751             target:  "fg1";
9752             target:  "fg2";
9753             target:  "elm.text";
9754             transition: LINEAR 0.1;
9755          }
9756       }
9757    }
9758    group { name: "elm/list/item_compress/default";
9759       data.item: "stacking" "above";
9760       data.item: "selectraise" "on";
9761       images {
9762          image: "bt_sm_base1.png" COMP;
9763          image: "bt_sm_shine.png" COMP;
9764          image: "bt_sm_hilight.png" COMP;
9765          image: "ilist_1.png" COMP;
9766          image: "ilist_item_shadow.png" COMP;
9767       }
9768       parts {
9769          part {
9770             name: "base_sh";
9771             mouse_events: 0;
9772             description { state: "default" 0.0;
9773                fixed: 1 1;
9774                align: 0.0 0.0;
9775                min: 0 10;
9776                rel1 {
9777                   to: "base";
9778                   relative: 0.0 1.0;
9779                   offset: 0 0;
9780                }
9781                rel2 {
9782                   to: "base";
9783                   relative: 1.0 1.0;
9784                   offset: -1 0;
9785                }
9786                image {
9787                   normal: "ilist_item_shadow.png";
9788                }
9789                fill.smooth: 0;
9790             }
9791          }
9792          part {
9793             name: "base";
9794             mouse_events: 0;
9795             description {
9796                state: "default" 0.0;
9797                image {
9798                   normal: "ilist_1.png";
9799                   border: 2 2 2 2;
9800                }
9801                fill.smooth: 0;
9802             }
9803          }
9804          part { name: "bg";
9805             mouse_events: 0;
9806             description { state: "default" 0.0;
9807                visible: 0;
9808                color: 255 255 255 0;
9809                rel1 {
9810                   relative: 0.0 0.0;
9811                   offset: -5 -5;
9812                }
9813                rel2 {
9814                   relative: 1.0 1.0;
9815                   offset: 4 4;
9816                }
9817                image {
9818                   normal: "bt_sm_base1.png";
9819                   border: 6 6 6 6;
9820                }
9821                image.middle: SOLID;
9822             }
9823             description { state: "selected" 0.0;
9824                inherit: "default" 0.0;
9825                visible: 1;
9826                color: 255 255 255 255;
9827                rel1 {
9828                   relative: 0.0 0.0;
9829                   offset: -2 -2;
9830                }
9831                rel2 {
9832                   relative: 1.0 1.0;
9833                   offset: 1 1;
9834                }
9835             }
9836          }
9837          part { name:          "elm.swallow.icon";
9838             type:          SWALLOW;
9839             description { state:    "default" 0.0;
9840                fixed: 1 0;
9841                align:    0.0 0.5;
9842                rel1 {
9843                   relative: 0.0  0.0;
9844                   offset:   4    4;
9845                }
9846                rel2 {
9847                   relative: 0.0  1.0;
9848                   offset:   4   -5;
9849                }
9850             }
9851          }
9852          part { name:          "elm.swallow.end";
9853             type:          SWALLOW;
9854             description { state:    "default" 0.0;
9855                fixed: 1 0;
9856                align:    1.0 0.5;
9857                rel1 {
9858                   relative: 1.0  0.0;
9859                   offset:   -5    4;
9860                }
9861                rel2 {
9862                   relative: 1.0  1.0;
9863                   offset:   -5   -5;
9864                }
9865             }
9866          }
9867          part {
9868             name:           "elm.text";
9869             type:           TEXT;
9870             effect:         SOFT_SHADOW;
9871             mouse_events:   0;
9872             scale: 1;
9873             description { state: "default" 0.0;
9874 //               min:      16 16;
9875                rel1 {
9876                   to_x:     "elm.swallow.icon";
9877                   relative: 1.0  0.0;
9878                   offset:   4 4;
9879                }
9880                rel2 {
9881                   to_x:     "elm.swallow.end";
9882                   relative: 0.0  1.0;
9883                   offset:   -1 -5;
9884                }
9885                color: 0 0 0 255;
9886                color3: 0 0 0 0;
9887                text {
9888                   font: "Sans";
9889                   size: 10;
9890 //                  min: 1 1;
9891                   min: 0 1;
9892                   align: 0.0 0.5;
9893                }
9894             }
9895             description { state: "selected" 0.0;
9896                inherit: "default" 0.0;
9897                color: 224 224 224 255;
9898                color3: 0 0 0 64;
9899             }
9900          }
9901          part { name: "fg1";
9902             mouse_events: 0;
9903             description { state: "default" 0.0;
9904                visible: 0;
9905                color: 255 255 255 0;
9906                rel1.to: "bg";
9907                rel2.relative: 1.0 0.5;
9908                rel2.to: "bg";
9909                image {
9910                   normal: "bt_sm_hilight.png";
9911                   border: 6 6 6 0;
9912                }
9913             }
9914             description { state: "selected" 0.0;
9915                inherit: "default" 0.0;
9916                visible: 1;
9917                color: 255 255 255 255;
9918             }
9919          }
9920          part { name: "fg2";
9921             mouse_events: 0;
9922             description { state: "default" 0.0;
9923                visible: 0;
9924                color: 255 255 255 0;
9925                rel1.to: "bg";
9926                rel2.to: "bg";
9927                image {
9928                   normal: "bt_sm_shine.png";
9929                   border: 6 6 6 0;
9930                }
9931             }
9932             description { state: "selected" 0.0;
9933                inherit: "default" 0.0;
9934                visible: 1;
9935                color: 255 255 255 255;
9936             }
9937          }
9938          part {
9939             name:           "event";
9940             type:           RECT;
9941             repeat_events: 1;
9942             description {
9943                state: "default" 0.0;
9944                color: 0 0 0 0;
9945             }
9946          }
9947       }
9948       programs {
9949          program {
9950             name:    "go_active";
9951             signal:  "elm,state,selected";
9952             source:  "elm";
9953             action:  STATE_SET "selected" 0.0;
9954             target:  "bg";
9955             target:  "fg1";
9956             target:  "fg2";
9957             target:  "elm.text";
9958          }
9959          program {
9960             name:    "go_passive";
9961             signal:  "elm,state,unselected";
9962             source:  "elm";
9963             action:  STATE_SET "default" 0.0;
9964             target:  "bg";
9965             target:  "fg1";
9966             target:  "fg2";
9967             target:  "elm.text";
9968             transition: LINEAR 0.1;
9969          }
9970       }
9971    }
9972    group { name: "elm/list/item_compress_odd/default";
9973       data.item: "stacking" "below";
9974       data.item: "selectraise" "on";
9975       images {
9976          image: "bt_sm_base1.png" COMP;
9977          image: "bt_sm_shine.png" COMP;
9978          image: "bt_sm_hilight.png" COMP;
9979          image: "ilist_2.png" COMP;
9980       }
9981       parts {
9982          part {
9983             name: "base";
9984             mouse_events: 0;
9985             description {
9986                state: "default" 0.0;
9987                image {
9988                   normal: "ilist_2.png";
9989                   border: 2 2 2 2;
9990                }
9991                fill.smooth: 0;
9992             }
9993          }
9994          part { name: "bg";
9995             mouse_events: 0;
9996             description { state: "default" 0.0;
9997                visible: 0;
9998                color: 255 255 255 0;
9999                rel1 {
10000                   relative: 0.0 0.0;
10001                   offset: -5 -5;
10002                }
10003                rel2 {
10004                   relative: 1.0 1.0;
10005                   offset: 4 4;
10006                }
10007                image {
10008                   normal: "bt_sm_base1.png";
10009                   border: 6 6 6 6;
10010                }
10011                image.middle: SOLID;
10012             }
10013             description { state: "selected" 0.0;
10014                inherit: "default" 0.0;
10015                visible: 1;
10016                color: 255 255 255 255;
10017                rel1 {
10018                   relative: 0.0 0.0;
10019                   offset: -2 -2;
10020                }
10021                rel2 {
10022                   relative: 1.0 1.0;
10023                   offset: 1 1;
10024                }
10025             }
10026          }
10027          part { name:          "elm.swallow.icon";
10028             type:          SWALLOW;
10029             description { state:    "default" 0.0;
10030                fixed: 1 0;
10031                align:    0.0 0.5;
10032                rel1 {
10033                   relative: 0.0  0.0;
10034                   offset:   4    4;
10035                }
10036                rel2 {
10037                   relative: 0.0  1.0;
10038                   offset:   4   -5;
10039                }
10040             }
10041          }
10042          part { name:          "elm.swallow.end";
10043             type:          SWALLOW;
10044             description { state:    "default" 0.0;
10045                fixed: 1 0;
10046                align:    1.0 0.5;
10047                rel1 {
10048                   relative: 1.0  0.0;
10049                   offset:   -5    4;
10050                }
10051                rel2 {
10052                   relative: 1.0  1.0;
10053                   offset:   -5   -5;
10054                }
10055             }
10056          }
10057          part {
10058             name:           "elm.text";
10059             type:           TEXT;
10060             effect:         SOFT_SHADOW;
10061             mouse_events:   0;
10062             scale: 1;
10063             description {
10064                state: "default" 0.0;
10065 //               min:      16 16;
10066                rel1 {
10067                   to_x:     "elm.swallow.icon";
10068                   relative: 1.0  0.0;
10069                   offset:   4 4;
10070                }
10071                rel2 {
10072                   to_x:     "elm.swallow.end";
10073                   relative: 0.0  1.0;
10074                   offset:   -1 -5;
10075                }
10076                color: 0 0 0 255;
10077                color3: 0 0 0 0;
10078                text {
10079                   font: "Sans";
10080                   size: 10;
10081 //                  min: 1 1;
10082                   min: 0 1;
10083                   align: 0.0 0.5;
10084                }
10085             }
10086             description { state: "selected" 0.0;
10087                inherit: "default" 0.0;
10088                color: 224 224 224 255;
10089                color3: 0 0 0 64;
10090             }
10091          }
10092          part { name: "fg1";
10093             mouse_events: 0;
10094             description { state: "default" 0.0;
10095                visible: 0;
10096                color: 255 255 255 0;
10097                rel1.to: "bg";
10098                rel2.relative: 1.0 0.5;
10099                rel2.to: "bg";
10100                image {
10101                   normal: "bt_sm_hilight.png";
10102                   border: 6 6 6 0;
10103                }
10104             }
10105             description { state: "selected" 0.0;
10106                inherit: "default" 0.0;
10107                visible: 1;
10108                color: 255 255 255 255;
10109             }
10110          }
10111          part { name: "fg2";
10112             mouse_events: 0;
10113             description { state: "default" 0.0;
10114                visible: 0;
10115                color: 255 255 255 0;
10116                rel1.to: "bg";
10117                rel2.to: "bg";
10118                image {
10119                   normal: "bt_sm_shine.png";
10120                   border: 6 6 6 0;
10121                }
10122             }
10123             description { state: "selected" 0.0;
10124                inherit: "default" 0.0;
10125                visible: 1;
10126                color: 255 255 255 255;
10127             }
10128          }
10129          part {
10130             name:           "event";
10131             type:           RECT;
10132             repeat_events: 1;
10133             description {
10134                state: "default" 0.0;
10135                color: 0 0 0 0;
10136             }
10137          }
10138       }
10139       programs {
10140          program {
10141             name:    "go_active";
10142             signal:  "elm,state,selected";
10143             source:  "elm";
10144             action:  STATE_SET "selected" 0.0;
10145             target:  "bg";
10146             target:  "fg1";
10147             target:  "fg2";
10148             target:  "elm.text";
10149          }
10150          program {
10151             name:    "go_passive";
10152             signal:  "elm,state,unselected";
10153             source:  "elm";
10154             action:  STATE_SET "default" 0.0;
10155             target:  "bg";
10156             target:  "fg1";
10157             target:  "fg2";
10158             target:  "elm.text";
10159             transition: LINEAR 0.1;
10160          }
10161       }
10162    }
10163
10164 ///////////////////////////////////////////////////////////////////////////////
10165    group { name: "elm/slider/horizontal/default";
10166       images {
10167          image: "sl_bg.png" COMP;
10168          image: "sl_bg_over.png" COMP;
10169          image: "sl_bt_0.png" COMP;
10170          image: "sl_bt_1.png" COMP;
10171          image: "sl_bt_2.png" COMP;
10172          image: "sl_bt2_0_0.png" COMP;
10173          image: "sl_bt2_0_1.png" COMP;
10174          image: "sl_bt2_0_2.png" COMP;
10175          image: "sl_bt2_1.png" COMP;
10176          image: "sl_bt2_2.png" COMP;
10177          image: "sl_units.png" COMP;
10178       }
10179       parts {
10180          part { name: "base";
10181             mouse_events: 0;
10182             description { state: "default" 0.0;
10183                max: 99999 6;
10184                min: 0 6;
10185                rel1 { to: "bg";
10186                   offset: 1 0;
10187                }
10188                rel2 { to: "bg";
10189                   offset: -2 -1;
10190                }
10191                image.normal: "sl_bg.png";
10192                fill.smooth: 0;
10193             }
10194          }
10195          part { name: "level";
10196             type: RECT;
10197             mouse_events: 0;
10198             description { state: "default" 0.0;
10199                fixed: 1 1;
10200                rel1.to: "base";
10201                rel2 {
10202                   to_y: "base";
10203                   to_x: "elm.dragable.slider";
10204                   relative: 0.5 1.0;
10205                }
10206                color: 255 0 0 200;
10207             }
10208             description { state: "inverted" 0.0;
10209                inherit: "default" 0.0;
10210                visible: 0;
10211             }
10212          }
10213          part { name: "level2";
10214             type: RECT;
10215             mouse_events: 0;
10216             description { state: "default" 0.0;
10217                fixed: 1 1;
10218                visible: 0;
10219                rel1 {
10220                   to_y: "base";
10221                   to_x: "elm.dragable.slider";
10222                   relative: 0.5 0.0;
10223                }
10224                rel2.to: "base";
10225                color: 255 0 0 200;
10226             }
10227             description { state: "inverted" 0.0;
10228                inherit: "default" 0.0;
10229                visible: 1;
10230             }
10231          }
10232          part {
10233             name: "base_over";
10234             mouse_events: 0;
10235             description { state: "default" 0.0;
10236                rel1.to: "base";
10237                rel1.offset: -1 -1;
10238                rel2.to: "base";
10239                rel2.offset: 0 0;
10240                image {
10241                   normal: "sl_bg_over.png";
10242                   border: 3 3 3 3;
10243                }
10244                fill.smooth: 0;
10245             }
10246          }
10247          part { name: "bg";
10248             type: RECT;
10249             mouse_events: 0;
10250             scale: 1;
10251             description { state: "default" 0.0;
10252                visible: 0;
10253                rel1.to: "elm.swallow.bar";
10254                rel2.to: "elm.swallow.bar";
10255                color: 0 0 0 0;
10256             }
10257          }
10258          part { name: "elm.swallow.bar";
10259             type: SWALLOW;
10260             scale: 1;
10261             description { state: "default" 0.0;
10262                min: 48 24;
10263                max: 99999 24;
10264                align: 1.0 0.5;
10265                rel1 {
10266                   to_x: "elm.text";
10267                   relative: 1.0 0.0;
10268                   offset: 8 0;
10269                }
10270                rel2 {
10271                   to_x: "elm.units";
10272                   relative: 0.0 1.0;
10273                   offset: -10 -1;
10274                }
10275             }
10276          }
10277          part { name: "elm.swallow.content";
10278             type: SWALLOW;
10279             description { state: "default" 0.0;
10280                visible: 0;
10281                align: 0.0 0.5;
10282                rel1 {
10283                   offset: 4 0;
10284                   to_y: "elm.swallow.bar";
10285                }
10286                rel2 {
10287                   offset: 3 -1;
10288                   relative: 0.0 1.0;
10289                   to_y: "elm.swallow.bar";
10290                }
10291             }
10292             description { state: "visible" 0.0;
10293                inherit: "default" 0.0;
10294                visible: 1;
10295                aspect: 1.0 1.0;
10296                aspect_preference: VERTICAL;
10297                rel2.offset: 4 -1;
10298             }
10299          }
10300          part { name: "elm.text";
10301             type: TEXT;
10302             mouse_events: 0;
10303             scale: 1;
10304             description { state: "default" 0.0;
10305                visible: 0;
10306                fixed: 1 1;
10307                align: 0.0 0.5;
10308                rel1.to_x: "elm.swallow.content";
10309                rel1.relative: 1.0 0.0;
10310                rel1.offset: -1 4;
10311                rel2.to_x: "elm.swallow.content";
10312                rel2.relative: 1.0 1.0;
10313                rel2.offset: -1 -5;
10314                color: 0 0 0 255;
10315                text {
10316                   font: "Sans,Edje-Vera";
10317                   size: 10;
10318                   min: 0 0;
10319                   align: 0.0 0.5;
10320                }
10321             }
10322             description { state: "visible" 0.0;
10323                inherit: "default" 0.0;
10324                visible: 1;
10325                text.min: 1 1;
10326                rel1.offset: 0 4;
10327                rel2.offset: 0 -5;
10328             }
10329          }
10330          part { name: "units";
10331             mouse_events: 0;
10332             description { state: "default" 0.0;
10333                visible: 0;
10334                rel1 {
10335                   to_x: "elm.units";
10336                   offset: 0 5;
10337                }
10338                image {
10339                   normal: "sl_units.png";
10340                   border: 0 5 3 8;
10341                }
10342                fill.smooth: 0;
10343             }
10344             description { state: "visible" 0.0;
10345                inherit: "default" 0.0;
10346                visible: 1;
10347             }
10348          }
10349          part { name: "elm.units";
10350             type: TEXT;
10351             mouse_events: 0;
10352             scale: 1;
10353             description { state: "default" 0.0;
10354                visible: 0;
10355                fixed: 1 1;
10356                align: 1.0 0.5;
10357                rel1.relative: 1.0 0.0;
10358                rel1.offset: 0 8;
10359                rel2.relative: 1.0 1.0;
10360                rel2.offset: 0 -9;
10361                color: 0 0 0 255;
10362                text {
10363                   font: "Sans,Edje-Vera";
10364                   size: 10;
10365                   min: 0 0;
10366                   align: 0.0 0.5;
10367                }
10368             }
10369             description { state: "visible" 0.0;
10370                inherit: "default" 0.0;
10371                fixed: 1 1;
10372                visible: 1;
10373                text.min: 1 1;
10374                rel1.offset: -5 0;
10375                rel2.offset: -5 -1;
10376             }
10377          }
10378          part { name: "elm.dragable.slider";
10379             type: RECT;
10380             mouse_events: 0;
10381             scale: 1;
10382             dragable {
10383                x: 1 1 0;
10384                y: 0 0 0;
10385                confine: "bg";
10386             }
10387             description { state: "default" 0.0;
10388                min: 0 24;
10389                max: 0 24;
10390                fixed: 1 1;
10391                rel1 {
10392                   relative: 0.5 0.0;
10393                   to_x: "bg";
10394                }
10395                rel2 {
10396                   relative: 0.5 1.0;
10397                   to_x: "bg";
10398                }
10399                color: 255 0 0 100;
10400             }
10401          }
10402          part { name: "button_events";
10403             type: RECT;
10404             dragable {
10405                events: "elm.dragable.slider";
10406             }
10407             mouse_events: 1;
10408             description { state: "default" 0.0;
10409                fixed: 1 1;
10410                min: 16 16;
10411                aspect: 1.0 1.0;
10412                aspect_preference: VERTICAL;
10413                rel1.to_x: "elm.dragable.slider";
10414                rel2.to_x: "elm.dragable.slider";
10415                color: 0 0 0 0;
10416             }
10417          }
10418          part { name: "button0";
10419             mouse_events: 0;
10420             description { state: "default" 0.0;
10421                fixed: 1 1;
10422                max: 17 999;
10423                min: 17 24;
10424                rel1.to: "elm.dragable.slider";
10425                rel2.to: "elm.dragable.slider";
10426                image {
10427                   normal: "sl_bt_0.png";
10428                   border: 5 5 5 10;
10429                }
10430                fill.smooth: 0;
10431             }
10432          }
10433          part { name: "button1";
10434             mouse_events: 0;
10435             description { state: "default" 0.0;
10436                rel1.to: "button0";
10437                rel2 {
10438                   to: "button0";
10439                   relative: 1.0 0.5;
10440                   offset: -1 -5;
10441                }
10442                image {
10443                   normal: "sl_bt_1.png";
10444                   border: 5 5 5 0;
10445                }
10446             }
10447          }
10448          part { name: "button2";
10449             mouse_events: 0;
10450             description { state: "default" 0.0;
10451                rel1.to: "button0";
10452                rel2.to: "button0";
10453                image {
10454                   normal: "sl_bt_2.png";
10455                   border: 5 5 5 10;
10456                }
10457                fill.smooth: 0;
10458             }
10459          }
10460          part { name: "button3";
10461             mouse_events: 0;
10462             description { state: "default" 0.0;
10463                fixed: 1 1;
10464                visible: 0;
10465                min: 8 32;
10466                align: 1.0 0.5;
10467                rel1 {
10468                   to_x: "elm.indicator";
10469                   to_y: "button4";
10470                   relative: 0.0 0.0;
10471                   offset: -7 0;
10472                }
10473                rel2 {
10474                   to: "button4";
10475                   relative: 0.0 1.0;
10476                   offset: -1 -1;
10477                }
10478                image {
10479                   normal: "sl_bt2_0_0.png";
10480                   border: 6 0 6 12;
10481                }
10482                fill.smooth: 0;
10483             }
10484             description { state: "visible" 0.0;
10485                inherit: "default" 0.0;
10486                visible: 1;
10487             }
10488          }
10489          part { name: "button4";
10490             mouse_events: 0;
10491             description { state: "default" 0.0;
10492                visible: 0;
10493                max: 15 999;
10494                min: 15 32;
10495                rel1 {
10496                   to_x: "button0";
10497                   to_y: "elm.indicator";
10498                   offset: 0 0;
10499                }
10500                rel2.to: "button0";
10501                image {
10502                   normal: "sl_bt2_0_1.png";
10503                   border: 0 0 6 12;
10504                }
10505                fill.smooth: 0;
10506             }
10507             description { state: "visible" 0.0;
10508                inherit: "default" 0.0;
10509                visible: 1;
10510             }
10511          }
10512          part { name: "button5";
10513             mouse_events: 0;
10514             description { state: "default" 0.0;
10515                fixed: 1 1;
10516                visible: 0;
10517                min: 8 32;
10518                align: 0.0 0.5;
10519                rel1 {
10520                   to: "button4";
10521                   relative: 1.0 0.0;
10522                   offset: 0 0;
10523                }
10524                rel2 {
10525                   to_x: "elm.indicator";
10526                   to_y: "button4";
10527                   relative: 1.0 1.0;
10528                   offset: 6 -1;
10529                }
10530                image {
10531                   normal: "sl_bt2_0_2.png";
10532                   border: 0 6 6 12;
10533                }
10534                fill.smooth: 0;
10535             }
10536             description { state: "visible" 0.0;
10537                inherit: "default" 0.0;
10538                visible: 1;
10539             }
10540          }
10541          part { name: "elm.indicator";
10542             type: TEXT;
10543             mouse_events: 0;
10544             effect: SOFT_SHADOW;
10545             scale: 1;
10546             description { state: "default" 0.0;
10547                visible: 0;
10548                fixed: 1 1;
10549                align: 0.5 1.0;
10550                rel1 {
10551                   to: "button0";
10552                   relative: 0.0 -0.25;
10553                   offset: 0 0;
10554                }
10555                rel2 {
10556                   to_x: "button0";
10557                   relative: 1.0 -0.25;
10558                   offset: -1 0;
10559                }
10560                color: 224 224 224 255;
10561                color3: 0 0 0 64;
10562                text {
10563                   font:     "Sans,Edje-Vera";
10564                   size:     10;
10565                   min:      0 0;
10566                   align:    0.5 0.5;
10567                }
10568             }
10569             description { state: "visible" 0.0;
10570                inherit: "default" 0.0;
10571                visible: 1;
10572                text.min: 1 1;
10573                rel1.offset: 0 -1;
10574                rel2.offset: -1 -1;
10575             }
10576          }
10577          part { name: "button6";
10578             mouse_events: 0;
10579             description { state: "default" 0.0;
10580                visible: 0;
10581                rel1.to: "button3";
10582                rel2 {
10583                   to: "button5";
10584                   relative: 1.0 0.3;
10585                   offset: -1 -1;
10586                }
10587                image {
10588                   normal: "sl_bt2_1.png";
10589                   border: 5 5 5 0;
10590                }
10591                fill.smooth: 0;
10592             }
10593             description { state: "visible" 0.0;
10594                inherit: "default" 0.0;
10595                visible: 1;
10596             }
10597          }
10598          part { name: "button7";
10599             mouse_events: 0;
10600             description { state: "default" 0.0;
10601                visible: 0;
10602                rel1.to: "button3";
10603                rel2.to: "button5";
10604                image {
10605                   normal: "sl_bt2_2.png";
10606                   border: 5 5 5 0;
10607                   middle: 0;
10608                }
10609                fill.smooth: 0;
10610             }
10611             description { state: "visible" 0.0;
10612                inherit: "default" 0.0;
10613                visible: 1;
10614             }
10615          }
10616       }
10617       programs {
10618          program { name: "text_show";
10619             signal: "elm,state,text,visible";
10620             source: "elm";
10621             action:  STATE_SET "visible" 0.0;
10622             target: "elm.text";
10623          }
10624          program { name: "text_hide";
10625             signal: "elm,state,text,hidden";
10626             source: "elm";
10627             action:  STATE_SET "default" 0.0;
10628             target: "elm.text";
10629          }
10630          program { name: "icon_show";
10631             signal: "elm,state,icon,visible";
10632             source: "elm";
10633             action:  STATE_SET "visible" 0.0;
10634             target: "elm.swallow.content";
10635          }
10636          program { name: "icon_hide";
10637             signal: "elm,state,icon,hidden";
10638             source: "elm";
10639             action:  STATE_SET "default" 0.0;
10640             target: "elm.swallow.content";
10641          }
10642          program { name: "units_show";
10643             signal: "elm,state,units,visible";
10644             source: "elm";
10645             action:  STATE_SET "visible" 0.0;
10646             target: "elm.units";
10647             target: "units";
10648          }
10649          program { name: "units_hide";
10650             signal: "elm,state,units,hidden";
10651             source: "elm";
10652             action:  STATE_SET "default" 0.0;
10653             target: "elm.units";
10654             target: "units";
10655          }
10656          program { name: "invert_on";
10657             signal: "elm,state,inverted,on";
10658             source: "elm";
10659             action:  STATE_SET "inverted" 0.0;
10660             target: "level";
10661             target: "level2";
10662          }
10663          program { name: "invert_off";
10664             signal: "elm,state,inverted,off";
10665             source: "elm";
10666             action:  STATE_SET "default" 0.0;
10667             target: "level";
10668             target: "level2";
10669          }
10670          program { name: "val_show";
10671             signal: "mouse,down,*";
10672             source: "elm.dragable.slider";
10673             action:  STATE_SET "visible" 0.0;
10674             target: "elm.indicator";
10675             target: "button3";
10676             target: "button4";
10677             target: "button5";
10678             target: "button6";
10679             target: "button7";
10680          }
10681          program { name: "val_hide";
10682             signal: "mouse,up,*";
10683             source: "elm.dragable.slider";
10684             action:  STATE_SET "default" 0.0;
10685             target: "elm.indicator";
10686             target: "button3";
10687             target: "button4";
10688             target: "button5";
10689             target: "button6";
10690             target: "button7";
10691          }
10692       }
10693    }
10694
10695    group { name: "elm/slider/vertical/default";
10696       images {
10697          image: "slv_bg.png" COMP;
10698          image: "slv_bg_over.png" COMP;
10699
10700          image: "sl_bt_0.png" COMP;
10701          image: "sl_bt_1.png" COMP;
10702          image: "sl_bt_2.png" COMP;
10703          image: "sl_bt2_0_0.png" COMP;
10704          image: "sl_bt2_0_1.png" COMP;
10705          image: "sl_bt2_0_2.png" COMP;
10706          image: "sl_bt2_1.png" COMP;
10707          image: "sl_bt2_2.png" COMP;
10708
10709          image: "slv_units.png" COMP;
10710       }
10711       parts {
10712          part { name: "base";
10713             mouse_events: 0;
10714             description { state: "default" 0.0;
10715                max: 6 99999;
10716                min: 6 0;
10717                rel1 { to: "bg";
10718                   offset: 1 0;
10719                }
10720                rel2 { to: "bg";
10721                   offset: -2 -1;
10722                }
10723                image.normal: "slv_bg.png";
10724                fill.smooth: 0;
10725             }
10726          }
10727          part { name: "level";
10728             type: RECT;
10729             mouse_events: 0;
10730             description { state: "default" 0.0;
10731                fixed: 1 1;
10732                rel1.to: "base";
10733                rel2 {
10734                   to_x: "base";
10735                   to_y: "elm.dragable.slider";
10736                   relative: 1.0 0.5;
10737                }
10738                color: 255 0 0 200;
10739             }
10740             description { state: "inverted" 0.0;
10741                inherit: "default" 0.0;
10742                visible: 0;
10743             }
10744          }
10745          part { name: "level2";
10746             type: RECT;
10747             mouse_events: 0;
10748             description { state: "default" 0.0;
10749                fixed: 1 1;
10750                visible: 0;
10751                rel1 {
10752                   to_x: "base";
10753                   to_y: "elm.dragable.slider";
10754                   relative: 0.0 0.5;
10755                }
10756                rel2.to: "base";
10757                color: 255 0 0 200;
10758             }
10759             description { state: "inverted" 0.0;
10760                inherit: "default" 0.0;
10761                visible: 1;
10762             }
10763          }
10764          part {
10765             name: "base_over";
10766             mouse_events: 0;
10767             description { state: "default" 0.0;
10768                rel1.to: "base";
10769                rel1.offset: -1 -1;
10770                rel2.to: "base";
10771                rel2.offset: 0 0;
10772                image {
10773                   normal: "slv_bg_over.png";
10774                   border: 3 3 3 3;
10775                }
10776                fill.smooth: 0;
10777             }
10778          }
10779          part { name: "bg";
10780             type: RECT;
10781             mouse_events: 0;
10782             scale: 1;
10783             description { state: "default" 0.0;
10784                visible: 0;
10785                rel1.to: "elm.swallow.bar";
10786                rel2.to: "elm.swallow.bar";
10787                color: 0 0 0 0;
10788             }
10789          }
10790          part { name: "elm.swallow.bar";
10791             type: SWALLOW;
10792             scale: 1;
10793             description { state: "default" 0.0;
10794                min: 24 48;
10795                max: 24 9999;
10796                align: 0.5 1.0;
10797                rel1 {
10798                   to_y: "elm.text";
10799                   relative: 0.0 1.0;
10800                   offset: 0 10;
10801                }
10802                rel2 {
10803                   to_y: "elm.units";
10804                   relative: 1.0 0.0;
10805                   offset: -1 -8;
10806                }
10807             }
10808          }
10809          part { name: "elm.swallow.content";
10810             type: SWALLOW;
10811             description { state: "default" 0.0;
10812                visible: 0;
10813                align: 0.5 0.0;
10814                rel1 {
10815                   offset: 0 4;
10816                   to_x: "elm.swallow.bar";
10817                }
10818                rel2 {
10819                   offset: -1 3;
10820                   relative: 1.0 0.0;
10821                   to_x: "elm.swallow.bar";
10822                }
10823             }
10824             description { state: "visible" 0.0;
10825                inherit: "default" 0.0;
10826                visible: 1;
10827                aspect: 1.0 1.0;
10828                aspect_preference: HORIZONTAL;
10829                rel2.offset: -1 4;
10830             }
10831          }
10832          part { name: "elm.text";
10833             type: TEXT;
10834             mouse_events: 0;
10835             scale: 1;
10836             description { state: "default" 0.0;
10837                visible: 0;
10838                fixed: 1 1;
10839                align: 0.5 0.0;
10840                rel1.to_y: "elm.swallow.content";
10841                rel1.relative: 0.5 1.0;
10842                rel1.offset: 0 -1;
10843                rel2.to_y: "elm.swallow.content";
10844                rel2.relative: 0.5 1.0;
10845                rel2.offset: -1 -1;
10846                color: 0 0 0 255;
10847                text {
10848                   font: "Sans,Edje-Vera";
10849                   size: 10;
10850                   min: 0 0;
10851                   align: 0.5 0.0;
10852                }
10853             }
10854             description { state: "visible" 0.0;
10855                inherit: "default" 0.0;
10856                visible: 1;
10857                text.min: 1 1;
10858                rel1.offset: 4 0;
10859                rel2.offset: -5 0;
10860             }
10861          }
10862          part { name: "units";
10863             mouse_events: 0;
10864             description { state: "default" 0.0;
10865                visible: 0;
10866                rel1 {
10867                   to: "elm.units";
10868                   offset: -8 0;
10869                }
10870                rel2 {
10871                   to: "elm.units";
10872                   offset: 7 8;
10873                }
10874                image {
10875                   normal: "slv_units.png";
10876                   border: 8 8 0 9;
10877                }
10878                fill.smooth: 0;
10879             }
10880             description { state: "visible" 0.0;
10881                inherit: "default" 0.0;
10882                visible: 1;
10883             }
10884          }
10885          part { name: "elm.units";
10886             type: TEXT;
10887             mouse_events: 0;
10888             scale: 1;
10889             description { state: "default" 0.0;
10890                visible: 0;
10891                fixed: 1 1;
10892                align: 0.5 1.0;
10893                rel1.relative: 0.0 1.0;
10894                rel1.offset: 8 0;
10895                rel2.relative: 1.0 1.0;
10896                rel2.offset: -9 0;
10897                color: 0 0 0 255;
10898                text {
10899                   font: "Sans,Edje-Vera";
10900                   size: 10;
10901                   min: 0 0;
10902                   align: 0.5 0.0;
10903                }
10904             }
10905             description { state: "visible" 0.0;
10906                inherit: "default" 0.0;
10907                fixed: 1 1;
10908                visible: 1;
10909                text.min: 1 1;
10910                rel1.offset: 8 -9;
10911                rel2.offset: -9 -9;
10912             }
10913          }
10914          part { name: "elm.dragable.slider";
10915             type: RECT;
10916             mouse_events: 0;
10917             scale: 1;
10918             dragable {
10919                x: 0 0 0;
10920                y: 1 1 0;
10921                confine: "bg";
10922             }
10923             description { state: "default" 0.0;
10924                min: 24 0;
10925                max: 24 0;
10926                fixed: 1 1;
10927                rel1 {
10928                   relative: 0.5  0.0;
10929                   to_y: "bg";
10930                }
10931                rel2 {
10932                   relative: 0.5  1.0;
10933                   to_y: "bg";
10934                }
10935                color: 0 0 0 0;
10936             }
10937          }
10938          part { name: "button_events";
10939             type: RECT;
10940             dragable {
10941                events: "elm.dragable.slider";
10942             }
10943             mouse_events: 1;
10944             description { state: "default" 0.0;
10945                fixed: 1 1;
10946                min: 16 16;
10947                aspect: 1.0 1.0;
10948                aspect_preference: HORIZONTAL;
10949                rel1.to_y: "elm.dragable.slider";
10950                rel2.to_y: "elm.dragable.slider";
10951                color: 0 0 0 0;
10952             }
10953          }
10954          part { name: "button0";
10955             mouse_events: 0;
10956             description { state: "default" 0.0;
10957                fixed: 1 1;
10958                max: 17 999;
10959                min: 17 24;
10960                rel1.to: "elm.dragable.slider";
10961                rel2.to: "elm.dragable.slider";
10962                image {
10963                   normal: "sl_bt_0.png";
10964                   border: 5 5 5 10;
10965                }
10966                fill.smooth: 0;
10967             }
10968          }
10969          part { name: "button1";
10970             mouse_events: 0;
10971             description { state: "default" 0.0;
10972                rel1.to: "button0";
10973                rel2 {
10974                   to: "button0";
10975                   relative: 1.0 0.5;
10976                   offset: -1 -5;
10977                }
10978                image {
10979                   normal: "sl_bt_1.png";
10980                   border: 5 5 5 0;
10981                }
10982             }
10983          }
10984          part { name: "button2";
10985             mouse_events: 0;
10986             description { state: "default" 0.0;
10987                rel1.to: "button0";
10988                rel2.to: "button0";
10989                image {
10990                   normal: "sl_bt_2.png";
10991                   border: 5 5 5 10;
10992                }
10993                fill.smooth: 0;
10994             }
10995          }
10996          part { name: "button3";
10997             mouse_events: 0;
10998             description { state: "default" 0.0;
10999                visible: 0;
11000                min: 8 32;
11001                align: 1.0 0.5;
11002                rel1 {
11003                   to_x: "elm.indicator";
11004                   to_y: "button4";
11005                   relative: 0.0 0.0;
11006                   offset: -7 0;
11007                }
11008                rel2 {
11009                   to: "button4";
11010                   relative: 0.0 1.0;
11011                   offset: -1 -1;
11012                }
11013                image {
11014                   normal: "sl_bt2_0_0.png";
11015                   border: 6 0 6 12;
11016                }
11017                fill.smooth: 0;
11018             }
11019             description { state: "visible" 0.0;
11020                inherit: "default" 0.0;
11021                visible: 1;
11022             }
11023          }
11024          part { name: "button4";
11025             mouse_events: 0;
11026             description { state: "default" 0.0;
11027                visible: 0;
11028                max: 15 999;
11029                min: 15 32;
11030                fixed: 1 1;
11031                rel1 {
11032                   to_x: "button0";
11033                   to_y: "elm.indicator";
11034                   offset: 0 -7;
11035                }
11036                rel2.to: "button0";
11037                image {
11038                   normal: "sl_bt2_0_1.png";
11039                   border: 0 0 6 12;
11040                }
11041                fill.smooth: 0;
11042             }
11043             description { state: "visible" 0.0;
11044                inherit: "default" 0.0;
11045                visible: 1;
11046             }
11047          }
11048          part { name: "button5";
11049             mouse_events: 0;
11050             description { state: "default" 0.0;
11051                visible: 0;
11052                min: 8 32;
11053                align: 0.0 0.5;
11054                rel1 {
11055                   to: "button4";
11056                   relative: 1.0 0.0;
11057                   offset: 0 0;
11058                }
11059                rel2 {
11060                   to_x: "elm.indicator";
11061                   to_y: "button4";
11062                   relative: 1.0 1.0;
11063                   offset: 6 -1;
11064                }
11065                image {
11066                   normal: "sl_bt2_0_2.png";
11067                   border: 0 6 6 12;
11068                }
11069                fill.smooth: 0;
11070             }
11071             description { state: "visible" 0.0;
11072                inherit: "default" 0.0;
11073                visible: 1;
11074             }
11075          }
11076          part { name: "elm.indicator";
11077             type: TEXT;
11078             mouse_events: 0;
11079             effect: SOFT_SHADOW;
11080             scale: 1;
11081             description { state: "default" 0.0;
11082                visible: 0;
11083                fixed: 1 1;
11084                align: 0.5 1.0;
11085                rel1 {
11086                   to: "button0";
11087                   relative: 0.0 -1.0;
11088                   offset: 0 0;
11089                }
11090                rel2 {
11091                   to: "button0";
11092                   relative: 1.0 -1.0;
11093                   offset: -1 0;
11094                }
11095                color: 224 224 224 255;
11096                color3: 0 0 0 64;
11097                text {
11098                   font:     "Sans,Edje-Vera";
11099                   size:     10;
11100                   min:      0 0;
11101                   align:    0.5 0.5;
11102                }
11103             }
11104             description { state: "visible" 0.0;
11105                inherit: "default" 0.0;
11106                visible: 1;
11107                text.min: 1 1;
11108                rel1.offset: 0 -1;
11109                rel2.offset: -1 -1;
11110             }
11111          }
11112          part { name: "button6";
11113             mouse_events: 0;
11114             description { state: "default" 0.0;
11115                visible: 0;
11116                rel1.to: "button3";
11117                rel2 {
11118                   to: "button5";
11119                   relative: 1.0 0.3;
11120                   offset: -1 -1;
11121                }
11122                image {
11123                   normal: "sl_bt2_1.png";
11124                   border: 5 5 5 0;
11125                }
11126                fill.smooth: 0;
11127             }
11128             description { state: "visible" 0.0;
11129                inherit: "default" 0.0;
11130                visible: 1;
11131             }
11132          }
11133          part { name: "button7";
11134             mouse_events: 0;
11135             description { state: "default" 0.0;
11136                visible: 0;
11137                rel1.to: "button3";
11138                rel2.to: "button5";
11139                image {
11140                   normal: "sl_bt2_2.png";
11141                   border: 5 5 5 0;
11142                   middle: 0;
11143                }
11144                fill.smooth: 0;
11145             }
11146             description { state: "visible" 0.0;
11147                inherit: "default" 0.0;
11148                visible: 1;
11149             }
11150          }
11151       }
11152       programs {
11153          program { name: "text_show";
11154             signal: "elm,state,text,visible";
11155             source: "elm";
11156             action:  STATE_SET "visible" 0.0;
11157             target: "elm.text";
11158          }
11159          program { name: "text_hide";
11160             signal: "elm,state,text,hidden";
11161             source: "elm";
11162             action:  STATE_SET "default" 0.0;
11163             target: "elm.text";
11164          }
11165          program { name: "icon_show";
11166             signal: "elm,state,icon,visible";
11167             source: "elm";
11168             action:  STATE_SET "visible" 0.0;
11169             target: "elm.swallow.content";
11170          }
11171          program { name: "icon_hide";
11172             signal: "elm,state,icon,hidden";
11173             source: "elm";
11174             action:  STATE_SET "default" 0.0;
11175             target: "elm.swallow.content";
11176          }
11177          program { name: "units_show";
11178             signal: "elm,state,units,visible";
11179             source: "elm";
11180             action:  STATE_SET "visible" 0.0;
11181             target: "elm.units";
11182             target: "units";
11183          }
11184          program { name: "units_hide";
11185             signal: "elm,state,units,hidden";
11186             source: "elm";
11187             action:  STATE_SET "default" 0.0;
11188             target: "elm.units";
11189             target: "units";
11190          }
11191          program { name: "invert_on";
11192             signal: "elm,state,inverted,on";
11193             source: "elm";
11194             action:  STATE_SET "inverted" 0.0;
11195             target: "level";
11196             target: "level2";
11197          }
11198          program { name: "invert_off";
11199             signal: "elm,state,inverted,off";
11200             source: "elm";
11201             action:  STATE_SET "default" 0.0;
11202             target: "level";
11203             target: "level2";
11204          }
11205          program { name: "val_show";
11206             signal: "mouse,down,*";
11207             source: "elm.dragable.slider";
11208             action:  STATE_SET "visible" 0.0;
11209             target: "elm.indicator";
11210             target: "button3";
11211             target: "button4";
11212             target: "button5";
11213             target: "button6";
11214             target: "button7";
11215          }
11216          program { name: "val_hide";
11217             signal: "mouse,up,*";
11218             source: "elm.dragable.slider";
11219             action:  STATE_SET "default" 0.0;
11220             target: "elm.indicator";
11221             target: "button3";
11222             target: "button4";
11223             target: "button5";
11224             target: "button6";
11225             target: "button7";
11226          }
11227       }
11228    }
11229
11230 ///////////////////////////////////////////////////////////////////////////////
11231    group { name: "elm/genlist/item/default/default";
11232       data.item: "stacking" "above";
11233       data.item: "selectraise" "on";
11234       data.item: "labels" "elm.text";
11235       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11236       data.item: "treesize" "20";
11237 //      data.item: "states" "";
11238       images {
11239          image: "bt_sm_base1.png" COMP;
11240          image: "bt_sm_shine.png" COMP;
11241          image: "bt_sm_hilight.png" COMP;
11242          image: "ilist_1.png" COMP;
11243          image: "ilist_item_shadow.png" COMP;
11244       }
11245       parts {
11246          part {
11247             name:           "event";
11248             type:           RECT;
11249             repeat_events: 1;
11250             description {
11251                state: "default" 0.0;
11252                color: 0 0 0 0;
11253             }
11254          }
11255          part {
11256             name: "base_sh";
11257             mouse_events: 0;
11258             description {
11259                state: "default" 0.0;
11260                align: 0.0 0.0;
11261                min: 0 10;
11262                fixed: 1 1;
11263                rel1 {
11264                   to: "base";
11265                   relative: 0.0 1.0;
11266                   offset: 0 0;
11267                }
11268                rel2 {
11269                   to: "base";
11270                   relative: 1.0 1.0;
11271                   offset: -1 0;
11272                }
11273                image {
11274                   normal: "ilist_item_shadow.png";
11275                }
11276                fill.smooth: 0;
11277             }
11278          }
11279          part {
11280             name: "base";
11281             mouse_events: 0;
11282             description {
11283                state: "default" 0.0;
11284                image {
11285                   normal: "ilist_1.png";
11286                   border: 2 2 2 2;
11287                }
11288                fill.smooth: 0;
11289             }
11290          }
11291          part { name: "bg";
11292             clip_to: "disclip";
11293             mouse_events: 0;
11294             description { state: "default" 0.0;
11295                visible: 0;
11296                color: 255 255 255 0;
11297                rel1 {
11298                   relative: 0.0 0.0;
11299                   offset: -5 -5;
11300                }
11301                rel2 {
11302                   relative: 1.0 1.0;
11303                   offset: 4 4;
11304                }
11305                image {
11306                   normal: "bt_sm_base1.png";
11307                   border: 6 6 6 6;
11308                }
11309                image.middle: SOLID;
11310             }
11311             description { state: "selected" 0.0;
11312                inherit: "default" 0.0;
11313                visible: 1;
11314                color: 255 255 255 255;
11315                rel1 {
11316                   relative: 0.0 0.0;
11317                   offset: -2 -2;
11318                }
11319                rel2 {
11320                   relative: 1.0 1.0;
11321                   offset: 1 1;
11322                }
11323             }
11324          }
11325          part { name: "elm.swallow.pad";
11326             type: SWALLOW;
11327             description { state: "default" 0.0;
11328                fixed: 1 0;
11329                align: 0.0 0.5;
11330                rel1 {
11331                   relative: 0.0  0.0;
11332                   offset:   4    4;
11333                }
11334                rel2 {
11335                   relative: 0.0  1.0;
11336                   offset:   4   -5;
11337                }
11338             }
11339          }
11340          part { name: "elm.swallow.icon";
11341             clip_to: "disclip";
11342             type: SWALLOW;
11343             description { state: "default" 0.0;
11344                fixed: 1 0;
11345                align: 0.0 0.5;
11346                rel1 {
11347                   to_x: "elm.swallow.pad";
11348                   relative: 1.0  0.0;
11349                   offset:   -1    4;
11350                }
11351                rel2 {
11352                   to_x: "elm.swallow.pad";
11353                   relative: 1.0  1.0;
11354                   offset:   -1   -5;
11355                }
11356             }
11357          }
11358          part { name: "elm.swallow.end";
11359             clip_to: "disclip";
11360             type: SWALLOW;
11361             description { state: "default" 0.0;
11362                fixed: 1 0;
11363                align: 1.0 0.5;
11364                aspect: 1.0 1.0;
11365                aspect_preference: VERTICAL;
11366                rel1 {
11367                   relative: 1.0  0.0;
11368                   offset:   -5    4;
11369                }
11370                rel2 {
11371                   relative: 1.0  1.0;
11372                   offset:   -5   -5;
11373                }
11374             }
11375          }
11376          part { name: "elm.text";
11377             clip_to: "disclip";
11378             type:           TEXT;
11379             effect:         SOFT_SHADOW;
11380             mouse_events:   0;
11381             scale: 1;
11382             description {
11383                state: "default" 0.0;
11384 //               min: 16 16;
11385                rel1 {
11386                   to_x:     "elm.swallow.icon";
11387                   relative: 1.0  0.0;
11388                   offset:   0 4;
11389                }
11390                rel2 {
11391                   to_x:     "elm.swallow.end";
11392                   relative: 0.0  1.0;
11393                   offset:   -1 -5;
11394                }
11395                color: 0 0 0 255;
11396                color3: 0 0 0 0;
11397                text {
11398                   font: "Sans";
11399                   size: 10;
11400                   min: 1 1;
11401 //                  min: 0 1;
11402                   align: 0.0 0.5;
11403                }
11404             }
11405             description { state: "selected" 0.0;
11406                inherit: "default" 0.0;
11407                color: 224 224 224 255;
11408                color3: 0 0 0 64;
11409             }
11410          }
11411          part { name: "fg1";
11412             clip_to: "disclip";
11413             mouse_events: 0;
11414             description { state: "default" 0.0;
11415                visible: 0;
11416                color: 255 255 255 0;
11417                rel1.to: "bg";
11418                rel2.relative: 1.0 0.5;
11419                rel2.to: "bg";
11420                image {
11421                   normal: "bt_sm_hilight.png";
11422                   border: 6 6 6 0;
11423                }
11424             }
11425             description { state: "selected" 0.0;
11426                inherit: "default" 0.0;
11427                visible: 1;
11428                color: 255 255 255 255;
11429             }
11430          }
11431          part { name: "fg2";
11432             clip_to: "disclip";
11433             mouse_events: 0;
11434             description { state: "default" 0.0;
11435                visible: 0;
11436                color: 255 255 255 0;
11437                rel1.to: "bg";
11438                rel2.to: "bg";
11439                image {
11440                   normal: "bt_sm_shine.png";
11441                   border: 6 6 6 0;
11442                }
11443             }
11444             description { state: "selected" 0.0;
11445                inherit: "default" 0.0;
11446                visible: 1;
11447                color: 255 255 255 255;
11448             }
11449          }
11450          part { name: "disclip";
11451             type: RECT;
11452             description { state: "default" 0.0;
11453                rel1.to: "bg";
11454                rel2.to: "bg";
11455             }
11456             description { state: "disabled" 0.0;
11457                inherit: "default" 0.0;
11458                color: 255 255 255 64;
11459             }
11460          }
11461       }
11462       programs {
11463          // signal: elm,state,%s,active
11464          //   a "check" item named %s went active
11465          // signal: elm,state,%s,passive
11466          //   a "check" item named %s went passive
11467          // default is passive
11468          program {
11469             name:    "go_active";
11470             signal:  "elm,state,selected";
11471             source:  "elm";
11472             action:  STATE_SET "selected" 0.0;
11473             target:  "bg";
11474             target:  "fg1";
11475             target:  "fg2";
11476             target:  "elm.text";
11477          }
11478          program {
11479             name:    "go_passive";
11480             signal:  "elm,state,unselected";
11481             source:  "elm";
11482             action:  STATE_SET "default" 0.0;
11483             target:  "bg";
11484             target:  "fg1";
11485             target:  "fg2";
11486             target:  "elm.text";
11487             transition: LINEAR 0.1;
11488          }
11489          program {
11490             name:    "go_disabled";
11491             signal:  "elm,state,disabled";
11492             source:  "elm";
11493             action:  STATE_SET "disabled" 0.0;
11494             target:  "disclip";
11495          }
11496          program {
11497             name:    "go_enabled";
11498             signal:  "elm,state,enabled";
11499             source:  "elm";
11500             action:  STATE_SET "default" 0.0;
11501             target:  "disclip";
11502          }
11503       }
11504    }
11505    group { name: "elm/genlist/item_compress/default/default";
11506       data.item: "stacking" "above";
11507       data.item: "selectraise" "on";
11508       data.item: "labels" "elm.text";
11509       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11510       data.item: "treesize" "20";
11511 //      data.item: "states" "";
11512       images {
11513          image: "bt_sm_base1.png" COMP;
11514          image: "bt_sm_shine.png" COMP;
11515          image: "bt_sm_hilight.png" COMP;
11516          image: "ilist_1.png" COMP;
11517          image: "ilist_item_shadow.png" COMP;
11518       }
11519       parts {
11520          part {
11521             name:           "event";
11522             type:           RECT;
11523             repeat_events: 1;
11524             description {
11525                state: "default" 0.0;
11526                color: 0 0 0 0;
11527             }
11528          }
11529          part {
11530             name: "base_sh";
11531             mouse_events: 0;
11532             description {
11533                state: "default" 0.0;
11534                align: 0.0 0.0;
11535                min: 0 10;
11536                fixed: 1 1;
11537                rel1 {
11538                   to: "base";
11539                   relative: 0.0 1.0;
11540                   offset: 0 0;
11541                }
11542                rel2 {
11543                   to: "base";
11544                   relative: 1.0 1.0;
11545                   offset: -1 0;
11546                }
11547                image {
11548                   normal: "ilist_item_shadow.png";
11549                }
11550                fill.smooth: 0;
11551             }
11552          }
11553          part {
11554             name: "base";
11555             mouse_events: 0;
11556             description {
11557                state: "default" 0.0;
11558                image {
11559                   normal: "ilist_1.png";
11560                   border: 2 2 2 2;
11561                }
11562                fill.smooth: 0;
11563             }
11564          }
11565          part { name: "bg";
11566             clip_to: "disclip";
11567             mouse_events: 0;
11568             description { state: "default" 0.0;
11569                visible: 0;
11570                color: 255 255 255 0;
11571                rel1 {
11572                   relative: 0.0 0.0;
11573                   offset: -5 -5;
11574                }
11575                rel2 {
11576                   relative: 1.0 1.0;
11577                   offset: 4 4;
11578                }
11579                image {
11580                   normal: "bt_sm_base1.png";
11581                   border: 6 6 6 6;
11582                }
11583                image.middle: SOLID;
11584             }
11585             description { state: "selected" 0.0;
11586                inherit: "default" 0.0;
11587                visible: 1;
11588                color: 255 255 255 255;
11589                rel1 {
11590                   relative: 0.0 0.0;
11591                   offset: -2 -2;
11592                }
11593                rel2 {
11594                   relative: 1.0 1.0;
11595                   offset: 1 1;
11596                }
11597             }
11598          }
11599          part { name: "elm.swallow.pad";
11600             type: SWALLOW;
11601             description { state: "default" 0.0;
11602                fixed: 1 0;
11603                align: 0.0 0.5;
11604                rel1 {
11605                   relative: 0.0  0.0;
11606                   offset:   4    4;
11607                }
11608                rel2 {
11609                   relative: 0.0  1.0;
11610                   offset:   4   -5;
11611                }
11612             }
11613          }
11614          part { name: "elm.swallow.icon";
11615             clip_to: "disclip";
11616             type: SWALLOW;
11617             description { state: "default" 0.0;
11618                fixed: 1 0;
11619                align: 0.0 0.5;
11620                rel1 {
11621                   to_x: "elm.swallow.pad";
11622                   relative: 1.0  0.0;
11623                   offset:   -1    4;
11624                }
11625                rel2 {
11626                   to_x: "elm.swallow.pad";
11627                   relative: 1.0  1.0;
11628                   offset:   -1   -5;
11629                }
11630             }
11631          }
11632          part { name: "elm.swallow.end";
11633             clip_to: "disclip";
11634             type: SWALLOW;
11635             description { state: "default" 0.0;
11636                fixed: 1 0;
11637                align: 1.0 0.5;
11638                aspect: 1.0 1.0;
11639                aspect_preference: VERTICAL;
11640                rel1 {
11641                   relative: 1.0  0.0;
11642                   offset:   -5    4;
11643                }
11644                rel2 {
11645                   relative: 1.0  1.0;
11646                   offset:   -5   -5;
11647                }
11648             }
11649          }
11650          part { name: "elm.text";
11651             clip_to: "disclip";
11652             type:           TEXT;
11653             effect:         SOFT_SHADOW;
11654             mouse_events:   0;
11655             scale: 1;
11656             description {
11657                state: "default" 0.0;
11658 //               min: 16 16;
11659                rel1 {
11660                   to_x:     "elm.swallow.icon";
11661                   relative: 1.0  0.0;
11662                   offset:   0 4;
11663                }
11664                rel2 {
11665                   to_x:     "elm.swallow.end";
11666                   relative: 0.0  1.0;
11667                   offset:   -1 -5;
11668                }
11669                color: 0 0 0 255;
11670                color3: 0 0 0 0;
11671                text {
11672                   font: "Sans";
11673                   size: 10;
11674                   min: 0 1;
11675 //                  min: 1 1;
11676                   align: 0.0 0.5;
11677                }
11678             }
11679             description { state: "selected" 0.0;
11680                inherit: "default" 0.0;
11681                color: 224 224 224 255;
11682                color3: 0 0 0 64;
11683             }
11684          }
11685          part { name: "fg1";
11686             clip_to: "disclip";
11687             mouse_events: 0;
11688             description { state: "default" 0.0;
11689                visible: 0;
11690                color: 255 255 255 0;
11691                rel1.to: "bg";
11692                rel2.relative: 1.0 0.5;
11693                rel2.to: "bg";
11694                image {
11695                   normal: "bt_sm_hilight.png";
11696                   border: 6 6 6 0;
11697                }
11698             }
11699             description { state: "selected" 0.0;
11700                inherit: "default" 0.0;
11701                visible: 1;
11702                color: 255 255 255 255;
11703             }
11704          }
11705          part { name: "fg2";
11706             clip_to: "disclip";
11707             mouse_events: 0;
11708             description { state: "default" 0.0;
11709                visible: 0;
11710                color: 255 255 255 0;
11711                rel1.to: "bg";
11712                rel2.to: "bg";
11713                image {
11714                   normal: "bt_sm_shine.png";
11715                   border: 6 6 6 0;
11716                }
11717             }
11718             description { state: "selected" 0.0;
11719                inherit: "default" 0.0;
11720                visible: 1;
11721                color: 255 255 255 255;
11722             }
11723          }
11724          part { name: "disclip";
11725             type: RECT;
11726             description { state: "default" 0.0;
11727                rel1.to: "bg";
11728                rel2.to: "bg";
11729             }
11730             description { state: "disabled" 0.0;
11731                inherit: "default" 0.0;
11732                color: 255 255 255 64;
11733             }
11734          }
11735       }
11736       programs {
11737          // signal: elm,state,%s,active
11738          //   a "check" item named %s went active
11739          // signal: elm,state,%s,passive
11740          //   a "check" item named %s went passive
11741          // default is passive
11742          program {
11743             name:    "go_active";
11744             signal:  "elm,state,selected";
11745             source:  "elm";
11746             action:  STATE_SET "selected" 0.0;
11747             target:  "bg";
11748             target:  "fg1";
11749             target:  "fg2";
11750             target:  "elm.text";
11751          }
11752          program {
11753             name:    "go_passive";
11754             signal:  "elm,state,unselected";
11755             source:  "elm";
11756             action:  STATE_SET "default" 0.0;
11757             target:  "bg";
11758             target:  "fg1";
11759             target:  "fg2";
11760             target:  "elm.text";
11761             transition: LINEAR 0.1;
11762          }
11763          program {
11764             name:    "go_disabled";
11765             signal:  "elm,state,disabled";
11766             source:  "elm";
11767             action:  STATE_SET "disabled" 0.0;
11768             target:  "disclip";
11769          }
11770          program {
11771             name:    "go_enabled";
11772             signal:  "elm,state,enabled";
11773             source:  "elm";
11774             action:  STATE_SET "default" 0.0;
11775             target:  "disclip";
11776          }
11777       }
11778    }
11779    group { name: "elm/genlist/item_odd/default/default";
11780       data.item: "stacking" "below";
11781       data.item: "selectraise" "on";
11782       data.item: "labels" "elm.text";
11783       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11784       data.item: "treesize" "20";
11785 //      data.item: "states" "";
11786       images {
11787          image: "bt_sm_base1.png" COMP;
11788          image: "bt_sm_shine.png" COMP;
11789          image: "bt_sm_hilight.png" COMP;
11790          image: "ilist_2.png" COMP;
11791       }
11792       parts {
11793          part { name: "event";
11794             type: RECT;
11795             repeat_events: 1;
11796             description {
11797                state: "default" 0.0;
11798                color: 0 0 0 0;
11799             }
11800          }
11801          part {
11802             name: "base";
11803             mouse_events: 0;
11804             description {
11805                state: "default" 0.0;
11806                image {
11807                   normal: "ilist_2.png";
11808                   border: 2 2 2 2;
11809                }
11810                fill.smooth: 0;
11811             }
11812          }
11813          part { name: "bg";
11814             clip_to: "disclip";
11815             mouse_events: 0;
11816             description { state: "default" 0.0;
11817                visible: 0;
11818                color: 255 255 255 0;
11819                rel1 {
11820                   relative: 0.0 0.0;
11821                   offset: -5 -5;
11822                }
11823                rel2 {
11824                   relative: 1.0 1.0;
11825                   offset: 4 4;
11826                }
11827                image {
11828                   normal: "bt_sm_base1.png";
11829                   border: 6 6 6 6;
11830                }
11831                image.middle: SOLID;
11832             }
11833             description { state: "selected" 0.0;
11834                inherit: "default" 0.0;
11835                visible: 1;
11836                color: 255 255 255 255;
11837                rel1 {
11838                   relative: 0.0 0.0;
11839                   offset: -2 -2;
11840                }
11841                rel2 {
11842                   relative: 1.0 1.0;
11843                   offset: 1 1;
11844                }
11845             }
11846          }
11847          part { name: "elm.swallow.pad";
11848             type: SWALLOW;
11849             description { state: "default" 0.0;
11850                fixed: 1 0;
11851                align: 0.0 0.5;
11852                rel1 {
11853                   relative: 0.0  0.0;
11854                   offset:   4    4;
11855                }
11856                rel2 {
11857                   relative: 0.0  1.0;
11858                   offset:   4   -5;
11859                }
11860             }
11861          }
11862          part { name: "elm.swallow.icon";
11863             clip_to: "disclip";
11864             type: SWALLOW;
11865             description { state: "default" 0.0;
11866                fixed: 1 0;
11867                align: 0.0 0.5;
11868                rel1 {
11869                   to_x: "elm.swallow.pad";
11870                   relative: 1.0  0.0;
11871                   offset:   -1    4;
11872                }
11873                rel2 {
11874                   to_x: "elm.swallow.pad";
11875                   relative: 1.0  1.0;
11876                   offset:   -1   -5;
11877                }
11878             }
11879          }
11880          part { name: "elm.swallow.end";
11881             clip_to: "disclip";
11882             type:          SWALLOW;
11883             description { state:    "default" 0.0;
11884                fixed: 1 0;
11885                align:    1.0 0.5;
11886                aspect: 1.0 1.0;
11887                aspect_preference: VERTICAL;
11888                rel1 {
11889                   relative: 1.0  0.0;
11890                   offset:   -5    4;
11891                }
11892                rel2 {
11893                   relative: 1.0  1.0;
11894                   offset:   -5   -5;
11895                }
11896             }
11897          }
11898          part { name: "elm.text";
11899             clip_to: "disclip";
11900             type:           TEXT;
11901             effect:         SOFT_SHADOW;
11902             mouse_events:   0;
11903             scale: 1;
11904             description {
11905                state: "default" 0.0;
11906 //               min:      16 16;
11907                rel1 {
11908                   to_x:     "elm.swallow.icon";
11909                   relative: 1.0  0.0;
11910                   offset:   0 4;
11911                }
11912                rel2 {
11913                   to_x:     "elm.swallow.end";
11914                   relative: 0.0  1.0;
11915                   offset:   -1 -5;
11916                }
11917                color: 0 0 0 255;
11918                color3: 0 0 0 0;
11919                text {
11920                   font: "Sans";
11921                   size: 10;
11922                   min: 1 1;
11923 //                  min: 0 1;
11924                   align: 0.0 0.5;
11925                }
11926             }
11927             description { state: "selected" 0.0;
11928                inherit: "default" 0.0;
11929                color: 224 224 224 255;
11930                color3: 0 0 0 64;
11931             }
11932          }
11933          part { name: "fg1";
11934             clip_to: "disclip";
11935             mouse_events: 0;
11936             description { state: "default" 0.0;
11937                visible: 0;
11938                color: 255 255 255 0;
11939                rel1.to: "bg";
11940                rel2.relative: 1.0 0.5;
11941                rel2.to: "bg";
11942                image {
11943                   normal: "bt_sm_hilight.png";
11944                   border: 6 6 6 0;
11945                }
11946             }
11947             description { state: "selected" 0.0;
11948                inherit: "default" 0.0;
11949                visible: 1;
11950                color: 255 255 255 255;
11951             }
11952          }
11953          part { name: "fg2";
11954             clip_to: "disclip";
11955             mouse_events: 0;
11956             description { state: "default" 0.0;
11957                visible: 0;
11958                color: 255 255 255 0;
11959                rel1.to: "bg";
11960                rel2.to: "bg";
11961                image {
11962                   normal: "bt_sm_shine.png";
11963                   border: 6 6 6 0;
11964                }
11965             }
11966             description { state: "selected" 0.0;
11967                inherit: "default" 0.0;
11968                visible: 1;
11969                color: 255 255 255 255;
11970             }
11971          }
11972          part { name: "disclip";
11973             type: RECT;
11974             description { state: "default" 0.0;
11975                rel1.to: "bg";
11976                rel2.to: "bg";
11977             }
11978             description { state: "disabled" 0.0;
11979                inherit: "default" 0.0;
11980                color: 255 255 255 64;
11981             }
11982          }
11983       }
11984       programs {
11985          // signal: elm,state,%s,active
11986          //   a "check" item named %s went active
11987          // signal: elm,state,%s,passive
11988          //   a "check" item named %s went passive
11989          // default is passive
11990          program {
11991             name:    "go_active";
11992             signal:  "elm,state,selected";
11993             source:  "elm";
11994             action:  STATE_SET "selected" 0.0;
11995             target:  "bg";
11996             target:  "fg1";
11997             target:  "fg2";
11998             target:  "elm.text";
11999          }
12000          program {
12001             name:    "go_passive";
12002             signal:  "elm,state,unselected";
12003             source:  "elm";
12004             action:  STATE_SET "default" 0.0;
12005             target:  "bg";
12006             target:  "fg1";
12007             target:  "fg2";
12008             target:  "elm.text";
12009             transition: LINEAR 0.1;
12010          }
12011          program {
12012             name:    "go_disabled";
12013             signal:  "elm,state,disabled";
12014             source:  "elm";
12015             action:  STATE_SET "disabled" 0.0;
12016             target:  "disclip";
12017          }
12018          program {
12019             name:    "go_enabled";
12020             signal:  "elm,state,enabled";
12021             source:  "elm";
12022             action:  STATE_SET "default" 0.0;
12023             target:  "disclip";
12024          }
12025       }
12026    }
12027    group { name: "elm/genlist/item_compress_odd/default/default";
12028       data.item: "stacking" "below";
12029       data.item: "selectraise" "on";
12030       data.item: "labels" "elm.text";
12031       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12032       data.item: "treesize" "20";
12033 //      data.item: "states" "";
12034       images {
12035          image: "bt_sm_base1.png" COMP;
12036          image: "bt_sm_shine.png" COMP;
12037          image: "bt_sm_hilight.png" COMP;
12038          image: "ilist_2.png" COMP;
12039       }
12040       parts {
12041          part { name: "event";
12042             type: RECT;
12043             repeat_events: 1;
12044             description {
12045                state: "default" 0.0;
12046                color: 0 0 0 0;
12047             }
12048          }
12049          part {
12050             name: "base";
12051             mouse_events: 0;
12052             description {
12053                state: "default" 0.0;
12054                image {
12055                   normal: "ilist_2.png";
12056                   border: 2 2 2 2;
12057                }
12058                fill.smooth: 0;
12059             }
12060          }
12061          part { name: "bg";
12062             clip_to: "disclip";
12063             mouse_events: 0;
12064             description { state: "default" 0.0;
12065                visible: 0;
12066                color: 255 255 255 0;
12067                rel1 {
12068                   relative: 0.0 0.0;
12069                   offset: -5 -5;
12070                }
12071                rel2 {
12072                   relative: 1.0 1.0;
12073                   offset: 4 4;
12074                }
12075                image {
12076                   normal: "bt_sm_base1.png";
12077                   border: 6 6 6 6;
12078                }
12079                image.middle: SOLID;
12080             }
12081             description { state: "selected" 0.0;
12082                inherit: "default" 0.0;
12083                visible: 1;
12084                color: 255 255 255 255;
12085                rel1 {
12086                   relative: 0.0 0.0;
12087                   offset: -2 -2;
12088                }
12089                rel2 {
12090                   relative: 1.0 1.0;
12091                   offset: 1 1;
12092                }
12093             }
12094          }
12095          part { name: "elm.swallow.pad";
12096             type: SWALLOW;
12097             description { state: "default" 0.0;
12098                fixed: 1 0;
12099                align: 0.0 0.5;
12100                rel1 {
12101                   relative: 0.0  0.0;
12102                   offset:   4    4;
12103                }
12104                rel2 {
12105                   relative: 0.0  1.0;
12106                   offset:   4   -5;
12107                }
12108             }
12109          }
12110          part { name: "elm.swallow.icon";
12111             clip_to: "disclip";
12112             type: SWALLOW;
12113             description { state: "default" 0.0;
12114                fixed: 1 0;
12115                align: 0.0 0.5;
12116                rel1 {
12117                   to_x: "elm.swallow.pad";
12118                   relative: 1.0  0.0;
12119                   offset:   -1    4;
12120                }
12121                rel2 {
12122                   to_x: "elm.swallow.pad";
12123                   relative: 1.0  1.0;
12124                   offset:   -1   -5;
12125                }
12126             }
12127          }
12128          part { name: "elm.swallow.end";
12129             clip_to: "disclip";
12130             type:          SWALLOW;
12131             description { state:    "default" 0.0;
12132                fixed: 1 0;
12133                align:    1.0 0.5;
12134                aspect: 1.0 1.0;
12135                aspect_preference: VERTICAL;
12136                rel1 {
12137                   relative: 1.0  0.0;
12138                   offset:   -5    4;
12139                }
12140                rel2 {
12141                   relative: 1.0  1.0;
12142                   offset:   -5   -5;
12143                }
12144             }
12145          }
12146          part { name: "elm.text";
12147             clip_to: "disclip";
12148             type:           TEXT;
12149             effect:         SOFT_SHADOW;
12150             mouse_events:   0;
12151             scale: 1;
12152             description {
12153                state: "default" 0.0;
12154 //               min:      16 16;
12155                rel1 {
12156                   to_x:     "elm.swallow.icon";
12157                   relative: 1.0  0.0;
12158                   offset:   0 4;
12159                }
12160                rel2 {
12161                   to_x:     "elm.swallow.end";
12162                   relative: 0.0  1.0;
12163                   offset:   -1 -5;
12164                }
12165                color: 0 0 0 255;
12166                color3: 0 0 0 0;
12167                text {
12168                   font: "Sans";
12169                   size: 10;
12170                   min: 0 1;
12171 //                  min: 1 1;
12172                   align: 0.0 0.5;
12173                }
12174             }
12175             description { state: "selected" 0.0;
12176                inherit: "default" 0.0;
12177                color: 224 224 224 255;
12178                color3: 0 0 0 64;
12179             }
12180          }
12181          part { name: "fg1";
12182             clip_to: "disclip";
12183             mouse_events: 0;
12184             description { state: "default" 0.0;
12185                visible: 0;
12186                color: 255 255 255 0;
12187                rel1.to: "bg";
12188                rel2.relative: 1.0 0.5;
12189                rel2.to: "bg";
12190                image {
12191                   normal: "bt_sm_hilight.png";
12192                   border: 6 6 6 0;
12193                }
12194             }
12195             description { state: "selected" 0.0;
12196                inherit: "default" 0.0;
12197                visible: 1;
12198                color: 255 255 255 255;
12199             }
12200          }
12201          part { name: "fg2";
12202             clip_to: "disclip";
12203             mouse_events: 0;
12204             description { state: "default" 0.0;
12205                visible: 0;
12206                color: 255 255 255 0;
12207                rel1.to: "bg";
12208                rel2.to: "bg";
12209                image {
12210                   normal: "bt_sm_shine.png";
12211                   border: 6 6 6 0;
12212                }
12213             }
12214             description { state: "selected" 0.0;
12215                inherit: "default" 0.0;
12216                visible: 1;
12217                color: 255 255 255 255;
12218             }
12219          }
12220          part { name: "disclip";
12221             type: RECT;
12222             description { state: "default" 0.0;
12223                rel1.to: "bg";
12224                rel2.to: "bg";
12225             }
12226             description { state: "disabled" 0.0;
12227                inherit: "default" 0.0;
12228                color: 255 255 255 64;
12229             }
12230          }
12231       }
12232       programs {
12233          // signal: elm,state,%s,active
12234          //   a "check" item named %s went active
12235          // signal: elm,state,%s,passive
12236          //   a "check" item named %s went passive
12237          // default is passive
12238          program {
12239             name:    "go_active";
12240             signal:  "elm,state,selected";
12241             source:  "elm";
12242             action:  STATE_SET "selected" 0.0;
12243             target:  "bg";
12244             target:  "fg1";
12245             target:  "fg2";
12246             target:  "elm.text";
12247          }
12248          program {
12249             name:    "go_passive";
12250             signal:  "elm,state,unselected";
12251             source:  "elm";
12252             action:  STATE_SET "default" 0.0;
12253             target:  "bg";
12254             target:  "fg1";
12255             target:  "fg2";
12256             target:  "elm.text";
12257             transition: LINEAR 0.1;
12258          }
12259          program {
12260             name:    "go_disabled";
12261             signal:  "elm,state,disabled";
12262             source:  "elm";
12263             action:  STATE_SET "disabled" 0.0;
12264             target:  "disclip";
12265          }
12266          program {
12267             name:    "go_enabled";
12268             signal:  "elm,state,enabled";
12269             source:  "elm";
12270             action:  STATE_SET "default" 0.0;
12271             target:  "disclip";
12272          }
12273       }
12274    }
12275
12276    group { name: "elm/genlist/tree/default/default";
12277       data.item: "stacking" "above";
12278       data.item: "selectraise" "on";
12279       data.item: "labels" "elm.text";
12280       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12281       data.item: "treesize" "20";
12282 //      data.item: "states" "";
12283       images {
12284          image: "bt_sm_base1.png" COMP;
12285          image: "bt_sm_shine.png" COMP;
12286          image: "bt_sm_hilight.png" COMP;
12287          image: "ilist_1.png" COMP;
12288          image: "ilist_item_shadow.png" COMP;
12289          image: "icon_arrow_right.png" COMP;
12290          image: "icon_arrow_down.png" COMP;
12291       }
12292       parts {
12293          part {
12294             name:           "event";
12295             type:           RECT;
12296             repeat_events: 1;
12297             description {
12298                state: "default" 0.0;
12299                color: 0 0 0 0;
12300             }
12301          }
12302          part {
12303             name: "base_sh";
12304             mouse_events: 0;
12305             description {
12306                state: "default" 0.0;
12307                align: 0.0 0.0;
12308                min: 0 10;
12309                fixed: 1 1;
12310                rel1 {
12311                   to: "base";
12312                   relative: 0.0 1.0;
12313                   offset: 0 0;
12314                }
12315                rel2 {
12316                   to: "base";
12317                   relative: 1.0 1.0;
12318                   offset: -1 0;
12319                }
12320                image {
12321                   normal: "ilist_item_shadow.png";
12322                }
12323                fill.smooth: 0;
12324             }
12325          }
12326          part {
12327             name: "base";
12328             mouse_events: 0;
12329             description {
12330                state: "default" 0.0;
12331                image {
12332                   normal: "ilist_1.png";
12333                   border: 2 2 2 2;
12334                }
12335                fill.smooth: 0;
12336             }
12337          }
12338          part { name: "bg";
12339             clip_to: "disclip";
12340             mouse_events: 0;
12341             description { state: "default" 0.0;
12342                visible: 0;
12343                color: 255 255 255 0;
12344                rel1 {
12345                   relative: 0.0 0.0;
12346                   offset: -5 -5;
12347                }
12348                rel2 {
12349                   relative: 1.0 1.0;
12350                   offset: 4 4;
12351                }
12352                image {
12353                   normal: "bt_sm_base1.png";
12354                   border: 6 6 6 6;
12355                }
12356                image.middle: SOLID;
12357             }
12358             description { state: "selected" 0.0;
12359                inherit: "default" 0.0;
12360                visible: 1;
12361                color: 255 255 255 255;
12362                rel1 {
12363                   relative: 0.0 0.0;
12364                   offset: -2 -2;
12365                }
12366                rel2 {
12367                   relative: 1.0 1.0;
12368                   offset: 1 1;
12369                }
12370             }
12371          }
12372          part { name: "elm.swallow.pad";
12373             type: SWALLOW;
12374             description { state: "default" 0.0;
12375                fixed: 1 0;
12376                align: 0.0 0.5;
12377                rel1 {
12378                   relative: 0.0  0.0;
12379                   offset:   4    4;
12380                }
12381                rel2 {
12382                   relative: 0.0  1.0;
12383                   offset:   4   -5;
12384                }
12385             }
12386          }
12387          part { name: "arrow";
12388             clip_to: "disclip";
12389             ignore_flags: ON_HOLD;
12390             description { state: "default" 0.0;
12391                fixed: 1 0;
12392                align: 0.0 0.5;
12393                aspect: 1.0 1.0;
12394                rel1 {
12395                   to_x: "elm.swallow.pad";
12396                   relative: 1.0  0.0;
12397                   offset:   -1    4;
12398                }
12399                rel2 {
12400                   to_x: "elm.swallow.pad";
12401                   relative: 1.0  1.0;
12402                   offset:   -1   -5;
12403                }
12404                image.normal: "icon_arrow_right.png";
12405             }
12406             description { state: "active" 0.0;
12407                inherit: "default" 0.0;
12408                image.normal: "icon_arrow_down.png";
12409             }
12410          }
12411          part { name: "elm.swallow.icon";
12412             clip_to: "disclip";
12413             type: SWALLOW;
12414             description { state: "default" 0.0;
12415                fixed: 1 0;
12416                align: 0.0 0.5;
12417                rel1 {
12418                   to_x: "arrow";
12419                   relative: 1.0  0.0;
12420                   offset:   4    4;
12421                }
12422                rel2 {
12423                   to_x: "arrow";
12424                   relative: 1.0  1.0;
12425                   offset:   4   -5;
12426                }
12427             }
12428          }
12429          part { name: "elm.swallow.end";
12430             clip_to: "disclip";
12431             type: SWALLOW;
12432             description { state: "default" 0.0;
12433                fixed: 1 0;
12434                align: 1.0 0.5;
12435                aspect: 1.0 1.0;
12436                aspect_preference: VERTICAL;
12437                rel1 {
12438                   relative: 1.0  0.0;
12439                   offset:   -5    4;
12440                }
12441                rel2 {
12442                   relative: 1.0  1.0;
12443                   offset:   -5   -5;
12444                }
12445             }
12446          }
12447          part { name: "elm.text";
12448             clip_to: "disclip";
12449             type:           TEXT;
12450             effect:         SOFT_SHADOW;
12451             mouse_events:   0;
12452             scale: 1;
12453             description {
12454                state: "default" 0.0;
12455 //               min: 16 16;
12456                rel1 {
12457                   to_x:     "elm.swallow.icon";
12458                   relative: 1.0  0.0;
12459                   offset:   0 4;
12460                }
12461                rel2 {
12462                   to_x:     "elm.swallow.end";
12463                   relative: 0.0  1.0;
12464                   offset:   -1 -5;
12465                }
12466                color: 0 0 0 255;
12467                color3: 0 0 0 0;
12468                text {
12469                   font: "Sans";
12470                   size: 10;
12471                   min: 1 1;
12472 //                  min: 0 1;
12473                   align: 0.0 0.5;
12474                }
12475             }
12476             description { state: "selected" 0.0;
12477                inherit: "default" 0.0;
12478                color: 224 224 224 255;
12479                color3: 0 0 0 64;
12480             }
12481          }
12482          part { name: "fg1";
12483             clip_to: "disclip";
12484             mouse_events: 0;
12485             description { state: "default" 0.0;
12486                visible: 0;
12487                color: 255 255 255 0;
12488                rel1.to: "bg";
12489                rel2.relative: 1.0 0.5;
12490                rel2.to: "bg";
12491                image {
12492                   normal: "bt_sm_hilight.png";
12493                   border: 6 6 6 0;
12494                }
12495             }
12496             description { state: "selected" 0.0;
12497                inherit: "default" 0.0;
12498                visible: 1;
12499                color: 255 255 255 255;
12500             }
12501          }
12502          part { name: "fg2";
12503             clip_to: "disclip";
12504             mouse_events: 0;
12505             description { state: "default" 0.0;
12506                visible: 0;
12507                color: 255 255 255 0;
12508                rel1.to: "bg";
12509                rel2.to: "bg";
12510                image {
12511                   normal: "bt_sm_shine.png";
12512                   border: 6 6 6 0;
12513                }
12514             }
12515             description { state: "selected" 0.0;
12516                inherit: "default" 0.0;
12517                visible: 1;
12518                color: 255 255 255 255;
12519             }
12520          }
12521          part { name: "disclip";
12522             type: RECT;
12523             description { state: "default" 0.0;
12524                rel1.to: "bg";
12525                rel2.to: "bg";
12526             }
12527             description { state: "disabled" 0.0;
12528                inherit: "default" 0.0;
12529                color: 255 255 255 64;
12530             }
12531          }
12532       }
12533       programs {
12534          // signal: elm,state,%s,active
12535          //   a "check" item named %s went active
12536          // signal: elm,state,%s,passive
12537          //   a "check" item named %s went passive
12538          // default is passive
12539          program {
12540             name:    "go_active";
12541             signal:  "elm,state,selected";
12542             source:  "elm";
12543             action:  STATE_SET "selected" 0.0;
12544             target:  "bg";
12545             target:  "fg1";
12546             target:  "fg2";
12547             target:  "elm.text";
12548          }
12549          program {
12550             name:    "go_passive";
12551             signal:  "elm,state,unselected";
12552             source:  "elm";
12553             action:  STATE_SET "default" 0.0;
12554             target:  "bg";
12555             target:  "fg1";
12556             target:  "fg2";
12557             target:  "elm.text";
12558             transition: LINEAR 0.1;
12559          }
12560          program {
12561             name:    "go_disabled";
12562             signal:  "elm,state,disabled";
12563             source:  "elm";
12564             action:  STATE_SET "disabled" 0.0;
12565             target:  "disclip";
12566          }
12567          program {
12568             name:    "go_enabled";
12569             signal:  "elm,state,enabled";
12570             source:  "elm";
12571             action:  STATE_SET "default" 0.0;
12572             target:  "disclip";
12573          }
12574          program {
12575             name:    "expand";
12576             signal:  "mouse,up,1";
12577             source:  "arrow";
12578             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12579          }
12580          program {
12581             name:    "go_expanded";
12582             signal:  "elm,state,expanded";
12583             source:  "elm";
12584             action:  STATE_SET "active" 0.0;
12585             target:  "arrow";
12586          }
12587          program {
12588             name:    "go_contracted";
12589             signal:  "elm,state,contracted";
12590             source:  "elm";
12591             action:  STATE_SET "default" 0.0;
12592             target:  "arrow";
12593          }
12594       }
12595    }
12596    group { name: "elm/genlist/tree_compress/default/default";
12597       data.item: "stacking" "above";
12598       data.item: "selectraise" "on";
12599       data.item: "labels" "elm.text";
12600       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12601       data.item: "treesize" "20";
12602 //      data.item: "states" "";
12603       images {
12604          image: "bt_sm_base1.png" COMP;
12605          image: "bt_sm_shine.png" COMP;
12606          image: "bt_sm_hilight.png" COMP;
12607          image: "ilist_1.png" COMP;
12608          image: "ilist_item_shadow.png" COMP;
12609          image: "icon_arrow_right.png" COMP;
12610          image: "icon_arrow_down.png" COMP;
12611       }
12612       parts {
12613          part {
12614             name:           "event";
12615             type:           RECT;
12616             repeat_events: 1;
12617             description {
12618                state: "default" 0.0;
12619                color: 0 0 0 0;
12620             }
12621          }
12622          part {
12623             name: "base_sh";
12624             mouse_events: 0;
12625             description {
12626                state: "default" 0.0;
12627                align: 0.0 0.0;
12628                min: 0 10;
12629                fixed: 1 1;
12630                rel1 {
12631                   to: "base";
12632                   relative: 0.0 1.0;
12633                   offset: 0 0;
12634                }
12635                rel2 {
12636                   to: "base";
12637                   relative: 1.0 1.0;
12638                   offset: -1 0;
12639                }
12640                image {
12641                   normal: "ilist_item_shadow.png";
12642                }
12643                fill.smooth: 0;
12644             }
12645          }
12646          part {
12647             name: "base";
12648             mouse_events: 0;
12649             description {
12650                state: "default" 0.0;
12651                image {
12652                   normal: "ilist_1.png";
12653                   border: 2 2 2 2;
12654                }
12655                fill.smooth: 0;
12656             }
12657          }
12658          part { name: "bg";
12659             clip_to: "disclip";
12660             mouse_events: 0;
12661             description { state: "default" 0.0;
12662                visible: 0;
12663                color: 255 255 255 0;
12664                rel1 {
12665                   relative: 0.0 0.0;
12666                   offset: -5 -5;
12667                }
12668                rel2 {
12669                   relative: 1.0 1.0;
12670                   offset: 4 4;
12671                }
12672                image {
12673                   normal: "bt_sm_base1.png";
12674                   border: 6 6 6 6;
12675                }
12676                image.middle: SOLID;
12677             }
12678             description { state: "selected" 0.0;
12679                inherit: "default" 0.0;
12680                visible: 1;
12681                color: 255 255 255 255;
12682                rel1 {
12683                   relative: 0.0 0.0;
12684                   offset: -2 -2;
12685                }
12686                rel2 {
12687                   relative: 1.0 1.0;
12688                   offset: 1 1;
12689                }
12690             }
12691          }
12692          part { name: "elm.swallow.pad";
12693             type: SWALLOW;
12694             description { state: "default" 0.0;
12695                fixed: 1 0;
12696                align: 0.0 0.5;
12697                rel1 {
12698                   relative: 0.0  0.0;
12699                   offset:   4    4;
12700                }
12701                rel2 {
12702                   relative: 0.0  1.0;
12703                   offset:   4   -5;
12704                }
12705             }
12706          }
12707          part { name: "arrow";
12708             clip_to: "disclip";
12709             ignore_flags: ON_HOLD;
12710             description { state: "default" 0.0;
12711                fixed: 1 0;
12712                align: 0.0 0.5;
12713                aspect: 1.0 1.0;
12714                rel1 {
12715                   to_x: "elm.swallow.pad";
12716                   relative: 1.0  0.0;
12717                   offset:   -1    4;
12718                }
12719                rel2 {
12720                   to_x: "elm.swallow.pad";
12721                   relative: 1.0  1.0;
12722                   offset:   -1   -5;
12723                }
12724                image.normal: "icon_arrow_right.png";
12725             }
12726             description { state: "active" 0.0;
12727                inherit: "default" 0.0;
12728                image.normal: "icon_arrow_down.png";
12729             }
12730          }
12731          part { name: "elm.swallow.icon";
12732             clip_to: "disclip";
12733             type: SWALLOW;
12734             description { state: "default" 0.0;
12735                fixed: 1 0;
12736                align: 0.0 0.5;
12737                rel1 {
12738                   to_x: "arrow";
12739                   relative: 1.0  0.0;
12740                   offset:   4    4;
12741                }
12742                rel2 {
12743                   to_x: "arrow";
12744                   relative: 1.0  1.0;
12745                   offset:   4   -5;
12746                }
12747             }
12748          }
12749          part { name: "elm.swallow.end";
12750             clip_to: "disclip";
12751             type: SWALLOW;
12752             description { state: "default" 0.0;
12753                fixed: 1 0;
12754                align: 1.0 0.5;
12755                aspect: 1.0 1.0;
12756                aspect_preference: VERTICAL;
12757                rel1 {
12758                   relative: 1.0  0.0;
12759                   offset:   -5    4;
12760                }
12761                rel2 {
12762                   relative: 1.0  1.0;
12763                   offset:   -5   -5;
12764                }
12765             }
12766          }
12767          part { name: "elm.text";
12768             clip_to: "disclip";
12769             type:           TEXT;
12770             effect:         SOFT_SHADOW;
12771             mouse_events:   0;
12772             scale: 1;
12773             description {
12774                state: "default" 0.0;
12775 //               min: 16 16;
12776                rel1 {
12777                   to_x:     "elm.swallow.icon";
12778                   relative: 1.0  0.0;
12779                   offset:   0 4;
12780                }
12781                rel2 {
12782                   to_x:     "elm.swallow.end";
12783                   relative: 0.0  1.0;
12784                   offset:   -1 -5;
12785                }
12786                color: 0 0 0 255;
12787                color3: 0 0 0 0;
12788                text {
12789                   font: "Sans";
12790                   size: 10;
12791 //                  min: 1 1;
12792                   min: 0 1;
12793                   align: 0.0 0.5;
12794                }
12795             }
12796             description { state: "selected" 0.0;
12797                inherit: "default" 0.0;
12798                color: 224 224 224 255;
12799                color3: 0 0 0 64;
12800             }
12801          }
12802          part { name: "fg1";
12803             clip_to: "disclip";
12804             mouse_events: 0;
12805             description { state: "default" 0.0;
12806                visible: 0;
12807                color: 255 255 255 0;
12808                rel1.to: "bg";
12809                rel2.relative: 1.0 0.5;
12810                rel2.to: "bg";
12811                image {
12812                   normal: "bt_sm_hilight.png";
12813                   border: 6 6 6 0;
12814                }
12815             }
12816             description { state: "selected" 0.0;
12817                inherit: "default" 0.0;
12818                visible: 1;
12819                color: 255 255 255 255;
12820             }
12821          }
12822          part { name: "fg2";
12823             clip_to: "disclip";
12824             mouse_events: 0;
12825             description { state: "default" 0.0;
12826                visible: 0;
12827                color: 255 255 255 0;
12828                rel1.to: "bg";
12829                rel2.to: "bg";
12830                image {
12831                   normal: "bt_sm_shine.png";
12832                   border: 6 6 6 0;
12833                }
12834             }
12835             description { state: "selected" 0.0;
12836                inherit: "default" 0.0;
12837                visible: 1;
12838                color: 255 255 255 255;
12839             }
12840          }
12841          part { name: "disclip";
12842             type: RECT;
12843             description { state: "default" 0.0;
12844                rel1.to: "bg";
12845                rel2.to: "bg";
12846             }
12847             description { state: "disabled" 0.0;
12848                inherit: "default" 0.0;
12849                color: 255 255 255 64;
12850             }
12851          }
12852       }
12853       programs {
12854          // signal: elm,state,%s,active
12855          //   a "check" item named %s went active
12856          // signal: elm,state,%s,passive
12857          //   a "check" item named %s went passive
12858          // default is passive
12859          program {
12860             name:    "go_active";
12861             signal:  "elm,state,selected";
12862             source:  "elm";
12863             action:  STATE_SET "selected" 0.0;
12864             target:  "bg";
12865             target:  "fg1";
12866             target:  "fg2";
12867             target:  "elm.text";
12868          }
12869          program {
12870             name:    "go_passive";
12871             signal:  "elm,state,unselected";
12872             source:  "elm";
12873             action:  STATE_SET "default" 0.0;
12874             target:  "bg";
12875             target:  "fg1";
12876             target:  "fg2";
12877             target:  "elm.text";
12878             transition: LINEAR 0.1;
12879          }
12880          program {
12881             name:    "go_disabled";
12882             signal:  "elm,state,disabled";
12883             source:  "elm";
12884             action:  STATE_SET "disabled" 0.0;
12885             target:  "disclip";
12886          }
12887          program {
12888             name:    "go_enabled";
12889             signal:  "elm,state,enabled";
12890             source:  "elm";
12891             action:  STATE_SET "default" 0.0;
12892             target:  "disclip";
12893          }
12894          program {
12895             name:    "expand";
12896             signal:  "mouse,up,1";
12897             source:  "arrow";
12898             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12899          }
12900          program {
12901             name:    "go_expanded";
12902             signal:  "elm,state,expanded";
12903             source:  "elm";
12904             action:  STATE_SET "active" 0.0;
12905             target:  "arrow";
12906          }
12907          program {
12908             name:    "go_contracted";
12909             signal:  "elm,state,contracted";
12910             source:  "elm";
12911             action:  STATE_SET "default" 0.0;
12912             target:  "arrow";
12913          }
12914       }
12915    }
12916    group { name: "elm/genlist/tree_odd/default/default";
12917       data.item: "stacking" "below";
12918       data.item: "selectraise" "on";
12919       data.item: "labels" "elm.text";
12920       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12921       data.item: "treesize" "20";
12922 //      data.item: "states" "";
12923       images {
12924          image: "bt_sm_base1.png" COMP;
12925          image: "bt_sm_shine.png" COMP;
12926          image: "bt_sm_hilight.png" COMP;
12927          image: "ilist_2.png" COMP;
12928          image: "icon_arrow_right.png" COMP;
12929          image: "icon_arrow_down.png" COMP;
12930       }
12931       parts {
12932          part {
12933             name:           "event";
12934             type:           RECT;
12935             repeat_events: 1;
12936             description {
12937                state: "default" 0.0;
12938                color: 0 0 0 0;
12939             }
12940          }
12941          part {
12942             name: "base";
12943             mouse_events: 0;
12944             description {
12945                state: "default" 0.0;
12946                image {
12947                   normal: "ilist_2.png";
12948                   border: 2 2 2 2;
12949                }
12950                fill.smooth: 0;
12951             }
12952          }
12953          part { name: "bg";
12954             clip_to: "disclip";
12955             mouse_events: 0;
12956             description { state: "default" 0.0;
12957                visible: 0;
12958                color: 255 255 255 0;
12959                rel1 {
12960                   relative: 0.0 0.0;
12961                   offset: -5 -5;
12962                }
12963                rel2 {
12964                   relative: 1.0 1.0;
12965                   offset: 4 4;
12966                }
12967                image {
12968                   normal: "bt_sm_base1.png";
12969                   border: 6 6 6 6;
12970                }
12971                image.middle: SOLID;
12972             }
12973             description { state: "selected" 0.0;
12974                inherit: "default" 0.0;
12975                visible: 1;
12976                color: 255 255 255 255;
12977                rel1 {
12978                   relative: 0.0 0.0;
12979                   offset: -2 -2;
12980                }
12981                rel2 {
12982                   relative: 1.0 1.0;
12983                   offset: 1 1;
12984                }
12985             }
12986          }
12987          part { name: "elm.swallow.pad";
12988             type: SWALLOW;
12989             description { state: "default" 0.0;
12990                fixed: 1 0;
12991                align: 0.0 0.5;
12992                rel1 {
12993                   relative: 0.0  0.0;
12994                   offset:   4    4;
12995                }
12996                rel2 {
12997                   relative: 0.0  1.0;
12998                   offset:   4   -5;
12999                }
13000             }
13001          }
13002          part { name: "arrow";
13003             clip_to: "disclip";
13004             ignore_flags: ON_HOLD;
13005             description { state: "default" 0.0;
13006                fixed: 1 0;
13007                align: 0.0 0.5;
13008                aspect: 1.0 1.0;
13009                rel1 {
13010                   to_x: "elm.swallow.pad";
13011                   relative: 1.0  0.0;
13012                   offset:   -1    4;
13013                }
13014                rel2 {
13015                   to_x: "elm.swallow.pad";
13016                   relative: 1.0  1.0;
13017                   offset:   -1   -5;
13018                }
13019                image.normal: "icon_arrow_right.png";
13020             }
13021             description { state: "active" 0.0;
13022                inherit: "default" 0.0;
13023                image.normal: "icon_arrow_down.png";
13024             }
13025          }
13026          part { name: "elm.swallow.icon";
13027             clip_to: "disclip";
13028             type: SWALLOW;
13029             description { state: "default" 0.0;
13030                fixed: 1 0;
13031                align: 0.0 0.5;
13032                rel1 {
13033                   to_x: "arrow";
13034                   relative: 1.0  0.0;
13035                   offset:   4    4;
13036                }
13037                rel2 {
13038                   to_x: "arrow";
13039                   relative: 1.0  1.0;
13040                   offset:   4   -5;
13041                }
13042             }
13043          }
13044          part { name: "elm.swallow.end";
13045             clip_to: "disclip";
13046             type: SWALLOW;
13047             description { state: "default" 0.0;
13048                fixed: 1 0;
13049                align: 1.0 0.5;
13050                aspect: 1.0 1.0;
13051                aspect_preference: VERTICAL;
13052                rel1 {
13053                   relative: 1.0  0.0;
13054                   offset:   -5    4;
13055                }
13056                rel2 {
13057                   relative: 1.0  1.0;
13058                   offset:   -5   -5;
13059                }
13060             }
13061          }
13062          part { name: "elm.text";
13063             clip_to: "disclip";
13064             type:           TEXT;
13065             effect:         SOFT_SHADOW;
13066             mouse_events:   0;
13067             scale: 1;
13068             description {
13069                state: "default" 0.0;
13070 //               min: 16 16;
13071                rel1 {
13072                   to_x:     "elm.swallow.icon";
13073                   relative: 1.0  0.0;
13074                   offset:   0 4;
13075                }
13076                rel2 {
13077                   to_x:     "elm.swallow.end";
13078                   relative: 0.0  1.0;
13079                   offset:   -1 -5;
13080                }
13081                color: 0 0 0 255;
13082                color3: 0 0 0 0;
13083                text {
13084                   font: "Sans";
13085                   size: 10;
13086                   min: 1 1;
13087 //                  min: 0 1;
13088                   align: 0.0 0.5;
13089                }
13090             }
13091             description { state: "selected" 0.0;
13092                inherit: "default" 0.0;
13093                color: 224 224 224 255;
13094                color3: 0 0 0 64;
13095             }
13096          }
13097          part { name: "fg1";
13098             clip_to: "disclip";
13099             mouse_events: 0;
13100             description { state: "default" 0.0;
13101                visible: 0;
13102                color: 255 255 255 0;
13103                rel1.to: "bg";
13104                rel2.relative: 1.0 0.5;
13105                rel2.to: "bg";
13106                image {
13107                   normal: "bt_sm_hilight.png";
13108                   border: 6 6 6 0;
13109                }
13110             }
13111             description { state: "selected" 0.0;
13112                inherit: "default" 0.0;
13113                visible: 1;
13114                color: 255 255 255 255;
13115             }
13116          }
13117          part { name: "fg2";
13118             clip_to: "disclip";
13119             mouse_events: 0;
13120             description { state: "default" 0.0;
13121                visible: 0;
13122                color: 255 255 255 0;
13123                rel1.to: "bg";
13124                rel2.to: "bg";
13125                image {
13126                   normal: "bt_sm_shine.png";
13127                   border: 6 6 6 0;
13128                }
13129             }
13130             description { state: "selected" 0.0;
13131                inherit: "default" 0.0;
13132                visible: 1;
13133                color: 255 255 255 255;
13134             }
13135          }
13136          part { name: "disclip";
13137             type: RECT;
13138             description { state: "default" 0.0;
13139                rel1.to: "bg";
13140                rel2.to: "bg";
13141             }
13142             description { state: "disabled" 0.0;
13143                inherit: "default" 0.0;
13144                color: 255 255 255 64;
13145             }
13146          }
13147       }
13148       programs {
13149          // signal: elm,state,%s,active
13150          //   a "check" item named %s went active
13151          // signal: elm,state,%s,passive
13152          //   a "check" item named %s went passive
13153          // default is passive
13154          program {
13155             name:    "go_active";
13156             signal:  "elm,state,selected";
13157             source:  "elm";
13158             action:  STATE_SET "selected" 0.0;
13159             target:  "bg";
13160             target:  "fg1";
13161             target:  "fg2";
13162             target:  "elm.text";
13163          }
13164          program {
13165             name:    "go_passive";
13166             signal:  "elm,state,unselected";
13167             source:  "elm";
13168             action:  STATE_SET "default" 0.0;
13169             target:  "bg";
13170             target:  "fg1";
13171             target:  "fg2";
13172             target:  "elm.text";
13173             transition: LINEAR 0.1;
13174          }
13175          program {
13176             name:    "go_disabled";
13177             signal:  "elm,state,disabled";
13178             source:  "elm";
13179             action:  STATE_SET "disabled" 0.0;
13180             target:  "disclip";
13181          }
13182          program {
13183             name:    "go_enabled";
13184             signal:  "elm,state,enabled";
13185             source:  "elm";
13186             action:  STATE_SET "default" 0.0;
13187             target:  "disclip";
13188          }
13189          program {
13190             name:    "expand";
13191             signal:  "mouse,up,1";
13192             source:  "arrow";
13193             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
13194          }
13195          program {
13196             name:    "go_expanded";
13197             signal:  "elm,state,expanded";
13198             source:  "elm";
13199             action:  STATE_SET "active" 0.0;
13200             target:  "arrow";
13201          }
13202          program {
13203             name:    "go_contracted";
13204             signal:  "elm,state,contracted";
13205             source:  "elm";
13206             action:  STATE_SET "default" 0.0;
13207             target:  "arrow";
13208          }
13209       }
13210    }
13211    group { name: "elm/genlist/tree_compress_odd/default/default";
13212       data.item: "stacking" "below";
13213       data.item: "selectraise" "on";
13214       data.item: "labels" "elm.text";
13215       data.item: "icons" "elm.swallow.icon elm.swallow.end";
13216       data.item: "treesize" "20";
13217 //      data.item: "states" "";
13218       images {
13219          image: "bt_sm_base1.png" COMP;
13220          image: "bt_sm_shine.png" COMP;
13221          image: "bt_sm_hilight.png" COMP;
13222          image: "ilist_2.png" COMP;
13223          image: "icon_arrow_right.png" COMP;
13224          image: "icon_arrow_down.png" COMP;
13225       }
13226       parts {
13227          part {
13228             name:           "event";
13229             type:           RECT;
13230             repeat_events: 1;
13231             description {
13232                state: "default" 0.0;
13233                color: 0 0 0 0;
13234             }
13235          }
13236          part {
13237             name: "base";
13238             mouse_events: 0;
13239             description {
13240                state: "default" 0.0;
13241                image {
13242                   normal: "ilist_2.png";
13243                   border: 2 2 2 2;
13244                }
13245                fill.smooth: 0;
13246             }
13247          }
13248          part { name: "bg";
13249             clip_to: "disclip";
13250             mouse_events: 0;
13251             description { state: "default" 0.0;
13252                visible: 0;
13253                color: 255 255 255 0;
13254                rel1 {
13255                   relative: 0.0 0.0;
13256                   offset: -5 -5;
13257                }
13258                rel2 {
13259                   relative: 1.0 1.0;
13260                   offset: 4 4;
13261                }
13262                image {
13263                   normal: "bt_sm_base1.png";
13264                   border: 6 6 6 6;
13265                }
13266                image.middle: SOLID;
13267             }
13268             description { state: "selected" 0.0;
13269                inherit: "default" 0.0;
13270                visible: 1;
13271                color: 255 255 255 255;
13272                rel1 {
13273                   relative: 0.0 0.0;
13274                   offset: -2 -2;
13275                }
13276                rel2 {
13277                   relative: 1.0 1.0;
13278                   offset: 1 1;
13279                }
13280             }
13281          }
13282          part { name: "elm.swallow.pad";
13283             type: SWALLOW;
13284             description { state: "default" 0.0;
13285                fixed: 1 0;
13286                align: 0.0 0.5;
13287                rel1 {
13288                   relative: 0.0  0.0;
13289                   offset:   4    4;
13290                }
13291                rel2 {
13292                   relative: 0.0  1.0;
13293                   offset:   4   -5;
13294                }
13295             }
13296          }
13297          part { name: "arrow";
13298             clip_to: "disclip";
13299             ignore_flags: ON_HOLD;
13300             description { state: "default" 0.0;
13301                fixed: 1 0;
13302                align: 0.0 0.5;
13303                aspect: 1.0 1.0;
13304                rel1 {
13305                   to_x: "elm.swallow.pad";
13306                   relative: 1.0  0.0;
13307                   offset:   -1    4;
13308                }
13309                rel2 {
13310                   to_x: "elm.swallow.pad";
13311                   relative: 1.0  1.0;
13312                   offset:   -1   -5;
13313                }
13314                image.normal: "icon_arrow_right.png";
13315             }
13316             description { state: "active" 0.0;
13317                inherit: "default" 0.0;
13318                image.normal: "icon_arrow_down.png";
13319             }
13320          }
13321          part { name: "elm.swallow.icon";
13322             clip_to: "disclip";
13323             type: SWALLOW;
13324             description { state: "default" 0.0;
13325                fixed: 1 0;
13326                align: 0.0 0.5;
13327                rel1 {
13328                   to_x: "arrow";
13329                   relative: 1.0  0.0;
13330                   offset:   4    4;
13331                }
13332                rel2 {
13333                   to_x: "arrow";
13334                   relative: 1.0  1.0;
13335                   offset:   4   -5;
13336                }
13337             }
13338          }
13339          part { name: "elm.swallow.end";
13340             clip_to: "disclip";
13341             type: SWALLOW;
13342             description { state: "default" 0.0;
13343                fixed: 1 0;
13344                align: 1.0 0.5;
13345                aspect: 1.0 1.0;
13346                aspect_preference: VERTICAL;
13347                rel1 {
13348                   relative: 1.0  0.0;
13349                   offset:   -5    4;
13350                }
13351                rel2 {
13352                   relative: 1.0  1.0;
13353                   offset:   -5   -5;
13354                }
13355             }
13356          }
13357          part { name: "elm.text";
13358             clip_to: "disclip";
13359             type:           TEXT;
13360             effect:         SOFT_SHADOW;
13361             mouse_events:   0;
13362             scale: 1;
13363             description {
13364                state: "default" 0.0;
13365 //               min: 16 16;
13366                rel1 {
13367                   to_x:     "elm.swallow.icon";
13368                   relative: 1.0  0.0;
13369                   offset:   0 4;
13370                }
13371                rel2 {
13372                   to_x:     "elm.swallow.end";
13373                   relative: 0.0  1.0;
13374                   offset:   -1 -5;
13375                }
13376                color: 0 0 0 255;
13377                color3: 0 0 0 0;
13378                text {
13379                   font: "Sans";
13380                   size: 10;
13381 //                  min: 1 1;
13382                   min: 0 1;
13383                   align: 0.0 0.5;
13384                }
13385             }
13386             description { state: "selected" 0.0;
13387                inherit: "default" 0.0;
13388                color: 224 224 224 255;
13389                color3: 0 0 0 64;
13390             }
13391          }
13392          part { name: "fg1";
13393             clip_to: "disclip";
13394             mouse_events: 0;
13395             description { state: "default" 0.0;
13396                visible: 0;
13397                color: 255 255 255 0;
13398                rel1.to: "bg";
13399                rel2.relative: 1.0 0.5;
13400                rel2.to: "bg";
13401                image {
13402                   normal: "bt_sm_hilight.png";
13403                   border: 6 6 6 0;
13404                }
13405             }
13406             description { state: "selected" 0.0;
13407                inherit: "default" 0.0;
13408                visible: 1;
13409                color: 255 255 255 255;
13410             }
13411          }
13412          part { name: "fg2";
13413             clip_to: "disclip";
13414             mouse_events: 0;
13415             description { state: "default" 0.0;
13416                visible: 0;
13417                color: 255 255 255 0;
13418                rel1.to: "bg";
13419                rel2.to: "bg";
13420                image {
13421                   normal: "bt_sm_shine.png";
13422                   border: 6 6 6 0;
13423                }
13424             }
13425             description { state: "selected" 0.0;
13426                inherit: "default" 0.0;
13427                visible: 1;
13428                color: 255 255 255 255;
13429             }
13430          }
13431          part { name: "disclip";
13432             type: RECT;
13433             description { state: "default" 0.0;
13434                rel1.to: "bg";
13435                rel2.to: "bg";
13436             }
13437             description { state: "disabled" 0.0;
13438                inherit: "default" 0.0;
13439                color: 255 255 255 64;
13440             }
13441          }
13442       }
13443       programs {
13444          // signal: elm,state,%s,active
13445          //   a "check" item named %s went active
13446          // signal: elm,state,%s,passive
13447          //   a "check" item named %s went passive
13448          // default is passive
13449          program {
13450             name:    "go_active";
13451             signal:  "elm,state,selected";
13452             source:  "elm";
13453             action:  STATE_SET "selected" 0.0;
13454             target:  "bg";
13455             target:  "fg1";
13456             target:  "fg2";
13457             target:  "elm.text";
13458          }
13459          program {
13460             name:    "go_passive";
13461             signal:  "elm,state,unselected";
13462             source:  "elm";
13463             action:  STATE_SET "default" 0.0;
13464             target:  "bg";
13465             target:  "fg1";
13466             target:  "fg2";
13467             target:  "elm.text";
13468             transition: LINEAR 0.1;
13469          }
13470          program {
13471             name:    "go_disabled";
13472             signal:  "elm,state,disabled";
13473             source:  "elm";
13474             action:  STATE_SET "disabled" 0.0;
13475             target:  "disclip";
13476          }
13477          program {
13478             name:    "go_enabled";
13479             signal:  "elm,state,enabled";
13480             source:  "elm";
13481             action:  STATE_SET "default" 0.0;
13482             target:  "disclip";
13483          }
13484          program {
13485             name:    "expand";
13486             signal:  "mouse,up,1";
13487             source:  "arrow";
13488             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
13489          }
13490          program {
13491             name:    "go_expanded";
13492             signal:  "elm,state,expanded";
13493             source:  "elm";
13494             action:  STATE_SET "active" 0.0;
13495             target:  "arrow";
13496          }
13497          program {
13498             name:    "go_contracted";
13499             signal:  "elm,state,contracted";
13500             source:  "elm";
13501             action:  STATE_SET "default" 0.0;
13502             target:  "arrow";
13503          }
13504       }
13505    }
13506
13507    group { name: "elm/genlist/item/default_style/default";
13508        styles
13509        {
13510            style { name: "genlist_style";
13511                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
13512                tag:  "br" "\n";
13513                tag:  "ps" "ps";
13514                tag:  "hilight" "+ font=Sans:style=Bold";
13515                tag:  "b" "+ font=Sans:style=Bold";
13516                tag:  "tab" "\t";
13517            }
13518            style { name: "genlist_selected_style";
13519                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
13520                tag:  "br" "\n";
13521                tag:  "ps" "ps";
13522                tag:  "hilight" "+ font=Sans:style=Bold";
13523                tag:  "b" "+ font=Sans:style=Bold";
13524                tag:  "tab" "\t";
13525            }
13526        }
13527        data.item: "stacking" "above";
13528        data.item: "selectraise" "on";
13529        data.item: "labels" "elm.text";
13530        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13531        data.item: "treesize" "20";
13532        images {
13533            image: "bt_sm_base1.png" COMP;
13534            image: "bt_sm_shine.png" COMP;
13535            image: "bt_sm_hilight.png" COMP;
13536            image: "ilist_1.png" COMP;
13537            image: "ilist_item_shadow.png" COMP;
13538        }
13539        parts {
13540            part {
13541                name:           "event";
13542                type:           RECT;
13543                repeat_events: 1;
13544                description {
13545                    state: "default" 0.0;
13546                    color: 0 0 0 0;
13547                }
13548            }
13549            part {
13550                name: "base_sh";
13551                mouse_events: 0;
13552                description {
13553                    state: "default" 0.0;
13554                    align: 0.0 0.0;
13555                    min: 0 10;
13556                    fixed: 1 1;
13557                    rel1 {
13558                        to: "base";
13559                        relative: 0.0 1.0;
13560                        offset: 0 0;
13561                    }
13562                    rel2 {
13563                        to: "base";
13564                        relative: 1.0 1.0;
13565                        offset: -1 0;
13566                    }
13567                    image {
13568                        normal: "ilist_item_shadow.png";
13569                    }
13570                    fill.smooth: 0;
13571                }
13572            }
13573            part {
13574                name: "base";
13575                mouse_events: 0;
13576                description {
13577                    state: "default" 0.0;
13578                    min: 16 28;
13579                    image {
13580                        normal: "ilist_1.png";
13581                        border: 2 2 2 2;
13582                    }
13583                    fill.smooth: 0;
13584                }
13585            }
13586            part { name: "bg";
13587                clip_to: "disclip";
13588                mouse_events: 0;
13589                description { state: "default" 0.0;
13590                    visible: 0;
13591                    color: 255 255 255 0;
13592                    rel1 {
13593                        relative: 0.0 0.0;
13594                        offset: -5 -5;
13595                    }
13596                    rel2 {
13597                        relative: 1.0 1.0;
13598                        offset: 4 4;
13599                    }
13600                    image {
13601                        normal: "bt_sm_base1.png";
13602                        border: 6 6 6 6;
13603                    }
13604                    image.middle: SOLID;
13605                }
13606                description { state: "selected" 0.0;
13607                    inherit: "default" 0.0;
13608                    visible: 1;
13609                    color: 255 255 255 255;
13610                    rel1 {
13611                        relative: 0.0 0.0;
13612                        offset: -2 -2;
13613                    }
13614                    rel2 {
13615                        relative: 1.0 1.0;
13616                        offset: 1 1;
13617                    }
13618                }
13619            }
13620            part { name: "elm.swallow.pad";
13621                type: SWALLOW;
13622                description { state: "default" 0.0;
13623                    fixed: 1 0;
13624                    align: 0.0 0.5;
13625                    rel1 {
13626                        relative: 0.0  0.0;
13627                        offset:   4    4;
13628                    }
13629                    rel2 {
13630                        relative: 0.0  1.0;
13631                        offset:   4   -5;
13632                    }
13633                }
13634            }
13635            part { name: "elm.swallow.icon";
13636                clip_to: "disclip";
13637                type: SWALLOW;
13638                description { state: "default" 0.0;
13639                    fixed: 1 0;
13640                    align: 0.0 0.5;
13641                    rel1 {
13642                        to_x: "elm.swallow.pad";
13643                        relative: 1.0  0.0;
13644                        offset:   -1    4;
13645                    }
13646                    rel2 {
13647                        to_x: "elm.swallow.pad";
13648                        relative: 1.0  1.0;
13649                        offset:   -1   -5;
13650                    }
13651                }
13652            }
13653            part { name: "elm.swallow.end";
13654                clip_to: "disclip";
13655                type: SWALLOW;
13656                description { state: "default" 0.0;
13657                    fixed: 1 0;
13658                    align: 1.0 0.5;
13659                    aspect: 1.0 1.0;
13660                    aspect_preference: VERTICAL;
13661                    rel1 {
13662                        relative: 1.0  0.0;
13663                        offset:   -5    4;
13664                    }
13665                    rel2 {
13666                        relative: 1.0  1.0;
13667                        offset:   -5   -5;
13668                    }
13669                }
13670            }
13671            part { name: "elm.text";
13672                clip_to: "disclip";
13673                type: TEXTBLOCK;
13674                mouse_events: 0;
13675                scale: 1;
13676                description {
13677                    state: "default" 0.0;
13678                    align: 0.0 0.5;
13679                    fixed: 0 1;
13680                    rel1 {
13681                        to_x: "elm.swallow.icon";
13682                        to_y: "base";
13683                        relative: 1.0  0.5;
13684                        offset:   0 4;
13685                    }
13686                    rel2 {
13687                        to_x: "elm.swallow.end";
13688                        to_y: "base";
13689                        relative: 0.0  0.5;
13690                        offset:   -1 -5;
13691                    }
13692                    text {
13693                        style: "genlist_style";
13694                        min: 1 1;
13695                    }
13696                }
13697                description { state: "selected" 0.0;
13698                    inherit: "default" 0.0;
13699                    text {
13700                        style: "genlist_selected_style";
13701                    }
13702                }
13703            }
13704            part { name: "fg1";
13705                clip_to: "disclip";
13706                mouse_events: 0;
13707                description { state: "default" 0.0;
13708                    visible: 0;
13709                    color: 255 255 255 0;
13710                    rel1.to: "bg";
13711                    rel2.relative: 1.0 0.5;
13712                    rel2.to: "bg";
13713                    image {
13714                        normal: "bt_sm_hilight.png";
13715                        border: 6 6 6 0;
13716                    }
13717                }
13718                description { state: "selected" 0.0;
13719                    inherit: "default" 0.0;
13720                    visible: 1;
13721                    color: 255 255 255 255;
13722                }
13723            }
13724            part { name: "fg2";
13725                clip_to: "disclip";
13726                mouse_events: 0;
13727                description { state: "default" 0.0;
13728                    visible: 0;
13729                    color: 255 255 255 0;
13730                    rel1.to: "bg";
13731                    rel2.to: "bg";
13732                    image {
13733                        normal: "bt_sm_shine.png";
13734                        border: 6 6 6 0;
13735                    }
13736                }
13737                description { state: "selected" 0.0;
13738                    inherit: "default" 0.0;
13739                    visible: 1;
13740                    color: 255 255 255 255;
13741                }
13742            }
13743            part { name: "disclip";
13744                type: RECT;
13745                description { state: "default" 0.0;
13746                    rel1.to: "bg";
13747                    rel2.to: "bg";
13748                }
13749                description { state: "disabled" 0.0;
13750                    inherit: "default" 0.0;
13751                    color: 255 255 255 64;
13752                }
13753            }
13754        }
13755        programs {
13756            // signal: elm,state,%s,active
13757            //   a "check" item named %s went active
13758            // signal: elm,state,%s,passive
13759            //   a "check" item named %s went passive
13760            // default is passive
13761            program {
13762                name:    "go_active";
13763                signal:  "elm,state,selected";
13764                source:  "elm";
13765                action:  STATE_SET "selected" 0.0;
13766                target:  "bg";
13767                target:  "fg1";
13768                target:  "fg2";
13769                target:  "elm.text";
13770            }
13771            program {
13772                name:    "go_passive";
13773                signal:  "elm,state,unselected";
13774                source:  "elm";
13775                action:  STATE_SET "default" 0.0;
13776                target:  "bg";
13777                target:  "fg1";
13778                target:  "fg2";
13779                target:  "elm.text";
13780                transition: LINEAR 0.1;
13781            }
13782            program {
13783                name:    "go_disabled";
13784                signal:  "elm,state,disabled";
13785                source:  "elm";
13786                action:  STATE_SET "disabled" 0.0;
13787                target:  "disclip";
13788            }
13789            program {
13790                name:    "go_enabled";
13791                signal:  "elm,state,enabled";
13792                source:  "elm";
13793                action:  STATE_SET "default" 0.0;
13794                target:  "disclip";
13795            }
13796        }
13797    }
13798    group { name: "elm/genlist/item_odd/default_style/default";
13799        data.item: "stacking" "below";
13800        data.item: "selectraise" "on";
13801        data.item: "labels" "elm.text";
13802        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13803        data.item: "treesize" "20";
13804        images {
13805            image: "bt_sm_base1.png" COMP;
13806            image: "bt_sm_shine.png" COMP;
13807            image: "bt_sm_hilight.png" COMP;
13808            image: "ilist_2.png" COMP;
13809        }
13810        parts {
13811            part { name: "event";
13812                type: RECT;
13813                repeat_events: 1;
13814                description {
13815                    state: "default" 0.0;
13816                    color: 0 0 0 0;
13817                }
13818            }
13819            part {
13820                name: "base";
13821                mouse_events: 0;
13822                description {
13823                    state: "default" 0.0;
13824                    min: 16 28;
13825                    image {
13826                        normal: "ilist_2.png";
13827                        border: 2 2 2 2;
13828                    }
13829                    fill.smooth: 0;
13830                }
13831            }
13832            part { name: "bg";
13833                clip_to: "disclip";
13834                mouse_events: 0;
13835                description { state: "default" 0.0;
13836                    visible: 0;
13837                    color: 255 255 255 0;
13838                    rel1 {
13839                        relative: 0.0 0.0;
13840                        offset: -5 -5;
13841                    }
13842                    rel2 {
13843                        relative: 1.0 1.0;
13844                        offset: 4 4;
13845                    }
13846                    image {
13847                        normal: "bt_sm_base1.png";
13848                        border: 6 6 6 6;
13849                    }
13850                    image.middle: SOLID;
13851                }
13852                description { state: "selected" 0.0;
13853                    inherit: "default" 0.0;
13854                    visible: 1;
13855                    color: 255 255 255 255;
13856                    rel1 {
13857                        relative: 0.0 0.0;
13858                        offset: -2 -2;
13859                    }
13860                    rel2 {
13861                        relative: 1.0 1.0;
13862                        offset: 1 1;
13863                    }
13864                }
13865            }
13866            part { name: "elm.swallow.pad";
13867                type: SWALLOW;
13868                description { state: "default" 0.0;
13869                    fixed: 1 0;
13870                    align: 0.0 0.5;
13871                    rel1 {
13872                        relative: 0.0  0.0;
13873                        offset:   4    4;
13874                    }
13875                    rel2 {
13876                        relative: 0.0  1.0;
13877                        offset:   4   -5;
13878                    }
13879                }
13880            }
13881            part { name: "elm.swallow.icon";
13882                clip_to: "disclip";
13883                type: SWALLOW;
13884                description { state: "default" 0.0;
13885                    fixed: 1 0;
13886                    align: 0.0 0.5;
13887                    rel1 {
13888                        to_x: "elm.swallow.pad";
13889                        relative: 1.0  0.0;
13890                        offset:   -1    4;
13891                    }
13892                    rel2 {
13893                        to_x: "elm.swallow.pad";
13894                        relative: 1.0  1.0;
13895                        offset:   -1   -5;
13896                    }
13897                }
13898            }
13899            part { name: "elm.swallow.end";
13900                clip_to: "disclip";
13901                type:          SWALLOW;
13902                description { state:    "default" 0.0;
13903                    fixed: 1 0;
13904                    align:    1.0 0.5;
13905                    aspect: 1.0 1.0;
13906                    aspect_preference: VERTICAL;
13907                    rel1 {
13908                        relative: 1.0  0.0;
13909                        offset:   -5    4;
13910                    }
13911                    rel2 {
13912                        relative: 1.0  1.0;
13913                        offset:   -5   -5;
13914                    }
13915                }
13916            }
13917            part { name: "elm.text";
13918                clip_to: "disclip";
13919                type:           TEXTBLOCK;
13920                mouse_events:   0;
13921                scale: 1;
13922                description {
13923                    state: "default" 0.0;
13924                    align: 0.0 0.5;
13925                    fixed: 0 1;
13926                    rel1 {
13927                        to_x: "elm.swallow.icon";
13928                        to_y: "base";
13929                        relative: 1.0  0.5;
13930                        offset:   0 4;
13931                    }
13932                    rel2 {
13933                        to_x: "elm.swallow.end";
13934                        to_y: "base";
13935                        relative: 0.0  0.5;
13936                        offset:   -1 -5;
13937                    }
13938                    text {
13939                        style: "genlist_style";
13940                        min: 1 1;
13941                    }
13942                }
13943                description { state: "selected" 0.0;
13944                    inherit: "default" 0.0;
13945                    text {
13946                        style: "genlist_selected_style";
13947                    }
13948                }
13949            }
13950            part { name: "fg1";
13951                clip_to: "disclip";
13952                mouse_events: 0;
13953                description { state: "default" 0.0;
13954                    visible: 0;
13955                    color: 255 255 255 0;
13956                    rel1.to: "bg";
13957                    rel2.relative: 1.0 0.5;
13958                    rel2.to: "bg";
13959                    image {
13960                        normal: "bt_sm_hilight.png";
13961                        border: 6 6 6 0;
13962                    }
13963                }
13964                description { state: "selected" 0.0;
13965                    inherit: "default" 0.0;
13966                    visible: 1;
13967                    color: 255 255 255 255;
13968                }
13969            }
13970            part { name: "fg2";
13971                clip_to: "disclip";
13972                mouse_events: 0;
13973                description { state: "default" 0.0;
13974                    visible: 0;
13975                    color: 255 255 255 0;
13976                    rel1.to: "bg";
13977                    rel2.to: "bg";
13978                    image {
13979                        normal: "bt_sm_shine.png";
13980                        border: 6 6 6 0;
13981                    }
13982                }
13983                description { state: "selected" 0.0;
13984                    inherit: "default" 0.0;
13985                    visible: 1;
13986                    color: 255 255 255 255;
13987                }
13988            }
13989            part { name: "disclip";
13990                type: RECT;
13991                description { state: "default" 0.0;
13992                    rel1.to: "bg";
13993                    rel2.to: "bg";
13994                }
13995                description { state: "disabled" 0.0;
13996                    inherit: "default" 0.0;
13997                    color: 255 255 255 64;
13998                }
13999            }
14000        }
14001        programs {
14002            // signal: elm,state,%s,active
14003            //   a "check" item named %s went active
14004            // signal: elm,state,%s,passive
14005            //   a "check" item named %s went passive
14006            // default is passive
14007            program {
14008                name:    "go_active";
14009                signal:  "elm,state,selected";
14010                source:  "elm";
14011                action:  STATE_SET "selected" 0.0;
14012                target:  "bg";
14013                target:  "fg1";
14014                target:  "fg2";
14015                target:  "elm.text";
14016            }
14017            program {
14018                name:    "go_passive";
14019                signal:  "elm,state,unselected";
14020                source:  "elm";
14021                action:  STATE_SET "default" 0.0;
14022                target:  "bg";
14023                target:  "fg1";
14024                target:  "fg2";
14025                target:  "elm.text";
14026                transition: LINEAR 0.1;
14027            }
14028            program {
14029                name:    "go_disabled";
14030                signal:  "elm,state,disabled";
14031                source:  "elm";
14032                action:  STATE_SET "disabled" 0.0;
14033                target:  "disclip";
14034            }
14035            program {
14036                name:    "go_enabled";
14037                signal:  "elm,state,enabled";
14038                source:  "elm";
14039                action:  STATE_SET "default" 0.0;
14040                target:  "disclip";
14041            }
14042        }
14043    }
14044
14045    group { name: "elm/genlist/tree/default_style/default";
14046        data.item: "stacking" "above";
14047        data.item: "selectraise" "on";
14048        data.item: "labels" "elm.text";
14049        data.item: "icons" "elm.swallow.icon elm.swallow.end";
14050        data.item: "treesize" "20";
14051        images {
14052            image: "bt_sm_base1.png" COMP;
14053            image: "bt_sm_shine.png" COMP;
14054            image: "bt_sm_hilight.png" COMP;
14055            image: "ilist_1.png" COMP;
14056            image: "ilist_item_shadow.png" COMP;
14057            image: "icon_arrow_right.png" COMP;
14058            image: "icon_arrow_down.png" COMP;
14059        }
14060        parts {
14061            part {
14062                name:           "event";
14063                type:           RECT;
14064                repeat_events: 1;
14065                description {
14066                    state: "default" 0.0;
14067                    color: 0 0 0 0;
14068                }
14069            }
14070            part {
14071                name: "base_sh";
14072                mouse_events: 0;
14073                description {
14074                    state: "default" 0.0;
14075                    align: 0.0 0.0;
14076                    min: 0 10;
14077                    fixed: 1 1;
14078                    rel1 {
14079                        to: "base";
14080                        relative: 0.0 1.0;
14081                        offset: 0 0;
14082                    }
14083                    rel2 {
14084                        to: "base";
14085                        relative: 1.0 1.0;
14086                        offset: -1 0;
14087                    }
14088                    image {
14089                        normal: "ilist_item_shadow.png";
14090                    }
14091                    fill.smooth: 0;
14092                }
14093            }
14094            part {
14095                name: "base";
14096                mouse_events: 0;
14097                description {
14098                    state: "default" 0.0;
14099                    min: 16 28;
14100                    image {
14101                        normal: "ilist_1.png";
14102                        border: 2 2 2 2;
14103                    }
14104                    fill.smooth: 0;
14105                }
14106            }
14107            part { name: "bg";
14108                clip_to: "disclip";
14109                mouse_events: 0;
14110                description { state: "default" 0.0;
14111                    visible: 0;
14112                    color: 255 255 255 0;
14113                    rel1 {
14114                        relative: 0.0 0.0;
14115                        offset: -5 -5;
14116                    }
14117                    rel2 {
14118                        relative: 1.0 1.0;
14119                        offset: 4 4;
14120                    }
14121                    image {
14122                        normal: "bt_sm_base1.png";
14123                        border: 6 6 6 6;
14124                    }
14125                    image.middle: SOLID;
14126                }
14127                description { state: "selected" 0.0;
14128                    inherit: "default" 0.0;
14129                    visible: 1;
14130                    color: 255 255 255 255;
14131                    rel1 {
14132                        relative: 0.0 0.0;
14133                        offset: -2 -2;
14134                    }
14135                    rel2 {
14136                        relative: 1.0 1.0;
14137                        offset: 1 1;
14138                    }
14139                }
14140            }
14141            part { name: "elm.swallow.pad";
14142                type: SWALLOW;
14143                description { state: "default" 0.0;
14144                    fixed: 1 0;
14145                    align: 0.0 0.5;
14146                    rel1 {
14147                        relative: 0.0  0.0;
14148                        offset:   4    4;
14149                    }
14150                    rel2 {
14151                        relative: 0.0  1.0;
14152                        offset:   4   -5;
14153                    }
14154                }
14155            }
14156            part { name: "arrow";
14157                clip_to: "disclip";
14158                ignore_flags: ON_HOLD;
14159                description { state: "default" 0.0;
14160                    fixed: 1 0;
14161                    align: 0.0 0.5;
14162                    aspect: 1.0 1.0;
14163                    rel1 {
14164                        to_x: "elm.swallow.pad";
14165                        relative: 1.0  0.0;
14166                        offset:   -1    4;
14167                    }
14168                    rel2 {
14169                        to_x: "elm.swallow.pad";
14170                        relative: 1.0  1.0;
14171                        offset:   -1   -5;
14172                    }
14173                    image.normal: "icon_arrow_right.png";
14174                }
14175                description { state: "active" 0.0;
14176                    inherit: "default" 0.0;
14177                    image.normal: "icon_arrow_down.png";
14178                }
14179            }
14180            part { name: "elm.swallow.icon";
14181                clip_to: "disclip";
14182                type: SWALLOW;
14183                description { state: "default" 0.0;
14184                    fixed: 1 0;
14185                    align: 0.0 0.5;
14186                    rel1 {
14187                        to_x: "arrow";
14188                        relative: 1.0  0.0;
14189                        offset:   4    4;
14190                    }
14191                    rel2 {
14192                        to_x: "arrow";
14193                        relative: 1.0  1.0;
14194                        offset:   4   -5;
14195                    }
14196                }
14197            }
14198            part { name: "elm.swallow.end";
14199                clip_to: "disclip";
14200                type: SWALLOW;
14201                description { state: "default" 0.0;
14202                    fixed: 1 0;
14203                    align: 1.0 0.5;
14204                    aspect: 1.0 1.0;
14205                    aspect_preference: VERTICAL;
14206                    rel1 {
14207                        relative: 1.0  0.0;
14208                        offset:   -5    4;
14209                    }
14210                    rel2 {
14211                        relative: 1.0  1.0;
14212                        offset:   -5   -5;
14213                    }
14214                }
14215            }
14216            part { name: "elm.text";
14217                clip_to: "disclip";
14218                type:           TEXTBLOCK;
14219                effect:         SOFT_SHADOW;
14220                mouse_events:   0;
14221                scale: 1;
14222                description {
14223                    state: "default" 0.0;
14224                    align: 0.0 0.5;
14225                    fixed: 0 1;
14226                    rel1 {
14227                        to_x:     "elm.swallow.icon";
14228                        to_y: "base";
14229                        relative: 1.0  0.5;
14230                        offset:   0 4;
14231                    }
14232                    rel2 {
14233                        to_x:     "elm.swallow.end";
14234                        to_y: "base";
14235                        relative: 0.0  0.5;
14236                        offset:   -1 -5;
14237                    }
14238                    text {
14239                        style: "genlist_style";
14240                        min: 1 1;
14241                    }
14242                }
14243                description { state: "selected" 0.0;
14244                    inherit: "default" 0.0;
14245                    text {
14246                        style: "genlist_selected_style";
14247                    }
14248                }
14249            }
14250            part { name: "fg1";
14251                clip_to: "disclip";
14252                mouse_events: 0;
14253                description { state: "default" 0.0;
14254                    visible: 0;
14255                    color: 255 255 255 0;
14256                    rel1.to: "bg";
14257                    rel2.relative: 1.0 0.5;
14258                    rel2.to: "bg";
14259                    image {
14260                        normal: "bt_sm_hilight.png";
14261                        border: 6 6 6 0;
14262                    }
14263                }
14264                description { state: "selected" 0.0;
14265                    inherit: "default" 0.0;
14266                    visible: 1;
14267                    color: 255 255 255 255;
14268                }
14269            }
14270            part { name: "fg2";
14271                clip_to: "disclip";
14272                mouse_events: 0;
14273                description { state: "default" 0.0;
14274                    visible: 0;
14275                    color: 255 255 255 0;
14276                    rel1.to: "bg";
14277                    rel2.to: "bg";
14278                    image {
14279                        normal: "bt_sm_shine.png";
14280                        border: 6 6 6 0;
14281                    }
14282                }
14283                description { state: "selected" 0.0;
14284                    inherit: "default" 0.0;
14285                    visible: 1;
14286                    color: 255 255 255 255;
14287                }
14288            }
14289            part { name: "disclip";
14290                type: RECT;
14291                description { state: "default" 0.0;
14292                    rel1.to: "bg";
14293                    rel2.to: "bg";
14294                }
14295                description { state: "disabled" 0.0;
14296                    inherit: "default" 0.0;
14297                    color: 255 255 255 64;
14298                }
14299            }
14300        }
14301        programs {
14302            // signal: elm,state,%s,active
14303            //   a "check" item named %s went active
14304            // signal: elm,state,%s,passive
14305            //   a "check" item named %s went passive
14306            // default is passive
14307            program {
14308                name:    "go_active";
14309                signal:  "elm,state,selected";
14310                source:  "elm";
14311                action:  STATE_SET "selected" 0.0;
14312                target:  "bg";
14313                target:  "fg1";
14314                target:  "fg2";
14315                target:  "elm.text";
14316            }
14317            program {
14318                name:    "go_passive";
14319                signal:  "elm,state,unselected";
14320                source:  "elm";
14321                action:  STATE_SET "default" 0.0;
14322                target:  "bg";
14323                target:  "fg1";
14324                target:  "fg2";
14325                target:  "elm.text";
14326                transition: LINEAR 0.1;
14327            }
14328            program {
14329                name:    "go_disabled";
14330                signal:  "elm,state,disabled";
14331                source:  "elm";
14332                action:  STATE_SET "disabled" 0.0;
14333                target:  "disclip";
14334            }
14335            program {
14336                name:    "go_enabled";
14337                signal:  "elm,state,enabled";
14338                source:  "elm";
14339                action:  STATE_SET "default" 0.0;
14340                target:  "disclip";
14341            }
14342            program {
14343                name:    "expand";
14344                signal:  "mouse,up,1";
14345                source:  "arrow";
14346                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14347            }
14348            program {
14349                name:    "go_expanded";
14350                signal:  "elm,state,expanded";
14351                source:  "elm";
14352                action:  STATE_SET "active" 0.0;
14353                target:  "arrow";
14354            }
14355            program {
14356                name:    "go_contracted";
14357                signal:  "elm,state,contracted";
14358                source:  "elm";
14359                action:  STATE_SET "default" 0.0;
14360                target:  "arrow";
14361            }
14362        }
14363    }
14364    group { name: "elm/genlist/tree_odd/default_style/default";
14365        data.item: "stacking" "below";
14366        data.item: "selectraise" "on";
14367        data.item: "labels" "elm.text";
14368        data.item: "icons" "elm.swallow.icon elm.swallow.end";
14369        data.item: "treesize" "20";
14370        images {
14371            image: "bt_sm_base1.png" COMP;
14372            image: "bt_sm_shine.png" COMP;
14373            image: "bt_sm_hilight.png" COMP;
14374            image: "ilist_2.png" COMP;
14375            image: "icon_arrow_right.png" COMP;
14376            image: "icon_arrow_down.png" COMP;
14377        }
14378        parts {
14379            part {
14380                name:           "event";
14381                type:           RECT;
14382                repeat_events: 1;
14383                description {
14384                    state: "default" 0.0;
14385                    color: 0 0 0 0;
14386                }
14387            }
14388            part {
14389                name: "base";
14390                mouse_events: 0;
14391                description {
14392                    state: "default" 0.0;
14393                    min: 16 28;
14394                    image {
14395                        normal: "ilist_2.png";
14396                        border: 2 2 2 2;
14397                    }
14398                    fill.smooth: 0;
14399                }
14400            }
14401            part { name: "bg";
14402                clip_to: "disclip";
14403                mouse_events: 0;
14404                description { state: "default" 0.0;
14405                    visible: 0;
14406                    color: 255 255 255 0;
14407                    rel1 {
14408                        relative: 0.0 0.0;
14409                        offset: -5 -5;
14410                    }
14411                    rel2 {
14412                        relative: 1.0 1.0;
14413                        offset: 4 4;
14414                    }
14415                    image {
14416                        normal: "bt_sm_base1.png";
14417                        border: 6 6 6 6;
14418                    }
14419                    image.middle: SOLID;
14420                }
14421                description { state: "selected" 0.0;
14422                    inherit: "default" 0.0;
14423                    visible: 1;
14424                    color: 255 255 255 255;
14425                    rel1 {
14426                        relative: 0.0 0.0;
14427                        offset: -2 -2;
14428                    }
14429                    rel2 {
14430                        relative: 1.0 1.0;
14431                        offset: 1 1;
14432                    }
14433                }
14434            }
14435            part { name: "elm.swallow.pad";
14436                type: SWALLOW;
14437                description { state: "default" 0.0;
14438                    fixed: 1 0;
14439                    align: 0.0 0.5;
14440                    rel1 {
14441                        relative: 0.0  0.0;
14442                        offset:   4    4;
14443                    }
14444                    rel2 {
14445                        relative: 0.0  1.0;
14446                        offset:   4   -5;
14447                    }
14448                }
14449            }
14450            part { name: "arrow";
14451                clip_to: "disclip";
14452                ignore_flags: ON_HOLD;
14453                description { state: "default" 0.0;
14454                    fixed: 1 0;
14455                    align: 0.0 0.5;
14456                    aspect: 1.0 1.0;
14457                    rel1 {
14458                        to_x: "elm.swallow.pad";
14459                        relative: 1.0  0.0;
14460                        offset:   -1    4;
14461                    }
14462                    rel2 {
14463                        to_x: "elm.swallow.pad";
14464                        relative: 1.0  1.0;
14465                        offset:   -1   -5;
14466                    }
14467                    image.normal: "icon_arrow_right.png";
14468                }
14469                description { state: "active" 0.0;
14470                    inherit: "default" 0.0;
14471                    image.normal: "icon_arrow_down.png";
14472                }
14473            }
14474            part { name: "elm.swallow.icon";
14475                clip_to: "disclip";
14476                type: SWALLOW;
14477                description { state: "default" 0.0;
14478                    fixed: 1 0;
14479                    align: 0.0 0.5;
14480                    rel1 {
14481                        to_x: "arrow";
14482                        relative: 1.0  0.0;
14483                        offset:   4    4;
14484                    }
14485                    rel2 {
14486                        to_x: "arrow";
14487                        relative: 1.0  1.0;
14488                        offset:   4   -5;
14489                    }
14490                }
14491            }
14492            part { name: "elm.swallow.end";
14493                clip_to: "disclip";
14494                type: SWALLOW;
14495                description { state: "default" 0.0;
14496                    fixed: 1 0;
14497                    align: 1.0 0.5;
14498                    aspect: 1.0 1.0;
14499                    aspect_preference: VERTICAL;
14500                    rel1 {
14501                        relative: 1.0  0.0;
14502                        offset:   -5    4;
14503                    }
14504                    rel2 {
14505                        relative: 1.0  1.0;
14506                        offset:   -5   -5;
14507                    }
14508                }
14509            }
14510            part { name: "elm.text";
14511                clip_to: "disclip";
14512                type:           TEXTBLOCK;
14513                effect:         SOFT_SHADOW;
14514                mouse_events:   0;
14515                scale: 1;
14516                description {
14517                    state: "default" 0.0;
14518                    align: 0.0 0.5;
14519                    fixed: 0 1;
14520                    rel1 {
14521                        to_x:     "elm.swallow.icon";
14522                        to_y: "base";
14523                        relative: 1.0  0.5;
14524                        offset:   0 4;
14525                    }
14526                    rel2 {
14527                        to_x:     "elm.swallow.end";
14528                        to_y: "base";
14529                        relative: 0.0  0.5;
14530                        offset:   -1 -5;
14531                    }
14532                    text {
14533                        style: "genlist_style";
14534                        min: 1 1;
14535                    }
14536                }
14537                description { state: "selected" 0.0;
14538                    inherit: "default" 0.0;
14539                    text {
14540                        style: "genlist_selected_style";
14541                    }
14542                }
14543            }
14544            part { name: "fg1";
14545                clip_to: "disclip";
14546                mouse_events: 0;
14547                description { state: "default" 0.0;
14548                    visible: 0;
14549                    color: 255 255 255 0;
14550                    rel1.to: "bg";
14551                    rel2.relative: 1.0 0.5;
14552                    rel2.to: "bg";
14553                    image {
14554                        normal: "bt_sm_hilight.png";
14555                        border: 6 6 6 0;
14556                    }
14557                }
14558                description { state: "selected" 0.0;
14559                    inherit: "default" 0.0;
14560                    visible: 1;
14561                    color: 255 255 255 255;
14562                }
14563            }
14564            part { name: "fg2";
14565                clip_to: "disclip";
14566                mouse_events: 0;
14567                description { state: "default" 0.0;
14568                    visible: 0;
14569                    color: 255 255 255 0;
14570                    rel1.to: "bg";
14571                    rel2.to: "bg";
14572                    image {
14573                        normal: "bt_sm_shine.png";
14574                        border: 6 6 6 0;
14575                    }
14576                }
14577                description { state: "selected" 0.0;
14578                    inherit: "default" 0.0;
14579                    visible: 1;
14580                    color: 255 255 255 255;
14581                }
14582            }
14583            part { name: "disclip";
14584                type: RECT;
14585                description { state: "default" 0.0;
14586                    rel1.to: "bg";
14587                    rel2.to: "bg";
14588                }
14589                description { state: "disabled" 0.0;
14590                    inherit: "default" 0.0;
14591                    color: 255 255 255 64;
14592                }
14593            }
14594        }
14595        programs {
14596            // signal: elm,state,%s,active
14597            //   a "check" item named %s went active
14598            // signal: elm,state,%s,passive
14599            //   a "check" item named %s went passive
14600            // default is passive
14601            program {
14602                name:    "go_active";
14603                signal:  "elm,state,selected";
14604                source:  "elm";
14605                action:  STATE_SET "selected" 0.0;
14606                target:  "bg";
14607                target:  "fg1";
14608                target:  "fg2";
14609                target:  "elm.text";
14610            }
14611            program {
14612                name:    "go_passive";
14613                signal:  "elm,state,unselected";
14614                source:  "elm";
14615                action:  STATE_SET "default" 0.0;
14616                target:  "bg";
14617                target:  "fg1";
14618                target:  "fg2";
14619                target:  "elm.text";
14620                transition: LINEAR 0.1;
14621            }
14622            program {
14623                name:    "go_disabled";
14624                signal:  "elm,state,disabled";
14625                source:  "elm";
14626                action:  STATE_SET "disabled" 0.0;
14627                target:  "disclip";
14628            }
14629            program {
14630                name:    "go_enabled";
14631                signal:  "elm,state,enabled";
14632                source:  "elm";
14633                action:  STATE_SET "default" 0.0;
14634                target:  "disclip";
14635            }
14636            program {
14637                name:    "expand";
14638                signal:  "mouse,up,1";
14639                source:  "arrow";
14640                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14641            }
14642            program {
14643                name:    "go_expanded";
14644                signal:  "elm,state,expanded";
14645                source:  "elm";
14646                action:  STATE_SET "active" 0.0;
14647                target:  "arrow";
14648            }
14649            program {
14650                name:    "go_contracted";
14651                signal:  "elm,state,contracted";
14652                source:  "elm";
14653                action:  STATE_SET "default" 0.0;
14654                target:  "arrow";
14655            }
14656        }
14657    }
14658
14659
14660    group { name: "elm/genlist/item/double_label/default";
14661       data.item: "stacking" "above";
14662       data.item: "selectraise" "on";
14663       data.item: "labels" "elm.text elm.text.sub";
14664       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14665       data.item: "treesize" "20";
14666 //      data.item: "states" "";
14667       images {
14668          image: "bt_sm_base1.png" COMP;
14669          image: "bt_sm_shine.png" COMP;
14670          image: "bt_sm_hilight.png" COMP;
14671          image: "ilist_1.png" COMP;
14672          image: "ilist_item_shadow.png" COMP;
14673       }
14674       parts {
14675          part {
14676             name:           "event";
14677             type:           RECT;
14678             repeat_events: 1;
14679             description {
14680                state: "default" 0.0;
14681                color: 0 0 0 0;
14682             }
14683          }
14684          part {
14685             name: "base_sh";
14686             mouse_events: 0;
14687             description {
14688                state: "default" 0.0;
14689                align: 0.0 0.0;
14690                min: 0 10;
14691                fixed: 1 1;
14692                rel1 {
14693                   to: "base";
14694                   relative: 0.0 1.0;
14695                   offset: 0 0;
14696                }
14697                rel2 {
14698                   to: "base";
14699                   relative: 1.0 1.0;
14700                   offset: -1 0;
14701                }
14702                image {
14703                   normal: "ilist_item_shadow.png";
14704                }
14705                fill.smooth: 0;
14706             }
14707          }
14708          part {
14709             name: "base";
14710             mouse_events: 0;
14711             description {
14712                state: "default" 0.0;
14713                image {
14714                   normal: "ilist_1.png";
14715                   border: 2 2 2 2;
14716                }
14717                fill.smooth: 0;
14718             }
14719          }
14720          part { name: "bg";
14721             clip_to: "disclip";
14722             mouse_events: 0;
14723             description { state: "default" 0.0;
14724                visible: 0;
14725                color: 255 255 255 0;
14726                rel1 {
14727                   relative: 0.0 0.0;
14728                   offset: -5 -5;
14729                }
14730                rel2 {
14731                   relative: 1.0 1.0;
14732                   offset: 4 4;
14733                }
14734                image {
14735                   normal: "bt_sm_base1.png";
14736                   border: 6 6 6 6;
14737                }
14738                image.middle: SOLID;
14739             }
14740             description { state: "selected" 0.0;
14741                inherit: "default" 0.0;
14742                visible: 1;
14743                color: 255 255 255 255;
14744                rel1 {
14745                   relative: 0.0 0.0;
14746                   offset: -2 -2;
14747                }
14748                rel2 {
14749                   relative: 1.0 1.0;
14750                   offset: 1 1;
14751                }
14752             }
14753          }
14754          part { name: "elm.swallow.pad";
14755             type: SWALLOW;
14756             description { state: "default" 0.0;
14757                fixed: 1 0;
14758                align: 0.0 0.5;
14759                rel1 {
14760                   relative: 0.0  0.0;
14761                   offset:   4    4;
14762                }
14763                rel2 {
14764                   relative: 0.0  1.0;
14765                   offset:   4   -5;
14766                }
14767             }
14768          }
14769          part { name: "elm.swallow.icon";
14770             clip_to: "disclip";
14771             type: SWALLOW;
14772             description { state: "default" 0.0;
14773                fixed: 1 0;
14774                align: 0.0 0.5;
14775                rel1 {
14776                   to_x: "elm.swallow.pad";
14777                   relative: 1.0  0.0;
14778                   offset:   -1    4;
14779                }
14780                rel2 {
14781                   to_x: "elm.swallow.pad";
14782                   relative: 1.0  1.0;
14783                   offset:   -1   -5;
14784                }
14785             }
14786          }
14787          part { name: "elm.swallow.end";
14788             clip_to: "disclip";
14789             type: SWALLOW;
14790             description { state: "default" 0.0;
14791                fixed: 1 0;
14792                align: 1.0 0.5;
14793                aspect: 1.0 1.0;
14794                aspect_preference: VERTICAL;
14795                rel1 {
14796                   relative: 1.0  0.0;
14797                   offset:   -5    4;
14798                }
14799                rel2 {
14800                   relative: 1.0  1.0;
14801                   offset:   -5   -5;
14802                }
14803             }
14804          }
14805          part { name: "elm.text";
14806             clip_to: "disclip";
14807             type:           TEXT;
14808             effect:         SOFT_SHADOW;
14809             mouse_events:   0;
14810             scale: 1;
14811             description {
14812                state: "default" 0.0;
14813 //               min: 16 16;
14814                rel1 {
14815                   to_x:     "elm.swallow.icon";
14816                   relative: 1.0  0.0;
14817                   offset:   0 4;
14818                }
14819                rel2 {
14820                   to_x:     "elm.swallow.end";
14821                   relative: 0.0  0.5;
14822                   offset:   -1 -5;
14823                }
14824                color: 0 0 0 255;
14825                color3: 0 0 0 0;
14826                text {
14827                   font: "Sans";
14828                   size: 10;
14829                   min: 1 1;
14830 //                  min: 0 1;
14831                   align: 0.0 0.5;
14832                }
14833             }
14834             description { state: "selected" 0.0;
14835                inherit: "default" 0.0;
14836                color: 224 224 224 255;
14837                color3: 0 0 0 64;
14838             }
14839          }
14840          part { name: "elm.text.sub";
14841             clip_to: "disclip";
14842             type:           TEXT;
14843             mouse_events:   0;
14844             scale: 1;
14845             description {
14846                state: "default" 0.0;
14847 //               min: 16 16;
14848                rel1 {
14849                   to_x:     "elm.swallow.icon";
14850                   relative: 1.0  0.5;
14851                   offset:   0 4;
14852                }
14853                rel2 {
14854                   to_x:     "elm.swallow.end";
14855                   relative: 0.0  1.0;
14856                   offset:   -1 -5;
14857                }
14858                color: 0 0 0 128;
14859                color3: 0 0 0 0;
14860                text {
14861                   font: "Sans";
14862                   size: 8;
14863                   min: 1 1;
14864 //                  min: 0 1;
14865                   align: 0.0 0.5;
14866                }
14867             }
14868             description { state: "selected" 0.0;
14869                inherit: "default" 0.0;
14870                color: 128 128 128 255;
14871                color3: 0 0 0 32;
14872             }
14873          }
14874          part { name: "fg1";
14875             clip_to: "disclip";
14876             mouse_events: 0;
14877             description { state: "default" 0.0;
14878                visible: 0;
14879                color: 255 255 255 0;
14880                rel1.to: "bg";
14881                rel2.relative: 1.0 0.5;
14882                rel2.to: "bg";
14883                image {
14884                   normal: "bt_sm_hilight.png";
14885                   border: 6 6 6 0;
14886                }
14887             }
14888             description { state: "selected" 0.0;
14889                inherit: "default" 0.0;
14890                visible: 1;
14891                color: 255 255 255 255;
14892             }
14893          }
14894          part { name: "fg2";
14895             clip_to: "disclip";
14896             mouse_events: 0;
14897             description { state: "default" 0.0;
14898                visible: 0;
14899                color: 255 255 255 0;
14900                rel1.to: "bg";
14901                rel2.to: "bg";
14902                image {
14903                   normal: "bt_sm_shine.png";
14904                   border: 6 6 6 0;
14905                }
14906             }
14907             description { state: "selected" 0.0;
14908                inherit: "default" 0.0;
14909                visible: 1;
14910                color: 255 255 255 255;
14911             }
14912          }
14913          part { name: "disclip";
14914             type: RECT;
14915             description { state: "default" 0.0;
14916                rel1.to: "bg";
14917                rel2.to: "bg";
14918             }
14919             description { state: "disabled" 0.0;
14920                inherit: "default" 0.0;
14921                color: 255 255 255 64;
14922             }
14923          }
14924       }
14925       programs {
14926          // signal: elm,state,%s,active
14927          //   a "check" item named %s went active
14928          // signal: elm,state,%s,passive
14929          //   a "check" item named %s went passive
14930          // default is passive
14931          program {
14932             name:    "go_active";
14933             signal:  "elm,state,selected";
14934             source:  "elm";
14935             action:  STATE_SET "selected" 0.0;
14936             target:  "bg";
14937             target:  "fg1";
14938             target:  "fg2";
14939             target:  "elm.text";
14940             target:  "elm.text.sub";
14941          }
14942          program {
14943             name:    "go_passive";
14944             signal:  "elm,state,unselected";
14945             source:  "elm";
14946             action:  STATE_SET "default" 0.0;
14947             target:  "bg";
14948             target:  "fg1";
14949             target:  "fg2";
14950             target:  "elm.text";
14951             target:  "elm.text.sub";
14952             transition: LINEAR 0.1;
14953          }
14954          program {
14955             name:    "go_disabled";
14956             signal:  "elm,state,disabled";
14957             source:  "elm";
14958             action:  STATE_SET "disabled" 0.0;
14959             target:  "disclip";
14960          }
14961          program {
14962             name:    "go_enabled";
14963             signal:  "elm,state,enabled";
14964             source:  "elm";
14965             action:  STATE_SET "default" 0.0;
14966             target:  "disclip";
14967          }
14968       }
14969    }
14970    group { name: "elm/genlist/item_compress/double_label/default";
14971       data.item: "stacking" "above";
14972       data.item: "selectraise" "on";
14973       data.item: "labels" "elm.text elm.text.sub";
14974       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14975       data.item: "treesize" "20";
14976 //      data.item: "states" "";
14977       images {
14978          image: "bt_sm_base1.png" COMP;
14979          image: "bt_sm_shine.png" COMP;
14980          image: "bt_sm_hilight.png" COMP;
14981          image: "ilist_1.png" COMP;
14982          image: "ilist_item_shadow.png" COMP;
14983       }
14984       parts {
14985          part {
14986             name:           "event";
14987             type:           RECT;
14988             repeat_events: 1;
14989             description {
14990                state: "default" 0.0;
14991                color: 0 0 0 0;
14992             }
14993          }
14994          part {
14995             name: "base_sh";
14996             mouse_events: 0;
14997             description {
14998                state: "default" 0.0;
14999                align: 0.0 0.0;
15000                min: 0 10;
15001                fixed: 1 1;
15002                rel1 {
15003                   to: "base";
15004                   relative: 0.0 1.0;
15005                   offset: 0 0;
15006                }
15007                rel2 {
15008                   to: "base";
15009                   relative: 1.0 1.0;
15010                   offset: -1 0;
15011                }
15012                image {
15013                   normal: "ilist_item_shadow.png";
15014                }
15015                fill.smooth: 0;
15016             }
15017          }
15018          part {
15019             name: "base";
15020             mouse_events: 0;
15021             description {
15022                state: "default" 0.0;
15023                image {
15024                   normal: "ilist_1.png";
15025                   border: 2 2 2 2;
15026                }
15027                fill.smooth: 0;
15028             }
15029          }
15030          part { name: "bg";
15031             clip_to: "disclip";
15032             mouse_events: 0;
15033             description { state: "default" 0.0;
15034                visible: 0;
15035                color: 255 255 255 0;
15036                rel1 {
15037                   relative: 0.0 0.0;
15038                   offset: -5 -5;
15039                }
15040                rel2 {
15041                   relative: 1.0 1.0;
15042                   offset: 4 4;
15043                }
15044                image {
15045                   normal: "bt_sm_base1.png";
15046                   border: 6 6 6 6;
15047                }
15048                image.middle: SOLID;
15049             }
15050             description { state: "selected" 0.0;
15051                inherit: "default" 0.0;
15052                visible: 1;
15053                color: 255 255 255 255;
15054                rel1 {
15055                   relative: 0.0 0.0;
15056                   offset: -2 -2;
15057                }
15058                rel2 {
15059                   relative: 1.0 1.0;
15060                   offset: 1 1;
15061                }
15062             }
15063          }
15064          part { name: "elm.swallow.pad";
15065             type: SWALLOW;
15066             description { state: "default" 0.0;
15067                fixed: 1 0;
15068                align: 0.0 0.5;
15069                rel1 {
15070                   relative: 0.0  0.0;
15071                   offset:   4    4;
15072                }
15073                rel2 {
15074                   relative: 0.0  1.0;
15075                   offset:   4   -5;
15076                }
15077             }
15078          }
15079          part { name: "elm.swallow.icon";
15080             clip_to: "disclip";
15081             type: SWALLOW;
15082             description { state: "default" 0.0;
15083                fixed: 1 0;
15084                align: 0.0 0.5;
15085                rel1 {
15086                   to_x: "elm.swallow.pad";
15087                   relative: 1.0  0.0;
15088                   offset:   -1    4;
15089                }
15090                rel2 {
15091                   to_x: "elm.swallow.pad";
15092                   relative: 1.0  1.0;
15093                   offset:   -1   -5;
15094                }
15095             }
15096          }
15097          part { name: "elm.swallow.end";
15098             clip_to: "disclip";
15099             type: SWALLOW;
15100             description { state: "default" 0.0;
15101                fixed: 1 0;
15102                align: 1.0 0.5;
15103                aspect: 1.0 1.0;
15104                aspect_preference: VERTICAL;
15105                rel1 {
15106                   relative: 1.0  0.0;
15107                   offset:   -5    4;
15108                }
15109                rel2 {
15110                   relative: 1.0  1.0;
15111                   offset:   -5   -5;
15112                }
15113             }
15114          }
15115          part { name: "elm.text";
15116             clip_to: "disclip";
15117             type:           TEXT;
15118             effect:         SOFT_SHADOW;
15119             mouse_events:   0;
15120             scale: 1;
15121             description {
15122                state: "default" 0.0;
15123 //               min: 16 16;
15124                rel1 {
15125                   to_x:     "elm.swallow.icon";
15126                   relative: 1.0  0.0;
15127                   offset:   0 4;
15128                }
15129                rel2 {
15130                   to_x:     "elm.swallow.end";
15131                   relative: 0.0  0.5;
15132                   offset:   -1 -5;
15133                }
15134                color: 0 0 0 255;
15135                color3: 0 0 0 0;
15136                text {
15137                   font: "Sans";
15138                   size: 10;
15139 //                  min: 1 1;
15140                   min: 0 1;
15141                   align: 0.0 0.5;
15142                }
15143             }
15144             description { state: "selected" 0.0;
15145                inherit: "default" 0.0;
15146                color: 224 224 224 255;
15147                color3: 0 0 0 64;
15148             }
15149          }
15150          part { name: "elm.text.sub";
15151             clip_to: "disclip";
15152             type:           TEXT;
15153             mouse_events:   0;
15154             scale: 1;
15155             description {
15156                state: "default" 0.0;
15157 //               min: 16 16;
15158                rel1 {
15159                   to_x:     "elm.swallow.icon";
15160                   relative: 1.0  0.5;
15161                   offset:   0 4;
15162                }
15163                rel2 {
15164                   to_x:     "elm.swallow.end";
15165                   relative: 0.0  1.0;
15166                   offset:   -1 -5;
15167                }
15168                color: 0 0 0 128;
15169                color3: 0 0 0 0;
15170                text {
15171                   font: "Sans";
15172                   size: 8;
15173 //                  min: 1 1;
15174                   min: 0 1;
15175                   align: 0.0 0.5;
15176                }
15177             }
15178             description { state: "selected" 0.0;
15179                inherit: "default" 0.0;
15180                color: 128 128 128 255;
15181                color3: 0 0 0 32;
15182             }
15183          }
15184          part { name: "fg1";
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.relative: 1.0 0.5;
15192                rel2.to: "bg";
15193                image {
15194                   normal: "bt_sm_hilight.png";
15195                   border: 6 6 6 0;
15196                }
15197             }
15198             description { state: "selected" 0.0;
15199                inherit: "default" 0.0;
15200                visible: 1;
15201                color: 255 255 255 255;
15202             }
15203          }
15204          part { name: "fg2";
15205             clip_to: "disclip";
15206             mouse_events: 0;
15207             description { state: "default" 0.0;
15208                visible: 0;
15209                color: 255 255 255 0;
15210                rel1.to: "bg";
15211                rel2.to: "bg";
15212                image {
15213                   normal: "bt_sm_shine.png";
15214                   border: 6 6 6 0;
15215                }
15216             }
15217             description { state: "selected" 0.0;
15218                inherit: "default" 0.0;
15219                visible: 1;
15220                color: 255 255 255 255;
15221             }
15222          }
15223          part { name: "disclip";
15224             type: RECT;
15225             description { state: "default" 0.0;
15226                rel1.to: "bg";
15227                rel2.to: "bg";
15228             }
15229             description { state: "disabled" 0.0;
15230                inherit: "default" 0.0;
15231                color: 255 255 255 64;
15232             }
15233          }
15234       }
15235       programs {
15236          // signal: elm,state,%s,active
15237          //   a "check" item named %s went active
15238          // signal: elm,state,%s,passive
15239          //   a "check" item named %s went passive
15240          // default is passive
15241          program {
15242             name:    "go_active";
15243             signal:  "elm,state,selected";
15244             source:  "elm";
15245             action:  STATE_SET "selected" 0.0;
15246             target:  "bg";
15247             target:  "fg1";
15248             target:  "fg2";
15249             target:  "elm.text";
15250             target:  "elm.text.sub";
15251          }
15252          program {
15253             name:    "go_passive";
15254             signal:  "elm,state,unselected";
15255             source:  "elm";
15256             action:  STATE_SET "default" 0.0;
15257             target:  "bg";
15258             target:  "fg1";
15259             target:  "fg2";
15260             target:  "elm.text";
15261             target:  "elm.text.sub";
15262             transition: LINEAR 0.1;
15263          }
15264          program {
15265             name:    "go_disabled";
15266             signal:  "elm,state,disabled";
15267             source:  "elm";
15268             action:  STATE_SET "disabled" 0.0;
15269             target:  "disclip";
15270          }
15271          program {
15272             name:    "go_enabled";
15273             signal:  "elm,state,enabled";
15274             source:  "elm";
15275             action:  STATE_SET "default" 0.0;
15276             target:  "disclip";
15277          }
15278       }
15279    }
15280    group { name: "elm/genlist/item_odd/double_label/default";
15281       data.item: "stacking" "below";
15282       data.item: "selectraise" "on";
15283       data.item: "labels" "elm.text elm.text.sub";
15284       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15285       data.item: "treesize" "20";
15286 //      data.item: "states" "";
15287       images {
15288          image: "bt_sm_base1.png" COMP;
15289          image: "bt_sm_shine.png" COMP;
15290          image: "bt_sm_hilight.png" COMP;
15291          image: "ilist_2.png" COMP;
15292       }
15293       parts {
15294          part { name: "event";
15295             type: RECT;
15296             repeat_events: 1;
15297             description {
15298                state: "default" 0.0;
15299                color: 0 0 0 0;
15300             }
15301          }
15302          part {
15303             name: "base";
15304             mouse_events: 0;
15305             description {
15306                state: "default" 0.0;
15307                image {
15308                   normal: "ilist_2.png";
15309                   border: 2 2 2 2;
15310                }
15311                fill.smooth: 0;
15312             }
15313          }
15314          part { name: "bg";
15315             clip_to: "disclip";
15316             mouse_events: 0;
15317             description { state: "default" 0.0;
15318                visible: 0;
15319                color: 255 255 255 0;
15320                rel1 {
15321                   relative: 0.0 0.0;
15322                   offset: -5 -5;
15323                }
15324                rel2 {
15325                   relative: 1.0 1.0;
15326                   offset: 4 4;
15327                }
15328                image {
15329                   normal: "bt_sm_base1.png";
15330                   border: 6 6 6 6;
15331                }
15332                image.middle: SOLID;
15333             }
15334             description { state: "selected" 0.0;
15335                inherit: "default" 0.0;
15336                visible: 1;
15337                color: 255 255 255 255;
15338                rel1 {
15339                   relative: 0.0 0.0;
15340                   offset: -2 -2;
15341                }
15342                rel2 {
15343                   relative: 1.0 1.0;
15344                   offset: 1 1;
15345                }
15346             }
15347          }
15348          part { name: "elm.swallow.pad";
15349             type: SWALLOW;
15350             description { state: "default" 0.0;
15351                fixed: 1 0;
15352                align: 0.0 0.5;
15353                rel1 {
15354                   relative: 0.0  0.0;
15355                   offset:   4    4;
15356                }
15357                rel2 {
15358                   relative: 0.0  1.0;
15359                   offset:   4   -5;
15360                }
15361             }
15362          }
15363          part { name: "elm.swallow.icon";
15364             clip_to: "disclip";
15365             type: SWALLOW;
15366             description { state: "default" 0.0;
15367                fixed: 1 0;
15368                align: 0.0 0.5;
15369                rel1 {
15370                   to_x: "elm.swallow.pad";
15371                   relative: 1.0  0.0;
15372                   offset:   -1    4;
15373                }
15374                rel2 {
15375                   to_x: "elm.swallow.pad";
15376                   relative: 1.0  1.0;
15377                   offset:   -1   -5;
15378                }
15379             }
15380          }
15381          part { name: "elm.swallow.end";
15382             clip_to: "disclip";
15383             type:          SWALLOW;
15384             description { state:    "default" 0.0;
15385                fixed: 1 0;
15386                align:    1.0 0.5;
15387                aspect: 1.0 1.0;
15388                aspect_preference: VERTICAL;
15389                rel1 {
15390                   relative: 1.0  0.0;
15391                   offset:   -5    4;
15392                }
15393                rel2 {
15394                   relative: 1.0  1.0;
15395                   offset:   -5   -5;
15396                }
15397             }
15398          }
15399          part { name: "elm.text";
15400             clip_to: "disclip";
15401             type:           TEXT;
15402             effect:         SOFT_SHADOW;
15403             mouse_events:   0;
15404             scale: 1;
15405             description {
15406                state: "default" 0.0;
15407 //               min: 16 16;
15408                rel1 {
15409                   to_x:     "elm.swallow.icon";
15410                   relative: 1.0  0.0;
15411                   offset:   0 4;
15412                }
15413                rel2 {
15414                   to_x:     "elm.swallow.end";
15415                   relative: 0.0  0.5;
15416                   offset:   -1 -5;
15417                }
15418                color: 0 0 0 255;
15419                color3: 0 0 0 0;
15420                text {
15421                   font: "Sans";
15422                   size: 10;
15423                   min: 1 1;
15424 //                  min: 0 1;
15425                   align: 0.0 0.5;
15426                }
15427             }
15428             description { state: "selected" 0.0;
15429                inherit: "default" 0.0;
15430                color: 224 224 224 255;
15431                color3: 0 0 0 64;
15432             }
15433          }
15434          part { name: "elm.text.sub";
15435             clip_to: "disclip";
15436             type:           TEXT;
15437             mouse_events:   0;
15438             scale: 1;
15439             description {
15440                state: "default" 0.0;
15441 //               min: 16 16;
15442                rel1 {
15443                   to_x:     "elm.swallow.icon";
15444                   relative: 1.0  0.5;
15445                   offset:   0 4;
15446                }
15447                rel2 {
15448                   to_x:     "elm.swallow.end";
15449                   relative: 0.0  1.0;
15450                   offset:   -1 -5;
15451                }
15452                color: 0 0 0 128;
15453                color3: 0 0 0 0;
15454                text {
15455                   font: "Sans";
15456                   size: 8;
15457                   min: 1 1;
15458 //                  min: 0 1;
15459                   align: 0.0 0.5;
15460                }
15461             }
15462             description { state: "selected" 0.0;
15463                inherit: "default" 0.0;
15464                color: 128 128 128 255;
15465                color3: 0 0 0 32;
15466             }
15467          }
15468          part { name: "fg1";
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.relative: 1.0 0.5;
15476                rel2.to: "bg";
15477                image {
15478                   normal: "bt_sm_hilight.png";
15479                   border: 6 6 6 0;
15480                }
15481             }
15482             description { state: "selected" 0.0;
15483                inherit: "default" 0.0;
15484                visible: 1;
15485                color: 255 255 255 255;
15486             }
15487          }
15488          part { name: "fg2";
15489             clip_to: "disclip";
15490             mouse_events: 0;
15491             description { state: "default" 0.0;
15492                visible: 0;
15493                color: 255 255 255 0;
15494                rel1.to: "bg";
15495                rel2.to: "bg";
15496                image {
15497                   normal: "bt_sm_shine.png";
15498                   border: 6 6 6 0;
15499                }
15500             }
15501             description { state: "selected" 0.0;
15502                inherit: "default" 0.0;
15503                visible: 1;
15504                color: 255 255 255 255;
15505             }
15506          }
15507          part { name: "disclip";
15508             type: RECT;
15509             description { state: "default" 0.0;
15510                rel1.to: "bg";
15511                rel2.to: "bg";
15512             }
15513             description { state: "disabled" 0.0;
15514                inherit: "default" 0.0;
15515                color: 255 255 255 64;
15516             }
15517          }
15518       }
15519       programs {
15520          // signal: elm,state,%s,active
15521          //   a "check" item named %s went active
15522          // signal: elm,state,%s,passive
15523          //   a "check" item named %s went passive
15524          // default is passive
15525          program {
15526             name:    "go_active";
15527             signal:  "elm,state,selected";
15528             source:  "elm";
15529             action:  STATE_SET "selected" 0.0;
15530             target:  "bg";
15531             target:  "fg1";
15532             target:  "fg2";
15533             target:  "elm.text";
15534             target:  "elm.text.sub";
15535          }
15536          program {
15537             name:    "go_passive";
15538             signal:  "elm,state,unselected";
15539             source:  "elm";
15540             action:  STATE_SET "default" 0.0;
15541             target:  "bg";
15542             target:  "fg1";
15543             target:  "fg2";
15544             target:  "elm.text";
15545             target:  "elm.text.sub";
15546             transition: LINEAR 0.1;
15547          }
15548          program {
15549             name:    "go_disabled";
15550             signal:  "elm,state,disabled";
15551             source:  "elm";
15552             action:  STATE_SET "disabled" 0.0;
15553             target:  "disclip";
15554          }
15555          program {
15556             name:    "go_enabled";
15557             signal:  "elm,state,enabled";
15558             source:  "elm";
15559             action:  STATE_SET "default" 0.0;
15560             target:  "disclip";
15561          }
15562       }
15563    }
15564    group { name: "elm/genlist/item_compress_odd/double_label/default";
15565       data.item: "stacking" "below";
15566       data.item: "selectraise" "on";
15567       data.item: "labels" "elm.text elm.text.sub";
15568       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15569       data.item: "treesize" "20";
15570 //      data.item: "states" "";
15571       images {
15572          image: "bt_sm_base1.png" COMP;
15573          image: "bt_sm_shine.png" COMP;
15574          image: "bt_sm_hilight.png" COMP;
15575          image: "ilist_2.png" COMP;
15576       }
15577       parts {
15578          part { name: "event";
15579             type: RECT;
15580             repeat_events: 1;
15581             description {
15582                state: "default" 0.0;
15583                color: 0 0 0 0;
15584             }
15585          }
15586          part {
15587             name: "base";
15588             mouse_events: 0;
15589             description {
15590                state: "default" 0.0;
15591                image {
15592                   normal: "ilist_2.png";
15593                   border: 2 2 2 2;
15594                }
15595                fill.smooth: 0;
15596             }
15597          }
15598          part { name: "bg";
15599             clip_to: "disclip";
15600             mouse_events: 0;
15601             description { state: "default" 0.0;
15602                visible: 0;
15603                color: 255 255 255 0;
15604                rel1 {
15605                   relative: 0.0 0.0;
15606                   offset: -5 -5;
15607                }
15608                rel2 {
15609                   relative: 1.0 1.0;
15610                   offset: 4 4;
15611                }
15612                image {
15613                   normal: "bt_sm_base1.png";
15614                   border: 6 6 6 6;
15615                }
15616                image.middle: SOLID;
15617             }
15618             description { state: "selected" 0.0;
15619                inherit: "default" 0.0;
15620                visible: 1;
15621                color: 255 255 255 255;
15622                rel1 {
15623                   relative: 0.0 0.0;
15624                   offset: -2 -2;
15625                }
15626                rel2 {
15627                   relative: 1.0 1.0;
15628                   offset: 1 1;
15629                }
15630             }
15631          }
15632          part { name: "elm.swallow.pad";
15633             type: SWALLOW;
15634             description { state: "default" 0.0;
15635                fixed: 1 0;
15636                align: 0.0 0.5;
15637                rel1 {
15638                   relative: 0.0  0.0;
15639                   offset:   4    4;
15640                }
15641                rel2 {
15642                   relative: 0.0  1.0;
15643                   offset:   4   -5;
15644                }
15645             }
15646          }
15647          part { name: "elm.swallow.icon";
15648             clip_to: "disclip";
15649             type: SWALLOW;
15650             description { state: "default" 0.0;
15651                fixed: 1 0;
15652                align: 0.0 0.5;
15653                rel1 {
15654                   to_x: "elm.swallow.pad";
15655                   relative: 1.0  0.0;
15656                   offset:   -1    4;
15657                }
15658                rel2 {
15659                   to_x: "elm.swallow.pad";
15660                   relative: 1.0  1.0;
15661                   offset:   -1   -5;
15662                }
15663             }
15664          }
15665          part { name: "elm.swallow.end";
15666             clip_to: "disclip";
15667             type:          SWALLOW;
15668             description { state:    "default" 0.0;
15669                fixed: 1 0;
15670                align:    1.0 0.5;
15671                aspect: 1.0 1.0;
15672                aspect_preference: VERTICAL;
15673                rel1 {
15674                   relative: 1.0  0.0;
15675                   offset:   -5    4;
15676                }
15677                rel2 {
15678                   relative: 1.0  1.0;
15679                   offset:   -5   -5;
15680                }
15681             }
15682          }
15683          part { name: "elm.text";
15684             clip_to: "disclip";
15685             type:           TEXT;
15686             effect:         SOFT_SHADOW;
15687             mouse_events:   0;
15688             scale: 1;
15689             description {
15690                state: "default" 0.0;
15691 //               min: 16 16;
15692                rel1 {
15693                   to_x:     "elm.swallow.icon";
15694                   relative: 1.0  0.0;
15695                   offset:   0 4;
15696                }
15697                rel2 {
15698                   to_x:     "elm.swallow.end";
15699                   relative: 0.0  0.5;
15700                   offset:   -1 -5;
15701                }
15702                color: 0 0 0 255;
15703                color3: 0 0 0 0;
15704                text {
15705                   font: "Sans";
15706                   size: 10;
15707 //                  min: 1 1;
15708                   min: 0 1;
15709                   align: 0.0 0.5;
15710                }
15711             }
15712             description { state: "selected" 0.0;
15713                inherit: "default" 0.0;
15714                color: 224 224 224 255;
15715                color3: 0 0 0 64;
15716             }
15717          }
15718          part { name: "elm.text.sub";
15719             clip_to: "disclip";
15720             type:           TEXT;
15721             mouse_events:   0;
15722             scale: 1;
15723             description {
15724                state: "default" 0.0;
15725 //               min: 16 16;
15726                rel1 {
15727                   to_x:     "elm.swallow.icon";
15728                   relative: 1.0  0.5;
15729                   offset:   0 4;
15730                }
15731                rel2 {
15732                   to_x:     "elm.swallow.end";
15733                   relative: 0.0  1.0;
15734                   offset:   -1 -5;
15735                }
15736                color: 0 0 0 128;
15737                color3: 0 0 0 0;
15738                text {
15739                   font: "Sans";
15740                   size: 8;
15741 //                  min: 1 1;
15742                   min: 0 1;
15743                   align: 0.0 0.5;
15744                }
15745             }
15746             description { state: "selected" 0.0;
15747                inherit: "default" 0.0;
15748                color: 128 128 128 255;
15749                color3: 0 0 0 32;
15750             }
15751          }
15752          part { name: "fg1";
15753             clip_to: "disclip";
15754             mouse_events: 0;
15755             description { state: "default" 0.0;
15756                visible: 0;
15757                color: 255 255 255 0;
15758                rel1.to: "bg";
15759                rel2.relative: 1.0 0.5;
15760                rel2.to: "bg";
15761                image {
15762                   normal: "bt_sm_hilight.png";
15763                   border: 6 6 6 0;
15764                }
15765             }
15766             description { state: "selected" 0.0;
15767                inherit: "default" 0.0;
15768                visible: 1;
15769                color: 255 255 255 255;
15770             }
15771          }
15772          part { name: "fg2";
15773             clip_to: "disclip";
15774             mouse_events: 0;
15775             description { state: "default" 0.0;
15776                visible: 0;
15777                color: 255 255 255 0;
15778                rel1.to: "bg";
15779                rel2.to: "bg";
15780                image {
15781                   normal: "bt_sm_shine.png";
15782                   border: 6 6 6 0;
15783                }
15784             }
15785             description { state: "selected" 0.0;
15786                inherit: "default" 0.0;
15787                visible: 1;
15788                color: 255 255 255 255;
15789             }
15790          }
15791          part { name: "disclip";
15792             type: RECT;
15793             description { state: "default" 0.0;
15794                rel1.to: "bg";
15795                rel2.to: "bg";
15796             }
15797             description { state: "disabled" 0.0;
15798                inherit: "default" 0.0;
15799                color: 255 255 255 64;
15800             }
15801          }
15802       }
15803       programs {
15804          // signal: elm,state,%s,active
15805          //   a "check" item named %s went active
15806          // signal: elm,state,%s,passive
15807          //   a "check" item named %s went passive
15808          // default is passive
15809          program {
15810             name:    "go_active";
15811             signal:  "elm,state,selected";
15812             source:  "elm";
15813             action:  STATE_SET "selected" 0.0;
15814             target:  "bg";
15815             target:  "fg1";
15816             target:  "fg2";
15817             target:  "elm.text";
15818             target:  "elm.text.sub";
15819          }
15820          program {
15821             name:    "go_passive";
15822             signal:  "elm,state,unselected";
15823             source:  "elm";
15824             action:  STATE_SET "default" 0.0;
15825             target:  "bg";
15826             target:  "fg1";
15827             target:  "fg2";
15828             target:  "elm.text";
15829             target:  "elm.text.sub";
15830             transition: LINEAR 0.1;
15831          }
15832          program {
15833             name:    "go_disabled";
15834             signal:  "elm,state,disabled";
15835             source:  "elm";
15836             action:  STATE_SET "disabled" 0.0;
15837             target:  "disclip";
15838          }
15839          program {
15840             name:    "go_enabled";
15841             signal:  "elm,state,enabled";
15842             source:  "elm";
15843             action:  STATE_SET "default" 0.0;
15844             target:  "disclip";
15845          }
15846       }
15847    }
15848
15849    group { name: "elm/genlist/tree/double_label/default";
15850       data.item: "stacking" "above";
15851       data.item: "selectraise" "on";
15852       data.item: "labels" "elm.text elm.text.sub";
15853       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15854       data.item: "treesize" "20";
15855 //      data.item: "states" "";
15856       images {
15857          image: "bt_sm_base1.png" COMP;
15858          image: "bt_sm_shine.png" COMP;
15859          image: "bt_sm_hilight.png" COMP;
15860          image: "ilist_1.png" COMP;
15861          image: "ilist_item_shadow.png" COMP;
15862          image: "icon_arrow_right.png" COMP;
15863          image: "icon_arrow_down.png" COMP;
15864       }
15865       parts {
15866          part {
15867             name:           "event";
15868             type:           RECT;
15869             repeat_events: 1;
15870             description {
15871                state: "default" 0.0;
15872                color: 0 0 0 0;
15873             }
15874          }
15875          part {
15876             name: "base_sh";
15877             mouse_events: 0;
15878             description {
15879                state: "default" 0.0;
15880                align: 0.0 0.0;
15881                min: 0 10;
15882                fixed: 1 1;
15883                rel1 {
15884                   to: "base";
15885                   relative: 0.0 1.0;
15886                   offset: 0 0;
15887                }
15888                rel2 {
15889                   to: "base";
15890                   relative: 1.0 1.0;
15891                   offset: -1 0;
15892                }
15893                image {
15894                   normal: "ilist_item_shadow.png";
15895                }
15896                fill.smooth: 0;
15897             }
15898          }
15899          part {
15900             name: "base";
15901             mouse_events: 0;
15902             description {
15903                state: "default" 0.0;
15904                image {
15905                   normal: "ilist_1.png";
15906                   border: 2 2 2 2;
15907                }
15908                fill.smooth: 0;
15909             }
15910          }
15911          part { name: "bg";
15912             clip_to: "disclip";
15913             mouse_events: 0;
15914             description { state: "default" 0.0;
15915                visible: 0;
15916                color: 255 255 255 0;
15917                rel1 {
15918                   relative: 0.0 0.0;
15919                   offset: -5 -5;
15920                }
15921                rel2 {
15922                   relative: 1.0 1.0;
15923                   offset: 4 4;
15924                }
15925                image {
15926                   normal: "bt_sm_base1.png";
15927                   border: 6 6 6 6;
15928                }
15929                image.middle: SOLID;
15930             }
15931             description { state: "selected" 0.0;
15932                inherit: "default" 0.0;
15933                visible: 1;
15934                color: 255 255 255 255;
15935                rel1 {
15936                   relative: 0.0 0.0;
15937                   offset: -2 -2;
15938                }
15939                rel2 {
15940                   relative: 1.0 1.0;
15941                   offset: 1 1;
15942                }
15943             }
15944          }
15945          part { name: "elm.swallow.pad";
15946             type: SWALLOW;
15947             description { state: "default" 0.0;
15948                fixed: 1 0;
15949                align: 0.0 0.5;
15950                rel1 {
15951                   relative: 0.0  0.0;
15952                   offset:   4    4;
15953                }
15954                rel2 {
15955                   relative: 0.0  1.0;
15956                   offset:   4   -5;
15957                }
15958             }
15959          }
15960          part { name: "arrow";
15961             clip_to: "disclip";
15962             ignore_flags: ON_HOLD;
15963             description { state: "default" 0.0;
15964                fixed: 1 0;
15965                align: 0.0 0.5;
15966                aspect: 1.0 1.0;
15967                rel1 {
15968                   to_x: "elm.swallow.pad";
15969                   relative: 1.0  0.0;
15970                   offset:   -1    4;
15971                }
15972                rel2 {
15973                   to_x: "elm.swallow.pad";
15974                   relative: 1.0  1.0;
15975                   offset:   -1   -5;
15976                }
15977                image.normal: "icon_arrow_right.png";
15978             }
15979             description { state: "active" 0.0;
15980                inherit: "default" 0.0;
15981                image.normal: "icon_arrow_down.png";
15982             }
15983          }
15984          part { name: "elm.swallow.icon";
15985             clip_to: "disclip";
15986             type: SWALLOW;
15987             description { state: "default" 0.0;
15988                fixed: 1 0;
15989                align: 0.0 0.5;
15990                rel1 {
15991                   to_x: "arrow";
15992                   relative: 1.0  0.0;
15993                   offset:   4    4;
15994                }
15995                rel2 {
15996                   to_x: "arrow";
15997                   relative: 1.0  1.0;
15998                   offset:   4   -5;
15999                }
16000             }
16001          }
16002          part { name: "elm.swallow.end";
16003             clip_to: "disclip";
16004             type: SWALLOW;
16005             description { state: "default" 0.0;
16006                fixed: 1 0;
16007                align: 1.0 0.5;
16008                aspect: 1.0 1.0;
16009                aspect_preference: VERTICAL;
16010                rel1 {
16011                   relative: 1.0  0.0;
16012                   offset:   -5    4;
16013                }
16014                rel2 {
16015                   relative: 1.0  1.0;
16016                   offset:   -5   -5;
16017                }
16018             }
16019          }
16020          part { name: "elm.text";
16021             clip_to: "disclip";
16022             type:           TEXT;
16023             effect:         SOFT_SHADOW;
16024             mouse_events:   0;
16025             scale: 1;
16026             description {
16027                state: "default" 0.0;
16028 //               min: 16 16;
16029                rel1 {
16030                   to_x:     "elm.swallow.icon";
16031                   relative: 1.0  0.0;
16032                   offset:   0 4;
16033                }
16034                rel2 {
16035                   to_x:     "elm.swallow.end";
16036                   relative: 0.0  0.5;
16037                   offset:   -1 -5;
16038                }
16039                color: 0 0 0 255;
16040                color3: 0 0 0 0;
16041                text {
16042                   font: "Sans";
16043                   size: 10;
16044                   min: 1 1;
16045 //                  min: 0 1;
16046                   align: 0.0 0.5;
16047                }
16048             }
16049             description { state: "selected" 0.0;
16050                inherit: "default" 0.0;
16051                color: 224 224 224 255;
16052                color3: 0 0 0 64;
16053             }
16054          }
16055          part { name: "elm.text.sub";
16056             clip_to: "disclip";
16057             type:           TEXT;
16058             mouse_events:   0;
16059             scale: 1;
16060             description {
16061                state: "default" 0.0;
16062 //               min: 16 16;
16063                rel1 {
16064                   to_x:     "elm.swallow.icon";
16065                   relative: 1.0  0.5;
16066                   offset:   0 4;
16067                }
16068                rel2 {
16069                   to_x:     "elm.swallow.end";
16070                   relative: 0.0  1.0;
16071                   offset:   -1 -5;
16072                }
16073                color: 0 0 0 128;
16074                color3: 0 0 0 0;
16075                text {
16076                   font: "Sans";
16077                   size: 8;
16078                   min: 1 1;
16079 //                  min: 0 1;
16080                   align: 0.0 0.5;
16081                }
16082             }
16083             description { state: "selected" 0.0;
16084                inherit: "default" 0.0;
16085                color: 128 128 128 255;
16086                color3: 0 0 0 32;
16087             }
16088          }
16089          part { name: "fg1";
16090             clip_to: "disclip";
16091             mouse_events: 0;
16092             description { state: "default" 0.0;
16093                visible: 0;
16094                color: 255 255 255 0;
16095                rel1.to: "bg";
16096                rel2.relative: 1.0 0.5;
16097                rel2.to: "bg";
16098                image {
16099                   normal: "bt_sm_hilight.png";
16100                   border: 6 6 6 0;
16101                }
16102             }
16103             description { state: "selected" 0.0;
16104                inherit: "default" 0.0;
16105                visible: 1;
16106                color: 255 255 255 255;
16107             }
16108          }
16109          part { name: "fg2";
16110             clip_to: "disclip";
16111             mouse_events: 0;
16112             description { state: "default" 0.0;
16113                visible: 0;
16114                color: 255 255 255 0;
16115                rel1.to: "bg";
16116                rel2.to: "bg";
16117                image {
16118                   normal: "bt_sm_shine.png";
16119                   border: 6 6 6 0;
16120                }
16121             }
16122             description { state: "selected" 0.0;
16123                inherit: "default" 0.0;
16124                visible: 1;
16125                color: 255 255 255 255;
16126             }
16127          }
16128          part { name: "disclip";
16129             type: RECT;
16130             description { state: "default" 0.0;
16131                rel1.to: "bg";
16132                rel2.to: "bg";
16133             }
16134             description { state: "disabled" 0.0;
16135                inherit: "default" 0.0;
16136                color: 255 255 255 64;
16137             }
16138          }
16139       }
16140       programs {
16141          // signal: elm,state,%s,active
16142          //   a "check" item named %s went active
16143          // signal: elm,state,%s,passive
16144          //   a "check" item named %s went passive
16145          // default is passive
16146          program {
16147             name:    "go_active";
16148             signal:  "elm,state,selected";
16149             source:  "elm";
16150             action:  STATE_SET "selected" 0.0;
16151             target:  "bg";
16152             target:  "fg1";
16153             target:  "fg2";
16154             target:  "elm.text";
16155             target:  "elm.text.sub";
16156          }
16157          program {
16158             name:    "go_passive";
16159             signal:  "elm,state,unselected";
16160             source:  "elm";
16161             action:  STATE_SET "default" 0.0;
16162             target:  "bg";
16163             target:  "fg1";
16164             target:  "fg2";
16165             target:  "elm.text";
16166             target:  "elm.text.sub";
16167             transition: LINEAR 0.1;
16168          }
16169          program {
16170             name:    "go_disabled";
16171             signal:  "elm,state,disabled";
16172             source:  "elm";
16173             action:  STATE_SET "disabled" 0.0;
16174             target:  "disclip";
16175          }
16176          program {
16177             name:    "go_enabled";
16178             signal:  "elm,state,enabled";
16179             source:  "elm";
16180             action:  STATE_SET "default" 0.0;
16181             target:  "disclip";
16182          }
16183          program {
16184             name:    "expand";
16185             signal:  "mouse,up,1";
16186             source:  "arrow";
16187             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16188          }
16189          program {
16190             name:    "go_expanded";
16191             signal:  "elm,state,expanded";
16192             source:  "elm";
16193             action:  STATE_SET "active" 0.0;
16194             target:  "arrow";
16195          }
16196          program {
16197             name:    "go_contracted";
16198             signal:  "elm,state,contracted";
16199             source:  "elm";
16200             action:  STATE_SET "default" 0.0;
16201             target:  "arrow";
16202          }
16203       }
16204    }
16205    group { name: "elm/genlist/tree_compress/double_label/default";
16206       data.item: "stacking" "above";
16207       data.item: "selectraise" "on";
16208       data.item: "labels" "elm.text elm.text.sub";
16209       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16210       data.item: "treesize" "20";
16211 //      data.item: "states" "";
16212       images {
16213          image: "bt_sm_base1.png" COMP;
16214          image: "bt_sm_shine.png" COMP;
16215          image: "bt_sm_hilight.png" COMP;
16216          image: "ilist_1.png" COMP;
16217          image: "ilist_item_shadow.png" COMP;
16218          image: "icon_arrow_right.png" COMP;
16219          image: "icon_arrow_down.png" COMP;
16220       }
16221       parts {
16222          part {
16223             name:           "event";
16224             type:           RECT;
16225             repeat_events: 1;
16226             description {
16227                state: "default" 0.0;
16228                color: 0 0 0 0;
16229             }
16230          }
16231          part {
16232             name: "base_sh";
16233             mouse_events: 0;
16234             description {
16235                state: "default" 0.0;
16236                align: 0.0 0.0;
16237                min: 0 10;
16238                fixed: 1 1;
16239                rel1 {
16240                   to: "base";
16241                   relative: 0.0 1.0;
16242                   offset: 0 0;
16243                }
16244                rel2 {
16245                   to: "base";
16246                   relative: 1.0 1.0;
16247                   offset: -1 0;
16248                }
16249                image {
16250                   normal: "ilist_item_shadow.png";
16251                }
16252                fill.smooth: 0;
16253             }
16254          }
16255          part {
16256             name: "base";
16257             mouse_events: 0;
16258             description {
16259                state: "default" 0.0;
16260                image {
16261                   normal: "ilist_1.png";
16262                   border: 2 2 2 2;
16263                }
16264                fill.smooth: 0;
16265             }
16266          }
16267          part { name: "bg";
16268             clip_to: "disclip";
16269             mouse_events: 0;
16270             description { state: "default" 0.0;
16271                visible: 0;
16272                color: 255 255 255 0;
16273                rel1 {
16274                   relative: 0.0 0.0;
16275                   offset: -5 -5;
16276                }
16277                rel2 {
16278                   relative: 1.0 1.0;
16279                   offset: 4 4;
16280                }
16281                image {
16282                   normal: "bt_sm_base1.png";
16283                   border: 6 6 6 6;
16284                }
16285                image.middle: SOLID;
16286             }
16287             description { state: "selected" 0.0;
16288                inherit: "default" 0.0;
16289                visible: 1;
16290                color: 255 255 255 255;
16291                rel1 {
16292                   relative: 0.0 0.0;
16293                   offset: -2 -2;
16294                }
16295                rel2 {
16296                   relative: 1.0 1.0;
16297                   offset: 1 1;
16298                }
16299             }
16300          }
16301          part { name: "elm.swallow.pad";
16302             type: SWALLOW;
16303             description { state: "default" 0.0;
16304                fixed: 1 0;
16305                align: 0.0 0.5;
16306                rel1 {
16307                   relative: 0.0  0.0;
16308                   offset:   4    4;
16309                }
16310                rel2 {
16311                   relative: 0.0  1.0;
16312                   offset:   4   -5;
16313                }
16314             }
16315          }
16316          part { name: "arrow";
16317             clip_to: "disclip";
16318             ignore_flags: ON_HOLD;
16319             description { state: "default" 0.0;
16320                fixed: 1 0;
16321                align: 0.0 0.5;
16322                aspect: 1.0 1.0;
16323                rel1 {
16324                   to_x: "elm.swallow.pad";
16325                   relative: 1.0  0.0;
16326                   offset:   -1    4;
16327                }
16328                rel2 {
16329                   to_x: "elm.swallow.pad";
16330                   relative: 1.0  1.0;
16331                   offset:   -1   -5;
16332                }
16333                image.normal: "icon_arrow_right.png";
16334             }
16335             description { state: "active" 0.0;
16336                inherit: "default" 0.0;
16337                image.normal: "icon_arrow_down.png";
16338             }
16339          }
16340          part { name: "elm.swallow.icon";
16341             clip_to: "disclip";
16342             type: SWALLOW;
16343             description { state: "default" 0.0;
16344                fixed: 1 0;
16345                align: 0.0 0.5;
16346                rel1 {
16347                   to_x: "arrow";
16348                   relative: 1.0  0.0;
16349                   offset:   4    4;
16350                }
16351                rel2 {
16352                   to_x: "arrow";
16353                   relative: 1.0  1.0;
16354                   offset:   4   -5;
16355                }
16356             }
16357          }
16358          part { name: "elm.swallow.end";
16359             clip_to: "disclip";
16360             type: SWALLOW;
16361             description { state: "default" 0.0;
16362                fixed: 1 0;
16363                align: 1.0 0.5;
16364                aspect: 1.0 1.0;
16365                aspect_preference: VERTICAL;
16366                rel1 {
16367                   relative: 1.0  0.0;
16368                   offset:   -5    4;
16369                }
16370                rel2 {
16371                   relative: 1.0  1.0;
16372                   offset:   -5   -5;
16373                }
16374             }
16375          }
16376          part { name: "elm.text";
16377             clip_to: "disclip";
16378             type:           TEXT;
16379             effect:         SOFT_SHADOW;
16380             mouse_events:   0;
16381             scale: 1;
16382             description {
16383                state: "default" 0.0;
16384 //               min: 16 16;
16385                rel1 {
16386                   to_x:     "elm.swallow.icon";
16387                   relative: 1.0  0.0;
16388                   offset:   0 4;
16389                }
16390                rel2 {
16391                   to_x:     "elm.swallow.end";
16392                   relative: 0.0  0.5;
16393                   offset:   -1 -5;
16394                }
16395                color: 0 0 0 255;
16396                color3: 0 0 0 0;
16397                text {
16398                   font: "Sans";
16399                   size: 10;
16400 //                  min: 1 1;
16401                   min: 0 1;
16402                   align: 0.0 0.5;
16403                }
16404             }
16405             description { state: "selected" 0.0;
16406                inherit: "default" 0.0;
16407                color: 224 224 224 255;
16408                color3: 0 0 0 64;
16409             }
16410          }
16411          part { name: "elm.text.sub";
16412             clip_to: "disclip";
16413             type:           TEXT;
16414             mouse_events:   0;
16415             scale: 1;
16416             description {
16417                state: "default" 0.0;
16418 //               min: 16 16;
16419                rel1 {
16420                   to_x:     "elm.swallow.icon";
16421                   relative: 1.0  0.5;
16422                   offset:   0 4;
16423                }
16424                rel2 {
16425                   to_x:     "elm.swallow.end";
16426                   relative: 0.0  1.0;
16427                   offset:   -1 -5;
16428                }
16429                color: 0 0 0 128;
16430                color3: 0 0 0 0;
16431                text {
16432                   font: "Sans";
16433                   size: 8;
16434 //                  min: 1 1;
16435                   min: 0 1;
16436                   align: 0.0 0.5;
16437                }
16438             }
16439             description { state: "selected" 0.0;
16440                inherit: "default" 0.0;
16441                color: 128 128 128 255;
16442                color3: 0 0 0 32;
16443             }
16444          }
16445          part { name: "fg1";
16446             clip_to: "disclip";
16447             mouse_events: 0;
16448             description { state: "default" 0.0;
16449                visible: 0;
16450                color: 255 255 255 0;
16451                rel1.to: "bg";
16452                rel2.relative: 1.0 0.5;
16453                rel2.to: "bg";
16454                image {
16455                   normal: "bt_sm_hilight.png";
16456                   border: 6 6 6 0;
16457                }
16458             }
16459             description { state: "selected" 0.0;
16460                inherit: "default" 0.0;
16461                visible: 1;
16462                color: 255 255 255 255;
16463             }
16464          }
16465          part { name: "fg2";
16466             clip_to: "disclip";
16467             mouse_events: 0;
16468             description { state: "default" 0.0;
16469                visible: 0;
16470                color: 255 255 255 0;
16471                rel1.to: "bg";
16472                rel2.to: "bg";
16473                image {
16474                   normal: "bt_sm_shine.png";
16475                   border: 6 6 6 0;
16476                }
16477             }
16478             description { state: "selected" 0.0;
16479                inherit: "default" 0.0;
16480                visible: 1;
16481                color: 255 255 255 255;
16482             }
16483          }
16484          part { name: "disclip";
16485             type: RECT;
16486             description { state: "default" 0.0;
16487                rel1.to: "bg";
16488                rel2.to: "bg";
16489             }
16490             description { state: "disabled" 0.0;
16491                inherit: "default" 0.0;
16492                color: 255 255 255 64;
16493             }
16494          }
16495       }
16496       programs {
16497          // signal: elm,state,%s,active
16498          //   a "check" item named %s went active
16499          // signal: elm,state,%s,passive
16500          //   a "check" item named %s went passive
16501          // default is passive
16502          program {
16503             name:    "go_active";
16504             signal:  "elm,state,selected";
16505             source:  "elm";
16506             action:  STATE_SET "selected" 0.0;
16507             target:  "bg";
16508             target:  "fg1";
16509             target:  "fg2";
16510             target:  "elm.text";
16511             target:  "elm.text.sub";
16512          }
16513          program {
16514             name:    "go_passive";
16515             signal:  "elm,state,unselected";
16516             source:  "elm";
16517             action:  STATE_SET "default" 0.0;
16518             target:  "bg";
16519             target:  "fg1";
16520             target:  "fg2";
16521             target:  "elm.text";
16522             target:  "elm.text.sub";
16523             transition: LINEAR 0.1;
16524          }
16525          program {
16526             name:    "go_disabled";
16527             signal:  "elm,state,disabled";
16528             source:  "elm";
16529             action:  STATE_SET "disabled" 0.0;
16530             target:  "disclip";
16531          }
16532          program {
16533             name:    "go_enabled";
16534             signal:  "elm,state,enabled";
16535             source:  "elm";
16536             action:  STATE_SET "default" 0.0;
16537             target:  "disclip";
16538          }
16539          program {
16540             name:    "expand";
16541             signal:  "mouse,up,1";
16542             source:  "arrow";
16543             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16544          }
16545          program {
16546             name:    "go_expanded";
16547             signal:  "elm,state,expanded";
16548             source:  "elm";
16549             action:  STATE_SET "active" 0.0;
16550             target:  "arrow";
16551          }
16552          program {
16553             name:    "go_contracted";
16554             signal:  "elm,state,contracted";
16555             source:  "elm";
16556             action:  STATE_SET "default" 0.0;
16557             target:  "arrow";
16558          }
16559       }
16560    }
16561    group { name: "elm/genlist/tree_odd/double_label/default";
16562       data.item: "stacking" "below";
16563       data.item: "selectraise" "on";
16564       data.item: "labels" "elm.text elm.text.sub";
16565       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16566       data.item: "treesize" "20";
16567 //      data.item: "states" "";
16568       images {
16569          image: "bt_sm_base1.png" COMP;
16570          image: "bt_sm_shine.png" COMP;
16571          image: "bt_sm_hilight.png" COMP;
16572          image: "ilist_2.png" COMP;
16573          image: "icon_arrow_right.png" COMP;
16574          image: "icon_arrow_down.png" COMP;
16575       }
16576       parts {
16577          part {
16578             name:           "event";
16579             type:           RECT;
16580             repeat_events: 1;
16581             description {
16582                state: "default" 0.0;
16583                color: 0 0 0 0;
16584             }
16585          }
16586          part {
16587             name: "base";
16588             mouse_events: 0;
16589             description {
16590                state: "default" 0.0;
16591                image {
16592                   normal: "ilist_2.png";
16593                   border: 2 2 2 2;
16594                }
16595                fill.smooth: 0;
16596             }
16597          }
16598          part { name: "bg";
16599             clip_to: "disclip";
16600             mouse_events: 0;
16601             description { state: "default" 0.0;
16602                visible: 0;
16603                color: 255 255 255 0;
16604                rel1 {
16605                   relative: 0.0 0.0;
16606                   offset: -5 -5;
16607                }
16608                rel2 {
16609                   relative: 1.0 1.0;
16610                   offset: 4 4;
16611                }
16612                image {
16613                   normal: "bt_sm_base1.png";
16614                   border: 6 6 6 6;
16615                }
16616                image.middle: SOLID;
16617             }
16618             description { state: "selected" 0.0;
16619                inherit: "default" 0.0;
16620                visible: 1;
16621                color: 255 255 255 255;
16622                rel1 {
16623                   relative: 0.0 0.0;
16624                   offset: -2 -2;
16625                }
16626                rel2 {
16627                   relative: 1.0 1.0;
16628                   offset: 1 1;
16629                }
16630             }
16631          }
16632          part { name: "elm.swallow.pad";
16633             type: SWALLOW;
16634             description { state: "default" 0.0;
16635                fixed: 1 0;
16636                align: 0.0 0.5;
16637                rel1 {
16638                   relative: 0.0  0.0;
16639                   offset:   4    4;
16640                }
16641                rel2 {
16642                   relative: 0.0  1.0;
16643                   offset:   4   -5;
16644                }
16645             }
16646          }
16647          part { name: "arrow";
16648             clip_to: "disclip";
16649             ignore_flags: ON_HOLD;
16650             description { state: "default" 0.0;
16651                fixed: 1 0;
16652                align: 0.0 0.5;
16653                aspect: 1.0 1.0;
16654                rel1 {
16655                   to_x: "elm.swallow.pad";
16656                   relative: 1.0  0.0;
16657                   offset:   -1    4;
16658                }
16659                rel2 {
16660                   to_x: "elm.swallow.pad";
16661                   relative: 1.0  1.0;
16662                   offset:   -1   -5;
16663                }
16664                image.normal: "icon_arrow_right.png";
16665             }
16666             description { state: "active" 0.0;
16667                inherit: "default" 0.0;
16668                image.normal: "icon_arrow_down.png";
16669             }
16670          }
16671          part { name: "elm.swallow.icon";
16672             clip_to: "disclip";
16673             type: SWALLOW;
16674             description { state: "default" 0.0;
16675                fixed: 1 0;
16676                align: 0.0 0.5;
16677                rel1 {
16678                   to_x: "arrow";
16679                   relative: 1.0  0.0;
16680                   offset:   4    4;
16681                }
16682                rel2 {
16683                   to_x: "arrow";
16684                   relative: 1.0  1.0;
16685                   offset:   4   -5;
16686                }
16687             }
16688          }
16689          part { name: "elm.swallow.end";
16690             clip_to: "disclip";
16691             type: SWALLOW;
16692             description { state: "default" 0.0;
16693                fixed: 1 0;
16694                align: 1.0 0.5;
16695                aspect: 1.0 1.0;
16696                aspect_preference: VERTICAL;
16697                rel1 {
16698                   relative: 1.0  0.0;
16699                   offset:   -5    4;
16700                }
16701                rel2 {
16702                   relative: 1.0  1.0;
16703                   offset:   -5   -5;
16704                }
16705             }
16706          }
16707          part { name: "elm.text";
16708             clip_to: "disclip";
16709             type:           TEXT;
16710             effect:         SOFT_SHADOW;
16711             mouse_events:   0;
16712             scale: 1;
16713             description {
16714                state: "default" 0.0;
16715 //               min: 16 16;
16716                rel1 {
16717                   to_x:     "elm.swallow.icon";
16718                   relative: 1.0  0.0;
16719                   offset:   0 4;
16720                }
16721                rel2 {
16722                   to_x:     "elm.swallow.end";
16723                   relative: 0.0  0.5;
16724                   offset:   -1 -5;
16725                }
16726                color: 0 0 0 255;
16727                color3: 0 0 0 0;
16728                text {
16729                   font: "Sans";
16730                   size: 10;
16731                   min: 1 1;
16732 //                  min: 0 1;
16733                   align: 0.0 0.5;
16734                }
16735             }
16736             description { state: "selected" 0.0;
16737                inherit: "default" 0.0;
16738                color: 224 224 224 255;
16739                color3: 0 0 0 64;
16740             }
16741          }
16742          part { name: "elm.text.sub";
16743             clip_to: "disclip";
16744             type:           TEXT;
16745             mouse_events:   0;
16746             scale: 1;
16747             description {
16748                state: "default" 0.0;
16749 //               min: 16 16;
16750                rel1 {
16751                   to_x:     "elm.swallow.icon";
16752                   relative: 1.0  0.5;
16753                   offset:   0 4;
16754                }
16755                rel2 {
16756                   to_x:     "elm.swallow.end";
16757                   relative: 0.0  1.0;
16758                   offset:   -1 -5;
16759                }
16760                color: 0 0 0 128;
16761                color3: 0 0 0 0;
16762                text {
16763                   font: "Sans";
16764                   size: 8;
16765                   min: 1 1;
16766 //                  min: 0 1;
16767                   align: 0.0 0.5;
16768                }
16769             }
16770             description { state: "selected" 0.0;
16771                inherit: "default" 0.0;
16772                color: 128 128 128 255;
16773                color3: 0 0 0 32;
16774             }
16775          }
16776          part { name: "fg1";
16777             clip_to: "disclip";
16778             mouse_events: 0;
16779             description { state: "default" 0.0;
16780                visible: 0;
16781                color: 255 255 255 0;
16782                rel1.to: "bg";
16783                rel2.relative: 1.0 0.5;
16784                rel2.to: "bg";
16785                image {
16786                   normal: "bt_sm_hilight.png";
16787                   border: 6 6 6 0;
16788                }
16789             }
16790             description { state: "selected" 0.0;
16791                inherit: "default" 0.0;
16792                visible: 1;
16793                color: 255 255 255 255;
16794             }
16795          }
16796          part { name: "fg2";
16797             clip_to: "disclip";
16798             mouse_events: 0;
16799             description { state: "default" 0.0;
16800                visible: 0;
16801                color: 255 255 255 0;
16802                rel1.to: "bg";
16803                rel2.to: "bg";
16804                image {
16805                   normal: "bt_sm_shine.png";
16806                   border: 6 6 6 0;
16807                }
16808             }
16809             description { state: "selected" 0.0;
16810                inherit: "default" 0.0;
16811                visible: 1;
16812                color: 255 255 255 255;
16813             }
16814          }
16815          part { name: "disclip";
16816             type: RECT;
16817             description { state: "default" 0.0;
16818                rel1.to: "bg";
16819                rel2.to: "bg";
16820             }
16821             description { state: "disabled" 0.0;
16822                inherit: "default" 0.0;
16823                color: 255 255 255 64;
16824             }
16825          }
16826       }
16827       programs {
16828          // signal: elm,state,%s,active
16829          //   a "check" item named %s went active
16830          // signal: elm,state,%s,passive
16831          //   a "check" item named %s went passive
16832          // default is passive
16833          program {
16834             name:    "go_active";
16835             signal:  "elm,state,selected";
16836             source:  "elm";
16837             action:  STATE_SET "selected" 0.0;
16838             target:  "bg";
16839             target:  "fg1";
16840             target:  "fg2";
16841             target:  "elm.text";
16842             target:  "elm.text.sub";
16843          }
16844          program {
16845             name:    "go_passive";
16846             signal:  "elm,state,unselected";
16847             source:  "elm";
16848             action:  STATE_SET "default" 0.0;
16849             target:  "bg";
16850             target:  "fg1";
16851             target:  "fg2";
16852             target:  "elm.text";
16853             target:  "elm.text.sub";
16854             transition: LINEAR 0.1;
16855          }
16856          program {
16857             name:    "go_disabled";
16858             signal:  "elm,state,disabled";
16859             source:  "elm";
16860             action:  STATE_SET "disabled" 0.0;
16861             target:  "disclip";
16862          }
16863          program {
16864             name:    "go_enabled";
16865             signal:  "elm,state,enabled";
16866             source:  "elm";
16867             action:  STATE_SET "default" 0.0;
16868             target:  "disclip";
16869          }
16870          program {
16871             name:    "expand";
16872             signal:  "mouse,up,1";
16873             source:  "arrow";
16874             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16875          }
16876          program {
16877             name:    "go_expanded";
16878             signal:  "elm,state,expanded";
16879             source:  "elm";
16880             action:  STATE_SET "active" 0.0;
16881             target:  "arrow";
16882          }
16883          program {
16884             name:    "go_contracted";
16885             signal:  "elm,state,contracted";
16886             source:  "elm";
16887             action:  STATE_SET "default" 0.0;
16888             target:  "arrow";
16889          }
16890       }
16891    }
16892
16893    group { name: "elm/genlist/item/icon_top_text_bottom/default";
16894       data.item: "stacking" "above";
16895       data.item: "selectraise" "on";
16896       data.item: "labels" "elm.text";
16897       data.item: "icons" "elm.swallow.icon";
16898       data.item: "treesize" "20";
16899 //      data.item: "states" "";
16900       images {
16901          image: "bt_sm_base1.png" COMP;
16902          image: "bt_sm_shine.png" COMP;
16903          image: "bt_sm_hilight.png" COMP;
16904          image: "ilist_1.png" COMP;
16905          image: "ilist_item_shadow.png" COMP;
16906       }
16907       parts {
16908          part {
16909             name:           "event";
16910             type:           RECT;
16911             repeat_events: 1;
16912             description {
16913                state: "default" 0.0;
16914                color: 0 0 0 0;
16915             }
16916          }
16917          part {
16918             name: "base_sh";
16919             mouse_events: 0;
16920             description {
16921                state: "default" 0.0;
16922                align: 0.0 0.0;
16923                min: 0 10;
16924                fixed: 1 1;
16925                rel1 {
16926                   to: "base";
16927                   relative: 0.0 1.0;
16928                   offset: 0 0;
16929                }
16930                rel2 {
16931                   to: "base";
16932                   relative: 1.0 1.0;
16933                   offset: -1 0;
16934                }
16935                image {
16936                   normal: "ilist_item_shadow.png";
16937                }
16938                fill.smooth: 0;
16939             }
16940          }
16941          part {
16942             name: "base";
16943             mouse_events: 0;
16944             description {
16945                state: "default" 0.0;
16946                image {
16947                   normal: "ilist_1.png";
16948                   border: 2 2 2 2;
16949                }
16950                fill.smooth: 0;
16951             }
16952          }
16953          part { name: "bg";
16954             clip_to: "disclip";
16955             mouse_events: 0;
16956             description { state: "default" 0.0;
16957                visible: 0;
16958                color: 255 255 255 0;
16959                rel1 {
16960                   relative: 0.0 0.0;
16961                   offset: -5 -5;
16962                }
16963                rel2 {
16964                   relative: 1.0 1.0;
16965                   offset: 4 4;
16966                }
16967                image {
16968                   normal: "bt_sm_base1.png";
16969                   border: 6 6 6 6;
16970                }
16971                image.middle: SOLID;
16972             }
16973             description { state: "selected" 0.0;
16974                inherit: "default" 0.0;
16975                visible: 1;
16976                color: 255 255 255 255;
16977                rel1 {
16978                   relative: 0.0 0.0;
16979                   offset: -2 -2;
16980                }
16981                rel2 {
16982                   relative: 1.0 1.0;
16983                   offset: 1 1;
16984                }
16985             }
16986          }
16987          part { name: "elm.swallow.pad";
16988             type: SWALLOW;
16989             description { state: "default" 0.0;
16990                fixed: 1 0;
16991                align: 0.0 0.5;
16992                rel1 {
16993                   relative: 0.0  0.0;
16994                   offset:   4    4;
16995                }
16996                rel2 {
16997                   relative: 1.0  1.0;
16998                   offset:   -4   -5;
16999                }
17000             }
17001          }
17002          part { name: "elm.swallow.icon";
17003             clip_to: "disclip";
17004             type: SWALLOW;
17005             description { state: "default" 0.0;
17006                fixed: 1 0;
17007                align: 0.5 0.5;
17008                rel1 {
17009                   to_x: "elm.swallow.pad";
17010                   relative: 0.0  0.0;
17011                   offset:   -1    4;
17012                }
17013                rel2 {
17014                   to_x: "elm.swallow.pad";
17015                   relative: 1.0  1.0;
17016                   offset:   -1   -5;
17017                }
17018             }
17019          }
17020          part { name: "elm.text";
17021             clip_to: "disclip";
17022             type:           TEXT;
17023             effect:         SOFT_SHADOW;
17024             mouse_events:   0;
17025             scale: 1;
17026             description {
17027                state: "default" 0.0;
17028 //               min: 16 16;
17029                rel1 {
17030                   to_y:     "elm.swallow.icon";
17031                   relative: 0.0  1.0;
17032                   offset:   0 4;
17033                }
17034                rel2 {
17035                   relative: 1.0  1.0;
17036                   offset:   -5 -5;
17037                }
17038                color: 0 0 0 255;
17039                color3: 0 0 0 0;
17040                text {
17041                   font: "Sans";
17042                   size: 10;
17043                   min: 1 1;
17044 //                  min: 0 1;
17045                   align: 0.5 0.5;
17046                }
17047             }
17048             description { state: "selected" 0.0;
17049                inherit: "default" 0.0;
17050                color: 224 224 224 255;
17051                color3: 0 0 0 64;
17052             }
17053          }
17054          part { name: "fg1";
17055             clip_to: "disclip";
17056             mouse_events: 0;
17057             description { state: "default" 0.0;
17058                visible: 0;
17059                color: 255 255 255 0;
17060                rel1.to: "bg";
17061                rel2.relative: 1.0 0.5;
17062                rel2.to: "bg";
17063                image {
17064                   normal: "bt_sm_hilight.png";
17065                   border: 6 6 6 0;
17066                }
17067             }
17068             description { state: "selected" 0.0;
17069                inherit: "default" 0.0;
17070                visible: 1;
17071                color: 255 255 255 255;
17072             }
17073          }
17074          part { name: "fg2";
17075             clip_to: "disclip";
17076             mouse_events: 0;
17077             description { state: "default" 0.0;
17078                visible: 0;
17079                color: 255 255 255 0;
17080                rel1.to: "bg";
17081                rel2.to: "bg";
17082                image {
17083                   normal: "bt_sm_shine.png";
17084                   border: 6 6 6 0;
17085                }
17086             }
17087             description { state: "selected" 0.0;
17088                inherit: "default" 0.0;
17089                visible: 1;
17090                color: 255 255 255 255;
17091             }
17092          }
17093          part { name: "disclip";
17094             type: RECT;
17095             description { state: "default" 0.0;
17096                rel1.to: "bg";
17097                rel2.to: "bg";
17098             }
17099             description { state: "disabled" 0.0;
17100                inherit: "default" 0.0;
17101                color: 255 255 255 64;
17102             }
17103          }
17104       }
17105       programs {
17106          // signal: elm,state,%s,active
17107          //   a "check" item named %s went active
17108          // signal: elm,state,%s,passive
17109          //   a "check" item named %s went passive
17110          // default is passive
17111          program {
17112             name:    "go_active";
17113             signal:  "elm,state,selected";
17114             source:  "elm";
17115             action:  STATE_SET "selected" 0.0;
17116             target:  "bg";
17117             target:  "fg1";
17118             target:  "fg2";
17119             target:  "elm.text";
17120          }
17121          program {
17122             name:    "go_passive";
17123             signal:  "elm,state,unselected";
17124             source:  "elm";
17125             action:  STATE_SET "default" 0.0;
17126             target:  "bg";
17127             target:  "fg1";
17128             target:  "fg2";
17129             target:  "elm.text";
17130             transition: LINEAR 0.1;
17131          }
17132          program {
17133             name:    "go_disabled";
17134             signal:  "elm,state,disabled";
17135             source:  "elm";
17136             action:  STATE_SET "disabled" 0.0;
17137             target:  "disclip";
17138          }
17139          program {
17140             name:    "go_enabled";
17141             signal:  "elm,state,enabled";
17142             source:  "elm";
17143             action:  STATE_SET "default" 0.0;
17144             target:  "disclip";
17145          }
17146       }
17147    }
17148    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
17149       data.item: "stacking" "below";
17150       data.item: "selectraise" "on";
17151       data.item: "labels" "elm.text";
17152       data.item: "icons" "elm.swallow.icon";
17153       data.item: "treesize" "20";
17154 //      data.item: "states" "";
17155       images {
17156          image: "bt_sm_base1.png" COMP;
17157          image: "bt_sm_shine.png" COMP;
17158          image: "bt_sm_hilight.png" COMP;
17159          image: "ilist_2.png" COMP;
17160       }
17161       parts {
17162          part { name: "event";
17163             type: RECT;
17164             repeat_events: 1;
17165             description {
17166                state: "default" 0.0;
17167                color: 0 0 0 0;
17168             }
17169          }
17170          part {
17171             name: "base";
17172             mouse_events: 0;
17173             description {
17174                state: "default" 0.0;
17175                image {
17176                   normal: "ilist_2.png";
17177                   border: 2 2 2 2;
17178                }
17179                fill.smooth: 0;
17180             }
17181          }
17182          part { name: "bg";
17183             clip_to: "disclip";
17184             mouse_events: 0;
17185             description { state: "default" 0.0;
17186                visible: 0;
17187                color: 255 255 255 0;
17188                rel1 {
17189                   relative: 0.0 0.0;
17190                   offset: -5 -5;
17191                }
17192                rel2 {
17193                   relative: 1.0 1.0;
17194                   offset: 4 4;
17195                }
17196                image {
17197                   normal: "bt_sm_base1.png";
17198                   border: 6 6 6 6;
17199                }
17200                image.middle: SOLID;
17201             }
17202             description { state: "selected" 0.0;
17203                inherit: "default" 0.0;
17204                visible: 1;
17205                color: 255 255 255 255;
17206                rel1 {
17207                   relative: 0.0 0.0;
17208                   offset: -2 -2;
17209                }
17210                rel2 {
17211                   relative: 1.0 1.0;
17212                   offset: 1 1;
17213                }
17214             }
17215          }
17216          part { name: "elm.swallow.pad";
17217             type: SWALLOW;
17218             description { state: "default" 0.0;
17219                fixed: 1 0;
17220                align: 0.0 0.5;
17221                rel1 {
17222                   relative: 0.0  0.0;
17223                   offset:   4    4;
17224                }
17225                rel2 {
17226                   relative: 1.0  1.0;
17227                   offset:   -4   -5;
17228                }
17229             }
17230          }
17231          part { name: "elm.swallow.icon";
17232             clip_to: "disclip";
17233             type: SWALLOW;
17234             description { state: "default" 0.0;
17235                fixed: 1 0;
17236                align: 0.5 0.5;
17237                rel1 {
17238                   to_x: "elm.swallow.pad";
17239                   relative: 0.0  0.0;
17240                   offset:   -1    4;
17241                }
17242                rel2 {
17243                   to_x: "elm.swallow.pad";
17244                   relative: 1.0  1.0;
17245                   offset:   -1   -5;
17246                }
17247             }
17248          }
17249          part { name: "elm.text";
17250             clip_to: "disclip";
17251             type:           TEXT;
17252             effect:         SOFT_SHADOW;
17253             mouse_events:   0;
17254             scale: 1;
17255             description {
17256                state: "default" 0.0;
17257 //               min:      16 16;
17258                rel1 {
17259                   to_y:     "elm.swallow.icon";
17260                   relative: 0.0  1.0;
17261                   offset:   0 4;
17262                }
17263                rel2 {
17264                   relative: 1.0  1.0;
17265                   offset:   -5 -5;
17266                }
17267                color: 0 0 0 255;
17268                color3: 0 0 0 0;
17269                text {
17270                   font: "Sans";
17271                   size: 10;
17272                   min: 1 1;
17273 //                  min: 0 1;
17274                   align: 0.5 0.5;
17275                }
17276             }
17277             description { state: "selected" 0.0;
17278                inherit: "default" 0.0;
17279                color: 224 224 224 255;
17280                color3: 0 0 0 64;
17281             }
17282          }
17283          part { name: "fg1";
17284             clip_to: "disclip";
17285             mouse_events: 0;
17286             description { state: "default" 0.0;
17287                visible: 0;
17288                color: 255 255 255 0;
17289                rel1.to: "bg";
17290                rel2.relative: 1.0 0.5;
17291                rel2.to: "bg";
17292                image {
17293                   normal: "bt_sm_hilight.png";
17294                   border: 6 6 6 0;
17295                }
17296             }
17297             description { state: "selected" 0.0;
17298                inherit: "default" 0.0;
17299                visible: 1;
17300                color: 255 255 255 255;
17301             }
17302          }
17303          part { name: "fg2";
17304             clip_to: "disclip";
17305             mouse_events: 0;
17306             description { state: "default" 0.0;
17307                visible: 0;
17308                color: 255 255 255 0;
17309                rel1.to: "bg";
17310                rel2.to: "bg";
17311                image {
17312                   normal: "bt_sm_shine.png";
17313                   border: 6 6 6 0;
17314                }
17315             }
17316             description { state: "selected" 0.0;
17317                inherit: "default" 0.0;
17318                visible: 1;
17319                color: 255 255 255 255;
17320             }
17321          }
17322          part { name: "disclip";
17323             type: RECT;
17324             description { state: "default" 0.0;
17325                rel1.to: "bg";
17326                rel2.to: "bg";
17327             }
17328             description { state: "disabled" 0.0;
17329                inherit: "default" 0.0;
17330                color: 255 255 255 64;
17331             }
17332          }
17333       }
17334       programs {
17335          // signal: elm,state,%s,active
17336          //   a "check" item named %s went active
17337          // signal: elm,state,%s,passive
17338          //   a "check" item named %s went passive
17339          // default is passive
17340          program {
17341             name:    "go_active";
17342             signal:  "elm,state,selected";
17343             source:  "elm";
17344             action:  STATE_SET "selected" 0.0;
17345             target:  "bg";
17346             target:  "fg1";
17347             target:  "fg2";
17348             target:  "elm.text";
17349          }
17350          program {
17351             name:    "go_passive";
17352             signal:  "elm,state,unselected";
17353             source:  "elm";
17354             action:  STATE_SET "default" 0.0;
17355             target:  "bg";
17356             target:  "fg1";
17357             target:  "fg2";
17358             target:  "elm.text";
17359             transition: LINEAR 0.1;
17360          }
17361          program {
17362             name:    "go_disabled";
17363             signal:  "elm,state,disabled";
17364             source:  "elm";
17365             action:  STATE_SET "disabled" 0.0;
17366             target:  "disclip";
17367          }
17368          program {
17369             name:    "go_enabled";
17370             signal:  "elm,state,enabled";
17371             source:  "elm";
17372             action:  STATE_SET "default" 0.0;
17373             target:  "disclip";
17374          }
17375       }
17376    }
17377
17378    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
17379       data.item: "stacking" "above";
17380       data.item: "selectraise" "on";
17381       data.item: "labels" "elm.text";
17382       data.item: "icons" "elm.swallow.icon";
17383       data.item: "treesize" "20";
17384 //      data.item: "states" "";
17385       images {
17386          image: "bt_sm_base1.png" COMP;
17387          image: "bt_sm_shine.png" COMP;
17388          image: "bt_sm_hilight.png" COMP;
17389          image: "ilist_1.png" COMP;
17390          image: "ilist_item_shadow.png" COMP;
17391          image: "icon_arrow_right.png" COMP;
17392          image: "icon_arrow_down.png" COMP;
17393       }
17394       parts {
17395          part {
17396             name:           "event";
17397             type:           RECT;
17398             repeat_events: 1;
17399             description {
17400                state: "default" 0.0;
17401                color: 0 0 0 0;
17402             }
17403          }
17404          part {
17405             name: "base_sh";
17406             mouse_events: 0;
17407             description {
17408                state: "default" 0.0;
17409                align: 0.0 0.0;
17410                min: 0 10;
17411                fixed: 1 1;
17412                rel1 {
17413                   to: "base";
17414                   relative: 0.0 1.0;
17415                   offset: 0 0;
17416                }
17417                rel2 {
17418                   to: "base";
17419                   relative: 1.0 1.0;
17420                   offset: -1 0;
17421                }
17422                image {
17423                   normal: "ilist_item_shadow.png";
17424                }
17425                fill.smooth: 0;
17426             }
17427          }
17428          part {
17429             name: "base";
17430             mouse_events: 0;
17431             description {
17432                state: "default" 0.0;
17433                image {
17434                   normal: "ilist_1.png";
17435                   border: 2 2 2 2;
17436                }
17437                fill.smooth: 0;
17438             }
17439          }
17440          part { name: "bg";
17441             clip_to: "disclip";
17442             mouse_events: 0;
17443             description { state: "default" 0.0;
17444                visible: 0;
17445                color: 255 255 255 0;
17446                rel1 {
17447                   relative: 0.0 0.0;
17448                   offset: -5 -5;
17449                }
17450                rel2 {
17451                   relative: 1.0 1.0;
17452                   offset: 4 4;
17453                }
17454                image {
17455                   normal: "bt_sm_base1.png";
17456                   border: 6 6 6 6;
17457                }
17458                image.middle: SOLID;
17459             }
17460             description { state: "selected" 0.0;
17461                inherit: "default" 0.0;
17462                visible: 1;
17463                color: 255 255 255 255;
17464                rel1 {
17465                   relative: 0.0 0.0;
17466                   offset: -2 -2;
17467                }
17468                rel2 {
17469                   relative: 1.0 1.0;
17470                   offset: 1 1;
17471                }
17472             }
17473          }
17474          part { name: "elm.swallow.pad";
17475             type: SWALLOW;
17476             description { state: "default" 0.0;
17477                fixed: 1 0;
17478                align: 0.0 0.5;
17479                rel1 {
17480                   relative: 0.0  0.0;
17481                   offset:   4    4;
17482                }
17483                rel2 {
17484                   relative: 0.0  1.0;
17485                   offset:   4   -5;
17486                }
17487             }
17488          }
17489          part { name: "arrow";
17490             clip_to: "disclip";
17491             ignore_flags: ON_HOLD;
17492             description { state: "default" 0.0;
17493                fixed: 1 0;
17494                align: 0.0 0.5;
17495                aspect: 1.0 1.0;
17496                rel1 {
17497                   to_x: "elm.swallow.pad";
17498                   relative: 1.0  0.0;
17499                   offset:   -1    4;
17500                }
17501                rel2 {
17502                   to_x: "elm.swallow.pad";
17503                   relative: 1.0  1.0;
17504                   offset:   -1   -5;
17505                }
17506                image.normal: "icon_arrow_right.png";
17507             }
17508             description { state: "active" 0.0;
17509                inherit: "default" 0.0;
17510                image.normal: "icon_arrow_down.png";
17511             }
17512          }
17513          part { name: "elm.swallow.icon";
17514             clip_to: "disclip";
17515             type: SWALLOW;
17516             description { state: "default" 0.0;
17517                fixed: 1 0;
17518                align: 0.5 0.5;
17519                rel1 {
17520                   to_x: "arrow";
17521                   relative: 1.0  0.0;
17522                   offset:   4    4;
17523                }
17524                rel2 {
17525                   relative: 1.0  1.0;
17526                   offset:   -4   -5;
17527                }
17528             }
17529          }
17530          part { name: "elm.text";
17531             clip_to: "disclip";
17532             type:           TEXT;
17533             effect:         SOFT_SHADOW;
17534             mouse_events:   0;
17535             scale: 1;
17536             description {
17537                state: "default" 0.0;
17538 //               min: 16 16;
17539                rel1 {
17540                   to_y:     "elm.swallow.icon";
17541                   relative: 0.0  1.0;
17542                   offset:   0 4;
17543                }
17544                rel2 {
17545                   relative: 1.0  1.0;
17546                   offset:   -5 -5;
17547                }
17548                color: 0 0 0 255;
17549                color3: 0 0 0 0;
17550                text {
17551                   font: "Sans";
17552                   size: 10;
17553                   min: 1 1;
17554 //                  min: 0 1;
17555                   align: 0.5 0.5;
17556                }
17557             }
17558             description { state: "selected" 0.0;
17559                inherit: "default" 0.0;
17560                color: 224 224 224 255;
17561                color3: 0 0 0 64;
17562             }
17563          }
17564          part { name: "fg1";
17565             clip_to: "disclip";
17566             mouse_events: 0;
17567             description { state: "default" 0.0;
17568                visible: 0;
17569                color: 255 255 255 0;
17570                rel1.to: "bg";
17571                rel2.relative: 1.0 0.5;
17572                rel2.to: "bg";
17573                image {
17574                   normal: "bt_sm_hilight.png";
17575                   border: 6 6 6 0;
17576                }
17577             }
17578             description { state: "selected" 0.0;
17579                inherit: "default" 0.0;
17580                visible: 1;
17581                color: 255 255 255 255;
17582             }
17583          }
17584          part { name: "fg2";
17585             clip_to: "disclip";
17586             mouse_events: 0;
17587             description { state: "default" 0.0;
17588                visible: 0;
17589                color: 255 255 255 0;
17590                rel1.to: "bg";
17591                rel2.to: "bg";
17592                image {
17593                   normal: "bt_sm_shine.png";
17594                   border: 6 6 6 0;
17595                }
17596             }
17597             description { state: "selected" 0.0;
17598                inherit: "default" 0.0;
17599                visible: 1;
17600                color: 255 255 255 255;
17601             }
17602          }
17603          part { name: "disclip";
17604             type: RECT;
17605             description { state: "default" 0.0;
17606                rel1.to: "bg";
17607                rel2.to: "bg";
17608             }
17609             description { state: "disabled" 0.0;
17610                inherit: "default" 0.0;
17611                color: 255 255 255 64;
17612             }
17613          }
17614       }
17615       programs {
17616          // signal: elm,state,%s,active
17617          //   a "check" item named %s went active
17618          // signal: elm,state,%s,passive
17619          //   a "check" item named %s went passive
17620          // default is passive
17621          program {
17622             name:    "go_active";
17623             signal:  "elm,state,selected";
17624             source:  "elm";
17625             action:  STATE_SET "selected" 0.0;
17626             target:  "bg";
17627             target:  "fg1";
17628             target:  "fg2";
17629             target:  "elm.text";
17630          }
17631          program {
17632             name:    "go_passive";
17633             signal:  "elm,state,unselected";
17634             source:  "elm";
17635             action:  STATE_SET "default" 0.0;
17636             target:  "bg";
17637             target:  "fg1";
17638             target:  "fg2";
17639             target:  "elm.text";
17640             transition: LINEAR 0.1;
17641          }
17642          program {
17643             name:    "go_disabled";
17644             signal:  "elm,state,disabled";
17645             source:  "elm";
17646             action:  STATE_SET "disabled" 0.0;
17647             target:  "disclip";
17648          }
17649          program {
17650             name:    "go_enabled";
17651             signal:  "elm,state,enabled";
17652             source:  "elm";
17653             action:  STATE_SET "default" 0.0;
17654             target:  "disclip";
17655          }
17656          program {
17657             name:    "expand";
17658             signal:  "mouse,up,1";
17659             source:  "arrow";
17660             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17661          }
17662          program {
17663             name:    "go_expanded";
17664             signal:  "elm,state,expanded";
17665             source:  "elm";
17666             action:  STATE_SET "active" 0.0;
17667             target:  "arrow";
17668          }
17669          program {
17670             name:    "go_contracted";
17671             signal:  "elm,state,contracted";
17672             source:  "elm";
17673             action:  STATE_SET "default" 0.0;
17674             target:  "arrow";
17675          }
17676       }
17677    }
17678    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
17679       data.item: "stacking" "below";
17680       data.item: "selectraise" "on";
17681       data.item: "labels" "elm.text";
17682       data.item: "icons" "elm.swallow.icon";
17683       data.item: "treesize" "20";
17684 //      data.item: "states" "";
17685       images {
17686          image: "bt_sm_base1.png" COMP;
17687          image: "bt_sm_shine.png" COMP;
17688          image: "bt_sm_hilight.png" COMP;
17689          image: "ilist_2.png" COMP;
17690          image: "icon_arrow_right.png" COMP;
17691          image: "icon_arrow_down.png" COMP;
17692       }
17693       parts {
17694          part {
17695             name:           "event";
17696             type:           RECT;
17697             repeat_events: 1;
17698             description {
17699                state: "default" 0.0;
17700                color: 0 0 0 0;
17701             }
17702          }
17703          part {
17704             name: "base";
17705             mouse_events: 0;
17706             description {
17707                state: "default" 0.0;
17708                image {
17709                   normal: "ilist_2.png";
17710                   border: 2 2 2 2;
17711                }
17712                fill.smooth: 0;
17713             }
17714          }
17715          part { name: "bg";
17716             clip_to: "disclip";
17717             mouse_events: 0;
17718             description { state: "default" 0.0;
17719                visible: 0;
17720                color: 255 255 255 0;
17721                rel1 {
17722                   relative: 0.0 0.0;
17723                   offset: -5 -5;
17724                }
17725                rel2 {
17726                   relative: 1.0 1.0;
17727                   offset: 4 4;
17728                }
17729                image {
17730                   normal: "bt_sm_base1.png";
17731                   border: 6 6 6 6;
17732                }
17733                image.middle: SOLID;
17734             }
17735             description { state: "selected" 0.0;
17736                inherit: "default" 0.0;
17737                visible: 1;
17738                color: 255 255 255 255;
17739                rel1 {
17740                   relative: 0.0 0.0;
17741                   offset: -2 -2;
17742                }
17743                rel2 {
17744                   relative: 1.0 1.0;
17745                   offset: 1 1;
17746                }
17747             }
17748          }
17749          part { name: "elm.swallow.pad";
17750             type: SWALLOW;
17751             description { state: "default" 0.0;
17752                fixed: 1 0;
17753                align: 0.0 0.5;
17754                rel1 {
17755                   relative: 0.0  0.0;
17756                   offset:   4    4;
17757                }
17758                rel2 {
17759                   relative: 0.0  1.0;
17760                   offset:   4   -5;
17761                }
17762             }
17763          }
17764          part { name: "arrow";
17765             clip_to: "disclip";
17766             ignore_flags: ON_HOLD;
17767             description { state: "default" 0.0;
17768                fixed: 1 0;
17769                align: 0.0 0.5;
17770                aspect: 1.0 1.0;
17771                rel1 {
17772                   to_x: "elm.swallow.pad";
17773                   relative: 1.0  0.0;
17774                   offset:   -1    4;
17775                }
17776                rel2 {
17777                   to_x: "elm.swallow.pad";
17778                   relative: 1.0  1.0;
17779                   offset:   -1   -5;
17780                }
17781                image.normal: "icon_arrow_right.png";
17782             }
17783             description { state: "active" 0.0;
17784                inherit: "default" 0.0;
17785                image.normal: "icon_arrow_down.png";
17786             }
17787          }
17788          part { name: "elm.swallow.icon";
17789             clip_to: "disclip";
17790             type: SWALLOW;
17791             description { state: "default" 0.0;
17792                fixed: 1 0;
17793                align: 0.5 0.5;
17794                rel1 {
17795                   to_x: "arrow";
17796                   relative: 1.0  0.0;
17797                   offset:   4    4;
17798                }
17799                rel2 {
17800                   relative: 1.0  1.0;
17801                   offset:   -4   -5;
17802                }
17803             }
17804          }
17805          part { name: "elm.text";
17806             clip_to: "disclip";
17807             type:           TEXT;
17808             effect:         SOFT_SHADOW;
17809             mouse_events:   0;
17810             scale: 1;
17811             description {
17812                state: "default" 0.0;
17813 //               min: 16 16;
17814                rel1 {
17815                   to_y:     "elm.swallow.icon";
17816                   relative: 0.0  1.0;
17817                   offset:   0 4;
17818                }
17819                rel2 {
17820                   relative: 1.0  1.0;
17821                   offset:   -5 -5;
17822                }
17823                color: 0 0 0 255;
17824                color3: 0 0 0 0;
17825                text {
17826                   font: "Sans";
17827                   size: 10;
17828                   min: 1 1;
17829 //                  min: 0 1;
17830                   align: 0.5 0.5;
17831                }
17832             }
17833             description { state: "selected" 0.0;
17834                inherit: "default" 0.0;
17835                color: 224 224 224 255;
17836                color3: 0 0 0 64;
17837             }
17838          }
17839          part { name: "fg1";
17840             clip_to: "disclip";
17841             mouse_events: 0;
17842             description { state: "default" 0.0;
17843                visible: 0;
17844                color: 255 255 255 0;
17845                rel1.to: "bg";
17846                rel2.relative: 1.0 0.5;
17847                rel2.to: "bg";
17848                image {
17849                   normal: "bt_sm_hilight.png";
17850                   border: 6 6 6 0;
17851                }
17852             }
17853             description { state: "selected" 0.0;
17854                inherit: "default" 0.0;
17855                visible: 1;
17856                color: 255 255 255 255;
17857             }
17858          }
17859          part { name: "fg2";
17860             clip_to: "disclip";
17861             mouse_events: 0;
17862             description { state: "default" 0.0;
17863                visible: 0;
17864                color: 255 255 255 0;
17865                rel1.to: "bg";
17866                rel2.to: "bg";
17867                image {
17868                   normal: "bt_sm_shine.png";
17869                   border: 6 6 6 0;
17870                }
17871             }
17872             description { state: "selected" 0.0;
17873                inherit: "default" 0.0;
17874                visible: 1;
17875                color: 255 255 255 255;
17876             }
17877          }
17878          part { name: "disclip";
17879             type: RECT;
17880             description { state: "default" 0.0;
17881                rel1.to: "bg";
17882                rel2.to: "bg";
17883             }
17884             description { state: "disabled" 0.0;
17885                inherit: "default" 0.0;
17886                color: 255 255 255 64;
17887             }
17888          }
17889       }
17890       programs {
17891          // signal: elm,state,%s,active
17892          //   a "check" item named %s went active
17893          // signal: elm,state,%s,passive
17894          //   a "check" item named %s went passive
17895          // default is passive
17896          program {
17897             name:    "go_active";
17898             signal:  "elm,state,selected";
17899             source:  "elm";
17900             action:  STATE_SET "selected" 0.0;
17901             target:  "bg";
17902             target:  "fg1";
17903             target:  "fg2";
17904             target:  "elm.text";
17905          }
17906          program {
17907             name:    "go_passive";
17908             signal:  "elm,state,unselected";
17909             source:  "elm";
17910             action:  STATE_SET "default" 0.0;
17911             target:  "bg";
17912             target:  "fg1";
17913             target:  "fg2";
17914             target:  "elm.text";
17915             transition: LINEAR 0.1;
17916          }
17917          program {
17918             name:    "go_disabled";
17919             signal:  "elm,state,disabled";
17920             source:  "elm";
17921             action:  STATE_SET "disabled" 0.0;
17922             target:  "disclip";
17923          }
17924          program {
17925             name:    "go_enabled";
17926             signal:  "elm,state,enabled";
17927             source:  "elm";
17928             action:  STATE_SET "default" 0.0;
17929             target:  "disclip";
17930          }
17931          program {
17932             name:    "expand";
17933             signal:  "mouse,up,1";
17934             source:  "arrow";
17935             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17936          }
17937          program {
17938             name:    "go_expanded";
17939             signal:  "elm,state,expanded";
17940             source:  "elm";
17941             action:  STATE_SET "active" 0.0;
17942             target:  "arrow";
17943          }
17944          program {
17945             name:    "go_contracted";
17946             signal:  "elm,state,contracted";
17947             source:  "elm";
17948             action:  STATE_SET "default" 0.0;
17949             target:  "arrow";
17950          }
17951       }
17952    }
17953
17954
17955 ///////////////////////////////////////////////////////////////////////////////
17956    group { name: "elm/check/base/default";
17957       images {
17958          image: "check_base.png" COMP;
17959          image: "check.png" COMP;
17960          image: "check2.png" COMP;
17961       }
17962       parts {
17963          part { name: "bg";
17964             mouse_events: 0;
17965             scale: 1;
17966             description { state: "default" 0.0;
17967                rel1.offset: 1 1;
17968                rel2.relative: 0.0 1.0;
17969                rel2.offset: 1 -2;
17970                align: 0.0 0.5;
17971                min: 16 16;
17972                max: 16 16;
17973                aspect: 1.0 1.0;
17974                aspect_preference: VERTICAL;
17975                image {
17976                   normal: "check_base.png";
17977                   border: 5 5 5 5;
17978                   middle: 0;
17979                }
17980                fill.smooth : 0;
17981             }
17982          }
17983          part { name: "check";
17984             mouse_events: 0;
17985             scale: 1;
17986             description { state: "default" 0.0;
17987                rel1 {
17988                   to: "bg";
17989                   offset: 1 1;
17990                }
17991                rel2 {
17992                   to: "bg";
17993                   offset: -2 -2;
17994                }
17995                visible: 0;
17996                color: 255 255 255 255;
17997                image.normal: "check.png";
17998             }
17999             description { state: "visible" 0.0;
18000                inherit: "default" 0.0;
18001                visible: 1;
18002             }
18003             description { state: "disabled" 0.0;
18004                inherit: "default" 0.0;
18005                visible: 0;
18006                color: 128 128 128 128;
18007             }
18008             description { state: "disabled_visible" 0.0;
18009                inherit: "default" 0.0;
18010                color: 128 128 128 128;
18011                visible: 1;
18012             }
18013          }
18014          part { name: "elm.swallow.content";
18015             type: SWALLOW;
18016             description { state: "default" 0.0;
18017                fixed: 1 0;
18018                visible: 0;
18019                color: 255 255 255 255;
18020                align: 0.0 0.5;
18021                rel1.to_x: "bg";
18022                rel1.relative: 1.0 0.0;
18023                rel1.offset: 1 1;
18024                rel2.to_x: "bg";
18025                rel2.relative: 1.0 1.0;
18026                rel2.offset: 2 -2;
18027             }
18028             description { state: "visible" 0.0;
18029                inherit: "default" 0.0;
18030                fixed: 1 1;
18031                visible: 1;
18032                aspect: 1.0 1.0;
18033                aspect_preference: VERTICAL;
18034             }
18035             description { state: "disabled" 0.0;
18036                inherit: "default" 0.0;
18037                color: 128 128 128 128;
18038             }
18039             description { state: "disabled_visible" 0.0;
18040                inherit: "default" 0.0;
18041                color: 128 128 128 128;
18042                fixed: 1 1;
18043                visible: 1;
18044                aspect: 1.0 1.0;
18045             }
18046          }
18047          part { name: "elm.text";
18048             type: TEXT;
18049             mouse_events: 0;
18050             scale: 1;
18051             description { state: "default" 0.0;
18052                visible: 0;
18053                rel1.to_x: "elm.swallow.content";
18054                rel1.relative: 1.0 0.0;
18055                rel1.offset: 1 1;
18056                rel2.relative: 1.0 1.0;
18057                rel2.offset: -2 -2;
18058                color: 0 0 0 255;
18059                text {
18060                   font: "Sans,Edje-Vera";
18061                   size: 10;
18062                   min: 0 0;
18063                   align: 0.0 0.5;
18064                }
18065             }
18066             description { state: "visible" 0.0;
18067                inherit: "default" 0.0;
18068                visible: 1;
18069                text.min: 1 1;
18070             }
18071             description { state: "disabled" 0.0;
18072                inherit: "default" 0.0;
18073                color: 0 0 0 128;
18074                color3: 0 0 0 0;
18075             }
18076             description { state: "disabled_visible" 0.0;
18077                inherit: "default" 0.0;
18078                color: 0 0 0 128;
18079                color3: 0 0 0 0;
18080                visible: 1;
18081                text.min: 1 1;
18082             }
18083          }
18084          part { name: "events";
18085             type: RECT;
18086             ignore_flags: ON_HOLD;
18087             description { state: "default" 0.0;
18088                color: 0 0 0 0;
18089             }
18090          }
18091          part { name: "disabler";
18092             type: RECT;
18093             description { state: "default" 0.0;
18094                color: 0 0 0 0;
18095                visible: 0;
18096             }
18097             description { state: "disabled" 0.0;
18098                inherit: "default" 0.0;
18099                visible: 1;
18100             }
18101          }
18102       }
18103       programs {
18104          program { name: "click";
18105             signal: "mouse,up,1";
18106             source: "events";
18107             action: SIGNAL_EMIT "elm,action,check,toggle" "";
18108          }
18109          program { name: "check_on";
18110             signal: "elm,state,check,on";
18111             source: "elm";
18112             action:  STATE_SET "visible" 0.0;
18113             target: "check";
18114          }
18115          program { name: "check_off";
18116             signal: "elm,state,check,off";
18117             source: "elm";
18118             action:  STATE_SET "default" 0.0;
18119             target: "check";
18120          }
18121          program { name: "text_show";
18122             signal: "elm,state,text,visible";
18123             source: "elm";
18124             action:  STATE_SET "visible" 0.0;
18125             target: "elm.text";
18126          }
18127          program { name: "text_hide";
18128             signal: "elm,state,text,hidden";
18129             source: "elm";
18130             action:  STATE_SET "default" 0.0;
18131             target: "elm.text";
18132          }
18133          program { name: "icon_show";
18134             signal: "elm,state,icon,visible";
18135             source: "elm";
18136             action:  STATE_SET "visible" 0.0;
18137             target: "elm.swallow.content";
18138          }
18139          program { name: "icon_hide";
18140             signal: "elm,state,icon,hidden";
18141             source: "elm";
18142             action:  STATE_SET "default" 0.0;
18143             target: "elm.swallow.content";
18144          }
18145          program { name: "disable";
18146             signal: "elm,state,disabled";
18147             source: "elm";
18148             action: STATE_SET "disabled" 0.0;
18149             target: "disabler";
18150             after: "disable_text";
18151          }
18152          program { name: "disable_text";
18153             script {
18154                new st[31];
18155                new Float:vl;
18156                get_state(PART:"elm.text", st, 30, vl);
18157                if (!strcmp(st, "visible"))
18158                  set_state(PART:"elm.text", "disabled_visible", 0.0);
18159                else
18160                  set_state(PART:"elm.text", "disabled", 0.0);
18161
18162                get_state(PART:"elm.swallow.content", st, 30, vl);
18163                if (!strcmp(st, "visible"))
18164                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
18165                else
18166                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
18167
18168                get_state(PART:"check", st, 30, vl);
18169                if (!strcmp(st, "visible"))
18170                  set_state(PART:"check", "disabled_visible", 0.0);
18171                else
18172                  set_state(PART:"check", "disabled", 0.0);
18173             }
18174          }
18175          program { name: "enable";
18176             signal: "elm,state,enabled";
18177             source: "elm";
18178             action: STATE_SET "default" 0.0;
18179             target: "disabler";
18180             after: "enable_text";
18181          }
18182          program { name: "enable_text";
18183             script {
18184                new st[31];
18185                new Float:vl;
18186                get_state(PART:"elm.text", st, 30, vl);
18187                if (!strcmp(st, "disabled_visible"))
18188                  set_state(PART:"elm.text", "visible", 0.0);
18189                else
18190                  set_state(PART:"elm.text", "default", 0.0);
18191
18192                get_state(PART:"elm.swallow.content", st, 30, vl);
18193                if (!strcmp(st, "visible"))
18194                  set_state(PART:"elm.swallow.content", "visible", 0.0);
18195                else
18196                  set_state(PART:"elm.swallow.content", "default", 0.0);
18197
18198                get_state(PART:"check", st, 30, vl);
18199                if (!strcmp(st, "visible"))
18200                  set_state(PART:"check", "visible", 0.0);
18201                else
18202                  set_state(PART:"check", "default", 0.0);
18203             }
18204          }
18205       }
18206    }
18207 ///////////////////////////////////////////////////////////////////////////////
18208    group { name: "elm/radio/base/default";
18209       images {
18210          image: "radio_base.png" COMP;
18211          image: "radio.png" COMP;
18212          image: "radio2.png" COMP;
18213       }
18214       parts {
18215          part { name: "bg";
18216             mouse_events: 0;
18217             scale: 1;
18218             description { state: "default" 0.0;
18219                rel1.offset: 1 1;
18220                rel2.relative: 0.0 1.0;
18221                rel2.offset: 1 -2;
18222                align: 0.0 0.5;
18223                min: 16 16;
18224                max: 16 16;
18225                aspect: 1.0 1.0;
18226                aspect_preference: VERTICAL;
18227                image.normal: "radio_base.png";
18228             }
18229          }
18230          part { name: "radio";
18231             mouse_events: 0;
18232             scale: 1;
18233             description { state: "default" 0.0;
18234                rel1.to: "bg";
18235                rel2.to: "bg";
18236                visible: 0;
18237                image.normal: "radio.png";
18238             }
18239             description { state: "visible" 0.0;
18240                inherit: "default" 0.0;
18241                visible: 1;
18242             }
18243          }
18244          part { name: "elm.swallow.content";
18245             type: SWALLOW;
18246             description { state: "default" 0.0;
18247                fixed: 1 0;
18248                visible: 0;
18249                align: 0.0 0.5;
18250                color: 0 0 0 0;
18251                rel1.to_x: "bg";
18252                rel1.relative: 1.0 0.0;
18253                rel1.offset: 1 1;
18254                rel2.to_x: "bg";
18255                rel2.relative: 1.0 1.0;
18256                rel2.offset: 2 -2;
18257             }
18258             description { state: "visible" 0.0;
18259                inherit: "default" 0.0;
18260                fixed: 1 1;
18261                visible: 1;
18262                color: 255 255 255 255;
18263                aspect: 1.0 1.0;
18264                aspect_preference: VERTICAL;
18265             }
18266             description { state: "disabled" 0.0;
18267                inherit: "default" 0.0;
18268                color: 128 128 128 128;
18269             }
18270             description { state: "disabled_visible" 0.0;
18271                inherit: "default" 0.0;
18272                color: 128 128 128 128;
18273                visible: 1;
18274             }
18275          }
18276          part { name: "elm.text";
18277             type: TEXT;
18278             mouse_events: 0;
18279             scale: 1;
18280             description { state: "default" 0.0;
18281                visible: 0;
18282                rel1.to_x: "elm.swallow.content";
18283                rel1.relative: 1.0 0.0;
18284                rel1.offset: 1 1;
18285                rel2.relative: 1.0 1.0;
18286                rel2.offset: -2 -2;
18287                color: 0 0 0 255;
18288                text {
18289                   font: "Sans,Edje-Vera";
18290                   size: 10;
18291                   min: 0 0;
18292                   align: 0.0 0.5;
18293                }
18294             }
18295             description { state: "visible" 0.0;
18296                inherit: "default" 0.0;
18297                visible: 1;
18298                text.min: 1 1;
18299             }
18300             description { state: "disabled" 0.0;
18301                inherit: "default" 0.0;
18302                color: 0 0 0 128;
18303                color3: 0 0 0 0;
18304             }
18305             description { state: "disabled_visible" 0.0;
18306                inherit: "default" 0.0;
18307                color: 0 0 0 128;
18308                color3: 0 0 0 0;
18309                visible: 1;
18310                text.min: 1 1;
18311             }
18312          }
18313          part { name: "events";
18314             type: RECT;
18315             ignore_flags: ON_HOLD;
18316             description { state: "default" 0.0;
18317                color: 0 0 0 0;
18318             }
18319          }
18320          part { name: "disabler";
18321             type: RECT;
18322             description { state: "default" 0.0;
18323                color: 0 0 0 0;
18324                visible: 0;
18325             }
18326             description { state: "disabled" 0.0;
18327                inherit: "default" 0.0;
18328                visible: 1;
18329             }
18330          }
18331       }
18332       programs {
18333          program { name: "click";
18334             signal: "mouse,up,1";
18335             source: "events";
18336             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
18337          }
18338          program { name: "radio_on";
18339             signal: "elm,state,radio,on";
18340             source: "elm";
18341             action:  STATE_SET "visible" 0.0;
18342             target: "radio";
18343          }
18344          program { name: "radio_off";
18345             signal: "elm,state,radio,off";
18346             source: "elm";
18347             action:  STATE_SET "default" 0.0;
18348             target: "radio";
18349          }
18350          program { name: "text_show";
18351             signal: "elm,state,text,visible";
18352             source: "elm";
18353             action:  STATE_SET "visible" 0.0;
18354             target: "elm.text";
18355          }
18356          program { name: "text_hide";
18357             signal: "elm,state,text,hidden";
18358             source: "elm";
18359             action:  STATE_SET "default" 0.0;
18360             target: "elm.text";
18361          }
18362          program { name: "icon_show";
18363             signal: "elm,state,icon,visible";
18364             source: "elm";
18365             action:  STATE_SET "visible" 0.0;
18366             target: "elm.swallow.content";
18367          }
18368          program { name: "icon_hide";
18369             signal: "elm,state,icon,hidden";
18370             source: "elm";
18371             action:  STATE_SET "default" 0.0;
18372             target: "elm.swallow.content";
18373          }
18374          program { name: "disable";
18375             signal: "elm,state,disabled";
18376             source: "elm";
18377             action: STATE_SET "disabled" 0.0;
18378             target: "disabler";
18379             after: "disable_text";
18380          }
18381          program { name: "disable_text";
18382             script {
18383                new st[31];
18384                new Float:vl;
18385                get_state(PART:"elm.text", st, 30, vl);
18386                if (!strcmp(st, "visible"))
18387                  set_state(PART:"elm.text", "disabled_visible", 0.0);
18388                else
18389                  set_state(PART:"elm.text", "disabled", 0.0);
18390
18391                get_state(PART:"elm.swallow.content", st, 30, vl);
18392                if (!strcmp(st, "visible"))
18393                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
18394                else
18395                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
18396             }
18397          }
18398          program { name: "enable";
18399             signal: "elm,state,enabled";
18400             source: "elm";
18401             action: STATE_SET "default" 0.0;
18402             target: "disabler";
18403             after: "enable_text";
18404          }
18405          program { name: "enable_text";
18406             script {
18407                new st[31];
18408                new Float:vl;
18409                get_state(PART:"elm.text", st, 30, vl);
18410                if (!strcmp(st, "disabled_visible"))
18411                  set_state(PART:"elm.text", "visible", 0.0);
18412                else
18413                  set_state(PART:"elm.text", "default", 0.0);
18414
18415                get_state(PART:"elm.swallow.content", st, 30, vl);
18416                if (!strcmp(st, "visible"))
18417                  set_state(PART:"elm.swallow.content", "visible", 0.0);
18418                else
18419                  set_state(PART:"elm.swallow.content", "default", 0.0);
18420             }
18421          }
18422       }
18423    }
18424    group { name: "elm/genlist/tree_compress_odd/double_label/default";
18425       data.item: "stacking" "below";
18426       data.item: "selectraise" "on";
18427       data.item: "labels" "elm.text elm.text.sub";
18428       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18429       data.item: "treesize" "20";
18430 //      data.item: "states" "";
18431       images {
18432          image: "bt_sm_base1.png" COMP;
18433          image: "bt_sm_shine.png" COMP;
18434          image: "bt_sm_hilight.png" COMP;
18435          image: "ilist_2.png" COMP;
18436          image: "icon_arrow_right.png" COMP;
18437          image: "icon_arrow_down.png" COMP;
18438       }
18439       parts {
18440          part {
18441             name:           "event";
18442             type:           RECT;
18443             repeat_events: 1;
18444             description {
18445                state: "default" 0.0;
18446                color: 0 0 0 0;
18447             }
18448          }
18449          part {
18450             name: "base";
18451             mouse_events: 0;
18452             description {
18453                state: "default" 0.0;
18454                image {
18455                   normal: "ilist_2.png";
18456                   border: 2 2 2 2;
18457                }
18458                fill.smooth: 0;
18459             }
18460          }
18461          part { name: "bg";
18462             clip_to: "disclip";
18463             mouse_events: 0;
18464             description { state: "default" 0.0;
18465                visible: 0;
18466                color: 255 255 255 0;
18467                rel1 {
18468                   relative: 0.0 0.0;
18469                   offset: -5 -5;
18470                }
18471                rel2 {
18472                   relative: 1.0 1.0;
18473                   offset: 4 4;
18474                }
18475                image {
18476                   normal: "bt_sm_base1.png";
18477                   border: 6 6 6 6;
18478                }
18479                image.middle: SOLID;
18480             }
18481             description { state: "selected" 0.0;
18482                inherit: "default" 0.0;
18483                visible: 1;
18484                color: 255 255 255 255;
18485                rel1 {
18486                   relative: 0.0 0.0;
18487                   offset: -2 -2;
18488                }
18489                rel2 {
18490                   relative: 1.0 1.0;
18491                   offset: 1 1;
18492                }
18493             }
18494          }
18495          part { name: "elm.swallow.pad";
18496             type: SWALLOW;
18497             description { state: "default" 0.0;
18498                fixed: 1 0;
18499                align: 0.0 0.5;
18500                rel1 {
18501                   relative: 0.0  0.0;
18502                   offset:   4    4;
18503                }
18504                rel2 {
18505                   relative: 0.0  1.0;
18506                   offset:   4   -5;
18507                }
18508             }
18509          }
18510          part { name: "arrow";
18511             clip_to: "disclip";
18512             ignore_flags: ON_HOLD;
18513             description { state: "default" 0.0;
18514                fixed: 1 0;
18515                align: 0.0 0.5;
18516                aspect: 1.0 1.0;
18517                rel1 {
18518                   to_x: "elm.swallow.pad";
18519                   relative: 1.0  0.0;
18520                   offset:   -1    4;
18521                }
18522                rel2 {
18523                   to_x: "elm.swallow.pad";
18524                   relative: 1.0  1.0;
18525                   offset:   -1   -5;
18526                }
18527                image.normal: "icon_arrow_right.png";
18528             }
18529             description { state: "active" 0.0;
18530                inherit: "default" 0.0;
18531                image.normal: "icon_arrow_down.png";
18532             }
18533          }
18534          part { name: "elm.swallow.icon";
18535             clip_to: "disclip";
18536             type: SWALLOW;
18537             description { state: "default" 0.0;
18538                fixed: 1 0;
18539                align: 0.0 0.5;
18540                rel1 {
18541                   to_x: "arrow";
18542                   relative: 1.0  0.0;
18543                   offset:   4    4;
18544                }
18545                rel2 {
18546                   to_x: "arrow";
18547                   relative: 1.0  1.0;
18548                   offset:   4   -5;
18549                }
18550             }
18551          }
18552          part { name: "elm.swallow.end";
18553             clip_to: "disclip";
18554             type: SWALLOW;
18555             description { state: "default" 0.0;
18556                fixed: 1 0;
18557                align: 1.0 0.5;
18558                aspect: 1.0 1.0;
18559                aspect_preference: VERTICAL;
18560                rel1 {
18561                   relative: 1.0  0.0;
18562                   offset:   -5    4;
18563                }
18564                rel2 {
18565                   relative: 1.0  1.0;
18566                   offset:   -5   -5;
18567                }
18568             }
18569          }
18570          part { name: "elm.text";
18571             clip_to: "disclip";
18572             type:           TEXT;
18573             effect:         SOFT_SHADOW;
18574             mouse_events:   0;
18575             scale: 1;
18576             description {
18577                state: "default" 0.0;
18578 //               min: 16 16;
18579                rel1 {
18580                   to_x:     "elm.swallow.icon";
18581                   relative: 1.0  0.0;
18582                   offset:   0 4;
18583                }
18584                rel2 {
18585                   to_x:     "elm.swallow.end";
18586                   relative: 0.0  0.5;
18587                   offset:   -1 -5;
18588                }
18589                color: 0 0 0 255;
18590                color3: 0 0 0 0;
18591                text {
18592                   font: "Sans";
18593                   size: 10;
18594 //                  min: 1 1;
18595                   min: 0 1;
18596                   align: 0.0 0.5;
18597                }
18598             }
18599             description { state: "selected" 0.0;
18600                inherit: "default" 0.0;
18601                color: 224 224 224 255;
18602                color3: 0 0 0 64;
18603             }
18604          }
18605          part { name: "elm.text.sub";
18606             clip_to: "disclip";
18607             type:           TEXT;
18608             mouse_events:   0;
18609             scale: 1;
18610             description {
18611                state: "default" 0.0;
18612 //               min: 16 16;
18613                rel1 {
18614                   to_x:     "elm.swallow.icon";
18615                   relative: 1.0  0.5;
18616                   offset:   0 4;
18617                }
18618                rel2 {
18619                   to_x:     "elm.swallow.end";
18620                   relative: 0.0  1.0;
18621                   offset:   -1 -5;
18622                }
18623                color: 0 0 0 128;
18624                color3: 0 0 0 0;
18625                text {
18626                   font: "Sans";
18627                   size: 8;
18628 //                  min: 1 1;
18629                   min: 0 1;
18630                   align: 0.0 0.5;
18631                }
18632             }
18633             description { state: "selected" 0.0;
18634                inherit: "default" 0.0;
18635                color: 128 128 128 255;
18636                color3: 0 0 0 32;
18637             }
18638          }
18639          part { name: "fg1";
18640             clip_to: "disclip";
18641             mouse_events: 0;
18642             description { state: "default" 0.0;
18643                visible: 0;
18644                color: 255 255 255 0;
18645                rel1.to: "bg";
18646                rel2.relative: 1.0 0.5;
18647                rel2.to: "bg";
18648                image {
18649                   normal: "bt_sm_hilight.png";
18650                   border: 6 6 6 0;
18651                }
18652             }
18653             description { state: "selected" 0.0;
18654                inherit: "default" 0.0;
18655                visible: 1;
18656                color: 255 255 255 255;
18657             }
18658          }
18659          part { name: "fg2";
18660             clip_to: "disclip";
18661             mouse_events: 0;
18662             description { state: "default" 0.0;
18663                visible: 0;
18664                color: 255 255 255 0;
18665                rel1.to: "bg";
18666                rel2.to: "bg";
18667                image {
18668                   normal: "bt_sm_shine.png";
18669                   border: 6 6 6 0;
18670                }
18671             }
18672             description { state: "selected" 0.0;
18673                inherit: "default" 0.0;
18674                visible: 1;
18675                color: 255 255 255 255;
18676             }
18677          }
18678          part { name: "disclip";
18679             type: RECT;
18680             description { state: "default" 0.0;
18681                rel1.to: "bg";
18682                rel2.to: "bg";
18683             }
18684             description { state: "disabled" 0.0;
18685                inherit: "default" 0.0;
18686                color: 255 255 255 64;
18687             }
18688          }
18689       }
18690       programs {
18691          // signal: elm,state,%s,active
18692          //   a "check" item named %s went active
18693          // signal: elm,state,%s,passive
18694          //   a "check" item named %s went passive
18695          // default is passive
18696          program {
18697             name:    "go_active";
18698             signal:  "elm,state,selected";
18699             source:  "elm";
18700             action:  STATE_SET "selected" 0.0;
18701             target:  "bg";
18702             target:  "fg1";
18703             target:  "fg2";
18704             target:  "elm.text";
18705             target:  "elm.text.sub";
18706          }
18707          program {
18708             name:    "go_passive";
18709             signal:  "elm,state,unselected";
18710             source:  "elm";
18711             action:  STATE_SET "default" 0.0;
18712             target:  "bg";
18713             target:  "fg1";
18714             target:  "fg2";
18715             target:  "elm.text";
18716             target:  "elm.text.sub";
18717             transition: LINEAR 0.1;
18718          }
18719          program {
18720             name:    "go_disabled";
18721             signal:  "elm,state,disabled";
18722             source:  "elm";
18723             action:  STATE_SET "disabled" 0.0;
18724             target:  "disclip";
18725          }
18726          program {
18727             name:    "go_enabled";
18728             signal:  "elm,state,enabled";
18729             source:  "elm";
18730             action:  STATE_SET "default" 0.0;
18731             target:  "disclip";
18732          }
18733          program {
18734             name:    "expand";
18735             signal:  "mouse,up,1";
18736             source:  "arrow";
18737             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18738          }
18739          program {
18740             name:    "go_expanded";
18741             signal:  "elm,state,expanded";
18742             source:  "elm";
18743             action:  STATE_SET "active" 0.0;
18744             target:  "arrow";
18745          }
18746          program {
18747             name:    "go_contracted";
18748             signal:  "elm,state,contracted";
18749             source:  "elm";
18750             action:  STATE_SET "default" 0.0;
18751             target:  "arrow";
18752          }
18753       }
18754    }
18755
18756 ///////////////////////////////////////////////////////////////////////////////
18757    group { name: "elm/pager/base/default";
18758       data.item: "onshow" "raise";
18759 // other options
18760 //      data.item: "onhide" "lower";
18761 //      data.item: "onshow" "lower";
18762       images {
18763          image: "frame_1.png" COMP;
18764          image: "frame_2.png" COMP;
18765          image: "dia_grad.png" COMP;
18766       }
18767       parts {
18768          part { name: "clip";
18769             type: RECT;
18770             mouse_events: 0;
18771             description { state: "default" 0.0;
18772                rel1 {
18773                   to: "base";
18774                   offset: -9999 -9999;
18775                }
18776                rel2 {
18777                   to: "base";
18778                   offset: 9999 9999;
18779                }
18780                color: 255 255 255 255;
18781             }
18782             description { state: "visible" 0.0;
18783                inherit: "default" 0.0;
18784             }
18785             description { state: "hidden" 0.0;
18786                inherit: "default" 0.0;
18787                color: 255 255 255 0;
18788                visible: 0;
18789             }
18790          }
18791          part { name: "base0";
18792             mouse_events:  0;
18793             clip_to: "clip";
18794             description { state: "default" 0.0;
18795                image.normal: "dia_grad.png";
18796                rel1.to: "over";
18797                rel2.to: "over";
18798                fill {
18799                   smooth: 0;
18800                   size {
18801                      relative: 0.0 1.0;
18802                      offset: 64 0;
18803                   }
18804                }
18805             }
18806          }
18807          part { name: "base";
18808             mouse_events:  0;
18809             clip_to: "clip";
18810             description { state: "default" 0.0;
18811                image {
18812                   normal: "frame_2.png";
18813                   border: 5 5 32 26;
18814                   middle: 0;
18815                }
18816                fill.smooth : 0;
18817             }
18818             description { state: "hidden" 0.0;
18819                inherit: "default" 0.0;
18820                rel1.relative: -1.0 0.0;
18821                rel2.relative: 0.0 1.0;
18822             }
18823             description { state: "visible" 0.0;
18824                inherit: "default" 0.0;
18825                rel1.relative: 0.0 0.0;
18826                rel2.relative: 1.0 1.0;
18827             }
18828          }
18829          part { name: "over";
18830             mouse_events:  0;
18831             clip_to: "clip";
18832             description { state:    "default" 0.0;
18833                rel1 {
18834                   to: "base";
18835                   offset: 4 4;
18836                }
18837                rel2 {
18838                   to: "base";
18839                   offset: -5 -5;
18840                }
18841                image {
18842                   normal: "frame_1.png";
18843                   border: 2 2 28 22;
18844                   middle: 0;
18845                }
18846                fill.smooth : 0;
18847             }
18848          }
18849          part { name: "elm.swallow.content";
18850             type: SWALLOW;
18851             clip_to: "clip";
18852             description { state: "default" 0.0;
18853                rel1 {
18854                   to: "base";
18855                   offset: 8 8;
18856                }
18857                rel2 {
18858                   to: "base";
18859                   offset: -9 -9;
18860                }
18861             }
18862          }
18863       }
18864       programs {
18865          program { name: "push_start";
18866             signal: "elm,action,push";
18867             source: "elm";
18868             action:  STATE_SET "hidden" 0.0;
18869             target: "base";
18870             target: "clip";
18871             after: "show_start2";
18872          }
18873          program { name: "show_start";
18874             signal: "elm,action,show";
18875             source: "elm";
18876             action:  STATE_SET "hidden" 0.0;
18877             target: "base";
18878             target: "clip";
18879             after: "show_start2";
18880          }
18881          program { name: "show_start2";
18882             action:  STATE_SET "visible" 0.0;
18883             transition: DECELERATE 0.5;
18884             target: "base";
18885             target: "clip";
18886             after: "show_end";
18887          }
18888          program { name: "show_end";
18889             action: SIGNAL_EMIT "elm,action,show,finished" "";
18890          }
18891          program { name: "pop_start";
18892             signal: "elm,action,pop";
18893             source: "elm";
18894             action:  STATE_SET "visible" 0.0;
18895             target: "base";
18896             target: "clip";
18897             after: "hide_start2";
18898          }
18899          program { name: "hide_start";
18900             signal: "elm,action,hide";
18901             source: "elm";
18902             action:  STATE_SET "visible" 0.0;
18903             target: "base";
18904             target: "clip";
18905             after: "hide_start2";
18906          }
18907          program { name: "hide_start2";
18908             action:  STATE_SET "hidden" 0.0;
18909             transition: DECELERATE 0.5;
18910             target: "base";
18911             target: "clip";
18912             after: "hide_end";
18913          }
18914          program { name: "hide_end";
18915             action: SIGNAL_EMIT "elm,action,hide,finished" "";
18916          }
18917          program { name: "reset";
18918             signal: "elm,action,reset";
18919             source: "elm";
18920             action:  STATE_SET "default" 0.0;
18921             target: "base";
18922             target: "clip";
18923          }
18924       }
18925    }
18926
18927    group { name: "elm/pager/base/slide";
18928       images {
18929          image: "frame_1.png" COMP;
18930          image: "frame_2.png" COMP;
18931          image: "dia_grad.png" COMP;
18932       }
18933       parts {
18934          part { name: "clip";
18935             type: RECT;
18936             mouse_events: 0;
18937             description { state: "default" 0.0;
18938                rel1 {
18939                   to: "base";
18940                   offset: -9999 -9999;
18941                }
18942                rel2 {
18943                   to: "base";
18944                   offset: 9999 9999;
18945                }
18946                color: 255 255 255 255;
18947             }
18948             description { state: "visible" 0.0;
18949                inherit: "default" 0.0;
18950             }
18951             description { state: "hidden" 0.0;
18952                inherit: "default" 0.0;
18953                color: 255 255 255 0;
18954                visible: 0;
18955             }
18956             description { state: "hidden2" 0.0;
18957                inherit: "default" 0.0;
18958                color: 255 255 255 0;
18959                visible: 0;
18960             }
18961          }
18962          part { name: "base0";
18963             mouse_events:  0;
18964             clip_to: "clip";
18965             description { state: "default" 0.0;
18966                image.normal: "dia_grad.png";
18967                rel1.to: "over";
18968                rel2.to: "over";
18969                fill {
18970                   smooth: 0;
18971                   size {
18972                      relative: 0.0 1.0;
18973                      offset: 64 0;
18974                   }
18975                }
18976             }
18977          }
18978          part { name: "base";
18979             mouse_events:  0;
18980             clip_to: "clip";
18981             description { state: "default" 0.0;
18982                image {
18983                   normal: "frame_2.png";
18984                   border: 5 5 32 26;
18985                   middle: 0;
18986                }
18987                fill.smooth : 0;
18988             }
18989             description { state: "hidden" 0.0;
18990                inherit: "default" 0.0;
18991                rel1.relative: -1.0 0.0;
18992                rel2.relative: 0.0 1.0;
18993             }
18994             description { state: "hidden2" 0.0;
18995                inherit: "default" 0.0;
18996                rel1.relative: 1.0 0.0;
18997                rel2.relative: 2.0 1.0;
18998             }
18999             description { state: "visible" 0.0;
19000                inherit: "default" 0.0;
19001                rel1.relative: 0.0 0.0;
19002                rel2.relative: 1.0 1.0;
19003             }
19004          }
19005          part { name: "over";
19006             mouse_events:  0;
19007             clip_to: "clip";
19008             description { state:    "default" 0.0;
19009                rel1 {
19010                   to: "base";
19011                   offset: 4 4;
19012                }
19013                rel2 {
19014                   to: "base";
19015                   offset: -5 -5;
19016                }
19017                image {
19018                   normal: "frame_1.png";
19019                   border: 2 2 28 22;
19020                   middle: 0;
19021                }
19022                fill.smooth : 0;
19023             }
19024          }
19025          part { name: "elm.swallow.content";
19026             type: SWALLOW;
19027             clip_to: "clip";
19028             description { state: "default" 0.0;
19029                rel1 {
19030                   to: "base";
19031                   offset: 8 8;
19032                }
19033                rel2 {
19034                   to: "base";
19035                   offset: -9 -9;
19036                }
19037             }
19038          }
19039       }
19040       programs {
19041          program { name: "push_start";
19042             signal: "elm,action,push";
19043             source: "elm";
19044             action:  STATE_SET "hidden2" 0.0;
19045             target: "base";
19046             target: "clip";
19047             after: "show_start2";
19048          }
19049          program { name: "show_start";
19050             signal: "elm,action,show";
19051             source: "elm";
19052             action:  STATE_SET "hidden" 0.0;
19053             target: "base";
19054             target: "clip";
19055             after: "show_start2";
19056          }
19057          program { name: "show_start2";
19058             action:  STATE_SET "visible" 0.0;
19059             transition: DECELERATE 0.5;
19060             target: "base";
19061             target: "clip";
19062             after: "show_end";
19063          }
19064          program { name: "show_end";
19065             action: SIGNAL_EMIT "elm,action,show,finished" "";
19066          }
19067          program { name: "pop_start";
19068             signal: "elm,action,pop";
19069             source: "elm";
19070             action:  STATE_SET "visible" 0.0;
19071             target: "base";
19072             target: "clip";
19073             after: "pop_start2";
19074          }
19075          program { name: "pop_start2";
19076             action:  STATE_SET "hidden2" 0.0;
19077             transition: DECELERATE 0.5;
19078             target: "base";
19079             target: "clip";
19080             after: "hide_end";
19081          }
19082          program { name: "hide_start";
19083             signal: "elm,action,hide";
19084             source: "elm";
19085             action:  STATE_SET "visible" 0.0;
19086             target: "base";
19087             target: "clip";
19088             after: "hide_start2";
19089          }
19090          program { name: "hide_start2";
19091             action:  STATE_SET "hidden" 0.0;
19092             transition: DECELERATE 0.5;
19093             target: "base";
19094             target: "clip";
19095             after: "hide_end";
19096          }
19097          program { name: "hide_end";
19098             action: SIGNAL_EMIT "elm,action,hide,finished" "";
19099          }
19100          program { name: "reset";
19101             signal: "elm,action,reset";
19102             source: "elm";
19103             action:  STATE_SET "default" 0.0;
19104             target: "base";
19105             target: "clip";
19106          }
19107       }
19108    }
19109    group { name: "elm/pager/base/slide_invisible";
19110       parts {
19111          part { name: "clip";
19112             type: RECT;
19113             mouse_events: 0;
19114             description { state: "default" 0.0;
19115                rel1 {
19116                   to: "base";
19117                   offset: -9999 -9999;
19118             }
19119                rel2 {
19120                   to: "base";
19121                   offset: 9999 9999;
19122                }
19123                color: 255 255 255 255;
19124             }
19125             description { state: "visible" 0.0;
19126                inherit: "default" 0.0;
19127             }
19128             description { state: "hidden" 0.0;
19129                inherit: "default" 0.0;
19130                color: 255 255 255 0;
19131                visible: 0;
19132             }
19133             description { state: "hidden2" 0.0;
19134                inherit: "default" 0.0;
19135                color: 255 255 255 0;
19136                visible: 0;
19137             }
19138          }
19139          part { name: "base";
19140             type: RECT;
19141             mouse_events:  0;
19142             clip_to: "clip";
19143             description { state: "default" 0.0;
19144                color: 0 0 0 0;
19145             }
19146             description { state: "hidden" 0.0;
19147                color: 0 0 0 0;
19148                rel1.relative: -1.0 0.0;
19149                rel2.relative: 0.0 1.0;
19150             }
19151             description { state: "hidden2" 0.0;
19152                color: 0 0 0 0;
19153                rel1.relative: 1.0 0.0;
19154                rel2.relative: 2.0 1.0;
19155             }
19156             description { state: "visible" 0.0;
19157                color: 0 0 0 0;
19158                rel1.relative: 0.0 0.0;
19159                rel2.relative: 1.0 1.0;
19160             }
19161          }
19162          part { name: "elm.swallow.content";
19163             type: SWALLOW;
19164             clip_to: "clip";
19165             description { state: "default" 0.0;
19166                rel1.to: "base";
19167                rel2.to: "base";
19168             }
19169          }
19170       }
19171       programs {
19172          program { name: "push_start";
19173             signal: "elm,action,push";
19174             source: "elm";
19175             action:  STATE_SET "hidden2" 0.0;
19176             target: "base";
19177             target: "clip";
19178             after: "show_start2";
19179          }
19180          program { name: "show_start";
19181             signal: "elm,action,show";
19182             source: "elm";
19183             action:  STATE_SET "hidden" 0.0;
19184             target: "base";
19185             target: "clip";
19186             after: "show_start2";
19187          }
19188          program { name: "show_start2";
19189             action:  STATE_SET "visible" 0.0;
19190             transition: DECELERATE 0.5;
19191             target: "base";
19192             target: "clip";
19193             after: "show_end";
19194          }
19195          program { name: "show_end";
19196             action: SIGNAL_EMIT "elm,action,show,finished" "";
19197          }
19198          program { name: "pop_start";
19199             signal: "elm,action,pop";
19200             source: "elm";
19201             action:  STATE_SET "visible" 0.0;
19202             target: "base";
19203             target: "clip";
19204             after: "pop_start2";
19205          }
19206          program { name: "pop_start2";
19207             action:  STATE_SET "hidden2" 0.0;
19208             transition: DECELERATE 0.5;
19209             target: "base";
19210             target: "clip";
19211             after: "hide_end";
19212          }
19213          program { name: "hide_start";
19214             signal: "elm,action,hide";
19215             source: "elm";
19216             action:  STATE_SET "visible" 0.0;
19217             target: "base";
19218             target: "clip";
19219             after: "hide_start2";
19220          }
19221          program { name: "hide_start2";
19222             action:  STATE_SET "hidden" 0.0;
19223             transition: DECELERATE 0.5;
19224             target: "base";
19225             target: "clip";
19226             after: "hide_end";
19227          }
19228          program { name: "hide_end";
19229             action: SIGNAL_EMIT "elm,action,hide,finished" "";
19230          }
19231          program { name: "reset";
19232             signal: "elm,action,reset";
19233             source: "elm";
19234             action:  STATE_SET "default" 0.0;
19235             target: "base";
19236             target: "clip";
19237          }
19238       }
19239    }
19240
19241    group { name: "elm/pager/base/fade";
19242        data.item: "onshow" "raise";
19243        // other options
19244        //      data.item: "onhide" "lower";
19245        //      data.item: "onshow" "lower";
19246        images {
19247            image: "frame_1.png" COMP;
19248            image: "frame_2.png" COMP;
19249            image: "dia_grad.png" COMP;
19250        }
19251        parts {
19252            part { name: "clip_base";
19253                type: RECT;
19254                mouse_events: 0;
19255                description { state: "default" 0.0;
19256                    rel1 {
19257                        to: "base";
19258                        offset: -9999 -9999;
19259                    }
19260                    rel2 {
19261                        to: "base";
19262                        offset: 9999 9999;
19263                    }
19264                    color: 255 255 255 120;
19265                }
19266                description { state: "visible" 0.0;
19267                    inherit: "default" 0.0;
19268                }
19269                description { state: "hidden" 0.0;
19270                    inherit: "default" 0.0;
19271                    color: 255 255 255 0;
19272                    visible: 0;
19273                }
19274            }
19275            part { name: "clip";
19276                type: RECT;
19277                mouse_events: 0;
19278                description { state: "default" 0.0;
19279                    rel1 {
19280                        to: "base";
19281                        offset: -9999 -9999;
19282                    }
19283                    rel2 {
19284                        to: "base";
19285                        offset: 9999 9999;
19286                    }
19287                    color: 255 255 255 255;
19288                }
19289                description { state: "visible" 0.0;
19290                    inherit: "default" 0.0;
19291                }
19292                description { state: "hidden" 0.0;
19293                    inherit: "default" 0.0;
19294                    color: 255 255 255 0;
19295                    visible: 0;
19296                }
19297            }
19298            part { name: "base0";
19299                mouse_events:  0;
19300                clip_to: "clip_base";
19301                description { state: "default" 0.0;
19302                    image.normal: "dia_grad.png";
19303                    rel1.to: "over";
19304                    rel2.to: "over";
19305                    fill {
19306                        smooth: 0;
19307                        size {
19308                            relative: 0.0 1.0;
19309                            offset: 64 0;
19310                        }
19311                    }
19312                }
19313            }
19314            part { name: "base";
19315                mouse_events:  0;
19316                clip_to: "clip_base";
19317                description { state: "default" 0.0;
19318                    image {
19319                        normal: "frame_2.png";
19320                        border: 5 5 32 26;
19321                        middle: 0;
19322                    }
19323                    fill.smooth : 0;
19324                }
19325            }
19326            part { name: "over";
19327                mouse_events:  0;
19328                clip_to: "clip";
19329                description { state:    "default" 0.0;
19330                    rel1 {
19331                        to: "base";
19332                        offset: 4 4;
19333                    }
19334                    rel2 {
19335                        to: "base";
19336                        offset: -5 -5;
19337                    }
19338                    image {
19339                        normal: "frame_1.png";
19340                        border: 2 2 28 22;
19341                        middle: 0;
19342                    }
19343                    fill.smooth : 0;
19344                }
19345            }
19346            part { name: "elm.swallow.content";
19347                type: SWALLOW;
19348                clip_to: "clip";
19349                description { state: "default" 0.0;
19350                    rel1 {
19351                        to: "base";
19352                        offset: 8 8;
19353                    }
19354                    rel2 {
19355                        to: "base";
19356                        offset: -9 -9;
19357                    }
19358                }
19359            }
19360        }
19361        programs {
19362            program { name: "push_start";
19363                signal: "elm,action,push";
19364                source: "elm";
19365                action:  STATE_SET "hidden" 0.0;
19366                target: "clip";
19367                target: "clip_base";
19368                after: "show_start2";
19369            }
19370            program { name: "show_start";
19371                signal: "elm,action,show";
19372                source: "elm";
19373                action:  STATE_SET "hidden" 0.0;
19374                target: "clip";
19375                target: "clip_base";
19376                after: "show_start2";
19377            }
19378            program { name: "show_start2";
19379                action:  STATE_SET "visible" 0.0;
19380                transition: DECELERATE 0.5;
19381                target: "clip";
19382                target: "clip_base";
19383                after: "show_end";
19384            }
19385            program { name: "show_end";
19386                action: SIGNAL_EMIT "elm,action,show,finished" "";
19387            }
19388            program { name: "pop_start";
19389                signal: "elm,action,pop";
19390                source: "elm";
19391                action:  STATE_SET "visible" 0.0;
19392                target: "clip";
19393                target: "clip_base";
19394                after: "hide_start2";
19395            }
19396            program { name: "hide_start";
19397                signal: "elm,action,hide";
19398                source: "elm";
19399                action:  STATE_SET "visible" 0.0;
19400                target: "clip";
19401                target: "clip_base";
19402                after: "hide_start2";
19403            }
19404            program { name: "hide_start2";
19405                action:  STATE_SET "hidden" 0.0;
19406                transition: DECELERATE 0.5;
19407                target: "clip";
19408                target: "clip_base";
19409                after: "hide_end";
19410            }
19411            program { name: "hide_end";
19412                action: SIGNAL_EMIT "elm,action,hide,finished" "";
19413            }
19414            program { name: "reset";
19415                signal: "elm,action,reset";
19416                source: "elm";
19417                action:  STATE_SET "default" 0.0;
19418                target: "clip_base";
19419                target: "clip";
19420            }
19421        }
19422    }
19423    group { name: "elm/pager/base/fade_translucide";
19424        data.item: "onshow" "raise";
19425        // other options
19426        //      data.item: "onhide" "lower";
19427        //      data.item: "onshow" "lower";
19428        images {
19429            image: "frame_1.png" COMP;
19430            image: "frame_2.png" COMP;
19431            image: "dia_grad.png" COMP;
19432        }
19433        parts {
19434            part { name: "clip_base";
19435                type: RECT;
19436                mouse_events: 0;
19437                description { state: "default" 0.0;
19438                    rel1 {
19439                        to: "base";
19440                        offset: -9999 -9999;
19441                    }
19442                    rel2 {
19443                        to: "base";
19444                        offset: 9999 9999;
19445                    }
19446                    color: 255 255 255 120;
19447                }
19448                description { state: "visible" 0.0;
19449                    inherit: "default" 0.0;
19450                }
19451                description { state: "hidden" 0.0;
19452                    inherit: "default" 0.0;
19453                    color: 255 255 255 0;
19454                    visible: 0;
19455                }
19456            }
19457            part { name: "clip";
19458                type: RECT;
19459                mouse_events: 0;
19460                description { state: "default" 0.0;
19461                    rel1 {
19462                        to: "base";
19463                        offset: -9999 -9999;
19464                    }
19465                    rel2 {
19466                        to: "base";
19467                        offset: 9999 9999;
19468                    }
19469                    color: 255 255 255 255;
19470                }
19471                description { state: "visible" 0.0;
19472                    inherit: "default" 0.0;
19473                }
19474                description { state: "hidden" 0.0;
19475                    inherit: "default" 0.0;
19476                    color: 255 255 255 0;
19477                    visible: 0;
19478                }
19479            }
19480            part { name: "base0";
19481                mouse_events:  0;
19482                clip_to: "clip_base";
19483                description { state: "default" 0.0;
19484                    image.normal: "dia_grad.png";
19485                    rel1.to: "over";
19486                    rel2.to: "over";
19487                    fill {
19488                        smooth: 0;
19489                        size {
19490                            relative: 0.0 1.0;
19491                            offset: 64 0;
19492                        }
19493                    }
19494                }
19495            }
19496            part { name: "base";
19497                mouse_events:  0;
19498                clip_to: "clip_base";
19499                description { state: "default" 0.0;
19500                    image {
19501                        normal: "frame_2.png";
19502                        border: 5 5 32 26;
19503                        middle: 0;
19504                    }
19505                    fill.smooth : 0;
19506                }
19507            }
19508            part { name: "over";
19509                mouse_events:  0;
19510                clip_to: "clip";
19511                description { state:    "default" 0.0;
19512                    rel1 {
19513                        to: "base";
19514                        offset: 4 4;
19515                    }
19516                    rel2 {
19517                        to: "base";
19518                        offset: -5 -5;
19519                    }
19520                    image {
19521                        normal: "frame_1.png";
19522                        border: 2 2 28 22;
19523                        middle: 0;
19524                    }
19525                    fill.smooth : 0;
19526                }
19527            }
19528            part { name: "elm.swallow.content";
19529                type: SWALLOW;
19530                clip_to: "clip";
19531                description { state: "default" 0.0;
19532                    rel1 {
19533                        to: "base";
19534                        offset: 8 8;
19535                    }
19536                    rel2 {
19537                        to: "base";
19538                        offset: -9 -9;
19539                    }
19540                }
19541            }
19542        }
19543        programs {
19544            program { name: "push_start";
19545                signal: "elm,action,push";
19546                source: "elm";
19547                action:  STATE_SET "hidden" 0.0;
19548                target: "clip";
19549                target: "clip_base";
19550                after: "show_start2";
19551            }
19552            program { name: "show_start";
19553                signal: "elm,action,show";
19554                source: "elm";
19555                action:  STATE_SET "hidden" 0.0;
19556                target: "clip";
19557                target: "clip_base";
19558                after: "show_start2";
19559            }
19560            program { name: "show_start2";
19561                action:  STATE_SET "visible" 0.0;
19562                transition: DECELERATE 0.5;
19563                target: "clip";
19564                target: "clip_base";
19565                after: "show_end";
19566            }
19567            program { name: "show_end";
19568                action: SIGNAL_EMIT "elm,action,show,finished" "";
19569            }
19570            program { name: "pop_start";
19571                signal: "elm,action,pop";
19572                source: "elm";
19573                action:  STATE_SET "visible" 0.0;
19574                target: "clip";
19575                target: "clip_base";
19576                after: "hide_start2";
19577            }
19578            program { name: "hide_start";
19579                signal: "elm,action,hide";
19580                source: "elm";
19581                action:  STATE_SET "visible" 0.0;
19582                target: "clip";
19583                target: "clip_base";
19584                after: "hide_start2";
19585            }
19586            program { name: "hide_start2";
19587                action:  STATE_SET "hidden" 0.0;
19588                transition: DECELERATE 0.5;
19589                target: "clip";
19590                target: "clip_base";
19591                after: "hide_end";
19592            }
19593            program { name: "hide_end";
19594                action: SIGNAL_EMIT "elm,action,hide,finished" "";
19595            }
19596            program { name: "reset";
19597                signal: "elm,action,reset";
19598                source: "elm";
19599                action:  STATE_SET "default" 0.0;
19600                target: "clip_base";
19601                target: "clip";
19602            }
19603        }
19604    }
19605    group { name: "elm/pager/base/fade_invisible";
19606        data.item: "onshow" "raise";
19607        // other options
19608        //      data.item: "onhide" "lower";
19609        //      data.item: "onshow" "lower";
19610        parts {
19611            part { name: "clip";
19612                type: RECT;
19613                mouse_events: 0;
19614                description { state: "default" 0.0;
19615                    rel1 {
19616                        offset: -9999 -9999;
19617                    }
19618                    rel2 {
19619                        offset: 9999 9999;
19620                    }
19621                    color: 255 255 255 255;
19622                }
19623                description { state: "visible" 0.0;
19624                    inherit: "default" 0.0;
19625                }
19626                description { state: "hidden" 0.0;
19627                    inherit: "default" 0.0;
19628                    color: 255 255 255 0;
19629                    visible: 0;
19630                }
19631            }
19632            part { name: "elm.swallow.content";
19633                type: SWALLOW;
19634                clip_to: "clip";
19635                description { state: "default" 0.0;
19636                    rel1 {
19637                        offset: 8 8;
19638                    }
19639                    rel2 {
19640                        offset: -9 -9;
19641                    }
19642                }
19643            }
19644        }
19645        programs {
19646            program { name: "push_start";
19647                signal: "elm,action,push";
19648                source: "elm";
19649                action:  STATE_SET "hidden" 0.0;
19650                target: "clip";
19651                after: "show_start2";
19652            }
19653            program { name: "show_start";
19654                signal: "elm,action,show";
19655                source: "elm";
19656                action:  STATE_SET "hidden" 0.0;
19657                target: "clip";
19658                after: "show_start2";
19659            }
19660            program { name: "show_start2";
19661                action:  STATE_SET "visible" 0.0;
19662                transition: DECELERATE 0.5;
19663                target: "clip";
19664                after: "show_end";
19665            }
19666            program { name: "show_end";
19667                action: SIGNAL_EMIT "elm,action,show,finished" "";
19668            }
19669            program { name: "pop_start";
19670                signal: "elm,action,pop";
19671                source: "elm";
19672                action:  STATE_SET "visible" 0.0;
19673                target: "clip";
19674                after: "hide_start2";
19675            }
19676            program { name: "hide_start";
19677                signal: "elm,action,hide";
19678                source: "elm";
19679                action:  STATE_SET "visible" 0.0;
19680                target: "clip";
19681                after: "hide_start2";
19682            }
19683            program { name: "hide_start2";
19684                action:  STATE_SET "hidden" 0.0;
19685                transition: DECELERATE 0.5;
19686                target: "clip";
19687                after: "hide_end";
19688            }
19689            program { name: "hide_end";
19690                action: SIGNAL_EMIT "elm,action,hide,finished" "";
19691            }
19692            program { name: "reset";
19693                signal: "elm,action,reset";
19694                source: "elm";
19695                action:  STATE_SET "default" 0.0;
19696                target: "clip";
19697            }
19698        }
19699    }
19700
19701
19702
19703 ///////////////////////////////////////////////////////////////////////////////
19704 // FIXME: this doesn't look too hot. need to fix it up
19705    group { name: "elm/progressbar/horizontal/default";
19706       images {
19707          image: "shelf_inset.png" COMP;
19708          image: "bt_sm_base2.png" COMP;
19709          image: "bt_sm_hilight.png" COMP;
19710          image: "bt_sm_shine.png" COMP;
19711       }
19712       parts {
19713          part { name: "elm.background.progressbar";
19714             mouse_events: 0;
19715             description {
19716                state: "default" 0.0;
19717                rel1 {
19718                   relative: 0.0 0.0;
19719                   offset: 0 0;
19720                }
19721                rel2 {
19722                   relative: 1.0 1.0;
19723                }
19724             }
19725          }
19726          part { name: "elm.swallow.bar";
19727             mouse_events: 0;
19728             type: SWALLOW;
19729             description {
19730                min: 48 28;
19731                max: 99999 28;
19732                state: "default" 0.0;
19733                rel1 {
19734                   to_x: "elm.text";
19735                   to_y: "elm.background.progressbar";
19736                   relative: 1.0 0.0;
19737                }
19738                rel2 {
19739                   to: "elm.background.progressbar";
19740                   relative: 1.0 1.0;
19741                }
19742             }
19743          }
19744          part { name: "elm.swallow.content";
19745             type: SWALLOW;
19746             description { state: "default" 0.0;
19747                visible: 0;
19748                align: 0.0 0.5;
19749                rel1 {
19750                   offset: 4 0;
19751                   to_y: "elm.background.progressbar";
19752                }
19753                rel2 {
19754                   offset: 3 -1;
19755                   relative: 0.0 1.0;
19756                   to_y: "elm.background.progressbar";
19757                }
19758             }
19759             description { state: "visible" 0.0;
19760                inherit: "default" 0.0;
19761                visible: 1;
19762                aspect: 1.0 1.0;
19763                aspect_preference: VERTICAL;
19764                rel2.offset: 4 -1;
19765             }
19766          }
19767          part { name: "elm.text";
19768             type: TEXT;
19769             mouse_events: 0;
19770             scale: 1;
19771             description { state: "default" 0.0;
19772                visible: 0;
19773                fixed: 1 1;
19774                align: 0.0 0.5;
19775                rel1.to_x: "elm.swallow.content";
19776                rel1.relative: 1.0 0.0;
19777                rel1.offset: -1 4;
19778                rel2.to_x: "elm.swallow.content";
19779                rel2.relative: 1.0 1.0;
19780                rel2.offset: -1 -5;
19781                color: 0 0 0 255;
19782                text {
19783                   font: "Sans,Edje-Vera";
19784                   size: 10;
19785                   min: 0 0;
19786                   align: 0.0 0.5;
19787                }
19788             }
19789             description { state: "visible" 0.0;
19790                inherit: "default" 0.0;
19791                visible: 1;
19792                text.min: 1 1;
19793                rel1.offset: 0 4;
19794                rel2.offset: 0 -5;
19795             }
19796          }
19797
19798          part { name: "background";
19799             mouse_events: 0;
19800             clip_to: "elm.background.progressbar";
19801             description {
19802                state: "default" 0.0;
19803                rel1 {
19804                   to: "elm.swallow.bar";
19805                   relative: 0.0 0.0;
19806                }
19807                rel2 {
19808                   to: "elm.swallow.bar";
19809                   relative: 1.0 1.0;
19810                   offset: -1 -1;
19811                }
19812                image {
19813                   normal: "shelf_inset.png";
19814                   border: 7 7 7 7;
19815                }
19816             }
19817          }
19818
19819          part { name: "elm.text.status";
19820             type: TEXT;
19821             mouse_events: 0;
19822             description { state: "default" 0.0;
19823                fixed: 1 1;
19824                visible: 1;
19825                rel1 {
19826                   to: "background";
19827                   relative: 0.5 0.5;
19828                }
19829                rel2 {
19830                   to: "background";
19831                   relative: 0.5 0.5;
19832                }
19833                text {
19834                   font: "Sans:style=Bold,Edje-Vera-Bold";
19835                   size: 10;
19836                   min: 1 1;
19837                   align: 0.5 0.0;
19838                }
19839                color: 0 0 0 255;
19840             }
19841             description { state: "hidden" 0.0;
19842                inherit: "default" 0.0;
19843                visible: 0;
19844                text.min: 0 0;
19845             }
19846          }
19847
19848          part { name: "elm.progress.progressbar";
19849             mouse_events: 0;
19850             clip_to: "elm.background.progressbar";
19851             description {
19852                state: "default" 0.0;
19853                min: 14 28;
19854                fixed: 1 1;
19855                rel1 {
19856                   to: "elm.swallow.bar";
19857                   relative: 0.0 0.0;
19858                }
19859                rel2 {
19860                   to_y: "elm.swallow.bar";
19861                   to_x: "elm.cur.progressbar";
19862                   offset: -1 -1;
19863                }
19864                image {
19865                   normal: "bt_sm_base2.png";
19866                   border: 6 6 6 6;
19867                }
19868             }
19869             description {
19870                state: "invert" 0.0;
19871                inherit: "default" 0.0;
19872                rel1 {
19873                   to_y: "elm.swallow.bar";
19874                   to_x: "elm.cur.progressbar";
19875                }
19876                rel2 {
19877                   to: "elm.swallow.bar";
19878                   relative: 1.0 1.0;
19879                }
19880             }
19881             description {
19882                state: "state_begin" 0.0;
19883                inherit: "default" 0.0;
19884                rel1 {
19885                   to: "elm.swallow.bar";
19886                   relative: 0.0 0.0;
19887                }
19888                rel2 {
19889                   to: "elm.swallow.bar";
19890                   relative: 0.1 1.0;
19891                }
19892             }
19893             description {
19894                state: "state_end" 0.0;
19895                inherit: "default" 0.0;
19896                rel1 {
19897                   to: "elm.swallow.bar";
19898                   relative: 0.9 0.0;
19899                }
19900                rel2 {
19901                   to: "elm.swallow.bar";
19902                   relative: 1.0 1.0;
19903                }
19904             }
19905          }
19906          part { name: "text-bar";
19907             type: TEXT;
19908             mouse_events: 0;
19909             clip_to: "progress-rect";
19910             effect: SOFT_SHADOW;
19911             scale: 1;
19912             description { state: "default" 0.0;
19913                align: 0.0 0.0;
19914                fixed: 1 1;
19915                visible: 1;
19916                rel1.to: "elm.text.status";
19917                rel1.offset: -1 -1;
19918                rel2.to: "elm.text.status";
19919                text {
19920                   text_source: "elm.text.status";
19921                   font: "Sans:style=Bold,Edje-Vera-Bold";
19922                   size: 10;
19923                   min: 1 1;
19924                   align: 0.0 0.0;
19925                }
19926                color: 224 224 224 255;
19927                color3: 0 0 0 64;
19928             }
19929             description { state: "hidden" 0.0;
19930                inherit: "default" 0.0;
19931                visible: 0;
19932                text.min: 0 0;
19933             }
19934          }
19935
19936          part { name: "over1";
19937             mouse_events: 0;
19938             description { state: "default" 0.0;
19939                rel1.to: "elm.progress.progressbar";
19940                rel2.to: "elm.progress.progressbar";
19941                rel2.relative: 1.0 0.5;
19942                image {
19943                   normal: "bt_sm_hilight.png";
19944                   border: 6 6 6 0;
19945                }
19946             }
19947          }
19948
19949          part { name: "over2";
19950             mouse_events: 1;
19951             repeat_events: 1;
19952             description { state: "default" 0.0;
19953                rel1.to: "elm.progress.progressbar";
19954                rel2.to: "elm.progress.progressbar";
19955                image {
19956                   normal: "bt_sm_shine.png";
19957                   border: 6 6 6 0;
19958                }
19959             }
19960          }
19961
19962          part { name: "elm.cur.progressbar";
19963             mouse_events: 0;
19964             dragable {
19965                confine: "background";
19966                x: 1 1 1;
19967                y: 0 0 0;
19968             }
19969             description { state: "default" 0.0;
19970                min: 14 28;
19971                fixed: 1 1;
19972                visible: 0;
19973                rel1 {
19974                   to: "background";
19975                   relative: 0 0;
19976                }
19977                rel2.to: "background";
19978            }
19979          }
19980          part { name: "progress-rect";
19981             mouse_events: 0;
19982             description {
19983                state: "default" 0.0;
19984                rel1.to: "elm.progress.progressbar";
19985                rel2.to: "elm.progress.progressbar";
19986             }
19987          }
19988       }
19989       programs {
19990          program { name: "label_show";
19991             signal: "elm,state,text,visible";
19992             source: "elm";
19993             action:  STATE_SET "visible" 0.0;
19994             target: "elm.text";
19995          }
19996          program { name: "label_hide";
19997             signal: "elm,state,text,hidden";
19998             source: "elm";
19999             action:  STATE_SET "default" 0.0;
20000             target: "elm.text";
20001          }
20002          program { name: "icon_show";
20003             signal: "elm,state,icon,visible";
20004             source: "elm";
20005             action:  STATE_SET "visible" 0.0;
20006             target: "elm.swallow.content";
20007          }
20008          program { name: "icon_hide";
20009             signal: "elm,state,icon,hidden";
20010             source: "elm";
20011             action:  STATE_SET "default" 0.0;
20012             target: "elm.swallow.content";
20013          }
20014          program { name: "units_show";
20015             signal: "elm,state,units,visible";
20016             source: "elm";
20017             action:  STATE_SET "default" 0.0;
20018             target: "text-bar";
20019             target: "elm.text.status";
20020          }
20021          program { name: "units_hide";
20022             signal: "elm,state,units,hidden";
20023             source: "elm";
20024             action:  STATE_SET "hidden" 0.0;
20025             target: "text-bar";
20026             target: "elm.text.status";
20027          }
20028          program { name: "slide_to_end";
20029             action:  STATE_SET "state_end" 0.0;
20030             transition: LINEAR 0.5;
20031             target: "elm.progress.progressbar";
20032             after: "slide_to_begin";
20033          }
20034          program { name: "slide_to_begin";
20035             signal: "elm,state,slide,begin";
20036             action: STATE_SET "state_begin" 0.0;
20037             target: "elm.progress.progressbar";
20038             transition: LINEAR 0.5;
20039             after: "slide_to_end";
20040          }
20041          program { name: "start_pulse";
20042             signal: "elm,state,pulse,start";
20043             source: "elm";
20044             after: "slide_to_end";
20045          }
20046          program { name: "stop_pulse";
20047             signal: "elm,state,pulse,stop";
20048             source: "elm";
20049             action: ACTION_STOP;
20050             target: "slide_to_begin";
20051             target: "slide_to_end";
20052             target: "start_pulse";
20053             after: "state_pulse";
20054          }
20055          program { name: "state_pulse";
20056             signal: "elm,state,pulse";
20057             source: "elm";
20058             action: STATE_SET "state_begin" 0.0;
20059             target: "elm.progress.progressbar";
20060             after: "units_hide";
20061          }
20062          program { name: "state_fraction";
20063             signal: "elm,state,fraction";
20064             source: "elm";
20065             action: ACTION_STOP;
20066             target: "slide_to_begin";
20067             target: "slide_to_end";
20068             target: "start_pulse";
20069             action: STATE_SET "default" 0.0;
20070             target: "elm.progress.progressbar";
20071          }
20072          program { name: "set_invert_on";
20073             signal: "elm,state,inverted,on";
20074             source: "elm";
20075             action:  STATE_SET "invert" 0.0;
20076             target: "elm.progress.progressbar";
20077          }
20078          program { name: "set_invert_off";
20079             signal: "elm,state,inverted,off";
20080             source: "elm";
20081             action:  STATE_SET "default" 0.0;
20082             target: "elm.progress.progressbar";
20083          }
20084       }
20085    }
20086
20087 ///////////////////////////////////////////////////////////////////////////////
20088    group { name: "elm/progressbar/vertical/default";
20089       images {
20090          image: "shelf_inset.png" COMP;
20091          image: "bt_sm_base2.png" COMP;
20092          image: "bt_sm_hilight.png" COMP;
20093          image: "bt_sm_shine.png" COMP;
20094       }
20095       parts {
20096          part { name: "elm.background.progressbar";
20097             type: RECT;
20098             mouse_events: 0;
20099             description {
20100                state: "default" 0.0;
20101                rel1 {
20102                   relative: 0.0 0.0;
20103                   offset: 0 0;
20104                }
20105                rel2 {
20106                   relative: 1.0 1.0;
20107                   offset: -1 -1;
20108                }
20109             }
20110          }
20111          part { name: "elm.swallow.bar";
20112             type: SWALLOW;
20113             scale: 1;
20114             description { state: "default" 0.0;
20115                min: 28 48;
20116                max: 28 9999;
20117                align: 0.5 1.0;
20118                rel1 {
20119                   to_y: "elm.text";
20120                   relative: 0.0 1.0;
20121                   offset: 0 2;
20122                }
20123                rel2 {
20124                   to_y: "elm.text.box";
20125                   relative: 1.0 0.0;
20126                   offset: -1 -3;
20127                }
20128             }
20129          }
20130          part { name: "elm.swallow.content";
20131             type: SWALLOW;
20132             description { state: "default" 0.0;
20133                visible: 0;
20134                align: 0.5 0.0;
20135                rel1 {
20136                   offset: 0 4;
20137                   to_x: "elm.swallow.bar";
20138                }
20139                rel2 {
20140                   offset: -1 3;
20141                   relative: 1.0 0.0;
20142                   to_x: "elm.swallow.bar";
20143                }
20144             }
20145             description { state: "visible" 0.0;
20146                inherit: "default" 0.0;
20147                visible: 1;
20148                aspect: 1.0 1.0;
20149                aspect_preference: HORIZONTAL;
20150                rel2.offset: -1 4;
20151             }
20152          }
20153          part { name: "elm.text";
20154             type: TEXT;
20155             mouse_events: 0;
20156             scale: 1;
20157             description { state: "default" 0.0;
20158                visible: 0;
20159                fixed: 1 1;
20160                align: 0.5 0.0;
20161                rel1.to_y: "elm.swallow.content";
20162                rel1.relative: 0.5 1.0;
20163                rel1.offset: 0 -1;
20164                rel2.to_y: "elm.swallow.content";
20165                rel2.relative: 0.5 1.0;
20166                rel2.offset: -1 -1;
20167                color: 0 0 0 255;
20168                text {
20169                   font: "Sans,Edje-Vera";
20170                   size: 10;
20171                   min: 0 0;
20172                   align: 0.5 0.0;
20173                }
20174             }
20175             description { state: "visible" 0.0;
20176                inherit: "default" 0.0;
20177                visible: 1;
20178                text.min: 1 1;
20179                rel1.offset: 4 0;
20180                rel2.offset: -5 0;
20181             }
20182          }
20183
20184          part { name: "background";
20185             mouse_events: 0;
20186             clip_to: "elm.background.progressbar";
20187             description {
20188                state: "default" 0.0;
20189                rel1 {
20190                   to: "elm.swallow.bar";
20191                   relative: 0.0 0.0;
20192                }
20193                rel2 {
20194                   to: "elm.swallow.bar";
20195                   relative: 1.0 1.0;
20196                   offset: -1 -1;
20197                }
20198                image {
20199                   normal: "shelf_inset.png";
20200                   border: 7 7 7 7;
20201                }
20202             }
20203          }
20204
20205          part { name: "elm.progress.progressbar";
20206             mouse_events: 0;
20207             clip_to: "elm.background.progressbar";
20208             description {
20209                state: "default" 0.0;
20210                min: 28 14;
20211                fixed: 1 1;
20212                rel1 {
20213                   to: "elm.swallow.bar";
20214                   relative: 0.0 0.0;
20215                }
20216                rel2 {
20217                   to_x: "elm.swallow.bar";
20218                   to_y: "elm.cur.progressbar";
20219                   offset: -1 -1;
20220                }
20221                image {
20222                   normal: "bt_sm_base2.png";
20223                   border: 6 6 6 6;
20224                }
20225             }
20226             description {
20227                state: "invert" 0.0;
20228                inherit: "default" 0.0;
20229                rel1 {
20230                   to_x: "elm.swallow.bar";
20231                   to_y: "elm.cur.progressbar";
20232                }
20233                rel2 {
20234                   to: "elm.swallow.bar";
20235                   relative: 1.0 1.0;
20236                }
20237             }
20238             description {
20239                state: "state_begin" 0.0;
20240                inherit: "default" 0.0;
20241                rel1 {
20242                   to: "elm.swallow.bar";
20243                   relative: 0.0 0.0;
20244                }
20245                rel2 {
20246                   to: "elm.swallow.bar";
20247                   relative: 1.0 0.1;
20248                }
20249             }
20250             description {
20251                state: "state_end" 0.0;
20252                inherit: "default" 0.0;
20253                rel1 {
20254                   to: "elm.swallow.bar";
20255                   relative: 0.0 0.9;
20256                }
20257                rel2 {
20258                   to: "elm.swallow.bar";
20259                   relative: 1.0 1.0;
20260                }
20261             }
20262          }
20263
20264          part { name: "over1";
20265             mouse_events: 0;
20266             description { state: "default" 0.0;
20267                rel1.to: "elm.progress.progressbar";
20268                rel2.to: "elm.progress.progressbar";
20269                rel2.relative: 1.0 0.5;
20270                image {
20271                   normal: "bt_sm_hilight.png";
20272                   border: 6 6 6 0;
20273                }
20274             }
20275          }
20276
20277          part { name: "over2";
20278             mouse_events: 1;
20279             repeat_events: 1;
20280             description { state: "default" 0.0;
20281                rel1.to: "elm.progress.progressbar";
20282                rel2.to: "elm.progress.progressbar";
20283                image {
20284                   normal: "bt_sm_shine.png";
20285                   border: 6 6 6 0;
20286                }
20287             }
20288          }
20289
20290          part { name: "elm.cur.progressbar";
20291             mouse_events: 0;
20292             dragable {
20293                confine: "background";
20294                x: 0 0 0;
20295                y: 1 1 1;
20296             }
20297             description { state: "default" 0.0;
20298                min: 28 14;
20299                fixed: 1 1;
20300                visible: 0;
20301                rel1 {
20302                   to: "background";
20303                   relative: 0 0;
20304                }
20305                rel2.to: "background";
20306            }
20307          }
20308
20309          part { name: "elm.text.box";
20310             mouse_events: 0;
20311             type: RECT;
20312             description { state: "default" 0.0;
20313                visible: 0;
20314                rel1 {
20315                   to: "elm.text.status";
20316                   offset: -2 -2;
20317                }
20318                rel2 {
20319                   to: "elm.text.status";
20320                   offset: 2 2;
20321                }
20322                color: 255 255 255 0;
20323             }
20324             description { state: "visible" 0.0;
20325                inherit: "default" 0.0;
20326                visible: 1;
20327             }
20328          }
20329          part { name: "elm.text.status";
20330             type: TEXT;
20331             mouse_events: 0;
20332             scale: 1;
20333             description { state: "default" 0.0;
20334                visible: 0;
20335                fixed: 1 1;
20336                align: 0.5 1.0;
20337                rel1.relative: 0.0 1.0;
20338                rel1.offset: 2 0;
20339                rel2.relative: 1.0 1.0;
20340                rel2.offset: -2 0;
20341                color: 0 0 0 255;
20342                text {
20343                   font: "Sans:style=Bold,Edje-Vera-Bold";
20344                   size: 10;
20345                   min: 0 0;
20346                   align: 0.5 0.0;
20347                }
20348             }
20349             description { state: "visible" 0.0;
20350                inherit: "default" 0.0;
20351                fixed: 1 1;
20352                visible: 1;
20353                text.min: 1 1;
20354                rel1.offset: 8 -9;
20355                rel2.offset: -9 -9;
20356             }
20357          }
20358       }
20359       programs {
20360          program { name: "label_show";
20361             signal: "elm,state,text,visible";
20362             source: "elm";
20363             action:  STATE_SET "visible" 0.0;
20364             target: "elm.text";
20365          }
20366          program { name: "label_hide";
20367             signal: "elm,state,text,hidden";
20368             source: "elm";
20369             action:  STATE_SET "default" 0.0;
20370             target: "elm.text";
20371          }
20372          program { name: "icon_show";
20373             signal: "elm,state,icon,visible";
20374             source: "elm";
20375             action:  STATE_SET "visible" 0.0;
20376             target: "elm.swallow.content";
20377          }
20378          program { name: "icon_hide";
20379             signal: "elm,state,icon,hidden";
20380             source: "elm";
20381             action:  STATE_SET "default" 0.0;
20382             target: "elm.swallow.content";
20383          }
20384          program { name: "units_show";
20385             signal: "elm,state,units,visible";
20386             source: "elm";
20387             action:  STATE_SET "visible" 0.0;
20388             target: "elm.text.status";
20389             target: "elm.text.box";
20390          }
20391          program { name: "units_hide";
20392             signal: "elm,state,units,hidden";
20393             source: "elm";
20394             action:  STATE_SET "default" 0.0;
20395             target: "elm.text.status";
20396             target: "elm.text.box";
20397          }
20398          program { name: "slide_to_end";
20399             action:  STATE_SET "state_end" 0.0;
20400             transition: LINEAR 0.5;
20401             target: "elm.progress.progressbar";
20402             after: "slide_to_begin";
20403          }
20404          program { name: "slide_to_begin";
20405             action:  STATE_SET "state_begin" 0.0;
20406             target: "elm.progress.progressbar";
20407             transition: LINEAR 0.5;
20408             after: "slide_to_end";
20409          }
20410          program { name: "start_pulse";
20411             signal: "elm,state,pulse,start";
20412             source: "elm";
20413             action: STATE_SET "state_begin" 0.0;
20414             target: "elm.progress.progressbar";
20415             after: "slide_to_end";
20416          }
20417          program { name: "stop_pulse";
20418             signal: "elm,state,pulse,stop";
20419             source: "elm";
20420             action: ACTION_STOP;
20421             target: "slide_to_begin";
20422             target: "slide_to_end";
20423             target: "start_pulse";
20424             after: "state_pulse";
20425          }
20426          program { name: "state_pulse";
20427             signal: "elm,state,pulse";
20428             source: "elm";
20429             action: STATE_SET "state_begin" 0.0;
20430             target: "elm.progress.progressbar";
20431             after: "units_hide";
20432          }
20433          program { name: "state_fraction";
20434             signal: "elm,state,fraction";
20435             source: "elm";
20436             action: ACTION_STOP;
20437             target: "slide_to_begin";
20438             target: "slide_to_end";
20439             target: "start_pulse";
20440             action: STATE_SET "default" 0.0;
20441             target: "elm.progress.progressbar";
20442          }
20443          program { name: "set_invert_on";
20444             signal: "elm,state,inverted,on";
20445             source: "elm";
20446             action:  STATE_SET "invert" 0.0;
20447             target: "elm.progress.progressbar";
20448             target: "elm.cur.progressbar";
20449          }
20450          program { name: "set_invert_off";
20451             signal: "elm,state,inverted,off";
20452             source: "elm";
20453             action:  STATE_SET "default" 0.0;
20454             target: "elm.progress.progressbar";
20455             target: "elm.cur.progressbar";
20456          }
20457       }
20458    }
20459
20460 ///////////////////////////////////////////////////////////////////////////////
20461    group { name: "elm/separator/horizontal/default";
20462        images {
20463            image: "separator_h.png" COMP;
20464        }
20465        parts {
20466            part { name: "separator"; // separator group
20467                description { state: "default" 0.0;
20468                    min: 2 2;
20469                    rel1.offset: 4 4;
20470                    rel2.offset: -5 -5;
20471                    image {
20472                        normal: "separator_h.png";
20473                    }
20474                    fill {
20475                        smooth: 0;
20476                    }
20477                }
20478            }
20479        }
20480    }
20481
20482    ///////////////////////////////////////////////////////////////////////////////
20483    group { name: "elm/separator/vertical/default";
20484        images {
20485            image: "separator_v.png" COMP;
20486        }
20487        parts {
20488            part { name: "separator"; // separator group
20489                description { state: "default" 0.0;
20490                    min: 2 2;
20491                    rel1.offset: 4 4;
20492                    rel2.offset: -5 -5;
20493                    image {
20494                        normal: "separator_v.png";
20495                    }
20496                    fill {
20497                        smooth: 0;
20498                    }
20499                }
20500            }
20501        }
20502    }
20503
20504    group { name: "elm/progressbar/horizontal/wheel";
20505        images {
20506            image: "busy-1.png" COMP;
20507            image: "busy-2.png" COMP;
20508            image: "busy-3.png" COMP;
20509            image: "busy-4.png" COMP;
20510            image: "busy-5.png" COMP;
20511            image: "busy-6.png" COMP;
20512            image: "busy-7.png" COMP;
20513            image: "busy-8.png" COMP;
20514            image: "busy-9.png" COMP;
20515        }
20516        parts {
20517            part { name: "elm.background.progressbar";
20518                mouse_events: 0;
20519                type: RECT;
20520                description {
20521                    state: "default" 0.0;
20522                }
20523            }
20524            part { name: "elm.swallow.bar";
20525                mouse_events: 0;
20526                type: SWALLOW;
20527                description { state: "default" 0.0;
20528                    min: 0 0;
20529                    max: 0 0;
20530                    visible: 0;
20531                }
20532            }
20533            part { name: "elm.swallow.content";
20534                type: SWALLOW;
20535                description { state: "default" 0.0;
20536                    min: 0 0;
20537                    max: 0 0;
20538                    visible: 0;
20539                }
20540            }
20541            part { name: "background";
20542                mouse_events: 0;
20543                clip_to: "elm.background.progressbar";
20544                description {
20545                    state: "default" 0.0;
20546                    min: 32 32;
20547                    max: 32 32;
20548                    visible: 1;
20549                    aspect: 1.0 1.0;
20550                    aspect_preference: BOTH;
20551                    image {
20552                        normal: "busy-9.png";
20553                        border: 7 7 7 7;
20554                    }
20555                }
20556                description {
20557                    state: "pulse" 0.0;
20558                    inherit: "default" 0.0;
20559                    image {
20560                        normal: "busy-9.png";
20561                        tween:  "busy-1.png";
20562                        tween:  "busy-2.png";
20563                        tween:  "busy-3.png";
20564                        tween:  "busy-4.png";
20565                        tween:  "busy-5.png";
20566                        tween:  "busy-6.png";
20567                        tween:  "busy-7.png";
20568                        tween:  "busy-8.png";
20569                        border: 7 7 7 7;
20570                    }
20571                }
20572            }
20573        }
20574        programs {
20575            program { name: "start_pulse";
20576                signal: "elm,state,pulse,start";
20577                source: "elm";
20578                action: STATE_SET "pulse" 0.0;
20579                target: "background";
20580                transition: LINEAR 0.5;
20581                after: "start_pulse";
20582            }
20583            program { name: "stop_pulse";
20584                signal: "elm,state,pulse,stop";
20585                source: "elm";
20586                action: STATE_SET "default" 0.0;
20587                target: "background";
20588            }
20589        }
20590    }
20591
20592
20593 ///////////////////////////////////////////////////////////////////////////////
20594    group { name: "elm/spinner/base/default";
20595        images {
20596            image: "shelf_inset.png" COMP;
20597            image: "bt_base1.png" COMP;
20598            image: "bt_hilight.png" COMP;
20599            image: "bt_shine.png" COMP;
20600            image: "bt_glow.png" COMP;
20601            image: "bt_dis_base.png" COMP;
20602            image: "bt_dis_hilight.png" COMP;
20603            image: "sp_bt_l.png" COMP;
20604            image: "sp_bt_r.png" COMP;
20605        }
20606        parts {
20607            part { name: "bg";
20608                type: RECT;
20609                description { state: "default" 0.0;
20610                    max: 99999 30;
20611                    min: 0 30;
20612                    rel1.offset: 1 1;
20613                    rel2.offset: -2 -2;
20614                    color: 255 255 255 0;
20615                }
20616            }
20617            part { name: "conf_over";
20618                mouse_events:  0;
20619                description { state: "default" 0.0;
20620                    rel1.to: "bg";
20621                    rel2.to: "bg";
20622                    image {
20623                        normal: "shelf_inset.png";
20624                        border: 7 7 7 7;
20625                        middle: 0;
20626                    }
20627                    fill.smooth : 0;
20628                }
20629            }
20630            part { name: "left_bt";
20631                mouse_events:  1;
20632                description { state: "default" 0.0;
20633                    rel1 { to: "bg";
20634                        offset: 2 2;
20635                    }
20636                    rel2 { to: "bg";
20637                        offset: -3 -3;
20638                    }
20639                    align: 0.0 0.5;
20640                    min: 24 24;
20641                    max: 24 24;
20642                    image {
20643                        normal: "bt_base1.png";
20644                        border: 6 6 6 6;
20645                    }
20646                    fill.smooth : 0;
20647                }
20648                description { state: "clicked" 0.0;
20649                    inherit: "default" 0.0;
20650                    image.normal: "bt_base1.png";
20651                    image.middle: SOLID;
20652                }
20653                description { state: "disabled" 0.0;
20654                    inherit:  "default" 0.0;
20655                    image {
20656                        normal: "bt_dis_base.png";
20657                        border: 4 4 4 4;
20658                    }
20659                }
20660            }
20661            part {         name: "left_over1";
20662                mouse_events: 0;
20663                description { state: "default" 0.0;
20664                    rel1.to: "left_bt";
20665                    rel2 { to: "left_bt";
20666                        relative: 1.0 0.5;
20667                    }
20668                    image {
20669                        normal: "bt_hilight.png";
20670                        border: 7 7 7 0;
20671                    }
20672                }
20673                description { state: "disabled" 0.0;
20674                    inherit:  "default" 0.0;
20675                    image {
20676                        normal: "bt_dis_hilight.png";
20677                        border: 4 4 4 0;
20678                    }
20679                }
20680            }
20681            part { name: "left_over2";
20682                mouse_events: 1;
20683                repeat_events: 1;
20684                ignore_flags: ON_HOLD;
20685                description { state: "default" 0.0;
20686                    rel1.to: "left_bt";
20687                    rel2.to: "left_bt";
20688                    image {
20689                        normal: "bt_shine.png";
20690                        border: 7 7 7 7;
20691                    }
20692                }
20693                description { state: "disabled" 0.0;
20694                    inherit:  "default" 0.0;
20695                    visible: 0;
20696                }
20697            }
20698            part { name: "left_over3";
20699                mouse_events: 1;
20700                repeat_events: 1;
20701                description { state: "default" 0.0;
20702                    color: 255 255 255 0;
20703                    rel1.to: "left_bt";
20704                    rel2.to: "left_bt";
20705                    image {
20706                        normal: "bt_glow.png";
20707                        border: 12 12 12 12;
20708                    }
20709                    fill.smooth : 0;
20710                }
20711                description { state: "clicked" 0.0;
20712                    inherit:  "default" 0.0;
20713                    visible: 1;
20714                    color: 255 255 255 255;
20715                }
20716            }
20717            part { name: "right_bt";
20718                mouse_events:  1;
20719                description { state: "default" 0.0;
20720                    rel1 { to: "bg";
20721                        offset: -27 3;
20722                    }
20723                    rel2 { to: "bg";
20724                        offset: -3 -3;
20725                    }
20726                    align: 1.0 0.5;
20727                    min: 24 24;
20728                    max: 24 24;
20729                    image {
20730                        normal: "bt_base1.png";
20731                        border: 5 5 4 12;
20732                    }
20733                    fill.smooth : 0;
20734                }
20735                description { state: "clicked" 0.0;
20736                    inherit: "default" 0.0;
20737                    image.normal: "bt_base1.png";
20738                    image.middle: SOLID;
20739                }
20740                description { state: "disabled" 0.0;
20741                    inherit:  "default" 0.0;
20742                    image {
20743                        normal: "bt_dis_base.png";
20744                        border: 4 4 4 4;
20745                    }
20746                }
20747            }
20748            part { name: "right_over1";
20749                mouse_events: 0;
20750                description { state: "default" 0.0;
20751                    rel1.to: "right_bt";
20752                    rel2 { to: "right_bt";
20753                        relative: 1.0 0.5;
20754                    }
20755                    image {
20756                        normal: "bt_hilight.png";
20757                        border: 7 7 7 0;
20758                    }
20759                }
20760                description { state: "disabled" 0.0;
20761                    inherit:  "default" 0.0;
20762                    image {
20763                        normal: "bt_dis_hilight.png";
20764                        border: 4 4 4 0;
20765                    }
20766                }
20767            }
20768            part { name: "right_over2";
20769                mouse_events: 1;
20770                repeat_events: 1;
20771                ignore_flags: ON_HOLD;
20772                description { state: "default" 0.0;
20773                    rel1.to: "right_bt";
20774                    rel2.to: "right_bt";
20775                    image {
20776                        normal: "bt_shine.png";
20777                        border: 7 7 7 7;
20778                    }
20779                }
20780                description { state: "disabled" 0.0;
20781                    inherit:  "default" 0.0;
20782                    visible: 0;
20783                }
20784            }
20785            part { name: "right_over3";
20786                mouse_events: 1;
20787                repeat_events: 1;
20788                description { state: "default" 0.0;
20789                    color: 255 255 255 0;
20790                    rel1.to: "right_bt";
20791                    rel2.to: "right_bt";
20792                    image {
20793                        normal: "bt_glow.png";
20794                        border: 12 12 12 12;
20795                    }
20796                    fill.smooth : 0;
20797                }
20798                description { state: "clicked" 0.0;
20799                    inherit:  "default" 0.0;
20800                    visible: 1;
20801                    color: 255 255 255 255;
20802                }
20803            }
20804            part { name: "left_bt_icon";
20805                repeat_events: 1;
20806                description { state: "default" 0.0;
20807                    rel1.to: "left_bt";
20808                    rel2.to: "left_bt";
20809                    align: 0.5 0.5;
20810                    min: 16 16;
20811                    max: 16 16;
20812                    image.normal: "sp_bt_l.png";
20813                }
20814            }
20815            part { name: "right_bt_icon";
20816                repeat_events: 1;
20817                description { state: "default" 0.0;
20818                    rel1.to: "right_bt";
20819                    rel2.to: "right_bt";
20820                    align: 0.5 0.5;
20821                    min: 16 16;
20822                    max: 16 16;
20823                    image.normal: "sp_bt_r.png";
20824                }
20825            }
20826            part { name: "elm.text";
20827                type: TEXT;
20828                mouse_events: 0;
20829                scale: 1;
20830                description { state: "default" 0.0;
20831                    visible: 1;
20832                    align: 0.0 0.5;
20833                    rel1 { relative: 1.0 0.0;
20834                        offset: 3 2;
20835                        to_x: "left_bt";
20836                        to_y: "bg";
20837                    }
20838                    rel2 { relative: 0.0 1.0;
20839                        offset: -3 -2;
20840                        to_x: "right_bt";
20841                        to_y: "bg";
20842                    }
20843                    color: 0 0 0 255;
20844                    text {
20845                        font: "Sans,Edje-Vera";
20846                        size: 10;
20847                        min: 1 1;
20848                        align: 0.5 0.5;
20849                    }
20850                }
20851                description { state: "active" 0.0;
20852                    inherit: "default" 0.0;
20853                    visible: 0;
20854                }
20855                description { state: "disabled_active" 0.0;
20856                    inherit: "default" 0.0;
20857                    color: 0 0 0 128;
20858                    color3: 0 0 0 0;
20859                }
20860                description { state: "disabled" 0.0;
20861                    inherit: "default" 0.0;
20862                    color: 0 0 0 128;
20863                    color3: 0 0 0 0;
20864                }
20865            }
20866            part { name: "elm.dragable.slider";
20867                type: RECT;
20868                mouse_events: 0;
20869                scale: 1;
20870                dragable {
20871                    x: 1 1 0;
20872                    y: 0 0 0;
20873                }
20874                description { state: "default" 0.0;
20875                    rel1.to: "bg";
20876                    rel2.to: "bg";
20877                    fixed: 1 1;
20878                    color: 0 0 0 0;
20879                }
20880            }
20881            part { name: "button_events";
20882                type: RECT;
20883                dragable {
20884                    events: "elm.dragable.slider";
20885                }
20886                mouse_events: 1;
20887                description { state: "default" 0.0;
20888                    rel1.to: "elm.text";
20889                    rel2.to: "elm.text";
20890                    color: 0 0 0 0;
20891                }
20892            }
20893            part { name: "elm.swallow.entry";
20894                type: SWALLOW;
20895                description { state: "default" 0.0;
20896                    visible: 0;
20897                    align: 0.5 0.5;
20898                    rel1 { relative: 1.0 0.5;
20899                        offset: 3 2;
20900                        to_x: "left_bt";
20901                        to_y: "bg";
20902                    }
20903                    rel2 { relative: 0.0 0.5;
20904                        offset: -3 -2;
20905                        to_x: "right_bt";
20906                        to_y: "bg";
20907                    }
20908                    fixed: 1 1;
20909                    color: 0 0 0 0;
20910                }
20911                description { state: "active" 0.0;
20912                    inherit: "default" 0.0;
20913                    visible: 1;
20914                    color: 255 255 255 255;
20915                }
20916                description { state: "disabled_active" 0.0;
20917                    inherit: "default" 0.0;
20918                    visible: 0;
20919                }
20920                description { state: "disabled" 0.0;
20921                    inherit: "default" 0.0;
20922                    visible: 0;
20923                }
20924            }
20925            part { name: "disabler";
20926                type: RECT;
20927                description { state: "default" 0.0;
20928                    color: 0 0 0 0;
20929                    visible: 0;
20930                }
20931                description { state: "disabled" 0.0;
20932                    inherit: "default" 0.0;
20933                    visible: 1;
20934                }
20935            }
20936        }
20937        programs {
20938            program { name: "text_show";
20939                signal: "elm,state,text,visible";
20940                source: "elm";
20941                action:  STATE_SET "visible" 0.0;
20942                target: "elm.text";
20943            }
20944            program { name: "text_hide";
20945                signal: "elm,state,text,hidden";
20946                source: "elm";
20947                action:  STATE_SET "default" 0.0;
20948                target: "elm.text";
20949            }
20950            program { name: "dec";
20951                signal: "mouse,down,1";
20952                source: "left_bt";
20953                action: SIGNAL_EMIT "elm,action,decrement,start" "";
20954            }
20955            program { name: "dec2";
20956                signal: "mouse,up,1";
20957                source: "left_bt";
20958                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
20959            }
20960            program { name: "inc";
20961                signal: "mouse,down,1";
20962                source: "right_bt";
20963                action: SIGNAL_EMIT "elm,action,increment,start" "";
20964            }
20965            program { name: "inc2";
20966                signal: "mouse,up,1";
20967                source: "right_bt";
20968                action: SIGNAL_EMIT "elm,action,increment,stop" "";
20969            }
20970            program {
20971                name:   "left_bt_click";
20972                signal: "mouse,down,1";
20973                source: "left_over2";
20974                action: STATE_SET "clicked" 0.0;
20975                target: "left_bt";
20976            }
20977            program {
20978                name:   "left_bt_unclick";
20979                signal: "mouse,up,1";
20980                source: "left_over2";
20981                action: STATE_SET "default" 0.0;
20982                target: "left_bt";
20983            }
20984            program {
20985                name:   "left_bt_click2";
20986                signal: "mouse,down,1";
20987                source: "left_over3";
20988                action: STATE_SET "clicked" 0.0;
20989                target: "left_over3";
20990            }
20991            program {
20992                name:   "left_bt_unclick2";
20993                signal: "mouse,up,1";
20994                source: "left_over3";
20995                action: STATE_SET "default" 0.0;
20996                transition: DECELERATE 0.5;
20997                target: "left_over3";
20998            }
20999            program {
21000                name:   "left_bt_unclick3";
21001                signal: "mouse,up,1";
21002                source: "left_over2";
21003                action: SIGNAL_EMIT "elm,action,click" "";
21004            }
21005
21006            program {
21007                name:   "right_bt_click";
21008                signal: "mouse,down,1";
21009                source: "right_over2";
21010                action: STATE_SET "clicked" 0.0;
21011                target: "right_bt";
21012            }
21013            program {
21014                name:   "right_bt_unclick";
21015                signal: "mouse,up,1";
21016                source: "right_over2";
21017                action: STATE_SET "default" 0.0;
21018                target: "right_bt";
21019            }
21020            program {
21021                name:   "right_bt_click2";
21022                signal: "mouse,down,1";
21023                source: "right_over3";
21024                action: STATE_SET "clicked" 0.0;
21025                target: "right_over3";
21026            }
21027            program {
21028                name:   "right_bt_unclick2";
21029                signal: "mouse,up,1";
21030                source: "right_over3";
21031                action: STATE_SET "default" 0.0;
21032                transition: DECELERATE 0.5;
21033                target: "right_over3";
21034            }
21035            program {
21036                name:   "right_bt_unclick3";
21037                signal: "mouse,up,1";
21038                source: "right_over2";
21039                action: SIGNAL_EMIT "elm,action,click" "";
21040            }
21041            program { name: "disable";
21042                signal: "elm,state,disabled";
21043                source: "elm";
21044                action: STATE_SET "disabled" 0.0;
21045                target: "left_bt";
21046                target: "left_over1";
21047                target: "left_over2";
21048                target: "right_bt";
21049                target: "right_over1";
21050                target: "right_over2";
21051                target: "disabler";
21052                after: "disable_text";
21053            }
21054            program { name: "disable_text";
21055                script {
21056                    new st[31];
21057                    new Float:vl;
21058                    get_state(PART:"elm.text", st, 30, vl);
21059                    if (!strcmp(st, "active"))
21060                    set_state(PART:"elm.text", "disabled_active", 0.0);
21061                    else
21062                    set_state(PART:"elm.text", "disabled", 0.0);
21063
21064                    get_state(PART:"elm.swallow.entry", st, 30, vl);
21065                    if (!strcmp(st, "active"))
21066                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
21067                    else
21068                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
21069                }
21070            }
21071            program { name: "enable";
21072                signal: "elm,state,enabled";
21073                source: "elm";
21074                action: STATE_SET "default" 0.0;
21075                target: "left_bt";
21076                target: "left_over1";
21077                target: "left_over2";
21078                target: "right_bt";
21079                target: "right_over1";
21080                target: "right_over2";
21081                target: "disabler";
21082                after: "enable_text";
21083            }
21084            program { name: "enable_text";
21085                script {
21086                    new st[31];
21087                    new Float:vl;
21088                    get_state(PART:"elm.text", st, 30, vl);
21089                    if (!strcmp(st, "disabled_active"))
21090                    set_state(PART:"elm.text", "active", 0.0);
21091                    else
21092                    set_state(PART:"elm.text", "default", 0.0);
21093
21094                    get_state(PART:"elm.swallow.entry", st, 30, vl);
21095                    if (!strcmp(st, "disabled_active"))
21096                    set_state(PART:"elm.swallow.entry", "active", 0.0);
21097                    else
21098                    set_state(PART:"elm.swallow.entry", "default", 0.0);
21099                }
21100            }
21101            program { name: "active";
21102                signal: "elm,state,active";
21103                source: "elm";
21104                action: STATE_SET "active" 0.0;
21105                target: "elm.text";
21106                target: "elm.swallow.entry";
21107            }
21108            program { name: "inactive";
21109                signal: "elm,state,inactive";
21110                source: "elm";
21111                action: STATE_SET "default" 0.0;
21112                target: "elm.text";
21113                target: "elm.swallow.entry";
21114            }
21115            program { name: "toggle_text";
21116                signal: "mouse,up,1";
21117                source: "button_events";
21118                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
21119            }
21120        }
21121    }
21122
21123 ///////////////////////////////////////////////////////////////////////////////
21124    group { name: "elm/spinner/base/vertical";
21125        images {
21126            image: "shelf_inset.png" COMP;
21127            image: "bt_hilight.png" COMP;
21128            image: "bt_shine.png" COMP;
21129            image: "bt_glow.png" COMP;
21130            image: "bt_dis_base.png" COMP;
21131            image: "bt_dis_hilight.png" COMP;
21132            image: "up.png" COMP;
21133            image: "down.png" COMP;
21134            image: "bt_spinner_up.png" COMP;
21135            image: "bt_spinner_down.png" COMP;
21136            image: "bt_spinner_hilight.png" COMP;
21137        }
21138        parts {
21139            part { name: "bg";
21140                type: RECT;
21141                description { state: "default" 0.0;
21142                    max: 99999 30;
21143                    min: 0 30;
21144                    rel1.offset: 1 1;
21145                    rel2.offset: -2 -2;
21146                    color: 255 255 255 0;
21147                }
21148            }
21149            part { name: "conf_over";
21150                mouse_events:  0;
21151                description { state: "default" 0.0;
21152                    rel1 {
21153                      to: "bg";
21154                      relative: 0.0 0.0;
21155                    }
21156                    rel2 {
21157                       to_x: "down_bt";
21158                       offset: -22 -1;
21159                    }
21160                    rel2 {
21161                       to_y: "bg";
21162                    }
21163                    image {
21164                        normal: "shelf_inset.png";
21165                        border: 7 7 7 7;
21166                        middle: 0;
21167                    }
21168                    fill.smooth : 0;
21169                }
21170            }
21171            part { name: "down_bt";
21172                mouse_events:  1;
21173                description { state: "default" 0.0;
21174                    rel1 {
21175                        to_x: "bg";
21176                        to_y: "up_bt";
21177                        relative: 1 1;
21178                        offset: 0 1;
21179                    }
21180                    rel2 { to: "bg";
21181                        relative: 1 1;
21182                        offset: -1 -1;
21183                    }
21184                    align: 1.0 0.5;
21185                    min: 24 16;
21186                    max: 24 16;
21187                    image {
21188                        normal: "bt_spinner_down.png";
21189                        border: 6 6 6 6;
21190                    }
21191                    fill.smooth : 0;
21192                }
21193                description { state: "clicked" 0.0;
21194                    inherit: "default" 0.0;
21195                    image.normal: "bt_spinner_down.png";
21196                    image.middle: SOLID;
21197                }
21198                description { state: "disabled" 0.0;
21199                    inherit:  "default" 0.0;
21200                    image {
21201                        normal: "bt_dis_base.png";
21202                        border: 4 4 4 4;
21203                    }
21204                }
21205            }
21206            part { name: "down_over3";
21207                mouse_events: 1;
21208                repeat_events: 1;
21209                description { state: "default" 0.0;
21210                    color: 255 255 255 0;
21211                    rel1.to: "down_bt";
21212                    rel2.to: "down_bt";
21213                    image {
21214                        normal: "bt_glow.png";
21215                        border: 12 12 12 12;
21216                    }
21217                    fill.smooth : 0;
21218                }
21219                description { state: "clicked" 0.0;
21220                    inherit:  "default" 0.0;
21221                    visible: 1;
21222                    color: 255 255 255 255;
21223                }
21224            }
21225            part { name: "up_bt";
21226                mouse_events:  1;
21227                description { state: "default" 0.0;
21228                    rel1 { to: "bg";
21229                        relative: 0 0;
21230                        offset: 0 0;
21231                    }
21232                    rel2 { to: "bg";
21233                        relative: 1 0.5;
21234                        offset: -1 -1;
21235                    }
21236                    align: 1.0 0.5;
21237                    min: 24 16;
21238                    max: 24 16;
21239                    image {
21240                        normal: "bt_spinner_up.png";
21241                        border: 6 6 6 6;
21242                    }
21243                    fill.smooth : 0;
21244                }
21245                description { state: "clicked" 0.0;
21246                    inherit: "default" 0.0;
21247                    image.normal: "bt_spinner_up.png";
21248                    image.middle: SOLID;
21249                }
21250                description { state: "disabled" 0.0;
21251                    inherit:  "default" 0.0;
21252                    image {
21253                        normal: "bt_dis_base.png";
21254                        border: 4 4 4 4;
21255                    }
21256                }
21257            }
21258            part { name: "up_over1";
21259                mouse_events: 0;
21260                description { state: "default" 0.0;
21261                    rel1.to: "up_bt";
21262                    rel2 { to: "up_bt";
21263                        relative: 1.0 0.5;
21264                    }
21265                    image {
21266                        normal: "bt_spinner_hilight.png";
21267                        border: 7 7 7 0;
21268                    }
21269                }
21270                description { state: "disabled" 0.0;
21271                    inherit:  "default" 0.0;
21272                    image {
21273                        normal: "bt_dis_hilight.png";
21274                        border: 4 4 4 0;
21275                    }
21276                }
21277            }
21278            part { name: "up_over3";
21279                mouse_events: 1;
21280                repeat_events: 1;
21281                description { state: "default" 0.0;
21282                    color: 255 255 255 0;
21283                    rel1.to: "up_bt";
21284                    rel2.to: "up_bt";
21285                    image {
21286                        normal: "bt_glow.png";
21287                        border: 12 12 12 12;
21288                    }
21289                    fill.smooth : 0;
21290                }
21291                description { state: "clicked" 0.0;
21292                    inherit:  "default" 0.0;
21293                    visible: 1;
21294                    color: 255 255 255 255;
21295                }
21296            }
21297            part { name: "down_bt_icon";
21298                repeat_events: 1;
21299                description { state: "default" 0.0;
21300                    rel1.to: "down_bt";
21301                    rel2.to: "down_bt";
21302                    align: 0.5 0.5;
21303                    min: 14 12;
21304                    max: 14 12;
21305                    image.normal: "down.png";
21306                }
21307            }
21308            part { name: "up_bt_icon";
21309                repeat_events: 1;
21310                description { state: "default" 0.0;
21311                    rel1.to: "up_bt";
21312                    rel2.to: "up_bt";
21313                    align: 0.5 0.5;
21314                    min: 14 12;
21315                    max: 14 12;
21316                    image.normal: "up.png";
21317                }
21318            }
21319            part { name: "elm.text";
21320                type: TEXT;
21321                mouse_events: 0;
21322                scale: 1;
21323                description { state: "default" 0.0;
21324                    visible: 1;
21325                    align: 0.0 0.5;
21326                    rel1 { relative: 0.0 0.0;
21327                        offset: 3 2;
21328                        to_x: "bg";
21329                        to_y: "bg";
21330                    }
21331                    rel2 { relative: 0.0 1.0;
21332                        offset: -3 -2;
21333                        to_x: "bg";
21334                        to_y: "bg";
21335                    }
21336                    color: 0 0 0 255;
21337                    text {
21338                        font: "Sans,Edje-Vera";
21339                        size: 10;
21340                        min: 1 1;
21341                        align: 0.5 0.5;
21342                    }
21343                }
21344                description { state: "active" 0.0;
21345                    inherit: "default" 0.0;
21346                    visible: 0;
21347                }
21348                description { state: "disabled_active" 0.0;
21349                    inherit: "default" 0.0;
21350                    color: 0 0 0 128;
21351                    color3: 0 0 0 0;
21352                }
21353                description { state: "disabled" 0.0;
21354                    inherit: "default" 0.0;
21355                    color: 0 0 0 128;
21356                    color3: 0 0 0 0;
21357                }
21358            }
21359            part { name: "elm.dragable.slider";
21360                type: RECT;
21361                mouse_events: 0;
21362                scale: 1;
21363                dragable {
21364                    x: 1 1 0;
21365                    y: 0 0 0;
21366                }
21367                description { state: "default" 0.0;
21368                    rel1.to: "bg";
21369                    rel2.to: "bg";
21370                    fixed: 1 1;
21371                    color: 0 0 0 0;
21372                }
21373            }
21374            part { name: "button_events";
21375                type: RECT;
21376                dragable {
21377                    events: "elm.dragable.slider";
21378                }
21379                mouse_events: 1;
21380                description { state: "default" 0.0;
21381                    rel1.to: "elm.text";
21382                    rel2.to: "elm.text";
21383                    color: 0 0 0 0;
21384                }
21385            }
21386            part { name: "elm.swallow.entry";
21387                type: SWALLOW;
21388                description { state: "default" 0.0;
21389                    visible: 0;
21390                    align: 0.5 0.5;
21391                    rel1 { relative: 0.0 0.5;
21392                        offset: 3 2;
21393                        to: "bg";
21394                    }
21395                    rel2 { relative: 1.0 0.5;
21396                        offset: -3 -2;
21397                        to: "bg";
21398                    }
21399                    fixed: 1 1;
21400                    color: 0 0 0 0;
21401                }
21402                description { state: "active" 0.0;
21403                    inherit: "default" 0.0;
21404                    visible: 1;
21405                    color: 255 255 255 255;
21406                }
21407                description { state: "disabled_active" 0.0;
21408                    inherit: "default" 0.0;
21409                    visible: 0;
21410                }
21411                description { state: "disabled" 0.0;
21412                    inherit: "default" 0.0;
21413                    visible: 0;
21414                }
21415            }
21416            part { name: "disabler";
21417                type: RECT;
21418                description { state: "default" 0.0;
21419                    color: 0 0 0 0;
21420                    visible: 0;
21421                }
21422                description { state: "disabled" 0.0;
21423                    inherit: "default" 0.0;
21424                    visible: 1;
21425                }
21426            }
21427        }
21428        programs {
21429            program { name: "text_show";
21430                signal: "elm,state,text,visible";
21431                source: "elm";
21432                action:  STATE_SET "visible" 0.0;
21433                target: "elm.text";
21434            }
21435            program { name: "text_hide";
21436                signal: "elm,state,text,hidden";
21437                source: "elm";
21438                action:  STATE_SET "default" 0.0;
21439                target: "elm.text";
21440            }
21441            program { name: "dec";
21442                signal: "mouse,down,1";
21443                source: "down_bt";
21444                action: SIGNAL_EMIT "elm,action,decrement,start" "";
21445            }
21446            program { name: "dec2";
21447                signal: "mouse,up,1";
21448                source: "down_bt";
21449                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
21450            }
21451            program { name: "inc";
21452                signal: "mouse,down,1";
21453                source: "up_bt";
21454                action: SIGNAL_EMIT "elm,action,increment,start" "";
21455            }
21456            program { name: "inc2";
21457                signal: "mouse,up,1";
21458                source: "up_bt";
21459                action: SIGNAL_EMIT "elm,action,increment,stop" "";
21460            }
21461            program {
21462                name:   "down_bt_click2";
21463                signal: "mouse,down,1";
21464                source: "down_over3";
21465                action: STATE_SET "clicked" 0.0;
21466                target: "down_over3";
21467            }
21468            program {
21469                name:   "down_bt_unclick2";
21470                signal: "mouse,up,1";
21471                source: "down_over3";
21472                action: STATE_SET "default" 0.0;
21473                transition: DECELERATE 0.5;
21474                target: "down_over3";
21475            }
21476            program {
21477                name:   "up_bt_click2";
21478                signal: "mouse,down,1";
21479                source: "up_over3";
21480                action: STATE_SET "clicked" 0.0;
21481                target: "up_over3";
21482            }
21483            program {
21484                name:   "up_bt_unclick2";
21485                signal: "mouse,up,1";
21486                source: "up_over3";
21487                action: STATE_SET "default" 0.0;
21488                transition: DECELERATE 0.5;
21489                target: "up_over3";
21490            }
21491            program { name: "disable";
21492                signal: "elm,state,disabled";
21493                source: "elm";
21494                action: STATE_SET "disabled" 0.0;
21495                target: "down_bt";
21496                target: "up_bt";
21497                target: "disabler";
21498                after: "disable_text";
21499            }
21500            program { name: "disable_text";
21501                script {
21502                    new st[31];
21503                    new Float:vl;
21504                    get_state(PART:"elm.text", st, 30, vl);
21505                    if (!strcmp(st, "active"))
21506                    set_state(PART:"elm.text", "disabled_active", 0.0);
21507                    else
21508                    set_state(PART:"elm.text", "disabled", 0.0);
21509
21510                    get_state(PART:"elm.swallow.entry", st, 30, vl);
21511                    if (!strcmp(st, "active"))
21512                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
21513                    else
21514                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
21515                }
21516            }
21517            program { name: "enable";
21518                signal: "elm,state,enabled";
21519                source: "elm";
21520                action: STATE_SET "default" 0.0;
21521                target: "down_bt";
21522                target: "up_bt";
21523                target: "disabler";
21524                after: "enable_text";
21525            }
21526            program { name: "enable_text";
21527                script {
21528                    new st[31];
21529                    new Float:vl;
21530                    get_state(PART:"elm.text", st, 30, vl);
21531                    if (!strcmp(st, "disabled_active"))
21532                    set_state(PART:"elm.text", "active", 0.0);
21533                    else
21534                    set_state(PART:"elm.text", "default", 0.0);
21535
21536                    get_state(PART:"elm.swallow.entry", st, 30, vl);
21537                    if (!strcmp(st, "disabled_active"))
21538                    set_state(PART:"elm.swallow.entry", "active", 0.0);
21539                    else
21540                    set_state(PART:"elm.swallow.entry", "default", 0.0);
21541                }
21542            }
21543            program { name: "active";
21544                signal: "elm,state,active";
21545                source: "elm";
21546                action: STATE_SET "active" 0.0;
21547                target: "elm.text";
21548                target: "elm.swallow.entry";
21549            }
21550            program { name: "inactive";
21551                signal: "elm,state,inactive";
21552                source: "elm";
21553                action: STATE_SET "default" 0.0;
21554                target: "elm.text";
21555                target: "elm.swallow.entry";
21556            }
21557            program { name: "toggle_text";
21558                signal: "mouse,up,1";
21559                source: "button_events";
21560                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
21561            }
21562        }
21563    }
21564
21565
21566    ///////////////////////////////////////////////////////////////////////////////
21567    group { name: "elm/index/base/vertical/default";
21568        images {
21569            image: "bt_base1.png" COMP;
21570            image: "bt_base2.png" COMP;
21571            image: "bt_hilight.png" COMP;
21572            image: "bt_shine.png" COMP;
21573        }
21574        parts {
21575            part { name: "clip";
21576                type: RECT;
21577                mouse_events:  0;
21578                description { state: "default" 0.0;
21579                    visible:  0;
21580                    color: 255 255 255 0;
21581                }
21582                description { state: "active" 0.0;
21583                    visible:  1;
21584                    color: 255 255 255 255;
21585                }
21586            }
21587            part { name: "clip2";
21588                type: RECT;
21589                mouse_events:  0;
21590                clip_to: "clip";
21591                description { state: "default" 0.0;
21592                    visible: 0;
21593                    color: 255 255 255 0;
21594                }
21595                description { state: "active" 0.0;
21596                    visible:  1;
21597                    color: 255 255 255 255;
21598                }
21599            }
21600            part { name: "elm.swallow.index.0";
21601                type: SWALLOW;
21602                clip_to: "clip";
21603                description { state: "default" 0.0;
21604                    align: 1.0 0.5;
21605                    rel1 {
21606                        relative: 1.0 0.5;
21607                        offset: -1 5;
21608                    }
21609                    rel2 {
21610                        relative: 1.0 0.5;
21611                        offset: -1 -6;
21612                    }
21613                }
21614            }
21615            part { name: "button_image";
21616                mouse_events: 1;
21617                clip_to: "clip";
21618                description { state: "default" 0.0;
21619                    rel1 {
21620                        to: "elm.text.body";
21621                        offset: -5 -5;
21622                    }
21623                    rel2 {
21624                        to: "elm.text";
21625                        offset: 4 4;
21626                    }
21627                    image {
21628                        normal: "bt_base2.png";
21629                        border: 7 7 7 7;
21630                    }
21631                    image.middle: SOLID;
21632                }
21633            }
21634            part { name: "elm.text.body";
21635                type: TEXT;
21636                effect: SOFT_SHADOW;
21637                mouse_events: 0;
21638                scale: 1;
21639                clip_to: "clip";
21640                description { state: "default" 0.0;
21641                    align: 1.0 0.5;
21642                    rel1 {
21643                        to: "elm.text";
21644                        relative: 0.0 0.0;
21645                        offset: 5 0;
21646                    }
21647                    rel2 {
21648                        to: "elm.text";
21649                        relative: 0.0 1.0;
21650                        offset: 5 -1;
21651                    }
21652                    color: 224 224 224 255;
21653                    color3: 0 0 0 64;
21654                    text {
21655                        font:     "Sans,Edje-Vera";
21656                        size:     20;
21657                        min:      1 1;
21658                        align:    1.0 0.5;
21659                    }
21660                }
21661            }
21662            part { name: "elm.text";
21663                type: TEXT;
21664                effect: SOFT_SHADOW;
21665                mouse_events: 0;
21666                scale: 1;
21667                clip_to: "clip";
21668                description { state: "default" 0.0;
21669                    align: 1.0 0.5;
21670                    rel1 {
21671                        to_x: "elm.swallow.event.0";
21672                        to_y: "elm.dragable.pointer";
21673                        relative: 0.0 0.5;
21674                        offset: -16 0;
21675                    }
21676                    rel2 {
21677                        to_x: "elm.swallow.event.0";
21678                        to_y: "elm.dragable.pointer";
21679                        relative: 0.0 0.5;
21680                        offset: -16 -1;
21681                    }
21682                    color: 255 0 0 255;
21683                    color3: 0 0 0 64;
21684                    text {
21685                        font:     "Sans,Edje-Vera";
21686                        size:     20;
21687                        min:      1 1;
21688                        align:    1.0 0.5;
21689                    }
21690                }
21691            }
21692            part {       name: "over1";
21693                mouse_events: 0;
21694                clip_to: "clip";
21695                description { state: "default" 0.0;
21696                    rel1 {
21697                        to: "button_image";
21698                    }
21699                    rel2 {
21700                        to: "button_image";
21701                        relative: 1.0 0.5;
21702                    }
21703                    image {
21704                        normal: "bt_hilight.png";
21705                        border: 7 7 7 0;
21706                    }
21707                }
21708            }
21709            part { name: "over2";
21710                mouse_events: 1;
21711                repeat_events: 1;
21712                ignore_flags: ON_HOLD;
21713                clip_to: "clip";
21714                description { state: "default" 0.0;
21715                    rel1 {
21716                        to: "button_image";
21717                    }
21718                    rel2 {
21719                        to: "button_image";
21720                    }
21721                    image {
21722                        normal: "bt_shine.png";
21723                        border: 7 7 7 7;
21724                    }
21725                }
21726            }
21727            part { name: "elm.dragable.pointer";
21728                type: RECT;
21729                mouse_events: 0;
21730                dragable {
21731                    x: 1 1 0;
21732                    y: 1 1 0;
21733                }
21734                clip_to: "clip";
21735                description { state: "default" 0.0;
21736                    fixed: 1 1;
21737                    min: 8 8;
21738                    max: 8 8;
21739                    rel1 {
21740                        relative: 0.0 0.0;
21741                        offset:   0 0;
21742                    }
21743                    rel2 {
21744                        relative: 0.0 0.0;
21745                        offset:   0 0;
21746                    }
21747                    color: 0 0 255 128;
21748                }
21749            }
21750            part { name: "elm.swallow.event.0";
21751                type: SWALLOW;
21752                description { state: "default" 0.0;
21753                    align: 1.0 0.5;
21754                    rel1 {
21755                        relative: 1.0 0.0;
21756                        offset: -1 0;
21757                    }
21758                    rel2 {
21759                        relative: 1.0 1.0;
21760                        offset: -1 -1;
21761                    }
21762                }
21763            }
21764        }
21765        programs {
21766            program { name: "active";
21767                signal: "elm,state,active";
21768                source: "elm";
21769                action: STATE_SET "active" 0.0;
21770                transition: DECELERATE 0.5;
21771                target: "clip";
21772            }
21773            program { name: "inactive";
21774                signal: "elm,state,inactive";
21775                source: "elm";
21776                action: STATE_SET "default" 0.0;
21777                transition: DECELERATE 0.5;
21778                target: "clip";
21779            }
21780        }
21781    }
21782
21783    group { name: "elm/index/item/vertical/default";
21784        data.item: "stacking" "above";
21785        data.item: "selectraise" "on";
21786        images {
21787            image: "ilist_1.png" COMP;
21788            image: "ilist_item_shadow.png" COMP;
21789        }
21790        parts {
21791            part {
21792                name: "base_sh";
21793                mouse_events: 0;
21794                description {
21795                    state: "default" 0.0;
21796                    align: 0.0 0.0;
21797                    min: 0 10;
21798                    fixed: 1 1;
21799                    rel1 {
21800                        to: "base";
21801                        relative: 0.0 1.0;
21802                        offset: 0 0;
21803                    }
21804                    rel2 {
21805                        to: "base";
21806                        relative: 1.0 1.0;
21807                        offset: -1 0;
21808                    }
21809                    image {
21810                        normal: "ilist_item_shadow.png";
21811                    }
21812                    fill.smooth: 0;
21813                }
21814            }
21815            part {
21816                name: "base";
21817                mouse_events: 0;
21818                description {
21819                    state: "default" 0.0;
21820                    image {
21821                        normal: "ilist_1.png";
21822                        border: 2 2 2 2;
21823                    }
21824                    fill.smooth: 0;
21825                }
21826                description { state: "active" 0.0;
21827                    inherit: "default" 0.0;
21828                    rel1 {
21829                        offset: -16 0;
21830                    }
21831                }
21832            }
21833            part { name: "elm.text";
21834                type:           TEXT;
21835                mouse_events:   0;
21836                scale: 1;
21837                description {
21838                    state: "default" 0.0;
21839                           //               min: 16 16;
21840                    rel1 {
21841                        to: "base";
21842                        relative: 0.0  0.0;
21843                        offset:   4 4;
21844                    }
21845                    rel2 {
21846                        to: "base";
21847                        relative: 1.0  1.0;
21848                        offset:   -5 -5;
21849                    }
21850                    color: 0 0 0 128;
21851                    text {
21852                        font: "Sans";
21853                        size: 10;
21854                        min: 1 1;
21855                             //                  min: 0 1;
21856                        align: 0.0 0.5;
21857                    }
21858                }
21859                description { state: "active" 0.0;
21860                    inherit: "default" 0.0;
21861                    color: 0 0 0 255;
21862                }
21863            }
21864        }
21865        programs {
21866            program { name: "active";
21867                signal: "elm,state,active";
21868                source: "elm";
21869                action: STATE_SET "active" 0.0;
21870                transition: DECELERATE 0.5;
21871                target: "elm.text";
21872                target: "base";
21873            }
21874            program { name: "inactive";
21875                signal: "elm,state,inactive";
21876                source: "elm";
21877                action: STATE_SET "default" 0.0;
21878                transition: DECELERATE 0.5;
21879                target: "elm.text";
21880                target: "base";
21881            }
21882        }
21883    }
21884
21885    group { name: "elm/index/item_odd/vertical/default";
21886        data.item: "stacking" "below";
21887        images {
21888            image: "ilist_2.png" COMP;
21889        }
21890        parts {
21891            part {
21892                name: "base";
21893                mouse_events: 0;
21894                description {
21895                    state: "default" 0.0;
21896                    image {
21897                        normal: "ilist_2.png";
21898                        border: 2 2 2 2;
21899                    }
21900                    fill.smooth: 0;
21901                }
21902                description { state: "active" 0.0;
21903                    inherit: "default" 0.0;
21904                    rel1 {
21905                        offset: -16 0;
21906                    }
21907                }
21908            }
21909            part { name: "elm.text";
21910                type:           TEXT;
21911                mouse_events:   0;
21912                scale: 1;
21913                description {
21914                    state: "default" 0.0;
21915                           //               min: 16 16;
21916                    rel1 {
21917                        to: "base";
21918                        relative: 0.0  0.0;
21919                        offset:   4 4;
21920                    }
21921                    rel2 {
21922                        to: "base";
21923                        relative: 1.0  1.0;
21924                        offset:   -5 -5;
21925                    }
21926                    color: 0 0 0 128;
21927                    text {
21928                        font: "Sans";
21929                        size: 10;
21930                        min: 1 1;
21931                             //                  min: 0 1;
21932                        align: 0.0 0.5;
21933                    }
21934                }
21935                description { state: "active" 0.0;
21936                    inherit: "default" 0.0;
21937                    color: 0 0 0 255;
21938                }
21939            }
21940        }
21941        programs {
21942            program { name: "active";
21943                signal: "elm,state,active";
21944                source: "elm";
21945                action: STATE_SET "active" 0.0;
21946                transition: DECELERATE 0.5;
21947                target: "elm.text";
21948                target: "base";
21949            }
21950            program { name: "inactive";
21951                signal: "elm,state,inactive";
21952                source: "elm";
21953                action: STATE_SET "default" 0.0;
21954                transition: DECELERATE 0.5;
21955                target: "elm.text";
21956                target: "base";
21957            }
21958        }
21959    }
21960
21961    ///////////////////////////////////////////////////////////////////////////////
21962    group { name: "elm/gengrid/item/default/default";
21963       data.item: "labels" "elm.text";
21964       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21965       images {
21966          image: "bt_sm_base1.png" COMP;
21967          image: "bt_sm_shine.png" COMP;
21968          image: "bt_sm_hilight.png" COMP;
21969          image: "ilist_1.png" COMP;
21970          image: "ilist_item_shadow.png" COMP;
21971       }
21972       parts {
21973          part {
21974             name: "event";
21975             type: RECT;
21976             repeat_events: 1;
21977             description {
21978                state: "default" 0.0;
21979                color: 0 0 0 0;
21980             }
21981          }
21982          part {
21983             name: "base_sh";
21984             mouse_events: 0;
21985             description {
21986                state: "default" 0.0;
21987                align: 0.0 0.0;
21988                min: 0 10;
21989                fixed: 1 1;
21990                rel1 {
21991                   to: "base";
21992                   relative: 0.0 1.0;
21993                   offset: 0 0;
21994                }
21995                rel2 {
21996                   to: "base";
21997                   relative: 1.0 1.0;
21998                   offset: -1 0;
21999                }
22000                image {
22001                   normal: "ilist_item_shadow.png";
22002                }
22003                fill.smooth: 0;
22004             }
22005          }
22006          part {
22007             name: "base";
22008             mouse_events: 0;
22009             description {
22010                state: "default" 0.0;
22011                image {
22012                   normal: "ilist_1.png";
22013                   border: 2 2 2 2;
22014                }
22015                fill.smooth: 0;
22016             }
22017          }
22018          part { name: "bg";
22019             clip_to: "disclip";
22020             mouse_events: 0;
22021             description { state: "default" 0.0;
22022                visible: 0;
22023                color: 255 255 255 0;
22024                rel1 {
22025                   relative: 0.0 0.0;
22026                   offset: -5 -5;
22027                }
22028                rel2 {
22029                   relative: 1.0 1.0;
22030                   offset: 4 4;
22031                }
22032                image {
22033                   normal: "bt_sm_base1.png";
22034                   border: 6 6 6 6;
22035                }
22036                image.middle: SOLID;
22037             }
22038             description { state: "selected" 0.0;
22039                inherit: "default" 0.0;
22040                visible: 1;
22041                color: 255 255 255 255;
22042                rel1 {
22043                   relative: 0.0 0.0;
22044                   offset: -2 -2;
22045                }
22046                rel2 {
22047                   relative: 1.0 1.0;
22048                   offset: 1 1;
22049                }
22050             }
22051          }
22052          part { name: "elm.swallow.pad";
22053             type: SWALLOW;
22054             description { state: "default" 0.0;
22055                fixed: 1 0;
22056                align: 0.0 0.5;
22057                rel1 {
22058                   relative: 0.0  1.0;
22059                   offset:   0    -10;
22060                }
22061                rel2 {
22062                   to_y: "elm.text";
22063                   relative: 0.0  0.0;
22064                   offset:   -1   -1;
22065                }
22066             }
22067          }
22068          part { name: "elm.swallow.icon";
22069             clip_to: "disclip";
22070             type: SWALLOW;
22071             description { state: "default" 0.0;
22072                fixed: 1 0;
22073                align: 0.5 0.5;
22074                rel1 {
22075                   relative: 0.0  0.0;
22076                   offset:   -1    4;
22077                }
22078                rel2 {
22079                   to_y: "elm.swallow.pad";
22080                   relative: 1.0  0.0;
22081                   offset:   -1   -5;
22082                }
22083             }
22084          }
22085          part { name: "elm.swallow.end";
22086             clip_to: "disclip";
22087             type: SWALLOW;
22088             description { state: "default" 0.0;
22089                fixed: 1 0;
22090                align: 1.0 0.0;
22091                aspect: 1.0 1.0;
22092                aspect_preference: HORIZONTAL;
22093                rel1 {
22094                   relative: 1.0 0.0;
22095                   offset: -5 -5;
22096                }
22097                rel2 {
22098                   relative: 1.0 1.0;
22099                   offset: 5 5;
22100                }
22101             }
22102          }
22103          part { name: "elm.text";
22104             clip_to: "disclip";
22105             type: TEXT;
22106             effect: SOFT_SHADOW;
22107             mouse_events: 0;
22108             scale: 1;
22109             description {
22110                state: "default" 0.0;
22111                rel1 {
22112                   relative: 0.0  1.0;
22113                   offset: 0 0;
22114                }
22115                rel2 {
22116                   relative: 1.0  1.0;
22117                   offset: -5 -5;
22118                }
22119                color: 0 0 0 255;
22120                color3: 0 0 0 0;
22121                text {
22122                   font: "Sans";
22123                   size: 10;
22124                   min: 0 1;
22125                   align: 0.5 0.0;
22126                }
22127             }
22128             description { state: "selected" 0.0;
22129                inherit: "default" 0.0;
22130                color: 224 224 224 255;
22131                color3: 0 0 0 64;
22132             }
22133          }
22134          part { name: "fg1";
22135             clip_to: "disclip";
22136             mouse_events: 0;
22137             description { state: "default" 0.0;
22138                visible: 0;
22139                color: 255 255 255 0;
22140                rel1.to: "bg";
22141                rel2.relative: 1.0 0.5;
22142                rel2.to: "bg";
22143                image {
22144                   normal: "bt_sm_hilight.png";
22145                   border: 6 6 6 0;
22146                }
22147             }
22148             description { state: "selected" 0.0;
22149                inherit: "default" 0.0;
22150                visible: 1;
22151                color: 255 255 255 255;
22152             }
22153          }
22154          part { name: "fg2";
22155             clip_to: "disclip";
22156             mouse_events: 0;
22157             description { state: "default" 0.0;
22158                visible: 0;
22159                color: 255 255 255 0;
22160                rel1.to: "bg";
22161                rel2.to: "bg";
22162                image {
22163                   normal: "bt_sm_shine.png";
22164                   border: 6 6 6 0;
22165                }
22166             }
22167             description { state: "selected" 0.0;
22168                inherit: "default" 0.0;
22169                visible: 1;
22170                color: 255 255 255 255;
22171             }
22172          }
22173          part { name: "disclip";
22174             type: RECT;
22175             description { state: "default" 0.0;
22176                rel1.to: "bg";
22177                rel2.to: "bg";
22178             }
22179             description { state: "disabled" 0.0;
22180                inherit: "default" 0.0;
22181                color: 255 255 255 64;
22182             }
22183          }
22184       }
22185       programs {
22186          // signal: elm,state,%s,active
22187          //   a "check" item named %s went active
22188          // signal: elm,state,%s,passive
22189          //   a "check" item named %s went passive
22190          // default is passive
22191          program {
22192             name:    "go_active";
22193             signal:  "elm,state,selected";
22194             source:  "elm";
22195             action:  STATE_SET "selected" 0.0;
22196             target:  "bg";
22197             target:  "fg1";
22198             target:  "fg2";
22199             target:  "elm.text";
22200          }
22201          program {
22202             name:    "go_passive";
22203             signal:  "elm,state,unselected";
22204             source:  "elm";
22205             action:  STATE_SET "default" 0.0;
22206             target:  "bg";
22207             target:  "fg1";
22208             target:  "fg2";
22209             target:  "elm.text";
22210             transition: LINEAR 0.1;
22211          }
22212          program {
22213             name:    "go_disabled";
22214             signal:  "elm,state,disabled";
22215             source:  "elm";
22216             action:  STATE_SET "disabled" 0.0;
22217             target:  "disclip";
22218          }
22219          program {
22220             name:    "go_enabled";
22221             signal:  "elm,state,enabled";
22222             source:  "elm";
22223             action:  STATE_SET "default" 0.0;
22224             target:  "disclip";
22225          }
22226       }
22227    }
22228    group { name: "elm/gengrid/item/default_style/default";
22229        styles
22230        {
22231            style { name: "gengrid_style";
22232                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
22233                tag:  "br" "\n";
22234                tag:  "ps" "ps";
22235                tag:  "hilight" "+ font=Sans:style=Bold";
22236                tag:  "b" "+ font=Sans:style=Bold";
22237                tag:  "tab" "\t";
22238            }
22239            style { name: "gengrid_selected_style";
22240                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
22241                tag:  "br" "\n";
22242                tag:  "ps" "ps";
22243                tag:  "hilight" "+ font=Sans:style=Bold";
22244                tag:  "b" "+ font=Sans:style=Bold";
22245                tag:  "tab" "\t";
22246            }
22247        }
22248        data.item: "labels" "elm.text";
22249        data.item: "icons" "elm.swallow.icon elm.swallow.end";
22250        images {
22251            image: "bt_sm_base1.png" COMP;
22252            image: "bt_sm_shine.png" COMP;
22253            image: "bt_sm_hilight.png" COMP;
22254            image: "ilist_1.png" COMP;
22255            image: "ilist_item_shadow.png" COMP;
22256        }
22257        parts {
22258            part {
22259                name: "event";
22260                type: RECT;
22261                repeat_events: 1;
22262                description {
22263                    state: "default" 0.0;
22264                    color: 0 0 0 0;
22265                }
22266            }
22267            part {
22268                name: "base_sh";
22269                mouse_events: 0;
22270                description {
22271                    state: "default" 0.0;
22272                    align: 0.0 0.0;
22273                    min: 0 10;
22274                    fixed: 1 1;
22275                    rel1 {
22276                        to: "base";
22277                        relative: 0.0 1.0;
22278                        offset: 0 0;
22279                    }
22280                    rel2 {
22281                        to: "base";
22282                        relative: 1.0 1.0;
22283                        offset: -1 0;
22284                    }
22285                    image {
22286                        normal: "ilist_item_shadow.png";
22287                    }
22288                    fill.smooth: 0;
22289                }
22290            }
22291            part {
22292                name: "base";
22293                mouse_events: 0;
22294                description {
22295                    state: "default" 0.0;
22296                    min: 16 28;
22297                    image {
22298                        normal: "ilist_1.png";
22299                        border: 2 2 2 2;
22300                    }
22301                    fill.smooth: 0;
22302                }
22303            }
22304            part { name: "bg";
22305                clip_to: "disclip";
22306                mouse_events: 0;
22307                description { state: "default" 0.0;
22308                    visible: 0;
22309                    color: 255 255 255 0;
22310                    rel1 {
22311                        relative: 0.0 0.0;
22312                        offset: -5 -5;
22313                    }
22314                    rel2 {
22315                        relative: 1.0 1.0;
22316                        offset: 4 4;
22317                    }
22318                    image {
22319                        normal: "bt_sm_base1.png";
22320                        border: 6 6 6 6;
22321                    }
22322                    image.middle: SOLID;
22323                }
22324                description { state: "selected" 0.0;
22325                    inherit: "default" 0.0;
22326                    visible: 1;
22327                    color: 255 255 255 255;
22328                    rel1 {
22329                        relative: 0.0 0.0;
22330                        offset: -2 -2;
22331                    }
22332                    rel2 {
22333                        relative: 1.0 1.0;
22334                        offset: 1 1;
22335                    }
22336                }
22337            }
22338            part { name: "elm.swallow.pad";
22339                type: SWALLOW;
22340                description { state: "default" 0.0;
22341                    fixed: 1 0;
22342                    align: 0.0 0.5;
22343                    rel1 {
22344                        relative: 0.0  0.0;
22345                        offset:   4    4;
22346                    }
22347                    rel2 {
22348                        relative: 0.0  1.0;
22349                        offset:   4   -5;
22350                    }
22351                }
22352            }
22353            part { name: "elm.swallow.icon";
22354                clip_to: "disclip";
22355                type: SWALLOW;
22356                description { state: "default" 0.0;
22357                    fixed: 1 0;
22358                    align: 0.0 0.5;
22359                    rel1 {
22360                        to_x: "elm.swallow.pad";
22361                        relative: 1.0  0.0;
22362                        offset:   -1    4;
22363                    }
22364                    rel2 {
22365                        to_x: "elm.swallow.pad";
22366                        relative: 1.0  1.0;
22367                        offset:   -1   -5;
22368                    }
22369                }
22370            }
22371            part { name: "elm.swallow.end";
22372                clip_to: "disclip";
22373                type: SWALLOW;
22374                description { state: "default" 0.0;
22375                    fixed: 1 0;
22376                    align: 1.0 0.5;
22377                    aspect: 1.0 1.0;
22378                    aspect_preference: VERTICAL;
22379                    rel1 {
22380                        relative: 1.0  0.0;
22381                        offset:   -5    4;
22382                    }
22383                    rel2 {
22384                        relative: 1.0  1.0;
22385                        offset:   -5   -5;
22386                    }
22387                }
22388            }
22389            part { name: "elm.text";
22390                clip_to: "disclip";
22391                type: TEXTBLOCK;
22392                mouse_events: 0;
22393                scale: 1;
22394                description {
22395                    state: "default" 0.0;
22396                    align: 0.0 0.5;
22397                    fixed: 0 1;
22398                    rel1 {
22399                        to_x: "elm.swallow.icon";
22400                        to_y: "base";
22401                        relative: 1.0  0.5;
22402                        offset:   0 4;
22403                    }
22404                    rel2 {
22405                        to_x: "elm.swallow.end";
22406                        to_y: "base";
22407                        relative: 0.0  0.5;
22408                        offset:   -1 -5;
22409                    }
22410                    text {
22411                        style: "gengrid_style";
22412                        min: 1 1;
22413                    }
22414                }
22415                description { state: "selected" 0.0;
22416                    inherit: "default" 0.0;
22417                    text {
22418                        style: "gengrid_selected_style";
22419                    }
22420                }
22421            }
22422            part { name: "fg1";
22423                clip_to: "disclip";
22424                mouse_events: 0;
22425                description { state: "default" 0.0;
22426                    visible: 0;
22427                    color: 255 255 255 0;
22428                    rel1.to: "bg";
22429                    rel2.relative: 1.0 0.5;
22430                    rel2.to: "bg";
22431                    image {
22432                        normal: "bt_sm_hilight.png";
22433                        border: 6 6 6 0;
22434                    }
22435                }
22436                description { state: "selected" 0.0;
22437                    inherit: "default" 0.0;
22438                    visible: 1;
22439                    color: 255 255 255 255;
22440                }
22441            }
22442            part { name: "fg2";
22443                clip_to: "disclip";
22444                mouse_events: 0;
22445                description { state: "default" 0.0;
22446                    visible: 0;
22447                    color: 255 255 255 0;
22448                    rel1.to: "bg";
22449                    rel2.to: "bg";
22450                    image {
22451                        normal: "bt_sm_shine.png";
22452                        border: 6 6 6 0;
22453                    }
22454                }
22455                description { state: "selected" 0.0;
22456                    inherit: "default" 0.0;
22457                    visible: 1;
22458                    color: 255 255 255 255;
22459                }
22460            }
22461            part { name: "disclip";
22462                type: RECT;
22463                description { state: "default" 0.0;
22464                    rel1.to: "bg";
22465                    rel2.to: "bg";
22466                }
22467                description { state: "disabled" 0.0;
22468                    inherit: "default" 0.0;
22469                    color: 255 255 255 64;
22470                }
22471            }
22472        }
22473        programs {
22474            // signal: elm,state,%s,active
22475            //   a "check" item named %s went active
22476            // signal: elm,state,%s,passive
22477            //   a "check" item named %s went passive
22478            // default is passive
22479            program {
22480                name:    "go_active";
22481                signal:  "elm,state,selected";
22482                source:  "elm";
22483                action:  STATE_SET "selected" 0.0;
22484                target:  "bg";
22485                target:  "fg1";
22486                target:  "fg2";
22487                target:  "elm.text";
22488            }
22489            program {
22490                name:    "go_passive";
22491                signal:  "elm,state,unselected";
22492                source:  "elm";
22493                action:  STATE_SET "default" 0.0;
22494                target:  "bg";
22495                target:  "fg1";
22496                target:  "fg2";
22497                target:  "elm.text";
22498                transition: LINEAR 0.1;
22499            }
22500            program {
22501                name:    "go_disabled";
22502                signal:  "elm,state,disabled";
22503                source:  "elm";
22504                action:  STATE_SET "disabled" 0.0;
22505                target:  "disclip";
22506            }
22507            program {
22508                name:    "go_enabled";
22509                signal:  "elm,state,enabled";
22510                source:  "elm";
22511                action:  STATE_SET "default" 0.0;
22512                target:  "disclip";
22513            }
22514        }
22515    }
22516
22517    ///////////////////////////////////////////////////////////////////////////////
22518    group { name: "elm/photocam/base/default";
22519        script {
22520            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
22521            public timer0(val) {
22522                new v;
22523                v = get_int(sbvis_v);
22524                if (v) {
22525                    v = get_int(sbalways_v);
22526                    if (!v) {
22527                        emit("do-hide-vbar", "");
22528                        set_int(sbvis_v, 0);
22529                    }
22530                }
22531                v = get_int(sbvis_h);
22532                if (v) {
22533                    v = get_int(sbalways_h);
22534                    if (!v) {
22535                        emit("do-hide-hbar", "");
22536                        set_int(sbvis_h, 0);
22537                    }
22538                }
22539                set_int(sbvis_timer, 0);
22540                return 0;
22541            }
22542        }
22543        images {
22544            image: "shelf_inset.png" COMP;
22545            image: "bt_sm_base2.png" COMP;
22546            image: "bt_sm_shine.png" COMP;
22547            image: "bt_sm_hilight.png" COMP;
22548            image: "sb_runnerh.png" COMP;
22549            image: "sb_runnerv.png" COMP;
22550            image: "busy-1.png" COMP;
22551            image: "busy-2.png" COMP;
22552            image: "busy-3.png" COMP;
22553            image: "busy-4.png" COMP;
22554            image: "busy-5.png" COMP;
22555            image: "busy-6.png" COMP;
22556            image: "busy-7.png" COMP;
22557            image: "busy-8.png" COMP;
22558            image: "busy-9.png" COMP;
22559        }
22560        parts {
22561            part { name: "bg";
22562                type: RECT;
22563                description { state: "default" 0.0;
22564                    rel1.offset: 1 1;
22565                    rel2.offset: -2 -2;
22566                    color: 255 255 255 0;
22567                }
22568            }
22569            part { name: "clipper";
22570                type: RECT;
22571                mouse_events: 0;
22572                description { state: "default" 0.0;
22573                    rel1.to: "bg";
22574                    rel2.to: "bg";
22575                }
22576            }
22577            part { name: "elm.swallow.content";
22578                clip_to: "clipper";
22579                type: SWALLOW;
22580                description { state: "default" 0.0;
22581                    rel1.offset: 1 1;
22582                    rel2.offset: -2 -2;
22583                }
22584            }
22585            part { name: "busy_clip";
22586                type: RECT;
22587                mouse_events: 0;
22588                description { state: "default" 0.0;
22589                    visible: 0;
22590                    color: 255 255 255 0;
22591                }
22592                description { state: "active" 0.0;
22593                    visible: 1;
22594                    color: 255 255 255 255;
22595                }
22596            }
22597            part { name: "busy";
22598                clip_to: "busy_clip";
22599                mouse_events: 0;
22600                description { state: "default" 0.0;
22601                    fixed: 1 1;
22602                    min: 32 32;
22603                    aspect: 1.0 1.0;
22604                    align: 1.0 1.0;
22605                    aspect_preference: BOTH;
22606                    rel1 {
22607                        relative: 0.9 0.9;
22608                        offset:   -9 -9;
22609                    }
22610                    rel2 {
22611                        relative: 0.9 0.9;
22612                        offset:   -9 -9;
22613                    }
22614                    image {
22615                        normal: "busy-9.png";
22616                        tween:  "busy-1.png";
22617                        tween:  "busy-2.png";
22618                        tween:  "busy-3.png";
22619                        tween:  "busy-4.png";
22620                        tween:  "busy-5.png";
22621                        tween:  "busy-6.png";
22622                        tween:  "busy-7.png";
22623                        tween:  "busy-8.png";
22624                    }
22625                }
22626            }
22627            part { name: "conf_over";
22628                mouse_events:  0;
22629                description { state: "default" 0.0;
22630                    rel1.offset: 0 0;
22631                    rel2.offset: -1 -1;
22632                    image {
22633                        normal: "shelf_inset.png";
22634                        border: 7 7 7 7;
22635                        middle: 0;
22636                    }
22637                    fill.smooth : 0;
22638                }
22639            }
22640            part { name: "sb_vbar_clip_master";
22641                type: RECT;
22642                mouse_events: 0;
22643                description { state: "default" 0.0;
22644                }
22645                description { state: "hidden" 0.0;
22646                    visible: 0;
22647                    color: 255 255 255 0;
22648                }
22649            }
22650            part { name: "sb_vbar_clip";
22651                clip_to: "sb_vbar_clip_master";
22652                type: RECT;
22653                mouse_events: 0;
22654                description { state: "default" 0.0;
22655                }
22656                description { state: "hidden" 0.0;
22657                    visible: 0;
22658                    color: 255 255 255 0;
22659                }
22660            }
22661            part { name: "sb_vbar";
22662                type: RECT;
22663                mouse_events: 0;
22664                description { state: "default" 0.0;
22665                    fixed: 1 1;
22666                    visible: 0;
22667                    min: 17 17;
22668                    align: 1.0 0.0;
22669                    rel1 {
22670                        relative: 1.0 0.0;
22671                        offset:   -2 0;
22672                    }
22673                    rel2 {
22674                        relative: 1.0 0.0;
22675                        offset:   -2 -1;
22676                        to_y:     "sb_hbar";
22677                    }
22678                }
22679            }
22680            part { name: "sb_vbar_runner";
22681                clip_to: "sb_vbar_clip";
22682                mouse_events: 0;
22683                description { state: "default" 0.0;
22684                    min: 3 3;
22685                    max: 3 99999;
22686                    rel1.to:       "sb_vbar";
22687                    rel2.to:       "sb_vbar";
22688                    image {
22689                        normal: "sb_runnerv.png";
22690                        border: 0 0 4 4;
22691                    }
22692                    fill.smooth: 0;
22693                }
22694            }
22695            part { name: "elm.dragable.vbar";
22696                clip_to: "sb_vbar_clip";
22697                mouse_events: 0;
22698                dragable {
22699                    x: 0 0 0;
22700                    y: 1 1 0;
22701                    confine: "sb_vbar";
22702                }
22703                description { state: "default" 0.0;
22704                    fixed: 1 1;
22705                    min: 17 17;
22706                    rel1 {
22707                        relative: 0.5  0.5;
22708                        offset:   0    0;
22709                        to: "sb_vbar";
22710                    }
22711                    rel2 {
22712                        relative: 0.5  0.5;
22713                        offset:   0    0;
22714                        to: "sb_vbar";
22715                    }
22716                    image {
22717                        normal: "bt_sm_base2.png";
22718                        border: 6 6 6 6;
22719                    }
22720                    image.middle: SOLID;
22721                }
22722            }
22723            part { name: "sb_vbar_over1";
22724                clip_to: "sb_vbar_clip";
22725                mouse_events: 0;
22726                description { state: "default" 0.0;
22727                    rel1.to: "elm.dragable.vbar";
22728                    rel2.relative: 1.0 0.5;
22729                    rel2.to: "elm.dragable.vbar";
22730                    image {
22731                        normal: "bt_sm_hilight.png";
22732                        border: 6 6 6 0;
22733                    }
22734                }
22735            }
22736            part { name: "sb_vbar_over2";
22737                clip_to: "sb_vbar_clip";
22738                mouse_events: 0;
22739                description { state: "default" 0.0;
22740                    rel1.to: "elm.dragable.vbar";
22741                    rel2.to: "elm.dragable.vbar";
22742                    image {
22743                        normal: "bt_sm_shine.png";
22744                        border: 6 6 6 0;
22745                    }
22746                }
22747            }
22748
22749            part { name: "sb_hbar_clip_master";
22750                type: RECT;
22751                mouse_events: 0;
22752                description { state: "default" 0.0;
22753                }
22754                description { state: "hidden" 0.0;
22755                    visible: 0;
22756                    color: 255 255 255 0;
22757                }
22758            }
22759            part { name: "sb_hbar_clip";
22760                clip_to: "sb_hbar_clip_master";
22761                type: RECT;
22762                mouse_events: 0;
22763                description { state: "default" 0.0;
22764                }
22765                description { state: "hidden" 0.0;
22766                    visible: 0;
22767                    color: 255 255 255 0;
22768                }
22769            }
22770            part { name: "sb_hbar";
22771                type: RECT;
22772                mouse_events: 0;
22773                description { state: "default" 0.0;
22774                    fixed: 1 1;
22775                    visible: 0;
22776                    min: 17 17;
22777                    align: 0.0 1.0;
22778                    rel1 {
22779                        relative: 0.0 1.0;
22780                        offset:   0 -2;
22781                    }
22782                    rel2 {
22783                        relative: 0.0 1.0;
22784                        offset:   -1 -2;
22785                        to_x:     "sb_vbar";
22786                    }
22787                }
22788            }
22789            part { name: "sb_hbar_runner";
22790                clip_to: "sb_hbar_clip";
22791                mouse_events: 0;
22792                description { state: "default" 0.0;
22793                    min: 3 3;
22794                    max: 99999 3;
22795                    rel1.to:       "sb_hbar";
22796                    rel2.to:       "sb_hbar";
22797                    image {
22798                        normal: "sb_runnerh.png";
22799                        border: 4 4 0 0;
22800                    }
22801                    fill.smooth: 0;
22802                }
22803            }
22804            part { name: "elm.dragable.hbar";
22805                clip_to: "sb_hbar_clip";
22806                mouse_events: 0;
22807                dragable {
22808                    x: 1 1 0;
22809                    y: 0 0 0;
22810                    confine: "sb_hbar";
22811                }
22812                description { state: "default" 0.0;
22813                    fixed: 1 1;
22814                    min: 17 17;
22815                    rel1 {
22816                        relative: 0.5  0.5;
22817                        offset:   0    0;
22818                        to: "sb_hbar";
22819                    }
22820                    rel2 {
22821                        relative: 0.5  0.5;
22822                        offset:   0    0;
22823                        to: "sb_hbar";
22824                    }
22825                    image {
22826                        normal: "bt_sm_base2.png";
22827                        border: 6 6 6 6;
22828                    }
22829                    image.middle: SOLID;
22830                }
22831            }
22832            part { name: "sb_hbar_over1";
22833                clip_to: "sb_hbar_clip";
22834                mouse_events: 0;
22835                description { state: "default" 0.0;
22836                    rel1.to: "elm.dragable.hbar";
22837                    rel2.relative: 1.0 0.5;
22838                    rel2.to: "elm.dragable.hbar";
22839                    image {
22840                        normal: "bt_sm_hilight.png";
22841                        border: 6 6 6 0;
22842                    }
22843                }
22844            }
22845            part { name: "sb_hbar_over2";
22846                clip_to: "sb_hbar_clip";
22847                mouse_events: 0;
22848                description { state: "default" 0.0;
22849                    rel1.to: "elm.dragable.hbar";
22850                    rel2.to: "elm.dragable.hbar";
22851                    image {
22852                        normal: "bt_sm_shine.png";
22853                        border: 6 6 6 0;
22854                    }
22855                }
22856            }
22857        }
22858        programs {
22859            program { name: "load";
22860                signal: "load";
22861                source: "";
22862                script {
22863                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
22864                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
22865                    set_int(sbvis_h, 0);
22866                    set_int(sbvis_v, 0);
22867                    set_int(sbalways_v, 0);
22868                    set_int(sbalways_h, 0);
22869                    set_int(sbvis_timer, 0);
22870                }
22871            }
22872
22873            program { name: "vbar_show";
22874                signal: "elm,action,show,vbar";
22875                source: "elm";
22876                action:  STATE_SET "default" 0.0;
22877                target: "sb_vbar_clip_master";
22878            }
22879            program { name: "vbar_hide";
22880                signal: "elm,action,hide,vbar";
22881                source: "elm";
22882                action:  STATE_SET "hidden" 0.0;
22883                target: "sb_vbar_clip_master";
22884            }
22885            program { name: "vbar_show_always";
22886                signal: "elm,action,show_always,vbar";
22887                source: "elm";
22888                script {
22889                    new v;
22890                    v = get_int(sbvis_v);
22891                    v |= get_int(sbalways_v);
22892                    if (!v) {
22893                        set_int(sbalways_v, 1);
22894                        emit("do-show-vbar", "");
22895                        set_int(sbvis_v, 1);
22896                    }
22897                }
22898            }
22899            program { name: "vbar_show_notalways";
22900                signal: "elm,action,show_notalways,vbar";
22901                source: "elm";
22902                script {
22903                    new v;
22904                    v = get_int(sbalways_v);
22905                    if (v) {
22906                        set_int(sbalways_v, 0);
22907                        v = get_int(sbvis_v);
22908                        if (!v) {
22909                            emit("do-hide-vbar", "");
22910                            set_int(sbvis_v, 0);
22911                        }
22912                    }
22913                }
22914            }
22915            program { name: "sb_vbar_show";
22916                signal: "do-show-vbar";
22917                source: "";
22918                action:  STATE_SET "default" 0.0;
22919                transition: LINEAR 1.0;
22920                target: "sb_vbar_clip";
22921            }
22922            program { name: "sb_vbar_hide";
22923                signal: "do-hide-vbar";
22924                source: "";
22925                action:  STATE_SET "hidden" 0.0;
22926                transition: LINEAR 1.0;
22927                target: "sb_vbar_clip";
22928            }
22929
22930            program { name: "hbar_show";
22931                signal: "elm,action,show,hbar";
22932                source: "elm";
22933                action:  STATE_SET "default" 0.0;
22934                target: "sb_hbar_clip_master";
22935            }
22936            program { name: "hbar_hide";
22937                signal: "elm,action,hide,hbar";
22938                source: "elm";
22939                action:  STATE_SET "hidden" 0.0;
22940                target: "sb_hbar_clip_master";
22941            }
22942            program { name: "hbar_show_always";
22943                signal: "elm,action,show_always,hbar";
22944                source: "elm";
22945                script {
22946                    new v;
22947                    v = get_int(sbvis_h);
22948                    v |= get_int(sbalways_h);
22949                    if (!v) {
22950                        set_int(sbalways_h, 1);
22951                        emit("do-show-hbar", "");
22952                        set_int(sbvis_h, 1);
22953                    }
22954                }
22955            }
22956            program { name: "hbar_show_notalways";
22957                signal: "elm,action,show_notalways,hbar";
22958                source: "elm";
22959                script {
22960                    new v;
22961                    v = get_int(sbalways_h);
22962                    if (v) {
22963                        set_int(sbalways_h, 0);
22964                        v = get_int(sbvis_h);
22965                        if (!v) {
22966                            emit("do-hide-hbar", "");
22967                            set_int(sbvis_h, 0);
22968                        }
22969                    }
22970                }
22971            }
22972            program { name: "sb_hbar_show";
22973                signal: "do-show-hbar";
22974                source: "";
22975                action:  STATE_SET "default" 0.0;
22976                transition: LINEAR 1.0;
22977                target: "sb_hbar_clip";
22978            }
22979            program { name: "sb_hbar_hide";
22980                signal: "do-hide-hbar";
22981                source: "";
22982                action:  STATE_SET "hidden" 0.0;
22983                transition: LINEAR 1.0;
22984                target: "sb_hbar_clip";
22985            }
22986
22987            program { name: "scroll";
22988                signal: "elm,action,scroll";
22989                source: "elm";
22990                script {
22991                    new v;
22992                    v = get_int(sbvis_v);
22993                    v |= get_int(sbalways_v);
22994                    if (!v) {
22995                        emit("do-show-vbar", "");
22996                        set_int(sbvis_v, 1);
22997                    }
22998                    v = get_int(sbvis_h);
22999                    v |= get_int(sbalways_h);
23000                    if (!v) {
23001                        emit("do-show-hbar", "");
23002                        set_int(sbvis_h, 1);
23003                    }
23004                    v = get_int(sbvis_timer);
23005                    if (v > 0) cancel_timer(v);
23006                    v = timer(2.0, "timer0", 0);
23007                    set_int(sbvis_timer, v);
23008                }
23009            }
23010            program { name: "go1";
23011                signal: "elm,state,busy,start";
23012                source: "elm";
23013                action: STATE_SET "active" 0.0;
23014                transition: SINUSOIDAL 1.0;
23015                target:  "busy_clip";
23016            }
23017            program { name: "go2";
23018                signal: "elm,state,busy,start";
23019                source: "elm";
23020                action: STATE_SET "default" 0.0;
23021                transition: LINEAR 0.5;
23022                target: "busy";
23023                after:  "go2";
23024            }
23025            program { name: "stop1";
23026                signal: "elm,state,busy,stop";
23027                source: "elm";
23028                action: STATE_SET "default" 0.0;
23029                transition: SINUSOIDAL 1.0;
23030                target: "busy_clip";
23031                after: "stop2";
23032            }
23033          program { name: "stop2";
23034             action: ACTION_STOP;
23035             target: "go2";
23036          }
23037       }
23038    }
23039
23040    ///////////////////////////////////////////////////////////////////////////////
23041    group { name: "elm/map/base/default";
23042        script {
23043            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
23044            public timer0(val) {
23045                new v;
23046                v = get_int(sbvis_v);
23047                if (v) {
23048                    v = get_int(sbalways_v);
23049                    if (!v) {
23050                        emit("do-hide-vbar", "");
23051                        set_int(sbvis_v, 0);
23052                    }
23053                }
23054                v = get_int(sbvis_h);
23055                if (v) {
23056                    v = get_int(sbalways_h);
23057                    if (!v) {
23058                        emit("do-hide-hbar", "");
23059                        set_int(sbvis_h, 0);
23060                    }
23061                }
23062                set_int(sbvis_timer, 0);
23063                return 0;
23064            }
23065        }
23066        images {
23067            image: "shelf_inset.png" COMP;
23068            image: "bt_sm_base2.png" COMP;
23069            image: "bt_sm_shine.png" COMP;
23070            image: "bt_sm_hilight.png" COMP;
23071            image: "sb_runnerh.png" COMP;
23072            image: "sb_runnerv.png" COMP;
23073            image: "busy-1.png" COMP;
23074            image: "busy-2.png" COMP;
23075            image: "busy-3.png" COMP;
23076            image: "busy-4.png" COMP;
23077            image: "busy-5.png" COMP;
23078            image: "busy-6.png" COMP;
23079            image: "busy-7.png" COMP;
23080            image: "busy-8.png" COMP;
23081            image: "busy-9.png" COMP;
23082        }
23083        parts {
23084            part { name: "bg";
23085                type: RECT;
23086                description { state: "default" 0.0;
23087                    rel1.offset: 1 1;
23088                    rel2.offset: -2 -2;
23089                    color: 255 255 255 0;
23090                }
23091            }
23092            part { name: "clipper";
23093                type: RECT;
23094                mouse_events: 0;
23095                description { state: "default" 0.0;
23096                    rel1.to: "bg";
23097                    rel2.to: "bg";
23098                }
23099            }
23100            part { name: "elm.swallow.content";
23101                clip_to: "clipper";
23102                type: SWALLOW;
23103                description { state: "default" 0.0;
23104                    rel1.offset: 1 1;
23105                    rel2.offset: -2 -2;
23106                }
23107            }
23108            part { name: "busy_clip";
23109                type: RECT;
23110                mouse_events: 0;
23111                description { state: "default" 0.0;
23112                    visible: 0;
23113                    color: 255 255 255 0;
23114                }
23115                description { state: "active" 0.0;
23116                    visible: 1;
23117                    color: 255 255 255 255;
23118                }
23119            }
23120            part { name: "busy";
23121                clip_to: "busy_clip";
23122                mouse_events: 0;
23123                description { state: "default" 0.0;
23124                    fixed: 1 1;
23125                    min: 32 32;
23126                    aspect: 1.0 1.0;
23127                    align: 1.0 1.0;
23128                    aspect_preference: BOTH;
23129                    rel1 {
23130                        relative: 0.9 0.9;
23131                        offset:   -9 -9;
23132                    }
23133                    rel2 {
23134                        relative: 0.9 0.9;
23135                        offset:   -9 -9;
23136                    }
23137                    image {
23138                        normal: "busy-9.png";
23139                        tween:  "busy-1.png";
23140                        tween:  "busy-2.png";
23141                        tween:  "busy-3.png";
23142                        tween:  "busy-4.png";
23143                        tween:  "busy-5.png";
23144                        tween:  "busy-6.png";
23145                        tween:  "busy-7.png";
23146                        tween:  "busy-8.png";
23147                    }
23148                }
23149            }
23150            part { name: "conf_over";
23151                mouse_events:  0;
23152                description { state: "default" 0.0;
23153                    rel1.offset: 0 0;
23154                    rel2.offset: -1 -1;
23155                    image {
23156                        normal: "shelf_inset.png";
23157                        border: 7 7 7 7;
23158                        middle: 0;
23159                    }
23160                    fill.smooth : 0;
23161                }
23162            }
23163            part { name: "sb_vbar_clip_master";
23164                type: RECT;
23165                mouse_events: 0;
23166                description { state: "default" 0.0;
23167                }
23168                description { state: "hidden" 0.0;
23169                    visible: 0;
23170                    color: 255 255 255 0;
23171                }
23172            }
23173            part { name: "sb_vbar_clip";
23174                clip_to: "sb_vbar_clip_master";
23175                type: RECT;
23176                mouse_events: 0;
23177                description { state: "default" 0.0;
23178                }
23179                description { state: "hidden" 0.0;
23180                    visible: 0;
23181                    color: 255 255 255 0;
23182                }
23183            }
23184            part { name: "sb_vbar";
23185                type: RECT;
23186                mouse_events: 0;
23187                description { state: "default" 0.0;
23188                    fixed: 1 1;
23189                    visible: 0;
23190                    min: 17 17;
23191                    align: 1.0 0.0;
23192                    rel1 {
23193                        relative: 1.0 0.0;
23194                        offset:   -2 0;
23195                    }
23196                    rel2 {
23197                        relative: 1.0 0.0;
23198                        offset:   -2 -1;
23199                        to_y:     "sb_hbar";
23200                    }
23201                }
23202            }
23203            part { name: "sb_vbar_runner";
23204                clip_to: "sb_vbar_clip";
23205                mouse_events: 0;
23206                description { state: "default" 0.0;
23207                    min: 3 3;
23208                    max: 3 99999;
23209                    rel1.to:       "sb_vbar";
23210                    rel2.to:       "sb_vbar";
23211                    image {
23212                        normal: "sb_runnerv.png";
23213                        border: 0 0 4 4;
23214                    }
23215                    fill.smooth: 0;
23216                }
23217            }
23218            part { name: "elm.dragable.vbar";
23219                clip_to: "sb_vbar_clip";
23220                mouse_events: 0;
23221                dragable {
23222                    x: 0 0 0;
23223                    y: 1 1 0;
23224                    confine: "sb_vbar";
23225                }
23226                description { state: "default" 0.0;
23227                    fixed: 1 1;
23228                    min: 17 17;
23229                    rel1 {
23230                        relative: 0.5  0.5;
23231                        offset:   0    0;
23232                        to: "sb_vbar";
23233                    }
23234                    rel2 {
23235                        relative: 0.5  0.5;
23236                        offset:   0    0;
23237                        to: "sb_vbar";
23238                    }
23239                    image {
23240                        normal: "bt_sm_base2.png";
23241                        border: 6 6 6 6;
23242                    }
23243                    image.middle: SOLID;
23244                }
23245            }
23246            part { name: "sb_vbar_over1";
23247                clip_to: "sb_vbar_clip";
23248                mouse_events: 0;
23249                description { state: "default" 0.0;
23250                    rel1.to: "elm.dragable.vbar";
23251                    rel2.relative: 1.0 0.5;
23252                    rel2.to: "elm.dragable.vbar";
23253                    image {
23254                        normal: "bt_sm_hilight.png";
23255                        border: 6 6 6 0;
23256                    }
23257                }
23258            }
23259            part { name: "sb_vbar_over2";
23260                clip_to: "sb_vbar_clip";
23261                mouse_events: 0;
23262                description { state: "default" 0.0;
23263                    rel1.to: "elm.dragable.vbar";
23264                    rel2.to: "elm.dragable.vbar";
23265                    image {
23266                        normal: "bt_sm_shine.png";
23267                        border: 6 6 6 0;
23268                    }
23269                }
23270            }
23271
23272            part { name: "sb_hbar_clip_master";
23273                type: RECT;
23274                mouse_events: 0;
23275                description { state: "default" 0.0;
23276                }
23277                description { state: "hidden" 0.0;
23278                    visible: 0;
23279                    color: 255 255 255 0;
23280                }
23281            }
23282            part { name: "sb_hbar_clip";
23283                clip_to: "sb_hbar_clip_master";
23284                type: RECT;
23285                mouse_events: 0;
23286                description { state: "default" 0.0;
23287                }
23288                description { state: "hidden" 0.0;
23289                    visible: 0;
23290                    color: 255 255 255 0;
23291                }
23292            }
23293            part { name: "sb_hbar";
23294                type: RECT;
23295                mouse_events: 0;
23296                description { state: "default" 0.0;
23297                    fixed: 1 1;
23298                    visible: 0;
23299                    min: 17 17;
23300                    align: 0.0 1.0;
23301                    rel1 {
23302                        relative: 0.0 1.0;
23303                        offset:   0 -2;
23304                    }
23305                    rel2 {
23306                        relative: 0.0 1.0;
23307                        offset:   -1 -2;
23308                        to_x:     "sb_vbar";
23309                    }
23310                }
23311            }
23312            part { name: "sb_hbar_runner";
23313                clip_to: "sb_hbar_clip";
23314                mouse_events: 0;
23315                description { state: "default" 0.0;
23316                    min: 3 3;
23317                    max: 99999 3;
23318                    rel1.to:       "sb_hbar";
23319                    rel2.to:       "sb_hbar";
23320                    image {
23321                        normal: "sb_runnerh.png";
23322                        border: 4 4 0 0;
23323                    }
23324                    fill.smooth: 0;
23325                }
23326            }
23327            part { name: "elm.dragable.hbar";
23328                clip_to: "sb_hbar_clip";
23329                mouse_events: 0;
23330                dragable {
23331                    x: 1 1 0;
23332                    y: 0 0 0;
23333                    confine: "sb_hbar";
23334                }
23335                description { state: "default" 0.0;
23336                    fixed: 1 1;
23337                    min: 17 17;
23338                    rel1 {
23339                        relative: 0.5  0.5;
23340                        offset:   0    0;
23341                        to: "sb_hbar";
23342                    }
23343                    rel2 {
23344                        relative: 0.5  0.5;
23345                        offset:   0    0;
23346                        to: "sb_hbar";
23347                    }
23348                    image {
23349                        normal: "bt_sm_base2.png";
23350                        border: 6 6 6 6;
23351                    }
23352                    image.middle: SOLID;
23353                }
23354            }
23355            part { name: "sb_hbar_over1";
23356                clip_to: "sb_hbar_clip";
23357                mouse_events: 0;
23358                description { state: "default" 0.0;
23359                    rel1.to: "elm.dragable.hbar";
23360                    rel2.relative: 1.0 0.5;
23361                    rel2.to: "elm.dragable.hbar";
23362                    image {
23363                        normal: "bt_sm_hilight.png";
23364                        border: 6 6 6 0;
23365                    }
23366                }
23367            }
23368            part { name: "sb_hbar_over2";
23369                clip_to: "sb_hbar_clip";
23370                mouse_events: 0;
23371                description { state: "default" 0.0;
23372                    rel1.to: "elm.dragable.hbar";
23373                    rel2.to: "elm.dragable.hbar";
23374                    image {
23375                        normal: "bt_sm_shine.png";
23376                        border: 6 6 6 0;
23377                    }
23378                }
23379            }
23380        }
23381        programs {
23382            program { name: "load";
23383                signal: "load";
23384                source: "";
23385                script {
23386                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
23387                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
23388                    set_int(sbvis_h, 0);
23389                    set_int(sbvis_v, 0);
23390                    set_int(sbalways_v, 0);
23391                    set_int(sbalways_h, 0);
23392                    set_int(sbvis_timer, 0);
23393                }
23394            }
23395
23396            program { name: "vbar_show";
23397                signal: "elm,action,show,vbar";
23398                source: "elm";
23399                action:  STATE_SET "default" 0.0;
23400                target: "sb_vbar_clip_master";
23401            }
23402            program { name: "vbar_hide";
23403                signal: "elm,action,hide,vbar";
23404                source: "elm";
23405                action:  STATE_SET "hidden" 0.0;
23406                target: "sb_vbar_clip_master";
23407            }
23408            program { name: "vbar_show_always";
23409                signal: "elm,action,show_always,vbar";
23410                source: "elm";
23411                script {
23412                    new v;
23413                    v = get_int(sbvis_v);
23414                    v |= get_int(sbalways_v);
23415                    if (!v) {
23416                        set_int(sbalways_v, 1);
23417                        emit("do-show-vbar", "");
23418                        set_int(sbvis_v, 1);
23419                    }
23420                }
23421            }
23422            program { name: "vbar_show_notalways";
23423                signal: "elm,action,show_notalways,vbar";
23424                source: "elm";
23425                script {
23426                    new v;
23427                    v = get_int(sbalways_v);
23428                    if (v) {
23429                        set_int(sbalways_v, 0);
23430                        v = get_int(sbvis_v);
23431                        if (!v) {
23432                            emit("do-hide-vbar", "");
23433                            set_int(sbvis_v, 0);
23434                        }
23435                    }
23436                }
23437            }
23438            program { name: "sb_vbar_show";
23439                signal: "do-show-vbar";
23440                source: "";
23441                action:  STATE_SET "default" 0.0;
23442                transition: LINEAR 1.0;
23443                target: "sb_vbar_clip";
23444            }
23445            program { name: "sb_vbar_hide";
23446                signal: "do-hide-vbar";
23447                source: "";
23448                action:  STATE_SET "hidden" 0.0;
23449                transition: LINEAR 1.0;
23450                target: "sb_vbar_clip";
23451            }
23452
23453            program { name: "hbar_show";
23454                signal: "elm,action,show,hbar";
23455                source: "elm";
23456                action:  STATE_SET "default" 0.0;
23457                target: "sb_hbar_clip_master";
23458            }
23459            program { name: "hbar_hide";
23460                signal: "elm,action,hide,hbar";
23461                source: "elm";
23462                action:  STATE_SET "hidden" 0.0;
23463                target: "sb_hbar_clip_master";
23464            }
23465            program { name: "hbar_show_always";
23466                signal: "elm,action,show_always,hbar";
23467                source: "elm";
23468                script {
23469                    new v;
23470                    v = get_int(sbvis_h);
23471                    v |= get_int(sbalways_h);
23472                    if (!v) {
23473                        set_int(sbalways_h, 1);
23474                        emit("do-show-hbar", "");
23475                        set_int(sbvis_h, 1);
23476                    }
23477                }
23478            }
23479            program { name: "hbar_show_notalways";
23480                signal: "elm,action,show_notalways,hbar";
23481                source: "elm";
23482                script {
23483                    new v;
23484                    v = get_int(sbalways_h);
23485                    if (v) {
23486                        set_int(sbalways_h, 0);
23487                        v = get_int(sbvis_h);
23488                        if (!v) {
23489                            emit("do-hide-hbar", "");
23490                            set_int(sbvis_h, 0);
23491                        }
23492                    }
23493                }
23494            }
23495            program { name: "sb_hbar_show";
23496                signal: "do-show-hbar";
23497                source: "";
23498                action:  STATE_SET "default" 0.0;
23499                transition: LINEAR 1.0;
23500                target: "sb_hbar_clip";
23501            }
23502            program { name: "sb_hbar_hide";
23503                signal: "do-hide-hbar";
23504                source: "";
23505                action:  STATE_SET "hidden" 0.0;
23506                transition: LINEAR 1.0;
23507                target: "sb_hbar_clip";
23508            }
23509
23510            program { name: "scroll";
23511                signal: "elm,action,scroll";
23512                source: "elm";
23513                script {
23514                    new v;
23515                    v = get_int(sbvis_v);
23516                    v |= get_int(sbalways_v);
23517                    if (!v) {
23518                        emit("do-show-vbar", "");
23519                        set_int(sbvis_v, 1);
23520                    }
23521                    v = get_int(sbvis_h);
23522                    v |= get_int(sbalways_h);
23523                    if (!v) {
23524                        emit("do-show-hbar", "");
23525                        set_int(sbvis_h, 1);
23526                    }
23527                    v = get_int(sbvis_timer);
23528                    if (v > 0) cancel_timer(v);
23529                    v = timer(2.0, "timer0", 0);
23530                    set_int(sbvis_timer, v);
23531                }
23532            }
23533            program { name: "go1";
23534                signal: "elm,state,busy,start";
23535                source: "elm";
23536                action: STATE_SET "active" 0.0;
23537                transition: SINUSOIDAL 1.0;
23538                target:  "busy_clip";
23539            }
23540            program { name: "go2";
23541                signal: "elm,state,busy,start";
23542                source: "elm";
23543                action: STATE_SET "default" 0.0;
23544                transition: LINEAR 0.5;
23545                target: "busy";
23546                after:  "go2";
23547            }
23548            program { name: "stop1";
23549                signal: "elm,state,busy,stop";
23550                source: "elm";
23551                action: STATE_SET "default" 0.0;
23552                transition: SINUSOIDAL 1.0;
23553                target: "busy_clip";
23554                after: "stop2";
23555            }
23556          program { name: "stop2";
23557             action: ACTION_STOP;
23558             target: "go2";
23559          }
23560       }
23561    }
23562    group { name: "elm/map/marker/radio/default";
23563         data {
23564             item: size_w 24;
23565             item: size_h 24;
23566             item: size_max_w 58;
23567             item: size_max_h 58;
23568         }
23569         images {
23570                 image: "map_item.png" COMP;
23571         }
23572         parts {
23573             part { name: "whole";
23574                 description { state: "default" 0.0;
23575                 }
23576             }
23577             part { name: "base";
23578                 ignore_flags: ON_HOLD;
23579                 description { state: "default" 0.0;
23580                     image.normal: "map_item.png";
23581                 }
23582             }
23583             part { name: "elm.icon";
23584                 type: SWALLOW;
23585                 clip_to: "whole";
23586                 mouse_events:  0;
23587                 description { state: "default" 0.0;
23588                     rel1.relative: 0.27 0.27;
23589                     rel2.relative: 0.73 0.73;
23590                 }
23591             }
23592             part { name: "elm.text";
23593                 type:          TEXT;
23594                 effect:        SOFT_SHADOW;
23595                 mouse_events:  0;
23596                 scale: 1;
23597                 description { state: "default" 0.0;
23598                     align:    0.5 0.5;
23599                     color: 224 224 224 255;
23600                     color3: 0 0 0 64;
23601                     rel1.relative: 0.28 0.25;
23602                     rel2.relative: 0.75 0.75;
23603                     text {
23604                         font:     "Sans,Edje-Vera";
23605                         size:     10;
23606                         min:      0 0;
23607                         align:    0.5 0.5;
23608                     }
23609                 }
23610             }
23611        }
23612        programs {
23613             program { name: "open";
23614                 signal: "mouse,clicked,1";
23615                 source: "base";
23616                 action: SIGNAL_EMIT "open" "elm";
23617             }
23618             program { name: "bringin";
23619                 signal: "mouse,down,1,double";
23620                 source: "base";
23621                 action: SIGNAL_EMIT "bringin" "elm";
23622             }
23623        }
23624    }
23625    group { name: "elm/map/marker/radio2/default";
23626         data {
23627             item: size_w 24;
23628             item: size_h 24;
23629             item: size_max_w 58;
23630             item: size_max_h 58;
23631         }
23632         images {
23633                 image: "map_item_2.png" COMP;
23634         }
23635         parts {
23636             part { name: "base";
23637                 ignore_flags: ON_HOLD;
23638                 description { state: "default" 0.0;
23639                     image.normal: "map_item_2.png";
23640                 }
23641             }
23642             part { name: "elm.text";
23643                 type:          TEXT;
23644                 effect:        SOFT_SHADOW;
23645                 mouse_events:  0;
23646                 scale: 1;
23647                 description { state: "default" 0.0;
23648                     align:    0.5 0.5;
23649                     color: 224 224 224 255;
23650                     color3: 0 0 0 64;
23651                     rel1.relative: 0.28 0.25;
23652                     rel2.relative: 0.75 0.75;
23653                     text {
23654                         font:     "Sans,Edje-Vera";
23655                         size:     10;
23656                         min:      0 0;
23657                         align:    0.5 0.5;
23658                     }
23659                 }
23660             }
23661        }
23662        programs {
23663             program { name: "open";
23664                 signal: "mouse,clicked,1";
23665                 source: "base";
23666                 action: SIGNAL_EMIT "open" "elm";
23667             }
23668             program { name: "bringin";
23669                 signal: "mouse,down,1,double";
23670                 source: "base";
23671                 action: SIGNAL_EMIT "bringin" "elm";
23672             }
23673        }
23674    }
23675    group { name: "elm/map/marker/empty/default";
23676         data {
23677             item: size_w 22;
23678             item: size_h 22;
23679             item: size_max_w 64;
23680             item: size_max_h 64;
23681         }
23682         parts {
23683             part { name: "whole";
23684                 description { state: "default" 0.0;
23685                 }
23686             }
23687             part { name: "base";
23688                 ignore_flags: ON_HOLD;
23689                 description { state: "default" 0.0;
23690                 }
23691             }
23692             part { name: "elm.icon";
23693                 type: SWALLOW;
23694                 clip_to: "whole";
23695                 mouse_events:  0;
23696                 description { state: "default" 0.0;
23697                 }
23698             }
23699             part { name: "elm.text";
23700                 type:          TEXT;
23701                 effect:        SOFT_SHADOW;
23702                 mouse_events:  0;
23703                 scale: 1;
23704                 description { state: "default" 0.0;
23705                     align:    0.5 0.5;
23706                     color: 224 224 224 255;
23707                     color3: 0 0 0 64;
23708                     rel1.relative: 0.28 0.25;
23709                     rel2.relative: 0.75 0.75;
23710                     text {
23711                         font:     "Sans,Edje-Vera";
23712                         size:     10;
23713                         min:      0 0;
23714                         align:    0.5 0.5;
23715                     }
23716                 }
23717             }
23718        }
23719        programs {
23720             program { name: "open";
23721                 signal: "mouse,clicked,1";
23722                 source: "base";
23723                 action: SIGNAL_EMIT "open" "elm";
23724             }
23725             program { name: "bringin";
23726                 signal: "mouse,down,1,double";
23727                 source: "base";
23728                 action: SIGNAL_EMIT "bringin" "elm";
23729             }
23730        }
23731    }
23732    group { name: "elm/map/marker_bubble/default";
23733     images {
23734       image: "bubble.png" COMP;
23735       image: "bubble_shine.png" COMP;
23736     }
23737     data {
23738             item: size_w 400;
23739             item: size_h 100;
23740         }
23741     parts {
23742     part { name: "clipper";
23743         mouse_events:  1;
23744         description { state: "default" 0.0;
23745           color: 255 255 255 0;
23746         }
23747         description { state: "show" 0.0;
23748             inherit: "default" 0.0;
23749             color: 255 255 255 255;
23750         }
23751       }
23752      part { name: "base0";
23753         mouse_events:  0;
23754         clip_to: "clipper";
23755         description { state: "default" 0.0;
23756           image {
23757             normal: "bubble.png";
23758             border: 11 36 10 19;
23759           }
23760           image.middle: SOLID;
23761           fill.smooth: 0;
23762         }
23763       }
23764       part { name: "elm.swallow.content";
23765         type: SWALLOW;
23766         clip_to: "clipper";
23767         description { state: "default" 0.0;
23768             align: 0.5 0.5;
23769           rel1 {
23770             offset: 9 8;
23771           }
23772           rel2 {
23773             offset: -10 -17;
23774           }
23775         }
23776       }
23777       part { name: "shine";
23778         mouse_events:  0;
23779         clip_to: "clipper";
23780         description { state:    "default" 0.0;
23781           rel1 {
23782             to: "base0";
23783           }
23784           rel2 {
23785             to: "base0";
23786             relative: 1.0 0.5;
23787           }
23788           image {
23789             normal: "bubble_shine.png";
23790             border: 5 5 5 0;
23791           }
23792           fill.smooth: 0;
23793         }
23794         }
23795     }
23796     programs {
23797         program { name: "show";
23798             signal: "show";
23799             action: STATE_SET "show" 0.0;
23800             target: "clipper";
23801             transition: ACCELERATE 0.5;
23802         }
23803     }
23804   }
23805
23806 /////////////////////////////////////////////////////////////////////////////
23807 // PANES
23808 /////////////////////////////////////////////////////////////////////////////
23809   group {
23810      name: "elm/panes/vertical/default";
23811       images {
23812          image: "bt_base1.png" COMP;
23813          image: "bt_base2.png" COMP;
23814          image: "bt_hilight.png" COMP;
23815          image: "bt_shine.png" COMP;
23816          image: "bt_glow.png" COMP;
23817          image: "bt_dis_base.png" COMP;
23818          image: "bt_dis_hilight.png" COMP;
23819          image: "arrow_right.png" COMP;
23820          image: "arrow_left.png" COMP;
23821       }
23822      script {
23823         public state_pair = 0; //0:both content are not set, 1:both content are set
23824      }
23825      parts
23826        {
23827           part
23828             {
23829                name: "whole";
23830                type: RECT;
23831                mouse_events: 1;
23832                description
23833                  {
23834                     state: "default" 0.0;
23835                     visible: 0;
23836                  }
23837             }
23838
23839          //2 contents
23840           part
23841             {
23842                name: "whole_left";
23843                type: RECT;
23844                mouse_events: 0;
23845                description
23846                  {
23847                     state: "default" 0.0;
23848                     rel2.to_x: "elm.bar";
23849                     rel2.relative: 0.0 1.0;
23850                     visible: 1;
23851                  }
23852             }
23853           part
23854             {
23855                name: "elm.swallow.left";
23856                type: SWALLOW;
23857                clip_to: "whole_left";
23858                description
23859                  {
23860                     state: "default" 0.0;
23861                     rel1.to: "whole_left";
23862                     rel2.to: "whole_left";
23863                  }
23864             }
23865
23866             part
23867             {
23868                name: "whole_right";
23869                type: RECT;
23870                mouse_events: 0;
23871                description
23872                  {
23873                     state: "default" 0.0;
23874                     rel1.to_x: "elm.bar";
23875                     rel1.relative: 1.0 0.0;
23876                     visible: 1;
23877                  }
23878             }
23879           part
23880             {
23881                name: "elm.swallow.right";
23882                type: SWALLOW;
23883                clip_to: "whole_right";
23884                description
23885                  {
23886                     state: "default" 0.0;
23887                     rel1.to: "whole_right";
23888                     rel2.to: "whole_right";
23889                  }
23890             }
23891          //BAR
23892          part { name: "elm.bar";
23893             mouse_events: 1;
23894             dragable {
23895                confine: "whole";
23896                x: 1 1 1;
23897                y: 0 0 0;
23898             }
23899             description { state: "default" 0.0;
23900                max: 0 999;
23901                min: 0 100;
23902                rel1.relative: 0.0 0.5;
23903                rel2.relative: 1.0 0.5;
23904                image {
23905                   normal: "bt_base2.png";
23906                   border: 7 7 7 7;
23907                }
23908                image.middle: SOLID;
23909             }
23910        description { state: "default" 0.1;
23911           inherit: "default" 0.0;
23912           max: 15 999;
23913           min: 15 100;
23914        }
23915             description { state: "clicked" 0.0;
23916                inherit: "default" 0.0;
23917                image.normal: "bt_base1.png";
23918                image.middle: SOLID;
23919             }
23920        description { state: "clicked" 0.1;
23921           inherit: "default" 0.1;
23922           image.normal: "bt_base1.png";
23923           image.middle: SOLID;
23924        }
23925             description { state: "disabled" 0.0;
23926                inherit:  "default" 0.0;
23927                image {
23928                   normal: "bt_dis_base.png";
23929                   border: 4 4 4 4;
23930                }
23931             }
23932        description { state: "disabled" 0.1;
23933           inherit:  "default" 0.1;
23934           image {
23935              normal: "bt_dis_base.png";
23936              border: 4 4 4 4;
23937          }
23938       }
23939          }
23940          part {   name: "over1";
23941             mouse_events: 0;
23942             description { state: "default" 0.0;
23943             rel1.to: "elm.bar";
23944             rel2.to: "elm.bar";
23945                rel2.relative: 1.0 0.5;
23946                image {
23947                   normal: "bt_hilight.png";
23948                   border: 7 7 7 0;
23949                }
23950             }
23951             description { state: "disabled" 0.0;
23952                inherit:  "default" 0.0;
23953                image {
23954                   normal: "bt_dis_hilight.png";
23955                   border: 4 4 4 0;
23956                }
23957             }
23958          }
23959          part { name: "over2";
23960             mouse_events: 1;
23961             repeat_events: 1;
23962             ignore_flags: ON_HOLD;
23963             description { state: "default" 0.0;
23964             rel1.to: "elm.bar";
23965             rel2.to: "elm.bar";
23966                image {
23967                   normal: "bt_shine.png";
23968                   border: 7 7 7 7;
23969                }
23970             }
23971             description { state: "disabled" 0.0;
23972                inherit:  "default" 0.0;
23973                visible: 0;
23974             }
23975          }
23976          part { name: "over3";
23977             mouse_events: 1;
23978             repeat_events: 1;
23979             description { state: "default" 0.0;
23980                color: 255 255 255 0;
23981             rel1.to: "elm.bar";
23982             rel2.to: "elm.bar";
23983                image {
23984                   normal: "bt_glow.png";
23985                   border: 12 12 12 12;
23986                }
23987                fill.smooth : 0;
23988             }
23989             description { state: "clicked" 0.0;
23990                inherit:  "default" 0.0;
23991                visible: 1;
23992                color: 255 255 255 255;
23993             }
23994          }
23995
23996          //Arrow
23997          part {
23998             name: "arrow_right";
23999             mouse_events: 0;
24000             description { state: "default" 0.0;
24001                 min: 45 45;
24002                 max: 45 45;
24003                 color: 255 255 255 0;
24004
24005                 rel1.relative: 1.0 0.5;
24006                 rel1.to_x: "elm.bar";
24007                 rel1.offset: 45/2 -45/2;
24008
24009                 rel2.relative: 1.0 0.5;
24010                 rel2.to_x: "elm.bar";
24011                 rel2.offset: 45/2 45/2;
24012
24013                 image.normal: "arrow_right.png";
24014
24015                 fixed: 1 1;
24016             }
24017             description { state: "anim_1" 0.0;
24018                 inherit: "default" 0.0;
24019                 color: 255 255 255 200;
24020                 rel1.offset: (45/2 + 10) -45/2;
24021                 rel2.offset: (45/2 +10) 45/2;
24022             }
24023             description { state: "anim_2" 0.0;
24024                 inherit: "default" 0.0;
24025                 color: 255 255 255 0;
24026                 rel1.offset: (45/2 + 20) -45/2;
24027                 rel2.offset: (45/2 + 20) 45/2;
24028             }
24029          }
24030         part {
24031             name: "arrow_left";
24032             mouse_events: 0;
24033             description { state: "default" 0.0;
24034                 min: 45 45;
24035                 max: 45 45;
24036                 color: 255 255 255 0;
24037
24038                 rel1.relative: 0.0 0.5;
24039                 rel1.to_x: "elm.bar";
24040                 rel1.offset: -45/2 -45/2;
24041
24042                 rel2.relative: 0.0 0.5;
24043                 rel2.to_x: "elm.bar";
24044                 rel2.offset: -45/2 45/2;
24045
24046                 image.normal: "arrow_left.png";
24047
24048                 fixed: 1 1;
24049             }
24050             description { state: "anim_1" 0.0;
24051                 inherit: "default" 0.0;
24052                 color: 255 255 255 200;
24053                 rel1.offset: (-45/2 - 10) -45/2;
24054                 rel2.offset: (-45/2 - 10) 45/2;
24055             }
24056             description { state: "anim_2" 0.0;
24057                 inherit: "default" 0.0;
24058                 color: 255 255 255 0;
24059                 rel1.offset: (-45/2 - 20) -45/2;
24060                 rel2.offset: (-45/2 - 20) 45/2;
24061             }
24062          }
24063          part { name: "movement.decider";
24064             mouse_events: 1;
24065             description { state: "default" 0.0;
24066                rel1.to: "elm.bar";
24067                rel2.to: "elm.bar";
24068                visible: 0;
24069             }
24070             description { state: "disabled" 0.0;
24071                inherit: "default" 0.0;
24072                visible: 1;
24073             }
24074          }
24075
24076        }
24077         programs {
24078          program {
24079             name:   "button_click";
24080             signal: "mouse,down,1";
24081             source: "over2";
24082             action: SIGNAL_EMIT "elm,action,press" "";
24083             after: "button_click_anim";
24084             after: "arrow_anim_start";
24085          }
24086          program {
24087             name:   "button_click_anim";
24088        script {
24089           if(get_int(state_pair) == 1)
24090              set_state(PART:"elm.bar", "clicked", 0.1);
24091           else
24092              set_state(PART:"elm.bar", "clicked", 0.0);                         
24093        }
24094          }
24095          program {
24096             name:   "button_unclick";
24097             signal: "mouse,up,1";
24098             source: "over2";
24099             action: SIGNAL_EMIT "elm,action,unpress" "";
24100             after: "button_unclick_anim";
24101             after: "arrow_anim_stop";
24102          }
24103          program {
24104             name:   "button_unclick_anim";
24105           script {
24106           if(get_int(state_pair) == 1)
24107              set_state(PART:"elm.bar", "default", 0.1);
24108           else
24109              set_state(PART:"elm.bar", "default", 0.0);                         
24110        }
24111          }
24112          program {
24113             name:   "button_click2";
24114             signal: "mouse,down,1";
24115             source: "over3";
24116             action: STATE_SET "clicked" 0.0;
24117             target: "over3";
24118          }
24119          program {
24120             name:   "button_unclick2";
24121             signal: "mouse,up,1";
24122             source: "over3";
24123             action: STATE_SET "default" 0.0;
24124             transition: DECELERATE 0.5;
24125             target: "over3";
24126          }
24127          program {
24128             name:   "button_unclick3";
24129             signal: "mouse,up,1";
24130             source: "over2";
24131             action: SIGNAL_EMIT "elm,action,click" "";
24132          }
24133          program {
24134             name:   "button_down_double";
24135             signal: "mouse,down,1,double";
24136             source: "over3";
24137             action: SIGNAL_EMIT "elm,action,click,double" "";
24138          }
24139
24140          //arrows animation
24141          program {
24142             name: "arrow_anim_start";
24143             action: STATE_SET "anim_1" 0.0;
24144             target: "arrow_right";
24145             target: "arrow_left";
24146             transition: LINEAR 0.6;
24147             after: "arrow_anim_1";
24148          }
24149          program {
24150             name: "arrow_anim_1";
24151             action: STATE_SET "anim_2" 0.0;
24152             target: "arrow_right";
24153             target: "arrow_left";
24154             transition: LINEAR 0.6;
24155             after: "arrow_anim_2";
24156          }
24157          program {
24158             name: "arrow_anim_2";
24159             action: STATE_SET "default" 0.0;
24160             target: "arrow_right";
24161             target: "arrow_left";
24162             after: "arrow_anim_start";
24163          }
24164          program {
24165             name: "arrow_anim_stop";
24166             action: ACTION_STOP;
24167             target: "arrow_anim_start";
24168             target: "arrow_anim_1";
24169             target: "arrow_anim_2";
24170             after: "arrow_anim_stop_1";
24171          }
24172          program {
24173             name: "arrow_anim_stop_1";
24174             action: STATE_SET "default" 0.0;
24175             target: "arrow_right";
24176             target: "arrow_left";
24177             transition: DECELERATE 0.4;
24178         }
24179         //fix the pane
24180         program {
24181            name:   "panes_fixed";
24182            signal: "elm.panes.fixed";
24183            source: "elm";
24184            action: STATE_SET "disabled" 0.0;
24185            target: "movement.decider";
24186            target: "elm.bar";
24187         }
24188         //allow the movement by interaction
24189         program {
24190            name:   "panes_unfixed";
24191            signal: "elm.panes.unfixed";
24192            source: "elm";
24193            action: STATE_SET "default" 0.0;
24194            target: "movement.decider";
24195            target: "elm.bar";
24196         }
24197         program {
24198            name:   "panes_pair";
24199            signal: "elm.panes.pair";
24200            source: "elm";
24201            script {
24202               new st[31];
24203               new Float:vl;
24204               set_int(state_pair, 1);
24205               get_state(PART:"elm.bar", st, 30, vl);
24206               set_state(PART:"elm.bar", st, 0.1);
24207            }
24208         }
24209         program {
24210            name:   "panes_unpair";
24211            signal: "elm.panes.unpair";
24212            source: "elm";
24213            script {
24214               new st[31];
24215               new Float:vl;
24216               set_int(state_pair, 0);
24217               get_state(PART:"elm.bar", st, 30, vl);
24218               set_state(PART:"elm.bar", st, 0.0);
24219            }
24220         }
24221       }
24222   }
24223
24224   group {
24225      name: "elm/panes/horizontal/default";
24226       images {
24227          image: "bt_base1.png" COMP;
24228          image: "bt_base2.png" COMP;
24229          image: "bt_hilight.png" COMP;
24230          image: "bt_shine.png" COMP;
24231          image: "bt_glow.png" COMP;
24232          image: "bt_dis_base.png" COMP;
24233          image: "bt_dis_hilight.png" COMP;
24234          image: "arrow_up.png" COMP;
24235          image: "arrow_down.png" COMP;
24236       }
24237      script {
24238         public state_pair = 0; //0:both content are not set, 1:both content are set
24239      }
24240      parts
24241        {
24242           part
24243             {
24244                name: "whole";
24245                type: RECT;
24246                mouse_events: 1;
24247                description
24248                  {
24249                     state: "default" 0.0;
24250                     visible: 0;
24251                  }
24252             }
24253
24254          //2 contents
24255           part
24256             {
24257                name: "whole_left";
24258                type: RECT;
24259                mouse_events: 0;
24260                description
24261                  {
24262                     state: "default" 0.0;
24263                     rel2.to_y: "elm.bar";
24264                     rel2.relative: 1.0 0.0;
24265                     visible: 1;
24266                  }
24267             }
24268           part
24269             {
24270                name: "elm.swallow.left";
24271                type: SWALLOW;
24272                clip_to: "whole_left";
24273                description
24274                  {
24275                     state: "default" 0.0;
24276                     rel1.to: "whole_left";
24277                     rel2.to: "whole_left";
24278                  }
24279             }
24280
24281             part
24282             {
24283                name: "whole_right";
24284                type: RECT;
24285                mouse_events: 0;
24286                description
24287                  {
24288                     state: "default" 0.0;
24289                     rel1.to_y: "elm.bar";
24290                     rel1.relative: 0.0 1.0;
24291                     visible: 1;
24292                  }
24293             }
24294           part
24295             {
24296                name: "elm.swallow.right";
24297                type: SWALLOW;
24298                clip_to: "whole_right";
24299                description
24300                  {
24301                     state: "default" 0.0;
24302                     rel1.to: "whole_right";
24303                     rel2.to: "whole_right";
24304                  }
24305             }
24306          //BAR
24307          part { name: "elm.bar";
24308             mouse_events: 1;
24309             dragable {
24310                confine: "whole";
24311                x: 0 0 0;
24312                y: 1 1 1;
24313             }
24314             description { state: "default" 0.0;
24315                max: 999 0;
24316                min: 100 0;
24317                rel1.relative: 0.5 0.0;
24318                rel2.relative: 0.5 1.0;
24319                image {
24320                   normal: "bt_base2.png";
24321                   border: 7 7 7 7;
24322                }
24323                image.middle: SOLID;
24324             }
24325        description { state: "default" 0.1;
24326           inherit: "default" 0.0;
24327           max: 999 15;
24328           min: 100 15;
24329        }
24330             description { state: "clicked" 0.0;
24331                inherit: "default" 0.0;
24332                image.normal: "bt_base1.png";
24333                image.middle: SOLID;
24334             }
24335        description { state: "clicked" 0.1;
24336           inherit: "default" 0.1;
24337           image.normal: "bt_base1.png";
24338           image.middle: SOLID;
24339        }
24340             description { state: "disabled" 0.0;
24341                inherit:  "default" 0.0;
24342                image {
24343                   normal: "bt_dis_base.png";
24344                   border: 4 4 4 4;
24345                }
24346             }
24347        description { state: "disabled" 0.1;
24348           inherit:  "default" 0.1;
24349           image {
24350              normal: "bt_dis_base.png";
24351              border: 4 4 4 4;
24352           }
24353        }
24354          }
24355          part {   name: "over1";
24356             mouse_events: 0;
24357             description { state: "default" 0.0;
24358             rel1.to: "elm.bar";
24359             rel2.to: "elm.bar";
24360                rel2.relative: 1.0 0.5;
24361                image {
24362                   normal: "bt_hilight.png";
24363                   border: 7 7 7 0;
24364                }
24365             }
24366             description { state: "disabled" 0.0;
24367                inherit:  "default" 0.0;
24368                image {
24369                   normal: "bt_dis_hilight.png";
24370                   border: 4 4 4 0;
24371                }
24372             }
24373          }
24374          part { name: "over2";
24375             mouse_events: 1;
24376             repeat_events: 1;
24377             ignore_flags: ON_HOLD;
24378             description { state: "default" 0.0;
24379             rel1.to: "elm.bar";
24380             rel2.to: "elm.bar";
24381                image {
24382                   normal: "bt_shine.png";
24383                   border: 7 7 7 7;
24384                }
24385             }
24386             description { state: "disabled" 0.0;
24387                inherit:  "default" 0.0;
24388                visible: 0;
24389             }
24390          }
24391          part { name: "over3";
24392             mouse_events: 1;
24393             repeat_events: 1;
24394             description { state: "default" 0.0;
24395                color: 255 255 255 0;
24396             rel1.to: "elm.bar";
24397             rel2.to: "elm.bar";
24398                image {
24399                   normal: "bt_glow.png";
24400                   border: 12 12 12 12;
24401                }
24402                fill.smooth : 0;
24403             }
24404             description { state: "clicked" 0.0;
24405                inherit:  "default" 0.0;
24406                visible: 1;
24407                color: 255 255 255 255;
24408             }
24409          }
24410
24411          //Arrow
24412          part {
24413             name: "arrow_right";
24414             description { state: "default" 0.0;
24415                 min: 45 45;
24416                 max: 45 45;
24417                 color: 255 255 255 0;
24418
24419                 rel1.relative: 0.5 1.0;
24420                 rel1.to_y: "elm.bar";
24421                 rel1.offset: -45/2 45/2;
24422
24423                 rel2.relative: 0.5 1.0;
24424                 rel2.to_y: "elm.bar";
24425                 rel2.offset: 45/2 45/2;
24426
24427                 image.normal: "arrow_down.png";
24428
24429                 fixed: 1 1;
24430             }
24431             description { state: "anim_1" 0.0;
24432                 inherit: "default" 0.0;
24433                 color: 255 255 255 200;
24434                 rel1.offset: -45/2 (45/2 +10);
24435                 rel2.offset: 45/2 (45/2 +10);
24436             }
24437             description { state: "anim_2" 0.0;
24438                 inherit: "default" 0.0;
24439                 color: 255 255 255 0;
24440                 rel1.offset: -45/2 (45/2 + 20);
24441                 rel2.offset: 45/2 (45/2 + 20);
24442             }
24443          }
24444         part {
24445             name: "arrow_left";
24446             description { state: "default" 0.0;
24447                 min: 45 45;
24448                 max: 45 45;
24449                 color: 255 255 255 0;
24450
24451                 rel1.relative: 0.5 0.0;
24452                 rel1.to_y: "elm.bar";
24453                 rel1.offset: -45/2 -45/2;
24454
24455                 rel2.relative: 0.5 0.0;
24456                 rel2.to_y: "elm.bar";
24457                 rel2.offset: 45/2 -45/2;
24458
24459                 image.normal: "arrow_up.png";
24460
24461                 fixed: 1 1;
24462             }
24463             description { state: "anim_1" 0.0;
24464                 inherit: "default" 0.0;
24465                 color: 255 255 255 200;
24466                 rel1.offset: -45/2 (-45/2 - 10);
24467                 rel2.offset: 45/2 (-45/2 - 10);
24468             }
24469             description { state: "anim_2" 0.0;
24470                 inherit: "default" 0.0;
24471                 color: 255 255 255 0;
24472                 rel1.offset: -45/2 (-45/2 - 20);
24473                 rel2.offset: 45/2 (-45/2 - 20);
24474             }
24475          }
24476          part {
24477             name: "movement.decider";
24478             mouse_events: 1;
24479             description { state: "default" 0.0;
24480                rel1.to: "elm.bar";
24481                rel2.to: "elm.bar";
24482                visible: 0;
24483             }
24484             description { state: "disabled" 0.0;
24485                inherit: "default" 0.0;
24486                visible: 1;
24487             }
24488          }
24489
24490        }
24491         programs {
24492          program {
24493             name:   "button_click";
24494             signal: "mouse,down,1";
24495             source: "over2";
24496             action: SIGNAL_EMIT "elm,action,press" "";
24497             after: "button_click_anim";
24498             after: "arrow_anim_start";
24499          }
24500     program {
24501        name:   "button_click_anim";
24502        script {
24503           if(get_int(state_pair) == 1)
24504              set_state(PART:"elm.bar", "clicked", 0.1);
24505           else
24506              set_state(PART:"elm.bar", "clicked", 0.0);                         
24507        }
24508     }
24509          program {
24510             name:   "button_unclick";
24511             signal: "mouse,up,1";
24512             source: "over2";
24513             action: SIGNAL_EMIT "elm,action,unpress" "";
24514             after: "button_unclick_anim";
24515             after: "arrow_anim_stop";
24516          }
24517     program {
24518        name:   "button_unclick_anim";
24519        script {
24520           if(get_int(state_pair) == 1)
24521              set_state(PART:"elm.bar", "default", 0.1);
24522           else
24523              set_state(PART:"elm.bar", "default", 0.0);                         
24524        }
24525     }
24526          program {
24527             name:   "button_click2";
24528             signal: "mouse,down,1";
24529             source: "over3";
24530             action: STATE_SET "clicked" 0.0;
24531             target: "over3";
24532          }
24533          program {
24534             name:   "button_unclick2";
24535             signal: "mouse,up,1";
24536             source: "over3";
24537             action: STATE_SET "default" 0.0;
24538             transition: DECELERATE 0.5;
24539             target: "over3";
24540          }
24541          program {
24542             name:   "button_unclick3";
24543             signal: "mouse,up,1";
24544             source: "over2";
24545             action: SIGNAL_EMIT "elm,action,click" "";
24546          }
24547          program {
24548             name:   "button_down_double";
24549             signal: "mouse,down,1,double";
24550             source: "over3";
24551             action: SIGNAL_EMIT "elm,action,click,double" "";
24552          }
24553
24554          //arrows animation
24555          program {
24556             name: "arrow_anim_start";
24557             action: STATE_SET "anim_1" 0.0;
24558             target: "arrow_right";
24559             target: "arrow_left";
24560             transition: LINEAR 0.6;
24561             after: "arrow_anim_1";
24562          }
24563          program {
24564             name: "arrow_anim_1";
24565             action: STATE_SET "anim_2" 0.0;
24566             target: "arrow_right";
24567             target: "arrow_left";
24568             transition: LINEAR 0.6;
24569             after: "arrow_anim_2";
24570          }
24571          program {
24572             name: "arrow_anim_2";
24573             action: STATE_SET "default" 0.0;
24574             target: "arrow_right";
24575             target: "arrow_left";
24576             after: "arrow_anim_start";
24577          }
24578          program {
24579             name: "arrow_anim_stop";
24580             action: ACTION_STOP;
24581             target: "arrow_anim_start";
24582             target: "arrow_anim_1";
24583             target: "arrow_anim_2";
24584             after: "arrow_anim_stop_1";
24585          }
24586          program {
24587             name: "arrow_anim_stop_1";
24588             action: STATE_SET "default" 0.0;
24589             target: "arrow_right";
24590             target: "arrow_left";
24591             transition: DECELERATE 0.4;
24592         }
24593         //fix the pane
24594         program {
24595            name:   "panes_fixed";
24596            signal: "elm.panes.fixed";
24597            source: "elm";
24598            action: STATE_SET "disabled" 0.0;
24599            target: "movement.decider";
24600            target: "elm.bar";
24601         }
24602         //allow the movement by interaction
24603         program {
24604            name:   "panes_unfixed";
24605            signal: "elm.panes.unfixed";
24606            source: "elm";
24607            action: STATE_SET "default" 0.0;
24608            target: "movement.decider";
24609            target: "elm.bar";
24610         }
24611         program {
24612            name:   "panes_pair";
24613            signal: "elm.panes.pair";
24614            source: "elm";
24615            script {
24616               new st[31];
24617               new Float:vl;
24618               set_int(state_pair, 1);
24619               get_state(PART:"elm.bar", st, 30, vl);
24620               set_state(PART:"elm.bar", st, 0.1);
24621            }
24622         }
24623         program {
24624            name:   "panes_unpair";
24625            signal: "elm.panes.unpair";
24626            source: "elm";
24627            script {
24628               new st[31];
24629               new Float:vl;
24630               set_int(state_pair, 0);
24631               get_state(PART:"elm.bar", st, 30, vl);
24632               set_state(PART:"elm.bar", st, 0.0);
24633            }
24634         }
24635       }
24636   }
24637
24638
24639
24640 /////////////////////////////////////////////////////////////////////////////
24641 // PANEL
24642 /////////////////////////////////////////////////////////////////////////////
24643   group {
24644      name: "elm/panel/base/left";
24645      images
24646        {
24647           image: "bt_base1.png" COMP;
24648           image: "bt_hilight.png" COMP;
24649           image: "bt_shine.png" COMP;
24650           image: "bt_glow.png" COMP;
24651           image: "bt_dis_base.png" COMP;
24652           image: "icon_arrow_left.png" COMP;
24653           image: "icon_arrow_right.png" COMP;
24654        }
24655      parts
24656        {
24657           part
24658             {
24659                name: "bg";
24660                type: RECT;
24661                mouse_events: 0;
24662                description
24663                  {
24664                     state: "default" 0.0;
24665                     color: 255 255 255 0;
24666                     rel1.offset: 30 0;
24667                     rel2.relative: 0.0 1.0;
24668                  }
24669                description
24670                  {
24671                     state: "visible" 0.0;
24672                     inherit: "default" 0.0;
24673                     rel2.relative: 1.0 1.0;
24674                  }
24675             }
24676           part
24677             {
24678                name: "base";
24679                type: IMAGE;
24680                mouse_events: 0;
24681                description
24682                  {
24683                     state: "default" 0.0;
24684                     rel2
24685                       {
24686                          offset: -20 -1;
24687                          to_x: "bg";
24688                       }
24689                     image
24690                       {
24691                          normal: "bt_dis_base.png";
24692                          border: 4 4 4 4;
24693                       }
24694                  }
24695             }
24696           part
24697             {
24698                name: "clipper";
24699                type: RECT;
24700                mouse_events: 0;
24701                description
24702                  {
24703                     state: "default" 0.0;
24704                     rel1
24705                       {
24706                          offset: 4 4;
24707                          to: "base";
24708                       }
24709                     rel2
24710                       {
24711                          offset: -5 -5;
24712                          to: "base";
24713                       }
24714                  }
24715             }
24716           part
24717             {
24718                name: "elm.swallow.content";
24719                type: SWALLOW;
24720                clip_to: "clipper";
24721                description
24722                  {
24723                     state: "default" 0.0;
24724                     rel1.to: "clipper";
24725                     rel2.to: "clipper";
24726                  }
24727             }
24728           part
24729             {
24730                name: "btn";
24731                type: IMAGE;
24732                mouse_events: 1;
24733                description
24734                  {
24735                     state: "default" 0.0;
24736                     max: 32 48;
24737                     fixed: 1 1;
24738                     align: 0.0 0.5;
24739                     rel1
24740                       {
24741                          relative: 1.0 0.0;
24742                          offset: -3 0;
24743                          to_x: "base";
24744                       }
24745                     rel2.to_x: "bg";
24746                     image
24747                       {
24748                          normal: "bt_base1.png";
24749                          border: 0 5 4 12;
24750                       }
24751                     fill.smooth: 0;
24752                  }
24753                description
24754                  {
24755                     state: "clicked" 0.0;
24756                     inherit: "default" 0.0;
24757                  }
24758             }
24759           part
24760             {
24761                name: "btn_over";
24762                type: IMAGE;
24763                mouse_events: 0;
24764                description
24765                  {
24766                     state: "default" 0.0;
24767                     rel1.to: "btn";
24768                     rel2
24769                       {
24770                          relative: 1.0 0.5;
24771                          to: "btn";
24772                       }
24773                     image
24774                       {
24775                          normal: "bt_hilight.png";
24776                          border: 0 7 7 0;
24777                       }
24778                  }
24779             }
24780           part
24781             {
24782                name: "btn_over2";
24783                type: IMAGE;
24784                mouse_events: 1;
24785                repeat_events: 1;
24786                ignore_flags: ON_HOLD;
24787                description
24788                  {
24789                     state: "default" 0.0;
24790                     rel1.to: "btn";
24791                     rel2.to: "btn";
24792                     image
24793                       {
24794                          normal: "bt_shine.png";
24795                          border: 0 7 7 7;
24796                     }
24797                  }
24798             }
24799           part
24800             {
24801                name: "btn_over3";
24802                type: IMAGE;
24803                mouse_events: 1;
24804                repeat_events: 1;
24805                description
24806                  {
24807                     state: "default" 0.0;
24808                     color: 255 255 255 0;
24809                     rel1.to: "btn";
24810                     rel2.to: "btn";
24811                     image
24812                       {
24813                        normal: "bt_glow.png";
24814                        border: 12 12 12 12;
24815                     }
24816                   fill.smooth: 0;
24817                }
24818              description
24819                {
24820                   state: "clicked" 0.0;
24821                   inherit: "default" 0.0;
24822                   visible: 1;
24823                   color: 255 255 255 255;
24824                }
24825             }
24826           part
24827             {
24828                name: "btn_icon";
24829                type: IMAGE;
24830                repeat_events: 1;
24831                description
24832                  {
24833                     state: "default" 0.0;
24834                     rel1.to: "btn";
24835                     rel2.to: "btn";
24836                     align: 0.5 0.5;
24837                     min: 16 16;
24838                     max: 16 16;
24839                     image.normal: "icon_arrow_right.png";
24840                  }
24841                description
24842                  {
24843                     state: "visible" 0.0;
24844                     inherit: "default" 0.0;
24845                     image.normal: "icon_arrow_left.png";
24846                  }
24847             }
24848        }
24849      programs
24850        {
24851           program
24852             {
24853                name: "show";
24854                signal: "elm,action,show";
24855                source: "elm";
24856                action: STATE_SET "visible" 0.0;
24857                target: "bg";
24858                target: "btn_icon";
24859                transition: LINEAR 0.5;
24860             }
24861           program
24862             {
24863                name: "show2";
24864                signal: "show";
24865                action: STATE_SET "default" 0.0;
24866                target: "bg";
24867                target: "btn_icon";
24868                after: "show3";
24869             }
24870           program
24871             {
24872                name: "show3";
24873                action: STATE_SET "visible" 0.0;
24874                target: "bg";
24875                target: "btn_icon";
24876                transition: LINEAR 0.5;
24877             }
24878           program
24879             {
24880                name: "hide";
24881                signal: "elm,action,hide";
24882                source: "elm";
24883                action: STATE_SET "default" 0.0;
24884                target: "bg";
24885                target: "btn_icon";
24886                transition: LINEAR 0.5;
24887             }
24888           program
24889             {
24890                name: "btn_click";
24891                signal: "mouse,down,1";
24892                source: "btn_over2";
24893                action: STATE_SET "clicked" 0.0;
24894                target: "btn";
24895             }
24896           program
24897             {
24898                name: "btn_unclick";
24899                signal: "mouse,up,1";
24900                source: "btn_over2";
24901                action: STATE_SET "default" 0.0;
24902                target: "btn";
24903             }
24904           program
24905             {
24906                name: "btn_click2";
24907                signal: "mouse,down,1";
24908                source: "btn_over3";
24909                action: STATE_SET "clicked" 0.0;
24910                target: "btn_over3";
24911             }
24912           program
24913             {
24914                name: "btn_unclick2";
24915                signal: "mouse,up,1";
24916                source: "btn_over3";
24917                action: STATE_SET "default" 0.0;
24918                transition: DECELERATE 0.5;
24919                target: "btn_over3";
24920             }
24921           program
24922             {
24923                name: "btn_unclick3";
24924                signal: "mouse,up,1";
24925                source: "btn_over2";
24926                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
24927             }
24928        }
24929   }
24930
24931   group {
24932      name: "elm/panel/base/right";
24933      images
24934        {
24935           image: "bt_base1.png" COMP;
24936           image: "bt_hilight.png" COMP;
24937           image: "bt_shine.png" COMP;
24938           image: "bt_glow.png" COMP;
24939           image: "bt_dis_base.png" COMP;
24940           image: "icon_arrow_left.png" COMP;
24941           image: "icon_arrow_right.png" COMP;
24942        }
24943      parts
24944        {
24945           part
24946             {
24947                name: "bg";
24948                type: RECT;
24949                mouse_events: 0;
24950                description
24951                  {
24952                     state: "default" 0.0;
24953                     color: 255 255 255 0;
24954                     rel1.relative: 1 0;
24955                     rel2.offset: -31 0;
24956                  }
24957                description
24958                  {
24959                     state: "visible" 0.0;
24960                     inherit: "default" 0.0;
24961                     rel1.relative: 0 0;
24962                  }
24963             }
24964           part
24965             {
24966                name: "base";
24967                type: IMAGE;
24968                mouse_events: 0;
24969                description
24970                  {
24971                     state: "default" 0.0;
24972                     rel1
24973                       {
24974                          offset: 20 0;
24975                          to_x: "bg";
24976                       }
24977                     rel2.offset: -1 -1;
24978                     image
24979                       {
24980                          normal: "bt_dis_base.png";
24981                          border: 4 4 4 4;
24982                       }
24983                  }
24984             }
24985           part
24986             {
24987                name: "clipper";
24988                type: RECT;
24989                mouse_events: 0;
24990                description
24991                  {
24992                     state: "default" 0.0;
24993                     rel1
24994                       {
24995                          offset: 4 4;
24996                          to: "base";
24997                       }
24998                     rel2
24999                       {
25000                          offset: -5 -5;
25001                          to: "base";
25002                       }
25003                  }
25004             }
25005           part
25006             {
25007                name: "elm.swallow.content";
25008                type: SWALLOW;
25009                clip_to: "clipper";
25010                description
25011                  {
25012                     state: "default" 0.0;
25013                     rel1.to: "clipper";
25014                     rel2.to: "clipper";
25015                  }
25016             }
25017           part
25018             {
25019                name: "btn";
25020                type: IMAGE;
25021                mouse_events: 1;
25022                description
25023                  {
25024                     state: "default" 0.0;
25025                     max: 32 48;
25026                     fixed: 1 1;
25027                     align: 1 0.5;
25028                     rel1
25029                       {
25030                          to_x: "bg";
25031                       }
25032                     rel2
25033                       {
25034                          offset: 2 0;
25035                          relative: 0.0 1;
25036                          to_x: "base";
25037                       }
25038                     image
25039                       {
25040                          normal: "bt_base1.png";
25041                          border: 5 0 4 12;
25042                       }
25043                     fill.smooth: 0;
25044                  }
25045                description
25046                  {
25047                     state: "clicked" 0.0;
25048                     inherit: "default" 0.0;
25049                  }
25050             }
25051           part
25052             {
25053                name: "btn_over";
25054                type: IMAGE;
25055                mouse_events: 0;
25056                description
25057                  {
25058                     state: "default" 0.0;
25059                     rel1.to: "btn";
25060                     rel2
25061                       {
25062                          relative: 1.0 0.5;
25063                          to: "btn";
25064                       }
25065                     image
25066                       {
25067                          normal: "bt_hilight.png";
25068                          border: 7 0 7 0;
25069                       }
25070                  }
25071             }
25072           part
25073             {
25074                name: "btn_over2";
25075                type: IMAGE;
25076                mouse_events: 1;
25077                repeat_events: 1;
25078                ignore_flags: ON_HOLD;
25079                description
25080                  {
25081                     state: "default" 0.0;
25082                     rel1.to: "btn";
25083                     rel2.to: "btn";
25084                     image
25085                       {
25086                          normal: "bt_shine.png";
25087                          border: 7 0 7 7;
25088                     }
25089                  }
25090             }
25091           part
25092             {
25093                name: "btn_over3";
25094                type: IMAGE;
25095                mouse_events: 1;
25096                repeat_events: 1;
25097                description
25098                  {
25099                     state: "default" 0.0;
25100                     color: 255 255 255 0;
25101                     rel1.to: "btn";
25102                     rel2.to: "btn";
25103                     image
25104                       {
25105                        normal: "bt_glow.png";
25106                        border: 12 12 12 12;
25107                     }
25108                   fill.smooth: 0;
25109                }
25110              description
25111                {
25112                   state: "clicked" 0.0;
25113                   inherit: "default" 0.0;
25114                   visible: 1;
25115                   color: 255 255 255 255;
25116                }
25117             }
25118           part
25119             {
25120                name: "btn_icon";
25121                type: IMAGE;
25122                repeat_events: 1;
25123                description
25124                  {
25125                     state: "default" 0.0;
25126                     rel1.to: "btn";
25127                     rel2.to: "btn";
25128                     align: 0.5 0.5;
25129                     min: 16 16;
25130                     max: 16 16;
25131                     image.normal: "icon_arrow_left.png";
25132                  }
25133                description
25134                  {
25135                     state: "visible" 0.0;
25136                     inherit: "default" 0.0;
25137                     image.normal: "icon_arrow_right.png";
25138                  }
25139             }
25140        }
25141      programs
25142        {
25143           program
25144             {
25145                name: "show";
25146                signal: "elm,action,show";
25147                source: "elm";
25148                action: STATE_SET "visible" 0.0;
25149                target: "bg";
25150                target: "btn_icon";
25151                transition: LINEAR 0.5;
25152             }
25153           program
25154             {
25155                name: "show2";
25156                signal: "show";
25157                action: STATE_SET "default" 0.0;
25158                target: "bg";
25159                target: "btn_icon";
25160                after: "show3";
25161             }
25162           program
25163             {
25164                name: "show3";
25165                action: STATE_SET "visible" 0.0;
25166                target: "bg";
25167                target: "btn_icon";
25168                transition: LINEAR 0.5;
25169             }
25170           program
25171             {
25172                name: "hide";
25173                signal: "elm,action,hide";
25174                source: "elm";
25175                action: STATE_SET "default" 0.0;
25176                target: "bg";
25177                target: "btn_icon";
25178                transition: LINEAR 0.5;
25179             }
25180           program
25181             {
25182                name: "btn_click";
25183                signal: "mouse,down,1";
25184                source: "btn_over2";
25185                action: STATE_SET "clicked" 0.0;
25186                target: "btn";
25187             }
25188           program
25189             {
25190                name: "btn_unclick";
25191                signal: "mouse,up,1";
25192                source: "btn_over2";
25193                action: STATE_SET "default" 0.0;
25194                target: "btn";
25195             }
25196           program
25197             {
25198                name: "btn_click2";
25199                signal: "mouse,down,1";
25200                source: "btn_over3";
25201                action: STATE_SET "clicked" 0.0;
25202                target: "btn_over3";
25203             }
25204           program
25205             {
25206                name: "btn_unclick2";
25207                signal: "mouse,up,1";
25208                source: "btn_over3";
25209                action: STATE_SET "default" 0.0;
25210                transition: DECELERATE 0.5;
25211                target: "btn_over3";
25212             }
25213           program
25214             {
25215                name: "btn_unclick3";
25216                signal: "mouse,up,1";
25217                source: "btn_over2";
25218                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
25219             }
25220        }
25221   }
25222
25223 ///////////////////////////////////////////////////////////////////////////////
25224   group { name: "elm/conformant/base/default";
25225      parts {
25226         part { name: "elm.swallow.shelf";
25227            type: SWALLOW;
25228            description { state: "default" 0.0;
25229               fixed: 1 1;
25230               align: 0.0 0.0;
25231               rel2.relative: 1.0 0.0;
25232            }
25233         }
25234         part { name: "elm.swallow.content";
25235            type: SWALLOW;
25236            description { state: "default" 0.0;
25237               align: 0.5 0.5;
25238               rel1.relative: 0.0 1.0;
25239               rel1.to_y: "elm.swallow.shelf";
25240               rel2.relative: 1.0 0.0;
25241               rel2.to_y: "elm.swallow.panel";
25242            }
25243         }
25244         part { name: "elm.swallow.panel";
25245            type: SWALLOW;
25246            description { state: "default" 0.0;
25247               fixed: 1 1;
25248               align: 0.0 1.0;
25249               rel1.relative: 0.0 1.0;
25250            }
25251         }
25252      }
25253   }
25254
25255
25256 /////////////////////////////////////////////////////////////////////////////
25257 // CALENDAR
25258 /////////////////////////////////////////////////////////////////////////////
25259 #define CH(_pos) \
25260          part { name: "ch_"#_pos".base"; \
25261             type: RECT; \
25262             description { state: "default" 0.0; \
25263                rel1 { \
25264                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
25265                   to: "header"; \
25266                } \
25267                rel2 { \
25268                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
25269                   to: "header"; \
25270                } \
25271                color: 0 0 0 0; \
25272                visible: 0; \
25273             } \
25274          } \
25275          part { name: "ch_"#_pos".text"; \
25276             type: TEXT; \
25277             effect: SOFT_SHADOW; \
25278             mouse_events: 0; \
25279             scale: 1; \
25280             clip_to: "ch_"#_pos".clipper"; \
25281             description { \
25282                state: "default" 0.0; \
25283                rel1.to: "ch_"#_pos".base"; \
25284                rel2.to: "ch_"#_pos".base"; \
25285                color: 0 0 0 255; \
25286                color3: 0 0 0 0; \
25287                text { \
25288                   font: "Sans"; \
25289                   size: 10; \
25290                   min: 1 1; \
25291                   align: 0.5 0.5; \
25292                } \
25293             } \
25294          } \
25295          part { name: "ch_"#_pos".clipper"; \
25296             type: RECT; \
25297             description { state: "default" 0.0; \
25298                rel1.to: "ch_"#_pos".base"; \
25299                rel2.to: "ch_"#_pos".base"; \
25300             } \
25301          }
25302
25303 #define CIT(_pos) \
25304          part { name: "cit_"#_pos".rect"; \
25305             type: RECT; \
25306             description { state: "default" 0.0; \
25307                rel1 { \
25308                   relative: (_pos % 7 * 7 / 8 / 6) \
25309                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
25310                   to: "base"; \
25311                } \
25312                rel2 { \
25313                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
25314                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
25315                   to: "base"; \
25316                } \
25317                color: 0 0 0 0; \
25318                visible: 0; \
25319             } \
25320          } \
25321          part { \
25322             name: "cit_"#_pos".event"; \
25323             type: RECT; \
25324             repeat_events: 1; \
25325             description { \
25326                rel1.to: "cit_"#_pos".rect"; \
25327                rel2.to: "cit_"#_pos".rect"; \
25328                state: "default" 0.0; \
25329                color: 0 0 0 0; \
25330             } \
25331          } \
25332          part { name: "cit_"#_pos".shelf"; \
25333             type: RECT; \
25334             mouse_events: 0; \
25335             description { state: "default" 0.0; \
25336                rel1 { \
25337                   to: "cit_"#_pos".bg"; \
25338                   offset: -1 -1; \
25339                } \
25340                rel2 { \
25341                   to: "cit_"#_pos".bg"; \
25342                } \
25343                color: 200 200 200 255; \
25344             } \
25345          } \
25346          part { name: "cit_"#_pos".hd"; \
25347             type: RECT; \
25348             mouse_events: 0; \
25349             description { state: "default" 0.0; \
25350                rel1 { \
25351                   to: "cit_"#_pos".bg"; \
25352                   offset: -1 -1; \
25353                } \
25354                rel2 { \
25355                   to: "cit_"#_pos".bg"; \
25356                } \
25357                visible: 0; \
25358                color: 160 0 0 255; \
25359             } \
25360             description { state: "visible" 0.0; \
25361                inherit: "default" 0.0; \
25362                visible: 1; \
25363             } \
25364          } \
25365          part { \
25366             name: "cit_"#_pos".base_sh"; \
25367             mouse_events: 0; \
25368             description { \
25369                state: "default" 0.0; \
25370                align: 0.0 0.0; \
25371                min: 0 1; \
25372                rel1 { \
25373                   to: "cit_"#_pos".base"; \
25374                   relative: 0.0 1.0; \
25375                   offset: 0 0; \
25376                } \
25377                rel2 { \
25378                   to: "cit_"#_pos".base"; \
25379                   relative: 1.0 1.05; \
25380                   offset: -1 0; \
25381                } \
25382                image { \
25383                   normal: "ilist_item_shadow.png"; \
25384                } \
25385                fill.smooth: 0; \
25386             } \
25387          } \
25388          part { \
25389             name: "cit_"#_pos".base"; \
25390             mouse_events: 0; \
25391             description { \
25392                state: "default" 0.0; \
25393                rel1.to: "cit_"#_pos".rect"; \
25394                rel2.to: "cit_"#_pos".rect"; \
25395                rel2.offset: -1 -1; \
25396                image { \
25397                   normal: "ilist_1.png"; \
25398                   border: 2 2 2 2; \
25399                } \
25400                fill.smooth: 0; \
25401             } \
25402             description { \
25403                state: "today" 0.0; \
25404                inherit: "default" 0.0; \
25405                image.normal: "ilist_2.png"; \
25406                color: 240 240 240 255; \
25407             } \
25408          } \
25409          part { name: "cit_"#_pos".bg"; \
25410             mouse_events: 0; \
25411             description { state: "default" 0.0; \
25412                visible: 0; \
25413                color: 255 255 255 0; \
25414                rel1 { \
25415                   to: "cit_"#_pos".rect"; \
25416                   relative: 0.0 0.0; \
25417                } \
25418                rel2 { \
25419                   to: "cit_"#_pos".rect"; \
25420                   relative: 1.0 1.0; \
25421                   offset: -1 -1; \
25422                } \
25423                image { \
25424                   normal: "bt_sm_base1.png"; \
25425                   border: 6 6 6 6; \
25426                } \
25427                image.middle: SOLID; \
25428             } \
25429             description { state: "selected" 0.0; \
25430                inherit: "default" 0.0; \
25431                visible: 1; \
25432                color: 255 255 255 255; \
25433             } \
25434          } \
25435          part { name: "cit_"#_pos".text"; \
25436             type: TEXT; \
25437             effect: SOFT_SHADOW; \
25438             mouse_events: 0; \
25439             scale: 1; \
25440             description { \
25441                state: "default" 0.0; \
25442                rel1.to: "cit_"#_pos".bg"; \
25443                rel2.to: "cit_"#_pos".bg"; \
25444                color: 0 0 0 255; \
25445                color3: 0 0 0 0; \
25446                text { \
25447                   font: "Sans"; \
25448                   size: 10; \
25449                   min: 1 1; \
25450                   align: 0.5 0.5; \
25451                } \
25452             } \
25453             description { state: "selected" 0.0; \
25454                inherit: "default" 0.0; \
25455                color: 224 224 224 255; \
25456                color3: 0 0 0 64; \
25457             } \
25458          } \
25459          part { name: "cit_"#_pos".fg1"; \
25460             mouse_events: 0; \
25461             description { state: "default" 0.0; \
25462                visible: 0; \
25463                color: 255 255 255 0; \
25464                rel1.to: "cit_"#_pos".bg"; \
25465                rel2.relative: 1.0 0.5; \
25466                rel2.to: "cit_"#_pos".bg"; \
25467                image { \
25468                   normal: "bt_sm_hilight.png"; \
25469                   border: 6 6 6 0; \
25470                } \
25471             } \
25472             description { state: "selected" 0.0; \
25473                inherit: "default" 0.0; \
25474                visible: 1; \
25475                color: 255 255 255 255; \
25476             } \
25477          } \
25478          part { name: "cit_"#_pos".fg2"; \
25479             mouse_events: 0; \
25480             description { state: "default" 0.0; \
25481                visible: 0; \
25482                color: 255 255 255 0; \
25483                rel1.to: "cit_"#_pos".bg"; \
25484                rel2.to: "cit_"#_pos".bg"; \
25485                image { \
25486                   normal: "bt_sm_shine.png"; \
25487                   border: 6 6 6 0; \
25488                } \
25489             } \
25490             description { state: "selected" 0.0; \
25491                inherit: "default" 0.0; \
25492                visible: 1; \
25493                color: 255 255 255 255; \
25494             } \
25495          } \
25496          part { name: "cit_"#_pos".check"; \
25497             mouse_events: 0; \
25498             description { state: "default" 0.0; \
25499                rel1 { \
25500                   to: "cit_"#_pos".bg"; \
25501                   relative: 0.7 0.6; \
25502                   offset: 1 1; \
25503                } \
25504                rel2 { \
25505                   to: "cit_"#_pos".bg"; \
25506                   relative: 1.1 1.2; \
25507                   offset: -2 -2; \
25508                } \
25509                aspect: 1 1; \
25510                visible: 0; \
25511                color: 255 0 0 255; \
25512                image.normal: "check.png"; \
25513             } \
25514             description { state: "visible" 0.0; \
25515                inherit: "default" 0.0; \
25516                visible: 1; \
25517             } \
25518          } \
25519       programs { \
25520          program { \
25521             name:    "cit_"#_pos".go_active"; \
25522             signal:  "cit_"#_pos",selected"; \
25523             source:  "elm"; \
25524             action:  STATE_SET "selected" 0.0; \
25525             target:  "cit_"#_pos".bg"; \
25526             target:  "cit_"#_pos".fg1"; \
25527             target:  "cit_"#_pos".fg2"; \
25528             target:  "cit_"#_pos".text"; \
25529          } \
25530          program { \
25531             name:    "cit_"#_pos".go_passive"; \
25532             signal:  "cit_"#_pos",unselected"; \
25533             source:  "elm"; \
25534             action:  STATE_SET "default" 0.0; \
25535             target:  "cit_"#_pos".bg"; \
25536             target:  "cit_"#_pos".fg1"; \
25537             target:  "cit_"#_pos".fg2"; \
25538             target:  "cit_"#_pos".text"; \
25539          } \
25540          program { \
25541             name:    "cit_"#_pos".is_today"; \
25542             signal:  "cit_"#_pos",today"; \
25543             source:  "elm"; \
25544             action:  STATE_SET "today" 0.0; \
25545             target: "cit_"#_pos".base"; \
25546          } \
25547          program { \
25548             name:    "cit_"#_pos".not_today"; \
25549             signal:  "cit_"#_pos",not_today"; \
25550             source:  "elm"; \
25551             action:  STATE_SET "default" 0.0; \
25552             target: "cit_"#_pos".base"; \
25553          } \
25554          program { \
25555             source: "cit_"#_pos".clicked"; \
25556             signal: "mouse,clicked,1"; \
25557             source: "cit_"#_pos".event"; \
25558             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
25559          } \
25560          program { \
25561             name:    "cit_"#_pos".clear"; \
25562             signal:  "cit_"#_pos",clear"; \
25563             source:  "elm"; \
25564             action:  STATE_SET "default" 0.0; \
25565             target: "cit_"#_pos".check"; \
25566             target: "cit_"#_pos".hd"; \
25567          } \
25568          program { \
25569             name:    "cit_"#_pos".checked"; \
25570             signal:  "cit_"#_pos",checked"; \
25571             source:  "elm"; \
25572             action:  STATE_SET "visible" 0.0; \
25573             target: "cit_"#_pos".check"; \
25574          } \
25575          program { \
25576             name:    "cit_"#_pos".holiday"; \
25577             signal:  "cit_"#_pos",holiday"; \
25578             source:  "elm"; \
25579             action:  STATE_SET "visible" 0.0; \
25580             target: "cit_"#_pos".hd"; \
25581          } \
25582       }
25583
25584    group { name: "elm/calendar/base/default";
25585        images {
25586            image: "shelf_inset.png" COMP;
25587            image: "bt_base1.png" COMP;
25588            image: "bt_hilight.png" COMP;
25589            image: "bt_shine.png" COMP;
25590            image: "bt_glow.png" COMP;
25591            image: "bt_dis_base.png" COMP;
25592            image: "bt_dis_hilight.png" COMP;
25593            image: "sp_bt_l.png" COMP;
25594            image: "sp_bt_r.png" COMP;
25595            image: "bt_sm_base1.png" COMP;
25596            image: "bt_sm_shine.png" COMP;
25597            image: "bt_sm_hilight.png" COMP;
25598            image: "ilist_1.png" COMP;
25599            image: "ilist_2.png" COMP;
25600            image: "ilist_item_shadow.png" COMP;
25601            image: "check.png" COMP;
25602        }
25603        parts {
25604            part { name: "bg";
25605                type: RECT;
25606                description { state: "default" 0.0;
25607                    min: 0 30;
25608                    rel1.offset: 1 1;
25609                    rel2.offset: -2 -2;
25610                    color: 255 255 255 0;
25611                    align: 0.0 0.5;
25612                }
25613            }
25614            part { name: "spinner-base";
25615                type: RECT;
25616                mouse_events: 0;
25617                description { state: "default" 0.0;
25618                    min: 24 24;
25619                    max: 999999 24;
25620                    rel1.to: "bg";
25621                    rel1.offset: 6 6;
25622                    rel2.to: "bg";
25623                    rel2.offset: -7 -7;
25624                    color: 255 255 255 0;
25625                    align: 0.0 0.0;
25626                }
25627            }
25628            part { name: "conf_over_spinner";
25629                mouse_events:  0;
25630                description { state: "default" 0.0;
25631                    rel1.to: "spinner-base";
25632                    rel1.offset: -3 -3;
25633                    rel2.to: "spinner-base";
25634                    rel2.offset: 2 2;
25635                    image {
25636                        normal: "shelf_inset.png";
25637                        border: 7 7 7 7;
25638                        middle: 0;
25639                    }
25640                    fill.smooth : 0;
25641                }
25642            }
25643            part { name: "table-base";
25644                type: RECT;
25645                mouse_events: 0;
25646                description { state: "default" 0.0;
25647                    min: 256 220;
25648                    rel1.to_x: "bg";
25649                    rel1.to_y: "spinner-base";
25650                    rel1.offset: 6 6;
25651                    rel1.relative: 0 1;
25652                    rel2.to: "bg";
25653                    rel2.offset: -7 -7;
25654                    color: 255 255 255 0;
25655                }
25656            }
25657            part { name: "conf_over_table";
25658                mouse_events:  0;
25659                description { state: "default" 0.0;
25660                    rel1.to: "table-base";
25661                    rel1.offset: -3 -3;
25662                    rel2.to: "table-base";
25663                    rel2.offset: 2 2;
25664                    image {
25665                        normal: "shelf_inset.png";
25666                        border: 7 7 7 7;
25667                        middle: 0;
25668                    }
25669                    fill.smooth : 0;
25670                }
25671            }
25672            part { name: "header";
25673                type: RECT;
25674                mouse_events: 0;
25675                description { state: "default" 0.0;
25676                    rel1.to: "table-base";
25677                    rel1.relative: 0 0;
25678                    rel2.to: "table-base";
25679                    rel2.relative: 1 0.1;
25680                    color: 255 255 255 0;
25681                }
25682            }
25683            part { name: "base";
25684                type: RECT;
25685                mouse_events: 0;
25686                description { state: "default" 0.0;
25687                    rel1.to_x: "table-base";
25688                    rel1.to_y: "header";
25689                    rel1.relative: 0 1;
25690                    rel1.offset: 3 0;
25691                    rel2.to: "table-base";
25692                    rel2.offset: -3 0;
25693                    color: 255 255 255 0;
25694                }
25695            }
25696            part { name: "left_bt";
25697                mouse_events:  1;
25698                description { state: "default" 0.0;
25699                    rel1 { to: "spinner-base";
25700                        offset: 2 2;
25701                    }
25702                    rel2 { to: "spinner-base";
25703                        offset: -3 -3;
25704                    }
25705                    align: 0.0 0.5;
25706                    min: 24 24;
25707                    max: 24 24;
25708                    fixed: 1 1;
25709                    image {
25710                        normal: "bt_base1.png";
25711                        border: 6 6 6 6;
25712                    }
25713                    fill.smooth : 0;
25714                }
25715                description { state: "clicked" 0.0;
25716                    inherit: "default" 0.0;
25717                    image.normal: "bt_base1.png";
25718                    image.middle: SOLID;
25719                }
25720            }
25721            part { name: "left_over1";
25722                mouse_events: 0;
25723                description { state: "default" 0.0;
25724                    rel1.to: "left_bt";
25725                    rel2 { to: "left_bt";
25726                        relative: 1.0 0.5;
25727                    }
25728                    image {
25729                        normal: "bt_hilight.png";
25730                        border: 7 7 7 0;
25731                    }
25732                }
25733            }
25734            part { name: "left_over2";
25735                mouse_events: 1;
25736                repeat_events: 1;
25737                description { state: "default" 0.0;
25738                    rel1.to: "left_bt";
25739                    rel2.to: "left_bt";
25740                    image {
25741                        normal: "bt_shine.png";
25742                        border: 7 7 7 7;
25743                    }
25744                }
25745            }
25746            part { name: "left_over3";
25747                mouse_events: 1;
25748                repeat_events: 1;
25749                description { state: "default" 0.0;
25750                    color: 255 255 255 0;
25751                    rel1.to: "left_bt";
25752                    rel2.to: "left_bt";
25753                    image {
25754                        normal: "bt_glow.png";
25755                        border: 12 12 12 12;
25756                    }
25757                    fill.smooth : 0;
25758                }
25759                description { state: "clicked" 0.0;
25760                    inherit:  "default" 0.0;
25761                    visible: 1;
25762                    color: 255 255 255 255;
25763                }
25764            }
25765            part { name: "right_bt";
25766                mouse_events:  1;
25767                description { state: "default" 0.0;
25768                    rel1 { to: "spinner-base";
25769                        offset: -27 3;
25770                    }
25771                    rel2 { to: "spinner-base";
25772                        offset: -3 -3;
25773                    }
25774                    align: 1.0 0.5;
25775                    min: 24 24;
25776                    max: 24 24;
25777                    fixed: 1 1;
25778                    image {
25779                        normal: "bt_base1.png";
25780                        border: 5 5 4 12;
25781                    }
25782                    fill.smooth : 0;
25783                }
25784                description { state: "clicked" 0.0;
25785                    inherit: "default" 0.0;
25786                    image.normal: "bt_base1.png";
25787                    image.middle: SOLID;
25788                }
25789            }
25790            part { name: "right_over1";
25791                mouse_events: 0;
25792                description { state: "default" 0.0;
25793                    rel1.to: "right_bt";
25794                    rel2 { to: "right_bt";
25795                        relative: 1.0 0.5;
25796                    }
25797                    image {
25798                        normal: "bt_hilight.png";
25799                        border: 7 7 7 0;
25800                    }
25801                }
25802            }
25803            part { name: "right_over2";
25804                mouse_events: 1;
25805                repeat_events: 1;
25806                description { state: "default" 0.0;
25807                    rel1.to: "right_bt";
25808                    rel2.to: "right_bt";
25809                    image {
25810                        normal: "bt_shine.png";
25811                        border: 7 7 7 7;
25812                    }
25813                }
25814            }
25815            part { name: "right_over3";
25816                mouse_events: 1;
25817                repeat_events: 1;
25818                description { state: "default" 0.0;
25819                    color: 255 255 255 0;
25820                    rel1.to: "right_bt";
25821                    rel2.to: "right_bt";
25822                    image {
25823                        normal: "bt_glow.png";
25824                        border: 12 12 12 12;
25825                    }
25826                    fill.smooth : 0;
25827                }
25828                description { state: "clicked" 0.0;
25829                    inherit:  "default" 0.0;
25830                    visible: 1;
25831                    color: 255 255 255 255;
25832                }
25833            }
25834            part { name: "left_bt_icon";
25835                repeat_events: 1;
25836                description { state: "default" 0.0;
25837                    rel1.to: "left_bt";
25838                    rel2.to: "left_bt";
25839                    align: 0.5 0.5;
25840                    min: 16 16;
25841                    max: 16 16;
25842                    image.normal: "sp_bt_l.png";
25843                }
25844            }
25845            part { name: "right_bt_icon";
25846                repeat_events: 1;
25847                description { state: "default" 0.0;
25848                    rel1.to: "right_bt";
25849                    rel2.to: "right_bt";
25850                    align: 0.5 0.5;
25851                    min: 16 16;
25852                    max: 16 16;
25853                    image.normal: "sp_bt_r.png";
25854                }
25855            }
25856            part { name: "month_text";
25857                type: TEXT;
25858                mouse_events: 0;
25859                scale: 1;
25860                description { state: "default" 0.0;
25861                    align: 0 0.5;
25862                    fixed: 1 1;
25863                    rel1 { relative: 1.0 0.0;
25864                        offset: 3 2;
25865                        to: "left_bt";
25866                        to_y: "spinner-base";
25867                    }
25868                    rel2 { relative: 0.0 1.0;
25869                        offset: -3 -2;
25870                        to_x: "right_bt";
25871                        to_y: "spinner-base";
25872                    }
25873                    color: 0 0 0 255;
25874                    text {
25875                        font: "Sans,Edje-Vera";
25876                        size: 12;
25877                        min: 1 1;
25878                        align: 0.5 0.5;
25879                    }
25880                }
25881            }
25882            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
25883            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
25884            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
25885            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
25886            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
25887            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
25888            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
25889        }
25890        programs {
25891            program { name: "dec_start";
25892                signal: "mouse,down,1";
25893                source: "left_bt";
25894                action: SIGNAL_EMIT "elm,action,decrement,start" "";
25895            }
25896            program { name: "dec_stop";
25897                signal: "mouse,up,1";
25898                source: "left_bt";
25899                action: SIGNAL_EMIT "elm,action,stop" "";
25900            }
25901            program { name: "inc_start";
25902                signal: "mouse,down,1";
25903                source: "right_bt";
25904                action: SIGNAL_EMIT "elm,action,increment,start" "";
25905            }
25906            program { name: "inc_stop";
25907                signal: "mouse,up,1";
25908                source: "right_bt";
25909                action: SIGNAL_EMIT "elm,action,stop" "";
25910            }
25911            program {
25912                name:   "left_bt_click";
25913                signal: "mouse,down,1";
25914                source: "left_over2";
25915                action: STATE_SET "clicked" 0.0;
25916                target: "left_bt";
25917            }
25918            program {
25919                name:   "left_bt_unclick";
25920                signal: "mouse,up,1";
25921                source: "left_over2";
25922                action: STATE_SET "default" 0.0;
25923                target: "left_bt";
25924            }
25925            program {
25926                name:   "left_bt_click2";
25927                signal: "mouse,down,1";
25928                source: "left_over3";
25929                action: STATE_SET "clicked" 0.0;
25930                target: "left_over3";
25931            }
25932            program {
25933                name:   "left_bt_unclick2";
25934                signal: "mouse,up,1";
25935                source: "left_over3";
25936                action: STATE_SET "default" 0.0;
25937                transition: DECELERATE 0.5;
25938                target: "left_over3";
25939            }
25940            program {
25941                name:   "right_bt_click";
25942                signal: "mouse,down,1";
25943                source: "right_over2";
25944                action: STATE_SET "clicked" 0.0;
25945                target: "right_bt";
25946            }
25947            program {
25948                name:   "right_bt_unclick";
25949                signal: "mouse,up,1";
25950                source: "right_over2";
25951                action: STATE_SET "default" 0.0;
25952                target: "right_bt";
25953            }
25954            program {
25955                name:   "right_bt_click2";
25956                signal: "mouse,down,1";
25957                source: "right_over3";
25958                action: STATE_SET "clicked" 0.0;
25959                target: "right_over3";
25960            }
25961            program {
25962                name:   "right_bt_unclick2";
25963                signal: "mouse,up,1";
25964                source: "right_over3";
25965                action: STATE_SET "default" 0.0;
25966                transition: DECELERATE 0.5;
25967                target: "right_over3";
25968            }
25969        }
25970    }
25971
25972 #undef CIT
25973 #undef CH