[elm_label] refine string manipulation
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 collections {
10
11 ///////////////////////////////////////////////////////////////////////////////
12    group { name: "elm/bg/base/default";
13       images {
14          image: "dia_grad.png" COMP;
15          image: "dia_topshad.png" COMP;
16          image: "dia_botshad.png" COMP;
17       }
18       parts {
19          part { name: "base";
20             mouse_events:  0;
21             description { state: "default" 0.0;
22                image.normal: "dia_grad.png";
23                fill {
24                   smooth: 0;
25                   size {
26                      relative: 0.0 1.0;
27                      offset: 64 0;
28                   }
29                }
30             }
31          }
32          part { name: "elm.swallow.background";
33             type: SWALLOW;
34             description { state: "default" 0.0;
35             }
36          }
37          part { name: "shadow";
38             mouse_events:  0;
39             description { state: "default" 0.0;
40                rel2.relative: 1.0 0.0;
41                rel2.offset: -1 31;
42                image.normal: "dia_topshad.png";
43                fill {
44                   smooth: 0;
45                   size {
46                      relative: 0.0 1.0;
47                      offset: 64 0;
48                   }
49                }
50             }
51          }
52          part { name: "shadow2";
53             mouse_events:  0;
54             description { state: "default" 0.0;
55                rel1.relative: 0.0 1.0;
56                rel1.offset: 0 -4;
57                image.normal: "dia_botshad.png";
58                fill {
59                   smooth: 0;
60                   size {
61                      relative: 0.0 1.0;
62                      offset: 64 0;
63                   }
64                }
65             }
66          }
67          part { name: "elm.swallow.content";
68             type: SWALLOW;
69             description { state: "default" 0.0;
70                rel1.offset:  4 4;
71                rel2.offset: -5 -5;
72             }
73          }
74       }
75    }
76
77 ///////////////////////////////////////////////////////////////////////////////
78    group { name: "elm/scroller/base/default";
79
80       alias: "elm/list/base/default";
81       alias: "elm/genlist/base/default";
82       alias: "elm/carousel/base/default";
83       alias: "elm/gengrid/base/default";
84
85       script {
86          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
87          public timer0(val) {
88             new v;
89             v = get_int(sbvis_v);
90             if (v) {
91                v = get_int(sbalways_v);
92                if (!v) {
93                   emit("do-hide-vbar", "");
94                   set_int(sbvis_v, 0);
95                }
96             }
97             v = get_int(sbvis_h);
98             if (v) {
99                v = get_int(sbalways_h);
100                if (!v) {
101                   emit("do-hide-hbar", "");
102                   set_int(sbvis_h, 0);
103                }
104             }
105             set_int(sbvis_timer, 0);
106             return 0;
107          }
108       }
109       images {
110          image: "shelf_inset.png" COMP;
111          image: "bt_sm_base2.png" COMP;
112          image: "bt_sm_shine.png" COMP;
113          image: "bt_sm_hilight.png" COMP;
114          image: "sb_runnerh.png" COMP;
115          image: "sb_runnerv.png" COMP;
116       }
117       parts {
118          part { name: "bg";
119             type: RECT;
120             description { state: "default" 0.0;
121                rel1.offset: 1 1;
122                rel2.offset: -2 -2;
123                color: 255 255 255 0;
124             }
125          }
126          part { name: "clipper";
127             type: RECT;
128             mouse_events: 0;
129             description { state: "default" 0.0;
130                rel1.to: "bg";
131                rel2.to: "bg";
132             }
133          }
134          part { name: "elm.swallow.content";
135             clip_to: "clipper";
136             type: SWALLOW;
137             description { state: "default" 0.0;
138                rel1.offset: 1 1;
139                rel2.offset: -2 -2;
140             }
141          }
142          part { name: "conf_over";
143             mouse_events:  0;
144             description { state: "default" 0.0;
145                rel1.offset: 0 0;
146                rel2.offset: -1 -1;
147                image {
148                   normal: "shelf_inset.png";
149                   border: 7 7 7 7;
150                   middle: 0;
151                }
152                fill.smooth : 0;
153             }
154          }
155          part { name: "sb_vbar_clip_master";
156             type: RECT;
157             mouse_events: 0;
158             description { state: "default" 0.0;
159             }
160             description { state: "hidden" 0.0;
161                visible: 0;
162                color: 255 255 255 0;
163             }
164          }
165          part { name: "sb_vbar_clip";
166             clip_to: "sb_vbar_clip_master";
167             type: RECT;
168             mouse_events: 0;
169             description { state: "default" 0.0;
170             }
171             description { state: "hidden" 0.0;
172                visible: 0;
173                color: 255 255 255 0;
174             }
175          }
176          part { name: "sb_vbar";
177             type: RECT;
178             mouse_events: 0;
179             description { state: "default" 0.0;
180                fixed: 1 1;
181                visible: 0;
182                min: 17 17;
183                align: 1.0 0.0;
184                rel1 {
185                   relative: 1.0 0.0;
186                   offset:   -2 0;
187                }
188                rel2 {
189                   relative: 1.0 0.0;
190                   offset:   -2 -1;
191                   to_y:     "sb_hbar";
192                }
193             }
194          }
195          part { name: "sb_vbar_runner";
196             clip_to: "sb_vbar_clip";
197             mouse_events: 0;
198             description { state: "default" 0.0;
199                min: 3 3;
200                max: 3 99999;
201                rel1.to:       "sb_vbar";
202                rel2.to:       "sb_vbar";
203                image {
204                   normal: "sb_runnerv.png";
205                   border: 0 0 4 4;
206                }
207                fill.smooth: 0;
208             }
209          }
210          part { name: "elm.dragable.vbar";
211             clip_to: "sb_vbar_clip";
212             mouse_events: 0;
213             dragable {
214                x: 0 0 0;
215                y: 1 1 0;
216                confine: "sb_vbar";
217             }
218             description { state: "default" 0.0;
219                fixed: 1 1;
220                min: 17 17;
221                rel1 {
222                   relative: 0.5  0.5;
223                   offset:   0    0;
224                   to: "sb_vbar";
225                }
226                rel2 {
227                   relative: 0.5  0.5;
228                   offset:   0    0;
229                   to: "sb_vbar";
230                }
231                image {
232                   normal: "bt_sm_base2.png";
233                   border: 6 6 6 6;
234                }
235                image.middle: SOLID;
236             }
237          }
238          part { name: "sb_vbar_over1";
239             clip_to: "sb_vbar_clip";
240             mouse_events: 0;
241             description { state: "default" 0.0;
242                rel1.to: "elm.dragable.vbar";
243                rel2.relative: 1.0 0.5;
244                rel2.to: "elm.dragable.vbar";
245                image {
246                   normal: "bt_sm_hilight.png";
247                   border: 6 6 6 0;
248                }
249             }
250          }
251          part { name: "sb_vbar_over2";
252             clip_to: "sb_vbar_clip";
253             mouse_events: 0;
254             description { state: "default" 0.0;
255                rel1.to: "elm.dragable.vbar";
256                rel2.to: "elm.dragable.vbar";
257                image {
258                   normal: "bt_sm_shine.png";
259                   border: 6 6 6 0;
260                }
261             }
262          }
263
264          part { name: "sb_hbar_clip_master";
265             type: RECT;
266             mouse_events: 0;
267             description { state: "default" 0.0;
268             }
269             description { state: "hidden" 0.0;
270                visible: 0;
271                color: 255 255 255 0;
272             }
273          }
274          part { name: "sb_hbar_clip";
275             clip_to: "sb_hbar_clip_master";
276             type: RECT;
277             mouse_events: 0;
278             description { state: "default" 0.0;
279             }
280             description { state: "hidden" 0.0;
281                visible: 0;
282                color: 255 255 255 0;
283             }
284          }
285          part { name: "sb_hbar";
286             type: RECT;
287             mouse_events: 0;
288             description { state: "default" 0.0;
289                fixed: 1 1;
290                visible: 0;
291                min: 17 17;
292                align: 0.0 1.0;
293                rel1 {
294                   relative: 0.0 1.0;
295                   offset:   0 -2;
296                }
297                rel2 {
298                   relative: 0.0 1.0;
299                   offset:   -1 -2;
300                   to_x:     "sb_vbar";
301                }
302             }
303          }
304          part { name: "sb_hbar_runner";
305             clip_to: "sb_hbar_clip";
306             mouse_events: 0;
307             description { state: "default" 0.0;
308                min: 3 3;
309                max: 99999 3;
310                rel1.to:       "sb_hbar";
311                rel2.to:       "sb_hbar";
312                image {
313                   normal: "sb_runnerh.png";
314                   border: 4 4 0 0;
315                }
316                fill.smooth: 0;
317             }
318          }
319          part { name: "elm.dragable.hbar";
320             clip_to: "sb_hbar_clip";
321             mouse_events: 0;
322             dragable {
323                x: 1 1 0;
324                y: 0 0 0;
325                confine: "sb_hbar";
326             }
327             description { state: "default" 0.0;
328                fixed: 1 1;
329                min: 17 17;
330                rel1 {
331                   relative: 0.5  0.5;
332                   offset:   0    0;
333                   to: "sb_hbar";
334                }
335                rel2 {
336                   relative: 0.5  0.5;
337                   offset:   0    0;
338                   to: "sb_hbar";
339                }
340                image {
341                   normal: "bt_sm_base2.png";
342                   border: 6 6 6 6;
343                }
344                image.middle: SOLID;
345             }
346          }
347          part { name: "sb_hbar_over1";
348             clip_to: "sb_hbar_clip";
349             mouse_events: 0;
350             description { state: "default" 0.0;
351                rel1.to: "elm.dragable.hbar";
352                rel2.relative: 1.0 0.5;
353                rel2.to: "elm.dragable.hbar";
354                image {
355                   normal: "bt_sm_hilight.png";
356                   border: 6 6 6 0;
357                }
358             }
359          }
360          part { name: "sb_hbar_over2";
361             clip_to: "sb_hbar_clip";
362             mouse_events: 0;
363             description { state: "default" 0.0;
364                rel1.to: "elm.dragable.hbar";
365                rel2.to: "elm.dragable.hbar";
366                image {
367                   normal: "bt_sm_shine.png";
368                   border: 6 6 6 0;
369                }
370             }
371          }
372       }
373       programs {
374          program { name: "load";
375             signal: "load";
376             source: "";
377             script {
378                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
379                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
380                set_int(sbvis_h, 0);
381                set_int(sbvis_v, 0);
382                set_int(sbalways_v, 0);
383                set_int(sbalways_h, 0);
384                set_int(sbvis_timer, 0);
385             }
386          }
387
388          program { name: "vbar_show";
389             signal: "elm,action,show,vbar";
390             source: "elm";
391             action:  STATE_SET "default" 0.0;
392             target: "sb_vbar_clip_master";
393          }
394          program { name: "vbar_hide";
395             signal: "elm,action,hide,vbar";
396             source: "elm";
397             action:  STATE_SET "hidden" 0.0;
398             target: "sb_vbar_clip_master";
399          }
400          program { name: "vbar_show_always";
401             signal: "elm,action,show_always,vbar";
402             source: "elm";
403             script {
404                new v;
405                v = get_int(sbvis_v);
406                v |= get_int(sbalways_v);
407                if (!v) {
408                   set_int(sbalways_v, 1);
409                   emit("do-show-vbar", "");
410                   set_int(sbvis_v, 1);
411                }
412             }
413          }
414          program { name: "vbar_show_notalways";
415             signal: "elm,action,show_notalways,vbar";
416             source: "elm";
417             script {
418                new v;
419                v = get_int(sbalways_v);
420                if (v) {
421                   set_int(sbalways_v, 0);
422                   v = get_int(sbvis_v);
423                   if (!v) {
424                      emit("do-hide-vbar", "");
425                      set_int(sbvis_v, 0);
426                   }
427                }
428             }
429          }
430          program { name: "sb_vbar_show";
431             signal: "do-show-vbar";
432             source: "";
433             action:  STATE_SET "default" 0.0;
434             transition: LINEAR 1.0;
435             target: "sb_vbar_clip";
436          }
437          program { name: "sb_vbar_hide";
438             signal: "do-hide-vbar";
439             source: "";
440             action:  STATE_SET "hidden" 0.0;
441             transition: LINEAR 1.0;
442             target: "sb_vbar_clip";
443          }
444
445          program { name: "hbar_show";
446             signal: "elm,action,show,hbar";
447             source: "elm";
448             action:  STATE_SET "default" 0.0;
449             target: "sb_hbar_clip_master";
450          }
451          program { name: "hbar_hide";
452             signal: "elm,action,hide,hbar";
453             source: "elm";
454             action:  STATE_SET "hidden" 0.0;
455             target: "sb_hbar_clip_master";
456          }
457          program { name: "hbar_show_always";
458             signal: "elm,action,show_always,hbar";
459             source: "elm";
460             script {
461                new v;
462                v = get_int(sbvis_h);
463                v |= get_int(sbalways_h);
464                if (!v) {
465                   set_int(sbalways_h, 1);
466                   emit("do-show-hbar", "");
467                   set_int(sbvis_h, 1);
468                }
469             }
470          }
471          program { name: "hbar_show_notalways";
472             signal: "elm,action,show_notalways,hbar";
473             source: "elm";
474             script {
475                new v;
476                v = get_int(sbalways_h);
477                if (v) {
478                   set_int(sbalways_h, 0);
479                   v = get_int(sbvis_h);
480                   if (!v) {
481                      emit("do-hide-hbar", "");
482                      set_int(sbvis_h, 0);
483                   }
484                }
485             }
486          }
487          program { name: "sb_hbar_show";
488             signal: "do-show-hbar";
489             source: "";
490             action:  STATE_SET "default" 0.0;
491             transition: LINEAR 1.0;
492             target: "sb_hbar_clip";
493          }
494          program { name: "sb_hbar_hide";
495             signal: "do-hide-hbar";
496             source: "";
497             action:  STATE_SET "hidden" 0.0;
498             transition: LINEAR 1.0;
499             target: "sb_hbar_clip";
500          }
501
502          program { name: "scroll";
503             signal: "elm,action,scroll";
504             source: "elm";
505             script {
506                new v;
507                v = get_int(sbvis_v);
508                v |= get_int(sbalways_v);
509                if (!v) {
510                   emit("do-show-vbar", "");
511                   set_int(sbvis_v, 1);
512                }
513                v = get_int(sbvis_h);
514                v |= get_int(sbalways_h);
515                if (!v) {
516                   emit("do-show-hbar", "");
517                   set_int(sbvis_h, 1);
518                }
519                v = get_int(sbvis_timer);
520                if (v > 0) cancel_timer(v);
521                v = timer(2.0, "timer0", 0);
522                set_int(sbvis_timer, v);
523             }
524          }
525       }
526    }
527
528 ///////////////////////////////////////////////////////////////////////////////
529    group { name: "elm/label/base/default";
530       data.item: "default_font_size" "24";
531       data.item: "min_font_size" "8";
532       data.item: "max_font_size" "60";
533       styles
534         {
535            style { name: "textblock_style";
536               base: "font=Sans font_size=10 align=left color=#000 wrap=word";
537
538               tag:  "br" "\n";
539               tag:  "hilight" "+ font=Sans:style=Bold";
540               tag:  "b" "+ font=Sans:style=Bold";
541               tag:  "tab" "\t";
542            }
543         }
544       parts {
545          part { name: "label.swallow.background";
546             type: SWALLOW;
547             description { state: "default" 0.0;
548                visible: 1;
549                rel1 { relative: 0 0; to: "elm.text"; }
550                rel2 { relative: 1 1; to: "elm.text"; }
551             }
552          }
553          part { name: "elm.text";
554             type: TEXTBLOCK;
555             mouse_events: 0;
556             scale: 1;
557             description { state: "default" 0.0;
558                text {
559                   style: "textblock_style";
560                   min: 1 1;
561                }
562             }
563          }
564       }
565    }
566
567    group { name: "elm/label/base_wrap/default";
568       data.item: "default_font_size" "24";
569       data.item: "min_font_size" "8";
570       data.item: "max_font_size" "60";
571       parts {
572          part { name: "label.swallow.background";
573             type: SWALLOW;
574             description { state: "default" 0.0;
575                visible: 1;
576                rel1 { relative: 0 0; to: "elm.text"; }
577                rel2 { relative: 1 1; to: "elm.text"; }
578             }
579          }
580          part { name: "elm.text";
581             type: TEXTBLOCK;
582             mouse_events: 0;
583             scale: 1;
584             description { state: "default" 0.0;
585                fixed: 0 1;
586                text {
587                   style: "textblock_style";
588                   min: 0 1;
589                }
590             }
591          }
592       }
593    }
594
595    group { name: "elm/label/base/marker";
596       data.item: "default_font_size" "24";
597       data.item: "min_font_size" "8";
598       data.item: "max_font_size" "60";
599       styles
600         {
601            style { name: "textblock_style2";
602               base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word";
603
604               tag:  "br" "\n";
605               tag:  "hilight" "+ color=#ffff";
606               tag:  "b" "+ color=#ffff";
607               tag:  "tab" "\t";
608            }
609         }
610       parts {
611          part { name: "label.swallow.background";
612             type: SWALLOW;
613             description { state: "default" 0.0;
614                visible: 1;
615                rel1 { relative: 0 0; to: "elm.text"; }
616                rel2 { relative: 1 1; to: "elm.text"; }
617             }
618          }
619          part { name: "elm.text";
620             type: TEXTBLOCK;
621             mouse_events: 0;
622             scale: 1;
623             description { state: "default" 0.0;
624                text {
625                   style: "textblock_style2";
626                   min: 1 1;
627                }
628             }
629          }
630       }
631    }
632
633    group { name: "elm/label/base_wrap/marker";
634       data.item: "default_font_size" "24";
635       data.item: "min_font_size" "8";
636       data.item: "max_font_size" "60";
637       parts {
638          part { name: "label.swallow.background";
639             type: SWALLOW;
640             description { state: "default" 0.0;
641                visible: 1;
642                rel1 { relative: 0 0; to: "elm.text"; }
643                rel2 { relative: 1 1; to: "elm.text"; }
644             }
645          }
646          part { name: "elm.text";
647             type: TEXTBLOCK;
648             mouse_events: 0;
649             scale: 1;
650             description { state: "default" 0.0;
651                fixed: 0 1;
652                text {
653                   style: "textblock_style2";
654                   min: 0 1;
655                }
656             }
657          }
658       }
659    }
660
661 ///////////////////////////////////////////////////////////////////////////////
662
663    group { name: "elm/button/base/default";
664       images {
665          image: "bt_base1.png" COMP;
666          image: "bt_base2.png" COMP;
667          image: "bt_hilight.png" COMP;
668          image: "bt_shine.png" COMP;
669          image: "bt_glow.png" COMP;
670          image: "bt_dis_base.png" COMP;
671          image: "bt_dis_hilight.png" COMP;
672       }
673       parts {
674          part { name: "button_image";
675             mouse_events: 1;
676             description { state: "default" 0.0;
677                image {
678                   normal: "bt_base2.png";
679                   border: 7 7 7 7;
680                }
681                image.middle: SOLID;
682             }
683             description { state: "clicked" 0.0;
684                inherit: "default" 0.0;
685                image.normal: "bt_base1.png";
686                image.middle: SOLID;
687             }
688             description { state: "disabled" 0.0;
689                inherit:  "default" 0.0;
690                image {
691                   normal: "bt_dis_base.png";
692                   border: 4 4 4 4;
693                }
694             }
695          }
696          part { name: "elm.swallow.content";
697             type: SWALLOW;
698             description { state: "default" 0.0;
699                fixed: 1 0;
700                visible: 0;
701                align: 0.0 0.5;
702                rel1.offset: 4 4;
703                rel2.offset: 3 -5;
704                rel2.relative: 0.0 1.0;
705             }
706             description { state: "visible" 0.0;
707                inherit: "default" 0.0;
708                fixed: 1 0;
709                visible: 1;
710                aspect: 1.0 1.0;
711                aspect_preference: VERTICAL;
712                rel2.offset: 4 -5;
713             }
714             description { state: "icononly" 0.0;
715                inherit: "default" 0.0;
716                fixed: 0 0;
717                visible: 1;
718                align: 0.5 0.5;
719                aspect: 1.0 1.0;
720                rel2.offset: -5 -5;
721                rel2.relative: 1.0 1.0;
722                aspect_preference: VERTICAL;
723             }
724          }
725          part {
726             name:          "elm.text";
727             type:          TEXT;
728             effect:        SOFT_SHADOW;
729             mouse_events:  0;
730             scale: 1;
731             description { state: "default" 0.0;
732                visible: 0;
733                rel1.to_x: "elm.swallow.content";
734                rel1.relative: 1.0 0.0;
735                rel1.offset: 0 4;
736                rel2.offset: -5 -5;
737                color: 224 224 224 255;
738                color3: 0 0 0 64;
739                text {
740                   font:     "Sans,Edje-Vera";
741                   size:     10;
742                   min:      0 0;
743                   align:    0.5 0.5;
744                }
745             }
746             description { state: "visible" 0.0;
747                inherit: "default" 0.0;
748                visible: 1;
749                text.min: 1 1;
750             }
751             description { state: "disabled" 0.0;
752                inherit: "default" 0.0;
753                color: 0 0 0 128;
754                color3: 0 0 0 0;
755             }
756             description { state: "disabled_visible" 0.0;
757                inherit: "default" 0.0;
758                color: 0 0 0 128;
759                color3: 0 0 0 0;
760                visible: 1;
761                text.min: 1 1;
762             }
763          }
764          part {   name: "over1";
765             mouse_events: 0;
766             description { state: "default" 0.0;
767                rel2.relative: 1.0 0.5;
768                image {
769                   normal: "bt_hilight.png";
770                   border: 7 7 7 0;
771                }
772             }
773             description { state: "disabled" 0.0;
774                inherit:  "default" 0.0;
775                image {
776                   normal: "bt_dis_hilight.png";
777                   border: 4 4 4 0;
778                }
779             }
780          }
781          part { name: "over2";
782             mouse_events: 1;
783             repeat_events: 1;
784             ignore_flags: ON_HOLD;
785             description { state: "default" 0.0;
786                image {
787                   normal: "bt_shine.png";
788                   border: 7 7 7 7;
789                }
790             }
791             description { state: "disabled" 0.0;
792                inherit:  "default" 0.0;
793                visible: 0;
794             }
795          }
796          part { name: "over3";
797             mouse_events: 1;
798             repeat_events: 1;
799             description { state: "default" 0.0;
800                color: 255 255 255 0;
801                image {
802                   normal: "bt_glow.png";
803                   border: 12 12 12 12;
804                }
805                fill.smooth : 0;
806             }
807             description { state: "clicked" 0.0;
808                inherit:  "default" 0.0;
809                visible: 1;
810                color: 255 255 255 255;
811             }
812          }
813          part { name: "disabler";
814             type: RECT;
815             description { state: "default" 0.0;
816                color: 0 0 0 0;
817                visible: 0;
818             }
819             description { state: "disabled" 0.0;
820                inherit: "default" 0.0;
821                visible: 1;
822             }
823          }
824       }
825       programs {
826          program {
827             name:   "button_click";
828             signal: "mouse,down,1";
829             source: "over2";
830             action: SIGNAL_EMIT "elm,action,press" "";
831             after: "button_click_anim";
832          }
833          program {
834             name:   "button_click_anim";
835             action: STATE_SET "clicked" 0.0;
836             target: "button_image";
837          }
838          program {
839             name:   "button_unclick";
840             signal: "mouse,up,1";
841             source: "over2";
842             action: SIGNAL_EMIT "elm,action,unpress" "";
843             after: "button_unclick_anim";
844          }
845          program {
846             name:   "button_unclick_anim";
847             action: STATE_SET "default" 0.0;
848             target: "button_image";
849          }
850          program {
851             name:   "button_click2";
852             signal: "mouse,down,1";
853             source: "over3";
854             action: STATE_SET "clicked" 0.0;
855             target: "over3";
856          }
857          program {
858             name:   "button_unclick2";
859             signal: "mouse,up,1";
860             source: "over3";
861             action: STATE_SET "default" 0.0;
862             transition: DECELERATE 0.5;
863             target: "over3";
864          }
865          program {
866             name:   "button_unclick3";
867             signal: "mouse,up,1";
868             source: "over2";
869             action: SIGNAL_EMIT "elm,action,click" "";
870          }
871          program { name: "text_show";
872             signal: "elm,state,text,visible";
873             source: "elm";
874             script {
875                new st[31];
876                new Float:vl;
877                get_state(PART:"elm.swallow.content", st, 30, vl);
878                if (!strcmp(st, "icononly"))
879                  set_state(PART:"elm.swallow.content", "visible", 0.0);
880                set_state(PART:"elm.text", "visible", 0.0);
881             }
882          }
883          program { name: "text_hide";
884             signal: "elm,state,text,hidden";
885             source: "elm";
886             script {
887                new st[31];
888                new Float:vl;
889                get_state(PART:"elm.swallow.content", st, 30, vl);
890                if (!strcmp(st, "visible"))
891                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
892                set_state(PART:"elm.text", "default", 0.0);
893             }
894          }
895          program { name: "icon_show";
896             signal: "elm,state,icon,visible";
897             source: "elm";
898             script {
899                new st[31];
900                new Float:vl;
901                get_state(PART:"elm.text", st, 30, vl);
902                if (!strcmp(st, "visible"))
903                  set_state(PART:"elm.swallow.content", "visible", 0.0);
904                else
905                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
906             }
907          }
908          program { name: "icon_hide";
909             signal: "elm,state,icon,hidden";
910             source: "elm";
911             action:  STATE_SET "default" 0.0;
912             target: "elm.swallow.content";
913          }
914          program { name: "disable";
915             signal: "elm,state,disabled";
916             source: "elm";
917             action: STATE_SET "disabled" 0.0;
918             target: "button_image";
919             target: "over1";
920             target: "over2";
921             target: "disabler";
922             after: "disable_text";
923          }
924          program { name: "disable_text";
925             script {
926                new st[31];
927                new Float:vl;
928                get_state(PART:"elm.text", st, 30, vl);
929                if (!strcmp(st, "visible"))
930                  set_state(PART:"elm.text", "disabled_visible", 0.0);
931                else
932                  set_state(PART:"elm.text", "disabled", 0.0);
933             }
934          }
935          program { name: "enable";
936             signal: "elm,state,enabled";
937             source: "elm";
938             action: STATE_SET "default" 0.0;
939             target: "button_image";
940             target: "over1";
941             target: "over2";
942             target: "disabler";
943             after: "enable_text";
944          }
945          program { name: "enable_text";
946             script {
947                new st[31];
948                new Float:vl;
949                get_state(PART:"elm.text", st, 30, vl);
950                if (!strcmp(st, "disabled_visible"))
951                  set_state(PART:"elm.text", "visible", 0.0);
952                else
953                  set_state(PART:"elm.text", "default", 0.0);
954             }
955          }
956       }
957    }
958
959    group { name: "elm/button/base/hoversel_vertical/default";
960       alias: "elm/button/base/hoversel_vertical/entry";
961       alias: "elm/button/base/hoversel_horizontal/default";
962       alias: "elm/button/base/hoversel_horizontal/entry";
963       images {
964          image: "bt_base1.png" COMP;
965          image: "bt_base2.png" COMP;
966          image: "bt_hilight.png" COMP;
967          image: "bt_shine.png" COMP;
968          image: "bt_glow.png" COMP;
969          image: "updown.png" COMP;
970          image: "bt_dis_base.png" COMP;
971          image: "bt_dis_hilight.png" COMP;
972       }
973       parts {
974          part { name: "button_image";
975             mouse_events: 1;
976             description { state: "default" 0.0;
977                image {
978                   normal: "bt_base2.png";
979                   border: 7 7 7 7;
980                }
981                image.middle: SOLID;
982             }
983             description { state: "clicked" 0.0;
984                inherit: "default" 0.0;
985                image.normal: "bt_base1.png";
986                image.middle: SOLID;
987             }
988             description { state: "disabled" 0.0;
989                inherit:  "default" 0.0;
990                image {
991                   normal: "bt_dis_base.png";
992                   border: 4 4 4 4;
993                }
994             }
995          }
996          part { name: "arrow";
997             mouse_events: 0;
998             description { state: "default" 0.0;
999                image.normal: "updown.png";
1000                aspect: 0.6666666666 0.6666666666;
1001                aspect_preference: VERTICAL;
1002                rel1.offset: 6 7;
1003                rel2.offset: 6 -7;
1004                rel2.relative: 0.0 1.0;
1005                align: 0.0 0.5;
1006             }
1007          }
1008          part { name: "elm.swallow.content";
1009             type: SWALLOW;
1010             description { state: "default" 0.0;
1011                fixed: 1 0;
1012                visible: 0;
1013                align: 0.0 0.5;
1014                rel1 {
1015                   to_x: "arrow";
1016                   offset: 2 4;
1017                   relative: 1.0 0.0;
1018                }
1019                rel2 {
1020                   to_x: "arrow";
1021                   offset: 1 -5;
1022                   relative: 1.0 1.0;
1023                }
1024             }
1025             description { state: "visible" 0.0;
1026                inherit: "default" 0.0;
1027                fixed: 0 0;
1028                visible: 1;
1029                aspect: 1.0 1.0;
1030                aspect_preference: VERTICAL;
1031                rel2.offset: 2 -5;
1032             }
1033             description { state: "icononly" 0.0;
1034                inherit: "default" 0.0;
1035                fixed: 0 0;
1036                visible: 1;
1037                align: 0.5 0.5;
1038                aspect: 1.0 1.0;
1039                rel1 {
1040                   to_x: "button_image";
1041                   offset: -5 -5;
1042                   relative: 1.0 1.0;
1043                }
1044                aspect_preference: VERTICAL;
1045             }
1046          }
1047          part {
1048             name:          "elm.text";
1049             type:          TEXT;
1050             effect:        SOFT_SHADOW;
1051             mouse_events:  0;
1052             scale: 1;
1053             description { state: "default" 0.0;
1054                visible: 0;
1055                rel1.to_x: "elm.swallow.content";
1056                rel1.relative: 1.0 0.0;
1057                rel1.offset: 0 4;
1058                rel2.offset: -5 -5;
1059                color: 224 224 224 255;
1060                color3: 0 0 0 64;
1061                text {
1062                   font:     "Sans,Edje-Vera";
1063                   size:     10;
1064                   min:      0 0;
1065                   align:    0.5 0.5;
1066                }
1067             }
1068             description { state: "visible" 0.0;
1069                inherit: "default" 0.0;
1070                visible: 1;
1071                text.min: 1 1;
1072             }
1073             description { state: "disabled" 0.0;
1074                inherit: "default" 0.0;
1075                color: 0 0 0 128;
1076                color3: 0 0 0 0;
1077             }
1078             description { state: "disabled_visible" 0.0;
1079                inherit: "default" 0.0;
1080                color: 0 0 0 128;
1081                color3: 0 0 0 0;
1082                visible: 1;
1083                text.min: 1 1;
1084             }
1085          }
1086          part {   name: "over1";
1087             mouse_events: 0;
1088             description { state: "default" 0.0;
1089                rel2.relative: 1.0 0.5;
1090                image {
1091                   normal: "bt_hilight.png";
1092                   border: 7 7 7 0;
1093                }
1094             }
1095             description { state: "disabled" 0.0;
1096                inherit:  "default" 0.0;
1097                image {
1098                   normal: "bt_dis_hilight.png";
1099                   border: 4 4 4 0;
1100                }
1101             }
1102          }
1103          part { name: "over2";
1104             mouse_events: 1;
1105             repeat_events: 1;
1106             ignore_flags: ON_HOLD;
1107             description { state: "default" 0.0;
1108                image {
1109                   normal: "bt_shine.png";
1110                   border: 7 7 7 7;
1111                }
1112             }
1113             description { state: "disabled" 0.0;
1114                inherit:  "default" 0.0;
1115                visible: 0;
1116             }
1117          }
1118          part { name: "over3";
1119             mouse_events: 1;
1120             repeat_events: 1;
1121             description { state: "default" 0.0;
1122                color: 255 255 255 0;
1123                image {
1124                   normal: "bt_glow.png";
1125                   border: 12 12 12 12;
1126                }
1127                fill.smooth : 0;
1128             }
1129             description { state: "clicked" 0.0;
1130                inherit:  "default" 0.0;
1131                visible: 1;
1132                color: 255 255 255 255;
1133             }
1134          }
1135          part { name: "disabler";
1136             type: RECT;
1137             description { state: "default" 0.0;
1138                color: 0 0 0 0;
1139                visible: 0;
1140             }
1141             description { state: "disabled" 0.0;
1142                inherit: "default" 0.0;
1143                visible: 1;
1144             }
1145          }
1146       }
1147       programs {
1148          program {
1149             name:   "button_click";
1150             signal: "mouse,down,1";
1151             source: "over2";
1152             action: STATE_SET "clicked" 0.0;
1153             target: "button_image";
1154          }
1155          program {
1156             name:   "button_unclick";
1157             signal: "mouse,up,1";
1158             source: "over2";
1159             action: STATE_SET "default" 0.0;
1160             target: "button_image";
1161          }
1162          program {
1163             name:   "button_click2";
1164             signal: "mouse,down,1";
1165             source: "over3";
1166             action: STATE_SET "clicked" 0.0;
1167             target: "over3";
1168          }
1169          program {
1170             name:   "button_unclick2";
1171             signal: "mouse,up,1";
1172             source: "over3";
1173             action: STATE_SET "default" 0.0;
1174             transition: DECELERATE 0.5;
1175             target: "over3";
1176          }
1177          program {
1178             name:   "button_unclick3";
1179             signal: "mouse,up,1";
1180             source: "over2";
1181             action: SIGNAL_EMIT "elm,action,click" "";
1182          }
1183          program { name: "text_show";
1184             signal: "elm,state,text,visible";
1185             source: "elm";
1186             script {
1187                new st[31];
1188                new Float:vl;
1189                get_state(PART:"elm.swallow.content", st, 30, vl);
1190                if (!strcmp(st, "icononly"))
1191                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1192                set_state(PART:"elm.text", "visible", 0.0);
1193             }
1194          }
1195          program { name: "text_hide";
1196             signal: "elm,state,text,hidden";
1197             source: "elm";
1198             script {
1199                new st[31];
1200                new Float:vl;
1201                get_state(PART:"elm.swallow.content", st, 30, vl);
1202                if (!strcmp(st, "visible"))
1203                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1204                set_state(PART:"elm.text", "default", 0.0);
1205             }
1206          }
1207          program { name: "icon_show";
1208             signal: "elm,state,icon,visible";
1209             source: "elm";
1210             script {
1211                new st[31];
1212                new Float:vl;
1213                get_state(PART:"elm.text", st, 30, vl);
1214                if (!strcmp(st, "visible"))
1215                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1216                else
1217                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1218             }
1219          }
1220          program { name: "icon_hide";
1221             signal: "elm,state,icon,hidden";
1222             source: "elm";
1223             action:  STATE_SET "default" 0.0;
1224             target: "elm.swallow.content";
1225          }
1226          program { name: "disable";
1227             signal: "elm,state,disabled";
1228             source: "elm";
1229             action: STATE_SET "disabled" 0.0;
1230             target: "button_image";
1231             target: "over1";
1232             target: "over2";
1233             target: "disabler";
1234             after: "disable_text";
1235          }
1236          program { name: "disable_text";
1237             script {
1238                new st[31];
1239                new Float:vl;
1240                get_state(PART:"elm.text", st, 30, vl);
1241                if (!strcmp(st, "visible"))
1242                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1243                else
1244                  set_state(PART:"elm.text", "disabled", 0.0);
1245             }
1246          }
1247          program { name: "enable";
1248             signal: "elm,state,enabled";
1249             source: "elm";
1250             action: STATE_SET "default" 0.0;
1251             target: "button_image";
1252             target: "over1";
1253             target: "over2";
1254             target: "disabler";
1255             after: "enable_text";
1256          }
1257          program { name: "enable_text";
1258             script {
1259                new st[31];
1260                new Float:vl;
1261                get_state(PART:"elm.text", st, 30, vl);
1262                if (!strcmp(st, "disabled_visible"))
1263                  set_state(PART:"elm.text", "visible", 0.0);
1264                else
1265                  set_state(PART:"elm.text", "default", 0.0);
1266             }
1267          }
1268       }
1269    }
1270
1271    group { name: "elm/button/base/hoversel_vertical_entry/default";
1272       alias: "elm/button/base/hoversel_vertical_entry/entry";
1273       alias: "elm/button/base/hoversel_horizontal_entry/default";
1274       alias: "elm/button/base/hoversel_horizontal_entry/entry";
1275       images {
1276          image: "hoversel_entry_bg.png" COMP;
1277       }
1278       parts {
1279          part { name: "button_image";
1280             mouse_events: 1;
1281             description { state: "default" 0.0;
1282                color: 255 255 255 0;
1283                image.normal: "hoversel_entry_bg.png";
1284                image.border: 0 0 2 2;
1285                fill.smooth: 0;
1286             }
1287             description { state: "clicked" 0.0;
1288                inherit: "default" 0.0;
1289                color: 255 255 255 255;
1290             }
1291          }
1292          part { name: "elm.swallow.content";
1293             type: SWALLOW;
1294             description { state: "default" 0.0;
1295                visible: 0;
1296                align: 0.0 0.5;
1297                rel1.offset: 4 4;
1298                rel2.offset: 3 -5;
1299                rel2.relative: 0.0 1.0;
1300             }
1301             description { state: "visible" 0.0;
1302                inherit: "default" 0.0;
1303                visible: 1;
1304                aspect: 1.0 1.0;
1305                aspect_preference: VERTICAL;
1306                rel2.offset: 4 -5;
1307             }
1308             description { state: "icononly" 0.0;
1309                inherit: "default" 0.0;
1310                visible: 1;
1311                align: 0.5 0.5;
1312                aspect: 1.0 1.0;
1313                rel2.offset: -5 -5;
1314                rel2.relative: 1.0 1.0;
1315                aspect_preference: VERTICAL;
1316             }
1317          }
1318          part { name: "textvis";
1319             type: RECT;
1320             mouse_events: 0;
1321             description { state: "default" 0.0;
1322                visible: 0;
1323             }
1324             description { state: "visible" 0.0;
1325                visible: 1;
1326             }
1327          }
1328          part {
1329             name:          "elm.text";
1330             type:          TEXT;
1331             effect:        SOFT_SHADOW;
1332             mouse_events:  0;
1333             scale: 1;
1334             clip_to:       "textvis";
1335             description { state: "default" 0.0;
1336                rel1.to_x: "elm.swallow.content";
1337                rel1.relative: 1.0 0.0;
1338                rel1.offset: 0 4;
1339                rel2.offset: -5 -5;
1340                color: 224 224 224 255;
1341                color3: 0 0 0 64;
1342                text {
1343                   font:     "Sans,Edje-Vera";
1344                   size:     10;
1345                   min:      0 0;
1346                   align:    0.5 0.5;
1347                }
1348             }
1349             description { state: "visible" 0.0;
1350                inherit: "default" 0.0;
1351                text.min: 1 1;
1352             }
1353             description { state: "clicked" 0.0;
1354                inherit: "default" 0.0;
1355                text.min: 1 1;
1356                color: 0 0 0 255;
1357                color3: 0 0 0 0;
1358             }
1359          }
1360          part { name: "over2";
1361             type: RECT;
1362             mouse_events: 1;
1363             description { state: "default" 0.0;
1364                color: 0 0 0 0;
1365             }
1366          }
1367       }
1368       programs {
1369          program {
1370             name:   "button_click";
1371             signal: "mouse,down,1";
1372             source: "over2";
1373             action: STATE_SET "clicked" 0.0;
1374             target: "button_image";
1375             target: "elm.text";
1376          }
1377          program {
1378             name:   "button_unclick";
1379             signal: "mouse,up,1";
1380             source: "over2";
1381             action: STATE_SET "default" 0.0;
1382             target: "button_image";
1383             target: "elm.text";
1384          }
1385          program {
1386             name:   "button_unclick3";
1387             signal: "mouse,up,1";
1388             source: "over2";
1389             action: SIGNAL_EMIT "elm,action,click" "";
1390          }
1391          program { name: "text_show";
1392             signal: "elm,state,text,visible";
1393             source: "elm";
1394             script {
1395                new st[31];
1396                new Float:vl;
1397                get_state(PART:"elm.swallow.content", st, 30, vl);
1398                if (!strcmp(st, "icononly"))
1399                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1400                set_state(PART:"textvis", "visible", 0.0);
1401                set_state(PART:"elm.text", "visible", 0.0);
1402             }
1403          }
1404          program { name: "text_hide";
1405             signal: "elm,state,text,hidden";
1406             source: "elm";
1407             script {
1408                new st[31];
1409                new Float:vl;
1410                get_state(PART:"elm.swallow.content", st, 30, vl);
1411                if (!strcmp(st, "visible"))
1412                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1413                set_state(PART:"textvis", "default", 0.0);
1414                set_state(PART:"elm.text", "default", 0.0);
1415             }
1416          }
1417          program { name: "icon_show";
1418             signal: "elm,state,icon,visible";
1419             source: "elm";
1420             script {
1421                new st[31];
1422                new Float:vl;
1423                get_state(PART:"textvis", st, 30, vl);
1424                if (!strcmp(st, "visible"))
1425                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1426                else
1427                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1428             }
1429          }
1430          program { name: "icon_hide";
1431             signal: "elm,state,icon,hidden";
1432             source: "elm";
1433             action:  STATE_SET "default" 0.0;
1434             target: "elm.swallow.content";
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/button/base/anchor";
1440       images {
1441          image: "bt_base1.png" COMP;
1442          image: "bt_base2.png" COMP;
1443          image: "bt_hilight.png" COMP;
1444          image: "bt_shine.png" COMP;
1445          image: "bt_glow.png" COMP;
1446          image: "bt_dis_base.png" COMP;
1447          image: "bt_dis_hilight.png" COMP;
1448       }
1449       parts {
1450          part { name: "button_image";
1451             mouse_events: 1;
1452             description { state: "default" 0.0;
1453            color: 255 255 255 0;
1454                image {
1455                   normal: "bt_base2.png";
1456                   border: 7 7 7 7;
1457                }
1458                image.middle: SOLID;
1459             }
1460        description { state: "visible" 0.0;
1461                inherit: "default" 0.0;
1462           color: 255 255 255 255;
1463             }
1464             description { state: "clicked" 0.0;
1465                inherit: "default" 0.0;
1466           inherit: "visible" 0.0;
1467                image.normal: "bt_base1.png";
1468                image.middle: SOLID;
1469             }
1470             description { state: "disabled" 0.0;
1471                inherit:  "default" 0.0;
1472           inherit: "visible" 0.0;
1473                image {
1474                   normal: "bt_dis_base.png";
1475                   border: 4 4 4 4;
1476                }
1477             }
1478          }
1479          part { name: "elm.swallow.content";
1480             type: SWALLOW;
1481             description { state: "default" 0.0;
1482                fixed: 1 0;
1483                visible: 0;
1484                align: 0.0 0.5;
1485                rel1.offset: 4 4;
1486                rel2.offset: 3 -5;
1487                rel2.relative: 0.0 1.0;
1488             }
1489             description { state: "visible" 0.0;
1490                inherit: "default" 0.0;
1491                fixed: 1 0;
1492                visible: 1;
1493                aspect: 1.0 1.0;
1494                aspect_preference: VERTICAL;
1495                rel2.offset: 4 -5;
1496             }
1497             description { state: "icononly" 0.0;
1498                inherit: "default" 0.0;
1499                fixed: 0 0;
1500                visible: 1;
1501                align: 0.5 0.5;
1502                aspect: 1.0 1.0;
1503                rel2.offset: -5 -5;
1504                rel2.relative: 1.0 1.0;
1505                aspect_preference: VERTICAL;
1506             }
1507          }
1508          part {
1509             name:          "elm.text";
1510             type:          TEXT;
1511             effect:        SOFT_SHADOW;
1512             mouse_events:  0;
1513             scale: 1;
1514             description { state: "default" 0.0;
1515                visible: 0;
1516                rel1.to_x: "elm.swallow.content";
1517                rel1.relative: 1.0 0.0;
1518                rel1.offset: 0 4;
1519                rel2.offset: -5 -5;
1520                color: 224 224 224 255;
1521                color3: 0 0 0 64;
1522                text {
1523                   font:     "Sans,Edje-Vera";
1524                   size:     10;
1525                   min:      0 0;
1526                   align:    0.5 0.5;
1527                }
1528             }
1529             description { state: "visible" 0.0;
1530                inherit: "default" 0.0;
1531                visible: 1;
1532                text.min: 1 1;
1533             }
1534             description { state: "disabled" 0.0;
1535                inherit: "default" 0.0;
1536                color: 0 0 0 128;
1537                color3: 0 0 0 0;
1538             }
1539             description { state: "disabled_visible" 0.0;
1540                inherit: "default" 0.0;
1541                color: 0 0 0 128;
1542                color3: 0 0 0 0;
1543                visible: 1;
1544                text.min: 1 1;
1545             }
1546          }
1547          part {   name: "over1";
1548             mouse_events: 0;
1549             description { state: "default" 0.0;
1550            color: 255 255 255 0;
1551                rel2.relative: 1.0 0.5;
1552                image {
1553                   normal: "bt_hilight.png";
1554                   border: 7 7 7 0;
1555                }
1556             }
1557        description { state: "visible" 0.0;
1558                inherit:  "default" 0.0;
1559           color: 255 255 255 255;
1560             }
1561             description { state: "disabled" 0.0;
1562                inherit:  "default" 0.0;
1563           inherit:  "visible" 0.0;
1564                image {
1565                   normal: "bt_dis_hilight.png";
1566                   border: 4 4 4 0;
1567                }
1568             }
1569          }
1570          part { name: "over2";
1571             mouse_events: 1;
1572             repeat_events: 1;
1573             ignore_flags: ON_HOLD;
1574             description { state: "default" 0.0;
1575                image {
1576                   normal: "bt_shine.png";
1577                   border: 7 7 7 7;
1578                }
1579             }
1580             description { state: "disabled" 0.0;
1581                inherit:  "default" 0.0;
1582                visible: 0;
1583             }
1584          }
1585          part { name: "over3";
1586             mouse_events: 1;
1587             repeat_events: 1;
1588             description { state: "default" 0.0;
1589                color: 255 255 255 0;
1590                image {
1591                   normal: "bt_glow.png";
1592                   border: 12 12 12 12;
1593                }
1594                fill.smooth : 0;
1595             }
1596             description { state: "clicked" 0.0;
1597                inherit:  "default" 0.0;
1598                visible: 1;
1599                color: 255 255 255 255;
1600             }
1601          }
1602          part { name: "disabler";
1603             type: RECT;
1604             description { state: "default" 0.0;
1605                color: 0 0 0 0;
1606                visible: 0;
1607             }
1608             description { state: "disabled" 0.0;
1609                inherit: "default" 0.0;
1610                visible: 1;
1611             }
1612          }
1613       }
1614       programs {
1615     program {
1616             name:   "button_mouse_in";
1617             signal: "mouse,in";
1618             source: "over2";
1619             action: STATE_SET "visible" 0.0;
1620             target: "button_image";
1621        target: "over1";
1622        transition: DECELERATE 0.5;
1623          }
1624          program {
1625             name:   "button_mouse_out";
1626             signal: "mouse,out";
1627             source: "over2";
1628             action: STATE_SET "default" 0.0;
1629             target: "button_image";
1630        target: "over1";
1631        transition: DECELERATE 0.5;
1632          }
1633          program {
1634             name:   "button_unclick";
1635             signal: "mouse,up,1";
1636             source: "over2";
1637             action: STATE_SET "visible" 0.0;
1638             target: "button_image";
1639          }
1640          program {
1641             name:   "button_click2";
1642             signal: "mouse,down,1";
1643             source: "over3";
1644             action: STATE_SET "clicked" 0.0;
1645             target: "over3";
1646          }
1647          program {
1648             name:   "button_unclick2";
1649             signal: "mouse,up,1";
1650             source: "over3";
1651             action: STATE_SET "default" 0.0;
1652             transition: DECELERATE 0.5;
1653             target: "over3";
1654          }
1655          program {
1656             name:   "button_unclick3";
1657             signal: "mouse,up,1";
1658             source: "over2";
1659             action: SIGNAL_EMIT "elm,action,click" "";
1660          }
1661          program { name: "text_show";
1662             signal: "elm,state,text,visible";
1663             source: "elm";
1664             script {
1665                new st[31];
1666                new Float:vl;
1667                get_state(PART:"elm.swallow.content", st, 30, vl);
1668                if (!strcmp(st, "icononly"))
1669                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1670                set_state(PART:"elm.text", "visible", 0.0);
1671             }
1672          }
1673          program { name: "text_hide";
1674             signal: "elm,state,text,hidden";
1675             source: "elm";
1676             script {
1677                new st[31];
1678                new Float:vl;
1679                get_state(PART:"elm.swallow.content", st, 30, vl);
1680                if (!strcmp(st, "visible"))
1681                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1682                set_state(PART:"elm.text", "default", 0.0);
1683             }
1684          }
1685          program { name: "icon_show";
1686             signal: "elm,state,icon,visible";
1687             source: "elm";
1688             script {
1689                new st[31];
1690                new Float:vl;
1691                get_state(PART:"elm.text", st, 30, vl);
1692                if (!strcmp(st, "visible"))
1693                  set_state(PART:"elm.swallow.content", "visible", 0.0);
1694                else
1695                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
1696             }
1697          }
1698          program { name: "icon_hide";
1699             signal: "elm,state,icon,hidden";
1700             source: "elm";
1701             action:  STATE_SET "default" 0.0;
1702             target: "elm.swallow.content";
1703          }
1704          program { name: "disable";
1705             signal: "elm,state,disabled";
1706             source: "elm";
1707             action: STATE_SET "disabled" 0.0;
1708             target: "button_image";
1709             target: "over1";
1710             target: "over2";
1711             target: "disabler";
1712             after: "disable_text";
1713          }
1714          program { name: "disable_text";
1715             script {
1716                new st[31];
1717                new Float:vl;
1718                get_state(PART:"elm.text", st, 30, vl);
1719                if (!strcmp(st, "visible"))
1720                  set_state(PART:"elm.text", "disabled_visible", 0.0);
1721                else
1722                  set_state(PART:"elm.text", "disabled", 0.0);
1723             }
1724          }
1725          program { name: "enable";
1726             signal: "elm,state,enabled";
1727             source: "elm";
1728             action: STATE_SET "default" 0.0;
1729             target: "button_image";
1730             target: "over1";
1731             target: "over2";
1732             target: "disabler";
1733             after: "enable_text";
1734          }
1735          program { name: "enable_text";
1736             script {
1737                new st[31];
1738                new Float:vl;
1739                get_state(PART:"elm.text", st, 30, vl);
1740                if (!strcmp(st, "disabled_visible"))
1741                  set_state(PART:"elm.text", "visible", 0.0);
1742                else
1743                  set_state(PART:"elm.text", "default", 0.0);
1744             }
1745          }
1746       }
1747    }
1748
1749 ///////////////////////////////////////////////////////////////////////////////
1750    group { name: "elm/toggle/base/default";
1751       images {
1752          image: "shelf_inset.png" COMP;
1753          image: "bt_basew.png" COMP;
1754          image: "bt_bases.png" COMP;
1755          image: "bt_hilightw.png" COMP;
1756          image: "tog_base.png" COMP;
1757          image: "tog_dis_base.png" COMP;
1758       }
1759       parts {
1760          part { name: "bg";
1761             type: RECT;
1762             mouse_events: 0;
1763             scale: 1;
1764             description { state: "default" 0.0;
1765                rel1.relative: 1.0 0.0;
1766                rel1.offset: -4 3;
1767                rel2.offset: -4 -4;
1768                align: 1.0 0.5;
1769                min: 96 16;
1770                max: 96 16;
1771                aspect: 4.0 4.0;
1772                aspect_preference: VERTICAL;
1773                color: 255 255 255 255;
1774             }
1775          }
1776          part { name: "clipper";
1777             type: RECT;
1778             mouse_events: 0;
1779             description { state: "default" 0.0;
1780                rel1.to: "bg";
1781                rel2.to: "bg";
1782                color: 255 255 255 255;
1783             }
1784          }
1785          part { name: "button";
1786             type: RECT;
1787             scale: 1;
1788             clip_to: "clipper";
1789             mouse_events: 1;
1790             dragable {
1791                x: 1 1 0;
1792                y: 0 0 0;
1793                confine: "bg";
1794             }
1795             description { state: "default" 0.0;
1796                fixed: 1 1;
1797                rel1.to: "bg";
1798                rel2.to: "bg";
1799                min: 16 16;
1800                max: 16 16;
1801                aspect: 1.0 1.0;
1802                aspect_preference: VERTICAL;
1803                color: 0 0 0 0;
1804             }
1805          }
1806          part { name: "button_events";
1807             type: RECT;
1808             dragable {
1809                events: "button";
1810             }
1811             description { state: "default" 0.0;
1812                rel1.to_x: "bg";
1813                rel1.offset: 0 0;
1814                rel1.relative: 0.0 0.0;
1815                rel2.to_x: "bg";
1816                rel2.offset: -1 -1;
1817                rel2.relative: 1.0 1.0;
1818                color: 0 0 0 0;
1819             }
1820          }
1821          part { name: "onrect";
1822             type: RECT;
1823             scale: 1;
1824             clip_to: "clipper";
1825             mouse_events: 0;
1826             description { state: "default" 0.0;
1827                rel1.to: "button";
1828                rel1.relative: -5.0 0.0;
1829                rel2.to: "button";
1830                rel2.relative: 0.0 1.0;
1831                color: 0 0 0 0;
1832             }
1833          }
1834          part { name: "offrect";
1835             type: RECT;
1836             scale: 1;
1837             clip_to: "clipper";
1838             mouse_events: 0;
1839             description { state: "default" 0.0;
1840                rel1.to: "button";
1841                rel1.relative: 1.0 0.0;
1842                rel2.to: "button";
1843                rel2.relative: 6.0 1.0;
1844                color: 0 0 0 0;
1845             }
1846          }
1847          part { name: "togbase";
1848             mouse_events:  0;
1849             clip_to: "clipper";
1850             description { state: "default" 0.0;
1851                rel1.to: "onrect";
1852                rel2.to: "offrect";
1853                image.normal: "tog_base.png";
1854             }
1855             description { state: "disabled" 0.0;
1856                inherit: "default" 0.0;
1857                image.normal: "tog_dis_base.png";
1858             }
1859          }
1860          part { name: "elm.offtext";
1861             type: TEXT;
1862             mouse_events:  0;
1863             scale: 1;
1864             clip_to: "clipper";
1865             description { state: "default" 0.0;
1866                fixed: 1 1;
1867                rel1.to_x: "offrect";
1868                rel2.to_x: "offrect";
1869                color: 0 0 0 255;
1870                text {
1871                   font:     "Sans,Edje-Vera";
1872                   size:     10;
1873                   min:      0 1;
1874                   align:    0.5 0.5;
1875                   text:     "OFF";
1876                }
1877             }
1878             description { state: "disabled" 0.0;
1879                inherit: "default" 0.0;
1880                color: 128 128 128 128;
1881             }
1882          }
1883          part { name: "elm.ontext";
1884             type: TEXT;
1885             effect: SOFT_SHADOW;
1886             mouse_events:  0;
1887             scale: 1;
1888             clip_to: "clipper";
1889             description { state: "default" 0.0;
1890                fixed: 1 1;
1891                rel1.to_x: "onrect";
1892                rel1.offset: 1 1;
1893                rel2.to_x: "onrect";
1894                rel2.offset: 0 0;
1895                color: 224 224 224 255;
1896                color3: 0 0 0 64;
1897                text {
1898                   font:     "Sans,Edje-Vera";
1899                   size:     10;
1900                   min:      0 1;
1901                   align:    0.5 0.5;
1902                   text:     "ON";
1903                }
1904             }
1905             description { state: "disabled" 0.0;
1906                inherit: "default" 0.0;
1907                color: 128 128 128 128;
1908                color3: 0 0 0 24;
1909             }
1910          }
1911          part { name: "conf_over";
1912             mouse_events:  0;
1913             description { state: "default" 0.0;
1914                rel1.offset: -1 -1;
1915                rel1.to: "bg";
1916                rel2.offset: 0 0;
1917                rel2.to: "bg";
1918                image {
1919                   normal: "shelf_inset.png";
1920                   border: 7 7 7 7;
1921                   middle: 0;
1922                }
1923                fill.smooth : 0;
1924             }
1925          }
1926          part { name: "button0";
1927             mouse_events:  0;
1928             clip_to: "clipper";
1929             description { state: "default" 0.0;
1930                rel1.to: "button2";
1931                rel1.offset: -4 -4;
1932                rel2.to: "button2";
1933                rel2.offset: 3 3;
1934                image {
1935                   normal: "bt_bases.png";
1936                   border: 11 11 11 11;
1937                }
1938                image.middle: SOLID;
1939                color: 255 255 255 128;
1940             }
1941          }
1942          part { name: "button2";
1943             mouse_events:  0;
1944             clip_to: "clipper";
1945             description { state: "default" 0.0;
1946                rel1.to: "button";
1947                rel1.offset: -2 -2;
1948                rel2.to: "button";
1949                rel2.offset: 1 1;
1950                image {
1951                   normal: "bt_basew.png";
1952                   border: 7 7 7 7;
1953                }
1954                image.middle: SOLID;
1955             }
1956          }
1957          part { name: "button3";
1958             mouse_events:  0;
1959             clip_to: "clipper";
1960             description { state: "default" 0.0;
1961                rel1.to: "button2";
1962                rel2.to: "button2";
1963                rel2.relative: 1.0 0.5;
1964                image {
1965                   normal: "bt_hilightw.png";
1966                   border: 4 4 4 0;
1967                }
1968             }
1969          }
1970          part { name: "elm.swallow.content";
1971             type: SWALLOW;
1972             description { state: "default" 0.0;
1973                fixed: 1 0;
1974                visible: 0;
1975                align: 0.0 0.5;
1976                rel1.offset: 4 4;
1977                rel2.relative: 0.0 1.0;
1978                rel2.offset: 3 -5;
1979             }
1980             description { state: "visible" 0.0;
1981                inherit: "default" 0.0;
1982                fixed: 1 1;
1983                visible: 1;
1984                aspect: 1.0 1.0;
1985                aspect_preference: VERTICAL;
1986                rel2.offset: 4 -5;
1987             }
1988             description { state: "disabled" 0.0;
1989                inherit: "default" 0.0;
1990                color: 128 128 128 128;
1991             }
1992             description { state: "disabled_visible" 0.0;
1993                inherit: "default" 0.0;
1994                color: 128 128 128 128;
1995                fixed: 1 1;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998             }
1999          }
2000          part { name: "elm.text";
2001             type: TEXT;
2002             mouse_events: 0;
2003             scale: 1;
2004             description { state: "default" 0.0;
2005                visible: 0;
2006                rel1.to_x: "elm.swallow.content";
2007                rel1.relative: 1.0 0.0;
2008                rel1.offset: 0 4;
2009                rel2.to_x: "bg";
2010                rel2.relative: 0.0 1.0;
2011                rel2.offset: -5 -5;
2012                color: 0 0 0 255;
2013                text {
2014                   font: "Sans,Edje-Vera";
2015                   size: 10;
2016                   min: 0 0;
2017                   align: 0.0 0.5;
2018                }
2019             }
2020             description { state: "visible" 0.0;
2021                inherit: "default" 0.0;
2022                visible: 1;
2023                text.min: 1 1;
2024             }
2025             description { state: "disabled" 0.0;
2026                inherit: "default" 0.0;
2027                color: 128 128 128 128;
2028             }
2029             description { state: "disabled_visible" 0.0;
2030                inherit: "default" 0.0;
2031                color: 128 128 128 128;
2032                visible: 1;
2033             }
2034          }
2035          part { name: "disabler";
2036             type: RECT;
2037             description { state: "default" 0.0;
2038                color: 0 0 0 0;
2039                visible: 0;
2040             }
2041             description { state: "disabled" 0.0;
2042                inherit: "default" 0.0;
2043                visible: 1;
2044             }
2045          }
2046       }
2047       programs {
2048          program { name:   "drag_end";
2049             signal: "mouse,up,1";
2050             source: "button";
2051             script {
2052                new Float:dx, Float:dy;
2053                get_drag(PART:"button", dx, dy);
2054                if (dx > 0.5)
2055                  {
2056                     set_drag(PART:"button", 1.0, 0.0);
2057                     emit("elm,action,toggle,on", "");
2058                  }
2059                else
2060                  {
2061                     set_drag(PART:"button", 0.0, 0.0);
2062                     emit("elm,action,toggle,off", "");
2063                  }
2064             }
2065          }
2066          program { name: "toggle_on";
2067             signal: "elm,state,toggle,on";
2068             source: "elm";
2069             script {
2070                set_drag(PART:"button", 100.0, 0.0);
2071             }
2072          }
2073          program { name: "toggle_off";
2074             signal: "elm,state,toggle,off";
2075             source: "elm";
2076             script {
2077                set_drag(PART:"button", 0.0, 0.0);
2078             }
2079          }
2080          program { name: "text_show";
2081             signal: "elm,state,text,visible";
2082             source: "elm";
2083             action:  STATE_SET "visible" 0.0;
2084             target: "elm.text";
2085          }
2086          program { name: "text_hide";
2087             signal: "elm,state,text,hidden";
2088             source: "elm";
2089             action:  STATE_SET "default" 0.0;
2090             target: "elm.text";
2091          }
2092          program { name: "icon_show";
2093             signal: "elm,state,icon,visible";
2094             source: "elm";
2095             action:  STATE_SET "visible" 0.0;
2096             target: "elm.swallow.content";
2097          }
2098          program { name: "icon_hide";
2099             signal: "elm,state,icon,hidden";
2100             source: "elm";
2101             action:  STATE_SET "default" 0.0;
2102             target: "elm.swallow.content";
2103          }
2104          program { name: "disable";
2105             signal: "elm,state,disabled";
2106             source: "elm";
2107             action: STATE_SET "disabled" 0.0;
2108             target: "togbase";
2109             target: "elm.offtext";
2110             target: "elm.ontext";
2111             target: "disabler";
2112             after: "disable_text";
2113          }
2114          program { name: "disable_text";
2115             script {
2116                new st[31];
2117                new Float:vl;
2118                get_state(PART:"elm.text", st, 30, vl);
2119                if (!strcmp(st, "visible"))
2120                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2121                else
2122                  set_state(PART:"elm.text", "disabled", 0.0);
2123
2124                get_state(PART:"elm.swallow.content", st, 30, vl);
2125                if (!strcmp(st, "visible"))
2126                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
2127                else
2128                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
2129             }
2130          }
2131          program { name: "enable";
2132             signal: "elm,state,enabled";
2133             source: "elm";
2134             action: STATE_SET "default" 0.0;
2135             target: "disabler";
2136             after: "enable_text";
2137          }
2138          program { name: "enable_text";
2139             script {
2140                new st[31];
2141                new Float:vl;
2142                get_state(PART:"elm.text", st, 30, vl);
2143                if (!strcmp(st, "disabled_visible"))
2144                  set_state(PART:"elm.text", "visible", 0.0);
2145                else
2146                  set_state(PART:"elm.text", "default", 0.0);
2147
2148                get_state(PART:"elm.swallow.content", st, 30, vl);
2149                if (!strcmp(st, "visible"))
2150                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2151                else
2152                  set_state(PART:"elm.swallow.content", "default", 0.0);
2153             }
2154          }
2155       }
2156    }
2157
2158 ///////////////////////////////////////////////////////////////////////////////
2159    group { name: "elm/clock/flipdigit/default";
2160       images {
2161          image: "flip_base.png" COMP;
2162          image: "flip_base_shad.png" COMP;
2163          image: "flip_shad.png" COMP;
2164          image: "flip_0t.png" COMP;
2165          image: "flip_0b.png" COMP;
2166          image: "flip_1t.png" COMP;
2167          image: "flip_1b.png" COMP;
2168          image: "flip_2t.png" COMP;
2169          image: "flip_2b.png" COMP;
2170          image: "flip_3t.png" COMP;
2171          image: "flip_3b.png" COMP;
2172          image: "flip_4t.png" COMP;
2173          image: "flip_4b.png" COMP;
2174          image: "flip_5t.png" COMP;
2175          image: "flip_5b.png" COMP;
2176          image: "flip_6t.png" COMP;
2177          image: "flip_6b.png" COMP;
2178          image: "flip_7t.png" COMP;
2179          image: "flip_7b.png" COMP;
2180          image: "flip_8t.png" COMP;
2181          image: "flip_8b.png" COMP;
2182          image: "flip_9t.png" COMP;
2183          image: "flip_9b.png" COMP;
2184          image: "arrow_up.png" COMP;
2185          image: "arrow_down.png" COMP;
2186       }
2187       script {
2188          public v0_cur, v0_pre, v0_lock, v0_next;
2189
2190        public animator2(val, Float:pos) {
2191           new st1[11], st2[11], v;
2192
2193           v = get_int(v0_cur);
2194           snprintf(st1, 10, "%ih", v);
2195           snprintf(st2, 10, "%i", v);
2196           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2197           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2198           if (pos >= 1.0) {
2199              set_state(PART:"sh", "default", 0.0);
2200              set_int(v0_lock, 0);
2201              v = get_int(v0_next);
2202              if (v >= 0) {
2203                 set_int(v0_next, -1);
2204                 message(MSG_INT, 1, v);
2205              }
2206           }
2207        }
2208        public animator1(val, Float:pos) {
2209           new st1[11], st2[11], v;
2210
2211           v = get_int(v0_pre);
2212           snprintf(st1, 10, "%i", v);
2213           snprintf(st2, 10, "%ih", v);
2214           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2215           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2216           if (pos >= 1.0) anim(0.2, "animator2", val);
2217        }
2218        public message(Msg_Type:type, id, ...) {
2219           if ((type == MSG_INT) && (id == 1)) {
2220              new value, v, buf[11];
2221
2222              value = getarg(2);
2223              if (get_int(v0_lock) == 1) {
2224                 set_int(v0_next, value);
2225                 return;
2226              }
2227              v = get_int(v0_cur);
2228              set_int(v0_pre, v);
2229              set_int(v0_cur, value);
2230              set_int(v0_lock, 1);
2231              snprintf(buf, 10, "%i", get_int(v0_pre));
2232              set_state(PART:"bot0", buf, 0.0);
2233              snprintf(buf, 10, "%ih", get_int(v0_cur));
2234              set_state(PART:"bot", buf, 0.0);
2235              snprintf(buf, 10, "%i", get_int(v0_cur));
2236              set_state(PART:"top0", buf, 0.0);
2237              snprintf(buf, 10, "%i", get_int(v0_pre));
2238              set_state(PART:"top", buf, 0.0);
2239              set_state(PART:"sh", "default", 0.0);
2240              anim(0.2, "animator1", 1);
2241           }
2242        }
2243       }
2244       parts {
2245          part { name: "shad";
2246             mouse_events: 0;
2247             description { state: "default" 0.0;
2248                rel1.offset: -4 -4;
2249                rel1.to: "base";
2250                rel2.offset: 3 3;
2251                rel2.to: "base";
2252                image {
2253                   normal: "flip_base_shad.png";
2254                   border: 8 8 8 8;
2255                }
2256             }
2257          }
2258          part { name: "base";
2259             scale: 1;
2260             description { state: "default" 0.0;
2261                rel1.offset: 4 4;
2262                rel2.offset: -5 -5;
2263                // FIXME 48x96 should be the native pixel design, right now
2264                // its 80x160. fix int he artwork later
2265                min: 24 48;
2266                aspect: 0.5 0.5;
2267 //             max: 24 48;
2268                image.normal: "flip_base.png";
2269             }
2270          }
2271          part { name: "b";
2272             type: RECT;
2273             mouse_events: 1;
2274             description { state: "default" 0.0;
2275                visible: 0;
2276                rel1.to: "base";
2277                rel1.relative: 0.0 0.5;
2278                rel2.to: "base";
2279                color: 0 0 0 0;
2280             }
2281             description { state: "visible" 0.0;
2282                inherit: "default" 0.0;
2283                visible: 1;
2284             }
2285          }
2286          part { name: "t";
2287             type: RECT;
2288             mouse_events: 1;
2289             description { state: "default" 0.0;
2290                visible: 0;
2291                rel1.to: "base";
2292                rel2.to: "base";
2293                rel2.relative: 1.0 0.5;
2294                color: 0 0 0 0;
2295             }
2296             description { state: "visible" 0.0;
2297                inherit: "default" 0.0;
2298                visible: 1;
2299             }
2300          }
2301          part { name: "bot0";
2302             mouse_events: 0;
2303             description { state: "default" 0.0;
2304                rel1.to: "b";
2305                rel2.to: "b";
2306                image.normal: "flip_0b.png";
2307             }
2308             description { state: "0" 0.0;
2309                inherit: "default" 0.0;
2310                image.normal: "flip_0b.png";
2311             }
2312             description { state: "1" 0.0;
2313                inherit: "default" 0.0;
2314                image.normal: "flip_1b.png";
2315             }
2316             description { state: "2" 0.0;
2317                inherit: "default" 0.0;
2318                image.normal: "flip_2b.png";
2319             }
2320             description { state: "3" 0.0;
2321                inherit: "default" 0.0;
2322                image.normal: "flip_3b.png";
2323             }
2324             description { state: "4" 0.0;
2325                inherit: "default" 0.0;
2326                image.normal: "flip_4b.png";
2327             }
2328             description { state: "5" 0.0;
2329                inherit: "default" 0.0;
2330                image.normal: "flip_5b.png";
2331             }
2332             description { state: "6" 0.0;
2333                inherit: "default" 0.0;
2334                image.normal: "flip_6b.png";
2335             }
2336             description { state: "7" 0.0;
2337                inherit: "default" 0.0;
2338                image.normal: "flip_7b.png";
2339             }
2340             description { state: "8" 0.0;
2341                inherit: "default" 0.0;
2342                image.normal: "flip_8b.png";
2343             }
2344             description { state: "9" 0.0;
2345                inherit: "default" 0.0;
2346                image.normal: "flip_9b.png";
2347             }
2348          }
2349          part { name: "sh";
2350             mouse_events: 0;
2351             description { state: "default" 0.0;
2352                rel1.to: "b";
2353                rel2.to: "b";
2354                rel2.relative: 1.0 0.0;
2355                image.normal: "flip_shad.png";
2356             }
2357             description { state: "half" 0.0;
2358                inherit: "default" 0.0;
2359                rel2.relative: 1.0 0.5;
2360             }
2361             description { state: "full" 0.0;
2362                inherit: "default" 0.0;
2363                rel2.relative: 1.0 1.0;
2364             }
2365          }
2366          part { name: "bot";
2367             mouse_events: 0;
2368             description { state: "default" 0.0;
2369                visible: 1;
2370                rel1.to: "b";
2371                rel2.to: "b";
2372                image.normal: "flip_0b.png";
2373             }
2374             description { state: "0" 0.0;
2375                inherit: "default" 0.0;
2376                visible: 1;
2377                rel2.relative: 1.0 1.0;
2378                image.normal: "flip_0b.png";
2379             }
2380             description { state: "0h" 0.0;
2381                inherit: "default" 0.0;
2382                visible: 0;
2383                rel2.relative: 1.0 0.0;
2384                image.normal: "flip_0b.png";
2385             }
2386             description { state: "1" 0.0;
2387                inherit: "default" 0.0;
2388                visible: 1;
2389                rel2.relative: 1.0 1.0;
2390                image.normal: "flip_1b.png";
2391             }
2392             description { state: "1h" 0.0;
2393                inherit: "default" 0.0;
2394                visible: 0;
2395                rel2.relative: 1.0 0.0;
2396                image.normal: "flip_1b.png";
2397             }
2398             description { state: "2" 0.0;
2399                inherit: "default" 0.0;
2400                visible: 1;
2401                rel2.relative: 1.0 1.0;
2402                image.normal: "flip_2b.png";
2403             }
2404             description { state: "2h" 0.0;
2405                inherit: "default" 0.0;
2406                visible: 0;
2407                rel2.relative: 1.0 0.0;
2408                image.normal: "flip_2b.png";
2409             }
2410             description { state: "3" 0.0;
2411                inherit: "default" 0.0;
2412                visible: 1;
2413                rel2.relative: 1.0 1.0;
2414                image.normal: "flip_3b.png";
2415             }
2416             description { state: "3h" 0.0;
2417                inherit: "default" 0.0;
2418                visible: 0;
2419                rel2.relative: 1.0 0.0;
2420                image.normal: "flip_3b.png";
2421             }
2422             description { state: "4" 0.0;
2423                inherit: "default" 0.0;
2424                visible: 1;
2425                rel2.relative: 1.0 1.0;
2426                image.normal: "flip_4b.png";
2427             }
2428             description { state: "4h" 0.0;
2429                inherit: "default" 0.0;
2430                visible: 0;
2431                rel2.relative: 1.0 0.0;
2432                image.normal: "flip_4b.png";
2433             }
2434             description { state: "5" 0.0;
2435                inherit: "default" 0.0;
2436                visible: 1;
2437                rel2.relative: 1.0 1.0;
2438                image.normal: "flip_5b.png";
2439             }
2440             description { state: "5h" 0.0;
2441                inherit: "default" 0.0;
2442                visible: 0;
2443                rel2.relative: 1.0 0.0;
2444                image.normal: "flip_5b.png";
2445             }
2446             description { state: "6" 0.0;
2447                inherit: "default" 0.0;
2448                visible: 1;
2449                rel2.relative: 1.0 1.0;
2450                image.normal: "flip_6b.png";
2451             }
2452             description { state: "6h" 0.0;
2453                inherit: "default" 0.0;
2454                visible: 0;
2455                rel2.relative: 1.0 0.0;
2456                image.normal: "flip_6b.png";
2457             }
2458             description { state: "7" 0.0;
2459                inherit: "default" 0.0;
2460                visible: 1;
2461                rel2.relative: 1.0 1.0;
2462                image.normal: "flip_7b.png";
2463             }
2464             description { state: "7h" 0.0;
2465                inherit: "default" 0.0;
2466                visible: 0;
2467                rel2.relative: 1.0 0.0;
2468                image.normal: "flip_7b.png";
2469             }
2470             description { state: "8" 0.0;
2471                inherit: "default" 0.0;
2472                visible: 1;
2473                rel2.relative: 1.0 1.0;
2474                image.normal: "flip_8b.png";
2475             }
2476             description { state: "8h" 0.0;
2477                inherit: "default" 0.0;
2478                visible: 0;
2479                rel2.relative: 1.0 0.0;
2480                image.normal: "flip_8b.png";
2481             }
2482             description { state: "9" 0.0;
2483                inherit: "default" 0.0;
2484                visible: 1;
2485                rel2.relative: 1.0 1.0;
2486                image.normal: "flip_9b.png";
2487             }
2488             description { state: "9h" 0.0;
2489                inherit: "default" 0.0;
2490                visible: 0;
2491                rel2.relative: 1.0 0.0;
2492                image.normal: "flip_9b.png";
2493             }
2494          }
2495          part { name: "top0";
2496             mouse_events: 0;
2497             description { state: "default" 0.0;
2498                rel1.to: "t";
2499                rel2.to: "t";
2500                image.normal: "flip_0t.png";
2501             }
2502             description { state: "0" 0.0;
2503                inherit: "default" 0.0;
2504                image.normal: "flip_0t.png";
2505             }
2506             description { state: "1" 0.0;
2507                inherit: "default" 0.0;
2508                image.normal: "flip_1t.png";
2509             }
2510             description { state: "2" 0.0;
2511                inherit: "default" 0.0;
2512                image.normal: "flip_2t.png";
2513             }
2514             description { state: "3" 0.0;
2515                inherit: "default" 0.0;
2516                image.normal: "flip_3t.png";
2517             }
2518             description { state: "4" 0.0;
2519                inherit: "default" 0.0;
2520                image.normal: "flip_4t.png";
2521             }
2522             description { state: "5" 0.0;
2523                inherit: "default" 0.0;
2524                image.normal: "flip_5t.png";
2525             }
2526             description { state: "6" 0.0;
2527                inherit: "default" 0.0;
2528                image.normal: "flip_6t.png";
2529             }
2530             description { state: "7" 0.0;
2531                inherit: "default" 0.0;
2532                image.normal: "flip_7t.png";
2533             }
2534             description { state: "8" 0.0;
2535                inherit: "default" 0.0;
2536                image.normal: "flip_8t.png";
2537             }
2538             description { state: "9" 0.0;
2539                inherit: "default" 0.0;
2540                image.normal: "flip_9t.png";
2541             }
2542          }
2543          part { name: "top";
2544             mouse_events: 0;
2545             description { state: "default" 0.0;
2546                visible: 1;
2547                rel1.to: "t";
2548                rel2.to: "t";
2549                image.normal: "flip_0t.png";
2550             }
2551             description { state: "0" 0.0;
2552                inherit: "default" 0.0;
2553                visible: 1;
2554                rel1.relative: 0.0 0.0;
2555                image.normal: "flip_0t.png";
2556             }
2557             description { state: "0h" 0.0;
2558                inherit: "default" 0.0;
2559                color: 128 128 128 255;
2560                visible: 0;
2561                rel1.relative: 0.0 1.0;
2562                image.normal: "flip_0t.png";
2563             }
2564             description { state: "1" 0.0;
2565                inherit: "default" 0.0;
2566                visible: 1;
2567                rel1.relative: 0.0 0.0;
2568                image.normal: "flip_1t.png";
2569             }
2570             description { state: "1h" 0.0;
2571                inherit: "default" 0.0;
2572                color: 128 128 128 255;
2573                visible: 0;
2574                rel1.relative: 0.0 1.0;
2575                image.normal: "flip_1t.png";
2576             }
2577             description { state: "2" 0.0;
2578                inherit: "default" 0.0;
2579                visible: 1;
2580                rel1.relative: 0.0 0.0;
2581                image.normal: "flip_2t.png";
2582             }
2583             description { state: "2h" 0.0;
2584                inherit: "default" 0.0;
2585                color: 128 128 128 255;
2586                visible: 0;
2587                rel1.relative: 0.0 1.0;
2588                image.normal: "flip_2t.png";
2589             }
2590             description { state: "3" 0.0;
2591                inherit: "default" 0.0;
2592                visible: 1;
2593                rel1.relative: 0.0 0.0;
2594                image.normal: "flip_3t.png";
2595             }
2596             description { state: "3h" 0.0;
2597                inherit: "default" 0.0;
2598                color: 128 128 128 255;
2599                visible: 0;
2600                rel1.relative: 0.0 1.0;
2601                image.normal: "flip_3t.png";
2602             }
2603             description { state: "4" 0.0;
2604                inherit: "default" 0.0;
2605                visible: 1;
2606                rel1.relative: 0.0 0.0;
2607                image.normal: "flip_4t.png";
2608             }
2609             description { state: "4h" 0.0;
2610                inherit: "default" 0.0;
2611                color: 128 128 128 255;
2612                visible: 0;
2613                rel1.relative: 0.0 1.0;
2614                image.normal: "flip_4t.png";
2615             }
2616             description { state: "5" 0.0;
2617                inherit: "default" 0.0;
2618                visible: 1;
2619                rel1.relative: 0.0 0.0;
2620                image.normal: "flip_5t.png";
2621             }
2622             description { state: "5h" 0.0;
2623                inherit: "default" 0.0;
2624                color: 128 128 128 255;
2625                visible: 0;
2626                rel1.relative: 0.0 1.0;
2627                image.normal: "flip_5t.png";
2628             }
2629             description { state: "6" 0.0;
2630                inherit: "default" 0.0;
2631                visible: 1;
2632                rel1.relative: 0.0 0.0;
2633                image.normal: "flip_6t.png";
2634             }
2635             description { state: "6h" 0.0;
2636                inherit: "default" 0.0;
2637                color: 128 128 128 255;
2638                visible: 0;
2639                rel1.relative: 0.0 1.0;
2640                image.normal: "flip_6t.png";
2641             }
2642             description { state: "7" 0.0;
2643                inherit: "default" 0.0;
2644                visible: 1;
2645                rel1.relative: 0.0 0.0;
2646                image.normal: "flip_7t.png";
2647             }
2648             description { state: "7h" 0.0;
2649                inherit: "default" 0.0;
2650                color: 128 128 128 255;
2651                visible: 0;
2652                rel1.relative: 0.0 1.0;
2653                image.normal: "flip_7t.png";
2654             }
2655             description { state: "8" 0.0;
2656                inherit: "default" 0.0;
2657                visible: 1;
2658                rel1.relative: 0.0 0.0;
2659                image.normal: "flip_8t.png";
2660             }
2661             description { state: "8h" 0.0;
2662                inherit: "default" 0.0;
2663                color: 128 128 128 255;
2664                visible: 0;
2665                rel1.relative: 0.0 1.0;
2666                image.normal: "flip_8t.png";
2667             }
2668             description { state: "9" 0.0;
2669                inherit: "default" 0.0;
2670                visible: 1;
2671                rel1.relative: 0.0 0.0;
2672                image.normal: "flip_9t.png";
2673             }
2674             description { state: "9h" 0.0;
2675                inherit: "default" 0.0;
2676                color: 128 128 128 255;
2677                visible: 0;
2678                rel1.relative: 0.0 1.0;
2679                image.normal: "flip_9t.png";
2680             }
2681          }
2682          part { name: "atop";
2683             mouse_events: 0;
2684             scale: 1;
2685             description { state: "default" 0.0;
2686                visible: 0;
2687                min: 15 15;
2688                max: 15 15;
2689                align: 0.5 0.0;
2690                rel1.to: "t";
2691                rel2.to: "t";
2692                image.normal: "arrow_up.png";
2693             }
2694             description { state: "visible" 0.0;
2695                inherit: "default" 0.0;
2696                visible: 1;
2697             }
2698          }
2699          part { name: "abot";
2700             mouse_events: 0;
2701             scale: 1;
2702             description { state: "default" 0.0;
2703                visible: 0;
2704                min: 15 15;
2705                max: 15 15;
2706                align: 0.5 1.0;
2707                rel1.to: "b";
2708                rel2.to: "b";
2709                image.normal: "arrow_down.png";
2710             }
2711             description { state: "visible" 0.0;
2712                inherit: "default" 0.0;
2713                visible: 1;
2714             }
2715          }
2716       }
2717       programs {
2718          program { name: "load";
2719             signal: "load";
2720             source: "";
2721             script {
2722                set_int(v0_cur, 0);
2723                set_int(v0_pre, 0);
2724                set_int(v0_lock, 0);
2725                set_int(v0_next, -1);
2726             }
2727          }
2728          program { name: "edit_on";
2729             signal: "elm,state,edit,on";
2730             source: "elm";
2731             action: STATE_SET "visible" 0.0;
2732             target: "atop";
2733             target: "abot";
2734             target: "t";
2735             target: "b";
2736          }
2737          program { name: "edit_off";
2738             signal: "elm,state,edit,off";
2739             source: "elm";
2740             action: STATE_SET "default" 0.0;
2741             target: "atop";
2742             target: "abot";
2743             target: "t";
2744             target: "b";
2745          }
2746          program { name: "up";
2747             signal: "mouse,down,1";
2748             source: "t";
2749             action: SIGNAL_EMIT "elm,action,up,start" "";
2750          }
2751          program { name: "up,stop";
2752             signal: "mouse,up,1";
2753             source: "t";
2754             action: SIGNAL_EMIT "elm,action,up,stop" "";
2755          }
2756          program { name: "down";
2757             signal: "mouse,down,1";
2758             source: "b";
2759             action: SIGNAL_EMIT "elm,action,down,start" "";
2760          }
2761          program { name: "down,stop";
2762             signal: "mouse,up,1";
2763             source: "b";
2764             action: SIGNAL_EMIT "elm,action,down,stop" "";
2765          }
2766       }
2767    }
2768
2769 ///////////////////////////////////////////////////////////////////////////////
2770    group { name: "elm/clock/flipampm/default";
2771       images {
2772          image: "flip_base.png" COMP;
2773          image: "flip_base_shad.png" COMP;
2774          image: "flip_shad.png" COMP;
2775          image: "flip_amt.png" COMP;
2776          image: "flip_amb.png" COMP;
2777          image: "flip_pmt.png" COMP;
2778          image: "flip_pmb.png" COMP;
2779          image: "arrow_up.png" COMP;
2780          image: "arrow_down.png" COMP;
2781       }
2782       script {
2783          public v0_cur, v0_pre, v0_lock, v0_next;
2784
2785        public animator2(val, Float:pos) {
2786           new st1[11], st2[11], v;
2787
2788           v = get_int(v0_cur);
2789           snprintf(st1, 10, "%ih", v);
2790           snprintf(st2, 10, "%i", v);
2791           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
2792           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
2793           if (pos >= 1.0) {
2794              set_state(PART:"sh", "default", 0.0);
2795              set_int(v0_lock, 0);
2796              v = get_int(v0_next);
2797              if (v >= 0) {
2798                 set_int(v0_next, -1);
2799                 message(MSG_INT, 1, v);
2800              }
2801           }
2802        }
2803        public animator1(val, Float:pos) {
2804           new st1[11], st2[11], v;
2805
2806           v = get_int(v0_pre);
2807           snprintf(st1, 10, "%i", v);
2808           snprintf(st2, 10, "%ih", v);
2809           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
2810           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
2811           if (pos >= 1.0) anim(0.2, "animator2", val);
2812        }
2813        public message(Msg_Type:type, id, ...) {
2814           if ((type == MSG_INT) && (id == 1)) {
2815              new value, v, buf[11];
2816
2817              value = getarg(2);
2818              if (get_int(v0_lock) == 1) {
2819                 set_int(v0_next, value);
2820                 return;
2821              }
2822              v = get_int(v0_cur);
2823              set_int(v0_pre, v);
2824              set_int(v0_cur, value);
2825              set_int(v0_lock, 1);
2826              snprintf(buf, 10, "%i", get_int(v0_pre));
2827              set_state(PART:"bot0", buf, 0.0);
2828              snprintf(buf, 10, "%ih", get_int(v0_cur));
2829              set_state(PART:"bot", buf, 0.0);
2830              snprintf(buf, 10, "%i", get_int(v0_cur));
2831              set_state(PART:"top0", buf, 0.0);
2832              snprintf(buf, 10, "%i", get_int(v0_pre));
2833              set_state(PART:"top", buf, 0.0);
2834              set_state(PART:"sh", "default", 0.0);
2835              anim(0.2, "animator1", 1);
2836           }
2837        }
2838       }
2839       parts {
2840          part { name: "shad";
2841             mouse_events: 0;
2842             description { state: "default" 0.0;
2843                rel1.offset: -4 -4;
2844                rel1.to: "base";
2845                rel2.offset: 3 3;
2846                rel2.to: "base";
2847                image {
2848                   normal: "flip_base_shad.png";
2849                   border: 8 8 8 8;
2850                }
2851             }
2852          }
2853          part { name: "base";
2854             mouse_events: 0;
2855             scale: 1;
2856             description { state: "default" 0.0;
2857                rel1.offset: 4 4;
2858                rel2.offset: -5 -5;
2859                // FIXME 48x96 should be the native pixel design, right now
2860                // its 80x160. fix int he artwork later
2861                aspect: 0.5 0.5;
2862                min: 24 48;
2863 //             max: 24 48;
2864                image.normal: "flip_base.png";
2865             }
2866          }
2867          part { name: "b";
2868             type: RECT;
2869             mouse_events: 1;
2870             description { state: "default" 0.0;
2871                rel1.to: "base";
2872                rel1.relative: 0.0 0.5;
2873                rel2.to: "base";
2874                color: 0 0 0 0;
2875             }
2876          }
2877          part { name: "t";
2878             type: RECT;
2879             mouse_events: 1;
2880             description { state: "default" 0.0;
2881                rel1.to: "base";
2882                rel2.to: "base";
2883                rel2.relative: 1.0 0.5;
2884                color: 0 0 0 0;
2885             }
2886          }
2887          part { name: "bot0";
2888             mouse_events: 0;
2889             description { state: "default" 0.0;
2890                rel1.to: "b";
2891                rel2.to: "b";
2892                image.normal: "flip_amb.png";
2893             }
2894             description { state: "0" 0.0;
2895                inherit: "default" 0.0;
2896                image.normal: "flip_amb.png";
2897             }
2898             description { state: "1" 0.0;
2899                inherit: "default" 0.0;
2900                image.normal: "flip_pmb.png";
2901             }
2902          }
2903          part { name: "sh";
2904             mouse_events: 0;
2905             description { state: "default" 0.0;
2906                rel1.to: "b";
2907                rel2.to: "b";
2908                rel2.relative: 1.0 0.0;
2909                image.normal: "flip_shad.png";
2910             }
2911             description { state: "half" 0.0;
2912                inherit: "default" 0.0;
2913                rel2.relative: 1.0 0.5;
2914             }
2915             description { state: "full" 0.0;
2916                inherit: "default" 0.0;
2917                rel2.relative: 1.0 1.0;
2918             }
2919          }
2920          part { name: "bot";
2921             mouse_events: 0;
2922             description { state: "default" 0.0;
2923                visible: 1;
2924                rel1.to: "b";
2925                rel2.to: "b";
2926                image.normal: "flip_amb.png";
2927             }
2928             description { state: "0" 0.0;
2929                inherit: "default" 0.0;
2930                visible: 1;
2931                rel2.relative: 1.0 1.0;
2932                image.normal: "flip_amb.png";
2933             }
2934             description { state: "0h" 0.0;
2935                inherit: "default" 0.0;
2936                visible: 0;
2937                rel2.relative: 1.0 0.0;
2938                image.normal: "flip_amb.png";
2939             }
2940             description { state: "1" 0.0;
2941                inherit: "default" 0.0;
2942                visible: 1;
2943                rel2.relative: 1.0 1.0;
2944                image.normal: "flip_pmb.png";
2945             }
2946             description { state: "1h" 0.0;
2947                inherit: "default" 0.0;
2948                visible: 0;
2949                rel2.relative: 1.0 0.0;
2950                image.normal: "flip_pmb.png";
2951             }
2952          }
2953          part { name: "top0";
2954             mouse_events: 0;
2955             description { state: "default" 0.0;
2956                rel1.to: "t";
2957                rel2.to: "t";
2958                image.normal: "flip_amt.png";
2959             }
2960             description { state: "0" 0.0;
2961                inherit: "default" 0.0;
2962                image.normal: "flip_amt.png";
2963             }
2964             description { state: "1" 0.0;
2965                inherit: "default" 0.0;
2966                image.normal: "flip_pmt.png";
2967             }
2968          }
2969          part { name: "top";
2970             mouse_events: 0;
2971             description { state: "default" 0.0;
2972                visible: 1;
2973                rel1.to: "t";
2974                rel2.to: "t";
2975                image.normal: "flip_amt.png";
2976             }
2977             description { state: "0" 0.0;
2978                inherit: "default" 0.0;
2979                visible: 1;
2980                rel1.relative: 0.0 0.0;
2981                image.normal: "flip_amt.png";
2982             }
2983             description { state: "0h" 0.0;
2984                inherit: "default" 0.0;
2985                color: 128 128 128 255;
2986                visible: 0;
2987                rel1.relative: 0.0 1.0;
2988                image.normal: "flip_amt.png";
2989             }
2990             description { state: "1" 0.0;
2991                inherit: "default" 0.0;
2992                visible: 1;
2993                rel1.relative: 0.0 0.0;
2994                image.normal: "flip_pmt.png";
2995             }
2996             description { state: "1h" 0.0;
2997                inherit: "default" 0.0;
2998                color: 128 128 128 255;
2999                visible: 0;
3000                rel1.relative: 0.0 1.0;
3001                image.normal: "flip_pmt.png";
3002             }
3003          }
3004          part { name: "atop";
3005             mouse_events: 0;
3006             scale: 1;
3007             description { state: "default" 0.0;
3008                visible: 0;
3009                min: 15 15;
3010                max: 15 15;
3011                align: 0.5 0.0;
3012                rel1.to: "t";
3013                rel2.to: "t";
3014                image.normal: "arrow_up.png";
3015             }
3016             description { state: "visible" 0.0;
3017                inherit: "default" 0.0;
3018                visible: 1;
3019             }
3020          }
3021          part { name: "abot";
3022             mouse_events: 0;
3023             scale: 1;
3024             description { state: "default" 0.0;
3025                visible: 0;
3026                min: 15 15;
3027                max: 15 15;
3028                align: 0.5 1.0;
3029                rel1.to: "b";
3030                rel2.to: "b";
3031                image.normal: "arrow_down.png";
3032             }
3033             description { state: "visible" 0.0;
3034                inherit: "default" 0.0;
3035                visible: 1;
3036             }
3037          }
3038       }
3039       programs {
3040          program { name: "load";
3041             signal: "load";
3042             source: "";
3043             script {
3044                set_int(v0_cur, 0);
3045                set_int(v0_pre, 0);
3046                set_int(v0_lock, 0);
3047                set_int(v0_next, -1);
3048             }
3049          }
3050          program { name: "edit_on";
3051             signal: "elm,state,edit,on";
3052             source: "elm";
3053             action: STATE_SET "visible" 0.0;
3054             target: "atop";
3055             target: "abot";
3056          }
3057 /*
3058          program { name: "edit_off";
3059             signal: "elm,state,edit,off";
3060             source: "elm";
3061             action: STATE_SET "default" 0.0;
3062             target: "atop";
3063             target: "abot";
3064          }
3065  */
3066          program { name: "up";
3067             signal: "mouse,down,1";
3068             source: "t";
3069             action: SIGNAL_EMIT "elm,action,up,start" "";
3070          }
3071          program { name: "up,stop";
3072             signal: "mouse,up,1";
3073             source: "t";
3074             action: SIGNAL_EMIT "elm,action,up,stop" "";
3075          }
3076          program { name: "down";
3077             signal: "mouse,down,1";
3078             source: "b";
3079             action: SIGNAL_EMIT "elm,action,down,start" "";
3080          }
3081          program { name: "down,stop";
3082             signal: "mouse,up,1";
3083             source: "b";
3084             action: SIGNAL_EMIT "elm,action,down,stop" "";
3085          }
3086       }
3087    }
3088
3089    ///////////////////////////////////////////////////////////////////////////////
3090    group { name: "elm/menu/item/default";
3091        images {
3092            image: "bt_base1.png" COMP;
3093            image: "bt_base2.png" COMP;
3094            image: "bt_hilight.png" COMP;
3095            image: "bt_shine.png" COMP;
3096            image: "bt_glow.png" COMP;
3097            image: "bt_dis_base.png" COMP;
3098            image: "bt_dis_hilight.png" COMP;
3099        }
3100        script {
3101             public menu_text_visible; //0:hide (default), 1:visible
3102             public menu_disable; //0:enable, 1:disable
3103        }
3104        parts {
3105            part { name: "item_image";
3106                mouse_events: 1;
3107                description { state: "default" 0.0;
3108                    color: 255 255 255 0;
3109                    image {
3110                        normal: "bt_base2.png";
3111                        border: 7 7 7 7;
3112                    }
3113                    image.middle: SOLID;
3114                }
3115                description { state: "visible" 0.0;
3116                    inherit: "default" 0.0;
3117                    color: 255 255 255 255;
3118                }
3119                description { state: "clicked" 0.0;
3120                    inherit: "default" 0.0;
3121                    inherit: "visible" 0.0;
3122                    image.normal: "bt_base1.png";
3123                    image.middle: SOLID;
3124                }
3125                description { state: "disabled" 0.0;
3126                    inherit:  "default" 0.0;
3127                }
3128            }
3129            part { name: "item_image_disabled";
3130                mouse_events: 1;
3131                description { state: "default" 0.0;
3132                    color: 255 255 255 0;
3133                    image {
3134                        normal: "bt_dis_base.png";
3135                        border: 4 4 4 4;
3136                    }
3137                    image.middle: SOLID;
3138                }
3139                description { state: "disabled" 0.0;
3140                    inherit:  "default" 0.0;
3141                    color: 255 255 255 255;
3142                }
3143            }
3144            part { name: "elm.swallow.content";
3145                type: SWALLOW;
3146                description { state: "default" 0.0;
3147                    fixed: 1 0;
3148                    visible: 1;
3149                    align: 0.0 0.5;
3150                    rel1.offset: 4 4;
3151                    rel2.offset: 3 -5;
3152                    rel2.relative: 0.0 1.0;
3153                    aspect: 1.0 1.0;
3154                    aspect_preference: VERTICAL;
3155                    rel2.offset: 4 -5;
3156                }
3157            }
3158            part {
3159                name:          "elm.text";
3160                type:          TEXT;
3161                mouse_events:  0;
3162                scale: 1;
3163                description { state: "default" 0.0;
3164                    visible: 0;
3165                    rel1.to_x: "elm.swallow.content";
3166                    rel1.relative: 1.0 0.0;
3167                    rel1.offset: 5 7;
3168                    rel2.offset: -10 -8;
3169                    color: 0 0 0 255;
3170                    text {
3171                        font:     "Sans,Edje-Vera";
3172                        size:     10;
3173                        min:      1 1;
3174                        align:    0.0 0.5;
3175                    }
3176                }
3177                description { state: "visible" 0.0;
3178                    inherit: "default" 0.0;
3179                    visible: 1;
3180                    text.min: 1 1;
3181                }
3182                description { state: "selected" 0.0;
3183                    inherit: "default" 0.0;
3184                    inherit: "visible" 0.0;
3185                    color: 254 254 254 255;
3186                }
3187                description { state: "disabled" 0.0;
3188                    inherit: "default" 0.0;
3189                    color: 0 0 0 128;
3190                }
3191                description { state: "disabled_visible" 0.0;
3192                    inherit: "default" 0.0;
3193                    inherit: "visible" 0.0;
3194                    color: 0 0 0 128;
3195                }
3196            }
3197            part {         name: "over1";
3198                mouse_events: 0;
3199                description { state: "default" 0.0;
3200                    color: 255 255 255 0;
3201                    rel2.relative: 1.0 0.5;
3202                    image {
3203                        normal: "bt_hilight.png";
3204                        border: 7 7 7 0;
3205                    }
3206                }
3207                description { state: "visible" 0.0;
3208                    inherit:  "default" 0.0;
3209                    color: 255 255 255 255;
3210                }
3211                description { state: "disabled" 0.0;
3212                    inherit:  "default" 0.0;
3213                }
3214            }
3215            part {         name: "over_disabled";
3216                mouse_events: 0;
3217                description { state: "default" 0.0;
3218                    color: 255 255 255 0;
3219                    rel2.relative: 1.0 0.5;
3220                    image {
3221                        normal: "bt_dis_hilight.png";
3222                        border: 4 4 4 0;
3223                    }
3224                }
3225                description { state: "disabled" 0.0;
3226                    inherit:  "default" 0.0;
3227                    color: 255 255 255 255;
3228                }
3229            }
3230            part { name: "over2";
3231                mouse_events: 1;
3232                repeat_events: 1;
3233                ignore_flags: ON_HOLD;
3234                description { state: "default" 0.0;
3235                    image {
3236                        normal: "bt_shine.png";
3237                        border: 7 7 7 7;
3238                    }
3239                }
3240                description { state: "disabled" 0.0;
3241                    inherit:  "default" 0.0;
3242                    visible: 0;
3243                }
3244            }
3245            part { name: "over3";
3246                mouse_events: 1;
3247                repeat_events: 1;
3248                description { state: "default" 0.0;
3249                    color: 255 255 255 0;
3250                    image {
3251                        normal: "bt_glow.png";
3252                        border: 12 12 12 12;
3253                    }
3254                    fill.smooth : 0;
3255                }
3256                description { state: "clicked" 0.0;
3257                    inherit:  "default" 0.0;
3258                    visible: 1;
3259                    color: 255 255 255 255;
3260                }
3261            }
3262            part { name: "disabler";
3263                type: RECT;
3264                description { state: "default" 0.0;
3265                    color: 0 0 0 0;
3266                    visible: 0;
3267                }
3268                description { state: "disabled" 0.0;
3269                    inherit: "default" 0.0;
3270                    visible: 1;
3271                }
3272            }
3273        }
3274        programs {
3275           //
3276            program {
3277                name:   "item_mouse_in";
3278                signal: "mouse,in";
3279                source: "over2";
3280                action: SIGNAL_EMIT "elm,action,activate" "";
3281                after: "item_mouse_in_2";
3282                after: "item_mouse_in_3";
3283            }
3284            program {
3285                name:   "item_mouse_in_2";
3286                transition: DECELERATE 0.5;
3287                script {
3288                    new v, d;
3289                    v = get_int(menu_text_visible);
3290                    d = get_int(menu_disable);
3291
3292                    if (v==1 && d==0)
3293                         run_program(PROGRAM:"selected_text");
3294                }
3295            }
3296            program {
3297                name:   "item_mouse_in_3";
3298                action : STATE_SET "visible" 0.0;
3299                target: "item_image";
3300                target: "over1";
3301                transition: DECELERATE 0.5;
3302            }
3303            program {
3304                name:   "selected_text";
3305                action: STATE_SET "selected" 0.0;
3306                target: "elm.text";
3307                transition: DECELERATE 0.5;
3308            }
3309            //
3310
3311            //
3312            program {
3313                name:   "item_mouse_out";
3314                signal: "mouse,out";
3315                source: "over2";
3316                after: "item_mouse_out_2";
3317                after: "item_mouse_out_3";
3318            }
3319            program {
3320                name:   "item_mouse_out_2";
3321                transition: DECELERATE 0.5;
3322                script {
3323                    new v, d;
3324                    v = get_int(menu_text_visible);
3325                    d = get_int(menu_disable);
3326
3327                    if (v==1 && d==0)
3328                         run_program(PROGRAM:"visible_text");
3329                }
3330            }
3331            program {
3332                name:   "item_mouse_out_3";
3333                action: STATE_SET "default" 0.0;
3334                target: "item_image";
3335                target: "over1";
3336                transition: DECELERATE 0.5;
3337            }
3338            program {
3339                name:   "visible_text";
3340                action: STATE_SET "visible" 0.0;
3341                target: "elm.text";
3342                transition: DECELERATE 0.5;
3343            }
3344            //
3345
3346            program {
3347                name:   "item_unclick";
3348                signal: "mouse,up,1";
3349                source: "over2";
3350                action: STATE_SET "visible" 0.0;
3351                target: "item_image";
3352            }
3353            program {
3354                name:   "item_click2";
3355                signal: "mouse,down,1";
3356                source: "over3";
3357                action: STATE_SET "clicked" 0.0;
3358                target: "over3";
3359            }
3360            program {
3361                name:   "item_unclick2";
3362                signal: "mouse,up,1";
3363                source: "over3";
3364                action: STATE_SET "default" 0.0;
3365                transition: DECELERATE 0.5;
3366                target: "over3";
3367            }
3368            program {
3369                name:   "item_unclick3";
3370                signal: "mouse,up,1";
3371                source: "over2";
3372                action: SIGNAL_EMIT "elm,action,click" "";
3373            }
3374            program { name: "text_show";
3375                signal: "elm,state,text,visible";
3376                source: "elm";
3377                script {
3378                    set_int(menu_text_visible, 1);
3379                    set_state(PART:"elm.text", "visible", 0.0);
3380                }
3381            }
3382            program { name: "text_hide";
3383                signal: "elm,state,text,hidden";
3384                source: "elm";
3385                script {
3386                    set_int(menu_text_visible, 0);
3387                    set_state(PART:"elm.text", "default", 0.0);
3388                }
3389            }
3390            program { name: "disable";
3391                signal: "elm,state,disabled";
3392                source: "elm";
3393                action: STATE_SET "disabled" 0.0;
3394                target: "item_image";
3395                target: "item_image_disabled";
3396                target: "over1";
3397                target: "over2";
3398                target: "over_disabled";
3399                target: "disabler";
3400                after: "disable_text";
3401            }
3402            program { name: "disable_text";
3403                script {
3404                    new v;
3405                    v = get_int(menu_text_visible);
3406                    if (v==1)
3407                     set_state(PART:"elm.text", "disabled_visible", 0.0);
3408                    else if (v==0)
3409                     set_state(PART:"elm.text", "disabled", 0.0);
3410                    set_int(menu_disable, 1);
3411                }
3412            }
3413            program { name: "enable";
3414                signal: "elm,state,enabled";
3415                source: "elm";
3416                action: STATE_SET "default" 0.0;
3417                target: "item_image";
3418                target: "item_image_disabled";
3419                target: "over1";
3420                target: "over2";
3421                target: "over_disabled";
3422                target: "disabler";
3423                after: "enable_text";
3424            }
3425            program { name: "enable_text";
3426                script {
3427                    new v;
3428                    v = get_int(menu_text_visible);
3429                    if (v==1)
3430                     set_state(PART:"elm.text", "visible", 0.0);
3431                    else  if (v==0)
3432                     set_state(PART:"elm.text", "default", 0.0);
3433                    set_int(menu_disable, 0);
3434                }
3435            }
3436        }
3437    }
3438
3439    group { name: "elm/menu/item_with_submenu/default";
3440        images {
3441            image: "bt_base1.png" COMP;
3442            image: "bt_base2.png" COMP;
3443            image: "bt_hilight.png" COMP;
3444            image: "bt_shine.png" COMP;
3445            image: "bt_glow.png" COMP;
3446            image: "bt_dis_base.png" COMP;
3447            image: "bt_dis_hilight.png" COMP;
3448            image: "arrow_right.png" COMP;
3449        }
3450        script {
3451             public menu_text_visible; //0:hide (default), 1:visible
3452             public menu_disable; //0:enable, 1:disable
3453        }
3454        parts {
3455            part { name: "item_image";
3456                mouse_events: 1;
3457                description { state: "default" 0.0;
3458                    color: 255 255 255 0;
3459                    image {
3460                        normal: "bt_base2.png";
3461                        border: 7 7 7 7;
3462                    }
3463                    image.middle: SOLID;
3464                }
3465                description { state: "visible" 0.0;
3466                    inherit: "default" 0.0;
3467                    color: 255 255 255 255;
3468                }
3469                description { state: "clicked" 0.0;
3470                    inherit: "default" 0.0;
3471                    inherit: "visible" 0.0;
3472                    image.normal: "bt_base1.png";
3473                    image.middle: SOLID;
3474                }
3475                description { state: "disabled" 0.0;
3476                    inherit:  "default" 0.0;
3477                }
3478            }
3479            part { name: "item_image_disabled";
3480                mouse_events: 1;
3481                description { state: "default" 0.0;
3482                    color: 255 255 255 0;
3483                    image {
3484                        normal: "bt_dis_base.png";
3485                        border: 4 4 4 4;
3486                    }
3487                    image.middle: SOLID;
3488                }
3489                description { state: "disabled" 0.0;
3490                    inherit:  "default" 0.0;
3491                    color: 255 255 255 255;
3492                }
3493            }
3494            part { name: "arrow";
3495                mouse_events: 1;
3496                description { state: "default" 0.0;
3497                    color: 255 255 255 255;
3498                    align: 1.0 0.5;
3499                    aspect: 1 1;
3500                    aspect_preference: BOTH;
3501                    image {
3502                        normal: "arrow_right.png";
3503                    }
3504                }
3505            }
3506            part { name: "elm.swallow.content";
3507                type: SWALLOW;
3508                description { state: "default" 0.0;
3509                    fixed: 1 0;
3510                    visible: 1;
3511                    align: 0.0 0.5;
3512                    rel1.offset: 4 4;
3513                    rel2.offset: 3 -5;
3514                    rel2.relative: 0.0 1.0;
3515                    aspect: 1.0 1.0;
3516                    aspect_preference: VERTICAL;
3517                    rel2.offset: 4 -5;
3518                }
3519            }
3520            part {
3521                name:          "elm.text";
3522                type:          TEXT;
3523                mouse_events:  0;
3524                scale: 1;
3525                description { state: "default" 0.0;
3526                    visible: 0;
3527                    rel1.to_x: "elm.swallow.content";
3528                    rel1.relative: 1.0 0.0;
3529                    rel1.offset: 5 7;
3530                    rel2.offset: -10 -8;
3531                    color: 0 0 0 255;
3532                    text {
3533                        font:     "Sans,Edje-Vera";
3534                        size:     10;
3535                        min:      1 1;
3536                        align:    0.0 0.5;
3537                    }
3538                }
3539                description { state: "visible" 0.0;
3540                    inherit: "default" 0.0;
3541                    visible: 1;
3542                    text.min: 1 1;
3543                }
3544                description { state: "selected" 0.0;
3545                    inherit: "default" 0.0;
3546                    inherit: "visible" 0.0;
3547                    color: 254 254 254 255;
3548                }
3549                description { state: "disabled" 0.0;
3550                    inherit: "default" 0.0;
3551                    color: 0 0 0 128;
3552                }
3553                description { state: "disabled_visible" 0.0;
3554                    inherit: "default" 0.0;
3555                    inherit: "visible" 0.0;
3556                    color: 0 0 0 128;
3557                }
3558            }
3559            part {         name: "over1";
3560                mouse_events: 0;
3561                description { state: "default" 0.0;
3562                    color: 255 255 255 0;
3563                    rel2.relative: 1.0 0.5;
3564                    image {
3565                        normal: "bt_hilight.png";
3566                        border: 7 7 7 0;
3567                    }
3568                }
3569                description { state: "visible" 0.0;
3570                    inherit:  "default" 0.0;
3571                    color: 255 255 255 255;
3572                }
3573                description { state: "disabled" 0.0;
3574                    inherit:  "default" 0.0;
3575                }
3576            }
3577            part { name: "over_disabled";
3578                mouse_events: 0;
3579                description { state: "default" 0.0;
3580                    color: 255 255 255 0;
3581                    rel2.relative: 1.0 0.5;
3582                    image {
3583                        normal: "bt_dis_hilight.png";
3584                        border: 4 4 4 0;
3585                    }
3586                }
3587                description { state: "disabled" 0.0;
3588                    inherit:  "default" 0.0;
3589                    color: 255 255 255 255;
3590                }
3591            }
3592            part { name: "over2";
3593                mouse_events: 1;
3594                repeat_events: 1;
3595                ignore_flags: ON_HOLD;
3596                description { state: "default" 0.0;
3597                    image {
3598                        normal: "bt_shine.png";
3599                        border: 7 7 7 7;
3600                    }
3601                }
3602                description { state: "disabled" 0.0;
3603                    inherit:  "default" 0.0;
3604                    visible: 0;
3605                }
3606            }
3607            part { name: "over3";
3608                mouse_events: 1;
3609                repeat_events: 1;
3610                description { state: "default" 0.0;
3611                    color: 255 255 255 0;
3612                    image {
3613                        normal: "bt_glow.png";
3614                        border: 12 12 12 12;
3615                    }
3616                    fill.smooth : 0;
3617                }
3618                description { state: "clicked" 0.0;
3619                    inherit:  "default" 0.0;
3620                    visible: 1;
3621                    color: 255 255 255 255;
3622                }
3623            }
3624            part { name: "disabler";
3625                type: RECT;
3626                description { state: "default" 0.0;
3627                    color: 0 0 0 0;
3628                    visible: 0;
3629                }
3630                description { state: "disabled" 0.0;
3631                    inherit: "default" 0.0;
3632                    visible: 1;
3633                }
3634            }
3635        }
3636        programs {
3637            //
3638            program {
3639                name:   "item_mouse_in";
3640                signal: "mouse,in";
3641                source: "over2";
3642                action: SIGNAL_EMIT "elm,action,activate" "";
3643                after: "item_mouse_in_2";
3644                after: "item_mouse_in_3";
3645            }
3646            program {
3647                name:   "item_mouse_in_2";
3648                transition: DECELERATE 0.5;
3649                script {
3650                    new v, d;
3651                    v = get_int(menu_text_visible);
3652                    d = get_int(menu_disable);
3653
3654                    if (v==1 && d==0)
3655                         run_program(PROGRAM:"selected_text");
3656                }
3657            }
3658            program {
3659                name:   "item_mouse_in_3";
3660                action : STATE_SET "visible" 0.0;
3661                target: "item_image";
3662                target: "over1";
3663                transition: DECELERATE 0.5;
3664            }
3665            program {
3666                name:   "selected_text";
3667                action: STATE_SET "selected" 0.0;
3668                target: "elm.text";
3669                transition: DECELERATE 0.5;
3670            }
3671            //
3672
3673            //
3674            program {
3675                name:   "item_mouse_out";
3676                signal: "mouse,out";
3677                source: "over2";
3678                after: "item_mouse_out_2";
3679                after: "item_mouse_out_3";
3680            }
3681            program {
3682                name:   "item_mouse_out_2";
3683                transition: DECELERATE 0.5;
3684                script {
3685                    new v, d;
3686                    v = get_int(menu_text_visible);
3687                    d = get_int(menu_disable);
3688
3689                    if (v==1 && d==0)
3690                         run_program(PROGRAM:"visible_text");
3691                }
3692            }
3693            program {
3694                name:   "item_mouse_out_3";
3695                action: STATE_SET "default" 0.0;
3696                target: "item_image";
3697                target: "over1";
3698                transition: DECELERATE 0.5;
3699            }
3700            program {
3701                name:   "visible_text";
3702                action: STATE_SET "visible" 0.0;
3703                target: "elm.text";
3704                transition: DECELERATE 0.5;
3705            }
3706            //
3707
3708            program {
3709                name:   "item_unclick";
3710                signal: "mouse,up,1";
3711                source: "over2";
3712                action: STATE_SET "visible" 0.0;
3713                target: "item_image";
3714            }
3715            program {
3716                name:   "item_click2";
3717                signal: "mouse,down,1";
3718                source: "over3";
3719                action: STATE_SET "clicked" 0.0;
3720                target: "over3";
3721            }
3722            program {
3723                name:   "item_unclick2";
3724                signal: "mouse,up,1";
3725                source: "over3";
3726                action: STATE_SET "default" 0.0;
3727                transition: DECELERATE 0.5;
3728                target: "over3";
3729            }
3730            program {
3731                name:   "item_unclick3";
3732                signal: "mouse,up,1";
3733                source: "over2";
3734                action: SIGNAL_EMIT "elm,action,click" "";
3735            }
3736            program {
3737                name:   "menu_open";
3738                signal: "mouse,in";
3739                source: "over2";
3740                action: SIGNAL_EMIT "elm,action,open" "";
3741            }
3742             program { name: "text_show";
3743                signal: "elm,state,text,visible";
3744                source: "elm";
3745                script {
3746                    set_int(menu_text_visible, 1);
3747                    set_state(PART:"elm.text", "visible", 0.0);
3748                }
3749            }
3750            program { name: "text_hide";
3751                signal: "elm,state,text,hidden";
3752                source: "elm";
3753                script {
3754                    set_int(menu_text_visible, 0);
3755                    set_state(PART:"elm.text", "default", 0.0);
3756                }
3757            }
3758            program { name: "disable";
3759                signal: "elm,state,disabled";
3760                source: "elm";
3761                action: STATE_SET "disabled" 0.0;
3762                target: "item_image";
3763                target: "item_image_disabled";
3764                target: "over1";
3765                target: "over2";
3766                target: "over_disabled";
3767                target: "disabler";
3768                after: "disable_text";
3769            }
3770            program { name: "disable_text";
3771                script {
3772                    new st[31];
3773                    new Float:vl;
3774                    get_state(PART:"elm.text", st, 30, vl);
3775                    if (!strcmp(st, "visible"))
3776                    set_state(PART:"elm.text", "disabled_visible", 0.0);
3777                    else if (!strcmp(st, "default"))
3778                    set_state(PART:"elm.text", "disabled", 0.0);
3779                }
3780            }
3781            program { name: "enable";
3782                signal: "elm,state,enabled";
3783                source: "elm";
3784                action: STATE_SET "default" 0.0;
3785                target: "item_image";
3786                target: "item_image_disabled";
3787                target: "over1";
3788                target: "over2";
3789                target: "over_disabled";
3790                target: "disabler";
3791                after: "enable_text";
3792            }
3793            program { name: "enable_text";
3794                script {
3795                    new v;
3796                    v = get_int(menu_text_visible);
3797                    if (v==1)
3798                     set_state(PART:"elm.text", "visible", 0.0);
3799                    else  if (v==0)
3800                     set_state(PART:"elm.text", "default", 0.0);
3801                    set_int(menu_disable, 0);
3802                }
3803            }
3804        }
3805    }
3806
3807    group { name: "elm/menu/separator/default";
3808        images {
3809            image: "separator_h.png" COMP;
3810        }
3811        parts {
3812            part { name: "separator"; // separator group
3813                description { state: "default" 0.0;
3814                    min: 2 2;
3815                    rel1.offset: 4 4;
3816                    rel2.offset: -5 -5;
3817                    image {
3818                        normal: "separator_h.png";
3819                    }
3820                    fill {
3821                        smooth: 0;
3822                    }
3823                }
3824            }
3825        }
3826    }
3827 ///////////////////////////////////////////////////////////////////////////////
3828    group { name: "elm/clock/base-all/default";
3829       parts {
3830          part { name: "d0";
3831             type: SWALLOW;
3832             description { state: "default" 0.0;
3833                rel1.relative: 0.0000000 0.0;
3834                rel2.relative: 0.1250000 1.0;
3835             }
3836          }
3837          part { name: "d1";
3838             type: SWALLOW;
3839             description { state: "default" 0.0;
3840                rel1.relative: 0.1250000 0.0;
3841                rel2.relative: 0.2500000 1.0;
3842             }
3843          }
3844          part { name: "c0";
3845             type: SWALLOW;
3846             type: TEXT;
3847             mouse_events:  0;
3848             scale: 1;
3849             description { state: "default" 0.0;
3850                rel1.relative: 0.2500000 0.0;
3851                rel2.relative: 0.3125000 1.0;
3852                color: 0 0 0 255;
3853                text {
3854                   font:     "Sans,Edje-Vera";
3855                   text:     ":";
3856                   size:     10;
3857                   min:      1 1;
3858                   align:    0.5 0.5;
3859                }
3860             }
3861          }
3862          part { name: "d2";
3863             type: SWALLOW;
3864             description { state: "default" 0.0;
3865                rel1.relative: 0.3125000 0.0;
3866                rel2.relative: 0.4375000 1.0;
3867             }
3868          }
3869          part { name: "d3";
3870             type: SWALLOW;
3871             description { state: "default" 0.0;
3872                rel1.relative: 0.4375000 0.0;
3873                rel2.relative: 0.5625000 1.0;
3874             }
3875          }
3876          // (if seconds)
3877          part { name: "c1";
3878             type: SWALLOW;
3879             type: TEXT;
3880             mouse_events:  0;
3881             scale: 1;
3882             description { state: "default" 0.0;
3883                rel1.relative: 0.5625000 0.0;
3884                rel2.relative: 0.6250000 1.0;
3885                color: 0 0 0 255;
3886                text {
3887                   font:     "Sans,Edje-Vera";
3888                   text:     ":";
3889                   size:     10;
3890                   min:      1 1;
3891                   align:    0.5 0.5;
3892                }
3893             }
3894          }
3895          // (if seconds)
3896          part { name: "d4";
3897             type: SWALLOW;
3898             description { state: "default" 0.0;
3899                rel1.relative: 0.6250000 0.0;
3900                rel2.relative: 0.7500000 1.0;
3901             }
3902          }
3903          // (if seconds)
3904          part { name: "d5";
3905             type: SWALLOW;
3906             description { state: "default" 0.0;
3907                rel1.relative: 0.7500000 0.0;
3908                rel2.relative: 0.8750000 1.0;
3909             }
3910          }
3911          // (if am_pm)
3912          part { name: "ampm";
3913             type: SWALLOW;
3914             description { state: "default" 0.0;
3915                rel1.relative: 0.8750000 0.0;
3916                rel2.relative: 1.0 1.0;
3917             }
3918          }
3919       }
3920    }
3921
3922 ///////////////////////////////////////////////////////////////////////////////
3923    group { name: "elm/clock/base-seconds/default";
3924       parts {
3925          part { name: "d0";
3926             type: SWALLOW;
3927             description { state: "default" 0.0;
3928                rel1.relative: 0.000000000 0.0;
3929                rel2.relative: 0.142857143 1.0;
3930             }
3931          }
3932          part { name: "d1";
3933             type: SWALLOW;
3934             description { state: "default" 0.0;
3935                rel1.relative: 0.142857143 0.0;
3936                rel2.relative: 0.285714286 1.0;
3937             }
3938          }
3939          part { name: "c0";
3940             type: SWALLOW;
3941             type: TEXT;
3942             mouse_events:  0;
3943             scale: 1;
3944             description { state: "default" 0.0;
3945                rel1.relative: 0.285714286 0.0;
3946                rel2.relative: 0.357142857 1.0;
3947                color: 0 0 0 255;
3948                text {
3949                   font:     "Sans,Edje-Vera";
3950                   text:     ":";
3951                   size:     10;
3952                   min:      1 1;
3953                   align:    0.5 0.5;
3954                }
3955             }
3956          }
3957          part { name: "d2";
3958             type: SWALLOW;
3959             description { state: "default" 0.0;
3960                rel1.relative: 0.357142857 0.0;
3961                rel2.relative: 0.500000000 1.0;
3962             }
3963          }
3964          part { name: "d3";
3965             type: SWALLOW;
3966             description { state: "default" 0.0;
3967                rel1.relative: 0.500000000 0.0;
3968                rel2.relative: 0.642857143 1.0;
3969             }
3970          }
3971          // (if seconds)
3972          part { name: "c1";
3973             type: SWALLOW;
3974             type: TEXT;
3975             mouse_events:  0;
3976             scale: 1;
3977             description { state: "default" 0.0;
3978                rel1.relative: 0.642857143 0.0;
3979                rel2.relative: 0.714285714 1.0;
3980                color: 0 0 0 255;
3981                text {
3982                   font:     "Sans,Edje-Vera";
3983                   text:     ":";
3984                   size:     10;
3985                   min:      1 1;
3986                   align:    0.5 0.5;
3987                }
3988             }
3989          }
3990          // (if seconds)
3991          part { name: "d4";
3992             type: SWALLOW;
3993             description { state: "default" 0.0;
3994                rel1.relative: 0.714285714 0.0;
3995                rel2.relative: 0.857142857 1.0;
3996             }
3997          }
3998          // (if seconds)
3999          part { name: "d5";
4000             type: SWALLOW;
4001             description { state: "default" 0.0;
4002                rel1.relative: 0.857142857 0.0;
4003                rel2.relative: 1.000000000 1.0;
4004             }
4005          }
4006       }
4007    }
4008
4009 ///////////////////////////////////////////////////////////////////////////////
4010    group { name: "elm/clock/base-am_pm/default";
4011       parts {
4012          part { name: "d0";
4013             type: SWALLOW;
4014             description { state: "default" 0.0;
4015                rel1.relative: 0.000000000 0.0;
4016                rel2.relative: 0.181818182 1.0;
4017             }
4018          }
4019          part { name: "d1";
4020             type: SWALLOW;
4021             description { state: "default" 0.0;
4022                rel1.relative: 0.181818182 0.0;
4023                rel2.relative: 0.363636364 1.0;
4024             }
4025          }
4026          part { name: "c0";
4027             type: SWALLOW;
4028             type: TEXT;
4029             mouse_events:  0;
4030             scale: 1;
4031             description { state: "default" 0.0;
4032                rel1.relative: 0.363636364 0.0;
4033                rel2.relative: 0.454545455 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          part { name: "d2";
4045             type: SWALLOW;
4046             description { state: "default" 0.0;
4047                rel1.relative: 0.454545455 0.0;
4048                rel2.relative: 0.636363636 1.0;
4049             }
4050          }
4051          part { name: "d3";
4052             type: SWALLOW;
4053             description { state: "default" 0.0;
4054                rel1.relative: 0.636363636 0.0;
4055                rel2.relative: 0.818181818 1.0;
4056             }
4057          }
4058          // (if am_pm)
4059          part { name: "ampm";
4060             type: SWALLOW;
4061             description { state: "default" 0.0;
4062                rel1.relative: 0.818181818 0.0;
4063                rel2.relative: 1.0 1.0;
4064             }
4065          }
4066       }
4067    }
4068
4069 ///////////////////////////////////////////////////////////////////////////////
4070    group { name: "elm/clock/base/default";
4071       parts {
4072          part { name: "d0";
4073             type: SWALLOW;
4074             description { state: "default" 0.0;
4075                rel1.relative: 0.000000000 0.0;
4076                rel2.relative: 0.222222222 1.0;
4077             }
4078          }
4079          part { name: "d1";
4080             type: SWALLOW;
4081             description { state: "default" 0.0;
4082                rel1.relative: 0.222222222 0.0;
4083                rel2.relative: 0.444444444 1.0;
4084             }
4085          }
4086          part { name: "c0";
4087             type: SWALLOW;
4088             type: TEXT;
4089             mouse_events:  0;
4090             scale: 1;
4091             description { state: "default" 0.0;
4092                rel1.relative: 0.444444444 0.0;
4093                rel2.relative: 0.555555556 1.0;
4094                color: 0 0 0 255;
4095                text {
4096                   font:     "Sans,Edje-Vera";
4097                   text:     ":";
4098                   size:     10;
4099                   min:      1 1;
4100                   align:    0.5 0.5;
4101                }
4102             }
4103          }
4104          part { name: "d2";
4105             type: SWALLOW;
4106             description { state: "default" 0.0;
4107                rel1.relative: 0.555555556 0.0;
4108                rel2.relative: 0.777777778 1.0;
4109             }
4110          }
4111          part { name: "d3";
4112             type: SWALLOW;
4113             description { state: "default" 0.0;
4114                rel1.relative: 0.777777778 0.0;
4115                rel2.relative: 1.000000000 1.0;
4116             }
4117          }
4118       }
4119    }
4120
4121 ///////////////////////////////////////////////////////////////////////////////
4122    group { name: "elm/frame/base/default";
4123        images {
4124            image: "frame_1.png" COMP;
4125            image: "frame_2.png" COMP;
4126            image: "dia_grad.png" COMP;
4127        }
4128        parts {
4129            part { name: "base0";
4130                mouse_events:  0;
4131                description { state: "default" 0.0;
4132                    image.normal: "dia_grad.png";
4133                    rel1.to: "over";
4134                    rel2.to: "over";
4135                    fill {
4136                        smooth: 0;
4137                        size {
4138                            relative: 0.0 1.0;
4139                            offset: 64 0;
4140                        }
4141                    }
4142                }
4143            }
4144            part { name: "base";
4145                mouse_events:  0;
4146                description { state:    "default" 0.0;
4147                    rel2.to: "elm.swallow.content";
4148                    rel2.offset: 9 9;
4149                    image {
4150                        normal: "frame_2.png";
4151                        border: 5 5 32 26;
4152                        middle: 0;
4153                    }
4154                    fill.smooth : 0;
4155                }
4156            }
4157            part { name: "elm.text";
4158                type: TEXT;
4159                mouse_events:   0;
4160                scale: 1;
4161                description { state: "default" 0.0;
4162                    align: 0.0 0.0;
4163                    fixed: 0 1;
4164                    rel1 {
4165                        relative: 0.0 0.0;
4166                        offset: 6 6;
4167                    }
4168                    rel2 {
4169                        relative: 1.0 0.0;
4170                        offset: -7 6;
4171                    }
4172                    color: 0 0 0 64;
4173                    text {
4174                        font: "Sans:style=Bold,Edje-Vera-Bold";
4175                        size: 10;
4176                        min: 1 1;
4177                        max: 1 1;
4178                        align: 0.0 0.0;
4179                    }
4180                }
4181            }
4182            part { name: "over";
4183                mouse_events:  0;
4184                description { state:    "default" 0.0;
4185                    rel1.offset: 4 4;
4186                    rel2.to: "elm.swallow.content";
4187                    rel2.offset: 5 5;
4188                    image {
4189                        normal: "frame_1.png";
4190                        border: 2 2 28 22;
4191                        middle: 0;
4192                    }
4193                    fill.smooth : 0;
4194                }
4195            }
4196            part { name: "elm.swallow.content";
4197                type: SWALLOW;
4198                description { state: "default" 0.0;
4199                    align: 0.0 0.0;
4200                    rel1 {
4201                        to_y: "elm.text";
4202                        relative: 0.0 1.0;
4203                        offset: 8 2;
4204                    }
4205                    rel2.offset: -9 -9;
4206                }
4207            }
4208        }
4209    }
4210
4211    group { name: "elm/frame/base/pad_small";
4212        parts {
4213            part { name: "b0";
4214                mouse_events:  0;
4215                type: RECT;
4216                scale: 1;
4217                description { state: "default" 0.0;
4218                    visible: 0;
4219                    min: 4 4;
4220                    max: 4 4;
4221                    align: 0.0 0.0;
4222                }
4223            }
4224            part { name: "b1";
4225                mouse_events:  0;
4226                type: RECT;
4227                scale: 1;
4228                description { state: "default" 0.0;
4229                    visible: 0;
4230                    min: 4 4;
4231                    max: 4 4;
4232                    align: 1.0 1.0;
4233                }
4234            }
4235            part { name: "elm.swallow.content";
4236                type: SWALLOW;
4237                description { state: "default" 0.0;
4238                    rel1 {
4239                        to: "b0";
4240                        relative: 1.0 1.0;
4241                        offset: 0 0;
4242                    }
4243                    rel2 {
4244                        to: "b1";
4245                        relative: 0.0 0.0;
4246                        offset: -1 -1;
4247                    }
4248                }
4249            }
4250        }
4251    }
4252
4253    group { name: "elm/frame/base/pad_medium";
4254        parts {
4255            part { name: "b0";
4256                mouse_events:  0;
4257                type: RECT;
4258                scale: 1;
4259                description { state: "default" 0.0;
4260                    visible: 0;
4261                    min: 8 8;
4262                    max: 8 8;
4263                    align: 0.0 0.0;
4264                }
4265            }
4266            part { name: "b1";
4267                mouse_events:  0;
4268                type: RECT;
4269                scale: 1;
4270                description { state: "default" 0.0;
4271                    visible: 0;
4272                    min: 8 8;
4273                    max: 8 8;
4274                    align: 1.0 1.0;
4275                }
4276            }
4277            part { name: "elm.swallow.content";
4278                type: SWALLOW;
4279                description { state: "default" 0.0;
4280                    rel1 {
4281                        to: "b0";
4282                        relative: 1.0 1.0;
4283                        offset: 0 0;
4284                    }
4285                    rel2 {
4286                        to: "b1";
4287                        relative: 0.0 0.0;
4288                        offset: -1 -1;
4289                    }
4290                }
4291            }
4292        }
4293    }
4294
4295    group { name: "elm/frame/base/pad_large";
4296        parts {
4297            part { name: "b0";
4298                mouse_events:  0;
4299                type: RECT;
4300                scale: 1;
4301                description { state: "default" 0.0;
4302                    visible: 0;
4303                    min: 16 16;
4304                    max: 16 16;
4305                    align: 0.0 0.0;
4306                }
4307            }
4308            part { name: "b1";
4309                mouse_events:  0;
4310                type: RECT;
4311                scale: 1;
4312                description { state: "default" 0.0;
4313                    visible: 0;
4314                    min: 16 16;
4315                    max: 16 16;
4316                    align: 1.0 1.0;
4317                }
4318            }
4319            part { name: "elm.swallow.content";
4320                type: SWALLOW;
4321                description { state: "default" 0.0;
4322                    rel1 {
4323                        to: "b0";
4324                        relative: 1.0 1.0;
4325                        offset: 0 0;
4326                    }
4327                    rel2 {
4328                        to: "b1";
4329                        relative: 0.0 0.0;
4330                        offset: -1 -1;
4331                    }
4332                }
4333            }
4334        }
4335    }
4336
4337    group { name: "elm/frame/base/pad_huge";
4338        parts {
4339            part { name: "b0";
4340                mouse_events:  0;
4341                type: RECT;
4342                scale: 1;
4343                description { state: "default" 0.0;
4344                    visible: 0;
4345                    min: 32 32;
4346                    max: 32 32;
4347                    align: 0.0 0.0;
4348                }
4349            }
4350            part { name: "b1";
4351                mouse_events:  0;
4352                type: RECT;
4353                scale: 1;
4354                description { state: "default" 0.0;
4355                    visible: 0;
4356                    min: 32 32;
4357                    max: 32 32;
4358                    align: 1.0 1.0;
4359                }
4360            }
4361            part { name: "elm.swallow.content";
4362                type: SWALLOW;
4363                description { state: "default" 0.0;
4364                    rel1 {
4365                        to: "b0";
4366                        relative: 1.0 1.0;
4367                        offset: 0 0;
4368                    }
4369                    rel2 {
4370                        to: "b1";
4371                        relative: 0.0 0.0;
4372                        offset: -1 -1;
4373                    }
4374                }
4375            }
4376        }
4377    }
4378
4379    group { name: "elm/frame/base/outdent_top";
4380        images {
4381            image: "outdent-top.png" COMP;
4382        }
4383        parts {
4384            part { name: "base0";
4385                mouse_events:  0;
4386                description { state: "default" 0.0;
4387                    image.normal: "outdent-top.png";
4388                    image.border: 0 0 0 13;
4389                    fill.smooth: 0;
4390                }
4391            }
4392            part { name: "elm.swallow.content";
4393                type: SWALLOW;
4394                description { state: "default" 0.0;
4395                    rel1.offset: 2 2;
4396                    rel2.offset: -3 -13;
4397                }
4398            }
4399        }
4400    }
4401
4402    group { name: "elm/frame/base/outdent_bottom";
4403        images {
4404            image: "outdent-bottom.png" COMP;
4405        }
4406        parts {
4407            part { name: "base0";
4408                mouse_events:  0;
4409                description { state: "default" 0.0;
4410                    image.normal: "outdent-bottom.png";
4411                    image.border: 0 0 13 0;
4412                    fill.smooth: 0;
4413                }
4414            }
4415            part { name: "elm.swallow.content";
4416                type: SWALLOW;
4417                description { state: "default" 0.0;
4418                    rel1.offset: 2 12;
4419                    rel2.offset: -3 -3;
4420                }
4421            }
4422        }
4423    }
4424
4425 ///////////////////////////////////////////////////////////////////////////////
4426    group { name: "elm/hover/base/default";
4427       images {
4428          image: "shad_circ.png" COMP;
4429       }
4430       parts {
4431          part { name: "elm.swallow.offset";
4432             type: SWALLOW;
4433             description { state: "default" 0.0;
4434                align: 0.0 0.0;
4435                rel1.relative: 0.0 0.0;
4436                rel2.relative: 0.0 0.0;
4437             }
4438          }
4439          part { name: "elm.swallow.size";
4440             type: SWALLOW;
4441             description { state: "default" 0.0;
4442                align: 0.0 0.0;
4443                rel1.to: "elm.swallow.offset";
4444                rel1.relative: 1.0 1.0;
4445                rel2.to: "elm.swallow.offset";
4446                rel2.relative: 1.0 1.0;
4447             }
4448          }
4449          part { name: "base";
4450             type: RECT;
4451             mouse_events: 1;
4452             description { state: "default" 0.0;
4453                color: 0 0 0 64;
4454             }
4455          }
4456          part { name: "shad";
4457             mouse_events:  0;
4458             description { state: "default" 0.0;
4459                image.normal: "shad_circ.png";
4460                rel1.to: "elm.swallow.size";
4461                rel1.offset: -32 -32;
4462                rel2.to: "elm.swallow.size";
4463                rel2.offset: 31 31;
4464                fill.smooth: 0;
4465             }
4466          }
4467          part { name: "box";
4468             type: RECT;
4469             mouse_events: 0;
4470             description { state: "default" 0.0;
4471                color: 0 0 0 0;
4472                rel1.to: "elm.swallow.size";
4473                rel1.offset: -2 -2;
4474                rel2.to: "elm.swallow.size";
4475                rel2.offset: 1 1;
4476             }
4477          }
4478          part { name: "elm.swallow.slot.left";
4479             type: SWALLOW;
4480             description { state: "default" 0.0;
4481                align: 1.0 0.5;
4482                rel1.to: "elm.swallow.slot.middle";
4483                rel1.relative: 0.0 0.0;
4484                rel1.offset: -1 0;
4485                rel2.to: "elm.swallow.slot.middle";
4486                rel2.relative: 0.0 1.0;
4487                rel2.offset: -1 -1;
4488             }
4489          }
4490          part { name: "elm.swallow.slot.right";
4491             type: SWALLOW;
4492             description { state: "default" 0.0;
4493                align: 0.0 0.5;
4494                rel1.to: "elm.swallow.slot.middle";
4495                rel1.relative: 1.0 0.0;
4496                rel1.offset: 0 0;
4497                rel2.to: "elm.swallow.slot.middle";
4498                rel2.relative: 1.0 1.0;
4499                rel2.offset: 0 -1;
4500             }
4501          }
4502          part { name: "elm.swallow.slot.top";
4503             type: SWALLOW;
4504             description { state: "default" 0.0;
4505                align: 0.5 1.0;
4506                rel1.to: "elm.swallow.slot.middle";
4507                rel1.relative: 0.0 0.0;
4508                rel1.offset: 0 -1;
4509                rel2.to: "elm.swallow.slot.middle";
4510                rel2.relative: 1.0 0.0;
4511                rel2.offset: -1 -1;
4512             }
4513          }
4514          part { name: "elm.swallow.slot.bottom";
4515             type: SWALLOW;
4516             description { state: "default" 0.0;
4517                align: 0.5 0.0;
4518                rel1.to: "elm.swallow.slot.middle";
4519                rel1.relative: 0.0 1.0;
4520                rel1.offset: 0 0;
4521                rel2.to: "elm.swallow.slot.middle";
4522                rel2.relative: 1.0 1.0;
4523                rel2.offset: -1 0;
4524             }
4525          }
4526          part { name: "elm.swallow.slot.middle";
4527             type: SWALLOW;
4528             description { state: "default" 0.0;
4529                rel1.to: "elm.swallow.size";
4530                rel2.to: "elm.swallow.size";
4531             }
4532          }
4533       }
4534       programs {
4535          program { name: "end";
4536             signal: "mouse,up,1";
4537             source: "base";
4538             action: SIGNAL_EMIT "elm,action,dismiss" "";
4539          }
4540       }
4541    }
4542
4543    group { name: "elm/hover/base/popout";
4544       images {
4545          image: "shad_circ.png" COMP;
4546          image: "bt_dis_base.png" COMP;
4547          image: "bt_dis_hilight.png" COMP;
4548       }
4549       parts {
4550          part { name: "elm.swallow.offset";
4551             type: SWALLOW;
4552             description { state: "default" 0.0;
4553                align: 0.0 0.0;
4554                rel1.relative: 0.0 0.0;
4555                rel2.relative: 0.0 0.0;
4556             }
4557          }
4558          part { name: "elm.swallow.size";
4559             type: SWALLOW;
4560             description { state: "default" 0.0;
4561                align: 0.0 0.0;
4562                rel1.to: "elm.swallow.offset";
4563                rel1.relative: 1.0 1.0;
4564                rel2.to: "elm.swallow.offset";
4565                rel2.relative: 1.0 1.0;
4566             }
4567          }
4568          part { name: "base";
4569             type: RECT;
4570             mouse_events: 1;
4571             description { state: "default" 0.0;
4572                color: 0 0 0 0;
4573             }
4574             description { state: "visible" 0.0;
4575                inherit: "default" 1.0;
4576                color: 0 0 0 64;
4577             }
4578          }
4579          part { name: "leftclip";
4580             type: RECT;
4581             description { state: "default" 0.0;
4582                rel2.to_x: "pop";
4583                rel2.relative: 0.0 1.0;
4584                rel2.offset: 1 -1;
4585             }
4586          }
4587          part { name: "left";
4588             clip_to: "leftclip";
4589             description { state: "default" 0.0;
4590                visible: 0;
4591                rel1.to: "elm.swallow.slot.left";
4592                rel1.offset: -5 -5;
4593                rel2.to: "elm.swallow.slot.left";
4594                rel2.offset: 4 4;
4595                image {
4596                   normal: "bt_dis_base.png";
4597                   border: 4 4 4 4;
4598                }
4599                image.middle: SOLID;
4600             }
4601             description { state: "visible" 0.0;
4602                inherit: "default" 0.0;
4603                visible: 1;
4604             }
4605          }
4606          part { name: "elm.swallow.slot.left";
4607             type: SWALLOW;
4608             clip_to: "leftclip";
4609             description { state: "default" 0.0;
4610                align: 0.0 0.5;
4611                rel1.to: "elm.swallow.slot.middle";
4612                rel1.relative: 0.0 0.0;
4613                rel1.offset: -1 0;
4614                rel2.to: "elm.swallow.slot.middle";
4615                rel2.relative: 0.0 1.0;
4616                rel2.offset: -1 -1;
4617             }
4618             description { state: "visible" 0.0;
4619                inherit: "default" 0.0;
4620                rel1.offset: -7 0;
4621                rel2.offset: -7 -1;
4622                align: 1.0 0.5;
4623             }
4624          }
4625          part { name: "leftover";
4626             clip_to: "leftclip";
4627             mouse_events: 0;
4628             description { state: "default" 0.0;
4629                rel1.to: "left";
4630                rel2.to: "left";
4631                rel2.relative: 1.0 0.5;
4632                image {
4633                   normal: "bt_dis_hilight.png";
4634                   border: 4 4 4 0;
4635                }
4636             }
4637          }
4638          part { name: "rightclip";
4639             type: RECT;
4640             description { state: "default" 0.0;
4641                rel1.to_x: "pop";
4642                rel1.relative: 1.0 0.0;
4643                rel1.offset: -2 0;
4644             }
4645          }
4646          part { name: "right";
4647             clip_to: "rightclip";
4648             description { state: "default" 0.0;
4649                visible: 0;
4650                rel1.to: "elm.swallow.slot.right";
4651                rel1.offset: -5 -5;
4652                rel2.to: "elm.swallow.slot.right";
4653                rel2.offset: 4 4;
4654                image {
4655                   normal: "bt_dis_base.png";
4656                   border: 4 4 4 4;
4657                }
4658                image.middle: SOLID;
4659             }
4660             description { state: "visible" 0.0;
4661                inherit: "default" 0.0;
4662                visible: 1;
4663             }
4664          }
4665          part { name: "elm.swallow.slot.right";
4666             type: SWALLOW;
4667             clip_to: "rightclip";
4668             description { state: "default" 0.0;
4669                align: 1.0 0.5;
4670                rel1.to: "elm.swallow.slot.middle";
4671                rel1.relative: 1.0 0.0;
4672                rel1.offset: 0 0;
4673                rel2.to: "elm.swallow.slot.middle";
4674                rel2.relative: 1.0 1.0;
4675                rel2.offset: 0 -1;
4676             }
4677             description { state: "visible" 0.0;
4678                inherit: "default" 0.0;
4679                rel1.offset: 6 0;
4680                rel2.offset: 6 -1;
4681                align: 0.0 0.5;
4682             }
4683          }
4684          part { name: "rightover";
4685             clip_to: "rightclip";
4686             mouse_events: 0;
4687             description { state: "default" 0.0;
4688                rel1.to: "right";
4689                rel2.to: "right";
4690                rel2.relative: 1.0 0.5;
4691                image {
4692                   normal: "bt_dis_hilight.png";
4693                   border: 4 4 4 0;
4694                }
4695             }
4696          }
4697          part { name: "topclip";
4698             type: RECT;
4699             description { state: "default" 0.0;
4700                rel2.to_y: "pop";
4701                rel2.relative: 1.0 0.0;
4702                rel2.offset: -1 1;
4703             }
4704          }
4705          part { name: "top";
4706             clip_to: "topclip";
4707             description { state: "default" 0.0;
4708                visible: 0;
4709                rel1.to: "elm.swallow.slot.top";
4710                rel1.offset: -5 -5;
4711                rel2.to: "elm.swallow.slot.top";
4712                rel2.offset: 4 4;
4713                image {
4714                   normal: "bt_dis_base.png";
4715                   border: 4 4 4 4;
4716                }
4717                image.middle: SOLID;
4718             }
4719             description { state: "visible" 0.0;
4720                inherit: "default" 0.0;
4721                visible: 1;
4722             }
4723          }
4724          part { name: "elm.swallow.slot.top";
4725             type: SWALLOW;
4726             clip_to: "topclip";
4727             description { state: "default" 0.0;
4728                visible: 1;
4729                align: 0.5 0.0;
4730                rel1.to: "elm.swallow.slot.middle";
4731                rel1.relative: 0.0 0.0;
4732                rel1.offset: 0 -1;
4733                rel2.to: "elm.swallow.slot.middle";
4734                rel2.relative: 1.0 0.0;
4735                rel2.offset: -1 -1;
4736             }
4737             description { state: "visible" 0.0;
4738                inherit: "default" 0.0;
4739                rel1.offset: 0 -7;
4740                rel2.offset: -1 -7;
4741                align: 0.5 1.0;
4742             }
4743          }
4744          part { name: "topover";
4745             clip_to: "topclip";
4746             mouse_events: 0;
4747             description { state: "default" 0.0;
4748                rel1.to: "top";
4749                rel2.to: "top";
4750                rel2.relative: 1.0 0.5;
4751                image {
4752                   normal: "bt_dis_hilight.png";
4753                   border: 4 4 4 0;
4754                }
4755             }
4756          }
4757          part { name: "bottomclip";
4758             type: RECT;
4759             description { state: "default" 0.0;
4760                rel1.to_y: "pop";
4761                rel1.relative: 0.0 1.0;
4762                rel1.offset: -1 -2;
4763             }
4764          }
4765          part { name: "bottom";
4766             clip_to: "bottomclip";
4767             description { state: "default" 0.0;
4768                visible: 0;
4769                rel1.to: "elm.swallow.slot.bottom";
4770                rel1.offset: -5 -5;
4771                rel2.to: "elm.swallow.slot.bottom";
4772                rel2.offset: 4 4;
4773                image {
4774                   normal: "bt_dis_base.png";
4775                   border: 4 4 4 4;
4776                }
4777                image.middle: SOLID;
4778             }
4779             description { state: "visible" 0.0;
4780                inherit: "default" 0.0;
4781                visible: 1;
4782             }
4783          }
4784          part { name: "elm.swallow.slot.bottom";
4785             type: SWALLOW;
4786             clip_to: "bottomclip";
4787             description { state: "default" 0.0;
4788                align: 0.5 1.0;
4789                rel1.to: "elm.swallow.slot.middle";
4790                rel1.relative: 0.0 1.0;
4791                rel1.offset: 0 0;
4792                rel2.to: "elm.swallow.slot.middle";
4793                rel2.relative: 1.0 1.0;
4794                rel2.offset: -1 0;
4795             }
4796             description { state: "visible" 0.0;
4797                inherit: "default" 0.0;
4798                rel1.offset: 0 6;
4799                rel2.offset: -1 6;
4800                align: 0.5 0.0;
4801             }
4802          }
4803          part { name: "bottomover";
4804             clip_to: "bottomclip";
4805             mouse_events: 0;
4806             description { state: "default" 0.0;
4807                rel1.to: "bottom";
4808                rel2.to: "bottom";
4809                rel2.relative: 1.0 0.5;
4810                image {
4811                   normal: "bt_dis_hilight.png";
4812                   border: 4 4 4 0;
4813                }
4814             }
4815          }
4816          part { name: "shad";
4817             mouse_events:  0;
4818             description { state: "default" 0.0;
4819                image.normal: "shad_circ.png";
4820                rel1.to: "elm.swallow.size";
4821                rel1.offset: -64 -64;
4822                rel2.to: "elm.swallow.size";
4823                rel2.offset: 63 63;
4824                fill.smooth: 0;
4825             }
4826          }
4827          part { name: "pop";
4828             mouse_events: 1;
4829             description { state: "default" 0.0;
4830                rel1.to: "elm.swallow.slot.middle";
4831                rel1.offset: -5 -5;
4832                rel2.to: "elm.swallow.slot.middle";
4833                rel2.offset: 4 4;
4834                image {
4835                   normal: "bt_dis_base.png";
4836                   border: 4 4 4 4;
4837                }
4838                image.middle: SOLID;
4839             }
4840          }
4841          part { name: "elm.swallow.slot.middle";
4842             type: SWALLOW;
4843             description { state: "default" 0.0;
4844                rel1.to: "elm.swallow.size";
4845                rel2.to: "elm.swallow.size";
4846             }
4847          }
4848          part { name: "popover";
4849             mouse_events: 0;
4850             description { state: "default" 0.0;
4851                rel1.to: "pop";
4852                rel2.to: "pop";
4853                rel2.relative: 1.0 0.5;
4854                image {
4855                   normal: "bt_dis_hilight.png";
4856                   border: 4 4 4 0;
4857                }
4858             }
4859          }
4860       }
4861       programs {
4862          program { name: "end";
4863             signal: "mouse,up,1";
4864             source: "base";
4865             action: SIGNAL_EMIT "elm,action,dismiss" "";
4866          }
4867
4868          program { name: "show";
4869             signal: "elm,action,show";
4870             source: "elm";
4871             action: STATE_SET "visible" 0.0;
4872 //          transition: DECELERATE 0.5;
4873             target: "base";
4874          }
4875          program { name: "hide";
4876             signal: "elm,action,hide";
4877             source: "elm";
4878             action: STATE_SET "default" 0.0;
4879 //          transition: DECELERATE 0.5;
4880             target: "base";
4881          }
4882
4883          program { name: "leftshow";
4884             signal: "elm,action,slot,left,show";
4885             source: "elm";
4886             action: STATE_SET "visible" 0.0;
4887             transition: DECELERATE 0.5;
4888             target: "left";
4889             target: "elm.swallow.slot.left";
4890          }
4891          program { name: "lefthide";
4892             signal: "elm,action,slot,left,hide";
4893             source: "elm";
4894             action: STATE_SET "default" 0.0;
4895             transition: DECELERATE 0.5;
4896             target: "left";
4897             target: "elm.swallow.slot.left";
4898          }
4899          program { name: "rightshow";
4900             signal: "elm,action,slot,right,show";
4901             source: "elm";
4902             action: STATE_SET "visible" 0.0;
4903             transition: DECELERATE 0.5;
4904             target: "right";
4905             target: "elm.swallow.slot.right";
4906          }
4907          program { name: "righthide";
4908             signal: "elm,action,slot,right,hide";
4909             source: "elm";
4910             action: STATE_SET "default" 0.0;
4911             transition: DECELERATE 0.5;
4912             target: "right";
4913             target: "elm.swallow.slot.right";
4914          }
4915          program { name: "topshow";
4916             signal: "elm,action,slot,top,show";
4917             source: "elm";
4918             action: STATE_SET "visible" 0.0;
4919             transition: DECELERATE 0.5;
4920             target: "top";
4921             target: "elm.swallow.slot.top";
4922          }
4923          program { name: "tophide";
4924             signal: "elm,action,slot,top,hide";
4925             source: "elm";
4926             action: STATE_SET "default" 0.0;
4927             transition: DECELERATE 0.5;
4928             target: "top";
4929             target: "elm.swallow.slot.top";
4930          }
4931          program { name: "bottomshow";
4932             signal: "elm,action,slot,bottom,show";
4933             source: "elm";
4934             action: STATE_SET "visible" 0.0;
4935             transition: DECELERATE 0.5;
4936             target: "bottom";
4937             target: "elm.swallow.slot.bottom";
4938          }
4939          program { name: "bottomhide";
4940             signal: "elm,action,slot,bottom,hide";
4941             source: "elm";
4942             action: STATE_SET "default" 0.0;
4943             transition: DECELERATE 0.5;
4944             target: "bottom";
4945             target: "elm.swallow.slot.bottom";
4946          }
4947       }
4948    }
4949
4950    //In the hover used by the menu only the bottom part is used.
4951    group { name: "elm/hover/base/menu";
4952        images {
4953            image: "shad_circ.png" COMP;
4954            image: "bt_dis_base.png" COMP;
4955        }
4956        parts {
4957            part { name: "elm.swallow.offset";
4958                type: SWALLOW;
4959                description { state: "default" 0.0;
4960                    align: 0.0 0.0;
4961                    rel1.relative: 0.0 0.0;
4962                    rel2.relative: 0.0 0.0;
4963                }
4964            }
4965            part { name: "elm.swallow.size";
4966                type: SWALLOW;
4967                description { state: "default" 0.0;
4968                    align: 0.0 0.0;
4969                    rel1.to: "elm.swallow.offset";
4970                    rel1.relative: 1.0 1.0;
4971                    rel2.to: "elm.swallow.offset";
4972                    rel2.relative: 1.0 1.0;
4973                }
4974            }
4975            part { name: "base";
4976                type: RECT;
4977                mouse_events: 1;
4978                description { state: "default" 0.0;
4979                    color: 0 0 0 0;
4980                }
4981                description { state: "visible" 0.0;
4982                    inherit: "default" 1.0;
4983                    color: 0 0 0 64;
4984                }
4985            }
4986            part { name: "elm.swallow.slot.left";
4987                type: SWALLOW;
4988                description { state: "default" 0.0;
4989                }
4990            }
4991            part { name: "elm.swallow.slot.right";
4992                type: SWALLOW;
4993                description { state: "default" 0.0;
4994                }
4995            }
4996            part { name: "elm.swallow.slot.top";
4997                type: SWALLOW;
4998                description { state: "default" 0.0;
4999                }
5000                description { state: "visible" 0.0;
5001                    inherit: "default" 0.0;
5002                }
5003            }
5004            part { name: "bottomclip";
5005                type: RECT;
5006                description { state: "default" 0.0;
5007                    rel1.to_y: "pop";
5008                    rel1.relative: 0.0 1.0;
5009                    rel1.offset: -1 -2;
5010                }
5011            }
5012            part { name: "bottom";
5013                clip_to: "bottomclip";
5014                description { state: "default" 0.0;
5015                    visible: 0;
5016                    rel1.to: "elm.swallow.slot.bottom";
5017                    rel1.offset: -5 -5;
5018                    rel2.to: "elm.swallow.slot.bottom";
5019                    rel2.offset: 4 4;
5020                    image {
5021                        normal: "bt_dis_base.png";
5022                        border: 4 4 4 4;
5023                    }
5024                    image.middle: SOLID;
5025                }
5026                description { state: "visible" 0.0;
5027                    inherit: "default" 0.0;
5028                    visible: 1;
5029                }
5030            }
5031            part { name: "elm.swallow.slot.bottom";
5032                type: SWALLOW;
5033                clip_to: "bottomclip";
5034                description { state: "default" 0.0;
5035                    align: 0.5 1.0;
5036                    rel1.to: "elm.swallow.slot.middle";
5037                    rel1.relative: 0.0 1.0;
5038                    rel1.offset: 0 0;
5039                    rel2.to: "elm.swallow.slot.middle";
5040                    rel2.relative: 1.0 1.0;
5041                    rel2.offset: -1 0;
5042                }
5043                description { state: "visible" 0.0;
5044                    inherit: "default" 0.0;
5045                    rel1.offset: 0 6;
5046                    rel2.offset: -1 6;
5047                    align: 0.5 0.0;
5048                }
5049            }
5050            part { name: "pop";
5051                mouse_events: 1;
5052                repeat_events:1;
5053                description { state: "default" 0.0;
5054                    rel1.to: "elm.swallow.slot.middle";
5055                    rel1.offset: -5 -5;
5056                    rel2.to: "elm.swallow.slot.middle";
5057                    rel2.offset: 4 4;
5058                }
5059            }
5060            part { name: "elm.swallow.slot.middle";
5061                type: SWALLOW;
5062                repeat_events:1;
5063                description { state: "default" 0.0;
5064                    rel1.to: "elm.swallow.size";
5065                    rel2.to: "elm.swallow.size";
5066                }
5067            }
5068        }
5069        programs {
5070            program { name: "end";
5071                signal: "mouse,up,1";
5072                source: "base";
5073                action: SIGNAL_EMIT "elm,action,dismiss" "";
5074            }
5075            program { name: "show";
5076                signal: "elm,action,show";
5077                source: "elm";
5078                action: STATE_SET "visible" 0.0;
5079                        //           transition: DECELERATE 0.5;
5080                target: "base";
5081            }
5082            program { name: "hide";
5083                signal: "elm,action,hide";
5084                source: "elm";
5085                action: STATE_SET "default" 0.0;
5086                        //           transition: DECELERATE 0.5;
5087                target: "base";
5088            }
5089            program { name: "bottomshow";
5090                signal: "elm,action,slot,bottom,show";
5091                source: "elm";
5092                action: STATE_SET "visible" 0.0;
5093                transition: DECELERATE 0.3;
5094                target: "bottom";
5095                target: "elm.swallow.slot.bottom";
5096            }
5097            program { name: "bottomhide";
5098                signal: "elm,action,slot,bottom,hide";
5099                source: "elm";
5100                action: STATE_SET "default" 0.0;
5101                transition: DECELERATE 0.5;
5102                target: "bottom";
5103                target: "elm.swallow.slot.bottom";
5104            }
5105        }
5106    }
5107
5108    //In the hover used by the submenu only the bottom part is used
5109    //and no part should interact except the bottom area
5110    group { name: "elm/hover/base/submenu";
5111        images {
5112            image: "shad_circ.png" COMP;
5113            image: "bt_dis_base.png" COMP;
5114        }
5115        parts {
5116            part { name: "elm.swallow.offset";
5117                type: SWALLOW;
5118                repeat_events:1;
5119                description { state: "default" 0.0;
5120                    align: 0.0 0.0;
5121                    rel1.relative: 0.0 0.0;
5122                    rel2.relative: 0.0 0.0;
5123                }
5124            }
5125            part { name: "elm.swallow.size";
5126                type: SWALLOW;
5127                description { state: "default" 0.0;
5128                    align: 0.0 0.0;
5129                    rel1.to: "elm.swallow.offset";
5130                    rel1.relative: 1.0 1.0;
5131                    rel2.to: "elm.swallow.offset";
5132                    rel2.relative: 1.0 1.0;
5133                }
5134            }
5135            //here we do non catch events like the hover hover does
5136            part { name: "base";
5137                type: RECT;
5138                mouse_events: 1;
5139                description { state: "default" 0.0;
5140                    color: 0 0 0 0;
5141                    visible: 0;
5142                }
5143            }
5144            part { name: "elm.swallow.slot.left";
5145                type: SWALLOW;
5146                description { state: "default" 0.0;
5147                }
5148            }
5149            part { name: "elm.swallow.slot.right";
5150                type: SWALLOW;
5151                description { state: "default" 0.0;
5152                }
5153            }
5154            part { name: "elm.swallow.slot.top";
5155                type: SWALLOW;
5156                description { state: "default" 0.0;
5157                }
5158            }
5159            part { name: "bottomclip";
5160                type: RECT;
5161                description { state: "default" 0.0;
5162                    rel1.to_y: "pop";
5163                    rel1.relative: 0.0 1.0;
5164                    rel1.offset: -1 -2;
5165                }
5166            }
5167            part { name: "bottom";
5168                clip_to: "bottomclip";
5169                description { state: "default" 0.0;
5170                    visible: 0;
5171                    rel1.to: "elm.swallow.slot.bottom";
5172                    rel1.offset: -5 -5;
5173                    rel2.to: "elm.swallow.slot.bottom";
5174                    rel2.offset: 4 4;
5175                    image {
5176                        normal: "bt_dis_base.png";
5177                        border: 4 4 4 4;
5178                    }
5179                    image.middle: SOLID;
5180                }
5181                description { state: "visible" 0.0;
5182                    inherit: "default" 0.0;
5183                    visible: 1;
5184                }
5185            }
5186            part { name: "elm.swallow.slot.bottom";
5187                type: SWALLOW;
5188                clip_to: "bottomclip";
5189                description { state: "default" 0.0;
5190                    align: 0.5 1.0;
5191                    rel1.to: "elm.swallow.slot.middle";
5192                    rel1.relative: 0.0 1.0;
5193                    rel1.offset: 0 0;
5194                    rel2.to: "elm.swallow.slot.middle";
5195                    rel2.relative: 1.0 1.0;
5196                    rel2.offset: -1 0;
5197                }
5198                description { state: "visible" 0.0;
5199                    inherit: "default" 0.0;
5200                    rel1.offset: 0 6;
5201                    rel2.offset: -1 6;
5202                    align: 0.5 0.0;
5203                }
5204            }
5205            part { name: "pop";
5206                mouse_events: 1;
5207                repeat_events:1;
5208                description { state: "default" 0.0;
5209                    rel1.to: "elm.swallow.slot.middle";
5210                    rel1.offset: -5 -5;
5211                    rel2.to: "elm.swallow.slot.middle";
5212                    rel2.offset: 4 4;
5213                }
5214            }
5215            part { name: "elm.swallow.slot.middle";
5216                type: SWALLOW;
5217                repeat_events:1;
5218                description { state: "default" 0.0;
5219                    rel1.to: "elm.swallow.size";
5220                    rel2.to: "elm.swallow.size";
5221                }
5222            }
5223        }
5224        programs {
5225            program { name: "end";
5226                signal: "mouse,up,1";
5227                source: "base";
5228                action: SIGNAL_EMIT "elm,action,dismiss" "";
5229            }
5230            program { name: "show";
5231                signal: "elm,action,show";
5232                source: "elm";
5233                action: STATE_SET "visible" 0.0;
5234                        //           transition: DECELERATE 0.5;
5235                target: "base";
5236            }
5237            program { name: "hide";
5238                signal: "elm,action,hide";
5239                source: "elm";
5240                action: STATE_SET "default" 0.0;
5241                        //           transition: DECELERATE 0.5;
5242                target: "base";
5243            }
5244            program { name: "bottomshow";
5245                signal: "elm,action,slot,bottom,show";
5246                source: "elm";
5247                action: STATE_SET "visible" 0.0;
5248                transition: DECELERATE 0.3;
5249                target: "bottom";
5250                target: "elm.swallow.slot.bottom";
5251            }
5252            program { name: "bottomhide";
5253                signal: "elm,action,slot,bottom,hide";
5254                source: "elm";
5255                action: STATE_SET "default" 0.0;
5256                transition: DECELERATE 0.5;
5257                target: "bottom";
5258                target: "elm.swallow.slot.bottom";
5259            }
5260        }
5261    }
5262
5263    group { name: "elm/hover/base/hoversel_vertical/default";
5264       alias: "elm/hover/base/hoversel_vertical/entry";
5265       images {
5266 //       image: "shad_circ.png" COMP;
5267          image: "bt_base2.png" COMP;
5268          image: "bt_hilight.png" COMP;
5269          image: "bt_shine.png" COMP;
5270          image: "outdent-top.png" COMP;
5271          image: "outdent-bottom.png" COMP;
5272       }
5273       parts {
5274          part { name: "elm.swallow.offset";
5275             type: SWALLOW;
5276             description { state: "default" 0.0;
5277                align: 0.0 0.0;
5278                rel1.relative: 0.0 0.0;
5279                rel2.relative: 0.0 0.0;
5280             }
5281          }
5282          part { name: "elm.swallow.size";
5283             type: SWALLOW;
5284             description { state: "default" 0.0;
5285                align: 0.0 0.0;
5286                rel1.to: "elm.swallow.offset";
5287                rel1.relative: 1.0 1.0;
5288                rel2.to: "elm.swallow.offset";
5289                rel2.relative: 1.0 1.0;
5290             }
5291          }
5292 /*
5293         part { name: "shad";
5294             mouse_events:  0;
5295             description { state: "default" 0.0;
5296                image.normal: "shad_circ.png";
5297                rel1.to: "button_image";
5298                rel1.offset: -64 -64;
5299                rel2.to: "button_image";
5300                rel2.offset: 63 63;
5301                fill.smooth: 0;
5302             }
5303          }
5304  */
5305          part { name: "button_image";
5306             mouse_events: 1;
5307             description { state: "default" 0.0;
5308                rel1.to_x: "elm.swallow.slot.top";
5309                rel1.to_y: "elm.swallow.slot.top";
5310                rel1.offset: -2 -6;
5311                rel2.to_x: "elm.swallow.slot.top";
5312                rel2.to_y: "elm.swallow.slot.bottom";
5313                rel2.offset: 1 5;
5314                image {
5315                   normal: "bt_base2.png";
5316                   border: 7 7 7 7;
5317                }
5318                image.middle: SOLID;
5319             }
5320             description { state: "bottom" 0.0;
5321                rel1.to_x: "elm.swallow.slot.bottom";
5322                rel1.to_y: "elm.swallow.slot.top";
5323                rel1.offset: -2 -6;
5324                rel2.to_x: "elm.swallow.slot.bottom";
5325                rel2.to_y: "elm.swallow.slot.bottom";
5326                rel2.offset: 1 5;
5327                image {
5328                   normal: "bt_base2.png";
5329                   border: 7 7 7 7;
5330                }
5331                image.middle: SOLID;
5332             }
5333          }
5334
5335          part { name: "base";
5336             type: RECT;
5337             mouse_events: 1;
5338             description { state: "default" 0.0;
5339                color: 0 0 0 0;
5340             }
5341             description { state: "visible" 0.0;
5342                inherit: "default" 1.0;
5343                color: 0 0 0 64;
5344             }
5345          }
5346
5347          part { name: "topclip";
5348             type: RECT;
5349             description { state: "default" 0.0;
5350                rel2.to_y: "edge_top";
5351                rel2.relative: 1.0 0.0;
5352                rel2.offset: -1 7;
5353             }
5354          }
5355          part { name: "elm.swallow.slot.top";
5356             type: SWALLOW;
5357             clip_to: "topclip";
5358             description { state: "default" 0.0;
5359                visible: 1;
5360                align: 0.5 0.0;
5361                rel1.to: "elm.swallow.slot.middle";
5362                rel1.relative: 0.0 0.0;
5363                rel1.offset: 0 -1;
5364                rel2.to: "elm.swallow.slot.middle";
5365                rel2.relative: 1.0 0.0;
5366                rel2.offset: -1 -1;
5367             }
5368             description { state: "visible" 0.0;
5369                inherit: "default" 0.0;
5370                rel1.offset: 0 -7;
5371                rel2.offset: -1 -7;
5372                align: 0.5 1.0;
5373             }
5374          }
5375
5376          part { name: "bottomclip";
5377             type: RECT;
5378             description { state: "default" 0.0;
5379                rel1.to_y: "edge_bottom";
5380                rel1.relative: 0.0 1.0;
5381                rel1.offset: -1 -8;
5382             }
5383          }
5384          part { name: "elm.swallow.slot.bottom";
5385             type: SWALLOW;
5386             clip_to: "bottomclip";
5387             description { state: "default" 0.0;
5388                align: 0.5 1.0;
5389                rel1.to: "elm.swallow.slot.middle";
5390                rel1.relative: 0.0 1.0;
5391                rel1.offset: 0 0;
5392                rel2.to: "elm.swallow.slot.middle";
5393                rel2.relative: 1.0 1.0;
5394                rel2.offset: -1 0;
5395             }
5396             description { state: "visible" 0.0;
5397                inherit: "default" 0.0;
5398                rel1.offset: 0 6;
5399                rel2.offset: -1 6;
5400                align: 0.5 0.0;
5401             }
5402          }
5403
5404          part {   name: "over1";
5405             mouse_events: 0;
5406             description { state: "default" 0.0;
5407                rel1.to: "button_image";
5408                rel2.to: "button_image";
5409                rel2.relative: 1.0 0.5;
5410                image {
5411                   normal: "bt_hilight.png";
5412                   border: 7 7 7 0;
5413                }
5414             }
5415          }
5416          part { name: "over2";
5417             mouse_events: 1;
5418             repeat_events: 1;
5419             ignore_flags: ON_HOLD;
5420             description { state: "default" 0.0;
5421                rel1.to: "button_image";
5422                rel2.to: "button_image";
5423                image {
5424                   normal: "bt_shine.png";
5425                   border: 7 7 7 7;
5426                }
5427             }
5428          }
5429          part { name: "edge_top";
5430             mouse_events:  0;
5431             description { state: "default" 0.0;
5432                visible: 0;
5433                rel1 {
5434                   to: "elm.swallow.size";
5435                   offset: 0 -10;
5436                }
5437                rel2 {
5438                   to: "elm.swallow.size";
5439                }
5440                image.normal: "outdent-bottom.png";
5441                image.border: 0 0 13 0;
5442                fill.smooth: 0;
5443             }
5444             description { state: "visible" 0.0;
5445                inherit: "default" 0.0;
5446                visible: 1;
5447             }
5448          }
5449          part { name: "edge_bottom";
5450             mouse_events:  0;
5451             description { state: "default" 0.0;
5452                visible: 0;
5453                rel1 {
5454                   to: "elm.swallow.size";
5455                }
5456                rel2 {
5457                   to: "elm.swallow.size";
5458                   offset: -1 9;
5459                }
5460                image.normal: "outdent-top.png";
5461                image.border: 0 0 0 13;
5462                fill.smooth: 0;
5463             }
5464             description { state: "visible" 0.0;
5465                inherit: "default" 0.0;
5466                visible: 1;
5467             }
5468          }
5469          part { name: "elm.swallow.slot.middle";
5470             type: SWALLOW;
5471             description { state: "default" 0.0;
5472                rel1.to: "elm.swallow.size";
5473                rel2.to: "elm.swallow.size";
5474             }
5475          }
5476       }
5477       programs {
5478          program { name: "end";
5479             signal: "mouse,up,1";
5480             source: "base";
5481             action: SIGNAL_EMIT "elm,action,dismiss" "";
5482          }
5483
5484          program { name: "show";
5485             signal: "elm,action,show";
5486             source: "elm";
5487             action: STATE_SET "visible" 0.0;
5488 //          transition: DECELERATE 0.5;
5489             target: "base";
5490          }
5491          program { name: "hide";
5492             signal: "elm,action,hide";
5493             source: "elm";
5494             action: STATE_SET "default" 0.0;
5495 //          transition: DECELERATE 0.5;
5496             target: "base";
5497          }
5498          program { name: "topshow";
5499             signal: "elm,action,slot,top,show";
5500             source: "elm";
5501             action: STATE_SET "visible" 0.0;
5502             target: "edge_top";
5503             after: "topshow2";
5504          }
5505          program { name: "topshow2";
5506             action: STATE_SET "visible" 0.0;
5507             transition: DECELERATE 0.5;
5508             target: "elm.swallow.slot.top";
5509          }
5510          program { name: "topshow3";
5511             signal: "elm,action,slot,top,show";
5512             source: "elm";
5513             action: STATE_SET "default" 0.0;
5514             target: "button_image";
5515          }
5516          program { name: "tophide";
5517             signal: "elm,action,slot,top,hide";
5518             source: "elm";
5519             action: STATE_SET "default" 0.0;
5520             transition: DECELERATE 0.5;
5521             target: "elm.swallow.slot.top";
5522             after: "tophide2";
5523          }
5524          program { name: "tophide2";
5525             action: STATE_SET "default" 0.0;
5526             target: "edge_top";
5527          }
5528          program { name: "bottomshow";
5529             signal: "elm,action,slot,bottom,show";
5530             source: "elm";
5531             action: STATE_SET "visible" 0.0;
5532             target: "edge_bottom";
5533             after: "bottomshow2";
5534          }
5535          program { name: "bottomshow2";
5536             action: STATE_SET "visible" 0.0;
5537             transition: DECELERATE 0.5;
5538             target: "elm.swallow.slot.bottom";
5539          }
5540          program { name: "bottomshow3";
5541             signal: "elm,action,slot,bottom,show";
5542             source: "elm";
5543             action: STATE_SET "bottom" 0.0;
5544             target: "button_image";
5545          }
5546          program { name: "bottomhide";
5547             signal: "elm,action,slot,bottom,hide";
5548             source: "elm";
5549             action: STATE_SET "default" 0.0;
5550             transition: DECELERATE 0.5;
5551             target: "elm.swallow.slot.bottom";
5552             after: "bottomhide2";
5553          }
5554          program { name: "bottomhide2";
5555             action: STATE_SET "default" 0.0;
5556             target: "edge_bottom";
5557          }
5558       }
5559    }
5560
5561 ///////////////////////////////////////////////////////////////////////////////
5562 // emoticon images from:
5563 // Tanya - Latvia
5564 // http://lazycrazy.deviantart.com/
5565 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
5566   group { name: "elm/entry/emoticon/angry/default"; images.image:
5567      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5568         "emo-angry.png"; } } } }
5569   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
5570      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5571         "emo-angry-shout.png"; } } } }
5572   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
5573      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5574         "emo-crazy-laugh.png"; } } } }
5575   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
5576      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5577         "emo-evil-laugh.png"; } } } }
5578   group { name: "elm/entry/emoticon/evil/default"; images.image:
5579      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5580         "emo-evil.png"; } } } }
5581   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
5582      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5583         "emo-goggle-smile.png"; } } } }
5584   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
5585      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5586         "emo-grumpy.png"; } } } }
5587   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
5588      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5589         "emo-grumpy-smile.png"; } } } }
5590   group { name: "elm/entry/emoticon/guilty/default"; images.image:
5591      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5592         "emo-guilty.png"; } } } }
5593   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
5594      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5595         "emo-guilty-smile.png"; } } } }
5596   group { name: "elm/entry/emoticon/haha/default"; images.image:
5597      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5598         "emo-haha.png"; } } } }
5599   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
5600      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5601         "emo-half-smile.png"; } } } }
5602   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
5603      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5604         "emo-happy-panting.png"; } } } }
5605   group { name: "elm/entry/emoticon/happy/default"; images.image:
5606      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5607         "emo-happy.png"; } } } }
5608   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
5609      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5610         "emo-indifferent.png"; } } } }
5611   group { name: "elm/entry/emoticon/kiss/default"; images.image:
5612      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5613         "emo-kiss.png"; } } } }
5614   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
5615      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5616         "emo-knowing-grin.png"; } } } }
5617   group { name: "elm/entry/emoticon/laugh/default"; images.image:
5618      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5619         "emo-laugh.png"; } } } }
5620   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
5621      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5622         "emo-little-bit-sorry.png"; } } } }
5623   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
5624      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5625         "emo-love-lots.png"; } } } }
5626   group { name: "elm/entry/emoticon/love/default"; images.image:
5627      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5628         "emo-love.png"; } } } }
5629   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
5630      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5631         "emo-minimal-smile.png"; } } } }
5632   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
5633      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5634         "emo-not-happy.png"; } } } }
5635   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
5636      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5637         "emo-not-impressed.png"; } } } }
5638   group { name: "elm/entry/emoticon/omg/default"; images.image:
5639      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5640         "emo-omg.png"; } } } }
5641   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
5642      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5643         "emo-opensmile.png"; } } } }
5644   group { name: "elm/entry/emoticon/smile/default"; images.image:
5645      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5646         "emo-smile.png"; } } } }
5647   group { name: "elm/entry/emoticon/sorry/default"; images.image:
5648      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5649         "emo-sorry.png"; } } } }
5650   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
5651      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5652         "emo-squint-laugh.png"; } } } }
5653   group { name: "elm/entry/emoticon/surprised/default"; images.image:
5654      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5655         "emo-surprised.png"; } } } }
5656   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
5657      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5658         "emo-suspicious.png"; } } } }
5659   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
5660      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5661         "emo-tongue-dangling.png"; } } } }
5662   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
5663      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5664         "emo-tongue-poke.png"; } } } }
5665   group { name: "elm/entry/emoticon/uh/default"; images.image:
5666      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5667         "emo-uh.png"; } } } }
5668   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
5669      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5670         "emo-unhappy.png"; } } } }
5671   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
5672      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5673         "emo-very-sorry.png"; } } } }
5674   group { name: "elm/entry/emoticon/what/default"; images.image:
5675      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5676         "emo-what.png"; } } } }
5677   group { name: "elm/entry/emoticon/wink/default"; images.image:
5678      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5679         "emo-wink.png"; } } } }
5680   group { name: "elm/entry/emoticon/worried/default"; images.image:
5681      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5682         "emo-worried.png"; } } } }
5683   group { name: "elm/entry/emoticon/wtf/default"; images.image:
5684      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal: 
5685         "emo-wtf.png"; } } } }
5686 //------------------------------------------------------------
5687    group { name: "elm/entry/base/default";
5688       styles
5689         {
5690            style { name: "entry_textblock_style";
5691               base: "font=Sans font_size=10 align=left color=#000 wrap=word";
5692               tag:  "br" "\n";
5693               tag:  "tab" "\t";
5694               tag:  "em" "+ font=Sans:style=Oblique";
5695               tag:  "b" "+ font=Sans:style=Bold";
5696               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5697               tag:  "hilight" "+ font=Sans:style=Bold";
5698            }
5699            style { name: "entry_textblock_disabled_style";
5700               base: "font=Sans font_size=10 align=left color=#00000080 wrap=word";
5701               tag:  "br" "\n";
5702               tag:  "tab" "\t";
5703               tag:  "em" "+ font=Sans:style=Oblique";
5704               tag:  "b" "+ font=Sans:style=Bold";
5705               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5706               tag:  "hilight" "+ font=Sans:style=Bold";
5707            }
5708         }
5709       data {
5710 //         item: context_menu_orientation "horizontal";
5711       }
5712       parts {
5713      part { name: "entry.swallow.background";
5714         type: SWALLOW;
5715         description { state: "default" 0.0;
5716            visible: 1;
5717            rel1 { relative: 0 0; to: "elm.text"; }
5718            rel2 { relative: 1 1; to: "elm.text"; }
5719             }
5720         }
5721          part { name: "elm.text";
5722             type: TEXTBLOCK;
5723             mouse_events: 1;
5724             scale: 1;
5725             entry_mode: EDITABLE;
5726             select_mode: EXPLICIT;
5727             multiline: 1;
5728             source: "elm/entry/selection/default"; // selection under
5729 //          source2: "X"; // selection over
5730 //          source3: "X"; // cursor under
5731             source4: "elm/entry/cursor/default"; // cursorover
5732             source5: "elm/entry/anchor/default"; // anchor under
5733 //          source6: "X"; // anchor over
5734             description { state: "default" 0.0;
5735                fixed: 1 0;
5736                text {
5737                   style: "entry_textblock_style";
5738                   min: 0 1;
5739                }
5740             }
5741             description { state: "disabled" 0.0;
5742                inherit: "default" 0.0;
5743                text {
5744                   style: "entry_textblock_disabled_style";
5745                   min: 0 1;
5746                }
5747             }
5748          }
5749       }
5750       programs {
5751          program { name: "focus";
5752             signal: "load";
5753             source: "";
5754             action: FOCUS_SET;
5755             target: "elm.text";
5756          }
5757          program { name: "disable";
5758             signal: "elm,state,disabled";
5759             source: "elm";
5760             action: STATE_SET "disabled" 0.0;
5761             target: "elm.text";
5762          }
5763          program { name: "enable";
5764             signal: "elm,state,enabled";
5765             source: "elm";
5766             action: STATE_SET "default" 0.0;
5767             target: "elm.text";
5768          }
5769       }
5770    }
5771
5772     group { name: "elm/entry/base-charwrap/default";
5773       styles
5774         {
5775            style { name: "entry_textblock_style_charwrap";
5776               base: "font=Sans font_size=10 align=left color=#000 wrap=char";
5777               tag:  "br" "\n";
5778               tag:  "tab" "\t";
5779               tag:  "em" "+ font=Sans:style=Oblique";
5780               tag:  "b" "+ font=Sans:style=Bold";
5781               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5782               tag:  "hilight" "+ font=Sans:style=Bold";
5783            }
5784            style { name: "entry_textblock_disabled_style_charwrap";
5785               base: "font=Sans font_size=10 align=left color=#00000080 wrap=char";
5786               tag:  "br" "\n";
5787               tag:  "tab" "\t";
5788               tag:  "em" "+ font=Sans:style=Oblique";
5789               tag:  "b" "+ font=Sans:style=Bold";
5790               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5791               tag:  "hilight" "+ font=Sans:style=Bold";
5792            }
5793         }
5794       parts {
5795      part { name: "entry.swallow.background";
5796         type: SWALLOW;
5797         description { state: "default" 0.0;
5798            visible: 1;
5799            rel1 { relative: 0 0; to: "elm.text"; }
5800            rel2 { relative: 1 1; to: "elm.text"; }
5801             }
5802         }
5803          part { name: "elm.text";
5804             type: TEXTBLOCK;
5805             mouse_events: 1;
5806             scale: 1;
5807             entry_mode: EDITABLE;
5808             select_mode: EXPLICIT;
5809             multiline: 1;
5810             source: "elm/entry/selection/default"; // selection under
5811 //          source2: "X"; // selection over
5812 //          source3: "X"; // cursor under
5813             source4: "elm/entry/cursor/default"; // cursorover
5814             source5: "elm/entry/anchor/default"; // anchor under
5815 //          source6: "X"; // anchor over
5816             description { state: "default" 0.0;
5817                fixed: 1 0;
5818                text {
5819                   style: "entry_textblock_style_charwrap";
5820                   min: 0 1;
5821                }
5822             }
5823             description { state: "disabled" 0.0;
5824                inherit: "default" 0.0;
5825                text {
5826                   style: "entry_textblock_disabled_style_charwrap";
5827                   min: 0 1;
5828                }
5829             }
5830          }
5831       }
5832       programs {
5833          program { name: "focus";
5834             signal: "load";
5835             source: "";
5836             action: FOCUS_SET;
5837             target: "elm.text";
5838          }
5839          program { name: "disable";
5840             signal: "elm,state,disabled";
5841             source: "elm";
5842             action: STATE_SET "disabled" 0.0;
5843             target: "elm.text";
5844          }
5845          program { name: "enable";
5846             signal: "elm,state,enabled";
5847             source: "elm";
5848             action: STATE_SET "default" 0.0;
5849             target: "elm.text";
5850          }
5851       }
5852    }
5853
5854
5855    group { name: "elm/entry/base-nowrap/default";
5856       parts {
5857      part { name: "entry.swallow.background";
5858         type: SWALLOW;
5859         description { state: "default" 0.0;
5860            visible: 1;
5861            rel1 { relative: 0 0; to: "elm.text"; }
5862            rel2 { relative: 1 1; to: "elm.text"; }
5863             }
5864         }
5865          part { name: "elm.text";
5866             type: TEXTBLOCK;
5867             mouse_events: 1;
5868             scale: 1;
5869             entry_mode: EDITABLE;
5870             select_mode: EXPLICIT;
5871             multiline: 1;
5872             source: "elm/entry/selection/default"; // selection under
5873             source4: "elm/entry/cursor/default"; // cursorover
5874             source5: "elm/entry/anchor/default"; // anchor under
5875             description { state: "default" 0.0;
5876                text {
5877                   style: "entry_textblock_style";
5878                   min: 1 1;
5879                }
5880             }
5881             description { state: "disabled" 0.0;
5882                inherit: "default" 0.0;
5883                text {
5884                   style: "entry_textblock_disabled_style";
5885                   min: 0 1;
5886                }
5887             }
5888          }
5889 /*
5890          part { name: "sel";
5891             type: RECT;
5892             mouse_events: 0;
5893             description { state: "default" 0.0;
5894                align: 1.0 1.0;
5895                max: 16 16;
5896                aspect: 1.0 1.0;
5897                color: 255 0 0 0;
5898             }
5899             description { state: "visible" 0.0;
5900                inherit: "default" 0.0;
5901                color: 255 0 0 50;
5902             }
5903          }
5904  */
5905       }
5906       programs {
5907          program { name: "focus";
5908             signal: "load";
5909             source: "";
5910             action: FOCUS_SET;
5911             target: "elm.text";
5912          }
5913          program { name: "disable";
5914             signal: "elm,state,disabled";
5915             source: "elm";
5916             action: STATE_SET "disabled" 0.0;
5917             target: "elm.text";
5918          }
5919          program { name: "enable";
5920             signal: "elm,state,enabled";
5921             source: "elm";
5922             action: STATE_SET "default" 0.0;
5923             target: "elm.text";
5924          }
5925 /*
5926          program { name: "selmode0";
5927             signal: "elm,state,select,on";
5928             source: "elm";
5929             action: STATE_SET "visible" 0.0;
5930             target: "sel";
5931          }
5932          program { name: "selmode1";
5933             signal: "elm,state,select,off";
5934             source: "elm";
5935             action: STATE_SET "default" 0.0;
5936             target: "sel";
5937          }
5938  */
5939       }
5940    }
5941
5942    group { name: "elm/entry/base-single/default";
5943       styles
5944         {
5945            style { name: "entry_single_textblock_style";
5946               base: "font=Sans font_size=10 align=left color=#000 wrap=none";
5947               tag:  "br" "\n";
5948               tag:  "tab" "\t";
5949               tag:  "em" "+ font=Sans:style=Oblique";
5950               tag:  "b" "+ font=Sans:style=Bold";
5951               tag:  "link" "+ color=#800 underline=on underline_color=#8008";
5952               tag:  "hilight" "+ font=Sans:style=Bold";
5953            }
5954            style { name: "entry_single_textblock_disabled_style";
5955               base: "font=Sans font_size=10 align=left color=#00000080 wrap=none";
5956               tag:  "br" "\n";
5957               tag:  "tab" "\t";
5958               tag:  "em" "+ font=Sans:style=Oblique";
5959               tag:  "b" "+ font=Sans:style=Bold";
5960               tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
5961               tag:  "hilight" "+ font=Sans:style=Bold";
5962            }
5963         }
5964       parts {
5965      part { name: "entry.swallow.background";
5966         type: SWALLOW;
5967         description { state: "default" 0.0;
5968            visible: 1;
5969            rel1 { relative: 0 0; to: "elm.text"; }
5970            rel2 { relative: 1 1; to: "elm.text"; }
5971             }
5972         }
5973          part { name: "elm.text";
5974             type: TEXTBLOCK;
5975             mouse_events: 1;
5976             scale: 1;
5977             entry_mode: EDITABLE;
5978             select_mode: EXPLICIT;
5979             multiline: 0;
5980             source: "elm/entry/selection/default"; // selection under
5981             source4: "elm/entry/cursor/default"; // cursorover
5982             source5: "elm/entry/anchor/default"; // anchor under
5983             description { state: "default" 0.0;
5984                text {
5985                   style: "entry_single_textblock_style";
5986                   min: 1 1;
5987                   max: 0 1;
5988                }
5989             }
5990             description { state: "disabled" 0.0;
5991                inherit: "default" 0.0;
5992                text {
5993                   style: "entry_single_textblock_disabled_style";
5994                }
5995             }
5996          }
5997       }
5998       programs {
5999          program { name: "focus";
6000             signal: "load";
6001             source: "";
6002             action: FOCUS_SET;
6003             target: "elm.text";
6004          }
6005          program { name: "disable";
6006             signal: "elm,state,disabled";
6007             source: "elm";
6008             action: STATE_SET "disabled" 0.0;
6009             target: "elm.text";
6010          }
6011          program { name: "enable";
6012             signal: "elm,state,enabled";
6013             source: "elm";
6014             action: STATE_SET "default" 0.0;
6015             target: "elm.text";
6016          }
6017       }
6018    }
6019
6020    group { name: "elm/entry/base-single-noedit/default";
6021       parts {
6022      part { name: "entry.swallow.background";
6023         type: SWALLOW;
6024         description { state: "default" 0.0;
6025            visible: 1;
6026            rel1 { relative: 0 0; to: "elm.text"; }
6027            rel2 { relative: 1 1; to: "elm.text"; }
6028             }
6029         }
6030          part { name: "elm.text";
6031             type: TEXTBLOCK;
6032             mouse_events: 1;
6033             scale: 1;
6034             entry_mode: PLAIN;
6035             select_mode: EXPLICIT;
6036             multiline: 0;
6037             source: "elm/entry/selection/default"; // selection under
6038             source5: "elm/entry/anchor/default"; // anchor under
6039             description { state: "default" 0.0;
6040                text {
6041                   style: "entry_single_textblock_style";
6042                   min: 1 1;
6043                   max: 0 1;
6044                }
6045             }
6046             description { state: "disabled" 0.0;
6047                inherit: "default" 0.0;
6048                text {
6049                   style: "entry_single_textblock_disabled_style";
6050                }
6051             }
6052          }
6053       }
6054       programs {
6055          program { name: "focus";
6056             signal: "load";
6057             source: "";
6058             action: FOCUS_SET;
6059             target: "elm.text";
6060          }
6061          program { name: "disable";
6062             signal: "elm,state,disabled";
6063             source: "elm";
6064             action: STATE_SET "disabled" 0.0;
6065             target: "elm.text";
6066          }
6067          program { name: "enable";
6068             signal: "elm,state,enabled";
6069             source: "elm";
6070             action: STATE_SET "default" 0.0;
6071             target: "elm.text";
6072          }
6073       }
6074    }
6075
6076    group { name: "elm/entry/base-noedit/default";
6077       parts {
6078      part { name: "entry.swallow.background";
6079         type: SWALLOW;
6080         description { state: "default" 0.0;
6081            visible: 1;
6082            rel1 { relative: 0 0; to: "elm.text"; }
6083            rel2 { relative: 1 1; to: "elm.text"; }
6084             }
6085         }
6086          part { name: "elm.text";
6087             type: TEXTBLOCK;
6088             mouse_events: 1;
6089             scale: 1;
6090             entry_mode: PLAIN;
6091             select_mode: EXPLICIT;
6092             multiline: 1;
6093             source: "elm/entry/selection/default"; // selection under
6094             source5: "elm/entry/anchor/default"; // anchor under
6095             description { state: "default" 0.0;
6096                fixed: 1 0;
6097                text {
6098                   style: "entry_textblock_style";
6099                   min: 0 1;
6100                }
6101             }
6102             description { state: "disabled" 0.0;
6103                inherit: "default" 0.0;
6104                text {
6105                   style: "entry_textblock_disabled_style";
6106                }
6107             }
6108          }
6109       }
6110       programs {
6111          program { name: "focus";
6112             signal: "load";
6113             source: "";
6114             action: FOCUS_SET;
6115             target: "elm.text";
6116          }
6117          program { name: "disable";
6118             signal: "elm,state,disabled";
6119             source: "elm";
6120             action: STATE_SET "disabled" 0.0;
6121             target: "elm.text";
6122          }
6123          program { name: "enable";
6124             signal: "elm,state,enabled";
6125             source: "elm";
6126             action: STATE_SET "default" 0.0;
6127             target: "elm.text";
6128          }
6129       }
6130    }
6131
6132    group { name: "elm/entry/base-noedit-charwrap/default";
6133       parts {
6134      part { name: "entry.swallow.background";
6135         type: SWALLOW;
6136         description { state: "default" 0.0;
6137            visible: 1;
6138            rel1 { relative: 0 0; to: "elm.text"; }
6139            rel2 { relative: 1 1; to: "elm.text"; }
6140             }
6141         }
6142          part { name: "elm.text";
6143             type: TEXTBLOCK;
6144             mouse_events: 1;
6145             scale: 1;
6146             entry_mode: PLAIN;
6147             select_mode: EXPLICIT;
6148             multiline: 1;
6149             source: "elm/entry/selection/default"; // selection under
6150             source5: "elm/entry/anchor/default"; // anchor under
6151             description { state: "default" 0.0;
6152                fixed: 1 0;
6153                text {
6154                   style: "entry_textblock_style_charwrap";
6155                   min: 0 1;
6156                }
6157             }
6158             description { state: "disabled" 0.0;
6159                inherit: "default" 0.0;
6160                text {
6161                   style: "entry_textblock_disabled_style_charwrap";
6162                }
6163             }
6164          }
6165       }
6166       programs {
6167          program { name: "focus";
6168             signal: "load";
6169             source: "";
6170             action: FOCUS_SET;
6171             target: "elm.text";
6172          }
6173          program { name: "disable";
6174             signal: "elm,state,disabled";
6175             source: "elm";
6176             action: STATE_SET "disabled" 0.0;
6177             target: "elm.text";
6178          }
6179          program { name: "enable";
6180             signal: "elm,state,enabled";
6181             source: "elm";
6182             action: STATE_SET "default" 0.0;
6183             target: "elm.text";
6184          }
6185       }
6186    }
6187
6188    group { name: "elm/entry/base-nowrap-noedit/default";
6189       parts {
6190      part { name: "entry.swallow.background";
6191         type: SWALLOW;
6192         description { state: "default" 0.0;
6193            visible: 1;
6194            rel1 { relative: 0 0; to: "elm.text"; }
6195            rel2 { relative: 1 1; to: "elm.text"; }
6196             }
6197         }
6198          part { name: "elm.text";
6199             type: TEXTBLOCK;
6200             mouse_events: 1;
6201             scale: 1;
6202             entry_mode: PLAIN;
6203             select_mode: EXPLICIT;
6204             multiline: 1;
6205             source: "elm/entry/selection/default"; // selection under
6206             source5: "elm/entry/anchor/default"; // anchor under
6207             description { state: "default" 0.0;
6208                text {
6209                   style: "entry_textblock_style";
6210                   min: 1 1;
6211                }
6212             }
6213             description { state: "disabled" 0.0;
6214                inherit: "default" 0.0;
6215                text {
6216                   style: "entry_textblock_disabled_style";
6217                }
6218             }
6219          }
6220       }
6221       programs {
6222          program { name: "focus";
6223             signal: "load";
6224             source: "";
6225             action: FOCUS_SET;
6226             target: "elm.text";
6227          }
6228          program { name: "disable";
6229             signal: "elm,state,disabled";
6230             source: "elm";
6231             action: STATE_SET "disabled" 0.0;
6232             target: "elm.text";
6233          }
6234          program { name: "enable";
6235             signal: "elm,state,enabled";
6236             source: "elm";
6237             action: STATE_SET "default" 0.0;
6238             target: "elm.text";
6239          }
6240       }
6241    }
6242
6243   group { name: "elm/entry/base-password/default";
6244       parts {
6245      part { name: "entry.swallow.background";
6246         type: SWALLOW;
6247         description { state: "default" 0.0;
6248            visible: 1;
6249            rel1 { relative: 0 0; to: "elm.text"; }
6250            rel2 { relative: 1 1; to: "elm.text"; }
6251             }
6252         }
6253          part { name: "elm.text";
6254             type: TEXTBLOCK;
6255             mouse_events: 1;
6256             scale: 1;
6257             entry_mode: PASSWORD;
6258             select_mode: EXPLICIT;
6259             multiline: 0;
6260             source: "elm/entry/selection/default"; // selection under
6261             source4: "elm/entry/cursor/default"; // cursorover
6262             source5: "elm/entry/anchor/default"; // anchor under
6263             description { state: "default" 0.0;
6264                text {
6265                   style: "entry_single_textblock_style";
6266                   repch: "*";
6267                   min: 1 1;
6268                   max: 0 1;
6269                }
6270             }
6271             description { state: "disabled" 0.0;
6272                inherit: "default" 0.0;
6273                text {
6274                   style: "entry_single_textblock_disabled_style";
6275                }
6276             }
6277          }
6278       }
6279       programs {
6280          program { name: "focus";
6281             signal: "load";
6282             source: "";
6283             action: FOCUS_SET;
6284             target: "elm.text";
6285          }
6286          program { name: "disable";
6287             signal: "elm,state,disabled";
6288             source: "elm";
6289             action: STATE_SET "disabled" 0.0;
6290             target: "elm.text";
6291          }
6292          program { name: "enable";
6293             signal: "elm,state,enabled";
6294             source: "elm";
6295             action: STATE_SET "default" 0.0;
6296             target: "elm.text";
6297          }
6298       }
6299    }
6300
6301    group { name: "elm/entry/cursor/default";
6302       images {
6303          image: "cur_box.png" COMP;
6304          image: "cur_hi.png" COMP;
6305          image: "cur_shad.png" COMP;
6306          image: "cur_shine.png" COMP;
6307          image: "cur_glow.png" COMP;
6308       }
6309       parts {
6310          part { name: "clip2";
6311             type: RECT;
6312             mouse_events: 0;
6313             description { state: "default" 0.0;
6314                rel1.to: "clip";
6315                rel2.to: "clip";
6316                visible: 0;
6317             }
6318             description { state: "focused" 0.0;
6319                inherit: "default" 0.0;
6320                visible: 1;
6321             }
6322          }
6323          part { name: "clip";
6324             type: RECT;
6325             mouse_events: 0;
6326             clip_to: "clip2";
6327             description { state: "default" 0.0;
6328                rel1.offset: -10 0;
6329                rel2.offset: 9 9;
6330             }
6331             description { state: "hidden" 0.0;
6332                inherit: "default" 0.0;
6333                visible: 0;
6334             }
6335          }
6336          part { name: "bg";
6337             mouse_events: 0;
6338             clip_to: "clip";
6339             description { state: "default" 0.0;
6340                rel1.to: "base";
6341                rel1.offset: -2 0;
6342                rel2.to: "base";
6343                rel2.offset: 1 1;
6344                image.border: 2 2 2 2;
6345                image.normal: "cur_shad.png";
6346             }
6347          }
6348          part { name: "base";
6349             mouse_events: 0;
6350             scale: 1;
6351             clip_to: "clip";
6352             description { state: "default" 0.0;
6353                min: 2 2;
6354                align: 0.5 1.0;
6355                rel1.relative: 0.0 1.0;
6356                rel1.offset: 0 -1;
6357                rel2.relative: 1.0 1.0;
6358                rel2.offset: -1 -1;
6359                image.normal: "cur_box.png";
6360             }
6361          }
6362          part { name: "hi";
6363             mouse_events: 0;
6364             clip_to: "clip";
6365             description { state: "default" 0.0;
6366                rel1.to: "base";
6367                rel2.to: "base";
6368                rel2.relative: 1.0 0.5;
6369                image.normal: "cur_hi.png";
6370             }
6371          }
6372          part { name: "shine";
6373             mouse_events: 0;
6374             clip_to: "clip";
6375             clip_to: "clip2";
6376             description { state: "default" 0.0;
6377                rel1.to: "base";
6378                rel2.to: "base";
6379                rel2.relative: 1.0 0.75;
6380                image.border: 2 2 1 0;
6381                image.normal: "cur_shine.png";
6382                fill.smooth: 0;
6383             }
6384          }
6385          part { name: "glow";
6386             mouse_events: 0;
6387             clip_to: "clip2";
6388             description { state: "default" 0.0;
6389                rel1.to: "base";
6390                rel1.relative: 0.0 -2.0;
6391                rel1.offset: -2 0;
6392                rel2.to: "base";
6393                rel2.relative: 1.0 0.0;
6394                rel2.offset: 1 1;
6395                image.border: 2 2 0 4;
6396                image.normal: "cur_glow.png";
6397                fill.smooth: 0;
6398             }
6399             description { state: "hidden" 0.0;
6400                inherit: "default" 0.0;
6401                color: 255 255 255 0;
6402             }
6403          }
6404       }
6405       programs {
6406          program { name: "show";
6407             signal: "show";
6408             source: "";
6409             action: STATE_SET "hidden" 0.0;
6410             in: 1.0 0.0;
6411             transition: DECELERATE 2.0;
6412             target: "glow";
6413             after: "show2";
6414          }
6415          program { name: "show2";
6416             action: STATE_SET "hidden" 0.0;
6417             in: 0.2 0.0;
6418             target: "clip";
6419             after: "show3";
6420          }
6421          program { name: "show3";
6422             action: STATE_SET "default" 0.0;
6423             in: 0.5 0.0;
6424             target: "clip";
6425             after: "show4";
6426          }
6427          program { name: "show4";
6428             action: STATE_SET "default" 0.0;
6429             in: 0.5 0.0;
6430             transition: DECELERATE 0.5;
6431             target: "glow";
6432             after: "show";
6433          }
6434          program { name: "focused";
6435             signal: "elm,action,focus";
6436             source: "elm";
6437             action: STATE_SET "focused" 0.0;
6438             target: "clip2";
6439          }
6440          program { name: "unfocused";
6441             signal: "elm,action,unfocus";
6442             source: "elm";
6443             action: STATE_SET "default" 0.0;
6444             target: "clip2";
6445          }
6446       }
6447    }
6448
6449    group { name: "elm/entry/selection/default";
6450       parts {
6451          part { name: "bg";
6452             type: RECT;
6453             mouse_events: 0;
6454             description { state: "default" 0.0;
6455                color: 128 128 128 128;
6456             }
6457          }
6458       }
6459    }
6460
6461    group { name: "elm/entry/anchor/default";
6462       parts {
6463          part { name: "bg";
6464             type: RECT;
6465             mouse_events: 0;
6466             description { state: "default" 0.0;
6467                color: 128 0 0 64;
6468             }
6469          }
6470       }
6471    }
6472
6473 ///////////////////////////////////////////////////////////////////////////////
6474   group { name: "elm/bubble/top_left/default";
6475     alias: "elm/bubble/base/default";
6476     images {
6477       image: "bubble_3.png" COMP;
6478       image: "bubble_shine3.png" COMP;
6479     }
6480     parts {
6481       part { name: "elm.swallow.icon";
6482         type: SWALLOW;
6483         description { state: "default" 0.0;
6484           fixed: 1 1;
6485           align: 0.0 0.0;
6486           aspect: 1.0 1.0;
6487           aspect_preference: VERTICAL;
6488           rel1 {
6489             relative: 0.0 0.0;
6490             offset: 4 4;
6491           }
6492           rel2 {
6493             to_y: "elm.text";
6494             relative: 0.0 1.0;
6495             offset: 4 -1;
6496           }
6497         }
6498       }
6499       part { name: "elm.text";
6500         type: TEXT;
6501         mouse_events:   0;
6502         scale: 1;
6503         description { state: "default" 0.0;
6504           align: 0.0 0.0;
6505           fixed: 0 1;
6506           rel1 {
6507             to_x: "elm.swallow.icon";
6508             relative: 1.0 0.0;
6509             offset: 4 4;
6510           }
6511           rel2 {
6512             to_x: "elm.info";
6513             relative: 0.0 0.0;
6514             offset: -5 4;
6515           }
6516           color: 0 0 0 255;
6517           text {
6518             font: "Sans:style=Bold,Edje-Vera-Bold";
6519             size: 10;
6520             min: 0 1;
6521             max: 0 1;
6522             align: 0.0 0.0;
6523           }
6524         }
6525       }
6526       part { name: "elm.info";
6527         type: TEXT;
6528         mouse_events:   0;
6529         scale: 1;
6530         description { state: "default" 0.0;
6531           align: 1.0 0.0;
6532           fixed: 1 1;
6533           rel1 {
6534             relative: 1.0 0.0;
6535             offset: -5 4;
6536           }
6537           rel2 {
6538             relative: 1.0 0.0;
6539             offset: -5 4;
6540           }
6541           color: 0 0 0 64;
6542           text {
6543             font: "Sans:style=Bold,Edje-Vera-Bold";
6544             size: 10;
6545             min: 1 1;
6546             max: 1 1;
6547             align: 1.0 0.0;
6548           }
6549         }
6550       }
6551       part { name: "base0";
6552         mouse_events:  0;
6553         description { state: "default" 0.0;
6554           rel1 {
6555             to_y: "elm.swallow.icon";
6556             relative: 0.0 1.0;
6557             offset: 0 0;
6558           }
6559           image {
6560             normal: "bubble_3.png";
6561             border: 36 11 18 9;
6562           }
6563           image.middle: SOLID;
6564           fill.smooth: 0;
6565         }
6566       }
6567       part { name: "elm.swallow.content";
6568         type: SWALLOW;
6569         description { state: "default" 0.0;
6570           rel1 {
6571             to: "base0";
6572             offset: 9 16;
6573           }
6574           rel2 {
6575             to: "base0";
6576             offset: -10 -9;
6577           }
6578         }
6579       }
6580       part { name: "shine";
6581         mouse_events:  0;
6582         description { state:    "default" 0.0;
6583           rel1 {
6584             to: "base0";
6585             offset: 5 4;
6586           }
6587           rel2 {
6588             to: "base0";
6589             relative: 1.0 0.5;
6590             offset: -6 7;
6591           }
6592           image {
6593             normal: "bubble_shine3.png";
6594             border: 36 5 14 0;
6595           }
6596           fill.smooth: 0;
6597         }
6598       }
6599     }
6600   }
6601
6602   group { name: "elm/bubble/top_right/default";
6603     images {
6604       image: "bubble_4.png" COMP;
6605       image: "bubble_shine4.png" COMP;
6606     }
6607     parts {
6608       part { name: "elm.swallow.icon";
6609         type: SWALLOW;
6610         description { state: "default" 0.0;
6611           fixed: 1 1;
6612           align: 1.0 0.0;
6613           aspect: 1.0 1.0;
6614           aspect_preference: VERTICAL;
6615           rel1 {
6616             relative: 1.0 0.0;
6617             offset: -5 4;
6618           }
6619           rel2 {
6620             to_y: "elm.text";
6621             relative: 1.0 1.0;
6622             offset: -5 -1;
6623           }
6624         }
6625       }
6626       part { name: "elm.text";
6627         type: TEXT;
6628         mouse_events:   0;
6629         scale: 1;
6630         description { state: "default" 0.0;
6631           align: 0.0 0.0;
6632           fixed: 0 1;
6633           rel1 {
6634             relative: 0.0 0.0;
6635             offset: 4 4;
6636           }
6637           rel2 {
6638             to_x: "elm.info";
6639             relative: 0.0 0.0;
6640             offset: -5 4;
6641           }
6642           color: 0 0 0 255;
6643           text {
6644             font: "Sans:style=Bold,Edje-Vera-Bold";
6645             size: 10;
6646             min: 0 1;
6647             max: 0 1;
6648             align: 0.0 0.0;
6649           }
6650         }
6651       }
6652       part { name: "elm.info";
6653         type: TEXT;
6654         mouse_events:   0;
6655         scale: 1;
6656         description { state: "default" 0.0;
6657           align: 1.0 0.0;
6658           fixed: 1 1;
6659           rel1 {
6660             relative: 1.0 0.0;
6661             offset: -5 4;
6662           }
6663           rel2 {
6664             to_x: "elm.swallow.icon";
6665             relative: 0.0 0.0;
6666             offset: -5 4;
6667           }
6668           color: 0 0 0 64;
6669           text {
6670             font: "Sans:style=Bold,Edje-Vera-Bold";
6671             size: 10;
6672             min: 1 1;
6673             max: 1 1;
6674             align: 1.0 0.0;
6675           }
6676         }
6677       }
6678       part { name: "base0";
6679         mouse_events:  0;
6680         description { state: "default" 0.0;
6681           rel1 {
6682             to_y: "elm.swallow.icon";
6683             relative: 0.0 1.0;
6684             offset: 0 0;
6685           }
6686           image {
6687             normal: "bubble_4.png";
6688             border: 11 36 18 9;
6689           }
6690           image.middle: SOLID;
6691           fill.smooth: 0;
6692         }
6693       }
6694       part { name: "elm.swallow.content";
6695         type: SWALLOW;
6696         description { state: "default" 0.0;
6697           rel1 {
6698             to: "base0";
6699             offset: 9 16;
6700           }
6701           rel2 {
6702             to: "base0";
6703             offset: -10 -9;
6704           }
6705         }
6706       }
6707       part { name: "shine";
6708         mouse_events:  0;
6709         description { state:    "default" 0.0;
6710           rel1 {
6711             to: "base0";
6712             offset: 5 4;
6713           }
6714           rel2 {
6715             to: "base0";
6716             relative: 1.0 0.5;
6717             offset: -6 7;
6718           }
6719           image {
6720             normal: "bubble_shine4.png";
6721             border: 5 36 14 0;
6722           }
6723           fill.smooth: 0;
6724         }
6725       }
6726     }
6727   }
6728
6729   group { name: "elm/bubble/bottom_left/default";
6730     images {
6731       image: "bubble_1.png" COMP;
6732       image: "bubble_shine.png" COMP;
6733     }
6734     parts {
6735       part { name: "elm.swallow.icon";
6736         type: SWALLOW;
6737         description { state: "default" 0.0;
6738           fixed: 1 1;
6739           align: 0.0 1.0;
6740           aspect: 1.0 1.0;
6741           aspect_preference: VERTICAL;
6742           rel1 {
6743             to_y: "elm.text";
6744             relative: 0.0 0.0;
6745             offset: 4 0;
6746           }
6747           rel2 {
6748             relative: 0.0 1.0;
6749             offset: 4 -5;
6750           }
6751         }
6752       }
6753       part { name: "elm.text";
6754         type: TEXT;
6755         mouse_events:   0;
6756         scale: 1;
6757         description { state: "default" 0.0;
6758           align: 0.0 1.0;
6759           fixed: 0 1;
6760           rel1 {
6761             to_x: "elm.swallow.icon";
6762             relative: 1.0 1.0;
6763             offset: 4 -5;
6764           }
6765           rel2 {
6766             to_x: "elm.info";
6767             relative: 0.0 1.0;
6768             offset: -5 -5;
6769           }
6770           color: 0 0 0 255;
6771           text {
6772             font: "Sans:style=Bold,Edje-Vera-Bold";
6773             size: 10;
6774             min: 0 1;
6775             max: 0 1;
6776             align: 0.0 1.0;
6777           }
6778         }
6779       }
6780       part { name: "elm.info";
6781         type: TEXT;
6782         mouse_events:   0;
6783         scale: 1;
6784         description { state: "default" 0.0;
6785           align: 1.0 1.0;
6786           fixed: 1 1;
6787           rel1 {
6788             relative: 1.0 1.0;
6789             offset: -5 -5;
6790           }
6791           rel2 {
6792             relative: 1.0 1.0;
6793             offset: -5 -5;
6794           }
6795           color: 0 0 0 64;
6796           text {
6797             font: "Sans:style=Bold,Edje-Vera-Bold";
6798             size: 10;
6799             min: 1 1;
6800             max: 1 1;
6801             align: 1.0 1.0;
6802           }
6803         }
6804       }
6805       part { name: "base0";
6806         mouse_events:  0;
6807         description { state: "default" 0.0;
6808           rel2 {
6809             to_y: "elm.swallow.icon";
6810             relative: 1.0 0.0;
6811             offset: -1 -1;
6812           }
6813           image {
6814             normal: "bubble_1.png";
6815             border: 36 11 10 19;
6816           }
6817           image.middle: SOLID;
6818           fill.smooth: 0;
6819         }
6820       }
6821       part { name: "elm.swallow.content";
6822         type: SWALLOW;
6823         description { state: "default" 0.0;
6824           rel1 {
6825             to: "base0";
6826             offset: 9 8;
6827           }
6828           rel2 {
6829             to: "base0";
6830             offset: -10 -17;
6831           }
6832         }
6833       }
6834       part { name: "shine";
6835         mouse_events:  0;
6836         description { state:    "default" 0.0;
6837           rel1 {
6838             to: "base0";
6839             offset: 5 4;
6840           }
6841           rel2 {
6842             to: "base0";
6843             relative: 1.0 0.5;
6844             offset: -6 -16;
6845           }
6846           image {
6847             normal: "bubble_shine.png";
6848             border: 5 5 5 0;
6849           }
6850           fill.smooth: 0;
6851         }
6852       }
6853     }
6854   }
6855
6856   group { name: "elm/bubble/bottom_right/default";
6857     images {
6858       image: "bubble_2.png" COMP;
6859       image: "bubble_shine.png" COMP;
6860     }
6861     parts {
6862       part { name: "elm.swallow.icon";
6863         type: SWALLOW;
6864         description { state: "default" 0.0;
6865           fixed: 1 1;
6866           align: 1.0 1.0;
6867           aspect: 1.0 1.0;
6868           aspect_preference: VERTICAL;
6869           rel1 {
6870             to_y: "elm.text";
6871             relative: 1.0 0.0;
6872             offset: -5 0;
6873           }
6874           rel2 {
6875             relative: 1.0 1.0;
6876             offset: -5 -5;
6877           }
6878         }
6879       }
6880       part { name: "elm.text";
6881         type: TEXT;
6882         mouse_events:   0;
6883         scale: 1;
6884         description { state: "default" 0.0;
6885           align: 0.0 1.0;
6886           fixed: 0 1;
6887           rel1 {
6888             relative: 0.0 1.0;
6889             offset: 4 -5;
6890           }
6891           rel2 {
6892             to_x: "elm.info";
6893             relative: 0.0 1.0;
6894             offset: -5 -5;
6895           }
6896           color: 0 0 0 255;
6897           text {
6898             font: "Sans:style=Bold,Edje-Vera-Bold";
6899             size: 10;
6900             min: 0 1;
6901             max: 0 1;
6902             align: 0.0 1.0;
6903           }
6904         }
6905       }
6906       part { name: "elm.info";
6907         type: TEXT;
6908         mouse_events:   0;
6909         scale: 1;
6910         description { state: "default" 0.0;
6911           align: 1.0 1.0;
6912           fixed: 1 1;
6913           rel1 {
6914             relative: 1.0 1.0;
6915             offset: -5 -5;
6916           }
6917           rel2 {
6918             to_x: "elm.swallow.icon";
6919             relative: 0.0 1.0;
6920             offset: -5 -5;
6921           }
6922           color: 0 0 0 64;
6923           text {
6924             font: "Sans:style=Bold,Edje-Vera-Bold";
6925             size: 10;
6926             min: 1 1;
6927             max: 1 1;
6928             align: 1.0 1.0;
6929           }
6930         }
6931       }
6932       part { name: "base0";
6933         mouse_events:  0;
6934         description { state: "default" 0.0;
6935           rel2 {
6936             to_y: "elm.swallow.icon";
6937             relative: 1.0 0.0;
6938             offset: -1 -1;
6939           }
6940           image {
6941             normal: "bubble_2.png";
6942             border: 11 36 10 19;
6943           }
6944           image.middle: SOLID;
6945           fill.smooth: 0;
6946         }
6947       }
6948       part { name: "elm.swallow.content";
6949         type: SWALLOW;
6950         description { state: "default" 0.0;
6951           rel1 {
6952             to: "base0";
6953             offset: 9 8;
6954           }
6955           rel2 {
6956             to: "base0";
6957             offset: -10 -17;
6958           }
6959         }
6960       }
6961       part { name: "shine";
6962         mouse_events:  0;
6963         description { state:    "default" 0.0;
6964           rel1 {
6965             to: "base0";
6966             offset: 5 4;
6967           }
6968           rel2 {
6969             to: "base0";
6970             relative: 1.0 0.5;
6971             offset: -6 -16;
6972           }
6973           image {
6974             normal: "bubble_shine.png";
6975             border: 5 5 5 0;
6976           }
6977           fill.smooth: 0;
6978         }
6979       }
6980     }
6981   }
6982
6983 ///////////////////////////////////////////////////////////////////////////////
6984    group { name: "elm/photo/base/default";
6985       images {
6986          image: "frame_1.png" COMP;
6987          image: "frame_2.png" COMP;
6988          image: "dia_grad.png" COMP;
6989          image: "head.png" COMP;
6990       }
6991       parts {
6992          part { name: "base0";
6993             mouse_events:  0;
6994             description { state: "default" 0.0;
6995                image.normal: "dia_grad.png";
6996                rel1.to: "over";
6997                rel2.to: "over";
6998                fill {
6999                   smooth: 0;
7000                   size {
7001                      relative: 0.0 1.0;
7002                      offset: 64 0;
7003                   }
7004                }
7005             }
7006          }
7007          part { name: "base";
7008             mouse_events:  0;
7009             description { state:    "default" 0.0;
7010                image {
7011                   normal: "frame_2.png";
7012                   border: 5 5 32 26;
7013                   middle: 0;
7014                }
7015                fill.smooth : 0;
7016             }
7017          }
7018          part { name: "head";
7019             mouse_events:  0;
7020             description { state:    "default" 0.0;
7021                rel1.offset: 4 4;
7022                rel2.offset: -5 -5;
7023                aspect: 1.0 1.0;
7024                aspect_preference: BOTH;
7025                image.normal: "head.png";
7026             }
7027          }
7028          part { name: "clip";
7029             mouse_events:  0;
7030             type: RECT;
7031             description { state:    "default" 0.0;
7032                rel1.offset: 4 4;
7033                rel2.offset: -5 -5;
7034                color: 255 255 255 255;
7035             }
7036          }
7037          part { name: "elm.swallow.content";
7038             type: SWALLOW;
7039             clip_to: "clip";
7040             description { state: "default" 0.0;
7041                rel1.offset: 4 4;
7042                rel2.offset: -5 -5;
7043             }
7044          }
7045          part { name: "over";
7046             mouse_events:  0;
7047             description { state:    "default" 0.0;
7048                rel1.offset: 4 4;
7049                rel2.offset: -5 -5;
7050                image {
7051                   normal: "frame_1.png";
7052                   border: 2 2 28 22;
7053                   middle: 0;
7054                }
7055                fill.smooth: 0;
7056             }
7057          }
7058      }
7059    }
7060
7061 ///////////////////////////////////////////////////////////////////////////////
7062    group { name: "elm/thumb/base/default";
7063       images {
7064          image: "frame_1.png" COMP;
7065          image: "frame_2.png" COMP;
7066          image: "dia_grad.png" COMP;
7067          image: "busy-1.png" COMP;
7068          image: "busy-2.png" COMP;
7069          image: "busy-3.png" COMP;
7070          image: "busy-4.png" COMP;
7071          image: "busy-5.png" COMP;
7072          image: "busy-6.png" COMP;
7073          image: "busy-7.png" COMP;
7074          image: "busy-8.png" COMP;
7075          image: "busy-9.png" COMP;
7076       }
7077       parts {
7078          part { name: "base0";
7079             mouse_events:  0;
7080             description { state:        "default" 0.0;
7081                image.normal: "dia_grad.png";
7082                rel1.to: "over";
7083                rel2.to: "over";
7084                fill {
7085                   smooth: 0;
7086                   size {
7087                      relative: 0.0 1.0;
7088                      offset: 64 0;
7089                   }
7090                }
7091             }
7092          }
7093          part { name: "base";
7094             mouse_events:  0;
7095             description { state:        "default" 0.0;
7096                image {
7097                   normal: "frame_2.png";
7098                   border: 5 5 32 26;
7099                   middle: 0;
7100                }
7101                fill.smooth : 0;
7102             }
7103          }
7104          part { name: "clip";
7105             mouse_events:  0;
7106             type: RECT;
7107             description { state:        "default" 0.0;
7108                rel1.offset: 4 4;
7109                rel2.offset: -5 -5;
7110                color: 255 255 255 255;
7111             }
7112          }
7113          part { name: "elm.swallow.content";
7114             type: SWALLOW;
7115             clip_to: "clip";
7116             description { state:        "default" 0.0;
7117                rel1.offset: 4 4;
7118                rel2.offset: -5 -5;
7119             }
7120          }
7121          part { name: "progress";
7122             mouse_events: 0;
7123
7124             clip_to: "clip";
7125             description { state:        "default" 0.0;
7126                min: 32 32;
7127                max: 32 32;
7128                visible: 0;
7129                aspect: 1.0 1.0;
7130                aspect_preference: BOTH;
7131             }
7132             description { state:        "pulse" 0.0;
7133                inherit: "default" 0.0;
7134                visible: 1;
7135                image {
7136                   normal: "busy-9.png";
7137                   tween:  "busy-1.png";
7138                   tween:  "busy-2.png";
7139                   tween:  "busy-3.png";
7140                   tween:  "busy-4.png";
7141                   tween:  "busy-5.png";
7142                   tween:  "busy-6.png";
7143                   tween:  "busy-7.png";
7144                   tween:  "busy-8.png";
7145                   border: 7 7 7 7;
7146                }
7147             }
7148          }
7149          part { name: "over";
7150             mouse_events:  0;
7151             description { state:        "default" 0.0;
7152                rel1.offset: 4 4;
7153                rel2.offset: -5 -5;
7154                image {
7155                   normal: "frame_1.png";
7156                   border: 2 2 28 22;
7157                   middle: 0;
7158                }
7159                fill.smooth: 0;
7160             }
7161          }
7162          programs {
7163             program { name: "start_pulse";
7164                signal: "elm,state,pulse,start";
7165                source: "elm";
7166                action: STATE_SET "pulse" 0.0;
7167                target: "progress";
7168                transition: LINEAR 0.5;
7169                after: "start_pulse";
7170             }
7171             program { name: "stop_pulse";
7172                signal: "elm,state,pulse,stop";
7173                source: "elm";
7174                action: STATE_SET "default" 0.0;
7175                target: "progress";
7176             }
7177          }
7178       }
7179    }
7180
7181 ///////////////////////////////////////////////////////////////////////////////
7182    group { name: "elm/icon/home/default"; min: 32 32;
7183       images.image: "icon_home.png" COMP; parts { part { name: "base";
7184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7185             image.normal: "icon_home.png"; } } } }
7186    group { name: "elm/icon/close/default"; min: 32 32;
7187       images.image: "icon_close.png" COMP; parts { part { name: "base";
7188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7189             image.normal: "icon_close.png"; } } } }
7190    group { name: "elm/icon/apps/default"; min: 32 32;
7191       images.image: "icon_apps.png" COMP; parts { part { name: "base";
7192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7193             image.normal: "icon_apps.png"; } } } }
7194    group { name: "elm/icon/arrow_up/default"; min: 32 32;
7195       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
7196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7197             image.normal: "icon_arrow_up.png"; } } } }
7198    group { name: "elm/icon/arrow_down/default"; min: 32 32;
7199       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
7200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7201             image.normal: "icon_arrow_down.png"; } } } }
7202    group { name: "elm/icon/arrow_left/default"; min: 32 32;
7203       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
7204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7205             image.normal: "icon_arrow_left.png"; } } } }
7206    group { name: "elm/icon/arrow_right/default"; min: 32 32;
7207       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
7208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7209             image.normal: "icon_arrow_right.png"; } } } }
7210    group { name: "elm/icon/chat/default"; min: 32 32;
7211       images.image: "icon_chat.png" COMP; parts { part { name: "base";
7212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7213             image.normal: "icon_chat.png"; } } } }
7214    group { name: "elm/icon/clock/default"; min: 32 32;
7215       images.image: "icon_clock.png" COMP; parts { part { name: "base";
7216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7217             image.normal: "icon_clock.png"; } } } }
7218    group { name: "elm/icon/delete/default"; min: 32 32;
7219       images.image: "icon_delete.png" COMP; parts { part { name: "base";
7220          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7221             image.normal: "icon_delete.png"; } } } }
7222    group { name: "elm/icon/edit/default"; min: 32 32;
7223       images.image: "icon_edit.png" COMP; parts { part { name: "base";
7224          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7225             image.normal: "icon_edit.png"; } } } }
7226    group { name: "elm/icon/refresh/default"; min: 32 32;
7227       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
7228          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7229             image.normal: "icon_refresh.png"; } } } }
7230    group { name: "elm/icon/folder/default"; min: 32 32;
7231       images.image: "icon_folder.png" COMP; parts { part { name: "base";
7232          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7233             image.normal: "icon_folder.png"; } } } }
7234    group { name: "elm/icon/file/default"; min: 32 32;
7235       images.image: "icon_file.png" COMP; parts { part { name: "base";
7236          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
7237             image.normal: "icon_file.png"; } } } }
7238
7239 ///////////////////////////////////////////////////////////////////////////////
7240    group { name: "elm/toolbar/base/default";
7241       images {
7242          image: "bt_dis_base.png" COMP;
7243          image: "bt_dis_hilight.png" COMP;
7244          image: "bt_dis_shine.png" COMP;
7245          image: "icon_left_arrow.png" COMP;
7246          image: "icon_right_arrow.png" COMP;
7247       }
7248       parts {
7249          part { name: "base";
7250             mouse_events: 1;
7251             description { state: "default" 0.0;
7252                rel1 {
7253                   relative: 0.0 0.0;
7254                   offset: 2 2;
7255                }
7256                rel2.offset: -3 -3;
7257                image {
7258                   normal: "bt_dis_base.png";
7259                   border: 4 4 4 4;
7260                }
7261                image.middle: SOLID;
7262             }
7263          }
7264          part { name: "clipper";
7265             type: RECT;
7266             mouse_events: 0;
7267             description {
7268                state: "default" 0.0;
7269                rel1 {
7270                   to: "base";
7271                   offset: 2 2;
7272                }
7273                rel2 {
7274                   to: "base";
7275                   offset: -3 -3;
7276                }
7277             }
7278          }
7279          part { name: "elm.swallow.content";
7280             clip_to: "clipper";
7281             type: SWALLOW;
7282             description {
7283                state: "default" 0.0;
7284                rel1.to: "clipper";
7285                rel2.to: "clipper";
7286             }
7287          }
7288          part { name: "over2";
7289             mouse_events: 0;
7290             description { state: "default" 0.0;
7291                rel1.to: "base";
7292                rel2.to: "base";
7293                image {
7294                   normal: "bt_dis_shine.png";
7295                   border: 4 4 4 4;
7296                }
7297             }
7298          }
7299          part { name: "over1";
7300             mouse_events: 0;
7301             description { state: "default" 0.0;
7302                rel1.to: "base";
7303                rel2.to: "base";
7304                rel2.relative: 1.0 0.5;
7305                image {
7306                   normal: "bt_dis_hilight.png";
7307                   border: 4 4 4 0;
7308                }
7309                color: 255 255 255 128;
7310             }
7311          }
7312          part { name: "left_arrow";
7313             mouse_events: 0;
7314             description { state: "default" 0.0;
7315                image.normal: "icon_left_arrow.png";
7316                aspect: 1.0 1.0;
7317                aspect_preference: VERTICAL;
7318                align: 0.0 0.5;
7319                min: 32 32;
7320                max: 32 32;
7321             }
7322             description { state: "hidden" 0.0;
7323                inherit: "default" 0.0;
7324                visible: 0;
7325                color: 255 255 255 0;
7326             }
7327          }
7328          part { name: "right_arrow";
7329             mouse_events: 0;
7330             description { state: "default" 0.0;
7331                image.normal: "icon_right_arrow.png";
7332                aspect: 1.0 1.0;
7333                aspect_preference: VERTICAL;
7334                align: 1.0 0.5;
7335                min: 32 32;
7336                max: 32 32;
7337             }
7338             description { state: "hidden" 0.0;
7339                inherit: "default" 0.0;
7340                visible: 0;
7341                color: 255 255 255 0;
7342             }
7343          }
7344          part { name: "event";
7345             type: RECT;
7346             mouse_events: 1;
7347             repeat_events: 1;
7348             description { state: "default" 0.0;
7349                color: 0 0 0 0;
7350             }
7351          }
7352       }
7353       programs {
7354          program { name: "sb_hbar_show";
7355             signal: "elm,action,show,hbar";
7356             source: "elm";
7357             action:  STATE_SET "default" 0.0;
7358             transition: LINEAR 0.5;
7359             target: "left_arrow";
7360             target: "right_arrow";
7361          }
7362          program { name: "sb_hbar_hide";
7363             signal: "elm,action,hide,hbar";
7364             source: "elm";
7365             action:  STATE_SET "hidden" 0.0;
7366             target: "left_arrow";
7367             target: "right_arrow";
7368             transition: LINEAR 0.5;
7369          }
7370       }
7371    }
7372
7373    group { name: "elm/toolbar/item/default";
7374        images {
7375            image: "toolbar_sel.png" COMP;
7376        }
7377        parts {
7378            part { name: "label2";
7379                type: TEXT;
7380                mouse_events:  0;
7381                scale: 1;
7382                description { state: "default" 0.0;
7383                    align: 0.5 1.0;
7384                    fixed: 0 1;
7385                    rel1.to: "elm.text";
7386                    rel2.to: "elm.text";
7387                    color: 0 0 0 255;
7388                    text {
7389                        font: "Sans";
7390                        text_source: "elm.text";
7391                        size: 10;
7392                        min: 1 1;
7393                        align: 0.5 0.5;
7394                    }
7395                }
7396                description { state: "selected" 0.0;
7397                    inherit: "default" 0.0;
7398                    visible: 0;
7399                }
7400                description { state: "disabled" 0.0;
7401                    inherit: "default" 0.0;
7402                    color: 0 0 0 128;
7403                    color3: 0 0 0 0;
7404                }
7405                description { state: "disabled_visible" 0.0;
7406                    inherit: "default" 0.0;
7407                    color: 0 0 0 128;
7408                    color3: 0 0 0 0;
7409                    visible: 1;
7410                    text.min: 1 1;
7411                }
7412            }
7413            part { name: "bg";
7414                mouse_events: 0;
7415                description { state: "default" 0.0;
7416                    visible: 0;
7417                    color: 255 255 255 0;
7418                    image {
7419                        normal: "toolbar_sel.png";
7420                        border: 3 3 0 0;
7421                    }
7422                    image.middle: SOLID;
7423                    fill.smooth: 0;
7424                }
7425                description { state: "selected" 0.0;
7426                    inherit: "default" 0.0;
7427                    visible: 1;
7428                    color: 255 255 255 255;
7429                }
7430                description { state: "disabled" 0.0;
7431                    inherit: "default" 0.0;
7432                    visible: 0;
7433                    color: 255 255 255 0;
7434                }
7435            }
7436            part { name: "elm.swallow.icon";
7437                type: SWALLOW;
7438                description { state: "default" 0.0;
7439                    align: 0.5 0.5;
7440                    fixed: 0 0;
7441                    //aspect: 1.0 1.0;
7442                    //aspect_preference: VERTICAL;
7443                    rel1 {
7444                        relative: 0.0 0.0;
7445                        offset: 2 2;
7446                    }
7447                    rel2 {
7448                        to_y: "elm.text";
7449                        relative: 1.0 0.0;
7450                        offset: -3 -1;
7451                    }
7452                    color: 0 0 0 0;
7453                }
7454            }
7455            part { name: "elm.text";
7456                type: TEXT;
7457                effect: SOFT_SHADOW;
7458                mouse_events:  0;
7459                scale: 1;
7460                description { state: "default" 0.0;
7461                    align: 0.5 1.0;
7462                    fixed: 0 1;
7463                    rel1 {
7464                        relative: 0.0 1.0;
7465                        offset:   0 -1;
7466                    }
7467                    rel2 {
7468                        relative: 1.0 1.0;
7469                        offset:   -1 -1;
7470                    }
7471                    visible: 0;
7472                    color: 224 224 224 255;
7473                    color3: 0 0 0 32;
7474                    text {
7475                        font: "Sans:style=Bold";
7476                        size: 10;
7477                        min: 1 1;
7478                        align: 0.5 0.5;
7479                    }
7480                }
7481                description { state: "selected" 0.0;
7482                    inherit: "default" 0.0;
7483                    visible: 1;
7484                }
7485                description { state: "visible" 0.0;
7486                    inherit: "default" 0.0;
7487                    visible: 1;
7488                    text.min: 1 1;
7489                }
7490                description { state: "disabled" 0.0;
7491                    inherit: "default" 0.0;
7492                    color: 0 0 0 128;
7493                    color3: 0 0 0 0;
7494                }
7495                description { state: "disabled_visible" 0.0;
7496                    inherit: "default" 0.0;
7497                    color: 0 0 0 128;
7498                    color3: 0 0 0 0;
7499                    visible: 1;
7500                    text.min: 1 1;
7501                }
7502            }
7503            part { name: "event";
7504                type: RECT;
7505                mouse_events: 1;
7506                ignore_flags: ON_HOLD;
7507                description { state: "default" 0.0;
7508                    color: 0 0 0 0;
7509                }
7510            }
7511        }
7512        programs {
7513            program { name: "go_active";
7514                signal:  "elm,state,selected";
7515                source:  "elm";
7516                action:  STATE_SET "selected" 0.0;
7517                target:  "bg";
7518                target:  "elm.text";
7519                target:  "label2";
7520                transition: LINEAR 0.2;
7521            }
7522            program { name: "go_passive";
7523                signal:  "elm,state,unselected";
7524                source:  "elm";
7525                action:  STATE_SET "default" 0.0;
7526                target:  "bg";
7527                target:  "elm.text";
7528                target:  "label2";
7529                transition: LINEAR 0.1;
7530            }
7531            program { name: "go";
7532                signal:  "mouse,up,1";
7533                source:  "event";
7534                action:  SIGNAL_EMIT "elm,action,click" "elm";
7535            }
7536            program { name: "disable";
7537                signal: "elm,state,disabled";
7538                source: "elm";
7539                action: STATE_SET "disabled" 0.0;
7540                target: "label2";
7541                target: "bg";
7542                after: "disable_text";
7543            }
7544            program { name: "disable_text";
7545                script {
7546                    new st[31];
7547                    new Float:vl;
7548                    get_state(PART:"elm.text", st, 30, vl);
7549                    if (!strcmp(st, "visible"))
7550                    set_state(PART:"elm.text", "disabled_visible", 0.0);
7551                    else
7552                    set_state(PART:"elm.text", "disabled", 0.0);
7553                }
7554            }
7555            program { name: "enable";
7556                signal: "elm,state,enabled";
7557                source: "elm";
7558                action: STATE_SET "default" 0.0;
7559                target: "label2";
7560                target: "bg";
7561                after: "enable_text";
7562            }
7563            program { name: "enable_text";
7564                script {
7565                    new st[31];
7566                    new Float:vl;
7567                    get_state(PART:"elm.text", st, 30, vl);
7568                    if (!strcmp(st, "disabled_visible"))
7569                    set_state(PART:"elm.text", "visible", 0.0);
7570                    else
7571                    set_state(PART:"elm.text", "default", 0.0);
7572                }
7573            }
7574        }
7575    }
7576
7577    group { name: "elm/toolbar/separator/default";
7578       images {
7579          image: "toolbar_separator_v.png" COMP;
7580       }
7581       parts {
7582          part { name: "separator"; // separator group
7583             description { state: "default" 0.0;
7584                min: 2 2;
7585                max: 2 9999;
7586                rel1.offset: 4 4;
7587                rel2.offset: -5 -5;
7588                image {
7589                   normal: "toolbar_separator_v.png";
7590                }
7591                fill {
7592                   smooth: 0;
7593                }
7594             }
7595          }
7596       }
7597    }
7598
7599    ///////////////////////////////////////////////////////////////////////////////
7600    group { name: "elm/notify/block_events/default";
7601        parts {
7602            part { name: "block_events";
7603                type: RECT;
7604                description { state: "default" 0.0;
7605                    color: 0 0 0 64;
7606                    visible: 1;
7607                }
7608            }
7609        }
7610            programs {
7611                    program {
7612                                 name: "block_clicked";
7613                                 signal: "mouse,clicked,1";
7614                                 source: "block_events";
7615                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
7616                    }
7617            }
7618    }
7619    group { name: "elm/notify/base/default";
7620        //this group is a design similar to the inwin group
7621        images {
7622            image: "shad_circ.png" COMP;
7623            image: "bt_dis_base.png" COMP;
7624            image: "bt_dis_hilight.png" COMP;
7625        }
7626        parts {
7627            part { name: "base";
7628                type: RECT;
7629                mouse_events: 0;
7630                repeat_events: 1;
7631                description { state: "default" 0.0;
7632                    color: 0 0 0 0;
7633                    rel1.offset: 10 10;
7634                    rel2.offset: -10 -10;
7635                    rel1.relative: 0.0 -1.0;
7636                    rel2.relative: 1.0 0.0;
7637                }
7638                description { state: "visible" 0.0;
7639                    inherit: "default" 0.0;
7640                    color: 0 0 0 64;
7641                    rel1.relative: 0.0 0.0;
7642                    rel2.relative: 1.0 1.0;
7643                }
7644            }
7645            part { name: "shad";
7646                mouse_events:  0;
7647                description { state: "default" 0.0;
7648                    image.normal: "shad_circ.png";
7649                    rel1.to: "elm.swallow.content";
7650                    rel1.offset: -64 -64;
7651                    rel2.to: "elm.swallow.content";
7652                    rel2.offset: 63 63;
7653                    fill.smooth: 0;
7654                }
7655            }
7656            part { name: "pop";
7657                mouse_events: 1;
7658                description { state: "default" 0.0;
7659                    rel1.to: "elm.swallow.content";
7660                    rel1.offset: -5 -5;
7661                    rel2.to: "elm.swallow.content";
7662                    rel2.offset: 4 4;
7663                    image {
7664                        normal: "bt_dis_base.png";
7665                        border: 4 4 4 4;
7666                    }
7667                    image.middle: SOLID;
7668                }
7669            }
7670            part { name: "popover";
7671                mouse_events: 0;
7672                description { state: "default" 0.0;
7673                    rel1.to: "pop";
7674                    rel2.to: "pop";
7675                    rel2.relative: 1.0 0.5;
7676                    image {
7677                        normal: "bt_dis_hilight.png";
7678                        border: 4 4 4 0;
7679                    }
7680                }
7681            }
7682            part { name: "elm.swallow.content";
7683                type: SWALLOW;
7684                description { state: "default" 0.0;
7685                    rel1.to: "base";
7686                    rel2.to: "base";
7687                }
7688            }
7689        }
7690        programs {
7691            program { name: "show";
7692                signal: "elm,action,show";
7693                source: "elm";
7694                action: STATE_SET "visible" 0.0;
7695                target: "base";
7696            }
7697            program { name: "show_2";
7698                 signal: "show";
7699                 action: STATE_SET "default" 0.0;
7700                 target: "base";
7701                 after: "show_3";
7702            }
7703            program { name: "show_3";
7704                 signal: "show";
7705                 action: STATE_SET "visible" 0.0;
7706                 target: "base";
7707                 transition: LINEAR 0.5;
7708            }
7709            program { name: "hide";
7710                signal: "elm,action,hide";
7711                source: "elm";
7712                action: STATE_SET "default" 0.0;
7713                target: "base";
7714            }
7715        }
7716    }
7717    group { name: "elm/notify/base/center";
7718        //this group is a design similar to the inwin group
7719        images {
7720            image: "bt_dis_base.png" COMP;
7721        }
7722        parts {
7723            part { name: "base";
7724                type: RECT;
7725                mouse_events: 0;
7726                repeat_events: 1;
7727                description { state: "default" 0.0;
7728                    color: 0 0 0 0;
7729                    rel1.relative: 0.0 0.0;
7730                    rel2.relative: 1.0 1.0;
7731                }
7732            }
7733            part { name: "pop";
7734                mouse_events: 1;
7735                description { state: "default" 0.0;
7736                    rel1.to: "elm.swallow.content";
7737                    rel1.offset: -5 -5;
7738                    rel2.to: "elm.swallow.content";
7739                    rel2.offset: 4 4;
7740                    image {
7741                        normal: "bt_dis_base.png";
7742                        border: 4 4 4 4;
7743                    }
7744                }
7745            }
7746            part { name: "elm.swallow.content";
7747                type: SWALLOW;
7748                description { state: "default" 0.0;
7749                    rel1.to: "base";
7750                    rel2.to: "base";
7751                }
7752            }
7753        }
7754        programs {
7755            program { name: "show";
7756                signal: "elm,action,show";
7757                source: "elm";
7758                action: STATE_SET "default" 0.0;
7759                target: "base";
7760            }
7761            program { name: "show_2";
7762                 signal: "show";
7763                 action: STATE_SET "default" 0.0;
7764                 target: "base";
7765            }
7766            program { name: "hide";
7767                signal: "elm,action,hide";
7768                source: "elm";
7769                action: STATE_SET "default" 0.0;
7770                target: "base";
7771            }
7772        }
7773    }
7774    group { name: "elm/notify/base/bottom";
7775        //this group is a design similar to the inwin group
7776        images {
7777            image: "shad_circ.png" COMP;
7778            image: "bt_dis_base.png" COMP;
7779            image: "bt_dis_hilight.png" COMP;
7780        }
7781        parts {
7782            part { name: "base";
7783                type: RECT;
7784                mouse_events: 0;
7785                repeat_events: 1;
7786                description { state: "default" 0.0;
7787                    color: 0 0 0 0;
7788                    rel1.offset: 10 10;
7789                    rel2.offset: -10 -10;
7790                    rel1.relative: 0.0 1.0;
7791                    rel2.relative: 1.0 2.0;
7792                }
7793                description { state: "visible" 0.0;
7794                    inherit: "default" 0.0;
7795                    color: 0 0 0 64;
7796                    rel1.relative: 0.0 0.0;
7797                    rel2.relative: 1.0 1.0;
7798                }
7799            }
7800            part { name: "shad";
7801                mouse_events:  0;
7802                description { state: "default" 0.0;
7803                    image.normal: "shad_circ.png";
7804                    rel1.to: "elm.swallow.content";
7805                    rel1.offset: -64 -64;
7806                    rel2.to: "elm.swallow.content";
7807                    rel2.offset: 63 63;
7808                    fill.smooth: 0;
7809                }
7810            }
7811            part { name: "pop";
7812                mouse_events: 1;
7813                description { state: "default" 0.0;
7814                    rel1.to: "elm.swallow.content";
7815                    rel1.offset: -5 -5;
7816                    rel2.to: "elm.swallow.content";
7817                    rel2.offset: 4 4;
7818                    image {
7819                        normal: "bt_dis_base.png";
7820                        border: 4 4 4 4;
7821                    }
7822                    image.middle: SOLID;
7823                }
7824            }
7825            part { name: "popover";
7826                mouse_events: 0;
7827                description { state: "default" 0.0;
7828                    rel1.to: "pop";
7829                    rel2.to: "pop";
7830                    rel2.relative: 1.0 0.5;
7831                    image {
7832                        normal: "bt_dis_hilight.png";
7833                        border: 4 4 4 0;
7834                    }
7835                }
7836            }
7837            part { name: "elm.swallow.content";
7838                type: SWALLOW;
7839                description { state: "default" 0.0;
7840                    rel1.to: "base";
7841                    rel2.to: "base";
7842                }
7843            }
7844        }
7845        programs {
7846            program { name: "show";
7847                signal: "elm,action,show";
7848                source: "elm";
7849                action: STATE_SET "visible" 0.0;
7850                target: "base";
7851            }
7852            program { name: "show_2";
7853                 signal: "show";
7854                 action: STATE_SET "default" 0.0;
7855                 target: "base";
7856                 after: "show_3";
7857            }
7858            program { name: "show_3";
7859                 signal: "show";
7860                 action: STATE_SET "visible" 0.0;
7861                 target: "base";
7862                 transition: LINEAR 0.5;
7863            }
7864            program { name: "hide";
7865                signal: "elm,action,hide";
7866                source: "elm";
7867                action: STATE_SET "default" 0.0;
7868                target: "base";
7869            }
7870        }
7871    }
7872    group { name: "elm/notify/base/left";
7873        //this group is a design similar to the inwin group
7874        images {
7875            image: "shad_circ.png" COMP;
7876            image: "bt_dis_base.png" COMP;
7877            image: "bt_dis_hilight.png" COMP;
7878        }
7879        parts {
7880            part { name: "base";
7881                type: RECT;
7882                mouse_events: 0;
7883                repeat_events: 1;
7884                description { state: "default" 0.0;
7885                    color: 0 0 0 0;
7886                    rel1.offset: 10 10;
7887                    rel2.offset: -10 -10;
7888                    rel1.relative: -1.0 0.0;
7889                    rel2.relative: 0.0 1.0;
7890                }
7891                description { state: "visible" 0.0;
7892                    inherit: "default" 0.0;
7893                    color: 0 0 0 64;
7894                    rel1.relative: 0.0 0.0;
7895                    rel2.relative: 1.0 1.0;
7896                }
7897            }
7898            part { name: "shad";
7899                mouse_events:  0;
7900                description { state: "default" 0.0;
7901                    image.normal: "shad_circ.png";
7902                    rel1.to: "elm.swallow.content";
7903                    rel1.offset: -64 -64;
7904                    rel2.to: "elm.swallow.content";
7905                    rel2.offset: 63 63;
7906                    fill.smooth: 0;
7907                }
7908            }
7909            part { name: "pop";
7910                mouse_events: 1;
7911                description { state: "default" 0.0;
7912                    rel1.to: "elm.swallow.content";
7913                    rel1.offset: -5 -5;
7914                    rel2.to: "elm.swallow.content";
7915                    rel2.offset: 4 4;
7916                    image {
7917                        normal: "bt_dis_base.png";
7918                        border: 4 4 4 4;
7919                    }
7920                    image.middle: SOLID;
7921                }
7922            }
7923            part { name: "popover";
7924                mouse_events: 0;
7925                description { state: "default" 0.0;
7926                    rel1.to: "pop";
7927                    rel2.to: "pop";
7928                    rel2.relative: 1.0 0.5;
7929                    image {
7930                        normal: "bt_dis_hilight.png";
7931                        border: 4 4 4 0;
7932                    }
7933                }
7934            }
7935            part { name: "elm.swallow.content";
7936                type: SWALLOW;
7937                description { state: "default" 0.0;
7938                    rel1.to: "base";
7939                    rel2.to: "base";
7940                }
7941            }
7942        }
7943        programs {
7944            program { name: "show";
7945                signal: "elm,action,show";
7946                source: "elm";
7947                action: STATE_SET "visible" 0.0;
7948                target: "base";
7949            }
7950            program { name: "show_2";
7951                signal: "show";
7952                action: STATE_SET "default" 0.0;
7953                target: "base";
7954                after: "show_3";
7955            }
7956            program { name: "show_3";
7957                signal: "show";
7958                action: STATE_SET "visible" 0.0;
7959                target: "base";
7960                transition: LINEAR 0.5;
7961            }
7962            program { name: "hide";
7963                signal: "elm,action,hide";
7964                source: "elm";
7965                action: STATE_SET "default" 0.0;
7966                target: "base";
7967            }
7968        }
7969    }
7970    group { name: "elm/notify/base/right";
7971        //this group is a design similar to the inwin group
7972        images {
7973            image: "shad_circ.png" COMP;
7974            image: "bt_dis_base.png" COMP;
7975            image: "bt_dis_hilight.png" COMP;
7976        }
7977        parts {
7978            part { name: "base";
7979                type: RECT;
7980                mouse_events: 0;
7981                repeat_events: 1;
7982                 description { state: "default" 0.0;
7983                    color: 0 0 0 0;
7984                    rel1.offset: 10 10;
7985                    rel2.offset: -10 -10;
7986                    rel1.relative: 1.0 0.0;
7987                    rel2.relative: 2.0 1.0;
7988                }
7989                description { state: "visible" 0.0;
7990                    inherit: "default" 0.0;
7991                    color: 0 0 0 64;
7992                    rel1.relative: 0.0 0.0;
7993                    rel2.relative: 1.0 1.0;
7994                }
7995            }
7996            part { name: "shad";
7997                mouse_events:  0;
7998                description { state: "default" 0.0;
7999                    image.normal: "shad_circ.png";
8000                    rel1.to: "elm.swallow.content";
8001                    rel1.offset: -64 -64;
8002                    rel2.to: "elm.swallow.content";
8003                    rel2.offset: 63 63;
8004                    fill.smooth: 0;
8005                }
8006            }
8007            part { name: "pop";
8008                mouse_events: 1;
8009                description { state: "default" 0.0;
8010                    rel1.to: "elm.swallow.content";
8011                    rel1.offset: -5 -5;
8012                    rel2.to: "elm.swallow.content";
8013                    rel2.offset: 4 4;
8014                    image {
8015                        normal: "bt_dis_base.png";
8016                        border: 4 4 4 4;
8017                    }
8018                    image.middle: SOLID;
8019                }
8020            }
8021            part { name: "popover";
8022                mouse_events: 0;
8023                description { state: "default" 0.0;
8024                    rel1.to: "pop";
8025                    rel2.to: "pop";
8026                    rel2.relative: 1.0 0.5;
8027                    image {
8028                        normal: "bt_dis_hilight.png";
8029                        border: 4 4 4 0;
8030                    }
8031                }
8032            }
8033            part { name: "elm.swallow.content";
8034                type: SWALLOW;
8035                description { state: "default" 0.0;
8036                    rel1.to: "base";
8037                    rel2.to: "base";
8038                }
8039            }
8040        }
8041        programs {
8042            program { name: "show";
8043                signal: "elm,action,show";
8044                source: "elm";
8045                action: STATE_SET "visible" 0.0;
8046                target: "base";
8047            }
8048            program { name: "show_2";
8049                signal: "show";
8050                action: STATE_SET "default" 0.0;
8051                target: "base";
8052                after: "show_3";
8053            }
8054            program { name: "show_3";
8055                signal: "show";
8056                action: STATE_SET "visible" 0.0;
8057                target: "base";
8058                transition: LINEAR 0.5;
8059            }
8060            program { name: "hide";
8061                signal: "elm,action,hide";
8062                source: "elm";
8063                action: STATE_SET "default" 0.0;
8064                target: "base";
8065            }
8066        }
8067    }
8068    group { name: "elm/notify/base/top_left";
8069        //this group is a design similar to the inwin group
8070        images {
8071            image: "shad_circ.png" COMP;
8072            image: "bt_dis_base.png" COMP;
8073            image: "bt_dis_hilight.png" COMP;
8074        }
8075        parts {
8076            part { name: "base";
8077                type: RECT;
8078                mouse_events: 0;
8079                repeat_events: 1;
8080                 description { state: "default" 0.0;
8081                    color: 0 0 0 0;
8082                    rel1.offset: 10 10;
8083                    rel2.offset: -10 -10;
8084                    rel1.relative: 0.0 -1.0;
8085                    rel2.relative: 1.0 0.0;
8086                }
8087                description { state: "visible" 0.0;
8088                    inherit: "default" 0.0;
8089                    color: 0 0 0 64;
8090                    rel1.relative: 0.0 0.0;
8091                    rel2.relative: 1.0 1.0;
8092                }
8093            }
8094            part { name: "shad";
8095                mouse_events:  0;
8096                description { state: "default" 0.0;
8097                    image.normal: "shad_circ.png";
8098                    rel1.to: "elm.swallow.content";
8099                    rel1.offset: -64 -64;
8100                    rel2.to: "elm.swallow.content";
8101                    rel2.offset: 63 63;
8102                    fill.smooth: 0;
8103                }
8104            }
8105            part { name: "pop";
8106                mouse_events: 1;
8107                description { state: "default" 0.0;
8108                    rel1.to: "elm.swallow.content";
8109                    rel1.offset: -5 -5;
8110                    rel2.to: "elm.swallow.content";
8111                    rel2.offset: 4 4;
8112                    image {
8113                        normal: "bt_dis_base.png";
8114                        border: 4 4 4 4;
8115                    }
8116                    image.middle: SOLID;
8117                }
8118            }
8119            part { name: "popover";
8120                mouse_events: 0;
8121                description { state: "default" 0.0;
8122                    rel1.to: "pop";
8123                    rel2.to: "pop";
8124                    rel2.relative: 1.0 0.5;
8125                    image {
8126                        normal: "bt_dis_hilight.png";
8127                        border: 4 4 4 0;
8128                    }
8129                }
8130            }
8131            part { name: "elm.swallow.content";
8132                type: SWALLOW;
8133                description { state: "default" 0.0;
8134                    rel1.to: "base";
8135                    rel2.to: "base";
8136                }
8137            }
8138        }
8139        programs {
8140            program { name: "show";
8141                signal: "elm,action,show";
8142                source: "elm";
8143                action: STATE_SET "visible" 0.0;
8144                target: "base";
8145            }
8146            program { name: "show_2";
8147                signal: "show";
8148                action: STATE_SET "default" 0.0;
8149                target: "base";
8150                after: "show_3";
8151            }
8152            program { name: "show_3";
8153                signal: "show";
8154                action: STATE_SET "visible" 0.0;
8155                target: "base";
8156                transition: LINEAR 0.5;
8157            }
8158            program { name: "hide";
8159                signal: "elm,action,hide";
8160                source: "elm";
8161                action: STATE_SET "default" 0.0;
8162                target: "base";
8163            }
8164        }
8165    }
8166    group { name: "elm/notify/base/top_right";
8167        //this group is a design similar to the inwin group
8168        images {
8169            image: "shad_circ.png" COMP;
8170            image: "bt_dis_base.png" COMP;
8171            image: "bt_dis_hilight.png" COMP;
8172        }
8173        parts {
8174            part { name: "base";
8175                type: RECT;
8176                mouse_events: 0;
8177                repeat_events: 1;
8178                description { state: "default" 0.0;
8179                    color: 0 0 0 0;
8180                    rel1.offset: 10 10;
8181                    rel2.offset: -10 -10;
8182                    rel1.relative: 0.0 -1.0;
8183                    rel2.relative: 1.0 0.0;
8184                }
8185                description { state: "visible" 0.0;
8186                    inherit: "default" 0.0;
8187                    color: 0 0 0 64;
8188                    rel1.relative: 0.0 0.0;
8189                    rel2.relative: 1.0 1.0;
8190                }
8191            }
8192            part { name: "shad";
8193                mouse_events:  0;
8194                description { state: "default" 0.0;
8195                    image.normal: "shad_circ.png";
8196                    rel1.to: "elm.swallow.content";
8197                    rel1.offset: -64 -64;
8198                    rel2.to: "elm.swallow.content";
8199                    rel2.offset: 63 63;
8200                    fill.smooth: 0;
8201                }
8202            }
8203            part { name: "pop";
8204                mouse_events: 1;
8205                description { state: "default" 0.0;
8206                    rel1.to: "elm.swallow.content";
8207                    rel1.offset: -5 -5;
8208                    rel2.to: "elm.swallow.content";
8209                    rel2.offset: 4 4;
8210                    image {
8211                        normal: "bt_dis_base.png";
8212                        border: 4 4 4 4;
8213                    }
8214                    image.middle: SOLID;
8215                }
8216            }
8217            part { name: "popover";
8218                mouse_events: 0;
8219                description { state: "default" 0.0;
8220                    rel1.to: "pop";
8221                    rel2.to: "pop";
8222                    rel2.relative: 1.0 0.5;
8223                    image {
8224                        normal: "bt_dis_hilight.png";
8225                        border: 4 4 4 0;
8226                    }
8227                }
8228            }
8229            part { name: "elm.swallow.content";
8230                type: SWALLOW;
8231                description { state: "default" 0.0;
8232                    rel1.to: "base";
8233                    rel2.to: "base";
8234                }
8235            }
8236        }
8237        programs {
8238            program { name: "show";
8239                signal: "elm,action,show";
8240                source: "elm";
8241                action: STATE_SET "visible" 0.0;
8242                target: "base";
8243            }
8244            program { name: "show_2";
8245                signal: "show";
8246                action: STATE_SET "default" 0.0;
8247                target: "base";
8248                after: "show_3";
8249            }
8250            program { name: "show_3";
8251                signal: "show";
8252                action: STATE_SET "visible" 0.0;
8253                target: "base";
8254                transition: LINEAR 0.5;
8255            }
8256            program { name: "hide";
8257                signal: "elm,action,hide";
8258                source: "elm";
8259                action: STATE_SET "default" 0.0;
8260                target: "base";
8261            }
8262        }
8263    }
8264    group { name: "elm/notify/base/bottom_left";
8265        //this group is a design similar to the inwin group
8266        images {
8267            image: "shad_circ.png" COMP;
8268            image: "bt_dis_base.png" COMP;
8269            image: "bt_dis_hilight.png" COMP;
8270        }
8271        parts {
8272            part { name: "base";
8273                type: RECT;
8274                mouse_events: 0;
8275                repeat_events: 1;
8276                description { state: "default" 0.0;
8277                    color: 0 0 0 0;
8278                    rel1.offset: 10 10;
8279                    rel2.offset: -10 -10;
8280                    rel1.relative: 0.0 1.0;
8281                    rel2.relative: 1.0 2.0;
8282                }
8283                description { state: "visible" 0.0;
8284                    inherit: "default" 0.0;
8285                    color: 0 0 0 64;
8286                    rel1.relative: 0.0 0.0;
8287                    rel2.relative: 1.0 1.0;
8288                }
8289            }
8290            part { name: "shad";
8291                mouse_events:  0;
8292                description { state: "default" 0.0;
8293                    image.normal: "shad_circ.png";
8294                    rel1.to: "elm.swallow.content";
8295                    rel1.offset: -64 -64;
8296                    rel2.to: "elm.swallow.content";
8297                    rel2.offset: 63 63;
8298                    fill.smooth: 0;
8299                }
8300            }
8301            part { name: "pop";
8302                mouse_events: 1;
8303                description { state: "default" 0.0;
8304                    rel1.to: "elm.swallow.content";
8305                    rel1.offset: -5 -5;
8306                    rel2.to: "elm.swallow.content";
8307                    rel2.offset: 4 4;
8308                    image {
8309                        normal: "bt_dis_base.png";
8310                        border: 4 4 4 4;
8311                    }
8312                    image.middle: SOLID;
8313                }
8314            }
8315            part { name: "popover";
8316                mouse_events: 0;
8317                description { state: "default" 0.0;
8318                    rel1.to: "pop";
8319                    rel2.to: "pop";
8320                    rel2.relative: 1.0 0.5;
8321                    image {
8322                        normal: "bt_dis_hilight.png";
8323                        border: 4 4 4 0;
8324                    }
8325                }
8326            }
8327            part { name: "elm.swallow.content";
8328                type: SWALLOW;
8329                description { state: "default" 0.0;
8330                    rel1.to: "base";
8331                    rel2.to: "base";
8332                }
8333            }
8334        }
8335        programs {
8336            program { name: "show";
8337                signal: "elm,action,show";
8338                source: "elm";
8339                action: STATE_SET "visible" 0.0;
8340                target: "base";
8341            }
8342            program { name: "show_2";
8343                signal: "show";
8344                action: STATE_SET "default" 0.0;
8345                target: "base";
8346                after: "show_3";
8347            }
8348            program { name: "show_3";
8349                signal: "show";
8350                action: STATE_SET "visible" 0.0;
8351                target: "base";
8352                transition: LINEAR 0.5;
8353            }
8354            program { name: "hide";
8355                signal: "elm,action,hide";
8356                source: "elm";
8357                action: STATE_SET "default" 0.0;
8358                target: "base";
8359            }
8360        }
8361    }
8362    group { name: "elm/notify/base/bottom_right";
8363        //this group is a design similar to the inwin group
8364        images {
8365            image: "shad_circ.png" COMP;
8366            image: "bt_dis_base.png" COMP;
8367            image: "bt_dis_hilight.png" COMP;
8368        }
8369        parts {
8370            part { name: "base";
8371                type: RECT;
8372                mouse_events: 0;
8373                repeat_events: 1;
8374               description { state: "default" 0.0;
8375                    color: 0 0 0 0;
8376                    rel1.offset: 10 10;
8377                    rel2.offset: -10 -10;
8378                    rel1.relative: 0.0 1.0;
8379                    rel2.relative: 1.0 2.0;
8380                }
8381                description { state: "visible" 0.0;
8382                    inherit: "default" 0.0;
8383                    color: 0 0 0 64;
8384                    rel1.relative: 0.0 0.0;
8385                    rel2.relative: 1.0 1.0;
8386                }
8387            }
8388            part { name: "shad";
8389                mouse_events:  0;
8390                description { state: "default" 0.0;
8391                    image.normal: "shad_circ.png";
8392                    rel1.to: "elm.swallow.content";
8393                    rel1.offset: -64 -64;
8394                    rel2.to: "elm.swallow.content";
8395                    rel2.offset: 63 63;
8396                    fill.smooth: 0;
8397                }
8398            }
8399            part { name: "pop";
8400                mouse_events: 1;
8401                description { state: "default" 0.0;
8402                    rel1.to: "elm.swallow.content";
8403                    rel1.offset: -5 -5;
8404                    rel2.to: "elm.swallow.content";
8405                    rel2.offset: 4 4;
8406                    image {
8407                        normal: "bt_dis_base.png";
8408                        border: 4 4 4 4;
8409                    }
8410                    image.middle: SOLID;
8411                }
8412            }
8413            part { name: "popover";
8414                mouse_events: 0;
8415                description { state: "default" 0.0;
8416                    rel1.to: "pop";
8417                    rel2.to: "pop";
8418                    rel2.relative: 1.0 0.5;
8419                    image {
8420                        normal: "bt_dis_hilight.png";
8421                        border: 4 4 4 0;
8422                    }
8423                }
8424            }
8425            part { name: "elm.swallow.content";
8426                type: SWALLOW;
8427                description { state: "default" 0.0;
8428                    rel1.to: "base";
8429                    rel2.to: "base";
8430                }
8431            }
8432        }
8433        programs {
8434            program { name: "show";
8435                signal: "elm,action,show";
8436                source: "elm";
8437                action: STATE_SET "visible" 0.0;
8438                target: "base";
8439            }
8440            program { name: "show_2";
8441                signal: "show";
8442                action: STATE_SET "default" 0.0;
8443                target: "base";
8444                after: "show_3";
8445            }
8446            program { name: "show_3";
8447                signal: "show";
8448                action: STATE_SET "visible" 0.0;
8449                target: "base";
8450                transition: LINEAR 0.5;
8451            }
8452            program { name: "hide";
8453                signal: "elm,action,hide";
8454                source: "elm";
8455                action: STATE_SET "default" 0.0;
8456                target: "base";
8457            }
8458        }
8459    }
8460
8461 ///////////////////////////////////////////////////////////////////////////////
8462    group { name: "elm/slideshow/base/default";
8463       data {
8464          item: transitions "fade black_fade horizontal vertical square";
8465       }
8466       parts {
8467          part { name: "whole";
8468             description {
8469                state: "default" 0.0;
8470                visible: 1;
8471                color: 0 0 0 0;
8472             }
8473          }
8474          part { name: "image_1_whole";
8475             description {
8476                state: "default" 0.0;
8477                color: 255 255 255 255;
8478             }
8479             description {
8480                state: "fade_prev_next" 0.0;
8481                inherit: "default" 0.0;
8482                color: 255 255 255 0;
8483             }
8484             description {
8485                state: "black_fade_prev_next_init" 0.0;
8486                inherit: "default" 0.0;
8487                color: 255 255 255 255;
8488             }
8489             description {
8490                state: "black_fade_prev_next" 0.0;
8491                inherit: "default" 0.0;
8492                color: 0 0 0 255;
8493             }
8494             description {
8495                state: "horizontal_next_init" 0.0;
8496                inherit: "default" 0.0;
8497             }
8498             description {
8499                state: "horizontal_next" 0.0;
8500                inherit: "default" 0.0;
8501                rel1.relative: -1.0 0.0;
8502                rel2.relative: 0.0 1.0;
8503             }
8504             description {
8505                state: "horizontal_prev_init" 0.0;
8506                inherit: "default" 0.0;
8507             }
8508             description {
8509                state: "horizontal_prev" 0.0;
8510                inherit: "default" 0.0;
8511                rel1.relative: 1.0 0.0;
8512                rel2.relative: 2.0 1.0;
8513             }
8514             description {
8515                state: "vertical_next_init" 0.0;
8516                inherit: "default" 0.0;
8517             }
8518             description {
8519                state: "vertical_next" 0.0;
8520                inherit: "default" 0.0;
8521                rel1.relative: 0.0 -1.0;
8522                rel2.relative: 1.0 0.0;
8523             }
8524             description {
8525                state: "vertical_prev_init" 0.0;
8526                inherit: "default" 0.0;
8527             }
8528             description {
8529                state: "vertical_prev" 0.0;
8530                inherit: "default" 0.0;
8531                rel1.relative: 0.0 1.0;
8532                rel2.relative: 1.0 2.0;
8533             }
8534          }
8535          part { name: "image_2_whole";
8536             description {
8537                state: "default" 0.0;
8538                visible: 1;
8539                color: 255 255 255 0;
8540             }
8541             description {
8542                state: "fade_prev_next" 0.0;
8543                inherit: "default" 0.0;
8544                color: 255 255 255 255;
8545             }
8546             description {
8547                state: "black_fade_prev_next_init" 0.0;
8548                inherit: "default" 0.0;
8549                color: 0 0 0 0;
8550             }
8551             description {
8552                state: "black_fade_prev_next" 0.0;
8553                inherit: "default" 0.0;
8554                color: 255 255 255 255;
8555             }
8556             description {
8557                state: "horizontal_next_init" 0.0;
8558                inherit: "default" 0.0;
8559                rel1.relative: 1.0 0.0;
8560                rel2.relative: 2.0 1.0;
8561                color: 255 255 255 255;
8562             }
8563             description {
8564                state: "horizontal_next" 0.0;
8565                inherit: "default" 0.0;
8566                color: 255 255 255 255;
8567             }
8568             description {
8569                state: "horizontal_prev_init" 0.0;
8570                inherit: "default" 0.0;
8571                rel1.relative: -1.0 0.0;
8572                rel2.relative: 0.0 1.0;
8573                color: 255 255 255 255;
8574             }
8575             description {
8576                state: "horizontal_prev" 0.0;
8577                inherit: "default" 0.0;
8578                color: 255 255 255 255;
8579             }
8580             description {
8581                state: "vertical_next_init" 0.0;
8582                inherit: "default" 0.0;
8583                rel1.relative: 0.0 1.0;
8584                rel2.relative: 1.0 2.0;
8585                color: 255 255 255 255;
8586             }
8587             description {
8588                state: "vertical_next" 0.0;
8589                inherit: "default" 0.0;
8590                color: 255 255 255 255;
8591             }
8592             description {
8593                state: "vertical_prev_init" 0.0;
8594                inherit: "default" 0.0;
8595                rel1.relative: 0.0 -1.0;
8596                rel2.relative: 1.0 0.0;
8597                color: 255 255 255 255;
8598             }
8599             description {
8600                state: "vertical_prev" 0.0;
8601                inherit: "default" 0.0;
8602                color: 255 255 255 255;
8603             }
8604             description {
8605                state: "square_prev_next_init" 0.0;
8606                inherit: "default" 0.0;
8607                rel1.relative: 0.5 0.5;
8608                rel2.relative: 0.5 0.5;
8609                color: 255 255 255 255;
8610             }
8611             description {
8612                state: "square_prev_next" 0.0;
8613                inherit: "default" 0.0;
8614                rel1.relative: 0.0 0.0;
8615                rel2.relative: 1.0 1.0;
8616                color: 255 255 255 255;
8617             }
8618          }
8619          part { name: "elm.swallow.1";
8620             type: SWALLOW;
8621             clip_to: "image_1_whole";
8622             description {
8623                state: "default" 0.0;
8624                rel1.to: "image_1_whole";
8625                rel2.to: "image_1_whole";
8626                color: 255 255 255 255;
8627             }
8628          }
8629          part { name: "elm.swallow.2";
8630             type: SWALLOW;
8631             clip_to: "image_2_whole";
8632             description {
8633                state: "default" 0.0;
8634                color: 255 255 255 255;
8635                rel1.to: "image_2_whole";
8636                rel2.to: "image_2_whole";
8637             }
8638          }
8639          part { name: "events_catcher";
8640             type: RECT;
8641             repeat_events: 1;
8642             description {
8643                state: "default" 0.0;
8644                visible: 1;
8645                color: 0 0 0 0;
8646             }
8647          }
8648       }
8649       programs {
8650          program { name: "fade_next";
8651             signal: "fade,next";
8652             source: "slideshow";
8653             action: STATE_SET "default" 0.0;
8654             target: "image_1_whole";
8655             target: "image_2_whole";
8656             after: "fade_next_2";
8657          }
8658          program { name: "fade_next_2";
8659             action: STATE_SET "fade_prev_next" 0.0;
8660             target: "image_1_whole";
8661             target: "image_2_whole";
8662             transition: SINUSOIDAL 1.5;
8663             after: "end";
8664          }
8665          program { name: "fade_previous";
8666             signal: "fade,previous";
8667             source: "slideshow";
8668             action: STATE_SET "default" 0.0;
8669             target: "image_1_whole";
8670             target: "image_2_whole";
8671             after: "fade_previous_2";
8672          }
8673          program { name: "fade_previous_2";
8674             action: STATE_SET "fade_prev_next" 0.0;
8675             target: "image_1_whole";
8676             target: "image_2_whole";
8677             transition: SINUSOIDAL 1.5;
8678             after: "end";
8679          }
8680          program { name: "black_fade_next";
8681             signal: "black_fade,next";
8682             source: "slideshow";
8683             action: STATE_SET "black_fade_prev_next_init" 0.0;
8684             target: "image_1_whole";
8685             target: "image_2_whole";
8686             after: "black_fade_next_2";
8687          }
8688          program { name: "black_fade_next_2";
8689             action: STATE_SET "black_fade_prev_next" 0.0;
8690             target: "image_1_whole";
8691             transition: SINUSOIDAL 0.75;
8692             after: "black_fade_next_3";
8693          }
8694          program { name: "black_fade_next_3";
8695             action: STATE_SET "black_fade_prev_next" 0.0;
8696             target: "image_2_whole";
8697             transition: SINUSOIDAL 0.75;
8698             after: "end";
8699          }
8700          program { name: "black_fade_previous";
8701             signal: "black_fade,previous";
8702             source: "slideshow";
8703             action: STATE_SET "black_fade_prev_next_init" 0.0;
8704             target: "image_1_whole";
8705             target: "image_2_whole";
8706             after: "black_fade_previous_2";
8707          }
8708          program { name: "black_fade_previous_2";
8709             action: STATE_SET "black_fade_prev_next" 0.0;
8710             target: "image_1_whole";
8711             transition: SINUSOIDAL 0.75;
8712             after: "black_fade_previous_3";
8713          }
8714          program { name: "black_fade_previous_3";
8715             action: STATE_SET "black_fade_prev_next" 0.0;
8716             target: "image_2_whole";
8717             transition: SINUSOIDAL 0.75;
8718             after: "end";
8719          }
8720          program { name: "horizontal_next";
8721             signal: "horizontal,next";
8722             source: "slideshow";
8723             action: STATE_SET "horizontal_next_init" 0.0;
8724             target: "image_1_whole";
8725             target: "image_2_whole";
8726             after: "horizontal_next_2";
8727          }
8728          program { name: "horizontal_next_2";
8729             action: STATE_SET "horizontal_next" 0.0;
8730             target: "image_1_whole";
8731             target: "image_2_whole";
8732             transition: SINUSOIDAL 1.5;
8733             after: "end";
8734          }
8735          program { name: "horizontal_previous";
8736             signal: "horizontal,previous";
8737             source: "slideshow";
8738             action: STATE_SET "horizontal_prev_init" 0.0;
8739             target: "image_1_whole";
8740             target: "image_2_whole";
8741             after: "horizontal_previous_2";
8742          }
8743          program { name: "horizontal_previous_2";
8744             action: STATE_SET "horizontal_prev" 0.0;
8745             target: "image_1_whole";
8746             target: "image_2_whole";
8747             transition: SINUSOIDAL 1.5;
8748             after: "end";
8749          }
8750          program { name: "vertical_next";
8751             signal: "vertical,next";
8752             source: "slideshow";
8753             action: STATE_SET "vertical_next_init" 0.0;
8754             target: "image_1_whole";
8755             target: "image_2_whole";
8756             after: "vertical_next_2";
8757          }
8758          program { name: "vertical_next_2";
8759             action: STATE_SET "vertical_next" 0.0;
8760             target: "image_1_whole";
8761             target: "image_2_whole";
8762             transition: SINUSOIDAL 1.5;
8763             after: "end";
8764          }
8765          program { name: "vertical_previous";
8766             signal: "vertical,previous";
8767             source: "slideshow";
8768             action: STATE_SET "vertical_prev_init" 0.0;
8769             target: "image_1_whole";
8770             target: "image_2_whole";
8771             after: "vertical_previous_2";
8772          }
8773          program { name: "vertical_previous_2";
8774             action: STATE_SET "vertical_prev" 0.0;
8775             target: "image_1_whole";
8776             target: "image_2_whole";
8777             transition: SINUSOIDAL 1.5;
8778             after: "end";
8779          }
8780          program { name: "square_next";
8781             signal: "square,next";
8782             source: "slideshow";
8783             action: STATE_SET "square_prev_next_init" 0.0;
8784             target: "image_2_whole";
8785             after: "square_next_2";
8786          }
8787          program { name: "square_next_2";
8788             action: STATE_SET "square_prev_next" 0.0;
8789             target: "image_2_whole";
8790             transition: SINUSOIDAL 1.5;
8791             after: "end";
8792          }
8793          program { name: "square_previous";
8794             signal: "square,previous";
8795             source: "slideshow";
8796             action: STATE_SET "square_prev_next_init" 0.0;
8797             target: "image_2_whole";
8798             after: "square_next_2";
8799          }
8800          program { name: "end";
8801             action: STATE_SET "default" 0.0;
8802             target: "image_1_whole";
8803             target: "image_2_whole";
8804             after: "end_signal";
8805          }
8806          program { name: "end_signal";
8807             action: SIGNAL_EMIT "end" "slideshow";
8808          }
8809       }
8810    }
8811
8812 ///////////////////////////////////////////////////////////////////////////////
8813    group { name: "elm/win/inwin/default";
8814       images {
8815          image: "shad_circ.png" COMP;
8816          image: "bt_dis_base.png" COMP;
8817          image: "bt_dis_hilight.png" COMP;
8818       }
8819       parts {
8820          part { name: "base";
8821             type: RECT;
8822             mouse_events: 1;
8823             description { state: "default" 0.0;
8824                color: 0 0 0 0;
8825             }
8826             description { state: "visible" 0.0;
8827                inherit: "default" 1.0;
8828                color: 0 0 0 64;
8829             }
8830          }
8831          part { name: "shad";
8832             mouse_events:  0;
8833             description { state: "default" 0.0;
8834                image.normal: "shad_circ.png";
8835                rel1.to: "elm.swallow.content";
8836                rel1.offset: -64 -64;
8837                rel2.to: "elm.swallow.content";
8838                rel2.offset: 63 63;
8839                fill.smooth: 0;
8840             }
8841          }
8842          part { name: "pop";
8843             mouse_events: 1;
8844             description { state: "default" 0.0;
8845                rel1.to: "elm.swallow.content";
8846                rel1.offset: -5 -5;
8847                rel2.to: "elm.swallow.content";
8848                rel2.offset: 4 4;
8849                image {
8850                   normal: "bt_dis_base.png";
8851                   border: 4 4 4 4;
8852                }
8853                image.middle: SOLID;
8854             }
8855          }
8856          part { name: "popover";
8857             mouse_events: 0;
8858             description { state: "default" 0.0;
8859                rel1.to: "pop";
8860                rel2.to: "pop";
8861                rel2.relative: 1.0 0.5;
8862                image {
8863                   normal: "bt_dis_hilight.png";
8864                   border: 4 4 4 0;
8865                }
8866             }
8867          }
8868          part { name: "elm.swallow.content";
8869             type: SWALLOW;
8870             description { state: "default" 0.0;
8871                rel1.relative: 0.1 0.1;
8872                rel2.relative: 0.9 0.9;
8873             }
8874          }
8875       }
8876       programs {
8877          program { name: "show";
8878             signal: "elm,action,show";
8879             source: "elm";
8880             action: STATE_SET "visible" 0.0;
8881 //          transition: DECELERATE 0.5;
8882             target: "base";
8883          }
8884          program { name: "hide";
8885             signal: "elm,action,hide";
8886             source: "elm";
8887             action: STATE_SET "default" 0.0;
8888 //          transition: DECELERATE 0.5;
8889             target: "base";
8890          }
8891       }
8892    }
8893
8894    group { name: "elm/win/inwin/minimal";
8895       images {
8896          image: "shad_circ.png" COMP;
8897          image: "bt_dis_base.png" COMP;
8898          image: "bt_dis_hilight.png" COMP;
8899       }
8900       parts {
8901          part { name: "base";
8902             type: RECT;
8903             mouse_events: 1;
8904             description { state: "default" 0.0;
8905                color: 0 0 0 0;
8906             }
8907             description { state: "visible" 0.0;
8908                inherit: "default" 1.0;
8909                color: 0 0 0 64;
8910             }
8911          }
8912          part { name: "shad";
8913             mouse_events:  0;
8914             description { state: "default" 0.0;
8915                image.normal: "shad_circ.png";
8916                rel1.to: "elm.swallow.content";
8917                rel1.offset: -64 -64;
8918                rel2.to: "elm.swallow.content";
8919                rel2.offset: 63 63;
8920                fill.smooth: 0;
8921             }
8922          }
8923          part { name: "pop";
8924             mouse_events: 1;
8925             description { state: "default" 0.0;
8926                rel1.to: "elm.swallow.content";
8927                rel1.offset: -5 -5;
8928                rel2.to: "elm.swallow.content";
8929                rel2.offset: 4 4;
8930                image {
8931                   normal: "bt_dis_base.png";
8932                   border: 4 4 4 4;
8933                }
8934                image.middle: SOLID;
8935             }
8936          }
8937          part { name: "popover";
8938             mouse_events: 0;
8939             description { state: "default" 0.0;
8940                rel1.to: "pop";
8941                rel2.to: "pop";
8942                rel2.relative: 1.0 0.5;
8943                image {
8944                   normal: "bt_dis_hilight.png";
8945                   border: 4 4 4 0;
8946                }
8947             }
8948          }
8949          part { name: "elm.swallow.content";
8950             type: SWALLOW;
8951             description { state: "default" 0.0;
8952                fixed: 1 1;
8953                rel1.relative: 0.5 0.5;
8954                rel2.relative: 0.5 0.5;
8955             }
8956          }
8957       }
8958       programs {
8959          program { name: "show";
8960             signal: "elm,action,show";
8961             source: "elm";
8962             action: STATE_SET "visible" 0.0;
8963 //          transition: DECELERATE 0.5;
8964             target: "base";
8965          }
8966          program { name: "hide";
8967             signal: "elm,action,hide";
8968             source: "elm";
8969             action: STATE_SET "default" 0.0;
8970 //          transition: DECELERATE 0.5;
8971             target: "base";
8972          }
8973       }
8974    }
8975
8976    group { name: "elm/win/inwin/minimal_vertical";
8977       images {
8978          image: "shad_circ.png" COMP;
8979          image: "bt_dis_base.png" COMP;
8980          image: "bt_dis_hilight.png" COMP;
8981       }
8982       parts {
8983          part { name: "base";
8984             type: RECT;
8985             mouse_events: 1;
8986             description { state: "default" 0.0;
8987                color: 0 0 0 0;
8988             }
8989             description { state: "visible" 0.0;
8990                inherit: "default" 1.0;
8991                color: 0 0 0 64;
8992             }
8993          }
8994          part { name: "shad";
8995             mouse_events:  0;
8996             description { state: "default" 0.0;
8997                image.normal: "shad_circ.png";
8998                rel1.to: "elm.swallow.content";
8999                rel1.offset: -64 -64;
9000                rel2.to: "elm.swallow.content";
9001                rel2.offset: 63 63;
9002                fill.smooth: 0;
9003             }
9004          }
9005          part { name: "pop";
9006             mouse_events: 1;
9007             description { state: "default" 0.0;
9008                rel1.to: "elm.swallow.content";
9009                rel1.offset: -5 -5;
9010                rel2.to: "elm.swallow.content";
9011                rel2.offset: 4 4;
9012                image {
9013                   normal: "bt_dis_base.png";
9014                   border: 4 4 4 4;
9015                }
9016                image.middle: SOLID;
9017             }
9018          }
9019          part { name: "popover";
9020             mouse_events: 0;
9021             description { state: "default" 0.0;
9022                rel1.to: "pop";
9023                rel2.to: "pop";
9024                rel2.relative: 1.0 0.5;
9025                image {
9026                   normal: "bt_dis_hilight.png";
9027                   border: 4 4 4 0;
9028                }
9029             }
9030          }
9031          part { name: "elm.swallow.content";
9032             type: SWALLOW;
9033             description { state: "default" 0.0;
9034                fixed: 1 1;
9035                rel1.relative: 0.1 0.5;
9036                rel2.relative: 0.9 0.5;
9037             }
9038          }
9039       }
9040       programs {
9041          program { name: "show";
9042             signal: "elm,action,show";
9043             source: "elm";
9044             action: STATE_SET "visible" 0.0;
9045 //          transition: DECELERATE 0.5;
9046             target: "base";
9047          }
9048          program { name: "hide";
9049             signal: "elm,action,hide";
9050             source: "elm";
9051             action: STATE_SET "default" 0.0;
9052 //          transition: DECELERATE 0.5;
9053             target: "base";
9054          }
9055       }
9056    }
9057
9058 ///////////////////////////////////////////////////////////////////////////////
9059
9060    ///////////////////////////////////////////////////////////////////////////////
9061    group { name: "elm/list/item/default";
9062       data.item: "stacking" "above";
9063       images {
9064          image: "bt_sm_base1.png" COMP;
9065          image: "bt_sm_shine.png" COMP;
9066          image: "bt_sm_hilight.png" COMP;
9067          image: "ilist_1.png" COMP;
9068          image: "ilist_item_shadow.png" COMP;
9069       }
9070       parts {
9071          part {
9072             name:           "event";
9073             type:           RECT;
9074             repeat_events: 1;
9075             description {
9076                state: "default" 0.0;
9077                color: 0 0 0 0;
9078             }
9079          }
9080          part {
9081             name: "base_sh";
9082             mouse_events: 0;
9083             description {
9084                state: "default" 0.0;
9085                align: 0.0 0.0;
9086                min: 0 10;
9087                fixed: 1 1;
9088                rel1 {
9089                   to: "base";
9090                   relative: 0.0 1.0;
9091                   offset: 0 0;
9092                }
9093                rel2 {
9094                   to: "base";
9095                   relative: 1.0 1.0;
9096                   offset: -1 0;
9097                }
9098                image {
9099                   normal: "ilist_item_shadow.png";
9100                }
9101                fill.smooth: 0;
9102             }
9103          }
9104          part {
9105             name: "base";
9106             mouse_events: 0;
9107             description {
9108                state: "default" 0.0;
9109                image {
9110                   normal: "ilist_1.png";
9111                   border: 2 2 2 2;
9112                }
9113                fill.smooth: 0;
9114             }
9115          }
9116          part { name: "bg";
9117             mouse_events: 0;
9118             description { state: "default" 0.0;
9119                visible: 0;
9120                color: 255 255 255 0;
9121                rel1 {
9122                   relative: 0.0 0.0;
9123                   offset: -5 -5;
9124                }
9125                rel2 {
9126                   relative: 1.0 1.0;
9127                   offset: 4 4;
9128                }
9129                image {
9130                   normal: "bt_sm_base1.png";
9131                   border: 6 6 6 6;
9132                }
9133                image.middle: SOLID;
9134             }
9135             description { state: "selected" 0.0;
9136                inherit: "default" 0.0;
9137                visible: 1;
9138                color: 255 255 255 255;
9139                rel1 {
9140                   relative: 0.0 0.0;
9141                   offset: -2 -2;
9142                }
9143                rel2 {
9144                   relative: 1.0 1.0;
9145                   offset: 1 1;
9146                }
9147             }
9148          }
9149          part { name: "elm.swallow.icon";
9150             type: SWALLOW;
9151             description { state: "default" 0.0;
9152                fixed: 1 0;
9153                align: 0.0 0.5;
9154                rel1 {
9155                   relative: 0.0  0.0;
9156                   offset:   4    4;
9157                }
9158                rel2 {
9159                   relative: 0.0  1.0;
9160                   offset:   4   -5;
9161                }
9162             }
9163          }
9164          part { name: "elm.swallow.end";
9165             type: SWALLOW;
9166             description { state: "default" 0.0;
9167                fixed: 1 0;
9168                align: 1.0 0.5;
9169                rel1 {
9170                   relative: 1.0  0.0;
9171                   offset:   -5    4;
9172                }
9173                rel2 {
9174                   relative: 1.0  1.0;
9175                   offset:   -5   -5;
9176                }
9177             }
9178          }
9179          part { name: "elm.text";
9180             type:           TEXT;
9181             effect:         SOFT_SHADOW;
9182             mouse_events:   0;
9183             scale: 1;
9184             description {
9185                state: "default" 0.0;
9186 //               min: 16 16;
9187                rel1 {
9188                   to_x:     "elm.swallow.icon";
9189                   relative: 1.0  0.0;
9190                   offset:   4 4;
9191                }
9192                rel2 {
9193                   to_x:     "elm.swallow.end";
9194                   relative: 0.0  1.0;
9195                   offset:   -1 -5;
9196                }
9197                color: 0 0 0 255;
9198                color3: 0 0 0 0;
9199                text {
9200                   font: "Sans";
9201                   size: 10;
9202                   min: 1 1;
9203 //                  min: 0 1;
9204                   align: 0.0 0.5;
9205                }
9206             }
9207             description { state: "selected" 0.0;
9208                inherit: "default" 0.0;
9209                color: 224 224 224 255;
9210                color3: 0 0 0 64;
9211             }
9212          }
9213          part { name: "fg1";
9214             mouse_events: 0;
9215             description { state: "default" 0.0;
9216                visible: 0;
9217                color: 255 255 255 0;
9218                rel1.to: "bg";
9219                rel2.relative: 1.0 0.5;
9220                rel2.to: "bg";
9221                image {
9222                   normal: "bt_sm_hilight.png";
9223                   border: 6 6 6 0;
9224                }
9225             }
9226             description { state: "selected" 0.0;
9227                inherit: "default" 0.0;
9228                visible: 1;
9229                color: 255 255 255 255;
9230             }
9231          }
9232          part { name: "fg2";
9233             mouse_events: 0;
9234             description { state: "default" 0.0;
9235                visible: 0;
9236                color: 255 255 255 0;
9237                rel1.to: "bg";
9238                rel2.to: "bg";
9239                image {
9240                   normal: "bt_sm_shine.png";
9241                   border: 6 6 6 0;
9242                }
9243             }
9244             description { state: "selected" 0.0;
9245                inherit: "default" 0.0;
9246                visible: 1;
9247                color: 255 255 255 255;
9248             }
9249          }
9250       }
9251       programs {
9252          program {
9253             name:    "go_active";
9254             signal:  "elm,state,selected";
9255             source:  "elm";
9256             action:  STATE_SET "selected" 0.0;
9257             target:  "bg";
9258             target:  "fg1";
9259             target:  "fg2";
9260             target:  "elm.text";
9261          }
9262          program {
9263             name:    "go_passive";
9264             signal:  "elm,state,unselected";
9265             source:  "elm";
9266             action:  STATE_SET "default" 0.0;
9267             target:  "bg";
9268             target:  "fg1";
9269             target:  "fg2";
9270             target:  "elm.text";
9271             transition: LINEAR 0.1;
9272          }
9273       }
9274    }
9275    group { name: "elm/list/item_odd/default";
9276       data.item: "stacking" "below";
9277       data.item: "selectraise" "on";
9278       images {
9279          image: "bt_sm_base1.png" COMP;
9280          image: "bt_sm_shine.png" COMP;
9281          image: "bt_sm_hilight.png" COMP;
9282          image: "ilist_2.png" COMP;
9283       }
9284       parts {
9285          part {
9286             name:           "event";
9287             type:           RECT;
9288             repeat_events: 1;
9289             description {
9290                state: "default" 0.0;
9291                color: 0 0 0 0;
9292             }
9293          }
9294          part {
9295             name: "base";
9296             mouse_events: 0;
9297             description {
9298                state: "default" 0.0;
9299                image {
9300                   normal: "ilist_2.png";
9301                   border: 2 2 2 2;
9302                }
9303                fill.smooth: 0;
9304             }
9305          }
9306          part { name: "bg";
9307             mouse_events: 0;
9308             description { state: "default" 0.0;
9309                visible: 0;
9310                color: 255 255 255 0;
9311                rel1 {
9312                   relative: 0.0 0.0;
9313                   offset: -5 -5;
9314                }
9315                rel2 {
9316                   relative: 1.0 1.0;
9317                   offset: 4 4;
9318                }
9319                image {
9320                   normal: "bt_sm_base1.png";
9321                   border: 6 6 6 6;
9322                }
9323                image.middle: SOLID;
9324             }
9325             description { state: "selected" 0.0;
9326                inherit: "default" 0.0;
9327                visible: 1;
9328                color: 255 255 255 255;
9329                rel1 {
9330                   relative: 0.0 0.0;
9331                   offset: -2 -2;
9332                }
9333                rel2 {
9334                   relative: 1.0 1.0;
9335                   offset: 1 1;
9336                }
9337             }
9338          }
9339          part {
9340             name:          "elm.swallow.icon";
9341             type:          SWALLOW;
9342             description { state:    "default" 0.0;
9343                fixed: 1 0;
9344                align:    0.0 0.5;
9345                rel1 {
9346                   relative: 0.0  0.0;
9347                   offset:   4    4;
9348                }
9349                rel2 {
9350                   relative: 0.0  1.0;
9351                   offset:   4   -5;
9352                }
9353             }
9354          }
9355          part {
9356             name:          "elm.swallow.end";
9357             type:          SWALLOW;
9358             description { state:    "default" 0.0;
9359                fixed: 1 0;
9360                align: 1.0 0.5;
9361                rel1 {
9362                   relative: 1.0  0.0;
9363                   offset:   -5    4;
9364                }
9365                rel2 {
9366                   relative: 1.0  1.0;
9367                   offset:   -5   -5;
9368                }
9369             }
9370          }
9371          part {
9372             name:           "elm.text";
9373             type:           TEXT;
9374             effect:         SOFT_SHADOW;
9375             mouse_events:   0;
9376             scale: 1;
9377             description {
9378                state: "default" 0.0;
9379 //               min:      16 16;
9380                rel1 {
9381                   to_x:     "elm.swallow.icon";
9382                   relative: 1.0  0.0;
9383                   offset:   4 4;
9384                }
9385                rel2 {
9386                   to_x:     "elm.swallow.end";
9387                   relative: 0.0  1.0;
9388                   offset:   -1 -5;
9389                }
9390                color: 0 0 0 255;
9391                color3: 0 0 0 0;
9392                text {
9393                   font: "Sans";
9394                   size: 10;
9395                   min: 1 1;
9396 //                  min: 0 1;
9397                   align: 0.0 0.5;
9398                }
9399             }
9400             description { state: "selected" 0.0;
9401                inherit: "default" 0.0;
9402                color: 224 224 224 255;
9403                color3: 0 0 0 64;
9404             }
9405          }
9406          part { name: "fg1";
9407             mouse_events: 0;
9408             description { state: "default" 0.0;
9409                visible: 0;
9410                color: 255 255 255 0;
9411                rel1.to: "bg";
9412                rel2.relative: 1.0 0.5;
9413                rel2.to: "bg";
9414                image {
9415                   normal: "bt_sm_hilight.png";
9416                   border: 6 6 6 0;
9417                }
9418             }
9419             description { state: "selected" 0.0;
9420                inherit: "default" 0.0;
9421                visible: 1;
9422                color: 255 255 255 255;
9423             }
9424          }
9425          part { name: "fg2";
9426             mouse_events: 0;
9427             description { state: "default" 0.0;
9428                visible: 0;
9429                color: 255 255 255 0;
9430                rel1.to: "bg";
9431                rel2.to: "bg";
9432                image {
9433                   normal: "bt_sm_shine.png";
9434                   border: 6 6 6 0;
9435                }
9436             }
9437             description { state: "selected" 0.0;
9438                inherit: "default" 0.0;
9439                visible: 1;
9440                color: 255 255 255 255;
9441             }
9442          }
9443       }
9444       programs {
9445          program {
9446             name:    "go_active";
9447             signal:  "elm,state,selected";
9448             source:  "elm";
9449             action:  STATE_SET "selected" 0.0;
9450             target:  "bg";
9451             target:  "fg1";
9452             target:  "fg2";
9453             target:  "elm.text";
9454          }
9455          program {
9456             name:    "go_passive";
9457             signal:  "elm,state,unselected";
9458             source:  "elm";
9459             action:  STATE_SET "default" 0.0;
9460             target:  "bg";
9461             target:  "fg1";
9462             target:  "fg2";
9463             target:  "elm.text";
9464             transition: LINEAR 0.1;
9465          }
9466       }
9467    }
9468    group { name: "elm/list/item_compress/default";
9469       data.item: "stacking" "above";
9470       data.item: "selectraise" "on";
9471       images {
9472          image: "bt_sm_base1.png" COMP;
9473          image: "bt_sm_shine.png" COMP;
9474          image: "bt_sm_hilight.png" COMP;
9475          image: "ilist_1.png" COMP;
9476          image: "ilist_item_shadow.png" COMP;
9477       }
9478       parts {
9479          part {
9480             name: "base_sh";
9481             mouse_events: 0;
9482             description { state: "default" 0.0;
9483                fixed: 1 1;
9484                align: 0.0 0.0;
9485                min: 0 10;
9486                rel1 {
9487                   to: "base";
9488                   relative: 0.0 1.0;
9489                   offset: 0 0;
9490                }
9491                rel2 {
9492                   to: "base";
9493                   relative: 1.0 1.0;
9494                   offset: -1 0;
9495                }
9496                image {
9497                   normal: "ilist_item_shadow.png";
9498                }
9499                fill.smooth: 0;
9500             }
9501          }
9502          part {
9503             name: "base";
9504             mouse_events: 0;
9505             description {
9506                state: "default" 0.0;
9507                image {
9508                   normal: "ilist_1.png";
9509                   border: 2 2 2 2;
9510                }
9511                fill.smooth: 0;
9512             }
9513          }
9514          part { name: "bg";
9515             mouse_events: 0;
9516             description { state: "default" 0.0;
9517                visible: 0;
9518                color: 255 255 255 0;
9519                rel1 {
9520                   relative: 0.0 0.0;
9521                   offset: -5 -5;
9522                }
9523                rel2 {
9524                   relative: 1.0 1.0;
9525                   offset: 4 4;
9526                }
9527                image {
9528                   normal: "bt_sm_base1.png";
9529                   border: 6 6 6 6;
9530                }
9531                image.middle: SOLID;
9532             }
9533             description { state: "selected" 0.0;
9534                inherit: "default" 0.0;
9535                visible: 1;
9536                color: 255 255 255 255;
9537                rel1 {
9538                   relative: 0.0 0.0;
9539                   offset: -2 -2;
9540                }
9541                rel2 {
9542                   relative: 1.0 1.0;
9543                   offset: 1 1;
9544                }
9545             }
9546          }
9547          part { name:          "elm.swallow.icon";
9548             type:          SWALLOW;
9549             description { state:    "default" 0.0;
9550                fixed: 1 0;
9551                align:    0.0 0.5;
9552                rel1 {
9553                   relative: 0.0  0.0;
9554                   offset:   4    4;
9555                }
9556                rel2 {
9557                   relative: 0.0  1.0;
9558                   offset:   4   -5;
9559                }
9560             }
9561          }
9562          part { name:          "elm.swallow.end";
9563             type:          SWALLOW;
9564             description { state:    "default" 0.0;
9565                fixed: 1 0;
9566                align:    1.0 0.5;
9567                rel1 {
9568                   relative: 1.0  0.0;
9569                   offset:   -5    4;
9570                }
9571                rel2 {
9572                   relative: 1.0  1.0;
9573                   offset:   -5   -5;
9574                }
9575             }
9576          }
9577          part {
9578             name:           "elm.text";
9579             type:           TEXT;
9580             effect:         SOFT_SHADOW;
9581             mouse_events:   0;
9582             scale: 1;
9583             description { state: "default" 0.0;
9584 //               min:      16 16;
9585                rel1 {
9586                   to_x:     "elm.swallow.icon";
9587                   relative: 1.0  0.0;
9588                   offset:   4 4;
9589                }
9590                rel2 {
9591                   to_x:     "elm.swallow.end";
9592                   relative: 0.0  1.0;
9593                   offset:   -1 -5;
9594                }
9595                color: 0 0 0 255;
9596                color3: 0 0 0 0;
9597                text {
9598                   font: "Sans";
9599                   size: 10;
9600 //                  min: 1 1;
9601                   min: 0 1;
9602                   align: 0.0 0.5;
9603                }
9604             }
9605             description { state: "selected" 0.0;
9606                inherit: "default" 0.0;
9607                color: 224 224 224 255;
9608                color3: 0 0 0 64;
9609             }
9610          }
9611          part { name: "fg1";
9612             mouse_events: 0;
9613             description { state: "default" 0.0;
9614                visible: 0;
9615                color: 255 255 255 0;
9616                rel1.to: "bg";
9617                rel2.relative: 1.0 0.5;
9618                rel2.to: "bg";
9619                image {
9620                   normal: "bt_sm_hilight.png";
9621                   border: 6 6 6 0;
9622                }
9623             }
9624             description { state: "selected" 0.0;
9625                inherit: "default" 0.0;
9626                visible: 1;
9627                color: 255 255 255 255;
9628             }
9629          }
9630          part { name: "fg2";
9631             mouse_events: 0;
9632             description { state: "default" 0.0;
9633                visible: 0;
9634                color: 255 255 255 0;
9635                rel1.to: "bg";
9636                rel2.to: "bg";
9637                image {
9638                   normal: "bt_sm_shine.png";
9639                   border: 6 6 6 0;
9640                }
9641             }
9642             description { state: "selected" 0.0;
9643                inherit: "default" 0.0;
9644                visible: 1;
9645                color: 255 255 255 255;
9646             }
9647          }
9648          part {
9649             name:           "event";
9650             type:           RECT;
9651             repeat_events: 1;
9652             description {
9653                state: "default" 0.0;
9654                color: 0 0 0 0;
9655             }
9656          }
9657       }
9658       programs {
9659          program {
9660             name:    "go_active";
9661             signal:  "elm,state,selected";
9662             source:  "elm";
9663             action:  STATE_SET "selected" 0.0;
9664             target:  "bg";
9665             target:  "fg1";
9666             target:  "fg2";
9667             target:  "elm.text";
9668          }
9669          program {
9670             name:    "go_passive";
9671             signal:  "elm,state,unselected";
9672             source:  "elm";
9673             action:  STATE_SET "default" 0.0;
9674             target:  "bg";
9675             target:  "fg1";
9676             target:  "fg2";
9677             target:  "elm.text";
9678             transition: LINEAR 0.1;
9679          }
9680       }
9681    }
9682    group { name: "elm/list/item_compress_odd/default";
9683       data.item: "stacking" "below";
9684       data.item: "selectraise" "on";
9685       images {
9686          image: "bt_sm_base1.png" COMP;
9687          image: "bt_sm_shine.png" COMP;
9688          image: "bt_sm_hilight.png" COMP;
9689          image: "ilist_2.png" COMP;
9690       }
9691       parts {
9692          part {
9693             name: "base";
9694             mouse_events: 0;
9695             description {
9696                state: "default" 0.0;
9697                image {
9698                   normal: "ilist_2.png";
9699                   border: 2 2 2 2;
9700                }
9701                fill.smooth: 0;
9702             }
9703          }
9704          part { name: "bg";
9705             mouse_events: 0;
9706             description { state: "default" 0.0;
9707                visible: 0;
9708                color: 255 255 255 0;
9709                rel1 {
9710                   relative: 0.0 0.0;
9711                   offset: -5 -5;
9712                }
9713                rel2 {
9714                   relative: 1.0 1.0;
9715                   offset: 4 4;
9716                }
9717                image {
9718                   normal: "bt_sm_base1.png";
9719                   border: 6 6 6 6;
9720                }
9721                image.middle: SOLID;
9722             }
9723             description { state: "selected" 0.0;
9724                inherit: "default" 0.0;
9725                visible: 1;
9726                color: 255 255 255 255;
9727                rel1 {
9728                   relative: 0.0 0.0;
9729                   offset: -2 -2;
9730                }
9731                rel2 {
9732                   relative: 1.0 1.0;
9733                   offset: 1 1;
9734                }
9735             }
9736          }
9737          part { name:          "elm.swallow.icon";
9738             type:          SWALLOW;
9739             description { state:    "default" 0.0;
9740                fixed: 1 0;
9741                align:    0.0 0.5;
9742                rel1 {
9743                   relative: 0.0  0.0;
9744                   offset:   4    4;
9745                }
9746                rel2 {
9747                   relative: 0.0  1.0;
9748                   offset:   4   -5;
9749                }
9750             }
9751          }
9752          part { name:          "elm.swallow.end";
9753             type:          SWALLOW;
9754             description { state:    "default" 0.0;
9755                fixed: 1 0;
9756                align:    1.0 0.5;
9757                rel1 {
9758                   relative: 1.0  0.0;
9759                   offset:   -5    4;
9760                }
9761                rel2 {
9762                   relative: 1.0  1.0;
9763                   offset:   -5   -5;
9764                }
9765             }
9766          }
9767          part {
9768             name:           "elm.text";
9769             type:           TEXT;
9770             effect:         SOFT_SHADOW;
9771             mouse_events:   0;
9772             scale: 1;
9773             description {
9774                state: "default" 0.0;
9775 //               min:      16 16;
9776                rel1 {
9777                   to_x:     "elm.swallow.icon";
9778                   relative: 1.0  0.0;
9779                   offset:   4 4;
9780                }
9781                rel2 {
9782                   to_x:     "elm.swallow.end";
9783                   relative: 0.0  1.0;
9784                   offset:   -1 -5;
9785                }
9786                color: 0 0 0 255;
9787                color3: 0 0 0 0;
9788                text {
9789                   font: "Sans";
9790                   size: 10;
9791 //                  min: 1 1;
9792                   min: 0 1;
9793                   align: 0.0 0.5;
9794                }
9795             }
9796             description { state: "selected" 0.0;
9797                inherit: "default" 0.0;
9798                color: 224 224 224 255;
9799                color3: 0 0 0 64;
9800             }
9801          }
9802          part { name: "fg1";
9803             mouse_events: 0;
9804             description { state: "default" 0.0;
9805                visible: 0;
9806                color: 255 255 255 0;
9807                rel1.to: "bg";
9808                rel2.relative: 1.0 0.5;
9809                rel2.to: "bg";
9810                image {
9811                   normal: "bt_sm_hilight.png";
9812                   border: 6 6 6 0;
9813                }
9814             }
9815             description { state: "selected" 0.0;
9816                inherit: "default" 0.0;
9817                visible: 1;
9818                color: 255 255 255 255;
9819             }
9820          }
9821          part { name: "fg2";
9822             mouse_events: 0;
9823             description { state: "default" 0.0;
9824                visible: 0;
9825                color: 255 255 255 0;
9826                rel1.to: "bg";
9827                rel2.to: "bg";
9828                image {
9829                   normal: "bt_sm_shine.png";
9830                   border: 6 6 6 0;
9831                }
9832             }
9833             description { state: "selected" 0.0;
9834                inherit: "default" 0.0;
9835                visible: 1;
9836                color: 255 255 255 255;
9837             }
9838          }
9839          part {
9840             name:           "event";
9841             type:           RECT;
9842             repeat_events: 1;
9843             description {
9844                state: "default" 0.0;
9845                color: 0 0 0 0;
9846             }
9847          }
9848       }
9849       programs {
9850          program {
9851             name:    "go_active";
9852             signal:  "elm,state,selected";
9853             source:  "elm";
9854             action:  STATE_SET "selected" 0.0;
9855             target:  "bg";
9856             target:  "fg1";
9857             target:  "fg2";
9858             target:  "elm.text";
9859          }
9860          program {
9861             name:    "go_passive";
9862             signal:  "elm,state,unselected";
9863             source:  "elm";
9864             action:  STATE_SET "default" 0.0;
9865             target:  "bg";
9866             target:  "fg1";
9867             target:  "fg2";
9868             target:  "elm.text";
9869             transition: LINEAR 0.1;
9870          }
9871       }
9872    }
9873
9874 ///////////////////////////////////////////////////////////////////////////////
9875    group { name: "elm/slider/horizontal/default";
9876       images {
9877          image: "sl_bg.png" COMP;
9878          image: "sl_bg_over.png" COMP;
9879          image: "sl_bt_0.png" COMP;
9880          image: "sl_bt_1.png" COMP;
9881          image: "sl_bt_2.png" COMP;
9882          image: "sl_bt2_0_0.png" COMP;
9883          image: "sl_bt2_0_1.png" COMP;
9884          image: "sl_bt2_0_2.png" COMP;
9885          image: "sl_bt2_1.png" COMP;
9886          image: "sl_bt2_2.png" COMP;
9887          image: "sl_units.png" COMP;
9888       }
9889       parts {
9890          part { name: "base";
9891             mouse_events: 0;
9892             description { state: "default" 0.0;
9893                max: 99999 6;
9894                min: 0 6;
9895                rel1 { to: "bg";
9896                   offset: 1 0;
9897                }
9898                rel2 { to: "bg";
9899                   offset: -2 -1;
9900                }
9901                image.normal: "sl_bg.png";
9902                fill.smooth: 0;
9903             }
9904          }
9905          part { name: "level";
9906             type: RECT;
9907             mouse_events: 0;
9908             description { state: "default" 0.0;
9909                fixed: 1 1;
9910                rel1.to: "base";
9911                rel2 {
9912                   to_y: "base";
9913                   to_x: "elm.dragable.slider";
9914                   relative: 0.5 1.0;
9915                }
9916                color: 255 0 0 200;
9917             }
9918             description { state: "inverted" 0.0;
9919                inherit: "default" 0.0;
9920                visible: 0;
9921             }
9922          }
9923          part { name: "level2";
9924             type: RECT;
9925             mouse_events: 0;
9926             description { state: "default" 0.0;
9927                fixed: 1 1;
9928                visible: 0;
9929                rel1 {
9930                   to_y: "base";
9931                   to_x: "elm.dragable.slider";
9932                   relative: 0.5 0.0;
9933                }
9934                rel2.to: "base";
9935                color: 255 0 0 200;
9936             }
9937             description { state: "inverted" 0.0;
9938                inherit: "default" 0.0;
9939                visible: 1;
9940             }
9941          }
9942          part {
9943             name: "base_over";
9944             mouse_events: 0;
9945             description { state: "default" 0.0;
9946                rel1.to: "base";
9947                rel1.offset: -1 -1;
9948                rel2.to: "base";
9949                rel2.offset: 0 0;
9950                image {
9951                   normal: "sl_bg_over.png";
9952                   border: 3 3 3 3;
9953                }
9954                fill.smooth: 0;
9955             }
9956          }
9957          part { name: "bg";
9958             type: RECT;
9959             mouse_events: 0;
9960             scale: 1;
9961             description { state: "default" 0.0;
9962                visible: 0;
9963                rel1.to: "elm.swallow.bar";
9964                rel2.to: "elm.swallow.bar";
9965                color: 0 0 0 0;
9966             }
9967          }
9968          part { name: "elm.swallow.bar";
9969             type: SWALLOW;
9970             scale: 1;
9971             description { state: "default" 0.0;
9972                min: 48 24;
9973                max: 99999 24;
9974                align: 1.0 0.5;
9975                rel1 {
9976                   to_x: "elm.text";
9977                   relative: 1.0 0.0;
9978                   offset: 8 0;
9979                }
9980                rel2 {
9981                   to_x: "elm.units";
9982                   relative: 0.0 1.0;
9983                   offset: -10 -1;
9984                }
9985             }
9986          }
9987          part { name: "elm.swallow.content";
9988             type: SWALLOW;
9989             description { state: "default" 0.0;
9990                visible: 0;
9991                align: 0.0 0.5;
9992                rel1 {
9993                   offset: 4 0;
9994                   to_y: "elm.swallow.bar";
9995                }
9996                rel2 {
9997                   offset: 3 -1;
9998                   relative: 0.0 1.0;
9999                   to_y: "elm.swallow.bar";
10000                }
10001             }
10002             description { state: "visible" 0.0;
10003                inherit: "default" 0.0;
10004                visible: 1;
10005                aspect: 1.0 1.0;
10006                aspect_preference: VERTICAL;
10007                rel2.offset: 4 -1;
10008             }
10009          }
10010          part { name: "elm.text";
10011             type: TEXT;
10012             mouse_events: 0;
10013             scale: 1;
10014             description { state: "default" 0.0;
10015                visible: 0;
10016                fixed: 1 1;
10017                align: 0.0 0.5;
10018                rel1.to_x: "elm.swallow.content";
10019                rel1.relative: 1.0 0.0;
10020                rel1.offset: -1 4;
10021                rel2.to_x: "elm.swallow.content";
10022                rel2.relative: 1.0 1.0;
10023                rel2.offset: -1 -5;
10024                color: 0 0 0 255;
10025                text {
10026                   font: "Sans,Edje-Vera";
10027                   size: 10;
10028                   min: 0 0;
10029                   align: 0.0 0.5;
10030                }
10031             }
10032             description { state: "visible" 0.0;
10033                inherit: "default" 0.0;
10034                visible: 1;
10035                text.min: 1 1;
10036                rel1.offset: 0 4;
10037                rel2.offset: 0 -5;
10038             }
10039          }
10040          part { name: "units";
10041             mouse_events: 0;
10042             description { state: "default" 0.0;
10043                visible: 0;
10044                rel1 {
10045                   to_x: "elm.units";
10046                   offset: 0 5;
10047                }
10048                image {
10049                   normal: "sl_units.png";
10050                   border: 0 5 3 8;
10051                }
10052                fill.smooth: 0;
10053             }
10054             description { state: "visible" 0.0;
10055                inherit: "default" 0.0;
10056                visible: 1;
10057             }
10058          }
10059          part { name: "elm.units";
10060             type: TEXT;
10061             mouse_events: 0;
10062             scale: 1;
10063             description { state: "default" 0.0;
10064                visible: 0;
10065                fixed: 1 1;
10066                align: 1.0 0.5;
10067                rel1.relative: 1.0 0.0;
10068                rel1.offset: 0 8;
10069                rel2.relative: 1.0 1.0;
10070                rel2.offset: 0 -9;
10071                color: 0 0 0 255;
10072                text {
10073                   font: "Sans,Edje-Vera";
10074                   size: 10;
10075                   min: 0 0;
10076                   align: 0.0 0.5;
10077                }
10078             }
10079             description { state: "visible" 0.0;
10080                inherit: "default" 0.0;
10081                fixed: 1 1;
10082                visible: 1;
10083                text.min: 1 1;
10084                rel1.offset: -5 0;
10085                rel2.offset: -5 -1;
10086             }
10087          }
10088          part { name: "elm.dragable.slider";
10089             type: RECT;
10090             mouse_events: 0;
10091             scale: 1;
10092             dragable {
10093                x: 1 1 0;
10094                y: 0 0 0;
10095                confine: "bg";
10096             }
10097             description { state: "default" 0.0;
10098                min: 0 24;
10099                max: 0 24;
10100                fixed: 1 1;
10101                rel1 {
10102                   relative: 0.5 0.0;
10103                   to_x: "bg";
10104                }
10105                rel2 {
10106                   relative: 0.5 1.0;
10107                   to_x: "bg";
10108                }
10109                color: 255 0 0 100;
10110             }
10111          }
10112          part { name: "button_events";
10113             type: RECT;
10114             dragable {
10115                events: "elm.dragable.slider";
10116             }
10117             mouse_events: 1;
10118             description { state: "default" 0.0;
10119                fixed: 1 1;
10120                min: 16 16;
10121                aspect: 1.0 1.0;
10122                aspect_preference: VERTICAL;
10123                rel1.to_x: "elm.dragable.slider";
10124                rel2.to_x: "elm.dragable.slider";
10125                color: 0 0 0 0;
10126             }
10127          }
10128          part { name: "button0";
10129             mouse_events: 0;
10130             description { state: "default" 0.0;
10131                fixed: 1 1;
10132                max: 17 999;
10133                min: 17 24;
10134                rel1.to: "elm.dragable.slider";
10135                rel2.to: "elm.dragable.slider";
10136                image {
10137                   normal: "sl_bt_0.png";
10138                   border: 5 5 5 10;
10139                }
10140                fill.smooth: 0;
10141             }
10142          }
10143          part { name: "button1";
10144             mouse_events: 0;
10145             description { state: "default" 0.0;
10146                rel1.to: "button0";
10147                rel2 {
10148                   to: "button0";
10149                   relative: 1.0 0.5;
10150                   offset: -1 -5;
10151                }
10152                image {
10153                   normal: "sl_bt_1.png";
10154                   border: 5 5 5 0;
10155                }
10156             }
10157          }
10158          part { name: "button2";
10159             mouse_events: 0;
10160             description { state: "default" 0.0;
10161                rel1.to: "button0";
10162                rel2.to: "button0";
10163                image {
10164                   normal: "sl_bt_2.png";
10165                   border: 5 5 5 10;
10166                }
10167                fill.smooth: 0;
10168             }
10169          }
10170          part { name: "button3";
10171             mouse_events: 0;
10172             description { state: "default" 0.0;
10173                fixed: 1 1;
10174                visible: 0;
10175                min: 8 32;
10176                align: 1.0 0.5;
10177                rel1 {
10178                   to_x: "elm.indicator";
10179                   to_y: "button4";
10180                   relative: 0.0 0.0;
10181                   offset: -7 0;
10182                }
10183                rel2 {
10184                   to: "button4";
10185                   relative: 0.0 1.0;
10186                   offset: -1 -1;
10187                }
10188                image {
10189                   normal: "sl_bt2_0_0.png";
10190                   border: 6 0 6 12;
10191                }
10192                fill.smooth: 0;
10193             }
10194             description { state: "visible" 0.0;
10195                inherit: "default" 0.0;
10196                visible: 1;
10197             }
10198          }
10199          part { name: "button4";
10200             mouse_events: 0;
10201             description { state: "default" 0.0;
10202                visible: 0;
10203                max: 15 999;
10204                min: 15 32;
10205                rel1 {
10206                   to_x: "button0";
10207                   to_y: "elm.indicator";
10208                   offset: 0 0;
10209                }
10210                rel2.to: "button0";
10211                image {
10212                   normal: "sl_bt2_0_1.png";
10213                   border: 0 0 6 12;
10214                }
10215                fill.smooth: 0;
10216             }
10217             description { state: "visible" 0.0;
10218                inherit: "default" 0.0;
10219                visible: 1;
10220             }
10221          }
10222          part { name: "button5";
10223             mouse_events: 0;
10224             description { state: "default" 0.0;
10225                fixed: 1 1;
10226                visible: 0;
10227                min: 8 32;
10228                align: 0.0 0.5;
10229                rel1 {
10230                   to: "button4";
10231                   relative: 1.0 0.0;
10232                   offset: 0 0;
10233                }
10234                rel2 {
10235                   to_x: "elm.indicator";
10236                   to_y: "button4";
10237                   relative: 1.0 1.0;
10238                   offset: 6 -1;
10239                }
10240                image {
10241                   normal: "sl_bt2_0_2.png";
10242                   border: 0 6 6 12;
10243                }
10244                fill.smooth: 0;
10245             }
10246             description { state: "visible" 0.0;
10247                inherit: "default" 0.0;
10248                visible: 1;
10249             }
10250          }
10251          part { name: "elm.indicator";
10252             type: TEXT;
10253             mouse_events: 0;
10254             effect: SOFT_SHADOW;
10255             scale: 1;
10256             description { state: "default" 0.0;
10257                visible: 0;
10258                fixed: 1 1;
10259                align: 0.5 1.0;
10260                rel1 {
10261                   to: "button0";
10262                   relative: 0.0 -0.25;
10263                   offset: 0 0;
10264                }
10265                rel2 {
10266                   to_x: "button0";
10267                   relative: 1.0 -0.25;
10268                   offset: -1 0;
10269                }
10270                color: 224 224 224 255;
10271                color3: 0 0 0 64;
10272                text {
10273                   font:     "Sans,Edje-Vera";
10274                   size:     10;
10275                   min:      0 0;
10276                   align:    0.5 0.5;
10277                }
10278             }
10279             description { state: "visible" 0.0;
10280                inherit: "default" 0.0;
10281                visible: 1;
10282                text.min: 1 1;
10283                rel1.offset: 0 -1;
10284                rel2.offset: -1 -1;
10285             }
10286          }
10287          part { name: "button6";
10288             mouse_events: 0;
10289             description { state: "default" 0.0;
10290                visible: 0;
10291                rel1.to: "button3";
10292                rel2 {
10293                   to: "button5";
10294                   relative: 1.0 0.3;
10295                   offset: -1 -1;
10296                }
10297                image {
10298                   normal: "sl_bt2_1.png";
10299                   border: 5 5 5 0;
10300                }
10301                fill.smooth: 0;
10302             }
10303             description { state: "visible" 0.0;
10304                inherit: "default" 0.0;
10305                visible: 1;
10306             }
10307          }
10308          part { name: "button7";
10309             mouse_events: 0;
10310             description { state: "default" 0.0;
10311                visible: 0;
10312                rel1.to: "button3";
10313                rel2.to: "button5";
10314                image {
10315                   normal: "sl_bt2_2.png";
10316                   border: 5 5 5 0;
10317                   middle: 0;
10318                }
10319                fill.smooth: 0;
10320             }
10321             description { state: "visible" 0.0;
10322                inherit: "default" 0.0;
10323                visible: 1;
10324             }
10325          }
10326       }
10327       programs {
10328          program { name: "text_show";
10329             signal: "elm,state,text,visible";
10330             source: "elm";
10331             action:  STATE_SET "visible" 0.0;
10332             target: "elm.text";
10333          }
10334          program { name: "text_hide";
10335             signal: "elm,state,text,hidden";
10336             source: "elm";
10337             action:  STATE_SET "default" 0.0;
10338             target: "elm.text";
10339          }
10340          program { name: "icon_show";
10341             signal: "elm,state,icon,visible";
10342             source: "elm";
10343             action:  STATE_SET "visible" 0.0;
10344             target: "elm.swallow.content";
10345          }
10346          program { name: "icon_hide";
10347             signal: "elm,state,icon,hidden";
10348             source: "elm";
10349             action:  STATE_SET "default" 0.0;
10350             target: "elm.swallow.content";
10351          }
10352          program { name: "units_show";
10353             signal: "elm,state,units,visible";
10354             source: "elm";
10355             action:  STATE_SET "visible" 0.0;
10356             target: "elm.units";
10357             target: "units";
10358          }
10359          program { name: "units_hide";
10360             signal: "elm,state,units,hidden";
10361             source: "elm";
10362             action:  STATE_SET "default" 0.0;
10363             target: "elm.units";
10364             target: "units";
10365          }
10366          program { name: "invert_on";
10367             signal: "elm,state,inverted,on";
10368             source: "elm";
10369             action:  STATE_SET "inverted" 0.0;
10370             target: "level";
10371             target: "level2";
10372          }
10373          program { name: "invert_off";
10374             signal: "elm,state,inverted,off";
10375             source: "elm";
10376             action:  STATE_SET "default" 0.0;
10377             target: "level";
10378             target: "level2";
10379          }
10380          program { name: "val_show";
10381             signal: "mouse,down,*";
10382             source: "elm.dragable.slider";
10383             action:  STATE_SET "visible" 0.0;
10384             target: "elm.indicator";
10385             target: "button3";
10386             target: "button4";
10387             target: "button5";
10388             target: "button6";
10389             target: "button7";
10390          }
10391          program { name: "val_hide";
10392             signal: "mouse,up,*";
10393             source: "elm.dragable.slider";
10394             action:  STATE_SET "default" 0.0;
10395             target: "elm.indicator";
10396             target: "button3";
10397             target: "button4";
10398             target: "button5";
10399             target: "button6";
10400             target: "button7";
10401          }
10402       }
10403    }
10404
10405    group { name: "elm/slider/vertical/default";
10406       images {
10407          image: "slv_bg.png" COMP;
10408          image: "slv_bg_over.png" COMP;
10409
10410          image: "sl_bt_0.png" COMP;
10411          image: "sl_bt_1.png" COMP;
10412          image: "sl_bt_2.png" COMP;
10413          image: "sl_bt2_0_0.png" COMP;
10414          image: "sl_bt2_0_1.png" COMP;
10415          image: "sl_bt2_0_2.png" COMP;
10416          image: "sl_bt2_1.png" COMP;
10417          image: "sl_bt2_2.png" COMP;
10418
10419          image: "slv_units.png" COMP;
10420       }
10421       parts {
10422          part { name: "base";
10423             mouse_events: 0;
10424             description { state: "default" 0.0;
10425                max: 6 99999;
10426                min: 6 0;
10427                rel1 { to: "bg";
10428                   offset: 1 0;
10429                }
10430                rel2 { to: "bg";
10431                   offset: -2 -1;
10432                }
10433                image.normal: "slv_bg.png";
10434                fill.smooth: 0;
10435             }
10436          }
10437          part { name: "level";
10438             type: RECT;
10439             mouse_events: 0;
10440             description { state: "default" 0.0;
10441                fixed: 1 1;
10442                rel1.to: "base";
10443                rel2 {
10444                   to_x: "base";
10445                   to_y: "elm.dragable.slider";
10446                   relative: 1.0 0.5;
10447                }
10448                color: 255 0 0 200;
10449             }
10450             description { state: "inverted" 0.0;
10451                inherit: "default" 0.0;
10452                visible: 0;
10453             }
10454          }
10455          part { name: "level2";
10456             type: RECT;
10457             mouse_events: 0;
10458             description { state: "default" 0.0;
10459                fixed: 1 1;
10460                visible: 0;
10461                rel1 {
10462                   to_x: "base";
10463                   to_y: "elm.dragable.slider";
10464                   relative: 0.0 0.5;
10465                }
10466                rel2.to: "base";
10467                color: 255 0 0 200;
10468             }
10469             description { state: "inverted" 0.0;
10470                inherit: "default" 0.0;
10471                visible: 1;
10472             }
10473          }
10474          part {
10475             name: "base_over";
10476             mouse_events: 0;
10477             description { state: "default" 0.0;
10478                rel1.to: "base";
10479                rel1.offset: -1 -1;
10480                rel2.to: "base";
10481                rel2.offset: 0 0;
10482                image {
10483                   normal: "slv_bg_over.png";
10484                   border: 3 3 3 3;
10485                }
10486                fill.smooth: 0;
10487             }
10488          }
10489          part { name: "bg";
10490             type: RECT;
10491             mouse_events: 0;
10492             scale: 1;
10493             description { state: "default" 0.0;
10494                visible: 0;
10495                rel1.to: "elm.swallow.bar";
10496                rel2.to: "elm.swallow.bar";
10497                color: 0 0 0 0;
10498             }
10499          }
10500          part { name: "elm.swallow.bar";
10501             type: SWALLOW;
10502             scale: 1;
10503             description { state: "default" 0.0;
10504                min: 24 48;
10505                max: 24 9999;
10506                align: 0.5 1.0;
10507                rel1 {
10508                   to_y: "elm.text";
10509                   relative: 0.0 1.0;
10510                   offset: 0 10;
10511                }
10512                rel2 {
10513                   to_y: "elm.units";
10514                   relative: 1.0 0.0;
10515                   offset: -1 -8;
10516                }
10517             }
10518          }
10519          part { name: "elm.swallow.content";
10520             type: SWALLOW;
10521             description { state: "default" 0.0;
10522                visible: 0;
10523                align: 0.5 0.0;
10524                rel1 {
10525                   offset: 0 4;
10526                   to_x: "elm.swallow.bar";
10527                }
10528                rel2 {
10529                   offset: -1 3;
10530                   relative: 1.0 0.0;
10531                   to_x: "elm.swallow.bar";
10532                }
10533             }
10534             description { state: "visible" 0.0;
10535                inherit: "default" 0.0;
10536                visible: 1;
10537                aspect: 1.0 1.0;
10538                aspect_preference: HORIZONTAL;
10539                rel2.offset: -1 4;
10540             }
10541          }
10542          part { name: "elm.text";
10543             type: TEXT;
10544             mouse_events: 0;
10545             scale: 1;
10546             description { state: "default" 0.0;
10547                visible: 0;
10548                fixed: 1 1;
10549                align: 0.5 0.0;
10550                rel1.to_y: "elm.swallow.content";
10551                rel1.relative: 0.5 1.0;
10552                rel1.offset: 0 -1;
10553                rel2.to_y: "elm.swallow.content";
10554                rel2.relative: 0.5 1.0;
10555                rel2.offset: -1 -1;
10556                color: 0 0 0 255;
10557                text {
10558                   font: "Sans,Edje-Vera";
10559                   size: 10;
10560                   min: 0 0;
10561                   align: 0.5 0.0;
10562                }
10563             }
10564             description { state: "visible" 0.0;
10565                inherit: "default" 0.0;
10566                visible: 1;
10567                text.min: 1 1;
10568                rel1.offset: 4 0;
10569                rel2.offset: -5 0;
10570             }
10571          }
10572          part { name: "units";
10573             mouse_events: 0;
10574             description { state: "default" 0.0;
10575                visible: 0;
10576                rel1 {
10577                   to: "elm.units";
10578                   offset: -8 0;
10579                }
10580                rel2 {
10581                   to: "elm.units";
10582                   offset: 7 8;
10583                }
10584                image {
10585                   normal: "slv_units.png";
10586                   border: 8 8 0 9;
10587                }
10588                fill.smooth: 0;
10589             }
10590             description { state: "visible" 0.0;
10591                inherit: "default" 0.0;
10592                visible: 1;
10593             }
10594          }
10595          part { name: "elm.units";
10596             type: TEXT;
10597             mouse_events: 0;
10598             scale: 1;
10599             description { state: "default" 0.0;
10600                visible: 0;
10601                fixed: 1 1;
10602                align: 0.5 1.0;
10603                rel1.relative: 0.0 1.0;
10604                rel1.offset: 8 0;
10605                rel2.relative: 1.0 1.0;
10606                rel2.offset: -9 0;
10607                color: 0 0 0 255;
10608                text {
10609                   font: "Sans,Edje-Vera";
10610                   size: 10;
10611                   min: 0 0;
10612                   align: 0.5 0.0;
10613                }
10614             }
10615             description { state: "visible" 0.0;
10616                inherit: "default" 0.0;
10617                fixed: 1 1;
10618                visible: 1;
10619                text.min: 1 1;
10620                rel1.offset: 8 -9;
10621                rel2.offset: -9 -9;
10622             }
10623          }
10624          part { name: "elm.dragable.slider";
10625             type: RECT;
10626             mouse_events: 0;
10627             scale: 1;
10628             dragable {
10629                x: 0 0 0;
10630                y: 1 1 0;
10631                confine: "bg";
10632             }
10633             description { state: "default" 0.0;
10634                min: 24 0;
10635                max: 24 0;
10636                fixed: 1 1;
10637                rel1 {
10638                   relative: 0.5  0.0;
10639                   to_y: "bg";
10640                }
10641                rel2 {
10642                   relative: 0.5  1.0;
10643                   to_y: "bg";
10644                }
10645                color: 0 0 0 0;
10646             }
10647          }
10648          part { name: "button_events";
10649             type: RECT;
10650             dragable {
10651                events: "elm.dragable.slider";
10652             }
10653             mouse_events: 1;
10654             description { state: "default" 0.0;
10655                fixed: 1 1;
10656                min: 16 16;
10657                aspect: 1.0 1.0;
10658                aspect_preference: HORIZONTAL;
10659                rel1.to_y: "elm.dragable.slider";
10660                rel2.to_y: "elm.dragable.slider";
10661                color: 0 0 0 0;
10662             }
10663          }
10664          part { name: "button0";
10665             mouse_events: 0;
10666             description { state: "default" 0.0;
10667                fixed: 1 1;
10668                max: 17 999;
10669                min: 17 24;
10670                rel1.to: "elm.dragable.slider";
10671                rel2.to: "elm.dragable.slider";
10672                image {
10673                   normal: "sl_bt_0.png";
10674                   border: 5 5 5 10;
10675                }
10676                fill.smooth: 0;
10677             }
10678          }
10679          part { name: "button1";
10680             mouse_events: 0;
10681             description { state: "default" 0.0;
10682                rel1.to: "button0";
10683                rel2 {
10684                   to: "button0";
10685                   relative: 1.0 0.5;
10686                   offset: -1 -5;
10687                }
10688                image {
10689                   normal: "sl_bt_1.png";
10690                   border: 5 5 5 0;
10691                }
10692             }
10693          }
10694          part { name: "button2";
10695             mouse_events: 0;
10696             description { state: "default" 0.0;
10697                rel1.to: "button0";
10698                rel2.to: "button0";
10699                image {
10700                   normal: "sl_bt_2.png";
10701                   border: 5 5 5 10;
10702                }
10703                fill.smooth: 0;
10704             }
10705          }
10706          part { name: "button3";
10707             mouse_events: 0;
10708             description { state: "default" 0.0;
10709                visible: 0;
10710                min: 8 32;
10711                align: 1.0 0.5;
10712                rel1 {
10713                   to_x: "elm.indicator";
10714                   to_y: "button4";
10715                   relative: 0.0 0.0;
10716                   offset: -7 0;
10717                }
10718                rel2 {
10719                   to: "button4";
10720                   relative: 0.0 1.0;
10721                   offset: -1 -1;
10722                }
10723                image {
10724                   normal: "sl_bt2_0_0.png";
10725                   border: 6 0 6 12;
10726                }
10727                fill.smooth: 0;
10728             }
10729             description { state: "visible" 0.0;
10730                inherit: "default" 0.0;
10731                visible: 1;
10732             }
10733          }
10734          part { name: "button4";
10735             mouse_events: 0;
10736             description { state: "default" 0.0;
10737                visible: 0;
10738                max: 15 999;
10739                min: 15 32;
10740                fixed: 1 1;
10741                rel1 {
10742                   to_x: "button0";
10743                   to_y: "elm.indicator";
10744                   offset: 0 -7;
10745                }
10746                rel2.to: "button0";
10747                image {
10748                   normal: "sl_bt2_0_1.png";
10749                   border: 0 0 6 12;
10750                }
10751                fill.smooth: 0;
10752             }
10753             description { state: "visible" 0.0;
10754                inherit: "default" 0.0;
10755                visible: 1;
10756             }
10757          }
10758          part { name: "button5";
10759             mouse_events: 0;
10760             description { state: "default" 0.0;
10761                visible: 0;
10762                min: 8 32;
10763                align: 0.0 0.5;
10764                rel1 {
10765                   to: "button4";
10766                   relative: 1.0 0.0;
10767                   offset: 0 0;
10768                }
10769                rel2 {
10770                   to_x: "elm.indicator";
10771                   to_y: "button4";
10772                   relative: 1.0 1.0;
10773                   offset: 6 -1;
10774                }
10775                image {
10776                   normal: "sl_bt2_0_2.png";
10777                   border: 0 6 6 12;
10778                }
10779                fill.smooth: 0;
10780             }
10781             description { state: "visible" 0.0;
10782                inherit: "default" 0.0;
10783                visible: 1;
10784             }
10785          }
10786          part { name: "elm.indicator";
10787             type: TEXT;
10788             mouse_events: 0;
10789             effect: SOFT_SHADOW;
10790             scale: 1;
10791             description { state: "default" 0.0;
10792                visible: 0;
10793                fixed: 1 1;
10794                align: 0.5 1.0;
10795                rel1 {
10796                   to: "button0";
10797                   relative: 0.0 -1.0;
10798                   offset: 0 0;
10799                }
10800                rel2 {
10801                   to: "button0";
10802                   relative: 1.0 -1.0;
10803                   offset: -1 0;
10804                }
10805                color: 224 224 224 255;
10806                color3: 0 0 0 64;
10807                text {
10808                   font:     "Sans,Edje-Vera";
10809                   size:     10;
10810                   min:      0 0;
10811                   align:    0.5 0.5;
10812                }
10813             }
10814             description { state: "visible" 0.0;
10815                inherit: "default" 0.0;
10816                visible: 1;
10817                text.min: 1 1;
10818                rel1.offset: 0 -1;
10819                rel2.offset: -1 -1;
10820             }
10821          }
10822          part { name: "button6";
10823             mouse_events: 0;
10824             description { state: "default" 0.0;
10825                visible: 0;
10826                rel1.to: "button3";
10827                rel2 {
10828                   to: "button5";
10829                   relative: 1.0 0.3;
10830                   offset: -1 -1;
10831                }
10832                image {
10833                   normal: "sl_bt2_1.png";
10834                   border: 5 5 5 0;
10835                }
10836                fill.smooth: 0;
10837             }
10838             description { state: "visible" 0.0;
10839                inherit: "default" 0.0;
10840                visible: 1;
10841             }
10842          }
10843          part { name: "button7";
10844             mouse_events: 0;
10845             description { state: "default" 0.0;
10846                visible: 0;
10847                rel1.to: "button3";
10848                rel2.to: "button5";
10849                image {
10850                   normal: "sl_bt2_2.png";
10851                   border: 5 5 5 0;
10852                   middle: 0;
10853                }
10854                fill.smooth: 0;
10855             }
10856             description { state: "visible" 0.0;
10857                inherit: "default" 0.0;
10858                visible: 1;
10859             }
10860          }
10861       }
10862       programs {
10863          program { name: "text_show";
10864             signal: "elm,state,text,visible";
10865             source: "elm";
10866             action:  STATE_SET "visible" 0.0;
10867             target: "elm.text";
10868          }
10869          program { name: "text_hide";
10870             signal: "elm,state,text,hidden";
10871             source: "elm";
10872             action:  STATE_SET "default" 0.0;
10873             target: "elm.text";
10874          }
10875          program { name: "icon_show";
10876             signal: "elm,state,icon,visible";
10877             source: "elm";
10878             action:  STATE_SET "visible" 0.0;
10879             target: "elm.swallow.content";
10880          }
10881          program { name: "icon_hide";
10882             signal: "elm,state,icon,hidden";
10883             source: "elm";
10884             action:  STATE_SET "default" 0.0;
10885             target: "elm.swallow.content";
10886          }
10887          program { name: "units_show";
10888             signal: "elm,state,units,visible";
10889             source: "elm";
10890             action:  STATE_SET "visible" 0.0;
10891             target: "elm.units";
10892             target: "units";
10893          }
10894          program { name: "units_hide";
10895             signal: "elm,state,units,hidden";
10896             source: "elm";
10897             action:  STATE_SET "default" 0.0;
10898             target: "elm.units";
10899             target: "units";
10900          }
10901          program { name: "invert_on";
10902             signal: "elm,state,inverted,on";
10903             source: "elm";
10904             action:  STATE_SET "inverted" 0.0;
10905             target: "level";
10906             target: "level2";
10907          }
10908          program { name: "invert_off";
10909             signal: "elm,state,inverted,off";
10910             source: "elm";
10911             action:  STATE_SET "default" 0.0;
10912             target: "level";
10913             target: "level2";
10914          }
10915          program { name: "val_show";
10916             signal: "mouse,down,*";
10917             source: "elm.dragable.slider";
10918             action:  STATE_SET "visible" 0.0;
10919             target: "elm.indicator";
10920             target: "button3";
10921             target: "button4";
10922             target: "button5";
10923             target: "button6";
10924             target: "button7";
10925          }
10926          program { name: "val_hide";
10927             signal: "mouse,up,*";
10928             source: "elm.dragable.slider";
10929             action:  STATE_SET "default" 0.0;
10930             target: "elm.indicator";
10931             target: "button3";
10932             target: "button4";
10933             target: "button5";
10934             target: "button6";
10935             target: "button7";
10936          }
10937       }
10938    }
10939
10940 ///////////////////////////////////////////////////////////////////////////////
10941    group { name: "elm/genlist/item/default/default";
10942       data.item: "stacking" "above";
10943       data.item: "selectraise" "on";
10944       data.item: "labels" "elm.text";
10945       data.item: "icons" "elm.swallow.icon elm.swallow.end";
10946       data.item: "treesize" "20";
10947 //      data.item: "states" "";
10948       images {
10949          image: "bt_sm_base1.png" COMP;
10950          image: "bt_sm_shine.png" COMP;
10951          image: "bt_sm_hilight.png" COMP;
10952          image: "ilist_1.png" COMP;
10953          image: "ilist_item_shadow.png" COMP;
10954       }
10955       parts {
10956          part {
10957             name:           "event";
10958             type:           RECT;
10959             repeat_events: 1;
10960             description {
10961                state: "default" 0.0;
10962                color: 0 0 0 0;
10963             }
10964          }
10965          part {
10966             name: "base_sh";
10967             mouse_events: 0;
10968             description {
10969                state: "default" 0.0;
10970                align: 0.0 0.0;
10971                min: 0 10;
10972                fixed: 1 1;
10973                rel1 {
10974                   to: "base";
10975                   relative: 0.0 1.0;
10976                   offset: 0 0;
10977                }
10978                rel2 {
10979                   to: "base";
10980                   relative: 1.0 1.0;
10981                   offset: -1 0;
10982                }
10983                image {
10984                   normal: "ilist_item_shadow.png";
10985                }
10986                fill.smooth: 0;
10987             }
10988          }
10989          part {
10990             name: "base";
10991             mouse_events: 0;
10992             description {
10993                state: "default" 0.0;
10994                image {
10995                   normal: "ilist_1.png";
10996                   border: 2 2 2 2;
10997                }
10998                fill.smooth: 0;
10999             }
11000          }
11001          part { name: "bg";
11002             clip_to: "disclip";
11003             mouse_events: 0;
11004             description { state: "default" 0.0;
11005                visible: 0;
11006                color: 255 255 255 0;
11007                rel1 {
11008                   relative: 0.0 0.0;
11009                   offset: -5 -5;
11010                }
11011                rel2 {
11012                   relative: 1.0 1.0;
11013                   offset: 4 4;
11014                }
11015                image {
11016                   normal: "bt_sm_base1.png";
11017                   border: 6 6 6 6;
11018                }
11019                image.middle: SOLID;
11020             }
11021             description { state: "selected" 0.0;
11022                inherit: "default" 0.0;
11023                visible: 1;
11024                color: 255 255 255 255;
11025                rel1 {
11026                   relative: 0.0 0.0;
11027                   offset: -2 -2;
11028                }
11029                rel2 {
11030                   relative: 1.0 1.0;
11031                   offset: 1 1;
11032                }
11033             }
11034          }
11035          part { name: "elm.swallow.pad";
11036             type: SWALLOW;
11037             description { state: "default" 0.0;
11038                fixed: 1 0;
11039                align: 0.0 0.5;
11040                rel1 {
11041                   relative: 0.0  0.0;
11042                   offset:   4    4;
11043                }
11044                rel2 {
11045                   relative: 0.0  1.0;
11046                   offset:   4   -5;
11047                }
11048             }
11049          }
11050          part { name: "elm.swallow.icon";
11051             clip_to: "disclip";
11052             type: SWALLOW;
11053             description { state: "default" 0.0;
11054                fixed: 1 0;
11055                align: 0.0 0.5;
11056                rel1 {
11057                   to_x: "elm.swallow.pad";
11058                   relative: 1.0  0.0;
11059                   offset:   -1    4;
11060                }
11061                rel2 {
11062                   to_x: "elm.swallow.pad";
11063                   relative: 1.0  1.0;
11064                   offset:   -1   -5;
11065                }
11066             }
11067          }
11068          part { name: "elm.swallow.end";
11069             clip_to: "disclip";
11070             type: SWALLOW;
11071             description { state: "default" 0.0;
11072                fixed: 1 0;
11073                align: 1.0 0.5;
11074                aspect: 1.0 1.0;
11075                aspect_preference: VERTICAL;
11076                rel1 {
11077                   relative: 1.0  0.0;
11078                   offset:   -5    4;
11079                }
11080                rel2 {
11081                   relative: 1.0  1.0;
11082                   offset:   -5   -5;
11083                }
11084             }
11085          }
11086          part { name: "elm.text";
11087             clip_to: "disclip";
11088             type:           TEXT;
11089             effect:         SOFT_SHADOW;
11090             mouse_events:   0;
11091             scale: 1;
11092             description {
11093                state: "default" 0.0;
11094 //               min: 16 16;
11095                rel1 {
11096                   to_x:     "elm.swallow.icon";
11097                   relative: 1.0  0.0;
11098                   offset:   0 4;
11099                }
11100                rel2 {
11101                   to_x:     "elm.swallow.end";
11102                   relative: 0.0  1.0;
11103                   offset:   -1 -5;
11104                }
11105                color: 0 0 0 255;
11106                color3: 0 0 0 0;
11107                text {
11108                   font: "Sans";
11109                   size: 10;
11110                   min: 1 1;
11111 //                  min: 0 1;
11112                   align: 0.0 0.5;
11113                }
11114             }
11115             description { state: "selected" 0.0;
11116                inherit: "default" 0.0;
11117                color: 224 224 224 255;
11118                color3: 0 0 0 64;
11119             }
11120          }
11121          part { name: "fg1";
11122             clip_to: "disclip";
11123             mouse_events: 0;
11124             description { state: "default" 0.0;
11125                visible: 0;
11126                color: 255 255 255 0;
11127                rel1.to: "bg";
11128                rel2.relative: 1.0 0.5;
11129                rel2.to: "bg";
11130                image {
11131                   normal: "bt_sm_hilight.png";
11132                   border: 6 6 6 0;
11133                }
11134             }
11135             description { state: "selected" 0.0;
11136                inherit: "default" 0.0;
11137                visible: 1;
11138                color: 255 255 255 255;
11139             }
11140          }
11141          part { name: "fg2";
11142             clip_to: "disclip";
11143             mouse_events: 0;
11144             description { state: "default" 0.0;
11145                visible: 0;
11146                color: 255 255 255 0;
11147                rel1.to: "bg";
11148                rel2.to: "bg";
11149                image {
11150                   normal: "bt_sm_shine.png";
11151                   border: 6 6 6 0;
11152                }
11153             }
11154             description { state: "selected" 0.0;
11155                inherit: "default" 0.0;
11156                visible: 1;
11157                color: 255 255 255 255;
11158             }
11159          }
11160          part { name: "disclip";
11161             type: RECT;
11162             description { state: "default" 0.0;
11163                rel1.to: "bg";
11164                rel2.to: "bg";
11165             }
11166             description { state: "disabled" 0.0;
11167                inherit: "default" 0.0;
11168                color: 255 255 255 64;
11169             }
11170          }
11171       }
11172       programs {
11173          // signal: elm,state,%s,active
11174          //   a "check" item named %s went active
11175          // signal: elm,state,%s,passive
11176          //   a "check" item named %s went passive
11177          // default is passive
11178          program {
11179             name:    "go_active";
11180             signal:  "elm,state,selected";
11181             source:  "elm";
11182             action:  STATE_SET "selected" 0.0;
11183             target:  "bg";
11184             target:  "fg1";
11185             target:  "fg2";
11186             target:  "elm.text";
11187          }
11188          program {
11189             name:    "go_passive";
11190             signal:  "elm,state,unselected";
11191             source:  "elm";
11192             action:  STATE_SET "default" 0.0;
11193             target:  "bg";
11194             target:  "fg1";
11195             target:  "fg2";
11196             target:  "elm.text";
11197             transition: LINEAR 0.1;
11198          }
11199          program {
11200             name:    "go_disabled";
11201             signal:  "elm,state,disabled";
11202             source:  "elm";
11203             action:  STATE_SET "disabled" 0.0;
11204             target:  "disclip";
11205          }
11206          program {
11207             name:    "go_enabled";
11208             signal:  "elm,state,enabled";
11209             source:  "elm";
11210             action:  STATE_SET "default" 0.0;
11211             target:  "disclip";
11212          }
11213       }
11214    }
11215    group { name: "elm/genlist/item_compress/default/default";
11216       data.item: "stacking" "above";
11217       data.item: "selectraise" "on";
11218       data.item: "labels" "elm.text";
11219       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11220       data.item: "treesize" "20";
11221 //      data.item: "states" "";
11222       images {
11223          image: "bt_sm_base1.png" COMP;
11224          image: "bt_sm_shine.png" COMP;
11225          image: "bt_sm_hilight.png" COMP;
11226          image: "ilist_1.png" COMP;
11227          image: "ilist_item_shadow.png" COMP;
11228       }
11229       parts {
11230          part {
11231             name:           "event";
11232             type:           RECT;
11233             repeat_events: 1;
11234             description {
11235                state: "default" 0.0;
11236                color: 0 0 0 0;
11237             }
11238          }
11239          part {
11240             name: "base_sh";
11241             mouse_events: 0;
11242             description {
11243                state: "default" 0.0;
11244                align: 0.0 0.0;
11245                min: 0 10;
11246                fixed: 1 1;
11247                rel1 {
11248                   to: "base";
11249                   relative: 0.0 1.0;
11250                   offset: 0 0;
11251                }
11252                rel2 {
11253                   to: "base";
11254                   relative: 1.0 1.0;
11255                   offset: -1 0;
11256                }
11257                image {
11258                   normal: "ilist_item_shadow.png";
11259                }
11260                fill.smooth: 0;
11261             }
11262          }
11263          part {
11264             name: "base";
11265             mouse_events: 0;
11266             description {
11267                state: "default" 0.0;
11268                image {
11269                   normal: "ilist_1.png";
11270                   border: 2 2 2 2;
11271                }
11272                fill.smooth: 0;
11273             }
11274          }
11275          part { name: "bg";
11276             clip_to: "disclip";
11277             mouse_events: 0;
11278             description { state: "default" 0.0;
11279                visible: 0;
11280                color: 255 255 255 0;
11281                rel1 {
11282                   relative: 0.0 0.0;
11283                   offset: -5 -5;
11284                }
11285                rel2 {
11286                   relative: 1.0 1.0;
11287                   offset: 4 4;
11288                }
11289                image {
11290                   normal: "bt_sm_base1.png";
11291                   border: 6 6 6 6;
11292                }
11293                image.middle: SOLID;
11294             }
11295             description { state: "selected" 0.0;
11296                inherit: "default" 0.0;
11297                visible: 1;
11298                color: 255 255 255 255;
11299                rel1 {
11300                   relative: 0.0 0.0;
11301                   offset: -2 -2;
11302                }
11303                rel2 {
11304                   relative: 1.0 1.0;
11305                   offset: 1 1;
11306                }
11307             }
11308          }
11309          part { name: "elm.swallow.pad";
11310             type: SWALLOW;
11311             description { state: "default" 0.0;
11312                fixed: 1 0;
11313                align: 0.0 0.5;
11314                rel1 {
11315                   relative: 0.0  0.0;
11316                   offset:   4    4;
11317                }
11318                rel2 {
11319                   relative: 0.0  1.0;
11320                   offset:   4   -5;
11321                }
11322             }
11323          }
11324          part { name: "elm.swallow.icon";
11325             clip_to: "disclip";
11326             type: SWALLOW;
11327             description { state: "default" 0.0;
11328                fixed: 1 0;
11329                align: 0.0 0.5;
11330                rel1 {
11331                   to_x: "elm.swallow.pad";
11332                   relative: 1.0  0.0;
11333                   offset:   -1    4;
11334                }
11335                rel2 {
11336                   to_x: "elm.swallow.pad";
11337                   relative: 1.0  1.0;
11338                   offset:   -1   -5;
11339                }
11340             }
11341          }
11342          part { name: "elm.swallow.end";
11343             clip_to: "disclip";
11344             type: SWALLOW;
11345             description { state: "default" 0.0;
11346                fixed: 1 0;
11347                align: 1.0 0.5;
11348                aspect: 1.0 1.0;
11349                aspect_preference: VERTICAL;
11350                rel1 {
11351                   relative: 1.0  0.0;
11352                   offset:   -5    4;
11353                }
11354                rel2 {
11355                   relative: 1.0  1.0;
11356                   offset:   -5   -5;
11357                }
11358             }
11359          }
11360          part { name: "elm.text";
11361             clip_to: "disclip";
11362             type:           TEXT;
11363             effect:         SOFT_SHADOW;
11364             mouse_events:   0;
11365             scale: 1;
11366             description {
11367                state: "default" 0.0;
11368 //               min: 16 16;
11369                rel1 {
11370                   to_x:     "elm.swallow.icon";
11371                   relative: 1.0  0.0;
11372                   offset:   0 4;
11373                }
11374                rel2 {
11375                   to_x:     "elm.swallow.end";
11376                   relative: 0.0  1.0;
11377                   offset:   -1 -5;
11378                }
11379                color: 0 0 0 255;
11380                color3: 0 0 0 0;
11381                text {
11382                   font: "Sans";
11383                   size: 10;
11384                   min: 0 1;
11385 //                  min: 1 1;
11386                   align: 0.0 0.5;
11387                }
11388             }
11389             description { state: "selected" 0.0;
11390                inherit: "default" 0.0;
11391                color: 224 224 224 255;
11392                color3: 0 0 0 64;
11393             }
11394          }
11395          part { name: "fg1";
11396             clip_to: "disclip";
11397             mouse_events: 0;
11398             description { state: "default" 0.0;
11399                visible: 0;
11400                color: 255 255 255 0;
11401                rel1.to: "bg";
11402                rel2.relative: 1.0 0.5;
11403                rel2.to: "bg";
11404                image {
11405                   normal: "bt_sm_hilight.png";
11406                   border: 6 6 6 0;
11407                }
11408             }
11409             description { state: "selected" 0.0;
11410                inherit: "default" 0.0;
11411                visible: 1;
11412                color: 255 255 255 255;
11413             }
11414          }
11415          part { name: "fg2";
11416             clip_to: "disclip";
11417             mouse_events: 0;
11418             description { state: "default" 0.0;
11419                visible: 0;
11420                color: 255 255 255 0;
11421                rel1.to: "bg";
11422                rel2.to: "bg";
11423                image {
11424                   normal: "bt_sm_shine.png";
11425                   border: 6 6 6 0;
11426                }
11427             }
11428             description { state: "selected" 0.0;
11429                inherit: "default" 0.0;
11430                visible: 1;
11431                color: 255 255 255 255;
11432             }
11433          }
11434          part { name: "disclip";
11435             type: RECT;
11436             description { state: "default" 0.0;
11437                rel1.to: "bg";
11438                rel2.to: "bg";
11439             }
11440             description { state: "disabled" 0.0;
11441                inherit: "default" 0.0;
11442                color: 255 255 255 64;
11443             }
11444          }
11445       }
11446       programs {
11447          // signal: elm,state,%s,active
11448          //   a "check" item named %s went active
11449          // signal: elm,state,%s,passive
11450          //   a "check" item named %s went passive
11451          // default is passive
11452          program {
11453             name:    "go_active";
11454             signal:  "elm,state,selected";
11455             source:  "elm";
11456             action:  STATE_SET "selected" 0.0;
11457             target:  "bg";
11458             target:  "fg1";
11459             target:  "fg2";
11460             target:  "elm.text";
11461          }
11462          program {
11463             name:    "go_passive";
11464             signal:  "elm,state,unselected";
11465             source:  "elm";
11466             action:  STATE_SET "default" 0.0;
11467             target:  "bg";
11468             target:  "fg1";
11469             target:  "fg2";
11470             target:  "elm.text";
11471             transition: LINEAR 0.1;
11472          }
11473          program {
11474             name:    "go_disabled";
11475             signal:  "elm,state,disabled";
11476             source:  "elm";
11477             action:  STATE_SET "disabled" 0.0;
11478             target:  "disclip";
11479          }
11480          program {
11481             name:    "go_enabled";
11482             signal:  "elm,state,enabled";
11483             source:  "elm";
11484             action:  STATE_SET "default" 0.0;
11485             target:  "disclip";
11486          }
11487       }
11488    }
11489    group { name: "elm/genlist/item_odd/default/default";
11490       data.item: "stacking" "below";
11491       data.item: "selectraise" "on";
11492       data.item: "labels" "elm.text";
11493       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11494       data.item: "treesize" "20";
11495 //      data.item: "states" "";
11496       images {
11497          image: "bt_sm_base1.png" COMP;
11498          image: "bt_sm_shine.png" COMP;
11499          image: "bt_sm_hilight.png" COMP;
11500          image: "ilist_2.png" COMP;
11501       }
11502       parts {
11503          part { name: "event";
11504             type: RECT;
11505             repeat_events: 1;
11506             description {
11507                state: "default" 0.0;
11508                color: 0 0 0 0;
11509             }
11510          }
11511          part {
11512             name: "base";
11513             mouse_events: 0;
11514             description {
11515                state: "default" 0.0;
11516                image {
11517                   normal: "ilist_2.png";
11518                   border: 2 2 2 2;
11519                }
11520                fill.smooth: 0;
11521             }
11522          }
11523          part { name: "bg";
11524             clip_to: "disclip";
11525             mouse_events: 0;
11526             description { state: "default" 0.0;
11527                visible: 0;
11528                color: 255 255 255 0;
11529                rel1 {
11530                   relative: 0.0 0.0;
11531                   offset: -5 -5;
11532                }
11533                rel2 {
11534                   relative: 1.0 1.0;
11535                   offset: 4 4;
11536                }
11537                image {
11538                   normal: "bt_sm_base1.png";
11539                   border: 6 6 6 6;
11540                }
11541                image.middle: SOLID;
11542             }
11543             description { state: "selected" 0.0;
11544                inherit: "default" 0.0;
11545                visible: 1;
11546                color: 255 255 255 255;
11547                rel1 {
11548                   relative: 0.0 0.0;
11549                   offset: -2 -2;
11550                }
11551                rel2 {
11552                   relative: 1.0 1.0;
11553                   offset: 1 1;
11554                }
11555             }
11556          }
11557          part { name: "elm.swallow.pad";
11558             type: SWALLOW;
11559             description { state: "default" 0.0;
11560                fixed: 1 0;
11561                align: 0.0 0.5;
11562                rel1 {
11563                   relative: 0.0  0.0;
11564                   offset:   4    4;
11565                }
11566                rel2 {
11567                   relative: 0.0  1.0;
11568                   offset:   4   -5;
11569                }
11570             }
11571          }
11572          part { name: "elm.swallow.icon";
11573             clip_to: "disclip";
11574             type: SWALLOW;
11575             description { state: "default" 0.0;
11576                fixed: 1 0;
11577                align: 0.0 0.5;
11578                rel1 {
11579                   to_x: "elm.swallow.pad";
11580                   relative: 1.0  0.0;
11581                   offset:   -1    4;
11582                }
11583                rel2 {
11584                   to_x: "elm.swallow.pad";
11585                   relative: 1.0  1.0;
11586                   offset:   -1   -5;
11587                }
11588             }
11589          }
11590          part { name: "elm.swallow.end";
11591             clip_to: "disclip";
11592             type:          SWALLOW;
11593             description { state:    "default" 0.0;
11594                fixed: 1 0;
11595                align:    1.0 0.5;
11596                aspect: 1.0 1.0;
11597                aspect_preference: VERTICAL;
11598                rel1 {
11599                   relative: 1.0  0.0;
11600                   offset:   -5    4;
11601                }
11602                rel2 {
11603                   relative: 1.0  1.0;
11604                   offset:   -5   -5;
11605                }
11606             }
11607          }
11608          part { name: "elm.text";
11609             clip_to: "disclip";
11610             type:           TEXT;
11611             effect:         SOFT_SHADOW;
11612             mouse_events:   0;
11613             scale: 1;
11614             description {
11615                state: "default" 0.0;
11616 //               min:      16 16;
11617                rel1 {
11618                   to_x:     "elm.swallow.icon";
11619                   relative: 1.0  0.0;
11620                   offset:   0 4;
11621                }
11622                rel2 {
11623                   to_x:     "elm.swallow.end";
11624                   relative: 0.0  1.0;
11625                   offset:   -1 -5;
11626                }
11627                color: 0 0 0 255;
11628                color3: 0 0 0 0;
11629                text {
11630                   font: "Sans";
11631                   size: 10;
11632                   min: 1 1;
11633 //                  min: 0 1;
11634                   align: 0.0 0.5;
11635                }
11636             }
11637             description { state: "selected" 0.0;
11638                inherit: "default" 0.0;
11639                color: 224 224 224 255;
11640                color3: 0 0 0 64;
11641             }
11642          }
11643          part { name: "fg1";
11644             clip_to: "disclip";
11645             mouse_events: 0;
11646             description { state: "default" 0.0;
11647                visible: 0;
11648                color: 255 255 255 0;
11649                rel1.to: "bg";
11650                rel2.relative: 1.0 0.5;
11651                rel2.to: "bg";
11652                image {
11653                   normal: "bt_sm_hilight.png";
11654                   border: 6 6 6 0;
11655                }
11656             }
11657             description { state: "selected" 0.0;
11658                inherit: "default" 0.0;
11659                visible: 1;
11660                color: 255 255 255 255;
11661             }
11662          }
11663          part { name: "fg2";
11664             clip_to: "disclip";
11665             mouse_events: 0;
11666             description { state: "default" 0.0;
11667                visible: 0;
11668                color: 255 255 255 0;
11669                rel1.to: "bg";
11670                rel2.to: "bg";
11671                image {
11672                   normal: "bt_sm_shine.png";
11673                   border: 6 6 6 0;
11674                }
11675             }
11676             description { state: "selected" 0.0;
11677                inherit: "default" 0.0;
11678                visible: 1;
11679                color: 255 255 255 255;
11680             }
11681          }
11682          part { name: "disclip";
11683             type: RECT;
11684             description { state: "default" 0.0;
11685                rel1.to: "bg";
11686                rel2.to: "bg";
11687             }
11688             description { state: "disabled" 0.0;
11689                inherit: "default" 0.0;
11690                color: 255 255 255 64;
11691             }
11692          }
11693       }
11694       programs {
11695          // signal: elm,state,%s,active
11696          //   a "check" item named %s went active
11697          // signal: elm,state,%s,passive
11698          //   a "check" item named %s went passive
11699          // default is passive
11700          program {
11701             name:    "go_active";
11702             signal:  "elm,state,selected";
11703             source:  "elm";
11704             action:  STATE_SET "selected" 0.0;
11705             target:  "bg";
11706             target:  "fg1";
11707             target:  "fg2";
11708             target:  "elm.text";
11709          }
11710          program {
11711             name:    "go_passive";
11712             signal:  "elm,state,unselected";
11713             source:  "elm";
11714             action:  STATE_SET "default" 0.0;
11715             target:  "bg";
11716             target:  "fg1";
11717             target:  "fg2";
11718             target:  "elm.text";
11719             transition: LINEAR 0.1;
11720          }
11721          program {
11722             name:    "go_disabled";
11723             signal:  "elm,state,disabled";
11724             source:  "elm";
11725             action:  STATE_SET "disabled" 0.0;
11726             target:  "disclip";
11727          }
11728          program {
11729             name:    "go_enabled";
11730             signal:  "elm,state,enabled";
11731             source:  "elm";
11732             action:  STATE_SET "default" 0.0;
11733             target:  "disclip";
11734          }
11735       }
11736    }
11737    group { name: "elm/genlist/item_compress_odd/default/default";
11738       data.item: "stacking" "below";
11739       data.item: "selectraise" "on";
11740       data.item: "labels" "elm.text";
11741       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11742       data.item: "treesize" "20";
11743 //      data.item: "states" "";
11744       images {
11745          image: "bt_sm_base1.png" COMP;
11746          image: "bt_sm_shine.png" COMP;
11747          image: "bt_sm_hilight.png" COMP;
11748          image: "ilist_2.png" COMP;
11749       }
11750       parts {
11751          part { name: "event";
11752             type: RECT;
11753             repeat_events: 1;
11754             description {
11755                state: "default" 0.0;
11756                color: 0 0 0 0;
11757             }
11758          }
11759          part {
11760             name: "base";
11761             mouse_events: 0;
11762             description {
11763                state: "default" 0.0;
11764                image {
11765                   normal: "ilist_2.png";
11766                   border: 2 2 2 2;
11767                }
11768                fill.smooth: 0;
11769             }
11770          }
11771          part { name: "bg";
11772             clip_to: "disclip";
11773             mouse_events: 0;
11774             description { state: "default" 0.0;
11775                visible: 0;
11776                color: 255 255 255 0;
11777                rel1 {
11778                   relative: 0.0 0.0;
11779                   offset: -5 -5;
11780                }
11781                rel2 {
11782                   relative: 1.0 1.0;
11783                   offset: 4 4;
11784                }
11785                image {
11786                   normal: "bt_sm_base1.png";
11787                   border: 6 6 6 6;
11788                }
11789                image.middle: SOLID;
11790             }
11791             description { state: "selected" 0.0;
11792                inherit: "default" 0.0;
11793                visible: 1;
11794                color: 255 255 255 255;
11795                rel1 {
11796                   relative: 0.0 0.0;
11797                   offset: -2 -2;
11798                }
11799                rel2 {
11800                   relative: 1.0 1.0;
11801                   offset: 1 1;
11802                }
11803             }
11804          }
11805          part { name: "elm.swallow.pad";
11806             type: SWALLOW;
11807             description { state: "default" 0.0;
11808                fixed: 1 0;
11809                align: 0.0 0.5;
11810                rel1 {
11811                   relative: 0.0  0.0;
11812                   offset:   4    4;
11813                }
11814                rel2 {
11815                   relative: 0.0  1.0;
11816                   offset:   4   -5;
11817                }
11818             }
11819          }
11820          part { name: "elm.swallow.icon";
11821             clip_to: "disclip";
11822             type: SWALLOW;
11823             description { state: "default" 0.0;
11824                fixed: 1 0;
11825                align: 0.0 0.5;
11826                rel1 {
11827                   to_x: "elm.swallow.pad";
11828                   relative: 1.0  0.0;
11829                   offset:   -1    4;
11830                }
11831                rel2 {
11832                   to_x: "elm.swallow.pad";
11833                   relative: 1.0  1.0;
11834                   offset:   -1   -5;
11835                }
11836             }
11837          }
11838          part { name: "elm.swallow.end";
11839             clip_to: "disclip";
11840             type:          SWALLOW;
11841             description { state:    "default" 0.0;
11842                fixed: 1 0;
11843                align:    1.0 0.5;
11844                aspect: 1.0 1.0;
11845                aspect_preference: VERTICAL;
11846                rel1 {
11847                   relative: 1.0  0.0;
11848                   offset:   -5    4;
11849                }
11850                rel2 {
11851                   relative: 1.0  1.0;
11852                   offset:   -5   -5;
11853                }
11854             }
11855          }
11856          part { name: "elm.text";
11857             clip_to: "disclip";
11858             type:           TEXT;
11859             effect:         SOFT_SHADOW;
11860             mouse_events:   0;
11861             scale: 1;
11862             description {
11863                state: "default" 0.0;
11864 //               min:      16 16;
11865                rel1 {
11866                   to_x:     "elm.swallow.icon";
11867                   relative: 1.0  0.0;
11868                   offset:   0 4;
11869                }
11870                rel2 {
11871                   to_x:     "elm.swallow.end";
11872                   relative: 0.0  1.0;
11873                   offset:   -1 -5;
11874                }
11875                color: 0 0 0 255;
11876                color3: 0 0 0 0;
11877                text {
11878                   font: "Sans";
11879                   size: 10;
11880                   min: 0 1;
11881 //                  min: 1 1;
11882                   align: 0.0 0.5;
11883                }
11884             }
11885             description { state: "selected" 0.0;
11886                inherit: "default" 0.0;
11887                color: 224 224 224 255;
11888                color3: 0 0 0 64;
11889             }
11890          }
11891          part { name: "fg1";
11892             clip_to: "disclip";
11893             mouse_events: 0;
11894             description { state: "default" 0.0;
11895                visible: 0;
11896                color: 255 255 255 0;
11897                rel1.to: "bg";
11898                rel2.relative: 1.0 0.5;
11899                rel2.to: "bg";
11900                image {
11901                   normal: "bt_sm_hilight.png";
11902                   border: 6 6 6 0;
11903                }
11904             }
11905             description { state: "selected" 0.0;
11906                inherit: "default" 0.0;
11907                visible: 1;
11908                color: 255 255 255 255;
11909             }
11910          }
11911          part { name: "fg2";
11912             clip_to: "disclip";
11913             mouse_events: 0;
11914             description { state: "default" 0.0;
11915                visible: 0;
11916                color: 255 255 255 0;
11917                rel1.to: "bg";
11918                rel2.to: "bg";
11919                image {
11920                   normal: "bt_sm_shine.png";
11921                   border: 6 6 6 0;
11922                }
11923             }
11924             description { state: "selected" 0.0;
11925                inherit: "default" 0.0;
11926                visible: 1;
11927                color: 255 255 255 255;
11928             }
11929          }
11930          part { name: "disclip";
11931             type: RECT;
11932             description { state: "default" 0.0;
11933                rel1.to: "bg";
11934                rel2.to: "bg";
11935             }
11936             description { state: "disabled" 0.0;
11937                inherit: "default" 0.0;
11938                color: 255 255 255 64;
11939             }
11940          }
11941       }
11942       programs {
11943          // signal: elm,state,%s,active
11944          //   a "check" item named %s went active
11945          // signal: elm,state,%s,passive
11946          //   a "check" item named %s went passive
11947          // default is passive
11948          program {
11949             name:    "go_active";
11950             signal:  "elm,state,selected";
11951             source:  "elm";
11952             action:  STATE_SET "selected" 0.0;
11953             target:  "bg";
11954             target:  "fg1";
11955             target:  "fg2";
11956             target:  "elm.text";
11957          }
11958          program {
11959             name:    "go_passive";
11960             signal:  "elm,state,unselected";
11961             source:  "elm";
11962             action:  STATE_SET "default" 0.0;
11963             target:  "bg";
11964             target:  "fg1";
11965             target:  "fg2";
11966             target:  "elm.text";
11967             transition: LINEAR 0.1;
11968          }
11969          program {
11970             name:    "go_disabled";
11971             signal:  "elm,state,disabled";
11972             source:  "elm";
11973             action:  STATE_SET "disabled" 0.0;
11974             target:  "disclip";
11975          }
11976          program {
11977             name:    "go_enabled";
11978             signal:  "elm,state,enabled";
11979             source:  "elm";
11980             action:  STATE_SET "default" 0.0;
11981             target:  "disclip";
11982          }
11983       }
11984    }
11985
11986    group { name: "elm/genlist/tree/default/default";
11987       data.item: "stacking" "above";
11988       data.item: "selectraise" "on";
11989       data.item: "labels" "elm.text";
11990       data.item: "icons" "elm.swallow.icon elm.swallow.end";
11991       data.item: "treesize" "20";
11992 //      data.item: "states" "";
11993       images {
11994          image: "bt_sm_base1.png" COMP;
11995          image: "bt_sm_shine.png" COMP;
11996          image: "bt_sm_hilight.png" COMP;
11997          image: "ilist_1.png" COMP;
11998          image: "ilist_item_shadow.png" COMP;
11999          image: "icon_arrow_right.png" COMP;
12000          image: "icon_arrow_down.png" COMP;
12001       }
12002       parts {
12003          part {
12004             name:           "event";
12005             type:           RECT;
12006             repeat_events: 1;
12007             description {
12008                state: "default" 0.0;
12009                color: 0 0 0 0;
12010             }
12011          }
12012          part {
12013             name: "base_sh";
12014             mouse_events: 0;
12015             description {
12016                state: "default" 0.0;
12017                align: 0.0 0.0;
12018                min: 0 10;
12019                fixed: 1 1;
12020                rel1 {
12021                   to: "base";
12022                   relative: 0.0 1.0;
12023                   offset: 0 0;
12024                }
12025                rel2 {
12026                   to: "base";
12027                   relative: 1.0 1.0;
12028                   offset: -1 0;
12029                }
12030                image {
12031                   normal: "ilist_item_shadow.png";
12032                }
12033                fill.smooth: 0;
12034             }
12035          }
12036          part {
12037             name: "base";
12038             mouse_events: 0;
12039             description {
12040                state: "default" 0.0;
12041                image {
12042                   normal: "ilist_1.png";
12043                   border: 2 2 2 2;
12044                }
12045                fill.smooth: 0;
12046             }
12047          }
12048          part { name: "bg";
12049             clip_to: "disclip";
12050             mouse_events: 0;
12051             description { state: "default" 0.0;
12052                visible: 0;
12053                color: 255 255 255 0;
12054                rel1 {
12055                   relative: 0.0 0.0;
12056                   offset: -5 -5;
12057                }
12058                rel2 {
12059                   relative: 1.0 1.0;
12060                   offset: 4 4;
12061                }
12062                image {
12063                   normal: "bt_sm_base1.png";
12064                   border: 6 6 6 6;
12065                }
12066                image.middle: SOLID;
12067             }
12068             description { state: "selected" 0.0;
12069                inherit: "default" 0.0;
12070                visible: 1;
12071                color: 255 255 255 255;
12072                rel1 {
12073                   relative: 0.0 0.0;
12074                   offset: -2 -2;
12075                }
12076                rel2 {
12077                   relative: 1.0 1.0;
12078                   offset: 1 1;
12079                }
12080             }
12081          }
12082          part { name: "elm.swallow.pad";
12083             type: SWALLOW;
12084             description { state: "default" 0.0;
12085                fixed: 1 0;
12086                align: 0.0 0.5;
12087                rel1 {
12088                   relative: 0.0  0.0;
12089                   offset:   4    4;
12090                }
12091                rel2 {
12092                   relative: 0.0  1.0;
12093                   offset:   4   -5;
12094                }
12095             }
12096          }
12097          part { name: "arrow";
12098             clip_to: "disclip";
12099             ignore_flags: ON_HOLD;
12100             description { state: "default" 0.0;
12101                fixed: 1 0;
12102                align: 0.0 0.5;
12103                aspect: 1.0 1.0;
12104                rel1 {
12105                   to_x: "elm.swallow.pad";
12106                   relative: 1.0  0.0;
12107                   offset:   -1    4;
12108                }
12109                rel2 {
12110                   to_x: "elm.swallow.pad";
12111                   relative: 1.0  1.0;
12112                   offset:   -1   -5;
12113                }
12114                image.normal: "icon_arrow_right.png";
12115             }
12116             description { state: "active" 0.0;
12117                inherit: "default" 0.0;
12118                image.normal: "icon_arrow_down.png";
12119             }
12120          }
12121          part { name: "elm.swallow.icon";
12122             clip_to: "disclip";
12123             type: SWALLOW;
12124             description { state: "default" 0.0;
12125                fixed: 1 0;
12126                align: 0.0 0.5;
12127                rel1 {
12128                   to_x: "arrow";
12129                   relative: 1.0  0.0;
12130                   offset:   4    4;
12131                }
12132                rel2 {
12133                   to_x: "arrow";
12134                   relative: 1.0  1.0;
12135                   offset:   4   -5;
12136                }
12137             }
12138          }
12139          part { name: "elm.swallow.end";
12140             clip_to: "disclip";
12141             type: SWALLOW;
12142             description { state: "default" 0.0;
12143                fixed: 1 0;
12144                align: 1.0 0.5;
12145                aspect: 1.0 1.0;
12146                aspect_preference: VERTICAL;
12147                rel1 {
12148                   relative: 1.0  0.0;
12149                   offset:   -5    4;
12150                }
12151                rel2 {
12152                   relative: 1.0  1.0;
12153                   offset:   -5   -5;
12154                }
12155             }
12156          }
12157          part { name: "elm.text";
12158             clip_to: "disclip";
12159             type:           TEXT;
12160             effect:         SOFT_SHADOW;
12161             mouse_events:   0;
12162             scale: 1;
12163             description {
12164                state: "default" 0.0;
12165 //               min: 16 16;
12166                rel1 {
12167                   to_x:     "elm.swallow.icon";
12168                   relative: 1.0  0.0;
12169                   offset:   0 4;
12170                }
12171                rel2 {
12172                   to_x:     "elm.swallow.end";
12173                   relative: 0.0  1.0;
12174                   offset:   -1 -5;
12175                }
12176                color: 0 0 0 255;
12177                color3: 0 0 0 0;
12178                text {
12179                   font: "Sans";
12180                   size: 10;
12181                   min: 1 1;
12182 //                  min: 0 1;
12183                   align: 0.0 0.5;
12184                }
12185             }
12186             description { state: "selected" 0.0;
12187                inherit: "default" 0.0;
12188                color: 224 224 224 255;
12189                color3: 0 0 0 64;
12190             }
12191          }
12192          part { name: "fg1";
12193             clip_to: "disclip";
12194             mouse_events: 0;
12195             description { state: "default" 0.0;
12196                visible: 0;
12197                color: 255 255 255 0;
12198                rel1.to: "bg";
12199                rel2.relative: 1.0 0.5;
12200                rel2.to: "bg";
12201                image {
12202                   normal: "bt_sm_hilight.png";
12203                   border: 6 6 6 0;
12204                }
12205             }
12206             description { state: "selected" 0.0;
12207                inherit: "default" 0.0;
12208                visible: 1;
12209                color: 255 255 255 255;
12210             }
12211          }
12212          part { name: "fg2";
12213             clip_to: "disclip";
12214             mouse_events: 0;
12215             description { state: "default" 0.0;
12216                visible: 0;
12217                color: 255 255 255 0;
12218                rel1.to: "bg";
12219                rel2.to: "bg";
12220                image {
12221                   normal: "bt_sm_shine.png";
12222                   border: 6 6 6 0;
12223                }
12224             }
12225             description { state: "selected" 0.0;
12226                inherit: "default" 0.0;
12227                visible: 1;
12228                color: 255 255 255 255;
12229             }
12230          }
12231          part { name: "disclip";
12232             type: RECT;
12233             description { state: "default" 0.0;
12234                rel1.to: "bg";
12235                rel2.to: "bg";
12236             }
12237             description { state: "disabled" 0.0;
12238                inherit: "default" 0.0;
12239                color: 255 255 255 64;
12240             }
12241          }
12242       }
12243       programs {
12244          // signal: elm,state,%s,active
12245          //   a "check" item named %s went active
12246          // signal: elm,state,%s,passive
12247          //   a "check" item named %s went passive
12248          // default is passive
12249          program {
12250             name:    "go_active";
12251             signal:  "elm,state,selected";
12252             source:  "elm";
12253             action:  STATE_SET "selected" 0.0;
12254             target:  "bg";
12255             target:  "fg1";
12256             target:  "fg2";
12257             target:  "elm.text";
12258          }
12259          program {
12260             name:    "go_passive";
12261             signal:  "elm,state,unselected";
12262             source:  "elm";
12263             action:  STATE_SET "default" 0.0;
12264             target:  "bg";
12265             target:  "fg1";
12266             target:  "fg2";
12267             target:  "elm.text";
12268             transition: LINEAR 0.1;
12269          }
12270          program {
12271             name:    "go_disabled";
12272             signal:  "elm,state,disabled";
12273             source:  "elm";
12274             action:  STATE_SET "disabled" 0.0;
12275             target:  "disclip";
12276          }
12277          program {
12278             name:    "go_enabled";
12279             signal:  "elm,state,enabled";
12280             source:  "elm";
12281             action:  STATE_SET "default" 0.0;
12282             target:  "disclip";
12283          }
12284          program {
12285             name:    "expand";
12286             signal:  "mouse,up,1";
12287             source:  "arrow";
12288             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12289          }
12290          program {
12291             name:    "go_expanded";
12292             signal:  "elm,state,expanded";
12293             source:  "elm";
12294             action:  STATE_SET "active" 0.0;
12295             target:  "arrow";
12296          }
12297          program {
12298             name:    "go_contracted";
12299             signal:  "elm,state,contracted";
12300             source:  "elm";
12301             action:  STATE_SET "default" 0.0;
12302             target:  "arrow";
12303          }
12304       }
12305    }
12306    group { name: "elm/genlist/tree_compress/default/default";
12307       data.item: "stacking" "above";
12308       data.item: "selectraise" "on";
12309       data.item: "labels" "elm.text";
12310       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12311       data.item: "treesize" "20";
12312 //      data.item: "states" "";
12313       images {
12314          image: "bt_sm_base1.png" COMP;
12315          image: "bt_sm_shine.png" COMP;
12316          image: "bt_sm_hilight.png" COMP;
12317          image: "ilist_1.png" COMP;
12318          image: "ilist_item_shadow.png" COMP;
12319          image: "icon_arrow_right.png" COMP;
12320          image: "icon_arrow_down.png" COMP;
12321       }
12322       parts {
12323          part {
12324             name:           "event";
12325             type:           RECT;
12326             repeat_events: 1;
12327             description {
12328                state: "default" 0.0;
12329                color: 0 0 0 0;
12330             }
12331          }
12332          part {
12333             name: "base_sh";
12334             mouse_events: 0;
12335             description {
12336                state: "default" 0.0;
12337                align: 0.0 0.0;
12338                min: 0 10;
12339                fixed: 1 1;
12340                rel1 {
12341                   to: "base";
12342                   relative: 0.0 1.0;
12343                   offset: 0 0;
12344                }
12345                rel2 {
12346                   to: "base";
12347                   relative: 1.0 1.0;
12348                   offset: -1 0;
12349                }
12350                image {
12351                   normal: "ilist_item_shadow.png";
12352                }
12353                fill.smooth: 0;
12354             }
12355          }
12356          part {
12357             name: "base";
12358             mouse_events: 0;
12359             description {
12360                state: "default" 0.0;
12361                image {
12362                   normal: "ilist_1.png";
12363                   border: 2 2 2 2;
12364                }
12365                fill.smooth: 0;
12366             }
12367          }
12368          part { name: "bg";
12369             clip_to: "disclip";
12370             mouse_events: 0;
12371             description { state: "default" 0.0;
12372                visible: 0;
12373                color: 255 255 255 0;
12374                rel1 {
12375                   relative: 0.0 0.0;
12376                   offset: -5 -5;
12377                }
12378                rel2 {
12379                   relative: 1.0 1.0;
12380                   offset: 4 4;
12381                }
12382                image {
12383                   normal: "bt_sm_base1.png";
12384                   border: 6 6 6 6;
12385                }
12386                image.middle: SOLID;
12387             }
12388             description { state: "selected" 0.0;
12389                inherit: "default" 0.0;
12390                visible: 1;
12391                color: 255 255 255 255;
12392                rel1 {
12393                   relative: 0.0 0.0;
12394                   offset: -2 -2;
12395                }
12396                rel2 {
12397                   relative: 1.0 1.0;
12398                   offset: 1 1;
12399                }
12400             }
12401          }
12402          part { name: "elm.swallow.pad";
12403             type: SWALLOW;
12404             description { state: "default" 0.0;
12405                fixed: 1 0;
12406                align: 0.0 0.5;
12407                rel1 {
12408                   relative: 0.0  0.0;
12409                   offset:   4    4;
12410                }
12411                rel2 {
12412                   relative: 0.0  1.0;
12413                   offset:   4   -5;
12414                }
12415             }
12416          }
12417          part { name: "arrow";
12418             clip_to: "disclip";
12419             ignore_flags: ON_HOLD;
12420             description { state: "default" 0.0;
12421                fixed: 1 0;
12422                align: 0.0 0.5;
12423                aspect: 1.0 1.0;
12424                rel1 {
12425                   to_x: "elm.swallow.pad";
12426                   relative: 1.0  0.0;
12427                   offset:   -1    4;
12428                }
12429                rel2 {
12430                   to_x: "elm.swallow.pad";
12431                   relative: 1.0  1.0;
12432                   offset:   -1   -5;
12433                }
12434                image.normal: "icon_arrow_right.png";
12435             }
12436             description { state: "active" 0.0;
12437                inherit: "default" 0.0;
12438                image.normal: "icon_arrow_down.png";
12439             }
12440          }
12441          part { name: "elm.swallow.icon";
12442             clip_to: "disclip";
12443             type: SWALLOW;
12444             description { state: "default" 0.0;
12445                fixed: 1 0;
12446                align: 0.0 0.5;
12447                rel1 {
12448                   to_x: "arrow";
12449                   relative: 1.0  0.0;
12450                   offset:   4    4;
12451                }
12452                rel2 {
12453                   to_x: "arrow";
12454                   relative: 1.0  1.0;
12455                   offset:   4   -5;
12456                }
12457             }
12458          }
12459          part { name: "elm.swallow.end";
12460             clip_to: "disclip";
12461             type: SWALLOW;
12462             description { state: "default" 0.0;
12463                fixed: 1 0;
12464                align: 1.0 0.5;
12465                aspect: 1.0 1.0;
12466                aspect_preference: VERTICAL;
12467                rel1 {
12468                   relative: 1.0  0.0;
12469                   offset:   -5    4;
12470                }
12471                rel2 {
12472                   relative: 1.0  1.0;
12473                   offset:   -5   -5;
12474                }
12475             }
12476          }
12477          part { name: "elm.text";
12478             clip_to: "disclip";
12479             type:           TEXT;
12480             effect:         SOFT_SHADOW;
12481             mouse_events:   0;
12482             scale: 1;
12483             description {
12484                state: "default" 0.0;
12485 //               min: 16 16;
12486                rel1 {
12487                   to_x:     "elm.swallow.icon";
12488                   relative: 1.0  0.0;
12489                   offset:   0 4;
12490                }
12491                rel2 {
12492                   to_x:     "elm.swallow.end";
12493                   relative: 0.0  1.0;
12494                   offset:   -1 -5;
12495                }
12496                color: 0 0 0 255;
12497                color3: 0 0 0 0;
12498                text {
12499                   font: "Sans";
12500                   size: 10;
12501 //                  min: 1 1;
12502                   min: 0 1;
12503                   align: 0.0 0.5;
12504                }
12505             }
12506             description { state: "selected" 0.0;
12507                inherit: "default" 0.0;
12508                color: 224 224 224 255;
12509                color3: 0 0 0 64;
12510             }
12511          }
12512          part { name: "fg1";
12513             clip_to: "disclip";
12514             mouse_events: 0;
12515             description { state: "default" 0.0;
12516                visible: 0;
12517                color: 255 255 255 0;
12518                rel1.to: "bg";
12519                rel2.relative: 1.0 0.5;
12520                rel2.to: "bg";
12521                image {
12522                   normal: "bt_sm_hilight.png";
12523                   border: 6 6 6 0;
12524                }
12525             }
12526             description { state: "selected" 0.0;
12527                inherit: "default" 0.0;
12528                visible: 1;
12529                color: 255 255 255 255;
12530             }
12531          }
12532          part { name: "fg2";
12533             clip_to: "disclip";
12534             mouse_events: 0;
12535             description { state: "default" 0.0;
12536                visible: 0;
12537                color: 255 255 255 0;
12538                rel1.to: "bg";
12539                rel2.to: "bg";
12540                image {
12541                   normal: "bt_sm_shine.png";
12542                   border: 6 6 6 0;
12543                }
12544             }
12545             description { state: "selected" 0.0;
12546                inherit: "default" 0.0;
12547                visible: 1;
12548                color: 255 255 255 255;
12549             }
12550          }
12551          part { name: "disclip";
12552             type: RECT;
12553             description { state: "default" 0.0;
12554                rel1.to: "bg";
12555                rel2.to: "bg";
12556             }
12557             description { state: "disabled" 0.0;
12558                inherit: "default" 0.0;
12559                color: 255 255 255 64;
12560             }
12561          }
12562       }
12563       programs {
12564          // signal: elm,state,%s,active
12565          //   a "check" item named %s went active
12566          // signal: elm,state,%s,passive
12567          //   a "check" item named %s went passive
12568          // default is passive
12569          program {
12570             name:    "go_active";
12571             signal:  "elm,state,selected";
12572             source:  "elm";
12573             action:  STATE_SET "selected" 0.0;
12574             target:  "bg";
12575             target:  "fg1";
12576             target:  "fg2";
12577             target:  "elm.text";
12578          }
12579          program {
12580             name:    "go_passive";
12581             signal:  "elm,state,unselected";
12582             source:  "elm";
12583             action:  STATE_SET "default" 0.0;
12584             target:  "bg";
12585             target:  "fg1";
12586             target:  "fg2";
12587             target:  "elm.text";
12588             transition: LINEAR 0.1;
12589          }
12590          program {
12591             name:    "go_disabled";
12592             signal:  "elm,state,disabled";
12593             source:  "elm";
12594             action:  STATE_SET "disabled" 0.0;
12595             target:  "disclip";
12596          }
12597          program {
12598             name:    "go_enabled";
12599             signal:  "elm,state,enabled";
12600             source:  "elm";
12601             action:  STATE_SET "default" 0.0;
12602             target:  "disclip";
12603          }
12604          program {
12605             name:    "expand";
12606             signal:  "mouse,up,1";
12607             source:  "arrow";
12608             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12609          }
12610          program {
12611             name:    "go_expanded";
12612             signal:  "elm,state,expanded";
12613             source:  "elm";
12614             action:  STATE_SET "active" 0.0;
12615             target:  "arrow";
12616          }
12617          program {
12618             name:    "go_contracted";
12619             signal:  "elm,state,contracted";
12620             source:  "elm";
12621             action:  STATE_SET "default" 0.0;
12622             target:  "arrow";
12623          }
12624       }
12625    }
12626    group { name: "elm/genlist/tree_odd/default/default";
12627       data.item: "stacking" "below";
12628       data.item: "selectraise" "on";
12629       data.item: "labels" "elm.text";
12630       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12631       data.item: "treesize" "20";
12632 //      data.item: "states" "";
12633       images {
12634          image: "bt_sm_base1.png" COMP;
12635          image: "bt_sm_shine.png" COMP;
12636          image: "bt_sm_hilight.png" COMP;
12637          image: "ilist_2.png" COMP;
12638          image: "icon_arrow_right.png" COMP;
12639          image: "icon_arrow_down.png" COMP;
12640       }
12641       parts {
12642          part {
12643             name:           "event";
12644             type:           RECT;
12645             repeat_events: 1;
12646             description {
12647                state: "default" 0.0;
12648                color: 0 0 0 0;
12649             }
12650          }
12651          part {
12652             name: "base";
12653             mouse_events: 0;
12654             description {
12655                state: "default" 0.0;
12656                image {
12657                   normal: "ilist_2.png";
12658                   border: 2 2 2 2;
12659                }
12660                fill.smooth: 0;
12661             }
12662          }
12663          part { name: "bg";
12664             clip_to: "disclip";
12665             mouse_events: 0;
12666             description { state: "default" 0.0;
12667                visible: 0;
12668                color: 255 255 255 0;
12669                rel1 {
12670                   relative: 0.0 0.0;
12671                   offset: -5 -5;
12672                }
12673                rel2 {
12674                   relative: 1.0 1.0;
12675                   offset: 4 4;
12676                }
12677                image {
12678                   normal: "bt_sm_base1.png";
12679                   border: 6 6 6 6;
12680                }
12681                image.middle: SOLID;
12682             }
12683             description { state: "selected" 0.0;
12684                inherit: "default" 0.0;
12685                visible: 1;
12686                color: 255 255 255 255;
12687                rel1 {
12688                   relative: 0.0 0.0;
12689                   offset: -2 -2;
12690                }
12691                rel2 {
12692                   relative: 1.0 1.0;
12693                   offset: 1 1;
12694                }
12695             }
12696          }
12697          part { name: "elm.swallow.pad";
12698             type: SWALLOW;
12699             description { state: "default" 0.0;
12700                fixed: 1 0;
12701                align: 0.0 0.5;
12702                rel1 {
12703                   relative: 0.0  0.0;
12704                   offset:   4    4;
12705                }
12706                rel2 {
12707                   relative: 0.0  1.0;
12708                   offset:   4   -5;
12709                }
12710             }
12711          }
12712          part { name: "arrow";
12713             clip_to: "disclip";
12714             ignore_flags: ON_HOLD;
12715             description { state: "default" 0.0;
12716                fixed: 1 0;
12717                align: 0.0 0.5;
12718                aspect: 1.0 1.0;
12719                rel1 {
12720                   to_x: "elm.swallow.pad";
12721                   relative: 1.0  0.0;
12722                   offset:   -1    4;
12723                }
12724                rel2 {
12725                   to_x: "elm.swallow.pad";
12726                   relative: 1.0  1.0;
12727                   offset:   -1   -5;
12728                }
12729                image.normal: "icon_arrow_right.png";
12730             }
12731             description { state: "active" 0.0;
12732                inherit: "default" 0.0;
12733                image.normal: "icon_arrow_down.png";
12734             }
12735          }
12736          part { name: "elm.swallow.icon";
12737             clip_to: "disclip";
12738             type: SWALLOW;
12739             description { state: "default" 0.0;
12740                fixed: 1 0;
12741                align: 0.0 0.5;
12742                rel1 {
12743                   to_x: "arrow";
12744                   relative: 1.0  0.0;
12745                   offset:   4    4;
12746                }
12747                rel2 {
12748                   to_x: "arrow";
12749                   relative: 1.0  1.0;
12750                   offset:   4   -5;
12751                }
12752             }
12753          }
12754          part { name: "elm.swallow.end";
12755             clip_to: "disclip";
12756             type: SWALLOW;
12757             description { state: "default" 0.0;
12758                fixed: 1 0;
12759                align: 1.0 0.5;
12760                aspect: 1.0 1.0;
12761                aspect_preference: VERTICAL;
12762                rel1 {
12763                   relative: 1.0  0.0;
12764                   offset:   -5    4;
12765                }
12766                rel2 {
12767                   relative: 1.0  1.0;
12768                   offset:   -5   -5;
12769                }
12770             }
12771          }
12772          part { name: "elm.text";
12773             clip_to: "disclip";
12774             type:           TEXT;
12775             effect:         SOFT_SHADOW;
12776             mouse_events:   0;
12777             scale: 1;
12778             description {
12779                state: "default" 0.0;
12780 //               min: 16 16;
12781                rel1 {
12782                   to_x:     "elm.swallow.icon";
12783                   relative: 1.0  0.0;
12784                   offset:   0 4;
12785                }
12786                rel2 {
12787                   to_x:     "elm.swallow.end";
12788                   relative: 0.0  1.0;
12789                   offset:   -1 -5;
12790                }
12791                color: 0 0 0 255;
12792                color3: 0 0 0 0;
12793                text {
12794                   font: "Sans";
12795                   size: 10;
12796                   min: 1 1;
12797 //                  min: 0 1;
12798                   align: 0.0 0.5;
12799                }
12800             }
12801             description { state: "selected" 0.0;
12802                inherit: "default" 0.0;
12803                color: 224 224 224 255;
12804                color3: 0 0 0 64;
12805             }
12806          }
12807          part { name: "fg1";
12808             clip_to: "disclip";
12809             mouse_events: 0;
12810             description { state: "default" 0.0;
12811                visible: 0;
12812                color: 255 255 255 0;
12813                rel1.to: "bg";
12814                rel2.relative: 1.0 0.5;
12815                rel2.to: "bg";
12816                image {
12817                   normal: "bt_sm_hilight.png";
12818                   border: 6 6 6 0;
12819                }
12820             }
12821             description { state: "selected" 0.0;
12822                inherit: "default" 0.0;
12823                visible: 1;
12824                color: 255 255 255 255;
12825             }
12826          }
12827          part { name: "fg2";
12828             clip_to: "disclip";
12829             mouse_events: 0;
12830             description { state: "default" 0.0;
12831                visible: 0;
12832                color: 255 255 255 0;
12833                rel1.to: "bg";
12834                rel2.to: "bg";
12835                image {
12836                   normal: "bt_sm_shine.png";
12837                   border: 6 6 6 0;
12838                }
12839             }
12840             description { state: "selected" 0.0;
12841                inherit: "default" 0.0;
12842                visible: 1;
12843                color: 255 255 255 255;
12844             }
12845          }
12846          part { name: "disclip";
12847             type: RECT;
12848             description { state: "default" 0.0;
12849                rel1.to: "bg";
12850                rel2.to: "bg";
12851             }
12852             description { state: "disabled" 0.0;
12853                inherit: "default" 0.0;
12854                color: 255 255 255 64;
12855             }
12856          }
12857       }
12858       programs {
12859          // signal: elm,state,%s,active
12860          //   a "check" item named %s went active
12861          // signal: elm,state,%s,passive
12862          //   a "check" item named %s went passive
12863          // default is passive
12864          program {
12865             name:    "go_active";
12866             signal:  "elm,state,selected";
12867             source:  "elm";
12868             action:  STATE_SET "selected" 0.0;
12869             target:  "bg";
12870             target:  "fg1";
12871             target:  "fg2";
12872             target:  "elm.text";
12873          }
12874          program {
12875             name:    "go_passive";
12876             signal:  "elm,state,unselected";
12877             source:  "elm";
12878             action:  STATE_SET "default" 0.0;
12879             target:  "bg";
12880             target:  "fg1";
12881             target:  "fg2";
12882             target:  "elm.text";
12883             transition: LINEAR 0.1;
12884          }
12885          program {
12886             name:    "go_disabled";
12887             signal:  "elm,state,disabled";
12888             source:  "elm";
12889             action:  STATE_SET "disabled" 0.0;
12890             target:  "disclip";
12891          }
12892          program {
12893             name:    "go_enabled";
12894             signal:  "elm,state,enabled";
12895             source:  "elm";
12896             action:  STATE_SET "default" 0.0;
12897             target:  "disclip";
12898          }
12899          program {
12900             name:    "expand";
12901             signal:  "mouse,up,1";
12902             source:  "arrow";
12903             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
12904          }
12905          program {
12906             name:    "go_expanded";
12907             signal:  "elm,state,expanded";
12908             source:  "elm";
12909             action:  STATE_SET "active" 0.0;
12910             target:  "arrow";
12911          }
12912          program {
12913             name:    "go_contracted";
12914             signal:  "elm,state,contracted";
12915             source:  "elm";
12916             action:  STATE_SET "default" 0.0;
12917             target:  "arrow";
12918          }
12919       }
12920    }
12921    group { name: "elm/genlist/tree_compress_odd/default/default";
12922       data.item: "stacking" "below";
12923       data.item: "selectraise" "on";
12924       data.item: "labels" "elm.text";
12925       data.item: "icons" "elm.swallow.icon elm.swallow.end";
12926       data.item: "treesize" "20";
12927 //      data.item: "states" "";
12928       images {
12929          image: "bt_sm_base1.png" COMP;
12930          image: "bt_sm_shine.png" COMP;
12931          image: "bt_sm_hilight.png" COMP;
12932          image: "ilist_2.png" COMP;
12933          image: "icon_arrow_right.png" COMP;
12934          image: "icon_arrow_down.png" COMP;
12935       }
12936       parts {
12937          part {
12938             name:           "event";
12939             type:           RECT;
12940             repeat_events: 1;
12941             description {
12942                state: "default" 0.0;
12943                color: 0 0 0 0;
12944             }
12945          }
12946          part {
12947             name: "base";
12948             mouse_events: 0;
12949             description {
12950                state: "default" 0.0;
12951                image {
12952                   normal: "ilist_2.png";
12953                   border: 2 2 2 2;
12954                }
12955                fill.smooth: 0;
12956             }
12957          }
12958          part { name: "bg";
12959             clip_to: "disclip";
12960             mouse_events: 0;
12961             description { state: "default" 0.0;
12962                visible: 0;
12963                color: 255 255 255 0;
12964                rel1 {
12965                   relative: 0.0 0.0;
12966                   offset: -5 -5;
12967                }
12968                rel2 {
12969                   relative: 1.0 1.0;
12970                   offset: 4 4;
12971                }
12972                image {
12973                   normal: "bt_sm_base1.png";
12974                   border: 6 6 6 6;
12975                }
12976                image.middle: SOLID;
12977             }
12978             description { state: "selected" 0.0;
12979                inherit: "default" 0.0;
12980                visible: 1;
12981                color: 255 255 255 255;
12982                rel1 {
12983                   relative: 0.0 0.0;
12984                   offset: -2 -2;
12985                }
12986                rel2 {
12987                   relative: 1.0 1.0;
12988                   offset: 1 1;
12989                }
12990             }
12991          }
12992          part { name: "elm.swallow.pad";
12993             type: SWALLOW;
12994             description { state: "default" 0.0;
12995                fixed: 1 0;
12996                align: 0.0 0.5;
12997                rel1 {
12998                   relative: 0.0  0.0;
12999                   offset:   4    4;
13000                }
13001                rel2 {
13002                   relative: 0.0  1.0;
13003                   offset:   4   -5;
13004                }
13005             }
13006          }
13007          part { name: "arrow";
13008             clip_to: "disclip";
13009             ignore_flags: ON_HOLD;
13010             description { state: "default" 0.0;
13011                fixed: 1 0;
13012                align: 0.0 0.5;
13013                aspect: 1.0 1.0;
13014                rel1 {
13015                   to_x: "elm.swallow.pad";
13016                   relative: 1.0  0.0;
13017                   offset:   -1    4;
13018                }
13019                rel2 {
13020                   to_x: "elm.swallow.pad";
13021                   relative: 1.0  1.0;
13022                   offset:   -1   -5;
13023                }
13024                image.normal: "icon_arrow_right.png";
13025             }
13026             description { state: "active" 0.0;
13027                inherit: "default" 0.0;
13028                image.normal: "icon_arrow_down.png";
13029             }
13030          }
13031          part { name: "elm.swallow.icon";
13032             clip_to: "disclip";
13033             type: SWALLOW;
13034             description { state: "default" 0.0;
13035                fixed: 1 0;
13036                align: 0.0 0.5;
13037                rel1 {
13038                   to_x: "arrow";
13039                   relative: 1.0  0.0;
13040                   offset:   4    4;
13041                }
13042                rel2 {
13043                   to_x: "arrow";
13044                   relative: 1.0  1.0;
13045                   offset:   4   -5;
13046                }
13047             }
13048          }
13049          part { name: "elm.swallow.end";
13050             clip_to: "disclip";
13051             type: SWALLOW;
13052             description { state: "default" 0.0;
13053                fixed: 1 0;
13054                align: 1.0 0.5;
13055                aspect: 1.0 1.0;
13056                aspect_preference: VERTICAL;
13057                rel1 {
13058                   relative: 1.0  0.0;
13059                   offset:   -5    4;
13060                }
13061                rel2 {
13062                   relative: 1.0  1.0;
13063                   offset:   -5   -5;
13064                }
13065             }
13066          }
13067          part { name: "elm.text";
13068             clip_to: "disclip";
13069             type:           TEXT;
13070             effect:         SOFT_SHADOW;
13071             mouse_events:   0;
13072             scale: 1;
13073             description {
13074                state: "default" 0.0;
13075 //               min: 16 16;
13076                rel1 {
13077                   to_x:     "elm.swallow.icon";
13078                   relative: 1.0  0.0;
13079                   offset:   0 4;
13080                }
13081                rel2 {
13082                   to_x:     "elm.swallow.end";
13083                   relative: 0.0  1.0;
13084                   offset:   -1 -5;
13085                }
13086                color: 0 0 0 255;
13087                color3: 0 0 0 0;
13088                text {
13089                   font: "Sans";
13090                   size: 10;
13091 //                  min: 1 1;
13092                   min: 0 1;
13093                   align: 0.0 0.5;
13094                }
13095             }
13096             description { state: "selected" 0.0;
13097                inherit: "default" 0.0;
13098                color: 224 224 224 255;
13099                color3: 0 0 0 64;
13100             }
13101          }
13102          part { name: "fg1";
13103             clip_to: "disclip";
13104             mouse_events: 0;
13105             description { state: "default" 0.0;
13106                visible: 0;
13107                color: 255 255 255 0;
13108                rel1.to: "bg";
13109                rel2.relative: 1.0 0.5;
13110                rel2.to: "bg";
13111                image {
13112                   normal: "bt_sm_hilight.png";
13113                   border: 6 6 6 0;
13114                }
13115             }
13116             description { state: "selected" 0.0;
13117                inherit: "default" 0.0;
13118                visible: 1;
13119                color: 255 255 255 255;
13120             }
13121          }
13122          part { name: "fg2";
13123             clip_to: "disclip";
13124             mouse_events: 0;
13125             description { state: "default" 0.0;
13126                visible: 0;
13127                color: 255 255 255 0;
13128                rel1.to: "bg";
13129                rel2.to: "bg";
13130                image {
13131                   normal: "bt_sm_shine.png";
13132                   border: 6 6 6 0;
13133                }
13134             }
13135             description { state: "selected" 0.0;
13136                inherit: "default" 0.0;
13137                visible: 1;
13138                color: 255 255 255 255;
13139             }
13140          }
13141          part { name: "disclip";
13142             type: RECT;
13143             description { state: "default" 0.0;
13144                rel1.to: "bg";
13145                rel2.to: "bg";
13146             }
13147             description { state: "disabled" 0.0;
13148                inherit: "default" 0.0;
13149                color: 255 255 255 64;
13150             }
13151          }
13152       }
13153       programs {
13154          // signal: elm,state,%s,active
13155          //   a "check" item named %s went active
13156          // signal: elm,state,%s,passive
13157          //   a "check" item named %s went passive
13158          // default is passive
13159          program {
13160             name:    "go_active";
13161             signal:  "elm,state,selected";
13162             source:  "elm";
13163             action:  STATE_SET "selected" 0.0;
13164             target:  "bg";
13165             target:  "fg1";
13166             target:  "fg2";
13167             target:  "elm.text";
13168          }
13169          program {
13170             name:    "go_passive";
13171             signal:  "elm,state,unselected";
13172             source:  "elm";
13173             action:  STATE_SET "default" 0.0;
13174             target:  "bg";
13175             target:  "fg1";
13176             target:  "fg2";
13177             target:  "elm.text";
13178             transition: LINEAR 0.1;
13179          }
13180          program {
13181             name:    "go_disabled";
13182             signal:  "elm,state,disabled";
13183             source:  "elm";
13184             action:  STATE_SET "disabled" 0.0;
13185             target:  "disclip";
13186          }
13187          program {
13188             name:    "go_enabled";
13189             signal:  "elm,state,enabled";
13190             source:  "elm";
13191             action:  STATE_SET "default" 0.0;
13192             target:  "disclip";
13193          }
13194          program {
13195             name:    "expand";
13196             signal:  "mouse,up,1";
13197             source:  "arrow";
13198             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
13199          }
13200          program {
13201             name:    "go_expanded";
13202             signal:  "elm,state,expanded";
13203             source:  "elm";
13204             action:  STATE_SET "active" 0.0;
13205             target:  "arrow";
13206          }
13207          program {
13208             name:    "go_contracted";
13209             signal:  "elm,state,contracted";
13210             source:  "elm";
13211             action:  STATE_SET "default" 0.0;
13212             target:  "arrow";
13213          }
13214       }
13215    }
13216
13217    group { name: "elm/genlist/item/default_style/default";
13218        styles
13219        {
13220            style { name: "genlist_style";
13221                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
13222                tag:  "br" "\n";
13223                tag:  "hilight" "+ font=Sans:style=Bold";
13224                tag:  "b" "+ font=Sans:style=Bold";
13225                tag:  "tab" "\t";
13226            }
13227            style { name: "genlist_selected_style";
13228                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
13229                tag:  "br" "\n";
13230                tag:  "hilight" "+ font=Sans:style=Bold";
13231                tag:  "b" "+ font=Sans:style=Bold";
13232                tag:  "tab" "\t";
13233            }
13234        }
13235        data.item: "stacking" "above";
13236        data.item: "selectraise" "on";
13237        data.item: "labels" "elm.text";
13238        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13239        data.item: "treesize" "20";
13240        images {
13241            image: "bt_sm_base1.png" COMP;
13242            image: "bt_sm_shine.png" COMP;
13243            image: "bt_sm_hilight.png" COMP;
13244            image: "ilist_1.png" COMP;
13245            image: "ilist_item_shadow.png" COMP;
13246        }
13247        parts {
13248            part {
13249                name:           "event";
13250                type:           RECT;
13251                repeat_events: 1;
13252                description {
13253                    state: "default" 0.0;
13254                    color: 0 0 0 0;
13255                }
13256            }
13257            part {
13258                name: "base_sh";
13259                mouse_events: 0;
13260                description {
13261                    state: "default" 0.0;
13262                    align: 0.0 0.0;
13263                    min: 0 10;
13264                    fixed: 1 1;
13265                    rel1 {
13266                        to: "base";
13267                        relative: 0.0 1.0;
13268                        offset: 0 0;
13269                    }
13270                    rel2 {
13271                        to: "base";
13272                        relative: 1.0 1.0;
13273                        offset: -1 0;
13274                    }
13275                    image {
13276                        normal: "ilist_item_shadow.png";
13277                    }
13278                    fill.smooth: 0;
13279                }
13280            }
13281            part {
13282                name: "base";
13283                mouse_events: 0;
13284                description {
13285                    state: "default" 0.0;
13286                    min: 16 28;
13287                    image {
13288                        normal: "ilist_1.png";
13289                        border: 2 2 2 2;
13290                    }
13291                    fill.smooth: 0;
13292                }
13293            }
13294            part { name: "bg";
13295                clip_to: "disclip";
13296                mouse_events: 0;
13297                description { state: "default" 0.0;
13298                    visible: 0;
13299                    color: 255 255 255 0;
13300                    rel1 {
13301                        relative: 0.0 0.0;
13302                        offset: -5 -5;
13303                    }
13304                    rel2 {
13305                        relative: 1.0 1.0;
13306                        offset: 4 4;
13307                    }
13308                    image {
13309                        normal: "bt_sm_base1.png";
13310                        border: 6 6 6 6;
13311                    }
13312                    image.middle: SOLID;
13313                }
13314                description { state: "selected" 0.0;
13315                    inherit: "default" 0.0;
13316                    visible: 1;
13317                    color: 255 255 255 255;
13318                    rel1 {
13319                        relative: 0.0 0.0;
13320                        offset: -2 -2;
13321                    }
13322                    rel2 {
13323                        relative: 1.0 1.0;
13324                        offset: 1 1;
13325                    }
13326                }
13327            }
13328            part { name: "elm.swallow.pad";
13329                type: SWALLOW;
13330                description { state: "default" 0.0;
13331                    fixed: 1 0;
13332                    align: 0.0 0.5;
13333                    rel1 {
13334                        relative: 0.0  0.0;
13335                        offset:   4    4;
13336                    }
13337                    rel2 {
13338                        relative: 0.0  1.0;
13339                        offset:   4   -5;
13340                    }
13341                }
13342            }
13343            part { name: "elm.swallow.icon";
13344                clip_to: "disclip";
13345                type: SWALLOW;
13346                description { state: "default" 0.0;
13347                    fixed: 1 0;
13348                    align: 0.0 0.5;
13349                    rel1 {
13350                        to_x: "elm.swallow.pad";
13351                        relative: 1.0  0.0;
13352                        offset:   -1    4;
13353                    }
13354                    rel2 {
13355                        to_x: "elm.swallow.pad";
13356                        relative: 1.0  1.0;
13357                        offset:   -1   -5;
13358                    }
13359                }
13360            }
13361            part { name: "elm.swallow.end";
13362                clip_to: "disclip";
13363                type: SWALLOW;
13364                description { state: "default" 0.0;
13365                    fixed: 1 0;
13366                    align: 1.0 0.5;
13367                    aspect: 1.0 1.0;
13368                    aspect_preference: VERTICAL;
13369                    rel1 {
13370                        relative: 1.0  0.0;
13371                        offset:   -5    4;
13372                    }
13373                    rel2 {
13374                        relative: 1.0  1.0;
13375                        offset:   -5   -5;
13376                    }
13377                }
13378            }
13379            part { name: "elm.text";
13380                clip_to: "disclip";
13381                type: TEXTBLOCK;
13382                mouse_events: 0;
13383                scale: 1;
13384                description {
13385                    state: "default" 0.0;
13386                    align: 0.0 0.5;
13387                    fixed: 0 1;
13388                    rel1 {
13389                        to_x: "elm.swallow.icon";
13390                        to_y: "base";
13391                        relative: 1.0  0.5;
13392                        offset:   0 4;
13393                    }
13394                    rel2 {
13395                        to_x: "elm.swallow.end";
13396                        to_y: "base";
13397                        relative: 0.0  0.5;
13398                        offset:   -1 -5;
13399                    }
13400                    text {
13401                        style: "genlist_style";
13402                        min: 1 1;
13403                    }
13404                }
13405                description { state: "selected" 0.0;
13406                    inherit: "default" 0.0;
13407                    text {
13408                        style: "genlist_selected_style";
13409                    }
13410                }
13411            }
13412            part { name: "fg1";
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.relative: 1.0 0.5;
13420                    rel2.to: "bg";
13421                    image {
13422                        normal: "bt_sm_hilight.png";
13423                        border: 6 6 6 0;
13424                    }
13425                }
13426                description { state: "selected" 0.0;
13427                    inherit: "default" 0.0;
13428                    visible: 1;
13429                    color: 255 255 255 255;
13430                }
13431            }
13432            part { name: "fg2";
13433                clip_to: "disclip";
13434                mouse_events: 0;
13435                description { state: "default" 0.0;
13436                    visible: 0;
13437                    color: 255 255 255 0;
13438                    rel1.to: "bg";
13439                    rel2.to: "bg";
13440                    image {
13441                        normal: "bt_sm_shine.png";
13442                        border: 6 6 6 0;
13443                    }
13444                }
13445                description { state: "selected" 0.0;
13446                    inherit: "default" 0.0;
13447                    visible: 1;
13448                    color: 255 255 255 255;
13449                }
13450            }
13451            part { name: "disclip";
13452                type: RECT;
13453                description { state: "default" 0.0;
13454                    rel1.to: "bg";
13455                    rel2.to: "bg";
13456                }
13457                description { state: "disabled" 0.0;
13458                    inherit: "default" 0.0;
13459                    color: 255 255 255 64;
13460                }
13461            }
13462        }
13463        programs {
13464            // signal: elm,state,%s,active
13465            //   a "check" item named %s went active
13466            // signal: elm,state,%s,passive
13467            //   a "check" item named %s went passive
13468            // default is passive
13469            program {
13470                name:    "go_active";
13471                signal:  "elm,state,selected";
13472                source:  "elm";
13473                action:  STATE_SET "selected" 0.0;
13474                target:  "bg";
13475                target:  "fg1";
13476                target:  "fg2";
13477                target:  "elm.text";
13478            }
13479            program {
13480                name:    "go_passive";
13481                signal:  "elm,state,unselected";
13482                source:  "elm";
13483                action:  STATE_SET "default" 0.0;
13484                target:  "bg";
13485                target:  "fg1";
13486                target:  "fg2";
13487                target:  "elm.text";
13488                transition: LINEAR 0.1;
13489            }
13490            program {
13491                name:    "go_disabled";
13492                signal:  "elm,state,disabled";
13493                source:  "elm";
13494                action:  STATE_SET "disabled" 0.0;
13495                target:  "disclip";
13496            }
13497            program {
13498                name:    "go_enabled";
13499                signal:  "elm,state,enabled";
13500                source:  "elm";
13501                action:  STATE_SET "default" 0.0;
13502                target:  "disclip";
13503            }
13504        }
13505    }
13506    group { name: "elm/genlist/item_odd/default_style/default";
13507        data.item: "stacking" "below";
13508        data.item: "selectraise" "on";
13509        data.item: "labels" "elm.text";
13510        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13511        data.item: "treesize" "20";
13512        images {
13513            image: "bt_sm_base1.png" COMP;
13514            image: "bt_sm_shine.png" COMP;
13515            image: "bt_sm_hilight.png" COMP;
13516            image: "ilist_2.png" COMP;
13517        }
13518        parts {
13519            part { name: "event";
13520                type: RECT;
13521                repeat_events: 1;
13522                description {
13523                    state: "default" 0.0;
13524                    color: 0 0 0 0;
13525                }
13526            }
13527            part {
13528                name: "base";
13529                mouse_events: 0;
13530                description {
13531                    state: "default" 0.0;
13532                    min: 16 28;
13533                    image {
13534                        normal: "ilist_2.png";
13535                        border: 2 2 2 2;
13536                    }
13537                    fill.smooth: 0;
13538                }
13539            }
13540            part { name: "bg";
13541                clip_to: "disclip";
13542                mouse_events: 0;
13543                description { state: "default" 0.0;
13544                    visible: 0;
13545                    color: 255 255 255 0;
13546                    rel1 {
13547                        relative: 0.0 0.0;
13548                        offset: -5 -5;
13549                    }
13550                    rel2 {
13551                        relative: 1.0 1.0;
13552                        offset: 4 4;
13553                    }
13554                    image {
13555                        normal: "bt_sm_base1.png";
13556                        border: 6 6 6 6;
13557                    }
13558                    image.middle: SOLID;
13559                }
13560                description { state: "selected" 0.0;
13561                    inherit: "default" 0.0;
13562                    visible: 1;
13563                    color: 255 255 255 255;
13564                    rel1 {
13565                        relative: 0.0 0.0;
13566                        offset: -2 -2;
13567                    }
13568                    rel2 {
13569                        relative: 1.0 1.0;
13570                        offset: 1 1;
13571                    }
13572                }
13573            }
13574            part { name: "elm.swallow.pad";
13575                type: SWALLOW;
13576                description { state: "default" 0.0;
13577                    fixed: 1 0;
13578                    align: 0.0 0.5;
13579                    rel1 {
13580                        relative: 0.0  0.0;
13581                        offset:   4    4;
13582                    }
13583                    rel2 {
13584                        relative: 0.0  1.0;
13585                        offset:   4   -5;
13586                    }
13587                }
13588            }
13589            part { name: "elm.swallow.icon";
13590                clip_to: "disclip";
13591                type: SWALLOW;
13592                description { state: "default" 0.0;
13593                    fixed: 1 0;
13594                    align: 0.0 0.5;
13595                    rel1 {
13596                        to_x: "elm.swallow.pad";
13597                        relative: 1.0  0.0;
13598                        offset:   -1    4;
13599                    }
13600                    rel2 {
13601                        to_x: "elm.swallow.pad";
13602                        relative: 1.0  1.0;
13603                        offset:   -1   -5;
13604                    }
13605                }
13606            }
13607            part { name: "elm.swallow.end";
13608                clip_to: "disclip";
13609                type:          SWALLOW;
13610                description { state:    "default" 0.0;
13611                    fixed: 1 0;
13612                    align:    1.0 0.5;
13613                    aspect: 1.0 1.0;
13614                    aspect_preference: VERTICAL;
13615                    rel1 {
13616                        relative: 1.0  0.0;
13617                        offset:   -5    4;
13618                    }
13619                    rel2 {
13620                        relative: 1.0  1.0;
13621                        offset:   -5   -5;
13622                    }
13623                }
13624            }
13625            part { name: "elm.text";
13626                clip_to: "disclip";
13627                type:           TEXTBLOCK;
13628                mouse_events:   0;
13629                scale: 1;
13630                description {
13631                    state: "default" 0.0;
13632                    align: 0.0 0.5;
13633                    fixed: 0 1;
13634                    rel1 {
13635                        to_x: "elm.swallow.icon";
13636                        to_y: "base";
13637                        relative: 1.0  0.5;
13638                        offset:   0 4;
13639                    }
13640                    rel2 {
13641                        to_x: "elm.swallow.end";
13642                        to_y: "base";
13643                        relative: 0.0  0.5;
13644                        offset:   -1 -5;
13645                    }
13646                    text {
13647                        style: "genlist_style";
13648                        min: 1 1;
13649                    }
13650                }
13651                description { state: "selected" 0.0;
13652                    inherit: "default" 0.0;
13653                    text {
13654                        style: "genlist_selected_style";
13655                    }
13656                }
13657            }
13658            part { name: "fg1";
13659                clip_to: "disclip";
13660                mouse_events: 0;
13661                description { state: "default" 0.0;
13662                    visible: 0;
13663                    color: 255 255 255 0;
13664                    rel1.to: "bg";
13665                    rel2.relative: 1.0 0.5;
13666                    rel2.to: "bg";
13667                    image {
13668                        normal: "bt_sm_hilight.png";
13669                        border: 6 6 6 0;
13670                    }
13671                }
13672                description { state: "selected" 0.0;
13673                    inherit: "default" 0.0;
13674                    visible: 1;
13675                    color: 255 255 255 255;
13676                }
13677            }
13678            part { name: "fg2";
13679                clip_to: "disclip";
13680                mouse_events: 0;
13681                description { state: "default" 0.0;
13682                    visible: 0;
13683                    color: 255 255 255 0;
13684                    rel1.to: "bg";
13685                    rel2.to: "bg";
13686                    image {
13687                        normal: "bt_sm_shine.png";
13688                        border: 6 6 6 0;
13689                    }
13690                }
13691                description { state: "selected" 0.0;
13692                    inherit: "default" 0.0;
13693                    visible: 1;
13694                    color: 255 255 255 255;
13695                }
13696            }
13697            part { name: "disclip";
13698                type: RECT;
13699                description { state: "default" 0.0;
13700                    rel1.to: "bg";
13701                    rel2.to: "bg";
13702                }
13703                description { state: "disabled" 0.0;
13704                    inherit: "default" 0.0;
13705                    color: 255 255 255 64;
13706                }
13707            }
13708        }
13709        programs {
13710            // signal: elm,state,%s,active
13711            //   a "check" item named %s went active
13712            // signal: elm,state,%s,passive
13713            //   a "check" item named %s went passive
13714            // default is passive
13715            program {
13716                name:    "go_active";
13717                signal:  "elm,state,selected";
13718                source:  "elm";
13719                action:  STATE_SET "selected" 0.0;
13720                target:  "bg";
13721                target:  "fg1";
13722                target:  "fg2";
13723                target:  "elm.text";
13724            }
13725            program {
13726                name:    "go_passive";
13727                signal:  "elm,state,unselected";
13728                source:  "elm";
13729                action:  STATE_SET "default" 0.0;
13730                target:  "bg";
13731                target:  "fg1";
13732                target:  "fg2";
13733                target:  "elm.text";
13734                transition: LINEAR 0.1;
13735            }
13736            program {
13737                name:    "go_disabled";
13738                signal:  "elm,state,disabled";
13739                source:  "elm";
13740                action:  STATE_SET "disabled" 0.0;
13741                target:  "disclip";
13742            }
13743            program {
13744                name:    "go_enabled";
13745                signal:  "elm,state,enabled";
13746                source:  "elm";
13747                action:  STATE_SET "default" 0.0;
13748                target:  "disclip";
13749            }
13750        }
13751    }
13752
13753    group { name: "elm/genlist/tree/default_style/default";
13754        data.item: "stacking" "above";
13755        data.item: "selectraise" "on";
13756        data.item: "labels" "elm.text";
13757        data.item: "icons" "elm.swallow.icon elm.swallow.end";
13758        data.item: "treesize" "20";
13759        images {
13760            image: "bt_sm_base1.png" COMP;
13761            image: "bt_sm_shine.png" COMP;
13762            image: "bt_sm_hilight.png" COMP;
13763            image: "ilist_1.png" COMP;
13764            image: "ilist_item_shadow.png" COMP;
13765            image: "icon_arrow_right.png" COMP;
13766            image: "icon_arrow_down.png" COMP;
13767        }
13768        parts {
13769            part {
13770                name:           "event";
13771                type:           RECT;
13772                repeat_events: 1;
13773                description {
13774                    state: "default" 0.0;
13775                    color: 0 0 0 0;
13776                }
13777            }
13778            part {
13779                name: "base_sh";
13780                mouse_events: 0;
13781                description {
13782                    state: "default" 0.0;
13783                    align: 0.0 0.0;
13784                    min: 0 10;
13785                    fixed: 1 1;
13786                    rel1 {
13787                        to: "base";
13788                        relative: 0.0 1.0;
13789                        offset: 0 0;
13790                    }
13791                    rel2 {
13792                        to: "base";
13793                        relative: 1.0 1.0;
13794                        offset: -1 0;
13795                    }
13796                    image {
13797                        normal: "ilist_item_shadow.png";
13798                    }
13799                    fill.smooth: 0;
13800                }
13801            }
13802            part {
13803                name: "base";
13804                mouse_events: 0;
13805                description {
13806                    state: "default" 0.0;
13807                    min: 16 28;
13808                    image {
13809                        normal: "ilist_1.png";
13810                        border: 2 2 2 2;
13811                    }
13812                    fill.smooth: 0;
13813                }
13814            }
13815            part { name: "bg";
13816                clip_to: "disclip";
13817                mouse_events: 0;
13818                description { state: "default" 0.0;
13819                    visible: 0;
13820                    color: 255 255 255 0;
13821                    rel1 {
13822                        relative: 0.0 0.0;
13823                        offset: -5 -5;
13824                    }
13825                    rel2 {
13826                        relative: 1.0 1.0;
13827                        offset: 4 4;
13828                    }
13829                    image {
13830                        normal: "bt_sm_base1.png";
13831                        border: 6 6 6 6;
13832                    }
13833                    image.middle: SOLID;
13834                }
13835                description { state: "selected" 0.0;
13836                    inherit: "default" 0.0;
13837                    visible: 1;
13838                    color: 255 255 255 255;
13839                    rel1 {
13840                        relative: 0.0 0.0;
13841                        offset: -2 -2;
13842                    }
13843                    rel2 {
13844                        relative: 1.0 1.0;
13845                        offset: 1 1;
13846                    }
13847                }
13848            }
13849            part { name: "elm.swallow.pad";
13850                type: SWALLOW;
13851                description { state: "default" 0.0;
13852                    fixed: 1 0;
13853                    align: 0.0 0.5;
13854                    rel1 {
13855                        relative: 0.0  0.0;
13856                        offset:   4    4;
13857                    }
13858                    rel2 {
13859                        relative: 0.0  1.0;
13860                        offset:   4   -5;
13861                    }
13862                }
13863            }
13864            part { name: "arrow";
13865                clip_to: "disclip";
13866                ignore_flags: ON_HOLD;
13867                description { state: "default" 0.0;
13868                    fixed: 1 0;
13869                    align: 0.0 0.5;
13870                    aspect: 1.0 1.0;
13871                    rel1 {
13872                        to_x: "elm.swallow.pad";
13873                        relative: 1.0  0.0;
13874                        offset:   -1    4;
13875                    }
13876                    rel2 {
13877                        to_x: "elm.swallow.pad";
13878                        relative: 1.0  1.0;
13879                        offset:   -1   -5;
13880                    }
13881                    image.normal: "icon_arrow_right.png";
13882                }
13883                description { state: "active" 0.0;
13884                    inherit: "default" 0.0;
13885                    image.normal: "icon_arrow_down.png";
13886                }
13887            }
13888            part { name: "elm.swallow.icon";
13889                clip_to: "disclip";
13890                type: SWALLOW;
13891                description { state: "default" 0.0;
13892                    fixed: 1 0;
13893                    align: 0.0 0.5;
13894                    rel1 {
13895                        to_x: "arrow";
13896                        relative: 1.0  0.0;
13897                        offset:   4    4;
13898                    }
13899                    rel2 {
13900                        to_x: "arrow";
13901                        relative: 1.0  1.0;
13902                        offset:   4   -5;
13903                    }
13904                }
13905            }
13906            part { name: "elm.swallow.end";
13907                clip_to: "disclip";
13908                type: SWALLOW;
13909                description { state: "default" 0.0;
13910                    fixed: 1 0;
13911                    align: 1.0 0.5;
13912                    aspect: 1.0 1.0;
13913                    aspect_preference: VERTICAL;
13914                    rel1 {
13915                        relative: 1.0  0.0;
13916                        offset:   -5    4;
13917                    }
13918                    rel2 {
13919                        relative: 1.0  1.0;
13920                        offset:   -5   -5;
13921                    }
13922                }
13923            }
13924            part { name: "elm.text";
13925                clip_to: "disclip";
13926                type:           TEXTBLOCK;
13927                effect:         SOFT_SHADOW;
13928                mouse_events:   0;
13929                scale: 1;
13930                description {
13931                    state: "default" 0.0;
13932                    align: 0.0 0.5;
13933                    fixed: 0 1;
13934                    rel1 {
13935                        to_x:     "elm.swallow.icon";
13936                        to_y: "base";
13937                        relative: 1.0  0.5;
13938                        offset:   0 4;
13939                    }
13940                    rel2 {
13941                        to_x:     "elm.swallow.end";
13942                        to_y: "base";
13943                        relative: 0.0  0.5;
13944                        offset:   -1 -5;
13945                    }
13946                    text {
13947                        style: "genlist_style";
13948                        min: 1 1;
13949                    }
13950                }
13951                description { state: "selected" 0.0;
13952                    inherit: "default" 0.0;
13953                    text {
13954                        style: "genlist_selected_style";
13955                    }
13956                }
13957            }
13958            part { name: "fg1";
13959                clip_to: "disclip";
13960                mouse_events: 0;
13961                description { state: "default" 0.0;
13962                    visible: 0;
13963                    color: 255 255 255 0;
13964                    rel1.to: "bg";
13965                    rel2.relative: 1.0 0.5;
13966                    rel2.to: "bg";
13967                    image {
13968                        normal: "bt_sm_hilight.png";
13969                        border: 6 6 6 0;
13970                    }
13971                }
13972                description { state: "selected" 0.0;
13973                    inherit: "default" 0.0;
13974                    visible: 1;
13975                    color: 255 255 255 255;
13976                }
13977            }
13978            part { name: "fg2";
13979                clip_to: "disclip";
13980                mouse_events: 0;
13981                description { state: "default" 0.0;
13982                    visible: 0;
13983                    color: 255 255 255 0;
13984                    rel1.to: "bg";
13985                    rel2.to: "bg";
13986                    image {
13987                        normal: "bt_sm_shine.png";
13988                        border: 6 6 6 0;
13989                    }
13990                }
13991                description { state: "selected" 0.0;
13992                    inherit: "default" 0.0;
13993                    visible: 1;
13994                    color: 255 255 255 255;
13995                }
13996            }
13997            part { name: "disclip";
13998                type: RECT;
13999                description { state: "default" 0.0;
14000                    rel1.to: "bg";
14001                    rel2.to: "bg";
14002                }
14003                description { state: "disabled" 0.0;
14004                    inherit: "default" 0.0;
14005                    color: 255 255 255 64;
14006                }
14007            }
14008        }
14009        programs {
14010            // signal: elm,state,%s,active
14011            //   a "check" item named %s went active
14012            // signal: elm,state,%s,passive
14013            //   a "check" item named %s went passive
14014            // default is passive
14015            program {
14016                name:    "go_active";
14017                signal:  "elm,state,selected";
14018                source:  "elm";
14019                action:  STATE_SET "selected" 0.0;
14020                target:  "bg";
14021                target:  "fg1";
14022                target:  "fg2";
14023                target:  "elm.text";
14024            }
14025            program {
14026                name:    "go_passive";
14027                signal:  "elm,state,unselected";
14028                source:  "elm";
14029                action:  STATE_SET "default" 0.0;
14030                target:  "bg";
14031                target:  "fg1";
14032                target:  "fg2";
14033                target:  "elm.text";
14034                transition: LINEAR 0.1;
14035            }
14036            program {
14037                name:    "go_disabled";
14038                signal:  "elm,state,disabled";
14039                source:  "elm";
14040                action:  STATE_SET "disabled" 0.0;
14041                target:  "disclip";
14042            }
14043            program {
14044                name:    "go_enabled";
14045                signal:  "elm,state,enabled";
14046                source:  "elm";
14047                action:  STATE_SET "default" 0.0;
14048                target:  "disclip";
14049            }
14050            program {
14051                name:    "expand";
14052                signal:  "mouse,up,1";
14053                source:  "arrow";
14054                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14055            }
14056            program {
14057                name:    "go_expanded";
14058                signal:  "elm,state,expanded";
14059                source:  "elm";
14060                action:  STATE_SET "active" 0.0;
14061                target:  "arrow";
14062            }
14063            program {
14064                name:    "go_contracted";
14065                signal:  "elm,state,contracted";
14066                source:  "elm";
14067                action:  STATE_SET "default" 0.0;
14068                target:  "arrow";
14069            }
14070        }
14071    }
14072    group { name: "elm/genlist/tree_odd/default_style/default";
14073        data.item: "stacking" "below";
14074        data.item: "selectraise" "on";
14075        data.item: "labels" "elm.text";
14076        data.item: "icons" "elm.swallow.icon elm.swallow.end";
14077        data.item: "treesize" "20";
14078        images {
14079            image: "bt_sm_base1.png" COMP;
14080            image: "bt_sm_shine.png" COMP;
14081            image: "bt_sm_hilight.png" COMP;
14082            image: "ilist_2.png" COMP;
14083            image: "icon_arrow_right.png" COMP;
14084            image: "icon_arrow_down.png" COMP;
14085        }
14086        parts {
14087            part {
14088                name:           "event";
14089                type:           RECT;
14090                repeat_events: 1;
14091                description {
14092                    state: "default" 0.0;
14093                    color: 0 0 0 0;
14094                }
14095            }
14096            part {
14097                name: "base";
14098                mouse_events: 0;
14099                description {
14100                    state: "default" 0.0;
14101                    min: 16 28;
14102                    image {
14103                        normal: "ilist_2.png";
14104                        border: 2 2 2 2;
14105                    }
14106                    fill.smooth: 0;
14107                }
14108            }
14109            part { name: "bg";
14110                clip_to: "disclip";
14111                mouse_events: 0;
14112                description { state: "default" 0.0;
14113                    visible: 0;
14114                    color: 255 255 255 0;
14115                    rel1 {
14116                        relative: 0.0 0.0;
14117                        offset: -5 -5;
14118                    }
14119                    rel2 {
14120                        relative: 1.0 1.0;
14121                        offset: 4 4;
14122                    }
14123                    image {
14124                        normal: "bt_sm_base1.png";
14125                        border: 6 6 6 6;
14126                    }
14127                    image.middle: SOLID;
14128                }
14129                description { state: "selected" 0.0;
14130                    inherit: "default" 0.0;
14131                    visible: 1;
14132                    color: 255 255 255 255;
14133                    rel1 {
14134                        relative: 0.0 0.0;
14135                        offset: -2 -2;
14136                    }
14137                    rel2 {
14138                        relative: 1.0 1.0;
14139                        offset: 1 1;
14140                    }
14141                }
14142            }
14143            part { name: "elm.swallow.pad";
14144                type: SWALLOW;
14145                description { state: "default" 0.0;
14146                    fixed: 1 0;
14147                    align: 0.0 0.5;
14148                    rel1 {
14149                        relative: 0.0  0.0;
14150                        offset:   4    4;
14151                    }
14152                    rel2 {
14153                        relative: 0.0  1.0;
14154                        offset:   4   -5;
14155                    }
14156                }
14157            }
14158            part { name: "arrow";
14159                clip_to: "disclip";
14160                ignore_flags: ON_HOLD;
14161                description { state: "default" 0.0;
14162                    fixed: 1 0;
14163                    align: 0.0 0.5;
14164                    aspect: 1.0 1.0;
14165                    rel1 {
14166                        to_x: "elm.swallow.pad";
14167                        relative: 1.0  0.0;
14168                        offset:   -1    4;
14169                    }
14170                    rel2 {
14171                        to_x: "elm.swallow.pad";
14172                        relative: 1.0  1.0;
14173                        offset:   -1   -5;
14174                    }
14175                    image.normal: "icon_arrow_right.png";
14176                }
14177                description { state: "active" 0.0;
14178                    inherit: "default" 0.0;
14179                    image.normal: "icon_arrow_down.png";
14180                }
14181            }
14182            part { name: "elm.swallow.icon";
14183                clip_to: "disclip";
14184                type: SWALLOW;
14185                description { state: "default" 0.0;
14186                    fixed: 1 0;
14187                    align: 0.0 0.5;
14188                    rel1 {
14189                        to_x: "arrow";
14190                        relative: 1.0  0.0;
14191                        offset:   4    4;
14192                    }
14193                    rel2 {
14194                        to_x: "arrow";
14195                        relative: 1.0  1.0;
14196                        offset:   4   -5;
14197                    }
14198                }
14199            }
14200            part { name: "elm.swallow.end";
14201                clip_to: "disclip";
14202                type: SWALLOW;
14203                description { state: "default" 0.0;
14204                    fixed: 1 0;
14205                    align: 1.0 0.5;
14206                    aspect: 1.0 1.0;
14207                    aspect_preference: VERTICAL;
14208                    rel1 {
14209                        relative: 1.0  0.0;
14210                        offset:   -5    4;
14211                    }
14212                    rel2 {
14213                        relative: 1.0  1.0;
14214                        offset:   -5   -5;
14215                    }
14216                }
14217            }
14218            part { name: "elm.text";
14219                clip_to: "disclip";
14220                type:           TEXTBLOCK;
14221                effect:         SOFT_SHADOW;
14222                mouse_events:   0;
14223                scale: 1;
14224                description {
14225                    state: "default" 0.0;
14226                    align: 0.0 0.5;
14227                    fixed: 0 1;
14228                    rel1 {
14229                        to_x:     "elm.swallow.icon";
14230                        to_y: "base";
14231                        relative: 1.0  0.5;
14232                        offset:   0 4;
14233                    }
14234                    rel2 {
14235                        to_x:     "elm.swallow.end";
14236                        to_y: "base";
14237                        relative: 0.0  0.5;
14238                        offset:   -1 -5;
14239                    }
14240                    text {
14241                        style: "genlist_style";
14242                        min: 1 1;
14243                    }
14244                }
14245                description { state: "selected" 0.0;
14246                    inherit: "default" 0.0;
14247                    text {
14248                        style: "genlist_selected_style";
14249                    }
14250                }
14251            }
14252            part { name: "fg1";
14253                clip_to: "disclip";
14254                mouse_events: 0;
14255                description { state: "default" 0.0;
14256                    visible: 0;
14257                    color: 255 255 255 0;
14258                    rel1.to: "bg";
14259                    rel2.relative: 1.0 0.5;
14260                    rel2.to: "bg";
14261                    image {
14262                        normal: "bt_sm_hilight.png";
14263                        border: 6 6 6 0;
14264                    }
14265                }
14266                description { state: "selected" 0.0;
14267                    inherit: "default" 0.0;
14268                    visible: 1;
14269                    color: 255 255 255 255;
14270                }
14271            }
14272            part { name: "fg2";
14273                clip_to: "disclip";
14274                mouse_events: 0;
14275                description { state: "default" 0.0;
14276                    visible: 0;
14277                    color: 255 255 255 0;
14278                    rel1.to: "bg";
14279                    rel2.to: "bg";
14280                    image {
14281                        normal: "bt_sm_shine.png";
14282                        border: 6 6 6 0;
14283                    }
14284                }
14285                description { state: "selected" 0.0;
14286                    inherit: "default" 0.0;
14287                    visible: 1;
14288                    color: 255 255 255 255;
14289                }
14290            }
14291            part { name: "disclip";
14292                type: RECT;
14293                description { state: "default" 0.0;
14294                    rel1.to: "bg";
14295                    rel2.to: "bg";
14296                }
14297                description { state: "disabled" 0.0;
14298                    inherit: "default" 0.0;
14299                    color: 255 255 255 64;
14300                }
14301            }
14302        }
14303        programs {
14304            // signal: elm,state,%s,active
14305            //   a "check" item named %s went active
14306            // signal: elm,state,%s,passive
14307            //   a "check" item named %s went passive
14308            // default is passive
14309            program {
14310                name:    "go_active";
14311                signal:  "elm,state,selected";
14312                source:  "elm";
14313                action:  STATE_SET "selected" 0.0;
14314                target:  "bg";
14315                target:  "fg1";
14316                target:  "fg2";
14317                target:  "elm.text";
14318            }
14319            program {
14320                name:    "go_passive";
14321                signal:  "elm,state,unselected";
14322                source:  "elm";
14323                action:  STATE_SET "default" 0.0;
14324                target:  "bg";
14325                target:  "fg1";
14326                target:  "fg2";
14327                target:  "elm.text";
14328                transition: LINEAR 0.1;
14329            }
14330            program {
14331                name:    "go_disabled";
14332                signal:  "elm,state,disabled";
14333                source:  "elm";
14334                action:  STATE_SET "disabled" 0.0;
14335                target:  "disclip";
14336            }
14337            program {
14338                name:    "go_enabled";
14339                signal:  "elm,state,enabled";
14340                source:  "elm";
14341                action:  STATE_SET "default" 0.0;
14342                target:  "disclip";
14343            }
14344            program {
14345                name:    "expand";
14346                signal:  "mouse,up,1";
14347                source:  "arrow";
14348                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
14349            }
14350            program {
14351                name:    "go_expanded";
14352                signal:  "elm,state,expanded";
14353                source:  "elm";
14354                action:  STATE_SET "active" 0.0;
14355                target:  "arrow";
14356            }
14357            program {
14358                name:    "go_contracted";
14359                signal:  "elm,state,contracted";
14360                source:  "elm";
14361                action:  STATE_SET "default" 0.0;
14362                target:  "arrow";
14363            }
14364        }
14365    }
14366
14367
14368    group { name: "elm/genlist/item/double_label/default";
14369       data.item: "stacking" "above";
14370       data.item: "selectraise" "on";
14371       data.item: "labels" "elm.text elm.text.sub";
14372       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14373       data.item: "treesize" "20";
14374 //      data.item: "states" "";
14375       images {
14376          image: "bt_sm_base1.png" COMP;
14377          image: "bt_sm_shine.png" COMP;
14378          image: "bt_sm_hilight.png" COMP;
14379          image: "ilist_1.png" COMP;
14380          image: "ilist_item_shadow.png" COMP;
14381       }
14382       parts {
14383          part {
14384             name:           "event";
14385             type:           RECT;
14386             repeat_events: 1;
14387             description {
14388                state: "default" 0.0;
14389                color: 0 0 0 0;
14390             }
14391          }
14392          part {
14393             name: "base_sh";
14394             mouse_events: 0;
14395             description {
14396                state: "default" 0.0;
14397                align: 0.0 0.0;
14398                min: 0 10;
14399                fixed: 1 1;
14400                rel1 {
14401                   to: "base";
14402                   relative: 0.0 1.0;
14403                   offset: 0 0;
14404                }
14405                rel2 {
14406                   to: "base";
14407                   relative: 1.0 1.0;
14408                   offset: -1 0;
14409                }
14410                image {
14411                   normal: "ilist_item_shadow.png";
14412                }
14413                fill.smooth: 0;
14414             }
14415          }
14416          part {
14417             name: "base";
14418             mouse_events: 0;
14419             description {
14420                state: "default" 0.0;
14421                image {
14422                   normal: "ilist_1.png";
14423                   border: 2 2 2 2;
14424                }
14425                fill.smooth: 0;
14426             }
14427          }
14428          part { name: "bg";
14429             clip_to: "disclip";
14430             mouse_events: 0;
14431             description { state: "default" 0.0;
14432                visible: 0;
14433                color: 255 255 255 0;
14434                rel1 {
14435                   relative: 0.0 0.0;
14436                   offset: -5 -5;
14437                }
14438                rel2 {
14439                   relative: 1.0 1.0;
14440                   offset: 4 4;
14441                }
14442                image {
14443                   normal: "bt_sm_base1.png";
14444                   border: 6 6 6 6;
14445                }
14446                image.middle: SOLID;
14447             }
14448             description { state: "selected" 0.0;
14449                inherit: "default" 0.0;
14450                visible: 1;
14451                color: 255 255 255 255;
14452                rel1 {
14453                   relative: 0.0 0.0;
14454                   offset: -2 -2;
14455                }
14456                rel2 {
14457                   relative: 1.0 1.0;
14458                   offset: 1 1;
14459                }
14460             }
14461          }
14462          part { name: "elm.swallow.pad";
14463             type: SWALLOW;
14464             description { state: "default" 0.0;
14465                fixed: 1 0;
14466                align: 0.0 0.5;
14467                rel1 {
14468                   relative: 0.0  0.0;
14469                   offset:   4    4;
14470                }
14471                rel2 {
14472                   relative: 0.0  1.0;
14473                   offset:   4   -5;
14474                }
14475             }
14476          }
14477          part { name: "elm.swallow.icon";
14478             clip_to: "disclip";
14479             type: SWALLOW;
14480             description { state: "default" 0.0;
14481                fixed: 1 0;
14482                align: 0.0 0.5;
14483                rel1 {
14484                   to_x: "elm.swallow.pad";
14485                   relative: 1.0  0.0;
14486                   offset:   -1    4;
14487                }
14488                rel2 {
14489                   to_x: "elm.swallow.pad";
14490                   relative: 1.0  1.0;
14491                   offset:   -1   -5;
14492                }
14493             }
14494          }
14495          part { name: "elm.swallow.end";
14496             clip_to: "disclip";
14497             type: SWALLOW;
14498             description { state: "default" 0.0;
14499                fixed: 1 0;
14500                align: 1.0 0.5;
14501                aspect: 1.0 1.0;
14502                aspect_preference: VERTICAL;
14503                rel1 {
14504                   relative: 1.0  0.0;
14505                   offset:   -5    4;
14506                }
14507                rel2 {
14508                   relative: 1.0  1.0;
14509                   offset:   -5   -5;
14510                }
14511             }
14512          }
14513          part { name: "elm.text";
14514             clip_to: "disclip";
14515             type:           TEXT;
14516             effect:         SOFT_SHADOW;
14517             mouse_events:   0;
14518             scale: 1;
14519             description {
14520                state: "default" 0.0;
14521 //               min: 16 16;
14522                rel1 {
14523                   to_x:     "elm.swallow.icon";
14524                   relative: 1.0  0.0;
14525                   offset:   0 4;
14526                }
14527                rel2 {
14528                   to_x:     "elm.swallow.end";
14529                   relative: 0.0  0.5;
14530                   offset:   -1 -5;
14531                }
14532                color: 0 0 0 255;
14533                color3: 0 0 0 0;
14534                text {
14535                   font: "Sans";
14536                   size: 10;
14537                   min: 1 1;
14538 //                  min: 0 1;
14539                   align: 0.0 0.5;
14540                }
14541             }
14542             description { state: "selected" 0.0;
14543                inherit: "default" 0.0;
14544                color: 224 224 224 255;
14545                color3: 0 0 0 64;
14546             }
14547          }
14548          part { name: "elm.text.sub";
14549             clip_to: "disclip";
14550             type:           TEXT;
14551             mouse_events:   0;
14552             scale: 1;
14553             description {
14554                state: "default" 0.0;
14555 //               min: 16 16;
14556                rel1 {
14557                   to_x:     "elm.swallow.icon";
14558                   relative: 1.0  0.5;
14559                   offset:   0 4;
14560                }
14561                rel2 {
14562                   to_x:     "elm.swallow.end";
14563                   relative: 0.0  1.0;
14564                   offset:   -1 -5;
14565                }
14566                color: 0 0 0 128;
14567                color3: 0 0 0 0;
14568                text {
14569                   font: "Sans";
14570                   size: 8;
14571                   min: 1 1;
14572 //                  min: 0 1;
14573                   align: 0.0 0.5;
14574                }
14575             }
14576             description { state: "selected" 0.0;
14577                inherit: "default" 0.0;
14578                color: 128 128 128 255;
14579                color3: 0 0 0 32;
14580             }
14581          }
14582          part { name: "fg1";
14583             clip_to: "disclip";
14584             mouse_events: 0;
14585             description { state: "default" 0.0;
14586                visible: 0;
14587                color: 255 255 255 0;
14588                rel1.to: "bg";
14589                rel2.relative: 1.0 0.5;
14590                rel2.to: "bg";
14591                image {
14592                   normal: "bt_sm_hilight.png";
14593                   border: 6 6 6 0;
14594                }
14595             }
14596             description { state: "selected" 0.0;
14597                inherit: "default" 0.0;
14598                visible: 1;
14599                color: 255 255 255 255;
14600             }
14601          }
14602          part { name: "fg2";
14603             clip_to: "disclip";
14604             mouse_events: 0;
14605             description { state: "default" 0.0;
14606                visible: 0;
14607                color: 255 255 255 0;
14608                rel1.to: "bg";
14609                rel2.to: "bg";
14610                image {
14611                   normal: "bt_sm_shine.png";
14612                   border: 6 6 6 0;
14613                }
14614             }
14615             description { state: "selected" 0.0;
14616                inherit: "default" 0.0;
14617                visible: 1;
14618                color: 255 255 255 255;
14619             }
14620          }
14621          part { name: "disclip";
14622             type: RECT;
14623             description { state: "default" 0.0;
14624                rel1.to: "bg";
14625                rel2.to: "bg";
14626             }
14627             description { state: "disabled" 0.0;
14628                inherit: "default" 0.0;
14629                color: 255 255 255 64;
14630             }
14631          }
14632       }
14633       programs {
14634          // signal: elm,state,%s,active
14635          //   a "check" item named %s went active
14636          // signal: elm,state,%s,passive
14637          //   a "check" item named %s went passive
14638          // default is passive
14639          program {
14640             name:    "go_active";
14641             signal:  "elm,state,selected";
14642             source:  "elm";
14643             action:  STATE_SET "selected" 0.0;
14644             target:  "bg";
14645             target:  "fg1";
14646             target:  "fg2";
14647             target:  "elm.text";
14648             target:  "elm.text.sub";
14649          }
14650          program {
14651             name:    "go_passive";
14652             signal:  "elm,state,unselected";
14653             source:  "elm";
14654             action:  STATE_SET "default" 0.0;
14655             target:  "bg";
14656             target:  "fg1";
14657             target:  "fg2";
14658             target:  "elm.text";
14659             target:  "elm.text.sub";
14660             transition: LINEAR 0.1;
14661          }
14662          program {
14663             name:    "go_disabled";
14664             signal:  "elm,state,disabled";
14665             source:  "elm";
14666             action:  STATE_SET "disabled" 0.0;
14667             target:  "disclip";
14668          }
14669          program {
14670             name:    "go_enabled";
14671             signal:  "elm,state,enabled";
14672             source:  "elm";
14673             action:  STATE_SET "default" 0.0;
14674             target:  "disclip";
14675          }
14676       }
14677    }
14678    group { name: "elm/genlist/item_compress/double_label/default";
14679       data.item: "stacking" "above";
14680       data.item: "selectraise" "on";
14681       data.item: "labels" "elm.text elm.text.sub";
14682       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14683       data.item: "treesize" "20";
14684 //      data.item: "states" "";
14685       images {
14686          image: "bt_sm_base1.png" COMP;
14687          image: "bt_sm_shine.png" COMP;
14688          image: "bt_sm_hilight.png" COMP;
14689          image: "ilist_1.png" COMP;
14690          image: "ilist_item_shadow.png" COMP;
14691       }
14692       parts {
14693          part {
14694             name:           "event";
14695             type:           RECT;
14696             repeat_events: 1;
14697             description {
14698                state: "default" 0.0;
14699                color: 0 0 0 0;
14700             }
14701          }
14702          part {
14703             name: "base_sh";
14704             mouse_events: 0;
14705             description {
14706                state: "default" 0.0;
14707                align: 0.0 0.0;
14708                min: 0 10;
14709                fixed: 1 1;
14710                rel1 {
14711                   to: "base";
14712                   relative: 0.0 1.0;
14713                   offset: 0 0;
14714                }
14715                rel2 {
14716                   to: "base";
14717                   relative: 1.0 1.0;
14718                   offset: -1 0;
14719                }
14720                image {
14721                   normal: "ilist_item_shadow.png";
14722                }
14723                fill.smooth: 0;
14724             }
14725          }
14726          part {
14727             name: "base";
14728             mouse_events: 0;
14729             description {
14730                state: "default" 0.0;
14731                image {
14732                   normal: "ilist_1.png";
14733                   border: 2 2 2 2;
14734                }
14735                fill.smooth: 0;
14736             }
14737          }
14738          part { name: "bg";
14739             clip_to: "disclip";
14740             mouse_events: 0;
14741             description { state: "default" 0.0;
14742                visible: 0;
14743                color: 255 255 255 0;
14744                rel1 {
14745                   relative: 0.0 0.0;
14746                   offset: -5 -5;
14747                }
14748                rel2 {
14749                   relative: 1.0 1.0;
14750                   offset: 4 4;
14751                }
14752                image {
14753                   normal: "bt_sm_base1.png";
14754                   border: 6 6 6 6;
14755                }
14756                image.middle: SOLID;
14757             }
14758             description { state: "selected" 0.0;
14759                inherit: "default" 0.0;
14760                visible: 1;
14761                color: 255 255 255 255;
14762                rel1 {
14763                   relative: 0.0 0.0;
14764                   offset: -2 -2;
14765                }
14766                rel2 {
14767                   relative: 1.0 1.0;
14768                   offset: 1 1;
14769                }
14770             }
14771          }
14772          part { name: "elm.swallow.pad";
14773             type: SWALLOW;
14774             description { state: "default" 0.0;
14775                fixed: 1 0;
14776                align: 0.0 0.5;
14777                rel1 {
14778                   relative: 0.0  0.0;
14779                   offset:   4    4;
14780                }
14781                rel2 {
14782                   relative: 0.0  1.0;
14783                   offset:   4   -5;
14784                }
14785             }
14786          }
14787          part { name: "elm.swallow.icon";
14788             clip_to: "disclip";
14789             type: SWALLOW;
14790             description { state: "default" 0.0;
14791                fixed: 1 0;
14792                align: 0.0 0.5;
14793                rel1 {
14794                   to_x: "elm.swallow.pad";
14795                   relative: 1.0  0.0;
14796                   offset:   -1    4;
14797                }
14798                rel2 {
14799                   to_x: "elm.swallow.pad";
14800                   relative: 1.0  1.0;
14801                   offset:   -1   -5;
14802                }
14803             }
14804          }
14805          part { name: "elm.swallow.end";
14806             clip_to: "disclip";
14807             type: SWALLOW;
14808             description { state: "default" 0.0;
14809                fixed: 1 0;
14810                align: 1.0 0.5;
14811                aspect: 1.0 1.0;
14812                aspect_preference: VERTICAL;
14813                rel1 {
14814                   relative: 1.0  0.0;
14815                   offset:   -5    4;
14816                }
14817                rel2 {
14818                   relative: 1.0  1.0;
14819                   offset:   -5   -5;
14820                }
14821             }
14822          }
14823          part { name: "elm.text";
14824             clip_to: "disclip";
14825             type:           TEXT;
14826             effect:         SOFT_SHADOW;
14827             mouse_events:   0;
14828             scale: 1;
14829             description {
14830                state: "default" 0.0;
14831 //               min: 16 16;
14832                rel1 {
14833                   to_x:     "elm.swallow.icon";
14834                   relative: 1.0  0.0;
14835                   offset:   0 4;
14836                }
14837                rel2 {
14838                   to_x:     "elm.swallow.end";
14839                   relative: 0.0  0.5;
14840                   offset:   -1 -5;
14841                }
14842                color: 0 0 0 255;
14843                color3: 0 0 0 0;
14844                text {
14845                   font: "Sans";
14846                   size: 10;
14847 //                  min: 1 1;
14848                   min: 0 1;
14849                   align: 0.0 0.5;
14850                }
14851             }
14852             description { state: "selected" 0.0;
14853                inherit: "default" 0.0;
14854                color: 224 224 224 255;
14855                color3: 0 0 0 64;
14856             }
14857          }
14858          part { name: "elm.text.sub";
14859             clip_to: "disclip";
14860             type:           TEXT;
14861             mouse_events:   0;
14862             scale: 1;
14863             description {
14864                state: "default" 0.0;
14865 //               min: 16 16;
14866                rel1 {
14867                   to_x:     "elm.swallow.icon";
14868                   relative: 1.0  0.5;
14869                   offset:   0 4;
14870                }
14871                rel2 {
14872                   to_x:     "elm.swallow.end";
14873                   relative: 0.0  1.0;
14874                   offset:   -1 -5;
14875                }
14876                color: 0 0 0 128;
14877                color3: 0 0 0 0;
14878                text {
14879                   font: "Sans";
14880                   size: 8;
14881 //                  min: 1 1;
14882                   min: 0 1;
14883                   align: 0.0 0.5;
14884                }
14885             }
14886             description { state: "selected" 0.0;
14887                inherit: "default" 0.0;
14888                color: 128 128 128 255;
14889                color3: 0 0 0 32;
14890             }
14891          }
14892          part { name: "fg1";
14893             clip_to: "disclip";
14894             mouse_events: 0;
14895             description { state: "default" 0.0;
14896                visible: 0;
14897                color: 255 255 255 0;
14898                rel1.to: "bg";
14899                rel2.relative: 1.0 0.5;
14900                rel2.to: "bg";
14901                image {
14902                   normal: "bt_sm_hilight.png";
14903                   border: 6 6 6 0;
14904                }
14905             }
14906             description { state: "selected" 0.0;
14907                inherit: "default" 0.0;
14908                visible: 1;
14909                color: 255 255 255 255;
14910             }
14911          }
14912          part { name: "fg2";
14913             clip_to: "disclip";
14914             mouse_events: 0;
14915             description { state: "default" 0.0;
14916                visible: 0;
14917                color: 255 255 255 0;
14918                rel1.to: "bg";
14919                rel2.to: "bg";
14920                image {
14921                   normal: "bt_sm_shine.png";
14922                   border: 6 6 6 0;
14923                }
14924             }
14925             description { state: "selected" 0.0;
14926                inherit: "default" 0.0;
14927                visible: 1;
14928                color: 255 255 255 255;
14929             }
14930          }
14931          part { name: "disclip";
14932             type: RECT;
14933             description { state: "default" 0.0;
14934                rel1.to: "bg";
14935                rel2.to: "bg";
14936             }
14937             description { state: "disabled" 0.0;
14938                inherit: "default" 0.0;
14939                color: 255 255 255 64;
14940             }
14941          }
14942       }
14943       programs {
14944          // signal: elm,state,%s,active
14945          //   a "check" item named %s went active
14946          // signal: elm,state,%s,passive
14947          //   a "check" item named %s went passive
14948          // default is passive
14949          program {
14950             name:    "go_active";
14951             signal:  "elm,state,selected";
14952             source:  "elm";
14953             action:  STATE_SET "selected" 0.0;
14954             target:  "bg";
14955             target:  "fg1";
14956             target:  "fg2";
14957             target:  "elm.text";
14958             target:  "elm.text.sub";
14959          }
14960          program {
14961             name:    "go_passive";
14962             signal:  "elm,state,unselected";
14963             source:  "elm";
14964             action:  STATE_SET "default" 0.0;
14965             target:  "bg";
14966             target:  "fg1";
14967             target:  "fg2";
14968             target:  "elm.text";
14969             target:  "elm.text.sub";
14970             transition: LINEAR 0.1;
14971          }
14972          program {
14973             name:    "go_disabled";
14974             signal:  "elm,state,disabled";
14975             source:  "elm";
14976             action:  STATE_SET "disabled" 0.0;
14977             target:  "disclip";
14978          }
14979          program {
14980             name:    "go_enabled";
14981             signal:  "elm,state,enabled";
14982             source:  "elm";
14983             action:  STATE_SET "default" 0.0;
14984             target:  "disclip";
14985          }
14986       }
14987    }
14988    group { name: "elm/genlist/item_odd/double_label/default";
14989       data.item: "stacking" "below";
14990       data.item: "selectraise" "on";
14991       data.item: "labels" "elm.text elm.text.sub";
14992       data.item: "icons" "elm.swallow.icon elm.swallow.end";
14993       data.item: "treesize" "20";
14994 //      data.item: "states" "";
14995       images {
14996          image: "bt_sm_base1.png" COMP;
14997          image: "bt_sm_shine.png" COMP;
14998          image: "bt_sm_hilight.png" COMP;
14999          image: "ilist_2.png" COMP;
15000       }
15001       parts {
15002          part { name: "event";
15003             type: RECT;
15004             repeat_events: 1;
15005             description {
15006                state: "default" 0.0;
15007                color: 0 0 0 0;
15008             }
15009          }
15010          part {
15011             name: "base";
15012             mouse_events: 0;
15013             description {
15014                state: "default" 0.0;
15015                image {
15016                   normal: "ilist_2.png";
15017                   border: 2 2 2 2;
15018                }
15019                fill.smooth: 0;
15020             }
15021          }
15022          part { name: "bg";
15023             clip_to: "disclip";
15024             mouse_events: 0;
15025             description { state: "default" 0.0;
15026                visible: 0;
15027                color: 255 255 255 0;
15028                rel1 {
15029                   relative: 0.0 0.0;
15030                   offset: -5 -5;
15031                }
15032                rel2 {
15033                   relative: 1.0 1.0;
15034                   offset: 4 4;
15035                }
15036                image {
15037                   normal: "bt_sm_base1.png";
15038                   border: 6 6 6 6;
15039                }
15040                image.middle: SOLID;
15041             }
15042             description { state: "selected" 0.0;
15043                inherit: "default" 0.0;
15044                visible: 1;
15045                color: 255 255 255 255;
15046                rel1 {
15047                   relative: 0.0 0.0;
15048                   offset: -2 -2;
15049                }
15050                rel2 {
15051                   relative: 1.0 1.0;
15052                   offset: 1 1;
15053                }
15054             }
15055          }
15056          part { name: "elm.swallow.pad";
15057             type: SWALLOW;
15058             description { state: "default" 0.0;
15059                fixed: 1 0;
15060                align: 0.0 0.5;
15061                rel1 {
15062                   relative: 0.0  0.0;
15063                   offset:   4    4;
15064                }
15065                rel2 {
15066                   relative: 0.0  1.0;
15067                   offset:   4   -5;
15068                }
15069             }
15070          }
15071          part { name: "elm.swallow.icon";
15072             clip_to: "disclip";
15073             type: SWALLOW;
15074             description { state: "default" 0.0;
15075                fixed: 1 0;
15076                align: 0.0 0.5;
15077                rel1 {
15078                   to_x: "elm.swallow.pad";
15079                   relative: 1.0  0.0;
15080                   offset:   -1    4;
15081                }
15082                rel2 {
15083                   to_x: "elm.swallow.pad";
15084                   relative: 1.0  1.0;
15085                   offset:   -1   -5;
15086                }
15087             }
15088          }
15089          part { name: "elm.swallow.end";
15090             clip_to: "disclip";
15091             type:          SWALLOW;
15092             description { state:    "default" 0.0;
15093                fixed: 1 0;
15094                align:    1.0 0.5;
15095                aspect: 1.0 1.0;
15096                aspect_preference: VERTICAL;
15097                rel1 {
15098                   relative: 1.0  0.0;
15099                   offset:   -5    4;
15100                }
15101                rel2 {
15102                   relative: 1.0  1.0;
15103                   offset:   -5   -5;
15104                }
15105             }
15106          }
15107          part { name: "elm.text";
15108             clip_to: "disclip";
15109             type:           TEXT;
15110             effect:         SOFT_SHADOW;
15111             mouse_events:   0;
15112             scale: 1;
15113             description {
15114                state: "default" 0.0;
15115 //               min: 16 16;
15116                rel1 {
15117                   to_x:     "elm.swallow.icon";
15118                   relative: 1.0  0.0;
15119                   offset:   0 4;
15120                }
15121                rel2 {
15122                   to_x:     "elm.swallow.end";
15123                   relative: 0.0  0.5;
15124                   offset:   -1 -5;
15125                }
15126                color: 0 0 0 255;
15127                color3: 0 0 0 0;
15128                text {
15129                   font: "Sans";
15130                   size: 10;
15131                   min: 1 1;
15132 //                  min: 0 1;
15133                   align: 0.0 0.5;
15134                }
15135             }
15136             description { state: "selected" 0.0;
15137                inherit: "default" 0.0;
15138                color: 224 224 224 255;
15139                color3: 0 0 0 64;
15140             }
15141          }
15142          part { name: "elm.text.sub";
15143             clip_to: "disclip";
15144             type:           TEXT;
15145             mouse_events:   0;
15146             scale: 1;
15147             description {
15148                state: "default" 0.0;
15149 //               min: 16 16;
15150                rel1 {
15151                   to_x:     "elm.swallow.icon";
15152                   relative: 1.0  0.5;
15153                   offset:   0 4;
15154                }
15155                rel2 {
15156                   to_x:     "elm.swallow.end";
15157                   relative: 0.0  1.0;
15158                   offset:   -1 -5;
15159                }
15160                color: 0 0 0 128;
15161                color3: 0 0 0 0;
15162                text {
15163                   font: "Sans";
15164                   size: 8;
15165                   min: 1 1;
15166 //                  min: 0 1;
15167                   align: 0.0 0.5;
15168                }
15169             }
15170             description { state: "selected" 0.0;
15171                inherit: "default" 0.0;
15172                color: 128 128 128 255;
15173                color3: 0 0 0 32;
15174             }
15175          }
15176          part { name: "fg1";
15177             clip_to: "disclip";
15178             mouse_events: 0;
15179             description { state: "default" 0.0;
15180                visible: 0;
15181                color: 255 255 255 0;
15182                rel1.to: "bg";
15183                rel2.relative: 1.0 0.5;
15184                rel2.to: "bg";
15185                image {
15186                   normal: "bt_sm_hilight.png";
15187                   border: 6 6 6 0;
15188                }
15189             }
15190             description { state: "selected" 0.0;
15191                inherit: "default" 0.0;
15192                visible: 1;
15193                color: 255 255 255 255;
15194             }
15195          }
15196          part { name: "fg2";
15197             clip_to: "disclip";
15198             mouse_events: 0;
15199             description { state: "default" 0.0;
15200                visible: 0;
15201                color: 255 255 255 0;
15202                rel1.to: "bg";
15203                rel2.to: "bg";
15204                image {
15205                   normal: "bt_sm_shine.png";
15206                   border: 6 6 6 0;
15207                }
15208             }
15209             description { state: "selected" 0.0;
15210                inherit: "default" 0.0;
15211                visible: 1;
15212                color: 255 255 255 255;
15213             }
15214          }
15215          part { name: "disclip";
15216             type: RECT;
15217             description { state: "default" 0.0;
15218                rel1.to: "bg";
15219                rel2.to: "bg";
15220             }
15221             description { state: "disabled" 0.0;
15222                inherit: "default" 0.0;
15223                color: 255 255 255 64;
15224             }
15225          }
15226       }
15227       programs {
15228          // signal: elm,state,%s,active
15229          //   a "check" item named %s went active
15230          // signal: elm,state,%s,passive
15231          //   a "check" item named %s went passive
15232          // default is passive
15233          program {
15234             name:    "go_active";
15235             signal:  "elm,state,selected";
15236             source:  "elm";
15237             action:  STATE_SET "selected" 0.0;
15238             target:  "bg";
15239             target:  "fg1";
15240             target:  "fg2";
15241             target:  "elm.text";
15242             target:  "elm.text.sub";
15243          }
15244          program {
15245             name:    "go_passive";
15246             signal:  "elm,state,unselected";
15247             source:  "elm";
15248             action:  STATE_SET "default" 0.0;
15249             target:  "bg";
15250             target:  "fg1";
15251             target:  "fg2";
15252             target:  "elm.text";
15253             target:  "elm.text.sub";
15254             transition: LINEAR 0.1;
15255          }
15256          program {
15257             name:    "go_disabled";
15258             signal:  "elm,state,disabled";
15259             source:  "elm";
15260             action:  STATE_SET "disabled" 0.0;
15261             target:  "disclip";
15262          }
15263          program {
15264             name:    "go_enabled";
15265             signal:  "elm,state,enabled";
15266             source:  "elm";
15267             action:  STATE_SET "default" 0.0;
15268             target:  "disclip";
15269          }
15270       }
15271    }
15272    group { name: "elm/genlist/item_compress_odd/double_label/default";
15273       data.item: "stacking" "below";
15274       data.item: "selectraise" "on";
15275       data.item: "labels" "elm.text elm.text.sub";
15276       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15277       data.item: "treesize" "20";
15278 //      data.item: "states" "";
15279       images {
15280          image: "bt_sm_base1.png" COMP;
15281          image: "bt_sm_shine.png" COMP;
15282          image: "bt_sm_hilight.png" COMP;
15283          image: "ilist_2.png" COMP;
15284       }
15285       parts {
15286          part { name: "event";
15287             type: RECT;
15288             repeat_events: 1;
15289             description {
15290                state: "default" 0.0;
15291                color: 0 0 0 0;
15292             }
15293          }
15294          part {
15295             name: "base";
15296             mouse_events: 0;
15297             description {
15298                state: "default" 0.0;
15299                image {
15300                   normal: "ilist_2.png";
15301                   border: 2 2 2 2;
15302                }
15303                fill.smooth: 0;
15304             }
15305          }
15306          part { name: "bg";
15307             clip_to: "disclip";
15308             mouse_events: 0;
15309             description { state: "default" 0.0;
15310                visible: 0;
15311                color: 255 255 255 0;
15312                rel1 {
15313                   relative: 0.0 0.0;
15314                   offset: -5 -5;
15315                }
15316                rel2 {
15317                   relative: 1.0 1.0;
15318                   offset: 4 4;
15319                }
15320                image {
15321                   normal: "bt_sm_base1.png";
15322                   border: 6 6 6 6;
15323                }
15324                image.middle: SOLID;
15325             }
15326             description { state: "selected" 0.0;
15327                inherit: "default" 0.0;
15328                visible: 1;
15329                color: 255 255 255 255;
15330                rel1 {
15331                   relative: 0.0 0.0;
15332                   offset: -2 -2;
15333                }
15334                rel2 {
15335                   relative: 1.0 1.0;
15336                   offset: 1 1;
15337                }
15338             }
15339          }
15340          part { name: "elm.swallow.pad";
15341             type: SWALLOW;
15342             description { state: "default" 0.0;
15343                fixed: 1 0;
15344                align: 0.0 0.5;
15345                rel1 {
15346                   relative: 0.0  0.0;
15347                   offset:   4    4;
15348                }
15349                rel2 {
15350                   relative: 0.0  1.0;
15351                   offset:   4   -5;
15352                }
15353             }
15354          }
15355          part { name: "elm.swallow.icon";
15356             clip_to: "disclip";
15357             type: SWALLOW;
15358             description { state: "default" 0.0;
15359                fixed: 1 0;
15360                align: 0.0 0.5;
15361                rel1 {
15362                   to_x: "elm.swallow.pad";
15363                   relative: 1.0  0.0;
15364                   offset:   -1    4;
15365                }
15366                rel2 {
15367                   to_x: "elm.swallow.pad";
15368                   relative: 1.0  1.0;
15369                   offset:   -1   -5;
15370                }
15371             }
15372          }
15373          part { name: "elm.swallow.end";
15374             clip_to: "disclip";
15375             type:          SWALLOW;
15376             description { state:    "default" 0.0;
15377                fixed: 1 0;
15378                align:    1.0 0.5;
15379                aspect: 1.0 1.0;
15380                aspect_preference: VERTICAL;
15381                rel1 {
15382                   relative: 1.0  0.0;
15383                   offset:   -5    4;
15384                }
15385                rel2 {
15386                   relative: 1.0  1.0;
15387                   offset:   -5   -5;
15388                }
15389             }
15390          }
15391          part { name: "elm.text";
15392             clip_to: "disclip";
15393             type:           TEXT;
15394             effect:         SOFT_SHADOW;
15395             mouse_events:   0;
15396             scale: 1;
15397             description {
15398                state: "default" 0.0;
15399 //               min: 16 16;
15400                rel1 {
15401                   to_x:     "elm.swallow.icon";
15402                   relative: 1.0  0.0;
15403                   offset:   0 4;
15404                }
15405                rel2 {
15406                   to_x:     "elm.swallow.end";
15407                   relative: 0.0  0.5;
15408                   offset:   -1 -5;
15409                }
15410                color: 0 0 0 255;
15411                color3: 0 0 0 0;
15412                text {
15413                   font: "Sans";
15414                   size: 10;
15415 //                  min: 1 1;
15416                   min: 0 1;
15417                   align: 0.0 0.5;
15418                }
15419             }
15420             description { state: "selected" 0.0;
15421                inherit: "default" 0.0;
15422                color: 224 224 224 255;
15423                color3: 0 0 0 64;
15424             }
15425          }
15426          part { name: "elm.text.sub";
15427             clip_to: "disclip";
15428             type:           TEXT;
15429             mouse_events:   0;
15430             scale: 1;
15431             description {
15432                state: "default" 0.0;
15433 //               min: 16 16;
15434                rel1 {
15435                   to_x:     "elm.swallow.icon";
15436                   relative: 1.0  0.5;
15437                   offset:   0 4;
15438                }
15439                rel2 {
15440                   to_x:     "elm.swallow.end";
15441                   relative: 0.0  1.0;
15442                   offset:   -1 -5;
15443                }
15444                color: 0 0 0 128;
15445                color3: 0 0 0 0;
15446                text {
15447                   font: "Sans";
15448                   size: 8;
15449 //                  min: 1 1;
15450                   min: 0 1;
15451                   align: 0.0 0.5;
15452                }
15453             }
15454             description { state: "selected" 0.0;
15455                inherit: "default" 0.0;
15456                color: 128 128 128 255;
15457                color3: 0 0 0 32;
15458             }
15459          }
15460          part { name: "fg1";
15461             clip_to: "disclip";
15462             mouse_events: 0;
15463             description { state: "default" 0.0;
15464                visible: 0;
15465                color: 255 255 255 0;
15466                rel1.to: "bg";
15467                rel2.relative: 1.0 0.5;
15468                rel2.to: "bg";
15469                image {
15470                   normal: "bt_sm_hilight.png";
15471                   border: 6 6 6 0;
15472                }
15473             }
15474             description { state: "selected" 0.0;
15475                inherit: "default" 0.0;
15476                visible: 1;
15477                color: 255 255 255 255;
15478             }
15479          }
15480          part { name: "fg2";
15481             clip_to: "disclip";
15482             mouse_events: 0;
15483             description { state: "default" 0.0;
15484                visible: 0;
15485                color: 255 255 255 0;
15486                rel1.to: "bg";
15487                rel2.to: "bg";
15488                image {
15489                   normal: "bt_sm_shine.png";
15490                   border: 6 6 6 0;
15491                }
15492             }
15493             description { state: "selected" 0.0;
15494                inherit: "default" 0.0;
15495                visible: 1;
15496                color: 255 255 255 255;
15497             }
15498          }
15499          part { name: "disclip";
15500             type: RECT;
15501             description { state: "default" 0.0;
15502                rel1.to: "bg";
15503                rel2.to: "bg";
15504             }
15505             description { state: "disabled" 0.0;
15506                inherit: "default" 0.0;
15507                color: 255 255 255 64;
15508             }
15509          }
15510       }
15511       programs {
15512          // signal: elm,state,%s,active
15513          //   a "check" item named %s went active
15514          // signal: elm,state,%s,passive
15515          //   a "check" item named %s went passive
15516          // default is passive
15517          program {
15518             name:    "go_active";
15519             signal:  "elm,state,selected";
15520             source:  "elm";
15521             action:  STATE_SET "selected" 0.0;
15522             target:  "bg";
15523             target:  "fg1";
15524             target:  "fg2";
15525             target:  "elm.text";
15526             target:  "elm.text.sub";
15527          }
15528          program {
15529             name:    "go_passive";
15530             signal:  "elm,state,unselected";
15531             source:  "elm";
15532             action:  STATE_SET "default" 0.0;
15533             target:  "bg";
15534             target:  "fg1";
15535             target:  "fg2";
15536             target:  "elm.text";
15537             target:  "elm.text.sub";
15538             transition: LINEAR 0.1;
15539          }
15540          program {
15541             name:    "go_disabled";
15542             signal:  "elm,state,disabled";
15543             source:  "elm";
15544             action:  STATE_SET "disabled" 0.0;
15545             target:  "disclip";
15546          }
15547          program {
15548             name:    "go_enabled";
15549             signal:  "elm,state,enabled";
15550             source:  "elm";
15551             action:  STATE_SET "default" 0.0;
15552             target:  "disclip";
15553          }
15554       }
15555    }
15556
15557    group { name: "elm/genlist/tree/double_label/default";
15558       data.item: "stacking" "above";
15559       data.item: "selectraise" "on";
15560       data.item: "labels" "elm.text elm.text.sub";
15561       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15562       data.item: "treesize" "20";
15563 //      data.item: "states" "";
15564       images {
15565          image: "bt_sm_base1.png" COMP;
15566          image: "bt_sm_shine.png" COMP;
15567          image: "bt_sm_hilight.png" COMP;
15568          image: "ilist_1.png" COMP;
15569          image: "ilist_item_shadow.png" COMP;
15570          image: "icon_arrow_right.png" COMP;
15571          image: "icon_arrow_down.png" COMP;
15572       }
15573       parts {
15574          part {
15575             name:           "event";
15576             type:           RECT;
15577             repeat_events: 1;
15578             description {
15579                state: "default" 0.0;
15580                color: 0 0 0 0;
15581             }
15582          }
15583          part {
15584             name: "base_sh";
15585             mouse_events: 0;
15586             description {
15587                state: "default" 0.0;
15588                align: 0.0 0.0;
15589                min: 0 10;
15590                fixed: 1 1;
15591                rel1 {
15592                   to: "base";
15593                   relative: 0.0 1.0;
15594                   offset: 0 0;
15595                }
15596                rel2 {
15597                   to: "base";
15598                   relative: 1.0 1.0;
15599                   offset: -1 0;
15600                }
15601                image {
15602                   normal: "ilist_item_shadow.png";
15603                }
15604                fill.smooth: 0;
15605             }
15606          }
15607          part {
15608             name: "base";
15609             mouse_events: 0;
15610             description {
15611                state: "default" 0.0;
15612                image {
15613                   normal: "ilist_1.png";
15614                   border: 2 2 2 2;
15615                }
15616                fill.smooth: 0;
15617             }
15618          }
15619          part { name: "bg";
15620             clip_to: "disclip";
15621             mouse_events: 0;
15622             description { state: "default" 0.0;
15623                visible: 0;
15624                color: 255 255 255 0;
15625                rel1 {
15626                   relative: 0.0 0.0;
15627                   offset: -5 -5;
15628                }
15629                rel2 {
15630                   relative: 1.0 1.0;
15631                   offset: 4 4;
15632                }
15633                image {
15634                   normal: "bt_sm_base1.png";
15635                   border: 6 6 6 6;
15636                }
15637                image.middle: SOLID;
15638             }
15639             description { state: "selected" 0.0;
15640                inherit: "default" 0.0;
15641                visible: 1;
15642                color: 255 255 255 255;
15643                rel1 {
15644                   relative: 0.0 0.0;
15645                   offset: -2 -2;
15646                }
15647                rel2 {
15648                   relative: 1.0 1.0;
15649                   offset: 1 1;
15650                }
15651             }
15652          }
15653          part { name: "elm.swallow.pad";
15654             type: SWALLOW;
15655             description { state: "default" 0.0;
15656                fixed: 1 0;
15657                align: 0.0 0.5;
15658                rel1 {
15659                   relative: 0.0  0.0;
15660                   offset:   4    4;
15661                }
15662                rel2 {
15663                   relative: 0.0  1.0;
15664                   offset:   4   -5;
15665                }
15666             }
15667          }
15668          part { name: "arrow";
15669             clip_to: "disclip";
15670             ignore_flags: ON_HOLD;
15671             description { state: "default" 0.0;
15672                fixed: 1 0;
15673                align: 0.0 0.5;
15674                aspect: 1.0 1.0;
15675                rel1 {
15676                   to_x: "elm.swallow.pad";
15677                   relative: 1.0  0.0;
15678                   offset:   -1    4;
15679                }
15680                rel2 {
15681                   to_x: "elm.swallow.pad";
15682                   relative: 1.0  1.0;
15683                   offset:   -1   -5;
15684                }
15685                image.normal: "icon_arrow_right.png";
15686             }
15687             description { state: "active" 0.0;
15688                inherit: "default" 0.0;
15689                image.normal: "icon_arrow_down.png";
15690             }
15691          }
15692          part { name: "elm.swallow.icon";
15693             clip_to: "disclip";
15694             type: SWALLOW;
15695             description { state: "default" 0.0;
15696                fixed: 1 0;
15697                align: 0.0 0.5;
15698                rel1 {
15699                   to_x: "arrow";
15700                   relative: 1.0  0.0;
15701                   offset:   4    4;
15702                }
15703                rel2 {
15704                   to_x: "arrow";
15705                   relative: 1.0  1.0;
15706                   offset:   4   -5;
15707                }
15708             }
15709          }
15710          part { name: "elm.swallow.end";
15711             clip_to: "disclip";
15712             type: SWALLOW;
15713             description { state: "default" 0.0;
15714                fixed: 1 0;
15715                align: 1.0 0.5;
15716                aspect: 1.0 1.0;
15717                aspect_preference: VERTICAL;
15718                rel1 {
15719                   relative: 1.0  0.0;
15720                   offset:   -5    4;
15721                }
15722                rel2 {
15723                   relative: 1.0  1.0;
15724                   offset:   -5   -5;
15725                }
15726             }
15727          }
15728          part { name: "elm.text";
15729             clip_to: "disclip";
15730             type:           TEXT;
15731             effect:         SOFT_SHADOW;
15732             mouse_events:   0;
15733             scale: 1;
15734             description {
15735                state: "default" 0.0;
15736 //               min: 16 16;
15737                rel1 {
15738                   to_x:     "elm.swallow.icon";
15739                   relative: 1.0  0.0;
15740                   offset:   0 4;
15741                }
15742                rel2 {
15743                   to_x:     "elm.swallow.end";
15744                   relative: 0.0  0.5;
15745                   offset:   -1 -5;
15746                }
15747                color: 0 0 0 255;
15748                color3: 0 0 0 0;
15749                text {
15750                   font: "Sans";
15751                   size: 10;
15752                   min: 1 1;
15753 //                  min: 0 1;
15754                   align: 0.0 0.5;
15755                }
15756             }
15757             description { state: "selected" 0.0;
15758                inherit: "default" 0.0;
15759                color: 224 224 224 255;
15760                color3: 0 0 0 64;
15761             }
15762          }
15763          part { name: "elm.text.sub";
15764             clip_to: "disclip";
15765             type:           TEXT;
15766             mouse_events:   0;
15767             scale: 1;
15768             description {
15769                state: "default" 0.0;
15770 //               min: 16 16;
15771                rel1 {
15772                   to_x:     "elm.swallow.icon";
15773                   relative: 1.0  0.5;
15774                   offset:   0 4;
15775                }
15776                rel2 {
15777                   to_x:     "elm.swallow.end";
15778                   relative: 0.0  1.0;
15779                   offset:   -1 -5;
15780                }
15781                color: 0 0 0 128;
15782                color3: 0 0 0 0;
15783                text {
15784                   font: "Sans";
15785                   size: 8;
15786                   min: 1 1;
15787 //                  min: 0 1;
15788                   align: 0.0 0.5;
15789                }
15790             }
15791             description { state: "selected" 0.0;
15792                inherit: "default" 0.0;
15793                color: 128 128 128 255;
15794                color3: 0 0 0 32;
15795             }
15796          }
15797          part { name: "fg1";
15798             clip_to: "disclip";
15799             mouse_events: 0;
15800             description { state: "default" 0.0;
15801                visible: 0;
15802                color: 255 255 255 0;
15803                rel1.to: "bg";
15804                rel2.relative: 1.0 0.5;
15805                rel2.to: "bg";
15806                image {
15807                   normal: "bt_sm_hilight.png";
15808                   border: 6 6 6 0;
15809                }
15810             }
15811             description { state: "selected" 0.0;
15812                inherit: "default" 0.0;
15813                visible: 1;
15814                color: 255 255 255 255;
15815             }
15816          }
15817          part { name: "fg2";
15818             clip_to: "disclip";
15819             mouse_events: 0;
15820             description { state: "default" 0.0;
15821                visible: 0;
15822                color: 255 255 255 0;
15823                rel1.to: "bg";
15824                rel2.to: "bg";
15825                image {
15826                   normal: "bt_sm_shine.png";
15827                   border: 6 6 6 0;
15828                }
15829             }
15830             description { state: "selected" 0.0;
15831                inherit: "default" 0.0;
15832                visible: 1;
15833                color: 255 255 255 255;
15834             }
15835          }
15836          part { name: "disclip";
15837             type: RECT;
15838             description { state: "default" 0.0;
15839                rel1.to: "bg";
15840                rel2.to: "bg";
15841             }
15842             description { state: "disabled" 0.0;
15843                inherit: "default" 0.0;
15844                color: 255 255 255 64;
15845             }
15846          }
15847       }
15848       programs {
15849          // signal: elm,state,%s,active
15850          //   a "check" item named %s went active
15851          // signal: elm,state,%s,passive
15852          //   a "check" item named %s went passive
15853          // default is passive
15854          program {
15855             name:    "go_active";
15856             signal:  "elm,state,selected";
15857             source:  "elm";
15858             action:  STATE_SET "selected" 0.0;
15859             target:  "bg";
15860             target:  "fg1";
15861             target:  "fg2";
15862             target:  "elm.text";
15863             target:  "elm.text.sub";
15864          }
15865          program {
15866             name:    "go_passive";
15867             signal:  "elm,state,unselected";
15868             source:  "elm";
15869             action:  STATE_SET "default" 0.0;
15870             target:  "bg";
15871             target:  "fg1";
15872             target:  "fg2";
15873             target:  "elm.text";
15874             target:  "elm.text.sub";
15875             transition: LINEAR 0.1;
15876          }
15877          program {
15878             name:    "go_disabled";
15879             signal:  "elm,state,disabled";
15880             source:  "elm";
15881             action:  STATE_SET "disabled" 0.0;
15882             target:  "disclip";
15883          }
15884          program {
15885             name:    "go_enabled";
15886             signal:  "elm,state,enabled";
15887             source:  "elm";
15888             action:  STATE_SET "default" 0.0;
15889             target:  "disclip";
15890          }
15891          program {
15892             name:    "expand";
15893             signal:  "mouse,up,1";
15894             source:  "arrow";
15895             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
15896          }
15897          program {
15898             name:    "go_expanded";
15899             signal:  "elm,state,expanded";
15900             source:  "elm";
15901             action:  STATE_SET "active" 0.0;
15902             target:  "arrow";
15903          }
15904          program {
15905             name:    "go_contracted";
15906             signal:  "elm,state,contracted";
15907             source:  "elm";
15908             action:  STATE_SET "default" 0.0;
15909             target:  "arrow";
15910          }
15911       }
15912    }
15913    group { name: "elm/genlist/tree_compress/double_label/default";
15914       data.item: "stacking" "above";
15915       data.item: "selectraise" "on";
15916       data.item: "labels" "elm.text elm.text.sub";
15917       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15918       data.item: "treesize" "20";
15919 //      data.item: "states" "";
15920       images {
15921          image: "bt_sm_base1.png" COMP;
15922          image: "bt_sm_shine.png" COMP;
15923          image: "bt_sm_hilight.png" COMP;
15924          image: "ilist_1.png" COMP;
15925          image: "ilist_item_shadow.png" COMP;
15926          image: "icon_arrow_right.png" COMP;
15927          image: "icon_arrow_down.png" COMP;
15928       }
15929       parts {
15930          part {
15931             name:           "event";
15932             type:           RECT;
15933             repeat_events: 1;
15934             description {
15935                state: "default" 0.0;
15936                color: 0 0 0 0;
15937             }
15938          }
15939          part {
15940             name: "base_sh";
15941             mouse_events: 0;
15942             description {
15943                state: "default" 0.0;
15944                align: 0.0 0.0;
15945                min: 0 10;
15946                fixed: 1 1;
15947                rel1 {
15948                   to: "base";
15949                   relative: 0.0 1.0;
15950                   offset: 0 0;
15951                }
15952                rel2 {
15953                   to: "base";
15954                   relative: 1.0 1.0;
15955                   offset: -1 0;
15956                }
15957                image {
15958                   normal: "ilist_item_shadow.png";
15959                }
15960                fill.smooth: 0;
15961             }
15962          }
15963          part {
15964             name: "base";
15965             mouse_events: 0;
15966             description {
15967                state: "default" 0.0;
15968                image {
15969                   normal: "ilist_1.png";
15970                   border: 2 2 2 2;
15971                }
15972                fill.smooth: 0;
15973             }
15974          }
15975          part { name: "bg";
15976             clip_to: "disclip";
15977             mouse_events: 0;
15978             description { state: "default" 0.0;
15979                visible: 0;
15980                color: 255 255 255 0;
15981                rel1 {
15982                   relative: 0.0 0.0;
15983                   offset: -5 -5;
15984                }
15985                rel2 {
15986                   relative: 1.0 1.0;
15987                   offset: 4 4;
15988                }
15989                image {
15990                   normal: "bt_sm_base1.png";
15991                   border: 6 6 6 6;
15992                }
15993                image.middle: SOLID;
15994             }
15995             description { state: "selected" 0.0;
15996                inherit: "default" 0.0;
15997                visible: 1;
15998                color: 255 255 255 255;
15999                rel1 {
16000                   relative: 0.0 0.0;
16001                   offset: -2 -2;
16002                }
16003                rel2 {
16004                   relative: 1.0 1.0;
16005                   offset: 1 1;
16006                }
16007             }
16008          }
16009          part { name: "elm.swallow.pad";
16010             type: SWALLOW;
16011             description { state: "default" 0.0;
16012                fixed: 1 0;
16013                align: 0.0 0.5;
16014                rel1 {
16015                   relative: 0.0  0.0;
16016                   offset:   4    4;
16017                }
16018                rel2 {
16019                   relative: 0.0  1.0;
16020                   offset:   4   -5;
16021                }
16022             }
16023          }
16024          part { name: "arrow";
16025             clip_to: "disclip";
16026             ignore_flags: ON_HOLD;
16027             description { state: "default" 0.0;
16028                fixed: 1 0;
16029                align: 0.0 0.5;
16030                aspect: 1.0 1.0;
16031                rel1 {
16032                   to_x: "elm.swallow.pad";
16033                   relative: 1.0  0.0;
16034                   offset:   -1    4;
16035                }
16036                rel2 {
16037                   to_x: "elm.swallow.pad";
16038                   relative: 1.0  1.0;
16039                   offset:   -1   -5;
16040                }
16041                image.normal: "icon_arrow_right.png";
16042             }
16043             description { state: "active" 0.0;
16044                inherit: "default" 0.0;
16045                image.normal: "icon_arrow_down.png";
16046             }
16047          }
16048          part { name: "elm.swallow.icon";
16049             clip_to: "disclip";
16050             type: SWALLOW;
16051             description { state: "default" 0.0;
16052                fixed: 1 0;
16053                align: 0.0 0.5;
16054                rel1 {
16055                   to_x: "arrow";
16056                   relative: 1.0  0.0;
16057                   offset:   4    4;
16058                }
16059                rel2 {
16060                   to_x: "arrow";
16061                   relative: 1.0  1.0;
16062                   offset:   4   -5;
16063                }
16064             }
16065          }
16066          part { name: "elm.swallow.end";
16067             clip_to: "disclip";
16068             type: SWALLOW;
16069             description { state: "default" 0.0;
16070                fixed: 1 0;
16071                align: 1.0 0.5;
16072                aspect: 1.0 1.0;
16073                aspect_preference: VERTICAL;
16074                rel1 {
16075                   relative: 1.0  0.0;
16076                   offset:   -5    4;
16077                }
16078                rel2 {
16079                   relative: 1.0  1.0;
16080                   offset:   -5   -5;
16081                }
16082             }
16083          }
16084          part { name: "elm.text";
16085             clip_to: "disclip";
16086             type:           TEXT;
16087             effect:         SOFT_SHADOW;
16088             mouse_events:   0;
16089             scale: 1;
16090             description {
16091                state: "default" 0.0;
16092 //               min: 16 16;
16093                rel1 {
16094                   to_x:     "elm.swallow.icon";
16095                   relative: 1.0  0.0;
16096                   offset:   0 4;
16097                }
16098                rel2 {
16099                   to_x:     "elm.swallow.end";
16100                   relative: 0.0  0.5;
16101                   offset:   -1 -5;
16102                }
16103                color: 0 0 0 255;
16104                color3: 0 0 0 0;
16105                text {
16106                   font: "Sans";
16107                   size: 10;
16108 //                  min: 1 1;
16109                   min: 0 1;
16110                   align: 0.0 0.5;
16111                }
16112             }
16113             description { state: "selected" 0.0;
16114                inherit: "default" 0.0;
16115                color: 224 224 224 255;
16116                color3: 0 0 0 64;
16117             }
16118          }
16119          part { name: "elm.text.sub";
16120             clip_to: "disclip";
16121             type:           TEXT;
16122             mouse_events:   0;
16123             scale: 1;
16124             description {
16125                state: "default" 0.0;
16126 //               min: 16 16;
16127                rel1 {
16128                   to_x:     "elm.swallow.icon";
16129                   relative: 1.0  0.5;
16130                   offset:   0 4;
16131                }
16132                rel2 {
16133                   to_x:     "elm.swallow.end";
16134                   relative: 0.0  1.0;
16135                   offset:   -1 -5;
16136                }
16137                color: 0 0 0 128;
16138                color3: 0 0 0 0;
16139                text {
16140                   font: "Sans";
16141                   size: 8;
16142 //                  min: 1 1;
16143                   min: 0 1;
16144                   align: 0.0 0.5;
16145                }
16146             }
16147             description { state: "selected" 0.0;
16148                inherit: "default" 0.0;
16149                color: 128 128 128 255;
16150                color3: 0 0 0 32;
16151             }
16152          }
16153          part { name: "fg1";
16154             clip_to: "disclip";
16155             mouse_events: 0;
16156             description { state: "default" 0.0;
16157                visible: 0;
16158                color: 255 255 255 0;
16159                rel1.to: "bg";
16160                rel2.relative: 1.0 0.5;
16161                rel2.to: "bg";
16162                image {
16163                   normal: "bt_sm_hilight.png";
16164                   border: 6 6 6 0;
16165                }
16166             }
16167             description { state: "selected" 0.0;
16168                inherit: "default" 0.0;
16169                visible: 1;
16170                color: 255 255 255 255;
16171             }
16172          }
16173          part { name: "fg2";
16174             clip_to: "disclip";
16175             mouse_events: 0;
16176             description { state: "default" 0.0;
16177                visible: 0;
16178                color: 255 255 255 0;
16179                rel1.to: "bg";
16180                rel2.to: "bg";
16181                image {
16182                   normal: "bt_sm_shine.png";
16183                   border: 6 6 6 0;
16184                }
16185             }
16186             description { state: "selected" 0.0;
16187                inherit: "default" 0.0;
16188                visible: 1;
16189                color: 255 255 255 255;
16190             }
16191          }
16192          part { name: "disclip";
16193             type: RECT;
16194             description { state: "default" 0.0;
16195                rel1.to: "bg";
16196                rel2.to: "bg";
16197             }
16198             description { state: "disabled" 0.0;
16199                inherit: "default" 0.0;
16200                color: 255 255 255 64;
16201             }
16202          }
16203       }
16204       programs {
16205          // signal: elm,state,%s,active
16206          //   a "check" item named %s went active
16207          // signal: elm,state,%s,passive
16208          //   a "check" item named %s went passive
16209          // default is passive
16210          program {
16211             name:    "go_active";
16212             signal:  "elm,state,selected";
16213             source:  "elm";
16214             action:  STATE_SET "selected" 0.0;
16215             target:  "bg";
16216             target:  "fg1";
16217             target:  "fg2";
16218             target:  "elm.text";
16219             target:  "elm.text.sub";
16220          }
16221          program {
16222             name:    "go_passive";
16223             signal:  "elm,state,unselected";
16224             source:  "elm";
16225             action:  STATE_SET "default" 0.0;
16226             target:  "bg";
16227             target:  "fg1";
16228             target:  "fg2";
16229             target:  "elm.text";
16230             target:  "elm.text.sub";
16231             transition: LINEAR 0.1;
16232          }
16233          program {
16234             name:    "go_disabled";
16235             signal:  "elm,state,disabled";
16236             source:  "elm";
16237             action:  STATE_SET "disabled" 0.0;
16238             target:  "disclip";
16239          }
16240          program {
16241             name:    "go_enabled";
16242             signal:  "elm,state,enabled";
16243             source:  "elm";
16244             action:  STATE_SET "default" 0.0;
16245             target:  "disclip";
16246          }
16247          program {
16248             name:    "expand";
16249             signal:  "mouse,up,1";
16250             source:  "arrow";
16251             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16252          }
16253          program {
16254             name:    "go_expanded";
16255             signal:  "elm,state,expanded";
16256             source:  "elm";
16257             action:  STATE_SET "active" 0.0;
16258             target:  "arrow";
16259          }
16260          program {
16261             name:    "go_contracted";
16262             signal:  "elm,state,contracted";
16263             source:  "elm";
16264             action:  STATE_SET "default" 0.0;
16265             target:  "arrow";
16266          }
16267       }
16268    }
16269    group { name: "elm/genlist/tree_odd/double_label/default";
16270       data.item: "stacking" "below";
16271       data.item: "selectraise" "on";
16272       data.item: "labels" "elm.text elm.text.sub";
16273       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16274       data.item: "treesize" "20";
16275 //      data.item: "states" "";
16276       images {
16277          image: "bt_sm_base1.png" COMP;
16278          image: "bt_sm_shine.png" COMP;
16279          image: "bt_sm_hilight.png" COMP;
16280          image: "ilist_2.png" COMP;
16281          image: "icon_arrow_right.png" COMP;
16282          image: "icon_arrow_down.png" COMP;
16283       }
16284       parts {
16285          part {
16286             name:           "event";
16287             type:           RECT;
16288             repeat_events: 1;
16289             description {
16290                state: "default" 0.0;
16291                color: 0 0 0 0;
16292             }
16293          }
16294          part {
16295             name: "base";
16296             mouse_events: 0;
16297             description {
16298                state: "default" 0.0;
16299                image {
16300                   normal: "ilist_2.png";
16301                   border: 2 2 2 2;
16302                }
16303                fill.smooth: 0;
16304             }
16305          }
16306          part { name: "bg";
16307             clip_to: "disclip";
16308             mouse_events: 0;
16309             description { state: "default" 0.0;
16310                visible: 0;
16311                color: 255 255 255 0;
16312                rel1 {
16313                   relative: 0.0 0.0;
16314                   offset: -5 -5;
16315                }
16316                rel2 {
16317                   relative: 1.0 1.0;
16318                   offset: 4 4;
16319                }
16320                image {
16321                   normal: "bt_sm_base1.png";
16322                   border: 6 6 6 6;
16323                }
16324                image.middle: SOLID;
16325             }
16326             description { state: "selected" 0.0;
16327                inherit: "default" 0.0;
16328                visible: 1;
16329                color: 255 255 255 255;
16330                rel1 {
16331                   relative: 0.0 0.0;
16332                   offset: -2 -2;
16333                }
16334                rel2 {
16335                   relative: 1.0 1.0;
16336                   offset: 1 1;
16337                }
16338             }
16339          }
16340          part { name: "elm.swallow.pad";
16341             type: SWALLOW;
16342             description { state: "default" 0.0;
16343                fixed: 1 0;
16344                align: 0.0 0.5;
16345                rel1 {
16346                   relative: 0.0  0.0;
16347                   offset:   4    4;
16348                }
16349                rel2 {
16350                   relative: 0.0  1.0;
16351                   offset:   4   -5;
16352                }
16353             }
16354          }
16355          part { name: "arrow";
16356             clip_to: "disclip";
16357             ignore_flags: ON_HOLD;
16358             description { state: "default" 0.0;
16359                fixed: 1 0;
16360                align: 0.0 0.5;
16361                aspect: 1.0 1.0;
16362                rel1 {
16363                   to_x: "elm.swallow.pad";
16364                   relative: 1.0  0.0;
16365                   offset:   -1    4;
16366                }
16367                rel2 {
16368                   to_x: "elm.swallow.pad";
16369                   relative: 1.0  1.0;
16370                   offset:   -1   -5;
16371                }
16372                image.normal: "icon_arrow_right.png";
16373             }
16374             description { state: "active" 0.0;
16375                inherit: "default" 0.0;
16376                image.normal: "icon_arrow_down.png";
16377             }
16378          }
16379          part { name: "elm.swallow.icon";
16380             clip_to: "disclip";
16381             type: SWALLOW;
16382             description { state: "default" 0.0;
16383                fixed: 1 0;
16384                align: 0.0 0.5;
16385                rel1 {
16386                   to_x: "arrow";
16387                   relative: 1.0  0.0;
16388                   offset:   4    4;
16389                }
16390                rel2 {
16391                   to_x: "arrow";
16392                   relative: 1.0  1.0;
16393                   offset:   4   -5;
16394                }
16395             }
16396          }
16397          part { name: "elm.swallow.end";
16398             clip_to: "disclip";
16399             type: SWALLOW;
16400             description { state: "default" 0.0;
16401                fixed: 1 0;
16402                align: 1.0 0.5;
16403                aspect: 1.0 1.0;
16404                aspect_preference: VERTICAL;
16405                rel1 {
16406                   relative: 1.0  0.0;
16407                   offset:   -5    4;
16408                }
16409                rel2 {
16410                   relative: 1.0  1.0;
16411                   offset:   -5   -5;
16412                }
16413             }
16414          }
16415          part { name: "elm.text";
16416             clip_to: "disclip";
16417             type:           TEXT;
16418             effect:         SOFT_SHADOW;
16419             mouse_events:   0;
16420             scale: 1;
16421             description {
16422                state: "default" 0.0;
16423 //               min: 16 16;
16424                rel1 {
16425                   to_x:     "elm.swallow.icon";
16426                   relative: 1.0  0.0;
16427                   offset:   0 4;
16428                }
16429                rel2 {
16430                   to_x:     "elm.swallow.end";
16431                   relative: 0.0  0.5;
16432                   offset:   -1 -5;
16433                }
16434                color: 0 0 0 255;
16435                color3: 0 0 0 0;
16436                text {
16437                   font: "Sans";
16438                   size: 10;
16439                   min: 1 1;
16440 //                  min: 0 1;
16441                   align: 0.0 0.5;
16442                }
16443             }
16444             description { state: "selected" 0.0;
16445                inherit: "default" 0.0;
16446                color: 224 224 224 255;
16447                color3: 0 0 0 64;
16448             }
16449          }
16450          part { name: "elm.text.sub";
16451             clip_to: "disclip";
16452             type:           TEXT;
16453             mouse_events:   0;
16454             scale: 1;
16455             description {
16456                state: "default" 0.0;
16457 //               min: 16 16;
16458                rel1 {
16459                   to_x:     "elm.swallow.icon";
16460                   relative: 1.0  0.5;
16461                   offset:   0 4;
16462                }
16463                rel2 {
16464                   to_x:     "elm.swallow.end";
16465                   relative: 0.0  1.0;
16466                   offset:   -1 -5;
16467                }
16468                color: 0 0 0 128;
16469                color3: 0 0 0 0;
16470                text {
16471                   font: "Sans";
16472                   size: 8;
16473                   min: 1 1;
16474 //                  min: 0 1;
16475                   align: 0.0 0.5;
16476                }
16477             }
16478             description { state: "selected" 0.0;
16479                inherit: "default" 0.0;
16480                color: 128 128 128 255;
16481                color3: 0 0 0 32;
16482             }
16483          }
16484          part { name: "fg1";
16485             clip_to: "disclip";
16486             mouse_events: 0;
16487             description { state: "default" 0.0;
16488                visible: 0;
16489                color: 255 255 255 0;
16490                rel1.to: "bg";
16491                rel2.relative: 1.0 0.5;
16492                rel2.to: "bg";
16493                image {
16494                   normal: "bt_sm_hilight.png";
16495                   border: 6 6 6 0;
16496                }
16497             }
16498             description { state: "selected" 0.0;
16499                inherit: "default" 0.0;
16500                visible: 1;
16501                color: 255 255 255 255;
16502             }
16503          }
16504          part { name: "fg2";
16505             clip_to: "disclip";
16506             mouse_events: 0;
16507             description { state: "default" 0.0;
16508                visible: 0;
16509                color: 255 255 255 0;
16510                rel1.to: "bg";
16511                rel2.to: "bg";
16512                image {
16513                   normal: "bt_sm_shine.png";
16514                   border: 6 6 6 0;
16515                }
16516             }
16517             description { state: "selected" 0.0;
16518                inherit: "default" 0.0;
16519                visible: 1;
16520                color: 255 255 255 255;
16521             }
16522          }
16523          part { name: "disclip";
16524             type: RECT;
16525             description { state: "default" 0.0;
16526                rel1.to: "bg";
16527                rel2.to: "bg";
16528             }
16529             description { state: "disabled" 0.0;
16530                inherit: "default" 0.0;
16531                color: 255 255 255 64;
16532             }
16533          }
16534       }
16535       programs {
16536          // signal: elm,state,%s,active
16537          //   a "check" item named %s went active
16538          // signal: elm,state,%s,passive
16539          //   a "check" item named %s went passive
16540          // default is passive
16541          program {
16542             name:    "go_active";
16543             signal:  "elm,state,selected";
16544             source:  "elm";
16545             action:  STATE_SET "selected" 0.0;
16546             target:  "bg";
16547             target:  "fg1";
16548             target:  "fg2";
16549             target:  "elm.text";
16550             target:  "elm.text.sub";
16551          }
16552          program {
16553             name:    "go_passive";
16554             signal:  "elm,state,unselected";
16555             source:  "elm";
16556             action:  STATE_SET "default" 0.0;
16557             target:  "bg";
16558             target:  "fg1";
16559             target:  "fg2";
16560             target:  "elm.text";
16561             target:  "elm.text.sub";
16562             transition: LINEAR 0.1;
16563          }
16564          program {
16565             name:    "go_disabled";
16566             signal:  "elm,state,disabled";
16567             source:  "elm";
16568             action:  STATE_SET "disabled" 0.0;
16569             target:  "disclip";
16570          }
16571          program {
16572             name:    "go_enabled";
16573             signal:  "elm,state,enabled";
16574             source:  "elm";
16575             action:  STATE_SET "default" 0.0;
16576             target:  "disclip";
16577          }
16578          program {
16579             name:    "expand";
16580             signal:  "mouse,up,1";
16581             source:  "arrow";
16582             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
16583          }
16584          program {
16585             name:    "go_expanded";
16586             signal:  "elm,state,expanded";
16587             source:  "elm";
16588             action:  STATE_SET "active" 0.0;
16589             target:  "arrow";
16590          }
16591          program {
16592             name:    "go_contracted";
16593             signal:  "elm,state,contracted";
16594             source:  "elm";
16595             action:  STATE_SET "default" 0.0;
16596             target:  "arrow";
16597          }
16598       }
16599    }
16600
16601    group { name: "elm/genlist/item/icon_top_text_bottom/default";
16602       data.item: "stacking" "above";
16603       data.item: "selectraise" "on";
16604       data.item: "labels" "elm.text";
16605       data.item: "icons" "elm.swallow.icon";
16606       data.item: "treesize" "20";
16607 //      data.item: "states" "";
16608       images {
16609          image: "bt_sm_base1.png" COMP;
16610          image: "bt_sm_shine.png" COMP;
16611          image: "bt_sm_hilight.png" COMP;
16612          image: "ilist_1.png" COMP;
16613          image: "ilist_item_shadow.png" COMP;
16614       }
16615       parts {
16616          part {
16617             name:           "event";
16618             type:           RECT;
16619             repeat_events: 1;
16620             description {
16621                state: "default" 0.0;
16622                color: 0 0 0 0;
16623             }
16624          }
16625          part {
16626             name: "base_sh";
16627             mouse_events: 0;
16628             description {
16629                state: "default" 0.0;
16630                align: 0.0 0.0;
16631                min: 0 10;
16632                fixed: 1 1;
16633                rel1 {
16634                   to: "base";
16635                   relative: 0.0 1.0;
16636                   offset: 0 0;
16637                }
16638                rel2 {
16639                   to: "base";
16640                   relative: 1.0 1.0;
16641                   offset: -1 0;
16642                }
16643                image {
16644                   normal: "ilist_item_shadow.png";
16645                }
16646                fill.smooth: 0;
16647             }
16648          }
16649          part {
16650             name: "base";
16651             mouse_events: 0;
16652             description {
16653                state: "default" 0.0;
16654                image {
16655                   normal: "ilist_1.png";
16656                   border: 2 2 2 2;
16657                }
16658                fill.smooth: 0;
16659             }
16660          }
16661          part { name: "bg";
16662             clip_to: "disclip";
16663             mouse_events: 0;
16664             description { state: "default" 0.0;
16665                visible: 0;
16666                color: 255 255 255 0;
16667                rel1 {
16668                   relative: 0.0 0.0;
16669                   offset: -5 -5;
16670                }
16671                rel2 {
16672                   relative: 1.0 1.0;
16673                   offset: 4 4;
16674                }
16675                image {
16676                   normal: "bt_sm_base1.png";
16677                   border: 6 6 6 6;
16678                }
16679                image.middle: SOLID;
16680             }
16681             description { state: "selected" 0.0;
16682                inherit: "default" 0.0;
16683                visible: 1;
16684                color: 255 255 255 255;
16685                rel1 {
16686                   relative: 0.0 0.0;
16687                   offset: -2 -2;
16688                }
16689                rel2 {
16690                   relative: 1.0 1.0;
16691                   offset: 1 1;
16692                }
16693             }
16694          }
16695          part { name: "elm.swallow.pad";
16696             type: SWALLOW;
16697             description { state: "default" 0.0;
16698                fixed: 1 0;
16699                align: 0.0 0.5;
16700                rel1 {
16701                   relative: 0.0  0.0;
16702                   offset:   4    4;
16703                }
16704                rel2 {
16705                   relative: 1.0  1.0;
16706                   offset:   -4   -5;
16707                }
16708             }
16709          }
16710          part { name: "elm.swallow.icon";
16711             clip_to: "disclip";
16712             type: SWALLOW;
16713             description { state: "default" 0.0;
16714                fixed: 1 0;
16715                align: 0.5 0.5;
16716                rel1 {
16717                   to_x: "elm.swallow.pad";
16718                   relative: 0.0  0.0;
16719                   offset:   -1    4;
16720                }
16721                rel2 {
16722                   to_x: "elm.swallow.pad";
16723                   relative: 1.0  1.0;
16724                   offset:   -1   -5;
16725                }
16726             }
16727          }
16728          part { name: "elm.text";
16729             clip_to: "disclip";
16730             type:           TEXT;
16731             effect:         SOFT_SHADOW;
16732             mouse_events:   0;
16733             scale: 1;
16734             description {
16735                state: "default" 0.0;
16736 //               min: 16 16;
16737                rel1 {
16738                   to_y:     "elm.swallow.icon";
16739                   relative: 0.0  1.0;
16740                   offset:   0 4;
16741                }
16742                rel2 {
16743                   relative: 1.0  1.0;
16744                   offset:   -5 -5;
16745                }
16746                color: 0 0 0 255;
16747                color3: 0 0 0 0;
16748                text {
16749                   font: "Sans";
16750                   size: 10;
16751                   min: 1 1;
16752 //                  min: 0 1;
16753                   align: 0.5 0.5;
16754                }
16755             }
16756             description { state: "selected" 0.0;
16757                inherit: "default" 0.0;
16758                color: 224 224 224 255;
16759                color3: 0 0 0 64;
16760             }
16761          }
16762          part { name: "fg1";
16763             clip_to: "disclip";
16764             mouse_events: 0;
16765             description { state: "default" 0.0;
16766                visible: 0;
16767                color: 255 255 255 0;
16768                rel1.to: "bg";
16769                rel2.relative: 1.0 0.5;
16770                rel2.to: "bg";
16771                image {
16772                   normal: "bt_sm_hilight.png";
16773                   border: 6 6 6 0;
16774                }
16775             }
16776             description { state: "selected" 0.0;
16777                inherit: "default" 0.0;
16778                visible: 1;
16779                color: 255 255 255 255;
16780             }
16781          }
16782          part { name: "fg2";
16783             clip_to: "disclip";
16784             mouse_events: 0;
16785             description { state: "default" 0.0;
16786                visible: 0;
16787                color: 255 255 255 0;
16788                rel1.to: "bg";
16789                rel2.to: "bg";
16790                image {
16791                   normal: "bt_sm_shine.png";
16792                   border: 6 6 6 0;
16793                }
16794             }
16795             description { state: "selected" 0.0;
16796                inherit: "default" 0.0;
16797                visible: 1;
16798                color: 255 255 255 255;
16799             }
16800          }
16801          part { name: "disclip";
16802             type: RECT;
16803             description { state: "default" 0.0;
16804                rel1.to: "bg";
16805                rel2.to: "bg";
16806             }
16807             description { state: "disabled" 0.0;
16808                inherit: "default" 0.0;
16809                color: 255 255 255 64;
16810             }
16811          }
16812       }
16813       programs {
16814          // signal: elm,state,%s,active
16815          //   a "check" item named %s went active
16816          // signal: elm,state,%s,passive
16817          //   a "check" item named %s went passive
16818          // default is passive
16819          program {
16820             name:    "go_active";
16821             signal:  "elm,state,selected";
16822             source:  "elm";
16823             action:  STATE_SET "selected" 0.0;
16824             target:  "bg";
16825             target:  "fg1";
16826             target:  "fg2";
16827             target:  "elm.text";
16828          }
16829          program {
16830             name:    "go_passive";
16831             signal:  "elm,state,unselected";
16832             source:  "elm";
16833             action:  STATE_SET "default" 0.0;
16834             target:  "bg";
16835             target:  "fg1";
16836             target:  "fg2";
16837             target:  "elm.text";
16838             transition: LINEAR 0.1;
16839          }
16840          program {
16841             name:    "go_disabled";
16842             signal:  "elm,state,disabled";
16843             source:  "elm";
16844             action:  STATE_SET "disabled" 0.0;
16845             target:  "disclip";
16846          }
16847          program {
16848             name:    "go_enabled";
16849             signal:  "elm,state,enabled";
16850             source:  "elm";
16851             action:  STATE_SET "default" 0.0;
16852             target:  "disclip";
16853          }
16854       }
16855    }
16856    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
16857       data.item: "stacking" "below";
16858       data.item: "selectraise" "on";
16859       data.item: "labels" "elm.text";
16860       data.item: "icons" "elm.swallow.icon";
16861       data.item: "treesize" "20";
16862 //      data.item: "states" "";
16863       images {
16864          image: "bt_sm_base1.png" COMP;
16865          image: "bt_sm_shine.png" COMP;
16866          image: "bt_sm_hilight.png" COMP;
16867          image: "ilist_2.png" COMP;
16868       }
16869       parts {
16870          part { name: "event";
16871             type: RECT;
16872             repeat_events: 1;
16873             description {
16874                state: "default" 0.0;
16875                color: 0 0 0 0;
16876             }
16877          }
16878          part {
16879             name: "base";
16880             mouse_events: 0;
16881             description {
16882                state: "default" 0.0;
16883                image {
16884                   normal: "ilist_2.png";
16885                   border: 2 2 2 2;
16886                }
16887                fill.smooth: 0;
16888             }
16889          }
16890          part { name: "bg";
16891             clip_to: "disclip";
16892             mouse_events: 0;
16893             description { state: "default" 0.0;
16894                visible: 0;
16895                color: 255 255 255 0;
16896                rel1 {
16897                   relative: 0.0 0.0;
16898                   offset: -5 -5;
16899                }
16900                rel2 {
16901                   relative: 1.0 1.0;
16902                   offset: 4 4;
16903                }
16904                image {
16905                   normal: "bt_sm_base1.png";
16906                   border: 6 6 6 6;
16907                }
16908                image.middle: SOLID;
16909             }
16910             description { state: "selected" 0.0;
16911                inherit: "default" 0.0;
16912                visible: 1;
16913                color: 255 255 255 255;
16914                rel1 {
16915                   relative: 0.0 0.0;
16916                   offset: -2 -2;
16917                }
16918                rel2 {
16919                   relative: 1.0 1.0;
16920                   offset: 1 1;
16921                }
16922             }
16923          }
16924          part { name: "elm.swallow.pad";
16925             type: SWALLOW;
16926             description { state: "default" 0.0;
16927                fixed: 1 0;
16928                align: 0.0 0.5;
16929                rel1 {
16930                   relative: 0.0  0.0;
16931                   offset:   4    4;
16932                }
16933                rel2 {
16934                   relative: 1.0  1.0;
16935                   offset:   -4   -5;
16936                }
16937             }
16938          }
16939          part { name: "elm.swallow.icon";
16940             clip_to: "disclip";
16941             type: SWALLOW;
16942             description { state: "default" 0.0;
16943                fixed: 1 0;
16944                align: 0.5 0.5;
16945                rel1 {
16946                   to_x: "elm.swallow.pad";
16947                   relative: 0.0  0.0;
16948                   offset:   -1    4;
16949                }
16950                rel2 {
16951                   to_x: "elm.swallow.pad";
16952                   relative: 1.0  1.0;
16953                   offset:   -1   -5;
16954                }
16955             }
16956          }
16957          part { name: "elm.text";
16958             clip_to: "disclip";
16959             type:           TEXT;
16960             effect:         SOFT_SHADOW;
16961             mouse_events:   0;
16962             scale: 1;
16963             description {
16964                state: "default" 0.0;
16965 //               min:      16 16;
16966                rel1 {
16967                   to_y:     "elm.swallow.icon";
16968                   relative: 0.0  1.0;
16969                   offset:   0 4;
16970                }
16971                rel2 {
16972                   relative: 1.0  1.0;
16973                   offset:   -5 -5;
16974                }
16975                color: 0 0 0 255;
16976                color3: 0 0 0 0;
16977                text {
16978                   font: "Sans";
16979                   size: 10;
16980                   min: 1 1;
16981 //                  min: 0 1;
16982                   align: 0.5 0.5;
16983                }
16984             }
16985             description { state: "selected" 0.0;
16986                inherit: "default" 0.0;
16987                color: 224 224 224 255;
16988                color3: 0 0 0 64;
16989             }
16990          }
16991          part { name: "fg1";
16992             clip_to: "disclip";
16993             mouse_events: 0;
16994             description { state: "default" 0.0;
16995                visible: 0;
16996                color: 255 255 255 0;
16997                rel1.to: "bg";
16998                rel2.relative: 1.0 0.5;
16999                rel2.to: "bg";
17000                image {
17001                   normal: "bt_sm_hilight.png";
17002                   border: 6 6 6 0;
17003                }
17004             }
17005             description { state: "selected" 0.0;
17006                inherit: "default" 0.0;
17007                visible: 1;
17008                color: 255 255 255 255;
17009             }
17010          }
17011          part { name: "fg2";
17012             clip_to: "disclip";
17013             mouse_events: 0;
17014             description { state: "default" 0.0;
17015                visible: 0;
17016                color: 255 255 255 0;
17017                rel1.to: "bg";
17018                rel2.to: "bg";
17019                image {
17020                   normal: "bt_sm_shine.png";
17021                   border: 6 6 6 0;
17022                }
17023             }
17024             description { state: "selected" 0.0;
17025                inherit: "default" 0.0;
17026                visible: 1;
17027                color: 255 255 255 255;
17028             }
17029          }
17030          part { name: "disclip";
17031             type: RECT;
17032             description { state: "default" 0.0;
17033                rel1.to: "bg";
17034                rel2.to: "bg";
17035             }
17036             description { state: "disabled" 0.0;
17037                inherit: "default" 0.0;
17038                color: 255 255 255 64;
17039             }
17040          }
17041       }
17042       programs {
17043          // signal: elm,state,%s,active
17044          //   a "check" item named %s went active
17045          // signal: elm,state,%s,passive
17046          //   a "check" item named %s went passive
17047          // default is passive
17048          program {
17049             name:    "go_active";
17050             signal:  "elm,state,selected";
17051             source:  "elm";
17052             action:  STATE_SET "selected" 0.0;
17053             target:  "bg";
17054             target:  "fg1";
17055             target:  "fg2";
17056             target:  "elm.text";
17057          }
17058          program {
17059             name:    "go_passive";
17060             signal:  "elm,state,unselected";
17061             source:  "elm";
17062             action:  STATE_SET "default" 0.0;
17063             target:  "bg";
17064             target:  "fg1";
17065             target:  "fg2";
17066             target:  "elm.text";
17067             transition: LINEAR 0.1;
17068          }
17069          program {
17070             name:    "go_disabled";
17071             signal:  "elm,state,disabled";
17072             source:  "elm";
17073             action:  STATE_SET "disabled" 0.0;
17074             target:  "disclip";
17075          }
17076          program {
17077             name:    "go_enabled";
17078             signal:  "elm,state,enabled";
17079             source:  "elm";
17080             action:  STATE_SET "default" 0.0;
17081             target:  "disclip";
17082          }
17083       }
17084    }
17085
17086    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
17087       data.item: "stacking" "above";
17088       data.item: "selectraise" "on";
17089       data.item: "labels" "elm.text";
17090       data.item: "icons" "elm.swallow.icon";
17091       data.item: "treesize" "20";
17092 //      data.item: "states" "";
17093       images {
17094          image: "bt_sm_base1.png" COMP;
17095          image: "bt_sm_shine.png" COMP;
17096          image: "bt_sm_hilight.png" COMP;
17097          image: "ilist_1.png" COMP;
17098          image: "ilist_item_shadow.png" COMP;
17099          image: "icon_arrow_right.png" COMP;
17100          image: "icon_arrow_down.png" COMP;
17101       }
17102       parts {
17103          part {
17104             name:           "event";
17105             type:           RECT;
17106             repeat_events: 1;
17107             description {
17108                state: "default" 0.0;
17109                color: 0 0 0 0;
17110             }
17111          }
17112          part {
17113             name: "base_sh";
17114             mouse_events: 0;
17115             description {
17116                state: "default" 0.0;
17117                align: 0.0 0.0;
17118                min: 0 10;
17119                fixed: 1 1;
17120                rel1 {
17121                   to: "base";
17122                   relative: 0.0 1.0;
17123                   offset: 0 0;
17124                }
17125                rel2 {
17126                   to: "base";
17127                   relative: 1.0 1.0;
17128                   offset: -1 0;
17129                }
17130                image {
17131                   normal: "ilist_item_shadow.png";
17132                }
17133                fill.smooth: 0;
17134             }
17135          }
17136          part {
17137             name: "base";
17138             mouse_events: 0;
17139             description {
17140                state: "default" 0.0;
17141                image {
17142                   normal: "ilist_1.png";
17143                   border: 2 2 2 2;
17144                }
17145                fill.smooth: 0;
17146             }
17147          }
17148          part { name: "bg";
17149             clip_to: "disclip";
17150             mouse_events: 0;
17151             description { state: "default" 0.0;
17152                visible: 0;
17153                color: 255 255 255 0;
17154                rel1 {
17155                   relative: 0.0 0.0;
17156                   offset: -5 -5;
17157                }
17158                rel2 {
17159                   relative: 1.0 1.0;
17160                   offset: 4 4;
17161                }
17162                image {
17163                   normal: "bt_sm_base1.png";
17164                   border: 6 6 6 6;
17165                }
17166                image.middle: SOLID;
17167             }
17168             description { state: "selected" 0.0;
17169                inherit: "default" 0.0;
17170                visible: 1;
17171                color: 255 255 255 255;
17172                rel1 {
17173                   relative: 0.0 0.0;
17174                   offset: -2 -2;
17175                }
17176                rel2 {
17177                   relative: 1.0 1.0;
17178                   offset: 1 1;
17179                }
17180             }
17181          }
17182          part { name: "elm.swallow.pad";
17183             type: SWALLOW;
17184             description { state: "default" 0.0;
17185                fixed: 1 0;
17186                align: 0.0 0.5;
17187                rel1 {
17188                   relative: 0.0  0.0;
17189                   offset:   4    4;
17190                }
17191                rel2 {
17192                   relative: 0.0  1.0;
17193                   offset:   4   -5;
17194                }
17195             }
17196          }
17197          part { name: "arrow";
17198             clip_to: "disclip";
17199             ignore_flags: ON_HOLD;
17200             description { state: "default" 0.0;
17201                fixed: 1 0;
17202                align: 0.0 0.5;
17203                aspect: 1.0 1.0;
17204                rel1 {
17205                   to_x: "elm.swallow.pad";
17206                   relative: 1.0  0.0;
17207                   offset:   -1    4;
17208                }
17209                rel2 {
17210                   to_x: "elm.swallow.pad";
17211                   relative: 1.0  1.0;
17212                   offset:   -1   -5;
17213                }
17214                image.normal: "icon_arrow_right.png";
17215             }
17216             description { state: "active" 0.0;
17217                inherit: "default" 0.0;
17218                image.normal: "icon_arrow_down.png";
17219             }
17220          }
17221          part { name: "elm.swallow.icon";
17222             clip_to: "disclip";
17223             type: SWALLOW;
17224             description { state: "default" 0.0;
17225                fixed: 1 0;
17226                align: 0.5 0.5;
17227                rel1 {
17228                   to_x: "arrow";
17229                   relative: 1.0  0.0;
17230                   offset:   4    4;
17231                }
17232                rel2 {
17233                   relative: 1.0  1.0;
17234                   offset:   -4   -5;
17235                }
17236             }
17237          }
17238          part { name: "elm.text";
17239             clip_to: "disclip";
17240             type:           TEXT;
17241             effect:         SOFT_SHADOW;
17242             mouse_events:   0;
17243             scale: 1;
17244             description {
17245                state: "default" 0.0;
17246 //               min: 16 16;
17247                rel1 {
17248                   to_y:     "elm.swallow.icon";
17249                   relative: 0.0  1.0;
17250                   offset:   0 4;
17251                }
17252                rel2 {
17253                   relative: 1.0  1.0;
17254                   offset:   -5 -5;
17255                }
17256                color: 0 0 0 255;
17257                color3: 0 0 0 0;
17258                text {
17259                   font: "Sans";
17260                   size: 10;
17261                   min: 1 1;
17262 //                  min: 0 1;
17263                   align: 0.5 0.5;
17264                }
17265             }
17266             description { state: "selected" 0.0;
17267                inherit: "default" 0.0;
17268                color: 224 224 224 255;
17269                color3: 0 0 0 64;
17270             }
17271          }
17272          part { name: "fg1";
17273             clip_to: "disclip";
17274             mouse_events: 0;
17275             description { state: "default" 0.0;
17276                visible: 0;
17277                color: 255 255 255 0;
17278                rel1.to: "bg";
17279                rel2.relative: 1.0 0.5;
17280                rel2.to: "bg";
17281                image {
17282                   normal: "bt_sm_hilight.png";
17283                   border: 6 6 6 0;
17284                }
17285             }
17286             description { state: "selected" 0.0;
17287                inherit: "default" 0.0;
17288                visible: 1;
17289                color: 255 255 255 255;
17290             }
17291          }
17292          part { name: "fg2";
17293             clip_to: "disclip";
17294             mouse_events: 0;
17295             description { state: "default" 0.0;
17296                visible: 0;
17297                color: 255 255 255 0;
17298                rel1.to: "bg";
17299                rel2.to: "bg";
17300                image {
17301                   normal: "bt_sm_shine.png";
17302                   border: 6 6 6 0;
17303                }
17304             }
17305             description { state: "selected" 0.0;
17306                inherit: "default" 0.0;
17307                visible: 1;
17308                color: 255 255 255 255;
17309             }
17310          }
17311          part { name: "disclip";
17312             type: RECT;
17313             description { state: "default" 0.0;
17314                rel1.to: "bg";
17315                rel2.to: "bg";
17316             }
17317             description { state: "disabled" 0.0;
17318                inherit: "default" 0.0;
17319                color: 255 255 255 64;
17320             }
17321          }
17322       }
17323       programs {
17324          // signal: elm,state,%s,active
17325          //   a "check" item named %s went active
17326          // signal: elm,state,%s,passive
17327          //   a "check" item named %s went passive
17328          // default is passive
17329          program {
17330             name:    "go_active";
17331             signal:  "elm,state,selected";
17332             source:  "elm";
17333             action:  STATE_SET "selected" 0.0;
17334             target:  "bg";
17335             target:  "fg1";
17336             target:  "fg2";
17337             target:  "elm.text";
17338          }
17339          program {
17340             name:    "go_passive";
17341             signal:  "elm,state,unselected";
17342             source:  "elm";
17343             action:  STATE_SET "default" 0.0;
17344             target:  "bg";
17345             target:  "fg1";
17346             target:  "fg2";
17347             target:  "elm.text";
17348             transition: LINEAR 0.1;
17349          }
17350          program {
17351             name:    "go_disabled";
17352             signal:  "elm,state,disabled";
17353             source:  "elm";
17354             action:  STATE_SET "disabled" 0.0;
17355             target:  "disclip";
17356          }
17357          program {
17358             name:    "go_enabled";
17359             signal:  "elm,state,enabled";
17360             source:  "elm";
17361             action:  STATE_SET "default" 0.0;
17362             target:  "disclip";
17363          }
17364          program {
17365             name:    "expand";
17366             signal:  "mouse,up,1";
17367             source:  "arrow";
17368             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17369          }
17370          program {
17371             name:    "go_expanded";
17372             signal:  "elm,state,expanded";
17373             source:  "elm";
17374             action:  STATE_SET "active" 0.0;
17375             target:  "arrow";
17376          }
17377          program {
17378             name:    "go_contracted";
17379             signal:  "elm,state,contracted";
17380             source:  "elm";
17381             action:  STATE_SET "default" 0.0;
17382             target:  "arrow";
17383          }
17384       }
17385    }
17386    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
17387       data.item: "stacking" "below";
17388       data.item: "selectraise" "on";
17389       data.item: "labels" "elm.text";
17390       data.item: "icons" "elm.swallow.icon";
17391       data.item: "treesize" "20";
17392 //      data.item: "states" "";
17393       images {
17394          image: "bt_sm_base1.png" COMP;
17395          image: "bt_sm_shine.png" COMP;
17396          image: "bt_sm_hilight.png" COMP;
17397          image: "ilist_2.png" COMP;
17398          image: "icon_arrow_right.png" COMP;
17399          image: "icon_arrow_down.png" COMP;
17400       }
17401       parts {
17402          part {
17403             name:           "event";
17404             type:           RECT;
17405             repeat_events: 1;
17406             description {
17407                state: "default" 0.0;
17408                color: 0 0 0 0;
17409             }
17410          }
17411          part {
17412             name: "base";
17413             mouse_events: 0;
17414             description {
17415                state: "default" 0.0;
17416                image {
17417                   normal: "ilist_2.png";
17418                   border: 2 2 2 2;
17419                }
17420                fill.smooth: 0;
17421             }
17422          }
17423          part { name: "bg";
17424             clip_to: "disclip";
17425             mouse_events: 0;
17426             description { state: "default" 0.0;
17427                visible: 0;
17428                color: 255 255 255 0;
17429                rel1 {
17430                   relative: 0.0 0.0;
17431                   offset: -5 -5;
17432                }
17433                rel2 {
17434                   relative: 1.0 1.0;
17435                   offset: 4 4;
17436                }
17437                image {
17438                   normal: "bt_sm_base1.png";
17439                   border: 6 6 6 6;
17440                }
17441                image.middle: SOLID;
17442             }
17443             description { state: "selected" 0.0;
17444                inherit: "default" 0.0;
17445                visible: 1;
17446                color: 255 255 255 255;
17447                rel1 {
17448                   relative: 0.0 0.0;
17449                   offset: -2 -2;
17450                }
17451                rel2 {
17452                   relative: 1.0 1.0;
17453                   offset: 1 1;
17454                }
17455             }
17456          }
17457          part { name: "elm.swallow.pad";
17458             type: SWALLOW;
17459             description { state: "default" 0.0;
17460                fixed: 1 0;
17461                align: 0.0 0.5;
17462                rel1 {
17463                   relative: 0.0  0.0;
17464                   offset:   4    4;
17465                }
17466                rel2 {
17467                   relative: 0.0  1.0;
17468                   offset:   4   -5;
17469                }
17470             }
17471          }
17472          part { name: "arrow";
17473             clip_to: "disclip";
17474             ignore_flags: ON_HOLD;
17475             description { state: "default" 0.0;
17476                fixed: 1 0;
17477                align: 0.0 0.5;
17478                aspect: 1.0 1.0;
17479                rel1 {
17480                   to_x: "elm.swallow.pad";
17481                   relative: 1.0  0.0;
17482                   offset:   -1    4;
17483                }
17484                rel2 {
17485                   to_x: "elm.swallow.pad";
17486                   relative: 1.0  1.0;
17487                   offset:   -1   -5;
17488                }
17489                image.normal: "icon_arrow_right.png";
17490             }
17491             description { state: "active" 0.0;
17492                inherit: "default" 0.0;
17493                image.normal: "icon_arrow_down.png";
17494             }
17495          }
17496          part { name: "elm.swallow.icon";
17497             clip_to: "disclip";
17498             type: SWALLOW;
17499             description { state: "default" 0.0;
17500                fixed: 1 0;
17501                align: 0.5 0.5;
17502                rel1 {
17503                   to_x: "arrow";
17504                   relative: 1.0  0.0;
17505                   offset:   4    4;
17506                }
17507                rel2 {
17508                   relative: 1.0  1.0;
17509                   offset:   -4   -5;
17510                }
17511             }
17512          }
17513          part { name: "elm.text";
17514             clip_to: "disclip";
17515             type:           TEXT;
17516             effect:         SOFT_SHADOW;
17517             mouse_events:   0;
17518             scale: 1;
17519             description {
17520                state: "default" 0.0;
17521 //               min: 16 16;
17522                rel1 {
17523                   to_y:     "elm.swallow.icon";
17524                   relative: 0.0  1.0;
17525                   offset:   0 4;
17526                }
17527                rel2 {
17528                   relative: 1.0  1.0;
17529                   offset:   -5 -5;
17530                }
17531                color: 0 0 0 255;
17532                color3: 0 0 0 0;
17533                text {
17534                   font: "Sans";
17535                   size: 10;
17536                   min: 1 1;
17537 //                  min: 0 1;
17538                   align: 0.5 0.5;
17539                }
17540             }
17541             description { state: "selected" 0.0;
17542                inherit: "default" 0.0;
17543                color: 224 224 224 255;
17544                color3: 0 0 0 64;
17545             }
17546          }
17547          part { name: "fg1";
17548             clip_to: "disclip";
17549             mouse_events: 0;
17550             description { state: "default" 0.0;
17551                visible: 0;
17552                color: 255 255 255 0;
17553                rel1.to: "bg";
17554                rel2.relative: 1.0 0.5;
17555                rel2.to: "bg";
17556                image {
17557                   normal: "bt_sm_hilight.png";
17558                   border: 6 6 6 0;
17559                }
17560             }
17561             description { state: "selected" 0.0;
17562                inherit: "default" 0.0;
17563                visible: 1;
17564                color: 255 255 255 255;
17565             }
17566          }
17567          part { name: "fg2";
17568             clip_to: "disclip";
17569             mouse_events: 0;
17570             description { state: "default" 0.0;
17571                visible: 0;
17572                color: 255 255 255 0;
17573                rel1.to: "bg";
17574                rel2.to: "bg";
17575                image {
17576                   normal: "bt_sm_shine.png";
17577                   border: 6 6 6 0;
17578                }
17579             }
17580             description { state: "selected" 0.0;
17581                inherit: "default" 0.0;
17582                visible: 1;
17583                color: 255 255 255 255;
17584             }
17585          }
17586          part { name: "disclip";
17587             type: RECT;
17588             description { state: "default" 0.0;
17589                rel1.to: "bg";
17590                rel2.to: "bg";
17591             }
17592             description { state: "disabled" 0.0;
17593                inherit: "default" 0.0;
17594                color: 255 255 255 64;
17595             }
17596          }
17597       }
17598       programs {
17599          // signal: elm,state,%s,active
17600          //   a "check" item named %s went active
17601          // signal: elm,state,%s,passive
17602          //   a "check" item named %s went passive
17603          // default is passive
17604          program {
17605             name:    "go_active";
17606             signal:  "elm,state,selected";
17607             source:  "elm";
17608             action:  STATE_SET "selected" 0.0;
17609             target:  "bg";
17610             target:  "fg1";
17611             target:  "fg2";
17612             target:  "elm.text";
17613          }
17614          program {
17615             name:    "go_passive";
17616             signal:  "elm,state,unselected";
17617             source:  "elm";
17618             action:  STATE_SET "default" 0.0;
17619             target:  "bg";
17620             target:  "fg1";
17621             target:  "fg2";
17622             target:  "elm.text";
17623             transition: LINEAR 0.1;
17624          }
17625          program {
17626             name:    "go_disabled";
17627             signal:  "elm,state,disabled";
17628             source:  "elm";
17629             action:  STATE_SET "disabled" 0.0;
17630             target:  "disclip";
17631          }
17632          program {
17633             name:    "go_enabled";
17634             signal:  "elm,state,enabled";
17635             source:  "elm";
17636             action:  STATE_SET "default" 0.0;
17637             target:  "disclip";
17638          }
17639          program {
17640             name:    "expand";
17641             signal:  "mouse,up,1";
17642             source:  "arrow";
17643             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17644          }
17645          program {
17646             name:    "go_expanded";
17647             signal:  "elm,state,expanded";
17648             source:  "elm";
17649             action:  STATE_SET "active" 0.0;
17650             target:  "arrow";
17651          }
17652          program {
17653             name:    "go_contracted";
17654             signal:  "elm,state,contracted";
17655             source:  "elm";
17656             action:  STATE_SET "default" 0.0;
17657             target:  "arrow";
17658          }
17659       }
17660    }
17661
17662
17663 ///////////////////////////////////////////////////////////////////////////////
17664    group { name: "elm/check/base/default";
17665       images {
17666          image: "check_base.png" COMP;
17667          image: "check.png" COMP;
17668          image: "check2.png" COMP;
17669       }
17670       parts {
17671          part { name: "bg";
17672             mouse_events: 0;
17673             scale: 1;
17674             description { state: "default" 0.0;
17675                rel1.offset: 1 1;
17676                rel2.relative: 0.0 1.0;
17677                rel2.offset: 1 -2;
17678                align: 0.0 0.5;
17679                min: 16 16;
17680                max: 16 16;
17681                aspect: 1.0 1.0;
17682                aspect_preference: VERTICAL;
17683                image {
17684                   normal: "check_base.png";
17685                   border: 5 5 5 5;
17686                   middle: 0;
17687                }
17688                fill.smooth : 0;
17689             }
17690          }
17691          part { name: "check";
17692             mouse_events: 0;
17693             scale: 1;
17694             description { state: "default" 0.0;
17695                rel1 {
17696                   to: "bg";
17697                   offset: 1 1;
17698                }
17699                rel2 {
17700                   to: "bg";
17701                   offset: -2 -2;
17702                }
17703                visible: 0;
17704                color: 255 255 255 255;
17705                image.normal: "check.png";
17706             }
17707             description { state: "visible" 0.0;
17708                inherit: "default" 0.0;
17709                visible: 1;
17710             }
17711             description { state: "disabled" 0.0;
17712                inherit: "default" 0.0;
17713                visible: 0;
17714                color: 128 128 128 128;
17715             }
17716             description { state: "disabled_visible" 0.0;
17717                inherit: "default" 0.0;
17718                color: 128 128 128 128;
17719                visible: 1;
17720             }
17721          }
17722          part { name: "elm.swallow.content";
17723             type: SWALLOW;
17724             description { state: "default" 0.0;
17725                fixed: 1 0;
17726                visible: 0;
17727                color: 255 255 255 255;
17728                align: 0.0 0.5;
17729                rel1.to_x: "bg";
17730                rel1.relative: 1.0 0.0;
17731                rel1.offset: 1 1;
17732                rel2.to_x: "bg";
17733                rel2.relative: 1.0 1.0;
17734                rel2.offset: 2 -2;
17735             }
17736             description { state: "visible" 0.0;
17737                inherit: "default" 0.0;
17738                fixed: 1 1;
17739                visible: 1;
17740                aspect: 1.0 1.0;
17741                aspect_preference: VERTICAL;
17742             }
17743             description { state: "disabled" 0.0;
17744                inherit: "default" 0.0;
17745                color: 128 128 128 128;
17746             }
17747             description { state: "disabled_visible" 0.0;
17748                inherit: "default" 0.0;
17749                color: 128 128 128 128;
17750                fixed: 1 1;
17751                visible: 1;
17752                aspect: 1.0 1.0;
17753             }
17754          }
17755          part { name: "elm.text";
17756             type: TEXT;
17757             mouse_events: 0;
17758             scale: 1;
17759             description { state: "default" 0.0;
17760                visible: 0;
17761                rel1.to_x: "elm.swallow.content";
17762                rel1.relative: 1.0 0.0;
17763                rel1.offset: 1 1;
17764                rel2.relative: 1.0 1.0;
17765                rel2.offset: -2 -2;
17766                color: 0 0 0 255;
17767                text {
17768                   font: "Sans,Edje-Vera";
17769                   size: 10;
17770                   min: 0 0;
17771                   align: 0.0 0.5;
17772                }
17773             }
17774             description { state: "visible" 0.0;
17775                inherit: "default" 0.0;
17776                visible: 1;
17777                text.min: 1 1;
17778             }
17779             description { state: "disabled" 0.0;
17780                inherit: "default" 0.0;
17781                color: 0 0 0 128;
17782                color3: 0 0 0 0;
17783             }
17784             description { state: "disabled_visible" 0.0;
17785                inherit: "default" 0.0;
17786                color: 0 0 0 128;
17787                color3: 0 0 0 0;
17788                visible: 1;
17789                text.min: 1 1;
17790             }
17791          }
17792          part { name: "events";
17793             type: RECT;
17794             ignore_flags: ON_HOLD;
17795             description { state: "default" 0.0;
17796                color: 0 0 0 0;
17797             }
17798          }
17799          part { name: "disabler";
17800             type: RECT;
17801             description { state: "default" 0.0;
17802                color: 0 0 0 0;
17803                visible: 0;
17804             }
17805             description { state: "disabled" 0.0;
17806                inherit: "default" 0.0;
17807                visible: 1;
17808             }
17809          }
17810       }
17811       programs {
17812          program { name: "click";
17813             signal: "mouse,up,1";
17814             source: "events";
17815             action: SIGNAL_EMIT "elm,action,check,toggle" "";
17816          }
17817          program { name: "check_on";
17818             signal: "elm,state,check,on";
17819             source: "elm";
17820             action:  STATE_SET "visible" 0.0;
17821             target: "check";
17822          }
17823          program { name: "check_off";
17824             signal: "elm,state,check,off";
17825             source: "elm";
17826             action:  STATE_SET "default" 0.0;
17827             target: "check";
17828          }
17829          program { name: "text_show";
17830             signal: "elm,state,text,visible";
17831             source: "elm";
17832             action:  STATE_SET "visible" 0.0;
17833             target: "elm.text";
17834          }
17835          program { name: "text_hide";
17836             signal: "elm,state,text,hidden";
17837             source: "elm";
17838             action:  STATE_SET "default" 0.0;
17839             target: "elm.text";
17840          }
17841          program { name: "icon_show";
17842             signal: "elm,state,icon,visible";
17843             source: "elm";
17844             action:  STATE_SET "visible" 0.0;
17845             target: "elm.swallow.content";
17846          }
17847          program { name: "icon_hide";
17848             signal: "elm,state,icon,hidden";
17849             source: "elm";
17850             action:  STATE_SET "default" 0.0;
17851             target: "elm.swallow.content";
17852          }
17853          program { name: "disable";
17854             signal: "elm,state,disabled";
17855             source: "elm";
17856             action: STATE_SET "disabled" 0.0;
17857             target: "disabler";
17858             after: "disable_text";
17859          }
17860          program { name: "disable_text";
17861             script {
17862                new st[31];
17863                new Float:vl;
17864                get_state(PART:"elm.text", st, 30, vl);
17865                if (!strcmp(st, "visible"))
17866                  set_state(PART:"elm.text", "disabled_visible", 0.0);
17867                else
17868                  set_state(PART:"elm.text", "disabled", 0.0);
17869
17870                get_state(PART:"elm.swallow.content", st, 30, vl);
17871                if (!strcmp(st, "visible"))
17872                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
17873                else
17874                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
17875
17876                get_state(PART:"check", st, 30, vl);
17877                if (!strcmp(st, "visible"))
17878                  set_state(PART:"check", "disabled_visible", 0.0);
17879                else
17880                  set_state(PART:"check", "disabled", 0.0);
17881             }
17882          }
17883          program { name: "enable";
17884             signal: "elm,state,enabled";
17885             source: "elm";
17886             action: STATE_SET "default" 0.0;
17887             target: "disabler";
17888             after: "enable_text";
17889          }
17890          program { name: "enable_text";
17891             script {
17892                new st[31];
17893                new Float:vl;
17894                get_state(PART:"elm.text", st, 30, vl);
17895                if (!strcmp(st, "disabled_visible"))
17896                  set_state(PART:"elm.text", "visible", 0.0);
17897                else
17898                  set_state(PART:"elm.text", "default", 0.0);
17899
17900                get_state(PART:"elm.swallow.content", st, 30, vl);
17901                if (!strcmp(st, "visible"))
17902                  set_state(PART:"elm.swallow.content", "visible", 0.0);
17903                else
17904                  set_state(PART:"elm.swallow.content", "default", 0.0);
17905
17906                get_state(PART:"check", st, 30, vl);
17907                if (!strcmp(st, "visible"))
17908                  set_state(PART:"check", "visible", 0.0);
17909                else
17910                  set_state(PART:"check", "default", 0.0);
17911             }
17912          }
17913       }
17914    }
17915 ///////////////////////////////////////////////////////////////////////////////
17916    group { name: "elm/radio/base/default";
17917       images {
17918          image: "radio_base.png" COMP;
17919          image: "radio.png" COMP;
17920          image: "radio2.png" COMP;
17921       }
17922       parts {
17923          part { name: "bg";
17924             mouse_events: 0;
17925             scale: 1;
17926             description { state: "default" 0.0;
17927                rel1.offset: 1 1;
17928                rel2.relative: 0.0 1.0;
17929                rel2.offset: 1 -2;
17930                align: 0.0 0.5;
17931                min: 16 16;
17932                max: 16 16;
17933                aspect: 1.0 1.0;
17934                aspect_preference: VERTICAL;
17935                image.normal: "radio_base.png";
17936             }
17937          }
17938          part { name: "radio";
17939             mouse_events: 0;
17940             scale: 1;
17941             description { state: "default" 0.0;
17942                rel1.to: "bg";
17943                rel2.to: "bg";
17944                visible: 0;
17945                image.normal: "radio.png";
17946             }
17947             description { state: "visible" 0.0;
17948                inherit: "default" 0.0;
17949                visible: 1;
17950             }
17951          }
17952          part { name: "elm.swallow.content";
17953             type: SWALLOW;
17954             description { state: "default" 0.0;
17955                fixed: 1 0;
17956                visible: 0;
17957                align: 0.0 0.5;
17958                color: 0 0 0 0;
17959                rel1.to_x: "bg";
17960                rel1.relative: 1.0 0.0;
17961                rel1.offset: 1 1;
17962                rel2.to_x: "bg";
17963                rel2.relative: 1.0 1.0;
17964                rel2.offset: 2 -2;
17965             }
17966             description { state: "visible" 0.0;
17967                inherit: "default" 0.0;
17968                fixed: 1 1;
17969                visible: 1;
17970                color: 255 255 255 255;
17971                aspect: 1.0 1.0;
17972                aspect_preference: VERTICAL;
17973             }
17974             description { state: "disabled" 0.0;
17975                inherit: "default" 0.0;
17976                color: 128 128 128 128;
17977             }
17978             description { state: "disabled_visible" 0.0;
17979                inherit: "default" 0.0;
17980                color: 128 128 128 128;
17981                visible: 1;
17982             }
17983          }
17984          part { name: "elm.text";
17985             type: TEXT;
17986             mouse_events: 0;
17987             scale: 1;
17988             description { state: "default" 0.0;
17989                visible: 0;
17990                rel1.to_x: "elm.swallow.content";
17991                rel1.relative: 1.0 0.0;
17992                rel1.offset: 1 1;
17993                rel2.relative: 1.0 1.0;
17994                rel2.offset: -2 -2;
17995                color: 0 0 0 255;
17996                text {
17997                   font: "Sans,Edje-Vera";
17998                   size: 10;
17999                   min: 0 0;
18000                   align: 0.0 0.5;
18001                }
18002             }
18003             description { state: "visible" 0.0;
18004                inherit: "default" 0.0;
18005                visible: 1;
18006                text.min: 1 1;
18007             }
18008             description { state: "disabled" 0.0;
18009                inherit: "default" 0.0;
18010                color: 0 0 0 128;
18011                color3: 0 0 0 0;
18012             }
18013             description { state: "disabled_visible" 0.0;
18014                inherit: "default" 0.0;
18015                color: 0 0 0 128;
18016                color3: 0 0 0 0;
18017                visible: 1;
18018                text.min: 1 1;
18019             }
18020          }
18021          part { name: "events";
18022             type: RECT;
18023             ignore_flags: ON_HOLD;
18024             description { state: "default" 0.0;
18025                color: 0 0 0 0;
18026             }
18027          }
18028          part { name: "disabler";
18029             type: RECT;
18030             description { state: "default" 0.0;
18031                color: 0 0 0 0;
18032                visible: 0;
18033             }
18034             description { state: "disabled" 0.0;
18035                inherit: "default" 0.0;
18036                visible: 1;
18037             }
18038          }
18039       }
18040       programs {
18041          program { name: "click";
18042             signal: "mouse,up,1";
18043             source: "events";
18044             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
18045          }
18046          program { name: "radio_on";
18047             signal: "elm,state,radio,on";
18048             source: "elm";
18049             action:  STATE_SET "visible" 0.0;
18050             target: "radio";
18051          }
18052          program { name: "radio_off";
18053             signal: "elm,state,radio,off";
18054             source: "elm";
18055             action:  STATE_SET "default" 0.0;
18056             target: "radio";
18057          }
18058          program { name: "text_show";
18059             signal: "elm,state,text,visible";
18060             source: "elm";
18061             action:  STATE_SET "visible" 0.0;
18062             target: "elm.text";
18063          }
18064          program { name: "text_hide";
18065             signal: "elm,state,text,hidden";
18066             source: "elm";
18067             action:  STATE_SET "default" 0.0;
18068             target: "elm.text";
18069          }
18070          program { name: "icon_show";
18071             signal: "elm,state,icon,visible";
18072             source: "elm";
18073             action:  STATE_SET "visible" 0.0;
18074             target: "elm.swallow.content";
18075          }
18076          program { name: "icon_hide";
18077             signal: "elm,state,icon,hidden";
18078             source: "elm";
18079             action:  STATE_SET "default" 0.0;
18080             target: "elm.swallow.content";
18081          }
18082          program { name: "disable";
18083             signal: "elm,state,disabled";
18084             source: "elm";
18085             action: STATE_SET "disabled" 0.0;
18086             target: "disabler";
18087             after: "disable_text";
18088          }
18089          program { name: "disable_text";
18090             script {
18091                new st[31];
18092                new Float:vl;
18093                get_state(PART:"elm.text", st, 30, vl);
18094                if (!strcmp(st, "visible"))
18095                  set_state(PART:"elm.text", "disabled_visible", 0.0);
18096                else
18097                  set_state(PART:"elm.text", "disabled", 0.0);
18098
18099                get_state(PART:"elm.swallow.content", st, 30, vl);
18100                if (!strcmp(st, "visible"))
18101                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
18102                else
18103                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
18104             }
18105          }
18106          program { name: "enable";
18107             signal: "elm,state,enabled";
18108             source: "elm";
18109             action: STATE_SET "default" 0.0;
18110             target: "disabler";
18111             after: "enable_text";
18112          }
18113          program { name: "enable_text";
18114             script {
18115                new st[31];
18116                new Float:vl;
18117                get_state(PART:"elm.text", st, 30, vl);
18118                if (!strcmp(st, "disabled_visible"))
18119                  set_state(PART:"elm.text", "visible", 0.0);
18120                else
18121                  set_state(PART:"elm.text", "default", 0.0);
18122
18123                get_state(PART:"elm.swallow.content", st, 30, vl);
18124                if (!strcmp(st, "visible"))
18125                  set_state(PART:"elm.swallow.content", "visible", 0.0);
18126                else
18127                  set_state(PART:"elm.swallow.content", "default", 0.0);
18128             }
18129          }
18130       }
18131    }
18132    group { name: "elm/genlist/tree_compress_odd/double_label/default";
18133       data.item: "stacking" "below";
18134       data.item: "selectraise" "on";
18135       data.item: "labels" "elm.text elm.text.sub";
18136       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18137       data.item: "treesize" "20";
18138 //      data.item: "states" "";
18139       images {
18140          image: "bt_sm_base1.png" COMP;
18141          image: "bt_sm_shine.png" COMP;
18142          image: "bt_sm_hilight.png" COMP;
18143          image: "ilist_2.png" COMP;
18144          image: "icon_arrow_right.png" COMP;
18145          image: "icon_arrow_down.png" COMP;
18146       }
18147       parts {
18148          part {
18149             name:           "event";
18150             type:           RECT;
18151             repeat_events: 1;
18152             description {
18153                state: "default" 0.0;
18154                color: 0 0 0 0;
18155             }
18156          }
18157          part {
18158             name: "base";
18159             mouse_events: 0;
18160             description {
18161                state: "default" 0.0;
18162                image {
18163                   normal: "ilist_2.png";
18164                   border: 2 2 2 2;
18165                }
18166                fill.smooth: 0;
18167             }
18168          }
18169          part { name: "bg";
18170             clip_to: "disclip";
18171             mouse_events: 0;
18172             description { state: "default" 0.0;
18173                visible: 0;
18174                color: 255 255 255 0;
18175                rel1 {
18176                   relative: 0.0 0.0;
18177                   offset: -5 -5;
18178                }
18179                rel2 {
18180                   relative: 1.0 1.0;
18181                   offset: 4 4;
18182                }
18183                image {
18184                   normal: "bt_sm_base1.png";
18185                   border: 6 6 6 6;
18186                }
18187                image.middle: SOLID;
18188             }
18189             description { state: "selected" 0.0;
18190                inherit: "default" 0.0;
18191                visible: 1;
18192                color: 255 255 255 255;
18193                rel1 {
18194                   relative: 0.0 0.0;
18195                   offset: -2 -2;
18196                }
18197                rel2 {
18198                   relative: 1.0 1.0;
18199                   offset: 1 1;
18200                }
18201             }
18202          }
18203          part { name: "elm.swallow.pad";
18204             type: SWALLOW;
18205             description { state: "default" 0.0;
18206                fixed: 1 0;
18207                align: 0.0 0.5;
18208                rel1 {
18209                   relative: 0.0  0.0;
18210                   offset:   4    4;
18211                }
18212                rel2 {
18213                   relative: 0.0  1.0;
18214                   offset:   4   -5;
18215                }
18216             }
18217          }
18218          part { name: "arrow";
18219             clip_to: "disclip";
18220             ignore_flags: ON_HOLD;
18221             description { state: "default" 0.0;
18222                fixed: 1 0;
18223                align: 0.0 0.5;
18224                aspect: 1.0 1.0;
18225                rel1 {
18226                   to_x: "elm.swallow.pad";
18227                   relative: 1.0  0.0;
18228                   offset:   -1    4;
18229                }
18230                rel2 {
18231                   to_x: "elm.swallow.pad";
18232                   relative: 1.0  1.0;
18233                   offset:   -1   -5;
18234                }
18235                image.normal: "icon_arrow_right.png";
18236             }
18237             description { state: "active" 0.0;
18238                inherit: "default" 0.0;
18239                image.normal: "icon_arrow_down.png";
18240             }
18241          }
18242          part { name: "elm.swallow.icon";
18243             clip_to: "disclip";
18244             type: SWALLOW;
18245             description { state: "default" 0.0;
18246                fixed: 1 0;
18247                align: 0.0 0.5;
18248                rel1 {
18249                   to_x: "arrow";
18250                   relative: 1.0  0.0;
18251                   offset:   4    4;
18252                }
18253                rel2 {
18254                   to_x: "arrow";
18255                   relative: 1.0  1.0;
18256                   offset:   4   -5;
18257                }
18258             }
18259          }
18260          part { name: "elm.swallow.end";
18261             clip_to: "disclip";
18262             type: SWALLOW;
18263             description { state: "default" 0.0;
18264                fixed: 1 0;
18265                align: 1.0 0.5;
18266                aspect: 1.0 1.0;
18267                aspect_preference: VERTICAL;
18268                rel1 {
18269                   relative: 1.0  0.0;
18270                   offset:   -5    4;
18271                }
18272                rel2 {
18273                   relative: 1.0  1.0;
18274                   offset:   -5   -5;
18275                }
18276             }
18277          }
18278          part { name: "elm.text";
18279             clip_to: "disclip";
18280             type:           TEXT;
18281             effect:         SOFT_SHADOW;
18282             mouse_events:   0;
18283             scale: 1;
18284             description {
18285                state: "default" 0.0;
18286 //               min: 16 16;
18287                rel1 {
18288                   to_x:     "elm.swallow.icon";
18289                   relative: 1.0  0.0;
18290                   offset:   0 4;
18291                }
18292                rel2 {
18293                   to_x:     "elm.swallow.end";
18294                   relative: 0.0  0.5;
18295                   offset:   -1 -5;
18296                }
18297                color: 0 0 0 255;
18298                color3: 0 0 0 0;
18299                text {
18300                   font: "Sans";
18301                   size: 10;
18302 //                  min: 1 1;
18303                   min: 0 1;
18304                   align: 0.0 0.5;
18305                }
18306             }
18307             description { state: "selected" 0.0;
18308                inherit: "default" 0.0;
18309                color: 224 224 224 255;
18310                color3: 0 0 0 64;
18311             }
18312          }
18313          part { name: "elm.text.sub";
18314             clip_to: "disclip";
18315             type:           TEXT;
18316             mouse_events:   0;
18317             scale: 1;
18318             description {
18319                state: "default" 0.0;
18320 //               min: 16 16;
18321                rel1 {
18322                   to_x:     "elm.swallow.icon";
18323                   relative: 1.0  0.5;
18324                   offset:   0 4;
18325                }
18326                rel2 {
18327                   to_x:     "elm.swallow.end";
18328                   relative: 0.0  1.0;
18329                   offset:   -1 -5;
18330                }
18331                color: 0 0 0 128;
18332                color3: 0 0 0 0;
18333                text {
18334                   font: "Sans";
18335                   size: 8;
18336 //                  min: 1 1;
18337                   min: 0 1;
18338                   align: 0.0 0.5;
18339                }
18340             }
18341             description { state: "selected" 0.0;
18342                inherit: "default" 0.0;
18343                color: 128 128 128 255;
18344                color3: 0 0 0 32;
18345             }
18346          }
18347          part { name: "fg1";
18348             clip_to: "disclip";
18349             mouse_events: 0;
18350             description { state: "default" 0.0;
18351                visible: 0;
18352                color: 255 255 255 0;
18353                rel1.to: "bg";
18354                rel2.relative: 1.0 0.5;
18355                rel2.to: "bg";
18356                image {
18357                   normal: "bt_sm_hilight.png";
18358                   border: 6 6 6 0;
18359                }
18360             }
18361             description { state: "selected" 0.0;
18362                inherit: "default" 0.0;
18363                visible: 1;
18364                color: 255 255 255 255;
18365             }
18366          }
18367          part { name: "fg2";
18368             clip_to: "disclip";
18369             mouse_events: 0;
18370             description { state: "default" 0.0;
18371                visible: 0;
18372                color: 255 255 255 0;
18373                rel1.to: "bg";
18374                rel2.to: "bg";
18375                image {
18376                   normal: "bt_sm_shine.png";
18377                   border: 6 6 6 0;
18378                }
18379             }
18380             description { state: "selected" 0.0;
18381                inherit: "default" 0.0;
18382                visible: 1;
18383                color: 255 255 255 255;
18384             }
18385          }
18386          part { name: "disclip";
18387             type: RECT;
18388             description { state: "default" 0.0;
18389                rel1.to: "bg";
18390                rel2.to: "bg";
18391             }
18392             description { state: "disabled" 0.0;
18393                inherit: "default" 0.0;
18394                color: 255 255 255 64;
18395             }
18396          }
18397       }
18398       programs {
18399          // signal: elm,state,%s,active
18400          //   a "check" item named %s went active
18401          // signal: elm,state,%s,passive
18402          //   a "check" item named %s went passive
18403          // default is passive
18404          program {
18405             name:    "go_active";
18406             signal:  "elm,state,selected";
18407             source:  "elm";
18408             action:  STATE_SET "selected" 0.0;
18409             target:  "bg";
18410             target:  "fg1";
18411             target:  "fg2";
18412             target:  "elm.text";
18413             target:  "elm.text.sub";
18414          }
18415          program {
18416             name:    "go_passive";
18417             signal:  "elm,state,unselected";
18418             source:  "elm";
18419             action:  STATE_SET "default" 0.0;
18420             target:  "bg";
18421             target:  "fg1";
18422             target:  "fg2";
18423             target:  "elm.text";
18424             target:  "elm.text.sub";
18425             transition: LINEAR 0.1;
18426          }
18427          program {
18428             name:    "go_disabled";
18429             signal:  "elm,state,disabled";
18430             source:  "elm";
18431             action:  STATE_SET "disabled" 0.0;
18432             target:  "disclip";
18433          }
18434          program {
18435             name:    "go_enabled";
18436             signal:  "elm,state,enabled";
18437             source:  "elm";
18438             action:  STATE_SET "default" 0.0;
18439             target:  "disclip";
18440          }
18441          program {
18442             name:    "expand";
18443             signal:  "mouse,up,1";
18444             source:  "arrow";
18445             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18446          }
18447          program {
18448             name:    "go_expanded";
18449             signal:  "elm,state,expanded";
18450             source:  "elm";
18451             action:  STATE_SET "active" 0.0;
18452             target:  "arrow";
18453          }
18454          program {
18455             name:    "go_contracted";
18456             signal:  "elm,state,contracted";
18457             source:  "elm";
18458             action:  STATE_SET "default" 0.0;
18459             target:  "arrow";
18460          }
18461       }
18462    }
18463
18464 ///////////////////////////////////////////////////////////////////////////////
18465    group { name: "elm/pager/base/default";
18466       data.item: "onshow" "raise";
18467 // other options
18468 //      data.item: "onhide" "lower";
18469 //      data.item: "onshow" "lower";
18470       images {
18471          image: "frame_1.png" COMP;
18472          image: "frame_2.png" COMP;
18473          image: "dia_grad.png" COMP;
18474       }
18475       parts {
18476          part { name: "clip";
18477             type: RECT;
18478             mouse_events: 0;
18479             description { state: "default" 0.0;
18480                rel1 {
18481                   to: "base";
18482                   offset: -9999 -9999;
18483                }
18484                rel2 {
18485                   to: "base";
18486                   offset: 9999 9999;
18487                }
18488                color: 255 255 255 255;
18489             }
18490             description { state: "visible" 0.0;
18491                inherit: "default" 0.0;
18492             }
18493             description { state: "hidden" 0.0;
18494                inherit: "default" 0.0;
18495                color: 255 255 255 0;
18496                visible: 0;
18497             }
18498          }
18499          part { name: "base0";
18500             mouse_events:  0;
18501             clip_to: "clip";
18502             description { state: "default" 0.0;
18503                image.normal: "dia_grad.png";
18504                rel1.to: "over";
18505                rel2.to: "over";
18506                fill {
18507                   smooth: 0;
18508                   size {
18509                      relative: 0.0 1.0;
18510                      offset: 64 0;
18511                   }
18512                }
18513             }
18514          }
18515          part { name: "base";
18516             mouse_events:  0;
18517             clip_to: "clip";
18518             description { state: "default" 0.0;
18519                image {
18520                   normal: "frame_2.png";
18521                   border: 5 5 32 26;
18522                   middle: 0;
18523                }
18524                fill.smooth : 0;
18525             }
18526             description { state: "hidden" 0.0;
18527                inherit: "default" 0.0;
18528                rel1.relative: -1.0 0.0;
18529                rel2.relative: 0.0 1.0;
18530             }
18531             description { state: "visible" 0.0;
18532                inherit: "default" 0.0;
18533                rel1.relative: 0.0 0.0;
18534                rel2.relative: 1.0 1.0;
18535             }
18536          }
18537          part { name: "over";
18538             mouse_events:  0;
18539             clip_to: "clip";
18540             description { state:    "default" 0.0;
18541                rel1 {
18542                   to: "base";
18543                   offset: 4 4;
18544                }
18545                rel2 {
18546                   to: "base";
18547                   offset: -5 -5;
18548                }
18549                image {
18550                   normal: "frame_1.png";
18551                   border: 2 2 28 22;
18552                   middle: 0;
18553                }
18554                fill.smooth : 0;
18555             }
18556          }
18557          part { name: "elm.swallow.content";
18558             type: SWALLOW;
18559             clip_to: "clip";
18560             description { state: "default" 0.0;
18561                rel1 {
18562                   to: "base";
18563                   offset: 8 8;
18564                }
18565                rel2 {
18566                   to: "base";
18567                   offset: -9 -9;
18568                }
18569             }
18570          }
18571       }
18572       programs {
18573          program { name: "show_start";
18574             signal: "elm,action,show";
18575             source: "elm";
18576             action:  STATE_SET "hidden" 0.0;
18577             target: "base";
18578             target: "clip";
18579             after: "show_start2";
18580          }
18581          program { name: "show_start2";
18582             action:  STATE_SET "visible" 0.0;
18583             transition: DECELERATE 0.5;
18584             target: "base";
18585             target: "clip";
18586             after: "show_end";
18587          }
18588          program { name: "show_end";
18589             action: SIGNAL_EMIT "elm,action,show,finished" "";
18590          }
18591          program { name: "hide_start";
18592             signal: "elm,action,hide";
18593             source: "elm";
18594             action:  STATE_SET "visible" 0.0;
18595             target: "base";
18596             target: "clip";
18597             after: "hide_start2";
18598          }
18599          program { name: "hide_start2";
18600             action:  STATE_SET "hidden" 0.0;
18601             transition: DECELERATE 0.5;
18602             target: "base";
18603             target: "clip";
18604             after: "hide_end";
18605          }
18606          program { name: "hide_end";
18607             action: SIGNAL_EMIT "elm,action,hide,finished" "";
18608          }
18609          program { name: "reset";
18610             signal: "elm,action,reset";
18611             source: "elm";
18612             action:  STATE_SET "default" 0.0;
18613             target: "base";
18614             target: "clip";
18615          }
18616       }
18617    }
18618
18619    group { name: "elm/pager/base/fade";
18620        data.item: "onshow" "raise";
18621        // other options
18622        //      data.item: "onhide" "lower";
18623        //      data.item: "onshow" "lower";
18624        images {
18625            image: "frame_1.png" COMP;
18626            image: "frame_2.png" COMP;
18627            image: "dia_grad.png" COMP;
18628        }
18629        parts {
18630            part { name: "clip_base";
18631                type: RECT;
18632                mouse_events: 0;
18633                description { state: "default" 0.0;
18634                    rel1 {
18635                        to: "base";
18636                        offset: -9999 -9999;
18637                    }
18638                    rel2 {
18639                        to: "base";
18640                        offset: 9999 9999;
18641                    }
18642                    color: 255 255 255 120;
18643                }
18644                description { state: "visible" 0.0;
18645                    inherit: "default" 0.0;
18646                }
18647                description { state: "hidden" 0.0;
18648                    inherit: "default" 0.0;
18649                    color: 255 255 255 0;
18650                    visible: 0;
18651                }
18652            }
18653            part { name: "clip";
18654                type: RECT;
18655                mouse_events: 0;
18656                description { state: "default" 0.0;
18657                    rel1 {
18658                        to: "base";
18659                        offset: -9999 -9999;
18660                    }
18661                    rel2 {
18662                        to: "base";
18663                        offset: 9999 9999;
18664                    }
18665                    color: 255 255 255 255;
18666                }
18667                description { state: "visible" 0.0;
18668                    inherit: "default" 0.0;
18669                }
18670                description { state: "hidden" 0.0;
18671                    inherit: "default" 0.0;
18672                    color: 255 255 255 0;
18673                    visible: 0;
18674                }
18675            }
18676            part { name: "base0";
18677                mouse_events:  0;
18678                clip_to: "clip_base";
18679                description { state: "default" 0.0;
18680                    image.normal: "dia_grad.png";
18681                    rel1.to: "over";
18682                    rel2.to: "over";
18683                    fill {
18684                        smooth: 0;
18685                        size {
18686                            relative: 0.0 1.0;
18687                            offset: 64 0;
18688                        }
18689                    }
18690                }
18691            }
18692            part { name: "base";
18693                mouse_events:  0;
18694                clip_to: "clip_base";
18695                description { state: "default" 0.0;
18696                    image {
18697                        normal: "frame_2.png";
18698                        border: 5 5 32 26;
18699                        middle: 0;
18700                    }
18701                    fill.smooth : 0;
18702                }
18703            }
18704            part { name: "over";
18705                mouse_events:  0;
18706                clip_to: "clip";
18707                description { state:    "default" 0.0;
18708                    rel1 {
18709                        to: "base";
18710                        offset: 4 4;
18711                    }
18712                    rel2 {
18713                        to: "base";
18714                        offset: -5 -5;
18715                    }
18716                    image {
18717                        normal: "frame_1.png";
18718                        border: 2 2 28 22;
18719                        middle: 0;
18720                    }
18721                    fill.smooth : 0;
18722                }
18723            }
18724            part { name: "elm.swallow.content";
18725                type: SWALLOW;
18726                clip_to: "clip";
18727                description { state: "default" 0.0;
18728                    rel1 {
18729                        to: "base";
18730                        offset: 8 8;
18731                    }
18732                    rel2 {
18733                        to: "base";
18734                        offset: -9 -9;
18735                    }
18736                }
18737            }
18738        }
18739        programs {
18740            program { name: "show_start";
18741                signal: "elm,action,show";
18742                source: "elm";
18743                action:  STATE_SET "hidden" 0.0;
18744                target: "clip";
18745                target: "clip_base";
18746                after: "show_start2";
18747            }
18748            program { name: "show_start2";
18749                action:  STATE_SET "visible" 0.0;
18750                transition: DECELERATE 0.5;
18751                target: "clip";
18752                target: "clip_base";
18753                after: "show_end";
18754            }
18755            program { name: "show_end";
18756                action: SIGNAL_EMIT "elm,action,show,finished" "";
18757            }
18758            program { name: "hide_start";
18759                signal: "elm,action,hide";
18760                source: "elm";
18761                action:  STATE_SET "visible" 0.0;
18762                target: "clip";
18763                target: "clip_base";
18764                after: "hide_start2";
18765            }
18766            program { name: "hide_start2";
18767                action:  STATE_SET "hidden" 0.0;
18768                transition: DECELERATE 0.5;
18769                target: "clip";
18770                target: "clip_base";
18771                after: "hide_end";
18772            }
18773            program { name: "hide_end";
18774                action: SIGNAL_EMIT "elm,action,hide,finished" "";
18775            }
18776            program { name: "reset";
18777                signal: "elm,action,reset";
18778                source: "elm";
18779                action:  STATE_SET "default" 0.0;
18780                target: "clip_base";
18781                target: "clip";
18782            }
18783        }
18784    }
18785    group { name: "elm/pager/base/fade_translucide";
18786        data.item: "onshow" "raise";
18787        // other options
18788        //      data.item: "onhide" "lower";
18789        //      data.item: "onshow" "lower";
18790        images {
18791            image: "frame_1.png" COMP;
18792            image: "frame_2.png" COMP;
18793            image: "dia_grad.png" COMP;
18794        }
18795        parts {
18796            part { name: "clip_base";
18797                type: RECT;
18798                mouse_events: 0;
18799                description { state: "default" 0.0;
18800                    rel1 {
18801                        to: "base";
18802                        offset: -9999 -9999;
18803                    }
18804                    rel2 {
18805                        to: "base";
18806                        offset: 9999 9999;
18807                    }
18808                    color: 255 255 255 120;
18809                }
18810                description { state: "visible" 0.0;
18811                    inherit: "default" 0.0;
18812                }
18813                description { state: "hidden" 0.0;
18814                    inherit: "default" 0.0;
18815                    color: 255 255 255 0;
18816                    visible: 0;
18817                }
18818            }
18819            part { name: "clip";
18820                type: RECT;
18821                mouse_events: 0;
18822                description { state: "default" 0.0;
18823                    rel1 {
18824                        to: "base";
18825                        offset: -9999 -9999;
18826                    }
18827                    rel2 {
18828                        to: "base";
18829                        offset: 9999 9999;
18830                    }
18831                    color: 255 255 255 255;
18832                }
18833                description { state: "visible" 0.0;
18834                    inherit: "default" 0.0;
18835                }
18836                description { state: "hidden" 0.0;
18837                    inherit: "default" 0.0;
18838                    color: 255 255 255 0;
18839                    visible: 0;
18840                }
18841            }
18842            part { name: "base0";
18843                mouse_events:  0;
18844                clip_to: "clip_base";
18845                description { state: "default" 0.0;
18846                    image.normal: "dia_grad.png";
18847                    rel1.to: "over";
18848                    rel2.to: "over";
18849                    fill {
18850                        smooth: 0;
18851                        size {
18852                            relative: 0.0 1.0;
18853                            offset: 64 0;
18854                        }
18855                    }
18856                }
18857            }
18858            part { name: "base";
18859                mouse_events:  0;
18860                clip_to: "clip_base";
18861                description { state: "default" 0.0;
18862                    image {
18863                        normal: "frame_2.png";
18864                        border: 5 5 32 26;
18865                        middle: 0;
18866                    }
18867                    fill.smooth : 0;
18868                }
18869            }
18870            part { name: "over";
18871                mouse_events:  0;
18872                clip_to: "clip";
18873                description { state:    "default" 0.0;
18874                    rel1 {
18875                        to: "base";
18876                        offset: 4 4;
18877                    }
18878                    rel2 {
18879                        to: "base";
18880                        offset: -5 -5;
18881                    }
18882                    image {
18883                        normal: "frame_1.png";
18884                        border: 2 2 28 22;
18885                        middle: 0;
18886                    }
18887                    fill.smooth : 0;
18888                }
18889            }
18890            part { name: "elm.swallow.content";
18891                type: SWALLOW;
18892                clip_to: "clip";
18893                description { state: "default" 0.0;
18894                    rel1 {
18895                        to: "base";
18896                        offset: 8 8;
18897                    }
18898                    rel2 {
18899                        to: "base";
18900                        offset: -9 -9;
18901                    }
18902                }
18903            }
18904        }
18905        programs {
18906            program { name: "show_start";
18907                signal: "elm,action,show";
18908                source: "elm";
18909                action:  STATE_SET "hidden" 0.0;
18910                target: "clip";
18911                target: "clip_base";
18912                after: "show_start2";
18913            }
18914            program { name: "show_start2";
18915                action:  STATE_SET "visible" 0.0;
18916                transition: DECELERATE 0.5;
18917                target: "clip";
18918                target: "clip_base";
18919                after: "show_end";
18920            }
18921            program { name: "show_end";
18922                action: SIGNAL_EMIT "elm,action,show,finished" "";
18923            }
18924            program { name: "hide_start";
18925                signal: "elm,action,hide";
18926                source: "elm";
18927                action:  STATE_SET "visible" 0.0;
18928                target: "clip";
18929                target: "clip_base";
18930                after: "hide_start2";
18931            }
18932            program { name: "hide_start2";
18933                action:  STATE_SET "hidden" 0.0;
18934                transition: DECELERATE 0.5;
18935                target: "clip";
18936                target: "clip_base";
18937                after: "hide_end";
18938            }
18939            program { name: "hide_end";
18940                action: SIGNAL_EMIT "elm,action,hide,finished" "";
18941            }
18942            program { name: "reset";
18943                signal: "elm,action,reset";
18944                source: "elm";
18945                action:  STATE_SET "default" 0.0;
18946                target: "clip_base";
18947                target: "clip";
18948            }
18949        }
18950    }
18951
18952
18953
18954 ///////////////////////////////////////////////////////////////////////////////
18955 // FIXME: this doesn't look too hot. need to fix it up
18956    group { name: "elm/progressbar/horizontal/default";
18957       images {
18958          image: "shelf_inset.png" COMP;
18959          image: "bt_sm_base2.png" COMP;
18960          image: "bt_sm_hilight.png" COMP;
18961          image: "bt_sm_shine.png" COMP;
18962       }
18963       parts {
18964          part { name: "elm.background.progressbar";
18965             mouse_events: 0;
18966             description {
18967                state: "default" 0.0;
18968                rel1 {
18969                   relative: 0.0 0.0;
18970                   offset: 0 0;
18971                }
18972                rel2 {
18973                   relative: 1.0 1.0;
18974                }
18975             }
18976          }
18977          part { name: "elm.swallow.bar";
18978             mouse_events: 0;
18979             type: SWALLOW;
18980             description {
18981                min: 48 28;
18982                max: 99999 28;
18983                state: "default" 0.0;
18984                rel1 {
18985                   to_x: "elm.text";
18986                   to_y: "elm.background.progressbar";
18987                   relative: 1.0 0.0;
18988                }
18989                rel2 {
18990                   to: "elm.background.progressbar";
18991                   relative: 1.0 1.0;
18992                }
18993             }
18994          }
18995          part { name: "elm.swallow.content";
18996             type: SWALLOW;
18997             description { state: "default" 0.0;
18998                visible: 0;
18999                align: 0.0 0.5;
19000                rel1 {
19001                   offset: 4 0;
19002                   to_y: "elm.background.progressbar";
19003                }
19004                rel2 {
19005                   offset: 3 -1;
19006                   relative: 0.0 1.0;
19007                   to_y: "elm.background.progressbar";
19008                }
19009             }
19010             description { state: "visible" 0.0;
19011                inherit: "default" 0.0;
19012                visible: 1;
19013                aspect: 1.0 1.0;
19014                aspect_preference: VERTICAL;
19015                rel2.offset: 4 -1;
19016             }
19017          }
19018          part { name: "elm.text";
19019             type: TEXT;
19020             mouse_events: 0;
19021             scale: 1;
19022             description { state: "default" 0.0;
19023                visible: 0;
19024                fixed: 1 1;
19025                align: 0.0 0.5;
19026                rel1.to_x: "elm.swallow.content";
19027                rel1.relative: 1.0 0.0;
19028                rel1.offset: -1 4;
19029                rel2.to_x: "elm.swallow.content";
19030                rel2.relative: 1.0 1.0;
19031                rel2.offset: -1 -5;
19032                color: 0 0 0 255;
19033                text {
19034                   font: "Sans,Edje-Vera";
19035                   size: 10;
19036                   min: 0 0;
19037                   align: 0.0 0.5;
19038                }
19039             }
19040             description { state: "visible" 0.0;
19041                inherit: "default" 0.0;
19042                visible: 1;
19043                text.min: 1 1;
19044                rel1.offset: 0 4;
19045                rel2.offset: 0 -5;
19046             }
19047          }
19048
19049          part { name: "background";
19050             mouse_events: 0;
19051             clip_to: "elm.background.progressbar";
19052             description {
19053                state: "default" 0.0;
19054                rel1 {
19055                   to: "elm.swallow.bar";
19056                   relative: 0.0 0.0;
19057                }
19058                rel2 {
19059                   to: "elm.swallow.bar";
19060                   relative: 1.0 1.0;
19061                   offset: -1 -1;
19062                }
19063                image {
19064                   normal: "shelf_inset.png";
19065                   border: 7 7 7 7;
19066                }
19067             }
19068          }
19069
19070          part { name: "elm.text.status";
19071             type: TEXT;
19072             mouse_events: 0;
19073             description { state: "default" 0.0;
19074                fixed: 1 1;
19075                visible: 1;
19076                rel1 {
19077                   to: "background";
19078                   relative: 0.5 0.5;
19079                }
19080                rel2 {
19081                   to: "background";
19082                   relative: 0.5 0.5;
19083                }
19084                text {
19085                   font: "Sans:style=Bold,Edje-Vera-Bold";
19086                   size: 10;
19087                   min: 1 1;
19088                   align: 0.5 0.0;
19089                }
19090                color: 0 0 0 255;
19091             }
19092             description { state: "hidden" 0.0;
19093                inherit: "default" 0.0;
19094                visible: 0;
19095                text.min: 0 0;
19096             }
19097          }
19098
19099          part { name: "elm.progress.progressbar";
19100             mouse_events: 0;
19101             clip_to: "elm.background.progressbar";
19102             description {
19103                state: "default" 0.0;
19104                min: 14 28;
19105                fixed: 1 1;
19106                rel1 {
19107                   to: "elm.swallow.bar";
19108                   relative: 0.0 0.0;
19109                }
19110                rel2 {
19111                   to_y: "elm.swallow.bar";
19112                   to_x: "elm.cur.progressbar";
19113                   offset: -1 -1;
19114                }
19115                image {
19116                   normal: "bt_sm_base2.png";
19117                   border: 6 6 6 6;
19118                }
19119             }
19120             description {
19121                state: "invert" 0.0;
19122                inherit: "default" 0.0;
19123                rel1 {
19124                   to_y: "elm.swallow.bar";
19125                   to_x: "elm.cur.progressbar";
19126                }
19127                rel2 {
19128                   to: "elm.swallow.bar";
19129                   relative: 1.0 1.0;
19130                }
19131             }
19132             description {
19133                state: "state_begin" 0.0;
19134                inherit: "default" 0.0;
19135                rel1 {
19136                   to: "elm.swallow.bar";
19137                   relative: 0.0 0.0;
19138                }
19139                rel2 {
19140                   to: "elm.swallow.bar";
19141                   relative: 0.1 1.0;
19142                }
19143             }
19144             description {
19145                state: "state_end" 0.0;
19146                inherit: "default" 0.0;
19147                rel1 {
19148                   to: "elm.swallow.bar";
19149                   relative: 0.9 0.0;
19150                }
19151                rel2 {
19152                   to: "elm.swallow.bar";
19153                   relative: 1.0 1.0;
19154                }
19155             }
19156          }
19157          part { name: "text-bar";
19158             type: TEXT;
19159             mouse_events: 0;
19160             clip_to: "progress-rect";
19161             effect: SOFT_SHADOW;
19162             scale: 1;
19163             description { state: "default" 0.0;
19164                align: 0.0 0.0;
19165                fixed: 1 1;
19166                visible: 1;
19167                rel1.to: "elm.text.status";
19168                rel1.offset: -1 -1;
19169                rel2.to: "elm.text.status";
19170                text {
19171                   text_source: "elm.text.status";
19172                   font: "Sans:style=Bold,Edje-Vera-Bold";
19173                   size: 10;
19174                   min: 1 1;
19175                   align: 0.0 0.0;
19176                }
19177                color: 224 224 224 255;
19178                color3: 0 0 0 64;
19179             }
19180             description { state: "hidden" 0.0;
19181                inherit: "default" 0.0;
19182                visible: 0;
19183                text.min: 0 0;
19184             }
19185          }
19186
19187          part { name: "over1";
19188             mouse_events: 0;
19189             description { state: "default" 0.0;
19190                rel1.to: "elm.progress.progressbar";
19191                rel2.to: "elm.progress.progressbar";
19192                rel2.relative: 1.0 0.5;
19193                image {
19194                   normal: "bt_sm_hilight.png";
19195                   border: 6 6 6 0;
19196                }
19197             }
19198          }
19199
19200          part { name: "over2";
19201             mouse_events: 1;
19202             repeat_events: 1;
19203             description { state: "default" 0.0;
19204                rel1.to: "elm.progress.progressbar";
19205                rel2.to: "elm.progress.progressbar";
19206                image {
19207                   normal: "bt_sm_shine.png";
19208                   border: 6 6 6 0;
19209                }
19210             }
19211          }
19212
19213          part { name: "elm.cur.progressbar";
19214             mouse_events: 0;
19215             dragable {
19216                confine: "background";
19217                x: 1 1 1;
19218                y: 0 0 0;
19219             }
19220             description { state: "default" 0.0;
19221                min: 14 28;
19222                fixed: 1 1;
19223                visible: 0;
19224                rel1 {
19225                   to: "background";
19226                   relative: 0 0;
19227                }
19228                rel2.to: "background";
19229            }
19230          }
19231          part { name: "progress-rect";
19232             mouse_events: 0;
19233             description {
19234                state: "default" 0.0;
19235                rel1.to: "elm.progress.progressbar";
19236                rel2.to: "elm.progress.progressbar";
19237             }
19238          }
19239       }
19240       programs {
19241          program { name: "label_show";
19242             signal: "elm,state,text,visible";
19243             source: "elm";
19244             action:  STATE_SET "visible" 0.0;
19245             target: "elm.text";
19246          }
19247          program { name: "label_hide";
19248             signal: "elm,state,text,hidden";
19249             source: "elm";
19250             action:  STATE_SET "default" 0.0;
19251             target: "elm.text";
19252          }
19253          program { name: "icon_show";
19254             signal: "elm,state,icon,visible";
19255             source: "elm";
19256             action:  STATE_SET "visible" 0.0;
19257             target: "elm.swallow.content";
19258          }
19259          program { name: "icon_hide";
19260             signal: "elm,state,icon,hidden";
19261             source: "elm";
19262             action:  STATE_SET "default" 0.0;
19263             target: "elm.swallow.content";
19264          }
19265          program { name: "units_show";
19266             signal: "elm,state,units,visible";
19267             source: "elm";
19268             action:  STATE_SET "default" 0.0;
19269             target: "text-bar";
19270             target: "elm.text.status";
19271          }
19272          program { name: "units_hide";
19273             signal: "elm,state,units,hidden";
19274             source: "elm";
19275             action:  STATE_SET "hidden" 0.0;
19276             target: "text-bar";
19277             target: "elm.text.status";
19278          }
19279          program { name: "slide_to_end";
19280             action:  STATE_SET "state_end" 0.0;
19281             transition: LINEAR 0.5;
19282             target: "elm.progress.progressbar";
19283             after: "slide_to_begin";
19284          }
19285          program { name: "slide_to_begin";
19286             signal: "elm,state,slide,begin";
19287             action: STATE_SET "state_begin" 0.0;
19288             target: "elm.progress.progressbar";
19289             transition: LINEAR 0.5;
19290             after: "slide_to_end";
19291          }
19292          program { name: "start_pulse";
19293             signal: "elm,state,pulse,start";
19294             source: "elm";
19295             after: "slide_to_end";
19296          }
19297          program { name: "stop_pulse";
19298             signal: "elm,state,pulse,stop";
19299             source: "elm";
19300             action: ACTION_STOP;
19301             target: "slide_to_begin";
19302             target: "slide_to_end";
19303             target: "start_pulse";
19304             after: "state_pulse";
19305          }
19306          program { name: "state_pulse";
19307             signal: "elm,state,pulse";
19308             source: "elm";
19309             action: STATE_SET "state_begin" 0.0;
19310             target: "elm.progress.progressbar";
19311             after: "units_hide";
19312          }
19313          program { name: "state_fraction";
19314             signal: "elm,state,fraction";
19315             source: "elm";
19316             action: ACTION_STOP;
19317             target: "slide_to_begin";
19318             target: "slide_to_end";
19319             target: "start_pulse";
19320             action: STATE_SET "default" 0.0;
19321             target: "elm.progress.progressbar";
19322          }
19323          program { name: "set_invert_on";
19324             signal: "elm,state,inverted,on";
19325             source: "elm";
19326             action:  STATE_SET "invert" 0.0;
19327             target: "elm.progress.progressbar";
19328          }
19329          program { name: "set_invert_off";
19330             signal: "elm,state,inverted,off";
19331             source: "elm";
19332             action:  STATE_SET "default" 0.0;
19333             target: "elm.progress.progressbar";
19334          }
19335       }
19336    }
19337
19338 ///////////////////////////////////////////////////////////////////////////////
19339    group { name: "elm/progressbar/vertical/default";
19340       images {
19341          image: "shelf_inset.png" COMP;
19342          image: "bt_sm_base2.png" COMP;
19343          image: "bt_sm_hilight.png" COMP;
19344          image: "bt_sm_shine.png" COMP;
19345       }
19346       parts {
19347          part { name: "elm.background.progressbar";
19348             type: RECT;
19349             mouse_events: 0;
19350             description {
19351                state: "default" 0.0;
19352                rel1 {
19353                   relative: 0.0 0.0;
19354                   offset: 0 0;
19355                }
19356                rel2 {
19357                   relative: 1.0 1.0;
19358                   offset: -1 -1;
19359                }
19360             }
19361          }
19362          part { name: "elm.swallow.bar";
19363             type: SWALLOW;
19364             scale: 1;
19365             description { state: "default" 0.0;
19366                min: 28 48;
19367                max: 28 9999;
19368                align: 0.5 1.0;
19369                rel1 {
19370                   to_y: "elm.text";
19371                   relative: 0.0 1.0;
19372                   offset: 0 2;
19373                }
19374                rel2 {
19375                   to_y: "elm.text.box";
19376                   relative: 1.0 0.0;
19377                   offset: -1 -3;
19378                }
19379             }
19380          }
19381          part { name: "elm.swallow.content";
19382             type: SWALLOW;
19383             description { state: "default" 0.0;
19384                visible: 0;
19385                align: 0.5 0.0;
19386                rel1 {
19387                   offset: 0 4;
19388                   to_x: "elm.swallow.bar";
19389                }
19390                rel2 {
19391                   offset: -1 3;
19392                   relative: 1.0 0.0;
19393                   to_x: "elm.swallow.bar";
19394                }
19395             }
19396             description { state: "visible" 0.0;
19397                inherit: "default" 0.0;
19398                visible: 1;
19399                aspect: 1.0 1.0;
19400                aspect_preference: HORIZONTAL;
19401                rel2.offset: -1 4;
19402             }
19403          }
19404          part { name: "elm.text";
19405             type: TEXT;
19406             mouse_events: 0;
19407             scale: 1;
19408             description { state: "default" 0.0;
19409                visible: 0;
19410                fixed: 1 1;
19411                align: 0.5 0.0;
19412                rel1.to_y: "elm.swallow.content";
19413                rel1.relative: 0.5 1.0;
19414                rel1.offset: 0 -1;
19415                rel2.to_y: "elm.swallow.content";
19416                rel2.relative: 0.5 1.0;
19417                rel2.offset: -1 -1;
19418                color: 0 0 0 255;
19419                text {
19420                   font: "Sans,Edje-Vera";
19421                   size: 10;
19422                   min: 0 0;
19423                   align: 0.5 0.0;
19424                }
19425             }
19426             description { state: "visible" 0.0;
19427                inherit: "default" 0.0;
19428                visible: 1;
19429                text.min: 1 1;
19430                rel1.offset: 4 0;
19431                rel2.offset: -5 0;
19432             }
19433          }
19434
19435          part { name: "background";
19436             mouse_events: 0;
19437             clip_to: "elm.background.progressbar";
19438             description {
19439                state: "default" 0.0;
19440                rel1 {
19441                   to: "elm.swallow.bar";
19442                   relative: 0.0 0.0;
19443                }
19444                rel2 {
19445                   to: "elm.swallow.bar";
19446                   relative: 1.0 1.0;
19447                   offset: -1 -1;
19448                }
19449                image {
19450                   normal: "shelf_inset.png";
19451                   border: 7 7 7 7;
19452                }
19453             }
19454          }
19455
19456          part { name: "elm.progress.progressbar";
19457             mouse_events: 0;
19458             clip_to: "elm.background.progressbar";
19459             description {
19460                state: "default" 0.0;
19461                min: 28 14;
19462                fixed: 1 1;
19463                rel1 {
19464                   to: "elm.swallow.bar";
19465                   relative: 0.0 0.0;
19466                }
19467                rel2 {
19468                   to_x: "elm.swallow.bar";
19469                   to_y: "elm.cur.progressbar";
19470                   offset: -1 -1;
19471                }
19472                image {
19473                   normal: "bt_sm_base2.png";
19474                   border: 6 6 6 6;
19475                }
19476             }
19477             description {
19478                state: "invert" 0.0;
19479                inherit: "default" 0.0;
19480                rel1 {
19481                   to_x: "elm.swallow.bar";
19482                   to_y: "elm.cur.progressbar";
19483                }
19484                rel2 {
19485                   to: "elm.swallow.bar";
19486                   relative: 1.0 1.0;
19487                }
19488             }
19489             description {
19490                state: "state_begin" 0.0;
19491                inherit: "default" 0.0;
19492                rel1 {
19493                   to: "elm.swallow.bar";
19494                   relative: 0.0 0.0;
19495                }
19496                rel2 {
19497                   to: "elm.swallow.bar";
19498                   relative: 1.0 0.1;
19499                }
19500             }
19501             description {
19502                state: "state_end" 0.0;
19503                inherit: "default" 0.0;
19504                rel1 {
19505                   to: "elm.swallow.bar";
19506                   relative: 0.0 0.9;
19507                }
19508                rel2 {
19509                   to: "elm.swallow.bar";
19510                   relative: 1.0 1.0;
19511                }
19512             }
19513          }
19514
19515          part { name: "over1";
19516             mouse_events: 0;
19517             description { state: "default" 0.0;
19518                rel1.to: "elm.progress.progressbar";
19519                rel2.to: "elm.progress.progressbar";
19520                rel2.relative: 1.0 0.5;
19521                image {
19522                   normal: "bt_sm_hilight.png";
19523                   border: 6 6 6 0;
19524                }
19525             }
19526          }
19527
19528          part { name: "over2";
19529             mouse_events: 1;
19530             repeat_events: 1;
19531             description { state: "default" 0.0;
19532                rel1.to: "elm.progress.progressbar";
19533                rel2.to: "elm.progress.progressbar";
19534                image {
19535                   normal: "bt_sm_shine.png";
19536                   border: 6 6 6 0;
19537                }
19538             }
19539          }
19540
19541          part { name: "elm.cur.progressbar";
19542             mouse_events: 0;
19543             dragable {
19544                confine: "background";
19545                x: 0 0 0;
19546                y: 1 1 1;
19547             }
19548             description { state: "default" 0.0;
19549                min: 28 14;
19550                fixed: 1 1;
19551                visible: 0;
19552                rel1 {
19553                   to: "background";
19554                   relative: 0 0;
19555                }
19556                rel2.to: "background";
19557            }
19558          }
19559
19560          part { name: "elm.text.box";
19561             mouse_events: 0;
19562             type: RECT;
19563             description { state: "default" 0.0;
19564                visible: 0;
19565                rel1 {
19566                   to: "elm.text.status";
19567                   offset: -2 -2;
19568                }
19569                rel2 {
19570                   to: "elm.text.status";
19571                   offset: 2 2;
19572                }
19573                color: 255 255 255 0;
19574             }
19575             description { state: "visible" 0.0;
19576                inherit: "default" 0.0;
19577                visible: 1;
19578             }
19579          }
19580          part { name: "elm.text.status";
19581             type: TEXT;
19582             mouse_events: 0;
19583             scale: 1;
19584             description { state: "default" 0.0;
19585                visible: 0;
19586                fixed: 1 1;
19587                align: 0.5 1.0;
19588                rel1.relative: 0.0 1.0;
19589                rel1.offset: 2 0;
19590                rel2.relative: 1.0 1.0;
19591                rel2.offset: -2 0;
19592                color: 0 0 0 255;
19593                text {
19594                   font: "Sans:style=Bold,Edje-Vera-Bold";
19595                   size: 10;
19596                   min: 0 0;
19597                   align: 0.5 0.0;
19598                }
19599             }
19600             description { state: "visible" 0.0;
19601                inherit: "default" 0.0;
19602                fixed: 1 1;
19603                visible: 1;
19604                text.min: 1 1;
19605                rel1.offset: 8 -9;
19606                rel2.offset: -9 -9;
19607             }
19608          }
19609       }
19610       programs {
19611          program { name: "label_show";
19612             signal: "elm,state,text,visible";
19613             source: "elm";
19614             action:  STATE_SET "visible" 0.0;
19615             target: "elm.text";
19616          }
19617          program { name: "label_hide";
19618             signal: "elm,state,text,hidden";
19619             source: "elm";
19620             action:  STATE_SET "default" 0.0;
19621             target: "elm.text";
19622          }
19623          program { name: "icon_show";
19624             signal: "elm,state,icon,visible";
19625             source: "elm";
19626             action:  STATE_SET "visible" 0.0;
19627             target: "elm.swallow.content";
19628          }
19629          program { name: "icon_hide";
19630             signal: "elm,state,icon,hidden";
19631             source: "elm";
19632             action:  STATE_SET "default" 0.0;
19633             target: "elm.swallow.content";
19634          }
19635          program { name: "units_show";
19636             signal: "elm,state,units,visible";
19637             source: "elm";
19638             action:  STATE_SET "visible" 0.0;
19639             target: "elm.text.status";
19640             target: "elm.text.box";
19641          }
19642          program { name: "units_hide";
19643             signal: "elm,state,units,hidden";
19644             source: "elm";
19645             action:  STATE_SET "default" 0.0;
19646             target: "elm.text.status";
19647             target: "elm.text.box";
19648          }
19649          program { name: "slide_to_end";
19650             action:  STATE_SET "state_end" 0.0;
19651             transition: LINEAR 0.5;
19652             target: "elm.progress.progressbar";
19653             after: "slide_to_begin";
19654          }
19655          program { name: "slide_to_begin";
19656             action:  STATE_SET "state_begin" 0.0;
19657             target: "elm.progress.progressbar";
19658             transition: LINEAR 0.5;
19659             after: "slide_to_end";
19660          }
19661          program { name: "start_pulse";
19662             signal: "elm,state,pulse,start";
19663             source: "elm";
19664             action: STATE_SET "state_begin" 0.0;
19665             target: "elm.progress.progressbar";
19666             after: "slide_to_end";
19667          }
19668          program { name: "stop_pulse";
19669             signal: "elm,state,pulse,stop";
19670             source: "elm";
19671             action: ACTION_STOP;
19672             target: "slide_to_begin";
19673             target: "slide_to_end";
19674             target: "start_pulse";
19675             after: "state_pulse";
19676          }
19677          program { name: "state_pulse";
19678             signal: "elm,state,pulse";
19679             source: "elm";
19680             action: STATE_SET "state_begin" 0.0;
19681             target: "elm.progress.progressbar";
19682             after: "units_hide";
19683          }
19684          program { name: "state_fraction";
19685             signal: "elm,state,fraction";
19686             source: "elm";
19687             action: ACTION_STOP;
19688             target: "slide_to_begin";
19689             target: "slide_to_end";
19690             target: "start_pulse";
19691             action: STATE_SET "default" 0.0;
19692             target: "elm.progress.progressbar";
19693          }
19694          program { name: "set_invert_on";
19695             signal: "elm,state,inverted,on";
19696             source: "elm";
19697             action:  STATE_SET "invert" 0.0;
19698             target: "elm.progress.progressbar";
19699             target: "elm.cur.progressbar";
19700          }
19701          program { name: "set_invert_off";
19702             signal: "elm,state,inverted,off";
19703             source: "elm";
19704             action:  STATE_SET "default" 0.0;
19705             target: "elm.progress.progressbar";
19706             target: "elm.cur.progressbar";
19707          }
19708       }
19709    }
19710
19711 ///////////////////////////////////////////////////////////////////////////////
19712    group { name: "elm/separator/horizontal/default";
19713        images {
19714            image: "separator_h.png" COMP;
19715        }
19716        parts {
19717            part { name: "separator"; // separator group
19718                description { state: "default" 0.0;
19719                    min: 2 2;
19720                    rel1.offset: 4 4;
19721                    rel2.offset: -5 -5;
19722                    image {
19723                        normal: "separator_h.png";
19724                    }
19725                    fill {
19726                        smooth: 0;
19727                    }
19728                }
19729            }
19730        }
19731    }
19732
19733    ///////////////////////////////////////////////////////////////////////////////
19734    group { name: "elm/separator/vertical/default";
19735        images {
19736            image: "separator_v.png" COMP;
19737        }
19738        parts {
19739            part { name: "separator"; // separator group
19740                description { state: "default" 0.0;
19741                    min: 2 2;
19742                    rel1.offset: 4 4;
19743                    rel2.offset: -5 -5;
19744                    image {
19745                        normal: "separator_v.png";
19746                    }
19747                    fill {
19748                        smooth: 0;
19749                    }
19750                }
19751            }
19752        }
19753    }
19754
19755    group { name: "elm/progressbar/horizontal/wheel";
19756        images {
19757            image: "busy-1.png" COMP;
19758            image: "busy-2.png" COMP;
19759            image: "busy-3.png" COMP;
19760            image: "busy-4.png" COMP;
19761            image: "busy-5.png" COMP;
19762            image: "busy-6.png" COMP;
19763            image: "busy-7.png" COMP;
19764            image: "busy-8.png" COMP;
19765            image: "busy-9.png" COMP;
19766        }
19767        parts {
19768            part { name: "elm.background.progressbar";
19769                mouse_events: 0;
19770                type: RECT;
19771                description {
19772                    state: "default" 0.0;
19773                }
19774            }
19775            part { name: "elm.swallow.bar";
19776                mouse_events: 0;
19777                type: SWALLOW;
19778                description { state: "default" 0.0;
19779                    min: 0 0;
19780                    max: 0 0;
19781                    visible: 0;
19782                }
19783            }
19784            part { name: "elm.swallow.content";
19785                type: SWALLOW;
19786                description { state: "default" 0.0;
19787                    min: 0 0;
19788                    max: 0 0;
19789                    visible: 0;
19790                }
19791            }
19792            part { name: "background";
19793                mouse_events: 0;
19794                clip_to: "elm.background.progressbar";
19795                description {
19796                    state: "default" 0.0;
19797                    min: 32 32;
19798                    max: 32 32;
19799                    visible: 1;
19800                    aspect: 1.0 1.0;
19801                    aspect_preference: BOTH;
19802                    image {
19803                        normal: "busy-9.png";
19804                        border: 7 7 7 7;
19805                    }
19806                }
19807                description {
19808                    state: "pulse" 0.0;
19809                    inherit: "default" 0.0;
19810                    image {
19811                        normal: "busy-9.png";
19812                        tween:  "busy-1.png";
19813                        tween:  "busy-2.png";
19814                        tween:  "busy-3.png";
19815                        tween:  "busy-4.png";
19816                        tween:  "busy-5.png";
19817                        tween:  "busy-6.png";
19818                        tween:  "busy-7.png";
19819                        tween:  "busy-8.png";
19820                        border: 7 7 7 7;
19821                    }
19822                }
19823            }
19824        }
19825        programs {
19826            program { name: "start_pulse";
19827                signal: "elm,state,pulse,start";
19828                source: "elm";
19829                action: STATE_SET "pulse" 0.0;
19830                target: "background";
19831                transition: LINEAR 0.5;
19832                after: "start_pulse";
19833            }
19834            program { name: "stop_pulse";
19835                signal: "elm,state,pulse,stop";
19836                source: "elm";
19837                action: STATE_SET "default" 0.0;
19838                target: "background";
19839            }
19840        }
19841    }
19842
19843
19844 ///////////////////////////////////////////////////////////////////////////////
19845    group { name: "elm/spinner/base/default";
19846        images {
19847            image: "shelf_inset.png" COMP;
19848            image: "bt_base1.png" COMP;
19849            image: "bt_hilight.png" COMP;
19850            image: "bt_shine.png" COMP;
19851            image: "bt_glow.png" COMP;
19852            image: "bt_dis_base.png" COMP;
19853            image: "bt_dis_hilight.png" COMP;
19854            image: "sp_bt_l.png" COMP;
19855            image: "sp_bt_r.png" COMP;
19856        }
19857        parts {
19858            part { name: "bg";
19859                type: RECT;
19860                description { state: "default" 0.0;
19861                    max: 99999 30;
19862                    min: 0 30;
19863                    rel1.offset: 1 1;
19864                    rel2.offset: -2 -2;
19865                    color: 255 255 255 0;
19866                }
19867            }
19868            part { name: "conf_over";
19869                mouse_events:  0;
19870                description { state: "default" 0.0;
19871                    rel1.to: "bg";
19872                    rel2.to: "bg";
19873                    image {
19874                        normal: "shelf_inset.png";
19875                        border: 7 7 7 7;
19876                        middle: 0;
19877                    }
19878                    fill.smooth : 0;
19879                }
19880            }
19881            part { name: "left_bt";
19882                mouse_events:  1;
19883                description { state: "default" 0.0;
19884                    rel1 { to: "bg";
19885                        offset: 2 2;
19886                    }
19887                    rel2 { to: "bg";
19888                        offset: -3 -3;
19889                    }
19890                    align: 0.0 0.5;
19891                    min: 24 24;
19892                    max: 24 24;
19893                    image {
19894                        normal: "bt_base1.png";
19895                        border: 6 6 6 6;
19896                    }
19897                    fill.smooth : 0;
19898                }
19899                description { state: "clicked" 0.0;
19900                    inherit: "default" 0.0;
19901                    image.normal: "bt_base1.png";
19902                    image.middle: SOLID;
19903                }
19904                description { state: "disabled" 0.0;
19905                    inherit:  "default" 0.0;
19906                    image {
19907                        normal: "bt_dis_base.png";
19908                        border: 4 4 4 4;
19909                    }
19910                }
19911            }
19912            part {         name: "left_over1";
19913                mouse_events: 0;
19914                description { state: "default" 0.0;
19915                    rel1.to: "left_bt";
19916                    rel2 { to: "left_bt";
19917                        relative: 1.0 0.5;
19918                    }
19919                    image {
19920                        normal: "bt_hilight.png";
19921                        border: 7 7 7 0;
19922                    }
19923                }
19924                description { state: "disabled" 0.0;
19925                    inherit:  "default" 0.0;
19926                    image {
19927                        normal: "bt_dis_hilight.png";
19928                        border: 4 4 4 0;
19929                    }
19930                }
19931            }
19932            part { name: "left_over2";
19933                mouse_events: 1;
19934                repeat_events: 1;
19935                ignore_flags: ON_HOLD;
19936                description { state: "default" 0.0;
19937                    rel1.to: "left_bt";
19938                    rel2.to: "left_bt";
19939                    image {
19940                        normal: "bt_shine.png";
19941                        border: 7 7 7 7;
19942                    }
19943                }
19944                description { state: "disabled" 0.0;
19945                    inherit:  "default" 0.0;
19946                    visible: 0;
19947                }
19948            }
19949            part { name: "left_over3";
19950                mouse_events: 1;
19951                repeat_events: 1;
19952                description { state: "default" 0.0;
19953                    color: 255 255 255 0;
19954                    rel1.to: "left_bt";
19955                    rel2.to: "left_bt";
19956                    image {
19957                        normal: "bt_glow.png";
19958                        border: 12 12 12 12;
19959                    }
19960                    fill.smooth : 0;
19961                }
19962                description { state: "clicked" 0.0;
19963                    inherit:  "default" 0.0;
19964                    visible: 1;
19965                    color: 255 255 255 255;
19966                }
19967            }
19968            part { name: "right_bt";
19969                mouse_events:  1;
19970                description { state: "default" 0.0;
19971                    rel1 { to: "bg";
19972                        offset: -27 3;
19973                    }
19974                    rel2 { to: "bg";
19975                        offset: -3 -3;
19976                    }
19977                    align: 1.0 0.5;
19978                    min: 24 24;
19979                    max: 24 24;
19980                    image {
19981                        normal: "bt_base1.png";
19982                        border: 5 5 4 12;
19983                    }
19984                    fill.smooth : 0;
19985                }
19986                description { state: "clicked" 0.0;
19987                    inherit: "default" 0.0;
19988                    image.normal: "bt_base1.png";
19989                    image.middle: SOLID;
19990                }
19991                description { state: "disabled" 0.0;
19992                    inherit:  "default" 0.0;
19993                    image {
19994                        normal: "bt_dis_base.png";
19995                        border: 4 4 4 4;
19996                    }
19997                }
19998            }
19999            part { name: "right_over1";
20000                mouse_events: 0;
20001                description { state: "default" 0.0;
20002                    rel1.to: "right_bt";
20003                    rel2 { to: "right_bt";
20004                        relative: 1.0 0.5;
20005                    }
20006                    image {
20007                        normal: "bt_hilight.png";
20008                        border: 7 7 7 0;
20009                    }
20010                }
20011                description { state: "disabled" 0.0;
20012                    inherit:  "default" 0.0;
20013                    image {
20014                        normal: "bt_dis_hilight.png";
20015                        border: 4 4 4 0;
20016                    }
20017                }
20018            }
20019            part { name: "right_over2";
20020                mouse_events: 1;
20021                repeat_events: 1;
20022                ignore_flags: ON_HOLD;
20023                description { state: "default" 0.0;
20024                    rel1.to: "right_bt";
20025                    rel2.to: "right_bt";
20026                    image {
20027                        normal: "bt_shine.png";
20028                        border: 7 7 7 7;
20029                    }
20030                }
20031                description { state: "disabled" 0.0;
20032                    inherit:  "default" 0.0;
20033                    visible: 0;
20034                }
20035            }
20036            part { name: "right_over3";
20037                mouse_events: 1;
20038                repeat_events: 1;
20039                description { state: "default" 0.0;
20040                    color: 255 255 255 0;
20041                    rel1.to: "right_bt";
20042                    rel2.to: "right_bt";
20043                    image {
20044                        normal: "bt_glow.png";
20045                        border: 12 12 12 12;
20046                    }
20047                    fill.smooth : 0;
20048                }
20049                description { state: "clicked" 0.0;
20050                    inherit:  "default" 0.0;
20051                    visible: 1;
20052                    color: 255 255 255 255;
20053                }
20054            }
20055            part { name: "left_bt_icon";
20056                repeat_events: 1;
20057                description { state: "default" 0.0;
20058                    rel1.to: "left_bt";
20059                    rel2.to: "left_bt";
20060                    align: 0.5 0.5;
20061                    min: 16 16;
20062                    max: 16 16;
20063                    image.normal: "sp_bt_l.png";
20064                }
20065            }
20066            part { name: "right_bt_icon";
20067                repeat_events: 1;
20068                description { state: "default" 0.0;
20069                    rel1.to: "right_bt";
20070                    rel2.to: "right_bt";
20071                    align: 0.5 0.5;
20072                    min: 16 16;
20073                    max: 16 16;
20074                    image.normal: "sp_bt_r.png";
20075                }
20076            }
20077            part { name: "elm.text";
20078                type: TEXT;
20079                mouse_events: 0;
20080                scale: 1;
20081                description { state: "default" 0.0;
20082                    visible: 1;
20083                    align: 0.0 0.5;
20084                    rel1 { relative: 1.0 0.0;
20085                        offset: 3 2;
20086                        to_x: "left_bt";
20087                        to_y: "bg";
20088                    }
20089                    rel2 { relative: 0.0 1.0;
20090                        offset: -3 -2;
20091                        to_x: "right_bt";
20092                        to_y: "bg";
20093                    }
20094                    color: 0 0 0 255;
20095                    text {
20096                        font: "Sans,Edje-Vera";
20097                        size: 10;
20098                        min: 1 1;
20099                        align: 0.5 0.5;
20100                    }
20101                }
20102                description { state: "active" 0.0;
20103                    inherit: "default" 0.0;
20104                    visible: 0;
20105                }
20106                description { state: "disabled_active" 0.0;
20107                    inherit: "default" 0.0;
20108                    color: 0 0 0 128;
20109                    color3: 0 0 0 0;
20110                }
20111                description { state: "disabled" 0.0;
20112                    inherit: "default" 0.0;
20113                    color: 0 0 0 128;
20114                    color3: 0 0 0 0;
20115                }
20116            }
20117            part { name: "elm.dragable.slider";
20118                type: RECT;
20119                mouse_events: 0;
20120                scale: 1;
20121                dragable {
20122                    x: 1 1 0;
20123                    y: 0 0 0;
20124                }
20125                description { state: "default" 0.0;
20126                    rel1.to: "bg";
20127                    rel2.to: "bg";
20128                    fixed: 1 1;
20129                    color: 0 0 0 0;
20130                }
20131            }
20132            part { name: "button_events";
20133                type: RECT;
20134                dragable {
20135                    events: "elm.dragable.slider";
20136                }
20137                mouse_events: 1;
20138                description { state: "default" 0.0;
20139                    rel1.to: "elm.text";
20140                    rel2.to: "elm.text";
20141                    color: 0 0 0 0;
20142                }
20143            }
20144            part { name: "elm.swallow.entry";
20145                type: SWALLOW;
20146                description { state: "default" 0.0;
20147                    visible: 0;
20148                    align: 0.5 0.5;
20149                    rel1 { relative: 1.0 0.5;
20150                        offset: 3 2;
20151                        to_x: "left_bt";
20152                        to_y: "bg";
20153                    }
20154                    rel2 { relative: 0.0 0.5;
20155                        offset: -3 -2;
20156                        to_x: "right_bt";
20157                        to_y: "bg";
20158                    }
20159                    fixed: 1 1;
20160                    color: 0 0 0 0;
20161                }
20162                description { state: "active" 0.0;
20163                    inherit: "default" 0.0;
20164                    visible: 1;
20165                    color: 255 255 255 255;
20166                }
20167                description { state: "disabled_active" 0.0;
20168                    inherit: "default" 0.0;
20169                    visible: 0;
20170                }
20171                description { state: "disabled" 0.0;
20172                    inherit: "default" 0.0;
20173                    visible: 0;
20174                }
20175            }
20176            part { name: "disabler";
20177                type: RECT;
20178                description { state: "default" 0.0;
20179                    color: 0 0 0 0;
20180                    visible: 0;
20181                }
20182                description { state: "disabled" 0.0;
20183                    inherit: "default" 0.0;
20184                    visible: 1;
20185                }
20186            }
20187        }
20188        programs {
20189            program { name: "text_show";
20190                signal: "elm,state,text,visible";
20191                source: "elm";
20192                action:  STATE_SET "visible" 0.0;
20193                target: "elm.text";
20194            }
20195            program { name: "text_hide";
20196                signal: "elm,state,text,hidden";
20197                source: "elm";
20198                action:  STATE_SET "default" 0.0;
20199                target: "elm.text";
20200            }
20201            program { name: "dec";
20202                signal: "mouse,down,1";
20203                source: "left_bt";
20204                action: SIGNAL_EMIT "elm,action,decrement,start" "";
20205            }
20206            program { name: "dec2";
20207                signal: "mouse,up,1";
20208                source: "left_bt";
20209                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
20210            }
20211            program { name: "inc";
20212                signal: "mouse,down,1";
20213                source: "right_bt";
20214                action: SIGNAL_EMIT "elm,action,increment,start" "";
20215            }
20216            program { name: "inc2";
20217                signal: "mouse,up,1";
20218                source: "right_bt";
20219                action: SIGNAL_EMIT "elm,action,increment,stop" "";
20220            }
20221            program {
20222                name:   "left_bt_click";
20223                signal: "mouse,down,1";
20224                source: "left_over2";
20225                action: STATE_SET "clicked" 0.0;
20226                target: "left_bt";
20227            }
20228            program {
20229                name:   "left_bt_unclick";
20230                signal: "mouse,up,1";
20231                source: "left_over2";
20232                action: STATE_SET "default" 0.0;
20233                target: "left_bt";
20234            }
20235            program {
20236                name:   "left_bt_click2";
20237                signal: "mouse,down,1";
20238                source: "left_over3";
20239                action: STATE_SET "clicked" 0.0;
20240                target: "left_over3";
20241            }
20242            program {
20243                name:   "left_bt_unclick2";
20244                signal: "mouse,up,1";
20245                source: "left_over3";
20246                action: STATE_SET "default" 0.0;
20247                transition: DECELERATE 0.5;
20248                target: "left_over3";
20249            }
20250            program {
20251                name:   "left_bt_unclick3";
20252                signal: "mouse,up,1";
20253                source: "left_over2";
20254                action: SIGNAL_EMIT "elm,action,click" "";
20255            }
20256
20257            program {
20258                name:   "right_bt_click";
20259                signal: "mouse,down,1";
20260                source: "right_over2";
20261                action: STATE_SET "clicked" 0.0;
20262                target: "right_bt";
20263            }
20264            program {
20265                name:   "right_bt_unclick";
20266                signal: "mouse,up,1";
20267                source: "right_over2";
20268                action: STATE_SET "default" 0.0;
20269                target: "right_bt";
20270            }
20271            program {
20272                name:   "right_bt_click2";
20273                signal: "mouse,down,1";
20274                source: "right_over3";
20275                action: STATE_SET "clicked" 0.0;
20276                target: "right_over3";
20277            }
20278            program {
20279                name:   "right_bt_unclick2";
20280                signal: "mouse,up,1";
20281                source: "right_over3";
20282                action: STATE_SET "default" 0.0;
20283                transition: DECELERATE 0.5;
20284                target: "right_over3";
20285            }
20286            program {
20287                name:   "right_bt_unclick3";
20288                signal: "mouse,up,1";
20289                source: "right_over2";
20290                action: SIGNAL_EMIT "elm,action,click" "";
20291            }
20292            program { name: "disable";
20293                signal: "elm,state,disabled";
20294                source: "elm";
20295                action: STATE_SET "disabled" 0.0;
20296                target: "left_bt";
20297                target: "left_over1";
20298                target: "left_over2";
20299                target: "right_bt";
20300                target: "right_over1";
20301                target: "right_over2";
20302                target: "disabler";
20303                after: "disable_text";
20304            }
20305            program { name: "disable_text";
20306                script {
20307                    new st[31];
20308                    new Float:vl;
20309                    get_state(PART:"elm.text", st, 30, vl);
20310                    if (!strcmp(st, "active"))
20311                    set_state(PART:"elm.text", "disabled_active", 0.0);
20312                    else
20313                    set_state(PART:"elm.text", "disabled", 0.0);
20314
20315                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20316                    if (!strcmp(st, "active"))
20317                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
20318                    else
20319                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
20320                }
20321            }
20322            program { name: "enable";
20323                signal: "elm,state,enabled";
20324                source: "elm";
20325                action: STATE_SET "default" 0.0;
20326                target: "left_bt";
20327                target: "left_over1";
20328                target: "left_over2";
20329                target: "right_bt";
20330                target: "right_over1";
20331                target: "right_over2";
20332                target: "disabler";
20333                after: "enable_text";
20334            }
20335            program { name: "enable_text";
20336                script {
20337                    new st[31];
20338                    new Float:vl;
20339                    get_state(PART:"elm.text", st, 30, vl);
20340                    if (!strcmp(st, "disabled_active"))
20341                    set_state(PART:"elm.text", "active", 0.0);
20342                    else
20343                    set_state(PART:"elm.text", "default", 0.0);
20344
20345                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20346                    if (!strcmp(st, "disabled_active"))
20347                    set_state(PART:"elm.swallow.entry", "active", 0.0);
20348                    else
20349                    set_state(PART:"elm.swallow.entry", "default", 0.0);
20350                }
20351            }
20352            program { name: "active";
20353                signal: "elm,state,active";
20354                source: "elm";
20355                action: STATE_SET "active" 0.0;
20356                target: "elm.text";
20357                target: "elm.swallow.entry";
20358            }
20359            program { name: "inactive";
20360                signal: "elm,state,inactive";
20361                source: "elm";
20362                action: STATE_SET "default" 0.0;
20363                target: "elm.text";
20364                target: "elm.swallow.entry";
20365            }
20366            program { name: "toggle_text";
20367                signal: "mouse,up,1";
20368                source: "button_events";
20369                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
20370            }
20371        }
20372    }
20373
20374 ///////////////////////////////////////////////////////////////////////////////
20375    group { name: "elm/spinner/base/vertical";
20376        images {
20377            image: "shelf_inset.png" COMP;
20378            image: "bt_hilight.png" COMP;
20379            image: "bt_shine.png" COMP;
20380            image: "bt_glow.png" COMP;
20381            image: "bt_dis_base.png" COMP;
20382            image: "bt_dis_hilight.png" COMP;
20383            image: "up.png" COMP;
20384            image: "down.png" COMP;
20385            image: "bt_spinner_up.png" COMP;
20386            image: "bt_spinner_down.png" COMP;
20387            image: "bt_spinner_hilight.png" COMP;
20388        }
20389        parts {
20390            part { name: "bg";
20391                type: RECT;
20392                description { state: "default" 0.0;
20393                    max: 99999 30;
20394                    min: 0 30;
20395                    rel1.offset: 1 1;
20396                    rel2.offset: -2 -2;
20397                    color: 255 255 255 0;
20398                }
20399            }
20400            part { name: "conf_over";
20401                mouse_events:  0;
20402                description { state: "default" 0.0;
20403                    rel1 {
20404                      to: "bg";
20405                      relative: 0.0 0.0;
20406                    }
20407                    rel2 {
20408                       to_x: "down_bt";
20409                       offset: -22 -1;
20410                    }
20411                    rel2 {
20412                       to_y: "bg";
20413                    }
20414                    image {
20415                        normal: "shelf_inset.png";
20416                        border: 7 7 7 7;
20417                        middle: 0;
20418                    }
20419                    fill.smooth : 0;
20420                }
20421            }
20422            part { name: "down_bt";
20423                mouse_events:  1;
20424                description { state: "default" 0.0;
20425                    rel1 {
20426                        to_x: "bg";
20427                        to_y: "up_bt";
20428                        relative: 1 1;
20429                        offset: 0 1;
20430                    }
20431                    rel2 { to: "bg";
20432                        relative: 1 1;
20433                        offset: -1 -1;
20434                    }
20435                    align: 1.0 0.5;
20436                    min: 24 16;
20437                    max: 24 16;
20438                    image {
20439                        normal: "bt_spinner_down.png";
20440                        border: 6 6 6 6;
20441                    }
20442                    fill.smooth : 0;
20443                }
20444                description { state: "clicked" 0.0;
20445                    inherit: "default" 0.0;
20446                    image.normal: "bt_spinner_down.png";
20447                    image.middle: SOLID;
20448                }
20449                description { state: "disabled" 0.0;
20450                    inherit:  "default" 0.0;
20451                    image {
20452                        normal: "bt_dis_base.png";
20453                        border: 4 4 4 4;
20454                    }
20455                }
20456            }
20457            part { name: "down_over3";
20458                mouse_events: 1;
20459                repeat_events: 1;
20460                description { state: "default" 0.0;
20461                    color: 255 255 255 0;
20462                    rel1.to: "down_bt";
20463                    rel2.to: "down_bt";
20464                    image {
20465                        normal: "bt_glow.png";
20466                        border: 12 12 12 12;
20467                    }
20468                    fill.smooth : 0;
20469                }
20470                description { state: "clicked" 0.0;
20471                    inherit:  "default" 0.0;
20472                    visible: 1;
20473                    color: 255 255 255 255;
20474                }
20475            }
20476            part { name: "up_bt";
20477                mouse_events:  1;
20478                description { state: "default" 0.0;
20479                    rel1 { to: "bg";
20480                        relative: 0 0;
20481                        offset: 0 0;
20482                    }
20483                    rel2 { to: "bg";
20484                        relative: 1 0.5;
20485                        offset: -1 -1;
20486                    }
20487                    align: 1.0 0.5;
20488                    min: 24 16;
20489                    max: 24 16;
20490                    image {
20491                        normal: "bt_spinner_up.png";
20492                        border: 6 6 6 6;
20493                    }
20494                    fill.smooth : 0;
20495                }
20496                description { state: "clicked" 0.0;
20497                    inherit: "default" 0.0;
20498                    image.normal: "bt_spinner_up.png";
20499                    image.middle: SOLID;
20500                }
20501                description { state: "disabled" 0.0;
20502                    inherit:  "default" 0.0;
20503                    image {
20504                        normal: "bt_dis_base.png";
20505                        border: 4 4 4 4;
20506                    }
20507                }
20508            }
20509            part { name: "up_over1";
20510                mouse_events: 0;
20511                description { state: "default" 0.0;
20512                    rel1.to: "up_bt";
20513                    rel2 { to: "up_bt";
20514                        relative: 1.0 0.5;
20515                    }
20516                    image {
20517                        normal: "bt_spinner_hilight.png";
20518                        border: 7 7 7 0;
20519                    }
20520                }
20521                description { state: "disabled" 0.0;
20522                    inherit:  "default" 0.0;
20523                    image {
20524                        normal: "bt_dis_hilight.png";
20525                        border: 4 4 4 0;
20526                    }
20527                }
20528            }
20529            part { name: "up_over3";
20530                mouse_events: 1;
20531                repeat_events: 1;
20532                description { state: "default" 0.0;
20533                    color: 255 255 255 0;
20534                    rel1.to: "up_bt";
20535                    rel2.to: "up_bt";
20536                    image {
20537                        normal: "bt_glow.png";
20538                        border: 12 12 12 12;
20539                    }
20540                    fill.smooth : 0;
20541                }
20542                description { state: "clicked" 0.0;
20543                    inherit:  "default" 0.0;
20544                    visible: 1;
20545                    color: 255 255 255 255;
20546                }
20547            }
20548            part { name: "down_bt_icon";
20549                repeat_events: 1;
20550                description { state: "default" 0.0;
20551                    rel1.to: "down_bt";
20552                    rel2.to: "down_bt";
20553                    align: 0.5 0.5;
20554                    min: 14 12;
20555                    max: 14 12;
20556                    image.normal: "down.png";
20557                }
20558            }
20559            part { name: "up_bt_icon";
20560                repeat_events: 1;
20561                description { state: "default" 0.0;
20562                    rel1.to: "up_bt";
20563                    rel2.to: "up_bt";
20564                    align: 0.5 0.5;
20565                    min: 14 12;
20566                    max: 14 12;
20567                    image.normal: "up.png";
20568                }
20569            }
20570            part { name: "elm.text";
20571                type: TEXT;
20572                mouse_events: 0;
20573                scale: 1;
20574                description { state: "default" 0.0;
20575                    visible: 1;
20576                    align: 0.0 0.5;
20577                    rel1 { relative: 0.0 0.0;
20578                        offset: 3 2;
20579                        to_x: "bg";
20580                        to_y: "bg";
20581                    }
20582                    rel2 { relative: 0.0 1.0;
20583                        offset: -3 -2;
20584                        to_x: "bg";
20585                        to_y: "bg";
20586                    }
20587                    color: 0 0 0 255;
20588                    text {
20589                        font: "Sans,Edje-Vera";
20590                        size: 10;
20591                        min: 1 1;
20592                        align: 0.5 0.5;
20593                    }
20594                }
20595                description { state: "active" 0.0;
20596                    inherit: "default" 0.0;
20597                    visible: 0;
20598                }
20599                description { state: "disabled_active" 0.0;
20600                    inherit: "default" 0.0;
20601                    color: 0 0 0 128;
20602                    color3: 0 0 0 0;
20603                }
20604                description { state: "disabled" 0.0;
20605                    inherit: "default" 0.0;
20606                    color: 0 0 0 128;
20607                    color3: 0 0 0 0;
20608                }
20609            }
20610            part { name: "elm.dragable.slider";
20611                type: RECT;
20612                mouse_events: 0;
20613                scale: 1;
20614                dragable {
20615                    x: 1 1 0;
20616                    y: 0 0 0;
20617                }
20618                description { state: "default" 0.0;
20619                    rel1.to: "bg";
20620                    rel2.to: "bg";
20621                    fixed: 1 1;
20622                    color: 0 0 0 0;
20623                }
20624            }
20625            part { name: "button_events";
20626                type: RECT;
20627                dragable {
20628                    events: "elm.dragable.slider";
20629                }
20630                mouse_events: 1;
20631                description { state: "default" 0.0;
20632                    rel1.to: "elm.text";
20633                    rel2.to: "elm.text";
20634                    color: 0 0 0 0;
20635                }
20636            }
20637            part { name: "elm.swallow.entry";
20638                type: SWALLOW;
20639                description { state: "default" 0.0;
20640                    visible: 0;
20641                    align: 0.5 0.5;
20642                    rel1 { relative: 0.0 0.5;
20643                        offset: 3 2;
20644                        to: "bg";
20645                    }
20646                    rel2 { relative: 1.0 0.5;
20647                        offset: -3 -2;
20648                        to: "bg";
20649                    }
20650                    fixed: 1 1;
20651                    color: 0 0 0 0;
20652                }
20653                description { state: "active" 0.0;
20654                    inherit: "default" 0.0;
20655                    visible: 1;
20656                    color: 255 255 255 255;
20657                }
20658                description { state: "disabled_active" 0.0;
20659                    inherit: "default" 0.0;
20660                    visible: 0;
20661                }
20662                description { state: "disabled" 0.0;
20663                    inherit: "default" 0.0;
20664                    visible: 0;
20665                }
20666            }
20667            part { name: "disabler";
20668                type: RECT;
20669                description { state: "default" 0.0;
20670                    color: 0 0 0 0;
20671                    visible: 0;
20672                }
20673                description { state: "disabled" 0.0;
20674                    inherit: "default" 0.0;
20675                    visible: 1;
20676                }
20677            }
20678        }
20679        programs {
20680            program { name: "text_show";
20681                signal: "elm,state,text,visible";
20682                source: "elm";
20683                action:  STATE_SET "visible" 0.0;
20684                target: "elm.text";
20685            }
20686            program { name: "text_hide";
20687                signal: "elm,state,text,hidden";
20688                source: "elm";
20689                action:  STATE_SET "default" 0.0;
20690                target: "elm.text";
20691            }
20692            program { name: "dec";
20693                signal: "mouse,down,1";
20694                source: "down_bt";
20695                action: SIGNAL_EMIT "elm,action,decrement,start" "";
20696            }
20697            program { name: "dec2";
20698                signal: "mouse,up,1";
20699                source: "down_bt";
20700                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
20701            }
20702            program { name: "inc";
20703                signal: "mouse,down,1";
20704                source: "up_bt";
20705                action: SIGNAL_EMIT "elm,action,increment,start" "";
20706            }
20707            program { name: "inc2";
20708                signal: "mouse,up,1";
20709                source: "up_bt";
20710                action: SIGNAL_EMIT "elm,action,increment,stop" "";
20711            }
20712            program {
20713                name:   "down_bt_click2";
20714                signal: "mouse,down,1";
20715                source: "down_over3";
20716                action: STATE_SET "clicked" 0.0;
20717                target: "down_over3";
20718            }
20719            program {
20720                name:   "down_bt_unclick2";
20721                signal: "mouse,up,1";
20722                source: "down_over3";
20723                action: STATE_SET "default" 0.0;
20724                transition: DECELERATE 0.5;
20725                target: "down_over3";
20726            }
20727            program {
20728                name:   "up_bt_click2";
20729                signal: "mouse,down,1";
20730                source: "up_over3";
20731                action: STATE_SET "clicked" 0.0;
20732                target: "up_over3";
20733            }
20734            program {
20735                name:   "up_bt_unclick2";
20736                signal: "mouse,up,1";
20737                source: "up_over3";
20738                action: STATE_SET "default" 0.0;
20739                transition: DECELERATE 0.5;
20740                target: "up_over3";
20741            }
20742            program { name: "disable";
20743                signal: "elm,state,disabled";
20744                source: "elm";
20745                action: STATE_SET "disabled" 0.0;
20746                target: "down_bt";
20747                target: "up_bt";
20748                target: "disabler";
20749                after: "disable_text";
20750            }
20751            program { name: "disable_text";
20752                script {
20753                    new st[31];
20754                    new Float:vl;
20755                    get_state(PART:"elm.text", st, 30, vl);
20756                    if (!strcmp(st, "active"))
20757                    set_state(PART:"elm.text", "disabled_active", 0.0);
20758                    else
20759                    set_state(PART:"elm.text", "disabled", 0.0);
20760
20761                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20762                    if (!strcmp(st, "active"))
20763                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
20764                    else
20765                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
20766                }
20767            }
20768            program { name: "enable";
20769                signal: "elm,state,enabled";
20770                source: "elm";
20771                action: STATE_SET "default" 0.0;
20772                target: "down_bt";
20773                target: "up_bt";
20774                target: "disabler";
20775                after: "enable_text";
20776            }
20777            program { name: "enable_text";
20778                script {
20779                    new st[31];
20780                    new Float:vl;
20781                    get_state(PART:"elm.text", st, 30, vl);
20782                    if (!strcmp(st, "disabled_active"))
20783                    set_state(PART:"elm.text", "active", 0.0);
20784                    else
20785                    set_state(PART:"elm.text", "default", 0.0);
20786
20787                    get_state(PART:"elm.swallow.entry", st, 30, vl);
20788                    if (!strcmp(st, "disabled_active"))
20789                    set_state(PART:"elm.swallow.entry", "active", 0.0);
20790                    else
20791                    set_state(PART:"elm.swallow.entry", "default", 0.0);
20792                }
20793            }
20794            program { name: "active";
20795                signal: "elm,state,active";
20796                source: "elm";
20797                action: STATE_SET "active" 0.0;
20798                target: "elm.text";
20799                target: "elm.swallow.entry";
20800            }
20801            program { name: "inactive";
20802                signal: "elm,state,inactive";
20803                source: "elm";
20804                action: STATE_SET "default" 0.0;
20805                target: "elm.text";
20806                target: "elm.swallow.entry";
20807            }
20808            program { name: "toggle_text";
20809                signal: "mouse,up,1";
20810                source: "button_events";
20811                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
20812            }
20813        }
20814    }
20815
20816
20817    ///////////////////////////////////////////////////////////////////////////////
20818    group { name: "elm/index/base/vertical/default";
20819        images {
20820            image: "bt_base1.png" COMP;
20821            image: "bt_base2.png" COMP;
20822            image: "bt_hilight.png" COMP;
20823            image: "bt_shine.png" COMP;
20824        }
20825        parts {
20826            part { name: "clip";
20827                type: RECT;
20828                mouse_events:  0;
20829                description { state: "default" 0.0;
20830                    visible:  0;
20831                    color: 255 255 255 0;
20832                }
20833                description { state: "active" 0.0;
20834                    visible:  1;
20835                    color: 255 255 255 255;
20836                }
20837            }
20838            part { name: "clip2";
20839                type: RECT;
20840                mouse_events:  0;
20841                clip_to: "clip";
20842                description { state: "default" 0.0;
20843                    visible: 0;
20844                    color: 255 255 255 0;
20845                }
20846                description { state: "active" 0.0;
20847                    visible:  1;
20848                    color: 255 255 255 255;
20849                }
20850            }
20851            part { name: "elm.swallow.index.0";
20852                type: SWALLOW;
20853                clip_to: "clip";
20854                description { state: "default" 0.0;
20855                    align: 1.0 0.5;
20856                    rel1 {
20857                        relative: 1.0 0.5;
20858                        offset: -1 5;
20859                    }
20860                    rel2 {
20861                        relative: 1.0 0.5;
20862                        offset: -1 -6;
20863                    }
20864                }
20865            }
20866            part { name: "button_image";
20867                mouse_events: 1;
20868                clip_to: "clip";
20869                description { state: "default" 0.0;
20870                    rel1 {
20871                        to: "elm.text.body";
20872                        offset: -5 -5;
20873                    }
20874                    rel2 {
20875                        to: "elm.text";
20876                        offset: 4 4;
20877                    }
20878                    image {
20879                        normal: "bt_base2.png";
20880                        border: 7 7 7 7;
20881                    }
20882                    image.middle: SOLID;
20883                }
20884            }
20885            part { name: "elm.text.body";
20886                type: TEXT;
20887                effect: SOFT_SHADOW;
20888                mouse_events: 0;
20889                scale: 1;
20890                clip_to: "clip";
20891                description { state: "default" 0.0;
20892                    align: 1.0 0.5;
20893                    rel1 {
20894                        to: "elm.text";
20895                        relative: 0.0 0.0;
20896                        offset: 5 0;
20897                    }
20898                    rel2 {
20899                        to: "elm.text";
20900                        relative: 0.0 1.0;
20901                        offset: 5 -1;
20902                    }
20903                    color: 224 224 224 255;
20904                    color3: 0 0 0 64;
20905                    text {
20906                        font:     "Sans,Edje-Vera";
20907                        size:     20;
20908                        min:      1 1;
20909                        align:    1.0 0.5;
20910                    }
20911                }
20912            }
20913            part { name: "elm.text";
20914                type: TEXT;
20915                effect: SOFT_SHADOW;
20916                mouse_events: 0;
20917                scale: 1;
20918                clip_to: "clip";
20919                description { state: "default" 0.0;
20920                    align: 1.0 0.5;
20921                    rel1 {
20922                        to_x: "elm.swallow.event.0";
20923                        to_y: "elm.dragable.pointer";
20924                        relative: 0.0 0.5;
20925                        offset: -16 0;
20926                    }
20927                    rel2 {
20928                        to_x: "elm.swallow.event.0";
20929                        to_y: "elm.dragable.pointer";
20930                        relative: 0.0 0.5;
20931                        offset: -16 -1;
20932                    }
20933                    color: 255 0 0 255;
20934                    color3: 0 0 0 64;
20935                    text {
20936                        font:     "Sans,Edje-Vera";
20937                        size:     20;
20938                        min:      1 1;
20939                        align:    1.0 0.5;
20940                    }
20941                }
20942            }
20943            part {       name: "over1";
20944                mouse_events: 0;
20945                clip_to: "clip";
20946                description { state: "default" 0.0;
20947                    rel1 {
20948                        to: "button_image";
20949                    }
20950                    rel2 {
20951                        to: "button_image";
20952                        relative: 1.0 0.5;
20953                    }
20954                    image {
20955                        normal: "bt_hilight.png";
20956                        border: 7 7 7 0;
20957                    }
20958                }
20959            }
20960            part { name: "over2";
20961                mouse_events: 1;
20962                repeat_events: 1;
20963                ignore_flags: ON_HOLD;
20964                clip_to: "clip";
20965                description { state: "default" 0.0;
20966                    rel1 {
20967                        to: "button_image";
20968                    }
20969                    rel2 {
20970                        to: "button_image";
20971                    }
20972                    image {
20973                        normal: "bt_shine.png";
20974                        border: 7 7 7 7;
20975                    }
20976                }
20977            }
20978            part { name: "elm.dragable.pointer";
20979                type: RECT;
20980                mouse_events: 0;
20981                dragable {
20982                    x: 1 1 0;
20983                    y: 1 1 0;
20984                }
20985                clip_to: "clip";
20986                description { state: "default" 0.0;
20987                    fixed: 1 1;
20988                    min: 8 8;
20989                    max: 8 8;
20990                    rel1 {
20991                        relative: 0.0 0.0;
20992                        offset:   0 0;
20993                    }
20994                    rel2 {
20995                        relative: 0.0 0.0;
20996                        offset:   0 0;
20997                    }
20998                    color: 0 0 255 128;
20999                }
21000            }
21001            part { name: "elm.swallow.event.0";
21002                type: SWALLOW;
21003                description { state: "default" 0.0;
21004                    align: 1.0 0.5;
21005                    rel1 {
21006                        relative: 1.0 0.0;
21007                        offset: -1 0;
21008                    }
21009                    rel2 {
21010                        relative: 1.0 1.0;
21011                        offset: -1 -1;
21012                    }
21013                }
21014            }
21015        }
21016        programs {
21017            program { name: "active";
21018                signal: "elm,state,active";
21019                source: "elm";
21020                action: STATE_SET "active" 0.0;
21021                transition: DECELERATE 0.5;
21022                target: "clip";
21023            }
21024            program { name: "inactive";
21025                signal: "elm,state,inactive";
21026                source: "elm";
21027                action: STATE_SET "default" 0.0;
21028                transition: DECELERATE 0.5;
21029                target: "clip";
21030            }
21031        }
21032    }
21033
21034    group { name: "elm/index/item/vertical/default";
21035        data.item: "stacking" "above";
21036        data.item: "selectraise" "on";
21037        images {
21038            image: "ilist_1.png" COMP;
21039            image: "ilist_item_shadow.png" COMP;
21040        }
21041        parts {
21042            part {
21043                name: "base_sh";
21044                mouse_events: 0;
21045                description {
21046                    state: "default" 0.0;
21047                    align: 0.0 0.0;
21048                    min: 0 10;
21049                    fixed: 1 1;
21050                    rel1 {
21051                        to: "base";
21052                        relative: 0.0 1.0;
21053                        offset: 0 0;
21054                    }
21055                    rel2 {
21056                        to: "base";
21057                        relative: 1.0 1.0;
21058                        offset: -1 0;
21059                    }
21060                    image {
21061                        normal: "ilist_item_shadow.png";
21062                    }
21063                    fill.smooth: 0;
21064                }
21065            }
21066            part {
21067                name: "base";
21068                mouse_events: 0;
21069                description {
21070                    state: "default" 0.0;
21071                    image {
21072                        normal: "ilist_1.png";
21073                        border: 2 2 2 2;
21074                    }
21075                    fill.smooth: 0;
21076                }
21077                description { state: "active" 0.0;
21078                    inherit: "default" 0.0;
21079                    rel1 {
21080                        offset: -16 0;
21081                    }
21082                }
21083            }
21084            part { name: "elm.text";
21085                type:           TEXT;
21086                mouse_events:   0;
21087                scale: 1;
21088                description {
21089                    state: "default" 0.0;
21090                           //               min: 16 16;
21091                    rel1 {
21092                        to: "base";
21093                        relative: 0.0  0.0;
21094                        offset:   4 4;
21095                    }
21096                    rel2 {
21097                        to: "base";
21098                        relative: 1.0  1.0;
21099                        offset:   -5 -5;
21100                    }
21101                    color: 0 0 0 128;
21102                    text {
21103                        font: "Sans";
21104                        size: 10;
21105                        min: 1 1;
21106                             //                  min: 0 1;
21107                        align: 0.0 0.5;
21108                    }
21109                }
21110                description { state: "active" 0.0;
21111                    inherit: "default" 0.0;
21112                    color: 0 0 0 255;
21113                }
21114            }
21115        }
21116        programs {
21117            program { name: "active";
21118                signal: "elm,state,active";
21119                source: "elm";
21120                action: STATE_SET "active" 0.0;
21121                transition: DECELERATE 0.5;
21122                target: "elm.text";
21123                target: "base";
21124            }
21125            program { name: "inactive";
21126                signal: "elm,state,inactive";
21127                source: "elm";
21128                action: STATE_SET "default" 0.0;
21129                transition: DECELERATE 0.5;
21130                target: "elm.text";
21131                target: "base";
21132            }
21133        }
21134    }
21135
21136    group { name: "elm/index/item_odd/vertical/default";
21137        data.item: "stacking" "below";
21138        images {
21139            image: "ilist_2.png" COMP;
21140        }
21141        parts {
21142            part {
21143                name: "base";
21144                mouse_events: 0;
21145                description {
21146                    state: "default" 0.0;
21147                    image {
21148                        normal: "ilist_2.png";
21149                        border: 2 2 2 2;
21150                    }
21151                    fill.smooth: 0;
21152                }
21153                description { state: "active" 0.0;
21154                    inherit: "default" 0.0;
21155                    rel1 {
21156                        offset: -16 0;
21157                    }
21158                }
21159            }
21160            part { name: "elm.text";
21161                type:           TEXT;
21162                mouse_events:   0;
21163                scale: 1;
21164                description {
21165                    state: "default" 0.0;
21166                           //               min: 16 16;
21167                    rel1 {
21168                        to: "base";
21169                        relative: 0.0  0.0;
21170                        offset:   4 4;
21171                    }
21172                    rel2 {
21173                        to: "base";
21174                        relative: 1.0  1.0;
21175                        offset:   -5 -5;
21176                    }
21177                    color: 0 0 0 128;
21178                    text {
21179                        font: "Sans";
21180                        size: 10;
21181                        min: 1 1;
21182                             //                  min: 0 1;
21183                        align: 0.0 0.5;
21184                    }
21185                }
21186                description { state: "active" 0.0;
21187                    inherit: "default" 0.0;
21188                    color: 0 0 0 255;
21189                }
21190            }
21191        }
21192        programs {
21193            program { name: "active";
21194                signal: "elm,state,active";
21195                source: "elm";
21196                action: STATE_SET "active" 0.0;
21197                transition: DECELERATE 0.5;
21198                target: "elm.text";
21199                target: "base";
21200            }
21201            program { name: "inactive";
21202                signal: "elm,state,inactive";
21203                source: "elm";
21204                action: STATE_SET "default" 0.0;
21205                transition: DECELERATE 0.5;
21206                target: "elm.text";
21207                target: "base";
21208            }
21209        }
21210    }
21211
21212    ///////////////////////////////////////////////////////////////////////////////
21213    group { name: "elm/gengrid/item/default/default";
21214       data.item: "labels" "elm.text";
21215       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21216       images {
21217          image: "bt_sm_base1.png" COMP;
21218          image: "bt_sm_shine.png" COMP;
21219          image: "bt_sm_hilight.png" COMP;
21220          image: "ilist_1.png" COMP;
21221          image: "ilist_item_shadow.png" COMP;
21222       }
21223       parts {
21224          part {
21225             name: "event";
21226             type: RECT;
21227             repeat_events: 1;
21228             description {
21229                state: "default" 0.0;
21230                color: 0 0 0 0;
21231             }
21232          }
21233          part {
21234             name: "base_sh";
21235             mouse_events: 0;
21236             description {
21237                state: "default" 0.0;
21238                align: 0.0 0.0;
21239                min: 0 10;
21240                fixed: 1 1;
21241                rel1 {
21242                   to: "base";
21243                   relative: 0.0 1.0;
21244                   offset: 0 0;
21245                }
21246                rel2 {
21247                   to: "base";
21248                   relative: 1.0 1.0;
21249                   offset: -1 0;
21250                }
21251                image {
21252                   normal: "ilist_item_shadow.png";
21253                }
21254                fill.smooth: 0;
21255             }
21256          }
21257          part {
21258             name: "base";
21259             mouse_events: 0;
21260             description {
21261                state: "default" 0.0;
21262                image {
21263                   normal: "ilist_1.png";
21264                   border: 2 2 2 2;
21265                }
21266                fill.smooth: 0;
21267             }
21268          }
21269          part { name: "bg";
21270             clip_to: "disclip";
21271             mouse_events: 0;
21272             description { state: "default" 0.0;
21273                visible: 0;
21274                color: 255 255 255 0;
21275                rel1 {
21276                   relative: 0.0 0.0;
21277                   offset: -5 -5;
21278                }
21279                rel2 {
21280                   relative: 1.0 1.0;
21281                   offset: 4 4;
21282                }
21283                image {
21284                   normal: "bt_sm_base1.png";
21285                   border: 6 6 6 6;
21286                }
21287                image.middle: SOLID;
21288             }
21289             description { state: "selected" 0.0;
21290                inherit: "default" 0.0;
21291                visible: 1;
21292                color: 255 255 255 255;
21293                rel1 {
21294                   relative: 0.0 0.0;
21295                   offset: -2 -2;
21296                }
21297                rel2 {
21298                   relative: 1.0 1.0;
21299                   offset: 1 1;
21300                }
21301             }
21302          }
21303          part { name: "elm.swallow.pad";
21304             type: SWALLOW;
21305             description { state: "default" 0.0;
21306                fixed: 1 0;
21307                align: 0.0 0.5;
21308                rel1 {
21309                   relative: 0.0  1.0;
21310                   offset:   0    -10;
21311                }
21312                rel2 {
21313                   to_y: "elm.text";
21314                   relative: 0.0  0.0;
21315                   offset:   -1   -1;
21316                }
21317             }
21318          }
21319          part { name: "elm.swallow.icon";
21320             clip_to: "disclip";
21321             type: SWALLOW;
21322             description { state: "default" 0.0;
21323                fixed: 1 0;
21324                align: 0.5 0.5;
21325                rel1 {
21326                   relative: 0.0  0.0;
21327                   offset:   -1    4;
21328                }
21329                rel2 {
21330                   to_y: "elm.swallow.pad";
21331                   relative: 1.0  0.0;
21332                   offset:   -1   -5;
21333                }
21334             }
21335          }
21336          part { name: "elm.swallow.end";
21337             clip_to: "disclip";
21338             type: SWALLOW;
21339             description { state: "default" 0.0;
21340                fixed: 1 0;
21341                align: 1.0 0.0;
21342                aspect: 1.0 1.0;
21343                aspect_preference: HORIZONTAL;
21344                rel1 {
21345                   relative: 1.0 0.0;
21346                   offset: -5 -5;
21347                }
21348                rel2 {
21349                   relative: 1.0 1.0;
21350                   offset: 5 5;
21351                }
21352             }
21353          }
21354          part { name: "elm.text";
21355             clip_to: "disclip";
21356             type: TEXT;
21357             effect: SOFT_SHADOW;
21358             mouse_events: 0;
21359             scale: 1;
21360             description {
21361                state: "default" 0.0;
21362                rel1 {
21363                   relative: 0.0  1.0;
21364                   offset: 0 0;
21365                }
21366                rel2 {
21367                   relative: 1.0  1.0;
21368                   offset: -5 -5;
21369                }
21370                color: 0 0 0 255;
21371                color3: 0 0 0 0;
21372                text {
21373                   font: "Sans";
21374                   size: 10;
21375                   min: 0 1;
21376                   align: 0.5 0.0;
21377                }
21378             }
21379             description { state: "selected" 0.0;
21380                inherit: "default" 0.0;
21381                color: 224 224 224 255;
21382                color3: 0 0 0 64;
21383             }
21384          }
21385          part { name: "fg1";
21386             clip_to: "disclip";
21387             mouse_events: 0;
21388             description { state: "default" 0.0;
21389                visible: 0;
21390                color: 255 255 255 0;
21391                rel1.to: "bg";
21392                rel2.relative: 1.0 0.5;
21393                rel2.to: "bg";
21394                image {
21395                   normal: "bt_sm_hilight.png";
21396                   border: 6 6 6 0;
21397                }
21398             }
21399             description { state: "selected" 0.0;
21400                inherit: "default" 0.0;
21401                visible: 1;
21402                color: 255 255 255 255;
21403             }
21404          }
21405          part { name: "fg2";
21406             clip_to: "disclip";
21407             mouse_events: 0;
21408             description { state: "default" 0.0;
21409                visible: 0;
21410                color: 255 255 255 0;
21411                rel1.to: "bg";
21412                rel2.to: "bg";
21413                image {
21414                   normal: "bt_sm_shine.png";
21415                   border: 6 6 6 0;
21416                }
21417             }
21418             description { state: "selected" 0.0;
21419                inherit: "default" 0.0;
21420                visible: 1;
21421                color: 255 255 255 255;
21422             }
21423          }
21424          part { name: "disclip";
21425             type: RECT;
21426             description { state: "default" 0.0;
21427                rel1.to: "bg";
21428                rel2.to: "bg";
21429             }
21430             description { state: "disabled" 0.0;
21431                inherit: "default" 0.0;
21432                color: 255 255 255 64;
21433             }
21434          }
21435       }
21436       programs {
21437          // signal: elm,state,%s,active
21438          //   a "check" item named %s went active
21439          // signal: elm,state,%s,passive
21440          //   a "check" item named %s went passive
21441          // default is passive
21442          program {
21443             name:    "go_active";
21444             signal:  "elm,state,selected";
21445             source:  "elm";
21446             action:  STATE_SET "selected" 0.0;
21447             target:  "bg";
21448             target:  "fg1";
21449             target:  "fg2";
21450             target:  "elm.text";
21451          }
21452          program {
21453             name:    "go_passive";
21454             signal:  "elm,state,unselected";
21455             source:  "elm";
21456             action:  STATE_SET "default" 0.0;
21457             target:  "bg";
21458             target:  "fg1";
21459             target:  "fg2";
21460             target:  "elm.text";
21461             transition: LINEAR 0.1;
21462          }
21463          program {
21464             name:    "go_disabled";
21465             signal:  "elm,state,disabled";
21466             source:  "elm";
21467             action:  STATE_SET "disabled" 0.0;
21468             target:  "disclip";
21469          }
21470          program {
21471             name:    "go_enabled";
21472             signal:  "elm,state,enabled";
21473             source:  "elm";
21474             action:  STATE_SET "default" 0.0;
21475             target:  "disclip";
21476          }
21477       }
21478    }
21479    group { name: "elm/gengrid/item/default_style/default";
21480        styles
21481        {
21482            style { name: "gengrid_style";
21483                base: "font=Sans font_size=10 align=left valign=0.5 color=#000";
21484                tag:  "br" "\n";
21485                tag:  "hilight" "+ font=Sans:style=Bold";
21486                tag:  "b" "+ font=Sans:style=Bold";
21487                tag:  "tab" "\t";
21488            }
21489            style { name: "gengrid_selected_style";
21490                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff";
21491                tag:  "br" "\n";
21492                tag:  "hilight" "+ font=Sans:style=Bold";
21493                tag:  "b" "+ font=Sans:style=Bold";
21494                tag:  "tab" "\t";
21495            }
21496        }
21497        data.item: "labels" "elm.text";
21498        data.item: "icons" "elm.swallow.icon elm.swallow.end";
21499        images {
21500            image: "bt_sm_base1.png" COMP;
21501            image: "bt_sm_shine.png" COMP;
21502            image: "bt_sm_hilight.png" COMP;
21503            image: "ilist_1.png" COMP;
21504            image: "ilist_item_shadow.png" COMP;
21505        }
21506        parts {
21507            part {
21508                name: "event";
21509                type: RECT;
21510                repeat_events: 1;
21511                description {
21512                    state: "default" 0.0;
21513                    color: 0 0 0 0;
21514                }
21515            }
21516            part {
21517                name: "base_sh";
21518                mouse_events: 0;
21519                description {
21520                    state: "default" 0.0;
21521                    align: 0.0 0.0;
21522                    min: 0 10;
21523                    fixed: 1 1;
21524                    rel1 {
21525                        to: "base";
21526                        relative: 0.0 1.0;
21527                        offset: 0 0;
21528                    }
21529                    rel2 {
21530                        to: "base";
21531                        relative: 1.0 1.0;
21532                        offset: -1 0;
21533                    }
21534                    image {
21535                        normal: "ilist_item_shadow.png";
21536                    }
21537                    fill.smooth: 0;
21538                }
21539            }
21540            part {
21541                name: "base";
21542                mouse_events: 0;
21543                description {
21544                    state: "default" 0.0;
21545                    min: 16 28;
21546                    image {
21547                        normal: "ilist_1.png";
21548                        border: 2 2 2 2;
21549                    }
21550                    fill.smooth: 0;
21551                }
21552            }
21553            part { name: "bg";
21554                clip_to: "disclip";
21555                mouse_events: 0;
21556                description { state: "default" 0.0;
21557                    visible: 0;
21558                    color: 255 255 255 0;
21559                    rel1 {
21560                        relative: 0.0 0.0;
21561                        offset: -5 -5;
21562                    }
21563                    rel2 {
21564                        relative: 1.0 1.0;
21565                        offset: 4 4;
21566                    }
21567                    image {
21568                        normal: "bt_sm_base1.png";
21569                        border: 6 6 6 6;
21570                    }
21571                    image.middle: SOLID;
21572                }
21573                description { state: "selected" 0.0;
21574                    inherit: "default" 0.0;
21575                    visible: 1;
21576                    color: 255 255 255 255;
21577                    rel1 {
21578                        relative: 0.0 0.0;
21579                        offset: -2 -2;
21580                    }
21581                    rel2 {
21582                        relative: 1.0 1.0;
21583                        offset: 1 1;
21584                    }
21585                }
21586            }
21587            part { name: "elm.swallow.pad";
21588                type: SWALLOW;
21589                description { state: "default" 0.0;
21590                    fixed: 1 0;
21591                    align: 0.0 0.5;
21592                    rel1 {
21593                        relative: 0.0  0.0;
21594                        offset:   4    4;
21595                    }
21596                    rel2 {
21597                        relative: 0.0  1.0;
21598                        offset:   4   -5;
21599                    }
21600                }
21601            }
21602            part { name: "elm.swallow.icon";
21603                clip_to: "disclip";
21604                type: SWALLOW;
21605                description { state: "default" 0.0;
21606                    fixed: 1 0;
21607                    align: 0.0 0.5;
21608                    rel1 {
21609                        to_x: "elm.swallow.pad";
21610                        relative: 1.0  0.0;
21611                        offset:   -1    4;
21612                    }
21613                    rel2 {
21614                        to_x: "elm.swallow.pad";
21615                        relative: 1.0  1.0;
21616                        offset:   -1   -5;
21617                    }
21618                }
21619            }
21620            part { name: "elm.swallow.end";
21621                clip_to: "disclip";
21622                type: SWALLOW;
21623                description { state: "default" 0.0;
21624                    fixed: 1 0;
21625                    align: 1.0 0.5;
21626                    aspect: 1.0 1.0;
21627                    aspect_preference: VERTICAL;
21628                    rel1 {
21629                        relative: 1.0  0.0;
21630                        offset:   -5    4;
21631                    }
21632                    rel2 {
21633                        relative: 1.0  1.0;
21634                        offset:   -5   -5;
21635                    }
21636                }
21637            }
21638            part { name: "elm.text";
21639                clip_to: "disclip";
21640                type: TEXTBLOCK;
21641                mouse_events: 0;
21642                scale: 1;
21643                description {
21644                    state: "default" 0.0;
21645                    align: 0.0 0.5;
21646                    fixed: 0 1;
21647                    rel1 {
21648                        to_x: "elm.swallow.icon";
21649                        to_y: "base";
21650                        relative: 1.0  0.5;
21651                        offset:   0 4;
21652                    }
21653                    rel2 {
21654                        to_x: "elm.swallow.end";
21655                        to_y: "base";
21656                        relative: 0.0  0.5;
21657                        offset:   -1 -5;
21658                    }
21659                    text {
21660                        style: "gengrid_style";
21661                        min: 1 1;
21662                    }
21663                }
21664                description { state: "selected" 0.0;
21665                    inherit: "default" 0.0;
21666                    text {
21667                        style: "gengrid_selected_style";
21668                    }
21669                }
21670            }
21671            part { name: "fg1";
21672                clip_to: "disclip";
21673                mouse_events: 0;
21674                description { state: "default" 0.0;
21675                    visible: 0;
21676                    color: 255 255 255 0;
21677                    rel1.to: "bg";
21678                    rel2.relative: 1.0 0.5;
21679                    rel2.to: "bg";
21680                    image {
21681                        normal: "bt_sm_hilight.png";
21682                        border: 6 6 6 0;
21683                    }
21684                }
21685                description { state: "selected" 0.0;
21686                    inherit: "default" 0.0;
21687                    visible: 1;
21688                    color: 255 255 255 255;
21689                }
21690            }
21691            part { name: "fg2";
21692                clip_to: "disclip";
21693                mouse_events: 0;
21694                description { state: "default" 0.0;
21695                    visible: 0;
21696                    color: 255 255 255 0;
21697                    rel1.to: "bg";
21698                    rel2.to: "bg";
21699                    image {
21700                        normal: "bt_sm_shine.png";
21701                        border: 6 6 6 0;
21702                    }
21703                }
21704                description { state: "selected" 0.0;
21705                    inherit: "default" 0.0;
21706                    visible: 1;
21707                    color: 255 255 255 255;
21708                }
21709            }
21710            part { name: "disclip";
21711                type: RECT;
21712                description { state: "default" 0.0;
21713                    rel1.to: "bg";
21714                    rel2.to: "bg";
21715                }
21716                description { state: "disabled" 0.0;
21717                    inherit: "default" 0.0;
21718                    color: 255 255 255 64;
21719                }
21720            }
21721        }
21722        programs {
21723            // signal: elm,state,%s,active
21724            //   a "check" item named %s went active
21725            // signal: elm,state,%s,passive
21726            //   a "check" item named %s went passive
21727            // default is passive
21728            program {
21729                name:    "go_active";
21730                signal:  "elm,state,selected";
21731                source:  "elm";
21732                action:  STATE_SET "selected" 0.0;
21733                target:  "bg";
21734                target:  "fg1";
21735                target:  "fg2";
21736                target:  "elm.text";
21737            }
21738            program {
21739                name:    "go_passive";
21740                signal:  "elm,state,unselected";
21741                source:  "elm";
21742                action:  STATE_SET "default" 0.0;
21743                target:  "bg";
21744                target:  "fg1";
21745                target:  "fg2";
21746                target:  "elm.text";
21747                transition: LINEAR 0.1;
21748            }
21749            program {
21750                name:    "go_disabled";
21751                signal:  "elm,state,disabled";
21752                source:  "elm";
21753                action:  STATE_SET "disabled" 0.0;
21754                target:  "disclip";
21755            }
21756            program {
21757                name:    "go_enabled";
21758                signal:  "elm,state,enabled";
21759                source:  "elm";
21760                action:  STATE_SET "default" 0.0;
21761                target:  "disclip";
21762            }
21763        }
21764    }
21765
21766    ///////////////////////////////////////////////////////////////////////////////
21767    group { name: "elm/photocam/base/default";
21768        script {
21769            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
21770            public timer0(val) {
21771                new v;
21772                v = get_int(sbvis_v);
21773                if (v) {
21774                    v = get_int(sbalways_v);
21775                    if (!v) {
21776                        emit("do-hide-vbar", "");
21777                        set_int(sbvis_v, 0);
21778                    }
21779                }
21780                v = get_int(sbvis_h);
21781                if (v) {
21782                    v = get_int(sbalways_h);
21783                    if (!v) {
21784                        emit("do-hide-hbar", "");
21785                        set_int(sbvis_h, 0);
21786                    }
21787                }
21788                set_int(sbvis_timer, 0);
21789                return 0;
21790            }
21791        }
21792        images {
21793            image: "shelf_inset.png" COMP;
21794            image: "bt_sm_base2.png" COMP;
21795            image: "bt_sm_shine.png" COMP;
21796            image: "bt_sm_hilight.png" COMP;
21797            image: "sb_runnerh.png" COMP;
21798            image: "sb_runnerv.png" COMP;
21799            image: "busy-1.png" COMP;
21800            image: "busy-2.png" COMP;
21801            image: "busy-3.png" COMP;
21802            image: "busy-4.png" COMP;
21803            image: "busy-5.png" COMP;
21804            image: "busy-6.png" COMP;
21805            image: "busy-7.png" COMP;
21806            image: "busy-8.png" COMP;
21807            image: "busy-9.png" COMP;
21808        }
21809        parts {
21810            part { name: "bg";
21811                type: RECT;
21812                description { state: "default" 0.0;
21813                    rel1.offset: 1 1;
21814                    rel2.offset: -2 -2;
21815                    color: 255 255 255 0;
21816                }
21817            }
21818            part { name: "clipper";
21819                type: RECT;
21820                mouse_events: 0;
21821                description { state: "default" 0.0;
21822                    rel1.to: "bg";
21823                    rel2.to: "bg";
21824                }
21825            }
21826            part { name: "elm.swallow.content";
21827                clip_to: "clipper";
21828                type: SWALLOW;
21829                description { state: "default" 0.0;
21830                    rel1.offset: 1 1;
21831                    rel2.offset: -2 -2;
21832                }
21833            }
21834            part { name: "busy_clip";
21835                type: RECT;
21836                mouse_events: 0;
21837                description { state: "default" 0.0;
21838                    visible: 0;
21839                    color: 255 255 255 0;
21840                }
21841                description { state: "active" 0.0;
21842                    visible: 1;
21843                    color: 255 255 255 255;
21844                }
21845            }
21846            part { name: "busy";
21847                clip_to: "busy_clip";
21848                mouse_events: 0;
21849                description { state: "default" 0.0;
21850                    fixed: 1 1;
21851                    min: 32 32;
21852                    aspect: 1.0 1.0;
21853                    align: 1.0 1.0;
21854                    aspect_preference: BOTH;
21855                    rel1 {
21856                        relative: 0.9 0.9;
21857                        offset:   -9 -9;
21858                    }
21859                    rel2 {
21860                        relative: 0.9 0.9;
21861                        offset:   -9 -9;
21862                    }
21863                    image {
21864                        normal: "busy-9.png";
21865                        tween:  "busy-1.png";
21866                        tween:  "busy-2.png";
21867                        tween:  "busy-3.png";
21868                        tween:  "busy-4.png";
21869                        tween:  "busy-5.png";
21870                        tween:  "busy-6.png";
21871                        tween:  "busy-7.png";
21872                        tween:  "busy-8.png";
21873                    }
21874                }
21875            }
21876            part { name: "conf_over";
21877                mouse_events:  0;
21878                description { state: "default" 0.0;
21879                    rel1.offset: 0 0;
21880                    rel2.offset: -1 -1;
21881                    image {
21882                        normal: "shelf_inset.png";
21883                        border: 7 7 7 7;
21884                        middle: 0;
21885                    }
21886                    fill.smooth : 0;
21887                }
21888            }
21889            part { name: "sb_vbar_clip_master";
21890                type: RECT;
21891                mouse_events: 0;
21892                description { state: "default" 0.0;
21893                }
21894                description { state: "hidden" 0.0;
21895                    visible: 0;
21896                    color: 255 255 255 0;
21897                }
21898            }
21899            part { name: "sb_vbar_clip";
21900                clip_to: "sb_vbar_clip_master";
21901                type: RECT;
21902                mouse_events: 0;
21903                description { state: "default" 0.0;
21904                }
21905                description { state: "hidden" 0.0;
21906                    visible: 0;
21907                    color: 255 255 255 0;
21908                }
21909            }
21910            part { name: "sb_vbar";
21911                type: RECT;
21912                mouse_events: 0;
21913                description { state: "default" 0.0;
21914                    fixed: 1 1;
21915                    visible: 0;
21916                    min: 17 17;
21917                    align: 1.0 0.0;
21918                    rel1 {
21919                        relative: 1.0 0.0;
21920                        offset:   -2 0;
21921                    }
21922                    rel2 {
21923                        relative: 1.0 0.0;
21924                        offset:   -2 -1;
21925                        to_y:     "sb_hbar";
21926                    }
21927                }
21928            }
21929            part { name: "sb_vbar_runner";
21930                clip_to: "sb_vbar_clip";
21931                mouse_events: 0;
21932                description { state: "default" 0.0;
21933                    min: 3 3;
21934                    max: 3 99999;
21935                    rel1.to:       "sb_vbar";
21936                    rel2.to:       "sb_vbar";
21937                    image {
21938                        normal: "sb_runnerv.png";
21939                        border: 0 0 4 4;
21940                    }
21941                    fill.smooth: 0;
21942                }
21943            }
21944            part { name: "elm.dragable.vbar";
21945                clip_to: "sb_vbar_clip";
21946                mouse_events: 0;
21947                dragable {
21948                    x: 0 0 0;
21949                    y: 1 1 0;
21950                    confine: "sb_vbar";
21951                }
21952                description { state: "default" 0.0;
21953                    fixed: 1 1;
21954                    min: 17 17;
21955                    rel1 {
21956                        relative: 0.5  0.5;
21957                        offset:   0    0;
21958                        to: "sb_vbar";
21959                    }
21960                    rel2 {
21961                        relative: 0.5  0.5;
21962                        offset:   0    0;
21963                        to: "sb_vbar";
21964                    }
21965                    image {
21966                        normal: "bt_sm_base2.png";
21967                        border: 6 6 6 6;
21968                    }
21969                    image.middle: SOLID;
21970                }
21971            }
21972            part { name: "sb_vbar_over1";
21973                clip_to: "sb_vbar_clip";
21974                mouse_events: 0;
21975                description { state: "default" 0.0;
21976                    rel1.to: "elm.dragable.vbar";
21977                    rel2.relative: 1.0 0.5;
21978                    rel2.to: "elm.dragable.vbar";
21979                    image {
21980                        normal: "bt_sm_hilight.png";
21981                        border: 6 6 6 0;
21982                    }
21983                }
21984            }
21985            part { name: "sb_vbar_over2";
21986                clip_to: "sb_vbar_clip";
21987                mouse_events: 0;
21988                description { state: "default" 0.0;
21989                    rel1.to: "elm.dragable.vbar";
21990                    rel2.to: "elm.dragable.vbar";
21991                    image {
21992                        normal: "bt_sm_shine.png";
21993                        border: 6 6 6 0;
21994                    }
21995                }
21996            }
21997
21998            part { name: "sb_hbar_clip_master";
21999                type: RECT;
22000                mouse_events: 0;
22001                description { state: "default" 0.0;
22002                }
22003                description { state: "hidden" 0.0;
22004                    visible: 0;
22005                    color: 255 255 255 0;
22006                }
22007            }
22008            part { name: "sb_hbar_clip";
22009                clip_to: "sb_hbar_clip_master";
22010                type: RECT;
22011                mouse_events: 0;
22012                description { state: "default" 0.0;
22013                }
22014                description { state: "hidden" 0.0;
22015                    visible: 0;
22016                    color: 255 255 255 0;
22017                }
22018            }
22019            part { name: "sb_hbar";
22020                type: RECT;
22021                mouse_events: 0;
22022                description { state: "default" 0.0;
22023                    fixed: 1 1;
22024                    visible: 0;
22025                    min: 17 17;
22026                    align: 0.0 1.0;
22027                    rel1 {
22028                        relative: 0.0 1.0;
22029                        offset:   0 -2;
22030                    }
22031                    rel2 {
22032                        relative: 0.0 1.0;
22033                        offset:   -1 -2;
22034                        to_x:     "sb_vbar";
22035                    }
22036                }
22037            }
22038            part { name: "sb_hbar_runner";
22039                clip_to: "sb_hbar_clip";
22040                mouse_events: 0;
22041                description { state: "default" 0.0;
22042                    min: 3 3;
22043                    max: 99999 3;
22044                    rel1.to:       "sb_hbar";
22045                    rel2.to:       "sb_hbar";
22046                    image {
22047                        normal: "sb_runnerh.png";
22048                        border: 4 4 0 0;
22049                    }
22050                    fill.smooth: 0;
22051                }
22052            }
22053            part { name: "elm.dragable.hbar";
22054                clip_to: "sb_hbar_clip";
22055                mouse_events: 0;
22056                dragable {
22057                    x: 1 1 0;
22058                    y: 0 0 0;
22059                    confine: "sb_hbar";
22060                }
22061                description { state: "default" 0.0;
22062                    fixed: 1 1;
22063                    min: 17 17;
22064                    rel1 {
22065                        relative: 0.5  0.5;
22066                        offset:   0    0;
22067                        to: "sb_hbar";
22068                    }
22069                    rel2 {
22070                        relative: 0.5  0.5;
22071                        offset:   0    0;
22072                        to: "sb_hbar";
22073                    }
22074                    image {
22075                        normal: "bt_sm_base2.png";
22076                        border: 6 6 6 6;
22077                    }
22078                    image.middle: SOLID;
22079                }
22080            }
22081            part { name: "sb_hbar_over1";
22082                clip_to: "sb_hbar_clip";
22083                mouse_events: 0;
22084                description { state: "default" 0.0;
22085                    rel1.to: "elm.dragable.hbar";
22086                    rel2.relative: 1.0 0.5;
22087                    rel2.to: "elm.dragable.hbar";
22088                    image {
22089                        normal: "bt_sm_hilight.png";
22090                        border: 6 6 6 0;
22091                    }
22092                }
22093            }
22094            part { name: "sb_hbar_over2";
22095                clip_to: "sb_hbar_clip";
22096                mouse_events: 0;
22097                description { state: "default" 0.0;
22098                    rel1.to: "elm.dragable.hbar";
22099                    rel2.to: "elm.dragable.hbar";
22100                    image {
22101                        normal: "bt_sm_shine.png";
22102                        border: 6 6 6 0;
22103                    }
22104                }
22105            }
22106        }
22107        programs {
22108            program { name: "load";
22109                signal: "load";
22110                source: "";
22111                script {
22112                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
22113                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
22114                    set_int(sbvis_h, 0);
22115                    set_int(sbvis_v, 0);
22116                    set_int(sbalways_v, 0);
22117                    set_int(sbalways_h, 0);
22118                    set_int(sbvis_timer, 0);
22119                }
22120            }
22121
22122            program { name: "vbar_show";
22123                signal: "elm,action,show,vbar";
22124                source: "elm";
22125                action:  STATE_SET "default" 0.0;
22126                target: "sb_vbar_clip_master";
22127            }
22128            program { name: "vbar_hide";
22129                signal: "elm,action,hide,vbar";
22130                source: "elm";
22131                action:  STATE_SET "hidden" 0.0;
22132                target: "sb_vbar_clip_master";
22133            }
22134            program { name: "vbar_show_always";
22135                signal: "elm,action,show_always,vbar";
22136                source: "elm";
22137                script {
22138                    new v;
22139                    v = get_int(sbvis_v);
22140                    v |= get_int(sbalways_v);
22141                    if (!v) {
22142                        set_int(sbalways_v, 1);
22143                        emit("do-show-vbar", "");
22144                        set_int(sbvis_v, 1);
22145                    }
22146                }
22147            }
22148            program { name: "vbar_show_notalways";
22149                signal: "elm,action,show_notalways,vbar";
22150                source: "elm";
22151                script {
22152                    new v;
22153                    v = get_int(sbalways_v);
22154                    if (v) {
22155                        set_int(sbalways_v, 0);
22156                        v = get_int(sbvis_v);
22157                        if (!v) {
22158                            emit("do-hide-vbar", "");
22159                            set_int(sbvis_v, 0);
22160                        }
22161                    }
22162                }
22163            }
22164            program { name: "sb_vbar_show";
22165                signal: "do-show-vbar";
22166                source: "";
22167                action:  STATE_SET "default" 0.0;
22168                transition: LINEAR 1.0;
22169                target: "sb_vbar_clip";
22170            }
22171            program { name: "sb_vbar_hide";
22172                signal: "do-hide-vbar";
22173                source: "";
22174                action:  STATE_SET "hidden" 0.0;
22175                transition: LINEAR 1.0;
22176                target: "sb_vbar_clip";
22177            }
22178
22179            program { name: "hbar_show";
22180                signal: "elm,action,show,hbar";
22181                source: "elm";
22182                action:  STATE_SET "default" 0.0;
22183                target: "sb_hbar_clip_master";
22184            }
22185            program { name: "hbar_hide";
22186                signal: "elm,action,hide,hbar";
22187                source: "elm";
22188                action:  STATE_SET "hidden" 0.0;
22189                target: "sb_hbar_clip_master";
22190            }
22191            program { name: "hbar_show_always";
22192                signal: "elm,action,show_always,hbar";
22193                source: "elm";
22194                script {
22195                    new v;
22196                    v = get_int(sbvis_h);
22197                    v |= get_int(sbalways_h);
22198                    if (!v) {
22199                        set_int(sbalways_h, 1);
22200                        emit("do-show-hbar", "");
22201                        set_int(sbvis_h, 1);
22202                    }
22203                }
22204            }
22205            program { name: "hbar_show_notalways";
22206                signal: "elm,action,show_notalways,hbar";
22207                source: "elm";
22208                script {
22209                    new v;
22210                    v = get_int(sbalways_h);
22211                    if (v) {
22212                        set_int(sbalways_h, 0);
22213                        v = get_int(sbvis_h);
22214                        if (!v) {
22215                            emit("do-hide-hbar", "");
22216                            set_int(sbvis_h, 0);
22217                        }
22218                    }
22219                }
22220            }
22221            program { name: "sb_hbar_show";
22222                signal: "do-show-hbar";
22223                source: "";
22224                action:  STATE_SET "default" 0.0;
22225                transition: LINEAR 1.0;
22226                target: "sb_hbar_clip";
22227            }
22228            program { name: "sb_hbar_hide";
22229                signal: "do-hide-hbar";
22230                source: "";
22231                action:  STATE_SET "hidden" 0.0;
22232                transition: LINEAR 1.0;
22233                target: "sb_hbar_clip";
22234            }
22235
22236            program { name: "scroll";
22237                signal: "elm,action,scroll";
22238                source: "elm";
22239                script {
22240                    new v;
22241                    v = get_int(sbvis_v);
22242                    v |= get_int(sbalways_v);
22243                    if (!v) {
22244                        emit("do-show-vbar", "");
22245                        set_int(sbvis_v, 1);
22246                    }
22247                    v = get_int(sbvis_h);
22248                    v |= get_int(sbalways_h);
22249                    if (!v) {
22250                        emit("do-show-hbar", "");
22251                        set_int(sbvis_h, 1);
22252                    }
22253                    v = get_int(sbvis_timer);
22254                    if (v > 0) cancel_timer(v);
22255                    v = timer(2.0, "timer0", 0);
22256                    set_int(sbvis_timer, v);
22257                }
22258            }
22259            program { name: "go1";
22260                signal: "elm,state,busy,start";
22261                source: "elm";
22262                action: STATE_SET "active" 0.0;
22263                transition: SINUSOIDAL 1.0;
22264                target:  "busy_clip";
22265            }
22266            program { name: "go2";
22267                signal: "elm,state,busy,start";
22268                source: "elm";
22269                action: STATE_SET "default" 0.0;
22270                transition: LINEAR 0.5;
22271                target: "busy";
22272                after:  "go2";
22273            }
22274            program { name: "stop1";
22275                signal: "elm,state,busy,stop";
22276                source: "elm";
22277                action: STATE_SET "default" 0.0;
22278                transition: SINUSOIDAL 1.0;
22279                target: "busy_clip";
22280                after: "stop2";
22281            }
22282          program { name: "stop2";
22283             action: ACTION_STOP;
22284             target: "go2";
22285          }
22286       }
22287    }
22288
22289    ///////////////////////////////////////////////////////////////////////////////
22290    group { name: "elm/map/base/default";
22291        script {
22292            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
22293            public timer0(val) {
22294                new v;
22295                v = get_int(sbvis_v);
22296                if (v) {
22297                    v = get_int(sbalways_v);
22298                    if (!v) {
22299                        emit("do-hide-vbar", "");
22300                        set_int(sbvis_v, 0);
22301                    }
22302                }
22303                v = get_int(sbvis_h);
22304                if (v) {
22305                    v = get_int(sbalways_h);
22306                    if (!v) {
22307                        emit("do-hide-hbar", "");
22308                        set_int(sbvis_h, 0);
22309                    }
22310                }
22311                set_int(sbvis_timer, 0);
22312                return 0;
22313            }
22314        }
22315        images {
22316            image: "shelf_inset.png" COMP;
22317            image: "bt_sm_base2.png" COMP;
22318            image: "bt_sm_shine.png" COMP;
22319            image: "bt_sm_hilight.png" COMP;
22320            image: "sb_runnerh.png" COMP;
22321            image: "sb_runnerv.png" COMP;
22322            image: "busy-1.png" COMP;
22323            image: "busy-2.png" COMP;
22324            image: "busy-3.png" COMP;
22325            image: "busy-4.png" COMP;
22326            image: "busy-5.png" COMP;
22327            image: "busy-6.png" COMP;
22328            image: "busy-7.png" COMP;
22329            image: "busy-8.png" COMP;
22330            image: "busy-9.png" COMP;
22331        }
22332        parts {
22333            part { name: "bg";
22334                type: RECT;
22335                description { state: "default" 0.0;
22336                    rel1.offset: 1 1;
22337                    rel2.offset: -2 -2;
22338                    color: 255 255 255 0;
22339                }
22340            }
22341            part { name: "clipper";
22342                type: RECT;
22343                mouse_events: 0;
22344                description { state: "default" 0.0;
22345                    rel1.to: "bg";
22346                    rel2.to: "bg";
22347                }
22348            }
22349            part { name: "elm.swallow.content";
22350                clip_to: "clipper";
22351                type: SWALLOW;
22352                description { state: "default" 0.0;
22353                    rel1.offset: 1 1;
22354                    rel2.offset: -2 -2;
22355                }
22356            }
22357            part { name: "busy_clip";
22358                type: RECT;
22359                mouse_events: 0;
22360                description { state: "default" 0.0;
22361                    visible: 0;
22362                    color: 255 255 255 0;
22363                }
22364                description { state: "active" 0.0;
22365                    visible: 1;
22366                    color: 255 255 255 255;
22367                }
22368            }
22369            part { name: "busy";
22370                clip_to: "busy_clip";
22371                mouse_events: 0;
22372                description { state: "default" 0.0;
22373                    fixed: 1 1;
22374                    min: 32 32;
22375                    aspect: 1.0 1.0;
22376                    align: 1.0 1.0;
22377                    aspect_preference: BOTH;
22378                    rel1 {
22379                        relative: 0.9 0.9;
22380                        offset:   -9 -9;
22381                    }
22382                    rel2 {
22383                        relative: 0.9 0.9;
22384                        offset:   -9 -9;
22385                    }
22386                    image {
22387                        normal: "busy-9.png";
22388                        tween:  "busy-1.png";
22389                        tween:  "busy-2.png";
22390                        tween:  "busy-3.png";
22391                        tween:  "busy-4.png";
22392                        tween:  "busy-5.png";
22393                        tween:  "busy-6.png";
22394                        tween:  "busy-7.png";
22395                        tween:  "busy-8.png";
22396                    }
22397                }
22398            }
22399            part { name: "conf_over";
22400                mouse_events:  0;
22401                description { state: "default" 0.0;
22402                    rel1.offset: 0 0;
22403                    rel2.offset: -1 -1;
22404                    image {
22405                        normal: "shelf_inset.png";
22406                        border: 7 7 7 7;
22407                        middle: 0;
22408                    }
22409                    fill.smooth : 0;
22410                }
22411            }
22412            part { name: "sb_vbar_clip_master";
22413                type: RECT;
22414                mouse_events: 0;
22415                description { state: "default" 0.0;
22416                }
22417                description { state: "hidden" 0.0;
22418                    visible: 0;
22419                    color: 255 255 255 0;
22420                }
22421            }
22422            part { name: "sb_vbar_clip";
22423                clip_to: "sb_vbar_clip_master";
22424                type: RECT;
22425                mouse_events: 0;
22426                description { state: "default" 0.0;
22427                }
22428                description { state: "hidden" 0.0;
22429                    visible: 0;
22430                    color: 255 255 255 0;
22431                }
22432            }
22433            part { name: "sb_vbar";
22434                type: RECT;
22435                mouse_events: 0;
22436                description { state: "default" 0.0;
22437                    fixed: 1 1;
22438                    visible: 0;
22439                    min: 17 17;
22440                    align: 1.0 0.0;
22441                    rel1 {
22442                        relative: 1.0 0.0;
22443                        offset:   -2 0;
22444                    }
22445                    rel2 {
22446                        relative: 1.0 0.0;
22447                        offset:   -2 -1;
22448                        to_y:     "sb_hbar";
22449                    }
22450                }
22451            }
22452            part { name: "sb_vbar_runner";
22453                clip_to: "sb_vbar_clip";
22454                mouse_events: 0;
22455                description { state: "default" 0.0;
22456                    min: 3 3;
22457                    max: 3 99999;
22458                    rel1.to:       "sb_vbar";
22459                    rel2.to:       "sb_vbar";
22460                    image {
22461                        normal: "sb_runnerv.png";
22462                        border: 0 0 4 4;
22463                    }
22464                    fill.smooth: 0;
22465                }
22466            }
22467            part { name: "elm.dragable.vbar";
22468                clip_to: "sb_vbar_clip";
22469                mouse_events: 0;
22470                dragable {
22471                    x: 0 0 0;
22472                    y: 1 1 0;
22473                    confine: "sb_vbar";
22474                }
22475                description { state: "default" 0.0;
22476                    fixed: 1 1;
22477                    min: 17 17;
22478                    rel1 {
22479                        relative: 0.5  0.5;
22480                        offset:   0    0;
22481                        to: "sb_vbar";
22482                    }
22483                    rel2 {
22484                        relative: 0.5  0.5;
22485                        offset:   0    0;
22486                        to: "sb_vbar";
22487                    }
22488                    image {
22489                        normal: "bt_sm_base2.png";
22490                        border: 6 6 6 6;
22491                    }
22492                    image.middle: SOLID;
22493                }
22494            }
22495            part { name: "sb_vbar_over1";
22496                clip_to: "sb_vbar_clip";
22497                mouse_events: 0;
22498                description { state: "default" 0.0;
22499                    rel1.to: "elm.dragable.vbar";
22500                    rel2.relative: 1.0 0.5;
22501                    rel2.to: "elm.dragable.vbar";
22502                    image {
22503                        normal: "bt_sm_hilight.png";
22504                        border: 6 6 6 0;
22505                    }
22506                }
22507            }
22508            part { name: "sb_vbar_over2";
22509                clip_to: "sb_vbar_clip";
22510                mouse_events: 0;
22511                description { state: "default" 0.0;
22512                    rel1.to: "elm.dragable.vbar";
22513                    rel2.to: "elm.dragable.vbar";
22514                    image {
22515                        normal: "bt_sm_shine.png";
22516                        border: 6 6 6 0;
22517                    }
22518                }
22519            }
22520
22521            part { name: "sb_hbar_clip_master";
22522                type: RECT;
22523                mouse_events: 0;
22524                description { state: "default" 0.0;
22525                }
22526                description { state: "hidden" 0.0;
22527                    visible: 0;
22528                    color: 255 255 255 0;
22529                }
22530            }
22531            part { name: "sb_hbar_clip";
22532                clip_to: "sb_hbar_clip_master";
22533                type: RECT;
22534                mouse_events: 0;
22535                description { state: "default" 0.0;
22536                }
22537                description { state: "hidden" 0.0;
22538                    visible: 0;
22539                    color: 255 255 255 0;
22540                }
22541            }
22542            part { name: "sb_hbar";
22543                type: RECT;
22544                mouse_events: 0;
22545                description { state: "default" 0.0;
22546                    fixed: 1 1;
22547                    visible: 0;
22548                    min: 17 17;
22549                    align: 0.0 1.0;
22550                    rel1 {
22551                        relative: 0.0 1.0;
22552                        offset:   0 -2;
22553                    }
22554                    rel2 {
22555                        relative: 0.0 1.0;
22556                        offset:   -1 -2;
22557                        to_x:     "sb_vbar";
22558                    }
22559                }
22560            }
22561            part { name: "sb_hbar_runner";
22562                clip_to: "sb_hbar_clip";
22563                mouse_events: 0;
22564                description { state: "default" 0.0;
22565                    min: 3 3;
22566                    max: 99999 3;
22567                    rel1.to:       "sb_hbar";
22568                    rel2.to:       "sb_hbar";
22569                    image {
22570                        normal: "sb_runnerh.png";
22571                        border: 4 4 0 0;
22572                    }
22573                    fill.smooth: 0;
22574                }
22575            }
22576            part { name: "elm.dragable.hbar";
22577                clip_to: "sb_hbar_clip";
22578                mouse_events: 0;
22579                dragable {
22580                    x: 1 1 0;
22581                    y: 0 0 0;
22582                    confine: "sb_hbar";
22583                }
22584                description { state: "default" 0.0;
22585                    fixed: 1 1;
22586                    min: 17 17;
22587                    rel1 {
22588                        relative: 0.5  0.5;
22589                        offset:   0    0;
22590                        to: "sb_hbar";
22591                    }
22592                    rel2 {
22593                        relative: 0.5  0.5;
22594                        offset:   0    0;
22595                        to: "sb_hbar";
22596                    }
22597                    image {
22598                        normal: "bt_sm_base2.png";
22599                        border: 6 6 6 6;
22600                    }
22601                    image.middle: SOLID;
22602                }
22603            }
22604            part { name: "sb_hbar_over1";
22605                clip_to: "sb_hbar_clip";
22606                mouse_events: 0;
22607                description { state: "default" 0.0;
22608                    rel1.to: "elm.dragable.hbar";
22609                    rel2.relative: 1.0 0.5;
22610                    rel2.to: "elm.dragable.hbar";
22611                    image {
22612                        normal: "bt_sm_hilight.png";
22613                        border: 6 6 6 0;
22614                    }
22615                }
22616            }
22617            part { name: "sb_hbar_over2";
22618                clip_to: "sb_hbar_clip";
22619                mouse_events: 0;
22620                description { state: "default" 0.0;
22621                    rel1.to: "elm.dragable.hbar";
22622                    rel2.to: "elm.dragable.hbar";
22623                    image {
22624                        normal: "bt_sm_shine.png";
22625                        border: 6 6 6 0;
22626                    }
22627                }
22628            }
22629        }
22630        programs {
22631            program { name: "load";
22632                signal: "load";
22633                source: "";
22634                script {
22635                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
22636                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
22637                    set_int(sbvis_h, 0);
22638                    set_int(sbvis_v, 0);
22639                    set_int(sbalways_v, 0);
22640                    set_int(sbalways_h, 0);
22641                    set_int(sbvis_timer, 0);
22642                }
22643            }
22644
22645            program { name: "vbar_show";
22646                signal: "elm,action,show,vbar";
22647                source: "elm";
22648                action:  STATE_SET "default" 0.0;
22649                target: "sb_vbar_clip_master";
22650            }
22651            program { name: "vbar_hide";
22652                signal: "elm,action,hide,vbar";
22653                source: "elm";
22654                action:  STATE_SET "hidden" 0.0;
22655                target: "sb_vbar_clip_master";
22656            }
22657            program { name: "vbar_show_always";
22658                signal: "elm,action,show_always,vbar";
22659                source: "elm";
22660                script {
22661                    new v;
22662                    v = get_int(sbvis_v);
22663                    v |= get_int(sbalways_v);
22664                    if (!v) {
22665                        set_int(sbalways_v, 1);
22666                        emit("do-show-vbar", "");
22667                        set_int(sbvis_v, 1);
22668                    }
22669                }
22670            }
22671            program { name: "vbar_show_notalways";
22672                signal: "elm,action,show_notalways,vbar";
22673                source: "elm";
22674                script {
22675                    new v;
22676                    v = get_int(sbalways_v);
22677                    if (v) {
22678                        set_int(sbalways_v, 0);
22679                        v = get_int(sbvis_v);
22680                        if (!v) {
22681                            emit("do-hide-vbar", "");
22682                            set_int(sbvis_v, 0);
22683                        }
22684                    }
22685                }
22686            }
22687            program { name: "sb_vbar_show";
22688                signal: "do-show-vbar";
22689                source: "";
22690                action:  STATE_SET "default" 0.0;
22691                transition: LINEAR 1.0;
22692                target: "sb_vbar_clip";
22693            }
22694            program { name: "sb_vbar_hide";
22695                signal: "do-hide-vbar";
22696                source: "";
22697                action:  STATE_SET "hidden" 0.0;
22698                transition: LINEAR 1.0;
22699                target: "sb_vbar_clip";
22700            }
22701
22702            program { name: "hbar_show";
22703                signal: "elm,action,show,hbar";
22704                source: "elm";
22705                action:  STATE_SET "default" 0.0;
22706                target: "sb_hbar_clip_master";
22707            }
22708            program { name: "hbar_hide";
22709                signal: "elm,action,hide,hbar";
22710                source: "elm";
22711                action:  STATE_SET "hidden" 0.0;
22712                target: "sb_hbar_clip_master";
22713            }
22714            program { name: "hbar_show_always";
22715                signal: "elm,action,show_always,hbar";
22716                source: "elm";
22717                script {
22718                    new v;
22719                    v = get_int(sbvis_h);
22720                    v |= get_int(sbalways_h);
22721                    if (!v) {
22722                        set_int(sbalways_h, 1);
22723                        emit("do-show-hbar", "");
22724                        set_int(sbvis_h, 1);
22725                    }
22726                }
22727            }
22728            program { name: "hbar_show_notalways";
22729                signal: "elm,action,show_notalways,hbar";
22730                source: "elm";
22731                script {
22732                    new v;
22733                    v = get_int(sbalways_h);
22734                    if (v) {
22735                        set_int(sbalways_h, 0);
22736                        v = get_int(sbvis_h);
22737                        if (!v) {
22738                            emit("do-hide-hbar", "");
22739                            set_int(sbvis_h, 0);
22740                        }
22741                    }
22742                }
22743            }
22744            program { name: "sb_hbar_show";
22745                signal: "do-show-hbar";
22746                source: "";
22747                action:  STATE_SET "default" 0.0;
22748                transition: LINEAR 1.0;
22749                target: "sb_hbar_clip";
22750            }
22751            program { name: "sb_hbar_hide";
22752                signal: "do-hide-hbar";
22753                source: "";
22754                action:  STATE_SET "hidden" 0.0;
22755                transition: LINEAR 1.0;
22756                target: "sb_hbar_clip";
22757            }
22758
22759            program { name: "scroll";
22760                signal: "elm,action,scroll";
22761                source: "elm";
22762                script {
22763                    new v;
22764                    v = get_int(sbvis_v);
22765                    v |= get_int(sbalways_v);
22766                    if (!v) {
22767                        emit("do-show-vbar", "");
22768                        set_int(sbvis_v, 1);
22769                    }
22770                    v = get_int(sbvis_h);
22771                    v |= get_int(sbalways_h);
22772                    if (!v) {
22773                        emit("do-show-hbar", "");
22774                        set_int(sbvis_h, 1);
22775                    }
22776                    v = get_int(sbvis_timer);
22777                    if (v > 0) cancel_timer(v);
22778                    v = timer(2.0, "timer0", 0);
22779                    set_int(sbvis_timer, v);
22780                }
22781            }
22782            program { name: "go1";
22783                signal: "elm,state,busy,start";
22784                source: "elm";
22785                action: STATE_SET "active" 0.0;
22786                transition: SINUSOIDAL 1.0;
22787                target:  "busy_clip";
22788            }
22789            program { name: "go2";
22790                signal: "elm,state,busy,start";
22791                source: "elm";
22792                action: STATE_SET "default" 0.0;
22793                transition: LINEAR 0.5;
22794                target: "busy";
22795                after:  "go2";
22796            }
22797            program { name: "stop1";
22798                signal: "elm,state,busy,stop";
22799                source: "elm";
22800                action: STATE_SET "default" 0.0;
22801                transition: SINUSOIDAL 1.0;
22802                target: "busy_clip";
22803                after: "stop2";
22804            }
22805          program { name: "stop2";
22806             action: ACTION_STOP;
22807             target: "go2";
22808          }
22809       }
22810    }
22811    group { name: "elm/map/marker/radio/default";
22812         data {
22813             item: size_w 32;
22814             item: size_h 32;
22815             item: size_max_w 64;
22816             item: size_max_h 64;
22817         }
22818         parts {
22819             part { name: "whole";
22820                 description { state: "default" 0.0;
22821                 }
22822             }
22823             part { name: "base";
22824                 ignore_flags: ON_HOLD;
22825                 description { state: "default" 0.0;
22826                     image.normal: "radio.png";
22827                 }
22828             }
22829             part { name: "elm.icon";
22830                 type: SWALLOW;
22831                 clip_to: "whole";
22832                 mouse_events:  0;
22833                 description { state: "default" 0.0;
22834                     rel1.relative: 0.27 0.27;
22835                     rel2.relative: 0.73 0.73;
22836                 }
22837             }
22838             part { name: "elm.text";
22839                 type:          TEXT;
22840                 effect:        SOFT_SHADOW;
22841                 mouse_events:  0;
22842                 scale: 1;
22843                 description { state: "default" 0.0;
22844                     align:    0.5 0.5;
22845                     color: 224 224 224 255;
22846                     color3: 0 0 0 64;
22847                     rel1.relative: 0.28 0.25;
22848                     rel2.relative: 0.75 0.75;
22849                     text {
22850                         font:     "Sans,Edje-Vera";
22851                         size:     10;
22852                         min:      0 0;
22853                         align:    0.5 0.5;
22854                     }
22855                 }
22856             }
22857        }
22858        programs {
22859             program { name: "open";
22860                 signal: "mouse,clicked,1";
22861                 source: "base";
22862                 action: SIGNAL_EMIT "open" "elm";
22863             }
22864             program { name: "bringin";
22865                 signal: "mouse,down,1,double";
22866                 source: "base";
22867                 action: SIGNAL_EMIT "bringin" "elm";
22868             }
22869        }
22870    }
22871    group { name: "elm/map/marker/radio2/default";
22872         data {
22873             item: size_w 32;
22874             item: size_h 32;
22875             item: size_max_w 64;
22876             item: size_max_h 64;
22877         }
22878         parts {
22879             part { name: "base";
22880                 ignore_flags: ON_HOLD;
22881                 description { state: "default" 0.0;
22882                     image.normal: "radio2.png";
22883                 }
22884             }
22885             part { name: "elm.text";
22886                 type:          TEXT;
22887                 effect:        SOFT_SHADOW;
22888                 mouse_events:  0;
22889                 scale: 1;
22890                 description { state: "default" 0.0;
22891                     align:    0.5 0.5;
22892                     color: 224 224 224 255;
22893                     color3: 0 0 0 64;
22894                     rel1.relative: 0.28 0.25;
22895                     rel2.relative: 0.75 0.75;
22896                     text {
22897                         font:     "Sans,Edje-Vera";
22898                         size:     10;
22899                         min:      0 0;
22900                         align:    0.5 0.5;
22901                     }
22902                 }
22903             }
22904        }
22905        programs {
22906             program { name: "open";
22907                 signal: "mouse,clicked,1";
22908                 source: "base";
22909                 action: SIGNAL_EMIT "open" "elm";
22910             }
22911             program { name: "bringin";
22912                 signal: "mouse,down,1,double";
22913                 source: "base";
22914                 action: SIGNAL_EMIT "bringin" "elm";
22915             }
22916        }
22917    }
22918    group { name: "elm/map/marker/empty/default";
22919         data {
22920             item: size_w 22;
22921             item: size_h 22;
22922             item: size_max_w 64;
22923             item: size_max_h 64;
22924         }
22925         parts {
22926             part { name: "whole";
22927                 description { state: "default" 0.0;
22928                 }
22929             }
22930             part { name: "base";
22931                 ignore_flags: ON_HOLD;
22932                 description { state: "default" 0.0;
22933                 }
22934             }
22935             part { name: "elm.icon";
22936                 type: SWALLOW;
22937                 clip_to: "whole";
22938                 mouse_events:  0;
22939                 description { state: "default" 0.0;
22940                 }
22941             }
22942             part { name: "elm.text";
22943                 type:          TEXT;
22944                 effect:        SOFT_SHADOW;
22945                 mouse_events:  0;
22946                 scale: 1;
22947                 description { state: "default" 0.0;
22948                     align:    0.5 0.5;
22949                     color: 224 224 224 255;
22950                     color3: 0 0 0 64;
22951                     rel1.relative: 0.28 0.25;
22952                     rel2.relative: 0.75 0.75;
22953                     text {
22954                         font:     "Sans,Edje-Vera";
22955                         size:     10;
22956                         min:      0 0;
22957                         align:    0.5 0.5;
22958                     }
22959                 }
22960             }
22961        }
22962        programs {
22963             program { name: "open";
22964                 signal: "mouse,clicked,1";
22965                 source: "base";
22966                 action: SIGNAL_EMIT "open" "elm";
22967             }
22968             program { name: "bringin";
22969                 signal: "mouse,down,1,double";
22970                 source: "base";
22971                 action: SIGNAL_EMIT "bringin" "elm";
22972             }
22973        }
22974    }
22975    group { name: "elm/map/marker_bubble/default";
22976     images {
22977       image: "bubble.png" COMP;
22978       image: "bubble_shine.png" COMP;
22979     }
22980     data {
22981             item: size_w 400;
22982             item: size_h 100;
22983         }
22984     parts {
22985     part { name: "clipper";
22986         mouse_events:  1;
22987         description { state: "default" 0.0;
22988           color: 255 255 255 0;
22989         }
22990         description { state: "show" 0.0;
22991             inherit: "default" 0.0;
22992             color: 255 255 255 255;
22993         }
22994       }
22995      part { name: "base0";
22996         mouse_events:  0;
22997         clip_to: "clipper";
22998         description { state: "default" 0.0;
22999           image {
23000             normal: "bubble.png";
23001             border: 11 36 10 19;
23002           }
23003           image.middle: SOLID;
23004           fill.smooth: 0;
23005         }
23006       }
23007       part { name: "elm.swallow.content";
23008         type: SWALLOW;
23009         clip_to: "clipper";
23010         description { state: "default" 0.0;
23011             align: 0.5 0.5;
23012           rel1 {
23013             offset: 9 8;
23014           }
23015           rel2 {
23016             offset: -10 -17;
23017           }
23018         }
23019       }
23020       part { name: "shine";
23021         mouse_events:  0;
23022         clip_to: "clipper";
23023         description { state:    "default" 0.0;
23024           rel1 {
23025             to: "base0";
23026           }
23027           rel2 {
23028             to: "base0";
23029             relative: 1.0 0.5;
23030           }
23031           image {
23032             normal: "bubble_shine.png";
23033             border: 5 5 5 0;
23034           }
23035           fill.smooth: 0;
23036         }
23037         }
23038     }
23039     programs {
23040         program { name: "show";
23041             signal: "show";
23042             action: STATE_SET "show" 0.0;
23043             target: "clipper";
23044             transition: ACCELERATE 0.5;
23045         }
23046     }
23047   }
23048
23049
23050
23051 /////////////////////////////////////////////////////////////////////////////
23052 // PANEL
23053 /////////////////////////////////////////////////////////////////////////////
23054   group {
23055      name: "elm/panel/base/left";
23056      images
23057        {
23058           image: "bt_base1.png" COMP;
23059           image: "bt_hilight.png" COMP;
23060           image: "bt_shine.png" COMP;
23061           image: "bt_glow.png" COMP;
23062           image: "bt_dis_base.png" COMP;
23063           image: "icon_arrow_left.png" COMP;
23064           image: "icon_arrow_right.png" COMP;
23065        }
23066      parts
23067        {
23068           part
23069             {
23070                name: "bg";
23071                type: RECT;
23072                mouse_events: 0;
23073                description
23074                  {
23075                     state: "default" 0.0;
23076                     color: 255 255 255 0;
23077                     rel1.offset: 30 0;
23078                     rel2.relative: 0.0 1.0;
23079                  }
23080                description
23081                  {
23082                     state: "visible" 0.0;
23083                     inherit: "default" 0.0;
23084                     rel2.relative: 1.0 1.0;
23085                  }
23086             }
23087           part
23088             {
23089                name: "base";
23090                type: IMAGE;
23091                mouse_events: 0;
23092                description
23093                  {
23094                     state: "default" 0.0;
23095                     rel2
23096                       {
23097                          offset: -20 -1;
23098                          to_x: "bg";
23099                       }
23100                     image
23101                       {
23102                          normal: "bt_dis_base.png";
23103                          border: 4 4 4 4;
23104                       }
23105                  }
23106             }
23107           part
23108             {
23109                name: "clipper";
23110                type: RECT;
23111                mouse_events: 0;
23112                description
23113                  {
23114                     state: "default" 0.0;
23115                     rel1
23116                       {
23117                          offset: 4 4;
23118                          to: "base";
23119                       }
23120                     rel2
23121                       {
23122                          offset: -5 -5;
23123                          to: "base";
23124                       }
23125                  }
23126             }
23127           part
23128             {
23129                name: "elm.swallow.content";
23130                type: SWALLOW;
23131                clip_to: "clipper";
23132                description
23133                  {
23134                     state: "default" 0.0;
23135                     rel1.to: "clipper";
23136                     rel2.to: "clipper";
23137                  }
23138             }
23139           part
23140             {
23141                name: "btn";
23142                type: IMAGE;
23143                mouse_events: 1;
23144                description
23145                  {
23146                     state: "default" 0.0;
23147                     max: 32 48;
23148                     fixed: 1 1;
23149                     align: 0.0 0.5;
23150                     rel1
23151                       {
23152                          relative: 1.0 0.0;
23153                          offset: -3 0;
23154                          to_x: "base";
23155                       }
23156                     rel2.to_x: "bg";
23157                     image
23158                       {
23159                          normal: "bt_base1.png";
23160                          border: 0 5 4 12;
23161                       }
23162                     fill.smooth: 0;
23163                  }
23164                description
23165                  {
23166                     state: "clicked" 0.0;
23167                     inherit: "default" 0.0;
23168                  }
23169             }
23170           part
23171             {
23172                name: "btn_over";
23173                type: IMAGE;
23174                mouse_events: 0;
23175                description
23176                  {
23177                     state: "default" 0.0;
23178                     rel1.to: "btn";
23179                     rel2
23180                       {
23181                          relative: 1.0 0.5;
23182                          to: "btn";
23183                       }
23184                     image
23185                       {
23186                          normal: "bt_hilight.png";
23187                          border: 0 7 7 0;
23188                       }
23189                  }
23190             }
23191           part
23192             {
23193                name: "btn_over2";
23194                type: IMAGE;
23195                mouse_events: 1;
23196                repeat_events: 1;
23197                ignore_flags: ON_HOLD;
23198                description
23199                  {
23200                     state: "default" 0.0;
23201                     rel1.to: "btn";
23202                     rel2.to: "btn";
23203                     image
23204                       {
23205                          normal: "bt_shine.png";
23206                          border: 0 7 7 7;
23207                     }
23208                  }
23209             }
23210           part
23211             {
23212                name: "btn_over3";
23213                type: IMAGE;
23214                mouse_events: 1;
23215                repeat_events: 1;
23216                description
23217                  {
23218                     state: "default" 0.0;
23219                     color: 255 255 255 0;
23220                     rel1.to: "btn";
23221                     rel2.to: "btn";
23222                     image
23223                       {
23224                        normal: "bt_glow.png";
23225                        border: 12 12 12 12;
23226                     }
23227                   fill.smooth: 0;
23228                }
23229              description
23230                {
23231                   state: "clicked" 0.0;
23232                   inherit: "default" 0.0;
23233                   visible: 1;
23234                   color: 255 255 255 255;
23235                }
23236             }
23237           part
23238             {
23239                name: "btn_icon";
23240                type: IMAGE;
23241                repeat_events: 1;
23242                description
23243                  {
23244                     state: "default" 0.0;
23245                     rel1.to: "btn";
23246                     rel2.to: "btn";
23247                     align: 0.5 0.5;
23248                     min: 16 16;
23249                     max: 16 16;
23250                     image.normal: "icon_arrow_right.png";
23251                  }
23252                description
23253                  {
23254                     state: "visible" 0.0;
23255                     inherit: "default" 0.0;
23256                     image.normal: "icon_arrow_left.png";
23257                  }
23258             }
23259        }
23260      programs
23261        {
23262           program
23263             {
23264                name: "show";
23265                signal: "elm,action,show";
23266                source: "elm";
23267                action: STATE_SET "visible" 0.0;
23268                target: "bg";
23269                target: "btn_icon";
23270                transition: LINEAR 0.5;
23271             }
23272           program
23273             {
23274                name: "show2";
23275                signal: "show";
23276                action: STATE_SET "default" 0.0;
23277                target: "bg";
23278                target: "btn_icon";
23279                after: "show3";
23280             }
23281           program
23282             {
23283                name: "show3";
23284                action: STATE_SET "visible" 0.0;
23285                target: "bg";
23286                target: "btn_icon";
23287                transition: LINEAR 0.5;
23288             }
23289           program
23290             {
23291                name: "hide";
23292                signal: "elm,action,hide";
23293                source: "elm";
23294                action: STATE_SET "default" 0.0;
23295                target: "bg";
23296                target: "btn_icon";
23297                transition: LINEAR 0.5;
23298             }
23299           program
23300             {
23301                name: "btn_click";
23302                signal: "mouse,down,1";
23303                source: "btn_over2";
23304                action: STATE_SET "clicked" 0.0;
23305                target: "btn";
23306             }
23307           program
23308             {
23309                name: "btn_unclick";
23310                signal: "mouse,up,1";
23311                source: "btn_over2";
23312                action: STATE_SET "default" 0.0;
23313                target: "btn";
23314             }
23315           program
23316             {
23317                name: "btn_click2";
23318                signal: "mouse,down,1";
23319                source: "btn_over3";
23320                action: STATE_SET "clicked" 0.0;
23321                target: "btn_over3";
23322             }
23323           program
23324             {
23325                name: "btn_unclick2";
23326                signal: "mouse,up,1";
23327                source: "btn_over3";
23328                action: STATE_SET "default" 0.0;
23329                transition: DECELERATE 0.5;
23330                target: "btn_over3";
23331             }
23332           program
23333             {
23334                name: "btn_unclick3";
23335                signal: "mouse,up,1";
23336                source: "btn_over2";
23337                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
23338             }
23339        }
23340   }
23341
23342   group {
23343      name: "elm/panel/base/right";
23344      images
23345        {
23346           image: "bt_base1.png" COMP;
23347           image: "bt_hilight.png" COMP;
23348           image: "bt_shine.png" COMP;
23349           image: "bt_glow.png" COMP;
23350           image: "bt_dis_base.png" COMP;
23351           image: "icon_arrow_left.png" COMP;
23352           image: "icon_arrow_right.png" COMP;
23353        }
23354      parts
23355        {
23356           part
23357             {
23358                name: "bg";
23359                type: RECT;
23360                mouse_events: 0;
23361                description
23362                  {
23363                     state: "default" 0.0;
23364                     color: 255 255 255 0;
23365                     rel1.relative: 1 0;
23366                     rel2.offset: -31 0;
23367                  }
23368                description
23369                  {
23370                     state: "visible" 0.0;
23371                     inherit: "default" 0.0;
23372                     rel1.relative: 0 0;
23373                  }
23374             }
23375           part
23376             {
23377                name: "base";
23378                type: IMAGE;
23379                mouse_events: 0;
23380                description
23381                  {
23382                     state: "default" 0.0;
23383                     rel1
23384                       {
23385                          offset: 20 0;
23386                          to_x: "bg";
23387                       }
23388                     rel2.offset: -1 -1;
23389                     image
23390                       {
23391                          normal: "bt_dis_base.png";
23392                          border: 4 4 4 4;
23393                       }
23394                  }
23395             }
23396           part
23397             {
23398                name: "clipper";
23399                type: RECT;
23400                mouse_events: 0;
23401                description
23402                  {
23403                     state: "default" 0.0;
23404                     rel1
23405                       {
23406                          offset: 4 4;
23407                          to: "base";
23408                       }
23409                     rel2
23410                       {
23411                          offset: -5 -5;
23412                          to: "base";
23413                       }
23414                  }
23415             }
23416           part
23417             {
23418                name: "elm.swallow.content";
23419                type: SWALLOW;
23420                clip_to: "clipper";
23421                description
23422                  {
23423                     state: "default" 0.0;
23424                     rel1.to: "clipper";
23425                     rel2.to: "clipper";
23426                  }
23427             }
23428           part
23429             {
23430                name: "btn";
23431                type: IMAGE;
23432                mouse_events: 1;
23433                description
23434                  {
23435                     state: "default" 0.0;
23436                     max: 32 48;
23437                     fixed: 1 1;
23438                     align: 1 0.5;
23439                     rel1
23440                       {
23441                          to_x: "bg";
23442                       }
23443                     rel2
23444                       {
23445                          offset: 2 0;
23446                          relative: 0.0 1;
23447                          to_x: "base";
23448                       }
23449                     image
23450                       {
23451                          normal: "bt_base1.png";
23452                          border: 5 0 4 12;
23453                       }
23454                     fill.smooth: 0;
23455                  }
23456                description
23457                  {
23458                     state: "clicked" 0.0;
23459                     inherit: "default" 0.0;
23460                  }
23461             }
23462           part
23463             {
23464                name: "btn_over";
23465                type: IMAGE;
23466                mouse_events: 0;
23467                description
23468                  {
23469                     state: "default" 0.0;
23470                     rel1.to: "btn";
23471                     rel2
23472                       {
23473                          relative: 1.0 0.5;
23474                          to: "btn";
23475                       }
23476                     image
23477                       {
23478                          normal: "bt_hilight.png";
23479                          border: 7 0 7 0;
23480                       }
23481                  }
23482             }
23483           part
23484             {
23485                name: "btn_over2";
23486                type: IMAGE;
23487                mouse_events: 1;
23488                repeat_events: 1;
23489                ignore_flags: ON_HOLD;
23490                description
23491                  {
23492                     state: "default" 0.0;
23493                     rel1.to: "btn";
23494                     rel2.to: "btn";
23495                     image
23496                       {
23497                          normal: "bt_shine.png";
23498                          border: 7 0 7 7;
23499                     }
23500                  }
23501             }
23502           part
23503             {
23504                name: "btn_over3";
23505                type: IMAGE;
23506                mouse_events: 1;
23507                repeat_events: 1;
23508                description
23509                  {
23510                     state: "default" 0.0;
23511                     color: 255 255 255 0;
23512                     rel1.to: "btn";
23513                     rel2.to: "btn";
23514                     image
23515                       {
23516                        normal: "bt_glow.png";
23517                        border: 12 12 12 12;
23518                     }
23519                   fill.smooth: 0;
23520                }
23521              description
23522                {
23523                   state: "clicked" 0.0;
23524                   inherit: "default" 0.0;
23525                   visible: 1;
23526                   color: 255 255 255 255;
23527                }
23528             }
23529           part
23530             {
23531                name: "btn_icon";
23532                type: IMAGE;
23533                repeat_events: 1;
23534                description
23535                  {
23536                     state: "default" 0.0;
23537                     rel1.to: "btn";
23538                     rel2.to: "btn";
23539                     align: 0.5 0.5;
23540                     min: 16 16;
23541                     max: 16 16;
23542                     image.normal: "icon_arrow_left.png";
23543                  }
23544                description
23545                  {
23546                     state: "visible" 0.0;
23547                     inherit: "default" 0.0;
23548                     image.normal: "icon_arrow_right.png";
23549                  }
23550             }
23551        }
23552      programs
23553        {
23554           program
23555             {
23556                name: "show";
23557                signal: "elm,action,show";
23558                source: "elm";
23559                action: STATE_SET "visible" 0.0;
23560                target: "bg";
23561                target: "btn_icon";
23562                transition: LINEAR 0.5;
23563             }
23564           program
23565             {
23566                name: "show2";
23567                signal: "show";
23568                action: STATE_SET "default" 0.0;
23569                target: "bg";
23570                target: "btn_icon";
23571                after: "show3";
23572             }
23573           program
23574             {
23575                name: "show3";
23576                action: STATE_SET "visible" 0.0;
23577                target: "bg";
23578                target: "btn_icon";
23579                transition: LINEAR 0.5;
23580             }
23581           program
23582             {
23583                name: "hide";
23584                signal: "elm,action,hide";
23585                source: "elm";
23586                action: STATE_SET "default" 0.0;
23587                target: "bg";
23588                target: "btn_icon";
23589                transition: LINEAR 0.5;
23590             }
23591           program
23592             {
23593                name: "btn_click";
23594                signal: "mouse,down,1";
23595                source: "btn_over2";
23596                action: STATE_SET "clicked" 0.0;
23597                target: "btn";
23598             }
23599           program
23600             {
23601                name: "btn_unclick";
23602                signal: "mouse,up,1";
23603                source: "btn_over2";
23604                action: STATE_SET "default" 0.0;
23605                target: "btn";
23606             }
23607           program
23608             {
23609                name: "btn_click2";
23610                signal: "mouse,down,1";
23611                source: "btn_over3";
23612                action: STATE_SET "clicked" 0.0;
23613                target: "btn_over3";
23614             }
23615           program
23616             {
23617                name: "btn_unclick2";
23618                signal: "mouse,up,1";
23619                source: "btn_over3";
23620                action: STATE_SET "default" 0.0;
23621                transition: DECELERATE 0.5;
23622                target: "btn_over3";
23623             }
23624           program
23625             {
23626                name: "btn_unclick3";
23627                signal: "mouse,up,1";
23628                source: "btn_over2";
23629                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
23630             }
23631        }
23632   }
23633
23634 ///////////////////////////////////////////////////////////////////////////////
23635   group { name: "elm/conformant/base/default";
23636      parts {
23637         part { name: "elm.swallow.shelf";
23638            type: SWALLOW;
23639            description { state: "default" 0.0;
23640               fixed: 1 1;
23641               align: 0.0 0.0;
23642               rel2.relative: 1.0 0.0;
23643            }
23644         }
23645         part { name: "elm.swallow.content";
23646            type: SWALLOW;
23647            description { state: "default" 0.0;
23648               align: 0.5 0.5;
23649               rel1.relative: 0.0 1.0;
23650               rel1.to_y: "elm.swallow.shelf";
23651               rel2.relative: 1.0 0.0;
23652               rel2.to_y: "elm.swallow.panel";
23653            }
23654         }
23655         part { name: "elm.swallow.panel";
23656            type: SWALLOW;
23657            description { state: "default" 0.0;
23658               fixed: 1 1;
23659               align: 0.0 1.0;
23660               rel1.relative: 0.0 1.0;
23661            }
23662         }
23663      }
23664   }
23665 }