Merge "[Password]: New design based changes, a new style removed password mode contro...
[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 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321       alias: "elm/scroller/base/map_bubble";
322
323       data {
324          item: "focus_highlight" "on";
325       }
326
327       script {
328          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
329          public timer0(val) {
330             new v;
331             v = get_int(sbvis_v);
332             if (v) {
333                v = get_int(sbalways_v);
334                if (!v) {
335                   emit("do-hide-vbar", "");
336                   set_int(sbvis_v, 0);
337                }
338             }
339             v = get_int(sbvis_h);
340             if (v) {
341                v = get_int(sbalways_h);
342                if (!v) {
343                   emit("do-hide-hbar", "");
344                   set_int(sbvis_h, 0);
345                }
346             }
347             set_int(sbvis_timer, 0);
348             return 0;
349          }
350       }
351       images {
352          image: "shelf_inset.png" COMP;
353          image: "bt_sm_base2.png" COMP;
354          image: "bt_sm_shine.png" COMP;
355          image: "bt_sm_hilight.png" COMP;
356          image: "sl_bt2_2.png" COMP;
357       }
358       parts {
359          part { name: "bg";
360             type: RECT;
361             description { state: "default" 0.0;
362                rel1.offset: 2 2;
363                rel2.offset: -3 -3;
364                color: 255 255 255 0;
365             }
366          }
367          part { name: "clipper";
368             type: RECT;
369             mouse_events: 0;
370             description { state: "default" 0.0;
371                rel1.to: "bg";
372                rel2.to: "bg";
373                rel1.offset: 2 2;
374                rel2.offset: -3 -3;
375             }
376          }
377          part { name: "elm.swallow.content";
378             clip_to: "clipper";
379             type: SWALLOW;
380             description { state: "default" 0.0;
381                rel1.to: "bg";
382                rel2.to: "bg";
383                rel1.offset: 2 2;
384                rel2.offset: -3 -3;
385             }
386          }
387          part { name: "conf_over";
388             mouse_events:  0;
389             description { state: "default" 0.0;
390                rel1.to: "bg";
391                rel2.to: "bg";
392                image {
393                   normal: "shelf_inset.png";
394                   border: 7 7 7 7;
395                   middle: 0;
396                }
397                fill.smooth : 0;
398             }
399             description { state: "enabled" 0.0;
400                inherit: "default" 0.0;
401                color: 200 155 0 255;
402             }
403          }
404          part { name: "focus_highlight";
405             mouse_events: 0;
406             description { state: "default" 0.0;
407                rel1.offset: -1 -1;
408                rel2.offset: 0 0;
409                image {
410                   normal: "sl_bt2_2.png";
411                   border: 7 7 7 7;
412                   middle: 0;
413                }
414                fill.smooth : 0;
415                color: 200 155 0 0;
416             }
417             description { state: "enabled" 0.0;
418                inherit: "default" 0.0;
419                color: 200 155 0 255;
420             }
421          }
422          part { name: "sb_vbar_clip_master";
423             type: RECT;
424             mouse_events: 0;
425             description { state: "default" 0.0;
426             }
427             description { state: "hidden" 0.0;
428                visible: 0;
429                color: 255 255 255 0;
430             }
431          }
432          part { name: "sb_vbar_clip";
433             clip_to: "sb_vbar_clip_master";
434             type: RECT;
435             mouse_events: 0;
436             description { state: "default" 0.0;
437             }
438             description { state: "hidden" 0.0;
439                visible: 0;
440                color: 255 255 255 0;
441             }
442          }
443          part { name: "sb_vbar";
444             type: RECT;
445             mouse_events: 0;
446             description { state: "default" 0.0;
447                fixed: 1 1;
448                visible: 0;
449                min: 10 17;
450                align: 1.0 0.0;
451                rel1 {
452                   relative: 1.0 0.0;
453                   offset:   0 2;
454                   to_y:     "elm.swallow.content";
455                   to_x:     "elm.swallow.content";
456                }
457                rel2 {
458                   relative: 1.0 0.0;
459                   offset:   -1 -1;
460                   to_y:     "sb_hbar";
461                   to_x:     "elm.swallow.content";
462                }
463             }
464          }
465          part { name: "elm.dragable.vbar";
466             clip_to: "sb_vbar_clip";
467             mouse_events: 0;
468             dragable {
469                x: 0 0 0;
470                y: 1 1 0;
471                confine: "sb_vbar";
472             }
473             description { state: "default" 0.0;
474                fixed: 1 1;
475                min: 10 17;
476                max: 10 99999;
477                rel1 {
478                   relative: 0.5  0.5;
479                   offset:   0    0;
480                   to: "sb_vbar";
481                }
482                rel2 {
483                   relative: 0.5  0.5;
484                   offset:   0    0;
485                   to: "sb_vbar";
486                }
487                image {
488                   normal: "bt_sm_base2.png";
489                   border: 6 6 6 6;
490                   middle: SOLID;
491                }
492             }
493          }
494          part { name: "sb_vbar_over1";
495             clip_to: "sb_vbar_clip";
496             mouse_events: 0;
497             description { state: "default" 0.0;
498                rel1.to: "elm.dragable.vbar";
499                rel2.relative: 1.0 0.5;
500                rel2.to: "elm.dragable.vbar";
501                image {
502                   normal: "bt_sm_hilight.png";
503                   border: 6 6 6 0;
504                }
505             }
506          }
507          part { name: "sb_vbar_over2";
508             clip_to: "sb_vbar_clip";
509             mouse_events: 0;
510             description { state: "default" 0.0;
511                rel1.to: "elm.dragable.vbar";
512                rel2.to: "elm.dragable.vbar";
513                image {
514                   normal: "bt_sm_shine.png";
515                   border: 6 6 6 0;
516                }
517             }
518          }
519
520          part { name: "sb_hbar_clip_master";
521             type: RECT;
522             mouse_events: 0;
523             description { state: "default" 0.0;
524             }
525             description { state: "hidden" 0.0;
526                visible: 0;
527                color: 255 255 255 0;
528             }
529          }
530          part { name: "sb_hbar_clip";
531             clip_to: "sb_hbar_clip_master";
532             type: RECT;
533             mouse_events: 0;
534             description { state: "default" 0.0;
535             }
536             description { state: "hidden" 0.0;
537                visible: 0;
538                color: 255 255 255 0;
539             }
540          }
541          part { name: "sb_hbar";
542             type: RECT;
543             mouse_events: 0;
544             description { state: "default" 0.0;
545                fixed: 1 1;
546                visible: 0;
547                min: 17 10;
548                align: 0.0 1.0;
549                rel1 {
550                   relative: 0.0 1.0;
551                   offset:   2 0;
552                   to_x:     "elm.swallow.content";
553                   to_y:     "elm.swallow.content";
554                }
555                rel2 {
556                   relative: 0.0 1.0;
557                   offset:   -1 -1;
558                   to_x:     "sb_vbar";
559                   to_y:     "elm.swallow.content";
560                }
561             }
562          }
563          part { name: "elm.dragable.hbar";
564             clip_to: "sb_hbar_clip";
565             mouse_events: 0;
566             dragable {
567                x: 1 1 0;
568                y: 0 0 0;
569                confine: "sb_hbar";
570             }
571             description { state: "default" 0.0;
572                fixed: 1 1;
573                min: 17 10;
574                max: 99999 10;
575                rel1 {
576                   relative: 0.5  0.5;
577                   offset:   0    0;
578                   to: "sb_hbar";
579                }
580                rel2 {
581                   relative: 0.5  0.5;
582                   offset:   0    0;
583                   to: "sb_hbar";
584                }
585                image {
586                   normal: "bt_sm_base2.png";
587                   border: 4 4 4 4;
588                   middle: SOLID;
589                }
590             }
591          }
592          part { name: "sb_hbar_over1";
593             clip_to: "sb_hbar_clip";
594             mouse_events: 0;
595             description { state: "default" 0.0;
596                rel1.to: "elm.dragable.hbar";
597                rel2.relative: 1.0 0.5;
598                rel2.to: "elm.dragable.hbar";
599                image {
600                   normal: "bt_sm_hilight.png";
601                   border: 4 4 4 0;
602                }
603             }
604          }
605          part { name: "sb_hbar_over2";
606             clip_to: "sb_hbar_clip";
607             mouse_events: 0;
608             description { state: "default" 0.0;
609                rel1.to: "elm.dragable.hbar";
610                rel2.to: "elm.dragable.hbar";
611                image {
612                   normal: "bt_sm_shine.png";
613                   border: 4 4 4 0;
614                }
615             }
616          }
617           part { name: "disabler";
618             type: RECT;
619             description { state: "default" 0.0;
620                rel1.to: "clipper";
621                rel2.to: "clipper";
622                color: 0 0 0 0;
623                visible: 0;
624             }
625             description { state: "disabled" 0.0;
626                inherit: "default" 0.0;
627                visible: 1;
628                color: 128 128 128 128;
629             }
630          }
631       }
632       programs {
633          program { name: "load";
634             signal: "load";
635             source: "";
636             script {
637                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
638                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
639                set_int(sbvis_h, 0);
640                set_int(sbvis_v, 0);
641                set_int(sbalways_v, 0);
642                set_int(sbalways_h, 0);
643                set_int(sbvis_timer, 0);
644             }
645          }
646
647          program { name: "vbar_show";
648             signal: "elm,action,show,vbar";
649             source: "elm";
650             action:  STATE_SET "default" 0.0;
651             target: "sb_vbar_clip_master";
652          }
653          program { name: "vbar_hide";
654             signal: "elm,action,hide,vbar";
655             source: "elm";
656             action:  STATE_SET "hidden" 0.0;
657             target: "sb_vbar_clip_master";
658          }
659          program { name: "vbar_show_always";
660             signal: "elm,action,show_always,vbar";
661             source: "elm";
662             script {
663                new v;
664                v = get_int(sbvis_v);
665                v |= get_int(sbalways_v);
666                if (!v) {
667                   set_int(sbalways_v, 1);
668                   emit("do-show-vbar", "");
669                   set_int(sbvis_v, 1);
670                }
671             }
672          }
673          program { name: "vbar_show_notalways";
674             signal: "elm,action,show_notalways,vbar";
675             source: "elm";
676             script {
677                new v;
678                v = get_int(sbalways_v);
679                if (v) {
680                   set_int(sbalways_v, 0);
681                   v = get_int(sbvis_v);
682                   if (!v) {
683                      emit("do-hide-vbar", "");
684                      set_int(sbvis_v, 0);
685                   }
686                }
687             }
688          }
689          program { name: "sb_vbar_show";
690             signal: "do-show-vbar";
691             source: "";
692             action:  STATE_SET "default" 0.0;
693             transition: LINEAR 0.5;
694             target: "sb_vbar_clip";
695          }
696          program { name: "sb_vbar_hide";
697             signal: "do-hide-vbar";
698             source: "";
699             action:  STATE_SET "hidden" 0.0;
700             transition: LINEAR 0.5;
701             target: "sb_vbar_clip";
702          }
703
704          program { name: "hbar_show";
705             signal: "elm,action,show,hbar";
706             source: "elm";
707             action:  STATE_SET "default" 0.0;
708             target: "sb_hbar_clip_master";
709          }
710          program { name: "hbar_hide";
711             signal: "elm,action,hide,hbar";
712             source: "elm";
713             action:  STATE_SET "hidden" 0.0;
714             target: "sb_hbar_clip_master";
715          }
716          program { name: "hbar_show_always";
717             signal: "elm,action,show_always,hbar";
718             source: "elm";
719             script {
720                new v;
721                v = get_int(sbvis_h);
722                v |= get_int(sbalways_h);
723                if (!v) {
724                   set_int(sbalways_h, 1);
725                   emit("do-show-hbar", "");
726                   set_int(sbvis_h, 1);
727                }
728             }
729          }
730          program { name: "hbar_show_notalways";
731             signal: "elm,action,show_notalways,hbar";
732             source: "elm";
733             script {
734                new v;
735                v = get_int(sbalways_h);
736                if (v) {
737                   set_int(sbalways_h, 0);
738                   v = get_int(sbvis_h);
739                   if (!v) {
740                      emit("do-hide-hbar", "");
741                      set_int(sbvis_h, 0);
742                   }
743                }
744             }
745          }
746          program { name: "sb_hbar_show";
747             signal: "do-show-hbar";
748             source: "";
749             action:  STATE_SET "default" 0.0;
750             transition: LINEAR 0.5;
751             target: "sb_hbar_clip";
752          }
753          program { name: "sb_hbar_hide";
754             signal: "do-hide-hbar";
755             source: "";
756             action:  STATE_SET "hidden" 0.0;
757             transition: LINEAR 0.5;
758             target: "sb_hbar_clip";
759          }
760
761          program { name: "scroll";
762             signal: "elm,action,scroll";
763             source: "elm";
764             script {
765                new v;
766                v = get_int(sbvis_v);
767                v |= get_int(sbalways_v);
768                if (!v) {
769                   emit("do-show-vbar", "");
770                   set_int(sbvis_v, 1);
771                }
772                v = get_int(sbvis_h);
773                v |= get_int(sbalways_h);
774                if (!v) {
775                   emit("do-show-hbar", "");
776                   set_int(sbvis_h, 1);
777                }
778                v = get_int(sbvis_timer);
779                if (v > 0) cancel_timer(v);
780                v = timer(1.0, "timer0", 0);
781                set_int(sbvis_timer, v);
782             }
783          }
784
785          program { name: "highlight_show";
786             signal: "elm,action,focus_highlight,show";
787             source: "elm";
788             action: STATE_SET "enabled" 0.0;
789             transition: ACCELERATE 0.3;
790             target: "focus_highlight";
791             target: "conf_over";
792          }
793          program { name: "highlight_hide";
794             signal: "elm,action,focus_highlight,hide";
795             source: "elm";
796             action: STATE_SET "default" 0.0;
797             transition: DECELERATE 0.3;
798             target: "focus_highlight";
799             target: "conf_over";
800          }
801          program { name: "disable";
802             signal: "elm,state,disabled";
803             source: "elm";
804             action: STATE_SET "disabled" 0.0;
805             target: "disabler";
806          }
807          program { name: "enable";
808             signal: "elm,state,enabled";
809             source: "elm";
810             action: STATE_SET "default" 0.0;
811             target: "disabler";
812          }
813       }
814    }
815
816 ///////////////////////////////////////////////////////////////////////////////
817    group { name: "elm/scroller/entry/default";
818
819       data {
820          item: "focus_highlight" "on";
821       }
822
823       script {
824          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
825          public timer0(val) {
826             new v;
827             v = get_int(sbvis_v);
828             if (v) {
829                v = get_int(sbalways_v);
830                if (!v) {
831                   emit("do-hide-vbar", "");
832                   set_int(sbvis_v, 0);
833                }
834             }
835             v = get_int(sbvis_h);
836             if (v) {
837                v = get_int(sbalways_h);
838                if (!v) {
839                   emit("do-hide-hbar", "");
840                   set_int(sbvis_h, 0);
841                }
842             }
843             set_int(sbvis_timer, 0);
844             return 0;
845          }
846       }
847       images {
848          image: "shelf_inset.png" COMP;
849          image: "bt_sm_base2.png" COMP;
850          image: "bt_sm_shine.png" COMP;
851          image: "bt_sm_hilight.png" COMP;
852          image: "sl_bt2_2.png" COMP;
853       }
854       parts {
855          part { name: "bg";
856             type: RECT;
857             description { state: "default" 0.0;
858                rel1.offset: 2 2;
859                rel2.offset: -3 -3;
860             }
861          }
862          part { name: "clipper";
863             type: RECT;
864             mouse_events: 0;
865             description { state: "default" 0.0;
866                rel1.to: "bg";
867                rel2.to: "bg";
868                rel1.offset: 2 2;
869                rel2.offset: -3 -3;
870             }
871          }
872          part { name: "contentclipper";
873             type: RECT;
874             mouse_events: 0;
875             clip_to: "clipper";
876             description { state: "default" 0.0;
877                rel1.to: "elm.swallow.icon";
878                rel1.relative: 1.0 0.0;
879                rel2.to: "elm.swallow.end";
880                rel2.relative: 0.0 1.0;
881             }
882          }
883          part { name: "elm.swallow.icon";
884             type: SWALLOW;
885             clip_to: "clipper";
886             description { state: "default" 0.0;
887                fixed: 1 1;
888                rel1 {
889                   to: "bg";
890                   relative: 0.0 0.0;
891                   offset: 0 0;
892                }
893                rel2 {
894                   to: "bg";
895                   relative: 0.0 1.0;
896                   offset: -1 -1;
897                }
898                visible: 0;
899             }
900             description { state: "visible" 0.0;
901                fixed: 1 1;
902                align: 0.0 1.0;
903                rel1 {
904                          to: "bg";
905                          relative: 0.0 0.0;
906                          offset: 0 0;
907                }
908                rel2 {
909                   to: "bg";
910                   relative: 0.0 1.0;
911                   offset: -1 -1;
912                }
913                visible: 1;
914             }
915          }
916          part { name: "elm.swallow.end";
917             type: SWALLOW;
918             clip_to: "clipper";
919             description { state: "default" 0.0;
920                fixed: 1 1;
921                rel1 {
922                   to: "bg";
923                   relative: 1.0 0.0;
924                   offset: 0 0;
925                }
926                rel2 {
927                   to: "bg";
928                   relative: 1.0 1.0;
929                   offset: -1 -1;
930                }
931                visible: 0;
932             }
933             description { state: "visible" 0.0;
934                fixed: 1 1;
935                align: 1.0 1.0;
936                rel1 {
937                   to: "bg";
938                   relative: 1.0 0.0;
939                   offset: 0 0;
940                }
941                rel2 {
942                   to: "bg";
943                   relative: 1.0 1.0;
944                   offset: -1 -1;
945                }
946                visible: 1;
947             }
948          }
949          part { name: "elm.swallow.content";
950             clip_to: "contentclipper";
951             type: SWALLOW;
952             description { state: "default" 0.0;
953                rel1 {
954                        to: "elm.swallow.icon";
955                        relative: 1.0 0.0;
956                        offset: 4 4;
957                }
958                rel2 {
959                 to: "elm.swallow.end";
960                 relative: 0.0 1.0;
961                 offset: -5 -5;
962                }
963             }
964          }
965          part { name: "conf_over";
966             mouse_events:  0;
967             description { state: "default" 0.0;
968                rel1.to: "bg";
969                rel2.to: "bg";
970                image {
971                   normal: "shelf_inset.png";
972                   border: 7 7 7 7;
973                   middle: 0;
974                }
975                fill.smooth : 0;
976             }
977             description { state: "enabled" 0.0;
978                inherit: "default" 0.0;
979                color: 200 155 0 255;
980             }
981          }
982          part { name: "focus_highlight";
983             mouse_events: 0;
984             description { state: "default" 0.0;
985                rel1.offset: -1 -1;
986                rel2.offset: 0 0;
987                image {
988                   normal: "sl_bt2_2.png";
989                   border: 7 7 7 7;
990                   middle: 0;
991                }
992                fill.smooth : 0;
993                color: 200 155 0 0;
994             }
995             description { state: "enabled" 0.0;
996                inherit: "default" 0.0;
997                color: 200 155 0 255;
998             }
999          }
1000          part { name: "sb_vbar_clip_master";
1001             type: RECT;
1002             mouse_events: 0;
1003             description { state: "default" 0.0;
1004             }
1005             description { state: "hidden" 0.0;
1006                visible: 0;
1007                color: 255 255 255 0;
1008             }
1009          }
1010          part { name: "sb_vbar_clip";
1011             clip_to: "sb_vbar_clip_master";
1012             type: RECT;
1013             mouse_events: 0;
1014             description { state: "default" 0.0;
1015             }
1016             description { state: "hidden" 0.0;
1017                visible: 0;
1018                color: 255 255 255 0;
1019             }
1020          }
1021          part { name: "sb_vbar";
1022             type: RECT;
1023             mouse_events: 0;
1024             description { state: "default" 0.0;
1025                fixed: 1 1;
1026                visible: 0;
1027                min: 10 17;
1028                align: 1.0 0.0;
1029                rel1 {
1030                   relative: 0.0 0.0;
1031                   offset:   -2 2;
1032                   to_y:     "elm.swallow.content";
1033                   to_x:     "elm.swallow.end";
1034                }
1035                rel2 {
1036                   relative: 0.0 0.0;
1037                   offset:   -2 -1;
1038                   to_y:     "sb_hbar";
1039                   to_x:     "elm.swallow.end";
1040                }
1041             }
1042          }
1043          part { name: "elm.dragable.vbar";
1044             clip_to: "sb_vbar_clip";
1045             mouse_events: 0;
1046             dragable {
1047                x: 0 0 0;
1048                y: 1 1 0;
1049                confine: "sb_vbar";
1050             }
1051             description { state: "default" 0.0;
1052                fixed: 1 1;
1053                min: 10 17;
1054                max: 10 99999;
1055                rel1 {
1056                   relative: 0.5  0.5;
1057                   offset:   0    0;
1058                   to: "sb_vbar";
1059                }
1060                rel2 {
1061                   relative: 0.5  0.5;
1062                   offset:   0    0;
1063                   to: "sb_vbar";
1064                }
1065                image {
1066                   normal: "bt_sm_base2.png";
1067                   border: 6 6 6 6;
1068                   middle: SOLID;
1069                }
1070             }
1071          }
1072          part { name: "sb_vbar_over1";
1073             clip_to: "sb_vbar_clip";
1074             mouse_events: 0;
1075             description { state: "default" 0.0;
1076                rel1.to: "elm.dragable.vbar";
1077                rel2.relative: 1.0 0.5;
1078                rel2.to: "elm.dragable.vbar";
1079                image {
1080                   normal: "bt_sm_hilight.png";
1081                   border: 6 6 6 0;
1082                }
1083             }
1084          }
1085          part { name: "sb_vbar_over2";
1086             clip_to: "sb_vbar_clip";
1087             mouse_events: 0;
1088             description { state: "default" 0.0;
1089                rel1.to: "elm.dragable.vbar";
1090                rel2.to: "elm.dragable.vbar";
1091                image {
1092                   normal: "bt_sm_shine.png";
1093                   border: 6 6 6 0;
1094                }
1095             }
1096          }
1097
1098          part { name: "sb_hbar_clip_master";
1099             type: RECT;
1100             mouse_events: 0;
1101             description { state: "default" 0.0;
1102             }
1103             description { state: "hidden" 0.0;
1104                visible: 0;
1105                color: 255 255 255 0;
1106             }
1107          }
1108          part { name: "sb_hbar_clip";
1109             clip_to: "sb_hbar_clip_master";
1110             type: RECT;
1111             mouse_events: 0;
1112             description { state: "default" 0.0;
1113             }
1114             description { state: "hidden" 0.0;
1115                visible: 0;
1116                color: 255 255 255 0;
1117             }
1118          }
1119          part { name: "sb_hbar";
1120             type: RECT;
1121             mouse_events: 0;
1122             description { state: "default" 0.0;
1123                fixed: 1 1;
1124                visible: 0;
1125                min: 17 10;
1126                align: 0.0 1.0;
1127                rel1 {
1128                   relative: 0.0 1.0;
1129                   offset:   2 0;
1130                   to_x:     "elm.swallow.content";
1131                   to_y:     "elm.swallow.content";
1132                }
1133                rel2 {
1134                   relative: 0.0 1.0;
1135                   offset:   -1 -1;
1136                   to_x:     "sb_vbar";
1137                   to_y:     "elm.swallow.content";
1138                }
1139             }
1140          }
1141          part { name: "elm.dragable.hbar";
1142             clip_to: "sb_hbar_clip";
1143             mouse_events: 0;
1144             dragable {
1145                x: 1 1 0;
1146                y: 0 0 0;
1147                confine: "sb_hbar";
1148             }
1149             description { state: "default" 0.0;
1150                fixed: 1 1;
1151                min: 17 10;
1152                max: 99999 10;
1153                rel1 {
1154                   relative: 0.5  0.5;
1155                   offset:   0    0;
1156                   to: "sb_hbar";
1157                }
1158                rel2 {
1159                   relative: 0.5  0.5;
1160                   offset:   0    0;
1161                   to: "sb_hbar";
1162                }
1163                image {
1164                   normal: "bt_sm_base2.png";
1165                   border: 4 4 4 4;
1166                   middle: SOLID;
1167                }
1168             }
1169          }
1170          part { name: "sb_hbar_over1";
1171             clip_to: "sb_hbar_clip";
1172             mouse_events: 0;
1173             description { state: "default" 0.0;
1174                rel1.to: "elm.dragable.hbar";
1175                rel2.relative: 1.0 0.5;
1176                rel2.to: "elm.dragable.hbar";
1177                image {
1178                   normal: "bt_sm_hilight.png";
1179                   border: 4 4 4 0;
1180                }
1181             }
1182          }
1183          part { name: "sb_hbar_over2";
1184             clip_to: "sb_hbar_clip";
1185             mouse_events: 0;
1186             description { state: "default" 0.0;
1187                rel1.to: "elm.dragable.hbar";
1188                rel2.to: "elm.dragable.hbar";
1189                image {
1190                   normal: "bt_sm_shine.png";
1191                   border: 4 4 4 0;
1192                }
1193             }
1194          }
1195       }
1196       programs {
1197          program { name: "load";
1198             signal: "load";
1199             source: "";
1200             script {
1201                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1202                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1203                set_int(sbvis_h, 0);
1204                set_int(sbvis_v, 0);
1205                set_int(sbalways_v, 0);
1206                set_int(sbalways_h, 0);
1207                set_int(sbvis_timer, 0);
1208             }
1209          }
1210          program { name: "icon_show";
1211             signal: "elm,action,show,icon";
1212             source: "elm";
1213             action: STATE_SET "visible" 0.0;
1214             target: "elm.swallow.icon";
1215          }
1216          program { name: "icon_hide";
1217             signal: "elm,action,hide,icon";
1218             source: "elm";
1219             action: STATE_SET "default" 0.0;
1220             target: "elm.swallow.icon";
1221          }
1222          program { name: "end_show";
1223             signal: "elm,action,show,end";
1224             source: "elm";
1225             action: STATE_SET "visible" 0.0;
1226             target: "elm.swallow.end";
1227          }
1228          program { name: "end_hide";
1229             signal: "elm,action,hide,end";
1230             source: "elm";
1231             action: STATE_SET "default" 0.0;
1232             target: "elm.swallow.end";
1233          }
1234          program { name: "vbar_show";
1235             signal: "elm,action,show,vbar";
1236             source: "elm";
1237             action:  STATE_SET "default" 0.0;
1238             target: "sb_vbar_clip_master";
1239          }
1240          program { name: "vbar_hide";
1241             signal: "elm,action,hide,vbar";
1242             source: "elm";
1243             action:  STATE_SET "hidden" 0.0;
1244             target: "sb_vbar_clip_master";
1245          }
1246          program { name: "vbar_show_always";
1247             signal: "elm,action,show_always,vbar";
1248             source: "elm";
1249             script {
1250                new v;
1251                v = get_int(sbvis_v);
1252                v |= get_int(sbalways_v);
1253                if (!v) {
1254                   set_int(sbalways_v, 1);
1255                   emit("do-show-vbar", "");
1256                   set_int(sbvis_v, 1);
1257                }
1258             }
1259          }
1260          program { name: "vbar_show_notalways";
1261             signal: "elm,action,show_notalways,vbar";
1262             source: "elm";
1263             script {
1264                new v;
1265                v = get_int(sbalways_v);
1266                if (v) {
1267                   set_int(sbalways_v, 0);
1268                   v = get_int(sbvis_v);
1269                   if (!v) {
1270                      emit("do-hide-vbar", "");
1271                      set_int(sbvis_v, 0);
1272                   }
1273                }
1274             }
1275          }
1276          program { name: "sb_vbar_show";
1277             signal: "do-show-vbar";
1278             source: "";
1279             action:  STATE_SET "default" 0.0;
1280             transition: LINEAR 0.5;
1281             target: "sb_vbar_clip";
1282          }
1283          program { name: "sb_vbar_hide";
1284             signal: "do-hide-vbar";
1285             source: "";
1286             action:  STATE_SET "hidden" 0.0;
1287             transition: LINEAR 0.5;
1288             target: "sb_vbar_clip";
1289          }
1290
1291          program { name: "hbar_show";
1292             signal: "elm,action,show,hbar";
1293             source: "elm";
1294             action:  STATE_SET "default" 0.0;
1295             target: "sb_hbar_clip_master";
1296          }
1297          program { name: "hbar_hide";
1298             signal: "elm,action,hide,hbar";
1299             source: "elm";
1300             action:  STATE_SET "hidden" 0.0;
1301             target: "sb_hbar_clip_master";
1302          }
1303          program { name: "hbar_show_always";
1304             signal: "elm,action,show_always,hbar";
1305             source: "elm";
1306             script {
1307                new v;
1308                v = get_int(sbvis_h);
1309                v |= get_int(sbalways_h);
1310                if (!v) {
1311                   set_int(sbalways_h, 1);
1312                   emit("do-show-hbar", "");
1313                   set_int(sbvis_h, 1);
1314                }
1315             }
1316          }
1317          program { name: "hbar_show_notalways";
1318             signal: "elm,action,show_notalways,hbar";
1319             source: "elm";
1320             script {
1321                new v;
1322                v = get_int(sbalways_h);
1323                if (v) {
1324                   set_int(sbalways_h, 0);
1325                   v = get_int(sbvis_h);
1326                   if (!v) {
1327                      emit("do-hide-hbar", "");
1328                      set_int(sbvis_h, 0);
1329                   }
1330                }
1331             }
1332          }
1333          program { name: "sb_hbar_show";
1334             signal: "do-show-hbar";
1335             source: "";
1336             action:  STATE_SET "default" 0.0;
1337             transition: LINEAR 0.5;
1338             target: "sb_hbar_clip";
1339          }
1340          program { name: "sb_hbar_hide";
1341             signal: "do-hide-hbar";
1342             source: "";
1343             action:  STATE_SET "hidden" 0.0;
1344             transition: LINEAR 0.5;
1345             target: "sb_hbar_clip";
1346          }
1347
1348          program { name: "scroll";
1349             signal: "elm,action,scroll";
1350             source: "elm";
1351             script {
1352                new v;
1353                v = get_int(sbvis_v);
1354                v |= get_int(sbalways_v);
1355                if (!v) {
1356                   emit("do-show-vbar", "");
1357                   set_int(sbvis_v, 1);
1358                }
1359                v = get_int(sbvis_h);
1360                v |= get_int(sbalways_h);
1361                if (!v) {
1362                   emit("do-show-hbar", "");
1363                   set_int(sbvis_h, 1);
1364                }
1365                v = get_int(sbvis_timer);
1366                if (v > 0) cancel_timer(v);
1367                v = timer(1.0, "timer0", 0);
1368                set_int(sbvis_timer, v);
1369             }
1370          }
1371
1372          program { name: "highlight_show";
1373             signal: "elm,action,focus_highlight,show";
1374             source: "elm";
1375             action: STATE_SET "enabled" 0.0;
1376             transition: ACCELERATE 0.3;
1377             target: "focus_highlight";
1378             target: "conf_over";
1379          }
1380          program { name: "highlight_hide";
1381             signal: "elm,action,focus_highlight,hide";
1382             source: "elm";
1383             action: STATE_SET "default" 0.0;
1384             transition: DECELERATE 0.3;
1385             target: "focus_highlight";
1386             target: "conf_over";
1387          }
1388       }
1389    }
1390
1391 ///////////////////////////////////////////////////////////////////////////////
1392 #define TEXT_SLIDE_DURATION     10
1393
1394    group { name: "elm/label/base/default";
1395       data.item: "default_font_size" "10";
1396       data.item: "min_font_size" "6";
1397       data.item: "max_font_size" "60";
1398       styles {
1399          style { name: "textblock_style";
1400             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1401             tag:  "br" "\n";
1402             tag:  "ps" "ps";
1403             tag:  "hilight" "+ font=Sans:style=Bold";
1404             tag:  "b" "+ font=Sans:style=Bold";
1405             tag:  "tab" "\t";
1406            }
1407         }
1408       parts {
1409          part { name: "label.swallow.background";
1410             type: SWALLOW;
1411             description { state: "default" 0.0;
1412                visible: 1;
1413             }
1414          }
1415          part { name: "label.text.clip";
1416             type: RECT;
1417             description { state: "default" 0.0;
1418                rel1 { relative: 0 0; to: "label.swallow.background"; }
1419                rel2 { relative: 1 1; to: "label.swallow.background"; }
1420             }
1421          }
1422          part { name: "elm.text";
1423             type: TEXTBLOCK;
1424             mouse_events: 0;
1425             scale: 1;
1426             clip_to: "label.text.clip";
1427             description { state: "default" 0.0;
1428                rel1.relative: 0.0 0.0;
1429                rel2.relative: 1.0 1.0;
1430                text {
1431                   style: "textblock_style";
1432                   min: 1 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base_wrap/default";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       parts {
1444          part { name: "label.swallow.background";
1445             type: SWALLOW;
1446             description { state: "default" 0.0;
1447                visible: 1;
1448                rel1 { relative: 0 0; to: "elm.text"; }
1449                rel2 { relative: 1 1; to: "elm.text"; }
1450             }
1451          }
1452          part { name: "elm.text";
1453             type: TEXTBLOCK;
1454             mouse_events: 0;
1455             scale: 1;
1456             description { state: "default" 0.0;
1457                text {
1458                   style: "textblock_style";
1459                   min: 0 1;
1460                }
1461             }
1462          }
1463       }
1464    }
1465
1466    group { name: "elm/label/base_wrap_ellipsis/default";
1467       data.item: "default_font_size" "10";
1468       data.item: "min_font_size" "6";
1469       data.item: "max_font_size" "60";
1470       parts {
1471          part { name: "label.swallow.background";
1472             type: SWALLOW;
1473             description { state: "default" 0.0;
1474                visible: 1;
1475                rel1 { relative: 0 0; to: "elm.text"; }
1476                rel2 { relative: 1 1; to: "elm.text"; }
1477             }
1478          }
1479          part { name: "elm.text";
1480             type: TEXTBLOCK;
1481             mouse_events: 0;
1482             scale: 1;
1483             multiline: 1;
1484             description { state: "default" 0.0;
1485                fixed: 0 1;
1486                text {
1487                   style: "textblock_style";
1488                   min: 0 1;
1489                }
1490             }
1491          }
1492       }
1493    }
1494
1495    group { name: "elm/label/base/marker";
1496       data.item: "default_font_size" "10";
1497       data.item: "min_font_size" "6";
1498       data.item: "max_font_size" "60";
1499       styles {
1500          style { name: "textblock_style2";
1501            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1502            tag:  "br" "\n";
1503            tag:  "ps" "ps";
1504            tag:  "hilight" "+ color=#ffff";
1505            tag:  "b" "+ color=#ffff";
1506            tag:  "tab" "\t";
1507          }
1508       }
1509       parts {
1510          part { name: "label.swallow.background";
1511             type: SWALLOW;
1512             description { state: "default" 0.0;
1513                visible: 1;
1514                rel1 { relative: 0 0; to: "elm.text"; }
1515                rel2 { relative: 1 1; to: "elm.text"; }
1516             }
1517          }
1518          part { name: "elm.text";
1519             type: TEXTBLOCK;
1520             mouse_events: 0;
1521             scale: 1;
1522             description { state: "default" 0.0;
1523                text {
1524                   style: "textblock_style2";
1525                   min: 1 1;
1526                }
1527             }
1528          }
1529       }
1530    }
1531
1532    group { name: "elm/label/base_wrap/marker";
1533       data.item: "default_font_size" "10";
1534       data.item: "min_font_size" "6";
1535       data.item: "max_font_size" "60";
1536       parts {
1537          part { name: "label.swallow.background";
1538             type: SWALLOW;
1539             description { state: "default" 0.0;
1540                visible: 1;
1541                rel1 { relative: 0 0; to: "elm.text"; }
1542                rel2 { relative: 1 1; to: "elm.text"; }
1543             }
1544          }
1545          part { name: "elm.text";
1546             type: TEXTBLOCK;
1547             mouse_events: 0;
1548             scale: 1;
1549             description { state: "default" 0.0;
1550                text {
1551                   style: "textblock_style2";
1552                   min: 0 1;
1553                }
1554             }
1555          }
1556       }
1557    }
1558
1559    group { name: "elm/label/base/slide_long";
1560       data.item: "default_font_size" "10";
1561       data.item: "min_font_size" "6";
1562       data.item: "max_font_size" "60";
1563
1564       script {
1565         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1566
1567         public message(Msg_Type:type, id, ...) {
1568            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1569               new Float:duration;
1570               duration = getarg(2);
1571               set_float(g_duration, duration);
1572            }
1573         }
1574         public slide_to_end_anim(val, Float:pos) {
1575            new stopflag;
1576            new id;
1577            stopflag = get_int(g_stopslide);
1578            if (stopflag == 1) return;
1579            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1580            if (pos >= 1.0) {
1581               id = timer(0.5, "slide_to_begin", 1);
1582               set_int(g_timer_id, id);
1583            }
1584         }
1585         public slide_to_end() {
1586            new stopflag;
1587            new id;
1588            new Float:duration;
1589            stopflag = get_int(g_stopslide);
1590            if (stopflag == 1) return;
1591            duration = get_float(g_duration);
1592            id = anim(duration, "slide_to_end_anim", 1);
1593            set_int(g_anim_id, id);
1594         }
1595         public slide_to_begin() {
1596            new stopflag;
1597            new id;
1598            stopflag = get_int(g_stopslide);
1599            if (stopflag == 1) return;
1600            set_state(PART:"elm.text", "slide_begin", 0.0);
1601            id = timer(0.5, "slide_to_end", 1);
1602            set_int(g_timer_id, id);
1603         }
1604         public start_slide() {
1605            set_int(g_stopslide, 0);
1606            set_state(PART:"elm.text", "slide_begin", 0.0);
1607            slide_to_end();
1608         }
1609         public stop_slide() {
1610            new id;
1611            set_int(g_stopslide, 1);
1612            id = get_int(g_anim_id);
1613            cancel_anim(id);
1614            id = get_int(g_timer_id);
1615            cancel_timer(id);
1616            set_state(PART:"elm.text", "default", 0.0);
1617         }
1618       }
1619
1620       parts {
1621          part { name: "label.swallow.background";
1622             type: SWALLOW;
1623             description { state: "default" 0.0;
1624                visible: 1;
1625             }
1626          }
1627          part { name: "label.text.clip";
1628             type: RECT;
1629             description { state: "default" 0.0;
1630                visible: 1;
1631                color: 255 255 255 255;
1632                rel1 { relative: 0 0; to: "label.swallow.background"; }
1633                rel2 { relative: 1 1; to: "label.swallow.background"; }
1634             }
1635          }
1636          part { name: "elm.text";
1637             type: TEXTBLOCK;
1638             mouse_events: 0;
1639             scale: 1;
1640             clip_to: "label.text.clip";
1641             description { state: "default" 0.0;
1642                rel1.relative: 0.0 0.0;
1643                rel2.relative: 1.0 1.0;
1644                align: 0.0 0.0;
1645                text {
1646                   style: "textblock_style";
1647                   min: 1 1;
1648                }
1649             }
1650             description { state: "slide_end" 0.0;
1651                inherit: "default" 0.0;
1652                rel1.relative: 0.0 0.0;
1653                rel2.relative: 0.0 1.0;
1654                align: 1.0 0.0;
1655             }
1656             description { state: "slide_begin" 0.0;
1657                inherit: "default" 0.0;
1658                rel1.relative: 1.0 0.0;
1659                rel2.relative: 1.0 1.0;
1660                align: 0.0 0.0;
1661             }
1662          }
1663        }
1664        programs {
1665           program { name: "start_slide";
1666              source: "elm";
1667              signal: "elm,state,slide,start";
1668              script
1669                {
1670                   start_slide();
1671                }
1672           }
1673           program { name: "stop_slide";
1674              source: "elm";
1675              signal: "elm,state,slide,stop";
1676              script
1677                {
1678                   stop_slide();
1679                }
1680           }
1681        }
1682    }
1683
1684
1685    group { name: "elm/label/base/slide_short";
1686       data.item: "default_font_size" "10";
1687       data.item: "min_font_size" "6";
1688       data.item: "max_font_size" "60";
1689
1690       script {
1691          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1692
1693          public message(Msg_Type:type, id, ...) {
1694             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1695                new Float:duration;
1696                duration = getarg(2);
1697                set_float(g_duration, duration);
1698             }
1699          }
1700          public slide_to_end_anim(val, Float:pos) {
1701             new stopflag;
1702             new id;
1703             stopflag = get_int(g_stopslide);
1704             if (stopflag == 1) return;
1705             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1706             if (pos >= 1.0) {
1707                id = timer(0.5, "slide_to_begin", 1);
1708                set_int(g_timer_id, id);
1709             }
1710          }
1711          public slide_to_end() {
1712             new stopflag;
1713             new id;
1714             new Float:duration;
1715             stopflag = get_int(g_stopslide);
1716             if (stopflag == 1) return;
1717             duration = get_float(g_duration);
1718             id = anim(duration, "slide_to_end_anim", 1);
1719             set_int(g_anim_id, id);
1720          }
1721          public slide_to_begin() {
1722             new stopflag;
1723             new id;
1724             stopflag = get_int(g_stopslide);
1725             if (stopflag == 1) return;
1726             set_state(PART:"elm.text", "slide_begin", 0.0);
1727             id = timer(0.5, "slide_to_end", 1);
1728             set_int(g_timer_id, id);
1729          }
1730          public start_slide() {
1731             set_int(g_stopslide, 0);
1732             set_state(PART:"elm.text", "slide_begin", 0.0);
1733             slide_to_end();
1734          }
1735          public stop_slide() {
1736             new id;
1737             set_int(g_stopslide, 1);
1738             id = get_int(g_anim_id);
1739             cancel_anim(id);
1740             id = get_int(g_timer_id);
1741             cancel_timer(id);
1742             set_state(PART:"elm.text", "default", 0.0);
1743          }
1744       }
1745
1746       parts {
1747          part { name: "label.swallow.background";
1748             type: SWALLOW;
1749             description { state: "default" 0.0;
1750                visible: 1;
1751             }
1752          }
1753          part { name: "label.text.clip";
1754             type: RECT;
1755             description { state: "default" 0.0;
1756                visible: 1;
1757                color: 255 255 255 255;
1758                rel1 { relative: 0 0; to: "label.swallow.background"; }
1759                rel2 { relative: 1 1; to: "label.swallow.background"; }
1760             }
1761          }
1762          part { name: "elm.text";
1763             type: TEXTBLOCK;
1764             mouse_events: 0;
1765             scale: 1;
1766             clip_to: "label.text.clip";
1767             description { state: "default" 0.0;
1768                rel1.relative: 0.0 0.0;
1769                rel2.relative: 1.0 1.0;
1770                align: 0.0 0.0;
1771                text {
1772                   style: "textblock_style";
1773                   min: 1 1;
1774                }
1775             }
1776             description { state: "slide_end" 0.0;
1777                inherit: "default" 0.0;
1778                rel1.relative: 1.0 0.0;
1779                rel2.relative: 1.0 1.0;
1780                align: 1.0 0.0;
1781             }
1782             description { state: "slide_begin" 0.0;
1783                inherit: "default" 0.0;
1784                rel1.relative: 0.0 0.0;
1785                rel2.relative: 0.0 1.0;
1786                align: 0.0 0.0;
1787             }
1788          }
1789       }
1790       programs {
1791          program { name: "start_slide";
1792             source: "elm";
1793             signal: "elm,state,slide,start";
1794             script
1795               {
1796                  start_slide();
1797               }
1798          }
1799          program { name: "stop_slide";
1800             source: "elm";
1801             signal: "elm,state,slide,stop";
1802             script
1803               {
1804                  stop_slide();
1805               }
1806          }
1807       }
1808    }
1809
1810    group { name: "elm/label/base/slide_bounce";
1811       data.item: "default_font_size" "10";
1812       data.item: "min_font_size" "6";
1813       data.item: "max_font_size" "60";
1814
1815       script {
1816          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1817
1818          public message(Msg_Type:type, id, ...) {
1819             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1820                new Float:duration;
1821                duration = getarg(2);
1822                set_float(g_duration, duration);
1823             }
1824          }
1825          public slide_to_end_anim(val, Float:pos) {
1826             new stopflag;
1827             new id;
1828             stopflag = get_int(g_stopslide);
1829             if (stopflag == 1) return;
1830             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1831             if (pos >= 1.0) {
1832                id = timer(0.5, "slide_to_begin", 1);
1833                set_int(g_timer_id, id);
1834             }
1835          }
1836          public slide_to_end() {
1837             new stopflag;
1838             new id;
1839             new Float:duration;
1840             stopflag = get_int(g_stopslide);
1841             if (stopflag == 1) return;
1842             duration = get_float(g_duration);
1843             id = anim(duration, "slide_to_end_anim", 1);
1844             set_int(g_anim_id, id);
1845          }
1846          public slide_to_begin_anim(val, Float:pos) {
1847             new stopflag;
1848             new id;
1849             stopflag = get_int(g_stopslide);
1850             if (stopflag == 1) return;
1851             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1852             if (pos >= 1.0) {
1853                id = timer(0.5, "slide_to_end", 1);
1854                set_int(g_timer_id, id);
1855             }
1856          }
1857          public slide_to_begin() {
1858             new stopflag;
1859             new id;
1860             new Float:duration;
1861             stopflag = get_int(g_stopslide);
1862             if (stopflag == 1) return;
1863             duration = get_float(g_duration);
1864             id = anim(duration, "slide_to_begin_anim", 1);
1865             set_int(g_anim_id, id);
1866          }
1867          public start_slide() {
1868             set_int(g_stopslide, 0);
1869             set_state(PART:"elm.text", "slide_begin", 0.0);
1870             slide_to_end();
1871          }
1872          public stop_slide() {
1873             new id;
1874             set_int(g_stopslide, 1);
1875             id = get_int(g_anim_id);
1876             cancel_anim(id);
1877             id = get_int(g_timer_id);
1878             cancel_timer(id);
1879             set_state(PART:"elm.text", "default", 0.0);
1880          }
1881       }
1882
1883       parts {
1884          part { name: "label.swallow.background";
1885             type: SWALLOW;
1886             description { state: "default" 0.0;
1887                visible: 1;
1888             }
1889          }
1890          part { name: "label.text.clip";
1891             type: RECT;
1892             description { state: "default" 0.0;
1893                visible: 1;
1894                color: 255 255 255 255;
1895                rel1 { relative: 0 0; to: "label.swallow.background"; }
1896                rel2 { relative: 1 1; to: "label.swallow.background"; }
1897             }
1898          }
1899          part { name: "elm.text";
1900             type: TEXTBLOCK;
1901             mouse_events: 0;
1902             scale: 1;
1903             clip_to: "label.text.clip";
1904             description { state: "default" 0.0;
1905                rel1.relative: 0.0 0.0;
1906                rel2.relative: 1.0 1.0;
1907                align: 0.0 0.0;
1908                text {
1909                   style: "textblock_style";
1910                   min: 1 1;
1911                }
1912             }
1913             description { state: "slide_end" 0.0;
1914                inherit: "default" 0.0;
1915                rel1.relative: 1.0 0.0;
1916                rel2.relative: 1.0 1.0;
1917                align: 1.0 0.0;
1918             }
1919             description { state: "slide_begin" 0.0;
1920                inherit: "default" 0.0;
1921                rel1.relative: 0.0 0.0;
1922                rel2.relative: 0.0 1.0;
1923                align: 0.0 0.0;
1924             }
1925          }
1926       }
1927       programs {
1928          program { name: "start_slide";
1929             source: "elm";
1930             signal: "elm,state,slide,start";
1931             script
1932               {
1933                  start_slide();
1934               }
1935          }
1936          program { name: "stop_slide";
1937             source: "elm";
1938             signal: "elm,state,slide,stop";
1939             script
1940               {
1941                  stop_slide();
1942               }
1943          }
1944       }
1945    }
1946
1947
1948 ///////////////////////////////////////////////////////////////////////////////
1949
1950    group { name: "elm/button/base/default";
1951       images {
1952          image: "bt_base1.png" COMP;
1953          image: "bt_base2.png" COMP;
1954          image: "bt_hilight.png" COMP;
1955          image: "bt_shine.png" COMP;
1956          image: "bt_glow.png" COMP;
1957          image: "bt_dis_base.png" COMP;
1958          image: "bt_dis_hilight.png" COMP;
1959       }
1960       parts {
1961          part { name: "button_image";
1962             mouse_events: 1;
1963             description { state: "default" 0.0;
1964                min: 15 15;
1965                image {
1966                   normal: "bt_base2.png";
1967                   border: 7 7 7 7;
1968                }
1969                image.middle: SOLID;
1970             }
1971             description { state: "clicked" 0.0;
1972                inherit: "default" 0.0;
1973                image.normal: "bt_base1.png";
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //               aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //               aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //               aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {          name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100           part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {          name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439           part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {          name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909           part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base_on.png" COMP;
3064          image: "tog_base_off.png" COMP;
3065          image: "tog_dis_base_on.png" COMP;
3066          image: "tog_dis_base_off.png" COMP;
3067       }
3068       script {
3069          public is_rtl;
3070       }
3071       parts {
3072          part { name: "bg";
3073             type: RECT;
3074             mouse_events: 0;
3075             scale: 1;
3076             description { state: "default" 0.0;
3077                rel1.relative: 1.0 0.0;
3078                rel1.offset: -4 3;
3079                rel2.offset: -4 -4;
3080                align: 1.0 0.5;
3081                min: 96 16;
3082                max: 96 16;
3083                aspect: 4.0 4.0;
3084                aspect_preference: VERTICAL;
3085                color: 255 255 255 255;
3086             }
3087          }
3088          part { name: "clipper";
3089             type: RECT;
3090             mouse_events: 0;
3091             description { state: "default" 0.0;
3092                rel1.to: "bg";
3093                rel2.to: "bg";
3094                color: 255 255 255 255;
3095             }
3096          }
3097          part { name: "button";
3098             type: RECT;
3099             scale: 1;
3100             clip_to: "clipper";
3101             mouse_events: 1;
3102              dragable {
3103                x: 1 1 0;
3104                y: 0 0 0;
3105                confine: "bg";
3106             }
3107             description { state: "default" 0.0;
3108                fixed: 1 1;
3109                rel1.to: "bg";
3110                rel2.to: "bg";
3111                min: 16 16;
3112                max: 16 16;
3113                aspect: 1.0 1.0;
3114                aspect_preference: VERTICAL;
3115                color: 0 0 0 0;
3116             }
3117          }
3118          part { name: "button_events";
3119             type: RECT;
3120              dragable {
3121                events: "button";
3122             }
3123             description { state: "default" 0.0;
3124                rel1.to_x: "bg";
3125                rel1.offset: 0 0;
3126                rel1.relative: 0.0 0.0;
3127                rel2.to_x: "bg";
3128                rel2.offset: -1 -1;
3129                rel2.relative: 1.0 1.0;
3130                color: 0 0 0 0;
3131             }
3132          }
3133          part { name: "onrect";
3134             type: IMAGE;
3135             scale: 1;
3136             clip_to: "clipper";
3137             mouse_events: 0;
3138             description { state: "default" 0.0;
3139                rel1.to: "button";
3140                rel1.relative: -5.0 0.0;
3141                rel2.to: "button";
3142                rel2.relative: 0.5 1.0;
3143                image.normal: "tog_base_on.png";
3144             }
3145             description { state: "disabled" 0.0;
3146                inherit: "default" 0.0;
3147                image.normal: "tog_dis_base_on.png";
3148             }
3149          }
3150          part { name: "offrect";
3151             type: IMAGE;
3152             scale: 1;
3153             clip_to: "clipper";
3154             mouse_events: 0;
3155             description { state: "default" 0.0;
3156                rel1.to: "button";
3157                rel1.relative: 0.5 0.0;
3158                rel2.to: "button";
3159                rel2.relative: 6.0 1.0;
3160                image.normal: "tog_base_off.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base_off.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "button";
3175                rel1.relative: 1.0 0.0;
3176                rel2.to_x: "offrect";
3177                color: 0 0 0 255;
3178                text {
3179                   font:     "Sans,Edje-Vera";
3180                   size:     10;
3181                   min:      0 1;
3182                   align:    0.5 0.5;
3183                   text:     "OFF";
3184                }
3185             }
3186             description { state: "disabled" 0.0;
3187                inherit: "default" 0.0;
3188                color: 128 128 128 128;
3189             }
3190          }
3191          part { name: "elm.ontext";
3192             type: TEXT;
3193             effect: SOFT_SHADOW;
3194             mouse_events:  0;
3195             scale: 1;
3196             clip_to: "clipper";
3197             description { state: "default" 0.0;
3198                fixed: 1 1;
3199                rel1.to_x: "onrect";
3200                rel1.offset: 1 1;
3201                rel2.to_x: "button";
3202                rel2.offset: 0 0;
3203                rel2.relative: 0.0 1.0;
3204                color: 224 224 224 255;
3205                color3: 0 0 0 64;
3206                text {
3207                   font:     "Sans,Edje-Vera";
3208                   size:     10;
3209                   min:      0 1;
3210                   align:    0.5 0.5;
3211                   text:     "ON";
3212                }
3213             }
3214             description { state: "disabled" 0.0;
3215                inherit: "default" 0.0;
3216                color: 128 128 128 128;
3217                color3: 0 0 0 24;
3218             }
3219          }
3220          part { name: "conf_over";
3221             mouse_events:  0;
3222             description { state: "default" 0.0;
3223                rel1.offset: -1 -1;
3224                rel1.to: "bg";
3225                rel2.offset: 0 0;
3226                rel2.to: "bg";
3227                image {
3228                   normal: "shelf_inset.png";
3229                   border: 7 7 7 7;
3230                   middle: 0;
3231                }
3232                fill.smooth : 0;
3233             }
3234          }
3235          part { name: "button0";
3236             mouse_events:  0;
3237             clip_to: "clipper";
3238             description { state: "default" 0.0;
3239                rel1.to: "button2";
3240                rel1.offset: -4 -4;
3241                rel2.to: "button2";
3242                rel2.offset: 3 3;
3243                image {
3244                   normal: "bt_bases.png";
3245                   border: 11 11 11 11;
3246                }
3247                image.middle: SOLID;
3248                color: 255 255 255 128;
3249             }
3250          }
3251          part { name: "button2";
3252             mouse_events:  0;
3253             clip_to: "clipper";
3254             description { state: "default" 0.0;
3255                rel1.to: "button";
3256                rel1.offset: -2 -2;
3257                rel2.to: "button";
3258                rel2.offset: 1 1;
3259                image {
3260                   normal: "bt_basew.png";
3261                   border: 7 7 7 7;
3262                }
3263                image.middle: SOLID;
3264             }
3265          }
3266          part { name: "button3";
3267             mouse_events:  0;
3268             clip_to: "clipper";
3269             description { state: "default" 0.0;
3270                rel1.to: "button2";
3271                rel2.to: "button2";
3272                rel2.relative: 1.0 0.5;
3273                image {
3274                   normal: "bt_hilightw.png";
3275                   border: 4 4 4 0;
3276                }
3277             }
3278          }
3279          part { name: "elm.swallow.content";
3280             type: SWALLOW;
3281             description { state: "default" 0.0;
3282                fixed: 1 0;
3283                visible: 0;
3284                align: 0.0 0.5;
3285                rel1.offset: 4 4;
3286                rel2.relative: 0.0 1.0;
3287                rel2.offset: 3 -5;
3288             }
3289             description { state: "visible" 0.0;
3290                inherit: "default" 0.0;
3291                visible: 1;
3292                aspect: 1.0 1.0;
3293                rel2.offset: 4 -5;
3294             }
3295             description { state: "disabled" 0.0;
3296                inherit: "default" 0.0;
3297                color: 128 128 128 128;
3298             }
3299             description { state: "disabled_visible" 0.0;
3300                inherit: "default" 0.0;
3301                color: 128 128 128 128;
3302                visible: 1;
3303                aspect: 1.0 1.0;
3304             }
3305          }
3306          part { name: "elm.text";
3307             type: TEXT;
3308             mouse_events: 0;
3309             scale: 1;
3310             description { state: "default" 0.0;
3311                visible: 0;
3312                rel1.to_x: "elm.swallow.content";
3313                rel1.relative: 1.0 0.0;
3314                rel1.offset: 0 4;
3315                rel2.to_x: "bg";
3316                rel2.relative: 0.0 1.0;
3317                rel2.offset: -5 -5;
3318                color: 0 0 0 255;
3319                text {
3320                   font: "Sans,Edje-Vera";
3321                   size: 10;
3322                   min: 0 0;
3323                   align: 0.0 0.5;
3324                }
3325             }
3326             description { state: "visible" 0.0;
3327                inherit: "default" 0.0;
3328                visible: 1;
3329                text.min: 1 1;
3330             }
3331             description { state: "disabled" 0.0;
3332                inherit: "default" 0.0;
3333                color: 128 128 128 128;
3334             }
3335             description { state: "disabled_visible" 0.0;
3336                inherit: "default" 0.0;
3337                color: 128 128 128 128;
3338                visible: 1;
3339                text.min: 1 1;
3340             }
3341          }
3342           part { name: "disabler";
3343             type: RECT;
3344             description { state: "default" 0.0;
3345                color: 0 0 0 0;
3346                visible: 0;
3347             }
3348             description { state: "disabled" 0.0;
3349                inherit: "default" 0.0;
3350                visible: 1;
3351             }
3352          }
3353       }
3354       programs {
3355          program { name:   "drag_end";
3356             signal: "mouse,up,1";
3357             source: "button";
3358             script {
3359                new Float:dx, Float:dy;
3360                get_drag(PART:"button", dx, dy);
3361                if (dx > 0.5)
3362                  {
3363                     set_drag(PART:"button", 1.0, 0.0);
3364                  }
3365                else
3366                  {
3367                     set_drag(PART:"button", 0.0, 0.0);
3368                  }
3369                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3370                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3371                   emit("elm,action,toggle,on", "");
3372                }
3373                else {
3374                   emit("elm,action,toggle,off", "");
3375                }
3376        
3377             }
3378          }
3379          program { name: "toggle_on";
3380             signal: "elm,state,toggle,on";
3381             source: "elm";
3382             script {
3383                new Float:drag;
3384                if (get_int(is_rtl) == 0) {
3385                   drag = 100.0;
3386                }
3387                else {
3388                   drag = 0.0;
3389                }
3390                set_drag(PART:"button", drag, 0.0);
3391             }
3392          }
3393          program { name: "toggle_off";
3394             signal: "elm,state,toggle,off";
3395             source: "elm";
3396             script {
3397                new Float:drag;
3398                if (get_int(is_rtl) == 0) {
3399                   drag = 0.0;
3400                }
3401                else {
3402                   drag = 100.0;
3403                }
3404                set_drag(PART:"button", drag, 0.0);
3405             }
3406          }
3407          program { name: "text_show";
3408             signal: "elm,state,text,visible";
3409             source: "elm";
3410             action:  STATE_SET "visible" 0.0;
3411             target: "elm.text";
3412          }
3413          program { name: "text_hide";
3414             signal: "elm,state,text,hidden";
3415             source: "elm";
3416             action:  STATE_SET "default" 0.0;
3417             target: "elm.text";
3418          }
3419          program { name: "icon_show";
3420             signal: "elm,state,icon,visible";
3421             source: "elm";
3422             action:  STATE_SET "visible" 0.0;
3423             target: "elm.swallow.content";
3424          }
3425          program { name: "icon_hide";
3426             signal: "elm,state,icon,hidden";
3427             source: "elm";
3428             action:  STATE_SET "default" 0.0;
3429             target: "elm.swallow.content";
3430          }
3431          program { name: "disable";
3432             signal: "elm,state,disabled";
3433             source: "elm";
3434             action: STATE_SET "disabled" 0.0;
3435             target: "elm.offtext";
3436             target: "elm.ontext";
3437             target: "onrect";
3438             target: "offrect";
3439             target: "disabler";
3440             after: "disable_text";
3441          }
3442          program { name: "disable_text";
3443             script {
3444                new st[31];
3445                new Float:vl;
3446                get_state(PART:"elm.text", st, 30, vl);
3447                if (!strcmp(st, "visible"))
3448                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3449                else
3450                  set_state(PART:"elm.text", "disabled", 0.0);
3451
3452                get_state(PART:"elm.swallow.content", st, 30, vl);
3453                if (!strcmp(st, "visible"))
3454                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3455                else
3456                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3457             }
3458          }
3459          program { name: "enable";
3460             signal: "elm,state,enabled";
3461             source: "elm";
3462             action: STATE_SET "default" 0.0;
3463             target: "disabler";
3464             target: "onrect";
3465             target: "offrect";
3466             after: "enable_text";
3467          }
3468          program { name: "enable_text";
3469             script {
3470                new st[31];
3471                new Float:vl;
3472                get_state(PART:"elm.text", st, 30, vl);
3473                if (!strcmp(st, "disabled_visible"))
3474                  set_state(PART:"elm.text", "visible", 0.0);
3475                else
3476                  set_state(PART:"elm.text", "default", 0.0);
3477
3478                get_state(PART:"elm.swallow.content", st, 30, vl);
3479                if (!strcmp(st, "visible"))
3480                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3481                else
3482                  set_state(PART:"elm.swallow.content", "default", 0.0);
3483             }
3484          }
3485          program { name: "to_rtl";
3486             signal: "edje,state,rtl";
3487             source: "edje";
3488             script {
3489                set_int(is_rtl, 1);
3490             }
3491          }
3492          program { name: "to_ltr";
3493             signal: "edje,state,ltr";
3494             source: "edje";
3495             script {
3496                set_int(is_rtl, 0);
3497             }
3498          }
3499       }
3500    }
3501
3502 ///////////////////////////////////////////////////////////////////////////////
3503    group { name: "elm/clock/flipdigit/default";
3504       images {
3505          image: "flip_base.png" COMP;
3506          image: "flip_base_shad.png" COMP;
3507          image: "flip_shad.png" COMP;
3508          image: "flip_0t.png" COMP;
3509          image: "flip_0b.png" COMP;
3510          image: "flip_1t.png" COMP;
3511          image: "flip_1b.png" COMP;
3512          image: "flip_2t.png" COMP;
3513          image: "flip_2b.png" COMP;
3514          image: "flip_3t.png" COMP;
3515          image: "flip_3b.png" COMP;
3516          image: "flip_4t.png" COMP;
3517          image: "flip_4b.png" COMP;
3518          image: "flip_5t.png" COMP;
3519          image: "flip_5b.png" COMP;
3520          image: "flip_6t.png" COMP;
3521          image: "flip_6b.png" COMP;
3522          image: "flip_7t.png" COMP;
3523          image: "flip_7b.png" COMP;
3524          image: "flip_8t.png" COMP;
3525          image: "flip_8b.png" COMP;
3526          image: "flip_9t.png" COMP;
3527          image: "flip_9b.png" COMP;
3528          image: "arrow_up.png" COMP;
3529          image: "arrow_down.png" COMP;
3530       }
3531       script {
3532          public v0_cur, v0_pre, v0_lock, v0_next;
3533
3534        public animator2(val, Float:pos) {
3535           new st1[11], st2[11], v;
3536
3537           v = get_int(v0_cur);
3538           snprintf(st1, 10, "%ih", v);
3539           snprintf(st2, 10, "%i", v);
3540           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3541           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3542           if (pos >= 1.0) {
3543              set_state(PART:"sh", "default", 0.0);
3544              set_int(v0_lock, 0);
3545              v = get_int(v0_next);
3546              if (v >= 0) {
3547                 set_int(v0_next, -1);
3548                 message(MSG_INT, 1, v);
3549              }
3550           }
3551        }
3552        public animator1(val, Float:pos) {
3553           new st1[11], st2[11], v;
3554
3555           v = get_int(v0_pre);
3556           snprintf(st1, 10, "%i", v);
3557           snprintf(st2, 10, "%ih", v);
3558           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3559           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3560           if (pos >= 1.0) anim(0.2, "animator2", val);
3561        }
3562        public message(Msg_Type:type, id, ...) {
3563           if ((type == MSG_INT) && (id == 1)) {
3564              new value, v, buf[11];
3565
3566              value = getarg(2);
3567              if (get_int(v0_lock) == 1) {
3568                 set_int(v0_next, value);
3569                 return;
3570              }
3571              v = get_int(v0_cur);
3572              set_int(v0_pre, v);
3573              set_int(v0_cur, value);
3574              set_int(v0_lock, 1);
3575              snprintf(buf, 10, "%i", get_int(v0_pre));
3576              set_state(PART:"bot0", buf, 0.0);
3577              snprintf(buf, 10, "%ih", get_int(v0_cur));
3578              set_state(PART:"bot", buf, 0.0);
3579              snprintf(buf, 10, "%i", get_int(v0_cur));
3580              set_state(PART:"top0", buf, 0.0);
3581              snprintf(buf, 10, "%i", get_int(v0_pre));
3582              set_state(PART:"top", buf, 0.0);
3583              set_state(PART:"sh", "default", 0.0);
3584              anim(0.2, "animator1", 1);
3585           }
3586        }
3587       }
3588       parts {
3589          part { name: "shad";
3590             mouse_events: 0;
3591             description { state: "default" 0.0;
3592                rel1.offset: -4 -4;
3593                rel1.to: "base";
3594                rel2.offset: 3 3;
3595                rel2.to: "base";
3596                image {
3597                   normal: "flip_base_shad.png";
3598                   border: 8 8 8 8;
3599                }
3600             }
3601          }
3602          part { name: "base";
3603             scale: 1;
3604             description { state: "default" 0.0;
3605                rel1.offset: 4 4;
3606                rel2.offset: -5 -5;
3607                // FIXME 48x96 should be the native pixel design, right now
3608                // its 80x160. fix int he artwork later
3609                min: 24 48;
3610                aspect: 0.5 0.5;
3611 //               max: 24 48;
3612                image.normal: "flip_base.png";
3613             }
3614          }
3615          part { name: "b";
3616             type: RECT;
3617             mouse_events: 1;
3618             description { state: "default" 0.0;
3619                visible: 0;
3620                rel1.to: "base";
3621                rel1.relative: 0.0 0.5;
3622                rel2.to: "base";
3623                color: 0 0 0 0;
3624             }
3625             description { state: "visible" 0.0;
3626                inherit: "default" 0.0;
3627                visible: 1;
3628             }
3629          }
3630          part { name: "t";
3631             type: RECT;
3632             mouse_events: 1;
3633             description { state: "default" 0.0;
3634                visible: 0;
3635                rel1.to: "base";
3636                rel2.to: "base";
3637                rel2.relative: 1.0 0.5;
3638                color: 0 0 0 0;
3639             }
3640             description { state: "visible" 0.0;
3641                inherit: "default" 0.0;
3642                visible: 1;
3643             }
3644          }
3645          part { name: "bot0";
3646             mouse_events: 0;
3647             description { state: "default" 0.0;
3648                rel1.to: "b";
3649                rel2.to: "b";
3650                image.normal: "flip_0b.png";
3651             }
3652             description { state: "0" 0.0;
3653                inherit: "default" 0.0;
3654                image.normal: "flip_0b.png";
3655             }
3656             description { state: "1" 0.0;
3657                inherit: "default" 0.0;
3658                image.normal: "flip_1b.png";
3659             }
3660             description { state: "2" 0.0;
3661                inherit: "default" 0.0;
3662                image.normal: "flip_2b.png";
3663             }
3664             description { state: "3" 0.0;
3665                inherit: "default" 0.0;
3666                image.normal: "flip_3b.png";
3667             }
3668             description { state: "4" 0.0;
3669                inherit: "default" 0.0;
3670                image.normal: "flip_4b.png";
3671             }
3672             description { state: "5" 0.0;
3673                inherit: "default" 0.0;
3674                image.normal: "flip_5b.png";
3675             }
3676             description { state: "6" 0.0;
3677                inherit: "default" 0.0;
3678                image.normal: "flip_6b.png";
3679             }
3680             description { state: "7" 0.0;
3681                inherit: "default" 0.0;
3682                image.normal: "flip_7b.png";
3683             }
3684             description { state: "8" 0.0;
3685                inherit: "default" 0.0;
3686                image.normal: "flip_8b.png";
3687             }
3688             description { state: "9" 0.0;
3689                inherit: "default" 0.0;
3690                image.normal: "flip_9b.png";
3691             }
3692          }
3693          part { name: "sh";
3694             mouse_events: 0;
3695             description { state: "default" 0.0;
3696                rel1.to: "b";
3697                rel2.to: "b";
3698                rel2.relative: 1.0 0.0;
3699                image.normal: "flip_shad.png";
3700             }
3701             description { state: "half" 0.0;
3702                inherit: "default" 0.0;
3703                rel2.relative: 1.0 0.5;
3704             }
3705             description { state: "full" 0.0;
3706                inherit: "default" 0.0;
3707                rel2.relative: 1.0 1.0;
3708             }
3709          }
3710          part { name: "bot";
3711             mouse_events: 0;
3712             description { state: "default" 0.0;
3713                visible: 1;
3714                rel1.to: "b";
3715                rel2.to: "b";
3716                image.normal: "flip_0b.png";
3717             }
3718             description { state: "0" 0.0;
3719                inherit: "default" 0.0;
3720                visible: 1;
3721                rel2.relative: 1.0 1.0;
3722                image.normal: "flip_0b.png";
3723             }
3724             description { state: "0h" 0.0;
3725                inherit: "default" 0.0;
3726                visible: 0;
3727                rel2.relative: 1.0 0.0;
3728                image.normal: "flip_0b.png";
3729             }
3730             description { state: "1" 0.0;
3731                inherit: "default" 0.0;
3732                visible: 1;
3733                rel2.relative: 1.0 1.0;
3734                image.normal: "flip_1b.png";
3735             }
3736             description { state: "1h" 0.0;
3737                inherit: "default" 0.0;
3738                visible: 0;
3739                rel2.relative: 1.0 0.0;
3740                image.normal: "flip_1b.png";
3741             }
3742             description { state: "2" 0.0;
3743                inherit: "default" 0.0;
3744                visible: 1;
3745                rel2.relative: 1.0 1.0;
3746                image.normal: "flip_2b.png";
3747             }
3748             description { state: "2h" 0.0;
3749                inherit: "default" 0.0;
3750                visible: 0;
3751                rel2.relative: 1.0 0.0;
3752                image.normal: "flip_2b.png";
3753             }
3754             description { state: "3" 0.0;
3755                inherit: "default" 0.0;
3756                visible: 1;
3757                rel2.relative: 1.0 1.0;
3758                image.normal: "flip_3b.png";
3759             }
3760             description { state: "3h" 0.0;
3761                inherit: "default" 0.0;
3762                visible: 0;
3763                rel2.relative: 1.0 0.0;
3764                image.normal: "flip_3b.png";
3765             }
3766             description { state: "4" 0.0;
3767                inherit: "default" 0.0;
3768                visible: 1;
3769                rel2.relative: 1.0 1.0;
3770                image.normal: "flip_4b.png";
3771             }
3772             description { state: "4h" 0.0;
3773                inherit: "default" 0.0;
3774                visible: 0;
3775                rel2.relative: 1.0 0.0;
3776                image.normal: "flip_4b.png";
3777             }
3778             description { state: "5" 0.0;
3779                inherit: "default" 0.0;
3780                visible: 1;
3781                rel2.relative: 1.0 1.0;
3782                image.normal: "flip_5b.png";
3783             }
3784             description { state: "5h" 0.0;
3785                inherit: "default" 0.0;
3786                visible: 0;
3787                rel2.relative: 1.0 0.0;
3788                image.normal: "flip_5b.png";
3789             }
3790             description { state: "6" 0.0;
3791                inherit: "default" 0.0;
3792                visible: 1;
3793                rel2.relative: 1.0 1.0;
3794                image.normal: "flip_6b.png";
3795             }
3796             description { state: "6h" 0.0;
3797                inherit: "default" 0.0;
3798                visible: 0;
3799                rel2.relative: 1.0 0.0;
3800                image.normal: "flip_6b.png";
3801             }
3802             description { state: "7" 0.0;
3803                inherit: "default" 0.0;
3804                visible: 1;
3805                rel2.relative: 1.0 1.0;
3806                image.normal: "flip_7b.png";
3807             }
3808             description { state: "7h" 0.0;
3809                inherit: "default" 0.0;
3810                visible: 0;
3811                rel2.relative: 1.0 0.0;
3812                image.normal: "flip_7b.png";
3813             }
3814             description { state: "8" 0.0;
3815                inherit: "default" 0.0;
3816                visible: 1;
3817                rel2.relative: 1.0 1.0;
3818                image.normal: "flip_8b.png";
3819             }
3820             description { state: "8h" 0.0;
3821                inherit: "default" 0.0;
3822                visible: 0;
3823                rel2.relative: 1.0 0.0;
3824                image.normal: "flip_8b.png";
3825             }
3826             description { state: "9" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 1;
3829                rel2.relative: 1.0 1.0;
3830                image.normal: "flip_9b.png";
3831             }
3832             description { state: "9h" 0.0;
3833                inherit: "default" 0.0;
3834                visible: 0;
3835                rel2.relative: 1.0 0.0;
3836                image.normal: "flip_9b.png";
3837             }
3838          }
3839          part { name: "top0";
3840             mouse_events: 0;
3841             description { state: "default" 0.0;
3842                rel1.to: "t";
3843                rel2.to: "t";
3844                image.normal: "flip_0t.png";
3845             }
3846             description { state: "0" 0.0;
3847                inherit: "default" 0.0;
3848                image.normal: "flip_0t.png";
3849             }
3850             description { state: "1" 0.0;
3851                inherit: "default" 0.0;
3852                image.normal: "flip_1t.png";
3853             }
3854             description { state: "2" 0.0;
3855                inherit: "default" 0.0;
3856                image.normal: "flip_2t.png";
3857             }
3858             description { state: "3" 0.0;
3859                inherit: "default" 0.0;
3860                image.normal: "flip_3t.png";
3861             }
3862             description { state: "4" 0.0;
3863                inherit: "default" 0.0;
3864                image.normal: "flip_4t.png";
3865             }
3866             description { state: "5" 0.0;
3867                inherit: "default" 0.0;
3868                image.normal: "flip_5t.png";
3869             }
3870             description { state: "6" 0.0;
3871                inherit: "default" 0.0;
3872                image.normal: "flip_6t.png";
3873             }
3874             description { state: "7" 0.0;
3875                inherit: "default" 0.0;
3876                image.normal: "flip_7t.png";
3877             }
3878             description { state: "8" 0.0;
3879                inherit: "default" 0.0;
3880                image.normal: "flip_8t.png";
3881             }
3882             description { state: "9" 0.0;
3883                inherit: "default" 0.0;
3884                image.normal: "flip_9t.png";
3885             }
3886          }
3887          part { name: "top";
3888             mouse_events: 0;
3889             description { state: "default" 0.0;
3890                visible: 1;
3891                rel1.to: "t";
3892                rel2.to: "t";
3893                image.normal: "flip_0t.png";
3894             }
3895             description { state: "0" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_0t.png";
3900             }
3901             description { state: "0h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_0t.png";
3907             }
3908             description { state: "1" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_1t.png";
3913             }
3914             description { state: "1h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_1t.png";
3920             }
3921             description { state: "2" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_2t.png";
3926             }
3927             description { state: "2h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_2t.png";
3933             }
3934             description { state: "3" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_3t.png";
3939             }
3940             description { state: "3h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_3t.png";
3946             }
3947             description { state: "4" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_4t.png";
3952             }
3953             description { state: "4h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_4t.png";
3959             }
3960             description { state: "5" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_5t.png";
3965             }
3966             description { state: "5h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_5t.png";
3972             }
3973             description { state: "6" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_6t.png";
3978             }
3979             description { state: "6h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_6t.png";
3985             }
3986             description { state: "7" 0.0;
3987                inherit: "default" 0.0;
3988                visible: 1;
3989                rel1.relative: 0.0 0.0;
3990                image.normal: "flip_7t.png";
3991             }
3992             description { state: "7h" 0.0;
3993                inherit: "default" 0.0;
3994                color: 128 128 128 255;
3995                visible: 0;
3996                rel1.relative: 0.0 1.0;
3997                image.normal: "flip_7t.png";
3998             }
3999             description { state: "8" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002                rel1.relative: 0.0 0.0;
4003                image.normal: "flip_8t.png";
4004             }
4005             description { state: "8h" 0.0;
4006                inherit: "default" 0.0;
4007                color: 128 128 128 255;
4008                visible: 0;
4009                rel1.relative: 0.0 1.0;
4010                image.normal: "flip_8t.png";
4011             }
4012             description { state: "9" 0.0;
4013                inherit: "default" 0.0;
4014                visible: 1;
4015                rel1.relative: 0.0 0.0;
4016                image.normal: "flip_9t.png";
4017             }
4018             description { state: "9h" 0.0;
4019                inherit: "default" 0.0;
4020                color: 128 128 128 255;
4021                visible: 0;
4022                rel1.relative: 0.0 1.0;
4023                image.normal: "flip_9t.png";
4024             }
4025          }
4026          part { name: "atop";
4027             mouse_events: 0;
4028             scale: 1;
4029             description { state: "default" 0.0;
4030                visible: 0;
4031                min: 15 15;
4032                max: 15 15;
4033                align: 0.5 0.0;
4034                rel1.to: "t";
4035                rel2.to: "t";
4036                image.normal: "arrow_up.png";
4037             }
4038             description { state: "visible" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 1;
4041             }
4042          }
4043          part { name: "abot";
4044             mouse_events: 0;
4045             scale: 1;
4046             description { state: "default" 0.0;
4047                visible: 0;
4048                min: 15 15;
4049                max: 15 15;
4050                align: 0.5 1.0;
4051                rel1.to: "b";
4052                rel2.to: "b";
4053                image.normal: "arrow_down.png";
4054             }
4055             description { state: "visible" 0.0;
4056                inherit: "default" 0.0;
4057                visible: 1;
4058             }
4059          }
4060       }
4061       programs {
4062          program { name: "load";
4063             signal: "load";
4064             source: "";
4065             script {
4066                set_int(v0_cur, 0);
4067                set_int(v0_pre, 0);
4068                set_int(v0_lock, 0);
4069                set_int(v0_next, -1);
4070             }
4071          }
4072          program { name: "edit_on";
4073             signal: "elm,state,edit,on";
4074             source: "elm";
4075             action: STATE_SET "visible" 0.0;
4076             target: "atop";
4077             target: "abot";
4078             target: "t";
4079             target: "b";
4080          }
4081          program { name: "edit_off";
4082             signal: "elm,state,edit,off";
4083             source: "elm";
4084             action: STATE_SET "default" 0.0;
4085             target: "atop";
4086             target: "abot";
4087             target: "t";
4088             target: "b";
4089          }
4090          program { name: "up";
4091             signal: "mouse,down,1";
4092             source: "t";
4093             action: SIGNAL_EMIT "elm,action,up,start" "";
4094          }
4095          program { name: "up,stop";
4096             signal: "mouse,up,1";
4097             source: "t";
4098             action: SIGNAL_EMIT "elm,action,up,stop" "";
4099          }
4100          program { name: "down";
4101             signal: "mouse,down,1";
4102             source: "b";
4103             action: SIGNAL_EMIT "elm,action,down,start" "";
4104          }
4105          program { name: "down,stop";
4106             signal: "mouse,up,1";
4107             source: "b";
4108             action: SIGNAL_EMIT "elm,action,down,stop" "";
4109          }
4110       }
4111    }
4112
4113 ///////////////////////////////////////////////////////////////////////////////
4114    group { name: "elm/clock/flipampm/default";
4115       images {
4116          image: "flip_base.png" COMP;
4117          image: "flip_base_shad.png" COMP;
4118          image: "flip_shad.png" COMP;
4119          image: "flip_amt.png" COMP;
4120          image: "flip_amb.png" COMP;
4121          image: "flip_pmt.png" COMP;
4122          image: "flip_pmb.png" COMP;
4123          image: "arrow_up.png" COMP;
4124          image: "arrow_down.png" COMP;
4125       }
4126       script {
4127          public v0_cur, v0_pre, v0_lock, v0_next;
4128
4129        public animator2(val, Float:pos) {
4130           new st1[11], st2[11], v;
4131
4132           v = get_int(v0_cur);
4133           snprintf(st1, 10, "%ih", v);
4134           snprintf(st2, 10, "%i", v);
4135           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4136           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4137           if (pos >= 1.0) {
4138              set_state(PART:"sh", "default", 0.0);
4139              set_int(v0_lock, 0);
4140              v = get_int(v0_next);
4141              if (v >= 0) {
4142                 set_int(v0_next, -1);
4143                 message(MSG_INT, 1, v);
4144              }
4145           }
4146        }
4147        public animator1(val, Float:pos) {
4148           new st1[11], st2[11], v;
4149
4150           v = get_int(v0_pre);
4151           snprintf(st1, 10, "%i", v);
4152           snprintf(st2, 10, "%ih", v);
4153           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4154           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4155           if (pos >= 1.0) anim(0.2, "animator2", val);
4156        }
4157        public message(Msg_Type:type, id, ...) {
4158           if ((type == MSG_INT) && (id == 1)) {
4159              new value, v, buf[11];
4160
4161              value = getarg(2);
4162              if (get_int(v0_lock) == 1) {
4163                 set_int(v0_next, value);
4164                 return;
4165              }
4166              v = get_int(v0_cur);
4167              set_int(v0_pre, v);
4168              set_int(v0_cur, value);
4169              set_int(v0_lock, 1);
4170              snprintf(buf, 10, "%i", get_int(v0_pre));
4171              set_state(PART:"bot0", buf, 0.0);
4172              snprintf(buf, 10, "%ih", get_int(v0_cur));
4173              set_state(PART:"bot", buf, 0.0);
4174              snprintf(buf, 10, "%i", get_int(v0_cur));
4175              set_state(PART:"top0", buf, 0.0);
4176              snprintf(buf, 10, "%i", get_int(v0_pre));
4177              set_state(PART:"top", buf, 0.0);
4178              set_state(PART:"sh", "default", 0.0);
4179              anim(0.2, "animator1", 1);
4180           }
4181        }
4182       }
4183       parts {
4184          part { name: "shad";
4185             mouse_events: 0;
4186             description { state: "default" 0.0;
4187                rel1.offset: -4 -4;
4188                rel1.to: "base";
4189                rel2.offset: 3 3;
4190                rel2.to: "base";
4191                image {
4192                   normal: "flip_base_shad.png";
4193                   border: 8 8 8 8;
4194                }
4195             }
4196          }
4197          part { name: "base";
4198             mouse_events: 0;
4199             scale: 1;
4200             description { state: "default" 0.0;
4201                rel1.offset: 4 4;
4202                rel2.offset: -5 -5;
4203                // FIXME 48x96 should be the native pixel design, right now
4204                // its 80x160. fix int he artwork later
4205                aspect: 0.5 0.5;
4206                min: 24 48;
4207 //               max: 24 48;
4208                image.normal: "flip_base.png";
4209             }
4210          }
4211          part { name: "b";
4212             type: RECT;
4213             mouse_events: 1;
4214             description { state: "default" 0.0;
4215                rel1.to: "base";
4216                rel1.relative: 0.0 0.5;
4217                rel2.to: "base";
4218                color: 0 0 0 0;
4219             }
4220          }
4221          part { name: "t";
4222             type: RECT;
4223             mouse_events: 1;
4224             description { state: "default" 0.0;
4225                rel1.to: "base";
4226                rel2.to: "base";
4227                rel2.relative: 1.0 0.5;
4228                color: 0 0 0 0;
4229             }
4230          }
4231          part { name: "bot0";
4232             mouse_events: 0;
4233             description { state: "default" 0.0;
4234                rel1.to: "b";
4235                rel2.to: "b";
4236                image.normal: "flip_amb.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                image.normal: "flip_amb.png";
4241             }
4242             description { state: "1" 0.0;
4243                inherit: "default" 0.0;
4244                image.normal: "flip_pmb.png";
4245             }
4246          }
4247          part { name: "sh";
4248             mouse_events: 0;
4249             description { state: "default" 0.0;
4250                rel1.to: "b";
4251                rel2.to: "b";
4252                rel2.relative: 1.0 0.0;
4253                image.normal: "flip_shad.png";
4254             }
4255             description { state: "half" 0.0;
4256                inherit: "default" 0.0;
4257                rel2.relative: 1.0 0.5;
4258             }
4259             description { state: "full" 0.0;
4260                inherit: "default" 0.0;
4261                rel2.relative: 1.0 1.0;
4262             }
4263          }
4264          part { name: "bot";
4265             mouse_events: 0;
4266             description { state: "default" 0.0;
4267                visible: 1;
4268                rel1.to: "b";
4269                rel2.to: "b";
4270                image.normal: "flip_amb.png";
4271             }
4272             description { state: "0" 0.0;
4273                inherit: "default" 0.0;
4274                visible: 1;
4275                rel2.relative: 1.0 1.0;
4276                image.normal: "flip_amb.png";
4277             }
4278             description { state: "0h" 0.0;
4279                inherit: "default" 0.0;
4280                visible: 0;
4281                rel2.relative: 1.0 0.0;
4282                image.normal: "flip_amb.png";
4283             }
4284             description { state: "1" 0.0;
4285                inherit: "default" 0.0;
4286                visible: 1;
4287                rel2.relative: 1.0 1.0;
4288                image.normal: "flip_pmb.png";
4289             }
4290             description { state: "1h" 0.0;
4291                inherit: "default" 0.0;
4292                visible: 0;
4293                rel2.relative: 1.0 0.0;
4294                image.normal: "flip_pmb.png";
4295             }
4296          }
4297          part { name: "top0";
4298             mouse_events: 0;
4299             description { state: "default" 0.0;
4300                rel1.to: "t";
4301                rel2.to: "t";
4302                image.normal: "flip_amt.png";
4303             }
4304             description { state: "0" 0.0;
4305                inherit: "default" 0.0;
4306                image.normal: "flip_amt.png";
4307             }
4308             description { state: "1" 0.0;
4309                inherit: "default" 0.0;
4310                image.normal: "flip_pmt.png";
4311             }
4312          }
4313          part { name: "top";
4314             mouse_events: 0;
4315             description { state: "default" 0.0;
4316                visible: 1;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "flip_amt.png";
4320             }
4321             description { state: "0" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324                rel1.relative: 0.0 0.0;
4325                image.normal: "flip_amt.png";
4326             }
4327             description { state: "0h" 0.0;
4328                inherit: "default" 0.0;
4329                color: 128 128 128 255;
4330                visible: 0;
4331                rel1.relative: 0.0 1.0;
4332                image.normal: "flip_amt.png";
4333             }
4334             description { state: "1" 0.0;
4335                inherit: "default" 0.0;
4336                visible: 1;
4337                rel1.relative: 0.0 0.0;
4338                image.normal: "flip_pmt.png";
4339             }
4340             description { state: "1h" 0.0;
4341                inherit: "default" 0.0;
4342                color: 128 128 128 255;
4343                visible: 0;
4344                rel1.relative: 0.0 1.0;
4345                image.normal: "flip_pmt.png";
4346             }
4347          }
4348          part { name: "atop";
4349             mouse_events: 0;
4350             scale: 1;
4351             description { state: "default" 0.0;
4352                visible: 0;
4353                min: 15 15;
4354                max: 15 15;
4355                align: 0.5 0.0;
4356                rel1.to: "t";
4357                rel2.to: "t";
4358                image.normal: "arrow_up.png";
4359             }
4360             description { state: "visible" 0.0;
4361                inherit: "default" 0.0;
4362                visible: 1;
4363             }
4364          }
4365          part { name: "abot";
4366             mouse_events: 0;
4367             scale: 1;
4368             description { state: "default" 0.0;
4369                visible: 0;
4370                min: 15 15;
4371                max: 15 15;
4372                align: 0.5 1.0;
4373                rel1.to: "b";
4374                rel2.to: "b";
4375                image.normal: "arrow_down.png";
4376             }
4377             description { state: "visible" 0.0;
4378                inherit: "default" 0.0;
4379                visible: 1;
4380             }
4381          }
4382       }
4383       programs {
4384          program { name: "load";
4385             signal: "load";
4386             source: "";
4387             script {
4388                set_int(v0_cur, 0);
4389                set_int(v0_pre, 0);
4390                set_int(v0_lock, 0);
4391                set_int(v0_next, -1);
4392             }
4393          }
4394          program { name: "edit_on";
4395             signal: "elm,state,edit,on";
4396             source: "elm";
4397             action: STATE_SET "visible" 0.0;
4398             target: "atop";
4399             target: "abot";
4400          }
4401 /*
4402          program { name: "edit_off";
4403             signal: "elm,state,edit,off";
4404             source: "elm";
4405             action: STATE_SET "default" 0.0;
4406             target: "atop";
4407             target: "abot";
4408          }
4409  */
4410          program { name: "up";
4411             signal: "mouse,down,1";
4412             source: "t";
4413             action: SIGNAL_EMIT "elm,action,up,start" "";
4414          }
4415          program { name: "up,stop";
4416             signal: "mouse,up,1";
4417             source: "t";
4418             action: SIGNAL_EMIT "elm,action,up,stop" "";
4419          }
4420          program { name: "down";
4421             signal: "mouse,down,1";
4422             source: "b";
4423             action: SIGNAL_EMIT "elm,action,down,start" "";
4424          }
4425          program { name: "down,stop";
4426             signal: "mouse,up,1";
4427             source: "b";
4428             action: SIGNAL_EMIT "elm,action,down,stop" "";
4429          }
4430       }
4431    }
4432
4433    ///////////////////////////////////////////////////////////////////////////////
4434    group { name: "elm/menu/item/default";
4435        images {
4436            image: "bt_base1.png" COMP;
4437            image: "bt_base2.png" COMP;
4438            image: "bt_hilight.png" COMP;
4439            image: "bt_shine.png" COMP;
4440            image: "bt_glow.png" COMP;
4441            image: "bt_dis_base.png" COMP;
4442            image: "bt_dis_hilight.png" COMP;
4443        }
4444        script {
4445             public menu_text_visible; //0:hide (default), 1:visible
4446             public menu_disable; //0:enable, 1:disable
4447        }
4448        parts {
4449            part { name: "item_image";
4450                mouse_events: 1;
4451                description { state: "default" 0.0;
4452                    color: 255 255 255 0;
4453                    image {
4454                        normal: "bt_base2.png";
4455                        border: 7 7 7 7;
4456                    }
4457                    image.middle: SOLID;
4458                }
4459                description { state: "visible" 0.0;
4460                    inherit: "default" 0.0;
4461                    color: 255 255 255 255;
4462                }
4463                description { state: "clicked" 0.0;
4464                    inherit: "default" 0.0;
4465                    inherit: "visible" 0.0;
4466                    image.normal: "bt_base1.png";
4467                    image.middle: SOLID;
4468                }
4469                description { state: "disabled" 0.0;
4470                    inherit:  "default" 0.0;
4471                }
4472            }
4473            part { name: "item_image_disabled";
4474                mouse_events: 1;
4475                description { state: "default" 0.0;
4476                    color: 255 255 255 0;
4477                    image {
4478                        normal: "bt_dis_base.png";
4479                        border: 4 4 4 4;
4480                    }
4481                    image.middle: SOLID;
4482                }
4483                description { state: "disabled" 0.0;
4484                    inherit:  "default" 0.0;
4485                    color: 255 255 255 255;
4486                }
4487            }
4488            part { name: "elm.swallow.content";
4489                type: SWALLOW;
4490                description { state: "default" 0.0;
4491                    fixed: 1 0;
4492                    visible: 1;
4493                    align: 0.0 0.5;
4494                    rel1.offset: 4 4;
4495                    rel2.offset: 3 -5;
4496                    rel2.relative: 0.0 1.0;
4497                    aspect: 1.0 1.0;
4498                    aspect_preference: VERTICAL;
4499                    rel2.offset: 4 -5;
4500                }
4501            }
4502            part {
4503                name:          "elm.text";
4504                type:          TEXT;
4505                mouse_events:  0;
4506                scale: 1;
4507                description { state: "default" 0.0;
4508                    visible: 0;
4509                    rel1.to_x: "elm.swallow.content";
4510                    rel1.relative: 1.0 0.0;
4511                    rel1.offset: 5 7;
4512                    rel2.offset: -10 -8;
4513                    color: 0 0 0 255;
4514                    text {
4515                        font:     "Sans,Edje-Vera";
4516                        size:     10;
4517                        min:      1 1;
4518                        align:    0.0 0.5;
4519                        text_class: "menu_item";
4520                    }
4521                }
4522                description { state: "visible" 0.0;
4523                    inherit: "default" 0.0;
4524                    visible: 1;
4525                    text.min: 1 1;
4526                }
4527                description { state: "selected" 0.0;
4528                    inherit: "default" 0.0;
4529                    inherit: "visible" 0.0;
4530                    color: 254 254 254 255;
4531                }
4532                description { state: "disabled" 0.0;
4533                    inherit: "default" 0.0;
4534                    color: 0 0 0 128;
4535                }
4536                description { state: "disabled_visible" 0.0;
4537                    inherit: "default" 0.0;
4538                    inherit: "visible" 0.0;
4539                    color: 0 0 0 128;
4540                }
4541            }
4542            part {          name: "over1";
4543                mouse_events: 0;
4544                description { state: "default" 0.0;
4545                    color: 255 255 255 0;
4546                    rel2.relative: 1.0 0.5;
4547                    image {
4548                        normal: "bt_hilight.png";
4549                        border: 7 7 7 0;
4550                    }
4551                }
4552                description { state: "visible" 0.0;
4553                    inherit:  "default" 0.0;
4554                    color: 255 255 255 255;
4555                }
4556                description { state: "disabled" 0.0;
4557                    inherit:  "default" 0.0;
4558                }
4559            }
4560            part {          name: "over_disabled";
4561                mouse_events: 0;
4562                description { state: "default" 0.0;
4563                    color: 255 255 255 0;
4564                    rel2.relative: 1.0 0.5;
4565                    image {
4566                        normal: "bt_dis_hilight.png";
4567                        border: 4 4 4 0;
4568                    }
4569                }
4570                description { state: "disabled" 0.0;
4571                    inherit:  "default" 0.0;
4572                    color: 255 255 255 255;
4573                }
4574            }
4575            part { name: "over2";
4576                mouse_events: 1;
4577                repeat_events: 1;
4578                ignore_flags: ON_HOLD;
4579                description { state: "default" 0.0;
4580                    image {
4581                        normal: "bt_shine.png";
4582                        border: 7 7 7 7;
4583                    }
4584                }
4585                description { state: "disabled" 0.0;
4586                    inherit:  "default" 0.0;
4587                    visible: 0;
4588                }
4589            }
4590            part { name: "over3";
4591                mouse_events: 1;
4592                repeat_events: 1;
4593                description { state: "default" 0.0;
4594                    color: 255 255 255 0;
4595                    image {
4596                        normal: "bt_glow.png";
4597                        border: 12 12 12 12;
4598                    }
4599                    fill.smooth : 0;
4600                }
4601                description { state: "clicked" 0.0;
4602                    inherit:  "default" 0.0;
4603                    visible: 1;
4604                    color: 255 255 255 255;
4605                }
4606            }
4607            part { name: "disabler";
4608                type: RECT;
4609                description { state: "default" 0.0;
4610                    color: 0 0 0 0;
4611                    visible: 0;
4612                }
4613                description { state: "disabled" 0.0;
4614                    inherit: "default" 0.0;
4615                    visible: 1;
4616                }
4617            }
4618        }
4619        programs {
4620           //
4621            program {
4622                name:   "item_mouse_in";
4623                signal: "mouse,in";
4624                source: "over2";
4625                action: SIGNAL_EMIT "elm,action,activate" "";
4626                after: "item_mouse_in_2";
4627                after: "item_mouse_in_3";
4628            }
4629            program {
4630                name:   "item_mouse_in_2";
4631                transition: DECELERATE 0.5;
4632                script {
4633                    new v, d;
4634                    v = get_int(menu_text_visible);
4635                    d = get_int(menu_disable);
4636
4637                    if (v==1 && d==0)
4638                         run_program(PROGRAM:"selected_text");
4639                }
4640            }
4641            program {
4642                name:   "item_mouse_in_3";
4643                action : STATE_SET "visible" 0.0;
4644                target: "item_image";
4645                target: "over1";
4646                transition: DECELERATE 0.5;
4647            }
4648            program {
4649                name:   "selected_text";
4650                action: STATE_SET "selected" 0.0;
4651                target: "elm.text";
4652                transition: DECELERATE 0.5;
4653            }
4654            //
4655
4656            //
4657            program {
4658                name:   "item_mouse_out";
4659                signal: "mouse,out";
4660                source: "over2";
4661                action: SIGNAL_EMIT "elm,action,inactivate" "";
4662                after: "item_mouse_out_2";
4663                after: "item_mouse_out_3";
4664            }
4665            program {
4666                name:   "item_mouse_out_2";
4667                transition: DECELERATE 0.5;
4668                script {
4669                    new v, d;
4670                    v = get_int(menu_text_visible);
4671                    d = get_int(menu_disable);
4672
4673                    if (v==1 && d==0)
4674                         run_program(PROGRAM:"visible_text");
4675                }
4676            }
4677            program {
4678                name:   "item_mouse_out_3";
4679                action: STATE_SET "default" 0.0;
4680                target: "item_image";
4681                target: "over1";
4682                transition: DECELERATE 0.5;
4683            }
4684            program {
4685                name:   "visible_text";
4686                action: STATE_SET "visible" 0.0;
4687                target: "elm.text";
4688                transition: DECELERATE 0.5;
4689            }
4690            //
4691
4692            program {
4693                name:   "item_unclick";
4694                signal: "mouse,up,1";
4695                source: "over2";
4696                action: STATE_SET "visible" 0.0;
4697                target: "item_image";
4698            }
4699            program {
4700                name:   "item_click2";
4701                signal: "mouse,down,1";
4702                source: "over3";
4703                action: STATE_SET "clicked" 0.0;
4704                target: "over3";
4705            }
4706            program {
4707                name:   "item_unclick2";
4708                signal: "mouse,up,1";
4709                source: "over3";
4710                action: STATE_SET "default" 0.0;
4711                transition: DECELERATE 0.5;
4712                target: "over3";
4713            }
4714            program {
4715                name:   "item_unclick3";
4716                signal: "mouse,up,1";
4717                source: "over2";
4718                action: SIGNAL_EMIT "elm,action,click" "";
4719            }
4720            program { name: "text_show";
4721                signal: "elm,state,text,visible";
4722                source: "elm";
4723                script {
4724                    set_int(menu_text_visible, 1);
4725                    set_state(PART:"elm.text", "visible", 0.0);
4726                }
4727            }
4728            program { name: "text_hide";
4729                signal: "elm,state,text,hidden";
4730                source: "elm";
4731                script {
4732                    set_int(menu_text_visible, 0);
4733                    set_state(PART:"elm.text", "default", 0.0);
4734                }
4735            }
4736            program { name: "disable";
4737                signal: "elm,state,disabled";
4738                source: "elm";
4739                action: STATE_SET "disabled" 0.0;
4740                target: "item_image";
4741                target: "item_image_disabled";
4742                target: "over1";
4743                target: "over2";
4744                target: "over_disabled";
4745                target: "disabler";
4746                after: "disable_text";
4747            }
4748            program { name: "disable_text";
4749                script {
4750                    new v;
4751                    v = get_int(menu_text_visible);
4752                    if (v==1)
4753                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4754                    else if (v==0)
4755                     set_state(PART:"elm.text", "disabled", 0.0);
4756                    set_int(menu_disable, 1);
4757                }
4758            }
4759            program { name: "item_select";
4760                signal: "elm,state,selected";
4761                source: "elm";
4762                after: "item_mouse_in_2";
4763                after: "item_mouse_in_3";
4764            }
4765            program { name: "item_unselect";
4766                signal: "elm,state,unselected";
4767                source: "elm";
4768                after: "item_mouse_out_2";
4769                after: "item_mouse_out_3";
4770            }
4771            program { name: "enable";
4772                signal: "elm,state,enabled";
4773                source: "elm";
4774                action: STATE_SET "default" 0.0;
4775                target: "item_image";
4776                target: "item_image_disabled";
4777                target: "over1";
4778                target: "over2";
4779                target: "over_disabled";
4780                target: "disabler";
4781                after: "enable_text";
4782            }
4783            program { name: "enable_text";
4784                script {
4785                    new v;
4786                    v = get_int(menu_text_visible);
4787                    if (v==1)
4788                     set_state(PART:"elm.text", "visible", 0.0);
4789                    else  if (v==0)
4790                     set_state(PART:"elm.text", "default", 0.0);
4791                    set_int(menu_disable, 0);
4792                }
4793            }
4794        }
4795    }
4796
4797    group { name: "elm/menu/item_with_submenu/default";
4798        images {
4799            image: "bt_base1.png" COMP;
4800            image: "bt_base2.png" COMP;
4801            image: "bt_hilight.png" COMP;
4802            image: "bt_shine.png" COMP;
4803            image: "bt_glow.png" COMP;
4804            image: "bt_dis_base.png" COMP;
4805            image: "bt_dis_hilight.png" COMP;
4806            image: "arrow_right.png" COMP;
4807            image: "arrow_left.png" COMP;
4808        }
4809        script {
4810             public menu_text_visible; //0:hide (default), 1:visible
4811             public menu_disable; //0:enable, 1:disable
4812        }
4813        parts {
4814            part { name: "item_image";
4815                mouse_events: 1;
4816                description { state: "default" 0.0;
4817                    color: 255 255 255 0;
4818                    image {
4819                        normal: "bt_base2.png";
4820                        border: 7 7 7 7;
4821                    }
4822                    image.middle: SOLID;
4823                }
4824                description { state: "visible" 0.0;
4825                    inherit: "default" 0.0;
4826                    color: 255 255 255 255;
4827                }
4828                description { state: "clicked" 0.0;
4829                    inherit: "default" 0.0;
4830                    inherit: "visible" 0.0;
4831                    image.normal: "bt_base1.png";
4832                    image.middle: SOLID;
4833                }
4834                description { state: "disabled" 0.0;
4835                    inherit:  "default" 0.0;
4836                }
4837            }
4838            part { name: "item_image_disabled";
4839                mouse_events: 1;
4840                description { state: "default" 0.0;
4841                    color: 255 255 255 0;
4842                    image {
4843                        normal: "bt_dis_base.png";
4844                        border: 4 4 4 4;
4845                    }
4846                    image.middle: SOLID;
4847                }
4848                description { state: "disabled" 0.0;
4849                    inherit:  "default" 0.0;
4850                    color: 255 255 255 255;
4851                }
4852            }
4853            part { name: "arrow";
4854                mouse_events: 1;
4855                description { state: "default" 0.0;
4856                    color: 255 255 255 255;
4857                    align: 1.0 0.5;
4858                    aspect: 1 1;
4859                    aspect_preference: BOTH;
4860                    image {
4861                        normal: "arrow_right.png";
4862                    }
4863                }
4864                description { state: "rtl" 0.0;
4865                   inherit: "default" 0.0;
4866                   image.normal: "arrow_left.png";
4867                }
4868            }
4869            part { name: "elm.swallow.content";
4870                type: SWALLOW;
4871                description { state: "default" 0.0;
4872                    fixed: 1 0;
4873                    visible: 1;
4874                    align: 0.0 0.5;
4875                    rel1.offset: 4 4;
4876                    rel2.offset: 3 -5;
4877                    rel2.relative: 0.0 1.0;
4878                    aspect: 1.0 1.0;
4879                    aspect_preference: VERTICAL;
4880                    rel2.offset: 4 -5;
4881                }
4882            }
4883            part {
4884                name:          "elm.text";
4885                type:          TEXT;
4886                mouse_events:  0;
4887                scale: 1;
4888                description { state: "default" 0.0;
4889                    visible: 0;
4890                    rel1.to_x: "elm.swallow.content";
4891                    rel1.relative: 1.0 0.0;
4892                    rel1.offset: 5 7;
4893                    rel2.offset: -10 -8;
4894                    color: 0 0 0 255;
4895                    text {
4896                        font:     "Sans,Edje-Vera";
4897                        size:     10;
4898                        min:      1 1;
4899                        align:    0.0 0.5;
4900                        text_class: "menu_item";
4901                    }
4902                }
4903                description { state: "visible" 0.0;
4904                    inherit: "default" 0.0;
4905                    visible: 1;
4906                    text.min: 1 1;
4907                }
4908                description { state: "selected" 0.0;
4909                    inherit: "default" 0.0;
4910                    inherit: "visible" 0.0;
4911                    color: 254 254 254 255;
4912                }
4913                description { state: "disabled" 0.0;
4914                    inherit: "default" 0.0;
4915                    color: 0 0 0 128;
4916                }
4917                description { state: "disabled_visible" 0.0;
4918                    inherit: "default" 0.0;
4919                    inherit: "visible" 0.0;
4920                    color: 0 0 0 128;
4921                }
4922            }
4923            part {          name: "over1";
4924                mouse_events: 0;
4925                description { state: "default" 0.0;
4926                    color: 255 255 255 0;
4927                    rel2.relative: 1.0 0.5;
4928                    image {
4929                        normal: "bt_hilight.png";
4930                        border: 7 7 7 0;
4931                    }
4932                }
4933                description { state: "visible" 0.0;
4934                    inherit:  "default" 0.0;
4935                    color: 255 255 255 255;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit:  "default" 0.0;
4939                }
4940            }
4941            part { name: "over_disabled";
4942                mouse_events: 0;
4943                description { state: "default" 0.0;
4944                    color: 255 255 255 0;
4945                    rel2.relative: 1.0 0.5;
4946                    image {
4947                        normal: "bt_dis_hilight.png";
4948                        border: 4 4 4 0;
4949                    }
4950                }
4951                description { state: "disabled" 0.0;
4952                    inherit:  "default" 0.0;
4953                    color: 255 255 255 255;
4954                }
4955            }
4956            part { name: "over2";
4957                mouse_events: 1;
4958                repeat_events: 1;
4959                ignore_flags: ON_HOLD;
4960                description { state: "default" 0.0;
4961                    image {
4962                        normal: "bt_shine.png";
4963                        border: 7 7 7 7;
4964                    }
4965                }
4966                description { state: "disabled" 0.0;
4967                    inherit:  "default" 0.0;
4968                    visible: 0;
4969                }
4970            }
4971            part { name: "over3";
4972                mouse_events: 1;
4973                repeat_events: 1;
4974                description { state: "default" 0.0;
4975                    color: 255 255 255 0;
4976                    image {
4977                        normal: "bt_glow.png";
4978                        border: 12 12 12 12;
4979                    }
4980                    fill.smooth : 0;
4981                }
4982                description { state: "clicked" 0.0;
4983                    inherit:  "default" 0.0;
4984                    visible: 1;
4985                    color: 255 255 255 255;
4986                }
4987            }
4988            part { name: "disabler";
4989                type: RECT;
4990                description { state: "default" 0.0;
4991                    color: 0 0 0 0;
4992                    visible: 0;
4993                }
4994                description { state: "disabled" 0.0;
4995                    inherit: "default" 0.0;
4996                    visible: 1;
4997                }
4998            }
4999        }
5000        programs {
5001            //
5002            program {
5003                name:   "item_mouse_in";
5004                signal: "mouse,in";
5005                source: "over2";
5006                action: SIGNAL_EMIT "elm,action,activate" "";
5007                after: "item_mouse_in_2";
5008                after: "item_mouse_in_3";
5009            }
5010            program {
5011                name:   "item_mouse_in_2";
5012                transition: DECELERATE 0.5;
5013                script {
5014                    new v, d;
5015                    v = get_int(menu_text_visible);
5016                    d = get_int(menu_disable);
5017
5018                    if (v==1 && d==0)
5019                         run_program(PROGRAM:"selected_text");
5020                }
5021            }
5022            program {
5023                name:   "item_mouse_in_3";
5024                action : STATE_SET "visible" 0.0;
5025                target: "item_image";
5026                target: "over1";
5027                transition: DECELERATE 0.5;
5028            }
5029            program {
5030                name:   "selected_text";
5031                action: STATE_SET "selected" 0.0;
5032                target: "elm.text";
5033                transition: DECELERATE 0.5;
5034            }
5035            //
5036
5037            //
5038            program {
5039                name:   "item_mouse_out";
5040                signal: "mouse,out";
5041                source: "over2";
5042                after: "item_mouse_out_2";
5043                after: "item_mouse_out_3";
5044            }
5045            program {
5046                name:   "item_mouse_out_2";
5047                transition: DECELERATE 0.5;
5048                script {
5049                    new v, d;
5050                    v = get_int(menu_text_visible);
5051                    d = get_int(menu_disable);
5052
5053                    if (v==1 && d==0)
5054                         run_program(PROGRAM:"visible_text");
5055                }
5056            }
5057            program {
5058                name:   "item_mouse_out_3";
5059                action: STATE_SET "default" 0.0;
5060                target: "item_image";
5061                target: "over1";
5062                transition: DECELERATE 0.5;
5063            }
5064            program {
5065                name:   "visible_text";
5066                action: STATE_SET "visible" 0.0;
5067                target: "elm.text";
5068                transition: DECELERATE 0.5;
5069            }
5070            //
5071
5072            program {
5073                name:   "item_unclick";
5074                signal: "mouse,up,1";
5075                source: "over2";
5076                action: STATE_SET "visible" 0.0;
5077                target: "item_image";
5078            }
5079            program {
5080                name:   "item_click2";
5081                signal: "mouse,down,1";
5082                source: "over3";
5083                action: STATE_SET "clicked" 0.0;
5084                target: "over3";
5085            }
5086            program {
5087                name:   "item_unclick2";
5088                signal: "mouse,up,1";
5089                source: "over3";
5090                action: STATE_SET "default" 0.0;
5091                transition: DECELERATE 0.5;
5092                target: "over3";
5093            }
5094            program {
5095                name:   "item_unclick3";
5096                signal: "mouse,up,1";
5097                source: "over2";
5098                action: SIGNAL_EMIT "elm,action,click" "";
5099            }
5100            program {
5101                name:   "menu_open";
5102                signal: "mouse,in";
5103                source: "over2";
5104                action: SIGNAL_EMIT "elm,action,open" "";
5105            }
5106             program { name: "text_show";
5107                signal: "elm,state,text,visible";
5108                source: "elm";
5109                script {
5110                    set_int(menu_text_visible, 1);
5111                    set_state(PART:"elm.text", "visible", 0.0);
5112                }
5113            }
5114            program { name: "text_hide";
5115                signal: "elm,state,text,hidden";
5116                source: "elm";
5117                script {
5118                    set_int(menu_text_visible, 0);
5119                    set_state(PART:"elm.text", "default", 0.0);
5120                }
5121            }
5122            program { name: "disable";
5123                signal: "elm,state,disabled";
5124                source: "elm";
5125                action: STATE_SET "disabled" 0.0;
5126                target: "item_image";
5127                target: "item_image_disabled";
5128                target: "over1";
5129                target: "over2";
5130                target: "over_disabled";
5131                target: "disabler";
5132                after: "disable_text";
5133            }
5134            program { name: "disable_text";
5135                script {
5136                    new st[31];
5137                    new Float:vl;
5138                    get_state(PART:"elm.text", st, 30, vl);
5139                    if (!strcmp(st, "visible"))
5140                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5141                    else if (!strcmp(st, "default"))
5142                    set_state(PART:"elm.text", "disabled", 0.0);
5143                }
5144            }
5145            program { name: "enable";
5146                signal: "elm,state,enabled";
5147                source: "elm";
5148                action: STATE_SET "default" 0.0;
5149                target: "item_image";
5150                target: "item_image_disabled";
5151                target: "over1";
5152                target: "over2";
5153                target: "over_disabled";
5154                target: "disabler";
5155                after: "enable_text";
5156            }
5157            program { name: "enable_text";
5158                script {
5159                    new v;
5160                    v = get_int(menu_text_visible);
5161                    if (v==1)
5162                     set_state(PART:"elm.text", "visible", 0.0);
5163                    else  if (v==0)
5164                     set_state(PART:"elm.text", "default", 0.0);
5165                    set_int(menu_disable, 0);
5166                }
5167            }
5168            program { name: "to_rtl";
5169                signal: "edje,state,rtl";
5170                source: "edje";
5171                action: STATE_SET "rtl" 0.0;
5172                target: "arrow";
5173            }
5174            program { name: "to_ltr";
5175                signal: "edje,state,ltr";
5176                source: "edje";
5177                action: STATE_SET "default" 0.0;
5178                target: "arrow";
5179            }
5180        }
5181    }
5182
5183    group { name: "elm/menu/separator/default";
5184        images {
5185            image: "separator_h.png" COMP;
5186        }
5187        parts {
5188            part { name: "separator"; // separator group
5189                description { state: "default" 0.0;
5190                    min: 2 2;
5191                    rel1.offset: 4 4;
5192                    rel2.offset: -5 -5;
5193                    image {
5194                        normal: "separator_h.png";
5195                    }
5196                    fill {
5197                        smooth: 0;
5198                    }
5199                }
5200            }
5201        }
5202    }
5203 ///////////////////////////////////////////////////////////////////////////////
5204    group { name: "elm/clock/base-all/default";
5205       parts {
5206          part { name: "d0";
5207             type: SWALLOW;
5208             description { state: "default" 0.0;
5209                rel1.relative: 0.0000000 0.0;
5210                rel2.relative: 0.1250000 1.0;
5211             }
5212          }
5213          part { name: "d1";
5214             type: SWALLOW;
5215             description { state: "default" 0.0;
5216                rel1.relative: 0.1250000 0.0;
5217                rel2.relative: 0.2500000 1.0;
5218             }
5219          }
5220          part { name: "c0";
5221             type: SWALLOW;
5222             type: TEXT;
5223             mouse_events:  0;
5224             scale: 1;
5225             description { state: "default" 0.0;
5226                rel1.relative: 0.2500000 0.0;
5227                rel2.relative: 0.3125000 1.0;
5228                color: 0 0 0 255;
5229                text {
5230                   font:     "Sans,Edje-Vera";
5231                   text:     ":";
5232                   size:     10;
5233                   min:      1 1;
5234                   align:    0.5 0.5;
5235                }
5236             }
5237          }
5238          part { name: "d2";
5239             type: SWALLOW;
5240             description { state: "default" 0.0;
5241                rel1.relative: 0.3125000 0.0;
5242                rel2.relative: 0.4375000 1.0;
5243             }
5244          }
5245          part { name: "d3";
5246             type: SWALLOW;
5247             description { state: "default" 0.0;
5248                rel1.relative: 0.4375000 0.0;
5249                rel2.relative: 0.5625000 1.0;
5250             }
5251          }
5252          // (if seconds)
5253          part { name: "c1";
5254             type: SWALLOW;
5255             type: TEXT;
5256             mouse_events:  0;
5257             scale: 1;
5258             description { state: "default" 0.0;
5259                rel1.relative: 0.5625000 0.0;
5260                rel2.relative: 0.6250000 1.0;
5261                color: 0 0 0 255;
5262                text {
5263                   font:     "Sans,Edje-Vera";
5264                   text:     ":";
5265                   size:     10;
5266                   min:      1 1;
5267                   align:    0.5 0.5;
5268                }
5269             }
5270          }
5271          // (if seconds)
5272          part { name: "d4";
5273             type: SWALLOW;
5274             description { state: "default" 0.0;
5275                rel1.relative: 0.6250000 0.0;
5276                rel2.relative: 0.7500000 1.0;
5277             }
5278          }
5279          // (if seconds)
5280          part { name: "d5";
5281             type: SWALLOW;
5282             description { state: "default" 0.0;
5283                rel1.relative: 0.7500000 0.0;
5284                rel2.relative: 0.8750000 1.0;
5285             }
5286          }
5287          // (if am_pm)
5288          part { name: "ampm";
5289             type: SWALLOW;
5290             description { state: "default" 0.0;
5291                rel1.relative: 0.8750000 0.0;
5292                rel2.relative: 1.0 1.0;
5293             }
5294          }
5295       }
5296    }
5297
5298 ///////////////////////////////////////////////////////////////////////////////
5299    group { name: "elm/clock/base-seconds/default";
5300       parts {
5301          part { name: "d0";
5302             type: SWALLOW;
5303             description { state: "default" 0.0;
5304                rel1.relative: 0.000000000 0.0;
5305                rel2.relative: 0.142857143 1.0;
5306             }
5307          }
5308          part { name: "d1";
5309             type: SWALLOW;
5310             description { state: "default" 0.0;
5311                rel1.relative: 0.142857143 0.0;
5312                rel2.relative: 0.285714286 1.0;
5313             }
5314          }
5315          part { name: "c0";
5316             type: SWALLOW;
5317             type: TEXT;
5318             mouse_events:  0;
5319             scale: 1;
5320             description { state: "default" 0.0;
5321                rel1.relative: 0.285714286 0.0;
5322                rel2.relative: 0.357142857 1.0;
5323                color: 0 0 0 255;
5324                text {
5325                   font:     "Sans,Edje-Vera";
5326                   text:     ":";
5327                   size:     10;
5328                   min:      1 1;
5329                   align:    0.5 0.5;
5330                }
5331             }
5332          }
5333          part { name: "d2";
5334             type: SWALLOW;
5335             description { state: "default" 0.0;
5336                rel1.relative: 0.357142857 0.0;
5337                rel2.relative: 0.500000000 1.0;
5338             }
5339          }
5340          part { name: "d3";
5341             type: SWALLOW;
5342             description { state: "default" 0.0;
5343                rel1.relative: 0.500000000 0.0;
5344                rel2.relative: 0.642857143 1.0;
5345             }
5346          }
5347          // (if seconds)
5348          part { name: "c1";
5349             type: SWALLOW;
5350             type: TEXT;
5351             mouse_events:  0;
5352             scale: 1;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.642857143 0.0;
5355                rel2.relative: 0.714285714 1.0;
5356                color: 0 0 0 255;
5357                text {
5358                   font:     "Sans,Edje-Vera";
5359                   text:     ":";
5360                   size:     10;
5361                   min:      1 1;
5362                   align:    0.5 0.5;
5363                }
5364             }
5365          }
5366          // (if seconds)
5367          part { name: "d4";
5368             type: SWALLOW;
5369             description { state: "default" 0.0;
5370                rel1.relative: 0.714285714 0.0;
5371                rel2.relative: 0.857142857 1.0;
5372             }
5373          }
5374          // (if seconds)
5375          part { name: "d5";
5376             type: SWALLOW;
5377             description { state: "default" 0.0;
5378                rel1.relative: 0.857142857 0.0;
5379                rel2.relative: 1.000000000 1.0;
5380             }
5381          }
5382       }
5383    }
5384
5385 ///////////////////////////////////////////////////////////////////////////////
5386    group { name: "elm/clock/base-am_pm/default";
5387       parts {
5388          part { name: "d0";
5389             type: SWALLOW;
5390             description { state: "default" 0.0;
5391                rel1.relative: 0.000000000 0.0;
5392                rel2.relative: 0.181818182 1.0;
5393             }
5394          }
5395          part { name: "d1";
5396             type: SWALLOW;
5397             description { state: "default" 0.0;
5398                rel1.relative: 0.181818182 0.0;
5399                rel2.relative: 0.363636364 1.0;
5400             }
5401          }
5402          part { name: "c0";
5403             type: SWALLOW;
5404             type: TEXT;
5405             mouse_events:  0;
5406             scale: 1;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.363636364 0.0;
5409                rel2.relative: 0.454545455 1.0;
5410                color: 0 0 0 255;
5411                text {
5412                   font:     "Sans,Edje-Vera";
5413                   text:     ":";
5414                   size:     10;
5415                   min:      1 1;
5416                   align:    0.5 0.5;
5417                }
5418             }
5419          }
5420          part { name: "d2";
5421             type: SWALLOW;
5422             description { state: "default" 0.0;
5423                rel1.relative: 0.454545455 0.0;
5424                rel2.relative: 0.636363636 1.0;
5425             }
5426          }
5427          part { name: "d3";
5428             type: SWALLOW;
5429             description { state: "default" 0.0;
5430                rel1.relative: 0.636363636 0.0;
5431                rel2.relative: 0.818181818 1.0;
5432             }
5433          }
5434          // (if am_pm)
5435          part { name: "ampm";
5436             type: SWALLOW;
5437             description { state: "default" 0.0;
5438                rel1.relative: 0.818181818 0.0;
5439                rel2.relative: 1.0 1.0;
5440             }
5441          }
5442       }
5443    }
5444
5445 ///////////////////////////////////////////////////////////////////////////////
5446    group { name: "elm/clock/base/default";
5447       parts {
5448          part { name: "d0";
5449             type: SWALLOW;
5450             description { state: "default" 0.0;
5451                rel1.relative: 0.000000000 0.0;
5452                rel2.relative: 0.222222222 1.0;
5453             }
5454          }
5455          part { name: "d1";
5456             type: SWALLOW;
5457             description { state: "default" 0.0;
5458                rel1.relative: 0.222222222 0.0;
5459                rel2.relative: 0.444444444 1.0;
5460             }
5461          }
5462          part { name: "c0";
5463             type: SWALLOW;
5464             type: TEXT;
5465             mouse_events:  0;
5466             scale: 1;
5467             description { state: "default" 0.0;
5468                rel1.relative: 0.444444444 0.0;
5469                rel2.relative: 0.555555556 1.0;
5470                color: 0 0 0 255;
5471                text {
5472                   font:     "Sans,Edje-Vera";
5473                   text:     ":";
5474                   size:     10;
5475                   min:      1 1;
5476                   align:    0.5 0.5;
5477                }
5478             }
5479          }
5480          part { name: "d2";
5481             type: SWALLOW;
5482             description { state: "default" 0.0;
5483                rel1.relative: 0.555555556 0.0;
5484                rel2.relative: 0.777777778 1.0;
5485             }
5486          }
5487          part { name: "d3";
5488             type: SWALLOW;
5489             description { state: "default" 0.0;
5490                rel1.relative: 0.777777778 0.0;
5491                rel2.relative: 1.000000000 1.0;
5492             }
5493          }
5494       }
5495    }
5496
5497 ///////////////////////////////////////////////////////////////////////////////
5498    group { name: "elm/frame/base/default";
5499        images {
5500            image: "frame_1.png" COMP;
5501            image: "frame_2.png" COMP;
5502            image: "dia_grad.png" COMP;
5503        }
5504        parts {
5505            part { name: "base0";
5506                mouse_events:  0;
5507                description { state: "default" 0.0;
5508                    image.normal: "dia_grad.png";
5509                    rel1.to: "over";
5510                    rel2.to: "over";
5511                    fill {
5512                        smooth: 0;
5513                        size {
5514                            relative: 0.0 1.0;
5515                            offset: 64 0;
5516                        }
5517                    }
5518                }
5519            }
5520            part { name: "base";
5521                mouse_events:  0;
5522                description { state:    "default" 0.0;
5523                    rel2.to: "elm.swallow.content";
5524                    rel2.offset: 9 9;
5525                    image {
5526                        normal: "frame_2.png";
5527                        border: 5 5 32 26;
5528                        middle: 0;
5529                    }
5530                    fill.smooth : 0;
5531                }
5532            }
5533            part { name: "elm.text";
5534                type: TEXT;
5535                mouse_events:   0;
5536                scale: 1;
5537                description { state: "default" 0.0;
5538                    align: 0.0 0.0;
5539                    fixed: 0 1;
5540                    rel1 {
5541                        relative: 0.0 0.0;
5542                        offset: 6 6;
5543                    }
5544                    rel2 {
5545                        relative: 1.0 0.0;
5546                        offset: -7 6;
5547                    }
5548                    color: 0 0 0 64;
5549                    text {
5550                        font: "Sans:style=Bold,Edje-Vera-Bold";
5551                        size: 10;
5552                        min: 1 1;
5553                        max: 1 1;
5554                        align: 0.0 0.0;
5555                    }
5556                }
5557            }
5558            part { name: "over";
5559                mouse_events:  0;
5560                description { state:    "default" 0.0;
5561                    rel1.offset: 4 4;
5562                    rel2.to: "elm.swallow.content";
5563                    rel2.offset: 5 5;
5564                    image {
5565                        normal: "frame_1.png";
5566                        border: 2 2 28 22;
5567                        middle: 0;
5568                    }
5569                    fill.smooth : 0;
5570                }
5571            }
5572            part { name: "elm.swallow.content";
5573                type: SWALLOW;
5574                description { state: "default" 0.0;
5575                    align: 0.0 0.0;
5576                    rel1 {
5577                        to_y: "elm.text";
5578                        relative: 0.0 1.0;
5579                        offset: 8 2;
5580                    }
5581                    rel2.offset: -9 -9;
5582                }
5583            }
5584        }
5585    }
5586
5587    group { name: "elm/frame/base/pad_small";
5588        parts {
5589            part { name: "b0";
5590                mouse_events:  0;
5591                type: RECT;
5592                scale: 1;
5593                description { state: "default" 0.0;
5594                    visible: 0;
5595                    min: 4 4;
5596                    max: 4 4;
5597                    align: 0.0 0.0;
5598                }
5599            }
5600            part { name: "b1";
5601                mouse_events:  0;
5602                type: RECT;
5603                scale: 1;
5604                description { state: "default" 0.0;
5605                    visible: 0;
5606                    min: 4 4;
5607                    max: 4 4;
5608                    align: 1.0 1.0;
5609                }
5610            }
5611            part { name: "elm.swallow.content";
5612                type: SWALLOW;
5613                description { state: "default" 0.0;
5614                    rel1 {
5615                        to: "b0";
5616                        relative: 1.0 1.0;
5617                        offset: 0 0;
5618                    }
5619                    rel2 {
5620                        to: "b1";
5621                        relative: 0.0 0.0;
5622                        offset: -1 -1;
5623                    }
5624                }
5625            }
5626        }
5627    }
5628
5629    group { name: "elm/frame/base/pad_medium";
5630        parts {
5631            part { name: "b0";
5632                mouse_events:  0;
5633                type: RECT;
5634                scale: 1;
5635                description { state: "default" 0.0;
5636                    visible: 0;
5637                    min: 8 8;
5638                    max: 8 8;
5639                    align: 0.0 0.0;
5640                }
5641            }
5642            part { name: "b1";
5643                mouse_events:  0;
5644                type: RECT;
5645                scale: 1;
5646                description { state: "default" 0.0;
5647                    visible: 0;
5648                    min: 8 8;
5649                    max: 8 8;
5650                    align: 1.0 1.0;
5651                }
5652            }
5653            part { name: "elm.swallow.content";
5654                type: SWALLOW;
5655                description { state: "default" 0.0;
5656                    rel1 {
5657                        to: "b0";
5658                        relative: 1.0 1.0;
5659                        offset: 0 0;
5660                    }
5661                    rel2 {
5662                        to: "b1";
5663                        relative: 0.0 0.0;
5664                        offset: -1 -1;
5665                    }
5666                }
5667            }
5668        }
5669    }
5670
5671    group { name: "elm/frame/base/pad_large";
5672        parts {
5673            part { name: "b0";
5674                mouse_events:  0;
5675                type: RECT;
5676                scale: 1;
5677                description { state: "default" 0.0;
5678                    visible: 0;
5679                    min: 16 16;
5680                    max: 16 16;
5681                    align: 0.0 0.0;
5682                }
5683            }
5684            part { name: "b1";
5685                mouse_events:  0;
5686                type: RECT;
5687                scale: 1;
5688                description { state: "default" 0.0;
5689                    visible: 0;
5690                    min: 16 16;
5691                    max: 16 16;
5692                    align: 1.0 1.0;
5693                }
5694            }
5695            part { name: "elm.swallow.content";
5696                type: SWALLOW;
5697                description { state: "default" 0.0;
5698                    rel1 {
5699                        to: "b0";
5700                        relative: 1.0 1.0;
5701                        offset: 0 0;
5702                    }
5703                    rel2 {
5704                        to: "b1";
5705                        relative: 0.0 0.0;
5706                        offset: -1 -1;
5707                    }
5708                }
5709            }
5710        }
5711    }
5712
5713    group { name: "elm/frame/base/pad_huge";
5714        parts {
5715            part { name: "b0";
5716                mouse_events:  0;
5717                type: RECT;
5718                scale: 1;
5719                description { state: "default" 0.0;
5720                    visible: 0;
5721                    min: 32 32;
5722                    max: 32 32;
5723                    align: 0.0 0.0;
5724                }
5725            }
5726            part { name: "b1";
5727                mouse_events:  0;
5728                type: RECT;
5729                scale: 1;
5730                description { state: "default" 0.0;
5731                    visible: 0;
5732                    min: 32 32;
5733                    max: 32 32;
5734                    align: 1.0 1.0;
5735                }
5736            }
5737            part { name: "elm.swallow.content";
5738                type: SWALLOW;
5739                description { state: "default" 0.0;
5740                    rel1 {
5741                        to: "b0";
5742                        relative: 1.0 1.0;
5743                        offset: 0 0;
5744                    }
5745                    rel2 {
5746                        to: "b1";
5747                        relative: 0.0 0.0;
5748                        offset: -1 -1;
5749                    }
5750                }
5751            }
5752        }
5753    }
5754
5755    group { name: "elm/frame/base/outdent_top";
5756        images {
5757            image: "outdent-top.png" COMP;
5758        }
5759        parts {
5760            part { name: "base0";
5761                mouse_events:  0;
5762                description { state: "default" 0.0;
5763                    image.normal: "outdent-top.png";
5764                    image.border: 0 0 0 13;
5765                    fill.smooth: 0;
5766                }
5767            }
5768            part { name: "elm.swallow.content";
5769                type: SWALLOW;
5770                description { state: "default" 0.0;
5771                    rel1.offset: 2 2;
5772                    rel2.offset: -3 -13;
5773                }
5774            }
5775        }
5776    }
5777
5778    group { name: "elm/frame/base/outdent_bottom";
5779        images {
5780            image: "outdent-bottom.png" COMP;
5781        }
5782        parts {
5783            part { name: "base0";
5784                mouse_events:  0;
5785                description { state: "default" 0.0;
5786                    image.normal: "outdent-bottom.png";
5787                    image.border: 0 0 13 0;
5788                    fill.smooth: 0;
5789                }
5790            }
5791            part { name: "elm.swallow.content";
5792                type: SWALLOW;
5793                description { state: "default" 0.0;
5794                    rel1.offset: 2 12;
5795                    rel2.offset: -3 -3;
5796                }
5797            }
5798        }
5799    }
5800
5801 ///////////////////////////////////////////////////////////////////////////////
5802    group { name: "elm/label/base/tooltip";
5803       styles {
5804          style { name: "tooltip_style";
5805             base: "font=Sans font_size=8 color=#666 wrap=word";
5806             tag:  "br" "\n";
5807             tag:  "hilight" "+ font=Sans:style=Bold";
5808             tag:  "b" "+ font=Sans:style=Bold";
5809             tag:  "tab" "\t";
5810          }
5811       }
5812       parts {
5813          part { name: "elm.text";
5814             type: TEXTBLOCK;
5815             mouse_events: 0;
5816             scale: 1;
5817             description { state: "default" 0.0;
5818                text {
5819                   style: "tooltip_style";
5820                   min: 1 1;
5821                }
5822             }
5823          }
5824       }
5825    }
5826
5827    group { name: "elm/tooltip/base/default";
5828        min: 30 30;
5829        data {
5830            item: "pad_x" "20";
5831            item: "pad_y" "20";
5832            item: "pad_border_x" "10";
5833            item: "pad_border_y" "10";
5834            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5835        }
5836        images {
5837            image: "tooltip-base.png" COMP;
5838            image: "tooltip-corner-top-left-tip.png" COMP;
5839            image: "tooltip-corner-top-right-tip.png" COMP;
5840            image: "tooltip-corner-bottom-left-tip.png" COMP;
5841            image: "tooltip-corner-bottom-right-tip.png" COMP;
5842            image: "tooltip-edge-left-tip.png" COMP;
5843            image: "tooltip-edge-right-tip.png" COMP;
5844            image: "tooltip-edge-bottom-tip.png" COMP;
5845            image: "tooltip-edge-top-tip.png" COMP;
5846        }
5847        script {
5848           hide_corners() {
5849              set_state(PART:"corner-top-left", "default", 0.0);
5850              set_state(PART:"corner-top-right", "default", 0.0);
5851              set_state(PART:"corner-bottom-left", "default", 0.0);
5852              set_state(PART:"corner-bottom-right", "default", 0.0);
5853           }
5854           hide_edges() {
5855              set_state(PART:"clipper-edge-left", "default", 0.0);
5856              set_state(PART:"clipper-edge-right", "default", 0.0);
5857              set_state(PART:"clipper-edge-top", "default", 0.0);
5858              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5859           }
5860
5861           show_corner_top_left() {
5862              set_state(PART:"corner-top-left", "visible", 0.0);
5863
5864              set_state(PART:"corner-top-right", "default", 0.0);
5865              set_state(PART:"corner-bottom-left", "default", 0.0);
5866              set_state(PART:"corner-bottom-right", "default", 0.0);
5867              hide_edges();
5868           }
5869           show_corner_top_right() {
5870              set_state(PART:"corner-top-right", "visible", 0.0);
5871
5872              set_state(PART:"corner-top-left", "default", 0.0);
5873              set_state(PART:"corner-bottom-left", "default", 0.0);
5874              set_state(PART:"corner-bottom-right", "default", 0.0);
5875              hide_edges();
5876           }
5877
5878           show_corner_bottom_left() {
5879              set_state(PART:"corner-bottom-left", "visible", 0.0);
5880
5881              set_state(PART:"corner-bottom-right", "default", 0.0);
5882              set_state(PART:"corner-top-left", "default", 0.0);
5883              set_state(PART:"corner-top-right", "default", 0.0);
5884              hide_edges();
5885           }
5886           show_corner_bottom_right() {
5887              set_state(PART:"corner-bottom-right", "visible", 0.0);
5888
5889              set_state(PART:"corner-bottom-left", "default", 0.0);
5890              set_state(PART:"corner-top-left", "default", 0.0);
5891              set_state(PART:"corner-top-right", "default", 0.0);
5892              hide_edges();
5893           }
5894
5895           show_edge_left(Float:val) {
5896              set_state(PART:"clipper-edge-left", "visible", 0.0);
5897              set_drag(PART:"edge-drag-left", 0.0, val);
5898
5899              set_state(PART:"clipper-edge-right", "default", 0.0);
5900              set_state(PART:"clipper-edge-top", "default", 0.0);
5901              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5902              hide_corners();
5903           }
5904           show_edge_right(Float:val) {
5905              set_state(PART:"clipper-edge-right", "visible", 0.0);
5906              set_drag(PART:"edge-drag-right", 0.0, val);
5907
5908              set_state(PART:"clipper-edge-left", "default", 0.0);
5909              set_state(PART:"clipper-edge-top", "default", 0.0);
5910              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5911              hide_corners();
5912           }
5913
5914           show_edge_top(Float:val) {
5915              set_state(PART:"clipper-edge-top", "visible", 0.0);
5916              set_drag(PART:"edge-drag-top", val, 0.0);
5917
5918              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5919              set_state(PART:"clipper-edge-left", "default", 0.0);
5920              set_state(PART:"clipper-edge-right", "default", 0.0);
5921              hide_corners();
5922           }
5923           show_edge_bottom(Float:val) {
5924              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5925              set_drag(PART:"edge-drag-bottom", val, 0.0);
5926
5927              set_state(PART:"clipper-edge-top", "default", 0.0);
5928              set_state(PART:"clipper-edge-left", "default", 0.0);
5929              set_state(PART:"clipper-edge-right", "default", 0.0);
5930              hide_corners();
5931           }
5932
5933           public message(Msg_Type:type, id, ...) {
5934              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5935                 new Float:x, Float:y;
5936
5937                 x = getfarg(2);
5938                 y = getfarg(3);
5939
5940                 if (x < 0.0)
5941                   {
5942                      if (y < 0.0)      show_corner_top_left();
5943                      else if (y > 1.0) show_corner_bottom_left();
5944                      else              show_edge_left(y);
5945                   }
5946                 else if (x > 1.0)
5947                   {
5948                      if (y < 0.0)      show_corner_top_right();
5949                      else if (y > 1.0) show_corner_bottom_right();
5950                      else              show_edge_right(y);
5951                   }
5952                 else
5953                   {
5954                      if (y < 0.0)      show_edge_top(x);
5955                      else if (y > 1.0) show_edge_bottom(x);
5956                      else
5957                        {
5958                           hide_corners();
5959                           hide_edges();
5960                        }
5961                   }
5962              }
5963           }
5964        }
5965        parts {
5966            part { name: "clipper";
5967                type: RECT;
5968                description { state: "default" 0.0;
5969                    color: 255 255 255 0;
5970                    rel1.to: "elm.swallow.content";
5971                    rel1.offset: -64 -64;
5972                    rel2.to: "elm.swallow.content";
5973                    rel2.offset: 63 63;
5974                }
5975                description { state: "visible" 0.0;
5976                    inherit: "default" 0.0;
5977                    color: 255 255 255 255;
5978                }
5979            }
5980            part { name: "pop";
5981                mouse_events: 0;
5982                clip_to: "clipper";
5983                description { state: "default" 0.0;
5984                    min: 30 30;
5985                    rel1 {
5986                        to: "elm.swallow.content";
5987                        offset: -15 -15;
5988                    }
5989                    rel2 {
5990                        to: "elm.swallow.content";
5991                        offset: 14 14;
5992                    }
5993                    image {
5994                        normal: "tooltip-base.png";
5995                        border: 14 14 14 14;
5996                    }
5997                    image.middle: SOLID;
5998                }
5999            }
6000
6001 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6002            part { name: "corner-"name_;                                 \
6003               type: IMAGE;                                              \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper";                                       \
6006               description { state: "default" 0.0;                       \
6007                  color: 255 255 255 0;                                  \
6008                  visible: 0;                                            \
6009                  min: 14 14;                                            \
6010                  max: 14 14;                                            \
6011                  align: ax ay;                                          \
6012                  fixed: 1 1;                                            \
6013                  rel1 {                                                 \
6014                     relative: rx ry;                                    \
6015                     offset: ox oy;                                      \
6016                     to: "elm.swallow.content";                          \
6017                  }                                                      \
6018                  rel2 {                                                 \
6019                     relative: rx ry;                                    \
6020                     offset: ox oy;                                      \
6021                     to: "elm.swallow.content";                          \
6022                  }                                                      \
6023                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6024               }                                                         \
6025               description { state: "visible" 0.0;                       \
6026                  inherit: "default" 0.0;                                \
6027                  color: 255 255 255 255;                                \
6028                  visible: 1;                                            \
6029               }                                                         \
6030            }
6031            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6032            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6033            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6034            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6035 #undef TT_CORNER
6036
6037 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6038            part { name: "clipper-edge-"name_;                           \
6039               type: RECT;                                               \
6040               clip_to: "clipper";                                       \
6041               description { state: "default" 0.0;                       \
6042                  color: 255 255 255 0;                                  \
6043                  visible: 0;                                            \
6044                  min: 14 14;                                            \
6045                  align: ax 0.5;                                         \
6046                  fixed: 1 1;                                            \
6047                  rel1 {                                                 \
6048                     relative: rx 0.0;                                   \
6049                     offset: ox 0;                                       \
6050                     to: "elm.swallow.content";                          \
6051                  }                                                      \
6052                  rel2 {                                                 \
6053                     relative: rx 1.0;                                   \
6054                     offset: ox 0;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057               }                                                         \
6058               description { state: "visible" 0.0;                       \
6059                  inherit: "default" 0.0;                                \
6060                  color: 255 255 255 255;                                \
6061                  visible: 1;                                            \
6062               }                                                         \
6063            }                                                            \
6064            part { name: "edge-area-"name_;                              \
6065               type: RECT;                                               \
6066               mouse_events: 0;                                          \
6067               clip_to: "clipper-edge-"name_;                            \
6068               description { state: "default" 0.0;                       \
6069                  color: 0 0 0 0;                                        \
6070                  min: 14 14;                                            \
6071                  align: ax 0.5;                                         \
6072                  fixed: 1 1;                                            \
6073                  rel1 {                                                 \
6074                     relative: rx 0.0;                                   \
6075                     offset: ox 0;                                       \
6076                     to: "elm.swallow.content";                          \
6077                  }                                                      \
6078                  rel2 {                                                 \
6079                     relative: rx 1.0;                                   \
6080                     offset: ox 0;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083               }                                                         \
6084            }                                                            \
6085            part { name: "edge-drag-"name_;                              \
6086               type: RECT;                                               \
6087               mouse_events: 0;                                          \
6088               clip_to: "clipper-edge-"name_;                            \
6089               dragable {                                                \
6090                   x: 0 0 0;                                             \
6091                   y: 1 1 0;                                             \
6092                   confine: "edge-area-"name_;                           \
6093               }                                                         \
6094               description { state: "default" 0.0;                       \
6095                  color: 0 0 0 0;                                        \
6096                  min: 14 14;                                            \
6097                  rel1.to: "edge-area-"name_;                            \
6098                  rel2.to: "edge-area-"name_;                            \
6099               }                                                         \
6100            }                                                            \
6101            part { name: "edge-img-"name_;                               \
6102               type: IMAGE;                                              \
6103               mouse_events: 0;                                          \
6104               clip_to: "clipper-edge-"name_;                            \
6105               description { state: "default" 0.0;                       \
6106                  min: 14 14;                                            \
6107                  max: 14 14;                                            \
6108                  align: ax 0.5;                                         \
6109                  fixed: 1 1;                                            \
6110                  rel1.to: "edge-drag-"name_;                            \
6111                  rel2.to: "edge-drag-"name_;                            \
6112                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6113               }                                                         \
6114            }
6115            TT_EDGE_VERT("left", 0, 1, -2);
6116            TT_EDGE_VERT("right", 1, 0, 1);
6117 #undef TT_EDGE_VERT
6118
6119 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6120            part { name: "clipper-edge-"name_;                           \
6121               type: RECT;                                               \
6122               clip_to: "clipper";                                       \
6123               description { state: "default" 0.0;                       \
6124                  color: 255 255 255 0;                                  \
6125                  visible: 0;                                            \
6126                  min: 14 14;                                            \
6127                  align: 0.5 ay;                                         \
6128                  fixed: 1 1;                                            \
6129                  rel1 {                                                 \
6130                     relative: 0.0 ry;                                   \
6131                     offset: 0 oy;                                       \
6132                     to: "elm.swallow.content";                          \
6133                  }                                                      \
6134                  rel2 {                                                 \
6135                     relative: 1.0 ry;                                   \
6136                     offset: 0 oy;                                       \
6137                     to: "elm.swallow.content";                          \
6138                  }                                                      \
6139               }                                                         \
6140               description { state: "visible" 0.0;                       \
6141                  inherit: "default" 0.0;                                \
6142                  color: 255 255 255 255;                                \
6143                  visible: 1;                                            \
6144               }                                                         \
6145            }                                                            \
6146            part { name: "edge-area-"name_;                              \
6147               type: RECT;                                               \
6148               mouse_events: 0;                                          \
6149               clip_to: "clipper-edge-"name_;                            \
6150               description { state: "default" 0.0;                       \
6151                  color: 0 0 0 0;                                        \
6152                  min: 14 14;                                            \
6153                  align: 0.5 ay;                                         \
6154                  fixed: 1 1;                                            \
6155                  rel1 {                                                 \
6156                     relative: 0.0 ry;                                   \
6157                     offset: 0 oy;                                       \
6158                     to: "elm.swallow.content";                          \
6159                  }                                                      \
6160                  rel2 {                                                 \
6161                     relative: 1.0 ry;                                   \
6162                     offset: 0 oy;                                       \
6163                     to: "elm.swallow.content";                          \
6164                  }                                                      \
6165               }                                                         \
6166            }                                                            \
6167            part { name: "edge-drag-"name_;                              \
6168               type: RECT;                                               \
6169               mouse_events: 0;                                          \
6170               clip_to: "clipper-edge-"name_;                            \
6171               dragable {                                                \
6172                   x: 1 1 0;                                             \
6173                   y: 0 0 0;                                             \
6174                   confine: "edge-area-"name_;                           \
6175               }                                                         \
6176               description { state: "default" 0.0;                       \
6177                  color: 0 0 0 0;                                        \
6178                  min: 14 14;                                            \
6179                  rel1.to: "edge-area-"name_;                            \
6180                  rel2.to: "edge-area-"name_;                            \
6181               }                                                         \
6182            }                                                            \
6183            part { name: "edge-img-"name_;                               \
6184               type: IMAGE;                                              \
6185               mouse_events: 0;                                          \
6186               clip_to: "clipper-edge-"name_;                            \
6187               description { state: "default" 0.0;                       \
6188                  min: 14 14;                                            \
6189                  max: 14 14;                                            \
6190                  align: 0.5 ay;                                         \
6191                  fixed: 1 1;                                            \
6192                  rel1.to: "edge-drag-"name_;                            \
6193                  rel2.to: "edge-drag-"name_;                            \
6194                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6195               }                                                         \
6196            }
6197            TT_EDGE_HORIZ("top", 0, 1, -2);
6198            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6199 #undef TT_EDGE_HORIZ
6200
6201            part { name: "clipper_content";
6202                type: RECT;
6203                description { state: "default" 0.0;
6204                    color: 255 255 255 0;
6205                    rel1.to: "elm.swallow.content";
6206                    rel1.offset: -64 -64;
6207                    rel2.to: "elm.swallow.content";
6208                    rel2.offset: 63 63;
6209                }
6210                description { state: "visible" 0.0;
6211                    inherit: "default" 0.0;
6212                    color: 255 255 255 255;
6213                }
6214            }
6215            part { name: "elm.swallow.content";
6216                type: SWALLOW;
6217                clip_to: "clipper_content";
6218                description { state: "default" 0.0; }
6219            }
6220            programs {
6221                program {
6222                    name: "show0";
6223                    signal: "elm,action,show";
6224                    source: "elm";
6225                    action: ACTION_STOP;
6226                    target: "hide0";
6227                    target: "hide1";
6228                    target: "hide2";
6229                    target: "hide3";
6230                    after: "show1";
6231                    after: "show2";
6232                }
6233                program {
6234                    name: "show1";
6235                    action: STATE_SET "visible" 0.0;
6236                    transition: LINEAR 0.15;
6237                    target: "clipper";
6238                }
6239                program {
6240                    name: "show2";
6241                    in: 0.1 0.0;
6242                    action: STATE_SET "visible" 0.0;
6243                    transition: LINEAR 0.15;
6244                    target: "clipper_content";
6245                }
6246
6247                program {
6248                    name: "hide0";
6249                    signal: "elm,action,hide";
6250                    source: "elm";
6251                    action: ACTION_STOP;
6252                    target: "show0";
6253                    target: "show1";
6254                    target: "show2";
6255                    after: "hide1";
6256                    after: "hide2";
6257                    after: "hide3";
6258                }
6259                program {
6260                    name: "hide1";
6261                    script {
6262                       hide_corners();
6263                       hide_edges();
6264                    }
6265                }
6266                program {
6267                    name: "hide2";
6268                    action: STATE_SET "default" 0.0;
6269                    transition: LINEAR 0.1;
6270                    target: "clipper_content";
6271                }
6272                program {
6273                    name: "hide3";
6274                    in: 0.1 0.0;
6275                    action: STATE_SET "default" 0.0;
6276                    transition: LINEAR 0.1;
6277                    target: "clipper";
6278                }
6279            }
6280        }
6281    }
6282    group { name: "elm/tooltip/base/transparent";
6283       parts {
6284          part { name: "elm.swallow.content";
6285             type: SWALLOW;
6286             mouse_events:   0;
6287             scale: 1;
6288             description { state: "default" 0.0; }
6289          }
6290       }
6291    }
6292
6293 ///////////////////////////////////////////////////////////////////////////////
6294
6295    /* TODO: replicate diagonal swallow slots to the other hover styles */
6296    group { name: "elm/hover/base/default";
6297       images {
6298          image: "shad_circ.png" COMP;
6299       }
6300       parts {
6301          part { name: "elm.swallow.offset";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 0.0;
6305                rel1.relative: 0.0 0.0;
6306                rel2.relative: 0.0 0.0;
6307             }
6308          }
6309          part { name: "elm.swallow.size";
6310             type: SWALLOW;
6311             description { state: "default" 0.0;
6312                align: 0.0 0.0;
6313                rel1.to: "elm.swallow.offset";
6314                rel1.relative: 1.0 1.0;
6315                rel2.to: "elm.swallow.offset";
6316                rel2.relative: 1.0 1.0;
6317             }
6318          }
6319          part { name: "base";
6320             type: RECT;
6321             mouse_events: 1;
6322             description { state: "default" 0.0;
6323                color: 0 0 0 64;
6324             }
6325          }
6326          part { name: "shad";
6327             mouse_events:  0;
6328             description { state: "default" 0.0;
6329                image.normal: "shad_circ.png";
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -32 -32;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 31 31;
6334                fill.smooth: 0;
6335             }
6336          }
6337          part { name: "box";
6338             type: RECT;
6339             mouse_events: 0;
6340             description { state: "default" 0.0;
6341                color: 0 0 0 0;
6342                rel1.to: "elm.swallow.size";
6343                rel1.offset: -2 -2;
6344                rel2.to: "elm.swallow.size";
6345                rel2.offset: 1 1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 0.5;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: -1 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 1.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top-left";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 1.0 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 0;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 0.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.5 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 0.0 0.0;
6378                rel1.offset: 0 -1;
6379                rel2.to: "elm.swallow.slot.middle";
6380                rel2.relative: 1.0 0.0;
6381                rel2.offset: -1 -1;
6382             }
6383          }
6384          part { name: "elm.swallow.slot.top-right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 1.0;
6388                rel1.to: "elm.swallow.slot.middle";
6389                rel1.relative: 1.0 0.0;
6390                rel1.offset: 0 0;
6391                rel2.to: "elm.swallow.slot.middle";
6392                rel2.relative: 1.0 0.0;
6393                rel2.offset: -1 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.5;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 0.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: 0 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom-right";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.0 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 1.0 1.0;
6414                rel1.offset: 0 0;
6415                rel2.to: "elm.swallow.slot.middle";
6416                rel2.relative: 1.0 1.0;
6417                rel2.offset: -1 -1;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 0.5 0.0;
6424                rel1.to: "elm.swallow.slot.middle";
6425                rel1.relative: 0.0 1.0;
6426                rel1.offset: 0 0;
6427                rel2.to: "elm.swallow.slot.middle";
6428                rel2.relative: 1.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.bottom-left";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                align: 1.0 0.0;
6436                rel1.to: "elm.swallow.slot.middle";
6437                rel1.relative: 0.0 1.0;
6438                rel1.offset: 0 0;
6439                rel2.to: "elm.swallow.slot.middle";
6440                rel2.relative: 0.0 1.0;
6441                rel2.offset: -1 0;
6442             }
6443          }
6444          part { name: "elm.swallow.slot.middle";
6445             type: SWALLOW;
6446             description { state: "default" 0.0;
6447                rel1.to: "elm.swallow.size";
6448                rel2.to: "elm.swallow.size";
6449             }
6450          }
6451       }
6452       programs {
6453          program { name: "end";
6454             signal: "mouse,up,1";
6455             source: "base";
6456             action: SIGNAL_EMIT "elm,action,dismiss" "";
6457          }
6458       }
6459    }
6460
6461    group { name: "elm/hover/base/popout";
6462       images {
6463          image: "shad_circ.png" COMP;
6464          image: "bt_dis_base.png" COMP;
6465          image: "bt_dis_hilight.png" COMP;
6466       }
6467       parts {
6468          part { name: "elm.swallow.offset";
6469             type: SWALLOW;
6470             description { state: "default" 0.0;
6471                align: 0.0 0.0;
6472                rel1.relative: 0.0 0.0;
6473                rel2.relative: 0.0 0.0;
6474             }
6475          }
6476          part { name: "elm.swallow.size";
6477             type: SWALLOW;
6478             description { state: "default" 0.0;
6479                align: 0.0 0.0;
6480                rel1.to: "elm.swallow.offset";
6481                rel1.relative: 1.0 1.0;
6482                rel2.to: "elm.swallow.offset";
6483                rel2.relative: 1.0 1.0;
6484             }
6485          }
6486          part { name: "base";
6487             type: RECT;
6488             mouse_events: 1;
6489             description { state: "default" 0.0;
6490                color: 0 0 0 0;
6491             }
6492             description { state: "visible" 0.0;
6493                inherit: "default" 1.0;
6494                color: 0 0 0 64;
6495             }
6496          }
6497          part { name: "leftclip";
6498             type: RECT;
6499             description { state: "default" 0.0;
6500                rel2.to_x: "pop";
6501                rel2.relative: 0.0 1.0;
6502                rel2.offset: 1 -1;
6503             }
6504          }
6505          part { name: "left";
6506             clip_to: "leftclip";
6507             description { state: "default" 0.0;
6508                visible: 0;
6509                rel1.to: "elm.swallow.slot.left";
6510                rel1.offset: -5 -5;
6511                rel2.to: "elm.swallow.slot.left";
6512                rel2.offset: 4 4;
6513                image {
6514                   normal: "bt_dis_base.png";
6515                   border: 4 4 4 4;
6516                }
6517                image.middle: SOLID;
6518             }
6519             description { state: "visible" 0.0;
6520                inherit: "default" 0.0;
6521                visible: 1;
6522             }
6523          }
6524          part { name: "elm.swallow.slot.left";
6525             type: SWALLOW;
6526             clip_to: "leftclip";
6527             description { state: "default" 0.0;
6528                align: 0.0 0.5;
6529                rel1.to: "elm.swallow.slot.middle";
6530                rel1.relative: 0.0 0.0;
6531                rel1.offset: -1 0;
6532                rel2.to: "elm.swallow.slot.middle";
6533                rel2.relative: 0.0 1.0;
6534                rel2.offset: -1 -1;
6535             }
6536             description { state: "visible" 0.0;
6537                inherit: "default" 0.0;
6538                rel1.offset: -7 0;
6539                rel2.offset: -7 -1;
6540                align: 1.0 0.5;
6541             }
6542          }
6543          part { name: "leftover";
6544             clip_to: "leftclip";
6545             mouse_events: 0;
6546             description { state: "default" 0.0;
6547                rel1.to: "left";
6548                rel2.to: "left";
6549                rel2.relative: 1.0 0.5;
6550                image {
6551                   normal: "bt_dis_hilight.png";
6552                   border: 4 4 4 0;
6553                }
6554             }
6555          }
6556          part { name: "rightclip";
6557             type: RECT;
6558             description { state: "default" 0.0;
6559                rel1.to_x: "pop";
6560                rel1.relative: 1.0 0.0;
6561                rel1.offset: -2 0;
6562             }
6563          }
6564          part { name: "right";
6565             clip_to: "rightclip";
6566             description { state: "default" 0.0;
6567                visible: 0;
6568                rel1.to: "elm.swallow.slot.right";
6569                rel1.offset: -5 -5;
6570                rel2.to: "elm.swallow.slot.right";
6571                rel2.offset: 4 4;
6572                image {
6573                   normal: "bt_dis_base.png";
6574                   border: 4 4 4 4;
6575                }
6576                image.middle: SOLID;
6577             }
6578             description { state: "visible" 0.0;
6579                inherit: "default" 0.0;
6580                visible: 1;
6581             }
6582          }
6583          part { name: "elm.swallow.slot.right";
6584             type: SWALLOW;
6585             clip_to: "rightclip";
6586             description { state: "default" 0.0;
6587                align: 1.0 0.5;
6588                rel1.to: "elm.swallow.slot.middle";
6589                rel1.relative: 1.0 0.0;
6590                rel1.offset: 0 0;
6591                rel2.to: "elm.swallow.slot.middle";
6592                rel2.relative: 1.0 1.0;
6593                rel2.offset: 0 -1;
6594             }
6595             description { state: "visible" 0.0;
6596                inherit: "default" 0.0;
6597                rel1.offset: 6 0;
6598                rel2.offset: 6 -1;
6599                align: 0.0 0.5;
6600             }
6601          }
6602          part { name: "rightover";
6603             clip_to: "rightclip";
6604             mouse_events: 0;
6605             description { state: "default" 0.0;
6606                rel1.to: "right";
6607                rel2.to: "right";
6608                rel2.relative: 1.0 0.5;
6609                image {
6610                   normal: "bt_dis_hilight.png";
6611                   border: 4 4 4 0;
6612                }
6613             }
6614          }
6615          part { name: "topclip";
6616             type: RECT;
6617             description { state: "default" 0.0;
6618                rel2.to_y: "pop";
6619                rel2.relative: 1.0 0.0;
6620                rel2.offset: -1 1;
6621             }
6622          }
6623          part { name: "top";
6624             clip_to: "topclip";
6625             description { state: "default" 0.0;
6626                visible: 0;
6627                rel1.to: "elm.swallow.slot.top";
6628                rel1.offset: -5 -5;
6629                rel2.to: "elm.swallow.slot.top";
6630                rel2.offset: 4 4;
6631                image {
6632                   normal: "bt_dis_base.png";
6633                   border: 4 4 4 4;
6634                }
6635                image.middle: SOLID;
6636             }
6637             description { state: "visible" 0.0;
6638                inherit: "default" 0.0;
6639                visible: 1;
6640             }
6641          }
6642          part { name: "elm.swallow.slot.top";
6643             type: SWALLOW;
6644             clip_to: "topclip";
6645             description { state: "default" 0.0;
6646                visible: 1;
6647                align: 0.5 0.0;
6648                rel1.to: "elm.swallow.slot.middle";
6649                rel1.relative: 0.0 0.0;
6650                rel1.offset: 0 -1;
6651                rel2.to: "elm.swallow.slot.middle";
6652                rel2.relative: 1.0 0.0;
6653                rel2.offset: -1 -1;
6654             }
6655             description { state: "visible" 0.0;
6656                inherit: "default" 0.0;
6657                rel1.offset: 0 -7;
6658                rel2.offset: -1 -7;
6659                align: 0.5 1.0;
6660             }
6661          }
6662          part { name: "topover";
6663             clip_to: "topclip";
6664             mouse_events: 0;
6665             description { state: "default" 0.0;
6666                rel1.to: "top";
6667                rel2.to: "top";
6668                rel2.relative: 1.0 0.5;
6669                image {
6670                   normal: "bt_dis_hilight.png";
6671                   border: 4 4 4 0;
6672                }
6673             }
6674          }
6675          part { name: "bottomclip";
6676             type: RECT;
6677             description { state: "default" 0.0;
6678                rel1.to_y: "pop";
6679                rel1.relative: 0.0 1.0;
6680                rel1.offset: -1 -2;
6681             }
6682          }
6683          part { name: "bottom";
6684             clip_to: "bottomclip";
6685             description { state: "default" 0.0;
6686                visible: 0;
6687                rel1.to: "elm.swallow.slot.bottom";
6688                rel1.offset: -5 -5;
6689                rel2.to: "elm.swallow.slot.bottom";
6690                rel2.offset: 4 4;
6691                image {
6692                   normal: "bt_dis_base.png";
6693                   border: 4 4 4 4;
6694                }
6695                image.middle: SOLID;
6696             }
6697             description { state: "visible" 0.0;
6698                inherit: "default" 0.0;
6699                visible: 1;
6700             }
6701          }
6702          part { name: "elm.swallow.slot.bottom";
6703             type: SWALLOW;
6704             clip_to: "bottomclip";
6705             description { state: "default" 0.0;
6706                align: 0.5 1.0;
6707                rel1.to: "elm.swallow.slot.middle";
6708                rel1.relative: 0.0 1.0;
6709                rel1.offset: 0 0;
6710                rel2.to: "elm.swallow.slot.middle";
6711                rel2.relative: 1.0 1.0;
6712                rel2.offset: -1 0;
6713             }
6714             description { state: "visible" 0.0;
6715                inherit: "default" 0.0;
6716                rel1.offset: 0 6;
6717                rel2.offset: -1 6;
6718                align: 0.5 0.0;
6719             }
6720          }
6721          part { name: "bottomover";
6722             clip_to: "bottomclip";
6723             mouse_events: 0;
6724             description { state: "default" 0.0;
6725                rel1.to: "bottom";
6726                rel2.to: "bottom";
6727                rel2.relative: 1.0 0.5;
6728                image {
6729                   normal: "bt_dis_hilight.png";
6730                   border: 4 4 4 0;
6731                }
6732             }
6733          }
6734          part { name: "shad";
6735             mouse_events:  0;
6736             description { state: "default" 0.0;
6737                image.normal: "shad_circ.png";
6738                rel1.to: "elm.swallow.size";
6739                rel1.offset: -64 -64;
6740                rel2.to: "elm.swallow.size";
6741                rel2.offset: 63 63;
6742                fill.smooth: 0;
6743             }
6744          }
6745          part { name: "pop";
6746             mouse_events: 1;
6747             description { state: "default" 0.0;
6748                rel1.to: "elm.swallow.slot.middle";
6749                rel1.offset: -5 -5;
6750                rel2.to: "elm.swallow.slot.middle";
6751                rel2.offset: 4 4;
6752                image {
6753                   normal: "bt_dis_base.png";
6754                   border: 4 4 4 4;
6755                }
6756                image.middle: SOLID;
6757             }
6758          }
6759          part { name: "elm.swallow.slot.middle";
6760             type: SWALLOW;
6761             description { state: "default" 0.0;
6762                rel1.to: "elm.swallow.size";
6763                rel2.to: "elm.swallow.size";
6764             }
6765          }
6766          part { name: "popover";
6767             mouse_events: 0;
6768             description { state: "default" 0.0;
6769                rel1.to: "pop";
6770                rel2.to: "pop";
6771                rel2.relative: 1.0 0.5;
6772                image {
6773                   normal: "bt_dis_hilight.png";
6774                   border: 4 4 4 0;
6775                }
6776             }
6777          }
6778       }
6779       programs {
6780          program { name: "end";
6781             signal: "mouse,up,1";
6782             source: "base";
6783             action: SIGNAL_EMIT "elm,action,dismiss" "";
6784          }
6785
6786          program { name: "show";
6787             signal: "elm,action,show";
6788             source: "elm";
6789             action: STATE_SET "visible" 0.0;
6790 //            transition: DECELERATE 0.5;
6791             target: "base";
6792          }
6793          program { name: "hide";
6794             signal: "elm,action,hide";
6795             source: "elm";
6796             action: STATE_SET "default" 0.0;
6797 //            transition: DECELERATE 0.5;
6798             target: "base";
6799          }
6800
6801          program { name: "leftshow";
6802             signal: "elm,action,slot,left,show";
6803             source: "elm";
6804             action: STATE_SET "visible" 0.0;
6805             transition: DECELERATE 0.5;
6806             target: "left";
6807             target: "elm.swallow.slot.left";
6808          }
6809          program { name: "lefthide";
6810             signal: "elm,action,slot,left,hide";
6811             source: "elm";
6812             action: STATE_SET "default" 0.0;
6813             transition: DECELERATE 0.5;
6814             target: "left";
6815             target: "elm.swallow.slot.left";
6816          }
6817          program { name: "rightshow";
6818             signal: "elm,action,slot,right,show";
6819             source: "elm";
6820             action: STATE_SET "visible" 0.0;
6821             transition: DECELERATE 0.5;
6822             target: "right";
6823             target: "elm.swallow.slot.right";
6824          }
6825          program { name: "righthide";
6826             signal: "elm,action,slot,right,hide";
6827             source: "elm";
6828             action: STATE_SET "default" 0.0;
6829             transition: DECELERATE 0.5;
6830             target: "right";
6831             target: "elm.swallow.slot.right";
6832          }
6833          program { name: "topshow";
6834             signal: "elm,action,slot,top,show";
6835             source: "elm";
6836             action: STATE_SET "visible" 0.0;
6837             transition: DECELERATE 0.5;
6838             target: "top";
6839             target: "elm.swallow.slot.top";
6840          }
6841          program { name: "tophide";
6842             signal: "elm,action,slot,top,hide";
6843             source: "elm";
6844             action: STATE_SET "default" 0.0;
6845             transition: DECELERATE 0.5;
6846             target: "top";
6847             target: "elm.swallow.slot.top";
6848          }
6849          program { name: "bottomshow";
6850             signal: "elm,action,slot,bottom,show";
6851             source: "elm";
6852             action: STATE_SET "visible" 0.0;
6853             transition: DECELERATE 0.5;
6854             target: "bottom";
6855             target: "elm.swallow.slot.bottom";
6856          }
6857          program { name: "bottomhide";
6858             signal: "elm,action,slot,bottom,hide";
6859             source: "elm";
6860             action: STATE_SET "default" 0.0;
6861             transition: DECELERATE 0.5;
6862             target: "bottom";
6863             target: "elm.swallow.slot.bottom";
6864          }
6865       }
6866    }
6867
6868    //In the hover used by the menu only the bottom part is used.
6869    group { name: "elm/hover/base/menu";
6870        images {
6871            image: "shad_circ.png" COMP;
6872            image: "bt_dis_base.png" COMP;
6873        }
6874        parts {
6875            part { name: "elm.swallow.offset";
6876                type: SWALLOW;
6877                description { state: "default" 0.0;
6878                    align: 0.0 0.0;
6879                    rel1.relative: 0.0 0.0;
6880                    rel2.relative: 0.0 0.0;
6881                }
6882            }
6883            part { name: "elm.swallow.size";
6884                type: SWALLOW;
6885                description { state: "default" 0.0;
6886                    align: 0.0 0.0;
6887                    rel1.to: "elm.swallow.offset";
6888                    rel1.relative: 1.0 1.0;
6889                    rel2.to: "elm.swallow.offset";
6890                    rel2.relative: 1.0 1.0;
6891                }
6892            }
6893            part { name: "base";
6894                type: RECT;
6895                mouse_events: 1;
6896                description { state: "default" 0.0;
6897                    color: 0 0 0 0;
6898                }
6899                description { state: "visible" 0.0;
6900                    inherit: "default" 1.0;
6901                    color: 0 0 0 64;
6902                }
6903            }
6904            part { name: "elm.swallow.slot.left";
6905                type: SWALLOW;
6906                description { state: "default" 0.0;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.right";
6910                type: SWALLOW;
6911                description { state: "default" 0.0;
6912                }
6913            }
6914            part { name: "elm.swallow.slot.top";
6915                type: SWALLOW;
6916                description { state: "default" 0.0;
6917                }
6918                description { state: "visible" 0.0;
6919                    inherit: "default" 0.0;
6920                }
6921            }
6922            part { name: "bottomclip";
6923                type: RECT;
6924                description { state: "default" 0.0;
6925                    rel1.to_y: "pop";
6926                    rel1.relative: 0.0 1.0;
6927                    rel1.offset: -1 -2;
6928                }
6929            }
6930            part { name: "bottom";
6931                clip_to: "bottomclip";
6932                description { state: "default" 0.0;
6933                    visible: 0;
6934                    rel1.to: "elm.swallow.slot.bottom";
6935                    rel1.offset: -5 -5;
6936                    rel2.to: "elm.swallow.slot.bottom";
6937                    rel2.offset: 4 4;
6938                    image {
6939                        normal: "bt_dis_base.png";
6940                        border: 4 4 4 4;
6941                    }
6942                    image.middle: SOLID;
6943                }
6944                description { state: "visible" 0.0;
6945                    inherit: "default" 0.0;
6946                    visible: 1;
6947                }
6948            }
6949            part { name: "elm.swallow.slot.bottom";
6950                type: SWALLOW;
6951                clip_to: "bottomclip";
6952                description { state: "default" 0.0;
6953                    align: 0.5 1.0;
6954                    rel1.to: "elm.swallow.slot.middle";
6955                    rel1.relative: 0.0 1.0;
6956                    rel1.offset: 0 0;
6957                    rel2.to: "elm.swallow.slot.middle";
6958                    rel2.relative: 1.0 1.0;
6959                    rel2.offset: -1 0;
6960                }
6961                description { state: "visible" 0.0;
6962                    inherit: "default" 0.0;
6963                    rel1.offset: 0 6;
6964                    rel2.offset: -1 6;
6965                    align: 0.5 0.0;
6966                }
6967            }
6968            part { name: "pop";
6969                mouse_events: 1;
6970                repeat_events:1;
6971                description { state: "default" 0.0;
6972                    rel1.to: "elm.swallow.slot.middle";
6973                    rel1.offset: -5 -5;
6974                    rel2.to: "elm.swallow.slot.middle";
6975                    rel2.offset: 4 4;
6976                }
6977            }
6978            part { name: "elm.swallow.slot.middle";
6979                type: SWALLOW;
6980                repeat_events:1;
6981                description { state: "default" 0.0;
6982                    rel1.to: "elm.swallow.size";
6983                    rel2.to: "elm.swallow.size";
6984                }
6985            }
6986        }
6987        programs {
6988            program { name: "end";
6989                signal: "mouse,up,1";
6990                source: "base";
6991                action: SIGNAL_EMIT "elm,action,dismiss" "";
6992            }
6993            program { name: "show";
6994                signal: "elm,action,show";
6995                source: "elm";
6996                action: STATE_SET "visible" 0.0;
6997                        //            transition: DECELERATE 0.5;
6998                target: "base";
6999            }
7000            program { name: "hide";
7001                signal: "elm,action,hide";
7002                source: "elm";
7003                action: STATE_SET "default" 0.0;
7004                        //            transition: DECELERATE 0.5;
7005                target: "base";
7006            }
7007            program { name: "bottomshow";
7008                signal: "elm,action,slot,bottom,show";
7009                source: "elm";
7010                action: STATE_SET "visible" 0.0;
7011                transition: DECELERATE 0.3;
7012                target: "bottom";
7013                target: "elm.swallow.slot.bottom";
7014            }
7015            program { name: "bottomhide";
7016                signal: "elm,action,slot,bottom,hide";
7017                source: "elm";
7018                action: STATE_SET "default" 0.0;
7019                transition: DECELERATE 0.5;
7020                target: "bottom";
7021                target: "elm.swallow.slot.bottom";
7022            }
7023        }
7024    }
7025
7026    //In the hover used by the submenu only the bottom part is used
7027    //and no part should interact except the bottom area
7028    group { name: "elm/hover/base/submenu";
7029        images {
7030            image: "shad_circ.png" COMP;
7031            image: "bt_dis_base.png" COMP;
7032        }
7033        parts {
7034            part { name: "elm.swallow.offset";
7035                type: SWALLOW;
7036                repeat_events:1;
7037                description { state: "default" 0.0;
7038                    align: 0.0 0.0;
7039                    rel1.relative: 0.0 0.0;
7040                    rel2.relative: 0.0 0.0;
7041                }
7042            }
7043            part { name: "elm.swallow.size";
7044                type: SWALLOW;
7045                description { state: "default" 0.0;
7046                    align: 0.0 0.0;
7047                    rel1.to: "elm.swallow.offset";
7048                    rel1.relative: 1.0 1.0;
7049                    rel2.to: "elm.swallow.offset";
7050                    rel2.relative: 1.0 1.0;
7051                }
7052            }
7053            //here we do non catch events like the hover hover does
7054            part { name: "base";
7055                type: RECT;
7056                mouse_events: 1;
7057                description { state: "default" 0.0;
7058                    color: 0 0 0 0;
7059                    visible: 0;
7060                }
7061            }
7062            part { name: "elm.swallow.slot.left";
7063                type: SWALLOW;
7064                description { state: "default" 0.0;
7065                }
7066            }
7067            part { name: "elm.swallow.slot.right";
7068                type: SWALLOW;
7069                description { state: "default" 0.0;
7070                }
7071            }
7072            part { name: "elm.swallow.slot.top";
7073                type: SWALLOW;
7074                description { state: "default" 0.0;
7075                }
7076            }
7077            part { name: "bottomclip";
7078                type: RECT;
7079                description { state: "default" 0.0;
7080                    rel1.to_y: "pop";
7081                    rel1.relative: 0.0 1.0;
7082                    rel1.offset: -1 -2;
7083                }
7084            }
7085            part { name: "bottom";
7086                clip_to: "bottomclip";
7087                description { state: "default" 0.0;
7088                    visible: 0;
7089                    rel1.to: "elm.swallow.slot.bottom";
7090                    rel1.offset: -5 -5;
7091                    rel2.to: "elm.swallow.slot.bottom";
7092                    rel2.offset: 4 4;
7093                    image {
7094                        normal: "bt_dis_base.png";
7095                        border: 4 4 4 4;
7096                    }
7097                    image.middle: SOLID;
7098                }
7099                description { state: "visible" 0.0;
7100                    inherit: "default" 0.0;
7101                    visible: 1;
7102                }
7103            }
7104            part { name: "elm.swallow.slot.bottom";
7105                type: SWALLOW;
7106                clip_to: "bottomclip";
7107                description { state: "default" 0.0;
7108                    align: 0.5 1.0;
7109                    rel1.to: "elm.swallow.slot.middle";
7110                    rel1.relative: 0.0 1.0;
7111                    rel1.offset: 0 0;
7112                    rel2.to: "elm.swallow.slot.middle";
7113                    rel2.relative: 1.0 1.0;
7114                    rel2.offset: -1 0;
7115                }
7116                description { state: "visible" 0.0;
7117                    inherit: "default" 0.0;
7118                    rel1.offset: 0 6;
7119                    rel2.offset: -1 6;
7120                    align: 0.5 0.0;
7121                }
7122            }
7123            part { name: "pop";
7124                mouse_events: 1;
7125                repeat_events:1;
7126                description { state: "default" 0.0;
7127                    rel1.to: "elm.swallow.slot.middle";
7128                    rel1.offset: -5 -5;
7129                    rel2.to: "elm.swallow.slot.middle";
7130                    rel2.offset: 4 4;
7131                }
7132            }
7133            part { name: "elm.swallow.slot.middle";
7134                type: SWALLOW;
7135                repeat_events:1;
7136                description { state: "default" 0.0;
7137                    rel1.to: "elm.swallow.size";
7138                    rel2.to: "elm.swallow.size";
7139                }
7140            }
7141        }
7142        programs {
7143            program { name: "end";
7144                signal: "mouse,up,1";
7145                source: "base";
7146                action: SIGNAL_EMIT "elm,action,dismiss" "";
7147            }
7148            program { name: "show";
7149                signal: "elm,action,show";
7150                source: "elm";
7151                action: STATE_SET "visible" 0.0;
7152                        //            transition: DECELERATE 0.5;
7153                target: "base";
7154            }
7155            program { name: "hide";
7156                signal: "elm,action,hide";
7157                source: "elm";
7158                action: STATE_SET "default" 0.0;
7159                        //            transition: DECELERATE 0.5;
7160                target: "base";
7161            }
7162            program { name: "bottomshow";
7163                signal: "elm,action,slot,bottom,show";
7164                source: "elm";
7165                action: STATE_SET "visible" 0.0;
7166                transition: DECELERATE 0.3;
7167                target: "bottom";
7168                target: "elm.swallow.slot.bottom";
7169            }
7170            program { name: "bottomhide";
7171                signal: "elm,action,slot,bottom,hide";
7172                source: "elm";
7173                action: STATE_SET "default" 0.0;
7174                transition: DECELERATE 0.5;
7175                target: "bottom";
7176                target: "elm.swallow.slot.bottom";
7177            }
7178        }
7179    }
7180
7181    group { name: "elm/hover/base/hoversel_vertical/default";
7182       alias: "elm/hover/base/hoversel_vertical/entry";
7183       images {
7184 //         image: "shad_circ.png" COMP;
7185          image: "bt_base2.png" COMP;
7186          image: "bt_hilight.png" COMP;
7187          image: "bt_shine.png" COMP;
7188          image: "outdent-top.png" COMP;
7189          image: "outdent-bottom.png" COMP;
7190       }
7191       parts {
7192          part { name: "elm.swallow.offset";
7193             type: SWALLOW;
7194             description { state: "default" 0.0;
7195                align: 0.0 0.0;
7196                rel1.relative: 0.0 0.0;
7197                rel2.relative: 0.0 0.0;
7198             }
7199          }
7200          part { name: "elm.swallow.size";
7201             type: SWALLOW;
7202             description { state: "default" 0.0;
7203                align: 0.0 0.0;
7204                rel1.to: "elm.swallow.offset";
7205                rel1.relative: 1.0 1.0;
7206                rel2.to: "elm.swallow.offset";
7207                rel2.relative: 1.0 1.0;
7208             }
7209          }
7210 /*
7211         part { name: "shad";
7212             mouse_events:  0;
7213             description { state: "default" 0.0;
7214                image.normal: "shad_circ.png";
7215                rel1.to: "button_image";
7216                rel1.offset: -64 -64;
7217                rel2.to: "button_image";
7218                rel2.offset: 63 63;
7219                fill.smooth: 0;
7220             }
7221          }
7222  */
7223          part { name: "button_image";
7224             mouse_events: 1;
7225             description { state: "default" 0.0;
7226                rel1.to_x: "elm.swallow.slot.top";
7227                rel1.to_y: "elm.swallow.slot.top";
7228                rel1.offset: -2 -6;
7229                rel2.to_x: "elm.swallow.slot.top";
7230                rel2.to_y: "elm.swallow.slot.bottom";
7231                rel2.offset: 1 5;
7232                image {
7233                   normal: "bt_base2.png";
7234                   border: 7 7 7 7;
7235                }
7236                image.middle: SOLID;
7237             }
7238             description { state: "bottom" 0.0;
7239                rel1.to_x: "elm.swallow.slot.bottom";
7240                rel1.to_y: "elm.swallow.slot.top";
7241                rel1.offset: -2 -6;
7242                rel2.to_x: "elm.swallow.slot.bottom";
7243                rel2.to_y: "elm.swallow.slot.bottom";
7244                rel2.offset: 1 5;
7245                image {
7246                   normal: "bt_base2.png";
7247                   border: 7 7 7 7;
7248                }
7249                image.middle: SOLID;
7250             }
7251          }
7252
7253          part { name: "base";
7254             type: RECT;
7255             mouse_events: 1;
7256             description { state: "default" 0.0;
7257                color: 0 0 0 0;
7258             }
7259             description { state: "visible" 0.0;
7260                inherit: "default" 1.0;
7261                color: 0 0 0 64;
7262             }
7263          }
7264
7265          part { name: "topclip";
7266             type: RECT;
7267             description { state: "default" 0.0;
7268                rel2.to_y: "edge_top";
7269                rel2.relative: 1.0 0.0;
7270                rel2.offset: -1 7;
7271             }
7272          }
7273          part { name: "elm.swallow.slot.top";
7274             type: SWALLOW;
7275             clip_to: "topclip";
7276             description { state: "default" 0.0;
7277                visible: 1;
7278                align: 0.5 0.0;
7279                rel1.to: "elm.swallow.slot.middle";
7280                rel1.relative: 0.0 0.0;
7281                rel1.offset: 0 -1;
7282                rel2.to: "elm.swallow.slot.middle";
7283                rel2.relative: 1.0 0.0;
7284                rel2.offset: -1 -1;
7285             }
7286             description { state: "visible" 0.0;
7287                inherit: "default" 0.0;
7288                rel1.offset: 0 -7;
7289                rel2.offset: -1 -7;
7290                align: 0.5 1.0;
7291             }
7292          }
7293
7294          part { name: "bottomclip";
7295             type: RECT;
7296             description { state: "default" 0.0;
7297                rel1.to_y: "edge_bottom";
7298                rel1.relative: 0.0 1.0;
7299                rel1.offset: -1 -8;
7300             }
7301          }
7302          part { name: "elm.swallow.slot.bottom";
7303             type: SWALLOW;
7304             clip_to: "bottomclip";
7305             description { state: "default" 0.0;
7306                align: 0.5 1.0;
7307                rel1.to: "elm.swallow.slot.middle";
7308                rel1.relative: 0.0 1.0;
7309                rel1.offset: 0 0;
7310                rel2.to: "elm.swallow.slot.middle";
7311                rel2.relative: 1.0 1.0;
7312                rel2.offset: -1 0;
7313             }
7314             description { state: "visible" 0.0;
7315                inherit: "default" 0.0;
7316                rel1.offset: 0 6;
7317                rel2.offset: -1 6;
7318                align: 0.5 0.0;
7319             }
7320          }
7321
7322          part {          name: "over1";
7323             mouse_events: 0;
7324             description { state: "default" 0.0;
7325                rel1.to: "button_image";
7326                rel2.to: "button_image";
7327                rel2.relative: 1.0 0.5;
7328                image {
7329                   normal: "bt_hilight.png";
7330                   border: 7 7 7 0;
7331                }
7332             }
7333          }
7334          part { name: "over2";
7335             mouse_events: 1;
7336             repeat_events: 1;
7337             ignore_flags: ON_HOLD;
7338             description { state: "default" 0.0;
7339                rel1.to: "button_image";
7340                rel2.to: "button_image";
7341                image {
7342                   normal: "bt_shine.png";
7343                   border: 7 7 7 7;
7344                }
7345             }
7346          }
7347          part { name: "edge_top";
7348             mouse_events:  0;
7349             description { state: "default" 0.0;
7350                visible: 0;
7351                rel1 {
7352                   to: "elm.swallow.size";
7353                   offset: 0 -10;
7354                }
7355                rel2 {
7356                   to: "elm.swallow.size";
7357                }
7358                image.normal: "outdent-bottom.png";
7359                image.border: 0 0 13 0;
7360                fill.smooth: 0;
7361             }
7362             description { state: "visible" 0.0;
7363                inherit: "default" 0.0;
7364                visible: 1;
7365             }
7366          }
7367          part { name: "edge_bottom";
7368             mouse_events:  0;
7369             description { state: "default" 0.0;
7370                visible: 0;
7371                rel1 {
7372                   to: "elm.swallow.size";
7373                }
7374                rel2 {
7375                   to: "elm.swallow.size";
7376                   offset: -1 9;
7377                }
7378                image.normal: "outdent-top.png";
7379                image.border: 0 0 0 13;
7380                fill.smooth: 0;
7381             }
7382             description { state: "visible" 0.0;
7383                inherit: "default" 0.0;
7384                visible: 1;
7385             }
7386          }
7387          part { name: "elm.swallow.slot.middle";
7388             type: SWALLOW;
7389             description { state: "default" 0.0;
7390                rel1.to: "elm.swallow.size";
7391                rel2.to: "elm.swallow.size";
7392             }
7393          }
7394       }
7395       programs {
7396          program { name: "end";
7397             signal: "mouse,up,1";
7398             source: "base";
7399             action: SIGNAL_EMIT "elm,action,dismiss" "";
7400          }
7401
7402          program { name: "show";
7403             signal: "elm,action,show";
7404             source: "elm";
7405             action: STATE_SET "visible" 0.0;
7406 //            transition: DECELERATE 0.5;
7407             target: "base";
7408          }
7409          program { name: "hide";
7410             signal: "elm,action,hide";
7411             source: "elm";
7412             action: STATE_SET "default" 0.0;
7413 //            transition: DECELERATE 0.5;
7414             target: "base";
7415          }
7416          program { name: "topshow";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "visible" 0.0;
7420             target: "edge_top";
7421             after: "topshow2";
7422          }
7423          program { name: "topshow2";
7424             action: STATE_SET "visible" 0.0;
7425             transition: DECELERATE 0.5;
7426             target: "elm.swallow.slot.top";
7427          }
7428          program { name: "topshow3";
7429             signal: "elm,action,slot,top,show";
7430             source: "elm";
7431             action: STATE_SET "default" 0.0;
7432             target: "button_image";
7433          }
7434          program { name: "tophide";
7435             signal: "elm,action,slot,top,hide";
7436             source: "elm";
7437             action: STATE_SET "default" 0.0;
7438             transition: DECELERATE 0.5;
7439             target: "elm.swallow.slot.top";
7440             after: "tophide2";
7441          }
7442          program { name: "tophide2";
7443             action: STATE_SET "default" 0.0;
7444             target: "edge_top";
7445          }
7446          program { name: "bottomshow";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "visible" 0.0;
7450             target: "edge_bottom";
7451             after: "bottomshow2";
7452          }
7453          program { name: "bottomshow2";
7454             action: STATE_SET "visible" 0.0;
7455             transition: DECELERATE 0.5;
7456             target: "elm.swallow.slot.bottom";
7457          }
7458          program { name: "bottomshow3";
7459             signal: "elm,action,slot,bottom,show";
7460             source: "elm";
7461             action: STATE_SET "bottom" 0.0;
7462             target: "button_image";
7463          }
7464          program { name: "bottomhide";
7465             signal: "elm,action,slot,bottom,hide";
7466             source: "elm";
7467             action: STATE_SET "default" 0.0;
7468             transition: DECELERATE 0.5;
7469             target: "elm.swallow.slot.bottom";
7470             after: "bottomhide2";
7471          }
7472          program { name: "bottomhide2";
7473             action: STATE_SET "default" 0.0;
7474             target: "edge_bottom";
7475          }
7476       }
7477    }
7478 ///////////////////////////////////////////////////////////////////////////////
7479    group { name: "elm/scroller/base/ctxpopup";
7480       data {
7481          item: "focus_highlight" "on";
7482       }
7483       script {
7484          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7485          public timer0(val) {
7486             new v;
7487             v = get_int(sbvis_v);
7488             if (v) {
7489                v = get_int(sbalways_v);
7490                if(!v) {
7491                   emit("do-hide-vbar", "");
7492                   set_int(sbvis_v, 0);
7493                }
7494             }
7495             v = get_int(sbvis_h);
7496             if (v) {
7497                v = get_int(sbalways_h);
7498                if(!v) {
7499                   emit("do-hide-hbar", "");
7500                   set_int(sbvis_h, 0);
7501                }
7502             }
7503             set_int(sbvis_timer, 0);
7504             return 0;
7505          }
7506       }
7507       images {
7508          image: "bt_sm_base2.png" COMP;
7509          image: "bt_sm_shine.png" COMP;
7510          image: "bt_sm_hilight.png" COMP;
7511          image: "sl_bt2_2.png" COMP;
7512       }
7513       parts {
7514          part { name: "clipper";
7515             type: RECT;
7516             mouse_events: 0;
7517             scale: 1;
7518             description { state: "default" 0.0;
7519             }
7520          }
7521          part { name: "elm.swallow.content";
7522             clip_to: "clipper";
7523             type: SWALLOW;
7524             scale: 1;
7525             description { state: "default" 0.0;
7526                align: 0.5 0.5;
7527             }
7528          }
7529          part { name: "focus_highlight";
7530             mouse_events: 0;
7531             description { state: "default" 0.0;
7532                rel1.offset: -1 -1;
7533                rel2.offset: 0 0;
7534                image { normal: "sl_bt2_2.png";
7535                   border: 7 7 7 7;
7536                   middle: 0;
7537                }
7538                fill.smooth : 0;
7539                color: 200 155 0 0;
7540             }
7541             description { state: "enabled" 0.0;
7542                inherit: "default" 0.0;
7543                color: 200 155 0 255;
7544             }
7545          }
7546          part { name: "sb_vbar_clip_master";
7547             type: RECT;
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550             }
7551             description { state: "hidden" 0.0;
7552                visible: 0;
7553                color: 255 255 255 0;
7554             }
7555          }
7556          part { name: "sb_vbar_clip";
7557             clip_to:"sb_vbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             scale: 1;
7561             description { state: "default" 0.0;
7562                align: 0.0 0.0;
7563                rel2{ to:"clipper"; relative: 1.0 1.0;}
7564             }
7565             description { state: "hidden" 0.0;
7566                visible: 0;
7567                color: 255 255 255 0;
7568             }
7569          }
7570          part { name: "sb_vbar";
7571             type: RECT;
7572             mouse_events: 0;
7573             scale: 1;
7574             description { state: "default" 0.0;
7575                fixed: 1 1;
7576                visible: 0;
7577                align: 1.0 0.0;
7578                rel1{ to:"clipper"; relative: 1.0 0.0; }
7579                rel2{ to:"clipper"; relative: 1.0 1.0; }
7580             }
7581          }
7582          part { name: "elm.dragable.vbar";
7583             clip_to: "sb_vbar_clip";
7584             mouse_events: 0;
7585             scale: 1;
7586             dragable {
7587                x: 0 0 0;
7588                y: 1 1 0;
7589                confine: "sb_vbar";
7590             }
7591             description { state: "default" 0.0;
7592                fixed: 1 1;
7593                min: 10 17;
7594                max: 10 99999;
7595                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7596                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7597                image { normal: "bt_sm_base2.png";
7598                   border: 6 6 6 6;
7599                   middle: SOLID;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over1";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.relative: 1.0 0.5;
7609                rel2.to: "elm.dragable.vbar";
7610                image { normal: "bt_sm_hilight.png";
7611                   border: 6 6 6 0;
7612                }
7613             }
7614          }
7615          part { name: "sb_vbar_over2";
7616             clip_to: "sb_vbar_clip";
7617             mouse_events: 0;
7618             description { state: "default" 0.0;
7619                rel1.to: "elm.dragable.vbar";
7620                rel2.to: "elm.dragable.vbar";
7621                image { normal: "bt_sm_shine.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_clip_master";
7627             type: RECT;
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630             }
7631             description { state: "hidden" 0.0;
7632                visible: 0;
7633                color: 255 255 255 0;
7634             }
7635          }
7636          part { name: "sb_hbar_clip";
7637             clip_to: "sb_hbar_clip_master";
7638             type: RECT;
7639             mouse_events: 0;
7640             scale: 1;
7641             description { state: "default" 0.0;
7642                align: 0.0 0.0;
7643                rel2{ to:"clipper"; relative: 1.0 1.0;}
7644             }
7645             description { state: "hidden" 0.0;
7646                visible: 0;
7647                color: 255 255 255 0;
7648             }
7649          }
7650          part { name: "sb_hbar";
7651             type: RECT;
7652             mouse_events: 0;
7653             scale: 1;
7654             description { state: "default" 0.0;
7655                fixed: 1 1;
7656                visible: 0;
7657                align: 0.0 1.0;
7658                rel1 { to:"clipper"; relative: 0.0 1.0; }
7659                rel2 { to:"clipper"; relative: 1.0 1.0; }
7660             }
7661          }
7662          part { name: "elm.dragable.hbar";
7663             clip_to: "sb_hbar_clip";
7664             mouse_events: 0;
7665             scale: 1;
7666             dragable {
7667                x: 1 1 0;
7668                y: 0 0 0;
7669                confine: "sb_hbar";
7670             }
7671             description { state: "default" 0.0;
7672                min: 17 10;
7673                max: 99999 10;
7674                fixed: 1 1;
7675                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7676                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7677                image { normal: "bt_sm_base2.png";
7678                   border: 4 4 4 4;
7679                   middle: SOLID;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over1";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.relative: 1.0 0.5;
7689                rel2.to: "elm.dragable.hbar";
7690                image { normal: "bt_sm_hilight.png";
7691                   border: 6 6 6 0;
7692                }
7693             }
7694          }
7695          part { name: "sb_hbar_over2";
7696             clip_to: "sb_hbar_clip";
7697             mouse_events: 0;
7698             description { state: "default" 0.0;
7699                rel1.to: "elm.dragable.hbar";
7700                rel2.to: "elm.dragable.hbar";
7701                image { normal: "bt_sm_shine.png";
7702                   border: 6 6 6 0;
7703                }
7704             }
7705          }
7706       }
7707       programs {
7708          program { name: "load";
7709             signal: "load";
7710             source: "";
7711             script {
7712                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7713                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7714                set_int(sbvis_v, 0);
7715                set_int(sbvis_h, 0);
7716                set_int(sbalways_v, 0);
7717                                    set_int(sbalways_h, 0);
7718                set_int(sbvis_timer, 0);
7719             }
7720          }
7721          program { name: "vbar_show";
7722             signal: "elm,action,show,vbar";
7723             source: "elm";
7724             action: STATE_SET "default" 0.0;
7725             target: "sb_vbar_clip_master";
7726          }
7727          program { name: "vbar_hide";
7728             signal: "elm,action,hide,vbar";
7729             source: "elm";
7730             action:  STATE_SET "hidden" 0.0;
7731             target: "sb_vbar_clip_master";
7732          }
7733          program { name: "vbar_show_always";
7734             signal: "elm,action,show_always,vbar";
7735             source: "elm";
7736             script {
7737                new v;
7738                v = get_int(sbvis_v);
7739                v |= get_int(sbalways_v);
7740                if (!v) {
7741                   set_int(sbalways_v, 1);
7742                   emit("do-show-vbar", "");
7743                   set_int(sbvis_v, 1);
7744                }
7745             }
7746          }
7747          program { name: "vbar_show_notalways";
7748             signal: "elm,action,show_notalways,vbar";
7749             source: "elm";
7750             script {
7751                new v;
7752                v = get_int(sbalways_v);
7753                if (v) {
7754                   set_int(sbalways_v, 0);
7755                   v = get_int(sbvis_v);
7756                   if (!v) {
7757                      emit("do-hide-vbar", "");
7758                      set_int(sbvis_v, 0);
7759                   }
7760                }
7761             }
7762          }
7763          program { name: "sb_vbar_show";
7764             signal: "do-show-vbar";
7765             source: "";
7766             action:  STATE_SET "default" 0.0;
7767             transition: LINEAR 1.0;
7768             target: "sb_vbar_clip";
7769          }
7770          program { name: "sb_vbar_hide";
7771             signal: "do-hide-vbar";
7772             source: "";
7773             action:  STATE_SET "hidden" 0.0;
7774             transition: LINEAR 1.0;
7775             target: "sb_vbar_clip";
7776          }
7777          program { name: "hbar_show";
7778             signal: "elm,action,show,hbar";
7779             source: "elm";
7780             action:  STATE_SET "default" 0.0;
7781             target: "sb_hbar_clip_master";
7782          }
7783          program { name: "hbar_hide";
7784             signal: "elm,action,hide,hbar";
7785             source: "elm";
7786             action:  STATE_SET "hidden" 0.0;
7787             target: "sb_hbar_clip_master";
7788          }
7789          program { name: "hbar_show_always";
7790             signal: "elm,action,show_always,hbar";
7791             source: "elm";
7792             script {
7793                new v;
7794                v = get_int(sbvis_h);
7795                v |= get_int(sbalways_h);
7796                if (!v) {
7797                   set_int(sbalways_h, 1);
7798                   emit("do-show-hbar", "");
7799                   set_int(sbvis_h, 1);
7800                }
7801             }
7802          }
7803          program { name: "hbar_show_notalways";
7804             signal: "elm,action,show_notalways,hbar";
7805             source: "elm";
7806             script {
7807                new v;
7808                v = get_int(sbalways_h);
7809                if (v) {
7810                   set_int(sbalways_h, 0);
7811                   v = get_int(sbvis_h);
7812                   if (!v) {
7813                      emit("do-hide-hbar", "");
7814                      set_int(sbvis_h, 0);
7815                   }
7816                }
7817             }
7818          }
7819          program { name: "sb_hbar_show";
7820             signal: "do-show-hbar";
7821             source: "";
7822             action:  STATE_SET "default" 0.0;
7823             transition: LINEAR 1.0;
7824             target: "sb_hbar_clip";
7825          }
7826          program { name: "sb_hbar_hide";
7827             signal: "do-hide-hbar";
7828             source: "";
7829             action:  STATE_SET "hidden" 0.0;
7830             transition: LINEAR 1.0;
7831             target: "sb_hbar_clip";
7832          }             
7833          program { name: "scroll";
7834             signal: "elm,action,scroll";
7835             source: "elm";
7836             script {
7837                new v;
7838                v = get_int(sbvis_v);
7839                v |= get_int(sbalways_v);
7840                if (!v) {
7841                   emit("do-show-vbar", "")
7842                   set_int(sbvis_v, 1);
7843                }
7844                v = get_int(sbvis_h);
7845                v |= get_int(sbalways_h);
7846                if (!v) {
7847                   emit("do-show-hbar", "");
7848                   set_int(sbvis_h, 1);
7849                }
7850                v = get_int(sbvis_timer);
7851                if (v > 0) cancel_timer(v);
7852                v = timer(1.0, "timer0", 0);
7853                set_int(sbvis_timer, v);
7854             }
7855          }
7856          program { name: "highlight_show";
7857             signal: "elm,action,focus_highlight,show";
7858             source: "elm";
7859             action: STATE_SET "enabled" 0.0;
7860             transition: ACCELERATE 0.3;
7861             target: "focus_highlight";
7862           }
7863          program { name: "highlight_hide";
7864             signal: "elm,action,focus_highlight,hide";
7865             source: "elm";
7866             action: STATE_SET "default" 0.0;
7867             transition: DECELERATE 0.3;
7868             target: "focus_highlight";
7869          }
7870       }
7871    }
7872 ///////////////////////////////////////////////////////////////////////////////
7873    group { name: "elm/ctxpopup/bg/default";
7874       parts {
7875          part { name: "ctxpopup_bg";
7876             type: RECT;
7877             mouse_events: 1;
7878             description { state: "default" 0.0;
7879                color: 0 0 0 0;
7880             }
7881             description { state: "visible" 0.0;
7882                inherit: "default" 0.0;
7883                color: 0 0 0 64;
7884             }
7885          }
7886       }
7887       programs {
7888          program { name: "clicked_event";
7889             signal: "mouse,clicked,1";
7890             source: "ctxpopup_bg";
7891             action: SIGNAL_EMIT "elm,action,click" "";
7892          }
7893          program { name: "show";
7894             signal: "elm,state,show";
7895             source: "elm";
7896             action: STATE_SET "visible" 0.0;
7897             target: "ctxpopup_bg";
7898          }
7899          program { name: "hide";
7900             signal: "elm,state,hide";
7901             source: "elm";
7902             action: STATE_SET "default" 0.0;
7903             target: "ctxpopup_bg";
7904          }
7905       }
7906    }
7907 ///////////////////////////////////////////////////////////////////////////////
7908    group { name: "elm/ctxpopup/base/default";
7909       images {
7910          image: "bt_base2.png" COMP;
7911          image: "bt_hilight.png" COMP;
7912          image: "bt_shine.png" COMP;
7913       }
7914       parts {
7915                   part { name: "arrow_area_left";
7916             type: RECT;
7917             mouse_events: 0;
7918             description { state: "default" 0.0;
7919                visible: 0;
7920                min: 40 0;
7921                fixed: 1 1;
7922                align: 1 0.5;
7923                rel1 {
7924                   to_y: "base";
7925                }
7926                rel2 {
7927                   relative:0 1;
7928                   to:"base";
7929                }
7930             }
7931          }
7932          part { name: "arrow_area_right";
7933             type: RECT;
7934             mouse_events: 0;
7935             description { state: "default" 0.0;
7936                visible: 0;
7937                min: 40 0;
7938                fixed: 1 1;
7939                align: 0 0.5;
7940                rel1 {
7941                   relative: 1 0;
7942                   to:"base";
7943                }
7944                rel2 {
7945                   to_y: "base";
7946                }
7947             }
7948          }
7949          part { name: "arrow_area_up";
7950             type: RECT;
7951             mouse_events: 0;
7952             description { state: "default" 0.0;
7953                visible: 0;
7954                min: 0 40;
7955                fixed: 1 1;
7956                align: 0.5 1;
7957                rel1 {
7958                   to_x: "base";
7959                }
7960                rel2 {
7961                   relative: 1 0;
7962                   to:"base";
7963                }
7964             }
7965          }
7966          part { name: "arrow_area_down";
7967             type: RECT;
7968             mouse_events: 0;
7969             description { state: "default" 0.0;
7970                visible: 0;
7971                min: 0 40;
7972                fixed: 1 1;
7973                align: 0.5 0;
7974                rel1 {
7975                   relative: 0 1;
7976                   to:"base";
7977                }
7978                rel2 {
7979                   to_x: "base";
7980                }
7981             }
7982          }
7983          part { name: "elm.swallow.arrow_up";
7984             type: SWALLOW;
7985             mouse_events: 0;
7986             scale: 1;
7987             dragable {
7988                x: 1 1 0;
7989                y: 1 1 0;
7990                confine: "arrow_area_up";
7991             }
7992             description {
7993                state: "default" 0.0;
7994                min: 40 40;
7995                fixed: 1 1;
7996                visible: 1;
7997             }
7998          }
7999          part { name: "elm.swallow.arrow_down";
8000             type: SWALLOW;
8001             mouse_events: 0;
8002             scale: 1;
8003             dragable {
8004                x: 1 1 0;
8005                y: 1 1 0;
8006                confine: "arrow_area_down";
8007             }
8008             description {
8009                state: "default" 0.0;
8010                min: 40 40;
8011                fixed: 1 1;
8012                visible: 1;
8013             }
8014          }
8015          part { name: "elm.swallow.arrow_left";
8016             type: SWALLOW;
8017             mouse_events: 0;
8018             scale: 1;
8019             dragable {
8020                x: 1 1 0;
8021                y: 1 1 0;
8022                confine: "arrow_area_left";
8023             }
8024             description {
8025                state: "default" 0.0;
8026                min: 40 40;
8027                fixed: 1 1;
8028                visible: 1;
8029             }
8030          }
8031          part { name: "elm.swallow.arrow_right";
8032             type: SWALLOW;
8033             mouse_events: 0;
8034             scale: 1;
8035             dragable {
8036                x: 1 1 0;
8037                y: 1 1 0;
8038                confine: "arrow_area_right";
8039             }
8040             description {
8041                state: "default" 0.0;
8042                min: 40 40;
8043                fixed: 1 1;
8044                visible: 1;
8045             }
8046          }
8047          part { name: "base";
8048             scale: 1;
8049             description { state: "default" 0.0;
8050                rel1.offset: -3 -3;
8051                rel2.offset: 3 3;
8052                image { normal: "bt_base2.png";
8053                   border: 7 7 7 7;
8054                }
8055             }
8056          }
8057          part { name: "over1";
8058             scale: 1;
8059             description { state: "default" 0.0;
8060                rel1.to: "base";
8061                rel2.to: "base";
8062                rel2.relative: 1.0 0.5;
8063                image { normal: "bt_hilight.png";
8064                   border: 7 7 7 0;
8065                }
8066             }
8067          }
8068          part { name: "over2";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                rel1.to: "base";
8072                rel2.to: "base";
8073                image { normal: "bt_shine.png";
8074                   border: 7 7 7 7;
8075                }
8076             }
8077          }
8078          part { name: "elm.swallow.content";
8079             type: SWALLOW;
8080             description { state: "default" 0.0;
8081                rel1 { to:"base"; offset: 4 4; };
8082                rel2 { to:"base"; offset: -5 -5; };
8083             }
8084          }          
8085       }
8086    }
8087 ///////////////////////////////////////////////////////////////////////////////
8088    group { name: "elm/ctxpopup/arrow/default";
8089       images {
8090          image: "icon_arrow_left.png" COMP;
8091          image: "icon_arrow_right.png" COMP;
8092          image: "icon_arrow_up.png" COMP;
8093          image: "icon_arrow_down.png" COMP;
8094       }
8095       parts {
8096          part { name: "ctxpopup_arrow";
8097             type: IMAGE;
8098             scale: 1;
8099             description {
8100                state: "default" 0.0;
8101                min: 40 40;
8102                fixed: 1 1;
8103                visible: 0;
8104                align: 0.5 0.5;
8105             }
8106             description {
8107                state: "left" 0.0;
8108                min: 40 40;
8109                fixed: 1 1;
8110                align: 0.0 0.5;
8111                image { normal: "icon_arrow_left.png";
8112                }
8113             }
8114             description { state: "right" 0.0;
8115                min: 40 40;
8116                fixed: 1 1;
8117                align: 1.0 0.5;
8118                image { normal: "icon_arrow_right.png";                
8119                                         }
8120             }
8121             description { state: "top" 0.0;
8122                min: 40 40;
8123                fixed: 1 1;
8124                align: 0.5 0.0;
8125                image { normal: "icon_arrow_up.png";
8126                }
8127             }
8128             description { state: "bottom" 0.0;
8129                min: 40 40;
8130                fixed: 1 1;
8131                align: 0.5 1.0;
8132                image { normal: "icon_arrow_down.png";
8133                }
8134             }
8135          }
8136       }
8137       programs {
8138          program { name: "enable_left_arrow";
8139             signal: "elm,state,left";
8140             source: "elm";
8141             action: STATE_SET "left" 0.0;
8142             target: "ctxpopup_arrow";
8143          }
8144          program { name: "enable_right_arrow";
8145             signal: "elm,state,right";
8146             source: "elm";
8147             action: STATE_SET "right" 0.0;
8148             target: "ctxpopup_arrow";
8149          }
8150          program { name: "enable_top_arrow";
8151             signal: "elm,state,top";
8152             source: "elm";
8153             action: STATE_SET "top" 0.0;
8154             target: "ctxpopup_arrow";
8155          }
8156          program { name: "enable_bottom_arrow";
8157             signal: "elm,state,bottom";
8158             source: "elm";
8159             action: STATE_SET "bottom" 0.0;
8160             target: "ctxpopup_arrow";
8161          }
8162       }
8163    }
8164 ///////////////////////////////////////////////////////////////////////////////
8165    group {
8166       name: "elm/ctxpopup/icon_text_style_item/default";
8167            alias: "elm/ctxpopup/text_style_item/default";
8168            alias: "elm/ctxpopup/icon_style_item/default";
8169       images {
8170          image: "hoversel_entry_bg.png" COMP;
8171       }
8172       parts {
8173          part { name: "event";
8174             mouse_events: 1;
8175             description { state: "default" 0.0;
8176             }
8177          }
8178          part { name: "bg";
8179             mouse_events: 0;
8180             description { state: "default" 0.0;
8181                rel1.offset: 2 2;
8182                rel2.offset: -3 -3;
8183                image { normal:"hoversel_entry_bg.png";
8184                   border: 0 0 2 2;
8185                }
8186                fill.smooth: 0;
8187                color: 255 255 255 0;
8188             }
8189             description { state: "clicked" 0.0;
8190                inherit: "default" 0.0;
8191                color: 255 255 255 255;
8192             }
8193          }
8194          part { name: "elm.swallow.icon";
8195             type: SWALLOW;
8196             scale: 1;
8197             description { state: "default" 0.0;
8198                min: 25 25;
8199                max: 25 25;  
8200                align: 0 0.5;
8201                aspect: 1.0 1.0;
8202                rel1 { offset: 10 10; }  
8203                                         rel2 { offset: 0 -10; }
8204             }
8205          }
8206          part { name: "elm.text";
8207             type: TEXT;
8208             mouse_events: 0;
8209             scale: 1;
8210             description { state: "default" 0.0;
8211                min: 1 40;
8212                fixed: 0 1;
8213                align: 0.5 0.5;
8214                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8215                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8216                color: 255 255 255 255;
8217                text {
8218                   font: "Sans";
8219                   size: 10;
8220                   align: 0.0 0.5;
8221                   min: 1 1;
8222                }
8223             }
8224             description { state: "clicked" 0.0;
8225                inherit: "default" 0.0;
8226                color: 0 0 0 255;
8227             }
8228          }
8229                         part { name: "over1";
8230             mouse_events: 1;
8231             repeat_events: 1;
8232             ignore_flags: ON_HOLD;
8233             description { state: "default" 0.0;
8234                color: 255 255 255 0;
8235             }
8236             description { state: "clicked" 0.0;
8237                inherit: "default" 0.0;
8238                color: 255 255 255 255;
8239             }
8240          }
8241          part { name: "over2";
8242             mouse_events: 1;
8243             repeat_events: 1;
8244             description { state: "default" 0.0;
8245                color: 255 255 255 0;
8246             }
8247             description { state: "clicked" 0.0;
8248                inherit: "default" 0.0;
8249                color: 255 255 255 255;
8250             }
8251          }
8252          part { name: "disclip";
8253             type: RECT;
8254             description { state: "default" 0.0;
8255                visible: 0;
8256             }
8257             description { state: "enabled" 0.0;
8258                visible: 1;
8259                color: 50 50 50 127;
8260                rel1.offset: 4 4;
8261                rel2.offset: -5 -5;
8262             }
8263          }
8264       }
8265       programs {
8266          program {
8267             name: "item_unclick";
8268             signal: "mouse,up,1";
8269             source: "over1";
8270             action: SIGNAL_EMIT "elm,action,click" "";
8271          }
8272          program { name: "disable";
8273             signal: "elm,state,disabled";
8274             source: "elm";
8275             action: STATE_SET "enabled" 0.0;
8276             target: "disclip";
8277          }
8278          program { name: "enable";
8279             signal: "elm,state,enabled";
8280             source: "elm";
8281             action: STATE_SET "default" 0.0;
8282             target: "disclip";
8283          }
8284          program { name: "item_click2";
8285             signal: "mouse,down,1";
8286             source: "over2";
8287             script {
8288                set_state(PART:"elm.text", "clicked", 0.0);
8289                set_state(PART:"bg", "clicked", 0.0);
8290             }
8291          }
8292          program { name: "item_unclick2";
8293             signal: "mouse,up,1";
8294             source: "over2";
8295             script {
8296                                         set_state(PART:"elm.text", "default", 0.0);
8297                set_state(PART:"bg", "default", 0.0);
8298             }
8299          }
8300       }
8301    }
8302 ///////////////////////////////////////////////////////////////////////////////
8303 // emoticon images from:
8304 // Tanya - Latvia
8305 // http://lazycrazy.deviantart.com/
8306 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8307   group { name: "elm/entry/emoticon/angry/default"; images.image:
8308      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8309         "emo-angry.png"; } } } }
8310   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8311      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8312         "emo-angry-shout.png"; } } } }
8313   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8314      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8315         "emo-crazy-laugh.png"; } } } }
8316   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8317      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8318         "emo-evil-laugh.png"; } } } }
8319   group { name: "elm/entry/emoticon/evil/default"; images.image:
8320      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8321         "emo-evil.png"; } } } }
8322   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8323      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8324         "emo-goggle-smile.png"; } } } }
8325   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8326      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8327         "emo-grumpy.png"; } } } }
8328   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8329      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8330         "emo-grumpy-smile.png"; } } } }
8331   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8332      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8333         "emo-guilty.png"; } } } }
8334   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8335      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8336         "emo-guilty-smile.png"; } } } }
8337   group { name: "elm/entry/emoticon/haha/default"; images.image:
8338      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8339         "emo-haha.png"; } } } }
8340   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8341      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8342         "emo-half-smile.png"; } } } }
8343   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8344      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8345         "emo-happy-panting.png"; } } } }
8346   group { name: "elm/entry/emoticon/happy/default"; images.image:
8347      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8348         "emo-happy.png"; } } } }
8349   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8350      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8351         "emo-indifferent.png"; } } } }
8352   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8353      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8354         "emo-kiss.png"; } } } }
8355   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8356      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8357         "emo-knowing-grin.png"; } } } }
8358   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8359      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8360         "emo-laugh.png"; } } } }
8361   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8362      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8363         "emo-little-bit-sorry.png"; } } } }
8364   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8365      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8366         "emo-love-lots.png"; } } } }
8367   group { name: "elm/entry/emoticon/love/default"; images.image:
8368      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8369         "emo-love.png"; } } } }
8370   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8371      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8372         "emo-minimal-smile.png"; } } } }
8373   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8374      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8375         "emo-not-happy.png"; } } } }
8376   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8377      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8378         "emo-not-impressed.png"; } } } }
8379   group { name: "elm/entry/emoticon/omg/default"; images.image:
8380      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8381         "emo-omg.png"; } } } }
8382   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8383      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8384         "emo-opensmile.png"; } } } }
8385   group { name: "elm/entry/emoticon/smile/default"; images.image:
8386      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8387         "emo-smile.png"; } } } }
8388   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8389      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8390         "emo-sorry.png"; } } } }
8391   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8392      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8393         "emo-squint-laugh.png"; } } } }
8394   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8395      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8396         "emo-surprised.png"; } } } }
8397   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8398      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8399         "emo-suspicious.png"; } } } }
8400   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8401      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8402         "emo-tongue-dangling.png"; } } } }
8403   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8404      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8405         "emo-tongue-poke.png"; } } } }
8406   group { name: "elm/entry/emoticon/uh/default"; images.image:
8407      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8408         "emo-uh.png"; } } } }
8409   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8410      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8411         "emo-unhappy.png"; } } } }
8412   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8413      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8414         "emo-very-sorry.png"; } } } }
8415   group { name: "elm/entry/emoticon/what/default"; images.image:
8416      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8417         "emo-what.png"; } } } }
8418   group { name: "elm/entry/emoticon/wink/default"; images.image:
8419      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8420         "emo-wink.png"; } } } }
8421   group { name: "elm/entry/emoticon/worried/default"; images.image:
8422      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8423         "emo-worried.png"; } } } }
8424   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8425      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8426         "emo-wtf.png"; } } } }
8427 //------------------------------------------------------------
8428    group { name: "elm/entry/base/default";
8429       styles
8430       {
8431          style { name: "entry_textblock_style";
8432             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8433             tag:  "br" "\n";
8434             tag:  "ps" "ps";
8435             tag:  "tab" "\t";
8436             tag:  "em" "+ font=Sans:style=Oblique";
8437             tag:  "b" "+ font=Sans:style=Bold";
8438             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8439             tag:  "hilight" "+ font=Sans:style=Bold";
8440          }
8441          style { name: "entry_textblock_disabled_style";
8442             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8443             tag:  "br" "\n";
8444             tag:  "ps" "ps";
8445             tag:  "tab" "\t";
8446             tag:  "em" "+ font=Sans:style=Oblique";
8447             tag:  "b" "+ font=Sans:style=Bold";
8448             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8449             tag:  "hilight" "+ font=Sans:style=Bold";
8450          }
8451       }
8452       data {
8453 //         item: context_menu_orientation "horizontal";
8454       }
8455       parts {
8456          part { name: "elm.text";
8457             type: TEXTBLOCK;
8458             mouse_events: 1;
8459             scale: 1;
8460             entry_mode: EDITABLE;
8461             select_mode: EXPLICIT;
8462             multiline: 1;
8463             source: "elm/entry/selection/default"; // selection under
8464    //       source2: "X"; // selection over
8465    //       source3: "X"; // cursor under
8466             source4: "elm/entry/cursor/default"; // cursorover
8467             source5: "elm/entry/anchor/default"; // anchor under
8468    //       source6: "X"; // anchor over
8469             description { state: "default" 0.0;
8470                /* we gotta use 0 0 here, because of scrolled entries */
8471                fixed: 0 0;
8472                text {
8473                   style: "entry_textblock_style";
8474                   min: 0 1;
8475                }
8476             }
8477             description { state: "disabled" 0.0;
8478                inherit: "default" 0.0;
8479                text {
8480                   style: "entry_textblock_disabled_style";
8481                   min: 0 1;
8482                }
8483             }
8484          }
8485       }
8486       programs {
8487          program { name: "focus";
8488             signal: "load";
8489             source: "";
8490             action: FOCUS_SET;
8491             target: "elm.text";
8492          }
8493          program { name: "disable";
8494             signal: "elm,state,disabled";
8495             source: "elm";
8496             action: STATE_SET "disabled" 0.0;
8497             target: "elm.text";
8498          }
8499          program { name: "enable";
8500             signal: "elm,state,enabled";
8501             source: "elm";
8502             action: STATE_SET "default" 0.0;
8503             target: "elm.text";
8504          }
8505       }
8506    }
8507
8508    group { name: "elm/entry/base-charwrap/default";
8509       styles
8510       {
8511          style { name: "entry_textblock_style_charwrap";
8512             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8513             tag:  "br" "\n";
8514             tag:  "ps" "ps";
8515             tag:  "tab" "\t";
8516             tag:  "em" "+ font=Sans:style=Oblique";
8517             tag:  "b" "+ font=Sans:style=Bold";
8518             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8519             tag:  "hilight" "+ font=Sans:style=Bold";
8520          }
8521          style { name: "entry_textblock_disabled_style_charwrap";
8522             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8523             tag:  "br" "\n";
8524             tag:  "ps" "ps";
8525             tag:  "tab" "\t";
8526             tag:  "em" "+ font=Sans:style=Oblique";
8527             tag:  "b" "+ font=Sans:style=Bold";
8528             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8529             tag:  "hilight" "+ font=Sans:style=Bold";
8530          }
8531       }
8532       parts {
8533          part { name: "elm.text";
8534             type: TEXTBLOCK;
8535             mouse_events: 1;
8536             scale: 1;
8537             entry_mode: EDITABLE;
8538             select_mode: EXPLICIT;
8539             multiline: 1;
8540             source: "elm/entry/selection/default"; // selection under
8541 //          source2: "X"; // selection over
8542 //          source3: "X"; // cursor under
8543             source4: "elm/entry/cursor/default"; // cursorover
8544             source5: "elm/entry/anchor/default"; // anchor under
8545 //          source6: "X"; // anchor over
8546             description { state: "default" 0.0;
8547                fixed: 1 0;
8548                text {
8549                   style: "entry_textblock_style_charwrap";
8550                   min: 0 1;
8551                }
8552             }
8553             description { state: "disabled" 0.0;
8554                inherit: "default" 0.0;
8555                text {
8556                   style: "entry_textblock_disabled_style_charwrap";
8557                   min: 0 1;
8558                }
8559             }
8560          }
8561       }
8562       programs {
8563          program { name: "focus";
8564             signal: "load";
8565             source: "";
8566             action: FOCUS_SET;
8567             target: "elm.text";
8568          }
8569          program { name: "disable";
8570             signal: "elm,state,disabled";
8571             source: "elm";
8572             action: STATE_SET "disabled" 0.0;
8573             target: "elm.text";
8574          }
8575          program { name: "enable";
8576             signal: "elm,state,enabled";
8577             source: "elm";
8578             action: STATE_SET "default" 0.0;
8579             target: "elm.text";
8580          }
8581       }
8582    }
8583
8584    group { name: "elm/entry/base-nowrap/default";
8585       parts {
8586          part { name: "elm.text";
8587             type: TEXTBLOCK;
8588             mouse_events: 1;
8589             scale: 1;
8590             entry_mode: EDITABLE;
8591             select_mode: EXPLICIT;
8592             multiline: 1;
8593             source: "elm/entry/selection/default"; // selection under
8594             source4: "elm/entry/cursor/default"; // cursorover
8595             source5: "elm/entry/anchor/default"; // anchor under
8596             description { state: "default" 0.0;
8597                text {
8598                   style: "entry_textblock_style";
8599                   min: 1 1;
8600                }
8601             }
8602             description { state: "disabled" 0.0;
8603                inherit: "default" 0.0;
8604                text {
8605                   style: "entry_textblock_disabled_style";
8606                   min: 0 1;
8607                }
8608             }
8609          }
8610 /*
8611          part { name: "sel";
8612             type: RECT;
8613             mouse_events: 0;
8614             description { state: "default" 0.0;
8615                align: 1.0 1.0;
8616                max: 16 16;
8617                aspect: 1.0 1.0;
8618                color: 255 0 0 0;
8619             }
8620             description { state: "visible" 0.0;
8621                inherit: "default" 0.0;
8622                color: 255 0 0 50;
8623             }
8624          }
8625  */
8626       }
8627       programs {
8628          program { name: "focus";
8629             signal: "load";
8630             source: "";
8631             action: FOCUS_SET;
8632             target: "elm.text";
8633          }
8634          program { name: "disable";
8635             signal: "elm,state,disabled";
8636             source: "elm";
8637             action: STATE_SET "disabled" 0.0;
8638             target: "elm.text";
8639          }
8640          program { name: "enable";
8641             signal: "elm,state,enabled";
8642             source: "elm";
8643             action: STATE_SET "default" 0.0;
8644             target: "elm.text";
8645          }
8646 /*
8647          program { name: "selmode0";
8648             signal: "elm,state,select,on";
8649             source: "elm";
8650             action: STATE_SET "visible" 0.0;
8651             target: "sel";
8652          }
8653          program { name: "selmode1";
8654             signal: "elm,state,select,off";
8655             source: "elm";
8656             action: STATE_SET "default" 0.0;
8657             target: "sel";
8658          }
8659  */
8660       }
8661    }
8662
8663    group { name: "elm/entry/base-single/default";
8664       styles
8665       {
8666          style { name: "entry_single_textblock_style";
8667             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8668             tag:  "br" "\n";
8669             tag:  "ps" "ps";
8670             tag:  "tab" "\t";
8671             tag:  "em" "+ font=Sans:style=Oblique";
8672             tag:  "b" "+ font=Sans:style=Bold";
8673             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8674             tag:  "hilight" "+ font=Sans:style=Bold";
8675          }
8676          style { name: "entry_single_textblock_disabled_style";
8677             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8678             tag:  "br" "\n";
8679             tag:  "ps" "ps";
8680             tag:  "tab" "\t";
8681             tag:  "em" "+ font=Sans:style=Oblique";
8682             tag:  "b" "+ font=Sans:style=Bold";
8683             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8684             tag:  "hilight" "+ font=Sans:style=Bold";
8685          }
8686       }
8687       parts {
8688          part { name: "elm.text";
8689             type: TEXTBLOCK;
8690             mouse_events: 1;
8691             scale: 1;
8692             entry_mode: EDITABLE;
8693             select_mode: EXPLICIT;
8694             multiline: 0;
8695             source: "elm/entry/selection/default"; // selection under
8696             source4: "elm/entry/cursor/default"; // cursorover
8697             source5: "elm/entry/anchor/default"; // anchor under
8698             description { state: "default" 0.0;
8699                text {
8700                   style: "entry_single_textblock_style";
8701                   min: 1 1;
8702                   max: 0 1;
8703                }
8704             }
8705             description { state: "disabled" 0.0;
8706                inherit: "default" 0.0;
8707                text {
8708                   style: "entry_single_textblock_disabled_style";
8709                }
8710             }
8711          }
8712       }
8713       programs {
8714          program { name: "focus";
8715             signal: "load";
8716             source: "";
8717             action: FOCUS_SET;
8718             target: "elm.text";
8719          }
8720          program { name: "disable";
8721             signal: "elm,state,disabled";
8722             source: "elm";
8723             action: STATE_SET "disabled" 0.0;
8724             target: "elm.text";
8725          }
8726          program { name: "enable";
8727             signal: "elm,state,enabled";
8728             source: "elm";
8729             action: STATE_SET "default" 0.0;
8730             target: "elm.text";
8731          }
8732       }
8733    }
8734
8735    group { name: "elm/entry/base-single-noedit/default";
8736       parts {
8737          part { name: "elm.text";
8738             type: TEXTBLOCK;
8739             mouse_events: 1;
8740             scale: 1;
8741             entry_mode: PLAIN;
8742             select_mode: EXPLICIT;
8743             multiline: 0;
8744             source: "elm/entry/selection/default"; // selection under
8745             source5: "elm/entry/anchor/default"; // anchor under
8746             description { state: "default" 0.0;
8747                text {
8748                   style: "entry_single_textblock_style";
8749                   min: 1 1;
8750                   max: 0 1;
8751                }
8752             }
8753             description { state: "disabled" 0.0;
8754                inherit: "default" 0.0;
8755                text {
8756                style: "entry_single_textblock_disabled_style";
8757                }
8758             }
8759          }
8760       }
8761       programs {
8762          program { name: "focus";
8763             signal: "load";
8764             source: "";
8765             action: FOCUS_SET;
8766             target: "elm.text";
8767          }
8768          program { name: "disable";
8769             signal: "elm,state,disabled";
8770             source: "elm";
8771             action: STATE_SET "disabled" 0.0;
8772             target: "elm.text";
8773          }
8774          program { name: "enable";
8775             signal: "elm,state,enabled";
8776             source: "elm";
8777             action: STATE_SET "default" 0.0;
8778             target: "elm.text";
8779          }
8780       }
8781    }
8782
8783    group { name: "elm/entry/base-noedit/default";
8784       parts {
8785          part { name: "elm.text";
8786             type: TEXTBLOCK;
8787             mouse_events: 1;
8788             scale: 1;
8789             entry_mode: PLAIN;
8790             select_mode: EXPLICIT;
8791             multiline: 1;
8792             source: "elm/entry/selection/default"; // selection under
8793             source5: "elm/entry/anchor/default"; // anchor under
8794             description { state: "default" 0.0;
8795                fixed: 1 0;
8796                text {
8797                   style: "entry_textblock_style";
8798                   min: 0 1;
8799                }
8800             }
8801             description { state: "disabled" 0.0;
8802                inherit: "default" 0.0;
8803                text {
8804                   style: "entry_textblock_disabled_style";
8805                }
8806             }
8807          }
8808       }
8809       programs {
8810          program { name: "focus";
8811             signal: "load";
8812             source: "";
8813             action: FOCUS_SET;
8814             target: "elm.text";
8815          }
8816          program { name: "disable";
8817             signal: "elm,state,disabled";
8818             source: "elm";
8819             action: STATE_SET "disabled" 0.0;
8820             target: "elm.text";
8821          }
8822          program { name: "enable";
8823             signal: "elm,state,enabled";
8824             source: "elm";
8825             action: STATE_SET "default" 0.0;
8826             target: "elm.text";
8827          }
8828       }
8829    }
8830
8831    group { name: "elm/entry/base-noedit-charwrap/default";
8832       parts {
8833          part { name: "elm.text";
8834             type: TEXTBLOCK;
8835             mouse_events: 1;
8836             scale: 1;
8837             entry_mode: PLAIN;
8838             select_mode: EXPLICIT;
8839             multiline: 1;
8840             source: "elm/entry/selection/default"; // selection under
8841             source5: "elm/entry/anchor/default"; // anchor under
8842             description { state: "default" 0.0;
8843                fixed: 1 0;
8844                text {
8845                   style: "entry_textblock_style_charwrap";
8846                   min: 0 1;
8847                }
8848             }
8849             description { state: "disabled" 0.0;
8850                inherit: "default" 0.0;
8851                text {
8852                   style: "entry_textblock_disabled_style_charwrap";
8853                }
8854             }
8855          }
8856       }
8857       programs {
8858          program { name: "focus";
8859             signal: "load";
8860             source: "";
8861             action: FOCUS_SET;
8862             target: "elm.text";
8863          }
8864          program { name: "disable";
8865             signal: "elm,state,disabled";
8866             source: "elm";
8867             action: STATE_SET "disabled" 0.0;
8868             target: "elm.text";
8869          }
8870          program { name: "enable";
8871             signal: "elm,state,enabled";
8872             source: "elm";
8873             action: STATE_SET "default" 0.0;
8874             target: "elm.text";
8875          }
8876       }
8877    }
8878
8879    group { name: "elm/entry/base-nowrap-noedit/default";
8880       parts {
8881          part { name: "elm.text";
8882             type: TEXTBLOCK;
8883             mouse_events: 1;
8884             scale: 1;
8885             entry_mode: PLAIN;
8886             select_mode: EXPLICIT;
8887             multiline: 1;
8888             source: "elm/entry/selection/default"; // selection under
8889             source5: "elm/entry/anchor/default"; // anchor under
8890             description { state: "default" 0.0;
8891                text {
8892                   style: "entry_textblock_style";
8893                   min: 1 1;
8894                }
8895             }
8896             description { state: "disabled" 0.0;
8897                inherit: "default" 0.0;
8898                text {
8899                   style: "entry_textblock_disabled_style";
8900                }
8901             }
8902          }
8903       }
8904       programs {
8905          program { name: "focus";
8906             signal: "load";
8907             source: "";
8908             action: FOCUS_SET;
8909             target: "elm.text";
8910          }
8911          program { name: "disable";
8912             signal: "elm,state,disabled";
8913             source: "elm";
8914             action: STATE_SET "disabled" 0.0;
8915             target: "elm.text";
8916          }
8917          program { name: "enable";
8918             signal: "elm,state,enabled";
8919             source: "elm";
8920             action: STATE_SET "default" 0.0;
8921             target: "elm.text";
8922          }
8923       }
8924    }
8925
8926    group { name: "elm/entry/base-password/default";
8927       parts {
8928          part { name: "elm.text";
8929             type: TEXTBLOCK;
8930             mouse_events: 1;
8931             scale: 1;
8932             entry_mode: PASSWORD;
8933             select_mode: EXPLICIT;
8934             multiline: 0;
8935             source: "elm/entry/selection/default"; // selection under
8936             source4: "elm/entry/cursor/default"; // cursorover
8937             source5: "elm/entry/anchor/default"; // anchor under
8938             description { state: "default" 0.0;
8939                text {
8940                   style: "entry_single_textblock_style";
8941                   repch: "*";
8942                   min: 1 1;
8943                   max: 0 1;
8944                }
8945             }
8946             description { state: "disabled" 0.0;
8947                inherit: "default" 0.0;
8948                text {
8949                   style: "entry_single_textblock_disabled_style";
8950                }
8951             }
8952          }
8953       }
8954       programs {
8955          program { name: "focus";
8956             signal: "load";
8957             source: "";
8958             action: FOCUS_SET;
8959             target: "elm.text";
8960          }
8961          program { name: "disable";
8962             signal: "elm,state,disabled";
8963             source: "elm";
8964             action: STATE_SET "disabled" 0.0;
8965             target: "elm.text";
8966          }
8967          program { name: "enable";
8968             signal: "elm,state,enabled";
8969             source: "elm";
8970             action: STATE_SET "default" 0.0;
8971             target: "elm.text";
8972          }
8973       }
8974    }
8975
8976    group { name: "elm/entry/cursor/default";
8977       images {
8978          image: "cur_box.png" COMP;
8979          image: "cur_hi.png" COMP;
8980          image: "cur_shad.png" COMP;
8981          image: "cur_shine.png" COMP;
8982          image: "cur_glow.png" COMP;
8983       }
8984       parts {
8985          part { name: "clip2";
8986             type: RECT;
8987             mouse_events: 0;
8988             description { state: "default" 0.0;
8989                rel1.to: "clip";
8990                rel2.to: "clip";
8991                visible: 0;
8992             }
8993             description { state: "focused" 0.0;
8994                inherit: "default" 0.0;
8995                visible: 1;
8996             }
8997          }
8998          part { name: "clip";
8999             type: RECT;
9000             mouse_events: 0;
9001             clip_to: "clip2";
9002             description { state: "default" 0.0;
9003                rel1.offset: -10 0;
9004                rel2.offset: 9 9;
9005             }
9006             description { state: "hidden" 0.0;
9007                inherit: "default" 0.0;
9008                visible: 0;
9009             }
9010          }
9011          part { name: "bg";
9012             mouse_events: 0;
9013             clip_to: "clip";
9014             description { state: "default" 0.0;
9015                rel1.to: "base";
9016                rel1.offset: -2 0;
9017                rel2.to: "base";
9018                rel2.offset: 1 1;
9019                image.border: 2 2 2 2;
9020                image.normal: "cur_shad.png";
9021             }
9022          }
9023          part { name: "base";
9024             mouse_events: 0;
9025             scale: 1;
9026             clip_to: "clip";
9027             description { state: "default" 0.0;
9028                min: 2 2;
9029                align: 0.5 1.0;
9030                rel1.relative: 0.0 1.0;
9031                rel1.offset: 0 -1;
9032                rel2.relative: 1.0 1.0;
9033                rel2.offset: -1 -1;
9034                image.normal: "cur_box.png";
9035             }
9036          }
9037          part { name: "hi";
9038             mouse_events: 0;
9039             clip_to: "clip";
9040             description { state: "default" 0.0;
9041                rel1.to: "base";
9042                rel2.to: "base";
9043                rel2.relative: 1.0 0.5;
9044                image.normal: "cur_hi.png";
9045             }
9046          }
9047          part { name: "shine";
9048             mouse_events: 0;
9049             clip_to: "clip";
9050             clip_to: "clip2";
9051             description { state: "default" 0.0;
9052                rel1.to: "base";
9053                rel2.to: "base";
9054                rel2.relative: 1.0 0.75;
9055                image.border: 2 2 1 0;
9056                image.normal: "cur_shine.png";
9057                fill.smooth: 0;
9058             }
9059          }
9060          part { name: "glow";
9061             mouse_events: 0;
9062             clip_to: "clip2";
9063             description { state: "default" 0.0;
9064                rel1.to: "base";
9065                rel1.relative: 0.0 -2.0;
9066                rel1.offset: -2 0;
9067                rel2.to: "base";
9068                rel2.relative: 1.0 0.0;
9069                rel2.offset: 1 1;
9070                image.border: 2 2 0 4;
9071                image.normal: "cur_glow.png";
9072                fill.smooth: 0;
9073             }
9074             description { state: "hidden" 0.0;
9075                inherit: "default" 0.0;
9076                color: 255 255 255 0;
9077             }
9078          }
9079       }
9080       programs {
9081          program { name: "show";
9082             signal: "show";
9083             source: "";
9084             action: STATE_SET "hidden" 0.0;
9085             in: 1.0 0.0;
9086             transition: DECELERATE 2.0;
9087             target: "glow";
9088             after: "show2";
9089          }
9090          program { name: "show2";
9091             action: STATE_SET "hidden" 0.0;
9092             in: 0.2 0.0;
9093             target: "clip";
9094             after: "show3";
9095          }
9096          program { name: "show3";
9097             action: STATE_SET "default" 0.0;
9098             in: 0.5 0.0;
9099             target: "clip";
9100             after: "show4";
9101          }
9102          program { name: "show4";
9103             action: STATE_SET "default" 0.0;
9104             in: 0.5 0.0;
9105             transition: DECELERATE 0.5;
9106             target: "glow";
9107             after: "show";
9108          }
9109          program { name: "focused";
9110             signal: "elm,action,focus";
9111             source: "elm";
9112             action: STATE_SET "focused" 0.0;
9113             target: "clip2";
9114          }
9115          program { name: "unfocused";
9116             signal: "elm,action,unfocus";
9117             source: "elm";
9118             action: STATE_SET "default" 0.0;
9119             target: "clip2";
9120          }
9121       }
9122    }
9123
9124    group { name: "elm/entry/selection/default";
9125       parts {
9126          part { name: "bg";
9127             type: RECT;
9128             mouse_events: 0;
9129             description { state: "default" 0.0;
9130                color: 128 128 128 128;
9131             }
9132          }
9133       }
9134    }
9135
9136    group { name: "elm/entry/anchor/default";
9137       parts {
9138          part { name: "bg";
9139             type: RECT;
9140             mouse_events: 0;
9141             description { state: "default" 0.0;
9142                color: 128 0 0 64;
9143             }
9144          }
9145       }
9146    }
9147
9148 ///////////////////////////////////////////////////////////////////////////////
9149   group { name: "elm/bubble/top_left/default";
9150     alias: "elm/bubble/base/default";
9151     images {
9152       image: "bubble_3.png" COMP;
9153       image: "bubble_4.png" COMP;
9154       image: "bubble_shine3.png" COMP;
9155       image: "bubble_shine4.png" COMP;
9156     }
9157     parts {
9158       part { name: "event";
9159          type: RECT;
9160          description {
9161             state: "default" 0.0;
9162             color: 0 0 0 0;
9163          }
9164       }
9165       part { name: "elm.swallow.icon";
9166         type: SWALLOW;
9167         description { state: "default" 0.0;
9168           fixed: 1 1;
9169           visible: 0;
9170           align: 0.0 0.0;
9171           aspect: 1.0 1.0;
9172           aspect_preference: VERTICAL;
9173           rel1 {
9174             relative: 0.0 0.0;
9175             offset: 4 4;
9176           }
9177           rel2 {
9178             to_y: "elm.text";
9179             relative: 0.0 1.0;
9180             offset: 4 -1;
9181           }
9182         }
9183         description { state: "visible" 0.0;
9184           inherit: "default" 0.0;
9185           visible: 1;
9186         }
9187       }
9188       part { name: "elm.text";
9189         type: TEXT;
9190         mouse_events:   0;
9191         scale: 1;
9192         description { state: "default" 0.0;
9193           align: 0.0 0.0;
9194           fixed: 0 1;
9195           rel1 {
9196             to_x: "elm.swallow.icon";
9197             relative: 1.0 0.0;
9198             offset: 4 4;
9199           }
9200           rel2 {
9201             to_x: "elm.info";
9202             relative: 0.0 0.0;
9203             offset: -5 4;
9204           }
9205           color: 0 0 0 255;
9206           text {
9207             font: "Sans:style=Bold,Edje-Vera-Bold";
9208             size: 10;
9209             min: 0 1;
9210             max: 0 1;
9211             align: 0.0 0.0;
9212           }
9213         }
9214       }
9215       part { name: "elm.info";
9216         type: TEXT;
9217         mouse_events:   0;
9218         scale: 1;
9219         description { state: "default" 0.0;
9220           align: 1.0 0.0;
9221           fixed: 1 1;
9222           rel1 {
9223             relative: 1.0 0.0;
9224             offset: -5 4;
9225           }
9226           rel2 {
9227             relative: 1.0 0.0;
9228             offset: -5 4;
9229           }
9230           color: 0 0 0 64;
9231           text {
9232             font: "Sans:style=Bold,Edje-Vera-Bold";
9233             size: 10;
9234             min: 1 1;
9235             max: 1 1;
9236             align: 1.0 0.0;
9237           }
9238         }
9239       }
9240       part { name: "base0";
9241         mouse_events:  0;
9242         description { state: "default" 0.0;
9243           rel1 {
9244             to_y: "elm.swallow.icon";
9245             relative: 0.0 1.0;
9246             offset: 0 0;
9247           }
9248           image {
9249             normal: "bubble_3.png";
9250             border: 36 11 18 9;
9251           }
9252           image.middle: SOLID;
9253           fill.smooth: 0;
9254         }
9255         description { state: "rtl" 0.0;
9256            inherit: "default" 0.0;
9257            image {
9258               normal: "bubble_4.png";
9259               border: 11 36 18 9;
9260            }
9261         }
9262       }
9263       part { name: "elm.swallow.content";
9264         type: SWALLOW;
9265         description { state: "default" 0.0;
9266           rel1 {
9267             to: "base0";
9268             offset: 9 16;
9269           }
9270           rel2 {
9271             to: "base0";
9272             offset: -10 -9;
9273           }
9274         }
9275       }
9276       part { name: "shine";
9277         mouse_events:  0;
9278         description { state:    "default" 0.0;
9279           rel1 {
9280             to: "base0";
9281             offset: 5 4;
9282           }
9283           rel2 {
9284             to: "base0";
9285             relative: 1.0 0.5;
9286             offset: -6 7;
9287           }
9288           image {
9289             normal: "bubble_shine3.png";
9290             border: 36 5 14 0;
9291           }
9292           fill.smooth: 0;
9293         }
9294         description { state: "rtl" 0.0;
9295            inherit: "default" 0.0;
9296            image {
9297               normal: "bubble_shine4.png";
9298               border: 5 36 14 0;
9299            }
9300         }
9301       }
9302     }
9303     programs {
9304       program {
9305         name: "icon_show";
9306         signal: "elm,state,icon,visible";
9307         source: "elm";
9308         action: STATE_SET "visible" 0.0;
9309         target: "elm.swallow.icon";
9310       }
9311       program {
9312         name: "icon_hide";
9313         signal: "elm,state,icon,hidden";
9314         source: "elm";
9315         action: STATE_SET "default" 0.0;
9316         target: "elm.swallow.icon";
9317       }
9318       program { name: "to_rtl";
9319          signal: "edje,state,rtl";
9320          source: "edje";
9321          action: STATE_SET "rtl" 0.0;
9322          target: "base0";
9323          target: "shine";
9324       }
9325       program { name: "to_ltr";
9326          signal: "edje,state,ltr";
9327          source: "edje";
9328          action: STATE_SET "default" 0.0;
9329          target: "base0";
9330          target: "shine";
9331       }
9332     }
9333   }
9334
9335   group { name: "elm/bubble/top_right/default";
9336     images {
9337       image: "bubble_3.png" COMP;
9338       image: "bubble_4.png" COMP;
9339       image: "bubble_shine3.png" COMP;
9340       image: "bubble_shine4.png" COMP;
9341     }
9342     parts {
9343       part { name: "event";
9344          type: RECT;
9345          description {
9346             state: "default" 0.0;
9347             color: 0 0 0 0;
9348          }
9349       }
9350       part { name: "elm.swallow.icon";
9351         type: SWALLOW;
9352         description { state: "default" 0.0;
9353           fixed: 1 1;
9354           visible: 0;
9355           align: 1.0 0.0;
9356           aspect: 1.0 1.0;
9357           aspect_preference: VERTICAL;
9358           rel1 {
9359             relative: 1.0 0.0;
9360             offset: -5 4;
9361           }
9362           rel2 {
9363             to_y: "elm.text";
9364             relative: 1.0 1.0;
9365             offset: -5 -1;
9366           }
9367         }
9368         description { state: "visible" 0.0;
9369           inherit: "default" 0.0;
9370           visible: 1;
9371         }
9372       }
9373       part { name: "elm.text";
9374         type: TEXT;
9375         mouse_events:   0;
9376         scale: 1;
9377         description { state: "default" 0.0;
9378           align: 0.0 0.0;
9379           fixed: 0 1;
9380           rel1 {
9381             relative: 0.0 0.0;
9382             offset: 4 4;
9383           }
9384           rel2 {
9385             to_x: "elm.info";
9386             relative: 0.0 0.0;
9387             offset: -5 4;
9388           }
9389           color: 0 0 0 255;
9390           text {
9391             font: "Sans:style=Bold,Edje-Vera-Bold";
9392             size: 10;
9393             min: 0 1;
9394             max: 0 1;
9395             align: 0.0 0.0;
9396           }
9397         }
9398       }
9399       part { name: "elm.info";
9400         type: TEXT;
9401         mouse_events:   0;
9402         scale: 1;
9403         description { state: "default" 0.0;
9404           align: 1.0 0.0;
9405           fixed: 1 1;
9406           rel1 {
9407             relative: 1.0 0.0;
9408             offset: -5 4;
9409           }
9410           rel2 {
9411             to_x: "elm.swallow.icon";
9412             relative: 0.0 0.0;
9413             offset: -5 4;
9414           }
9415           color: 0 0 0 64;
9416           text {
9417             font: "Sans:style=Bold,Edje-Vera-Bold";
9418             size: 10;
9419             min: 1 1;
9420             max: 1 1;
9421             align: 1.0 0.0;
9422           }
9423         }
9424       }
9425       part { name: "base0";
9426         mouse_events:  0;
9427         description { state: "default" 0.0;
9428           rel1 {
9429             to_y: "elm.swallow.icon";
9430             relative: 0.0 1.0;
9431             offset: 0 0;
9432           }
9433           image {
9434             normal: "bubble_4.png";
9435             border: 11 36 18 9;
9436           }
9437           image.middle: SOLID;
9438           fill.smooth: 0;
9439         }
9440         description { state: "rtl" 0.0;
9441            inherit: "default" 0.0;
9442            image {
9443               normal: "bubble_3.png";
9444               border: 36 11 18 9;
9445            }
9446         }
9447       }
9448       part { name: "elm.swallow.content";
9449         type: SWALLOW;
9450         description { state: "default" 0.0;
9451           rel1 {
9452             to: "base0";
9453             offset: 9 16;
9454           }
9455           rel2 {
9456             to: "base0";
9457             offset: -10 -9;
9458           }
9459         }
9460       }
9461       part { name: "shine";
9462         mouse_events:  0;
9463         description { state:    "default" 0.0;
9464           rel1 {
9465             to: "base0";
9466             offset: 5 4;
9467           }
9468           rel2 {
9469             to: "base0";
9470             relative: 1.0 0.5;
9471             offset: -6 7;
9472           }
9473           image {
9474             normal: "bubble_shine4.png";
9475             border: 5 36 14 0;
9476           }
9477           fill.smooth: 0;
9478         }
9479         description { state: "rtl" 0.0;
9480            inherit: "default" 0.0;
9481            image {
9482               normal: "bubble_shine3.png";
9483               border: 36 5 14 0;
9484            }
9485         }
9486       }
9487     }
9488     programs {
9489       program {
9490         name: "icon_show";
9491         signal: "elm,state,icon,visible";
9492         source: "elm";
9493         action: STATE_SET "visible" 0.0;
9494         target: "elm.swallow.icon";
9495       }
9496       program {
9497         name: "icon_hide";
9498         signal: "elm,state,icon,hidden";
9499         source: "elm";
9500         action: STATE_SET "default" 0.0;
9501         target: "elm.swallow.icon";
9502       }
9503       program { name: "to_rtl";
9504          signal: "edje,state,rtl";
9505          source: "edje";
9506          action: STATE_SET "rtl" 0.0;
9507          target: "base0";
9508          target: "shine";
9509       }
9510       program { name: "to_ltr";
9511          signal: "edje,state,ltr";
9512          source: "edje";
9513          action: STATE_SET "default" 0.0;
9514          target: "base0";
9515          target: "shine";
9516       }
9517     }
9518   }
9519
9520   group { name: "elm/bubble/bottom_left/default";
9521     images {
9522       image: "bubble_1.png" COMP;
9523       image: "bubble_2.png" COMP;
9524       image: "bubble_shine.png" COMP;
9525     }
9526     parts {
9527       part { name: "event";
9528          type: RECT;
9529          description {
9530             state: "default" 0.0;
9531             color: 0 0 0 0;
9532          }
9533       }
9534       part { name: "elm.swallow.icon";
9535         type: SWALLOW;
9536         description { state: "default" 0.0;
9537           fixed: 1 1;
9538           visible: 0;
9539           align: 0.0 1.0;
9540           aspect: 1.0 1.0;
9541           aspect_preference: VERTICAL;
9542           rel1 {
9543             to_y: "elm.text";
9544             relative: 0.0 0.0;
9545             offset: 4 0;
9546           }
9547           rel2 {
9548             relative: 0.0 1.0;
9549             offset: 4 -5;
9550           }
9551         }
9552         description { state: "visible" 0.0;
9553           inherit: "default" 0.0;
9554           visible: 1;
9555         }
9556       }
9557       part { name: "elm.text";
9558         type: TEXT;
9559         mouse_events:   0;
9560         scale: 1;
9561         description { state: "default" 0.0;
9562           align: 0.0 1.0;
9563           fixed: 0 1;
9564           rel1 {
9565             to_x: "elm.swallow.icon";
9566             relative: 1.0 1.0;
9567             offset: 4 -5;
9568           }
9569           rel2 {
9570             to_x: "elm.info";
9571             relative: 0.0 1.0;
9572             offset: -5 -5;
9573           }
9574           color: 0 0 0 255;
9575           text {
9576             font: "Sans:style=Bold,Edje-Vera-Bold";
9577             size: 10;
9578             min: 0 1;
9579             max: 0 1;
9580             align: 0.0 1.0;
9581           }
9582         }
9583       }
9584       part { name: "elm.info";
9585         type: TEXT;
9586         mouse_events:   0;
9587         scale: 1;
9588         description { state: "default" 0.0;
9589           align: 1.0 1.0;
9590           fixed: 1 1;
9591           rel1 {
9592             relative: 1.0 1.0;
9593             offset: -5 -5;
9594           }
9595           rel2 {
9596             relative: 1.0 1.0;
9597             offset: -5 -5;
9598           }
9599           color: 0 0 0 64;
9600           text {
9601             font: "Sans:style=Bold,Edje-Vera-Bold";
9602             size: 10;
9603             min: 1 1;
9604             max: 1 1;
9605             align: 1.0 1.0;
9606           }
9607         }
9608       }
9609       part { name: "base0";
9610         mouse_events:  0;
9611         description { state: "default" 0.0;
9612           rel2 {
9613             to_y: "elm.swallow.icon";
9614             relative: 1.0 0.0;
9615             offset: -1 -1;
9616           }
9617           image {
9618             normal: "bubble_1.png";
9619             border: 36 11 10 19;
9620           }
9621           image.middle: SOLID;
9622           fill.smooth: 0;
9623         }
9624         description { state: "rtl" 0.0;
9625            inherit: "default" 0.0;
9626            image {
9627               normal: "bubble_2.png";
9628               border: 11 36 10 19;
9629            }
9630         }
9631       }
9632       part { name: "elm.swallow.content";
9633         type: SWALLOW;
9634         description { state: "default" 0.0;
9635           rel1 {
9636             to: "base0";
9637             offset: 9 8;
9638           }
9639           rel2 {
9640             to: "base0";
9641             offset: -10 -17;
9642           }
9643         }
9644       }
9645       part { name: "shine";
9646         mouse_events:  0;
9647         description { state:    "default" 0.0;
9648           rel1 {
9649             to: "base0";
9650             offset: 5 4;
9651           }
9652           rel2 {
9653             to: "base0";
9654             relative: 1.0 0.5;
9655             offset: -6 -16;
9656           }
9657           image {
9658             normal: "bubble_shine.png";
9659             border: 5 5 5 0;
9660           }
9661           fill.smooth: 0;
9662         }
9663         description { state: "rtl" 0.0;
9664            inherit: "default" 0.0;
9665            image {
9666               normal: "bubble_shine4.png";
9667               border: 5 36 14 0;
9668            }
9669         }
9670       }
9671     }
9672     programs {
9673       program {
9674         name: "icon_show";
9675         signal: "elm,state,icon,visible";
9676         source: "elm";
9677         action: STATE_SET "visible" 0.0;
9678         target: "elm.swallow.icon";
9679       }
9680       program {
9681         name: "icon_hide";
9682         signal: "elm,state,icon,hidden";
9683         source: "elm";
9684         action: STATE_SET "default" 0.0;
9685         target: "elm.swallow.icon";
9686       }
9687       program { name: "to_rtl";
9688          signal: "edje,state,rtl";
9689          source: "edje";
9690          action: STATE_SET "rtl" 0.0;
9691          target: "base0";
9692       }
9693       program { name: "to_ltr";
9694          signal: "edje,state,ltr";
9695          source: "edje";
9696          action: STATE_SET "default" 0.0;
9697          target: "base0";
9698       }
9699     }
9700   }
9701
9702   group { name: "elm/bubble/bottom_right/default";
9703     images {
9704       image: "bubble_1.png" COMP;
9705       image: "bubble_2.png" COMP;
9706       image: "bubble_shine.png" COMP;
9707     }
9708     parts {
9709       part { name: "event";
9710          type: RECT;
9711          description {
9712             state: "default" 0.0;
9713             color: 0 0 0 0;
9714          }
9715       }
9716       part { name: "elm.swallow.icon";
9717         type: SWALLOW;
9718         description { state: "default" 0.0;
9719           fixed: 1 1;
9720           visible: 0.0;
9721           align: 1.0 1.0;
9722           aspect: 1.0 1.0;
9723           aspect_preference: VERTICAL;
9724           rel1 {
9725             to_y: "elm.text";
9726             relative: 1.0 0.0;
9727             offset: -5 0;
9728           }
9729           rel2 {
9730             relative: 1.0 1.0;
9731             offset: -5 -5;
9732           }
9733         }
9734         description { state: "visible" 0.0;
9735           inherit: "default" 0.0;
9736           visible: 1;
9737         }
9738       }
9739       part { name: "elm.text";
9740         type: TEXT;
9741         mouse_events:   0;
9742         scale: 1;
9743         description { state: "default" 0.0;
9744           align: 0.0 1.0;
9745           fixed: 0 1;
9746           rel1 {
9747             relative: 0.0 1.0;
9748             offset: 4 -5;
9749           }
9750           rel2 {
9751             to_x: "elm.info";
9752             relative: 0.0 1.0;
9753             offset: -5 -5;
9754           }
9755           color: 0 0 0 255;
9756           text {
9757             font: "Sans:style=Bold,Edje-Vera-Bold";
9758             size: 10;
9759             min: 0 1;
9760             max: 0 1;
9761             align: 0.0 1.0;
9762           }
9763         }
9764       }
9765       part { name: "elm.info";
9766         type: TEXT;
9767         mouse_events:   0;
9768         scale: 1;
9769         description { state: "default" 0.0;
9770           align: 1.0 1.0;
9771           fixed: 1 1;
9772           rel1 {
9773             relative: 1.0 1.0;
9774             offset: -5 -5;
9775           }
9776           rel2 {
9777             to_x: "elm.swallow.icon";
9778             relative: 0.0 1.0;
9779             offset: -5 -5;
9780           }
9781           color: 0 0 0 64;
9782           text {
9783             font: "Sans:style=Bold,Edje-Vera-Bold";
9784             size: 10;
9785             min: 1 1;
9786             max: 1 1;
9787             align: 1.0 1.0;
9788           }
9789         }
9790       }
9791       part { name: "base0";
9792         mouse_events:  0;
9793         description { state: "default" 0.0;
9794           rel2 {
9795             to_y: "elm.swallow.icon";
9796             relative: 1.0 0.0;
9797             offset: -1 -1;
9798           }
9799           image {
9800             normal: "bubble_2.png";
9801             border: 11 36 10 19;
9802           }
9803           image.middle: SOLID;
9804           fill.smooth: 0;
9805         }
9806         description { state: "rtl" 0.0;
9807            inherit: "default" 0.0;
9808            image {
9809               normal: "bubble_1.png";
9810               border: 36 11 10 19;
9811            }
9812         }
9813       }
9814       part { name: "elm.swallow.content";
9815         type: SWALLOW;
9816         description { state: "default" 0.0;
9817           rel1 {
9818             to: "base0";
9819             offset: 9 8;
9820           }
9821           rel2 {
9822             to: "base0";
9823             offset: -10 -17;
9824           }
9825         }
9826       }
9827       part { name: "shine";
9828         mouse_events:  0;
9829         description { state:    "default" 0.0;
9830           rel1 {
9831             to: "base0";
9832             offset: 5 4;
9833           }
9834           rel2 {
9835             to: "base0";
9836             relative: 1.0 0.5;
9837             offset: -6 -16;
9838           }
9839           image {
9840             normal: "bubble_shine.png";
9841             border: 5 5 5 0;
9842           }
9843           fill.smooth: 0;
9844         }
9845         description { state: "rtl" 0.0;
9846            inherit: "default" 0.0;
9847            image {
9848               normal: "bubble_shine3.png";
9849               border: 36 5 14 0;
9850            }
9851         }
9852       }
9853     }
9854     programs {
9855       program {
9856         name: "icon_show";
9857         signal: "elm,state,icon,visible";
9858         source: "elm";
9859         action: STATE_SET "visible" 0.0;
9860         target: "elm.swallow.icon";
9861       }
9862       program {
9863         name: "icon_hide";
9864         signal: "elm,state,icon,hidden";
9865         source: "elm";
9866         action: STATE_SET "default" 0.0;
9867         target: "elm.swallow.icon";
9868       }
9869       program { name: "to_rtl";
9870          signal: "edje,state,rtl";
9871          source: "edje";
9872          action: STATE_SET "rtl" 0.0;
9873          target: "base0";
9874       }
9875       program { name: "to_ltr";
9876          signal: "edje,state,ltr";
9877          source: "edje";
9878          action: STATE_SET "default" 0.0;
9879          target: "base0";
9880       }
9881     }
9882   }
9883
9884 ///////////////////////////////////////////////////////////////////////////////
9885    group { name: "elm/photo/base/default";
9886       images {
9887          image: "frame_1.png" COMP;
9888          image: "frame_2.png" COMP;
9889          image: "dia_grad.png" COMP;
9890          image: "head.png" COMP;
9891       }
9892       parts {
9893          part { name: "base0";
9894             mouse_events:  0;
9895             description { state: "default" 0.0;
9896                image.normal: "dia_grad.png";
9897                rel1.to: "over";
9898                rel2.to: "over";
9899                fill {
9900                   smooth: 0;
9901                   size {
9902                      relative: 0.0 1.0;
9903                      offset: 64 0;
9904                   }
9905                }
9906             }
9907          }
9908          part { name: "base";
9909             mouse_events:  0;
9910             description { state:    "default" 0.0;
9911                image {
9912                   normal: "frame_2.png";
9913                   border: 5 5 32 26;
9914                   middle: 0;
9915                }
9916                fill.smooth : 0;
9917             }
9918          }
9919          part { name: "head";
9920             mouse_events:  0;
9921             description { state:    "default" 0.0;
9922                rel1.offset: 4 4;
9923                rel2.offset: -5 -5;
9924                aspect: 1.0 1.0;
9925                aspect_preference: BOTH;
9926                image.normal: "head.png";
9927             }
9928          }
9929          part { name: "clip";
9930             mouse_events:  0;
9931             type: RECT;
9932             description { state:    "default" 0.0;
9933                rel1.offset: 4 4;
9934                rel2.offset: -5 -5;
9935                color: 255 255 255 255;
9936             }
9937          }
9938          part { name: "elm.swallow.content";
9939             type: SWALLOW;
9940             clip_to: "clip";
9941             description { state: "default" 0.0;
9942                rel1.offset: 4 4;
9943                rel2.offset: -5 -5;
9944             }
9945          }
9946          part { name: "over";
9947             mouse_events:  0;
9948             description { state:    "default" 0.0;
9949                rel1.offset: 4 4;
9950                rel2.offset: -5 -5;
9951                image {
9952                   normal: "frame_1.png";
9953                   border: 2 2 28 22;
9954                   middle: 0;
9955                }
9956                fill.smooth: 0;
9957             }
9958          }
9959      }
9960    }
9961
9962    group { name: "elm/photo/base/shadow";
9963               images {
9964                         image: "shadow.png" COMP;
9965                         image: "black.png" COMP;
9966               }
9967               script {
9968               public message(Msg_Type:type, id, ...) {
9969                 if( (type==MSG_INT_SET) && (id==0) )
9970                 {
9971                     new w;
9972                     new h;
9973
9974                     custom_state(PART:"size", "default", 0.0);
9975
9976                     w = getarg(2);
9977                     h = getarg(3);
9978                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9979                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9980                     set_state(PART:"size", "custom", 0.0);
9981                 }
9982             }
9983             }
9984               parts {
9985               part { name: "size";
9986                     type: SWALLOW;
9987                     description { state: "default" 0.0;
9988                             rel1.relative: 0.5 0.5;
9989                             rel2.relative: 0.5 0.5;
9990                     }
9991                  }
9992               part {
9993                 name: "shadow";
9994                 type: IMAGE;
9995                 repeat_events: 1;
9996                 description {
9997                     state: "default" 0.0;
9998                     rel1.to: "size";
9999                     rel2.to: "size";
10000                     rel1.relative: -0.06 -0.06;
10001                     rel2.relative: 1.07 1.07;
10002                     image.normal: "shadow.png";
10003                 }
10004             }
10005   
10006
10007                  part { name: "elm.swallow.content";
10008                     type: SWALLOW;
10009                     description { state: "default" 0.0;
10010                     rel1.offset: 3 3;
10011                     rel2.offset: -3 -3;
10012                             fixed: 1 1;
10013                     }
10014                  }
10015      
10016                  part {
10017                 name: "border";
10018                 type: IMAGE;
10019                 repeat_events: 1;
10020                 description {
10021                     state: "default" 0.0;
10022                     visible: 1;
10023                     color: 0 0 0 255;
10024                     rel1.to: "size";
10025                     rel2.to: "size";
10026                     image.normal: "black.png";
10027                     image.border: 1 1 1 1;
10028                     image.middle: 0;
10029                 }
10030             }
10031                  }
10032    }
10033
10034 ///////////////////////////////////////////////////////////////////////////////
10035    group { name: "elm/thumb/base/default";
10036       images {
10037          image: "frame_1.png" COMP;
10038          image: "frame_2.png" COMP;
10039          image: "dia_grad.png" COMP;
10040          image: "busy-1.png" COMP;
10041          image: "busy-2.png" COMP;
10042          image: "busy-3.png" COMP;
10043          image: "busy-4.png" COMP;
10044          image: "busy-5.png" COMP;
10045          image: "busy-6.png" COMP;
10046          image: "busy-7.png" COMP;
10047          image: "busy-8.png" COMP;
10048          image: "busy-9.png" COMP;
10049       }
10050       parts {
10051          part { name: "base0";
10052             mouse_events:  0;
10053             description { state:        "default" 0.0;
10054                image.normal: "dia_grad.png";
10055                rel1.to: "over";
10056                rel2.to: "over";
10057                fill {
10058                   smooth: 0;
10059                   size {
10060                      relative: 0.0 1.0;
10061                      offset: 64 0;
10062                   }
10063                }
10064             }
10065          }
10066          part { name: "base";
10067             mouse_events:  0;
10068             description { state:        "default" 0.0;
10069                image {
10070                   normal: "frame_2.png";
10071                   border: 5 5 32 26;
10072                   middle: 0;
10073                }
10074                fill.smooth : 0;
10075             }
10076          }
10077          part { name: "clip";
10078             mouse_events:  0;
10079             type: RECT;
10080             description { state:        "default" 0.0;
10081                rel1.offset: 4 4;
10082                rel2.offset: -5 -5;
10083                color: 255 255 255 255;
10084             }
10085          }
10086          part { name: "elm.swallow.content";
10087             type: SWALLOW;
10088             clip_to: "clip";
10089             description { state:        "default" 0.0;
10090                rel1.offset: 4 4;
10091                rel2.offset: -5 -5;
10092             }
10093          }
10094          part { name: "progress";
10095             mouse_events: 0;
10096
10097             clip_to: "clip";
10098             description { state:        "default" 0.0;
10099                min: 32 32;
10100                max: 32 32;
10101                visible: 0;
10102                aspect: 1.0 1.0;
10103                aspect_preference: BOTH;
10104             }
10105             description { state:        "pulse" 0.0;
10106                inherit: "default" 0.0;
10107                visible: 1;
10108                image {
10109                   normal: "busy-9.png";
10110                   tween:  "busy-1.png";
10111                   tween:  "busy-2.png";
10112                   tween:  "busy-3.png";
10113                   tween:  "busy-4.png";
10114                   tween:  "busy-5.png";
10115                   tween:  "busy-6.png";
10116                   tween:  "busy-7.png";
10117                   tween:  "busy-8.png";
10118                   border: 7 7 7 7;
10119                }
10120             }
10121          }
10122          part { name: "over";
10123             mouse_events:  0;
10124             description { state:        "default" 0.0;
10125                rel1.offset: 4 4;
10126                rel2.offset: -5 -5;
10127                image {
10128                   normal: "frame_1.png";
10129                   border: 2 2 28 22;
10130                   middle: 0;
10131                }
10132                fill.smooth: 0;
10133             }
10134          }
10135          programs {
10136             program { name: "start_pulse";
10137                signal: "elm,state,pulse,start";
10138                source: "elm";
10139                action: STATE_SET "pulse" 0.0;
10140                target: "progress";
10141                transition: LINEAR 0.5;
10142                after: "start_pulse";
10143             }
10144             program { name: "stop_pulse";
10145                signal: "elm,state,pulse,stop";
10146                source: "elm";
10147                action: STATE_SET "default" 0.0;
10148                target: "progress";
10149             }
10150          }
10151       }
10152    }
10153
10154    group { name: "elm/thumb/base/noframe";
10155       images {
10156          image: "busy-1.png" COMP;
10157          image: "busy-2.png" COMP;
10158          image: "busy-3.png" COMP;
10159          image: "busy-4.png" COMP;
10160          image: "busy-5.png" COMP;
10161          image: "busy-6.png" COMP;
10162          image: "busy-7.png" COMP;
10163          image: "busy-8.png" COMP;
10164          image: "busy-9.png" COMP;
10165       }
10166       parts {
10167          part { name: "elm.swallow.content";
10168             type: SWALLOW;
10169             description { state: "default" 0.0;
10170                rel1.offset: 4 4;
10171                rel2.offset: -5 -5;
10172             }
10173          }
10174          part { name: "progress";
10175             mouse_events: 0;
10176             description { state:        "default" 0.0;
10177                min: 32 32;
10178                max: 32 32;
10179                visible: 0;
10180                aspect: 1.0 1.0;
10181                aspect_preference: BOTH;
10182             }
10183             description { state:        "pulse" 0.0;
10184                inherit: "default" 0.0;
10185                visible: 1;
10186                image {
10187                   normal: "busy-9.png";
10188                   tween:  "busy-1.png";
10189                   tween:  "busy-2.png";
10190                   tween:  "busy-3.png";
10191                   tween:  "busy-4.png";
10192                   tween:  "busy-5.png";
10193                   tween:  "busy-6.png";
10194                   tween:  "busy-7.png";
10195                   tween:  "busy-8.png";
10196                   border: 7 7 7 7;
10197                }
10198             }
10199          }
10200          programs {
10201             program { name: "start_pulse";
10202                signal: "elm,state,pulse,start";
10203                source: "elm";
10204                action: STATE_SET "pulse" 0.0;
10205                target: "progress";
10206                transition: LINEAR 0.5;
10207                after: "start_pulse";
10208             }
10209             program { name: "stop_pulse";
10210                signal: "elm,state,pulse,stop";
10211                source: "elm";
10212                action: STATE_SET "default" 0.0;
10213                target: "progress";
10214             }
10215          }
10216       }
10217    }
10218
10219
10220 ///////////////////////////////////////////////////////////////////////////////
10221    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10222       images.image: "icon_home.png" COMP; parts { part { name: "base";
10223          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10224             image.normal: "icon_home.png"; } } } }
10225    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10226       images.image: "icon_close.png" COMP; parts { part { name: "base";
10227          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10228             image.normal: "icon_close.png"; } } } }
10229    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10230       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10231          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10232             image.normal: "icon_apps.png"; } } } }
10233    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10234       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10235          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10236             image.normal: "icon_arrow_up.png"; } } } }
10237    group { name: "elm/icon/arrow_down/default";
10238            alias: "elm/icon/toolbar/arrow_down/default";
10239            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10240       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10241          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10242             image.normal: "icon_arrow_down.png"; } } } }
10243    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10244       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10245          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10246             image.normal: "icon_arrow_left.png"; } } } }
10247    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10248       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10249          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10250             image.normal: "icon_arrow_right.png"; } } } }
10251    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10252       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10253          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10254             image.normal: "icon_chat.png"; } } } }
10255    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10256       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10257          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10258             image.normal: "icon_clock.png"; } } } }
10259    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10260       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10261          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10262             image.normal: "icon_delete.png"; } } } }
10263    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10264       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10265          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10266             image.normal: "icon_edit.png"; } } } }
10267    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10268       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10269          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10270             image.normal: "icon_refresh.png"; } } } }
10271    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10272       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10273          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10274             image.normal: "icon_folder.png"; } } } }
10275    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10276       images.image: "icon_file.png" COMP; parts { part { name: "base";
10277          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10278             image.normal: "icon_file.png"; } } } }
10279 ///////////////////////////////////////////////////////////////////////////////
10280    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10281       images.image: "icon_home.png" COMP; parts { part { name: "base";
10282          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10283             image.normal: "icon_home.png"; } } } }
10284    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10285       images.image: "icon_close.png" COMP; parts { part { name: "base";
10286          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10287             image.normal: "icon_close.png"; } } } }
10288    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10289       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10290          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10291             image.normal: "icon_apps.png"; } } } }
10292    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10293       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10294          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10295             image.normal: "icon_arrow_up.png"; } } } }
10296    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10297       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10298          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10299             image.normal: "icon_arrow_down.png"; } } } }
10300    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10301       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10302          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10303             image.normal: "icon_arrow_left.png"; } } } }
10304    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10305       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10306          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10307             image.normal: "icon_arrow_right.png"; } } } }
10308    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10309       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10310          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10311             image.normal: "icon_chat.png"; } } } }
10312    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10313       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10314          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10315             image.normal: "icon_clock.png"; } } } }
10316    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10317       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10318          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10319             image.normal: "icon_delete.png"; } } } }
10320    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10321       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10322          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10323             image.normal: "icon_edit.png"; } } } }
10324    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10325       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10326          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10327             image.normal: "icon_refresh.png"; } } } }
10328    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10329       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10330          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10331             image.normal: "icon_folder.png"; } } } }
10332    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10333       images.image: "icon_file.png" COMP; parts { part { name: "base";
10334          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10335             image.normal: "icon_file.png"; } } } }
10336
10337 ///////////////////////////////////////////////////////////////////////////////
10338    group { name: "elm/toolbar/base/default";
10339       images {
10340          image: "bt_dis_base.png" COMP;
10341          image: "bt_dis_hilight.png" COMP;
10342          image: "bt_dis_shine.png" COMP;
10343          image: "icon_left_arrow.png" COMP;
10344          image: "icon_right_arrow.png" COMP;
10345       }
10346       parts {
10347          part { name: "base";
10348             mouse_events: 1;
10349             description { state: "default" 0.0;
10350                rel1 {
10351                   relative: 0.0 0.0;
10352                   offset: 2 2;
10353                }
10354                rel2.offset: -3 -3;
10355                image {
10356                   normal: "bt_dis_base.png";
10357                   border: 4 4 4 4;
10358                }
10359                image.middle: SOLID;
10360             }
10361          }
10362          part { name: "clipper";
10363             type: RECT;
10364             mouse_events: 0;
10365             description {
10366                state: "default" 0.0;
10367                rel1 {
10368                   to: "base";
10369                   offset: 2 2;
10370                }
10371                rel2 {
10372                   to: "base";
10373                   offset: -3 -3;
10374                }
10375             }
10376          }
10377          part { name: "elm.swallow.content";
10378             clip_to: "clipper";
10379             type: SWALLOW;
10380             description {
10381                state: "default" 0.0;
10382                rel1.to: "clipper";
10383                rel2.to: "clipper";
10384             }
10385          }
10386          part { name: "over2";
10387             mouse_events: 0;
10388             description { state: "default" 0.0;
10389                rel1.to: "base";
10390                rel2.to: "base";
10391                image {
10392                   normal: "bt_dis_shine.png";
10393                   border: 4 4 4 4;
10394                }
10395             }
10396          }
10397          part { name: "over1";
10398             mouse_events: 0;
10399             description { state: "default" 0.0;
10400                rel1.to: "base";
10401                rel2.to: "base";
10402                rel2.relative: 1.0 0.5;
10403                image {
10404                   normal: "bt_dis_hilight.png";
10405                   border: 4 4 4 0;
10406                }
10407                color: 255 255 255 128;
10408             }
10409          }
10410          part { name: "left_arrow";
10411             mouse_events: 0;
10412             description { state: "default" 0.0;
10413                image.normal: "icon_left_arrow.png";
10414                aspect: 1.0 1.0;
10415                aspect_preference: VERTICAL;
10416                align: 0.0 0.5;
10417                min: 32 32;
10418                max: 32 32;
10419             }
10420             description { state: "hidden" 0.0;
10421                inherit: "default" 0.0;
10422                visible: 0;
10423                color: 255 255 255 0;
10424             }
10425          }
10426          part { name: "right_arrow";
10427             mouse_events: 0;
10428             description { state: "default" 0.0;
10429                image.normal: "icon_right_arrow.png";
10430                aspect: 1.0 1.0;
10431                aspect_preference: VERTICAL;
10432                align: 1.0 0.5;
10433                min: 32 32;
10434                max: 32 32;
10435             }
10436             description { state: "hidden" 0.0;
10437                inherit: "default" 0.0;
10438                visible: 0;
10439                color: 255 255 255 0;
10440             }
10441          }
10442          part { name: "event";
10443             type: RECT;
10444             mouse_events: 1;
10445             repeat_events: 1;
10446             description { state: "default" 0.0;
10447                color: 0 0 0 0;
10448             }
10449          }
10450       }
10451       programs {
10452          program { name: "sb_hbar_show";
10453             signal: "elm,action,show,hbar";
10454             source: "elm";
10455             action:  STATE_SET "default" 0.0;
10456             transition: LINEAR 0.5;
10457             target: "left_arrow";
10458             target: "right_arrow";
10459          }
10460          program { name: "sb_hbar_hide";
10461             signal: "elm,action,hide,hbar";
10462             source: "elm";
10463             action:  STATE_SET "hidden" 0.0;
10464             target: "left_arrow";
10465             target: "right_arrow";
10466             transition: LINEAR 0.5;
10467          }
10468       }
10469    }
10470
10471    group { name: "elm/toolbar/item/default";
10472        images {
10473            image: "toolbar_sel.png" COMP;
10474        }
10475        data.item: "transition_animation_on" "1";
10476        parts {
10477            part { name: "label2";
10478                type: TEXT;
10479                mouse_events:  0;
10480                scale: 1;
10481                clip_to: "elm.text.clipper";
10482                description { state: "default" 0.0;
10483                    align: 0.5 1.0;
10484                    fixed: 0 1;
10485                    rel1.to: "elm.text";
10486                    rel2.to: "elm.text";
10487                    color: 0 0 0 255;
10488                    text {
10489                        font: "Sans";
10490                        text_source: "elm.text";
10491                        size: 10;
10492                        min: 1 1;
10493                        align: 0.5 0.5;
10494                        text_class: "toolbar_item";
10495                    }
10496                }
10497                description { state: "selected" 0.0;
10498                    inherit: "default" 0.0;
10499                    visible: 0;
10500                }
10501                description { state: "disabled" 0.0;
10502                    inherit: "default" 0.0;
10503                    color: 0 0 0 128;
10504                    color3: 0 0 0 0;
10505                }
10506                description { state: "disabled_visible" 0.0;
10507                    inherit: "default" 0.0;
10508                    color: 0 0 0 128;
10509                    color3: 0 0 0 0;
10510                    visible: 1;
10511                    text.min: 1 1;
10512                }
10513            }
10514            part { name: "label2_new";
10515                type: TEXT;
10516                mouse_events:  0;
10517                scale: 1;
10518                clip_to: "elm.text_new.clipper";
10519                description { state: "default" 0.0;
10520                    align: 0.5 1.0;
10521                    fixed: 0 1;
10522                    rel1.to: "elm.text_new";
10523                    rel2.to: "elm.text_new";
10524                    color: 0 0 0 255;
10525                    text {
10526                        font: "Sans";
10527                        text_source: "elm.text_new";
10528                        size: 10;
10529                        min: 1 1;
10530                        align: 0.5 0.5;
10531                        text_class: "toolbar_item";
10532                    }
10533                }
10534                description { state: "selected" 0.0;
10535                    inherit: "default" 0.0;
10536                    visible: 0;
10537                }
10538                description { state: "disabled" 0.0;
10539                    inherit: "default" 0.0;
10540                    color: 0 0 0 128;
10541                    color3: 0 0 0 0;
10542                }
10543                description { state: "disabled_visible" 0.0;
10544                    inherit: "default" 0.0;
10545                    color: 0 0 0 128;
10546                    color3: 0 0 0 0;
10547                    visible: 1;
10548                    text.min: 1 1;
10549                }
10550            }
10551            part { name: "bg";
10552                mouse_events: 0;
10553                description { state: "default" 0.0;
10554                    visible: 0;
10555                    color: 255 255 255 0;
10556                    image {
10557                        normal: "toolbar_sel.png";
10558                        border: 3 3 0 0;
10559                    }
10560                    image.middle: SOLID;
10561                    fill.smooth: 0;
10562                }
10563                description { state: "selected" 0.0;
10564                    inherit: "default" 0.0;
10565                    visible: 1;
10566                    color: 255 255 255 255;
10567                }
10568                description { state: "disabled" 0.0;
10569                    inherit: "default" 0.0;
10570                    visible: 0;
10571                    color: 255 255 255 0;
10572                }
10573            }
10574            part { name: "elm.swallow.icon";
10575                type: SWALLOW;
10576                clip_to: "elm.icon.clipper";
10577                description { state: "default" 0.0;
10578                    align: 0.5 0.5;
10579                    fixed: 0 0;
10580                    rel1 {
10581                        relative: 0.0 0.0;
10582                        offset: 2 2;
10583                    }
10584                    rel2 {
10585                        to_y: "elm.text";
10586                        relative: 1.0 0.0;
10587                        offset: -3 -1;
10588                    }
10589                    color: 0 0 0 0;
10590                }
10591            }
10592            part { name: "elm.swallow.icon_new";
10593                type: SWALLOW;
10594                clip_to: "elm.icon_new.clipper";
10595                description { state: "default" 0.0;
10596                    align: 0.5 0.5;
10597                    fixed: 0 0;
10598                    rel1 {
10599                        relative: 0.0 0.0;
10600                        offset: 2 2;
10601                    }
10602                    rel2 {
10603                        to_y: "elm.text_new";
10604                        relative: 1.0 0.0;
10605                        offset: -3 -1;
10606                    }
10607                    color: 0 0 0 0;
10608                }
10609            }
10610            part { name: "elm.text";
10611                type: TEXT;
10612                effect: SOFT_SHADOW;
10613                mouse_events:  0;
10614                scale: 1;
10615                clip_to: "elm.text.clipper";
10616                description { state: "default" 0.0;
10617                    align: 0.5 1.0;
10618                    fixed: 0 1;
10619                    rel1 {
10620                        relative: 0.0 1.0;
10621                        offset:   0 -1;
10622                    }
10623                    rel2 {
10624                        relative: 1.0 1.0;
10625                        offset:   -1 -1;
10626                    }
10627                    visible: 0;
10628                    color: 224 224 224 255;
10629                    color3: 0 0 0 32;
10630                    text {
10631                        font: "Sans:style=Bold";
10632                        size: 10;
10633                        min: 1 1;
10634                        align: 0.5 0.5;
10635                        text_class: "toolbar_item";
10636                    }
10637                }
10638                description { state: "selected" 0.0;
10639                    inherit: "default" 0.0;
10640                    visible: 1;
10641                }
10642                description { state: "visible" 0.0;
10643                    inherit: "default" 0.0;
10644                    visible: 1;
10645                    text.min: 1 1;
10646                }
10647                description { state: "disabled" 0.0;
10648                    inherit: "default" 0.0;
10649                    color: 0 0 0 128;
10650                    color3: 0 0 0 0;
10651                }
10652                description { state: "disabled_visible" 0.0;
10653                    inherit: "default" 0.0;
10654                    color: 0 0 0 128;
10655                    color3: 0 0 0 0;
10656                    visible: 1;
10657                    text.min: 1 1;
10658                }
10659            }
10660            part { name: "elm.text_new";
10661                type: TEXT;
10662                effect: SOFT_SHADOW;
10663                mouse_events:  0;
10664                clip_to: "elm.text_new.clipper";
10665                scale: 1;
10666                description { state: "default" 0.0;
10667                    align: 0.5 1.0;
10668                    fixed: 0 1;
10669                    rel1 {
10670                        relative: 0.0 1.0;
10671                        offset:   0 -1;
10672                    }
10673                    rel2 {
10674                        relative: 1.0 1.0;
10675                        offset:   -1 -1;
10676                    }
10677                    visible: 0;
10678                    color: 224 224 224 255;
10679                    color3: 0 0 0 32;
10680                    text {
10681                        font: "Sans:style=Bold";
10682                        size: 10;
10683                        min: 1 1;
10684                        align: 0.5 0.5;
10685                        text_class: "toolbar_item";
10686                    }
10687                }
10688                description { state: "selected" 0.0;
10689                    inherit: "default" 0.0;
10690                    visible: 1;
10691                }
10692                description { state: "visible" 0.0;
10693                    inherit: "default" 0.0;
10694                    visible: 1;
10695                    text.min: 1 1;
10696                }
10697                description { state: "disabled" 0.0;
10698                    inherit: "default" 0.0;
10699                    color: 0 0 0 128;
10700                    color3: 0 0 0 0;
10701                }
10702                description { state: "disabled_visible" 0.0;
10703                    inherit: "default" 0.0;
10704                    color: 0 0 0 128;
10705                    color3: 0 0 0 0;
10706                    visible: 1;
10707                    text.min: 1 1;
10708                }
10709            }
10710            part { name: "elm.text.clipper";
10711                type: RECT;
10712                description { state: "default" 0.0;
10713                    color: 255 255 255 255;
10714                }
10715                description { state: "animation" 0.0;
10716                    color: 255 255 255 0;
10717                }
10718            }
10719            part { name: "elm.text_new.clipper";
10720                type: RECT;
10721                description { state: "default" 0.0;
10722                    color: 255 255 255 0;
10723                }
10724                description { state: "animation" 0.0;
10725                    color: 255 255 255 255;
10726                }
10727            }
10728            part { name: "elm.icon.clipper";
10729                type: RECT;
10730                description { state: "default" 0.0;
10731                    color: 255 255 255 255;
10732                }
10733                description { state: "animation" 0.0;
10734                    color: 255 255 255 0;
10735                }
10736            }
10737            part { name: "elm.icon_new.clipper";
10738                type: RECT;
10739                description { state: "default" 0.0;
10740                    color: 255 255 255 0;
10741                }
10742                description { state: "animation" 0.0;
10743                    color: 255 255 255 255;
10744                }
10745            }
10746            part { name: "event";
10747                type: RECT;
10748                mouse_events: 1;
10749                ignore_flags: ON_HOLD;
10750                description { state: "default" 0.0;
10751                    color: 0 0 0 0;
10752                }
10753            }
10754        }
10755        programs {
10756            program { name: "go_active";
10757                signal:  "elm,state,selected";
10758                source:  "elm";
10759                action:  STATE_SET "selected" 0.0;
10760                target:  "bg";
10761                target:  "elm.text";
10762                target:  "label2";
10763                target:  "elm.text_new";
10764                target:  "label2_new";
10765                transition: LINEAR 0.2;
10766            }
10767            program { name: "go_passive";
10768                signal:  "elm,state,unselected";
10769                source:  "elm";
10770                action:  STATE_SET "default" 0.0;
10771                target:  "bg";
10772                target:  "elm.text";
10773                target:  "label2";
10774                target:  "elm.text_new";
10775                target:  "label2_new";
10776                transition: LINEAR 0.1;
10777            }
10778            program { name: "go";
10779                signal:  "mouse,up,1";
10780                source:  "event";
10781                action:  SIGNAL_EMIT "elm,action,click" "elm";
10782            }
10783            program { name: "mouse,in";
10784               signal:  "mouse,in";
10785               source:  "event";
10786               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10787            }
10788            program { name: "mouse,out";
10789               signal:  "mouse,out";
10790               source:  "event";
10791               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10792            }
10793            program { name: "disable";
10794                signal: "elm,state,disabled";
10795                source: "elm";
10796                action: STATE_SET "disabled" 0.0;
10797                target: "label2";
10798                target: "label2_new";
10799                target: "bg";
10800                after: "disable_text";
10801            }
10802            program { name: "disable_text";
10803                script {
10804                    new st[31];
10805                    new Float:vl;
10806                    get_state(PART:"elm.text", st, 30, vl);
10807                    if (!strcmp(st, "visible"))
10808                    {
10809                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10810                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10811                    }
10812                    else
10813                    {
10814                       set_state(PART:"elm.text", "disabled", 0.0);
10815                       set_state(PART:"elm.text_new", "disabled", 0.0);
10816                    }
10817                }
10818            }
10819            program { name: "enable";
10820                signal: "elm,state,enabled";
10821                source: "elm";
10822                action: STATE_SET "default" 0.0;
10823                target: "label2";
10824                target: "label2_new";
10825                target: "bg";
10826                after: "enable_text";
10827            }
10828            program { name: "enable_text";
10829                script {
10830                    new st[31];
10831                    new Float:vl;
10832                    get_state(PART:"elm.text", st, 30, vl);
10833                    if (!strcmp(st, "disabled_visible"))
10834                    {
10835                       set_state(PART:"elm.text", "visible", 0.0);
10836                       set_state(PART:"elm.text_new", "visible", 0.0);
10837                    }
10838                    else
10839                    {
10840                       set_state(PART:"elm.text", "default", 0.0);
10841                       set_state(PART:"elm.text_new", "default", 0.0);
10842                    }
10843                }
10844            }
10845            program { name: "label_set,animation,forward";
10846               signal: "elm,state,label_set,forward";
10847               source: "elm";
10848               after: "label_set,animation";
10849            }
10850            program { name: "label_set,animation,backward";
10851               signal: "elm,state,label_set,backward";
10852               source: "elm";
10853               after: "label_set,animation";
10854            }
10855            program { name: "label_set,animation";
10856               signal: "elm,state,label_set";
10857               source: "elm";
10858               action: STATE_SET "animation" 0.0;
10859               target: "elm.text.clipper";
10860               target: "elm.text_new.clipper";
10861               transition: LINEAR 0.2;
10862               after: "label_set,animation,done";
10863            }
10864            program { name: "label_set,animation,done";
10865               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10866            }
10867            program { name: "label,reset";
10868               signal: "elm,state,label,reset";
10869               source: "elm";
10870               action: STATE_SET "default" 0.0;
10871               target: "elm.text.clipper";
10872               target: "elm.text_new.clipper";
10873            }
10874            program { name: "icon_set,animation,forward";
10875               signal: "elm,state,icon_set,forward";
10876               source: "elm";
10877               after: "icon_set,animation";
10878            }
10879            program { name: "icon_set,animation,backward";
10880               signal: "elm,state,icon_set,backward";
10881               source: "elm";
10882               after: "icon_set,animation";
10883            }
10884            program { name: "icon_set,animation";
10885               signal: "elm,state,icon_set";
10886               source: "elm";
10887               action: STATE_SET "animation" 0.0;
10888               target: "elm.icon.clipper";
10889               target: "elm.icon_new.clipper";
10890               transition: LINEAR 0.2;
10891               after: "icon_set,animation,done";
10892            }
10893            program { name: "icon_set,animation,done";
10894               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10895            }
10896            program { name: "icon,reset";
10897               signal: "elm,state,icon,reset";
10898               source: "elm";
10899               action: STATE_SET "default" 0.0;
10900               target: "elm.icon.clipper";
10901               target: "elm.icon_new.clipper";
10902            }
10903        }
10904    }
10905
10906    group { name: "elm/toolbar/separator/default";
10907       images {
10908          image: "toolbar_separator_v.png" COMP;
10909       }
10910       parts {
10911          part { name: "separator"; // separator group
10912             description { state: "default" 0.0;
10913                min: 2 2;
10914                max: 2 9999;
10915                rel1.offset: 4 4;
10916                rel2.offset: -5 -5;
10917                image {
10918                   normal: "toolbar_separator_v.png";
10919                }
10920                fill {
10921                   smooth: 0;
10922                }
10923             }
10924          }
10925       }
10926    }
10927
10928    ///////////////////////////////////////////////////////////////////////////////
10929    group { name: "elm/notify/block_events/default";
10930        parts {
10931            part { name: "block_events";
10932                type: RECT;
10933                description { state: "default" 0.0;
10934                    color: 0 0 0 64;
10935                    visible: 1;
10936                }
10937            }
10938        }
10939            programs {
10940                    program {
10941                                 name: "block_clicked";
10942                                 signal: "mouse,clicked,1";
10943                                 source: "block_events";
10944                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10945                    }
10946            }
10947    }
10948    group { name: "elm/notify/top/default";
10949        //this group is a design similar to the inwin group
10950        images {
10951            image: "shad_circ.png" COMP;
10952            image: "bt_dis_base.png" COMP;
10953            image: "bt_dis_hilight.png" COMP;
10954        }
10955        parts {
10956            part { name: "base";
10957                type: RECT;
10958                mouse_events: 0;
10959                repeat_events: 1;
10960                description { state: "default" 0.0;
10961                    color: 0 0 0 0;
10962                    rel1.offset: 10 10;
10963                    rel2.offset: -10 -10;
10964                    rel1.relative: 0.0 -1.0;
10965                    rel2.relative: 1.0 0.0;
10966                }
10967                description { state: "visible" 0.0;
10968                    inherit: "default" 0.0;
10969                    color: 0 0 0 64;
10970                    rel1.relative: 0.0 0.0;
10971                    rel2.relative: 1.0 1.0;
10972                }
10973            }
10974            part { name: "shad";
10975                mouse_events:  0;
10976                description { state: "default" 0.0;
10977                    image.normal: "shad_circ.png";
10978                    rel1.to: "elm.swallow.content";
10979                    rel1.offset: -64 -64;
10980                    rel2.to: "elm.swallow.content";
10981                    rel2.offset: 63 63;
10982                    fill.smooth: 0;
10983                }
10984            }
10985            part { name: "pop";
10986                mouse_events: 1;
10987                description { state: "default" 0.0;
10988                    rel1.to: "elm.swallow.content";
10989                    rel1.offset: -5 -5;
10990                    rel2.to: "elm.swallow.content";
10991                    rel2.offset: 4 4;
10992                    image {
10993                        normal: "bt_dis_base.png";
10994                        border: 4 4 4 4;
10995                    }
10996                    image.middle: SOLID;
10997                }
10998            }
10999            part { name: "popover";
11000                mouse_events: 0;
11001                description { state: "default" 0.0;
11002                    rel1.to: "pop";
11003                    rel2.to: "pop";
11004                    rel2.relative: 1.0 0.5;
11005                    image {
11006                        normal: "bt_dis_hilight.png";
11007                        border: 4 4 4 0;
11008                    }
11009                }
11010            }
11011            part { name: "elm.swallow.content";
11012                type: SWALLOW;
11013                description { state: "default" 0.0;
11014                    rel1.to: "base";
11015                    rel2.to: "base";
11016                }
11017            }
11018        }
11019        programs {
11020            program { name: "show";
11021                signal: "elm,action,show";
11022                source: "elm";
11023                action: STATE_SET "visible" 0.0;
11024                target: "base";
11025            }
11026            program { name: "show_2";
11027                 signal: "show";
11028                 action: STATE_SET "default" 0.0;
11029                 target: "base";
11030                 after: "show_3";
11031            }
11032            program { name: "show_3";
11033                 signal: "show";
11034                 action: STATE_SET "visible" 0.0;
11035                 target: "base";
11036                 transition: LINEAR 0.5;
11037            }
11038            program { name: "hide";
11039                signal: "elm,action,hide";
11040                source: "elm";
11041                action: STATE_SET "default" 0.0;
11042                target: "base";
11043            }
11044        }
11045    }
11046    group { name: "elm/notify/center/default";
11047        //this group is a design similar to the inwin group
11048        images {
11049            image: "bt_dis_base.png" COMP;
11050        }
11051        parts {
11052            part { name: "base";
11053                type: RECT;
11054                mouse_events: 0;
11055                repeat_events: 1;
11056                description { state: "default" 0.0;
11057                    color: 0 0 0 0;
11058                    rel1.relative: 0.0 0.0;
11059                    rel2.relative: 1.0 1.0;
11060                }
11061            }
11062            part { name: "pop";
11063                mouse_events: 1;
11064                description { state: "default" 0.0;
11065                    rel1.to: "elm.swallow.content";
11066                    rel1.offset: -5 -5;
11067                    rel2.to: "elm.swallow.content";
11068                    rel2.offset: 4 4;
11069                    image {
11070                        normal: "bt_dis_base.png";
11071                        border: 4 4 4 4;
11072                    }
11073                }
11074            }
11075            part { name: "elm.swallow.content";
11076                type: SWALLOW;
11077                description { state: "default" 0.0;
11078                    rel1.to: "base";
11079                    rel2.to: "base";
11080                }
11081            }
11082        }
11083        programs {
11084            program { name: "show";
11085                signal: "elm,action,show";
11086                source: "elm";
11087                action: STATE_SET "default" 0.0;
11088                target: "base";
11089            }
11090            program { name: "show_2";
11091                 signal: "show";
11092                 action: STATE_SET "default" 0.0;
11093                 target: "base";
11094            }
11095            program { name: "hide";
11096                signal: "elm,action,hide";
11097                source: "elm";
11098                action: STATE_SET "default" 0.0;
11099                target: "base";
11100            }
11101        }
11102    }
11103    group { name: "elm/notify/bottom/default";
11104        //this group is a design similar to the inwin group
11105        images {
11106            image: "shad_circ.png" COMP;
11107            image: "bt_dis_base.png" COMP;
11108            image: "bt_dis_hilight.png" COMP;
11109        }
11110        parts {
11111            part { name: "base";
11112                type: RECT;
11113                mouse_events: 0;
11114                repeat_events: 1;
11115                description { state: "default" 0.0;
11116                    color: 0 0 0 0;
11117                    rel1.offset: 10 10;
11118                    rel2.offset: -10 -10;
11119                    rel1.relative: 0.0 1.0;
11120                    rel2.relative: 1.0 2.0;
11121                }
11122                description { state: "visible" 0.0;
11123                    inherit: "default" 0.0;
11124                    color: 0 0 0 64;
11125                    rel1.relative: 0.0 0.0;
11126                    rel2.relative: 1.0 1.0;
11127                }
11128            }
11129            part { name: "shad";
11130                mouse_events:  0;
11131                description { state: "default" 0.0;
11132                    image.normal: "shad_circ.png";
11133                    rel1.to: "elm.swallow.content";
11134                    rel1.offset: -64 -64;
11135                    rel2.to: "elm.swallow.content";
11136                    rel2.offset: 63 63;
11137                    fill.smooth: 0;
11138                }
11139            }
11140            part { name: "pop";
11141                mouse_events: 1;
11142                description { state: "default" 0.0;
11143                    rel1.to: "elm.swallow.content";
11144                    rel1.offset: -5 -5;
11145                    rel2.to: "elm.swallow.content";
11146                    rel2.offset: 4 4;
11147                    image {
11148                        normal: "bt_dis_base.png";
11149                        border: 4 4 4 4;
11150                    }
11151                    image.middle: SOLID;
11152                }
11153            }
11154            part { name: "popover";
11155                mouse_events: 0;
11156                description { state: "default" 0.0;
11157                    rel1.to: "pop";
11158                    rel2.to: "pop";
11159                    rel2.relative: 1.0 0.5;
11160                    image {
11161                        normal: "bt_dis_hilight.png";
11162                        border: 4 4 4 0;
11163                    }
11164                }
11165            }
11166            part { name: "elm.swallow.content";
11167                type: SWALLOW;
11168                description { state: "default" 0.0;
11169                    rel1.to: "base";
11170                    rel2.to: "base";
11171                }
11172            }
11173        }
11174        programs {
11175            program { name: "show";
11176                signal: "elm,action,show";
11177                source: "elm";
11178                action: STATE_SET "visible" 0.0;
11179                target: "base";
11180            }
11181            program { name: "show_2";
11182                 signal: "show";
11183                 action: STATE_SET "default" 0.0;
11184                 target: "base";
11185                 after: "show_3";
11186            }
11187            program { name: "show_3";
11188                 signal: "show";
11189                 action: STATE_SET "visible" 0.0;
11190                 target: "base";
11191                 transition: LINEAR 0.5;
11192            }
11193            program { name: "hide";
11194                signal: "elm,action,hide";
11195                source: "elm";
11196                action: STATE_SET "default" 0.0;
11197                target: "base";
11198            }
11199        }
11200    }
11201    group { name: "elm/notify/left/default";
11202        //this group is a design similar to the inwin group
11203        images {
11204            image: "shad_circ.png" COMP;
11205            image: "bt_dis_base.png" COMP;
11206            image: "bt_dis_hilight.png" COMP;
11207        }
11208        parts {
11209            part { name: "base";
11210                type: RECT;
11211                mouse_events: 0;
11212                repeat_events: 1;
11213                description { state: "default" 0.0;
11214                    color: 0 0 0 0;
11215                    rel1.offset: 10 10;
11216                    rel2.offset: -10 -10;
11217                    rel1.relative: -1.0 0.0;
11218                    rel2.relative: 0.0 1.0;
11219                }
11220                description { state: "visible" 0.0;
11221                    inherit: "default" 0.0;
11222                    color: 0 0 0 64;
11223                    rel1.relative: 0.0 0.0;
11224                    rel2.relative: 1.0 1.0;
11225                }
11226            }
11227            part { name: "shad";
11228                mouse_events:  0;
11229                description { state: "default" 0.0;
11230                    image.normal: "shad_circ.png";
11231                    rel1.to: "elm.swallow.content";
11232                    rel1.offset: -64 -64;
11233                    rel2.to: "elm.swallow.content";
11234                    rel2.offset: 63 63;
11235                    fill.smooth: 0;
11236                }
11237            }
11238            part { name: "pop";
11239                mouse_events: 1;
11240                description { state: "default" 0.0;
11241                    rel1.to: "elm.swallow.content";
11242                    rel1.offset: -5 -5;
11243                    rel2.to: "elm.swallow.content";
11244                    rel2.offset: 4 4;
11245                    image {
11246                        normal: "bt_dis_base.png";
11247                        border: 4 4 4 4;
11248                    }
11249                    image.middle: SOLID;
11250                }
11251            }
11252            part { name: "popover";
11253                mouse_events: 0;
11254                description { state: "default" 0.0;
11255                    rel1.to: "pop";
11256                    rel2.to: "pop";
11257                    rel2.relative: 1.0 0.5;
11258                    image {
11259                        normal: "bt_dis_hilight.png";
11260                        border: 4 4 4 0;
11261                    }
11262                }
11263            }
11264            part { name: "elm.swallow.content";
11265                type: SWALLOW;
11266                description { state: "default" 0.0;
11267                    rel1.to: "base";
11268                    rel2.to: "base";
11269                }
11270            }
11271        }
11272        programs {
11273            program { name: "show";
11274                signal: "elm,action,show";
11275                source: "elm";
11276                action: STATE_SET "visible" 0.0;
11277                target: "base";
11278            }
11279            program { name: "show_2";
11280                signal: "show";
11281                action: STATE_SET "default" 0.0;
11282                target: "base";
11283                after: "show_3";
11284            }
11285            program { name: "show_3";
11286                signal: "show";
11287                action: STATE_SET "visible" 0.0;
11288                target: "base";
11289                transition: LINEAR 0.5;
11290            }
11291            program { name: "hide";
11292                signal: "elm,action,hide";
11293                source: "elm";
11294                action: STATE_SET "default" 0.0;
11295                target: "base";
11296            }
11297        }
11298    }
11299    group { name: "elm/notify/right/default";
11300        //this group is a design similar to the inwin group
11301        images {
11302            image: "shad_circ.png" COMP;
11303            image: "bt_dis_base.png" COMP;
11304            image: "bt_dis_hilight.png" COMP;
11305        }
11306        parts {
11307            part { name: "base";
11308                type: RECT;
11309                mouse_events: 0;
11310                repeat_events: 1;
11311                 description { state: "default" 0.0;
11312                    color: 0 0 0 0;
11313                    rel1.offset: 10 10;
11314                    rel2.offset: -10 -10;
11315                    rel1.relative: 1.0 0.0;
11316                    rel2.relative: 2.0 1.0;
11317                }
11318                description { state: "visible" 0.0;
11319                    inherit: "default" 0.0;
11320                    color: 0 0 0 64;
11321                    rel1.relative: 0.0 0.0;
11322                    rel2.relative: 1.0 1.0;
11323                }
11324            }
11325            part { name: "shad";
11326                mouse_events:  0;
11327                description { state: "default" 0.0;
11328                    image.normal: "shad_circ.png";
11329                    rel1.to: "elm.swallow.content";
11330                    rel1.offset: -64 -64;
11331                    rel2.to: "elm.swallow.content";
11332                    rel2.offset: 63 63;
11333                    fill.smooth: 0;
11334                }
11335            }
11336            part { name: "pop";
11337                mouse_events: 1;
11338                description { state: "default" 0.0;
11339                    rel1.to: "elm.swallow.content";
11340                    rel1.offset: -5 -5;
11341                    rel2.to: "elm.swallow.content";
11342                    rel2.offset: 4 4;
11343                    image {
11344                        normal: "bt_dis_base.png";
11345                        border: 4 4 4 4;
11346                    }
11347                    image.middle: SOLID;
11348                }
11349            }
11350            part { name: "popover";
11351                mouse_events: 0;
11352                description { state: "default" 0.0;
11353                    rel1.to: "pop";
11354                    rel2.to: "pop";
11355                    rel2.relative: 1.0 0.5;
11356                    image {
11357                        normal: "bt_dis_hilight.png";
11358                        border: 4 4 4 0;
11359                    }
11360                }
11361            }
11362            part { name: "elm.swallow.content";
11363                type: SWALLOW;
11364                description { state: "default" 0.0;
11365                    rel1.to: "base";
11366                    rel2.to: "base";
11367                }
11368            }
11369        }
11370        programs {
11371            program { name: "show";
11372                signal: "elm,action,show";
11373                source: "elm";
11374                action: STATE_SET "visible" 0.0;
11375                target: "base";
11376            }
11377            program { name: "show_2";
11378                signal: "show";
11379                action: STATE_SET "default" 0.0;
11380                target: "base";
11381                after: "show_3";
11382            }
11383            program { name: "show_3";
11384                signal: "show";
11385                action: STATE_SET "visible" 0.0;
11386                target: "base";
11387                transition: LINEAR 0.5;
11388            }
11389            program { name: "hide";
11390                signal: "elm,action,hide";
11391                source: "elm";
11392                action: STATE_SET "default" 0.0;
11393                target: "base";
11394            }
11395        }
11396    }
11397    group { name: "elm/notify/top_left/default";
11398        //this group is a design similar to the inwin group
11399        images {
11400            image: "shad_circ.png" COMP;
11401            image: "bt_dis_base.png" COMP;
11402            image: "bt_dis_hilight.png" COMP;
11403        }
11404        parts {
11405            part { name: "base";
11406                type: RECT;
11407                mouse_events: 0;
11408                repeat_events: 1;
11409                 description { state: "default" 0.0;
11410                    color: 0 0 0 0;
11411                    rel1.offset: 10 10;
11412                    rel2.offset: -10 -10;
11413                    rel1.relative: 0.0 -1.0;
11414                    rel2.relative: 1.0 0.0;
11415                }
11416                description { state: "visible" 0.0;
11417                    inherit: "default" 0.0;
11418                    color: 0 0 0 64;
11419                    rel1.relative: 0.0 0.0;
11420                    rel2.relative: 1.0 1.0;
11421                }
11422            }
11423            part { name: "shad";
11424                mouse_events:  0;
11425                description { state: "default" 0.0;
11426                    image.normal: "shad_circ.png";
11427                    rel1.to: "elm.swallow.content";
11428                    rel1.offset: -64 -64;
11429                    rel2.to: "elm.swallow.content";
11430                    rel2.offset: 63 63;
11431                    fill.smooth: 0;
11432                }
11433            }
11434            part { name: "pop";
11435                mouse_events: 1;
11436                description { state: "default" 0.0;
11437                    rel1.to: "elm.swallow.content";
11438                    rel1.offset: -5 -5;
11439                    rel2.to: "elm.swallow.content";
11440                    rel2.offset: 4 4;
11441                    image {
11442                        normal: "bt_dis_base.png";
11443                        border: 4 4 4 4;
11444                    }
11445                    image.middle: SOLID;
11446                }
11447            }
11448            part { name: "popover";
11449                mouse_events: 0;
11450                description { state: "default" 0.0;
11451                    rel1.to: "pop";
11452                    rel2.to: "pop";
11453                    rel2.relative: 1.0 0.5;
11454                    image {
11455                        normal: "bt_dis_hilight.png";
11456                        border: 4 4 4 0;
11457                    }
11458                }
11459            }
11460            part { name: "elm.swallow.content";
11461                type: SWALLOW;
11462                description { state: "default" 0.0;
11463                    rel1.to: "base";
11464                    rel2.to: "base";
11465                }
11466            }
11467        }
11468        programs {
11469            program { name: "show";
11470                signal: "elm,action,show";
11471                source: "elm";
11472                action: STATE_SET "visible" 0.0;
11473                target: "base";
11474            }
11475            program { name: "show_2";
11476                signal: "show";
11477                action: STATE_SET "default" 0.0;
11478                target: "base";
11479                after: "show_3";
11480            }
11481            program { name: "show_3";
11482                signal: "show";
11483                action: STATE_SET "visible" 0.0;
11484                target: "base";
11485                transition: LINEAR 0.5;
11486            }
11487            program { name: "hide";
11488                signal: "elm,action,hide";
11489                source: "elm";
11490                action: STATE_SET "default" 0.0;
11491                target: "base";
11492            }
11493        }
11494    }
11495    group { name: "elm/notify/top_right/default";
11496        //this group is a design similar to the inwin group
11497        images {
11498            image: "shad_circ.png" COMP;
11499            image: "bt_dis_base.png" COMP;
11500            image: "bt_dis_hilight.png" COMP;
11501        }
11502        parts {
11503            part { name: "base";
11504                type: RECT;
11505                mouse_events: 0;
11506                repeat_events: 1;
11507                description { state: "default" 0.0;
11508                    color: 0 0 0 0;
11509                    rel1.offset: 10 10;
11510                    rel2.offset: -10 -10;
11511                    rel1.relative: 0.0 -1.0;
11512                    rel2.relative: 1.0 0.0;
11513                }
11514                description { state: "visible" 0.0;
11515                    inherit: "default" 0.0;
11516                    color: 0 0 0 64;
11517                    rel1.relative: 0.0 0.0;
11518                    rel2.relative: 1.0 1.0;
11519                }
11520            }
11521            part { name: "shad";
11522                mouse_events:  0;
11523                description { state: "default" 0.0;
11524                    image.normal: "shad_circ.png";
11525                    rel1.to: "elm.swallow.content";
11526                    rel1.offset: -64 -64;
11527                    rel2.to: "elm.swallow.content";
11528                    rel2.offset: 63 63;
11529                    fill.smooth: 0;
11530                }
11531            }
11532            part { name: "pop";
11533                mouse_events: 1;
11534                description { state: "default" 0.0;
11535                    rel1.to: "elm.swallow.content";
11536                    rel1.offset: -5 -5;
11537                    rel2.to: "elm.swallow.content";
11538                    rel2.offset: 4 4;
11539                    image {
11540                        normal: "bt_dis_base.png";
11541                        border: 4 4 4 4;
11542                    }
11543                    image.middle: SOLID;
11544                }
11545            }
11546            part { name: "popover";
11547                mouse_events: 0;
11548                description { state: "default" 0.0;
11549                    rel1.to: "pop";
11550                    rel2.to: "pop";
11551                    rel2.relative: 1.0 0.5;
11552                    image {
11553                        normal: "bt_dis_hilight.png";
11554                        border: 4 4 4 0;
11555                    }
11556                }
11557            }
11558            part { name: "elm.swallow.content";
11559                type: SWALLOW;
11560                description { state: "default" 0.0;
11561                    rel1.to: "base";
11562                    rel2.to: "base";
11563                }
11564            }
11565        }
11566        programs {
11567            program { name: "show";
11568                signal: "elm,action,show";
11569                source: "elm";
11570                action: STATE_SET "visible" 0.0;
11571                target: "base";
11572            }
11573            program { name: "show_2";
11574                signal: "show";
11575                action: STATE_SET "default" 0.0;
11576                target: "base";
11577                after: "show_3";
11578            }
11579            program { name: "show_3";
11580                signal: "show";
11581                action: STATE_SET "visible" 0.0;
11582                target: "base";
11583                transition: LINEAR 0.5;
11584            }
11585            program { name: "hide";
11586                signal: "elm,action,hide";
11587                source: "elm";
11588                action: STATE_SET "default" 0.0;
11589                target: "base";
11590            }
11591        }
11592    }
11593    group { name: "elm/notify/bottom_left/default";
11594        //this group is a design similar to the inwin group
11595        images {
11596            image: "shad_circ.png" COMP;
11597            image: "bt_dis_base.png" COMP;
11598            image: "bt_dis_hilight.png" COMP;
11599        }
11600        parts {
11601            part { name: "base";
11602                type: RECT;
11603                mouse_events: 0;
11604                repeat_events: 1;
11605                description { state: "default" 0.0;
11606                    color: 0 0 0 0;
11607                    rel1.offset: 10 10;
11608                    rel2.offset: -10 -10;
11609                    rel1.relative: 0.0 1.0;
11610                    rel2.relative: 1.0 2.0;
11611                }
11612                description { state: "visible" 0.0;
11613                    inherit: "default" 0.0;
11614                    color: 0 0 0 64;
11615                    rel1.relative: 0.0 0.0;
11616                    rel2.relative: 1.0 1.0;
11617                }
11618            }
11619            part { name: "shad";
11620                mouse_events:  0;
11621                description { state: "default" 0.0;
11622                    image.normal: "shad_circ.png";
11623                    rel1.to: "elm.swallow.content";
11624                    rel1.offset: -64 -64;
11625                    rel2.to: "elm.swallow.content";
11626                    rel2.offset: 63 63;
11627                    fill.smooth: 0;
11628                }
11629            }
11630            part { name: "pop";
11631                mouse_events: 1;
11632                description { state: "default" 0.0;
11633                    rel1.to: "elm.swallow.content";
11634                    rel1.offset: -5 -5;
11635                    rel2.to: "elm.swallow.content";
11636                    rel2.offset: 4 4;
11637                    image {
11638                        normal: "bt_dis_base.png";
11639                        border: 4 4 4 4;
11640                    }
11641                    image.middle: SOLID;
11642                }
11643            }
11644            part { name: "popover";
11645                mouse_events: 0;
11646                description { state: "default" 0.0;
11647                    rel1.to: "pop";
11648                    rel2.to: "pop";
11649                    rel2.relative: 1.0 0.5;
11650                    image {
11651                        normal: "bt_dis_hilight.png";
11652                        border: 4 4 4 0;
11653                    }
11654                }
11655            }
11656            part { name: "elm.swallow.content";
11657                type: SWALLOW;
11658                description { state: "default" 0.0;
11659                    rel1.to: "base";
11660                    rel2.to: "base";
11661                }
11662            }
11663        }
11664        programs {
11665            program { name: "show";
11666                signal: "elm,action,show";
11667                source: "elm";
11668                action: STATE_SET "visible" 0.0;
11669                target: "base";
11670            }
11671            program { name: "show_2";
11672                signal: "show";
11673                action: STATE_SET "default" 0.0;
11674                target: "base";
11675                after: "show_3";
11676            }
11677            program { name: "show_3";
11678                signal: "show";
11679                action: STATE_SET "visible" 0.0;
11680                target: "base";
11681                transition: LINEAR 0.5;
11682            }
11683            program { name: "hide";
11684                signal: "elm,action,hide";
11685                source: "elm";
11686                action: STATE_SET "default" 0.0;
11687                target: "base";
11688            }
11689        }
11690    }
11691    group { name: "elm/notify/bottom_right/default";
11692        //this group is a design similar to the inwin group
11693        images {
11694            image: "shad_circ.png" COMP;
11695            image: "bt_dis_base.png" COMP;
11696            image: "bt_dis_hilight.png" COMP;
11697        }
11698        parts {
11699            part { name: "base";
11700                type: RECT;
11701                mouse_events: 0;
11702                repeat_events: 1;
11703               description { state: "default" 0.0;
11704                    color: 0 0 0 0;
11705                    rel1.offset: 10 10;
11706                    rel2.offset: -10 -10;
11707                    rel1.relative: 0.0 1.0;
11708                    rel2.relative: 1.0 2.0;
11709                }
11710                description { state: "visible" 0.0;
11711                    inherit: "default" 0.0;
11712                    color: 0 0 0 64;
11713                    rel1.relative: 0.0 0.0;
11714                    rel2.relative: 1.0 1.0;
11715                }
11716            }
11717            part { name: "shad";
11718                mouse_events:  0;
11719                description { state: "default" 0.0;
11720                    image.normal: "shad_circ.png";
11721                    rel1.to: "elm.swallow.content";
11722                    rel1.offset: -64 -64;
11723                    rel2.to: "elm.swallow.content";
11724                    rel2.offset: 63 63;
11725                    fill.smooth: 0;
11726                }
11727            }
11728            part { name: "pop";
11729                mouse_events: 1;
11730                description { state: "default" 0.0;
11731                    rel1.to: "elm.swallow.content";
11732                    rel1.offset: -5 -5;
11733                    rel2.to: "elm.swallow.content";
11734                    rel2.offset: 4 4;
11735                    image {
11736                        normal: "bt_dis_base.png";
11737                        border: 4 4 4 4;
11738                    }
11739                    image.middle: SOLID;
11740                }
11741            }
11742            part { name: "popover";
11743                mouse_events: 0;
11744                description { state: "default" 0.0;
11745                    rel1.to: "pop";
11746                    rel2.to: "pop";
11747                    rel2.relative: 1.0 0.5;
11748                    image {
11749                        normal: "bt_dis_hilight.png";
11750                        border: 4 4 4 0;
11751                    }
11752                }
11753            }
11754            part { name: "elm.swallow.content";
11755                type: SWALLOW;
11756                description { state: "default" 0.0;
11757                    rel1.to: "base";
11758                    rel2.to: "base";
11759                }
11760            }
11761        }
11762        programs {
11763            program { name: "show";
11764                signal: "elm,action,show";
11765                source: "elm";
11766                action: STATE_SET "visible" 0.0;
11767                target: "base";
11768            }
11769            program { name: "show_2";
11770                signal: "show";
11771                action: STATE_SET "default" 0.0;
11772                target: "base";
11773                after: "show_3";
11774            }
11775            program { name: "show_3";
11776                signal: "show";
11777                action: STATE_SET "visible" 0.0;
11778                target: "base";
11779                transition: LINEAR 0.5;
11780            }
11781            program { name: "hide";
11782                signal: "elm,action,hide";
11783                source: "elm";
11784                action: STATE_SET "default" 0.0;
11785                target: "base";
11786            }
11787        }
11788    }
11789
11790 ///////////////////////////////////////////////////////////////////////////////
11791    group { name: "elm/slideshow/base/default";
11792       data {
11793          item: transitions "fade black_fade horizontal vertical square";
11794          item: layouts "fullscreen not_fullscreen";
11795       }
11796       parts {
11797          part { name: "whole";
11798                  type: RECT;
11799             description {
11800                state: "default" 0.0;
11801                visible: 1;
11802                color: 20 20 20 255;
11803             }
11804          }
11805          part { name: "image_1_whole";
11806             description {
11807                state: "default" 0.0;
11808                color: 255 255 255 255;
11809             }
11810             description {
11811                state: "fade_prev_next" 0.0;
11812                inherit: "default" 0.0;
11813                color: 255 255 255 0;
11814             }
11815             description {
11816                state: "black_fade_prev_next_init" 0.0;
11817                inherit: "default" 0.0;
11818                color: 255 255 255 255;
11819             }
11820             description {
11821                state: "black_fade_prev_next" 0.0;
11822                inherit: "default" 0.0;
11823                color: 0 0 0 255;
11824             }
11825             description {
11826                state: "horizontal_next_init" 0.0;
11827                inherit: "default" 0.0;
11828             }
11829             description {
11830                state: "horizontal_next" 0.0;
11831                inherit: "default" 0.0;
11832                rel1.relative: -1.0 0.0;
11833                rel2.relative: 0.0 1.0;
11834             }
11835             description {
11836                state: "horizontal_prev_init" 0.0;
11837                inherit: "default" 0.0;
11838             }
11839             description {
11840                state: "horizontal_prev" 0.0;
11841                inherit: "default" 0.0;
11842                rel1.relative: 1.0 0.0;
11843                rel2.relative: 2.0 1.0;
11844             }
11845             description {
11846                state: "vertical_next_init" 0.0;
11847                inherit: "default" 0.0;
11848             }
11849             description {
11850                state: "vertical_next" 0.0;
11851                inherit: "default" 0.0;
11852                rel1.relative: 0.0 -1.0;
11853                rel2.relative: 1.0 0.0;
11854             }
11855             description {
11856                state: "vertical_prev_init" 0.0;
11857                inherit: "default" 0.0;
11858             }
11859             description {
11860                state: "vertical_prev" 0.0;
11861                inherit: "default" 0.0;
11862                rel1.relative: 0.0 1.0;
11863                rel2.relative: 1.0 2.0;
11864             }
11865             description {
11866                state: "square_prev_next" 0.0;
11867                inherit: "default" 0.0;
11868                color: 255 255 255 0;
11869             }
11870          }
11871          part { name: "image_2_whole";
11872             description {
11873                state: "default" 0.0;
11874                visible: 1;
11875                color: 255 255 255 0;
11876             }
11877             description {
11878                state: "fade_prev_next" 0.0;
11879                inherit: "default" 0.0;
11880                color: 255 255 255 255;
11881             }
11882             description {
11883                state: "black_fade_prev_next_init" 0.0;
11884                inherit: "default" 0.0;
11885                color: 0 0 0 0;
11886             }
11887             description {
11888                state: "black_fade_prev_next" 0.0;
11889                inherit: "default" 0.0;
11890                color: 255 255 255 255;
11891             }
11892             description {
11893                state: "horizontal_next_init" 0.0;
11894                inherit: "default" 0.0;
11895                rel1.relative: 1.0 0.0;
11896                rel2.relative: 2.0 1.0;
11897                color: 255 255 255 255;
11898             }
11899             description {
11900                state: "horizontal_next" 0.0;
11901                inherit: "default" 0.0;
11902                color: 255 255 255 255;
11903             }
11904             description {
11905                state: "horizontal_prev_init" 0.0;
11906                inherit: "default" 0.0;
11907                rel1.relative: -1.0 0.0;
11908                rel2.relative: 0.0 1.0;
11909                color: 255 255 255 255;
11910             }
11911             description {
11912                state: "horizontal_prev" 0.0;
11913                inherit: "default" 0.0;
11914                color: 255 255 255 255;
11915             }
11916             description {
11917                state: "vertical_next_init" 0.0;
11918                inherit: "default" 0.0;
11919                rel1.relative: 0.0 1.0;
11920                rel2.relative: 1.0 2.0;
11921                color: 255 255 255 255;
11922             }
11923             description {
11924                state: "vertical_next" 0.0;
11925                inherit: "default" 0.0;
11926                color: 255 255 255 255;
11927             }
11928             description {
11929                state: "vertical_prev_init" 0.0;
11930                inherit: "default" 0.0;
11931                rel1.relative: 0.0 -1.0;
11932                rel2.relative: 1.0 0.0;
11933                color: 255 255 255 255;
11934             }
11935             description {
11936                state: "vertical_prev" 0.0;
11937                inherit: "default" 0.0;
11938                color: 255 255 255 255;
11939             }
11940             description {
11941                state: "square_prev_next_init" 0.0;
11942                inherit: "default" 0.0;
11943                rel1.relative: 0.5 0.5;
11944                rel2.relative: 0.5 0.5;
11945                color: 255 255 255 255;
11946             }
11947             description {
11948                state: "square_prev_next" 0.0;
11949                inherit: "default" 0.0;
11950                rel1.relative: 0.0 0.0;
11951                rel2.relative: 1.0 1.0;
11952                color: 255 255 255 255;
11953             }
11954          }
11955          part { name: "elm.swallow.1";
11956             type: SWALLOW;
11957             clip_to: "image_1_whole";
11958             description {
11959                state: "default" 0.0;
11960                rel1.to: "image_1_whole";
11961                rel2.to: "image_1_whole";
11962                color: 255 255 255 255;
11963             }
11964             description {
11965                state: "not_fullscreen" 0.0;
11966                rel1.relative: 0.1 0.1;
11967                rel1.to: "image_1_whole";
11968                rel2.relative: 0.9 0.9;
11969                rel2.to: "image_1_whole";
11970                color: 255 255 255 255;
11971             }
11972          }
11973          part { name: "elm.swallow.2";
11974             type: SWALLOW;
11975             clip_to: "image_2_whole";
11976             description {
11977                state: "default" 0.0;
11978                color: 255 255 255 255;
11979                rel1.to: "image_2_whole";
11980                rel2.to: "image_2_whole";
11981             }
11982             description {
11983                state: "not_fullscreen" 0.0;
11984                color: 255 255 255 255;
11985                rel1.relative: 0.1 0.1;
11986                rel1.to: "image_2_whole";
11987                rel2.relative: 0.9 0.9;
11988                rel2.to: "image_2_whole";
11989             }
11990          }
11991          part { name: "events_catcher";
11992             type: RECT;
11993             repeat_events: 1;
11994             description {
11995                state: "default" 0.0;
11996                visible: 1;
11997                color: 0 0 0 0;
11998             }
11999          }
12000       }
12001       programs {
12002               //Substyle
12003               program { name: "layout_fullscreen";
12004             signal: "layout,fullscreen";
12005             source: "slideshow";
12006             action: STATE_SET "default" 0.0;
12007             target: "elm.swallow.1";
12008             target: "elm.swallow.2";
12009             transition: SINUSOIDAL 1.0;
12010         }
12011         program { name: "layout_not_fullscreen";
12012             signal: "layout,not_fullscreen";
12013             source: "slideshow";
12014             action: STATE_SET "not_fullscreen" 0.0;
12015             target: "elm.swallow.1";
12016             target: "elm.swallow.2";
12017             transition: SINUSOIDAL 1.0;
12018          }
12019                //
12020          program { name: "fade_next";
12021             signal: "fade,next";
12022             source: "slideshow";
12023             action: STATE_SET "default" 0.0;
12024             target: "image_1_whole";
12025             target: "image_2_whole";
12026             after: "fade_next_2";
12027          }
12028          program { name: "fade_next_2";
12029             action: STATE_SET "fade_prev_next" 0.0;
12030             target: "image_1_whole";
12031             target: "image_2_whole";
12032             transition: SINUSOIDAL 1.5;
12033             after: "end";
12034          }
12035          program { name: "fade_previous";
12036             signal: "fade,previous";
12037             source: "slideshow";
12038             action: STATE_SET "default" 0.0;
12039             target: "image_1_whole";
12040             target: "image_2_whole";
12041             after: "fade_previous_2";
12042          }
12043          program { name: "fade_previous_2";
12044             action: STATE_SET "fade_prev_next" 0.0;
12045             target: "image_1_whole";
12046             target: "image_2_whole";
12047             transition: SINUSOIDAL 1.5;
12048             after: "end";
12049          }
12050          program { name: "black_fade_next";
12051             signal: "black_fade,next";
12052             source: "slideshow";
12053             action: STATE_SET "black_fade_prev_next_init" 0.0;
12054             target: "image_1_whole";
12055             target: "image_2_whole";
12056             after: "black_fade_next_2";
12057          }
12058          program { name: "black_fade_next_2";
12059             action: STATE_SET "black_fade_prev_next" 0.0;
12060             target: "image_1_whole";
12061             transition: SINUSOIDAL 0.75;
12062             after: "black_fade_next_3";
12063          }
12064          program { name: "black_fade_next_3";
12065             action: STATE_SET "black_fade_prev_next" 0.0;
12066             target: "image_2_whole";
12067             transition: SINUSOIDAL 0.75;
12068             after: "end";
12069          }
12070          program { name: "black_fade_previous";
12071             signal: "black_fade,previous";
12072             source: "slideshow";
12073             action: STATE_SET "black_fade_prev_next_init" 0.0;
12074             target: "image_1_whole";
12075             target: "image_2_whole";
12076             after: "black_fade_previous_2";
12077          }
12078          program { name: "black_fade_previous_2";
12079             action: STATE_SET "black_fade_prev_next" 0.0;
12080             target: "image_1_whole";
12081             transition: SINUSOIDAL 0.75;
12082             after: "black_fade_previous_3";
12083          }
12084          program { name: "black_fade_previous_3";
12085             action: STATE_SET "black_fade_prev_next" 0.0;
12086             target: "image_2_whole";
12087             transition: SINUSOIDAL 0.75;
12088             after: "end";
12089          }
12090          program { name: "horizontal_next";
12091             signal: "horizontal,next";
12092             source: "slideshow";
12093             action: STATE_SET "horizontal_next_init" 0.0;
12094             target: "image_1_whole";
12095             target: "image_2_whole";
12096             after: "horizontal_next_2";
12097          }
12098          program { name: "horizontal_next_2";
12099             action: STATE_SET "horizontal_next" 0.0;
12100             target: "image_1_whole";
12101             target: "image_2_whole";
12102             transition: SINUSOIDAL 1.5;
12103             after: "end";
12104          }
12105          program { name: "horizontal_previous";
12106             signal: "horizontal,previous";
12107             source: "slideshow";
12108             action: STATE_SET "horizontal_prev_init" 0.0;
12109             target: "image_1_whole";
12110             target: "image_2_whole";
12111             after: "horizontal_previous_2";
12112          }
12113          program { name: "horizontal_previous_2";
12114             action: STATE_SET "horizontal_prev" 0.0;
12115             target: "image_1_whole";
12116             target: "image_2_whole";
12117             transition: SINUSOIDAL 1.5;
12118             after: "end";
12119          }
12120          program { name: "vertical_next";
12121             signal: "vertical,next";
12122             source: "slideshow";
12123             action: STATE_SET "vertical_next_init" 0.0;
12124             target: "image_1_whole";
12125             target: "image_2_whole";
12126             after: "vertical_next_2";
12127          }
12128          program { name: "vertical_next_2";
12129             action: STATE_SET "vertical_next" 0.0;
12130             target: "image_1_whole";
12131             target: "image_2_whole";
12132             transition: SINUSOIDAL 1.5;
12133             after: "end";
12134          }
12135          program { name: "vertical_previous";
12136             signal: "vertical,previous";
12137             source: "slideshow";
12138             action: STATE_SET "vertical_prev_init" 0.0;
12139             target: "image_1_whole";
12140             target: "image_2_whole";
12141             after: "vertical_previous_2";
12142          }
12143          program { name: "vertical_previous_2";
12144             action: STATE_SET "vertical_prev" 0.0;
12145             target: "image_1_whole";
12146             target: "image_2_whole";
12147             transition: SINUSOIDAL 1.5;
12148             after: "end";
12149          }
12150          program { name: "square_next";
12151             signal: "square,next";
12152             source: "slideshow";
12153             action: STATE_SET "square_prev_next_init" 0.0;
12154             target: "image_2_whole";
12155             after: "square_next_2";
12156          }
12157          program { name: "square_next_2";
12158             action: STATE_SET "square_prev_next" 0.0;
12159             target: "image_2_whole";
12160             target: "image_1_whole";
12161             transition: SINUSOIDAL 1.5;
12162             after: "end";
12163          }
12164          program { name: "square_previous";
12165             signal: "square,previous";
12166             source: "slideshow";
12167             action: STATE_SET "square_prev_next_init" 0.0;
12168             target: "image_2_whole";
12169             after: "square_next_2";
12170          }
12171          program { name: "end";
12172             action: SIGNAL_EMIT "end" "slideshow";
12173          }
12174          program { name: "end_signal";
12175             signal: "anim,end";
12176             source: "slideshow";
12177             action: STATE_SET "default" 0.0;
12178             target: "image_1_whole";
12179             target: "image_2_whole";
12180          }
12181       }
12182    }
12183
12184 ///////////////////////////////////////////////////////////////////////////////
12185    group { name: "elm/win/inwin/default";
12186       images {
12187          image: "shad_circ.png" COMP;
12188          image: "bt_dis_base.png" COMP;
12189          image: "bt_dis_hilight.png" COMP;
12190       }
12191       parts {
12192          part { name: "base";
12193             type: RECT;
12194             mouse_events: 1;
12195             description { state: "default" 0.0;
12196                color: 0 0 0 0;
12197             }
12198             description { state: "visible" 0.0;
12199                inherit: "default" 1.0;
12200                color: 0 0 0 64;
12201             }
12202          }
12203          part { name: "shad";
12204             mouse_events:  0;
12205             description { state: "default" 0.0;
12206                image.normal: "shad_circ.png";
12207                rel1.to: "elm.swallow.content";
12208                rel1.offset: -64 -64;
12209                rel2.to: "elm.swallow.content";
12210                rel2.offset: 63 63;
12211                fill.smooth: 0;
12212             }
12213          }
12214          part { name: "pop";
12215             mouse_events: 1;
12216             description { state: "default" 0.0;
12217                rel1.to: "elm.swallow.content";
12218                rel1.offset: -5 -5;
12219                rel2.to: "elm.swallow.content";
12220                rel2.offset: 4 4;
12221                image {
12222                   normal: "bt_dis_base.png";
12223                   border: 4 4 4 4;
12224                }
12225                image.middle: SOLID;
12226             }
12227          }
12228          part { name: "popover";
12229             mouse_events: 0;
12230             description { state: "default" 0.0;
12231                rel1.to: "pop";
12232                rel2.to: "pop";
12233                rel2.relative: 1.0 0.5;
12234                image {
12235                   normal: "bt_dis_hilight.png";
12236                   border: 4 4 4 0;
12237                }
12238             }
12239          }
12240          part { name: "elm.swallow.content";
12241             type: SWALLOW;
12242             description { state: "default" 0.0;
12243                rel1.relative: 0.1 0.1;
12244                rel2.relative: 0.9 0.9;
12245             }
12246          }
12247       }
12248       programs {
12249          program { name: "show";
12250             signal: "elm,action,show";
12251             source: "elm";
12252             action: STATE_SET "visible" 0.0;
12253 //            transition: DECELERATE 0.5;
12254             target: "base";
12255          }
12256          program { name: "hide";
12257             signal: "elm,action,hide";
12258             source: "elm";
12259             action: STATE_SET "default" 0.0;
12260 //            transition: DECELERATE 0.5;
12261             target: "base";
12262          }
12263       }
12264    }
12265
12266    group { name: "elm/win/inwin/minimal";
12267       images {
12268          image: "shad_circ.png" COMP;
12269          image: "bt_dis_base.png" COMP;
12270          image: "bt_dis_hilight.png" COMP;
12271       }
12272       parts {
12273          part { name: "base";
12274             type: RECT;
12275             mouse_events: 1;
12276             description { state: "default" 0.0;
12277                color: 0 0 0 0;
12278             }
12279             description { state: "visible" 0.0;
12280                inherit: "default" 1.0;
12281                color: 0 0 0 64;
12282             }
12283          }
12284          part { name: "shad";
12285             mouse_events:  0;
12286             description { state: "default" 0.0;
12287                image.normal: "shad_circ.png";
12288                rel1.to: "elm.swallow.content";
12289                rel1.offset: -64 -64;
12290                rel2.to: "elm.swallow.content";
12291                rel2.offset: 63 63;
12292                fill.smooth: 0;
12293             }
12294          }
12295          part { name: "pop";
12296             mouse_events: 1;
12297             description { state: "default" 0.0;
12298                rel1.to: "elm.swallow.content";
12299                rel1.offset: -5 -5;
12300                rel2.to: "elm.swallow.content";
12301                rel2.offset: 4 4;
12302                image {
12303                   normal: "bt_dis_base.png";
12304                   border: 4 4 4 4;
12305                }
12306                image.middle: SOLID;
12307             }
12308          }
12309          part { name: "popover";
12310             mouse_events: 0;
12311             description { state: "default" 0.0;
12312                rel1.to: "pop";
12313                rel2.to: "pop";
12314                rel2.relative: 1.0 0.5;
12315                image {
12316                   normal: "bt_dis_hilight.png";
12317                   border: 4 4 4 0;
12318                }
12319             }
12320          }
12321          part { name: "elm.swallow.content";
12322             type: SWALLOW;
12323             description { state: "default" 0.0;
12324                fixed: 1 1;
12325                rel1.relative: 0.5 0.5;
12326                rel2.relative: 0.5 0.5;
12327             }
12328          }
12329       }
12330       programs {
12331          program { name: "show";
12332             signal: "elm,action,show";
12333             source: "elm";
12334             action: STATE_SET "visible" 0.0;
12335 //            transition: DECELERATE 0.5;
12336             target: "base";
12337          }
12338          program { name: "hide";
12339             signal: "elm,action,hide";
12340             source: "elm";
12341             action: STATE_SET "default" 0.0;
12342 //            transition: DECELERATE 0.5;
12343             target: "base";
12344          }
12345       }
12346    }
12347
12348    group { name: "elm/win/inwin/minimal_vertical";
12349       images {
12350          image: "shad_circ.png" COMP;
12351          image: "bt_dis_base.png" COMP;
12352          image: "bt_dis_hilight.png" COMP;
12353       }
12354       parts {
12355          part { name: "base";
12356             type: RECT;
12357             mouse_events: 1;
12358             description { state: "default" 0.0;
12359                color: 0 0 0 0;
12360             }
12361             description { state: "visible" 0.0;
12362                inherit: "default" 1.0;
12363                color: 0 0 0 64;
12364             }
12365          }
12366          part { name: "shad";
12367             mouse_events:  0;
12368             description { state: "default" 0.0;
12369                image.normal: "shad_circ.png";
12370                rel1.to: "elm.swallow.content";
12371                rel1.offset: -64 -64;
12372                rel2.to: "elm.swallow.content";
12373                rel2.offset: 63 63;
12374                fill.smooth: 0;
12375             }
12376          }
12377          part { name: "pop";
12378             mouse_events: 1;
12379             description { state: "default" 0.0;
12380                rel1.to: "elm.swallow.content";
12381                rel1.offset: -5 -5;
12382                rel2.to: "elm.swallow.content";
12383                rel2.offset: 4 4;
12384                image {
12385                   normal: "bt_dis_base.png";
12386                   border: 4 4 4 4;
12387                }
12388                image.middle: SOLID;
12389             }
12390          }
12391          part { name: "popover";
12392             mouse_events: 0;
12393             description { state: "default" 0.0;
12394                rel1.to: "pop";
12395                rel2.to: "pop";
12396                rel2.relative: 1.0 0.5;
12397                image {
12398                   normal: "bt_dis_hilight.png";
12399                   border: 4 4 4 0;
12400                }
12401             }
12402          }
12403          part { name: "elm.swallow.content";
12404             type: SWALLOW;
12405             description { state: "default" 0.0;
12406                fixed: 1 1;
12407                rel1.relative: 0.1 0.5;
12408                rel2.relative: 0.9 0.5;
12409             }
12410          }
12411       }
12412       programs {
12413          program { name: "show";
12414             signal: "elm,action,show";
12415             source: "elm";
12416             action: STATE_SET "visible" 0.0;
12417 //            transition: DECELERATE 0.5;
12418             target: "base";
12419          }
12420          program { name: "hide";
12421             signal: "elm,action,hide";
12422             source: "elm";
12423             action: STATE_SET "default" 0.0;
12424 //            transition: DECELERATE 0.5;
12425             target: "base";
12426          }
12427       }
12428    }
12429
12430 ///////////////////////////////////////////////////////////////////////////////
12431
12432 ///////////////////////////////////////////////////////////////////////////////
12433    group { name: "elm/list/item/default";
12434       data.item: "stacking" "above";
12435       images {
12436          image: "bt_sm_base1.png" COMP;
12437          image: "bt_sm_shine.png" COMP;
12438          image: "bt_sm_hilight.png" COMP;
12439          image: "ilist_1.png" COMP;
12440          image: "ilist_item_shadow.png" COMP;
12441       }
12442       parts {
12443          part {
12444             name:           "event";
12445             type:           RECT;
12446             repeat_events: 1;
12447             description {
12448                state: "default" 0.0;
12449                color: 0 0 0 0;
12450             }
12451          }
12452          part {
12453             name: "base_sh";
12454             mouse_events: 0;
12455             description {
12456                state: "default" 0.0;
12457                align: 0.0 0.0;
12458                min: 0 10;
12459                fixed: 1 1;
12460                rel1 {
12461                   to: "base";
12462                   relative: 0.0 1.0;
12463                   offset: 0 0;
12464                }
12465                rel2 {
12466                   to: "base";
12467                   relative: 1.0 1.0;
12468                   offset: -1 0;
12469                }
12470                image {
12471                   normal: "ilist_item_shadow.png";
12472                }
12473                fill.smooth: 0;
12474             }
12475          }
12476          part {
12477             name: "base";
12478             mouse_events: 0;
12479             description {
12480                state: "default" 0.0;
12481                image {
12482                   normal: "ilist_1.png";
12483                   border: 2 2 2 2;
12484                }
12485                fill.smooth: 0;
12486             }
12487          }
12488          part { name: "bg";
12489             mouse_events: 0;
12490             description { state: "default" 0.0;
12491                visible: 0;
12492                color: 255 255 255 0;
12493                rel1 {
12494                   relative: 0.0 0.0;
12495                   offset: -5 -5;
12496                }
12497                rel2 {
12498                   relative: 1.0 1.0;
12499                   offset: 4 4;
12500                }
12501                image {
12502                   normal: "bt_sm_base1.png";
12503                   border: 6 6 6 6;
12504                }
12505                image.middle: SOLID;
12506             }
12507             description { state: "selected" 0.0;
12508                inherit: "default" 0.0;
12509                visible: 1;
12510                color: 255 255 255 255;
12511                rel1 {
12512                   relative: 0.0 0.0;
12513                   offset: -2 -2;
12514                }
12515                rel2 {
12516                   relative: 1.0 1.0;
12517                   offset: 1 1;
12518                }
12519             }
12520          }
12521          part { name: "elm.swallow.icon";
12522             type: SWALLOW;
12523             description { state: "default" 0.0;
12524                fixed: 1 0;
12525                align: 0.0 0.5;
12526                rel1 {
12527                   relative: 0.0  0.0;
12528                   offset:   4    4;
12529                }
12530                rel2 {
12531                   relative: 0.0  1.0;
12532                   offset:   4   -5;
12533                }
12534             }
12535          }
12536          part { name: "elm.swallow.end";
12537             type: SWALLOW;
12538             description { state: "default" 0.0;
12539                fixed: 1 0;
12540                align: 1.0 0.5;
12541                rel1 {
12542                   relative: 1.0  0.0;
12543                   offset:   -5    4;
12544                }
12545                rel2 {
12546                   relative: 1.0  1.0;
12547                   offset:   -5   -5;
12548                }
12549             }
12550          }
12551          part { name: "elm.text";
12552             type:           TEXT;
12553             effect:         SOFT_SHADOW;
12554             mouse_events:   0;
12555             scale: 1;
12556             description {
12557                state: "default" 0.0;
12558 //               min: 16 16;
12559                rel1 {
12560                   to_x:     "elm.swallow.icon";
12561                   relative: 1.0  0.0;
12562                   offset:   4 4;
12563                }
12564                rel2 {
12565                   to_x:     "elm.swallow.end";
12566                   relative: 0.0  1.0;
12567                   offset:   -1 -5;
12568                }
12569                color: 0 0 0 255;
12570                color3: 0 0 0 0;
12571                text {
12572                   font: "Sans";
12573                   size: 10;
12574                   min: 1 1;
12575 //                  min: 0 1;
12576                   align: -1.0 0.5;
12577                   text_class: "list_item";
12578                }
12579             }
12580             description { state: "selected" 0.0;
12581                inherit: "default" 0.0;
12582                color: 224 224 224 255;
12583                color3: 0 0 0 64;
12584             }
12585          }
12586          part { name: "fg1";
12587             mouse_events: 0;
12588             description { state: "default" 0.0;
12589                visible: 0;
12590                color: 255 255 255 0;
12591                rel1.to: "bg";
12592                rel2.relative: 1.0 0.5;
12593                rel2.to: "bg";
12594                image {
12595                   normal: "bt_sm_hilight.png";
12596                   border: 6 6 6 0;
12597                }
12598             }
12599             description { state: "selected" 0.0;
12600                inherit: "default" 0.0;
12601                visible: 1;
12602                color: 255 255 255 255;
12603             }
12604          }
12605          part { name: "fg2";
12606             mouse_events: 0;
12607             description { state: "default" 0.0;
12608                visible: 0;
12609                color: 255 255 255 0;
12610                rel1.to: "bg";
12611                rel2.to: "bg";
12612                image {
12613                   normal: "bt_sm_shine.png";
12614                   border: 6 6 6 0;
12615                }
12616             }
12617             description { state: "selected" 0.0;
12618                inherit: "default" 0.0;
12619                visible: 1;
12620                color: 255 255 255 255;
12621             }
12622          }
12623       }
12624       programs {
12625          program {
12626             name:    "go_active";
12627             signal:  "elm,state,selected";
12628             source:  "elm";
12629             action:  STATE_SET "selected" 0.0;
12630             target:  "bg";
12631             target:  "fg1";
12632             target:  "fg2";
12633             target:  "elm.text";
12634          }
12635          program {
12636             name:    "go_passive";
12637             signal:  "elm,state,unselected";
12638             source:  "elm";
12639             action:  STATE_SET "default" 0.0;
12640             target:  "bg";
12641             target:  "fg1";
12642             target:  "fg2";
12643             target:  "elm.text";
12644             transition: LINEAR 0.1;
12645          }
12646       }
12647    }
12648    group { name: "elm/list/item_odd/default";
12649       data.item: "stacking" "below";
12650       data.item: "selectraise" "on";
12651       images {
12652          image: "bt_sm_base1.png" COMP;
12653          image: "bt_sm_shine.png" COMP;
12654          image: "bt_sm_hilight.png" COMP;
12655          image: "ilist_2.png" COMP;
12656       }
12657       parts {
12658          part {
12659             name:           "event";
12660             type:           RECT;
12661             repeat_events: 1;
12662             description {
12663                state: "default" 0.0;
12664                color: 0 0 0 0;
12665             }
12666          }
12667          part {
12668             name: "base";
12669             mouse_events: 0;
12670             description {
12671                state: "default" 0.0;
12672                image {
12673                   normal: "ilist_2.png";
12674                   border: 2 2 2 2;
12675                }
12676                fill.smooth: 0;
12677             }
12678          }
12679          part { name: "bg";
12680             mouse_events: 0;
12681             description { state: "default" 0.0;
12682                visible: 0;
12683                color: 255 255 255 0;
12684                rel1 {
12685                   relative: 0.0 0.0;
12686                   offset: -5 -5;
12687                }
12688                rel2 {
12689                   relative: 1.0 1.0;
12690                   offset: 4 4;
12691                }
12692                image {
12693                   normal: "bt_sm_base1.png";
12694                   border: 6 6 6 6;
12695                }
12696                image.middle: SOLID;
12697             }
12698             description { state: "selected" 0.0;
12699                inherit: "default" 0.0;
12700                visible: 1;
12701                color: 255 255 255 255;
12702                rel1 {
12703                   relative: 0.0 0.0;
12704                   offset: -2 -2;
12705                }
12706                rel2 {
12707                   relative: 1.0 1.0;
12708                   offset: 1 1;
12709                }
12710             }
12711          }
12712          part {
12713             name:          "elm.swallow.icon";
12714             type:          SWALLOW;
12715             description { state:    "default" 0.0;
12716                fixed: 1 0;
12717                align:    0.0 0.5;
12718                rel1 {
12719                   relative: 0.0  0.0;
12720                   offset:   4    4;
12721                }
12722                rel2 {
12723                   relative: 0.0  1.0;
12724                   offset:   4   -5;
12725                }
12726             }
12727          }
12728          part {
12729             name:          "elm.swallow.end";
12730             type:          SWALLOW;
12731             description { state:    "default" 0.0;
12732                fixed: 1 0;
12733                align: 1.0 0.5;
12734                rel1 {
12735                   relative: 1.0  0.0;
12736                   offset:   -5    4;
12737                }
12738                rel2 {
12739                   relative: 1.0  1.0;
12740                   offset:   -5   -5;
12741                }
12742             }
12743          }
12744          part {
12745             name:           "elm.text";
12746             type:           TEXT;
12747             effect:         SOFT_SHADOW;
12748             mouse_events:   0;
12749             scale: 1;
12750             description {
12751                state: "default" 0.0;
12752 //               min:      16 16;
12753                rel1 {
12754                   to_x:     "elm.swallow.icon";
12755                   relative: 1.0  0.0;
12756                   offset:   4 4;
12757                }
12758                rel2 {
12759                   to_x:     "elm.swallow.end";
12760                   relative: 0.0  1.0;
12761                   offset:   -1 -5;
12762                }
12763                color: 0 0 0 255;
12764                color3: 0 0 0 0;
12765                text {
12766                   font: "Sans";
12767                   size: 10;
12768                   min: 1 1;
12769 //                  min: 0 1;
12770                   align: -1.0 0.5;
12771                   text_class: "list_item";
12772                }
12773             }
12774             description { state: "selected" 0.0;
12775                inherit: "default" 0.0;
12776                color: 224 224 224 255;
12777                color3: 0 0 0 64;
12778             }
12779          }
12780          part { name: "fg1";
12781             mouse_events: 0;
12782             description { state: "default" 0.0;
12783                visible: 0;
12784                color: 255 255 255 0;
12785                rel1.to: "bg";
12786                rel2.relative: 1.0 0.5;
12787                rel2.to: "bg";
12788                image {
12789                   normal: "bt_sm_hilight.png";
12790                   border: 6 6 6 0;
12791                }
12792             }
12793             description { state: "selected" 0.0;
12794                inherit: "default" 0.0;
12795                visible: 1;
12796                color: 255 255 255 255;
12797             }
12798          }
12799          part { name: "fg2";
12800             mouse_events: 0;
12801             description { state: "default" 0.0;
12802                visible: 0;
12803                color: 255 255 255 0;
12804                rel1.to: "bg";
12805                rel2.to: "bg";
12806                image {
12807                   normal: "bt_sm_shine.png";
12808                   border: 6 6 6 0;
12809                }
12810             }
12811             description { state: "selected" 0.0;
12812                inherit: "default" 0.0;
12813                visible: 1;
12814                color: 255 255 255 255;
12815             }
12816          }
12817       }
12818       programs {
12819          program {
12820             name:    "go_active";
12821             signal:  "elm,state,selected";
12822             source:  "elm";
12823             action:  STATE_SET "selected" 0.0;
12824             target:  "bg";
12825             target:  "fg1";
12826             target:  "fg2";
12827             target:  "elm.text";
12828          }
12829          program {
12830             name:    "go_passive";
12831             signal:  "elm,state,unselected";
12832             source:  "elm";
12833             action:  STATE_SET "default" 0.0;
12834             target:  "bg";
12835             target:  "fg1";
12836             target:  "fg2";
12837             target:  "elm.text";
12838             transition: LINEAR 0.1;
12839          }
12840       }
12841    }
12842    group { name: "elm/list/item_compress/default";
12843       data.item: "stacking" "above";
12844       data.item: "selectraise" "on";
12845       images {
12846          image: "bt_sm_base1.png" COMP;
12847          image: "bt_sm_shine.png" COMP;
12848          image: "bt_sm_hilight.png" COMP;
12849          image: "ilist_1.png" COMP;
12850          image: "ilist_item_shadow.png" COMP;
12851       }
12852       parts {
12853          part {
12854             name:           "event";
12855             type:           RECT;
12856             repeat_events: 1;
12857             description {
12858                state: "default" 0.0;
12859                color: 0 0 0 0;
12860             }
12861          }
12862          part {
12863             name: "base_sh";
12864             mouse_events: 0;
12865             description { state: "default" 0.0;
12866                fixed: 1 1;
12867                align: 0.0 0.0;
12868                min: 0 10;
12869                rel1 {
12870                   to: "base";
12871                   relative: 0.0 1.0;
12872                   offset: 0 0;
12873                }
12874                rel2 {
12875                   to: "base";
12876                   relative: 1.0 1.0;
12877                   offset: -1 0;
12878                }
12879                image {
12880                   normal: "ilist_item_shadow.png";
12881                }
12882                fill.smooth: 0;
12883             }
12884          }
12885          part {
12886             name: "base";
12887             mouse_events: 0;
12888             description {
12889                state: "default" 0.0;
12890                image {
12891                   normal: "ilist_1.png";
12892                   border: 2 2 2 2;
12893                }
12894                fill.smooth: 0;
12895             }
12896          }
12897          part { name: "bg";
12898             mouse_events: 0;
12899             description { state: "default" 0.0;
12900                visible: 0;
12901                color: 255 255 255 0;
12902                rel1 {
12903                   relative: 0.0 0.0;
12904                   offset: -5 -5;
12905                }
12906                rel2 {
12907                   relative: 1.0 1.0;
12908                   offset: 4 4;
12909                }
12910                image {
12911                   normal: "bt_sm_base1.png";
12912                   border: 6 6 6 6;
12913                }
12914                image.middle: SOLID;
12915             }
12916             description { state: "selected" 0.0;
12917                inherit: "default" 0.0;
12918                visible: 1;
12919                color: 255 255 255 255;
12920                rel1 {
12921                   relative: 0.0 0.0;
12922                   offset: -2 -2;
12923                }
12924                rel2 {
12925                   relative: 1.0 1.0;
12926                   offset: 1 1;
12927                }
12928             }
12929          }
12930          part { name:          "elm.swallow.icon";
12931             type:          SWALLOW;
12932             description { state:    "default" 0.0;
12933                fixed: 1 0;
12934                align:    0.0 0.5;
12935                rel1 {
12936                   relative: 0.0  0.0;
12937                   offset:   4    4;
12938                }
12939                rel2 {
12940                   relative: 0.0  1.0;
12941                   offset:   4   -5;
12942                }
12943             }
12944          }
12945          part { name:          "elm.swallow.end";
12946             type:          SWALLOW;
12947             description { state:    "default" 0.0;
12948                fixed: 1 0;
12949                align:    1.0 0.5;
12950                rel1 {
12951                   relative: 1.0  0.0;
12952                   offset:   -5    4;
12953                }
12954                rel2 {
12955                   relative: 1.0  1.0;
12956                   offset:   -5   -5;
12957                }
12958             }
12959          }
12960          part {
12961             name:           "elm.text";
12962             type:           TEXT;
12963             effect:         SOFT_SHADOW;
12964             mouse_events:   0;
12965             scale: 1;
12966             description { state: "default" 0.0;
12967 //               min:      16 16;
12968                rel1 {
12969                   to_x:     "elm.swallow.icon";
12970                   relative: 1.0  0.0;
12971                   offset:   4 4;
12972                }
12973                rel2 {
12974                   to_x:     "elm.swallow.end";
12975                   relative: 0.0  1.0;
12976                   offset:   -1 -5;
12977                }
12978                color: 0 0 0 255;
12979                color3: 0 0 0 0;
12980                text {
12981                   font: "Sans";
12982                   size: 10;
12983 //                  min: 1 1;
12984                   min: 0 1;
12985                   align: 0.0 0.5;
12986                   text_class: "list_item";
12987                }
12988             }
12989             description { state: "selected" 0.0;
12990                inherit: "default" 0.0;
12991                color: 224 224 224 255;
12992                color3: 0 0 0 64;
12993             }
12994          }
12995          part { name: "fg1";
12996             mouse_events: 0;
12997             description { state: "default" 0.0;
12998                visible: 0;
12999                color: 255 255 255 0;
13000                rel1.to: "bg";
13001                rel2.relative: 1.0 0.5;
13002                rel2.to: "bg";
13003                image {
13004                   normal: "bt_sm_hilight.png";
13005                   border: 6 6 6 0;
13006                }
13007             }
13008             description { state: "selected" 0.0;
13009                inherit: "default" 0.0;
13010                visible: 1;
13011                color: 255 255 255 255;
13012             }
13013          }
13014          part { name: "fg2";
13015             mouse_events: 0;
13016             description { state: "default" 0.0;
13017                visible: 0;
13018                color: 255 255 255 0;
13019                rel1.to: "bg";
13020                rel2.to: "bg";
13021                image {
13022                   normal: "bt_sm_shine.png";
13023                   border: 6 6 6 0;
13024                }
13025             }
13026             description { state: "selected" 0.0;
13027                inherit: "default" 0.0;
13028                visible: 1;
13029                color: 255 255 255 255;
13030             }
13031          }
13032       }
13033       programs {
13034          program {
13035             name:    "go_active";
13036             signal:  "elm,state,selected";
13037             source:  "elm";
13038             action:  STATE_SET "selected" 0.0;
13039             target:  "bg";
13040             target:  "fg1";
13041             target:  "fg2";
13042             target:  "elm.text";
13043          }
13044          program {
13045             name:    "go_passive";
13046             signal:  "elm,state,unselected";
13047             source:  "elm";
13048             action:  STATE_SET "default" 0.0;
13049             target:  "bg";
13050             target:  "fg1";
13051             target:  "fg2";
13052             target:  "elm.text";
13053             transition: LINEAR 0.1;
13054          }
13055       }
13056    }
13057    group { name: "elm/list/item_compress_odd/default";
13058       data.item: "stacking" "below";
13059       data.item: "selectraise" "on";
13060       images {
13061          image: "bt_sm_base1.png" COMP;
13062          image: "bt_sm_shine.png" COMP;
13063          image: "bt_sm_hilight.png" COMP;
13064          image: "ilist_2.png" COMP;
13065       }
13066       parts {
13067          part {
13068             name:           "event";
13069             type:           RECT;
13070             repeat_events: 1;
13071             description {
13072                state: "default" 0.0;
13073                color: 0 0 0 0;
13074             }
13075          }
13076          part {
13077             name: "base";
13078             mouse_events: 0;
13079             description {
13080                state: "default" 0.0;
13081                image {
13082                   normal: "ilist_2.png";
13083                   border: 2 2 2 2;
13084                }
13085                fill.smooth: 0;
13086             }
13087          }
13088          part { name: "bg";
13089             mouse_events: 0;
13090             description { state: "default" 0.0;
13091                visible: 0;
13092                color: 255 255 255 0;
13093                rel1 {
13094                   relative: 0.0 0.0;
13095                   offset: -5 -5;
13096                }
13097                rel2 {
13098                   relative: 1.0 1.0;
13099                   offset: 4 4;
13100                }
13101                image {
13102                   normal: "bt_sm_base1.png";
13103                   border: 6 6 6 6;
13104                }
13105                image.middle: SOLID;
13106             }
13107             description { state: "selected" 0.0;
13108                inherit: "default" 0.0;
13109                visible: 1;
13110                color: 255 255 255 255;
13111                rel1 {
13112                   relative: 0.0 0.0;
13113                   offset: -2 -2;
13114                }
13115                rel2 {
13116                   relative: 1.0 1.0;
13117                   offset: 1 1;
13118                }
13119             }
13120          }
13121          part { name:          "elm.swallow.icon";
13122             type:          SWALLOW;
13123             description { state:    "default" 0.0;
13124                fixed: 1 0;
13125                align:    0.0 0.5;
13126                rel1 {
13127                   relative: 0.0  0.0;
13128                   offset:   4    4;
13129                }
13130                rel2 {
13131                   relative: 0.0  1.0;
13132                   offset:   4   -5;
13133                }
13134             }
13135          }
13136          part { name:          "elm.swallow.end";
13137             type:          SWALLOW;
13138             description { state:    "default" 0.0;
13139                fixed: 1 0;
13140                align:    1.0 0.5;
13141                rel1 {
13142                   relative: 1.0  0.0;
13143                   offset:   -5    4;
13144                }
13145                rel2 {
13146                   relative: 1.0  1.0;
13147                   offset:   -5   -5;
13148                }
13149             }
13150          }
13151          part {
13152             name:           "elm.text";
13153             type:           TEXT;
13154             effect:         SOFT_SHADOW;
13155             mouse_events:   0;
13156             scale: 1;
13157             description {
13158                state: "default" 0.0;
13159 //               min:      16 16;
13160                rel1 {
13161                   to_x:     "elm.swallow.icon";
13162                   relative: 1.0  0.0;
13163                   offset:   4 4;
13164                }
13165                rel2 {
13166                   to_x:     "elm.swallow.end";
13167                   relative: 0.0  1.0;
13168                   offset:   -1 -5;
13169                }
13170                color: 0 0 0 255;
13171                color3: 0 0 0 0;
13172                text {
13173                   font: "Sans";
13174                   size: 10;
13175 //                  min: 1 1;
13176                   min: 0 1;
13177                   align: 0.0 0.5;
13178                   text_class: "list_item";
13179                }
13180             }
13181             description { state: "selected" 0.0;
13182                inherit: "default" 0.0;
13183                color: 224 224 224 255;
13184                color3: 0 0 0 64;
13185             }
13186          }
13187          part { name: "fg1";
13188             mouse_events: 0;
13189             description { state: "default" 0.0;
13190                visible: 0;
13191                color: 255 255 255 0;
13192                rel1.to: "bg";
13193                rel2.relative: 1.0 0.5;
13194                rel2.to: "bg";
13195                image {
13196                   normal: "bt_sm_hilight.png";
13197                   border: 6 6 6 0;
13198                }
13199             }
13200             description { state: "selected" 0.0;
13201                inherit: "default" 0.0;
13202                visible: 1;
13203                color: 255 255 255 255;
13204             }
13205          }
13206          part { name: "fg2";
13207             mouse_events: 0;
13208             description { state: "default" 0.0;
13209                visible: 0;
13210                color: 255 255 255 0;
13211                rel1.to: "bg";
13212                rel2.to: "bg";
13213                image {
13214                   normal: "bt_sm_shine.png";
13215                   border: 6 6 6 0;
13216                }
13217             }
13218             description { state: "selected" 0.0;
13219                inherit: "default" 0.0;
13220                visible: 1;
13221                color: 255 255 255 255;
13222             }
13223          }
13224       }
13225       programs {
13226          program {
13227             name:    "go_active";
13228             signal:  "elm,state,selected";
13229             source:  "elm";
13230             action:  STATE_SET "selected" 0.0;
13231             target:  "bg";
13232             target:  "fg1";
13233             target:  "fg2";
13234             target:  "elm.text";
13235          }
13236          program {
13237             name:    "go_passive";
13238             signal:  "elm,state,unselected";
13239             source:  "elm";
13240             action:  STATE_SET "default" 0.0;
13241             target:  "bg";
13242             target:  "fg1";
13243             target:  "fg2";
13244             target:  "elm.text";
13245             transition: LINEAR 0.1;
13246          }
13247       }
13248    }
13249
13250 ///////////////////////////////////////////////////////////////////////////////
13251    group { name: "elm/list/h_item/default";
13252       data.item: "stacking" "above";
13253       images {
13254          image: "bt_sm_base1.png" COMP;
13255          image: "bt_sm_shine.png" COMP;
13256          image: "bt_sm_hilight.png" COMP;
13257          image: "ilist_1_h.png" COMP;
13258          image: "ilist_item_shadow_h.png" COMP;
13259       }
13260       parts {
13261          part {
13262             name: "event";
13263             type: RECT;
13264             repeat_events: 1;
13265             description {
13266                state: "default" 0.0;
13267                color: 0 0 0 0;
13268             }
13269          }
13270          part {
13271             name: "base_sh";
13272             mouse_events: 0;
13273             description {
13274                state: "default" 0.0;
13275                align: 0.0 0.0;
13276                min: 10 0;
13277                fixed: 1 1;
13278                rel1 {
13279                   to: "base";
13280                   relative: 1.0 0.0;
13281                   offset: 0 0;
13282                }
13283                rel2 {
13284                   to: "base";
13285                   relative: 1.0 1.0;
13286                   offset: 0 -1;
13287                }
13288                image {
13289                   normal: "ilist_item_shadow_h.png";
13290                }
13291                fill.smooth: 0;
13292             }
13293          }
13294          part {
13295             name: "base";
13296             mouse_events: 0;
13297             description {
13298                state: "default" 0.0;
13299                image {
13300                   normal: "ilist_1_h.png";
13301                   border: 2 2 2 2;
13302                }
13303                fill.smooth: 0;
13304             }
13305          }
13306          part { name: "bg";
13307             mouse_events: 0;
13308             description { state: "default" 0.0;
13309                visible: 0;
13310                color: 255 255 255 0;
13311                rel1 {
13312                   relative: 0.0 0.0;
13313                   offset: -5 -5;
13314                }
13315                rel2 {
13316                   relative: 1.0 1.0;
13317                   offset: 4 4;
13318                }
13319                image {
13320                   normal: "bt_sm_base1.png";
13321                   border: 6 6 6 6;
13322                }
13323                image.middle: SOLID;
13324             }
13325             description { state: "selected" 0.0;
13326                inherit: "default" 0.0;
13327                visible: 1;
13328                color: 255 255 255 255;
13329                rel1 {
13330                   relative: 0.0 0.0;
13331                   offset: -2 -2;
13332                }
13333                rel2 {
13334                   relative: 1.0 1.0;
13335                   offset: 1 1;
13336                }
13337             }
13338          }
13339          part { name: "elm.swallow.icon";
13340             type: SWALLOW;
13341             description { state: "default" 0.0;
13342                fixed: 0 1;
13343                align: 0.5 0.0;
13344                rel1 {
13345                   relative: 0.0 0.0;
13346                   offset: 4 4;
13347                }
13348                rel2 {
13349                   relative: 1.0 0.0;
13350                   offset: -5 4;
13351                }
13352             }
13353          }
13354          part { name: "elm.swallow.end";
13355             type: SWALLOW;
13356             description { state: "default" 0.0;
13357                fixed: 0 1;
13358                align: 0.5 1.0;
13359                rel1 {
13360                   relative: 0.0 1.0;
13361                   offset: 4 -5;
13362                }
13363                rel2 {
13364                   relative: 1.0 1.0;
13365                   offset: -5 -5;
13366                }
13367             }
13368          }
13369          part { name: "elm.text";
13370             type: TEXT;
13371             effect: SOFT_SHADOW;
13372             mouse_events: 0;
13373             scale: 1;
13374             description {
13375                state: "default" 0.0;
13376                fixed: 0 1;
13377                rel1 {
13378                   to_x: "elm.swallow.icon";
13379                   relative: 0.0 1.0;
13380                   offset: 4 4;
13381                }
13382                rel2 {
13383                   to_x: "elm.swallow.end";
13384                   relative: 1.0 0.0;
13385                   offset: -5 -1;
13386                }
13387                color: 0 0 0 255;
13388                color3: 0 0 0 0;
13389                text {
13390                   font: "Sans";
13391                   size: 10;
13392                   min: 1 1;
13393                   align: 0.5 0.5;
13394                   text_class: "list_item";
13395                }
13396             }
13397             description { state: "selected" 0.0;
13398                inherit: "default" 0.0;
13399                color: 224 224 224 255;
13400                color3: 0 0 0 64;
13401             }
13402          }
13403          part { name: "fg1";
13404             mouse_events: 0;
13405             description { state: "default" 0.0;
13406                visible: 0;
13407                color: 255 255 255 0;
13408                rel1.to: "bg";
13409                rel2.relative: 1.0 0.5;
13410                rel2.to: "bg";
13411                image {
13412                   normal: "bt_sm_hilight.png";
13413                   border: 6 6 6 0;
13414                }
13415             }
13416             description { state: "selected" 0.0;
13417                inherit: "default" 0.0;
13418                visible: 1;
13419                color: 255 255 255 255;
13420             }
13421          }
13422          part { name: "fg2";
13423             mouse_events: 0;
13424             description { state: "default" 0.0;
13425                visible: 0;
13426                color: 255 255 255 0;
13427                rel1.to: "bg";
13428                rel2.to: "bg";
13429                image {
13430                   normal: "bt_sm_shine.png";
13431                   border: 6 6 6 0;
13432                }
13433             }
13434             description { state: "selected" 0.0;
13435                inherit: "default" 0.0;
13436                visible: 1;
13437                color: 255 255 255 255;
13438             }
13439          }
13440       }
13441       programs {
13442          program {
13443             name: "go_active";
13444             signal: "elm,state,selected";
13445             source: "elm";
13446             action: STATE_SET "selected" 0.0;
13447             target: "bg";
13448             target: "fg1";
13449             target: "fg2";
13450             target: "elm.text";
13451          }
13452          program {
13453             name: "go_passive";
13454             signal: "elm,state,unselected";
13455             source: "elm";
13456             action: STATE_SET "default" 0.0;
13457             target: "bg";
13458             target: "fg1";
13459             target: "fg2";
13460             target: "elm.text";
13461             transition: LINEAR 0.1;
13462          }
13463       }
13464    }
13465    group { name: "elm/list/h_item_odd/default";
13466       data.item: "stacking" "below";
13467       data.item: "selectraise" "on";
13468       images {
13469          image: "bt_sm_base1.png" COMP;
13470          image: "bt_sm_shine.png" COMP;
13471          image: "bt_sm_hilight.png" COMP;
13472          image: "ilist_2_h.png" COMP;
13473       }
13474       parts {
13475          part {
13476             name: "event";
13477             type: RECT;
13478             repeat_events: 1;
13479             description {
13480                state: "default" 0.0;
13481                color: 0 0 0 0;
13482             }
13483          }
13484          part {
13485             name: "base";
13486             mouse_events: 0;
13487             description {
13488                state: "default" 0.0;
13489                image {
13490                   normal: "ilist_2_h.png";
13491                   border: 2 2 2 2;
13492                }
13493                fill.smooth: 0;
13494             }
13495          }
13496          part { name: "bg";
13497             mouse_events: 0;
13498             description { state: "default" 0.0;
13499                visible: 0;
13500                color: 255 255 255 0;
13501                rel1 {
13502                   relative: 0.0 0.0;
13503                   offset: -5 -5;
13504                }
13505                rel2 {
13506                   relative: 1.0 1.0;
13507                   offset: 4 4;
13508                }
13509                image {
13510                   normal: "bt_sm_base1.png";
13511                   border: 6 6 6 6;
13512                }
13513                image.middle: SOLID;
13514             }
13515             description { state: "selected" 0.0;
13516                inherit: "default" 0.0;
13517                visible: 1;
13518                color: 255 255 255 255;
13519                rel1 {
13520                   relative: 0.0 0.0;
13521                   offset: -2 -2;
13522                }
13523                rel2 {
13524                   relative: 1.0 1.0;
13525                   offset: 1 1;
13526                }
13527             }
13528          }
13529          part {
13530             name: "elm.swallow.icon";
13531             type: SWALLOW;
13532             description { state: "default" 0.0;
13533                fixed: 0 1;
13534                align: 0.5 0.0;
13535                rel1 {
13536                   relative: 0.0 0.0;
13537                   offset: 4 4;
13538                }
13539                rel2 {
13540                   relative: 1.0 0.0;
13541                   offset: -5 4;
13542                }
13543             }
13544          }
13545          part {
13546             name: "elm.swallow.end";
13547             type: SWALLOW;
13548             description { state: "default" 0.0;
13549                fixed: 0 1;
13550                align: 0.5 1.0;
13551                rel1 {
13552                   relative: 0.0 1.0;
13553                   offset: 4 -5;
13554                }
13555                rel2 {
13556                   relative: 1.0 1.0;
13557                   offset: -5 -5;
13558                }
13559             }
13560          }
13561          part { name: "elm.text";
13562             type: TEXT;
13563             effect: SOFT_SHADOW;
13564             mouse_events: 0;
13565             scale: 1;
13566             description {
13567                state: "default" 0.0;
13568                fixed: 1 1;
13569                rel1 {
13570                   to_x: "elm.swallow.icon";
13571                   relative: 0.0 1.0;
13572                   offset: 4 4;
13573                }
13574                rel2 {
13575                   to_x: "elm.swallow.end";
13576                   relative: 1.0 0.0;
13577                   offset: -5 -1;
13578                }
13579                color: 0 0 0 255;
13580                color3: 0 0 0 0;
13581                text {
13582                   font: "Sans";
13583                   size: 10;
13584                   min: 1 1;
13585                   align: 0.5 0.5;
13586                   text_class: "list_item";
13587                }
13588             }
13589             description { state: "selected" 0.0;
13590                inherit: "default" 0.0;
13591                color: 224 224 224 255;
13592                color3: 0 0 0 64;
13593             }
13594          }
13595          part { name: "fg1";
13596             mouse_events: 0;
13597             description { state: "default" 0.0;
13598                visible: 0;
13599                color: 255 255 255 0;
13600                rel1.to: "bg";
13601                rel2.relative: 1.0 0.5;
13602                rel2.to: "bg";
13603                image {
13604                   normal: "bt_sm_hilight.png";
13605                   border: 6 6 6 0;
13606                }
13607             }
13608             description { state: "selected" 0.0;
13609                inherit: "default" 0.0;
13610                visible: 1;
13611                color: 255 255 255 255;
13612             }
13613          }
13614          part { name: "fg2";
13615             mouse_events: 0;
13616             description { state: "default" 0.0;
13617                visible: 0;
13618                color: 255 255 255 0;
13619                rel1.to: "bg";
13620                rel2.to: "bg";
13621                image {
13622                   normal: "bt_sm_shine.png";
13623                   border: 6 6 6 0;
13624                }
13625             }
13626             description { state: "selected" 0.0;
13627                inherit: "default" 0.0;
13628                visible: 1;
13629                color: 255 255 255 255;
13630             }
13631          }
13632       }
13633       programs {
13634          program {
13635             name: "go_active";
13636             signal: "elm,state,selected";
13637             source: "elm";
13638             action: STATE_SET "selected" 0.0;
13639             target: "bg";
13640             target: "fg1";
13641             target: "fg2";
13642             target: "elm.text";
13643          }
13644          program {
13645             name: "go_passive";
13646             signal: "elm,state,unselected";
13647             source: "elm";
13648             action: STATE_SET "default" 0.0;
13649             target: "bg";
13650             target: "fg1";
13651             target: "fg2";
13652             target: "elm.text";
13653             transition: LINEAR 0.1;
13654          }
13655       }
13656    }
13657    group { name: "elm/list/h_item_compress/default";
13658       data.item: "stacking" "above";
13659       data.item: "selectraise" "on";
13660       images {
13661          image: "bt_sm_base1.png" COMP;
13662          image: "bt_sm_shine.png" COMP;
13663          image: "bt_sm_hilight.png" COMP;
13664          image: "ilist_1_h.png" COMP;
13665          image: "ilist_item_shadow_h.png" COMP;
13666       }
13667       parts {
13668          part {
13669             name: "event";
13670             type: RECT;
13671             repeat_events: 1;
13672             description {
13673                state: "default" 0.0;
13674                color: 0 0 0 0;
13675             }
13676          }
13677          part {
13678             name: "base_sh";
13679             mouse_events: 0;
13680             description { state: "default" 0.0;
13681                fixed: 1 1;
13682                align: 0.0 0.0;
13683                min: 10 0;
13684                rel1 {
13685                   to: "base";
13686                   relative: 1.0 0.0;
13687                   offset: 0 0;
13688                }
13689                rel2 {
13690                   to: "base";
13691                   relative: 1.0 1.0;
13692                   offset: 0 -1;
13693                }
13694                image {
13695                   normal: "ilist_item_shadow_h.png";
13696                }
13697                fill.smooth: 0;
13698             }
13699          }
13700          part {
13701             name: "base";
13702             mouse_events: 0;
13703             description {
13704                state: "default" 0.0;
13705                image {
13706                   normal: "ilist_1_h.png";
13707                   border: 2 2 2 2;
13708                }
13709                fill.smooth: 0;
13710             }
13711          }
13712          part { name: "bg";
13713             mouse_events: 0;
13714             description { state: "default" 0.0;
13715                visible: 0;
13716                color: 255 255 255 0;
13717                rel1 {
13718                   relative: 0.0 0.0;
13719                   offset: -5 -5;
13720                }
13721                rel2 {
13722                   relative: 1.0 1.0;
13723                   offset: 4 4;
13724                }
13725                image {
13726                   normal: "bt_sm_base1.png";
13727                   border: 6 6 6 6;
13728                }
13729                image.middle: SOLID;
13730             }
13731             description { state: "selected" 0.0;
13732                inherit: "default" 0.0;
13733                visible: 1;
13734                color: 255 255 255 255;
13735                rel1 {
13736                   relative: 0.0 0.0;
13737                   offset: -2 -2;
13738                }
13739                rel2 {
13740                   relative: 1.0 1.0;
13741                   offset: 1 1;
13742                }
13743             }
13744          }
13745          part { name: "elm.swallow.icon";
13746             type: SWALLOW;
13747             description { state: "default" 0.0;
13748                fixed: 0 1;
13749                align: 0.5 0.0;
13750                rel1 {
13751                   relative: 0.0 0.0;
13752                   offset: 4 4;
13753                }
13754                rel2 {
13755                   relative: 1.0 0.0;
13756                   offset: -5 4;
13757                }
13758             }
13759          }
13760          part { name: "elm.swallow.end";
13761             type: SWALLOW;
13762             description { state: "default" 0.0;
13763                fixed: 0 1;
13764                align: 0.5 1.0;
13765                rel1 {
13766                   relative: 0.0 1.0;
13767                   offset: 4 -5;
13768                }
13769                rel2 {
13770                   relative: 1.0 1.0;
13771                   offset: -5 -5;
13772                }
13773             }
13774          }
13775          part {
13776             name: "elm.text";
13777             type: TEXT;
13778             effect: SOFT_SHADOW;
13779             mouse_events: 0;
13780             scale: 1;
13781             description { state: "default" 0.0;
13782                fixed: 1 1;
13783                rel1 {
13784                   to_x: "elm.swallow.icon";
13785                   relative: 0.0 1.0;
13786                   offset: 4 4;
13787                }
13788                rel2 {
13789                   to_x: "elm.swallow.end";
13790                   relative: 1.0 0.0;
13791                   offset: -5 -1;
13792                }
13793                color: 0 0 0 255;
13794                color3: 0 0 0 0;
13795                text {
13796                   font: "Sans";
13797                   size: 10;
13798                   min: 1 1;
13799                   align: 0.5 0.5;
13800                   text_class: "list_item";
13801                }
13802             }
13803             description { state: "selected" 0.0;
13804                inherit: "default" 0.0;
13805                color: 224 224 224 255;
13806                color3: 0 0 0 64;
13807             }
13808          }
13809          part { name: "fg1";
13810             mouse_events: 0;
13811             description { state: "default" 0.0;
13812                visible: 0;
13813                color: 255 255 255 0;
13814                rel1.to: "bg";
13815                rel2.relative: 1.0 0.5;
13816                rel2.to: "bg";
13817                image {
13818                   normal: "bt_sm_hilight.png";
13819                   border: 6 6 6 0;
13820                }
13821             }
13822             description { state: "selected" 0.0;
13823                inherit: "default" 0.0;
13824                visible: 1;
13825                color: 255 255 255 255;
13826             }
13827          }
13828          part { name: "fg2";
13829             mouse_events: 0;
13830             description { state: "default" 0.0;
13831                visible: 0;
13832                color: 255 255 255 0;
13833                rel1.to: "bg";
13834                rel2.to: "bg";
13835                image {
13836                   normal: "bt_sm_shine.png";
13837                   border: 6 6 6 0;
13838                }
13839             }
13840             description { state: "selected" 0.0;
13841                inherit: "default" 0.0;
13842                visible: 1;
13843                color: 255 255 255 255;
13844             }
13845          }
13846       }
13847       programs {
13848          program {
13849             name: "go_active";
13850             signal: "elm,state,selected";
13851             source: "elm";
13852             action: STATE_SET "selected" 0.0;
13853             target: "bg";
13854             target: "fg1";
13855             target: "fg2";
13856             target: "elm.text";
13857          }
13858          program {
13859             name: "go_passive";
13860             signal: "elm,state,unselected";
13861             source: "elm";
13862             action: STATE_SET "default" 0.0;
13863             target: "bg";
13864             target: "fg1";
13865             target: "fg2";
13866             target: "elm.text";
13867             transition: LINEAR 0.1;
13868          }
13869       }
13870    }
13871    group { name: "elm/list/h_item_compress_odd/default";
13872       data.item: "stacking" "below";
13873       data.item: "selectraise" "on";
13874       images {
13875          image: "bt_sm_base1.png" COMP;
13876          image: "bt_sm_shine.png" COMP;
13877          image: "bt_sm_hilight.png" COMP;
13878          image: "ilist_2_h.png" COMP;
13879       }
13880       parts {
13881          part {
13882             name: "event";
13883             type: RECT;
13884             repeat_events: 1;
13885             description {
13886                state: "default" 0.0;
13887                color: 0 0 0 0;
13888             }
13889          }
13890          part {
13891             name: "base";
13892             mouse_events: 0;
13893             description {
13894                state: "default" 0.0;
13895                image {
13896                   normal: "ilist_2_h.png";
13897                   border: 2 2 2 2;
13898                }
13899                fill.smooth: 0;
13900             }
13901          }
13902          part { name: "bg";
13903             mouse_events: 0;
13904             description { state: "default" 0.0;
13905                visible: 0;
13906                color: 255 255 255 0;
13907                rel1 {
13908                   relative: 0.0 0.0;
13909                   offset: -5 -5;
13910                }
13911                rel2 {
13912                   relative: 1.0 1.0;
13913                   offset: 4 4;
13914                }
13915                image {
13916                   normal: "bt_sm_base1.png";
13917                   border: 6 6 6 6;
13918                }
13919                image.middle: SOLID;
13920             }
13921             description { state: "selected" 0.0;
13922                inherit: "default" 0.0;
13923                visible: 1;
13924                color: 255 255 255 255;
13925                rel1 {
13926                   relative: 0.0 0.0;
13927                   offset: -2 -2;
13928                }
13929                rel2 {
13930                   relative: 1.0 1.0;
13931                   offset: 1 1;
13932                }
13933             }
13934          }
13935          part { name: "elm.swallow.icon";
13936             type: SWALLOW;
13937             description { state: "default" 0.0;
13938                fixed: 0 1;
13939                align: 0.5 0.0;
13940                rel1 {
13941                   relative: 0.0 0.0;
13942                   offset: 4 4;
13943                }
13944                rel2 {
13945                   relative: 1.0 0.0;
13946                   offset: -5 4;
13947                }
13948             }
13949          }
13950          part { name: "elm.swallow.end";
13951             type: SWALLOW;
13952             description { state: "default" 0.0;
13953                fixed: 0 1;
13954                align: 0.5 1.0;
13955                rel1 {
13956                   relative: 0.0 1.0;
13957                   offset: 4 -5;
13958                }
13959                rel2 {
13960                   relative: 1.0 1.0;
13961                   offset: -5 -5;
13962                }
13963             }
13964          }
13965          part { name: "elm.text";
13966             type: TEXT;
13967             effect: SOFT_SHADOW;
13968             mouse_events: 0;
13969             scale: 1;
13970             description {
13971                state: "default" 0.0;
13972                fixed: 1 1;
13973                rel1 {
13974                   to_x: "elm.swallow.icon";
13975                   relative: 0.0 1.0;
13976                   offset: 4 4;
13977                }
13978                rel2 {
13979                   to_x: "elm.swallow.end";
13980                   relative: 1.0 0.0;
13981                   offset: -5 -1;
13982                }
13983                color: 0 0 0 255;
13984                color3: 0 0 0 0;
13985                text {
13986                   font: "Sans";
13987                   size: 10;
13988                   min: 1 1;
13989                   align: 0.5 0.5;
13990                   text_class: "list_item";
13991                }
13992             }
13993             description { state: "selected" 0.0;
13994                inherit: "default" 0.0;
13995                color: 224 224 224 255;
13996                color3: 0 0 0 64;
13997             }
13998          }
13999          part { name: "fg1";
14000             mouse_events: 0;
14001             description { state: "default" 0.0;
14002                visible: 0;
14003                color: 255 255 255 0;
14004                rel1.to: "bg";
14005                rel2.relative: 1.0 0.5;
14006                rel2.to: "bg";
14007                image {
14008                   normal: "bt_sm_hilight.png";
14009                   border: 6 6 6 0;
14010                }
14011             }
14012             description { state: "selected" 0.0;
14013                inherit: "default" 0.0;
14014                visible: 1;
14015                color: 255 255 255 255;
14016             }
14017          }
14018          part { name: "fg2";
14019             mouse_events: 0;
14020             description { state: "default" 0.0;
14021                visible: 0;
14022                color: 255 255 255 0;
14023                rel1.to: "bg";
14024                rel2.to: "bg";
14025                image {
14026                   normal: "bt_sm_shine.png";
14027                   border: 6 6 6 0;
14028                }
14029             }
14030             description { state: "selected" 0.0;
14031                inherit: "default" 0.0;
14032                visible: 1;
14033                color: 255 255 255 255;
14034             }
14035          }
14036       }
14037       programs {
14038          program {
14039             name: "go_active";
14040             signal: "elm,state,selected";
14041             source: "elm";
14042             action: STATE_SET "selected" 0.0;
14043             target: "bg";
14044             target: "fg1";
14045             target: "fg2";
14046             target: "elm.text";
14047          }
14048          program {
14049             name: "go_passive";
14050             signal: "elm,state,unselected";
14051             source: "elm";
14052             action: STATE_SET "default" 0.0;
14053             target: "bg";
14054             target: "fg1";
14055             target: "fg2";
14056             target: "elm.text";
14057             transition: LINEAR 0.1;
14058          }
14059       }
14060    }
14061
14062 ///////////////////////////////////////////////////////////////////////////////
14063    group { name: "elm/slider/horizontal/default";
14064            alias: "elm/slider/horizontal/disabled";
14065       images {
14066          image: "sl_bg.png" COMP;
14067          image: "sl_bg_over.png" COMP;
14068          image: "sl_units.png" COMP;
14069       }
14070       parts {
14071          part { name: "base";
14072             mouse_events: 0;
14073             description { state: "default" 0.0;
14074                max: 99999 6;
14075                min: 0 6;
14076                rel1 { to: "bg";
14077                   offset: 1 0;
14078                }
14079                rel2 { to: "bg";
14080                   offset: -2 -1;
14081                }
14082                image.normal: "sl_bg.png";
14083                fill.smooth: 0;
14084             }
14085          }
14086          part { name: "level";
14087             type: RECT;
14088             mouse_events: 0;
14089             description { state: "default" 0.0;
14090                fixed: 1 1;
14091                rel1.to: "base";
14092                rel2 {
14093                   to_y: "base";
14094                   to_x: "elm.dragable.slider";
14095                   relative: 0.5 1.0;
14096                }
14097                color: 255 0 0 200;
14098             }
14099             description { state: "inverted" 0.0;
14100                inherit: "default" 0.0;
14101                visible: 0;
14102             }
14103             description { state: "disabled" 0.0;
14104                inherit: "default" 0.0;
14105                color: 255 0 0 100;
14106             }
14107             description { state: "disabled_inverted" 0.0;
14108                inherit: "default" 0.0;
14109                visible: 0;
14110             }
14111          }
14112          part { name: "level2";
14113             type: RECT;
14114             mouse_events: 0;
14115             description { state: "default" 0.0;
14116                fixed: 1 1;
14117                visible: 0;
14118                rel1 {
14119                   to_y: "base";
14120                   to_x: "elm.dragable.slider";
14121                   relative: 0.5 0.0;
14122                }
14123                rel2.to: "base";
14124                color: 255 0 0 200;
14125             }
14126             description { state: "inverted" 0.0;
14127                inherit: "default" 0.0;
14128                visible: 1;
14129             }
14130             description { state: "disabled" 0.0;
14131                inherit: "default" 0.0;
14132             }
14133             description { state: "disabled_inverted" 0.0;
14134                inherit: "default" 0.0;
14135                color: 255 0 0 100;
14136                visible: 1;
14137             }
14138          }
14139          part {
14140             name: "base_over";
14141             mouse_events: 0;
14142             description { state: "default" 0.0;
14143                rel1.to: "base";
14144                rel1.offset: -1 -1;
14145                rel2.to: "base";
14146                rel2.offset: 0 0;
14147                image {
14148                   normal: "sl_bg_over.png";
14149                   border: 3 3 3 3;
14150                }
14151                fill.smooth: 0;
14152             }
14153          }
14154          part { name: "bg";
14155             type: RECT;
14156             mouse_events: 0;
14157             scale: 1;
14158             description { state: "default" 0.0;
14159                visible: 0;
14160                rel1.to: "elm.swallow.bar";
14161                rel2.to: "elm.swallow.bar";
14162                color: 0 0 0 0;
14163             }
14164          }
14165          part { name: "elm.swallow.bar";
14166             type: SWALLOW;
14167             scale: 1;
14168             description { state: "default" 0.0;
14169                min: 48 24;
14170                max: 99999 24;
14171                align: 1.0 0.5;
14172                rel1 {
14173                   to_x: "elm.text";
14174                   relative: 1.0 0.0;
14175                   offset: 8 0;
14176                }
14177                rel2 {
14178                   to_x: "elm.units";
14179                   relative: 0.0 1.0;
14180                   offset: -10 -1;
14181                }
14182             }
14183          }
14184          part { name: "elm.swallow.icon";
14185             type: SWALLOW;
14186             description { state: "default" 0.0;
14187                visible: 0;
14188                align: 0.0 0.5;
14189                rel1 {
14190                   offset: 4 0;
14191                   to_y: "elm.swallow.bar";
14192                }
14193                rel2 {
14194                   offset: 3 -1;
14195                   relative: 0.0 1.0;
14196                   to_y: "elm.swallow.bar";
14197                }
14198             }
14199             description { state: "visible" 0.0;
14200                inherit: "default" 0.0;
14201                visible: 1;
14202                aspect: 1.0 1.0;
14203                aspect_preference: VERTICAL;
14204                rel2.offset: 4 -1;
14205             }
14206          }
14207          part { name: "elm.text";
14208             type: TEXT;
14209             mouse_events: 0;
14210             scale: 1;
14211             description { state: "default" 0.0;
14212                visible: 0;
14213                fixed: 1 1;
14214                align: 0.0 0.5;
14215                rel1.to_x: "elm.swallow.icon";
14216                rel1.relative: 1.0 0.0;
14217                rel1.offset: -1 4;
14218                rel2.to_x: "elm.swallow.icon";
14219                rel2.relative: 1.0 1.0;
14220                rel2.offset: -1 -5;
14221                color: 0 0 0 255;
14222                text {
14223                   font: "Sans,Edje-Vera";
14224                   size: 10;
14225                   min: 0 0;
14226                   align: 0.0 0.5;
14227                }
14228             }
14229             description { state: "visible" 0.0;
14230                inherit: "default" 0.0;
14231                visible: 1;
14232                text.min: 1 1;
14233                rel1.offset: 0 4;
14234                rel2.offset: 0 -5;
14235             }
14236             description { state: "disabled" 0.0;
14237                inherit: "default" 0.0;
14238                color: 255 128 128 128;
14239                visible: 0;
14240             }
14241             description { state: "disabled_visible" 0.0;
14242                inherit: "default" 0.0;
14243                color: 0 0 0 128;
14244                color3: 0 0 0 0;
14245                visible: 1;
14246                text.min: 1 1;
14247             }
14248          }
14249          part {
14250             name: "elm.swallow.end";
14251             type: SWALLOW;
14252             description {
14253                state: "default" 0.0;
14254                visible: 0;
14255                align: 1.0 0.5;
14256                rel1 {
14257                   offset: -4 0;
14258                   relative: 1.0 0.0;
14259                   to_y: "elm.swallow.bar";
14260                }
14261                rel2 {
14262                   offset: -3 -1;
14263                   to_y: "elm.swallow.bar";
14264                }
14265             }
14266             description { state: "visible" 0.0;
14267                inherit: "default" 0.0;
14268                visible: 1;
14269                aspect: 1.0 1.0;
14270                aspect_preference: VERTICAL;
14271                rel2.offset: -4 -1;
14272             }
14273          }
14274          part { name: "units";
14275             mouse_events: 0;
14276             description { state: "default" 0.0;
14277                visible: 0;
14278                rel1 {
14279                   to_x: "elm.units";
14280                   offset: 0 5;
14281                }
14282                rel2 {
14283                   to_x: "elm.units";
14284                   offset: 5 -3;
14285                }
14286                image {
14287                   normal: "sl_units.png";
14288                   border: 0 5 3 8;
14289                }
14290                fill.smooth: 0;
14291             }
14292             description { state: "visible" 0.0;
14293                inherit: "default" 0.0;
14294                visible: 1;
14295             }
14296          }
14297          part { name: "elm.units";
14298             type: TEXT;
14299             mouse_events: 0;
14300             scale: 1;
14301             description { state: "default" 0.0;
14302                visible: 0;
14303                fixed: 1 1;
14304                align: 1.0 0.5;
14305                rel1.to_x: "elm.swallow.end";
14306                rel1.relative: 0.0 0.0;
14307                rel1.offset: 0 8;
14308                rel2.to_x: "elm.swallow.end";
14309                rel2.relative: 0.0 1.0;
14310                rel2.offset: 0 -9;
14311                color: 0 0 0 255;
14312                text {
14313                   font: "Sans,Edje-Vera";
14314                   size: 10;
14315                   min: 0 0;
14316                   align: 0.0 0.5;
14317                }
14318             }
14319             description { state: "visible" 0.0;
14320                inherit: "default" 0.0;
14321                fixed: 1 1;
14322                visible: 1;
14323                text.min: 1 1;
14324                rel1.offset: -5 0;
14325                rel2.offset: -5 -1;
14326             }
14327             description { state: "disabled" 0.0;
14328                inherit: "default" 0.0;
14329                color: 255 128 128 128;
14330                visible: 0;
14331             }
14332             description { state: "disabled_visible" 0.0;
14333                inherit: "default" 0.0;
14334                color: 0 0 0 128;
14335                color3: 0 0 0 0;
14336                visible: 1;
14337                text.min: 1 1;
14338             }
14339          }
14340          part { name: "elm.dragable.slider";
14341             type: GROUP;
14342             source: "elm/slider/horizontal/indicator/default";
14343             mouse_events: 1;
14344             repeat_events: 1;
14345             scale: 1;
14346             dragable {
14347                x: 1 1 0;
14348                y: 0 0 0;
14349                confine: "bg";
14350             }
14351             description { state: "default" 0.0;
14352                min: 0 24;
14353                max: 0 24;
14354                fixed: 1 1;
14355                rel1 {
14356                   relative: 0.5 0.0;
14357                   to_x: "bg";
14358                }
14359                rel2 {
14360                   relative: 0.5 1.0;
14361                   to_x: "bg";
14362                }
14363                color: 255 0 0 100;
14364             }
14365          }
14366           part { name: "disabler";
14367             type: RECT;
14368             description { state: "default" 0.0;
14369                color: 0 0 0 0;
14370                visible: 0;
14371             }
14372             description { state: "disabled" 0.0;
14373                inherit: "default" 0.0;
14374                visible: 1;
14375             }
14376          }
14377       }
14378       programs {
14379          program { name: "text_show";
14380             signal: "elm,state,text,visible";
14381             source: "elm";
14382             action:  STATE_SET "visible" 0.0;
14383             target: "elm.text";
14384          }
14385          program { name: "text_hide";
14386             signal: "elm,state,text,hidden";
14387             source: "elm";
14388             action:  STATE_SET "default" 0.0;
14389             target: "elm.text";
14390          }
14391          program { name: "icon_show";
14392             signal: "elm,state,icon,visible";
14393             source: "elm";
14394             action:  STATE_SET "visible" 0.0;
14395             target: "elm.swallow.icon";
14396          }
14397          program { name: "icon_hide";
14398             signal: "elm,state,icon,hidden";
14399             source: "elm";
14400             action:  STATE_SET "default" 0.0;
14401             target: "elm.swallow.icon";
14402          }
14403           program { name: "end_show";
14404             signal: "elm,state,end,visible";
14405             source: "elm";
14406             action:  STATE_SET "visible" 0.0;
14407             target: "elm.swallow.end";
14408          }
14409          program { name: "end_hide";
14410             signal: "elm,state,end,hidden";
14411             source: "elm";
14412             action:  STATE_SET "default" 0.0;
14413             target: "elm.swallow.end";
14414          }
14415          program { name: "units_show";
14416             signal: "elm,state,units,visible";
14417             source: "elm";
14418             action:  STATE_SET "visible" 0.0;
14419             target: "elm.units";
14420             target: "units";
14421          }
14422          program { name: "units_hide";
14423             signal: "elm,state,units,hidden";
14424             source: "elm";
14425             action:  STATE_SET "default" 0.0;
14426             target: "elm.units";
14427             target: "units";
14428          }
14429          program { name: "invert_on";
14430             signal: "elm,state,inverted,on";
14431             source: "elm";
14432             action:  STATE_SET "inverted" 0.0;
14433             target: "level";
14434             target: "level2";
14435          }
14436          program { name: "invert_off";
14437             signal: "elm,state,inverted,off";
14438             source: "elm";
14439             action:  STATE_SET "default" 0.0;
14440             target: "level";
14441             target: "level2";
14442          }
14443          program {
14444             name:    "go_disabled";
14445             signal:  "elm,state,disabled";
14446             source:  "elm";
14447             action:  STATE_SET "disabled" 0.0;
14448 //            target: "button0";
14449             target: "disabler";
14450             after: "disable_text";
14451             after: "disable_ind";
14452          }
14453
14454          program { name: "disable_ind";
14455             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14456          }
14457          program { name: "disable_text";
14458             script {
14459                new st[31];
14460                new Float:vl;
14461                get_state(PART:"elm.text", st, 30, vl);
14462                if (!strcmp(st, "visible"))
14463                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14464                else
14465                   set_state(PART:"elm.text", "disabled", 0.0);
14466
14467                get_state(PART:"elm.units", st, 30, vl);
14468                if (!strcmp(st, "visible"))
14469                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14470                else
14471                   set_state(PART:"elm.units", "disabled", 0.0);
14472
14473                get_state(PART:"level2", st, 30, vl);
14474                if (!strcmp(st, "inverted"))
14475                {
14476                   set_state(PART:"level", "disabled_inverted", 0.0);
14477                   set_state(PART:"level2", "disabled_inverted", 0.0);
14478                }
14479                else
14480                {
14481                   set_state(PART:"level", "disabled", 0.0);
14482                   set_state(PART:"level2", "disabled", 0.0);
14483                }
14484             }
14485          }
14486          program { name: "enable";
14487             signal: "elm,state,enabled";
14488             source: "elm";
14489             action: STATE_SET "default" 0.0;
14490 //            target: "button0";
14491             target: "disabler";
14492             after: "enable_text";
14493             after: "enable_ind";
14494          }
14495
14496          program { name: "enable_ind";
14497             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14498          }
14499
14500          program { name: "enable_text";
14501             script {
14502                new st[31];
14503                new Float:vl;
14504                get_state(PART:"elm.text", st, 30, vl);
14505                if (!strcmp(st, "disabled_visible"))
14506                   set_state(PART:"elm.text", "visible", 0.0);
14507                else
14508                   set_state(PART:"elm.text", "default", 0.0);
14509
14510                get_state(PART:"elm.units", st, 30, vl);
14511                if (!strcmp(st, "disabled_visible"))
14512                   set_state(PART:"elm.units", "visible", 0.0);
14513                else
14514                   set_state(PART:"elm.units", "default", 0.0);
14515
14516                get_state(PART:"level2", st, 30, vl);
14517                if (!strcmp(st, "disabled_inverted"))
14518                {
14519                   set_state(PART:"level", "inverted", 0.0);
14520                   set_state(PART:"level2", "inverted", 0.0);
14521                }
14522                else
14523                {
14524                   set_state(PART:"level", "default", 0.0);
14525                   set_state(PART:"level2", "default", 0.0);
14526                }
14527             }
14528          }
14529       }
14530    }
14531
14532    group { name: "elm/slider/horizontal/indicator/default";
14533            alias: "elm/slider/horizontal/indicator/disabled";
14534            alias: "elm/slider/vertical/indicator/default";
14535            alias: "elm/slider/vertical/indicator/disabled";
14536       images {
14537          image: "sl_bt_0.png" COMP;
14538          image: "sl_bt_1.png" COMP;
14539          image: "sl_bt_2.png" COMP;
14540          image: "sl_bt_3.png" COMP;
14541          image: "sl_bt2_0_0.png" COMP;
14542          image: "sl_bt2_0_1.png" COMP;
14543          image: "sl_bt2_0_2.png" COMP;
14544          image: "sl_bt2_1.png" COMP;
14545          image: "sl_bt2_2.png" COMP;
14546       }
14547       script {
14548          public value_hide = 0;
14549          public set_value_show() {
14550             set_int(value_hide, 0);
14551          }
14552          public set_value_hide() {
14553             set_int(value_hide, 1);
14554          }
14555          public thumb_down() {
14556             if (get_int(value_hide) == 1) {
14557                set_state(PART:"elm.indicator", "default", 0.0);
14558                set_state(PART:"button3", "default", 0.0);
14559                set_state(PART:"button4", "default", 0.0);
14560                set_state(PART:"button5", "default", 0.0);
14561                set_state(PART:"button6", "default", 0.0);
14562                set_state(PART:"button7", "default", 0.0);
14563             } else {
14564                set_state(PART:"elm.indicator", "visible", 0.0);
14565                set_state(PART:"button3", "visible", 0.0);
14566                set_state(PART:"button4", "visible", 0.0);
14567                set_state(PART:"button5", "visible", 0.0);
14568                set_state(PART:"button6", "visible", 0.0);
14569                set_state(PART:"button7", "visible", 0.0);
14570             }
14571          }
14572          public thumb_up() {
14573             set_state(PART:"elm.indicator", "default", 0.0);
14574             set_state(PART:"button3", "default", 0.0);
14575             set_state(PART:"button4", "default", 0.0);
14576             set_state(PART:"button5", "default", 0.0);
14577             set_state(PART:"button6", "default", 0.0);
14578             set_state(PART:"button7", "default", 0.0);
14579          }
14580       }
14581       parts {
14582          part { name: "button_events";
14583             type: RECT;
14584             mouse_events: 1;
14585             description { state: "default" 0.0;
14586                fixed: 1 1;
14587                min: 16 16;
14588                aspect: 1.0 1.0;
14589                aspect_preference: VERTICAL;
14590                color: 0 0 0 0;
14591             }
14592          }
14593          part { name: "button0";
14594             mouse_events: 0;
14595             description { state: "default" 0.0;
14596                fixed: 1 1;
14597                max: 17 999;
14598                min: 17 24;
14599                image {
14600                   normal: "sl_bt_0.png";
14601                   border: 5 5 5 10;
14602                }
14603                fill.smooth: 0;
14604             }
14605             description { state: "disabled" 0.0;
14606                inherit: "default" 0.0;
14607                image {
14608                   normal: "sl_bt_3.png";
14609                   border: 5 5 5 10;
14610                }
14611             }
14612          }
14613          part { name: "button1";
14614             mouse_events: 0;
14615             description { state: "default" 0.0;
14616                rel1.to: "button0";
14617                rel2 {
14618                   to: "button0";
14619                   relative: 1.0 0.5;
14620                   offset: -1 -5;
14621                }
14622                image {
14623                   normal: "sl_bt_1.png";
14624                   border: 5 5 5 0;
14625                }
14626             }
14627          }
14628          part { name: "button2";
14629             mouse_events: 0;
14630             description { state: "default" 0.0;
14631                rel1.to: "button0";
14632                rel2.to: "button0";
14633                image {
14634                   normal: "sl_bt_2.png";
14635                   border: 5 5 5 10;
14636                }
14637                fill.smooth: 0;
14638             }
14639          }
14640          part { name: "button3";
14641             mouse_events: 0;
14642             description { state: "default" 0.0;
14643                fixed: 1 1;
14644                visible: 0;
14645                min: 8 32;
14646                align: 1.0 0.5;
14647                rel1 {
14648                   to_x: "elm.indicator";
14649                   to_y: "button4";
14650                   relative: 0.0 0.0;
14651                   offset: -7 0;
14652                }
14653                rel2 {
14654                   to: "button4";
14655                   relative: 0.0 1.0;
14656                   offset: -1 -1;
14657                }
14658                image {
14659                   normal: "sl_bt2_0_0.png";
14660                   border: 6 0 6 12;
14661                }
14662                fill.smooth: 0;
14663             }
14664             description { state: "visible" 0.0;
14665                inherit: "default" 0.0;
14666                visible: 1;
14667             }
14668          }
14669          part { name: "button4";
14670             mouse_events: 0;
14671             description { state: "default" 0.0;
14672                visible: 0;
14673                max: 15 999;
14674                min: 15 32;
14675                rel1 {
14676                   to_x: "button0";
14677                   to_y: "elm.indicator";
14678                   offset: 0 0;
14679                }
14680                rel2.to: "button0";
14681                image {
14682                   normal: "sl_bt2_0_1.png";
14683                   border: 0 0 6 12;
14684                }
14685                fill.smooth: 0;
14686             }
14687             description { state: "visible" 0.0;
14688                inherit: "default" 0.0;
14689                visible: 1;
14690             }
14691          }
14692          part { name: "button5";
14693             mouse_events: 0;
14694             description { state: "default" 0.0;
14695                fixed: 1 1;
14696                visible: 0;
14697                min: 8 32;
14698                align: 0.0 0.5;
14699                rel1 {
14700                   to: "button4";
14701                   relative: 1.0 0.0;
14702                   offset: 0 0;
14703                }
14704                rel2 {
14705                   to_x: "elm.indicator";
14706                   to_y: "button4";
14707                   relative: 1.0 1.0;
14708                   offset: 6 -1;
14709                }
14710                image {
14711                   normal: "sl_bt2_0_2.png";
14712                   border: 0 6 6 12;
14713                }
14714                fill.smooth: 0;
14715             }
14716             description { state: "visible" 0.0;
14717                inherit: "default" 0.0;
14718                visible: 1;
14719             }
14720          }
14721          part { name: "elm.indicator";
14722             type: TEXT;
14723             mouse_events: 0;
14724             effect: SOFT_SHADOW;
14725             scale: 1;
14726             description { state: "default" 0.0;
14727                visible: 0;
14728                fixed: 1 1;
14729                align: 0.5 1.0;
14730                rel1 {
14731                   to: "button0";
14732                   relative: 0.0 -0.25;
14733                   offset: 0 0;
14734                }
14735                rel2 {
14736                   to_x: "button0";
14737                   relative: 1.0 -0.25;
14738                   offset: -1 0;
14739                }
14740                color: 224 224 224 255;
14741                color3: 0 0 0 64;
14742                text {
14743                   font:     "Sans,Edje-Vera";
14744                   size:     10;
14745                   min:      0 0;
14746                   align:    0.5 0.5;
14747                }
14748             }
14749             description { state: "visible" 0.0;
14750                inherit: "default" 0.0;
14751                visible: 1;
14752                text.min: 1 1;
14753                rel1.offset: 0 -1;
14754                rel2.offset: -1 -1;
14755             }
14756          }
14757          part { name: "button6";
14758             mouse_events: 0;
14759             description { state: "default" 0.0;
14760                visible: 0;
14761                rel1.to: "button3";
14762                rel2 {
14763                   to: "button5";
14764                   relative: 1.0 0.3;
14765                   offset: -1 -1;
14766                }
14767                image {
14768                   normal: "sl_bt2_1.png";
14769                   border: 5 5 5 0;
14770                }
14771                fill.smooth: 0;
14772             }
14773             description { state: "visible" 0.0;
14774                inherit: "default" 0.0;
14775                visible: 1;
14776             }
14777          }
14778          part { name: "button7";
14779             mouse_events: 0;
14780             description { state: "default" 0.0;
14781                visible: 0;
14782                rel1.to: "button3";
14783                rel2.to: "button5";
14784                image {
14785                   normal: "sl_bt2_2.png";
14786                   border: 5 5 5 0;
14787                   middle: 0;
14788                }
14789                fill.smooth: 0;
14790             }
14791             description { state: "visible" 0.0;
14792                inherit: "default" 0.0;
14793                visible: 1;
14794             }
14795          }
14796       }
14797       programs {
14798          program { name: "set_val_show";
14799             signal: "elm,state,val,show";
14800             source: "elm";
14801             script {
14802                set_value_show();
14803             }
14804          }
14805          program { name: "set_val_hide";
14806             signal: "elm,state,val,hide";
14807             source: "elm";
14808             script {
14809                set_value_hide();
14810             }
14811          }
14812          program { name: "val_show";
14813             signal: "mouse,down,*";
14814             source: "button_events";
14815             script {
14816                thumb_down();
14817             }
14818
14819          }
14820          program { name: "val_hide";
14821             signal: "mouse,up,*";
14822             source: "button_events";
14823             script {
14824                thumb_up();
14825             }
14826          }
14827          program {
14828             name:    "go_disabled";
14829             signal:  "elm,state,disabled";
14830             source:  "elm";
14831             action:  STATE_SET "disabled" 0.0;
14832             target:  "button0";
14833          }
14834          program {
14835             name:    "go_enabled";
14836             signal:  "elm,state,enabled";
14837             source:  "elm";
14838             action:  STATE_SET "default" 0.0;
14839             target:  "button0";
14840          }
14841       }
14842    }
14843
14844    group { name: "elm/slider/vertical/default";
14845       images {
14846          image: "slv_bg.png" COMP;
14847          image: "slv_bg_over.png" COMP;
14848
14849          image: "sl_bt_0.png" COMP;
14850          image: "sl_bt_1.png" COMP;
14851          image: "sl_bt_2.png" COMP;
14852          image: "sl_bt_3.png" COMP;
14853          image: "sl_bt2_0_0.png" COMP;
14854          image: "sl_bt2_0_1.png" COMP;
14855          image: "sl_bt2_0_2.png" COMP;
14856          image: "sl_bt2_1.png" COMP;
14857          image: "sl_bt2_2.png" COMP;
14858
14859          image: "slv_units.png" COMP;
14860       }
14861       script {
14862          public value_hide = 0;
14863          public set_value_show() {
14864             set_int(value_hide, 0);
14865          }
14866          public set_value_hide() {
14867             set_int(value_hide, 1);
14868          }
14869          public thumb_down() {
14870             if (get_int(value_hide) == 1) {
14871                set_state(PART:"elm.indicator", "default", 0.0);
14872                set_state(PART:"button3", "default", 0.0);
14873                set_state(PART:"button4", "default", 0.0);
14874                set_state(PART:"button5", "default", 0.0);
14875                set_state(PART:"button6", "default", 0.0);
14876                set_state(PART:"button7", "default", 0.0);
14877             } else {
14878                set_state(PART:"elm.indicator", "visible", 0.0);
14879                set_state(PART:"button3", "visible", 0.0);
14880                set_state(PART:"button4", "visible", 0.0);
14881                set_state(PART:"button5", "visible", 0.0);
14882                set_state(PART:"button6", "visible", 0.0);
14883                set_state(PART:"button7", "visible", 0.0);
14884             }
14885          }
14886          public thumb_up() {
14887             set_state(PART:"elm.indicator", "default", 0.0);
14888             set_state(PART:"button3", "default", 0.0);
14889             set_state(PART:"button4", "default", 0.0);
14890             set_state(PART:"button5", "default", 0.0);
14891             set_state(PART:"button6", "default", 0.0);
14892             set_state(PART:"button7", "default", 0.0);
14893          }
14894       }
14895       parts {
14896          part { name: "base";
14897             mouse_events: 0;
14898             description { state: "default" 0.0;
14899                max: 6 99999;
14900                min: 6 0;
14901                rel1 { to: "bg";
14902                   offset: 1 0;
14903                }
14904                rel2 { to: "bg";
14905                   offset: -2 -1;
14906                }
14907                image.normal: "slv_bg.png";
14908                fill.smooth: 0;
14909             }
14910          }
14911          part { name: "level";
14912             type: RECT;
14913             mouse_events: 0;
14914             description { state: "default" 0.0;
14915                fixed: 1 1;
14916                rel1.to: "base";
14917                rel2 {
14918                   to_x: "base";
14919                   to_y: "elm.dragable.slider";
14920                   relative: 1.0 0.5;
14921                }
14922                color: 255 0 0 200;
14923             }
14924             description { state: "inverted" 0.0;
14925                inherit: "default" 0.0;
14926                visible: 0;
14927             }
14928             description { state: "disabled" 0.0;
14929                inherit: "default" 0.0;
14930                color: 255 0 0 100;
14931             }
14932             description { state: "disabled_inverted" 0.0;
14933                inherit: "default" 0.0;
14934                visible: 0;
14935             }
14936          }
14937          part { name: "level2";
14938             type: RECT;
14939             mouse_events: 0;
14940             description { state: "default" 0.0;
14941                fixed: 1 1;
14942                visible: 0;
14943                rel1 {
14944                   to_x: "base";
14945                   to_y: "elm.dragable.slider";
14946                   relative: 0.0 0.5;
14947                }
14948                rel2.to: "base";
14949                color: 255 0 0 200;
14950             }
14951             description { state: "inverted" 0.0;
14952                inherit: "default" 0.0;
14953                visible: 1;
14954             }
14955             description { state: "disabled" 0.0;
14956                inherit: "default" 0.0;
14957                color: 255 0 0 100;
14958             }
14959             description { state: "disabled_inverted" 0.0;
14960                inherit: "default" 0.0;
14961                color: 255 0 0 100;
14962                visible: 1;
14963             }
14964          }
14965          part {
14966             name: "base_over";
14967             mouse_events: 0;
14968             description { state: "default" 0.0;
14969                rel1.to: "base";
14970                rel1.offset: -1 -1;
14971                rel2.to: "base";
14972                rel2.offset: 0 0;
14973                image {
14974                   normal: "slv_bg_over.png";
14975                   border: 3 3 3 3;
14976                }
14977                fill.smooth: 0;
14978             }
14979          }
14980          part { name: "bg";
14981             type: RECT;
14982             mouse_events: 0;
14983             scale: 1;
14984             description { state: "default" 0.0;
14985                visible: 0;
14986                rel1.to: "elm.swallow.bar";
14987                rel2.to: "elm.swallow.bar";
14988                color: 0 0 0 0;
14989             }
14990          }
14991          part { name: "elm.swallow.bar";
14992             type: SWALLOW;
14993             scale: 1;
14994             description { state: "default" 0.0;
14995                min: 24 48;
14996                max: 24 9999;
14997                align: 0.5 1.0;
14998                rel1 {
14999                   to_y: "elm.text";
15000                   relative: 0.0 1.0;
15001                   offset: 0 10;
15002                }
15003                rel2 {
15004                   to_y: "elm.units";
15005                   relative: 1.0 0.0;
15006                   offset: -1 -8;
15007                }
15008             }
15009          }
15010          part { name: "elm.swallow.icon";
15011             type: SWALLOW;
15012             description { state: "default" 0.0;
15013                visible: 0;
15014                align: 0.5 0.0;
15015                rel1 {
15016                   offset: 0 4;
15017                   to_x: "elm.swallow.bar";
15018                }
15019                rel2 {
15020                   offset: -1 3;
15021                   relative: 1.0 0.0;
15022                   to_x: "elm.swallow.bar";
15023                }
15024             }
15025             description { state: "visible" 0.0;
15026                inherit: "default" 0.0;
15027                visible: 1;
15028                aspect: 1.0 1.0;
15029                aspect_preference: HORIZONTAL;
15030                rel2.offset: -1 4;
15031             }
15032          }
15033          part { name: "elm.text";
15034             type: TEXT;
15035             mouse_events: 0;
15036             scale: 1;
15037             description { state: "default" 0.0;
15038                visible: 0;
15039                fixed: 0 1;
15040                align: 0.5 0.0;
15041                rel1.to_y: "elm.swallow.icon";
15042                rel1.relative: 0.0 1.0;
15043                rel1.offset: 0 -1;
15044                rel2.to_y: "elm.swallow.icon";
15045                rel2.relative: 1.0 1.0;
15046                rel2.offset: -1 -1;
15047                color: 0 0 0 255;
15048                text {
15049                   font: "Sans,Edje-Vera";
15050                   size: 10;
15051                   min: 0 0;
15052                   align: 0.5 0.0;
15053                }
15054             }
15055             description { state: "visible" 0.0;
15056                inherit: "default" 0.0;
15057                visible: 1;
15058                text.min: 1 1;
15059                rel1.offset: 4 0;
15060                rel2.offset: -5 0;
15061             }
15062             description { state: "disabled" 0.0;
15063                inherit: "default" 0.0;
15064                color: 255 128 128 128;
15065                visible: 0;
15066             }
15067             description { state: "disabled_visible" 0.0;
15068                inherit: "default" 0.0;
15069                color: 0 0 0 128;
15070                color3: 0 0 0 0;
15071                visible: 1;
15072                text.min: 1 1;
15073             }
15074          }
15075          part {
15076             name: "elm.swallow.end";
15077             type: SWALLOW;
15078             description {
15079                state: "default" 0.0;
15080                visible: 0;
15081                align: 0.5 1.0;
15082                rel1 {
15083                   offset: 0 -4;
15084                   relative: 0.0 1.0;
15085                   to_x: "elm.swallow.bar";
15086                }
15087                rel2 {
15088                   offset: -1 -3;
15089                   to_x: "elm.swallow.bar";
15090                }
15091             }
15092             description { state: "visible" 0.0;
15093                inherit: "default" 0.0;
15094                visible: 1;
15095                aspect: 1.0 1.0;
15096                aspect_preference: HORIZONTAL;
15097                rel2.offset: -1 -4;
15098             }
15099          }
15100          part { name: "units";
15101             mouse_events: 0;
15102             description { state: "default" 0.0;
15103                visible: 0;
15104                rel1 {
15105                   to: "elm.units";
15106                   offset: -8 0;
15107                }
15108                rel2 {
15109                   to: "elm.units";
15110                   offset: 7 8;
15111                }
15112                image {
15113                   normal: "slv_units.png";
15114                   border: 8 8 0 9;
15115                }
15116                fill.smooth: 0;
15117             }
15118             description { state: "visible" 0.0;
15119                inherit: "default" 0.0;
15120                visible: 1;
15121             }
15122          }
15123          part { name: "elm.units";
15124             type: TEXT;
15125             mouse_events: 0;
15126             scale: 1;
15127             description { state: "default" 0.0;
15128                visible: 0;
15129                fixed: 1 1;
15130                align: 0.5 1.0;
15131                rel1.relative: 0.0 0.0;
15132                rel1.to_y: "elm.swallow.end";
15133                rel1.offset: 8 0;
15134                rel2.relative: 1.0 0.0;
15135                rel2.to_y: "elm.swallow.end";
15136                rel2.offset: -9 0;
15137                color: 0 0 0 255;
15138                text {
15139                   font: "Sans,Edje-Vera";
15140                   size: 10;
15141                   min: 0 0;
15142                   align: 0.5 0.0;
15143                }
15144             }
15145             description { state: "visible" 0.0;
15146                inherit: "default" 0.0;
15147                fixed: 1 1;
15148                visible: 1;
15149                text.min: 1 1;
15150                rel1.offset: 8 -9;
15151                rel2.offset: -9 -9;
15152             }
15153             description { state: "disabled" 0.0;
15154                inherit: "default" 0.0;
15155                color:  0 0 0 128;
15156                color3: 0 0 0 0;
15157                visible: 0;
15158             }
15159             description { state: "disabled_visible" 0.0;
15160                inherit: "default" 0.0;
15161                fixed: 1 1;
15162                visible: 1;
15163                text.min: 1 1;
15164                rel1.offset: 8 -9;
15165                rel2.offset: -9 -9;
15166                color: 0 0 0 128;
15167                color3: 0 0 0 0;
15168             }
15169          }
15170          part { name: "elm.dragable.slider";
15171             type: RECT;
15172             mouse_events: 0;
15173             scale: 1;
15174             dragable {
15175                x: 0 0 0;
15176                y: 1 1 0;
15177                confine: "bg";
15178             }
15179             description { state: "default" 0.0;
15180                min: 24 0;
15181                max: 24 0;
15182                fixed: 1 1;
15183                rel1 {
15184                   relative: 0.5  0.0;
15185                   to_y: "bg";
15186                }
15187                rel2 {
15188                   relative: 0.5  1.0;
15189                   to_y: "bg";
15190                }
15191                color: 0 0 0 0;
15192             }
15193          }
15194          part { name: "button_events";
15195             type: RECT;
15196             dragable {
15197                events: "elm.dragable.slider";
15198             }
15199             mouse_events: 1;
15200             description { state: "default" 0.0;
15201                fixed: 1 1;
15202                min: 16 16;
15203                aspect: 1.0 1.0;
15204                aspect_preference: HORIZONTAL;
15205                rel1.to_y: "elm.dragable.slider";
15206                rel2.to_y: "elm.dragable.slider";
15207                color: 0 0 0 0;
15208             }
15209          }
15210          part { name: "button0";
15211             mouse_events: 0;
15212             description { state: "default" 0.0;
15213                fixed: 1 1;
15214                max: 17 999;
15215                min: 17 24;
15216                rel1.to: "elm.dragable.slider";
15217                rel2.to: "elm.dragable.slider";
15218                image {
15219                   normal: "sl_bt_0.png";
15220                   border: 5 5 5 10;
15221                }
15222                fill.smooth: 0;
15223             }
15224             description { state: "disabled" 0.0;
15225                inherit: "default" 0.0;
15226                image {
15227                   normal: "sl_bt_3.png";
15228                   border: 5 5 5 10;
15229                }
15230             }
15231          }
15232          part { name: "button1";
15233             mouse_events: 0;
15234             description { state: "default" 0.0;
15235                rel1.to: "button0";
15236                rel2 {
15237                   to: "button0";
15238                   relative: 1.0 0.5;
15239                   offset: -1 -5;
15240                }
15241                image {
15242                   normal: "sl_bt_1.png";
15243                   border: 5 5 5 0;
15244                }
15245             }
15246          }
15247          part { name: "button2";
15248             mouse_events: 0;
15249             description { state: "default" 0.0;
15250                rel1.to: "button0";
15251                rel2.to: "button0";
15252                image {
15253                   normal: "sl_bt_2.png";
15254                   border: 5 5 5 10;
15255                }
15256                fill.smooth: 0;
15257             }
15258          }
15259          part { name: "button3";
15260             mouse_events: 0;
15261             description { state: "default" 0.0;
15262                visible: 0;
15263                min: 8 32;
15264                align: 1.0 0.5;
15265                rel1 {
15266                   to_x: "elm.indicator";
15267                   to_y: "button4";
15268                   relative: 0.0 0.0;
15269                   offset: -7 0;
15270                }
15271                rel2 {
15272                   to: "button4";
15273                   relative: 0.0 1.0;
15274                   offset: -1 -1;
15275                }
15276                image {
15277                   normal: "sl_bt2_0_0.png";
15278                   border: 6 0 6 12;
15279                }
15280                fill.smooth: 0;
15281             }
15282             description { state: "visible" 0.0;
15283                inherit: "default" 0.0;
15284                visible: 1;
15285             }
15286          }
15287          part { name: "button4";
15288             mouse_events: 0;
15289             description { state: "default" 0.0;
15290                visible: 0;
15291                max: 15 999;
15292                min: 15 32;
15293                fixed: 1 1;
15294                rel1 {
15295                   to_x: "button0";
15296                   to_y: "elm.indicator";
15297                   offset: 0 -7;
15298                }
15299                rel2.to: "button0";
15300                image {
15301                   normal: "sl_bt2_0_1.png";
15302                   border: 0 0 6 12;
15303                }
15304                fill.smooth: 0;
15305             }
15306             description { state: "visible" 0.0;
15307                inherit: "default" 0.0;
15308                visible: 1;
15309             }
15310          }
15311          part { name: "button5";
15312             mouse_events: 0;
15313             description { state: "default" 0.0;
15314                visible: 0;
15315                min: 8 32;
15316                align: 0.0 0.5;
15317                rel1 {
15318                   to: "button4";
15319                   relative: 1.0 0.0;
15320                   offset: 0 0;
15321                }
15322                rel2 {
15323                   to_x: "elm.indicator";
15324                   to_y: "button4";
15325                   relative: 1.0 1.0;
15326                   offset: 6 -1;
15327                }
15328                image {
15329                   normal: "sl_bt2_0_2.png";
15330                   border: 0 6 6 12;
15331                }
15332                fill.smooth: 0;
15333             }
15334             description { state: "visible" 0.0;
15335                inherit: "default" 0.0;
15336                visible: 1;
15337             }
15338          }
15339          part { name: "elm.indicator";
15340             type: TEXT;
15341             mouse_events: 0;
15342             effect: SOFT_SHADOW;
15343             scale: 1;
15344             description { state: "default" 0.0;
15345                visible: 0;
15346                fixed: 1 1;
15347                align: 0.5 1.0;
15348                rel1 {
15349                   to: "button0";
15350                   relative: 0.0 -1.0;
15351                   offset: 0 0;
15352                }
15353                rel2 {
15354                   to: "button0";
15355                   relative: 1.0 -1.0;
15356                   offset: -1 0;
15357                }
15358                color: 224 224 224 255;
15359                color3: 0 0 0 64;
15360                text {
15361                   font:     "Sans,Edje-Vera";
15362                   size:     10;
15363                   min:      0 0;
15364                   align:    0.5 0.5;
15365                }
15366             }
15367             description { state: "visible" 0.0;
15368                inherit: "default" 0.0;
15369                visible: 1;
15370                text.min: 1 1;
15371                rel1.offset: 0 -1;
15372                rel2.offset: -1 -1;
15373             }
15374          }
15375          part { name: "button6";
15376             mouse_events: 0;
15377             description { state: "default" 0.0;
15378                visible: 0;
15379                rel1.to: "button3";
15380                rel2 {
15381                   to: "button5";
15382                   relative: 1.0 0.3;
15383                   offset: -1 -1;
15384                }
15385                image {
15386                   normal: "sl_bt2_1.png";
15387                   border: 5 5 5 0;
15388                }
15389                fill.smooth: 0;
15390             }
15391             description { state: "visible" 0.0;
15392                inherit: "default" 0.0;
15393                visible: 1;
15394             }
15395          }
15396          part { name: "button7";
15397             mouse_events: 0;
15398             description { state: "default" 0.0;
15399                visible: 0;
15400                rel1.to: "button3";
15401                rel2.to: "button5";
15402                image {
15403                   normal: "sl_bt2_2.png";
15404                   border: 5 5 5 0;
15405                   middle: 0;
15406                }
15407                fill.smooth: 0;
15408             }
15409             description { state: "visible" 0.0;
15410                inherit: "default" 0.0;
15411                visible: 1;
15412             }
15413          }
15414              part { name: "disabler";
15415                 type: RECT;
15416                 description { state: "default" 0.0;
15417                    color: 0 0 0 0;
15418                    visible: 0;
15419                 }
15420                 description { state: "disabled" 0.0;
15421                    inherit: "default" 0.0;
15422                    visible: 1;
15423                 }
15424              }
15425           }
15426
15427       programs {
15428          program { name: "text_show";
15429             signal: "elm,state,text,visible";
15430             source: "elm";
15431             action:  STATE_SET "visible" 0.0;
15432             target: "elm.text";
15433          }
15434          program { name: "text_hide";
15435             signal: "elm,state,text,hidden";
15436             source: "elm";
15437             action:  STATE_SET "default" 0.0;
15438             target: "elm.text";
15439          }
15440          program { name: "icon_show";
15441             signal: "elm,state,icon,visible";
15442             source: "elm";
15443             action:  STATE_SET "visible" 0.0;
15444             target: "elm.swallow.icon";
15445          }
15446          program { name: "icon_hide";
15447             signal: "elm,state,icon,hidden";
15448             source: "elm";
15449             action:  STATE_SET "default" 0.0;
15450             target: "elm.swallow.icon";
15451          }
15452          program { name: "end_show";
15453             signal: "elm,state,end,visible";
15454             source: "elm";
15455             action:  STATE_SET "visible" 0.0;
15456             target: "elm.swallow.end";
15457          }
15458          program { name: "end_hide";
15459             signal: "elm,state,end,hidden";
15460             source: "elm";
15461             action:  STATE_SET "default" 0.0;
15462             target: "elm.swallow.end";
15463          }
15464          program { name: "units_show";
15465             signal: "elm,state,units,visible";
15466             source: "elm";
15467             action:  STATE_SET "visible" 0.0;
15468             target: "elm.units";
15469             target: "units";
15470          }
15471          program { name: "units_hide";
15472             signal: "elm,state,units,hidden";
15473             source: "elm";
15474             action:  STATE_SET "default" 0.0;
15475             target: "elm.units";
15476             target: "units";
15477          }
15478          program { name: "invert_on";
15479             signal: "elm,state,inverted,on";
15480             source: "elm";
15481             action:  STATE_SET "inverted" 0.0;
15482             target: "level";
15483             target: "level2";
15484          }
15485          program { name: "invert_off";
15486             signal: "elm,state,inverted,off";
15487             source: "elm";
15488             action:  STATE_SET "default" 0.0;
15489             target: "level";
15490             target: "level2";
15491          }
15492          program { name: "set_val_show";
15493             signal: "elm,state,val,show";
15494             source: "elm";
15495             script {
15496                set_value_show();
15497             }
15498          }
15499          program { name: "set_val_hide";
15500             signal: "elm,state,val,hide";
15501             source: "elm";
15502             script {
15503                set_value_hide();
15504             }
15505          }
15506          program { name: "val_show";
15507             signal: "mouse,down,*";
15508             source: "elm.dragable.slider";
15509             script {
15510                thumb_down();
15511             }
15512          }
15513          program { name: "val_hide";
15514             signal: "mouse,up,*";
15515             source: "elm.dragable.slider";
15516             script {
15517                thumb_up();
15518             }
15519          }
15520          program {
15521             name:   "go_disabled";
15522             signal: "elm,state,disabled";
15523             source: "elm";
15524             action: STATE_SET "disabled" 0.0;
15525             target: "button0";
15526             target: "disabler";
15527             after: "disable_text";
15528          }
15529          program { name: "disable_text";
15530             script {
15531             new st[31];
15532             new Float:vl;
15533                get_state(PART:"elm.text", st, 30, vl);
15534                if (!strcmp(st, "visible"))
15535                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15536                else
15537                   set_state(PART:"elm.text", "disabled", 0.0);
15538
15539                get_state(PART:"elm.units", st, 30, vl);
15540                if (!strcmp(st, "visible")) 
15541                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15542                else 
15543                   set_state(PART:"elm.units", "disabled", 0.0);
15544
15545                get_state(PART:"level2", st, 30, vl);
15546                if (!strcmp(st, "inverted")) 
15547                {
15548                   set_state(PART:"level", "disabled_inverted", 0.0);
15549                   set_state(PART:"level2", "disabled_inverted", 0.0);
15550                }
15551                else 
15552                {
15553                   set_state(PART:"level", "disabled", 0.0);
15554                   set_state(PART:"level2", "disabled", 0.0);
15555                }
15556             }
15557          }
15558
15559          program { name: "enable";
15560             signal: "elm,state,enabled";
15561             source: "elm";
15562             action: STATE_SET "default" 0.0;
15563             target: "button0";
15564             target: "disabler";
15565             after: "enable_text";
15566          }
15567          program { name: "enable_text";
15568             script {
15569                new st[31];
15570                new Float:vl;
15571                get_state(PART:"elm.text", st, 30, vl);
15572                if (!strcmp(st, "disabled_visible"))
15573                   set_state(PART:"elm.text", "visible", 0.0);
15574                else
15575                   set_state(PART:"elm.text", "default", 0.0);
15576
15577                get_state(PART:"elm.units", st, 30, vl);
15578                if (!strcmp(st, "disabled_visible"))
15579                   set_state(PART:"elm.units", "visible", 0.0);
15580                else
15581                   set_state(PART:"elm.units", "default", 0.0);
15582      
15583                get_state(PART:"level2", st, 30, vl);
15584                if (!strcmp(st, "disabled_inverted"))
15585                {
15586                   set_state(PART:"level", "inverted", 0.0);
15587                   set_state(PART:"level2", "inverted", 0.0);
15588                }
15589                else
15590                {
15591                   set_state(PART:"level", "default", 0.0);
15592                   set_state(PART:"level2", "default", 0.0);
15593                }
15594             }
15595          }
15596       }
15597    }
15598
15599 ////////////////////////////////////////////////////////////////////////////////
15600 // actionslider
15601 ////////////////////////////////////////////////////////////////////////////////
15602    group { name: "elm/actionslider/base/default";
15603
15604       images {
15605          image: "shelf_inset.png" COMP;
15606          image: "ilist_1.png" COMP;
15607          image: "bt_bases.png" COMP;
15608          image: "bt_basew.png" COMP;
15609          image: "bt_hilightw.png" COMP;
15610       }
15611
15612       parts {
15613          part {
15614             name: "base";
15615             mouse_events: 0;
15616             description {
15617                state: "default" 0.0;
15618                min: 75 25;
15619                rel1.offset: 1 1;
15620                rel2.offset: -2 -2;
15621                image {
15622                   normal: "ilist_1.png";
15623                   border: 2 2 2 2;
15624                }
15625                fill.smooth: 0;
15626             }
15627          }
15628          part { name: "conf_over";
15629             mouse_events:  0;
15630             description { state: "default" 0.0;
15631                rel1.to: "base";
15632                rel2.to: "base";
15633                image {
15634                   normal: "shelf_inset.png";
15635                   border: 7 7 7 7;
15636                   middle: 0;
15637                }
15638                fill.smooth : 0;
15639             }
15640          }
15641          part { name: "icon.dragable.area";
15642            type: RECT;
15643             mouse_events: 0;
15644             description { state: "default" 0.0;
15645                visible: 0;
15646                rel1.to: "base";
15647                rel2.to: "base";
15648             }
15649          }
15650          part { name: "elm.text.left";
15651             type: TEXT;
15652             mouse_events: 0;
15653             scale: 1;
15654             description { state: "default" 0.0;
15655                color: 0 0 0 255;
15656                text {
15657                   font: "Sans,Edje-Vera";
15658                   size: 10;
15659                   align: 0.05 0.5;
15660                   min: 1 1;
15661                }
15662             }
15663          }
15664          part { name: "elm.text.center";
15665             type: TEXT;
15666             mouse_events: 0;
15667             scale: 1;
15668             description { state: "default" 0.0;
15669                color: 0 0 0 255;
15670                text {
15671                   font: "Sans,Edje-Vera";
15672                   size: 10;
15673                   align: 0.5 0.5;
15674                   min: 1 1;
15675                }
15676             }
15677          }
15678          part { name: "elm.text.right";
15679             type: TEXT;
15680             mouse_events: 0;
15681             scale: 1;
15682             description { state: "default" 0.0;
15683                color: 0 0 0 255;
15684                text {
15685                   font: "Sans,Edje-Vera";
15686                   size: 10;
15687                   align: 0.95 0.5;
15688                   min: 1 1;
15689                }
15690             }
15691          }
15692          part { name: "elm.drag_button_base";
15693             type: SWALLOW;
15694             mouse_events: 0;
15695             scale: 1;
15696             description { state: "default" 0.0;
15697                fixed: 1 1;
15698                min: 50 25;
15699                align: 0.5 0.5;
15700                rel1.to: "icon.dragable.area";
15701                rel2 {
15702                   relative: 0.0 1.0;
15703                   to: "icon.dragable.area";
15704                }
15705             }
15706             dragable {
15707                confine: "icon.dragable.area";
15708                x: 1 1 0;
15709                y: 0 0 0;
15710             }
15711          }
15712          part { name: "elm.drag_button";
15713             type: RECT;
15714             mouse_events: 1;
15715             description { state: "default" 0.0;
15716                min: 50 25;
15717                color: 255 255 255 0;
15718                rel1.to_x: "elm.drag_button_base";
15719                rel1.to_y: "icon.dragable.area";
15720                rel2.to_x: "elm.drag_button_base";
15721                rel2.to_y: "icon.dragable.area";
15722             }
15723             dragable {
15724                events: "elm.drag_button_base";
15725             }
15726          }
15727          part { name: "button0";
15728             mouse_events: 0;
15729             description { state: "default" 0.0;
15730                rel1.to: "button2";
15731                rel1.offset: -4 -4;
15732                rel2.to: "button2";
15733                rel2.offset: 3 3;
15734                image {
15735                   normal: "bt_bases.png";
15736                   border: 11 11 11 11;
15737                   middle: SOLID;
15738                }
15739                color: 255 255 255 128;
15740             }
15741          }
15742          part { name: "button2";
15743             mouse_events: 0;
15744             description { state: "default" 0.0;
15745                rel1.to: "elm.drag_button";
15746                rel2.to: "elm.drag_button";
15747                image {
15748                   normal: "bt_basew.png";
15749                   border: 7 7 7 7;
15750                   middle: SOLID;
15751                }
15752                color: 255 255 255 210;
15753             }
15754          }
15755          part { name: "button3";
15756             mouse_events: 0;
15757             description { state: "default" 0.0;
15758                rel1.to: "button2";
15759                rel2.to: "button2";
15760                rel2.relative: 1.0 0.5;
15761                image {
15762                   normal: "bt_hilightw.png";
15763                   border: 4 4 4 0;
15764                }
15765                color: 255 255 255 190;
15766             }
15767          }
15768          part { name: "elm.text.indicator";
15769             type: TEXT;
15770             scale: 1;
15771             mouse_events: 0;
15772             description { state: "default" 0.0;
15773                rel1 {
15774                   to: "elm.drag_button";
15775                   offset: 5 0;
15776                }
15777                rel2 {
15778                   to: "elm.drag_button";
15779                   offset: -5 0;
15780                }
15781                color: 0 0 0 255;
15782                text {
15783                   font: "Sans,Edje-Vera";
15784                   size: 10;
15785                   align: 0.5 0.5;
15786                   min: 0 1;
15787                }
15788             }
15789          }
15790       }
15791       programs {
15792          program { name: "elm.drag_button,mouse,up";
15793             signal: "mouse,up,1";
15794             source: "elm.drag_button";
15795             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15796          }
15797          program { name: "elm.drag_button,mouse,down";
15798             signal: "mouse,down,1";
15799             source: "elm.drag_button";
15800             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15801          }
15802          program { name: "elm.drag_button,mouse,move";
15803             signal: "mouse,move";
15804             source: "elm.drag_button_base";
15805             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15806          }
15807       }
15808    }
15809
15810    group { name: "elm/actionslider/base/bar";
15811
15812       images {
15813          image: "shelf_inset.png" COMP;
15814          image: "ilist_1.png" COMP;
15815          image: "bt_bases.png" COMP;
15816          image: "bt_basew.png" COMP;
15817          image: "bt_hilightw.png" COMP;
15818       }
15819
15820       parts {
15821          part {
15822             name: "base";
15823             mouse_events: 0;
15824             description {
15825                state: "default" 0.0;
15826                min: 150 30;
15827                rel1.offset: 1 1;
15828                rel2.offset: -2 -2;
15829                image {
15830                   normal: "ilist_1.png";
15831                   border: 2 2 2 2;
15832                }
15833                fill.smooth: 0;
15834             }
15835          }
15836          part { name: "conf_over";
15837             mouse_events:  0;
15838             description { state: "default" 0.0;
15839                rel1.to: "base";
15840                rel2.to: "base";
15841                image {
15842                   normal: "shelf_inset.png";
15843                   border: 7 7 7 7;
15844                   middle: 0;
15845                }
15846                fill.smooth : 0;
15847             }
15848          }
15849          part { name: "icon.dragable.area";
15850            type: RECT;
15851             mouse_events: 0;
15852             description { state: "default" 0.0;
15853                visible: 0;
15854                rel1.to: "base";
15855                rel2.to: "base";
15856             }
15857          }
15858          part { name: "elm.text.left";
15859             type: TEXT;
15860             mouse_events: 0;
15861             scale: 1;
15862             description { state: "default" 0.0;
15863                color: 0 0 0 255;
15864                text {
15865                   font: "Sans,Edje-Vera";
15866                   size: 10;
15867                   align: 0.05 0.5;
15868                   min: 1 1;
15869                }
15870             }
15871          }
15872          part { name: "elm.text.center";
15873             type: TEXT;
15874             mouse_events: 0;
15875             scale: 1;
15876             description { state: "default" 0.0;
15877                color: 0 0 0 255;
15878                text {
15879                   font: "Sans,Edje-Vera";
15880                   size: 10;
15881                   align: 0.5 0.5;
15882                   min: 1 1;
15883                }
15884             }
15885          }
15886          part { name: "elm.text.right";
15887             type: TEXT;
15888             mouse_events: 0;
15889             scale: 1;
15890             description { state: "default" 0.0;
15891                color: 0 0 0 255;
15892                text {
15893                   font: "Sans,Edje-Vera";
15894                   size: 10;
15895                   align: 0.95 0.5;
15896                   min: 1 1;
15897                }
15898             }
15899          }
15900          part { name: "bar";
15901             type: RECT;
15902             mouse_events: 0;
15903             description { state: "default" 0.0;
15904                rel1.to: "base";
15905                rel1.offset: 0 2;
15906                rel2 {
15907                   relative: 0 1;
15908                   offset: 3 -3;
15909                   to_x: "elm.drag_button_base";
15910                   to_y: "base";
15911                }
15912                color: 0 0 0 180;
15913             }
15914          }
15915          part { name: "elm.drag_button_base";
15916             type: SWALLOW;
15917             mouse_events: 1;
15918             scale: 1;
15919             description { state: "default" 0.0;
15920                fixed: 1 1;
15921                min: 50 25;
15922                align: 0.5 0.5;
15923                rel1.to: "icon.dragable.area";
15924                rel2 {
15925                   relative: 0.0 1.0;
15926                   to: "icon.dragable.area";
15927                }
15928             }
15929             dragable {
15930                confine: "icon.dragable.area";
15931                x: 1 1 0;
15932                y: 0 0 0;
15933             }
15934          }
15935          part { name: "elm.drag_button";
15936             type: RECT;
15937             mouse_events: 1;
15938             description { state: "default" 0.0;
15939                min: 50 25;
15940                color: 255 255 255 0;
15941                rel1.to_x: "elm.drag_button_base";
15942                rel1.to_y: "icon.dragable.area";
15943                rel2.to_x: "elm.drag_button_base";
15944                rel2.to_y: "icon.dragable.area";
15945             }
15946             dragable {
15947                events: "elm.drag_button_base";
15948             }
15949          }
15950          part { name: "button0";
15951             mouse_events: 0;
15952             description { state: "default" 0.0;
15953                rel1.to: "button2";
15954                rel1.offset: -4 -4;
15955                rel2.to: "button2";
15956                rel2.offset: 3 3;
15957                image {
15958                   normal: "bt_bases.png";
15959                   border: 11 11 11 11;
15960                   middle: SOLID;
15961                }
15962                color: 255 255 255 128;
15963             }
15964          }
15965          part { name: "button2";
15966             mouse_events: 0;
15967             description { state: "default" 0.0;
15968                rel1.to: "elm.drag_button";
15969                rel2.to: "elm.drag_button";
15970                image {
15971                   normal: "bt_basew.png";
15972                   border: 7 7 7 7;
15973                   middle: SOLID;
15974                }
15975                color: 255 255 255 210;
15976             }
15977          }
15978          part { name: "button3";
15979             mouse_events: 0;
15980             description { state: "default" 0.0;
15981                rel1.to: "button2";
15982                rel2.to: "button2";
15983                rel2.relative: 1.0 0.5;
15984                image {
15985                   normal: "bt_hilightw.png";
15986                   border: 4 4 4 0;
15987                }
15988                color: 255 255 255 190;
15989             }
15990          }
15991          part { name: "elm.text.indicator";
15992             type: TEXT;
15993             scale: 1;
15994             mouse_events: 0;
15995             description { state: "default" 0.0;
15996                rel1 {
15997                   to: "elm.drag_button";
15998                   offset: 5 0;
15999                }
16000                rel2 {
16001                   to: "elm.drag_button";
16002                   offset: -5 0;
16003                }
16004                color: 0 0 0 255;
16005                text {
16006                   font: "Sans,Edje-Vera";
16007                   size: 10;
16008                   align: 0.5 0.5;
16009                   min: 0 1;
16010                }
16011             }
16012          }
16013       }
16014       programs {
16015          program { name: "elm.drag_button,mouse,up";
16016             signal: "mouse,up,1";
16017             source: "elm.drag_button";
16018             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
16019          }
16020          program { name: "elm.drag_button,mouse,down";
16021             signal: "mouse,down,1";
16022             source: "elm.drag_button";
16023             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
16024          }
16025          program { name: "elm.drag_button,mouse,move";
16026             signal: "mouse,move";
16027             source: "elm.drag_button_base";
16028             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
16029          }
16030       }
16031    }
16032
16033 ///////////////////////////////////////////////////////////////////////////////
16034    group { name: "elm/genlist/item/default/default";
16035       data.item: "stacking" "above";
16036       data.item: "selectraise" "on";
16037       data.item: "labels" "elm.text";
16038       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16039       data.item: "treesize" "20";
16040 //      data.item: "states" "";
16041       images {
16042          image: "bt_sm_base1.png" COMP;
16043          image: "bt_sm_shine.png" COMP;
16044          image: "bt_sm_hilight.png" COMP;
16045          image: "ilist_1.png" COMP;
16046          image: "ilist_item_shadow.png" COMP;
16047       }
16048       parts {
16049          part {
16050             name:           "event";
16051             type:           RECT;
16052             repeat_events: 1;
16053             description {
16054                state: "default" 0.0;
16055                color: 0 0 0 0;
16056             }
16057          }
16058          part {
16059             name: "base_sh";
16060             mouse_events: 0;
16061             description {
16062                state: "default" 0.0;
16063                align: 0.0 0.0;
16064                min: 0 10;
16065                fixed: 1 1;
16066                rel1 {
16067                   to: "base";
16068                   relative: 0.0 1.0;
16069                   offset: 0 0;
16070                }
16071                rel2 {
16072                   to: "base";
16073                   relative: 1.0 1.0;
16074                   offset: -1 0;
16075                }
16076                image {
16077                   normal: "ilist_item_shadow.png";
16078                }
16079                fill.smooth: 0;
16080             }
16081          }
16082          part {
16083             name: "base";
16084             mouse_events: 0;
16085             description {
16086                state: "default" 0.0;
16087                image {
16088                   normal: "ilist_1.png";
16089                   border: 2 2 2 2;
16090                }
16091                fill.smooth: 0;
16092             }
16093          }
16094          part { name: "bg";
16095             clip_to: "disclip";
16096             mouse_events: 0;
16097             description { state: "default" 0.0;
16098                visible: 0;
16099                color: 255 255 255 0;
16100                rel1 {
16101                   relative: 0.0 0.0;
16102                   offset: -5 -5;
16103                }
16104                rel2 {
16105                   relative: 1.0 1.0;
16106                   offset: 4 4;
16107                }
16108                image {
16109                   normal: "bt_sm_base1.png";
16110                   border: 6 6 6 6;
16111                }
16112                image.middle: SOLID;
16113             }
16114             description { state: "selected" 0.0;
16115                inherit: "default" 0.0;
16116                visible: 1;
16117                color: 255 255 255 255;
16118                rel1 {
16119                   relative: 0.0 0.0;
16120                   offset: -2 -2;
16121                }
16122                rel2 {
16123                   relative: 1.0 1.0;
16124                   offset: 1 1;
16125                }
16126             }
16127          }
16128          part { name: "elm.swallow.pad";
16129             type: SWALLOW;
16130             description { state: "default" 0.0;
16131                fixed: 1 0;
16132                align: 0.0 0.5;
16133                rel1 {
16134                   relative: 0.0  0.0;
16135                   offset:   4    4;
16136                }
16137                rel2 {
16138                   relative: 0.0  1.0;
16139                   offset:   4   -5;
16140                }
16141             }
16142          }
16143          part { name: "elm.swallow.icon";
16144             clip_to: "disclip";
16145             type: SWALLOW;
16146             description { state: "default" 0.0;
16147                fixed: 1 0;
16148                align: 0.0 0.5;
16149                rel1 {
16150                   to_x: "elm.swallow.pad";
16151                   relative: 1.0  0.0;
16152                   offset:   -1    4;
16153                }
16154                rel2 {
16155                   to_x: "elm.swallow.pad";
16156                   relative: 1.0  1.0;
16157                   offset:   -1   -5;
16158                }
16159             }
16160          }
16161          part { name: "elm.swallow.end";
16162             clip_to: "disclip";
16163             type: SWALLOW;
16164             description { state: "default" 0.0;
16165                fixed: 1 0;
16166                align: 1.0 0.5;
16167                aspect: 1.0 1.0;
16168                aspect_preference: VERTICAL;
16169                rel1 {
16170                   relative: 1.0  0.0;
16171                   offset:   -5    4;
16172                }
16173                rel2 {
16174                   relative: 1.0  1.0;
16175                   offset:   -5   -5;
16176                }
16177             }
16178          }
16179          part { name: "elm.text";
16180             clip_to: "disclip";
16181             type:           TEXT;
16182             effect:         SOFT_SHADOW;
16183             mouse_events:   0;
16184             scale: 1;
16185             description {
16186                state: "default" 0.0;
16187 //               min: 16 16;
16188                rel1 {
16189                   to_x:     "elm.swallow.icon";
16190                   relative: 1.0  0.0;
16191                   offset:   0 4;
16192                }
16193                rel2 {
16194                   to_x:     "elm.swallow.end";
16195                   relative: 0.0  1.0;
16196                   offset:   -1 -5;
16197                }
16198                color: 0 0 0 255;
16199                color3: 0 0 0 0;
16200                text {
16201                   font: "Sans";
16202                   size: 10;
16203                   min: 1 1;
16204 //                  min: 0 1;
16205                   align: 0.0 0.5;
16206                   text_class: "list_item";
16207                }
16208             }
16209             description { state: "selected" 0.0;
16210                inherit: "default" 0.0;
16211                color: 224 224 224 255;
16212                color3: 0 0 0 64;
16213             }
16214          }
16215          part { name: "fg1";
16216             clip_to: "disclip";
16217             mouse_events: 0;
16218             description { state: "default" 0.0;
16219                visible: 0;
16220                color: 255 255 255 0;
16221                rel1.to: "bg";
16222                rel2.relative: 1.0 0.5;
16223                rel2.to: "bg";
16224                image {
16225                   normal: "bt_sm_hilight.png";
16226                   border: 6 6 6 0;
16227                }
16228             }
16229             description { state: "selected" 0.0;
16230                inherit: "default" 0.0;
16231                visible: 1;
16232                color: 255 255 255 255;
16233             }
16234          }
16235          part { name: "fg2";
16236             clip_to: "disclip";
16237             mouse_events: 0;
16238             description { state: "default" 0.0;
16239                visible: 0;
16240                color: 255 255 255 0;
16241                rel1.to: "bg";
16242                rel2.to: "bg";
16243                image {
16244                   normal: "bt_sm_shine.png";
16245                   border: 6 6 6 0;
16246                }
16247             }
16248             description { state: "selected" 0.0;
16249                inherit: "default" 0.0;
16250                visible: 1;
16251                color: 255 255 255 255;
16252             }
16253          }
16254          part { name: "disclip";
16255             type: RECT;
16256             description { state: "default" 0.0;
16257                rel1.to: "bg";
16258                rel2.to: "bg";
16259             }
16260             description { state: "disabled" 0.0;
16261                inherit: "default" 0.0;
16262                color: 255 255 255 64;
16263             }
16264          }
16265       }
16266       programs {
16267          // signal: elm,state,%s,active
16268          //   a "check" item named %s went active
16269          // signal: elm,state,%s,passive
16270          //   a "check" item named %s went passive
16271          // default is passive
16272          program {
16273             name:    "go_active";
16274             signal:  "elm,state,selected";
16275             source:  "elm";
16276             action:  STATE_SET "selected" 0.0;
16277             target:  "bg";
16278             target:  "fg1";
16279             target:  "fg2";
16280             target:  "elm.text";
16281          }
16282          program {
16283             name:    "go_passive";
16284             signal:  "elm,state,unselected";
16285             source:  "elm";
16286             action:  STATE_SET "default" 0.0;
16287             target:  "bg";
16288             target:  "fg1";
16289             target:  "fg2";
16290             target:  "elm.text";
16291             transition: LINEAR 0.1;
16292          }
16293          program {
16294             name:    "go_disabled";
16295             signal:  "elm,state,disabled";
16296             source:  "elm";
16297             action:  STATE_SET "disabled" 0.0;
16298             target:  "disclip";
16299          }
16300          program {
16301             name:    "go_enabled";
16302             signal:  "elm,state,enabled";
16303             source:  "elm";
16304             action:  STATE_SET "default" 0.0;
16305             target:  "disclip";
16306          }
16307       }
16308    }
16309    group { name: "elm/genlist/item/group_index/default";
16310       alias: "elm/genlist/item_odd/group_index/default";
16311       alias: "elm/genlist/item_compress/group_index/default";
16312       alias: "elm/genlist/item_compress_odd/group_index/default";
16313       data.item: "stacking" "above";
16314       data.item: "selectraise" "on";
16315       data.item: "labels" "elm.text";
16316       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16317       data.item: "treesize" "20";
16318 //      data.item: "states" "";
16319       images {
16320          image: "bt_sm_base1.png" COMP;
16321          image: "bt_sm_shine.png" COMP;
16322          image: "bt_sm_hilight.png" COMP;
16323          image: "ilist_item_shadow.png" COMP;
16324          image: "group_index.png" COMP;
16325       }
16326       parts {
16327          part {
16328             name: "event";
16329             type: RECT;
16330             repeat_events: 0;
16331             description {
16332                state: "default" 0.0;
16333                color: 0 0 0 0;
16334             }
16335          }
16336          part {
16337             name: "base_sh";
16338             mouse_events: 0;
16339             description {
16340                state: "default" 0.0;
16341                align: 0.0 0.0;
16342                min: 0 10;
16343                fixed: 1 1;
16344                rel1 {
16345                   to: "base";
16346                   relative: 0.0 1.0;
16347                   offset: 0 0;
16348                }
16349                rel2 {
16350                   to: "base";
16351                   relative: 1.0 1.0;
16352                   offset: -1 0;
16353                }
16354                image {
16355                   normal: "ilist_item_shadow.png";
16356                }
16357                fill.smooth: 0;
16358             }
16359          }
16360          part {
16361             name: "base";
16362             mouse_events: 0;
16363             description {
16364                state: "default" 0.0;
16365                image {
16366                   normal: "group_index.png";
16367                   border: 2 2 2 2;
16368                }
16369                fill.smooth: 0;
16370             }
16371          }
16372          part { name: "bg";
16373             clip_to: "disclip";
16374             mouse_events: 0;
16375             description { state: "default" 0.0;
16376                visible: 0;
16377                color: 255 255 255 0;
16378                rel1 {
16379                   relative: 0.0 0.0;
16380                   offset: -5 -5;
16381                }
16382                rel2 {
16383                   relative: 1.0 1.0;
16384                   offset: 4 4;
16385                }
16386                image {
16387                   normal: "bt_sm_base1.png";
16388                   border: 6 6 6 6;
16389                }
16390                image.middle: SOLID;
16391             }
16392             description { state: "selected" 0.0;
16393                inherit: "default" 0.0;
16394                visible: 1;
16395                color: 255 255 255 255;
16396                rel1 {
16397                   relative: 0.0 0.0;
16398                   offset: -2 -2;
16399                }
16400                rel2 {
16401                   relative: 1.0 1.0;
16402                   offset: 1 1;
16403                }
16404             }
16405          }
16406          part { name: "elm.swallow.pad";
16407             type: SWALLOW;
16408             description { state: "default" 0.0;
16409                fixed: 1 0;
16410                align: 0.0 0.5;
16411                rel1 {
16412                   relative: 0.0  0.0;
16413                   offset: 4 4;
16414                }
16415                rel2 {
16416                   relative: 0.0  1.0;
16417                   offset: 4 -5;
16418                }
16419             }
16420          }
16421          part { name: "elm.swallow.icon";
16422             clip_to: "disclip";
16423             type: SWALLOW;
16424             description { state: "default" 0.0;
16425                fixed: 1 0;
16426                align: 0.0 0.5;
16427                rel1 {
16428                   to_x: "elm.swallow.pad";
16429                   relative: 1.0 0.0;
16430                   offset: -1 4;
16431                }
16432                rel2 {
16433                   to_x: "elm.swallow.pad";
16434                   relative: 1.0 1.0;
16435                   offset: -1 -5;
16436                }
16437             }
16438          }
16439          part { name: "elm.swallow.end";
16440             clip_to: "disclip";
16441             type: SWALLOW;
16442             description { state: "default" 0.0;
16443                fixed: 1 0;
16444                align: 1.0 0.5;
16445                aspect: 1.0 1.0;
16446                aspect_preference: VERTICAL;
16447                rel1 {
16448                   relative: 1.0 0.0;
16449                   offset: -5 4;
16450                }
16451                rel2 {
16452                   relative: 1.0 1.0;
16453                   offset: -5 -5;
16454                }
16455             }
16456          }
16457          part { name: "elm.text";
16458             clip_to: "disclip";
16459             type: TEXT;
16460             effect: SOFT_SHADOW;
16461             mouse_events: 0;
16462             scale: 1;
16463             description {
16464                state: "default" 0.0;
16465 //               min: 16 16;
16466                rel1 {
16467                   to_x: "elm.swallow.icon";
16468                   relative: 1.0  0.0;
16469                   offset: 0 4;
16470                }
16471                rel2 {
16472                   to_x: "elm.swallow.end";
16473                   relative: 0.0  1.0;
16474                   offset: -1 -5;
16475                }
16476                color: 0 0 0 255;
16477                color3: 0 0 0 0;
16478                text {
16479                   font: "Sans";
16480                   size: 10;
16481                   min: 1 1;
16482 //                  min: 0 1;
16483                   align: -1.0 0.5;
16484                   text_class: "list_item";
16485                }
16486             }
16487             description { state: "selected" 0.0;
16488                inherit: "default" 0.0;
16489                color: 224 224 224 255;
16490                color3: 0 0 0 64;
16491             }
16492          }
16493          part { name: "fg1";
16494             clip_to: "disclip";
16495             mouse_events: 0;
16496             description { state: "default" 0.0;
16497                visible: 0;
16498                color: 255 255 255 0;
16499                rel1.to: "bg";
16500                rel2.relative: 1.0 0.5;
16501                rel2.to: "bg";
16502                image {
16503                   normal: "bt_sm_hilight.png";
16504                   border: 6 6 6 0;
16505                }
16506             }
16507             description { state: "selected" 0.0;
16508                inherit: "default" 0.0;
16509                visible: 1;
16510                color: 255 255 255 255;
16511             }
16512          }
16513          part { name: "fg2";
16514             clip_to: "disclip";
16515             mouse_events: 0;
16516             description { state: "default" 0.0;
16517                visible: 0;
16518                color: 255 255 255 0;
16519                rel1.to: "bg";
16520                rel2.to: "bg";
16521                image {
16522                   normal: "bt_sm_shine.png";
16523                   border: 6 6 6 0;
16524                }
16525             }
16526             description { state: "selected" 0.0;
16527                inherit: "default" 0.0;
16528                visible: 1;
16529                color: 255 255 255 255;
16530             }
16531          }
16532          part { name: "disclip";
16533             type: RECT;
16534             description { state: "default" 0.0;
16535                rel1.to: "bg";
16536                rel2.to: "bg";
16537             }
16538             description { state: "disabled" 0.0;
16539                inherit: "default" 0.0;
16540                color: 255 255 255 64;
16541             }
16542          }
16543       }
16544       programs {
16545          // signal: elm,state,%s,active
16546          //   a "check" item named %s went active
16547          // signal: elm,state,%s,passive
16548          //   a "check" item named %s went passive
16549          // default is passive
16550          program {
16551             name:    "go_active";
16552             signal:  "elm,state,selected";
16553             source:  "elm";
16554             action:  STATE_SET "selected" 0.0;
16555             target:  "bg";
16556             target:  "fg1";
16557             target:  "fg2";
16558             target:  "elm.text";
16559          }
16560          program {
16561             name:    "go_passive";
16562             signal:  "elm,state,unselected";
16563             source:  "elm";
16564             action:  STATE_SET "default" 0.0;
16565             target:  "bg";
16566             target:  "fg1";
16567             target:  "fg2";
16568             target:  "elm.text";
16569             transition: LINEAR 0.1;
16570          }
16571          program {
16572             name:    "go_disabled";
16573             signal:  "elm,state,disabled";
16574             source:  "elm";
16575             action:  STATE_SET "disabled" 0.0;
16576             target:  "disclip";
16577          }
16578          program {
16579             name:    "go_enabled";
16580             signal:  "elm,state,enabled";
16581             source:  "elm";
16582             action:  STATE_SET "default" 0.0;
16583             target:  "disclip";
16584          }
16585       }
16586    }
16587    group { name: "elm/genlist/item_compress/message/default";
16588       data.item: "stacking" "above";
16589       data.item: "selectraise" "on";
16590       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16591 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16592       data.item: "treesize" "20";
16593 //      data.item: "states" "";
16594       images {
16595          image: "bt_sm_base1.png" COMP;
16596          image: "bt_sm_shine.png" COMP;
16597          image: "bt_sm_hilight.png" COMP;
16598          image: "ilist_1.png" COMP;
16599          image: "ilist_item_shadow.png" COMP;
16600       }
16601       styles {
16602         style { name: "genlist_textblock_style";
16603           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16604           tag:  "br" "\n";
16605           tag:  "ps" "ps";
16606           tag:  "tab" "\t";
16607         }
16608         style { name: "genlist_textblock_style2";
16609           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16610           tag:  "br" "\n";
16611           tag:  "ps" "ps";
16612           tag:  "tab" "\t";
16613         }
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.title.1";
16696             clip_to: "disclip";
16697             type:           TEXT;
16698             effect:         SOFT_SHADOW;
16699             mouse_events:   0;
16700             scale: 1;
16701             description {
16702                state: "default" 0.0;
16703                fixed: 0 1;
16704 //               min: 16 16;
16705                rel1 {
16706                   relative: 0.0  0.0;
16707                   offset:   4 4;
16708                }
16709                rel2 {
16710                   relative: 1.0  0.0;
16711                   offset:   -5 4;
16712                }
16713                color: 0 0 0 255;
16714                color3: 0 0 0 0;
16715                align: 0.0 0.0;
16716                text {
16717                   font: "Sans";
16718                   size: 10;
16719                   min: 0 1;
16720 //                  min: 1 1;
16721                   align: 0.0 0.0;
16722                   text_class: "list_item";
16723                }
16724             }
16725             description { state: "selected" 0.0;
16726                inherit: "default" 0.0;
16727                color: 224 224 224 255;
16728                color3: 0 0 0 64;
16729             }
16730          }
16731          part { name: "elm.title.2";
16732             clip_to: "disclip";
16733             type:           TEXT;
16734             effect:         SOFT_SHADOW;
16735             mouse_events:   0;
16736             scale: 1;
16737             description {
16738                state: "default" 0.0;
16739                fixed: 0 1;
16740 //               min: 16 16;
16741                rel1 {
16742                   to_y:     "elm.title.1";
16743                   relative: 0.0  1.0;
16744                   offset:   4 0;
16745                }
16746                rel2 {
16747                   to_y:     "elm.title.1";
16748                   relative: 1.0  1.0;
16749                   offset:   -5 0;
16750                }
16751                color: 0 0 0 255;
16752                color3: 0 0 0 0;
16753                align: 0.0 0.0;
16754                text {
16755                   font: "Sans";
16756                   size: 10;
16757                   min: 0 1;
16758 //                  min: 1 1;
16759                   align: 0.0 0.0;
16760                   text_class: "list_item";
16761                }
16762             }
16763             description { state: "selected" 0.0;
16764                inherit: "default" 0.0;
16765                color: 224 224 224 255;
16766                color3: 0 0 0 64;
16767             }
16768          }
16769          part { name: "elm.text";
16770             clip_to: "disclip";
16771             type:           TEXTBLOCK;
16772             mouse_events:   0;
16773             scale: 1;
16774             description {
16775                state: "default" 0.0;
16776 //               fixed: 0 1;
16777 //               min: 16 16;
16778                rel1 {
16779                   to_y:     "elm.title.2";
16780                   relative: 0.0  1.0;
16781                   offset:   4 0;
16782                }
16783                rel2 {
16784                   relative: 1.0  1.0;
16785                   offset:   -5 -5;
16786                }
16787                align: 0.0 0.0;
16788                text {
16789                   style: "genlist_textblock_style";
16790                   min: 0 1;
16791 //                  min: 1 1;
16792                   align: 0.0 0.0;
16793                }
16794             }
16795             description { state: "selected" 0.0;
16796                inherit: "default" 0.0;
16797                text {
16798                   style: "genlist_textblock_style2";
16799                }
16800             }
16801          }
16802          part { name: "fg1";
16803             clip_to: "disclip";
16804             mouse_events: 0;
16805             description { state: "default" 0.0;
16806                visible: 0;
16807                color: 255 255 255 0;
16808                rel1.to: "bg";
16809                rel2.relative: 1.0 0.5;
16810                rel2.to: "bg";
16811                image {
16812                   normal: "bt_sm_hilight.png";
16813                   border: 6 6 6 0;
16814                }
16815             }
16816             description { state: "selected" 0.0;
16817                inherit: "default" 0.0;
16818                visible: 1;
16819                color: 255 255 255 255;
16820             }
16821          }
16822          part { name: "fg2";
16823             clip_to: "disclip";
16824             mouse_events: 0;
16825             description { state: "default" 0.0;
16826                visible: 0;
16827                color: 255 255 255 0;
16828                rel1.to: "bg";
16829                rel2.to: "bg";
16830                image {
16831                   normal: "bt_sm_shine.png";
16832                   border: 6 6 6 0;
16833                }
16834             }
16835             description { state: "selected" 0.0;
16836                inherit: "default" 0.0;
16837                visible: 1;
16838                color: 255 255 255 255;
16839             }
16840          }
16841          part { name: "disclip";
16842             type: RECT;
16843             description { state: "default" 0.0;
16844                rel1.to: "bg";
16845                rel2.to: "bg";
16846             }
16847             description { state: "disabled" 0.0;
16848                inherit: "default" 0.0;
16849                color: 255 255 255 64;
16850             }
16851          }
16852       }
16853       programs {
16854          // signal: elm,state,%s,active
16855          //   a "check" item named %s went active
16856          // signal: elm,state,%s,passive
16857          //   a "check" item named %s went passive
16858          // default is passive
16859          program {
16860             name:    "go_active";
16861             signal:  "elm,state,selected";
16862             source:  "elm";
16863             action:  STATE_SET "selected" 0.0;
16864             target:  "bg";
16865             target:  "fg1";
16866             target:  "fg2";
16867             target:  "elm.title.1";
16868             target:  "elm.title.2";
16869             target:  "elm.text";
16870          }
16871          program {
16872             name:    "go_passive";
16873             signal:  "elm,state,unselected";
16874             source:  "elm";
16875             action:  STATE_SET "default" 0.0;
16876             target:  "bg";
16877             target:  "fg1";
16878             target:  "fg2";
16879             target:  "elm.title.1";
16880             target:  "elm.title.2";
16881             target:  "elm.text";
16882             transition: LINEAR 0.1;
16883          }
16884          program {
16885             name:    "go_disabled";
16886             signal:  "elm,state,disabled";
16887             source:  "elm";
16888             action:  STATE_SET "disabled" 0.0;
16889             target:  "disclip";
16890          }
16891          program {
16892             name:    "go_enabled";
16893             signal:  "elm,state,enabled";
16894             source:  "elm";
16895             action:  STATE_SET "default" 0.0;
16896             target:  "disclip";
16897          }
16898       }
16899    }
16900    group { name: "elm/genlist/item_compress_odd/message/default";
16901       data.item: "stacking" "below";
16902       data.item: "selectraise" "on";
16903       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16904 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16905       data.item: "treesize" "20";
16906 //      data.item: "states" "";
16907       images {
16908          image: "bt_sm_base1.png" COMP;
16909          image: "bt_sm_shine.png" COMP;
16910          image: "bt_sm_hilight.png" COMP;
16911          image: "ilist_2.png" COMP;
16912       }
16913       parts {
16914          part { name: "event";
16915             type: RECT;
16916             repeat_events: 1;
16917             description {
16918                state: "default" 0.0;
16919                color: 0 0 0 0;
16920             }
16921          }
16922          part {
16923             name: "base";
16924             mouse_events: 0;
16925             description {
16926                state: "default" 0.0;
16927                image {
16928                   normal: "ilist_2.png";
16929                   border: 2 2 2 2;
16930                }
16931                fill.smooth: 0;
16932             }
16933          }
16934          part { name: "bg";
16935             clip_to: "disclip";
16936             mouse_events: 0;
16937             description { state: "default" 0.0;
16938                visible: 0;
16939                color: 255 255 255 0;
16940                rel1 {
16941                   relative: 0.0 0.0;
16942                   offset: -5 -5;
16943                }
16944                rel2 {
16945                   relative: 1.0 1.0;
16946                   offset: 4 4;
16947                }
16948                image {
16949                   normal: "bt_sm_base1.png";
16950                   border: 6 6 6 6;
16951                }
16952                image.middle: SOLID;
16953             }
16954             description { state: "selected" 0.0;
16955                inherit: "default" 0.0;
16956                visible: 1;
16957                color: 255 255 255 255;
16958                rel1 {
16959                   relative: 0.0 0.0;
16960                   offset: -2 -2;
16961                }
16962                rel2 {
16963                   relative: 1.0 1.0;
16964                   offset: 1 1;
16965                }
16966             }
16967          }
16968          part { name: "elm.title.1";
16969             clip_to: "disclip";
16970             type:           TEXT;
16971             effect:         SOFT_SHADOW;
16972             mouse_events:   0;
16973             scale: 1;
16974             description {
16975                state: "default" 0.0;
16976                fixed: 0 1;
16977 //               min: 16 16;
16978                rel1 {
16979                   relative: 0.0  0.0;
16980                   offset:   4 4;
16981                }
16982                rel2 {
16983                   relative: 1.0  0.0;
16984                   offset:   -5 4;
16985                }
16986                color: 0 0 0 255;
16987                color3: 0 0 0 0;
16988                align: 0.0 0.0;
16989                text {
16990                   font: "Sans";
16991                   size: 10;
16992                   min: 0 1;
16993 //                  min: 1 1;
16994                   align: 0.0 0.0;
16995                   text_class: "list_item";
16996                }
16997             }
16998             description { state: "selected" 0.0;
16999                inherit: "default" 0.0;
17000                color: 224 224 224 255;
17001                color3: 0 0 0 64;
17002             }
17003          }
17004          part { name: "elm.title.2";
17005             clip_to: "disclip";
17006             type:           TEXT;
17007             effect:         SOFT_SHADOW;
17008             mouse_events:   0;
17009             scale: 1;
17010             description {
17011                state: "default" 0.0;
17012                fixed: 0 1;
17013 //               min: 16 16;
17014                rel1 {
17015                   to_y:     "elm.title.1";
17016                   relative: 0.0  1.0;
17017                   offset:   4 0;
17018                }
17019                rel2 {
17020                   to_y:     "elm.title.1";
17021                   relative: 1.0  1.0;
17022                   offset:   -5 0;
17023                }
17024                color: 0 0 0 255;
17025                color3: 0 0 0 0;
17026                align: 0.0 0.0;
17027                text {
17028                   font: "Sans";
17029                   size: 10;
17030                   min: 0 1;
17031 //                  min: 1 1;
17032                   align: 0.0 0.0;
17033                   text_class: "list_item";
17034                }
17035             }
17036             description { state: "selected" 0.0;
17037                inherit: "default" 0.0;
17038                color: 224 224 224 255;
17039                color3: 0 0 0 64;
17040             }
17041          }
17042          part { name: "elm.text";
17043             clip_to: "disclip";
17044             type:           TEXTBLOCK;
17045             mouse_events:   0;
17046             scale: 1;
17047             description {
17048                state: "default" 0.0;
17049 //               fixed: 0 1;
17050 //               min: 16 16;
17051                rel1 {
17052                   to_y:     "elm.title.2";
17053                   relative: 0.0  1.0;
17054                   offset:   4 0;
17055                }
17056                rel2 {
17057                   relative: 1.0  1.0;
17058                   offset:   -5 -5;
17059                }
17060                align: 0.0 0.0;
17061                text {
17062                   style: "genlist_textblock_style";
17063                   min: 0 1;
17064 //                  min: 1 1;
17065                   align: 0.0 0.0;
17066                }
17067             }
17068             description { state: "selected" 0.0;
17069                inherit: "default" 0.0;
17070                text {
17071                   style: "genlist_textblock_style2";
17072                }
17073             }
17074          }
17075          part { name: "fg1";
17076             clip_to: "disclip";
17077             mouse_events: 0;
17078             description { state: "default" 0.0;
17079                visible: 0;
17080                color: 255 255 255 0;
17081                rel1.to: "bg";
17082                rel2.relative: 1.0 0.5;
17083                rel2.to: "bg";
17084                image {
17085                   normal: "bt_sm_hilight.png";
17086                   border: 6 6 6 0;
17087                }
17088             }
17089             description { state: "selected" 0.0;
17090                inherit: "default" 0.0;
17091                visible: 1;
17092                color: 255 255 255 255;
17093             }
17094          }
17095          part { name: "fg2";
17096             clip_to: "disclip";
17097             mouse_events: 0;
17098             description { state: "default" 0.0;
17099                visible: 0;
17100                color: 255 255 255 0;
17101                rel1.to: "bg";
17102                rel2.to: "bg";
17103                image {
17104                   normal: "bt_sm_shine.png";
17105                   border: 6 6 6 0;
17106                }
17107             }
17108             description { state: "selected" 0.0;
17109                inherit: "default" 0.0;
17110                visible: 1;
17111                color: 255 255 255 255;
17112             }
17113          }
17114          part { name: "disclip";
17115             type: RECT;
17116             description { state: "default" 0.0;
17117                rel1.to: "bg";
17118                rel2.to: "bg";
17119             }
17120             description { state: "disabled" 0.0;
17121                inherit: "default" 0.0;
17122                color: 255 255 255 64;
17123             }
17124          }
17125       }
17126       programs {
17127          // signal: elm,state,%s,active
17128          //   a "check" item named %s went active
17129          // signal: elm,state,%s,passive
17130          //   a "check" item named %s went passive
17131          // default is passive
17132          program {
17133             name:    "go_active";
17134             signal:  "elm,state,selected";
17135             source:  "elm";
17136             action:  STATE_SET "selected" 0.0;
17137             target:  "bg";
17138             target:  "fg1";
17139             target:  "fg2";
17140             target:  "elm.title.1";
17141             target:  "elm.title.2";
17142             target:  "elm.text";
17143          }
17144          program {
17145             name:    "go_passive";
17146             signal:  "elm,state,unselected";
17147             source:  "elm";
17148             action:  STATE_SET "default" 0.0;
17149             target:  "bg";
17150             target:  "fg1";
17151             target:  "fg2";
17152             target:  "elm.title.1";
17153             target:  "elm.title.2";
17154             target:  "elm.text";
17155             transition: LINEAR 0.1;
17156          }
17157          program {
17158             name:    "go_disabled";
17159             signal:  "elm,state,disabled";
17160             source:  "elm";
17161             action:  STATE_SET "disabled" 0.0;
17162             target:  "disclip";
17163          }
17164          program {
17165             name:    "go_enabled";
17166             signal:  "elm,state,enabled";
17167             source:  "elm";
17168             action:  STATE_SET "default" 0.0;
17169             target:  "disclip";
17170          }
17171       }
17172    }
17173    group { name: "elm/genlist/item_compress/default/default";
17174       data.item: "stacking" "above";
17175       data.item: "selectraise" "on";
17176       data.item: "labels" "elm.text";
17177       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17178       data.item: "treesize" "20";
17179 //      data.item: "states" "";
17180       images {
17181          image: "bt_sm_base1.png" COMP;
17182          image: "bt_sm_shine.png" COMP;
17183          image: "bt_sm_hilight.png" COMP;
17184          image: "ilist_1.png" COMP;
17185          image: "ilist_item_shadow.png" COMP;
17186       }
17187       parts {
17188          part {
17189             name:           "event";
17190             type:           RECT;
17191             repeat_events: 1;
17192             description {
17193                state: "default" 0.0;
17194                color: 0 0 0 0;
17195             }
17196          }
17197          part {
17198             name: "base_sh";
17199             mouse_events: 0;
17200             description {
17201                state: "default" 0.0;
17202                align: 0.0 0.0;
17203                min: 0 10;
17204                fixed: 1 1;
17205                rel1 {
17206                   to: "base";
17207                   relative: 0.0 1.0;
17208                   offset: 0 0;
17209                }
17210                rel2 {
17211                   to: "base";
17212                   relative: 1.0 1.0;
17213                   offset: -1 0;
17214                }
17215                image {
17216                   normal: "ilist_item_shadow.png";
17217                }
17218                fill.smooth: 0;
17219             }
17220          }
17221          part {
17222             name: "base";
17223             mouse_events: 0;
17224             description {
17225                state: "default" 0.0;
17226                image {
17227                   normal: "ilist_1.png";
17228                   border: 2 2 2 2;
17229                }
17230                fill.smooth: 0;
17231             }
17232          }
17233          part { name: "bg";
17234             clip_to: "disclip";
17235             mouse_events: 0;
17236             description { state: "default" 0.0;
17237                visible: 0;
17238                color: 255 255 255 0;
17239                rel1 {
17240                   relative: 0.0 0.0;
17241                   offset: -5 -5;
17242                }
17243                rel2 {
17244                   relative: 1.0 1.0;
17245                   offset: 4 4;
17246                }
17247                image {
17248                   normal: "bt_sm_base1.png";
17249                   border: 6 6 6 6;
17250                }
17251                image.middle: SOLID;
17252             }
17253             description { state: "selected" 0.0;
17254                inherit: "default" 0.0;
17255                visible: 1;
17256                color: 255 255 255 255;
17257                rel1 {
17258                   relative: 0.0 0.0;
17259                   offset: -2 -2;
17260                }
17261                rel2 {
17262                   relative: 1.0 1.0;
17263                   offset: 1 1;
17264                }
17265             }
17266          }
17267          part { name: "elm.swallow.pad";
17268             type: SWALLOW;
17269             description { state: "default" 0.0;
17270                fixed: 1 0;
17271                align: 0.0 0.5;
17272                rel1 {
17273                   relative: 0.0  0.0;
17274                   offset:   4    4;
17275                }
17276                rel2 {
17277                   relative: 0.0  1.0;
17278                   offset:   4   -5;
17279                }
17280             }
17281          }
17282          part { name: "elm.swallow.icon";
17283             clip_to: "disclip";
17284             type: SWALLOW;
17285             description { state: "default" 0.0;
17286                fixed: 1 0;
17287                align: 0.0 0.5;
17288                rel1 {
17289                   to_x: "elm.swallow.pad";
17290                   relative: 1.0  0.0;
17291                   offset:   -1    4;
17292                }
17293                rel2 {
17294                   to_x: "elm.swallow.pad";
17295                   relative: 1.0  1.0;
17296                   offset:   -1   -5;
17297                }
17298             }
17299          }
17300          part { name: "elm.swallow.end";
17301             clip_to: "disclip";
17302             type: SWALLOW;
17303             description { state: "default" 0.0;
17304                fixed: 1 0;
17305                align: 1.0 0.5;
17306                aspect: 1.0 1.0;
17307                aspect_preference: VERTICAL;
17308                rel1 {
17309                   relative: 1.0  0.0;
17310                   offset:   -5    4;
17311                }
17312                rel2 {
17313                   relative: 1.0  1.0;
17314                   offset:   -5   -5;
17315                }
17316             }
17317          }
17318          part { name: "elm.text";
17319             clip_to: "disclip";
17320             type:           TEXT;
17321             effect:         SOFT_SHADOW;
17322             mouse_events:   0;
17323             scale: 1;
17324             description {
17325                state: "default" 0.0;
17326 //               min: 16 16;
17327                rel1 {
17328                   to_x:     "elm.swallow.icon";
17329                   relative: 1.0  0.0;
17330                   offset:   0 4;
17331                }
17332                rel2 {
17333                   to_x:     "elm.swallow.end";
17334                   relative: 0.0  1.0;
17335                   offset:   -1 -5;
17336                }
17337                color: 0 0 0 255;
17338                color3: 0 0 0 0;
17339                text {
17340                   font: "Sans";
17341                   size: 10;
17342                   min: 0 1;
17343 //                  min: 1 1;
17344                   align: 0.0 0.5;
17345                   text_class: "list_item";
17346                }
17347             }
17348             description { state: "selected" 0.0;
17349                inherit: "default" 0.0;
17350                color: 224 224 224 255;
17351                color3: 0 0 0 64;
17352             }
17353          }
17354          part { name: "fg1";
17355             clip_to: "disclip";
17356             mouse_events: 0;
17357             description { state: "default" 0.0;
17358                visible: 0;
17359                color: 255 255 255 0;
17360                rel1.to: "bg";
17361                rel2.relative: 1.0 0.5;
17362                rel2.to: "bg";
17363                image {
17364                   normal: "bt_sm_hilight.png";
17365                   border: 6 6 6 0;
17366                }
17367             }
17368             description { state: "selected" 0.0;
17369                inherit: "default" 0.0;
17370                visible: 1;
17371                color: 255 255 255 255;
17372             }
17373          }
17374          part { name: "fg2";
17375             clip_to: "disclip";
17376             mouse_events: 0;
17377             description { state: "default" 0.0;
17378                visible: 0;
17379                color: 255 255 255 0;
17380                rel1.to: "bg";
17381                rel2.to: "bg";
17382                image {
17383                   normal: "bt_sm_shine.png";
17384                   border: 6 6 6 0;
17385                }
17386             }
17387             description { state: "selected" 0.0;
17388                inherit: "default" 0.0;
17389                visible: 1;
17390                color: 255 255 255 255;
17391             }
17392          }
17393          part { name: "disclip";
17394             type: RECT;
17395             description { state: "default" 0.0;
17396                rel1.to: "bg";
17397                rel2.to: "bg";
17398             }
17399             description { state: "disabled" 0.0;
17400                inherit: "default" 0.0;
17401                color: 255 255 255 64;
17402             }
17403          }
17404       }
17405       programs {
17406          // signal: elm,state,%s,active
17407          //   a "check" item named %s went active
17408          // signal: elm,state,%s,passive
17409          //   a "check" item named %s went passive
17410          // default is passive
17411          program {
17412             name:    "go_active";
17413             signal:  "elm,state,selected";
17414             source:  "elm";
17415             action:  STATE_SET "selected" 0.0;
17416             target:  "bg";
17417             target:  "fg1";
17418             target:  "fg2";
17419             target:  "elm.text";
17420          }
17421          program {
17422             name:    "go_passive";
17423             signal:  "elm,state,unselected";
17424             source:  "elm";
17425             action:  STATE_SET "default" 0.0;
17426             target:  "bg";
17427             target:  "fg1";
17428             target:  "fg2";
17429             target:  "elm.text";
17430             transition: LINEAR 0.1;
17431          }
17432          program {
17433             name:    "go_disabled";
17434             signal:  "elm,state,disabled";
17435             source:  "elm";
17436             action:  STATE_SET "disabled" 0.0;
17437             target:  "disclip";
17438          }
17439          program {
17440             name:    "go_enabled";
17441             signal:  "elm,state,enabled";
17442             source:  "elm";
17443             action:  STATE_SET "default" 0.0;
17444             target:  "disclip";
17445          }
17446       }
17447    }
17448    group { name: "elm/genlist/item_odd/default/default";
17449       data.item: "stacking" "below";
17450       data.item: "selectraise" "on";
17451       data.item: "labels" "elm.text";
17452       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17453       data.item: "treesize" "20";
17454 //      data.item: "states" "";
17455       images {
17456          image: "bt_sm_base1.png" COMP;
17457          image: "bt_sm_shine.png" COMP;
17458          image: "bt_sm_hilight.png" COMP;
17459          image: "ilist_2.png" COMP;
17460       }
17461       parts {
17462          part { name: "event";
17463             type: RECT;
17464             repeat_events: 1;
17465             description {
17466                state: "default" 0.0;
17467                color: 0 0 0 0;
17468             }
17469          }
17470          part {
17471             name: "base";
17472             mouse_events: 0;
17473             description {
17474                state: "default" 0.0;
17475                image {
17476                   normal: "ilist_2.png";
17477                   border: 2 2 2 2;
17478                }
17479                fill.smooth: 0;
17480             }
17481          }
17482          part { name: "bg";
17483             clip_to: "disclip";
17484             mouse_events: 0;
17485             description { state: "default" 0.0;
17486                visible: 0;
17487                color: 255 255 255 0;
17488                rel1 {
17489                   relative: 0.0 0.0;
17490                   offset: -5 -5;
17491                }
17492                rel2 {
17493                   relative: 1.0 1.0;
17494                   offset: 4 4;
17495                }
17496                image {
17497                   normal: "bt_sm_base1.png";
17498                   border: 6 6 6 6;
17499                }
17500                image.middle: SOLID;
17501             }
17502             description { state: "selected" 0.0;
17503                inherit: "default" 0.0;
17504                visible: 1;
17505                color: 255 255 255 255;
17506                rel1 {
17507                   relative: 0.0 0.0;
17508                   offset: -2 -2;
17509                }
17510                rel2 {
17511                   relative: 1.0 1.0;
17512                   offset: 1 1;
17513                }
17514             }
17515          }
17516          part { name: "elm.swallow.pad";
17517             type: SWALLOW;
17518             description { state: "default" 0.0;
17519                fixed: 1 0;
17520                align: 0.0 0.5;
17521                rel1 {
17522                   relative: 0.0  0.0;
17523                   offset:   4    4;
17524                }
17525                rel2 {
17526                   relative: 0.0  1.0;
17527                   offset:   4   -5;
17528                }
17529             }
17530          }
17531          part { name: "elm.swallow.icon";
17532             clip_to: "disclip";
17533             type: SWALLOW;
17534             description { state: "default" 0.0;
17535                fixed: 1 0;
17536                align: 0.0 0.5;
17537                rel1 {
17538                   to_x: "elm.swallow.pad";
17539                   relative: 1.0  0.0;
17540                   offset:   -1    4;
17541                }
17542                rel2 {
17543                   to_x: "elm.swallow.pad";
17544                   relative: 1.0  1.0;
17545                   offset:   -1   -5;
17546                }
17547             }
17548          }
17549          part { name: "elm.swallow.end";
17550             clip_to: "disclip";
17551             type:          SWALLOW;
17552             description { state:    "default" 0.0;
17553                fixed: 1 0;
17554                align:    1.0 0.5;
17555                aspect: 1.0 1.0;
17556                aspect_preference: VERTICAL;
17557                rel1 {
17558                   relative: 1.0  0.0;
17559                   offset:   -5    4;
17560                }
17561                rel2 {
17562                   relative: 1.0  1.0;
17563                   offset:   -5   -5;
17564                }
17565             }
17566          }
17567          part { name: "elm.text";
17568             clip_to: "disclip";
17569             type:           TEXT;
17570             effect:         SOFT_SHADOW;
17571             mouse_events:   0;
17572             scale: 1;
17573             description {
17574                state: "default" 0.0;
17575 //               min:      16 16;
17576                rel1 {
17577                   to_x:     "elm.swallow.icon";
17578                   relative: 1.0  0.0;
17579                   offset:   0 4;
17580                }
17581                rel2 {
17582                   to_x:     "elm.swallow.end";
17583                   relative: 0.0  1.0;
17584                   offset:   -1 -5;
17585                }
17586                color: 0 0 0 255;
17587                color3: 0 0 0 0;
17588                text {
17589                   font: "Sans";
17590                   size: 10;
17591                   min: 1 1;
17592 //                  min: 0 1;
17593                   align: -1.0 0.5;
17594                   text_class: "list_item";
17595                }
17596             }
17597             description { state: "selected" 0.0;
17598                inherit: "default" 0.0;
17599                color: 224 224 224 255;
17600                color3: 0 0 0 64;
17601             }
17602          }
17603          part { name: "fg1";
17604             clip_to: "disclip";
17605             mouse_events: 0;
17606             description { state: "default" 0.0;
17607                visible: 0;
17608                color: 255 255 255 0;
17609                rel1.to: "bg";
17610                rel2.relative: 1.0 0.5;
17611                rel2.to: "bg";
17612                image {
17613                   normal: "bt_sm_hilight.png";
17614                   border: 6 6 6 0;
17615                }
17616             }
17617             description { state: "selected" 0.0;
17618                inherit: "default" 0.0;
17619                visible: 1;
17620                color: 255 255 255 255;
17621             }
17622          }
17623          part { name: "fg2";
17624             clip_to: "disclip";
17625             mouse_events: 0;
17626             description { state: "default" 0.0;
17627                visible: 0;
17628                color: 255 255 255 0;
17629                rel1.to: "bg";
17630                rel2.to: "bg";
17631                image {
17632                   normal: "bt_sm_shine.png";
17633                   border: 6 6 6 0;
17634                }
17635             }
17636             description { state: "selected" 0.0;
17637                inherit: "default" 0.0;
17638                visible: 1;
17639                color: 255 255 255 255;
17640             }
17641          }
17642          part { name: "disclip";
17643             type: RECT;
17644             description { state: "default" 0.0;
17645                rel1.to: "bg";
17646                rel2.to: "bg";
17647             }
17648             description { state: "disabled" 0.0;
17649                inherit: "default" 0.0;
17650                color: 255 255 255 64;
17651             }
17652          }
17653       }
17654       programs {
17655          // signal: elm,state,%s,active
17656          //   a "check" item named %s went active
17657          // signal: elm,state,%s,passive
17658          //   a "check" item named %s went passive
17659          // default is passive
17660          program {
17661             name:    "go_active";
17662             signal:  "elm,state,selected";
17663             source:  "elm";
17664             action:  STATE_SET "selected" 0.0;
17665             target:  "bg";
17666             target:  "fg1";
17667             target:  "fg2";
17668             target:  "elm.text";
17669          }
17670          program {
17671             name:    "go_passive";
17672             signal:  "elm,state,unselected";
17673             source:  "elm";
17674             action:  STATE_SET "default" 0.0;
17675             target:  "bg";
17676             target:  "fg1";
17677             target:  "fg2";
17678             target:  "elm.text";
17679             transition: LINEAR 0.1;
17680          }
17681          program {
17682             name:    "go_disabled";
17683             signal:  "elm,state,disabled";
17684             source:  "elm";
17685             action:  STATE_SET "disabled" 0.0;
17686             target:  "disclip";
17687          }
17688          program {
17689             name:    "go_enabled";
17690             signal:  "elm,state,enabled";
17691             source:  "elm";
17692             action:  STATE_SET "default" 0.0;
17693             target:  "disclip";
17694          }
17695       }
17696    }
17697    group { name: "elm/genlist/item_compress_odd/default/default";
17698       data.item: "stacking" "below";
17699       data.item: "selectraise" "on";
17700       data.item: "labels" "elm.text";
17701       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17702       data.item: "treesize" "20";
17703 //      data.item: "states" "";
17704       images {
17705          image: "bt_sm_base1.png" COMP;
17706          image: "bt_sm_shine.png" COMP;
17707          image: "bt_sm_hilight.png" COMP;
17708          image: "ilist_2.png" COMP;
17709       }
17710       parts {
17711          part { name: "event";
17712             type: RECT;
17713             repeat_events: 1;
17714             description {
17715                state: "default" 0.0;
17716                color: 0 0 0 0;
17717             }
17718          }
17719          part {
17720             name: "base";
17721             mouse_events: 0;
17722             description {
17723                state: "default" 0.0;
17724                image {
17725                   normal: "ilist_2.png";
17726                   border: 2 2 2 2;
17727                }
17728                fill.smooth: 0;
17729             }
17730          }
17731          part { name: "bg";
17732             clip_to: "disclip";
17733             mouse_events: 0;
17734             description { state: "default" 0.0;
17735                visible: 0;
17736                color: 255 255 255 0;
17737                rel1 {
17738                   relative: 0.0 0.0;
17739                   offset: -5 -5;
17740                }
17741                rel2 {
17742                   relative: 1.0 1.0;
17743                   offset: 4 4;
17744                }
17745                image {
17746                   normal: "bt_sm_base1.png";
17747                   border: 6 6 6 6;
17748                }
17749                image.middle: SOLID;
17750             }
17751             description { state: "selected" 0.0;
17752                inherit: "default" 0.0;
17753                visible: 1;
17754                color: 255 255 255 255;
17755                rel1 {
17756                   relative: 0.0 0.0;
17757                   offset: -2 -2;
17758                }
17759                rel2 {
17760                   relative: 1.0 1.0;
17761                   offset: 1 1;
17762                }
17763             }
17764          }
17765          part { name: "elm.swallow.pad";
17766             type: SWALLOW;
17767             description { state: "default" 0.0;
17768                fixed: 1 0;
17769                align: 0.0 0.5;
17770                rel1 {
17771                   relative: 0.0  0.0;
17772                   offset:   4    4;
17773                }
17774                rel2 {
17775                   relative: 0.0  1.0;
17776                   offset:   4   -5;
17777                }
17778             }
17779          }
17780          part { name: "elm.swallow.icon";
17781             clip_to: "disclip";
17782             type: SWALLOW;
17783             description { state: "default" 0.0;
17784                fixed: 1 0;
17785                align: 0.0 0.5;
17786                rel1 {
17787                   to_x: "elm.swallow.pad";
17788                   relative: 1.0  0.0;
17789                   offset:   -1    4;
17790                }
17791                rel2 {
17792                   to_x: "elm.swallow.pad";
17793                   relative: 1.0  1.0;
17794                   offset:   -1   -5;
17795                }
17796             }
17797          }
17798          part { name: "elm.swallow.end";
17799             clip_to: "disclip";
17800             type:          SWALLOW;
17801             description { state:    "default" 0.0;
17802                fixed: 1 0;
17803                align:    1.0 0.5;
17804                aspect: 1.0 1.0;
17805                aspect_preference: VERTICAL;
17806                rel1 {
17807                   relative: 1.0  0.0;
17808                   offset:   -5    4;
17809                }
17810                rel2 {
17811                   relative: 1.0  1.0;
17812                   offset:   -5   -5;
17813                }
17814             }
17815          }
17816          part { name: "elm.text";
17817             clip_to: "disclip";
17818             type:           TEXT;
17819             effect:         SOFT_SHADOW;
17820             mouse_events:   0;
17821             scale: 1;
17822             description {
17823                state: "default" 0.0;
17824 //               min:      16 16;
17825                rel1 {
17826                   to_x:     "elm.swallow.icon";
17827                   relative: 1.0  0.0;
17828                   offset:   0 4;
17829                }
17830                rel2 {
17831                   to_x:     "elm.swallow.end";
17832                   relative: 0.0  1.0;
17833                   offset:   -1 -5;
17834                }
17835                color: 0 0 0 255;
17836                color3: 0 0 0 0;
17837                text {
17838                   font: "Sans";
17839                   size: 10;
17840                   min: 0 1;
17841 //                  min: 1 1;
17842                   align: 0.0 0.5;
17843                   text_class: "list_item";
17844                }
17845             }
17846             description { state: "selected" 0.0;
17847                inherit: "default" 0.0;
17848                color: 224 224 224 255;
17849                color3: 0 0 0 64;
17850             }
17851          }
17852          part { name: "fg1";
17853             clip_to: "disclip";
17854             mouse_events: 0;
17855             description { state: "default" 0.0;
17856                visible: 0;
17857                color: 255 255 255 0;
17858                rel1.to: "bg";
17859                rel2.relative: 1.0 0.5;
17860                rel2.to: "bg";
17861                image {
17862                   normal: "bt_sm_hilight.png";
17863                   border: 6 6 6 0;
17864                }
17865             }
17866             description { state: "selected" 0.0;
17867                inherit: "default" 0.0;
17868                visible: 1;
17869                color: 255 255 255 255;
17870             }
17871          }
17872          part { name: "fg2";
17873             clip_to: "disclip";
17874             mouse_events: 0;
17875             description { state: "default" 0.0;
17876                visible: 0;
17877                color: 255 255 255 0;
17878                rel1.to: "bg";
17879                rel2.to: "bg";
17880                image {
17881                   normal: "bt_sm_shine.png";
17882                   border: 6 6 6 0;
17883                }
17884             }
17885             description { state: "selected" 0.0;
17886                inherit: "default" 0.0;
17887                visible: 1;
17888                color: 255 255 255 255;
17889             }
17890          }
17891          part { name: "disclip";
17892             type: RECT;
17893             description { state: "default" 0.0;
17894                rel1.to: "bg";
17895                rel2.to: "bg";
17896             }
17897             description { state: "disabled" 0.0;
17898                inherit: "default" 0.0;
17899                color: 255 255 255 64;
17900             }
17901          }
17902       }
17903       programs {
17904          // signal: elm,state,%s,active
17905          //   a "check" item named %s went active
17906          // signal: elm,state,%s,passive
17907          //   a "check" item named %s went passive
17908          // default is passive
17909          program {
17910             name:    "go_active";
17911             signal:  "elm,state,selected";
17912             source:  "elm";
17913             action:  STATE_SET "selected" 0.0;
17914             target:  "bg";
17915             target:  "fg1";
17916             target:  "fg2";
17917             target:  "elm.text";
17918          }
17919          program {
17920             name:    "go_passive";
17921             signal:  "elm,state,unselected";
17922             source:  "elm";
17923             action:  STATE_SET "default" 0.0;
17924             target:  "bg";
17925             target:  "fg1";
17926             target:  "fg2";
17927             target:  "elm.text";
17928             transition: LINEAR 0.1;
17929          }
17930          program {
17931             name:    "go_disabled";
17932             signal:  "elm,state,disabled";
17933             source:  "elm";
17934             action:  STATE_SET "disabled" 0.0;
17935             target:  "disclip";
17936          }
17937          program {
17938             name:    "go_enabled";
17939             signal:  "elm,state,enabled";
17940             source:  "elm";
17941             action:  STATE_SET "default" 0.0;
17942             target:  "disclip";
17943          }
17944       }
17945    }
17946
17947    group { name: "elm/genlist/tree/default/default";
17948       data.item: "stacking" "above";
17949       data.item: "selectraise" "on";
17950       data.item: "labels" "elm.text";
17951       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17952       data.item: "treesize" "20";
17953 //      data.item: "states" "";
17954       images {
17955          image: "bt_sm_base1.png" COMP;
17956          image: "bt_sm_shine.png" COMP;
17957          image: "bt_sm_hilight.png" COMP;
17958          image: "ilist_1.png" COMP;
17959          image: "ilist_item_shadow.png" COMP;
17960          image: "icon_arrow_left.png" COMP;
17961          image: "icon_arrow_right.png" COMP;
17962          image: "icon_arrow_down.png" COMP;
17963       }
17964       parts {
17965          part {
17966             name:           "event";
17967             type:           RECT;
17968             repeat_events: 1;
17969             description {
17970                state: "default" 0.0;
17971                color: 0 0 0 0;
17972             }
17973          }
17974          part {
17975             name: "base_sh";
17976             mouse_events: 0;
17977             description {
17978                state: "default" 0.0;
17979                align: 0.0 0.0;
17980                min: 0 10;
17981                fixed: 1 1;
17982                rel1 {
17983                   to: "base";
17984                   relative: 0.0 1.0;
17985                   offset: 0 0;
17986                }
17987                rel2 {
17988                   to: "base";
17989                   relative: 1.0 1.0;
17990                   offset: -1 0;
17991                }
17992                image {
17993                   normal: "ilist_item_shadow.png";
17994                }
17995                fill.smooth: 0;
17996             }
17997          }
17998          part {
17999             name: "base";
18000             mouse_events: 0;
18001             description {
18002                state: "default" 0.0;
18003                image {
18004                   normal: "ilist_1.png";
18005                   border: 2 2 2 2;
18006                }
18007                fill.smooth: 0;
18008             }
18009          }
18010          part { name: "bg";
18011             clip_to: "disclip";
18012             mouse_events: 0;
18013             description { state: "default" 0.0;
18014                visible: 0;
18015                color: 255 255 255 0;
18016                rel1 {
18017                   relative: 0.0 0.0;
18018                   offset: -5 -5;
18019                }
18020                rel2 {
18021                   relative: 1.0 1.0;
18022                   offset: 4 4;
18023                }
18024                image {
18025                   normal: "bt_sm_base1.png";
18026                   border: 6 6 6 6;
18027                }
18028                image.middle: SOLID;
18029             }
18030             description { state: "selected" 0.0;
18031                inherit: "default" 0.0;
18032                visible: 1;
18033                color: 255 255 255 255;
18034                rel1 {
18035                   relative: 0.0 0.0;
18036                   offset: -2 -2;
18037                }
18038                rel2 {
18039                   relative: 1.0 1.0;
18040                   offset: 1 1;
18041                }
18042             }
18043          }
18044          part { name: "elm.swallow.pad";
18045             type: SWALLOW;
18046             description { state: "default" 0.0;
18047                fixed: 1 0;
18048                align: 0.0 0.5;
18049                rel1 {
18050                   relative: 0.0  0.0;
18051                   offset:   4    4;
18052                }
18053                rel2 {
18054                   relative: 0.0  1.0;
18055                   offset:   4   -5;
18056                }
18057             }
18058          }
18059          part { name: "arrow";
18060             clip_to: "disclip";
18061             ignore_flags: ON_HOLD;
18062             description { state: "default" 0.0;
18063                fixed: 1 0;
18064                align: 0.0 0.5;
18065                aspect: 1.0 1.0;
18066                rel1 {
18067                   to_x: "elm.swallow.pad";
18068                   relative: 1.0  0.0;
18069                   offset:   -1    4;
18070                }
18071                rel2 {
18072                   to_x: "elm.swallow.pad";
18073                   relative: 1.0  1.0;
18074                   offset:   -1   -5;
18075                }
18076                image.normal: "icon_arrow_right.png";
18077             }
18078             description { state: "default" 0.1;
18079                inherit: "default" 0.0;
18080                image.normal: "icon_arrow_left.png";
18081             }
18082             description { state: "active" 0.0;
18083                inherit: "default" 0.0;
18084                image.normal: "icon_arrow_down.png";
18085             }
18086             description { state: "active" 0.1;
18087                inherit: "default" 0.0;
18088                image.normal: "icon_arrow_down.png";
18089             }
18090          }
18091          part { name: "elm.swallow.icon";
18092             clip_to: "disclip";
18093             type: SWALLOW;
18094             description { state: "default" 0.0;
18095                fixed: 1 0;
18096                align: 0.0 0.5;
18097                rel1 {
18098                   to_x: "arrow";
18099                   relative: 1.0  0.0;
18100                   offset:   4    4;
18101                }
18102                rel2 {
18103                   to_x: "arrow";
18104                   relative: 1.0  1.0;
18105                   offset:   4   -5;
18106                }
18107             }
18108          }
18109          part { name: "elm.swallow.end";
18110             clip_to: "disclip";
18111             type: SWALLOW;
18112             description { state: "default" 0.0;
18113                fixed: 1 0;
18114                align: 1.0 0.5;
18115                aspect: 1.0 1.0;
18116                aspect_preference: VERTICAL;
18117                rel1 {
18118                   relative: 1.0  0.0;
18119                   offset:   -5    4;
18120                }
18121                rel2 {
18122                   relative: 1.0  1.0;
18123                   offset:   -5   -5;
18124                }
18125             }
18126          }
18127          part { name: "elm.text";
18128             clip_to: "disclip";
18129             type:           TEXT;
18130             effect:         SOFT_SHADOW;
18131             mouse_events:   0;
18132             scale: 1;
18133             description {
18134                state: "default" 0.0;
18135 //               min: 16 16;
18136                rel1 {
18137                   to_x:     "elm.swallow.icon";
18138                   relative: 1.0  0.0;
18139                   offset:   0 4;
18140                }
18141                rel2 {
18142                   to_x:     "elm.swallow.end";
18143                   relative: 0.0  1.0;
18144                   offset:   -1 -5;
18145                }
18146                color: 0 0 0 255;
18147                color3: 0 0 0 0;
18148                text {
18149                   font: "Sans";
18150                   size: 10;
18151                   min: 1 1;
18152 //                  min: 0 1;
18153                   align: -1.0 0.5;
18154                   text_class: "list_item";
18155                }
18156             }
18157             description { state: "selected" 0.0;
18158                inherit: "default" 0.0;
18159                color: 224 224 224 255;
18160                color3: 0 0 0 64;
18161             }
18162          }
18163          part { name: "fg1";
18164             clip_to: "disclip";
18165             mouse_events: 0;
18166             description { state: "default" 0.0;
18167                visible: 0;
18168                color: 255 255 255 0;
18169                rel1.to: "bg";
18170                rel2.relative: 1.0 0.5;
18171                rel2.to: "bg";
18172                image {
18173                   normal: "bt_sm_hilight.png";
18174                   border: 6 6 6 0;
18175                }
18176             }
18177             description { state: "selected" 0.0;
18178                inherit: "default" 0.0;
18179                visible: 1;
18180                color: 255 255 255 255;
18181             }
18182          }
18183          part { name: "fg2";
18184             clip_to: "disclip";
18185             mouse_events: 0;
18186             description { state: "default" 0.0;
18187                visible: 0;
18188                color: 255 255 255 0;
18189                rel1.to: "bg";
18190                rel2.to: "bg";
18191                image {
18192                   normal: "bt_sm_shine.png";
18193                   border: 6 6 6 0;
18194                }
18195             }
18196             description { state: "selected" 0.0;
18197                inherit: "default" 0.0;
18198                visible: 1;
18199                color: 255 255 255 255;
18200             }
18201          }
18202          part { name: "disclip";
18203             type: RECT;
18204             description { state: "default" 0.0;
18205                rel1.to: "bg";
18206                rel2.to: "bg";
18207             }
18208             description { state: "disabled" 0.0;
18209                inherit: "default" 0.0;
18210                color: 255 255 255 64;
18211             }
18212          }
18213       }
18214       programs {
18215          // signal: elm,state,%s,active
18216          //   a "check" item named %s went active
18217          // signal: elm,state,%s,passive
18218          //   a "check" item named %s went passive
18219          // default is passive
18220          program {
18221             name:    "go_active";
18222             signal:  "elm,state,selected";
18223             source:  "elm";
18224             action:  STATE_SET "selected" 0.0;
18225             target:  "bg";
18226             target:  "fg1";
18227             target:  "fg2";
18228             target:  "elm.text";
18229          }
18230          program {
18231             name:    "go_passive";
18232             signal:  "elm,state,unselected";
18233             source:  "elm";
18234             action:  STATE_SET "default" 0.0;
18235             target:  "bg";
18236             target:  "fg1";
18237             target:  "fg2";
18238             target:  "elm.text";
18239             transition: LINEAR 0.1;
18240          }
18241          program {
18242             name:    "go_disabled";
18243             signal:  "elm,state,disabled";
18244             source:  "elm";
18245             action:  STATE_SET "disabled" 0.0;
18246             target:  "disclip";
18247          }
18248          program {
18249             name:    "go_enabled";
18250             signal:  "elm,state,enabled";
18251             source:  "elm";
18252             action:  STATE_SET "default" 0.0;
18253             target:  "disclip";
18254          }
18255          program {
18256             name:    "expand";
18257             signal:  "mouse,up,1";
18258             source:  "arrow";
18259             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18260          }
18261          program {
18262             name:    "go_expanded";
18263             signal:  "elm,state,expanded";
18264             source:  "elm";
18265             script {
18266                new st[31];
18267                new Float:vl;
18268                get_state(PART:"arrow", st, 30, vl);
18269                set_state(PART:"arrow", "active", vl);
18270             }
18271          }
18272          program {
18273             name:    "go_contracted";
18274             signal:  "elm,state,contracted";
18275             source:  "elm";
18276             script {
18277                new st[31];
18278                new Float:vl;
18279                get_state(PART:"arrow", st, 30, vl);
18280                set_state(PART:"arrow", "default", vl);
18281             }
18282          }
18283          program { name: "to_rtl";
18284             signal: "edje,state,rtl";
18285             source: "edje";
18286             script {
18287                new st[31];
18288                new Float:vl;
18289                get_state(PART:"arrow", st, 30, vl);
18290                if (vl == 0.0) {
18291                   set_state(PART:"arrow", st, 0.1);
18292                }
18293             }
18294          }
18295          program { name: "to_ltr";
18296             signal: "edje,state,ltr";
18297             source: "edje";
18298             script {
18299                new st[31];
18300                new Float:vl;
18301                get_state(PART:"arrow", st, 30, vl);
18302                if (vl == 0.1) {
18303                   set_state(PART:"arrow", st, 0.0);
18304                }
18305             }
18306          }
18307       }
18308    }
18309    group { name: "elm/genlist/tree_compress/default/default";
18310       data.item: "stacking" "above";
18311       data.item: "selectraise" "on";
18312       data.item: "labels" "elm.text";
18313       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18314       data.item: "treesize" "20";
18315 //      data.item: "states" "";
18316       images {
18317          image: "bt_sm_base1.png" COMP;
18318          image: "bt_sm_shine.png" COMP;
18319          image: "bt_sm_hilight.png" COMP;
18320          image: "ilist_1.png" COMP;
18321          image: "ilist_item_shadow.png" COMP;
18322          image: "icon_arrow_left.png" COMP;
18323          image: "icon_arrow_right.png" COMP;
18324          image: "icon_arrow_down.png" COMP;
18325       }
18326       parts {
18327          part {
18328             name:           "event";
18329             type:           RECT;
18330             repeat_events: 1;
18331             description {
18332                state: "default" 0.0;
18333                color: 0 0 0 0;
18334             }
18335          }
18336          part {
18337             name: "base_sh";
18338             mouse_events: 0;
18339             description {
18340                state: "default" 0.0;
18341                align: 0.0 0.0;
18342                min: 0 10;
18343                fixed: 1 1;
18344                rel1 {
18345                   to: "base";
18346                   relative: 0.0 1.0;
18347                   offset: 0 0;
18348                }
18349                rel2 {
18350                   to: "base";
18351                   relative: 1.0 1.0;
18352                   offset: -1 0;
18353                }
18354                image {
18355                   normal: "ilist_item_shadow.png";
18356                }
18357                fill.smooth: 0;
18358             }
18359          }
18360          part {
18361             name: "base";
18362             mouse_events: 0;
18363             description {
18364                state: "default" 0.0;
18365                image {
18366                   normal: "ilist_1.png";
18367                   border: 2 2 2 2;
18368                }
18369                fill.smooth: 0;
18370             }
18371          }
18372          part { name: "bg";
18373             clip_to: "disclip";
18374             mouse_events: 0;
18375             description { state: "default" 0.0;
18376                visible: 0;
18377                color: 255 255 255 0;
18378                rel1 {
18379                   relative: 0.0 0.0;
18380                   offset: -5 -5;
18381                }
18382                rel2 {
18383                   relative: 1.0 1.0;
18384                   offset: 4 4;
18385                }
18386                image {
18387                   normal: "bt_sm_base1.png";
18388                   border: 6 6 6 6;
18389                }
18390                image.middle: SOLID;
18391             }
18392             description { state: "selected" 0.0;
18393                inherit: "default" 0.0;
18394                visible: 1;
18395                color: 255 255 255 255;
18396                rel1 {
18397                   relative: 0.0 0.0;
18398                   offset: -2 -2;
18399                }
18400                rel2 {
18401                   relative: 1.0 1.0;
18402                   offset: 1 1;
18403                }
18404             }
18405          }
18406          part { name: "elm.swallow.pad";
18407             type: SWALLOW;
18408             description { state: "default" 0.0;
18409                fixed: 1 0;
18410                align: 0.0 0.5;
18411                rel1 {
18412                   relative: 0.0  0.0;
18413                   offset:   4    4;
18414                }
18415                rel2 {
18416                   relative: 0.0  1.0;
18417                   offset:   4   -5;
18418                }
18419             }
18420          }
18421          part { name: "arrow";
18422             clip_to: "disclip";
18423             ignore_flags: ON_HOLD;
18424             description { state: "default" 0.0;
18425                fixed: 1 0;
18426                align: 0.0 0.5;
18427                aspect: 1.0 1.0;
18428                rel1 {
18429                   to_x: "elm.swallow.pad";
18430                   relative: 1.0  0.0;
18431                   offset:   -1    4;
18432                }
18433                rel2 {
18434                   to_x: "elm.swallow.pad";
18435                   relative: 1.0  1.0;
18436                   offset:   -1   -5;
18437                }
18438                image.normal: "icon_arrow_right.png";
18439             }
18440             description { state: "default" 0.1;
18441                inherit: "default" 0.0;
18442                image.normal: "icon_arrow_left.png";
18443             }
18444             description { state: "active" 0.0;
18445                inherit: "default" 0.0;
18446                image.normal: "icon_arrow_down.png";
18447             }
18448             description { state: "active" 0.1;
18449                inherit: "default" 0.0;
18450                image.normal: "icon_arrow_down.png";
18451             }
18452          }
18453          part { name: "elm.swallow.icon";
18454             clip_to: "disclip";
18455             type: SWALLOW;
18456             description { state: "default" 0.0;
18457                fixed: 1 0;
18458                align: 0.0 0.5;
18459                rel1 {
18460                   to_x: "arrow";
18461                   relative: 1.0  0.0;
18462                   offset:   4    4;
18463                }
18464                rel2 {
18465                   to_x: "arrow";
18466                   relative: 1.0  1.0;
18467                   offset:   4   -5;
18468                }
18469             }
18470          }
18471          part { name: "elm.swallow.end";
18472             clip_to: "disclip";
18473             type: SWALLOW;
18474             description { state: "default" 0.0;
18475                fixed: 1 0;
18476                align: 1.0 0.5;
18477                aspect: 1.0 1.0;
18478                aspect_preference: VERTICAL;
18479                rel1 {
18480                   relative: 1.0  0.0;
18481                   offset:   -5    4;
18482                }
18483                rel2 {
18484                   relative: 1.0  1.0;
18485                   offset:   -5   -5;
18486                }
18487             }
18488          }
18489          part { name: "elm.text";
18490             clip_to: "disclip";
18491             type:           TEXT;
18492             effect:         SOFT_SHADOW;
18493             mouse_events:   0;
18494             scale: 1;
18495             description {
18496                state: "default" 0.0;
18497 //               min: 16 16;
18498                rel1 {
18499                   to_x:     "elm.swallow.icon";
18500                   relative: 1.0  0.0;
18501                   offset:   0 4;
18502                }
18503                rel2 {
18504                   to_x:     "elm.swallow.end";
18505                   relative: 0.0  1.0;
18506                   offset:   -1 -5;
18507                }
18508                color: 0 0 0 255;
18509                color3: 0 0 0 0;
18510                text {
18511                   font: "Sans";
18512                   size: 10;
18513 //                  min: 1 1;
18514                   min: 0 1;
18515                   align: 0.0 0.5;
18516                   text_class: "list_item";
18517                }
18518             }
18519             description { state: "selected" 0.0;
18520                inherit: "default" 0.0;
18521                color: 224 224 224 255;
18522                color3: 0 0 0 64;
18523             }
18524          }
18525          part { name: "fg1";
18526             clip_to: "disclip";
18527             mouse_events: 0;
18528             description { state: "default" 0.0;
18529                visible: 0;
18530                color: 255 255 255 0;
18531                rel1.to: "bg";
18532                rel2.relative: 1.0 0.5;
18533                rel2.to: "bg";
18534                image {
18535                   normal: "bt_sm_hilight.png";
18536                   border: 6 6 6 0;
18537                }
18538             }
18539             description { state: "selected" 0.0;
18540                inherit: "default" 0.0;
18541                visible: 1;
18542                color: 255 255 255 255;
18543             }
18544          }
18545          part { name: "fg2";
18546             clip_to: "disclip";
18547             mouse_events: 0;
18548             description { state: "default" 0.0;
18549                visible: 0;
18550                color: 255 255 255 0;
18551                rel1.to: "bg";
18552                rel2.to: "bg";
18553                image {
18554                   normal: "bt_sm_shine.png";
18555                   border: 6 6 6 0;
18556                }
18557             }
18558             description { state: "selected" 0.0;
18559                inherit: "default" 0.0;
18560                visible: 1;
18561                color: 255 255 255 255;
18562             }
18563          }
18564          part { name: "disclip";
18565             type: RECT;
18566             description { state: "default" 0.0;
18567                rel1.to: "bg";
18568                rel2.to: "bg";
18569             }
18570             description { state: "disabled" 0.0;
18571                inherit: "default" 0.0;
18572                color: 255 255 255 64;
18573             }
18574          }
18575       }
18576       programs {
18577          // signal: elm,state,%s,active
18578          //   a "check" item named %s went active
18579          // signal: elm,state,%s,passive
18580          //   a "check" item named %s went passive
18581          // default is passive
18582          program {
18583             name:    "go_active";
18584             signal:  "elm,state,selected";
18585             source:  "elm";
18586             action:  STATE_SET "selected" 0.0;
18587             target:  "bg";
18588             target:  "fg1";
18589             target:  "fg2";
18590             target:  "elm.text";
18591          }
18592          program {
18593             name:    "go_passive";
18594             signal:  "elm,state,unselected";
18595             source:  "elm";
18596             action:  STATE_SET "default" 0.0;
18597             target:  "bg";
18598             target:  "fg1";
18599             target:  "fg2";
18600             target:  "elm.text";
18601             transition: LINEAR 0.1;
18602          }
18603          program {
18604             name:    "go_disabled";
18605             signal:  "elm,state,disabled";
18606             source:  "elm";
18607             action:  STATE_SET "disabled" 0.0;
18608             target:  "disclip";
18609          }
18610          program {
18611             name:    "go_enabled";
18612             signal:  "elm,state,enabled";
18613             source:  "elm";
18614             action:  STATE_SET "default" 0.0;
18615             target:  "disclip";
18616          }
18617          program {
18618             name:    "expand";
18619             signal:  "mouse,up,1";
18620             source:  "arrow";
18621             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18622          }
18623          program {
18624             name:    "go_expanded";
18625             signal:  "elm,state,expanded";
18626             source:  "elm";
18627             script {
18628                new st[31];
18629                new Float:vl;
18630                get_state(PART:"arrow", st, 30, vl);
18631                set_state(PART:"arrow", "active", vl);
18632             }
18633          }
18634          program {
18635             name:    "go_contracted";
18636             signal:  "elm,state,contracted";
18637             source:  "elm";
18638             script {
18639                new st[31];
18640                new Float:vl;
18641                get_state(PART:"arrow", st, 30, vl);
18642                set_state(PART:"arrow", "default", vl);
18643             }
18644          }
18645          program { name: "to_rtl";
18646             signal: "edje,state,rtl";
18647             source: "edje";
18648             script {
18649                new st[31];
18650                new Float:vl;
18651                get_state(PART:"arrow", st, 30, vl);
18652                if (vl == 0.0) {
18653                   set_state(PART:"arrow", st, 0.1);
18654                }
18655             }
18656          }
18657          program { name: "to_ltr";
18658             signal: "edje,state,ltr";
18659             source: "edje";
18660             script {
18661                new st[31];
18662                new Float:vl;
18663                get_state(PART:"arrow", st, 30, vl);
18664                if (vl == 0.1) {
18665                   set_state(PART:"arrow", st, 0.0);
18666                }
18667             }
18668          }
18669       }
18670    }
18671    group { name: "elm/genlist/tree_odd/default/default";
18672       data.item: "stacking" "below";
18673       data.item: "selectraise" "on";
18674       data.item: "labels" "elm.text";
18675       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18676       data.item: "treesize" "20";
18677 //      data.item: "states" "";
18678       images {
18679          image: "bt_sm_base1.png" COMP;
18680          image: "bt_sm_shine.png" COMP;
18681          image: "bt_sm_hilight.png" COMP;
18682          image: "ilist_2.png" COMP;
18683          image: "icon_arrow_left.png" COMP;
18684          image: "icon_arrow_right.png" COMP;
18685          image: "icon_arrow_down.png" COMP;
18686       }
18687       parts {
18688          part {
18689             name:           "event";
18690             type:           RECT;
18691             repeat_events: 1;
18692             description {
18693                state: "default" 0.0;
18694                color: 0 0 0 0;
18695             }
18696          }
18697          part {
18698             name: "base";
18699             mouse_events: 0;
18700             description {
18701                state: "default" 0.0;
18702                image {
18703                   normal: "ilist_2.png";
18704                   border: 2 2 2 2;
18705                }
18706                fill.smooth: 0;
18707             }
18708          }
18709          part { name: "bg";
18710             clip_to: "disclip";
18711             mouse_events: 0;
18712             description { state: "default" 0.0;
18713                visible: 0;
18714                color: 255 255 255 0;
18715                rel1 {
18716                   relative: 0.0 0.0;
18717                   offset: -5 -5;
18718                }
18719                rel2 {
18720                   relative: 1.0 1.0;
18721                   offset: 4 4;
18722                }
18723                image {
18724                   normal: "bt_sm_base1.png";
18725                   border: 6 6 6 6;
18726                }
18727                image.middle: SOLID;
18728             }
18729             description { state: "selected" 0.0;
18730                inherit: "default" 0.0;
18731                visible: 1;
18732                color: 255 255 255 255;
18733                rel1 {
18734                   relative: 0.0 0.0;
18735                   offset: -2 -2;
18736                }
18737                rel2 {
18738                   relative: 1.0 1.0;
18739                   offset: 1 1;
18740                }
18741             }
18742          }
18743          part { name: "elm.swallow.pad";
18744             type: SWALLOW;
18745             description { state: "default" 0.0;
18746                fixed: 1 0;
18747                align: 0.0 0.5;
18748                rel1 {
18749                   relative: 0.0  0.0;
18750                   offset:   4    4;
18751                }
18752                rel2 {
18753                   relative: 0.0  1.0;
18754                   offset:   4   -5;
18755                }
18756             }
18757          }
18758          part { name: "arrow";
18759             clip_to: "disclip";
18760             ignore_flags: ON_HOLD;
18761             description { state: "default" 0.0;
18762                fixed: 1 0;
18763                align: 0.0 0.5;
18764                aspect: 1.0 1.0;
18765                rel1 {
18766                   to_x: "elm.swallow.pad";
18767                   relative: 1.0  0.0;
18768                   offset:   -1    4;
18769                }
18770                rel2 {
18771                   to_x: "elm.swallow.pad";
18772                   relative: 1.0  1.0;
18773                   offset:   -1   -5;
18774                }
18775                image.normal: "icon_arrow_right.png";
18776             }
18777             description { state: "default" 0.1;
18778                inherit: "default" 0.0;
18779                image.normal: "icon_arrow_left.png";
18780             }
18781             description { state: "active" 0.0;
18782                inherit: "default" 0.0;
18783                image.normal: "icon_arrow_down.png";
18784             }
18785             description { state: "active" 0.1;
18786                inherit: "default" 0.0;
18787                image.normal: "icon_arrow_down.png";
18788             }
18789          }
18790          part { name: "elm.swallow.icon";
18791             clip_to: "disclip";
18792             type: SWALLOW;
18793             description { state: "default" 0.0;
18794                fixed: 1 0;
18795                align: 0.0 0.5;
18796                rel1 {
18797                   to_x: "arrow";
18798                   relative: 1.0  0.0;
18799                   offset:   4    4;
18800                }
18801                rel2 {
18802                   to_x: "arrow";
18803                   relative: 1.0  1.0;
18804                   offset:   4   -5;
18805                }
18806             }
18807          }
18808          part { name: "elm.swallow.end";
18809             clip_to: "disclip";
18810             type: SWALLOW;
18811             description { state: "default" 0.0;
18812                fixed: 1 0;
18813                align: 1.0 0.5;
18814                aspect: 1.0 1.0;
18815                aspect_preference: VERTICAL;
18816                rel1 {
18817                   relative: 1.0  0.0;
18818                   offset:   -5    4;
18819                }
18820                rel2 {
18821                   relative: 1.0  1.0;
18822                   offset:   -5   -5;
18823                }
18824             }
18825          }
18826          part { name: "elm.text";
18827             clip_to: "disclip";
18828             type:           TEXT;
18829             effect:         SOFT_SHADOW;
18830             mouse_events:   0;
18831             scale: 1;
18832             description {
18833                state: "default" 0.0;
18834 //               min: 16 16;
18835                rel1 {
18836                   to_x:     "elm.swallow.icon";
18837                   relative: 1.0  0.0;
18838                   offset:   0 4;
18839                }
18840                rel2 {
18841                   to_x:     "elm.swallow.end";
18842                   relative: 0.0  1.0;
18843                   offset:   -1 -5;
18844                }
18845                color: 0 0 0 255;
18846                color3: 0 0 0 0;
18847                text {
18848                   font: "Sans";
18849                   size: 10;
18850                   min: 1 1;
18851 //                  min: 0 1;
18852                   align: -1.0 0.5;
18853                   text_class: "list_item";
18854                }
18855             }
18856             description { state: "selected" 0.0;
18857                inherit: "default" 0.0;
18858                color: 224 224 224 255;
18859                color3: 0 0 0 64;
18860             }
18861          }
18862          part { name: "fg1";
18863             clip_to: "disclip";
18864             mouse_events: 0;
18865             description { state: "default" 0.0;
18866                visible: 0;
18867                color: 255 255 255 0;
18868                rel1.to: "bg";
18869                rel2.relative: 1.0 0.5;
18870                rel2.to: "bg";
18871                image {
18872                   normal: "bt_sm_hilight.png";
18873                   border: 6 6 6 0;
18874                }
18875             }
18876             description { state: "selected" 0.0;
18877                inherit: "default" 0.0;
18878                visible: 1;
18879                color: 255 255 255 255;
18880             }
18881          }
18882          part { name: "fg2";
18883             clip_to: "disclip";
18884             mouse_events: 0;
18885             description { state: "default" 0.0;
18886                visible: 0;
18887                color: 255 255 255 0;
18888                rel1.to: "bg";
18889                rel2.to: "bg";
18890                image {
18891                   normal: "bt_sm_shine.png";
18892                   border: 6 6 6 0;
18893                }
18894             }
18895             description { state: "selected" 0.0;
18896                inherit: "default" 0.0;
18897                visible: 1;
18898                color: 255 255 255 255;
18899             }
18900          }
18901          part { name: "disclip";
18902             type: RECT;
18903             description { state: "default" 0.0;
18904                rel1.to: "bg";
18905                rel2.to: "bg";
18906             }
18907             description { state: "disabled" 0.0;
18908                inherit: "default" 0.0;
18909                color: 255 255 255 64;
18910             }
18911          }
18912       }
18913       programs {
18914          // signal: elm,state,%s,active
18915          //   a "check" item named %s went active
18916          // signal: elm,state,%s,passive
18917          //   a "check" item named %s went passive
18918          // default is passive
18919          program {
18920             name:    "go_active";
18921             signal:  "elm,state,selected";
18922             source:  "elm";
18923             action:  STATE_SET "selected" 0.0;
18924             target:  "bg";
18925             target:  "fg1";
18926             target:  "fg2";
18927             target:  "elm.text";
18928          }
18929          program {
18930             name:    "go_passive";
18931             signal:  "elm,state,unselected";
18932             source:  "elm";
18933             action:  STATE_SET "default" 0.0;
18934             target:  "bg";
18935             target:  "fg1";
18936             target:  "fg2";
18937             target:  "elm.text";
18938             transition: LINEAR 0.1;
18939          }
18940          program {
18941             name:    "go_disabled";
18942             signal:  "elm,state,disabled";
18943             source:  "elm";
18944             action:  STATE_SET "disabled" 0.0;
18945             target:  "disclip";
18946          }
18947          program {
18948             name:    "go_enabled";
18949             signal:  "elm,state,enabled";
18950             source:  "elm";
18951             action:  STATE_SET "default" 0.0;
18952             target:  "disclip";
18953          }
18954          program {
18955             name:    "expand";
18956             signal:  "mouse,up,1";
18957             source:  "arrow";
18958             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18959          }
18960          program {
18961             name:    "go_expanded";
18962             signal:  "elm,state,expanded";
18963             source:  "elm";
18964             script {
18965                new st[31];
18966                new Float:vl;
18967                get_state(PART:"arrow", st, 30, vl);
18968                set_state(PART:"arrow", "active", vl);
18969             }
18970          }
18971          program {
18972             name:    "go_contracted";
18973             signal:  "elm,state,contracted";
18974             source:  "elm";
18975             script {
18976                new st[31];
18977                new Float:vl;
18978                get_state(PART:"arrow", st, 30, vl);
18979                set_state(PART:"arrow", "default", vl);
18980             }
18981          }
18982          program { name: "to_rtl";
18983             signal: "edje,state,rtl";
18984             source: "edje";
18985             script {
18986                new st[31];
18987                new Float:vl;
18988                get_state(PART:"arrow", st, 30, vl);
18989                if (vl == 0.0) {
18990                   set_state(PART:"arrow", st, 0.1);
18991                }
18992             }
18993          }
18994          program { name: "to_ltr";
18995             signal: "edje,state,ltr";
18996             source: "edje";
18997             script {
18998                new st[31];
18999                new Float:vl;
19000                get_state(PART:"arrow", st, 30, vl);
19001                if (vl == 0.1) {
19002                   set_state(PART:"arrow", st, 0.0);
19003                }
19004             }
19005          }
19006       }
19007    }
19008    group { name: "elm/genlist/tree_compress_odd/default/default";
19009       data.item: "stacking" "below";
19010       data.item: "selectraise" "on";
19011       data.item: "labels" "elm.text";
19012       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19013       data.item: "treesize" "20";
19014 //      data.item: "states" "";
19015       images {
19016          image: "bt_sm_base1.png" COMP;
19017          image: "bt_sm_shine.png" COMP;
19018          image: "bt_sm_hilight.png" COMP;
19019          image: "ilist_2.png" COMP;
19020          image: "icon_arrow_left.png" COMP;
19021          image: "icon_arrow_right.png" COMP;
19022          image: "icon_arrow_down.png" COMP;
19023       }
19024       parts {
19025          part {
19026             name:           "event";
19027             type:           RECT;
19028             repeat_events: 1;
19029             description {
19030                state: "default" 0.0;
19031                color: 0 0 0 0;
19032             }
19033          }
19034          part {
19035             name: "base";
19036             mouse_events: 0;
19037             description {
19038                state: "default" 0.0;
19039                image {
19040                   normal: "ilist_2.png";
19041                   border: 2 2 2 2;
19042                }
19043                fill.smooth: 0;
19044             }
19045          }
19046          part { name: "bg";
19047             clip_to: "disclip";
19048             mouse_events: 0;
19049             description { state: "default" 0.0;
19050                visible: 0;
19051                color: 255 255 255 0;
19052                rel1 {
19053                   relative: 0.0 0.0;
19054                   offset: -5 -5;
19055                }
19056                rel2 {
19057                   relative: 1.0 1.0;
19058                   offset: 4 4;
19059                }
19060                image {
19061                   normal: "bt_sm_base1.png";
19062                   border: 6 6 6 6;
19063                }
19064                image.middle: SOLID;
19065             }
19066             description { state: "selected" 0.0;
19067                inherit: "default" 0.0;
19068                visible: 1;
19069                color: 255 255 255 255;
19070                rel1 {
19071                   relative: 0.0 0.0;
19072                   offset: -2 -2;
19073                }
19074                rel2 {
19075                   relative: 1.0 1.0;
19076                   offset: 1 1;
19077                }
19078             }
19079          }
19080          part { name: "elm.swallow.pad";
19081             type: SWALLOW;
19082             description { state: "default" 0.0;
19083                fixed: 1 0;
19084                align: 0.0 0.5;
19085                rel1 {
19086                   relative: 0.0  0.0;
19087                   offset:   4    4;
19088                }
19089                rel2 {
19090                   relative: 0.0  1.0;
19091                   offset:   4   -5;
19092                }
19093             }
19094          }
19095          part { name: "arrow";
19096             clip_to: "disclip";
19097             ignore_flags: ON_HOLD;
19098             description { state: "default" 0.0;
19099                fixed: 1 0;
19100                align: 0.0 0.5;
19101                aspect: 1.0 1.0;
19102                rel1 {
19103                   to_x: "elm.swallow.pad";
19104                   relative: 1.0  0.0;
19105                   offset:   -1    4;
19106                }
19107                rel2 {
19108                   to_x: "elm.swallow.pad";
19109                   relative: 1.0  1.0;
19110                   offset:   -1   -5;
19111                }
19112                image.normal: "icon_arrow_right.png";
19113             }
19114             description { state: "default" 0.1;
19115                inherit: "default" 0.0;
19116                image.normal: "icon_arrow_left.png";
19117             }
19118             description { state: "active" 0.0;
19119                inherit: "default" 0.0;
19120                image.normal: "icon_arrow_down.png";
19121             }
19122             description { state: "active" 0.1;
19123                inherit: "default" 0.0;
19124                image.normal: "icon_arrow_down.png";
19125             }
19126          }
19127          part { name: "elm.swallow.icon";
19128             clip_to: "disclip";
19129             type: SWALLOW;
19130             description { state: "default" 0.0;
19131                fixed: 1 0;
19132                align: 0.0 0.5;
19133                rel1 {
19134                   to_x: "arrow";
19135                   relative: 1.0  0.0;
19136                   offset:   4    4;
19137                }
19138                rel2 {
19139                   to_x: "arrow";
19140                   relative: 1.0  1.0;
19141                   offset:   4   -5;
19142                }
19143             }
19144          }
19145          part { name: "elm.swallow.end";
19146             clip_to: "disclip";
19147             type: SWALLOW;
19148             description { state: "default" 0.0;
19149                fixed: 1 0;
19150                align: 1.0 0.5;
19151                aspect: 1.0 1.0;
19152                aspect_preference: VERTICAL;
19153                rel1 {
19154                   relative: 1.0  0.0;
19155                   offset:   -5    4;
19156                }
19157                rel2 {
19158                   relative: 1.0  1.0;
19159                   offset:   -5   -5;
19160                }
19161             }
19162          }
19163          part { name: "elm.text";
19164             clip_to: "disclip";
19165             type:           TEXT;
19166             effect:         SOFT_SHADOW;
19167             mouse_events:   0;
19168             scale: 1;
19169             description {
19170                state: "default" 0.0;
19171 //               min: 16 16;
19172                rel1 {
19173                   to_x:     "elm.swallow.icon";
19174                   relative: 1.0  0.0;
19175                   offset:   0 4;
19176                }
19177                rel2 {
19178                   to_x:     "elm.swallow.end";
19179                   relative: 0.0  1.0;
19180                   offset:   -1 -5;
19181                }
19182                color: 0 0 0 255;
19183                color3: 0 0 0 0;
19184                text {
19185                   font: "Sans";
19186                   size: 10;
19187 //                  min: 1 1;
19188                   min: 0 1;
19189                   align: 0.0 0.5;
19190                   text_class: "list_item";
19191                }
19192             }
19193             description { state: "selected" 0.0;
19194                inherit: "default" 0.0;
19195                color: 224 224 224 255;
19196                color3: 0 0 0 64;
19197             }
19198          }
19199          part { name: "fg1";
19200             clip_to: "disclip";
19201             mouse_events: 0;
19202             description { state: "default" 0.0;
19203                visible: 0;
19204                color: 255 255 255 0;
19205                rel1.to: "bg";
19206                rel2.relative: 1.0 0.5;
19207                rel2.to: "bg";
19208                image {
19209                   normal: "bt_sm_hilight.png";
19210                   border: 6 6 6 0;
19211                }
19212             }
19213             description { state: "selected" 0.0;
19214                inherit: "default" 0.0;
19215                visible: 1;
19216                color: 255 255 255 255;
19217             }
19218          }
19219          part { name: "fg2";
19220             clip_to: "disclip";
19221             mouse_events: 0;
19222             description { state: "default" 0.0;
19223                visible: 0;
19224                color: 255 255 255 0;
19225                rel1.to: "bg";
19226                rel2.to: "bg";
19227                image {
19228                   normal: "bt_sm_shine.png";
19229                   border: 6 6 6 0;
19230                }
19231             }
19232             description { state: "selected" 0.0;
19233                inherit: "default" 0.0;
19234                visible: 1;
19235                color: 255 255 255 255;
19236             }
19237          }
19238          part { name: "disclip";
19239             type: RECT;
19240             description { state: "default" 0.0;
19241                rel1.to: "bg";
19242                rel2.to: "bg";
19243             }
19244             description { state: "disabled" 0.0;
19245                inherit: "default" 0.0;
19246                color: 255 255 255 64;
19247             }
19248          }
19249       }
19250       programs {
19251          // signal: elm,state,%s,active
19252          //   a "check" item named %s went active
19253          // signal: elm,state,%s,passive
19254          //   a "check" item named %s went passive
19255          // default is passive
19256          program {
19257             name:    "go_active";
19258             signal:  "elm,state,selected";
19259             source:  "elm";
19260             action:  STATE_SET "selected" 0.0;
19261             target:  "bg";
19262             target:  "fg1";
19263             target:  "fg2";
19264             target:  "elm.text";
19265          }
19266          program {
19267             name:    "go_passive";
19268             signal:  "elm,state,unselected";
19269             source:  "elm";
19270             action:  STATE_SET "default" 0.0;
19271             target:  "bg";
19272             target:  "fg1";
19273             target:  "fg2";
19274             target:  "elm.text";
19275             transition: LINEAR 0.1;
19276          }
19277          program {
19278             name:    "go_disabled";
19279             signal:  "elm,state,disabled";
19280             source:  "elm";
19281             action:  STATE_SET "disabled" 0.0;
19282             target:  "disclip";
19283          }
19284          program {
19285             name:    "go_enabled";
19286             signal:  "elm,state,enabled";
19287             source:  "elm";
19288             action:  STATE_SET "default" 0.0;
19289             target:  "disclip";
19290          }
19291          program {
19292             name:    "expand";
19293             signal:  "mouse,up,1";
19294             source:  "arrow";
19295             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19296          }
19297          program {
19298             name:    "go_expanded";
19299             signal:  "elm,state,expanded";
19300             source:  "elm";
19301             script {
19302                new st[31];
19303                new Float:vl;
19304                get_state(PART:"arrow", st, 30, vl);
19305                set_state(PART:"arrow", "active", vl);
19306             }
19307          }
19308          program {
19309             name:    "go_contracted";
19310             signal:  "elm,state,contracted";
19311             source:  "elm";
19312             script {
19313                new st[31];
19314                new Float:vl;
19315                get_state(PART:"arrow", st, 30, vl);
19316                set_state(PART:"arrow", "default", vl);
19317             }
19318          }
19319          program { name: "to_rtl";
19320             signal: "edje,state,rtl";
19321             source: "edje";
19322             script {
19323                new st[31];
19324                new Float:vl;
19325                get_state(PART:"arrow", st, 30, vl);
19326                if (vl == 0.0) {
19327                   set_state(PART:"arrow", st, 0.1);
19328                }
19329             }
19330          }
19331          program { name: "to_ltr";
19332             signal: "edje,state,ltr";
19333             source: "edje";
19334             script {
19335                new st[31];
19336                new Float:vl;
19337                get_state(PART:"arrow", st, 30, vl);
19338                if (vl == 0.1) {
19339                   set_state(PART:"arrow", st, 0.0);
19340                }
19341             }
19342          }
19343       }
19344    }
19345
19346    group { name: "elm/genlist/item/default_style/default";
19347        styles
19348        {
19349            style { name: "genlist_style";
19350                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
19351                tag:  "br" "\n";
19352                tag:  "ps" "ps";
19353                tag:  "hilight" "+ font=Sans:style=Bold";
19354                tag:  "b" "+ font=Sans:style=Bold";
19355                tag:  "tab" "\t";
19356            }
19357            style { name: "genlist_selected_style";
19358                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
19359                tag:  "br" "\n";
19360                tag:  "ps" "ps";
19361                tag:  "hilight" "+ font=Sans:style=Bold";
19362                tag:  "b" "+ font=Sans:style=Bold";
19363                tag:  "tab" "\t";
19364            }
19365        }
19366        data.item: "stacking" "above";
19367        data.item: "selectraise" "on";
19368        data.item: "labels" "elm.text";
19369        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19370        data.item: "treesize" "20";
19371        images {
19372            image: "bt_sm_base1.png" COMP;
19373            image: "bt_sm_shine.png" COMP;
19374            image: "bt_sm_hilight.png" COMP;
19375            image: "ilist_1.png" COMP;
19376            image: "ilist_item_shadow.png" COMP;
19377        }
19378        parts {
19379            part {
19380                name:           "event";
19381                type:           RECT;
19382                repeat_events: 1;
19383                description {
19384                    state: "default" 0.0;
19385                    color: 0 0 0 0;
19386                }
19387            }
19388            part {
19389                name: "base_sh";
19390                mouse_events: 0;
19391                description {
19392                    state: "default" 0.0;
19393                    align: 0.0 0.0;
19394                    min: 0 10;
19395                    fixed: 1 1;
19396                    rel1 {
19397                        to: "base";
19398                        relative: 0.0 1.0;
19399                        offset: 0 0;
19400                    }
19401                    rel2 {
19402                        to: "base";
19403                        relative: 1.0 1.0;
19404                        offset: -1 0;
19405                    }
19406                    image {
19407                        normal: "ilist_item_shadow.png";
19408                    }
19409                    fill.smooth: 0;
19410                }
19411            }
19412            part {
19413                name: "base";
19414                mouse_events: 0;
19415                description {
19416                    state: "default" 0.0;
19417                    min: 16 28;
19418                    image {
19419                        normal: "ilist_1.png";
19420                        border: 2 2 2 2;
19421                    }
19422                    fill.smooth: 0;
19423                }
19424            }
19425            part { name: "bg";
19426                clip_to: "disclip";
19427                mouse_events: 0;
19428                description { state: "default" 0.0;
19429                    visible: 0;
19430                    color: 255 255 255 0;
19431                    rel1 {
19432                        relative: 0.0 0.0;
19433                        offset: -5 -5;
19434                    }
19435                    rel2 {
19436                        relative: 1.0 1.0;
19437                        offset: 4 4;
19438                    }
19439                    image {
19440                        normal: "bt_sm_base1.png";
19441                        border: 6 6 6 6;
19442                    }
19443                    image.middle: SOLID;
19444                }
19445                description { state: "selected" 0.0;
19446                    inherit: "default" 0.0;
19447                    visible: 1;
19448                    color: 255 255 255 255;
19449                    rel1 {
19450                        relative: 0.0 0.0;
19451                        offset: -2 -2;
19452                    }
19453                    rel2 {
19454                        relative: 1.0 1.0;
19455                        offset: 1 1;
19456                    }
19457                }
19458            }
19459            part { name: "elm.swallow.pad";
19460                type: SWALLOW;
19461                description { state: "default" 0.0;
19462                    fixed: 1 0;
19463                    align: 0.0 0.5;
19464                    rel1 {
19465                        relative: 0.0  0.0;
19466                        offset:   4    4;
19467                    }
19468                    rel2 {
19469                        relative: 0.0  1.0;
19470                        offset:   4   -5;
19471                    }
19472                }
19473            }
19474            part { name: "elm.swallow.icon";
19475                clip_to: "disclip";
19476                type: SWALLOW;
19477                description { state: "default" 0.0;
19478                    fixed: 1 0;
19479                    align: 0.0 0.5;
19480                    rel1 {
19481                        to_x: "elm.swallow.pad";
19482                        relative: 1.0  0.0;
19483                        offset:   -1    4;
19484                    }
19485                    rel2 {
19486                        to_x: "elm.swallow.pad";
19487                        relative: 1.0  1.0;
19488                        offset:   -1   -5;
19489                    }
19490                }
19491            }
19492            part { name: "elm.swallow.end";
19493                clip_to: "disclip";
19494                type: SWALLOW;
19495                description { state: "default" 0.0;
19496                    fixed: 1 0;
19497                    align: 1.0 0.5;
19498                    aspect: 1.0 1.0;
19499                    aspect_preference: VERTICAL;
19500                    rel1 {
19501                        relative: 1.0  0.0;
19502                        offset:   -5    4;
19503                    }
19504                    rel2 {
19505                        relative: 1.0  1.0;
19506                        offset:   -5   -5;
19507                    }
19508                }
19509            }
19510            part { name: "elm.text";
19511                clip_to: "disclip";
19512                type: TEXTBLOCK;
19513                mouse_events: 0;
19514                scale: 1;
19515                description {
19516                    state: "default" 0.0;
19517                    align: 0.0 0.5;
19518                    fixed: 0 1;
19519                    rel1 {
19520                        to_x: "elm.swallow.icon";
19521                        to_y: "base";
19522                        relative: 1.0  0.5;
19523                        offset:   0 4;
19524                    }
19525                    rel2 {
19526                        to_x: "elm.swallow.end";
19527                        to_y: "base";
19528                        relative: 0.0  0.5;
19529                        offset:   -1 -5;
19530                    }
19531                    text {
19532                        style: "genlist_style";
19533                        min: 1 1;
19534                    }
19535                }
19536                description { state: "selected" 0.0;
19537                    inherit: "default" 0.0;
19538                    text {
19539                        style: "genlist_selected_style";
19540                    }
19541                }
19542            }
19543            part { name: "fg1";
19544                clip_to: "disclip";
19545                mouse_events: 0;
19546                description { state: "default" 0.0;
19547                    visible: 0;
19548                    color: 255 255 255 0;
19549                    rel1.to: "bg";
19550                    rel2.relative: 1.0 0.5;
19551                    rel2.to: "bg";
19552                    image {
19553                        normal: "bt_sm_hilight.png";
19554                        border: 6 6 6 0;
19555                    }
19556                }
19557                description { state: "selected" 0.0;
19558                    inherit: "default" 0.0;
19559                    visible: 1;
19560                    color: 255 255 255 255;
19561                }
19562            }
19563            part { name: "fg2";
19564                clip_to: "disclip";
19565                mouse_events: 0;
19566                description { state: "default" 0.0;
19567                    visible: 0;
19568                    color: 255 255 255 0;
19569                    rel1.to: "bg";
19570                    rel2.to: "bg";
19571                    image {
19572                        normal: "bt_sm_shine.png";
19573                        border: 6 6 6 0;
19574                    }
19575                }
19576                description { state: "selected" 0.0;
19577                    inherit: "default" 0.0;
19578                    visible: 1;
19579                    color: 255 255 255 255;
19580                }
19581            }
19582            part { name: "disclip";
19583                type: RECT;
19584                description { state: "default" 0.0;
19585                    rel1.to: "bg";
19586                    rel2.to: "bg";
19587                }
19588                description { state: "disabled" 0.0;
19589                    inherit: "default" 0.0;
19590                    color: 255 255 255 64;
19591                }
19592            }
19593        }
19594        programs {
19595            // signal: elm,state,%s,active
19596            //   a "check" item named %s went active
19597            // signal: elm,state,%s,passive
19598            //   a "check" item named %s went passive
19599            // default is passive
19600            program {
19601                name:    "go_active";
19602                signal:  "elm,state,selected";
19603                source:  "elm";
19604                action:  STATE_SET "selected" 0.0;
19605                target:  "bg";
19606                target:  "fg1";
19607                target:  "fg2";
19608                target:  "elm.text";
19609            }
19610            program {
19611                name:    "go_passive";
19612                signal:  "elm,state,unselected";
19613                source:  "elm";
19614                action:  STATE_SET "default" 0.0;
19615                target:  "bg";
19616                target:  "fg1";
19617                target:  "fg2";
19618                target:  "elm.text";
19619                transition: LINEAR 0.1;
19620            }
19621            program {
19622                name:    "go_disabled";
19623                signal:  "elm,state,disabled";
19624                source:  "elm";
19625                action:  STATE_SET "disabled" 0.0;
19626                target:  "disclip";
19627            }
19628            program {
19629                name:    "go_enabled";
19630                signal:  "elm,state,enabled";
19631                source:  "elm";
19632                action:  STATE_SET "default" 0.0;
19633                target:  "disclip";
19634            }
19635        }
19636    }
19637    group { name: "elm/genlist/item_odd/default_style/default";
19638        data.item: "stacking" "below";
19639        data.item: "selectraise" "on";
19640        data.item: "labels" "elm.text";
19641        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19642        data.item: "treesize" "20";
19643        images {
19644            image: "bt_sm_base1.png" COMP;
19645            image: "bt_sm_shine.png" COMP;
19646            image: "bt_sm_hilight.png" COMP;
19647            image: "ilist_2.png" COMP;
19648        }
19649        parts {
19650            part { name: "event";
19651                type: RECT;
19652                repeat_events: 1;
19653                description {
19654                    state: "default" 0.0;
19655                    color: 0 0 0 0;
19656                }
19657            }
19658            part {
19659                name: "base";
19660                mouse_events: 0;
19661                description {
19662                    state: "default" 0.0;
19663                    min: 16 28;
19664                    image {
19665                        normal: "ilist_2.png";
19666                        border: 2 2 2 2;
19667                    }
19668                    fill.smooth: 0;
19669                }
19670            }
19671            part { name: "bg";
19672                clip_to: "disclip";
19673                mouse_events: 0;
19674                description { state: "default" 0.0;
19675                    visible: 0;
19676                    color: 255 255 255 0;
19677                    rel1 {
19678                        relative: 0.0 0.0;
19679                        offset: -5 -5;
19680                    }
19681                    rel2 {
19682                        relative: 1.0 1.0;
19683                        offset: 4 4;
19684                    }
19685                    image {
19686                        normal: "bt_sm_base1.png";
19687                        border: 6 6 6 6;
19688                    }
19689                    image.middle: SOLID;
19690                }
19691                description { state: "selected" 0.0;
19692                    inherit: "default" 0.0;
19693                    visible: 1;
19694                    color: 255 255 255 255;
19695                    rel1 {
19696                        relative: 0.0 0.0;
19697                        offset: -2 -2;
19698                    }
19699                    rel2 {
19700                        relative: 1.0 1.0;
19701                        offset: 1 1;
19702                    }
19703                }
19704            }
19705            part { name: "elm.swallow.pad";
19706                type: SWALLOW;
19707                description { state: "default" 0.0;
19708                    fixed: 1 0;
19709                    align: 0.0 0.5;
19710                    rel1 {
19711                        relative: 0.0  0.0;
19712                        offset:   4    4;
19713                    }
19714                    rel2 {
19715                        relative: 0.0  1.0;
19716                        offset:   4   -5;
19717                    }
19718                }
19719            }
19720            part { name: "elm.swallow.icon";
19721                clip_to: "disclip";
19722                type: SWALLOW;
19723                description { state: "default" 0.0;
19724                    fixed: 1 0;
19725                    align: 0.0 0.5;
19726                    rel1 {
19727                        to_x: "elm.swallow.pad";
19728                        relative: 1.0  0.0;
19729                        offset:   -1    4;
19730                    }
19731                    rel2 {
19732                        to_x: "elm.swallow.pad";
19733                        relative: 1.0  1.0;
19734                        offset:   -1   -5;
19735                    }
19736                }
19737            }
19738            part { name: "elm.swallow.end";
19739                clip_to: "disclip";
19740                type:          SWALLOW;
19741                description { state:    "default" 0.0;
19742                    fixed: 1 0;
19743                    align:    1.0 0.5;
19744                    aspect: 1.0 1.0;
19745                    aspect_preference: VERTICAL;
19746                    rel1 {
19747                        relative: 1.0  0.0;
19748                        offset:   -5    4;
19749                    }
19750                    rel2 {
19751                        relative: 1.0  1.0;
19752                        offset:   -5   -5;
19753                    }
19754                }
19755            }
19756            part { name: "elm.text";
19757                clip_to: "disclip";
19758                type:           TEXTBLOCK;
19759                mouse_events:   0;
19760                scale: 1;
19761                description {
19762                    state: "default" 0.0;
19763                    align: 0.0 0.5;
19764                    fixed: 0 1;
19765                    rel1 {
19766                        to_x: "elm.swallow.icon";
19767                        to_y: "base";
19768                        relative: 1.0  0.5;
19769                        offset:   0 4;
19770                    }
19771                    rel2 {
19772                        to_x: "elm.swallow.end";
19773                        to_y: "base";
19774                        relative: 0.0  0.5;
19775                        offset:   -1 -5;
19776                    }
19777                    text {
19778                        style: "genlist_style";
19779                        min: 1 1;
19780                    }
19781                }
19782                description { state: "selected" 0.0;
19783                    inherit: "default" 0.0;
19784                    text {
19785                        style: "genlist_selected_style";
19786                    }
19787                }
19788            }
19789            part { name: "fg1";
19790                clip_to: "disclip";
19791                mouse_events: 0;
19792                description { state: "default" 0.0;
19793                    visible: 0;
19794                    color: 255 255 255 0;
19795                    rel1.to: "bg";
19796                    rel2.relative: 1.0 0.5;
19797                    rel2.to: "bg";
19798                    image {
19799                        normal: "bt_sm_hilight.png";
19800                        border: 6 6 6 0;
19801                    }
19802                }
19803                description { state: "selected" 0.0;
19804                    inherit: "default" 0.0;
19805                    visible: 1;
19806                    color: 255 255 255 255;
19807                }
19808            }
19809            part { name: "fg2";
19810                clip_to: "disclip";
19811                mouse_events: 0;
19812                description { state: "default" 0.0;
19813                    visible: 0;
19814                    color: 255 255 255 0;
19815                    rel1.to: "bg";
19816                    rel2.to: "bg";
19817                    image {
19818                        normal: "bt_sm_shine.png";
19819                        border: 6 6 6 0;
19820                    }
19821                }
19822                description { state: "selected" 0.0;
19823                    inherit: "default" 0.0;
19824                    visible: 1;
19825                    color: 255 255 255 255;
19826                }
19827            }
19828            part { name: "disclip";
19829                type: RECT;
19830                description { state: "default" 0.0;
19831                    rel1.to: "bg";
19832                    rel2.to: "bg";
19833                }
19834                description { state: "disabled" 0.0;
19835                    inherit: "default" 0.0;
19836                    color: 255 255 255 64;
19837                }
19838            }
19839        }
19840        programs {
19841            // signal: elm,state,%s,active
19842            //   a "check" item named %s went active
19843            // signal: elm,state,%s,passive
19844            //   a "check" item named %s went passive
19845            // default is passive
19846            program {
19847                name:    "go_active";
19848                signal:  "elm,state,selected";
19849                source:  "elm";
19850                action:  STATE_SET "selected" 0.0;
19851                target:  "bg";
19852                target:  "fg1";
19853                target:  "fg2";
19854                target:  "elm.text";
19855            }
19856            program {
19857                name:    "go_passive";
19858                signal:  "elm,state,unselected";
19859                source:  "elm";
19860                action:  STATE_SET "default" 0.0;
19861                target:  "bg";
19862                target:  "fg1";
19863                target:  "fg2";
19864                target:  "elm.text";
19865                transition: LINEAR 0.1;
19866            }
19867            program {
19868                name:    "go_disabled";
19869                signal:  "elm,state,disabled";
19870                source:  "elm";
19871                action:  STATE_SET "disabled" 0.0;
19872                target:  "disclip";
19873            }
19874            program {
19875                name:    "go_enabled";
19876                signal:  "elm,state,enabled";
19877                source:  "elm";
19878                action:  STATE_SET "default" 0.0;
19879                target:  "disclip";
19880            }
19881        }
19882    }
19883
19884    group { name: "elm/genlist/tree/default_style/default";
19885        data.item: "stacking" "above";
19886        data.item: "selectraise" "on";
19887        data.item: "labels" "elm.text";
19888        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19889        data.item: "treesize" "20";
19890        images {
19891            image: "bt_sm_base1.png" COMP;
19892            image: "bt_sm_shine.png" COMP;
19893            image: "bt_sm_hilight.png" COMP;
19894            image: "ilist_1.png" COMP;
19895            image: "ilist_item_shadow.png" COMP;
19896            image: "icon_arrow_right.png" COMP;
19897            image: "icon_arrow_down.png" COMP;
19898        }
19899        parts {
19900            part {
19901                name:           "event";
19902                type:           RECT;
19903                repeat_events: 1;
19904                description {
19905                    state: "default" 0.0;
19906                    color: 0 0 0 0;
19907                }
19908            }
19909            part {
19910                name: "base_sh";
19911                mouse_events: 0;
19912                description {
19913                    state: "default" 0.0;
19914                    align: 0.0 0.0;
19915                    min: 0 10;
19916                    fixed: 1 1;
19917                    rel1 {
19918                        to: "base";
19919                        relative: 0.0 1.0;
19920                        offset: 0 0;
19921                    }
19922                    rel2 {
19923                        to: "base";
19924                        relative: 1.0 1.0;
19925                        offset: -1 0;
19926                    }
19927                    image {
19928                        normal: "ilist_item_shadow.png";
19929                    }
19930                    fill.smooth: 0;
19931                }
19932            }
19933            part {
19934                name: "base";
19935                mouse_events: 0;
19936                description {
19937                    state: "default" 0.0;
19938                    min: 16 28;
19939                    image {
19940                        normal: "ilist_1.png";
19941                        border: 2 2 2 2;
19942                    }
19943                    fill.smooth: 0;
19944                }
19945            }
19946            part { name: "bg";
19947                clip_to: "disclip";
19948                mouse_events: 0;
19949                description { state: "default" 0.0;
19950                    visible: 0;
19951                    color: 255 255 255 0;
19952                    rel1 {
19953                        relative: 0.0 0.0;
19954                        offset: -5 -5;
19955                    }
19956                    rel2 {
19957                        relative: 1.0 1.0;
19958                        offset: 4 4;
19959                    }
19960                    image {
19961                        normal: "bt_sm_base1.png";
19962                        border: 6 6 6 6;
19963                    }
19964                    image.middle: SOLID;
19965                }
19966                description { state: "selected" 0.0;
19967                    inherit: "default" 0.0;
19968                    visible: 1;
19969                    color: 255 255 255 255;
19970                    rel1 {
19971                        relative: 0.0 0.0;
19972                        offset: -2 -2;
19973                    }
19974                    rel2 {
19975                        relative: 1.0 1.0;
19976                        offset: 1 1;
19977                    }
19978                }
19979            }
19980            part { name: "elm.swallow.pad";
19981                type: SWALLOW;
19982                description { state: "default" 0.0;
19983                    fixed: 1 0;
19984                    align: 0.0 0.5;
19985                    rel1 {
19986                        relative: 0.0  0.0;
19987                        offset:   4    4;
19988                    }
19989                    rel2 {
19990                        relative: 0.0  1.0;
19991                        offset:   4   -5;
19992                    }
19993                }
19994            }
19995            part { name: "arrow";
19996                clip_to: "disclip";
19997                ignore_flags: ON_HOLD;
19998                description { state: "default" 0.0;
19999                    fixed: 1 0;
20000                    align: 0.0 0.5;
20001                    aspect: 1.0 1.0;
20002                    rel1 {
20003                        to_x: "elm.swallow.pad";
20004                        relative: 1.0  0.0;
20005                        offset:   -1    4;
20006                    }
20007                    rel2 {
20008                        to_x: "elm.swallow.pad";
20009                        relative: 1.0  1.0;
20010                        offset:   -1   -5;
20011                    }
20012                    image.normal: "icon_arrow_right.png";
20013                }
20014                description { state: "active" 0.0;
20015                    inherit: "default" 0.0;
20016                    image.normal: "icon_arrow_down.png";
20017                }
20018            }
20019            part { name: "elm.swallow.icon";
20020                clip_to: "disclip";
20021                type: SWALLOW;
20022                description { state: "default" 0.0;
20023                    fixed: 1 0;
20024                    align: 0.0 0.5;
20025                    rel1 {
20026                        to_x: "arrow";
20027                        relative: 1.0  0.0;
20028                        offset:   4    4;
20029                    }
20030                    rel2 {
20031                        to_x: "arrow";
20032                        relative: 1.0  1.0;
20033                        offset:   4   -5;
20034                    }
20035                }
20036            }
20037            part { name: "elm.swallow.end";
20038                clip_to: "disclip";
20039                type: SWALLOW;
20040                description { state: "default" 0.0;
20041                    fixed: 1 0;
20042                    align: 1.0 0.5;
20043                    aspect: 1.0 1.0;
20044                    aspect_preference: VERTICAL;
20045                    rel1 {
20046                        relative: 1.0  0.0;
20047                        offset:   -5    4;
20048                    }
20049                    rel2 {
20050                        relative: 1.0  1.0;
20051                        offset:   -5   -5;
20052                    }
20053                }
20054            }
20055            part { name: "elm.text";
20056                clip_to: "disclip";
20057                type:           TEXTBLOCK;
20058                effect:         SOFT_SHADOW;
20059                mouse_events:   0;
20060                scale: 1;
20061                description {
20062                    state: "default" 0.0;
20063                    align: 0.0 0.5;
20064                    fixed: 0 1;
20065                    rel1 {
20066                        to_x:     "elm.swallow.icon";
20067                        to_y: "base";
20068                        relative: 1.0  0.5;
20069                        offset:   0 4;
20070                    }
20071                    rel2 {
20072                        to_x:     "elm.swallow.end";
20073                        to_y: "base";
20074                        relative: 0.0  0.5;
20075                        offset:   -1 -5;
20076                    }
20077                    text {
20078                        style: "genlist_style";
20079                        min: 1 1;
20080                    }
20081                }
20082                description { state: "selected" 0.0;
20083                    inherit: "default" 0.0;
20084                    text {
20085                        style: "genlist_selected_style";
20086                    }
20087                }
20088            }
20089            part { name: "fg1";
20090                clip_to: "disclip";
20091                mouse_events: 0;
20092                description { state: "default" 0.0;
20093                    visible: 0;
20094                    color: 255 255 255 0;
20095                    rel1.to: "bg";
20096                    rel2.relative: 1.0 0.5;
20097                    rel2.to: "bg";
20098                    image {
20099                        normal: "bt_sm_hilight.png";
20100                        border: 6 6 6 0;
20101                    }
20102                }
20103                description { state: "selected" 0.0;
20104                    inherit: "default" 0.0;
20105                    visible: 1;
20106                    color: 255 255 255 255;
20107                }
20108            }
20109            part { name: "fg2";
20110                clip_to: "disclip";
20111                mouse_events: 0;
20112                description { state: "default" 0.0;
20113                    visible: 0;
20114                    color: 255 255 255 0;
20115                    rel1.to: "bg";
20116                    rel2.to: "bg";
20117                    image {
20118                        normal: "bt_sm_shine.png";
20119                        border: 6 6 6 0;
20120                    }
20121                }
20122                description { state: "selected" 0.0;
20123                    inherit: "default" 0.0;
20124                    visible: 1;
20125                    color: 255 255 255 255;
20126                }
20127            }
20128            part { name: "disclip";
20129                type: RECT;
20130                description { state: "default" 0.0;
20131                    rel1.to: "bg";
20132                    rel2.to: "bg";
20133                }
20134                description { state: "disabled" 0.0;
20135                    inherit: "default" 0.0;
20136                    color: 255 255 255 64;
20137                }
20138            }
20139        }
20140        programs {
20141            // signal: elm,state,%s,active
20142            //   a "check" item named %s went active
20143            // signal: elm,state,%s,passive
20144            //   a "check" item named %s went passive
20145            // default is passive
20146            program {
20147                name:    "go_active";
20148                signal:  "elm,state,selected";
20149                source:  "elm";
20150                action:  STATE_SET "selected" 0.0;
20151                target:  "bg";
20152                target:  "fg1";
20153                target:  "fg2";
20154                target:  "elm.text";
20155            }
20156            program {
20157                name:    "go_passive";
20158                signal:  "elm,state,unselected";
20159                source:  "elm";
20160                action:  STATE_SET "default" 0.0;
20161                target:  "bg";
20162                target:  "fg1";
20163                target:  "fg2";
20164                target:  "elm.text";
20165                transition: LINEAR 0.1;
20166            }
20167            program {
20168                name:    "go_disabled";
20169                signal:  "elm,state,disabled";
20170                source:  "elm";
20171                action:  STATE_SET "disabled" 0.0;
20172                target:  "disclip";
20173            }
20174            program {
20175                name:    "go_enabled";
20176                signal:  "elm,state,enabled";
20177                source:  "elm";
20178                action:  STATE_SET "default" 0.0;
20179                target:  "disclip";
20180            }
20181            program {
20182                name:    "expand";
20183                signal:  "mouse,up,1";
20184                source:  "arrow";
20185                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20186            }
20187            program {
20188                name:    "go_expanded";
20189                signal:  "elm,state,expanded";
20190                source:  "elm";
20191                action:  STATE_SET "active" 0.0;
20192                target:  "arrow";
20193            }
20194            program {
20195                name:    "go_contracted";
20196                signal:  "elm,state,contracted";
20197                source:  "elm";
20198                action:  STATE_SET "default" 0.0;
20199                target:  "arrow";
20200            }
20201        }
20202    }
20203    group { name: "elm/genlist/tree_odd/default_style/default";
20204        data.item: "stacking" "below";
20205        data.item: "selectraise" "on";
20206        data.item: "labels" "elm.text";
20207        data.item: "icons" "elm.swallow.icon elm.swallow.end";
20208        data.item: "treesize" "20";
20209        images {
20210            image: "bt_sm_base1.png" COMP;
20211            image: "bt_sm_shine.png" COMP;
20212            image: "bt_sm_hilight.png" COMP;
20213            image: "ilist_2.png" COMP;
20214            image: "icon_arrow_right.png" COMP;
20215            image: "icon_arrow_down.png" COMP;
20216        }
20217        parts {
20218            part {
20219                name:           "event";
20220                type:           RECT;
20221                repeat_events: 1;
20222                description {
20223                    state: "default" 0.0;
20224                    color: 0 0 0 0;
20225                }
20226            }
20227            part {
20228                name: "base";
20229                mouse_events: 0;
20230                description {
20231                    state: "default" 0.0;
20232                    min: 16 28;
20233                    image {
20234                        normal: "ilist_2.png";
20235                        border: 2 2 2 2;
20236                    }
20237                    fill.smooth: 0;
20238                }
20239            }
20240            part { name: "bg";
20241                clip_to: "disclip";
20242                mouse_events: 0;
20243                description { state: "default" 0.0;
20244                    visible: 0;
20245                    color: 255 255 255 0;
20246                    rel1 {
20247                        relative: 0.0 0.0;
20248                        offset: -5 -5;
20249                    }
20250                    rel2 {
20251                        relative: 1.0 1.0;
20252                        offset: 4 4;
20253                    }
20254                    image {
20255                        normal: "bt_sm_base1.png";
20256                        border: 6 6 6 6;
20257                    }
20258                    image.middle: SOLID;
20259                }
20260                description { state: "selected" 0.0;
20261                    inherit: "default" 0.0;
20262                    visible: 1;
20263                    color: 255 255 255 255;
20264                    rel1 {
20265                        relative: 0.0 0.0;
20266                        offset: -2 -2;
20267                    }
20268                    rel2 {
20269                        relative: 1.0 1.0;
20270                        offset: 1 1;
20271                    }
20272                }
20273            }
20274            part { name: "elm.swallow.pad";
20275                type: SWALLOW;
20276                description { state: "default" 0.0;
20277                    fixed: 1 0;
20278                    align: 0.0 0.5;
20279                    rel1 {
20280                        relative: 0.0  0.0;
20281                        offset:   4    4;
20282                    }
20283                    rel2 {
20284                        relative: 0.0  1.0;
20285                        offset:   4   -5;
20286                    }
20287                }
20288            }
20289            part { name: "arrow";
20290                clip_to: "disclip";
20291                ignore_flags: ON_HOLD;
20292                description { state: "default" 0.0;
20293                    fixed: 1 0;
20294                    align: 0.0 0.5;
20295                    aspect: 1.0 1.0;
20296                    rel1 {
20297                        to_x: "elm.swallow.pad";
20298                        relative: 1.0  0.0;
20299                        offset:   -1    4;
20300                    }
20301                    rel2 {
20302                        to_x: "elm.swallow.pad";
20303                        relative: 1.0  1.0;
20304                        offset:   -1   -5;
20305                    }
20306                    image.normal: "icon_arrow_right.png";
20307                }
20308                description { state: "active" 0.0;
20309                    inherit: "default" 0.0;
20310                    image.normal: "icon_arrow_down.png";
20311                }
20312            }
20313            part { name: "elm.swallow.icon";
20314                clip_to: "disclip";
20315                type: SWALLOW;
20316                description { state: "default" 0.0;
20317                    fixed: 1 0;
20318                    align: 0.0 0.5;
20319                    rel1 {
20320                        to_x: "arrow";
20321                        relative: 1.0  0.0;
20322                        offset:   4    4;
20323                    }
20324                    rel2 {
20325                        to_x: "arrow";
20326                        relative: 1.0  1.0;
20327                        offset:   4   -5;
20328                    }
20329                }
20330            }
20331            part { name: "elm.swallow.end";
20332                clip_to: "disclip";
20333                type: SWALLOW;
20334                description { state: "default" 0.0;
20335                    fixed: 1 0;
20336                    align: 1.0 0.5;
20337                    aspect: 1.0 1.0;
20338                    aspect_preference: VERTICAL;
20339                    rel1 {
20340                        relative: 1.0  0.0;
20341                        offset:   -5    4;
20342                    }
20343                    rel2 {
20344                        relative: 1.0  1.0;
20345                        offset:   -5   -5;
20346                    }
20347                }
20348            }
20349            part { name: "elm.text";
20350                clip_to: "disclip";
20351                type:           TEXTBLOCK;
20352                effect:         SOFT_SHADOW;
20353                mouse_events:   0;
20354                scale: 1;
20355                description {
20356                    state: "default" 0.0;
20357                    align: 0.0 0.5;
20358                    fixed: 0 1;
20359                    rel1 {
20360                        to_x:     "elm.swallow.icon";
20361                        to_y: "base";
20362                        relative: 1.0  0.5;
20363                        offset:   0 4;
20364                    }
20365                    rel2 {
20366                        to_x:     "elm.swallow.end";
20367                        to_y: "base";
20368                        relative: 0.0  0.5;
20369                        offset:   -1 -5;
20370                    }
20371                    text {
20372                        style: "genlist_style";
20373                        min: 1 1;
20374                    }
20375                }
20376                description { state: "selected" 0.0;
20377                    inherit: "default" 0.0;
20378                    text {
20379                        style: "genlist_selected_style";
20380                    }
20381                }
20382            }
20383            part { name: "fg1";
20384                clip_to: "disclip";
20385                mouse_events: 0;
20386                description { state: "default" 0.0;
20387                    visible: 0;
20388                    color: 255 255 255 0;
20389                    rel1.to: "bg";
20390                    rel2.relative: 1.0 0.5;
20391                    rel2.to: "bg";
20392                    image {
20393                        normal: "bt_sm_hilight.png";
20394                        border: 6 6 6 0;
20395                    }
20396                }
20397                description { state: "selected" 0.0;
20398                    inherit: "default" 0.0;
20399                    visible: 1;
20400                    color: 255 255 255 255;
20401                }
20402            }
20403            part { name: "fg2";
20404                clip_to: "disclip";
20405                mouse_events: 0;
20406                description { state: "default" 0.0;
20407                    visible: 0;
20408                    color: 255 255 255 0;
20409                    rel1.to: "bg";
20410                    rel2.to: "bg";
20411                    image {
20412                        normal: "bt_sm_shine.png";
20413                        border: 6 6 6 0;
20414                    }
20415                }
20416                description { state: "selected" 0.0;
20417                    inherit: "default" 0.0;
20418                    visible: 1;
20419                    color: 255 255 255 255;
20420                }
20421            }
20422            part { name: "disclip";
20423                type: RECT;
20424                description { state: "default" 0.0;
20425                    rel1.to: "bg";
20426                    rel2.to: "bg";
20427                }
20428                description { state: "disabled" 0.0;
20429                    inherit: "default" 0.0;
20430                    color: 255 255 255 64;
20431                }
20432            }
20433        }
20434        programs {
20435            // signal: elm,state,%s,active
20436            //   a "check" item named %s went active
20437            // signal: elm,state,%s,passive
20438            //   a "check" item named %s went passive
20439            // default is passive
20440            program {
20441                name:    "go_active";
20442                signal:  "elm,state,selected";
20443                source:  "elm";
20444                action:  STATE_SET "selected" 0.0;
20445                target:  "bg";
20446                target:  "fg1";
20447                target:  "fg2";
20448                target:  "elm.text";
20449            }
20450            program {
20451                name:    "go_passive";
20452                signal:  "elm,state,unselected";
20453                source:  "elm";
20454                action:  STATE_SET "default" 0.0;
20455                target:  "bg";
20456                target:  "fg1";
20457                target:  "fg2";
20458                target:  "elm.text";
20459                transition: LINEAR 0.1;
20460            }
20461            program {
20462                name:    "go_disabled";
20463                signal:  "elm,state,disabled";
20464                source:  "elm";
20465                action:  STATE_SET "disabled" 0.0;
20466                target:  "disclip";
20467            }
20468            program {
20469                name:    "go_enabled";
20470                signal:  "elm,state,enabled";
20471                source:  "elm";
20472                action:  STATE_SET "default" 0.0;
20473                target:  "disclip";
20474            }
20475            program {
20476                name:    "expand";
20477                signal:  "mouse,up,1";
20478                source:  "arrow";
20479                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20480            }
20481            program {
20482                name:    "go_expanded";
20483                signal:  "elm,state,expanded";
20484                source:  "elm";
20485                action:  STATE_SET "active" 0.0;
20486                target:  "arrow";
20487            }
20488            program {
20489                name:    "go_contracted";
20490                signal:  "elm,state,contracted";
20491                source:  "elm";
20492                action:  STATE_SET "default" 0.0;
20493                target:  "arrow";
20494            }
20495        }
20496    }
20497
20498
20499    group { name: "elm/genlist/item/double_label/default";
20500       data.item: "stacking" "above";
20501       data.item: "selectraise" "on";
20502       data.item: "labels" "elm.text elm.text.sub";
20503       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20504       data.item: "treesize" "20";
20505 //      data.item: "states" "";
20506       images {
20507          image: "bt_sm_base1.png" COMP;
20508          image: "bt_sm_shine.png" COMP;
20509          image: "bt_sm_hilight.png" COMP;
20510          image: "ilist_1.png" COMP;
20511          image: "ilist_item_shadow.png" COMP;
20512       }
20513       parts {
20514          part {
20515             name:           "event";
20516             type:           RECT;
20517             repeat_events: 1;
20518             description {
20519                state: "default" 0.0;
20520                color: 0 0 0 0;
20521             }
20522          }
20523          part {
20524             name: "base_sh";
20525             mouse_events: 0;
20526             description {
20527                state: "default" 0.0;
20528                align: 0.0 0.0;
20529                min: 0 10;
20530                fixed: 1 1;
20531                rel1 {
20532                   to: "base";
20533                   relative: 0.0 1.0;
20534                   offset: 0 0;
20535                }
20536                rel2 {
20537                   to: "base";
20538                   relative: 1.0 1.0;
20539                   offset: -1 0;
20540                }
20541                image {
20542                   normal: "ilist_item_shadow.png";
20543                }
20544                fill.smooth: 0;
20545             }
20546          }
20547          part {
20548             name: "base";
20549             mouse_events: 0;
20550             description {
20551                state: "default" 0.0;
20552                image {
20553                   normal: "ilist_1.png";
20554                   border: 2 2 2 2;
20555                }
20556                fill.smooth: 0;
20557             }
20558          }
20559          part { name: "bg";
20560             clip_to: "disclip";
20561             mouse_events: 0;
20562             description { state: "default" 0.0;
20563                visible: 0;
20564                color: 255 255 255 0;
20565                rel1 {
20566                   relative: 0.0 0.0;
20567                   offset: -5 -5;
20568                }
20569                rel2 {
20570                   relative: 1.0 1.0;
20571                   offset: 4 4;
20572                }
20573                image {
20574                   normal: "bt_sm_base1.png";
20575                   border: 6 6 6 6;
20576                }
20577                image.middle: SOLID;
20578             }
20579             description { state: "selected" 0.0;
20580                inherit: "default" 0.0;
20581                visible: 1;
20582                color: 255 255 255 255;
20583                rel1 {
20584                   relative: 0.0 0.0;
20585                   offset: -2 -2;
20586                }
20587                rel2 {
20588                   relative: 1.0 1.0;
20589                   offset: 1 1;
20590                }
20591             }
20592          }
20593          part { name: "elm.swallow.pad";
20594             type: SWALLOW;
20595             description { state: "default" 0.0;
20596                fixed: 1 0;
20597                align: 0.0 0.5;
20598                rel1 {
20599                   relative: 0.0  0.0;
20600                   offset:   4    4;
20601                }
20602                rel2 {
20603                   relative: 0.0  1.0;
20604                   offset:   4   -5;
20605                }
20606             }
20607          }
20608          part { name: "elm.swallow.icon";
20609             clip_to: "disclip";
20610             type: SWALLOW;
20611             description { state: "default" 0.0;
20612                fixed: 1 0;
20613                align: 0.0 0.5;
20614                rel1 {
20615                   to_x: "elm.swallow.pad";
20616                   relative: 1.0  0.0;
20617                   offset:   -1    4;
20618                }
20619                rel2 {
20620                   to_x: "elm.swallow.pad";
20621                   relative: 1.0  1.0;
20622                   offset:   -1   -5;
20623                }
20624             }
20625          }
20626          part { name: "elm.swallow.end";
20627             clip_to: "disclip";
20628             type: SWALLOW;
20629             description { state: "default" 0.0;
20630                fixed: 1 0;
20631                align: 1.0 0.5;
20632                aspect: 1.0 1.0;
20633                aspect_preference: VERTICAL;
20634                rel1 {
20635                   relative: 1.0  0.0;
20636                   offset:   -5    4;
20637                }
20638                rel2 {
20639                   relative: 1.0  1.0;
20640                   offset:   -5   -5;
20641                }
20642             }
20643          }
20644          part { name: "elm.text";
20645             clip_to: "disclip";
20646             type:           TEXT;
20647             effect:         SOFT_SHADOW;
20648             mouse_events:   0;
20649             scale: 1;
20650             description {
20651                state: "default" 0.0;
20652 //               min: 16 16;
20653                rel1 {
20654                   to_x:     "elm.swallow.icon";
20655                   relative: 1.0  0.0;
20656                   offset:   0 4;
20657                }
20658                rel2 {
20659                   to_x:     "elm.swallow.end";
20660                   relative: 0.0  0.5;
20661                   offset:   -1 -5;
20662                }
20663                color: 0 0 0 255;
20664                color3: 0 0 0 0;
20665                text {
20666                   font: "Sans";
20667                   size: 10;
20668                   min: 1 1;
20669 //                  min: 0 1;
20670                   align: 0.0 0.5;
20671                   text_class: "list_item";
20672                }
20673             }
20674             description { state: "selected" 0.0;
20675                inherit: "default" 0.0;
20676                color: 224 224 224 255;
20677                color3: 0 0 0 64;
20678             }
20679          }
20680          part { name: "elm.text.sub";
20681             clip_to: "disclip";
20682             type:           TEXT;
20683             mouse_events:   0;
20684             scale: 1;
20685             description {
20686                state: "default" 0.0;
20687 //               min: 16 16;
20688                rel1 {
20689                   to_x:     "elm.swallow.icon";
20690                   relative: 1.0  0.5;
20691                   offset:   0 4;
20692                }
20693                rel2 {
20694                   to_x:     "elm.swallow.end";
20695                   relative: 0.0  1.0;
20696                   offset:   -1 -5;
20697                }
20698                color: 0 0 0 128;
20699                color3: 0 0 0 0;
20700                text {
20701                   font: "Sans";
20702                   size: 8;
20703                   min: 1 1;
20704 //                  min: 0 1;
20705                   align: 0.0 0.5;
20706                   text_class: "list_item";
20707                }
20708             }
20709             description { state: "selected" 0.0;
20710                inherit: "default" 0.0;
20711                color: 128 128 128 255;
20712                color3: 0 0 0 32;
20713             }
20714          }
20715          part { name: "fg1";
20716             clip_to: "disclip";
20717             mouse_events: 0;
20718             description { state: "default" 0.0;
20719                visible: 0;
20720                color: 255 255 255 0;
20721                rel1.to: "bg";
20722                rel2.relative: 1.0 0.5;
20723                rel2.to: "bg";
20724                image {
20725                   normal: "bt_sm_hilight.png";
20726                   border: 6 6 6 0;
20727                }
20728             }
20729             description { state: "selected" 0.0;
20730                inherit: "default" 0.0;
20731                visible: 1;
20732                color: 255 255 255 255;
20733             }
20734          }
20735          part { name: "fg2";
20736             clip_to: "disclip";
20737             mouse_events: 0;
20738             description { state: "default" 0.0;
20739                visible: 0;
20740                color: 255 255 255 0;
20741                rel1.to: "bg";
20742                rel2.to: "bg";
20743                image {
20744                   normal: "bt_sm_shine.png";
20745                   border: 6 6 6 0;
20746                }
20747             }
20748             description { state: "selected" 0.0;
20749                inherit: "default" 0.0;
20750                visible: 1;
20751                color: 255 255 255 255;
20752             }
20753          }
20754          part { name: "disclip";
20755             type: RECT;
20756             description { state: "default" 0.0;
20757                rel1.to: "bg";
20758                rel2.to: "bg";
20759             }
20760             description { state: "disabled" 0.0;
20761                inherit: "default" 0.0;
20762                color: 255 255 255 64;
20763             }
20764          }
20765       }
20766       programs {
20767          // signal: elm,state,%s,active
20768          //   a "check" item named %s went active
20769          // signal: elm,state,%s,passive
20770          //   a "check" item named %s went passive
20771          // default is passive
20772          program {
20773             name:    "go_active";
20774             signal:  "elm,state,selected";
20775             source:  "elm";
20776             action:  STATE_SET "selected" 0.0;
20777             target:  "bg";
20778             target:  "fg1";
20779             target:  "fg2";
20780             target:  "elm.text";
20781             target:  "elm.text.sub";
20782          }
20783          program {
20784             name:    "go_passive";
20785             signal:  "elm,state,unselected";
20786             source:  "elm";
20787             action:  STATE_SET "default" 0.0;
20788             target:  "bg";
20789             target:  "fg1";
20790             target:  "fg2";
20791             target:  "elm.text";
20792             target:  "elm.text.sub";
20793             transition: LINEAR 0.1;
20794          }
20795          program {
20796             name:    "go_disabled";
20797             signal:  "elm,state,disabled";
20798             source:  "elm";
20799             action:  STATE_SET "disabled" 0.0;
20800             target:  "disclip";
20801          }
20802          program {
20803             name:    "go_enabled";
20804             signal:  "elm,state,enabled";
20805             source:  "elm";
20806             action:  STATE_SET "default" 0.0;
20807             target:  "disclip";
20808          }
20809       }
20810    }
20811    group { name: "elm/genlist/item_compress/double_label/default";
20812       data.item: "stacking" "above";
20813       data.item: "selectraise" "on";
20814       data.item: "labels" "elm.text elm.text.sub";
20815       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20816       data.item: "treesize" "20";
20817 //      data.item: "states" "";
20818       images {
20819          image: "bt_sm_base1.png" COMP;
20820          image: "bt_sm_shine.png" COMP;
20821          image: "bt_sm_hilight.png" COMP;
20822          image: "ilist_1.png" COMP;
20823          image: "ilist_item_shadow.png" COMP;
20824       }
20825       parts {
20826          part {
20827             name:           "event";
20828             type:           RECT;
20829             repeat_events: 1;
20830             description {
20831                state: "default" 0.0;
20832                color: 0 0 0 0;
20833             }
20834          }
20835          part {
20836             name: "base_sh";
20837             mouse_events: 0;
20838             description {
20839                state: "default" 0.0;
20840                align: 0.0 0.0;
20841                min: 0 10;
20842                fixed: 1 1;
20843                rel1 {
20844                   to: "base";
20845                   relative: 0.0 1.0;
20846                   offset: 0 0;
20847                }
20848                rel2 {
20849                   to: "base";
20850                   relative: 1.0 1.0;
20851                   offset: -1 0;
20852                }
20853                image {
20854                   normal: "ilist_item_shadow.png";
20855                }
20856                fill.smooth: 0;
20857             }
20858          }
20859          part {
20860             name: "base";
20861             mouse_events: 0;
20862             description {
20863                state: "default" 0.0;
20864                image {
20865                   normal: "ilist_1.png";
20866                   border: 2 2 2 2;
20867                }
20868                fill.smooth: 0;
20869             }
20870          }
20871          part { name: "bg";
20872             clip_to: "disclip";
20873             mouse_events: 0;
20874             description { state: "default" 0.0;
20875                visible: 0;
20876                color: 255 255 255 0;
20877                rel1 {
20878                   relative: 0.0 0.0;
20879                   offset: -5 -5;
20880                }
20881                rel2 {
20882                   relative: 1.0 1.0;
20883                   offset: 4 4;
20884                }
20885                image {
20886                   normal: "bt_sm_base1.png";
20887                   border: 6 6 6 6;
20888                }
20889                image.middle: SOLID;
20890             }
20891             description { state: "selected" 0.0;
20892                inherit: "default" 0.0;
20893                visible: 1;
20894                color: 255 255 255 255;
20895                rel1 {
20896                   relative: 0.0 0.0;
20897                   offset: -2 -2;
20898                }
20899                rel2 {
20900                   relative: 1.0 1.0;
20901                   offset: 1 1;
20902                }
20903             }
20904          }
20905          part { name: "elm.swallow.pad";
20906             type: SWALLOW;
20907             description { state: "default" 0.0;
20908                fixed: 1 0;
20909                align: 0.0 0.5;
20910                rel1 {
20911                   relative: 0.0  0.0;
20912                   offset:   4    4;
20913                }
20914                rel2 {
20915                   relative: 0.0  1.0;
20916                   offset:   4   -5;
20917                }
20918             }
20919          }
20920          part { name: "elm.swallow.icon";
20921             clip_to: "disclip";
20922             type: SWALLOW;
20923             description { state: "default" 0.0;
20924                fixed: 1 0;
20925                align: 0.0 0.5;
20926                rel1 {
20927                   to_x: "elm.swallow.pad";
20928                   relative: 1.0  0.0;
20929                   offset:   -1    4;
20930                }
20931                rel2 {
20932                   to_x: "elm.swallow.pad";
20933                   relative: 1.0  1.0;
20934                   offset:   -1   -5;
20935                }
20936             }
20937          }
20938          part { name: "elm.swallow.end";
20939             clip_to: "disclip";
20940             type: SWALLOW;
20941             description { state: "default" 0.0;
20942                fixed: 1 0;
20943                align: 1.0 0.5;
20944                aspect: 1.0 1.0;
20945                aspect_preference: VERTICAL;
20946                rel1 {
20947                   relative: 1.0  0.0;
20948                   offset:   -5    4;
20949                }
20950                rel2 {
20951                   relative: 1.0  1.0;
20952                   offset:   -5   -5;
20953                }
20954             }
20955          }
20956          part { name: "elm.text";
20957             clip_to: "disclip";
20958             type:           TEXT;
20959             effect:         SOFT_SHADOW;
20960             mouse_events:   0;
20961             scale: 1;
20962             description {
20963                state: "default" 0.0;
20964 //               min: 16 16;
20965                rel1 {
20966                   to_x:     "elm.swallow.icon";
20967                   relative: 1.0  0.0;
20968                   offset:   0 4;
20969                }
20970                rel2 {
20971                   to_x:     "elm.swallow.end";
20972                   relative: 0.0  0.5;
20973                   offset:   -1 -5;
20974                }
20975                color: 0 0 0 255;
20976                color3: 0 0 0 0;
20977                text {
20978                   font: "Sans";
20979                   size: 10;
20980 //                  min: 1 1;
20981                   min: 0 1;
20982                   align: 0.0 0.5;
20983                   text_class: "list_item";
20984                }
20985             }
20986             description { state: "selected" 0.0;
20987                inherit: "default" 0.0;
20988                color: 224 224 224 255;
20989                color3: 0 0 0 64;
20990             }
20991          }
20992          part { name: "elm.text.sub";
20993             clip_to: "disclip";
20994             type:           TEXT;
20995             mouse_events:   0;
20996             scale: 1;
20997             description {
20998                state: "default" 0.0;
20999 //               min: 16 16;
21000                rel1 {
21001                   to_x:     "elm.swallow.icon";
21002                   relative: 1.0  0.5;
21003                   offset:   0 4;
21004                }
21005                rel2 {
21006                   to_x:     "elm.swallow.end";
21007                   relative: 0.0  1.0;
21008                   offset:   -1 -5;
21009                }
21010                color: 0 0 0 128;
21011                color3: 0 0 0 0;
21012                text {
21013                   font: "Sans";
21014                   size: 8;
21015 //                  min: 1 1;
21016                   min: 0 1;
21017                   align: 0.0 0.5;
21018                   text_class: "list_item";
21019                }
21020             }
21021             description { state: "selected" 0.0;
21022                inherit: "default" 0.0;
21023                color: 128 128 128 255;
21024                color3: 0 0 0 32;
21025             }
21026          }
21027          part { name: "fg1";
21028             clip_to: "disclip";
21029             mouse_events: 0;
21030             description { state: "default" 0.0;
21031                visible: 0;
21032                color: 255 255 255 0;
21033                rel1.to: "bg";
21034                rel2.relative: 1.0 0.5;
21035                rel2.to: "bg";
21036                image {
21037                   normal: "bt_sm_hilight.png";
21038                   border: 6 6 6 0;
21039                }
21040             }
21041             description { state: "selected" 0.0;
21042                inherit: "default" 0.0;
21043                visible: 1;
21044                color: 255 255 255 255;
21045             }
21046          }
21047          part { name: "fg2";
21048             clip_to: "disclip";
21049             mouse_events: 0;
21050             description { state: "default" 0.0;
21051                visible: 0;
21052                color: 255 255 255 0;
21053                rel1.to: "bg";
21054                rel2.to: "bg";
21055                image {
21056                   normal: "bt_sm_shine.png";
21057                   border: 6 6 6 0;
21058                }
21059             }
21060             description { state: "selected" 0.0;
21061                inherit: "default" 0.0;
21062                visible: 1;
21063                color: 255 255 255 255;
21064             }
21065          }
21066          part { name: "disclip";
21067             type: RECT;
21068             description { state: "default" 0.0;
21069                rel1.to: "bg";
21070                rel2.to: "bg";
21071             }
21072             description { state: "disabled" 0.0;
21073                inherit: "default" 0.0;
21074                color: 255 255 255 64;
21075             }
21076          }
21077       }
21078       programs {
21079          // signal: elm,state,%s,active
21080          //   a "check" item named %s went active
21081          // signal: elm,state,%s,passive
21082          //   a "check" item named %s went passive
21083          // default is passive
21084          program {
21085             name:    "go_active";
21086             signal:  "elm,state,selected";
21087             source:  "elm";
21088             action:  STATE_SET "selected" 0.0;
21089             target:  "bg";
21090             target:  "fg1";
21091             target:  "fg2";
21092             target:  "elm.text";
21093             target:  "elm.text.sub";
21094          }
21095          program {
21096             name:    "go_passive";
21097             signal:  "elm,state,unselected";
21098             source:  "elm";
21099             action:  STATE_SET "default" 0.0;
21100             target:  "bg";
21101             target:  "fg1";
21102             target:  "fg2";
21103             target:  "elm.text";
21104             target:  "elm.text.sub";
21105             transition: LINEAR 0.1;
21106          }
21107          program {
21108             name:    "go_disabled";
21109             signal:  "elm,state,disabled";
21110             source:  "elm";
21111             action:  STATE_SET "disabled" 0.0;
21112             target:  "disclip";
21113          }
21114          program {
21115             name:    "go_enabled";
21116             signal:  "elm,state,enabled";
21117             source:  "elm";
21118             action:  STATE_SET "default" 0.0;
21119             target:  "disclip";
21120          }
21121       }
21122    }
21123    group { name: "elm/genlist/item_odd/double_label/default";
21124       data.item: "stacking" "below";
21125       data.item: "selectraise" "on";
21126       data.item: "labels" "elm.text elm.text.sub";
21127       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21128       data.item: "treesize" "20";
21129 //      data.item: "states" "";
21130       images {
21131          image: "bt_sm_base1.png" COMP;
21132          image: "bt_sm_shine.png" COMP;
21133          image: "bt_sm_hilight.png" COMP;
21134          image: "ilist_2.png" COMP;
21135       }
21136       parts {
21137          part { name: "event";
21138             type: RECT;
21139             repeat_events: 1;
21140             description {
21141                state: "default" 0.0;
21142                color: 0 0 0 0;
21143             }
21144          }
21145          part {
21146             name: "base";
21147             mouse_events: 0;
21148             description {
21149                state: "default" 0.0;
21150                image {
21151                   normal: "ilist_2.png";
21152                   border: 2 2 2 2;
21153                }
21154                fill.smooth: 0;
21155             }
21156          }
21157          part { name: "bg";
21158             clip_to: "disclip";
21159             mouse_events: 0;
21160             description { state: "default" 0.0;
21161                visible: 0;
21162                color: 255 255 255 0;
21163                rel1 {
21164                   relative: 0.0 0.0;
21165                   offset: -5 -5;
21166                }
21167                rel2 {
21168                   relative: 1.0 1.0;
21169                   offset: 4 4;
21170                }
21171                image {
21172                   normal: "bt_sm_base1.png";
21173                   border: 6 6 6 6;
21174                }
21175                image.middle: SOLID;
21176             }
21177             description { state: "selected" 0.0;
21178                inherit: "default" 0.0;
21179                visible: 1;
21180                color: 255 255 255 255;
21181                rel1 {
21182                   relative: 0.0 0.0;
21183                   offset: -2 -2;
21184                }
21185                rel2 {
21186                   relative: 1.0 1.0;
21187                   offset: 1 1;
21188                }
21189             }
21190          }
21191          part { name: "elm.swallow.pad";
21192             type: SWALLOW;
21193             description { state: "default" 0.0;
21194                fixed: 1 0;
21195                align: 0.0 0.5;
21196                rel1 {
21197                   relative: 0.0  0.0;
21198                   offset:   4    4;
21199                }
21200                rel2 {
21201                   relative: 0.0  1.0;
21202                   offset:   4   -5;
21203                }
21204             }
21205          }
21206          part { name: "elm.swallow.icon";
21207             clip_to: "disclip";
21208             type: SWALLOW;
21209             description { state: "default" 0.0;
21210                fixed: 1 0;
21211                align: 0.0 0.5;
21212                rel1 {
21213                   to_x: "elm.swallow.pad";
21214                   relative: 1.0  0.0;
21215                   offset:   -1    4;
21216                }
21217                rel2 {
21218                   to_x: "elm.swallow.pad";
21219                   relative: 1.0  1.0;
21220                   offset:   -1   -5;
21221                }
21222             }
21223          }
21224          part { name: "elm.swallow.end";
21225             clip_to: "disclip";
21226             type:          SWALLOW;
21227             description { state:    "default" 0.0;
21228                fixed: 1 0;
21229                align:    1.0 0.5;
21230                aspect: 1.0 1.0;
21231                aspect_preference: VERTICAL;
21232                rel1 {
21233                   relative: 1.0  0.0;
21234                   offset:   -5    4;
21235                }
21236                rel2 {
21237                   relative: 1.0  1.0;
21238                   offset:   -5   -5;
21239                }
21240             }
21241          }
21242          part { name: "elm.text";
21243             clip_to: "disclip";
21244             type:           TEXT;
21245             effect:         SOFT_SHADOW;
21246             mouse_events:   0;
21247             scale: 1;
21248             description {
21249                state: "default" 0.0;
21250 //               min: 16 16;
21251                rel1 {
21252                   to_x:     "elm.swallow.icon";
21253                   relative: 1.0  0.0;
21254                   offset:   0 4;
21255                }
21256                rel2 {
21257                   to_x:     "elm.swallow.end";
21258                   relative: 0.0  0.5;
21259                   offset:   -1 -5;
21260                }
21261                color: 0 0 0 255;
21262                color3: 0 0 0 0;
21263                text {
21264                   font: "Sans";
21265                   size: 10;
21266                   min: 1 1;
21267 //                  min: 0 1;
21268                   align: 0.0 0.5;
21269                   text_class: "list_item";
21270                }
21271             }
21272             description { state: "selected" 0.0;
21273                inherit: "default" 0.0;
21274                color: 224 224 224 255;
21275                color3: 0 0 0 64;
21276             }
21277          }
21278          part { name: "elm.text.sub";
21279             clip_to: "disclip";
21280             type:           TEXT;
21281             mouse_events:   0;
21282             scale: 1;
21283             description {
21284                state: "default" 0.0;
21285 //               min: 16 16;
21286                rel1 {
21287                   to_x:     "elm.swallow.icon";
21288                   relative: 1.0  0.5;
21289                   offset:   0 4;
21290                }
21291                rel2 {
21292                   to_x:     "elm.swallow.end";
21293                   relative: 0.0  1.0;
21294                   offset:   -1 -5;
21295                }
21296                color: 0 0 0 128;
21297                color3: 0 0 0 0;
21298                text {
21299                   font: "Sans";
21300                   size: 8;
21301                   min: 1 1;
21302 //                  min: 0 1;
21303                   align: 0.0 0.5;
21304                   text_class: "list_item";
21305                }
21306             }
21307             description { state: "selected" 0.0;
21308                inherit: "default" 0.0;
21309                color: 128 128 128 255;
21310                color3: 0 0 0 32;
21311             }
21312          }
21313          part { name: "fg1";
21314             clip_to: "disclip";
21315             mouse_events: 0;
21316             description { state: "default" 0.0;
21317                visible: 0;
21318                color: 255 255 255 0;
21319                rel1.to: "bg";
21320                rel2.relative: 1.0 0.5;
21321                rel2.to: "bg";
21322                image {
21323                   normal: "bt_sm_hilight.png";
21324                   border: 6 6 6 0;
21325                }
21326             }
21327             description { state: "selected" 0.0;
21328                inherit: "default" 0.0;
21329                visible: 1;
21330                color: 255 255 255 255;
21331             }
21332          }
21333          part { name: "fg2";
21334             clip_to: "disclip";
21335             mouse_events: 0;
21336             description { state: "default" 0.0;
21337                visible: 0;
21338                color: 255 255 255 0;
21339                rel1.to: "bg";
21340                rel2.to: "bg";
21341                image {
21342                   normal: "bt_sm_shine.png";
21343                   border: 6 6 6 0;
21344                }
21345             }
21346             description { state: "selected" 0.0;
21347                inherit: "default" 0.0;
21348                visible: 1;
21349                color: 255 255 255 255;
21350             }
21351          }
21352          part { name: "disclip";
21353             type: RECT;
21354             description { state: "default" 0.0;
21355                rel1.to: "bg";
21356                rel2.to: "bg";
21357             }
21358             description { state: "disabled" 0.0;
21359                inherit: "default" 0.0;
21360                color: 255 255 255 64;
21361             }
21362          }
21363       }
21364       programs {
21365          // signal: elm,state,%s,active
21366          //   a "check" item named %s went active
21367          // signal: elm,state,%s,passive
21368          //   a "check" item named %s went passive
21369          // default is passive
21370          program {
21371             name:    "go_active";
21372             signal:  "elm,state,selected";
21373             source:  "elm";
21374             action:  STATE_SET "selected" 0.0;
21375             target:  "bg";
21376             target:  "fg1";
21377             target:  "fg2";
21378             target:  "elm.text";
21379             target:  "elm.text.sub";
21380          }
21381          program {
21382             name:    "go_passive";
21383             signal:  "elm,state,unselected";
21384             source:  "elm";
21385             action:  STATE_SET "default" 0.0;
21386             target:  "bg";
21387             target:  "fg1";
21388             target:  "fg2";
21389             target:  "elm.text";
21390             target:  "elm.text.sub";
21391             transition: LINEAR 0.1;
21392          }
21393          program {
21394             name:    "go_disabled";
21395             signal:  "elm,state,disabled";
21396             source:  "elm";
21397             action:  STATE_SET "disabled" 0.0;
21398             target:  "disclip";
21399          }
21400          program {
21401             name:    "go_enabled";
21402             signal:  "elm,state,enabled";
21403             source:  "elm";
21404             action:  STATE_SET "default" 0.0;
21405             target:  "disclip";
21406          }
21407       }
21408    }
21409    group { name: "elm/genlist/item_compress_odd/double_label/default";
21410       data.item: "stacking" "below";
21411       data.item: "selectraise" "on";
21412       data.item: "labels" "elm.text elm.text.sub";
21413       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21414       data.item: "treesize" "20";
21415 //      data.item: "states" "";
21416       images {
21417          image: "bt_sm_base1.png" COMP;
21418          image: "bt_sm_shine.png" COMP;
21419          image: "bt_sm_hilight.png" COMP;
21420          image: "ilist_2.png" COMP;
21421       }
21422       parts {
21423          part { name: "event";
21424             type: RECT;
21425             repeat_events: 1;
21426             description {
21427                state: "default" 0.0;
21428                color: 0 0 0 0;
21429             }
21430          }
21431          part {
21432             name: "base";
21433             mouse_events: 0;
21434             description {
21435                state: "default" 0.0;
21436                image {
21437                   normal: "ilist_2.png";
21438                   border: 2 2 2 2;
21439                }
21440                fill.smooth: 0;
21441             }
21442          }
21443          part { name: "bg";
21444             clip_to: "disclip";
21445             mouse_events: 0;
21446             description { state: "default" 0.0;
21447                visible: 0;
21448                color: 255 255 255 0;
21449                rel1 {
21450                   relative: 0.0 0.0;
21451                   offset: -5 -5;
21452                }
21453                rel2 {
21454                   relative: 1.0 1.0;
21455                   offset: 4 4;
21456                }
21457                image {
21458                   normal: "bt_sm_base1.png";
21459                   border: 6 6 6 6;
21460                }
21461                image.middle: SOLID;
21462             }
21463             description { state: "selected" 0.0;
21464                inherit: "default" 0.0;
21465                visible: 1;
21466                color: 255 255 255 255;
21467                rel1 {
21468                   relative: 0.0 0.0;
21469                   offset: -2 -2;
21470                }
21471                rel2 {
21472                   relative: 1.0 1.0;
21473                   offset: 1 1;
21474                }
21475             }
21476          }
21477          part { name: "elm.swallow.pad";
21478             type: SWALLOW;
21479             description { state: "default" 0.0;
21480                fixed: 1 0;
21481                align: 0.0 0.5;
21482                rel1 {
21483                   relative: 0.0  0.0;
21484                   offset:   4    4;
21485                }
21486                rel2 {
21487                   relative: 0.0  1.0;
21488                   offset:   4   -5;
21489                }
21490             }
21491          }
21492          part { name: "elm.swallow.icon";
21493             clip_to: "disclip";
21494             type: SWALLOW;
21495             description { state: "default" 0.0;
21496                fixed: 1 0;
21497                align: 0.0 0.5;
21498                rel1 {
21499                   to_x: "elm.swallow.pad";
21500                   relative: 1.0  0.0;
21501                   offset:   -1    4;
21502                }
21503                rel2 {
21504                   to_x: "elm.swallow.pad";
21505                   relative: 1.0  1.0;
21506                   offset:   -1   -5;
21507                }
21508             }
21509          }
21510          part { name: "elm.swallow.end";
21511             clip_to: "disclip";
21512             type:          SWALLOW;
21513             description { state:    "default" 0.0;
21514                fixed: 1 0;
21515                align:    1.0 0.5;
21516                aspect: 1.0 1.0;
21517                aspect_preference: VERTICAL;
21518                rel1 {
21519                   relative: 1.0  0.0;
21520                   offset:   -5    4;
21521                }
21522                rel2 {
21523                   relative: 1.0  1.0;
21524                   offset:   -5   -5;
21525                }
21526             }
21527          }
21528          part { name: "elm.text";
21529             clip_to: "disclip";
21530             type:           TEXT;
21531             effect:         SOFT_SHADOW;
21532             mouse_events:   0;
21533             scale: 1;
21534             description {
21535                state: "default" 0.0;
21536 //               min: 16 16;
21537                rel1 {
21538                   to_x:     "elm.swallow.icon";
21539                   relative: 1.0  0.0;
21540                   offset:   0 4;
21541                }
21542                rel2 {
21543                   to_x:     "elm.swallow.end";
21544                   relative: 0.0  0.5;
21545                   offset:   -1 -5;
21546                }
21547                color: 0 0 0 255;
21548                color3: 0 0 0 0;
21549                text {
21550                   font: "Sans";
21551                   size: 10;
21552 //                  min: 1 1;
21553                   min: 0 1;
21554                   align: 0.0 0.5;
21555                   text_class: "list_item";
21556                }
21557             }
21558             description { state: "selected" 0.0;
21559                inherit: "default" 0.0;
21560                color: 224 224 224 255;
21561                color3: 0 0 0 64;
21562             }
21563          }
21564          part { name: "elm.text.sub";
21565             clip_to: "disclip";
21566             type:           TEXT;
21567             mouse_events:   0;
21568             scale: 1;
21569             description {
21570                state: "default" 0.0;
21571 //               min: 16 16;
21572                rel1 {
21573                   to_x:     "elm.swallow.icon";
21574                   relative: 1.0  0.5;
21575                   offset:   0 4;
21576                }
21577                rel2 {
21578                   to_x:     "elm.swallow.end";
21579                   relative: 0.0  1.0;
21580                   offset:   -1 -5;
21581                }
21582                color: 0 0 0 128;
21583                color3: 0 0 0 0;
21584                text {
21585                   font: "Sans";
21586                   size: 8;
21587 //                  min: 1 1;
21588                   min: 0 1;
21589                   align: 0.0 0.5;
21590                   text_class: "list_item";
21591                }
21592             }
21593             description { state: "selected" 0.0;
21594                inherit: "default" 0.0;
21595                color: 128 128 128 255;
21596                color3: 0 0 0 32;
21597             }
21598          }
21599          part { name: "fg1";
21600             clip_to: "disclip";
21601             mouse_events: 0;
21602             description { state: "default" 0.0;
21603                visible: 0;
21604                color: 255 255 255 0;
21605                rel1.to: "bg";
21606                rel2.relative: 1.0 0.5;
21607                rel2.to: "bg";
21608                image {
21609                   normal: "bt_sm_hilight.png";
21610                   border: 6 6 6 0;
21611                }
21612             }
21613             description { state: "selected" 0.0;
21614                inherit: "default" 0.0;
21615                visible: 1;
21616                color: 255 255 255 255;
21617             }
21618          }
21619          part { name: "fg2";
21620             clip_to: "disclip";
21621             mouse_events: 0;
21622             description { state: "default" 0.0;
21623                visible: 0;
21624                color: 255 255 255 0;
21625                rel1.to: "bg";
21626                rel2.to: "bg";
21627                image {
21628                   normal: "bt_sm_shine.png";
21629                   border: 6 6 6 0;
21630                }
21631             }
21632             description { state: "selected" 0.0;
21633                inherit: "default" 0.0;
21634                visible: 1;
21635                color: 255 255 255 255;
21636             }
21637          }
21638          part { name: "disclip";
21639             type: RECT;
21640             description { state: "default" 0.0;
21641                rel1.to: "bg";
21642                rel2.to: "bg";
21643             }
21644             description { state: "disabled" 0.0;
21645                inherit: "default" 0.0;
21646                color: 255 255 255 64;
21647             }
21648          }
21649       }
21650       programs {
21651          // signal: elm,state,%s,active
21652          //   a "check" item named %s went active
21653          // signal: elm,state,%s,passive
21654          //   a "check" item named %s went passive
21655          // default is passive
21656          program {
21657             name:    "go_active";
21658             signal:  "elm,state,selected";
21659             source:  "elm";
21660             action:  STATE_SET "selected" 0.0;
21661             target:  "bg";
21662             target:  "fg1";
21663             target:  "fg2";
21664             target:  "elm.text";
21665             target:  "elm.text.sub";
21666          }
21667          program {
21668             name:    "go_passive";
21669             signal:  "elm,state,unselected";
21670             source:  "elm";
21671             action:  STATE_SET "default" 0.0;
21672             target:  "bg";
21673             target:  "fg1";
21674             target:  "fg2";
21675             target:  "elm.text";
21676             target:  "elm.text.sub";
21677             transition: LINEAR 0.1;
21678          }
21679          program {
21680             name:    "go_disabled";
21681             signal:  "elm,state,disabled";
21682             source:  "elm";
21683             action:  STATE_SET "disabled" 0.0;
21684             target:  "disclip";
21685          }
21686          program {
21687             name:    "go_enabled";
21688             signal:  "elm,state,enabled";
21689             source:  "elm";
21690             action:  STATE_SET "default" 0.0;
21691             target:  "disclip";
21692          }
21693       }
21694    }
21695
21696    group { name: "elm/genlist/tree/double_label/default";
21697       data.item: "stacking" "above";
21698       data.item: "selectraise" "on";
21699       data.item: "labels" "elm.text elm.text.sub";
21700       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21701       data.item: "treesize" "20";
21702 //      data.item: "states" "";
21703       images {
21704          image: "bt_sm_base1.png" COMP;
21705          image: "bt_sm_shine.png" COMP;
21706          image: "bt_sm_hilight.png" COMP;
21707          image: "ilist_1.png" COMP;
21708          image: "ilist_item_shadow.png" COMP;
21709          image: "icon_arrow_right.png" COMP;
21710          image: "icon_arrow_down.png" COMP;
21711       }
21712       parts {
21713          part {
21714             name:           "event";
21715             type:           RECT;
21716             repeat_events: 1;
21717             description {
21718                state: "default" 0.0;
21719                color: 0 0 0 0;
21720             }
21721          }
21722          part {
21723             name: "base_sh";
21724             mouse_events: 0;
21725             description {
21726                state: "default" 0.0;
21727                align: 0.0 0.0;
21728                min: 0 10;
21729                fixed: 1 1;
21730                rel1 {
21731                   to: "base";
21732                   relative: 0.0 1.0;
21733                   offset: 0 0;
21734                }
21735                rel2 {
21736                   to: "base";
21737                   relative: 1.0 1.0;
21738                   offset: -1 0;
21739                }
21740                image {
21741                   normal: "ilist_item_shadow.png";
21742                }
21743                fill.smooth: 0;
21744             }
21745          }
21746          part {
21747             name: "base";
21748             mouse_events: 0;
21749             description {
21750                state: "default" 0.0;
21751                image {
21752                   normal: "ilist_1.png";
21753                   border: 2 2 2 2;
21754                }
21755                fill.smooth: 0;
21756             }
21757          }
21758          part { name: "bg";
21759             clip_to: "disclip";
21760             mouse_events: 0;
21761             description { state: "default" 0.0;
21762                visible: 0;
21763                color: 255 255 255 0;
21764                rel1 {
21765                   relative: 0.0 0.0;
21766                   offset: -5 -5;
21767                }
21768                rel2 {
21769                   relative: 1.0 1.0;
21770                   offset: 4 4;
21771                }
21772                image {
21773                   normal: "bt_sm_base1.png";
21774                   border: 6 6 6 6;
21775                }
21776                image.middle: SOLID;
21777             }
21778             description { state: "selected" 0.0;
21779                inherit: "default" 0.0;
21780                visible: 1;
21781                color: 255 255 255 255;
21782                rel1 {
21783                   relative: 0.0 0.0;
21784                   offset: -2 -2;
21785                }
21786                rel2 {
21787                   relative: 1.0 1.0;
21788                   offset: 1 1;
21789                }
21790             }
21791          }
21792          part { name: "elm.swallow.pad";
21793             type: SWALLOW;
21794             description { state: "default" 0.0;
21795                fixed: 1 0;
21796                align: 0.0 0.5;
21797                rel1 {
21798                   relative: 0.0  0.0;
21799                   offset:   4    4;
21800                }
21801                rel2 {
21802                   relative: 0.0  1.0;
21803                   offset:   4   -5;
21804                }
21805             }
21806          }
21807          part { name: "arrow";
21808             clip_to: "disclip";
21809             ignore_flags: ON_HOLD;
21810             description { state: "default" 0.0;
21811                fixed: 1 0;
21812                align: 0.0 0.5;
21813                aspect: 1.0 1.0;
21814                rel1 {
21815                   to_x: "elm.swallow.pad";
21816                   relative: 1.0  0.0;
21817                   offset:   -1    4;
21818                }
21819                rel2 {
21820                   to_x: "elm.swallow.pad";
21821                   relative: 1.0  1.0;
21822                   offset:   -1   -5;
21823                }
21824                image.normal: "icon_arrow_right.png";
21825             }
21826             description { state: "active" 0.0;
21827                inherit: "default" 0.0;
21828                image.normal: "icon_arrow_down.png";
21829             }
21830          }
21831          part { name: "elm.swallow.icon";
21832             clip_to: "disclip";
21833             type: SWALLOW;
21834             description { state: "default" 0.0;
21835                fixed: 1 0;
21836                align: 0.0 0.5;
21837                rel1 {
21838                   to_x: "arrow";
21839                   relative: 1.0  0.0;
21840                   offset:   4    4;
21841                }
21842                rel2 {
21843                   to_x: "arrow";
21844                   relative: 1.0  1.0;
21845                   offset:   4   -5;
21846                }
21847             }
21848          }
21849          part { name: "elm.swallow.end";
21850             clip_to: "disclip";
21851             type: SWALLOW;
21852             description { state: "default" 0.0;
21853                fixed: 1 0;
21854                align: 1.0 0.5;
21855                aspect: 1.0 1.0;
21856                aspect_preference: VERTICAL;
21857                rel1 {
21858                   relative: 1.0  0.0;
21859                   offset:   -5    4;
21860                }
21861                rel2 {
21862                   relative: 1.0  1.0;
21863                   offset:   -5   -5;
21864                }
21865             }
21866          }
21867          part { name: "elm.text";
21868             clip_to: "disclip";
21869             type:           TEXT;
21870             effect:         SOFT_SHADOW;
21871             mouse_events:   0;
21872             scale: 1;
21873             description {
21874                state: "default" 0.0;
21875 //               min: 16 16;
21876                rel1 {
21877                   to_x:     "elm.swallow.icon";
21878                   relative: 1.0  0.0;
21879                   offset:   0 4;
21880                }
21881                rel2 {
21882                   to_x:     "elm.swallow.end";
21883                   relative: 0.0  0.5;
21884                   offset:   -1 -5;
21885                }
21886                color: 0 0 0 255;
21887                color3: 0 0 0 0;
21888                text {
21889                   font: "Sans";
21890                   size: 10;
21891                   min: 1 1;
21892 //                  min: 0 1;
21893                   align: 0.0 0.5;
21894                   text_class: "list_item";
21895                }
21896             }
21897             description { state: "selected" 0.0;
21898                inherit: "default" 0.0;
21899                color: 224 224 224 255;
21900                color3: 0 0 0 64;
21901             }
21902          }
21903          part { name: "elm.text.sub";
21904             clip_to: "disclip";
21905             type:           TEXT;
21906             mouse_events:   0;
21907             scale: 1;
21908             description {
21909                state: "default" 0.0;
21910 //               min: 16 16;
21911                rel1 {
21912                   to_x:     "elm.swallow.icon";
21913                   relative: 1.0  0.5;
21914                   offset:   0 4;
21915                }
21916                rel2 {
21917                   to_x:     "elm.swallow.end";
21918                   relative: 0.0  1.0;
21919                   offset:   -1 -5;
21920                }
21921                color: 0 0 0 128;
21922                color3: 0 0 0 0;
21923                text {
21924                   font: "Sans";
21925                   size: 8;
21926                   min: 1 1;
21927 //                  min: 0 1;
21928                   align: 0.0 0.5;
21929                   text_class: "list_item";
21930                }
21931             }
21932             description { state: "selected" 0.0;
21933                inherit: "default" 0.0;
21934                color: 128 128 128 255;
21935                color3: 0 0 0 32;
21936             }
21937          }
21938          part { name: "fg1";
21939             clip_to: "disclip";
21940             mouse_events: 0;
21941             description { state: "default" 0.0;
21942                visible: 0;
21943                color: 255 255 255 0;
21944                rel1.to: "bg";
21945                rel2.relative: 1.0 0.5;
21946                rel2.to: "bg";
21947                image {
21948                   normal: "bt_sm_hilight.png";
21949                   border: 6 6 6 0;
21950                }
21951             }
21952             description { state: "selected" 0.0;
21953                inherit: "default" 0.0;
21954                visible: 1;
21955                color: 255 255 255 255;
21956             }
21957          }
21958          part { name: "fg2";
21959             clip_to: "disclip";
21960             mouse_events: 0;
21961             description { state: "default" 0.0;
21962                visible: 0;
21963                color: 255 255 255 0;
21964                rel1.to: "bg";
21965                rel2.to: "bg";
21966                image {
21967                   normal: "bt_sm_shine.png";
21968                   border: 6 6 6 0;
21969                }
21970             }
21971             description { state: "selected" 0.0;
21972                inherit: "default" 0.0;
21973                visible: 1;
21974                color: 255 255 255 255;
21975             }
21976          }
21977          part { name: "disclip";
21978             type: RECT;
21979             description { state: "default" 0.0;
21980                rel1.to: "bg";
21981                rel2.to: "bg";
21982             }
21983             description { state: "disabled" 0.0;
21984                inherit: "default" 0.0;
21985                color: 255 255 255 64;
21986             }
21987          }
21988       }
21989       programs {
21990          // signal: elm,state,%s,active
21991          //   a "check" item named %s went active
21992          // signal: elm,state,%s,passive
21993          //   a "check" item named %s went passive
21994          // default is passive
21995          program {
21996             name:    "go_active";
21997             signal:  "elm,state,selected";
21998             source:  "elm";
21999             action:  STATE_SET "selected" 0.0;
22000             target:  "bg";
22001             target:  "fg1";
22002             target:  "fg2";
22003             target:  "elm.text";
22004             target:  "elm.text.sub";
22005          }
22006          program {
22007             name:    "go_passive";
22008             signal:  "elm,state,unselected";
22009             source:  "elm";
22010             action:  STATE_SET "default" 0.0;
22011             target:  "bg";
22012             target:  "fg1";
22013             target:  "fg2";
22014             target:  "elm.text";
22015             target:  "elm.text.sub";
22016             transition: LINEAR 0.1;
22017          }
22018          program {
22019             name:    "go_disabled";
22020             signal:  "elm,state,disabled";
22021             source:  "elm";
22022             action:  STATE_SET "disabled" 0.0;
22023             target:  "disclip";
22024          }
22025          program {
22026             name:    "go_enabled";
22027             signal:  "elm,state,enabled";
22028             source:  "elm";
22029             action:  STATE_SET "default" 0.0;
22030             target:  "disclip";
22031          }
22032          program {
22033             name:    "expand";
22034             signal:  "mouse,up,1";
22035             source:  "arrow";
22036             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22037          }
22038          program {
22039             name:    "go_expanded";
22040             signal:  "elm,state,expanded";
22041             source:  "elm";
22042             action:  STATE_SET "active" 0.0;
22043             target:  "arrow";
22044          }
22045          program {
22046             name:    "go_contracted";
22047             signal:  "elm,state,contracted";
22048             source:  "elm";
22049             action:  STATE_SET "default" 0.0;
22050             target:  "arrow";
22051          }
22052       }
22053    }
22054    group { name: "elm/genlist/tree_compress/double_label/default";
22055       data.item: "stacking" "above";
22056       data.item: "selectraise" "on";
22057       data.item: "labels" "elm.text elm.text.sub";
22058       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22059       data.item: "treesize" "20";
22060 //      data.item: "states" "";
22061       images {
22062          image: "bt_sm_base1.png" COMP;
22063          image: "bt_sm_shine.png" COMP;
22064          image: "bt_sm_hilight.png" COMP;
22065          image: "ilist_1.png" COMP;
22066          image: "ilist_item_shadow.png" COMP;
22067          image: "icon_arrow_right.png" COMP;
22068          image: "icon_arrow_down.png" COMP;
22069       }
22070       parts {
22071          part {
22072             name:           "event";
22073             type:           RECT;
22074             repeat_events: 1;
22075             description {
22076                state: "default" 0.0;
22077                color: 0 0 0 0;
22078             }
22079          }
22080          part {
22081             name: "base_sh";
22082             mouse_events: 0;
22083             description {
22084                state: "default" 0.0;
22085                align: 0.0 0.0;
22086                min: 0 10;
22087                fixed: 1 1;
22088                rel1 {
22089                   to: "base";
22090                   relative: 0.0 1.0;
22091                   offset: 0 0;
22092                }
22093                rel2 {
22094                   to: "base";
22095                   relative: 1.0 1.0;
22096                   offset: -1 0;
22097                }
22098                image {
22099                   normal: "ilist_item_shadow.png";
22100                }
22101                fill.smooth: 0;
22102             }
22103          }
22104          part {
22105             name: "base";
22106             mouse_events: 0;
22107             description {
22108                state: "default" 0.0;
22109                image {
22110                   normal: "ilist_1.png";
22111                   border: 2 2 2 2;
22112                }
22113                fill.smooth: 0;
22114             }
22115          }
22116          part { name: "bg";
22117             clip_to: "disclip";
22118             mouse_events: 0;
22119             description { state: "default" 0.0;
22120                visible: 0;
22121                color: 255 255 255 0;
22122                rel1 {
22123                   relative: 0.0 0.0;
22124                   offset: -5 -5;
22125                }
22126                rel2 {
22127                   relative: 1.0 1.0;
22128                   offset: 4 4;
22129                }
22130                image {
22131                   normal: "bt_sm_base1.png";
22132                   border: 6 6 6 6;
22133                }
22134                image.middle: SOLID;
22135             }
22136             description { state: "selected" 0.0;
22137                inherit: "default" 0.0;
22138                visible: 1;
22139                color: 255 255 255 255;
22140                rel1 {
22141                   relative: 0.0 0.0;
22142                   offset: -2 -2;
22143                }
22144                rel2 {
22145                   relative: 1.0 1.0;
22146                   offset: 1 1;
22147                }
22148             }
22149          }
22150          part { name: "elm.swallow.pad";
22151             type: SWALLOW;
22152             description { state: "default" 0.0;
22153                fixed: 1 0;
22154                align: 0.0 0.5;
22155                rel1 {
22156                   relative: 0.0  0.0;
22157                   offset:   4    4;
22158                }
22159                rel2 {
22160                   relative: 0.0  1.0;
22161                   offset:   4   -5;
22162                }
22163             }
22164          }
22165          part { name: "arrow";
22166             clip_to: "disclip";
22167             ignore_flags: ON_HOLD;
22168             description { state: "default" 0.0;
22169                fixed: 1 0;
22170                align: 0.0 0.5;
22171                aspect: 1.0 1.0;
22172                rel1 {
22173                   to_x: "elm.swallow.pad";
22174                   relative: 1.0  0.0;
22175                   offset:   -1    4;
22176                }
22177                rel2 {
22178                   to_x: "elm.swallow.pad";
22179                   relative: 1.0  1.0;
22180                   offset:   -1   -5;
22181                }
22182                image.normal: "icon_arrow_right.png";
22183             }
22184             description { state: "active" 0.0;
22185                inherit: "default" 0.0;
22186                image.normal: "icon_arrow_down.png";
22187             }
22188          }
22189          part { name: "elm.swallow.icon";
22190             clip_to: "disclip";
22191             type: SWALLOW;
22192             description { state: "default" 0.0;
22193                fixed: 1 0;
22194                align: 0.0 0.5;
22195                rel1 {
22196                   to_x: "arrow";
22197                   relative: 1.0  0.0;
22198                   offset:   4    4;
22199                }
22200                rel2 {
22201                   to_x: "arrow";
22202                   relative: 1.0  1.0;
22203                   offset:   4   -5;
22204                }
22205             }
22206          }
22207          part { name: "elm.swallow.end";
22208             clip_to: "disclip";
22209             type: SWALLOW;
22210             description { state: "default" 0.0;
22211                fixed: 1 0;
22212                align: 1.0 0.5;
22213                aspect: 1.0 1.0;
22214                aspect_preference: VERTICAL;
22215                rel1 {
22216                   relative: 1.0  0.0;
22217                   offset:   -5    4;
22218                }
22219                rel2 {
22220                   relative: 1.0  1.0;
22221                   offset:   -5   -5;
22222                }
22223             }
22224          }
22225          part { name: "elm.text";
22226             clip_to: "disclip";
22227             type:           TEXT;
22228             effect:         SOFT_SHADOW;
22229             mouse_events:   0;
22230             scale: 1;
22231             description {
22232                state: "default" 0.0;
22233 //               min: 16 16;
22234                rel1 {
22235                   to_x:     "elm.swallow.icon";
22236                   relative: 1.0  0.0;
22237                   offset:   0 4;
22238                }
22239                rel2 {
22240                   to_x:     "elm.swallow.end";
22241                   relative: 0.0  0.5;
22242                   offset:   -1 -5;
22243                }
22244                color: 0 0 0 255;
22245                color3: 0 0 0 0;
22246                text {
22247                   font: "Sans";
22248                   size: 10;
22249 //                  min: 1 1;
22250                   min: 0 1;
22251                   align: 0.0 0.5;
22252                   text_class: "list_item";
22253                }
22254             }
22255             description { state: "selected" 0.0;
22256                inherit: "default" 0.0;
22257                color: 224 224 224 255;
22258                color3: 0 0 0 64;
22259             }
22260          }
22261          part { name: "elm.text.sub";
22262             clip_to: "disclip";
22263             type:           TEXT;
22264             mouse_events:   0;
22265             scale: 1;
22266             description {
22267                state: "default" 0.0;
22268 //               min: 16 16;
22269                rel1 {
22270                   to_x:     "elm.swallow.icon";
22271                   relative: 1.0  0.5;
22272                   offset:   0 4;
22273                }
22274                rel2 {
22275                   to_x:     "elm.swallow.end";
22276                   relative: 0.0  1.0;
22277                   offset:   -1 -5;
22278                }
22279                color: 0 0 0 128;
22280                color3: 0 0 0 0;
22281                text {
22282                   font: "Sans";
22283                   size: 8;
22284 //                  min: 1 1;
22285                   min: 0 1;
22286                   align: 0.0 0.5;
22287                   text_class: "list_item";
22288                }
22289             }
22290             description { state: "selected" 0.0;
22291                inherit: "default" 0.0;
22292                color: 128 128 128 255;
22293                color3: 0 0 0 32;
22294             }
22295          }
22296          part { name: "fg1";
22297             clip_to: "disclip";
22298             mouse_events: 0;
22299             description { state: "default" 0.0;
22300                visible: 0;
22301                color: 255 255 255 0;
22302                rel1.to: "bg";
22303                rel2.relative: 1.0 0.5;
22304                rel2.to: "bg";
22305                image {
22306                   normal: "bt_sm_hilight.png";
22307                   border: 6 6 6 0;
22308                }
22309             }
22310             description { state: "selected" 0.0;
22311                inherit: "default" 0.0;
22312                visible: 1;
22313                color: 255 255 255 255;
22314             }
22315          }
22316          part { name: "fg2";
22317             clip_to: "disclip";
22318             mouse_events: 0;
22319             description { state: "default" 0.0;
22320                visible: 0;
22321                color: 255 255 255 0;
22322                rel1.to: "bg";
22323                rel2.to: "bg";
22324                image {
22325                   normal: "bt_sm_shine.png";
22326                   border: 6 6 6 0;
22327                }
22328             }
22329             description { state: "selected" 0.0;
22330                inherit: "default" 0.0;
22331                visible: 1;
22332                color: 255 255 255 255;
22333             }
22334          }
22335          part { name: "disclip";
22336             type: RECT;
22337             description { state: "default" 0.0;
22338                rel1.to: "bg";
22339                rel2.to: "bg";
22340             }
22341             description { state: "disabled" 0.0;
22342                inherit: "default" 0.0;
22343                color: 255 255 255 64;
22344             }
22345          }
22346       }
22347       programs {
22348          // signal: elm,state,%s,active
22349          //   a "check" item named %s went active
22350          // signal: elm,state,%s,passive
22351          //   a "check" item named %s went passive
22352          // default is passive
22353          program {
22354             name:    "go_active";
22355             signal:  "elm,state,selected";
22356             source:  "elm";
22357             action:  STATE_SET "selected" 0.0;
22358             target:  "bg";
22359             target:  "fg1";
22360             target:  "fg2";
22361             target:  "elm.text";
22362             target:  "elm.text.sub";
22363          }
22364          program {
22365             name:    "go_passive";
22366             signal:  "elm,state,unselected";
22367             source:  "elm";
22368             action:  STATE_SET "default" 0.0;
22369             target:  "bg";
22370             target:  "fg1";
22371             target:  "fg2";
22372             target:  "elm.text";
22373             target:  "elm.text.sub";
22374             transition: LINEAR 0.1;
22375          }
22376          program {
22377             name:    "go_disabled";
22378             signal:  "elm,state,disabled";
22379             source:  "elm";
22380             action:  STATE_SET "disabled" 0.0;
22381             target:  "disclip";
22382          }
22383          program {
22384             name:    "go_enabled";
22385             signal:  "elm,state,enabled";
22386             source:  "elm";
22387             action:  STATE_SET "default" 0.0;
22388             target:  "disclip";
22389          }
22390          program {
22391             name:    "expand";
22392             signal:  "mouse,up,1";
22393             source:  "arrow";
22394             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22395          }
22396          program {
22397             name:    "go_expanded";
22398             signal:  "elm,state,expanded";
22399             source:  "elm";
22400             action:  STATE_SET "active" 0.0;
22401             target:  "arrow";
22402          }
22403          program {
22404             name:    "go_contracted";
22405             signal:  "elm,state,contracted";
22406             source:  "elm";
22407             action:  STATE_SET "default" 0.0;
22408             target:  "arrow";
22409          }
22410       }
22411    }
22412    group { name: "elm/genlist/tree_odd/double_label/default";
22413       data.item: "stacking" "below";
22414       data.item: "selectraise" "on";
22415       data.item: "labels" "elm.text elm.text.sub";
22416       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22417       data.item: "treesize" "20";
22418 //      data.item: "states" "";
22419       images {
22420          image: "bt_sm_base1.png" COMP;
22421          image: "bt_sm_shine.png" COMP;
22422          image: "bt_sm_hilight.png" COMP;
22423          image: "ilist_2.png" COMP;
22424          image: "icon_arrow_right.png" COMP;
22425          image: "icon_arrow_down.png" COMP;
22426       }
22427       parts {
22428          part {
22429             name:           "event";
22430             type:           RECT;
22431             repeat_events: 1;
22432             description {
22433                state: "default" 0.0;
22434                color: 0 0 0 0;
22435             }
22436          }
22437          part {
22438             name: "base";
22439             mouse_events: 0;
22440             description {
22441                state: "default" 0.0;
22442                image {
22443                   normal: "ilist_2.png";
22444                   border: 2 2 2 2;
22445                }
22446                fill.smooth: 0;
22447             }
22448          }
22449          part { name: "bg";
22450             clip_to: "disclip";
22451             mouse_events: 0;
22452             description { state: "default" 0.0;
22453                visible: 0;
22454                color: 255 255 255 0;
22455                rel1 {
22456                   relative: 0.0 0.0;
22457                   offset: -5 -5;
22458                }
22459                rel2 {
22460                   relative: 1.0 1.0;
22461                   offset: 4 4;
22462                }
22463                image {
22464                   normal: "bt_sm_base1.png";
22465                   border: 6 6 6 6;
22466                }
22467                image.middle: SOLID;
22468             }
22469             description { state: "selected" 0.0;
22470                inherit: "default" 0.0;
22471                visible: 1;
22472                color: 255 255 255 255;
22473                rel1 {
22474                   relative: 0.0 0.0;
22475                   offset: -2 -2;
22476                }
22477                rel2 {
22478                   relative: 1.0 1.0;
22479                   offset: 1 1;
22480                }
22481             }
22482          }
22483          part { name: "elm.swallow.pad";
22484             type: SWALLOW;
22485             description { state: "default" 0.0;
22486                fixed: 1 0;
22487                align: 0.0 0.5;
22488                rel1 {
22489                   relative: 0.0  0.0;
22490                   offset:   4    4;
22491                }
22492                rel2 {
22493                   relative: 0.0  1.0;
22494                   offset:   4   -5;
22495                }
22496             }
22497          }
22498          part { name: "arrow";
22499             clip_to: "disclip";
22500             ignore_flags: ON_HOLD;
22501             description { state: "default" 0.0;
22502                fixed: 1 0;
22503                align: 0.0 0.5;
22504                aspect: 1.0 1.0;
22505                rel1 {
22506                   to_x: "elm.swallow.pad";
22507                   relative: 1.0  0.0;
22508                   offset:   -1    4;
22509                }
22510                rel2 {
22511                   to_x: "elm.swallow.pad";
22512                   relative: 1.0  1.0;
22513                   offset:   -1   -5;
22514                }
22515                image.normal: "icon_arrow_right.png";
22516             }
22517             description { state: "active" 0.0;
22518                inherit: "default" 0.0;
22519                image.normal: "icon_arrow_down.png";
22520             }
22521          }
22522          part { name: "elm.swallow.icon";
22523             clip_to: "disclip";
22524             type: SWALLOW;
22525             description { state: "default" 0.0;
22526                fixed: 1 0;
22527                align: 0.0 0.5;
22528                rel1 {
22529                   to_x: "arrow";
22530                   relative: 1.0  0.0;
22531                   offset:   4    4;
22532                }
22533                rel2 {
22534                   to_x: "arrow";
22535                   relative: 1.0  1.0;
22536                   offset:   4   -5;
22537                }
22538             }
22539          }
22540          part { name: "elm.swallow.end";
22541             clip_to: "disclip";
22542             type: SWALLOW;
22543             description { state: "default" 0.0;
22544                fixed: 1 0;
22545                align: 1.0 0.5;
22546                aspect: 1.0 1.0;
22547                aspect_preference: VERTICAL;
22548                rel1 {
22549                   relative: 1.0  0.0;
22550                   offset:   -5    4;
22551                }
22552                rel2 {
22553                   relative: 1.0  1.0;
22554                   offset:   -5   -5;
22555                }
22556             }
22557          }
22558          part { name: "elm.text";
22559             clip_to: "disclip";
22560             type:           TEXT;
22561             effect:         SOFT_SHADOW;
22562             mouse_events:   0;
22563             scale: 1;
22564             description {
22565                state: "default" 0.0;
22566 //               min: 16 16;
22567                rel1 {
22568                   to_x:     "elm.swallow.icon";
22569                   relative: 1.0  0.0;
22570                   offset:   0 4;
22571                }
22572                rel2 {
22573                   to_x:     "elm.swallow.end";
22574                   relative: 0.0  0.5;
22575                   offset:   -1 -5;
22576                }
22577                color: 0 0 0 255;
22578                color3: 0 0 0 0;
22579                text {
22580                   font: "Sans";
22581                   size: 10;
22582                   min: 1 1;
22583 //                  min: 0 1;
22584                   align: 0.0 0.5;
22585                   text_class: "list_item";
22586                }
22587             }
22588             description { state: "selected" 0.0;
22589                inherit: "default" 0.0;
22590                color: 224 224 224 255;
22591                color3: 0 0 0 64;
22592             }
22593          }
22594          part { name: "elm.text.sub";
22595             clip_to: "disclip";
22596             type:           TEXT;
22597             mouse_events:   0;
22598             scale: 1;
22599             description {
22600                state: "default" 0.0;
22601 //               min: 16 16;
22602                rel1 {
22603                   to_x:     "elm.swallow.icon";
22604                   relative: 1.0  0.5;
22605                   offset:   0 4;
22606                }
22607                rel2 {
22608                   to_x:     "elm.swallow.end";
22609                   relative: 0.0  1.0;
22610                   offset:   -1 -5;
22611                }
22612                color: 0 0 0 128;
22613                color3: 0 0 0 0;
22614                text {
22615                   font: "Sans";
22616                   size: 8;
22617                   min: 1 1;
22618 //                  min: 0 1;
22619                   align: 0.0 0.5;
22620                   text_class: "list_item";
22621                }
22622             }
22623             description { state: "selected" 0.0;
22624                inherit: "default" 0.0;
22625                color: 128 128 128 255;
22626                color3: 0 0 0 32;
22627             }
22628          }
22629          part { name: "fg1";
22630             clip_to: "disclip";
22631             mouse_events: 0;
22632             description { state: "default" 0.0;
22633                visible: 0;
22634                color: 255 255 255 0;
22635                rel1.to: "bg";
22636                rel2.relative: 1.0 0.5;
22637                rel2.to: "bg";
22638                image {
22639                   normal: "bt_sm_hilight.png";
22640                   border: 6 6 6 0;
22641                }
22642             }
22643             description { state: "selected" 0.0;
22644                inherit: "default" 0.0;
22645                visible: 1;
22646                color: 255 255 255 255;
22647             }
22648          }
22649          part { name: "fg2";
22650             clip_to: "disclip";
22651             mouse_events: 0;
22652             description { state: "default" 0.0;
22653                visible: 0;
22654                color: 255 255 255 0;
22655                rel1.to: "bg";
22656                rel2.to: "bg";
22657                image {
22658                   normal: "bt_sm_shine.png";
22659                   border: 6 6 6 0;
22660                }
22661             }
22662             description { state: "selected" 0.0;
22663                inherit: "default" 0.0;
22664                visible: 1;
22665                color: 255 255 255 255;
22666             }
22667          }
22668          part { name: "disclip";
22669             type: RECT;
22670             description { state: "default" 0.0;
22671                rel1.to: "bg";
22672                rel2.to: "bg";
22673             }
22674             description { state: "disabled" 0.0;
22675                inherit: "default" 0.0;
22676                color: 255 255 255 64;
22677             }
22678          }
22679       }
22680       programs {
22681          // signal: elm,state,%s,active
22682          //   a "check" item named %s went active
22683          // signal: elm,state,%s,passive
22684          //   a "check" item named %s went passive
22685          // default is passive
22686          program {
22687             name:    "go_active";
22688             signal:  "elm,state,selected";
22689             source:  "elm";
22690             action:  STATE_SET "selected" 0.0;
22691             target:  "bg";
22692             target:  "fg1";
22693             target:  "fg2";
22694             target:  "elm.text";
22695             target:  "elm.text.sub";
22696          }
22697          program {
22698             name:    "go_passive";
22699             signal:  "elm,state,unselected";
22700             source:  "elm";
22701             action:  STATE_SET "default" 0.0;
22702             target:  "bg";
22703             target:  "fg1";
22704             target:  "fg2";
22705             target:  "elm.text";
22706             target:  "elm.text.sub";
22707             transition: LINEAR 0.1;
22708          }
22709          program {
22710             name:    "go_disabled";
22711             signal:  "elm,state,disabled";
22712             source:  "elm";
22713             action:  STATE_SET "disabled" 0.0;
22714             target:  "disclip";
22715          }
22716          program {
22717             name:    "go_enabled";
22718             signal:  "elm,state,enabled";
22719             source:  "elm";
22720             action:  STATE_SET "default" 0.0;
22721             target:  "disclip";
22722          }
22723          program {
22724             name:    "expand";
22725             signal:  "mouse,up,1";
22726             source:  "arrow";
22727             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22728          }
22729          program {
22730             name:    "go_expanded";
22731             signal:  "elm,state,expanded";
22732             source:  "elm";
22733             action:  STATE_SET "active" 0.0;
22734             target:  "arrow";
22735          }
22736          program {
22737             name:    "go_contracted";
22738             signal:  "elm,state,contracted";
22739             source:  "elm";
22740             action:  STATE_SET "default" 0.0;
22741             target:  "arrow";
22742          }
22743       }
22744    }
22745
22746    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22747       data.item: "stacking" "above";
22748       data.item: "selectraise" "on";
22749       data.item: "labels" "elm.text";
22750       data.item: "icons" "elm.swallow.icon";
22751       data.item: "treesize" "20";
22752 //      data.item: "states" "";
22753       images {
22754          image: "bt_sm_base1.png" COMP;
22755          image: "bt_sm_shine.png" COMP;
22756          image: "bt_sm_hilight.png" COMP;
22757          image: "ilist_1.png" COMP;
22758          image: "ilist_item_shadow.png" COMP;
22759       }
22760       parts {
22761          part {
22762             name:           "event";
22763             type:           RECT;
22764             repeat_events: 1;
22765             description {
22766                state: "default" 0.0;
22767                color: 0 0 0 0;
22768             }
22769          }
22770          part {
22771             name: "base_sh";
22772             mouse_events: 0;
22773             description {
22774                state: "default" 0.0;
22775                align: 0.0 0.0;
22776                min: 0 10;
22777                fixed: 1 1;
22778                rel1 {
22779                   to: "base";
22780                   relative: 0.0 1.0;
22781                   offset: 0 0;
22782                }
22783                rel2 {
22784                   to: "base";
22785                   relative: 1.0 1.0;
22786                   offset: -1 0;
22787                }
22788                image {
22789                   normal: "ilist_item_shadow.png";
22790                }
22791                fill.smooth: 0;
22792             }
22793          }
22794          part {
22795             name: "base";
22796             mouse_events: 0;
22797             description {
22798                state: "default" 0.0;
22799                image {
22800                   normal: "ilist_1.png";
22801                   border: 2 2 2 2;
22802                }
22803                fill.smooth: 0;
22804             }
22805          }
22806          part { name: "bg";
22807             clip_to: "disclip";
22808             mouse_events: 0;
22809             description { state: "default" 0.0;
22810                visible: 0;
22811                color: 255 255 255 0;
22812                rel1 {
22813                   relative: 0.0 0.0;
22814                   offset: -5 -5;
22815                }
22816                rel2 {
22817                   relative: 1.0 1.0;
22818                   offset: 4 4;
22819                }
22820                image {
22821                   normal: "bt_sm_base1.png";
22822                   border: 6 6 6 6;
22823                }
22824                image.middle: SOLID;
22825             }
22826             description { state: "selected" 0.0;
22827                inherit: "default" 0.0;
22828                visible: 1;
22829                color: 255 255 255 255;
22830                rel1 {
22831                   relative: 0.0 0.0;
22832                   offset: -2 -2;
22833                }
22834                rel2 {
22835                   relative: 1.0 1.0;
22836                   offset: 1 1;
22837                }
22838             }
22839          }
22840          part { name: "elm.swallow.pad";
22841             type: SWALLOW;
22842             description { state: "default" 0.0;
22843                fixed: 1 0;
22844                align: 0.0 0.5;
22845                rel1 {
22846                   relative: 0.0  0.0;
22847                   offset:   4    4;
22848                }
22849                rel2 {
22850                   relative: 1.0  1.0;
22851                   offset:   -4   -5;
22852                }
22853             }
22854          }
22855          part { name: "elm.swallow.icon";
22856             clip_to: "disclip";
22857             type: SWALLOW;
22858             description { state: "default" 0.0;
22859                fixed: 1 0;
22860                align: 0.5 0.5;
22861                rel1 {
22862                   to_x: "elm.swallow.pad";
22863                   relative: 0.0  0.0;
22864                   offset:   -1    4;
22865                }
22866                rel2 {
22867                   to_x: "elm.swallow.pad";
22868                   relative: 1.0  1.0;
22869                   offset:   -1   -5;
22870                }
22871             }
22872          }
22873          part { name: "elm.text";
22874             clip_to: "disclip";
22875             type:           TEXT;
22876             effect:         SOFT_SHADOW;
22877             mouse_events:   0;
22878             scale: 1;
22879             description {
22880                state: "default" 0.0;
22881 //               min: 16 16;
22882                rel1 {
22883                   to_y:     "elm.swallow.icon";
22884                   relative: 0.0  1.0;
22885                   offset:   0 4;
22886                }
22887                rel2 {
22888                   relative: 1.0  1.0;
22889                   offset:   -5 -5;
22890                }
22891                color: 0 0 0 255;
22892                color3: 0 0 0 0;
22893                text {
22894                   font: "Sans";
22895                   size: 10;
22896                   min: 1 1;
22897 //                  min: 0 1;
22898                   align: 0.5 0.5;
22899                   text_class: "list_item";
22900                }
22901             }
22902             description { state: "selected" 0.0;
22903                inherit: "default" 0.0;
22904                color: 224 224 224 255;
22905                color3: 0 0 0 64;
22906             }
22907          }
22908          part { name: "fg1";
22909             clip_to: "disclip";
22910             mouse_events: 0;
22911             description { state: "default" 0.0;
22912                visible: 0;
22913                color: 255 255 255 0;
22914                rel1.to: "bg";
22915                rel2.relative: 1.0 0.5;
22916                rel2.to: "bg";
22917                image {
22918                   normal: "bt_sm_hilight.png";
22919                   border: 6 6 6 0;
22920                }
22921             }
22922             description { state: "selected" 0.0;
22923                inherit: "default" 0.0;
22924                visible: 1;
22925                color: 255 255 255 255;
22926             }
22927          }
22928          part { name: "fg2";
22929             clip_to: "disclip";
22930             mouse_events: 0;
22931             description { state: "default" 0.0;
22932                visible: 0;
22933                color: 255 255 255 0;
22934                rel1.to: "bg";
22935                rel2.to: "bg";
22936                image {
22937                   normal: "bt_sm_shine.png";
22938                   border: 6 6 6 0;
22939                }
22940             }
22941             description { state: "selected" 0.0;
22942                inherit: "default" 0.0;
22943                visible: 1;
22944                color: 255 255 255 255;
22945             }
22946          }
22947          part { name: "disclip";
22948             type: RECT;
22949             description { state: "default" 0.0;
22950                rel1.to: "bg";
22951                rel2.to: "bg";
22952             }
22953             description { state: "disabled" 0.0;
22954                inherit: "default" 0.0;
22955                color: 255 255 255 64;
22956             }
22957          }
22958       }
22959       programs {
22960          // signal: elm,state,%s,active
22961          //   a "check" item named %s went active
22962          // signal: elm,state,%s,passive
22963          //   a "check" item named %s went passive
22964          // default is passive
22965          program {
22966             name:    "go_active";
22967             signal:  "elm,state,selected";
22968             source:  "elm";
22969             action:  STATE_SET "selected" 0.0;
22970             target:  "bg";
22971             target:  "fg1";
22972             target:  "fg2";
22973             target:  "elm.text";
22974          }
22975          program {
22976             name:    "go_passive";
22977             signal:  "elm,state,unselected";
22978             source:  "elm";
22979             action:  STATE_SET "default" 0.0;
22980             target:  "bg";
22981             target:  "fg1";
22982             target:  "fg2";
22983             target:  "elm.text";
22984             transition: LINEAR 0.1;
22985          }
22986          program {
22987             name:    "go_disabled";
22988             signal:  "elm,state,disabled";
22989             source:  "elm";
22990             action:  STATE_SET "disabled" 0.0;
22991             target:  "disclip";
22992          }
22993          program {
22994             name:    "go_enabled";
22995             signal:  "elm,state,enabled";
22996             source:  "elm";
22997             action:  STATE_SET "default" 0.0;
22998             target:  "disclip";
22999          }
23000       }
23001    }
23002    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
23003       data.item: "stacking" "below";
23004       data.item: "selectraise" "on";
23005       data.item: "labels" "elm.text";
23006       data.item: "icons" "elm.swallow.icon";
23007       data.item: "treesize" "20";
23008 //      data.item: "states" "";
23009       images {
23010          image: "bt_sm_base1.png" COMP;
23011          image: "bt_sm_shine.png" COMP;
23012          image: "bt_sm_hilight.png" COMP;
23013          image: "ilist_2.png" COMP;
23014       }
23015       parts {
23016          part { name: "event";
23017             type: RECT;
23018             repeat_events: 1;
23019             description {
23020                state: "default" 0.0;
23021                color: 0 0 0 0;
23022             }
23023          }
23024          part {
23025             name: "base";
23026             mouse_events: 0;
23027             description {
23028                state: "default" 0.0;
23029                image {
23030                   normal: "ilist_2.png";
23031                   border: 2 2 2 2;
23032                }
23033                fill.smooth: 0;
23034             }
23035          }
23036          part { name: "bg";
23037             clip_to: "disclip";
23038             mouse_events: 0;
23039             description { state: "default" 0.0;
23040                visible: 0;
23041                color: 255 255 255 0;
23042                rel1 {
23043                   relative: 0.0 0.0;
23044                   offset: -5 -5;
23045                }
23046                rel2 {
23047                   relative: 1.0 1.0;
23048                   offset: 4 4;
23049                }
23050                image {
23051                   normal: "bt_sm_base1.png";
23052                   border: 6 6 6 6;
23053                }
23054                image.middle: SOLID;
23055             }
23056             description { state: "selected" 0.0;
23057                inherit: "default" 0.0;
23058                visible: 1;
23059                color: 255 255 255 255;
23060                rel1 {
23061                   relative: 0.0 0.0;
23062                   offset: -2 -2;
23063                }
23064                rel2 {
23065                   relative: 1.0 1.0;
23066                   offset: 1 1;
23067                }
23068             }
23069          }
23070          part { name: "elm.swallow.pad";
23071             type: SWALLOW;
23072             description { state: "default" 0.0;
23073                fixed: 1 0;
23074                align: 0.0 0.5;
23075                rel1 {
23076                   relative: 0.0  0.0;
23077                   offset:   4    4;
23078                }
23079                rel2 {
23080                   relative: 1.0  1.0;
23081                   offset:   -4   -5;
23082                }
23083             }
23084          }
23085          part { name: "elm.swallow.icon";
23086             clip_to: "disclip";
23087             type: SWALLOW;
23088             description { state: "default" 0.0;
23089                fixed: 1 0;
23090                align: 0.5 0.5;
23091                rel1 {
23092                   to_x: "elm.swallow.pad";
23093                   relative: 0.0  0.0;
23094                   offset:   -1    4;
23095                }
23096                rel2 {
23097                   to_x: "elm.swallow.pad";
23098                   relative: 1.0  1.0;
23099                   offset:   -1   -5;
23100                }
23101             }
23102          }
23103          part { name: "elm.text";
23104             clip_to: "disclip";
23105             type:           TEXT;
23106             effect:         SOFT_SHADOW;
23107             mouse_events:   0;
23108             scale: 1;
23109             description {
23110                state: "default" 0.0;
23111 //               min:      16 16;
23112                rel1 {
23113                   to_y:     "elm.swallow.icon";
23114                   relative: 0.0  1.0;
23115                   offset:   0 4;
23116                }
23117                rel2 {
23118                   relative: 1.0  1.0;
23119                   offset:   -5 -5;
23120                }
23121                color: 0 0 0 255;
23122                color3: 0 0 0 0;
23123                text {
23124                   font: "Sans";
23125                   size: 10;
23126                   min: 1 1;
23127 //                  min: 0 1;
23128                   align: 0.5 0.5;
23129                   text_class: "list_item";
23130                }
23131             }
23132             description { state: "selected" 0.0;
23133                inherit: "default" 0.0;
23134                color: 224 224 224 255;
23135                color3: 0 0 0 64;
23136             }
23137          }
23138          part { name: "fg1";
23139             clip_to: "disclip";
23140             mouse_events: 0;
23141             description { state: "default" 0.0;
23142                visible: 0;
23143                color: 255 255 255 0;
23144                rel1.to: "bg";
23145                rel2.relative: 1.0 0.5;
23146                rel2.to: "bg";
23147                image {
23148                   normal: "bt_sm_hilight.png";
23149                   border: 6 6 6 0;
23150                }
23151             }
23152             description { state: "selected" 0.0;
23153                inherit: "default" 0.0;
23154                visible: 1;
23155                color: 255 255 255 255;
23156             }
23157          }
23158          part { name: "fg2";
23159             clip_to: "disclip";
23160             mouse_events: 0;
23161             description { state: "default" 0.0;
23162                visible: 0;
23163                color: 255 255 255 0;
23164                rel1.to: "bg";
23165                rel2.to: "bg";
23166                image {
23167                   normal: "bt_sm_shine.png";
23168                   border: 6 6 6 0;
23169                }
23170             }
23171             description { state: "selected" 0.0;
23172                inherit: "default" 0.0;
23173                visible: 1;
23174                color: 255 255 255 255;
23175             }
23176          }
23177          part { name: "disclip";
23178             type: RECT;
23179             description { state: "default" 0.0;
23180                rel1.to: "bg";
23181                rel2.to: "bg";
23182             }
23183             description { state: "disabled" 0.0;
23184                inherit: "default" 0.0;
23185                color: 255 255 255 64;
23186             }
23187          }
23188       }
23189       programs {
23190          // signal: elm,state,%s,active
23191          //   a "check" item named %s went active
23192          // signal: elm,state,%s,passive
23193          //   a "check" item named %s went passive
23194          // default is passive
23195          program {
23196             name:    "go_active";
23197             signal:  "elm,state,selected";
23198             source:  "elm";
23199             action:  STATE_SET "selected" 0.0;
23200             target:  "bg";
23201             target:  "fg1";
23202             target:  "fg2";
23203             target:  "elm.text";
23204          }
23205          program {
23206             name:    "go_passive";
23207             signal:  "elm,state,unselected";
23208             source:  "elm";
23209             action:  STATE_SET "default" 0.0;
23210             target:  "bg";
23211             target:  "fg1";
23212             target:  "fg2";
23213             target:  "elm.text";
23214             transition: LINEAR 0.1;
23215          }
23216          program {
23217             name:    "go_disabled";
23218             signal:  "elm,state,disabled";
23219             source:  "elm";
23220             action:  STATE_SET "disabled" 0.0;
23221             target:  "disclip";
23222          }
23223          program {
23224             name:    "go_enabled";
23225             signal:  "elm,state,enabled";
23226             source:  "elm";
23227             action:  STATE_SET "default" 0.0;
23228             target:  "disclip";
23229          }
23230       }
23231    }
23232
23233    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
23234       data.item: "stacking" "above";
23235       data.item: "selectraise" "on";
23236       data.item: "labels" "elm.text";
23237       data.item: "icons" "elm.swallow.icon";
23238       data.item: "treesize" "20";
23239 //      data.item: "states" "";
23240       images {
23241          image: "bt_sm_base1.png" COMP;
23242          image: "bt_sm_shine.png" COMP;
23243          image: "bt_sm_hilight.png" COMP;
23244          image: "ilist_1.png" COMP;
23245          image: "ilist_item_shadow.png" COMP;
23246          image: "icon_arrow_right.png" COMP;
23247          image: "icon_arrow_down.png" COMP;
23248       }
23249       parts {
23250          part {
23251             name:           "event";
23252             type:           RECT;
23253             repeat_events: 1;
23254             description {
23255                state: "default" 0.0;
23256                color: 0 0 0 0;
23257             }
23258          }
23259          part {
23260             name: "base_sh";
23261             mouse_events: 0;
23262             description {
23263                state: "default" 0.0;
23264                align: 0.0 0.0;
23265                min: 0 10;
23266                fixed: 1 1;
23267                rel1 {
23268                   to: "base";
23269                   relative: 0.0 1.0;
23270                   offset: 0 0;
23271                }
23272                rel2 {
23273                   to: "base";
23274                   relative: 1.0 1.0;
23275                   offset: -1 0;
23276                }
23277                image {
23278                   normal: "ilist_item_shadow.png";
23279                }
23280                fill.smooth: 0;
23281             }
23282          }
23283          part {
23284             name: "base";
23285             mouse_events: 0;
23286             description {
23287                state: "default" 0.0;
23288                image {
23289                   normal: "ilist_1.png";
23290                   border: 2 2 2 2;
23291                }
23292                fill.smooth: 0;
23293             }
23294          }
23295          part { name: "bg";
23296             clip_to: "disclip";
23297             mouse_events: 0;
23298             description { state: "default" 0.0;
23299                visible: 0;
23300                color: 255 255 255 0;
23301                rel1 {
23302                   relative: 0.0 0.0;
23303                   offset: -5 -5;
23304                }
23305                rel2 {
23306                   relative: 1.0 1.0;
23307                   offset: 4 4;
23308                }
23309                image {
23310                   normal: "bt_sm_base1.png";
23311                   border: 6 6 6 6;
23312                }
23313                image.middle: SOLID;
23314             }
23315             description { state: "selected" 0.0;
23316                inherit: "default" 0.0;
23317                visible: 1;
23318                color: 255 255 255 255;
23319                rel1 {
23320                   relative: 0.0 0.0;
23321                   offset: -2 -2;
23322                }
23323                rel2 {
23324                   relative: 1.0 1.0;
23325                   offset: 1 1;
23326                }
23327             }
23328          }
23329          part { name: "elm.swallow.pad";
23330             type: SWALLOW;
23331             description { state: "default" 0.0;
23332                fixed: 1 0;
23333                align: 0.0 0.5;
23334                rel1 {
23335                   relative: 0.0  0.0;
23336                   offset:   4    4;
23337                }
23338                rel2 {
23339                   relative: 0.0  1.0;
23340                   offset:   4   -5;
23341                }
23342             }
23343          }
23344          part { name: "arrow";
23345             clip_to: "disclip";
23346             ignore_flags: ON_HOLD;
23347             description { state: "default" 0.0;
23348                fixed: 1 0;
23349                align: 0.0 0.5;
23350                aspect: 1.0 1.0;
23351                rel1 {
23352                   to_x: "elm.swallow.pad";
23353                   relative: 1.0  0.0;
23354                   offset:   -1    4;
23355                }
23356                rel2 {
23357                   to_x: "elm.swallow.pad";
23358                   relative: 1.0  1.0;
23359                   offset:   -1   -5;
23360                }
23361                image.normal: "icon_arrow_right.png";
23362             }
23363             description { state: "active" 0.0;
23364                inherit: "default" 0.0;
23365                image.normal: "icon_arrow_down.png";
23366             }
23367          }
23368          part { name: "elm.swallow.icon";
23369             clip_to: "disclip";
23370             type: SWALLOW;
23371             description { state: "default" 0.0;
23372                fixed: 1 0;
23373                align: 0.5 0.5;
23374                rel1 {
23375                   to_x: "arrow";
23376                   relative: 1.0  0.0;
23377                   offset:   4    4;
23378                }
23379                rel2 {
23380                   relative: 1.0  1.0;
23381                   offset:   -4   -5;
23382                }
23383             }
23384          }
23385          part { name: "elm.text";
23386             clip_to: "disclip";
23387             type:           TEXT;
23388             effect:         SOFT_SHADOW;
23389             mouse_events:   0;
23390             scale: 1;
23391             description {
23392                state: "default" 0.0;
23393 //               min: 16 16;
23394                rel1 {
23395                   to_y:     "elm.swallow.icon";
23396                   relative: 0.0  1.0;
23397                   offset:   0 4;
23398                }
23399                rel2 {
23400                   relative: 1.0  1.0;
23401                   offset:   -5 -5;
23402                }
23403                color: 0 0 0 255;
23404                color3: 0 0 0 0;
23405                text {
23406                   font: "Sans";
23407                   size: 10;
23408                   min: 1 1;
23409 //                  min: 0 1;
23410                   align: 0.5 0.5;
23411                   text_class: "list_item";
23412                }
23413             }
23414             description { state: "selected" 0.0;
23415                inherit: "default" 0.0;
23416                color: 224 224 224 255;
23417                color3: 0 0 0 64;
23418             }
23419          }
23420          part { name: "fg1";
23421             clip_to: "disclip";
23422             mouse_events: 0;
23423             description { state: "default" 0.0;
23424                visible: 0;
23425                color: 255 255 255 0;
23426                rel1.to: "bg";
23427                rel2.relative: 1.0 0.5;
23428                rel2.to: "bg";
23429                image {
23430                   normal: "bt_sm_hilight.png";
23431                   border: 6 6 6 0;
23432                }
23433             }
23434             description { state: "selected" 0.0;
23435                inherit: "default" 0.0;
23436                visible: 1;
23437                color: 255 255 255 255;
23438             }
23439          }
23440          part { name: "fg2";
23441             clip_to: "disclip";
23442             mouse_events: 0;
23443             description { state: "default" 0.0;
23444                visible: 0;
23445                color: 255 255 255 0;
23446                rel1.to: "bg";
23447                rel2.to: "bg";
23448                image {
23449                   normal: "bt_sm_shine.png";
23450                   border: 6 6 6 0;
23451                }
23452             }
23453             description { state: "selected" 0.0;
23454                inherit: "default" 0.0;
23455                visible: 1;
23456                color: 255 255 255 255;
23457             }
23458          }
23459          part { name: "disclip";
23460             type: RECT;
23461             description { state: "default" 0.0;
23462                rel1.to: "bg";
23463                rel2.to: "bg";
23464             }
23465             description { state: "disabled" 0.0;
23466                inherit: "default" 0.0;
23467                color: 255 255 255 64;
23468             }
23469          }
23470       }
23471       programs {
23472          // signal: elm,state,%s,active
23473          //   a "check" item named %s went active
23474          // signal: elm,state,%s,passive
23475          //   a "check" item named %s went passive
23476          // default is passive
23477          program {
23478             name:    "go_active";
23479             signal:  "elm,state,selected";
23480             source:  "elm";
23481             action:  STATE_SET "selected" 0.0;
23482             target:  "bg";
23483             target:  "fg1";
23484             target:  "fg2";
23485             target:  "elm.text";
23486          }
23487          program {
23488             name:    "go_passive";
23489             signal:  "elm,state,unselected";
23490             source:  "elm";
23491             action:  STATE_SET "default" 0.0;
23492             target:  "bg";
23493             target:  "fg1";
23494             target:  "fg2";
23495             target:  "elm.text";
23496             transition: LINEAR 0.1;
23497          }
23498          program {
23499             name:    "go_disabled";
23500             signal:  "elm,state,disabled";
23501             source:  "elm";
23502             action:  STATE_SET "disabled" 0.0;
23503             target:  "disclip";
23504          }
23505          program {
23506             name:    "go_enabled";
23507             signal:  "elm,state,enabled";
23508             source:  "elm";
23509             action:  STATE_SET "default" 0.0;
23510             target:  "disclip";
23511          }
23512          program {
23513             name:    "expand";
23514             signal:  "mouse,up,1";
23515             source:  "arrow";
23516             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23517          }
23518          program {
23519             name:    "go_expanded";
23520             signal:  "elm,state,expanded";
23521             source:  "elm";
23522             action:  STATE_SET "active" 0.0;
23523             target:  "arrow";
23524          }
23525          program {
23526             name:    "go_contracted";
23527             signal:  "elm,state,contracted";
23528             source:  "elm";
23529             action:  STATE_SET "default" 0.0;
23530             target:  "arrow";
23531          }
23532       }
23533    }
23534    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23535       data.item: "stacking" "below";
23536       data.item: "selectraise" "on";
23537       data.item: "labels" "elm.text";
23538       data.item: "icons" "elm.swallow.icon";
23539       data.item: "treesize" "20";
23540 //      data.item: "states" "";
23541       images {
23542          image: "bt_sm_base1.png" COMP;
23543          image: "bt_sm_shine.png" COMP;
23544          image: "bt_sm_hilight.png" COMP;
23545          image: "ilist_2.png" COMP;
23546          image: "icon_arrow_right.png" COMP;
23547          image: "icon_arrow_down.png" COMP;
23548       }
23549       parts {
23550          part {
23551             name:           "event";
23552             type:           RECT;
23553             repeat_events: 1;
23554             description {
23555                state: "default" 0.0;
23556                color: 0 0 0 0;
23557             }
23558          }
23559          part {
23560             name: "base";
23561             mouse_events: 0;
23562             description {
23563                state: "default" 0.0;
23564                image {
23565                   normal: "ilist_2.png";
23566                   border: 2 2 2 2;
23567                }
23568                fill.smooth: 0;
23569             }
23570          }
23571          part { name: "bg";
23572             clip_to: "disclip";
23573             mouse_events: 0;
23574             description { state: "default" 0.0;
23575                visible: 0;
23576                color: 255 255 255 0;
23577                rel1 {
23578                   relative: 0.0 0.0;
23579                   offset: -5 -5;
23580                }
23581                rel2 {
23582                   relative: 1.0 1.0;
23583                   offset: 4 4;
23584                }
23585                image {
23586                   normal: "bt_sm_base1.png";
23587                   border: 6 6 6 6;
23588                }
23589                image.middle: SOLID;
23590             }
23591             description { state: "selected" 0.0;
23592                inherit: "default" 0.0;
23593                visible: 1;
23594                color: 255 255 255 255;
23595                rel1 {
23596                   relative: 0.0 0.0;
23597                   offset: -2 -2;
23598                }
23599                rel2 {
23600                   relative: 1.0 1.0;
23601                   offset: 1 1;
23602                }
23603             }
23604          }
23605          part { name: "elm.swallow.pad";
23606             type: SWALLOW;
23607             description { state: "default" 0.0;
23608                fixed: 1 0;
23609                align: 0.0 0.5;
23610                rel1 {
23611                   relative: 0.0  0.0;
23612                   offset:   4    4;
23613                }
23614                rel2 {
23615                   relative: 0.0  1.0;
23616                   offset:   4   -5;
23617                }
23618             }
23619          }
23620          part { name: "arrow";
23621             clip_to: "disclip";
23622             ignore_flags: ON_HOLD;
23623             description { state: "default" 0.0;
23624                fixed: 1 0;
23625                align: 0.0 0.5;
23626                aspect: 1.0 1.0;
23627                rel1 {
23628                   to_x: "elm.swallow.pad";
23629                   relative: 1.0  0.0;
23630                   offset:   -1    4;
23631                }
23632                rel2 {
23633                   to_x: "elm.swallow.pad";
23634                   relative: 1.0  1.0;
23635                   offset:   -1   -5;
23636                }
23637                image.normal: "icon_arrow_right.png";
23638             }
23639             description { state: "active" 0.0;
23640                inherit: "default" 0.0;
23641                image.normal: "icon_arrow_down.png";
23642             }
23643          }
23644          part { name: "elm.swallow.icon";
23645             clip_to: "disclip";
23646             type: SWALLOW;
23647             description { state: "default" 0.0;
23648                fixed: 1 0;
23649                align: 0.5 0.5;
23650                rel1 {
23651                   to_x: "arrow";
23652                   relative: 1.0  0.0;
23653                   offset:   4    4;
23654                }
23655                rel2 {
23656                   relative: 1.0  1.0;
23657                   offset:   -4   -5;
23658                }
23659             }
23660          }
23661          part { name: "elm.text";
23662             clip_to: "disclip";
23663             type:           TEXT;
23664             effect:         SOFT_SHADOW;
23665             mouse_events:   0;
23666             scale: 1;
23667             description {
23668                state: "default" 0.0;
23669 //               min: 16 16;
23670                rel1 {
23671                   to_y:     "elm.swallow.icon";
23672                   relative: 0.0  1.0;
23673                   offset:   0 4;
23674                }
23675                rel2 {
23676                   relative: 1.0  1.0;
23677                   offset:   -5 -5;
23678                }
23679                color: 0 0 0 255;
23680                color3: 0 0 0 0;
23681                text {
23682                   font: "Sans";
23683                   size: 10;
23684                   min: 1 1;
23685 //                  min: 0 1;
23686                   align: 0.5 0.5;
23687                   text_class: "list_item";
23688                }
23689             }
23690             description { state: "selected" 0.0;
23691                inherit: "default" 0.0;
23692                color: 224 224 224 255;
23693                color3: 0 0 0 64;
23694             }
23695          }
23696          part { name: "fg1";
23697             clip_to: "disclip";
23698             mouse_events: 0;
23699             description { state: "default" 0.0;
23700                visible: 0;
23701                color: 255 255 255 0;
23702                rel1.to: "bg";
23703                rel2.relative: 1.0 0.5;
23704                rel2.to: "bg";
23705                image {
23706                   normal: "bt_sm_hilight.png";
23707                   border: 6 6 6 0;
23708                }
23709             }
23710             description { state: "selected" 0.0;
23711                inherit: "default" 0.0;
23712                visible: 1;
23713                color: 255 255 255 255;
23714             }
23715          }
23716          part { name: "fg2";
23717             clip_to: "disclip";
23718             mouse_events: 0;
23719             description { state: "default" 0.0;
23720                visible: 0;
23721                color: 255 255 255 0;
23722                rel1.to: "bg";
23723                rel2.to: "bg";
23724                image {
23725                   normal: "bt_sm_shine.png";
23726                   border: 6 6 6 0;
23727                }
23728             }
23729             description { state: "selected" 0.0;
23730                inherit: "default" 0.0;
23731                visible: 1;
23732                color: 255 255 255 255;
23733             }
23734          }
23735          part { name: "disclip";
23736             type: RECT;
23737             description { state: "default" 0.0;
23738                rel1.to: "bg";
23739                rel2.to: "bg";
23740             }
23741             description { state: "disabled" 0.0;
23742                inherit: "default" 0.0;
23743                color: 255 255 255 64;
23744             }
23745          }
23746       }
23747       programs {
23748          // signal: elm,state,%s,active
23749          //   a "check" item named %s went active
23750          // signal: elm,state,%s,passive
23751          //   a "check" item named %s went passive
23752          // default is passive
23753          program {
23754             name:    "go_active";
23755             signal:  "elm,state,selected";
23756             source:  "elm";
23757             action:  STATE_SET "selected" 0.0;
23758             target:  "bg";
23759             target:  "fg1";
23760             target:  "fg2";
23761             target:  "elm.text";
23762          }
23763          program {
23764             name:    "go_passive";
23765             signal:  "elm,state,unselected";
23766             source:  "elm";
23767             action:  STATE_SET "default" 0.0;
23768             target:  "bg";
23769             target:  "fg1";
23770             target:  "fg2";
23771             target:  "elm.text";
23772             transition: LINEAR 0.1;
23773          }
23774          program {
23775             name:    "go_disabled";
23776             signal:  "elm,state,disabled";
23777             source:  "elm";
23778             action:  STATE_SET "disabled" 0.0;
23779             target:  "disclip";
23780          }
23781          program {
23782             name:    "go_enabled";
23783             signal:  "elm,state,enabled";
23784             source:  "elm";
23785             action:  STATE_SET "default" 0.0;
23786             target:  "disclip";
23787          }
23788          program {
23789             name:    "expand";
23790             signal:  "mouse,up,1";
23791             source:  "arrow";
23792             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23793          }
23794          program {
23795             name:    "go_expanded";
23796             signal:  "elm,state,expanded";
23797             source:  "elm";
23798             action:  STATE_SET "active" 0.0;
23799             target:  "arrow";
23800          }
23801          program {
23802             name:    "go_contracted";
23803             signal:  "elm,state,contracted";
23804             source:  "elm";
23805             action:  STATE_SET "default" 0.0;
23806             target:  "arrow";
23807          }
23808       }
23809    }
23810
23811
23812 ///////////////////////////////////////////////////////////////////////////////
23813    group { name: "elm/check/base/default";
23814       images {
23815          image: "check_base.png" COMP;
23816          image: "check.png" COMP;
23817          image: "check2.png" COMP;
23818       }
23819       parts {
23820          part { name: "bg";
23821             mouse_events: 0;
23822             scale: 1;
23823             description { state: "default" 0.0;
23824                rel1.offset: 1 1;
23825                rel2.relative: 0.0 1.0;
23826                rel2.offset: 1 -2;
23827                align: 0.0 0.5;
23828                min: 16 16;
23829                max: 16 16;
23830                aspect: 1.0 1.0;
23831                aspect_preference: VERTICAL;
23832                image {
23833                   normal: "check_base.png";
23834                   border: 5 5 5 5;
23835                   middle: 0;
23836                }
23837                fill.smooth : 0;
23838             }
23839          }
23840          part { name: "check";
23841             mouse_events: 0;
23842             scale: 1;
23843             description { state: "default" 0.0;
23844                rel1 {
23845                   to: "bg";
23846                   offset: 1 1;
23847                }
23848                rel2 {
23849                   to: "bg";
23850                   offset: -2 -2;
23851                }
23852                visible: 0;
23853                color: 255 255 255 255;
23854                image.normal: "check.png";
23855             }
23856             description { state: "visible" 0.0;
23857                inherit: "default" 0.0;
23858                visible: 1;
23859             }
23860             description { state: "disabled" 0.0;
23861                inherit: "default" 0.0;
23862                visible: 0;
23863                color: 128 128 128 128;
23864             }
23865             description { state: "disabled_visible" 0.0;
23866                inherit: "default" 0.0;
23867                color: 128 128 128 128;
23868                visible: 1;
23869             }
23870          }
23871          part { name: "elm.swallow.content";
23872             type: SWALLOW;
23873             description { state: "default" 0.0;
23874                fixed: 1 0;
23875                visible: 0;
23876                align: 0.0 0.5;
23877           rel1.to_x: "bg";
23878                rel1.relative: 1.0 0.0;
23879                rel1.offset: 1 1;
23880           rel2.to_x: "bg";
23881                rel2.offset: 1 -2;
23882                rel2.relative: 1.0 1.0;
23883             }
23884             description { state: "visible" 0.0;
23885                inherit: "default" 0.0;
23886           fixed: 1 0;
23887                visible: 1;
23888                aspect: 1.0 1.0;
23889             }
23890             description { state: "disabled" 0.0;
23891                inherit: "default" 0.0;
23892                color: 128 128 128 128;
23893             }
23894             description { state: "disabled_visible" 0.0;
23895                inherit: "default" 0.0;
23896                color: 128 128 128 128;
23897           fixed: 1 0;
23898                visible: 1;
23899                aspect: 1.0 1.0;
23900             }
23901          }
23902          part { name: "elm.text";
23903             type: TEXT;
23904             mouse_events: 0;
23905             scale: 1;
23906             description { state: "default" 0.0;
23907                visible: 0;
23908                rel1.to_x: "elm.swallow.content";
23909                rel1.relative: 1.0 0.0;
23910                rel1.offset: 1 1;
23911                rel2.relative: 1.0 1.0;
23912                rel2.offset: -2 -2;
23913                color: 0 0 0 255;
23914                text {
23915                   font: "Sans,Edje-Vera";
23916                   size: 10;
23917                   min: 0 1;
23918                   align: 0.0 0.5;
23919                }
23920             }
23921             description { state: "visible" 0.0;
23922                inherit: "default" 0.0;
23923                visible: 1;
23924                text.min: 1 1;
23925             }
23926             description { state: "disabled" 0.0;
23927                inherit: "default" 0.0;
23928                color: 0 0 0 128;
23929                color3: 0 0 0 0;
23930             }
23931             description { state: "disabled_visible" 0.0;
23932                inherit: "default" 0.0;
23933                color: 0 0 0 128;
23934                color3: 0 0 0 0;
23935                visible: 1;
23936                text.min: 1 1;
23937             }
23938          }
23939          part { name: "events";
23940             type: RECT;
23941             ignore_flags: ON_HOLD;
23942             description { state: "default" 0.0;
23943                color: 0 0 0 0;
23944             }
23945          }
23946           part { name: "disabler";
23947             type: RECT;
23948             description { state: "default" 0.0;
23949                color: 0 0 0 0;
23950                visible: 0;
23951             }
23952             description { state: "disabled" 0.0;
23953                inherit: "default" 0.0;
23954                visible: 1;
23955             }
23956          }
23957       }
23958       programs {
23959          program { name: "click";
23960             signal: "mouse,up,1";
23961             source: "events";
23962             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23963          }
23964          program { name: "check_on";
23965             signal: "elm,state,check,on";
23966             source: "elm";
23967             action:  STATE_SET "visible" 0.0;
23968             target: "check";
23969          }
23970          program { name: "check_off";
23971             signal: "elm,state,check,off";
23972             source: "elm";
23973             action:  STATE_SET "default" 0.0;
23974             target: "check";
23975          }
23976          program { name: "text_show";
23977             signal: "elm,state,text,visible";
23978             source: "elm";
23979             action:  STATE_SET "visible" 0.0;
23980             target: "elm.text";
23981          }
23982          program { name: "text_hide";
23983             signal: "elm,state,text,hidden";
23984             source: "elm";
23985             action:  STATE_SET "default" 0.0;
23986             target: "elm.text";
23987          }
23988          program { name: "icon_show";
23989             signal: "elm,state,icon,visible";
23990             source: "elm";
23991             action:  STATE_SET "visible" 0.0;
23992             target: "elm.swallow.content";
23993          }
23994          program { name: "icon_hide";
23995             signal: "elm,state,icon,hidden";
23996             source: "elm";
23997             action:  STATE_SET "default" 0.0;
23998             target: "elm.swallow.content";
23999          }
24000          program { name: "disable";
24001             signal: "elm,state,disabled";
24002             source: "elm";
24003             action: STATE_SET "disabled" 0.0;
24004             target: "disabler";
24005             after: "disable_text";
24006          }
24007          program { name: "disable_text";
24008             script {
24009                new st[31];
24010                new Float:vl;
24011                get_state(PART:"elm.text", st, 30, vl);
24012                if (!strcmp(st, "visible"))
24013                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24014                else
24015                  set_state(PART:"elm.text", "disabled", 0.0);
24016
24017                get_state(PART:"elm.swallow.content", st, 30, vl);
24018                if (!strcmp(st, "visible"))
24019                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24020                else
24021                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24022
24023                get_state(PART:"check", st, 30, vl);
24024                if (!strcmp(st, "visible"))
24025                  set_state(PART:"check", "disabled_visible", 0.0);
24026                else
24027                  set_state(PART:"check", "disabled", 0.0);
24028             }
24029          }
24030          program { name: "enable";
24031             signal: "elm,state,enabled";
24032             source: "elm";
24033             action: STATE_SET "default" 0.0;
24034             target: "disabler";
24035             after: "enable_text";
24036          }
24037          program { name: "enable_text";
24038             script {
24039                new st[31];
24040                new Float:vl;
24041                get_state(PART:"elm.text", st, 30, vl);
24042                if (!strcmp(st, "disabled_visible"))
24043                  set_state(PART:"elm.text", "visible", 0.0);
24044                else
24045                  set_state(PART:"elm.text", "default", 0.0);
24046
24047                get_state(PART:"elm.swallow.content", st, 30, vl);
24048                if (!strcmp(st, "visible"))
24049                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24050                else
24051                  set_state(PART:"elm.swallow.content", "default", 0.0);
24052
24053                get_state(PART:"check", st, 30, vl);
24054                if (!strcmp(st, "visible"))
24055                  set_state(PART:"check", "visible", 0.0);
24056                else
24057                  set_state(PART:"check", "default", 0.0);
24058             }
24059          }
24060       }
24061    }
24062 ///////////////////////////////////////////////////////////////////////////////
24063    group { name: "elm/radio/base/default";
24064       images {
24065          image: "radio_base.png" COMP;
24066          image: "radio.png" COMP;
24067          image: "radio2.png" COMP;
24068       }
24069       parts {
24070          part { name: "bg";
24071             mouse_events: 0;
24072             scale: 1;
24073             description { state: "default" 0.0;
24074                rel1.offset: 1 1;
24075                rel2.relative: 0.0 1.0;
24076                rel2.offset: 1 -2;
24077                align: 0.0 0.5;
24078                min: 16 16;
24079                max: 16 16;
24080                aspect: 1.0 1.0;
24081                aspect_preference: VERTICAL;
24082                image.normal: "radio_base.png";
24083             }
24084          }
24085          part { name: "radio";
24086             mouse_events: 0;
24087             scale: 1;
24088             description { state: "default" 0.0;
24089                rel1.to: "bg";
24090                rel2.to: "bg";
24091                visible: 0;
24092                image.normal: "radio.png";
24093             }
24094             description { state: "visible" 0.0;
24095                inherit: "default" 0.0;
24096                visible: 1;
24097             }
24098          }
24099          part { name: "elm.swallow.content";
24100             type: SWALLOW;
24101             description { state: "default" 0.0;
24102                fixed: 1 0;
24103                visible: 0;
24104                align: 0.0 0.5;
24105                color: 0 0 0 0;
24106                rel1.to_x: "bg";
24107                rel1.relative: 1.0 0.0;
24108                rel1.offset: 1 1;
24109                rel2.to_x: "bg";
24110                rel2.relative: 1.0 1.0;
24111                rel2.offset: 2 -2;
24112             }
24113             description { state: "visible" 0.0;
24114                inherit: "default" 0.0;
24115                visible: 1;
24116                color: 255 255 255 255;
24117                aspect: 1.0 1.0;
24118             }
24119             description { state: "disabled" 0.0;
24120                inherit: "default" 0.0;
24121                color: 128 128 128 128;
24122             }
24123             description { state: "disabled_visible" 0.0;
24124                inherit: "default" 0.0;
24125                color: 128 128 128 128;
24126                visible: 1;
24127                aspect: 1.0 1.0;
24128             }
24129          }
24130          part { name: "elm.text";
24131             type: TEXT;
24132             mouse_events: 0;
24133             scale: 1;
24134             description { state: "default" 0.0;
24135                visible: 0;
24136                rel1.to_x: "elm.swallow.content";
24137                rel1.relative: 1.0 0.0;
24138                rel1.offset: 1 1;
24139                rel2.relative: 1.0 1.0;
24140                rel2.offset: -2 -2;
24141                color: 0 0 0 255;
24142                text {
24143                   font: "Sans,Edje-Vera";
24144                   size: 10;
24145                   min: 0 0;
24146                   align: 0.0 0.5;
24147                }
24148             }
24149             description { state: "visible" 0.0;
24150                inherit: "default" 0.0;
24151                visible: 1;
24152                text.min: 1 1;
24153             }
24154             description { state: "disabled" 0.0;
24155                inherit: "default" 0.0;
24156                color: 0 0 0 128;
24157                color3: 0 0 0 0;
24158             }
24159             description { state: "disabled_visible" 0.0;
24160                inherit: "default" 0.0;
24161                color: 0 0 0 128;
24162                color3: 0 0 0 0;
24163                visible: 1;
24164                text.min: 1 1;
24165             }
24166          }
24167          part { name: "events";
24168             type: RECT;
24169             ignore_flags: ON_HOLD;
24170             description { state: "default" 0.0;
24171                color: 0 0 0 0;
24172             }
24173          }
24174           part { name: "disabler";
24175             type: RECT;
24176             description { state: "default" 0.0;
24177                color: 0 0 0 0;
24178                visible: 0;
24179             }
24180             description { state: "disabled" 0.0;
24181                inherit: "default" 0.0;
24182                visible: 1;
24183             }
24184          }
24185       }
24186       programs {
24187          program { name: "click";
24188             signal: "mouse,up,1";
24189             source: "events";
24190             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
24191          }
24192          program { name: "radio_on";
24193             signal: "elm,state,radio,on";
24194             source: "elm";
24195             action:  STATE_SET "visible" 0.0;
24196             target: "radio";
24197          }
24198          program { name: "radio_off";
24199             signal: "elm,state,radio,off";
24200             source: "elm";
24201             action:  STATE_SET "default" 0.0;
24202             target: "radio";
24203          }
24204          program { name: "text_show";
24205             signal: "elm,state,text,visible";
24206             source: "elm";
24207             action:  STATE_SET "visible" 0.0;
24208             target: "elm.text";
24209          }
24210          program { name: "text_hide";
24211             signal: "elm,state,text,hidden";
24212             source: "elm";
24213             action:  STATE_SET "default" 0.0;
24214             target: "elm.text";
24215          }
24216          program { name: "icon_show";
24217             signal: "elm,state,icon,visible";
24218             source: "elm";
24219             action:  STATE_SET "visible" 0.0;
24220             target: "elm.swallow.content";
24221          }
24222          program { name: "icon_hide";
24223             signal: "elm,state,icon,hidden";
24224             source: "elm";
24225             action:  STATE_SET "default" 0.0;
24226             target: "elm.swallow.content";
24227          }
24228          program { name: "disable";
24229             signal: "elm,state,disabled";
24230             source: "elm";
24231             action: STATE_SET "disabled" 0.0;
24232             target: "disabler";
24233             after: "disable_text";
24234          }
24235          program { name: "disable_text";
24236             script {
24237                new st[31];
24238                new Float:vl;
24239                get_state(PART:"elm.text", st, 30, vl);
24240                if (!strcmp(st, "visible"))
24241                  set_state(PART:"elm.text", "disabled_visible", 0.0);
24242                else
24243                  set_state(PART:"elm.text", "disabled", 0.0);
24244
24245                get_state(PART:"elm.swallow.content", st, 30, vl);
24246                if (!strcmp(st, "visible"))
24247                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
24248                else
24249                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
24250             }
24251          }
24252          program { name: "enable";
24253             signal: "elm,state,enabled";
24254             source: "elm";
24255             action: STATE_SET "default" 0.0;
24256             target: "disabler";
24257             after: "enable_text";
24258          }
24259          program { name: "enable_text";
24260             script {
24261                new st[31];
24262                new Float:vl;
24263                get_state(PART:"elm.text", st, 30, vl);
24264                if (!strcmp(st, "disabled_visible"))
24265                  set_state(PART:"elm.text", "visible", 0.0);
24266                else
24267                  set_state(PART:"elm.text", "default", 0.0);
24268
24269                get_state(PART:"elm.swallow.content", st, 30, vl);
24270                if (!strcmp(st, "visible"))
24271                  set_state(PART:"elm.swallow.content", "visible", 0.0);
24272                else
24273                  set_state(PART:"elm.swallow.content", "default", 0.0);
24274             }
24275          }
24276       }
24277    }
24278    group { name: "elm/genlist/tree_compress_odd/double_label/default";
24279       data.item: "stacking" "below";
24280       data.item: "selectraise" "on";
24281       data.item: "labels" "elm.text elm.text.sub";
24282       data.item: "icons" "elm.swallow.icon elm.swallow.end";
24283       data.item: "treesize" "20";
24284 //      data.item: "states" "";
24285       images {
24286          image: "bt_sm_base1.png" COMP;
24287          image: "bt_sm_shine.png" COMP;
24288          image: "bt_sm_hilight.png" COMP;
24289          image: "ilist_2.png" COMP;
24290          image: "icon_arrow_right.png" COMP;
24291          image: "icon_arrow_down.png" COMP;
24292       }
24293       parts {
24294          part {
24295             name:           "event";
24296             type:           RECT;
24297             repeat_events: 1;
24298             description {
24299                state: "default" 0.0;
24300                color: 0 0 0 0;
24301             }
24302          }
24303          part {
24304             name: "base";
24305             mouse_events: 0;
24306             description {
24307                state: "default" 0.0;
24308                image {
24309                   normal: "ilist_2.png";
24310                   border: 2 2 2 2;
24311                }
24312                fill.smooth: 0;
24313             }
24314          }
24315          part { name: "bg";
24316             clip_to: "disclip";
24317             mouse_events: 0;
24318             description { state: "default" 0.0;
24319                visible: 0;
24320                color: 255 255 255 0;
24321                rel1 {
24322                   relative: 0.0 0.0;
24323                   offset: -5 -5;
24324                }
24325                rel2 {
24326                   relative: 1.0 1.0;
24327                   offset: 4 4;
24328                }
24329                image {
24330                   normal: "bt_sm_base1.png";
24331                   border: 6 6 6 6;
24332                }
24333                image.middle: SOLID;
24334             }
24335             description { state: "selected" 0.0;
24336                inherit: "default" 0.0;
24337                visible: 1;
24338                color: 255 255 255 255;
24339                rel1 {
24340                   relative: 0.0 0.0;
24341                   offset: -2 -2;
24342                }
24343                rel2 {
24344                   relative: 1.0 1.0;
24345                   offset: 1 1;
24346                }
24347             }
24348          }
24349          part { name: "elm.swallow.pad";
24350             type: SWALLOW;
24351             description { state: "default" 0.0;
24352                fixed: 1 0;
24353                align: 0.0 0.5;
24354                rel1 {
24355                   relative: 0.0  0.0;
24356                   offset:   4    4;
24357                }
24358                rel2 {
24359                   relative: 0.0  1.0;
24360                   offset:   4   -5;
24361                }
24362             }
24363          }
24364          part { name: "arrow";
24365             clip_to: "disclip";
24366             ignore_flags: ON_HOLD;
24367             description { state: "default" 0.0;
24368                fixed: 1 0;
24369                align: 0.0 0.5;
24370                aspect: 1.0 1.0;
24371                rel1 {
24372                   to_x: "elm.swallow.pad";
24373                   relative: 1.0  0.0;
24374                   offset:   -1    4;
24375                }
24376                rel2 {
24377                   to_x: "elm.swallow.pad";
24378                   relative: 1.0  1.0;
24379                   offset:   -1   -5;
24380                }
24381                image.normal: "icon_arrow_right.png";
24382             }
24383             description { state: "active" 0.0;
24384                inherit: "default" 0.0;
24385                image.normal: "icon_arrow_down.png";
24386             }
24387          }
24388          part { name: "elm.swallow.icon";
24389             clip_to: "disclip";
24390             type: SWALLOW;
24391             description { state: "default" 0.0;
24392                fixed: 1 0;
24393                align: 0.0 0.5;
24394                rel1 {
24395                   to_x: "arrow";
24396                   relative: 1.0  0.0;
24397                   offset:   4    4;
24398                }
24399                rel2 {
24400                   to_x: "arrow";
24401                   relative: 1.0  1.0;
24402                   offset:   4   -5;
24403                }
24404             }
24405          }
24406          part { name: "elm.swallow.end";
24407             clip_to: "disclip";
24408             type: SWALLOW;
24409             description { state: "default" 0.0;
24410                fixed: 1 0;
24411                align: 1.0 0.5;
24412                aspect: 1.0 1.0;
24413                aspect_preference: VERTICAL;
24414                rel1 {
24415                   relative: 1.0  0.0;
24416                   offset:   -5    4;
24417                }
24418                rel2 {
24419                   relative: 1.0  1.0;
24420                   offset:   -5   -5;
24421                }
24422             }
24423          }
24424          part { name: "elm.text";
24425             clip_to: "disclip";
24426             type:           TEXT;
24427             effect:         SOFT_SHADOW;
24428             mouse_events:   0;
24429             scale: 1;
24430             description {
24431                state: "default" 0.0;
24432 //               min: 16 16;
24433                rel1 {
24434                   to_x:     "elm.swallow.icon";
24435                   relative: 1.0  0.0;
24436                   offset:   0 4;
24437                }
24438                rel2 {
24439                   to_x:     "elm.swallow.end";
24440                   relative: 0.0  0.5;
24441                   offset:   -1 -5;
24442                }
24443                color: 0 0 0 255;
24444                color3: 0 0 0 0;
24445                text {
24446                   font: "Sans";
24447                   size: 10;
24448 //                  min: 1 1;
24449                   min: 0 1;
24450                   align: 0.0 0.5;
24451                   text_class: "list_item";
24452                }
24453             }
24454             description { state: "selected" 0.0;
24455                inherit: "default" 0.0;
24456                color: 224 224 224 255;
24457                color3: 0 0 0 64;
24458             }
24459          }
24460          part { name: "elm.text.sub";
24461             clip_to: "disclip";
24462             type:           TEXT;
24463             mouse_events:   0;
24464             scale: 1;
24465             description {
24466                state: "default" 0.0;
24467 //               min: 16 16;
24468                rel1 {
24469                   to_x:     "elm.swallow.icon";
24470                   relative: 1.0  0.5;
24471                   offset:   0 4;
24472                }
24473                rel2 {
24474                   to_x:     "elm.swallow.end";
24475                   relative: 0.0  1.0;
24476                   offset:   -1 -5;
24477                }
24478                color: 0 0 0 128;
24479                color3: 0 0 0 0;
24480                text {
24481                   font: "Sans";
24482                   size: 8;
24483 //                  min: 1 1;
24484                   min: 0 1;
24485                   align: 0.0 0.5;
24486                   text_class: "list_item";
24487                }
24488             }
24489             description { state: "selected" 0.0;
24490                inherit: "default" 0.0;
24491                color: 128 128 128 255;
24492                color3: 0 0 0 32;
24493             }
24494          }
24495          part { name: "fg1";
24496             clip_to: "disclip";
24497             mouse_events: 0;
24498             description { state: "default" 0.0;
24499                visible: 0;
24500                color: 255 255 255 0;
24501                rel1.to: "bg";
24502                rel2.relative: 1.0 0.5;
24503                rel2.to: "bg";
24504                image {
24505                   normal: "bt_sm_hilight.png";
24506                   border: 6 6 6 0;
24507                }
24508             }
24509             description { state: "selected" 0.0;
24510                inherit: "default" 0.0;
24511                visible: 1;
24512                color: 255 255 255 255;
24513             }
24514          }
24515          part { name: "fg2";
24516             clip_to: "disclip";
24517             mouse_events: 0;
24518             description { state: "default" 0.0;
24519                visible: 0;
24520                color: 255 255 255 0;
24521                rel1.to: "bg";
24522                rel2.to: "bg";
24523                image {
24524                   normal: "bt_sm_shine.png";
24525                   border: 6 6 6 0;
24526                }
24527             }
24528             description { state: "selected" 0.0;
24529                inherit: "default" 0.0;
24530                visible: 1;
24531                color: 255 255 255 255;
24532             }
24533          }
24534          part { name: "disclip";
24535             type: RECT;
24536             description { state: "default" 0.0;
24537                rel1.to: "bg";
24538                rel2.to: "bg";
24539             }
24540             description { state: "disabled" 0.0;
24541                inherit: "default" 0.0;
24542                color: 255 255 255 64;
24543             }
24544          }
24545       }
24546       programs {
24547          // signal: elm,state,%s,active
24548          //   a "check" item named %s went active
24549          // signal: elm,state,%s,passive
24550          //   a "check" item named %s went passive
24551          // default is passive
24552          program {
24553             name:    "go_active";
24554             signal:  "elm,state,selected";
24555             source:  "elm";
24556             action:  STATE_SET "selected" 0.0;
24557             target:  "bg";
24558             target:  "fg1";
24559             target:  "fg2";
24560             target:  "elm.text";
24561             target:  "elm.text.sub";
24562          }
24563          program {
24564             name:    "go_passive";
24565             signal:  "elm,state,unselected";
24566             source:  "elm";
24567             action:  STATE_SET "default" 0.0;
24568             target:  "bg";
24569             target:  "fg1";
24570             target:  "fg2";
24571             target:  "elm.text";
24572             target:  "elm.text.sub";
24573             transition: LINEAR 0.1;
24574          }
24575          program {
24576             name:    "go_disabled";
24577             signal:  "elm,state,disabled";
24578             source:  "elm";
24579             action:  STATE_SET "disabled" 0.0;
24580             target:  "disclip";
24581          }
24582          program {
24583             name:    "go_enabled";
24584             signal:  "elm,state,enabled";
24585             source:  "elm";
24586             action:  STATE_SET "default" 0.0;
24587             target:  "disclip";
24588          }
24589          program {
24590             name:    "expand";
24591             signal:  "mouse,up,1";
24592             source:  "arrow";
24593             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24594          }
24595          program {
24596             name:    "go_expanded";
24597             signal:  "elm,state,expanded";
24598             source:  "elm";
24599             action:  STATE_SET "active" 0.0;
24600             target:  "arrow";
24601          }
24602          program {
24603             name:    "go_contracted";
24604             signal:  "elm,state,contracted";
24605             source:  "elm";
24606             action:  STATE_SET "default" 0.0;
24607             target:  "arrow";
24608          }
24609       }
24610    }
24611
24612    group { name: "elm/genlist/item_compress/media/default";
24613       data.item: "stacking" "above";
24614       data.item: "selectraise" "on";
24615       data.item: "labels" "elm.text.title elm.text.album-artist";
24616       data.item: "treesize" "20";
24617       images {
24618          image: "bt_sm_base1.png" COMP;
24619          image: "bt_sm_shine.png" COMP;
24620          image: "bt_sm_hilight.png" COMP;
24621          image: "ilist_1.png" COMP;
24622          image: "ilist_item_shadow.png" COMP;
24623       }
24624       parts {
24625          part {
24626             name:           "event";
24627             type:           RECT;
24628             repeat_events: 1;
24629             description {
24630                state: "default" 0.0;
24631                color: 0 0 0 0;
24632             }
24633          }
24634          part {
24635             name: "base_sh";
24636             mouse_events: 0;
24637             description {
24638                state: "default" 0.0;
24639                align: 0.0 0.0;
24640                min: 0 10;
24641                fixed: 1 1;
24642                rel1 {
24643                   to: "base";
24644                   relative: 0.0 1.0;
24645                   offset: 0 0;
24646                }
24647                rel2 {
24648                   to: "base";
24649                   relative: 1.0 1.0;
24650                   offset: -1 0;
24651                }
24652                image {
24653                   normal: "ilist_item_shadow.png";
24654                }
24655                fill.smooth: 0;
24656             }
24657          }
24658          part {
24659             name: "base";
24660             mouse_events: 0;
24661             description {
24662                state: "default" 0.0;
24663                image {
24664                   normal: "ilist_1.png";
24665                   border: 2 2 2 2;
24666                }
24667                fill.smooth: 0;
24668             }
24669          }
24670          part { name: "bg";
24671             clip_to: "disclip";
24672             mouse_events: 0;
24673             description { state: "default" 0.0;
24674                visible: 0;
24675                color: 255 255 255 0;
24676                rel1 {
24677                   relative: 0.0 0.0;
24678                   offset: -5 -5;
24679                }
24680                rel2 {
24681                   relative: 1.0 1.0;
24682                   offset: 4 4;
24683                }
24684                image {
24685                   normal: "bt_sm_base1.png";
24686                   border: 6 6 6 6;
24687                }
24688                image.middle: SOLID;
24689             }
24690             description { state: "selected" 0.0;
24691                inherit: "default" 0.0;
24692                visible: 1;
24693                color: 255 255 255 255;
24694                rel1 {
24695                   relative: 0.0 0.0;
24696                   offset: -2 -2;
24697                }
24698                rel2 {
24699                   relative: 1.0 1.0;
24700                   offset: 1 1;
24701                }
24702             }
24703          }
24704          part { name: "elm.swallow.pad";
24705             type: SWALLOW;
24706             description { state: "default" 0.0;
24707                fixed: 1 0;
24708                align: 0.0 0.5;
24709                rel1 {
24710                   relative: 0.0  0.0;
24711                   offset:   4    4;
24712                }
24713                rel2 {
24714                   relative: 0.0  1.0;
24715                   offset:   4   -5;
24716                }
24717             }
24718          }
24719          part { name: "elm.text.title";
24720             clip_to: "disclip";
24721             type:           TEXT;
24722             effect:         SOFT_SHADOW;
24723             mouse_events:   0;
24724             scale: 1;
24725             description {
24726                state: "default" 0.0;
24727                rel1 {
24728                   relative: 0.0  0.0;
24729                   offset:   4 4;
24730                }
24731                rel2 {
24732                   relative: 1.0  0.5;
24733                   offset:   -1 -5;
24734                }
24735                color: 0 0 0 255;
24736                color3: 0 0 0 0;
24737                text {
24738                   font: "Sans";
24739                   size: 10;
24740                   min: 0 1;
24741                   align: 0.0 0.5;
24742                }
24743             }
24744             description { state: "selected" 0.0;
24745                inherit: "default" 0.0;
24746                color: 224 224 224 255;
24747                color3: 0 0 0 64;
24748             }
24749          }
24750          part { name: "elm.text.album-artist";
24751             clip_to: "disclip";
24752             type:           TEXT;
24753             mouse_events:   0;
24754             scale: 1;
24755             description {
24756                state: "default" 0.0;
24757                rel1 {
24758                   relative: 0.0  0.5;
24759                   offset:   4 4;
24760                }
24761                rel2 {
24762                   relative: 1.0  1.0;
24763                   offset:   -1 -5;
24764                }
24765                color: 0 0 0 128;
24766                color3: 0 0 0 0;
24767                text {
24768                   font: "Sans";
24769                   size: 8;
24770                   min: 0 1;
24771                   align: 0.0 0.5;
24772                }
24773             }
24774             description { state: "selected" 0.0;
24775                inherit: "default" 0.0;
24776                color: 128 128 128 255;
24777                color3: 0 0 0 32;
24778             }
24779          }
24780          part { name: "fg1";
24781             clip_to: "disclip";
24782             mouse_events: 0;
24783             description { state: "default" 0.0;
24784                visible: 0;
24785                color: 255 255 255 0;
24786                rel1.to: "bg";
24787                rel2.relative: 1.0 0.5;
24788                rel2.to: "bg";
24789                image {
24790                   normal: "bt_sm_hilight.png";
24791                   border: 6 6 6 0;
24792                }
24793             }
24794             description { state: "selected" 0.0;
24795                inherit: "default" 0.0;
24796                visible: 1;
24797                color: 255 255 255 255;
24798             }
24799          }
24800          part { name: "fg2";
24801             clip_to: "disclip";
24802             mouse_events: 0;
24803             description { state: "default" 0.0;
24804                visible: 0;
24805                color: 255 255 255 0;
24806                rel1.to: "bg";
24807                rel2.to: "bg";
24808                image {
24809                   normal: "bt_sm_shine.png";
24810                   border: 6 6 6 0;
24811                }
24812             }
24813             description { state: "selected" 0.0;
24814                inherit: "default" 0.0;
24815                visible: 1;
24816                color: 255 255 255 255;
24817             }
24818          }
24819          part { name: "disclip";
24820             type: RECT;
24821             description { state: "default" 0.0;
24822                rel1.to: "bg";
24823                rel2.to: "bg";
24824             }
24825             description { state: "disabled" 0.0;
24826                inherit: "default" 0.0;
24827                color: 255 255 255 64;
24828             }
24829          }
24830       }
24831       programs {
24832          // signal: elm,state,%s,active
24833          //   a "check" item named %s went active
24834          // signal: elm,state,%s,passive
24835          //   a "check" item named %s went passive
24836          // default is passive
24837          program {
24838             name:    "go_active";
24839             signal:  "elm,state,selected";
24840             source:  "elm";
24841             action:  STATE_SET "selected" 0.0;
24842             target:  "bg";
24843             target:  "fg1";
24844             target:  "fg2";
24845             target:  "elm.text.title";
24846             target:  "elm.text.album-artist";
24847          }
24848          program {
24849             name:    "go_passive";
24850             signal:  "elm,state,unselected";
24851             source:  "elm";
24852             action:  STATE_SET "default" 0.0;
24853             target:  "bg";
24854             target:  "fg1";
24855             target:  "fg2";
24856             target:  "elm.text.title";
24857             target:  "elm.text.album-artist";
24858             transition: LINEAR 0.1;
24859          }
24860          program {
24861             name:    "go_disabled";
24862             signal:  "elm,state,disabled";
24863             source:  "elm";
24864             action:  STATE_SET "disabled" 0.0;
24865             target:  "disclip";
24866          }
24867          program {
24868             name:    "go_enabled";
24869             signal:  "elm,state,enabled";
24870             source:  "elm";
24871             action:  STATE_SET "default" 0.0;
24872             target:  "disclip";
24873          }
24874       }
24875    }
24876    group { name: "elm/genlist/item_compress_odd/media/default";
24877       data.item: "stacking" "below";
24878       data.item: "selectraise" "on";
24879       data.item: "labels" "elm.text.title elm.text.album-artist";
24880       data.item: "treesize" "20";
24881       images {
24882          image: "bt_sm_base1.png" COMP;
24883          image: "bt_sm_shine.png" COMP;
24884          image: "bt_sm_hilight.png" COMP;
24885          image: "ilist_2.png" COMP;
24886       }
24887       parts {
24888          part { name: "event";
24889             type: RECT;
24890             repeat_events: 1;
24891             description {
24892                state: "default" 0.0;
24893                color: 0 0 0 0;
24894             }
24895          }
24896          part {
24897             name: "base";
24898             mouse_events: 0;
24899             description {
24900                state: "default" 0.0;
24901                image {
24902                   normal: "ilist_2.png";
24903                   border: 2 2 2 2;
24904                }
24905                fill.smooth: 0;
24906             }
24907          }
24908          part { name: "bg";
24909             clip_to: "disclip";
24910             mouse_events: 0;
24911             description { state: "default" 0.0;
24912                visible: 0;
24913                color: 255 255 255 0;
24914                rel1 {
24915                   relative: 0.0 0.0;
24916                   offset: -5 -5;
24917                }
24918                rel2 {
24919                   relative: 1.0 1.0;
24920                   offset: 4 4;
24921                }
24922                image {
24923                   normal: "bt_sm_base1.png";
24924                   border: 6 6 6 6;
24925                }
24926                image.middle: SOLID;
24927             }
24928             description { state: "selected" 0.0;
24929                inherit: "default" 0.0;
24930                visible: 1;
24931                color: 255 255 255 255;
24932                rel1 {
24933                   relative: 0.0 0.0;
24934                   offset: -2 -2;
24935                }
24936                rel2 {
24937                   relative: 1.0 1.0;
24938                   offset: 1 1;
24939                }
24940             }
24941          }
24942          part { name: "elm.swallow.pad";
24943             type: SWALLOW;
24944             description { state: "default" 0.0;
24945                fixed: 1 0;
24946                align: 0.0 0.5;
24947                rel1 {
24948                   relative: 0.0  0.0;
24949                   offset:   4    4;
24950                }
24951                rel2 {
24952                   relative: 0.0  1.0;
24953                   offset:   4   -5;
24954                }
24955             }
24956          }
24957          part { name: "elm.text.title";
24958             clip_to: "disclip";
24959             type:           TEXT;
24960             effect:         SOFT_SHADOW;
24961             mouse_events:   0;
24962             scale: 1;
24963             description {
24964                state: "default" 0.0;
24965                rel1 {
24966                   relative: 0.0  0.0;
24967                   offset:   4 4;
24968                }
24969                rel2 {
24970                   relative: 1.0  0.5;
24971                   offset:   -1 -5;
24972                }
24973                color: 0 0 0 255;
24974                color3: 0 0 0 0;
24975                text {
24976                   font: "Sans";
24977                   size: 10;
24978                   min: 0 1;
24979                   align: 0.0 0.5;
24980                }
24981             }
24982             description { state: "selected" 0.0;
24983                inherit: "default" 0.0;
24984                color: 224 224 224 255;
24985                color3: 0 0 0 64;
24986             }
24987          }
24988          part { name: "elm.text.album-artist";
24989             clip_to: "disclip";
24990             type:           TEXT;
24991             mouse_events:   0;
24992             scale: 1;
24993             description {
24994                state: "default" 0.0;
24995                rel1 {
24996                   relative: 0.0  0.5;
24997                   offset:   4 4;
24998                }
24999                rel2 {
25000                   relative: 1.0  1.0;
25001                   offset:   -1 -5;
25002                }
25003                color: 0 0 0 128;
25004                color3: 0 0 0 0;
25005                text {
25006                   font: "Sans";
25007                   size: 8;
25008                   min: 0 1;
25009                   align: 0.0 0.5;
25010                }
25011             }
25012             description { state: "selected" 0.0;
25013                inherit: "default" 0.0;
25014                color: 128 128 128 255;
25015                color3: 0 0 0 32;
25016             }
25017          }
25018          part { name: "fg1";
25019             clip_to: "disclip";
25020             mouse_events: 0;
25021             description { state: "default" 0.0;
25022                visible: 0;
25023                color: 255 255 255 0;
25024                rel1.to: "bg";
25025                rel2.relative: 1.0 0.5;
25026                rel2.to: "bg";
25027                image {
25028                   normal: "bt_sm_hilight.png";
25029                   border: 6 6 6 0;
25030                }
25031             }
25032             description { state: "selected" 0.0;
25033                inherit: "default" 0.0;
25034                visible: 1;
25035                color: 255 255 255 255;
25036             }
25037          }
25038          part { name: "fg2";
25039             clip_to: "disclip";
25040             mouse_events: 0;
25041             description { state: "default" 0.0;
25042                visible: 0;
25043                color: 255 255 255 0;
25044                rel1.to: "bg";
25045                rel2.to: "bg";
25046                image {
25047                   normal: "bt_sm_shine.png";
25048                   border: 6 6 6 0;
25049                }
25050             }
25051             description { state: "selected" 0.0;
25052                inherit: "default" 0.0;
25053                visible: 1;
25054                color: 255 255 255 255;
25055             }
25056          }
25057          part { name: "disclip";
25058             type: RECT;
25059             description { state: "default" 0.0;
25060                rel1.to: "bg";
25061                rel2.to: "bg";
25062             }
25063             description { state: "disabled" 0.0;
25064                inherit: "default" 0.0;
25065                color: 255 255 255 64;
25066             }
25067          }
25068       }
25069       programs {
25070          // signal: elm,state,%s,active
25071          //   a "check" item named %s went active
25072          // signal: elm,state,%s,passive
25073          //   a "check" item named %s went passive
25074          // default is passive
25075          program {
25076             name:    "go_active";
25077             signal:  "elm,state,selected";
25078             source:  "elm";
25079             action:  STATE_SET "selected" 0.0;
25080             target:  "bg";
25081             target:  "fg1";
25082             target:  "fg2";
25083             target:  "elm.text.title";
25084             target:  "elm.text.album-artist";
25085          }
25086          program {
25087             name:    "go_passive";
25088             signal:  "elm,state,unselected";
25089             source:  "elm";
25090             action:  STATE_SET "default" 0.0;
25091             target:  "bg";
25092             target:  "fg1";
25093             target:  "fg2";
25094             target:  "elm.text.title";
25095             target:  "elm.text.album-artist";
25096             transition: LINEAR 0.1;
25097          }
25098          program {
25099             name:    "go_disabled";
25100             signal:  "elm,state,disabled";
25101             source:  "elm";
25102             action:  STATE_SET "disabled" 0.0;
25103             target:  "disclip";
25104          }
25105          program {
25106             name:    "go_enabled";
25107             signal:  "elm,state,enabled";
25108             source:  "elm";
25109             action:  STATE_SET "default" 0.0;
25110             target:  "disclip";
25111          }
25112       }
25113    }
25114
25115    group { name: "elm/genlist/item_compress/media-album/default";
25116       data.item: "stacking" "above";
25117       data.item: "selectraise" "on";
25118       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25119       data.item: "states" "elm.state.trackno";
25120       data.item: "treesize" "20";
25121       images {
25122          image: "bt_sm_base1.png" COMP;
25123          image: "bt_sm_shine.png" COMP;
25124          image: "bt_sm_hilight.png" COMP;
25125          image: "ilist_1.png" COMP;
25126          image: "ilist_item_shadow.png" COMP;
25127       }
25128       script {
25129          public dot_visible;
25130       }
25131       parts {
25132          part {
25133             name: "event";
25134             type: RECT;
25135             repeat_events: 1;
25136             description {
25137                state: "default" 0.0;
25138                color: 0 0 0 0;
25139             }
25140          }
25141          part {
25142             name: "base_sh";
25143             mouse_events: 0;
25144             description {
25145                state: "default" 0.0;
25146                align: 0.0 0.0;
25147                min: 0 10;
25148                fixed: 1 1;
25149                rel1 {
25150                   to: "base";
25151                   relative: 0.0 1.0;
25152                   offset: 0 0;
25153                }
25154                rel2 {
25155                   to: "base";
25156                   relative: 1.0 1.0;
25157                   offset: -1 0;
25158                }
25159                image {
25160                   normal: "ilist_item_shadow.png";
25161                }
25162                fill.smooth: 0;
25163             }
25164          }
25165          part {
25166             name: "base";
25167             mouse_events: 0;
25168             description {
25169                state: "default" 0.0;
25170                image {
25171                   normal: "ilist_1.png";
25172                   border: 2 2 2 2;
25173                }
25174                fill.smooth: 0;
25175             }
25176          }
25177          part { name: "bg";
25178             clip_to: "disclip";
25179             mouse_events: 0;
25180             description { state: "default" 0.0;
25181                visible: 0;
25182                color: 255 255 255 0;
25183                rel1 {
25184                   relative: 0.0 0.0;
25185                   offset: -5 -5;
25186                }
25187                rel2 {
25188                   relative: 1.0 1.0;
25189                   offset: 4 4;
25190                }
25191                image {
25192                   normal: "bt_sm_base1.png";
25193                   border: 6 6 6 6;
25194                }
25195                image.middle: SOLID;
25196             }
25197             description { state: "selected" 0.0;
25198                inherit: "default" 0.0;
25199                visible: 1;
25200                color: 255 255 255 255;
25201                rel1 {
25202                   relative: 0.0 0.0;
25203                   offset: -2 -2;
25204                }
25205                rel2 {
25206                   relative: 1.0 1.0;
25207                   offset: 1 1;
25208                }
25209             }
25210          }
25211          part { name: "elm.swallow.pad";
25212             type: SWALLOW;
25213             description { state: "default" 0.0;
25214                fixed: 1 0;
25215                align: 0.0 0.5;
25216                rel1 {
25217                   relative: 0.0  0.0;
25218                   offset:   4    4;
25219                }
25220                rel2 {
25221                   relative: 0.0  1.0;
25222                   offset:   4   -5;
25223                }
25224             }
25225          }
25226          part {
25227             name: "elm.text.trackno";
25228             type: TEXT;
25229             scale: 1;
25230             mouse_events: 0;
25231             description {
25232                state: "default" 0.0;
25233                color: 255 255 255 255;
25234                align: 0.0 0.0;
25235                fixed: 1 0;
25236                rel1 {
25237                   to_y: "elm.text.title";
25238                   relative: 0.0 0.0;
25239                   offset: 5 0;
25240                }
25241                rel2 {
25242                   to_y: "elm.text.title";
25243                   relative: 0.0 1.0;
25244                   offset: 20 0;
25245                }
25246                color: 0 0 0 255;
25247                color3: 0 0 0 0;
25248                text {
25249                   font: "Sans";
25250                   size: 10;
25251                   min: 1 1;
25252                   align: 1.0 0.5;
25253                }
25254             }
25255             description { state: "selected" 0.0;
25256                inherit: "default" 0.0;
25257                color: 224 224 224 255;
25258                color3: 0 0 0 64;
25259             }
25260          }
25261          part {
25262             name: "dot";
25263             type: TEXT;
25264             scale: 1;
25265             mouse_events: 0;
25266             description {
25267                state: "default" 0.0;
25268                color: 255 255 255 255;
25269                visible: 0;
25270                fixed: 1 1;
25271                align: 0.0 0.0;
25272                rel1 {
25273                   to_x: "elm.text.trackno";
25274                   to_y: "elm.text.title";
25275                   relative: 1.0 0.0;
25276                   offset: 1 0;
25277                }
25278                rel2 {
25279                   to_x: "elm.text.trackno";
25280                   to_y: "elm.text.title";
25281                   relative: 1.0 1.0;
25282                   offset: 1 0;
25283
25284                }
25285                color: 0 0 0 255;
25286                color3: 0 0 0 0;
25287                text {
25288                   font: "Sans";
25289                   size: 10;
25290                   min: 1 1;
25291                   align: 0.0 0.5;
25292                   text: ".";
25293                }
25294             }
25295             description {
25296                state: "visible" 0.0;
25297                inherit: "default" 0.0;
25298                visible: 1;
25299             }
25300             description { state: "selected" 0.0;
25301                inherit: "default" 0.0;
25302                color: 224 224 224 255;
25303                color3: 0 0 0 64;
25304                visible: 1;
25305             }
25306          }
25307          programs {
25308             program {
25309                signal: "elm,state,elm.state.trackno,active";
25310                source: "elm";
25311                script {
25312                   set_state(PART:"dot", "visible", 0.0);
25313                   set_int(dot_visible, 1);
25314                }
25315             }
25316          }
25317          part { name: "elm.text.title";
25318             clip_to: "disclip";
25319             type:           TEXT;
25320             effect:         SOFT_SHADOW;
25321             mouse_events:   0;
25322             scale: 1;
25323             description {
25324                state: "default" 0.0;
25325                rel1 {
25326                   to_x: "dot";
25327                   relative: 0.0  0.0;
25328                   offset:   4 4;
25329                }
25330                rel2 {
25331                   relative: 1.0  0.5;
25332                   offset:   -1 -5;
25333                }
25334                color: 0 0 0 255;
25335                color3: 0 0 0 0;
25336                text {
25337                   font: "Sans";
25338                   size: 10;
25339                   min: 0 1;
25340                   align: 0.0 0.5;
25341                }
25342             }
25343             description { state: "selected" 0.0;
25344                inherit: "default" 0.0;
25345                color: 224 224 224 255;
25346                color3: 0 0 0 64;
25347             }
25348          }
25349          part { name: "elm.text.length";
25350             clip_to: "disclip";
25351             type:           TEXT;
25352             mouse_events:   0;
25353             scale: 1;
25354             description {
25355                state: "default" 0.0;
25356                rel1 {
25357                   relative: 0.0  0.5;
25358                   offset:   4 4;
25359                }
25360                rel2 {
25361                   relative: 1.0  1.0;
25362                   offset:   -1 -5;
25363                }
25364                color: 0 0 0 128;
25365                color3: 0 0 0 0;
25366                text {
25367                   font: "Sans";
25368                   size: 8;
25369                   min: 0 1;
25370                   align: 0.0 0.5;
25371                }
25372             }
25373             description { state: "selected" 0.0;
25374                inherit: "default" 0.0;
25375                color: 128 128 128 255;
25376                color3: 0 0 0 32;
25377             }
25378          }
25379          part { name: "fg1";
25380             clip_to: "disclip";
25381             mouse_events: 0;
25382             description { state: "default" 0.0;
25383                visible: 0;
25384                color: 255 255 255 0;
25385                rel1.to: "bg";
25386                rel2.relative: 1.0 0.5;
25387                rel2.to: "bg";
25388                image {
25389                   normal: "bt_sm_hilight.png";
25390                   border: 6 6 6 0;
25391                }
25392             }
25393             description { state: "selected" 0.0;
25394                inherit: "default" 0.0;
25395                visible: 1;
25396                color: 255 255 255 255;
25397             }
25398          }
25399          part { name: "fg2";
25400             clip_to: "disclip";
25401             mouse_events: 0;
25402             description { state: "default" 0.0;
25403                visible: 0;
25404                color: 255 255 255 0;
25405                rel1.to: "bg";
25406                rel2.to: "bg";
25407                image {
25408                   normal: "bt_sm_shine.png";
25409                   border: 6 6 6 0;
25410                }
25411             }
25412             description { state: "selected" 0.0;
25413                inherit: "default" 0.0;
25414                visible: 1;
25415                color: 255 255 255 255;
25416             }
25417          }
25418          part { name: "disclip";
25419             type: RECT;
25420             description { state: "default" 0.0;
25421                rel1.to: "bg";
25422                rel2.to: "bg";
25423             }
25424             description { state: "disabled" 0.0;
25425                inherit: "default" 0.0;
25426                color: 255 255 255 64;
25427             }
25428          }
25429       }
25430       programs {
25431          // signal: elm,state,%s,active
25432          //   a "check" item named %s went active
25433          // signal: elm,state,%s,passive
25434          //   a "check" item named %s went passive
25435          // default is passive
25436          program {
25437             name:    "go_active";
25438             signal:  "elm,state,selected";
25439             source:  "elm";
25440             action:  STATE_SET "selected" 0.0;
25441             target:  "bg";
25442             target:  "fg1";
25443             target:  "fg2";
25444             target:  "elm.text.title";
25445             target:  "elm.text.trackno";
25446             target:  "elm.text.length";
25447             after:   "dot_active";
25448          }
25449          program {
25450             name: "dot_active";
25451             script {
25452                if (get_int(dot_visible) == 1)
25453                   set_state(PART:"dot", "selected", 0.0);
25454             }
25455          }
25456          program {
25457             name:    "go_passive";
25458             signal:  "elm,state,unselected";
25459             source:  "elm";
25460             action:  STATE_SET "default" 0.0;
25461             target:  "bg";
25462             target:  "fg1";
25463             target:  "fg2";
25464             target:  "elm.text.title";
25465             target:  "elm.text.length";
25466             target:  "elm.text.trackno";
25467             transition: LINEAR 0.1;
25468             after:   "dot_passive";
25469          }
25470          program {
25471             name: "dot_passive";
25472             script {
25473                if (get_int(dot_visible) == 1)
25474                   set_state(PART:"dot", "visible", 0.0);
25475             }
25476          }
25477          program {
25478             name:    "go_disabled";
25479             signal:  "elm,state,disabled";
25480             source:  "elm";
25481             action:  STATE_SET "disabled" 0.0;
25482             target:  "disclip";
25483          }
25484          program {
25485             name:    "go_enabled";
25486             signal:  "elm,state,enabled";
25487             source:  "elm";
25488             action:  STATE_SET "default" 0.0;
25489             target:  "disclip";
25490          }
25491       }
25492    }
25493    group { name: "elm/genlist/item_compress_odd/media-album/default";
25494       data.item: "stacking" "below";
25495       data.item: "selectraise" "on";
25496       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25497       data.item: "states" "elm.state.trackno";
25498       data.item: "treesize" "20";
25499       images {
25500          image: "bt_sm_base1.png" COMP;
25501          image: "bt_sm_shine.png" COMP;
25502          image: "bt_sm_hilight.png" COMP;
25503          image: "ilist_2.png" COMP;
25504       }
25505       script {
25506          public dot_visible;
25507       }
25508       parts {
25509          part { name: "event";
25510             type: RECT;
25511             repeat_events: 1;
25512             description {
25513                state: "default" 0.0;
25514                color: 0 0 0 0;
25515             }
25516          }
25517          part {
25518             name: "base";
25519             mouse_events: 0;
25520             description {
25521                state: "default" 0.0;
25522                image {
25523                   normal: "ilist_2.png";
25524                   border: 2 2 2 2;
25525                }
25526                fill.smooth: 0;
25527             }
25528          }
25529          part { name: "bg";
25530             clip_to: "disclip";
25531             mouse_events: 0;
25532             description { state: "default" 0.0;
25533                visible: 0;
25534                color: 255 255 255 0;
25535                rel1 {
25536                   relative: 0.0 0.0;
25537                   offset: -5 -5;
25538                }
25539                rel2 {
25540                   relative: 1.0 1.0;
25541                   offset: 4 4;
25542                }
25543                image {
25544                   normal: "bt_sm_base1.png";
25545                   border: 6 6 6 6;
25546                }
25547                image.middle: SOLID;
25548             }
25549             description { state: "selected" 0.0;
25550                inherit: "default" 0.0;
25551                visible: 1;
25552                color: 255 255 255 255;
25553                rel1 {
25554                   relative: 0.0 0.0;
25555                   offset: -2 -2;
25556                }
25557                rel2 {
25558                   relative: 1.0 1.0;
25559                   offset: 1 1;
25560                }
25561             }
25562          }
25563          part { name: "elm.swallow.pad";
25564             type: SWALLOW;
25565             description { state: "default" 0.0;
25566                fixed: 1 0;
25567                align: 0.0 0.5;
25568                rel1 {
25569                   relative: 0.0  0.0;
25570                   offset:   4    4;
25571                }
25572                rel2 {
25573                   relative: 0.0  1.0;
25574                   offset:   4   -5;
25575                }
25576             }
25577          }
25578          part {
25579             name: "elm.text.trackno";
25580             type: TEXT;
25581             scale: 1;
25582             mouse_events: 0;
25583             description {
25584                state: "default" 0.0;
25585                color: 255 255 255 255;
25586                align: 0.0 0.0;
25587                fixed: 1 0;
25588                rel1 {
25589                   to_y: "elm.text.title";
25590                   relative: 0.0 0.0;
25591                   offset: 5 0;
25592                }
25593                rel2 {
25594                   to_y: "elm.text.title";
25595                   relative: 0.0 1.0;
25596                   offset: 20 0;
25597                }
25598                color: 0 0 0 255;
25599                color3: 0 0 0 0;
25600                text {
25601                   font: "Sans";
25602                   size: 10;
25603                   min: 1 1;
25604                   align: 1.0 0.5;
25605                }
25606             }
25607             description { state: "selected" 0.0;
25608                inherit: "default" 0.0;
25609                color: 224 224 224 255;
25610                color3: 0 0 0 64;
25611             }
25612          }
25613          part {
25614             name: "dot";
25615             type: TEXT;
25616             scale: 1;
25617             mouse_events: 0;
25618             description {
25619                state: "default" 0.0;
25620                color: 255 255 255 255;
25621                visible: 0;
25622                fixed: 1 1;
25623                align: 0.0 0.0;
25624                rel1 {
25625                   to_x: "elm.text.trackno";
25626                   to_y: "elm.text.title";
25627                   relative: 1.0 0.0;
25628                   offset: 1 0;
25629                }
25630                rel2 {
25631                   to_x: "elm.text.trackno";
25632                   to_y: "elm.text.title";
25633                   relative: 1.0 1.0;
25634                   offset: 1 0;
25635
25636                }
25637                color: 0 0 0 255;
25638                color3: 0 0 0 0;
25639                text {
25640                   font: "Sans";
25641                   size: 10;
25642                   min: 1 1;
25643                   align: 0.0 0.5;
25644                   text: ".";
25645                }
25646             }
25647             description {
25648                state: "visible" 0.0;
25649                inherit: "default" 0.0;
25650                visible: 1;
25651             }
25652             description { state: "selected" 0.0;
25653                inherit: "default" 0.0;
25654                color: 224 224 224 255;
25655                color3: 0 0 0 64;
25656                visible: 1;
25657             }
25658          }
25659          programs {
25660             program {
25661                signal: "elm,state,elm.state.trackno,active";
25662                source: "elm";
25663                script {
25664                   set_state(PART:"dot", "visible", 0.0);
25665                   set_int(dot_visible, 1);
25666                }
25667             }
25668          }
25669          part { name: "elm.text.title";
25670             clip_to: "disclip";
25671             type:           TEXT;
25672             effect:         SOFT_SHADOW;
25673             mouse_events:   0;
25674             scale: 1;
25675             description {
25676                state: "default" 0.0;
25677                rel1 {
25678                   to_x: "dot";
25679                   relative: 1.0  0.0;
25680                   offset:   4 4;
25681                }
25682                rel2 {
25683                   relative: 1.0  0.5;
25684                   offset:   -1 -5;
25685                }
25686                color: 0 0 0 255;
25687                color3: 0 0 0 0;
25688                text {
25689                   font: "Sans";
25690                   size: 10;
25691                   min: 0 1;
25692                   align: 0.0 0.5;
25693                }
25694             }
25695             description { state: "selected" 0.0;
25696                inherit: "default" 0.0;
25697                color: 224 224 224 255;
25698                color3: 0 0 0 64;
25699             }
25700          }
25701          part { name: "elm.text.length";
25702             clip_to: "disclip";
25703             type:           TEXT;
25704             mouse_events:   0;
25705             scale: 1;
25706             description {
25707                state: "default" 0.0;
25708                rel1 {
25709                   relative: 0.0  0.5;
25710                   offset:   4 4;
25711                }
25712                rel2 {
25713                   relative: 1.0  1.0;
25714                   offset:   -1 -5;
25715                }
25716                color: 0 0 0 128;
25717                color3: 0 0 0 0;
25718                text {
25719                   font: "Sans";
25720                   size: 8;
25721                   min: 0 1;
25722                   align: 0.0 0.5;
25723                }
25724             }
25725             description { state: "selected" 0.0;
25726                inherit: "default" 0.0;
25727                color: 128 128 128 255;
25728                color3: 0 0 0 32;
25729             }
25730          }
25731          part { name: "fg1";
25732             clip_to: "disclip";
25733             mouse_events: 0;
25734             description { state: "default" 0.0;
25735                visible: 0;
25736                color: 255 255 255 0;
25737                rel1.to: "bg";
25738                rel2.relative: 1.0 0.5;
25739                rel2.to: "bg";
25740                image {
25741                   normal: "bt_sm_hilight.png";
25742                   border: 6 6 6 0;
25743                }
25744             }
25745             description { state: "selected" 0.0;
25746                inherit: "default" 0.0;
25747                visible: 1;
25748                color: 255 255 255 255;
25749             }
25750          }
25751          part { name: "fg2";
25752             clip_to: "disclip";
25753             mouse_events: 0;
25754             description { state: "default" 0.0;
25755                visible: 0;
25756                color: 255 255 255 0;
25757                rel1.to: "bg";
25758                rel2.to: "bg";
25759                image {
25760                   normal: "bt_sm_shine.png";
25761                   border: 6 6 6 0;
25762                }
25763             }
25764             description { state: "selected" 0.0;
25765                inherit: "default" 0.0;
25766                visible: 1;
25767                color: 255 255 255 255;
25768             }
25769          }
25770          part { name: "disclip";
25771             type: RECT;
25772             description { state: "default" 0.0;
25773                rel1.to: "bg";
25774                rel2.to: "bg";
25775             }
25776             description { state: "disabled" 0.0;
25777                inherit: "default" 0.0;
25778                color: 255 255 255 64;
25779             }
25780          }
25781       }
25782       programs {
25783          // signal: elm,state,%s,active
25784          //   a "check" item named %s went active
25785          // signal: elm,state,%s,passive
25786          //   a "check" item named %s went passive
25787          // default is passive
25788          program {
25789             name:    "go_active";
25790             signal:  "elm,state,selected";
25791             source:  "elm";
25792             action:  STATE_SET "selected" 0.0;
25793             target:  "bg";
25794             target:  "fg1";
25795             target:  "fg2";
25796             target:  "elm.text.title";
25797             target:  "elm.text.length";
25798             target:  "elm.text.trackno";
25799             after:   "dot_active";
25800          }
25801          program {
25802             name: "dot_active";
25803             script {
25804                if (get_int(dot_visible) == 1)
25805                   set_state(PART:"dot", "selected", 0.0);
25806             }
25807          }
25808          program {
25809             name:    "go_passive";
25810             signal:  "elm,state,unselected";
25811             source:  "elm";
25812             action:  STATE_SET "default" 0.0;
25813             target:  "bg";
25814             target:  "fg1";
25815             target:  "fg2";
25816             target:  "elm.text.title";
25817             target:  "elm.text.length";
25818             target:  "elm.text.trackno";
25819             transition: LINEAR 0.1;
25820             after:   "dot_passive";
25821          }
25822          program {
25823             name: "dot_passive";
25824             script {
25825                if (get_int(dot_visible) == 1)
25826                   set_state(PART:"dot", "visible", 0.0);
25827             }
25828          }
25829          program {
25830             name:    "go_disabled";
25831             signal:  "elm,state,disabled";
25832             source:  "elm";
25833             action:  STATE_SET "disabled" 0.0;
25834             target:  "disclip";
25835          }
25836          program {
25837             name:    "go_enabled";
25838             signal:  "elm,state,enabled";
25839             source:  "elm";
25840             action:  STATE_SET "default" 0.0;
25841             target:  "disclip";
25842          }
25843       }
25844    }
25845
25846    group { name: "elm/genlist/item_compress/media-preview/default";
25847       data.item: "stacking" "above";
25848       data.item: "selectraise" "on";
25849       data.item: "labels" "elm.text.title elm.text.artist";
25850       data.item: "icons" "elm.swallow.preview";
25851       data.item: "treesize" "20";
25852       images {
25853          image: "bt_sm_base1.png" COMP;
25854          image: "bt_sm_shine.png" COMP;
25855          image: "bt_sm_hilight.png" COMP;
25856          image: "ilist_1.png" COMP;
25857          image: "ilist_item_shadow.png" COMP;
25858       }
25859       parts {
25860          part {
25861             name: "event";
25862             type: RECT;
25863             repeat_events: 1;
25864             description {
25865                state: "default" 0.0;
25866                color: 0 0 0 0;
25867             }
25868          }
25869          part {
25870             name: "base_sh";
25871             mouse_events: 0;
25872             description {
25873                state: "default" 0.0;
25874                align: 0.0 0.0;
25875                min: 0 10;
25876                fixed: 1 1;
25877                rel1 {
25878                   to: "base";
25879                   relative: 0.0 1.0;
25880                   offset: 0 0;
25881                }
25882                rel2 {
25883                   to: "base";
25884                   relative: 1.0 1.0;
25885                   offset: -1 0;
25886                }
25887                image {
25888                   normal: "ilist_item_shadow.png";
25889                }
25890                fill.smooth: 0;
25891             }
25892          }
25893          part {
25894             name: "base";
25895             mouse_events: 0;
25896             description {
25897                state: "default" 0.0;
25898                image {
25899                   normal: "ilist_1.png";
25900                   border: 2 2 2 2;
25901                }
25902                fill.smooth: 0;
25903             }
25904          }
25905          part { name: "bg";
25906             clip_to: "disclip";
25907             mouse_events: 0;
25908             description { state: "default" 0.0;
25909                visible: 0;
25910                color: 255 255 255 0;
25911                rel1 {
25912                   relative: 0.0 0.0;
25913                   offset: -5 -5;
25914                }
25915                rel2 {
25916                   relative: 1.0 1.0;
25917                   offset: 4 4;
25918                }
25919                image {
25920                   normal: "bt_sm_base1.png";
25921                   border: 6 6 6 6;
25922                }
25923                image.middle: SOLID;
25924             }
25925             description { state: "selected" 0.0;
25926                inherit: "default" 0.0;
25927                visible: 1;
25928                color: 255 255 255 255;
25929                rel1 {
25930                   relative: 0.0 0.0;
25931                   offset: -2 -2;
25932                }
25933                rel2 {
25934                   relative: 1.0 1.0;
25935                   offset: 1 1;
25936                }
25937             }
25938          }
25939          part { name: "elm.swallow.pad";
25940             type: SWALLOW;
25941             description { state: "default" 0.0;
25942                fixed: 1 0;
25943                align: 0.0 0.5;
25944                rel1 {
25945                   relative: 0.0  0.0;
25946                   offset:   4    4;
25947                }
25948                rel2 {
25949                   relative: 0.0  1.0;
25950                   offset:   4   -5;
25951                }
25952             }
25953          }
25954          part { name: "elm.swallow.preview";
25955             clip_to: "disclip";
25956             type: SWALLOW;
25957             description { state: "default" 0.0;
25958                fixed: 1 0;
25959                align: 0.0 0.5;
25960                min: 68 68;
25961                max: 68 68;
25962                rel1 {
25963                   to_x: "elm.swallow.pad";
25964                   relative: 1.0  0.0;
25965                   offset:   -1    4;
25966                }
25967                rel2 {
25968                   to_x: "elm.swallow.pad";
25969                   relative: 1.0  1.0;
25970                   offset:   -1   -5;
25971                }
25972             }
25973          }
25974          part { name: "elm.text.title";
25975             clip_to: "disclip";
25976             type:           TEXT;
25977             effect:         SOFT_SHADOW;
25978             mouse_events:   0;
25979             scale: 1;
25980             description {
25981                state: "default" 0.0;
25982                rel1 {
25983                   to_x:     "elm.swallow.preview";
25984                   relative: 1.0  0.0;
25985                   offset:   4 4;
25986                }
25987                rel2 {
25988                   relative: 1.0  0.5;
25989                   offset:   -1 -5;
25990                }
25991                color: 0 0 0 255;
25992                color3: 0 0 0 0;
25993                text {
25994                   font: "Sans";
25995                   size: 10;
25996                   min: 0 1;
25997                   align: 0.0 0.5;
25998                }
25999             }
26000             description { state: "selected" 0.0;
26001                inherit: "default" 0.0;
26002                color: 224 224 224 255;
26003                color3: 0 0 0 64;
26004             }
26005          }
26006          part { name: "elm.text.artist";
26007             clip_to: "disclip";
26008             type:           TEXT;
26009             mouse_events:   0;
26010             scale: 1;
26011             description {
26012                state: "default" 0.0;
26013                rel1 {
26014                   to_x:     "elm.swallow.preview";
26015                   relative: 1.0  0.5;
26016                   offset:   4 4;
26017                }
26018                rel2 {
26019                   relative: 1.0  1.0;
26020                   offset:   -1 -5;
26021                }
26022                color: 0 0 0 128;
26023                color3: 0 0 0 0;
26024                text {
26025                   font: "Sans";
26026                   size: 8;
26027                   min: 0 1;
26028                   align: 0.0 0.5;
26029                }
26030             }
26031             description { state: "selected" 0.0;
26032                inherit: "default" 0.0;
26033                color: 128 128 128 255;
26034                color3: 0 0 0 32;
26035             }
26036          }
26037          part { name: "fg1";
26038             clip_to: "disclip";
26039             mouse_events: 0;
26040             description { state: "default" 0.0;
26041                visible: 0;
26042                color: 255 255 255 0;
26043                rel1.to: "bg";
26044                rel2.relative: 1.0 0.5;
26045                rel2.to: "bg";
26046                image {
26047                   normal: "bt_sm_hilight.png";
26048                   border: 6 6 6 0;
26049                }
26050             }
26051             description { state: "selected" 0.0;
26052                inherit: "default" 0.0;
26053                visible: 1;
26054                color: 255 255 255 255;
26055             }
26056          }
26057          part { name: "fg2";
26058             clip_to: "disclip";
26059             mouse_events: 0;
26060             description { state: "default" 0.0;
26061                visible: 0;
26062                color: 255 255 255 0;
26063                rel1.to: "bg";
26064                rel2.to: "bg";
26065                image {
26066                   normal: "bt_sm_shine.png";
26067                   border: 6 6 6 0;
26068                }
26069             }
26070             description { state: "selected" 0.0;
26071                inherit: "default" 0.0;
26072                visible: 1;
26073                color: 255 255 255 255;
26074             }
26075          }
26076          part { name: "disclip";
26077             type: RECT;
26078             description { state: "default" 0.0;
26079                rel1.to: "bg";
26080                rel2.to: "bg";
26081             }
26082             description { state: "disabled" 0.0;
26083                inherit: "default" 0.0;
26084                color: 255 255 255 64;
26085             }
26086          }
26087       }
26088       programs {
26089          // signal: elm,state,%s,active
26090          //   a "check" item named %s went active
26091          // signal: elm,state,%s,passive
26092          //   a "check" item named %s went passive
26093          // default is passive
26094          program {
26095             name:    "go_active";
26096             signal:  "elm,state,selected";
26097             source:  "elm";
26098             action:  STATE_SET "selected" 0.0;
26099             target:  "bg";
26100             target:  "fg1";
26101             target:  "fg2";
26102             target:  "elm.text.title";
26103             target:  "elm.text.artist";
26104          }
26105          program {
26106             name:    "go_passive";
26107             signal:  "elm,state,unselected";
26108             source:  "elm";
26109             action:  STATE_SET "default" 0.0;
26110             target:  "bg";
26111             target:  "fg1";
26112             target:  "fg2";
26113             target:  "elm.text.title";
26114             target:  "elm.text.artist";
26115             transition: LINEAR 0.1;
26116          }
26117          program {
26118             name:    "go_disabled";
26119             signal:  "elm,state,disabled";
26120             source:  "elm";
26121             action:  STATE_SET "disabled" 0.0;
26122             target:  "disclip";
26123          }
26124          program {
26125             name:    "go_enabled";
26126             signal:  "elm,state,enabled";
26127             source:  "elm";
26128             action:  STATE_SET "default" 0.0;
26129             target:  "disclip";
26130          }
26131       }
26132    }
26133    group { name: "elm/genlist/item_compress_odd/media-preview/default";
26134       data.item: "stacking" "below";
26135       data.item: "selectraise" "on";
26136       data.item: "labels" "elm.text.title elm.text.artist";
26137       data.item: "icons" "elm.swallow.preview";
26138       data.item: "treesize" "20";
26139       images {
26140          image: "bt_sm_base1.png" COMP;
26141          image: "bt_sm_shine.png" COMP;
26142          image: "bt_sm_hilight.png" COMP;
26143          image: "ilist_2.png" COMP;
26144       }
26145       parts {
26146          part { name: "event";
26147             type: RECT;
26148             repeat_events: 1;
26149             description {
26150                state: "default" 0.0;
26151                color: 0 0 0 0;
26152             }
26153          }
26154          part {
26155             name: "base";
26156             mouse_events: 0;
26157             description {
26158                state: "default" 0.0;
26159                image {
26160                   normal: "ilist_2.png";
26161                   border: 2 2 2 2;
26162                }
26163                fill.smooth: 0;
26164             }
26165          }
26166          part { name: "bg";
26167             clip_to: "disclip";
26168             mouse_events: 0;
26169             description { state: "default" 0.0;
26170                visible: 0;
26171                color: 255 255 255 0;
26172                rel1 {
26173                   relative: 0.0 0.0;
26174                   offset: -5 -5;
26175                }
26176                rel2 {
26177                   relative: 1.0 1.0;
26178                   offset: 4 4;
26179                }
26180                image {
26181                   normal: "bt_sm_base1.png";
26182                   border: 6 6 6 6;
26183                }
26184                image.middle: SOLID;
26185             }
26186             description { state: "selected" 0.0;
26187                inherit: "default" 0.0;
26188                visible: 1;
26189                color: 255 255 255 255;
26190                rel1 {
26191                   relative: 0.0 0.0;
26192                   offset: -2 -2;
26193                }
26194                rel2 {
26195                   relative: 1.0 1.0;
26196                   offset: 1 1;
26197                }
26198             }
26199          }
26200          part { name: "elm.swallow.pad";
26201             type: SWALLOW;
26202             description { state: "default" 0.0;
26203                fixed: 1 0;
26204                align: 0.0 0.5;
26205                rel1 {
26206                   relative: 0.0  0.0;
26207                   offset:   4    4;
26208                }
26209                rel2 {
26210                   relative: 0.0  1.0;
26211                   offset:   4   -5;
26212                }
26213             }
26214          }
26215          part { name: "elm.swallow.preview";
26216             clip_to: "disclip";
26217             type: SWALLOW;
26218             description { state: "default" 0.0;
26219                fixed: 1 0;
26220                align: 0.0 0.5;
26221                min: 68 68;
26222                max: 68 68;
26223                rel1 {
26224                   to_x: "elm.swallow.pad";
26225                   relative: 1.0  0.0;
26226                   offset:   -1    4;
26227                }
26228                rel2 {
26229                   to_x: "elm.swallow.pad";
26230                   relative: 1.0  1.0;
26231                   offset:   -1   -5;
26232                }
26233             }
26234          }
26235          part { name: "elm.text.title";
26236             clip_to: "disclip";
26237             type:           TEXT;
26238             effect:         SOFT_SHADOW;
26239             mouse_events:   0;
26240             scale: 1;
26241             description {
26242                state: "default" 0.0;
26243                rel1 {
26244                   to_x:     "elm.swallow.preview";
26245                   relative: 1.0  0.0;
26246                   offset:   4 4;
26247                }
26248                rel2 {
26249                   relative: 1.0  0.5;
26250                   offset:   -1 -5;
26251                }
26252                color: 0 0 0 255;
26253                color3: 0 0 0 0;
26254                text {
26255                   font: "Sans";
26256                   size: 10;
26257                   min: 0 1;
26258                   align: 0.0 0.5;
26259                }
26260             }
26261             description { state: "selected" 0.0;
26262                inherit: "default" 0.0;
26263                color: 224 224 224 255;
26264                color3: 0 0 0 64;
26265             }
26266          }
26267          part { name: "elm.text.artist";
26268             clip_to: "disclip";
26269             type:           TEXT;
26270             mouse_events:   0;
26271             scale: 1;
26272             description {
26273                state: "default" 0.0;
26274                rel1 {
26275                   to_x:     "elm.swallow.preview";
26276                   relative: 1.0  0.5;
26277                   offset:   4 4;
26278                }
26279                rel2 {
26280                   relative: 1.0  1.0;
26281                   offset:   -1 -5;
26282                }
26283                color: 0 0 0 128;
26284                color3: 0 0 0 0;
26285                text {
26286                   font: "Sans";
26287                   size: 8;
26288                   min: 0 1;
26289                   align: 0.0 0.5;
26290                }
26291             }
26292             description { state: "selected" 0.0;
26293                inherit: "default" 0.0;
26294                color: 128 128 128 255;
26295                color3: 0 0 0 32;
26296             }
26297          }
26298          part { name: "fg1";
26299             clip_to: "disclip";
26300             mouse_events: 0;
26301             description { state: "default" 0.0;
26302                visible: 0;
26303                color: 255 255 255 0;
26304                rel1.to: "bg";
26305                rel2.relative: 1.0 0.5;
26306                rel2.to: "bg";
26307                image {
26308                   normal: "bt_sm_hilight.png";
26309                   border: 6 6 6 0;
26310                }
26311             }
26312             description { state: "selected" 0.0;
26313                inherit: "default" 0.0;
26314                visible: 1;
26315                color: 255 255 255 255;
26316             }
26317          }
26318          part { name: "fg2";
26319             clip_to: "disclip";
26320             mouse_events: 0;
26321             description { state: "default" 0.0;
26322                visible: 0;
26323                color: 255 255 255 0;
26324                rel1.to: "bg";
26325                rel2.to: "bg";
26326                image {
26327                   normal: "bt_sm_shine.png";
26328                   border: 6 6 6 0;
26329                }
26330             }
26331             description { state: "selected" 0.0;
26332                inherit: "default" 0.0;
26333                visible: 1;
26334                color: 255 255 255 255;
26335             }
26336          }
26337          part { name: "disclip";
26338             type: RECT;
26339             description { state: "default" 0.0;
26340                rel1.to: "bg";
26341                rel2.to: "bg";
26342             }
26343             description { state: "disabled" 0.0;
26344                inherit: "default" 0.0;
26345                color: 255 255 255 64;
26346             }
26347          }
26348       }
26349       programs {
26350          // signal: elm,state,%s,active
26351          //   a "check" item named %s went active
26352          // signal: elm,state,%s,passive
26353          //   a "check" item named %s went passive
26354          // default is passive
26355          program {
26356             name:    "go_active";
26357             signal:  "elm,state,selected";
26358             source:  "elm";
26359             action:  STATE_SET "selected" 0.0;
26360             target:  "bg";
26361             target:  "fg1";
26362             target:  "fg2";
26363             target:  "elm.text.title";
26364             target:  "elm.text.artist";
26365          }
26366          program {
26367             name:    "go_passive";
26368             signal:  "elm,state,unselected";
26369             source:  "elm";
26370             action:  STATE_SET "default" 0.0;
26371             target:  "bg";
26372             target:  "fg1";
26373             target:  "fg2";
26374             target:  "elm.text.title";
26375             target:  "elm.text.artist";
26376             transition: LINEAR 0.1;
26377          }
26378          program {
26379             name:    "go_disabled";
26380             signal:  "elm,state,disabled";
26381             source:  "elm";
26382             action:  STATE_SET "disabled" 0.0;
26383             target:  "disclip";
26384          }
26385          program {
26386             name:    "go_enabled";
26387             signal:  "elm,state,enabled";
26388             source:  "elm";
26389             action:  STATE_SET "default" 0.0;
26390             target:  "disclip";
26391          }
26392       }
26393    }
26394
26395 ///////////////////////////////////////////////////////////////////////////////
26396    group { name: "elm/pager/base/default";
26397       data.item: "onshow" "raise";
26398 // other options
26399 //      data.item: "onhide" "lower";
26400 //      data.item: "onshow" "lower";
26401       images {
26402          image: "frame_1.png" COMP;
26403          image: "frame_2.png" COMP;
26404          image: "dia_grad.png" COMP;
26405       }
26406       parts {
26407          part { name: "clip";
26408             type: RECT;
26409             mouse_events: 0;
26410             description { state: "default" 0.0;
26411                rel1 {
26412                   to: "base";
26413                   offset: -9999 -9999;
26414                }
26415                rel2 {
26416                   to: "base";
26417                   offset: 9999 9999;
26418                }
26419                color: 255 255 255 255;
26420             }
26421             description { state: "visible" 0.0;
26422                inherit: "default" 0.0;
26423             }
26424             description { state: "hidden" 0.0;
26425                inherit: "default" 0.0;
26426                color: 255 255 255 0;
26427                visible: 0;
26428             }
26429          }
26430          part { name: "base0";
26431             mouse_events:  0;
26432             clip_to: "clip";
26433             description { state: "default" 0.0;
26434                image.normal: "dia_grad.png";
26435                rel1.to: "over";
26436                rel2.to: "over";
26437                fill {
26438                   smooth: 0;
26439                   size {
26440                      relative: 0.0 1.0;
26441                      offset: 64 0;
26442                   }
26443                }
26444             }
26445          }
26446          part { name: "base";
26447             mouse_events:  0;
26448             clip_to: "clip";
26449             description { state: "default" 0.0;
26450                image {
26451                   normal: "frame_2.png";
26452                   border: 5 5 32 26;
26453                   middle: 0;
26454                }
26455                fill.smooth : 0;
26456             }
26457             description { state: "hidden" 0.0;
26458                inherit: "default" 0.0;
26459                rel1.relative: -1.0 0.0;
26460                rel2.relative: 0.0 1.0;
26461             }
26462             description { state: "visible" 0.0;
26463                inherit: "default" 0.0;
26464                rel1.relative: 0.0 0.0;
26465                rel2.relative: 1.0 1.0;
26466             }
26467          }
26468          part { name: "over";
26469             mouse_events:  0;
26470             clip_to: "clip";
26471             description { state:    "default" 0.0;
26472                rel1 {
26473                   to: "base";
26474                   offset: 4 4;
26475                }
26476                rel2 {
26477                   to: "base";
26478                   offset: -5 -5;
26479                }
26480                image {
26481                   normal: "frame_1.png";
26482                   border: 2 2 28 22;
26483                   middle: 0;
26484                }
26485                fill.smooth : 0;
26486             }
26487          }
26488          part { name: "elm.swallow.content";
26489             type: SWALLOW;
26490             clip_to: "clip";
26491             description { state: "default" 0.0;
26492                rel1 {
26493                   to: "base";
26494                   offset: 8 8;
26495                }
26496                rel2 {
26497                   to: "base";
26498                   offset: -9 -9;
26499                }
26500             }
26501          }
26502       }
26503       programs {
26504          program { name: "push_start";
26505             signal: "elm,action,push";
26506             source: "elm";
26507             action:  STATE_SET "hidden" 0.0;
26508             target: "base";
26509             target: "clip";
26510             after: "show_start2";
26511          }
26512          program { name: "show_start";
26513             signal: "elm,action,show";
26514             source: "elm";
26515             action:  STATE_SET "hidden" 0.0;
26516             target: "base";
26517             target: "clip";
26518             after: "show_start2";
26519          }
26520          program { name: "show_start2";
26521             action:  STATE_SET "visible" 0.0;
26522             transition: DECELERATE 0.5;
26523             target: "base";
26524             target: "clip";
26525             after: "show_end";
26526          }
26527          program { name: "show_end";
26528             action: SIGNAL_EMIT "elm,action,show,finished" "";
26529          }
26530          program { name: "pop_start";
26531             signal: "elm,action,pop";
26532             source: "elm";
26533             action:  STATE_SET "visible" 0.0;
26534             target: "base";
26535             target: "clip";
26536             after: "hide_start2";
26537          }
26538          program { name: "hide_start";
26539             signal: "elm,action,hide";
26540             source: "elm";
26541             action:  STATE_SET "visible" 0.0;
26542             target: "base";
26543             target: "clip";
26544             after: "hide_start2";
26545          }
26546          program { name: "hide_start2";
26547             action:  STATE_SET "hidden" 0.0;
26548             transition: DECELERATE 0.5;
26549             target: "base";
26550             target: "clip";
26551             after: "hide_end";
26552          }
26553          program { name: "hide_end";
26554             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26555          }
26556          program { name: "reset";
26557             signal: "elm,action,reset";
26558             source: "elm";
26559             action:  STATE_SET "default" 0.0;
26560             target: "base";
26561             target: "clip";
26562          }
26563       }
26564    }
26565
26566    group { name: "elm/pager/base/slide";
26567       images {
26568          image: "frame_1.png" COMP;
26569          image: "frame_2.png" COMP;
26570          image: "dia_grad.png" COMP;
26571       }
26572       parts {
26573          part { name: "clip";
26574             type: RECT;
26575             mouse_events: 0;
26576             description { state: "default" 0.0;
26577                rel1 {
26578                   to: "base";
26579                   offset: -9999 -9999;
26580                }
26581                rel2 {
26582                   to: "base";
26583                   offset: 9999 9999;
26584                }
26585                color: 255 255 255 255;
26586             }
26587             description { state: "visible" 0.0;
26588                inherit: "default" 0.0;
26589             }
26590             description { state: "hidden" 0.0;
26591                inherit: "default" 0.0;
26592                color: 255 255 255 0;
26593                visible: 0;
26594             }
26595             description { state: "hidden2" 0.0;
26596                inherit: "default" 0.0;
26597                color: 255 255 255 0;
26598                visible: 0;
26599             }
26600          }
26601          part { name: "base0";
26602             mouse_events:  0;
26603             clip_to: "clip";
26604             description { state: "default" 0.0;
26605                image.normal: "dia_grad.png";
26606                rel1.to: "over";
26607                rel2.to: "over";
26608                fill {
26609                   smooth: 0;
26610                   size {
26611                      relative: 0.0 1.0;
26612                      offset: 64 0;
26613                   }
26614                }
26615             }
26616          }
26617          part { name: "base";
26618             mouse_events:  0;
26619             clip_to: "clip";
26620             description { state: "default" 0.0;
26621                image {
26622                   normal: "frame_2.png";
26623                   border: 5 5 32 26;
26624                   middle: 0;
26625                }
26626                fill.smooth : 0;
26627             }
26628             description { state: "hidden" 0.0;
26629                inherit: "default" 0.0;
26630                rel1.relative: -1.0 0.0;
26631                rel2.relative: 0.0 1.0;
26632             }
26633             description { state: "hidden2" 0.0;
26634                inherit: "default" 0.0;
26635                rel1.relative: 1.0 0.0;
26636                rel2.relative: 2.0 1.0;
26637             }
26638             description { state: "visible" 0.0;
26639                inherit: "default" 0.0;
26640                rel1.relative: 0.0 0.0;
26641                rel2.relative: 1.0 1.0;
26642             }
26643          }
26644          part { name: "over";
26645             mouse_events:  0;
26646             clip_to: "clip";
26647             description { state:    "default" 0.0;
26648                rel1 {
26649                   to: "base";
26650                   offset: 4 4;
26651                }
26652                rel2 {
26653                   to: "base";
26654                   offset: -5 -5;
26655                }
26656                image {
26657                   normal: "frame_1.png";
26658                   border: 2 2 28 22;
26659                   middle: 0;
26660                }
26661                fill.smooth : 0;
26662             }
26663          }
26664          part { name: "elm.swallow.content";
26665             type: SWALLOW;
26666             clip_to: "clip";
26667             description { state: "default" 0.0;
26668                rel1 {
26669                   to: "base";
26670                   offset: 8 8;
26671                }
26672                rel2 {
26673                   to: "base";
26674                   offset: -9 -9;
26675                }
26676             }
26677          }
26678       }
26679       programs {
26680          program { name: "push_start";
26681             signal: "elm,action,push";
26682             source: "elm";
26683             action:  STATE_SET "hidden2" 0.0;
26684             target: "base";
26685             target: "clip";
26686             after: "show_start2";
26687          }
26688          program { name: "show_start";
26689             signal: "elm,action,show";
26690             source: "elm";
26691             action:  STATE_SET "hidden" 0.0;
26692             target: "base";
26693             target: "clip";
26694             after: "show_start2";
26695          }
26696          program { name: "show_start2";
26697             action:  STATE_SET "visible" 0.0;
26698             transition: DECELERATE 0.5;
26699             target: "base";
26700             target: "clip";
26701             after: "show_end";
26702          }
26703          program { name: "show_end";
26704             action: SIGNAL_EMIT "elm,action,show,finished" "";
26705          }
26706          program { name: "pop_start";
26707             signal: "elm,action,pop";
26708             source: "elm";
26709             action:  STATE_SET "visible" 0.0;
26710             target: "base";
26711             target: "clip";
26712             after: "pop_start2";
26713          }
26714          program { name: "pop_start2";
26715             action:  STATE_SET "hidden2" 0.0;
26716             transition: DECELERATE 0.5;
26717             target: "base";
26718             target: "clip";
26719             after: "hide_end";
26720          }
26721          program { name: "hide_start";
26722             signal: "elm,action,hide";
26723             source: "elm";
26724             action:  STATE_SET "visible" 0.0;
26725             target: "base";
26726             target: "clip";
26727             after: "hide_start2";
26728          }
26729          program { name: "hide_start2";
26730             action:  STATE_SET "hidden" 0.0;
26731             transition: DECELERATE 0.5;
26732             target: "base";
26733             target: "clip";
26734             after: "hide_end";
26735          }
26736          program { name: "hide_end";
26737             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26738          }
26739          program { name: "reset";
26740             signal: "elm,action,reset";
26741             source: "elm";
26742             action:  STATE_SET "default" 0.0;
26743             target: "base";
26744             target: "clip";
26745          }
26746       }
26747    }
26748    group { name: "elm/pager/base/slide_invisible";
26749       parts {
26750          part { name: "clip";
26751             type: RECT;
26752             mouse_events: 0;
26753             description { state: "default" 0.0;
26754                rel1 {
26755                   to: "base";
26756                   offset: -9999 -9999;
26757             }
26758                rel2 {
26759                   to: "base";
26760                   offset: 9999 9999;
26761                }
26762                color: 255 255 255 255;
26763             }
26764             description { state: "visible" 0.0;
26765                inherit: "default" 0.0;
26766             }
26767             description { state: "hidden" 0.0;
26768                inherit: "default" 0.0;
26769                color: 255 255 255 0;
26770                visible: 0;
26771             }
26772             description { state: "hidden2" 0.0;
26773                inherit: "default" 0.0;
26774                color: 255 255 255 0;
26775                visible: 0;
26776             }
26777          }
26778          part { name: "base";
26779             type: RECT;
26780             mouse_events:  0;
26781             clip_to: "clip";
26782             description { state: "default" 0.0;
26783                color: 0 0 0 0;
26784             }
26785             description { state: "hidden" 0.0;
26786                color: 0 0 0 0;
26787                rel1.relative: -1.0 0.0;
26788                rel2.relative: 0.0 1.0;
26789             }
26790             description { state: "hidden2" 0.0;
26791                color: 0 0 0 0;
26792                rel1.relative: 1.0 0.0;
26793                rel2.relative: 2.0 1.0;
26794             }
26795             description { state: "visible" 0.0;
26796                color: 0 0 0 0;
26797                rel1.relative: 0.0 0.0;
26798                rel2.relative: 1.0 1.0;
26799             }
26800          }
26801          part { name: "elm.swallow.content";
26802             type: SWALLOW;
26803             clip_to: "clip";
26804             description { state: "default" 0.0;
26805                rel1.to: "base";
26806                rel2.to: "base";
26807             }
26808          }
26809       }
26810       programs {
26811          program { name: "push_start";
26812             signal: "elm,action,push";
26813             source: "elm";
26814             action:  STATE_SET "hidden2" 0.0;
26815             target: "base";
26816             target: "clip";
26817             after: "show_start2";
26818          }
26819          program { name: "show_start";
26820             signal: "elm,action,show";
26821             source: "elm";
26822             action:  STATE_SET "hidden" 0.0;
26823             target: "base";
26824             target: "clip";
26825             after: "show_start2";
26826          }
26827          program { name: "show_start2";
26828             action:  STATE_SET "visible" 0.0;
26829             transition: DECELERATE 0.5;
26830             target: "base";
26831             target: "clip";
26832             after: "show_end";
26833          }
26834          program { name: "show_end";
26835             action: SIGNAL_EMIT "elm,action,show,finished" "";
26836          }
26837          program { name: "pop_start";
26838             signal: "elm,action,pop";
26839             source: "elm";
26840             action:  STATE_SET "visible" 0.0;
26841             target: "base";
26842             target: "clip";
26843             after: "pop_start2";
26844          }
26845          program { name: "pop_start2";
26846             action:  STATE_SET "hidden2" 0.0;
26847             transition: DECELERATE 0.5;
26848             target: "base";
26849             target: "clip";
26850             after: "hide_end";
26851          }
26852          program { name: "hide_start";
26853             signal: "elm,action,hide";
26854             source: "elm";
26855             action:  STATE_SET "visible" 0.0;
26856             target: "base";
26857             target: "clip";
26858             after: "hide_start2";
26859          }
26860          program { name: "hide_start2";
26861             action:  STATE_SET "hidden" 0.0;
26862             transition: DECELERATE 0.5;
26863             target: "base";
26864             target: "clip";
26865             after: "hide_end";
26866          }
26867          program { name: "hide_end";
26868             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26869          }
26870          program { name: "reset";
26871             signal: "elm,action,reset";
26872             source: "elm";
26873             action:  STATE_SET "default" 0.0;
26874             target: "base";
26875             target: "clip";
26876          }
26877       }
26878    }
26879
26880    group { name: "elm/pager/base/fade";
26881        data.item: "onshow" "raise";
26882        // other options
26883        //      data.item: "onhide" "lower";
26884        //      data.item: "onshow" "lower";
26885        images {
26886            image: "frame_1.png" COMP;
26887            image: "frame_2.png" COMP;
26888            image: "dia_grad.png" COMP;
26889        }
26890        parts {
26891            part { name: "clip_base";
26892                type: RECT;
26893                mouse_events: 0;
26894                description { state: "default" 0.0;
26895                    rel1 {
26896                        to: "base";
26897                        offset: -9999 -9999;
26898                    }
26899                    rel2 {
26900                        to: "base";
26901                        offset: 9999 9999;
26902                    }
26903                    color: 255 255 255 120;
26904                }
26905                description { state: "visible" 0.0;
26906                    inherit: "default" 0.0;
26907                }
26908                description { state: "hidden" 0.0;
26909                    inherit: "default" 0.0;
26910                    color: 255 255 255 0;
26911                    visible: 0;
26912                }
26913            }
26914            part { name: "clip";
26915                type: RECT;
26916                mouse_events: 0;
26917                description { state: "default" 0.0;
26918                    rel1 {
26919                        to: "base";
26920                        offset: -9999 -9999;
26921                    }
26922                    rel2 {
26923                        to: "base";
26924                        offset: 9999 9999;
26925                    }
26926                    color: 255 255 255 255;
26927                }
26928                description { state: "visible" 0.0;
26929                    inherit: "default" 0.0;
26930                }
26931                description { state: "hidden" 0.0;
26932                    inherit: "default" 0.0;
26933                    color: 255 255 255 0;
26934                    visible: 0;
26935                }
26936            }
26937            part { name: "base0";
26938                mouse_events:  0;
26939                clip_to: "clip_base";
26940                description { state: "default" 0.0;
26941                    image.normal: "dia_grad.png";
26942                    rel1.to: "over";
26943                    rel2.to: "over";
26944                    fill {
26945                        smooth: 0;
26946                        size {
26947                            relative: 0.0 1.0;
26948                            offset: 64 0;
26949                        }
26950                    }
26951                }
26952            }
26953            part { name: "base";
26954                mouse_events:  0;
26955                clip_to: "clip_base";
26956                description { state: "default" 0.0;
26957                    image {
26958                        normal: "frame_2.png";
26959                        border: 5 5 32 26;
26960                        middle: 0;
26961                    }
26962                    fill.smooth : 0;
26963                }
26964            }
26965            part { name: "over";
26966                mouse_events:  0;
26967                clip_to: "clip";
26968                description { state:    "default" 0.0;
26969                    rel1 {
26970                        to: "base";
26971                        offset: 4 4;
26972                    }
26973                    rel2 {
26974                        to: "base";
26975                        offset: -5 -5;
26976                    }
26977                    image {
26978                        normal: "frame_1.png";
26979                        border: 2 2 28 22;
26980                        middle: 0;
26981                    }
26982                    fill.smooth : 0;
26983                }
26984            }
26985            part { name: "elm.swallow.content";
26986                type: SWALLOW;
26987                clip_to: "clip";
26988                description { state: "default" 0.0;
26989                    rel1 {
26990                        to: "base";
26991                        offset: 8 8;
26992                    }
26993                    rel2 {
26994                        to: "base";
26995                        offset: -9 -9;
26996                    }
26997                }
26998            }
26999        }
27000        programs {
27001            program { name: "push_start";
27002                signal: "elm,action,push";
27003                source: "elm";
27004                action:  STATE_SET "hidden" 0.0;
27005                target: "clip";
27006                target: "clip_base";
27007                after: "show_start2";
27008            }
27009            program { name: "show_start";
27010                signal: "elm,action,show";
27011                source: "elm";
27012                action:  STATE_SET "hidden" 0.0;
27013                target: "clip";
27014                target: "clip_base";
27015                after: "show_start2";
27016            }
27017            program { name: "show_start2";
27018                action:  STATE_SET "visible" 0.0;
27019                transition: DECELERATE 0.5;
27020                target: "clip";
27021                target: "clip_base";
27022                after: "show_end";
27023            }
27024            program { name: "show_end";
27025                action: SIGNAL_EMIT "elm,action,show,finished" "";
27026            }
27027            program { name: "pop_start";
27028                signal: "elm,action,pop";
27029                source: "elm";
27030                action:  STATE_SET "visible" 0.0;
27031                target: "clip";
27032                target: "clip_base";
27033                after: "hide_start2";
27034            }
27035            program { name: "hide_start";
27036                signal: "elm,action,hide";
27037                source: "elm";
27038                action:  STATE_SET "visible" 0.0;
27039                target: "clip";
27040                target: "clip_base";
27041                after: "hide_start2";
27042            }
27043            program { name: "hide_start2";
27044                action:  STATE_SET "hidden" 0.0;
27045                transition: DECELERATE 0.5;
27046                target: "clip";
27047                target: "clip_base";
27048                after: "hide_end";
27049            }
27050            program { name: "hide_end";
27051                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27052            }
27053            program { name: "reset";
27054                signal: "elm,action,reset";
27055                source: "elm";
27056                action:  STATE_SET "default" 0.0;
27057                target: "clip_base";
27058                target: "clip";
27059            }
27060        }
27061    }
27062    group { name: "elm/pager/base/fade_translucide";
27063        data.item: "onshow" "raise";
27064        // other options
27065        //      data.item: "onhide" "lower";
27066        //      data.item: "onshow" "lower";
27067        images {
27068            image: "frame_1.png" COMP;
27069            image: "frame_2.png" COMP;
27070            image: "dia_grad.png" COMP;
27071        }
27072        parts {
27073            part { name: "clip_base";
27074                type: RECT;
27075                mouse_events: 0;
27076                description { state: "default" 0.0;
27077                    rel1 {
27078                        to: "base";
27079                        offset: -9999 -9999;
27080                    }
27081                    rel2 {
27082                        to: "base";
27083                        offset: 9999 9999;
27084                    }
27085                    color: 255 255 255 120;
27086                }
27087                description { state: "visible" 0.0;
27088                    inherit: "default" 0.0;
27089                }
27090                description { state: "hidden" 0.0;
27091                    inherit: "default" 0.0;
27092                    color: 255 255 255 0;
27093                    visible: 0;
27094                }
27095            }
27096            part { name: "clip";
27097                type: RECT;
27098                mouse_events: 0;
27099                description { state: "default" 0.0;
27100                    rel1 {
27101                        to: "base";
27102                        offset: -9999 -9999;
27103                    }
27104                    rel2 {
27105                        to: "base";
27106                        offset: 9999 9999;
27107                    }
27108                    color: 255 255 255 255;
27109                }
27110                description { state: "visible" 0.0;
27111                    inherit: "default" 0.0;
27112                }
27113                description { state: "hidden" 0.0;
27114                    inherit: "default" 0.0;
27115                    color: 255 255 255 0;
27116                    visible: 0;
27117                }
27118            }
27119            part { name: "base0";
27120                mouse_events:  0;
27121                clip_to: "clip_base";
27122                description { state: "default" 0.0;
27123                    image.normal: "dia_grad.png";
27124                    rel1.to: "over";
27125                    rel2.to: "over";
27126                    fill {
27127                        smooth: 0;
27128                        size {
27129                            relative: 0.0 1.0;
27130                            offset: 64 0;
27131                        }
27132                    }
27133                }
27134            }
27135            part { name: "base";
27136                mouse_events:  0;
27137                clip_to: "clip_base";
27138                description { state: "default" 0.0;
27139                    image {
27140                        normal: "frame_2.png";
27141                        border: 5 5 32 26;
27142                        middle: 0;
27143                    }
27144                    fill.smooth : 0;
27145                }
27146            }
27147            part { name: "over";
27148                mouse_events:  0;
27149                clip_to: "clip";
27150                description { state:    "default" 0.0;
27151                    rel1 {
27152                        to: "base";
27153                        offset: 4 4;
27154                    }
27155                    rel2 {
27156                        to: "base";
27157                        offset: -5 -5;
27158                    }
27159                    image {
27160                        normal: "frame_1.png";
27161                        border: 2 2 28 22;
27162                        middle: 0;
27163                    }
27164                    fill.smooth : 0;
27165                }
27166            }
27167            part { name: "elm.swallow.content";
27168                type: SWALLOW;
27169                clip_to: "clip";
27170                description { state: "default" 0.0;
27171                    rel1 {
27172                        to: "base";
27173                        offset: 8 8;
27174                    }
27175                    rel2 {
27176                        to: "base";
27177                        offset: -9 -9;
27178                    }
27179                }
27180            }
27181        }
27182        programs {
27183            program { name: "push_start";
27184                signal: "elm,action,push";
27185                source: "elm";
27186                action:  STATE_SET "hidden" 0.0;
27187                target: "clip";
27188                target: "clip_base";
27189                after: "show_start2";
27190            }
27191            program { name: "show_start";
27192                signal: "elm,action,show";
27193                source: "elm";
27194                action:  STATE_SET "hidden" 0.0;
27195                target: "clip";
27196                target: "clip_base";
27197                after: "show_start2";
27198            }
27199            program { name: "show_start2";
27200                action:  STATE_SET "visible" 0.0;
27201                transition: DECELERATE 0.5;
27202                target: "clip";
27203                target: "clip_base";
27204                after: "show_end";
27205            }
27206            program { name: "show_end";
27207                action: SIGNAL_EMIT "elm,action,show,finished" "";
27208            }
27209            program { name: "pop_start";
27210                signal: "elm,action,pop";
27211                source: "elm";
27212                action:  STATE_SET "visible" 0.0;
27213                target: "clip";
27214                target: "clip_base";
27215                after: "hide_start2";
27216            }
27217            program { name: "hide_start";
27218                signal: "elm,action,hide";
27219                source: "elm";
27220                action:  STATE_SET "visible" 0.0;
27221                target: "clip";
27222                target: "clip_base";
27223                after: "hide_start2";
27224            }
27225            program { name: "hide_start2";
27226                action:  STATE_SET "hidden" 0.0;
27227                transition: DECELERATE 0.5;
27228                target: "clip";
27229                target: "clip_base";
27230                after: "hide_end";
27231            }
27232            program { name: "hide_end";
27233                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27234            }
27235            program { name: "reset";
27236                signal: "elm,action,reset";
27237                source: "elm";
27238                action:  STATE_SET "default" 0.0;
27239                target: "clip_base";
27240                target: "clip";
27241            }
27242        }
27243    }
27244    group { name: "elm/pager/base/fade_invisible";
27245        data.item: "onshow" "raise";
27246        // other options
27247        //      data.item: "onhide" "lower";
27248        //      data.item: "onshow" "lower";
27249        parts {
27250            part { name: "clip";
27251                type: RECT;
27252                mouse_events: 0;
27253                description { state: "default" 0.0;
27254                    rel1 {
27255                        offset: -9999 -9999;
27256                    }
27257                    rel2 {
27258                        offset: 9999 9999;
27259                    }
27260                    color: 255 255 255 255;
27261                }
27262                description { state: "visible" 0.0;
27263                    inherit: "default" 0.0;
27264                }
27265                description { state: "hidden" 0.0;
27266                    inherit: "default" 0.0;
27267                    color: 255 255 255 0;
27268                    visible: 0;
27269                }
27270            }
27271            part { name: "elm.swallow.content";
27272                type: SWALLOW;
27273                clip_to: "clip";
27274                description { state: "default" 0.0;
27275                    rel1 {
27276                        offset: 8 8;
27277                    }
27278                    rel2 {
27279                        offset: -9 -9;
27280                    }
27281                }
27282            }
27283        }
27284        programs {
27285            program { name: "push_start";
27286                signal: "elm,action,push";
27287                source: "elm";
27288                action:  STATE_SET "hidden" 0.0;
27289                target: "clip";
27290                after: "show_start2";
27291            }
27292            program { name: "show_start";
27293                signal: "elm,action,show";
27294                source: "elm";
27295                action:  STATE_SET "hidden" 0.0;
27296                target: "clip";
27297                after: "show_start2";
27298            }
27299            program { name: "show_start2";
27300                action:  STATE_SET "visible" 0.0;
27301                transition: DECELERATE 0.5;
27302                target: "clip";
27303                after: "show_end";
27304            }
27305            program { name: "show_end";
27306                action: SIGNAL_EMIT "elm,action,show,finished" "";
27307            }
27308            program { name: "pop_start";
27309                signal: "elm,action,pop";
27310                source: "elm";
27311                action:  STATE_SET "visible" 0.0;
27312                target: "clip";
27313                after: "hide_start2";
27314            }
27315            program { name: "hide_start";
27316                signal: "elm,action,hide";
27317                source: "elm";
27318                action:  STATE_SET "visible" 0.0;
27319                target: "clip";
27320                after: "hide_start2";
27321            }
27322            program { name: "hide_start2";
27323                action:  STATE_SET "hidden" 0.0;
27324                transition: DECELERATE 0.5;
27325                target: "clip";
27326                after: "hide_end";
27327            }
27328            program { name: "hide_end";
27329                action: SIGNAL_EMIT "elm,action,hide,finished" "";
27330            }
27331            program { name: "reset";
27332                signal: "elm,action,reset";
27333                source: "elm";
27334                action:  STATE_SET "default" 0.0;
27335                target: "clip";
27336            }
27337        }
27338    }
27339
27340    group { name: "elm/pager/base/flip";
27341       data.item: "onshow" "raise";
27342       images {
27343          image: "frame_1.png" COMP;
27344          image: "frame_2.png" COMP;
27345          image: "dia_grad.png" COMP;
27346       }
27347       parts {
27348          part { name: "elm.swallow.content";
27349             type: SWALLOW;
27350             description { state: "default" 0.0;
27351                map {
27352                   on: 1;
27353                   smooth: 1;
27354                   backface_cull: 1;
27355                   perspective_on: 1;
27356                }
27357                perspective {
27358                   zplane: 0;
27359                   focal: 1000;
27360                }
27361             }
27362             description { state: "hidden" 0.0;
27363                inherit: "default" 0.0;
27364                visible: 0;
27365                map.rotation.y: 90.0;
27366             }
27367             description { state: "before_hidden" 0.0;
27368                inherit: "default" 0.0;
27369                visible: 0;
27370                map.rotation.y: -90.0;
27371             }
27372          }
27373       }
27374       programs {
27375          program { name: "push_start";
27376             signal: "elm,action,push";
27377             source: "elm";
27378             after: "push1";
27379          }
27380          program { name: "push1";
27381             action:  STATE_SET "hidden" 0.0;
27382             target: "elm.swallow.content";
27383             after: "push2";
27384          }
27385          program { name: "push2";
27386             action:  STATE_SET "default" 0.0;
27387             in: 0.5 0.0;
27388             transition: LINEAR 0.5;
27389             target: "elm.swallow.content";
27390             after: "push3";
27391          }
27392          program { name: "push3";
27393             action: SIGNAL_EMIT "elm,action,show,finished" "";
27394          }
27395
27396          program { name: "show_start";
27397             signal: "elm,action,show";
27398             source: "elm";
27399             after: "show1";
27400          }
27401          program { name: "show1";
27402             action:  STATE_SET "before_hidden" 0.0;
27403             target: "elm.swallow.content";
27404             after: "show2";
27405          }
27406          program { name: "show2";
27407             action:  STATE_SET "default" 0.0;
27408             in: 0.5 0.0;
27409             transition: LINEAR 0.5;
27410             target: "elm.swallow.content";
27411             after: "show3";
27412          }
27413          program { name: "show3";
27414             action: SIGNAL_EMIT "elm,action,show,finished" "";
27415          }
27416
27417          program { name: "pop_start";
27418             signal: "elm,action,pop";
27419             source: "elm";
27420             after: "pop1";
27421          }
27422          program { name: "pop1";
27423             action:  STATE_SET "default" 0.0;
27424             target: "elm.swallow.content";
27425             after: "pop2";
27426          }
27427          program { name: "pop2";
27428             action:  STATE_SET "hidden" 0.0;
27429             transition: LINEAR 0.5;
27430             target: "elm.swallow.content";
27431             after: "pop3";
27432          }
27433          program { name: "pop3";
27434             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27435          }
27436
27437          program { name: "hide_start";
27438             signal: "elm,action,hide";
27439             source: "elm";
27440             after: "hide1";
27441          }
27442          program { name: "hide1";
27443             action:  STATE_SET "default" 0.0;
27444             target: "elm.swallow.content";
27445             after: "hide2";
27446          }
27447          program { name: "hide2";
27448             action:  STATE_SET "before_hidden" 0.0;
27449             transition: LINEAR 0.5;
27450             target: "elm.swallow.content";
27451             after: "hide3";
27452          }
27453          program { name: "hide3";
27454             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27455          }
27456
27457          program { name: "reset";
27458             signal: "elm,action,reset";
27459             source: "elm";
27460             action:  STATE_SET "default" 0.0;
27461             target: "elm.swallow.content";
27462          }
27463       }
27464    }
27465
27466
27467
27468 ///////////////////////////////////////////////////////////////////////////////
27469 // FIXME: this doesn't look too hot. need to fix it up
27470    group { name: "elm/progressbar/horizontal/default";
27471       images {
27472          image: "shelf_inset.png" COMP;
27473          image: "bt_sm_base2.png" COMP;
27474          image: "bt_sm_hilight.png" COMP;
27475          image: "bt_sm_shine.png" COMP;
27476       }
27477       parts {
27478          part { name: "elm.background.progressbar";
27479             mouse_events: 0;
27480             description {
27481                state: "default" 0.0;
27482                rel1 {
27483                   relative: 0.0 0.0;
27484                   offset: 0 0;
27485                }
27486                rel2 {
27487                   relative: 1.0 1.0;
27488                }
27489             }
27490          }
27491          part { name: "elm.swallow.bar";
27492             mouse_events: 0;
27493             type: SWALLOW;
27494             description {
27495                min: 48 28;
27496                max: 99999 28;
27497                state: "default" 0.0;
27498                rel1 {
27499                   to_x: "elm.text";
27500                   to_y: "elm.background.progressbar";
27501                   relative: 1.0 0.0;
27502                }
27503                rel2 {
27504                   to: "elm.background.progressbar";
27505                   relative: 1.0 1.0;
27506                }
27507             }
27508          }
27509          part { name: "elm.swallow.content";
27510             type: SWALLOW;
27511             description { state: "default" 0.0;
27512                visible: 0;
27513                align: 0.0 0.5;
27514                rel1 {
27515                   offset: 4 0;
27516                   to_y: "elm.background.progressbar";
27517                }
27518                rel2 {
27519                   offset: 3 -1;
27520                   relative: 0.0 1.0;
27521                   to_y: "elm.background.progressbar";
27522                }
27523             }
27524             description { state: "visible" 0.0;
27525                inherit: "default" 0.0;
27526                visible: 1;
27527                aspect: 1.0 1.0;
27528                aspect_preference: VERTICAL;
27529                rel2.offset: 4 -1;
27530             }
27531          }
27532          part { name: "elm.text";
27533             type: TEXT;
27534             mouse_events: 0;
27535             scale: 1;
27536             description { state: "default" 0.0;
27537                visible: 0;
27538                fixed: 1 1;
27539                align: 0.0 0.5;
27540                rel1.to_x: "elm.swallow.content";
27541                rel1.relative: 1.0 0.0;
27542                rel1.offset: -1 4;
27543                rel2.to_x: "elm.swallow.content";
27544                rel2.relative: 1.0 1.0;
27545                rel2.offset: -1 -5;
27546                color: 0 0 0 255;
27547                text {
27548                   font: "Sans,Edje-Vera";
27549                   size: 10;
27550                   min: 0 0;
27551                   align: 0.0 0.5;
27552                }
27553             }
27554             description { state: "visible" 0.0;
27555                inherit: "default" 0.0;
27556                visible: 1;
27557                text.min: 1 1;
27558                rel1.offset: 0 4;
27559                rel2.offset: 0 -5;
27560             }
27561          }
27562
27563          part { name: "background";
27564             mouse_events: 0;
27565             clip_to: "elm.background.progressbar";
27566             description {
27567                state: "default" 0.0;
27568                rel1 {
27569                   to: "elm.swallow.bar";
27570                   relative: 0.0 0.0;
27571                }
27572                rel2 {
27573                   to: "elm.swallow.bar";
27574                   relative: 1.0 1.0;
27575                   offset: -1 -1;
27576                }
27577                image {
27578                   normal: "shelf_inset.png";
27579                   border: 7 7 7 7;
27580                }
27581             }
27582          }
27583
27584          part { name: "elm.text.status";
27585             type: TEXT;
27586             mouse_events: 0;
27587             description { state: "default" 0.0;
27588                fixed: 1 1;
27589                visible: 1;
27590                rel1 {
27591                   to: "background";
27592                   relative: 0.5 0.5;
27593                }
27594                rel2 {
27595                   to: "background";
27596                   relative: 0.5 0.5;
27597                }
27598                text {
27599                   font: "Sans:style=Bold,Edje-Vera-Bold";
27600                   size: 10;
27601                   min: 1 1;
27602                   align: 0.5 0.0;
27603                }
27604                color: 0 0 0 255;
27605             }
27606             description { state: "hidden" 0.0;
27607                inherit: "default" 0.0;
27608                visible: 0;
27609                text.min: 0 0;
27610             }
27611          }
27612
27613          part { name: "elm.progress.progressbar";
27614             mouse_events: 0;
27615             clip_to: "elm.background.progressbar";
27616             description {
27617                state: "default" 0.0;
27618                min: 14 28;
27619                fixed: 1 1;
27620                rel1 {
27621                   to: "elm.swallow.bar";
27622                   relative: 0.0 0.0;
27623                }
27624                rel2 {
27625                   to_y: "elm.swallow.bar";
27626                   to_x: "elm.cur.progressbar";
27627                   offset: -1 -1;
27628                }
27629                image {
27630                   normal: "bt_sm_base2.png";
27631                   border: 6 6 6 6;
27632                }
27633             }
27634             description {
27635                state: "invert" 0.0;
27636                inherit: "default" 0.0;
27637                rel1 {
27638                   to_y: "elm.swallow.bar";
27639                   to_x: "elm.cur.progressbar";
27640                }
27641                rel2 {
27642                   to: "elm.swallow.bar";
27643                   relative: 1.0 1.0;
27644                }
27645             }
27646             description {
27647                state: "state_begin" 0.0;
27648                inherit: "default" 0.0;
27649                rel1 {
27650                   to: "elm.swallow.bar";
27651                   relative: 0.0 0.0;
27652                }
27653                rel2 {
27654                   to: "elm.swallow.bar";
27655                   relative: 0.1 1.0;
27656                }
27657             }
27658             description {
27659                state: "state_end" 0.0;
27660                inherit: "default" 0.0;
27661                rel1 {
27662                   to: "elm.swallow.bar";
27663                   relative: 0.9 0.0;
27664                }
27665                rel2 {
27666                   to: "elm.swallow.bar";
27667                   relative: 1.0 1.0;
27668                }
27669             }
27670          }
27671          part { name: "text-bar";
27672             type: TEXT;
27673             mouse_events: 0;
27674             clip_to: "progress-rect";
27675             effect: SOFT_SHADOW;
27676             scale: 1;
27677             description { state: "default" 0.0;
27678                align: 0.0 0.0;
27679                fixed: 1 1;
27680                visible: 1;
27681                rel1.to: "elm.text.status";
27682                rel1.offset: -1 -1;
27683                rel2.to: "elm.text.status";
27684                text {
27685                   text_source: "elm.text.status";
27686                   font: "Sans:style=Bold,Edje-Vera-Bold";
27687                   size: 10;
27688                   min: 1 1;
27689                   align: 0.0 0.0;
27690                }
27691                color: 224 224 224 255;
27692                color3: 0 0 0 64;
27693             }
27694             description { state: "hidden" 0.0;
27695                inherit: "default" 0.0;
27696                visible: 0;
27697                text.min: 0 0;
27698             }
27699          }
27700
27701          part { name: "over1";
27702             mouse_events: 0;
27703             description { state: "default" 0.0;
27704                rel1.to: "elm.progress.progressbar";
27705                rel2.to: "elm.progress.progressbar";
27706                rel2.relative: 1.0 0.5;
27707                image {
27708                   normal: "bt_sm_hilight.png";
27709                   border: 6 6 6 0;
27710                }
27711             }
27712          }
27713
27714          part { name: "over2";
27715             mouse_events: 1;
27716             repeat_events: 1;
27717             description { state: "default" 0.0;
27718                rel1.to: "elm.progress.progressbar";
27719                rel2.to: "elm.progress.progressbar";
27720                image {
27721                   normal: "bt_sm_shine.png";
27722                   border: 6 6 6 0;
27723                }
27724             }
27725          }
27726
27727          part { name: "elm.cur.progressbar";
27728             mouse_events: 0;
27729             dragable {
27730                confine: "background";
27731                x: 1 1 1;
27732                y: 0 0 0;
27733             }
27734             description { state: "default" 0.0;
27735                min: 14 28;
27736                fixed: 1 1;
27737                visible: 0;
27738                rel1 {
27739                   to: "background";
27740                   relative: 0 0;
27741                }
27742                rel2.to: "background";
27743            }
27744          }
27745          part { name: "progress-rect";
27746             mouse_events: 0;
27747             description {
27748                state: "default" 0.0;
27749                rel1.to: "elm.progress.progressbar";
27750                rel2.to: "elm.progress.progressbar";
27751             }
27752          }
27753       }
27754       programs {
27755          program { name: "label_show";
27756             signal: "elm,state,text,visible";
27757             source: "elm";
27758             action:  STATE_SET "visible" 0.0;
27759             target: "elm.text";
27760          }
27761          program { name: "label_hide";
27762             signal: "elm,state,text,hidden";
27763             source: "elm";
27764             action:  STATE_SET "default" 0.0;
27765             target: "elm.text";
27766          }
27767          program { name: "icon_show";
27768             signal: "elm,state,icon,visible";
27769             source: "elm";
27770             action:  STATE_SET "visible" 0.0;
27771             target: "elm.swallow.content";
27772          }
27773          program { name: "icon_hide";
27774             signal: "elm,state,icon,hidden";
27775             source: "elm";
27776             action:  STATE_SET "default" 0.0;
27777             target: "elm.swallow.content";
27778          }
27779          program { name: "units_show";
27780             signal: "elm,state,units,visible";
27781             source: "elm";
27782             action:  STATE_SET "default" 0.0;
27783             target: "text-bar";
27784             target: "elm.text.status";
27785          }
27786          program { name: "units_hide";
27787             signal: "elm,state,units,hidden";
27788             source: "elm";
27789             action:  STATE_SET "hidden" 0.0;
27790             target: "text-bar";
27791             target: "elm.text.status";
27792          }
27793          program { name: "slide_to_end";
27794             action:  STATE_SET "state_end" 0.0;
27795             transition: LINEAR 0.5;
27796             target: "elm.progress.progressbar";
27797             after: "slide_to_begin";
27798          }
27799          program { name: "slide_to_begin";
27800             signal: "elm,state,slide,begin";
27801             action: STATE_SET "state_begin" 0.0;
27802             target: "elm.progress.progressbar";
27803             transition: LINEAR 0.5;
27804             after: "slide_to_end";
27805          }
27806          program { name: "start_pulse";
27807             signal: "elm,state,pulse,start";
27808             source: "elm";
27809             after: "slide_to_end";
27810          }
27811          program { name: "stop_pulse";
27812             signal: "elm,state,pulse,stop";
27813             source: "elm";
27814             action: ACTION_STOP;
27815             target: "slide_to_begin";
27816             target: "slide_to_end";
27817             target: "start_pulse";
27818             after: "state_pulse";
27819          }
27820          program { name: "state_pulse";
27821             signal: "elm,state,pulse";
27822             source: "elm";
27823             action: STATE_SET "state_begin" 0.0;
27824             target: "elm.progress.progressbar";
27825             after: "units_hide";
27826          }
27827          program { name: "state_fraction";
27828             signal: "elm,state,fraction";
27829             source: "elm";
27830             action: ACTION_STOP;
27831             target: "slide_to_begin";
27832             target: "slide_to_end";
27833             target: "start_pulse";
27834             action: STATE_SET "default" 0.0;
27835             target: "elm.progress.progressbar";
27836          }
27837          program { name: "set_invert_on";
27838             signal: "elm,state,inverted,on";
27839             source: "elm";
27840             action:  STATE_SET "invert" 0.0;
27841             target: "elm.progress.progressbar";
27842          }
27843          program { name: "set_invert_off";
27844             signal: "elm,state,inverted,off";
27845             source: "elm";
27846             action:  STATE_SET "default" 0.0;
27847             target: "elm.progress.progressbar";
27848          }
27849       }
27850    }
27851
27852 ///////////////////////////////////////////////////////////////////////////////
27853    group { name: "elm/progressbar/vertical/default";
27854       images {
27855          image: "shelf_inset.png" COMP;
27856          image: "bt_sm_base2.png" COMP;
27857          image: "bt_sm_hilight.png" COMP;
27858          image: "bt_sm_shine.png" COMP;
27859       }
27860       parts {
27861          part { name: "elm.background.progressbar";
27862             type: RECT;
27863             mouse_events: 0;
27864             description {
27865                state: "default" 0.0;
27866                rel1 {
27867                   relative: 0.0 0.0;
27868                   offset: 0 0;
27869                }
27870                rel2 {
27871                   relative: 1.0 1.0;
27872                   offset: -1 -1;
27873                }
27874             }
27875          }
27876          part { name: "elm.swallow.bar";
27877             type: SWALLOW;
27878             scale: 1;
27879             description { state: "default" 0.0;
27880                min: 28 48;
27881                max: 28 9999;
27882                align: 0.5 1.0;
27883                rel1 {
27884                   to_y: "elm.text";
27885                   relative: 0.0 1.0;
27886                   offset: 0 2;
27887                }
27888                rel2 {
27889                   to_y: "elm.text.box";
27890                   relative: 1.0 0.0;
27891                   offset: -1 -3;
27892                }
27893             }
27894          }
27895          part { name: "elm.swallow.content";
27896             type: SWALLOW;
27897             description { state: "default" 0.0;
27898                visible: 0;
27899                align: 0.5 0.0;
27900                rel1 {
27901                   offset: 0 4;
27902                   to_x: "elm.swallow.bar";
27903                }
27904                rel2 {
27905                   offset: -1 3;
27906                   relative: 1.0 0.0;
27907                   to_x: "elm.swallow.bar";
27908                }
27909             }
27910             description { state: "visible" 0.0;
27911                inherit: "default" 0.0;
27912                visible: 1;
27913                aspect: 1.0 1.0;
27914                aspect_preference: HORIZONTAL;
27915                rel2.offset: -1 4;
27916             }
27917          }
27918          part { name: "elm.text";
27919             type: TEXT;
27920             mouse_events: 0;
27921             scale: 1;
27922             description { state: "default" 0.0;
27923                visible: 0;
27924                fixed: 1 1;
27925                align: 0.5 0.0;
27926                rel1.to_y: "elm.swallow.content";
27927                rel1.relative: 0.5 1.0;
27928                rel1.offset: 0 -1;
27929                rel2.to_y: "elm.swallow.content";
27930                rel2.relative: 0.5 1.0;
27931                rel2.offset: -1 -1;
27932                color: 0 0 0 255;
27933                text {
27934                   font: "Sans,Edje-Vera";
27935                   size: 10;
27936                   min: 0 0;
27937                   align: 0.5 0.0;
27938                }
27939             }
27940             description { state: "visible" 0.0;
27941                inherit: "default" 0.0;
27942                visible: 1;
27943                text.min: 1 1;
27944                rel1.offset: 4 0;
27945                rel2.offset: -5 0;
27946             }
27947          }
27948
27949          part { name: "background";
27950             mouse_events: 0;
27951             clip_to: "elm.background.progressbar";
27952             description {
27953                state: "default" 0.0;
27954                rel1 {
27955                   to: "elm.swallow.bar";
27956                   relative: 0.0 0.0;
27957                }
27958                rel2 {
27959                   to: "elm.swallow.bar";
27960                   relative: 1.0 1.0;
27961                   offset: -1 -1;
27962                }
27963                image {
27964                   normal: "shelf_inset.png";
27965                   border: 7 7 7 7;
27966                }
27967             }
27968          }
27969
27970          part { name: "elm.progress.progressbar";
27971             mouse_events: 0;
27972             clip_to: "elm.background.progressbar";
27973             description {
27974                state: "default" 0.0;
27975                min: 28 14;
27976                fixed: 1 1;
27977                rel1 {
27978                   to: "elm.swallow.bar";
27979                   relative: 0.0 0.0;
27980                }
27981                rel2 {
27982                   to_x: "elm.swallow.bar";
27983                   to_y: "elm.cur.progressbar";
27984                   offset: -1 -1;
27985                }
27986                image {
27987                   normal: "bt_sm_base2.png";
27988                   border: 6 6 6 6;
27989                }
27990             }
27991             description {
27992                state: "invert" 0.0;
27993                inherit: "default" 0.0;
27994                rel1 {
27995                   to_x: "elm.swallow.bar";
27996                   to_y: "elm.cur.progressbar";
27997                }
27998                rel2 {
27999                   to: "elm.swallow.bar";
28000                   relative: 1.0 1.0;
28001                }
28002             }
28003             description {
28004                state: "state_begin" 0.0;
28005                inherit: "default" 0.0;
28006                rel1 {
28007                   to: "elm.swallow.bar";
28008                   relative: 0.0 0.0;
28009                }
28010                rel2 {
28011                   to: "elm.swallow.bar";
28012                   relative: 1.0 0.1;
28013                }
28014             }
28015             description {
28016                state: "state_end" 0.0;
28017                inherit: "default" 0.0;
28018                rel1 {
28019                   to: "elm.swallow.bar";
28020                   relative: 0.0 0.9;
28021                }
28022                rel2 {
28023                   to: "elm.swallow.bar";
28024                   relative: 1.0 1.0;
28025                }
28026             }
28027          }
28028
28029          part { name: "over1";
28030             mouse_events: 0;
28031             description { state: "default" 0.0;
28032                rel1.to: "elm.progress.progressbar";
28033                rel2.to: "elm.progress.progressbar";
28034                rel2.relative: 1.0 0.5;
28035                image {
28036                   normal: "bt_sm_hilight.png";
28037                   border: 6 6 6 0;
28038                }
28039             }
28040          }
28041
28042          part { name: "over2";
28043             mouse_events: 1;
28044             repeat_events: 1;
28045             description { state: "default" 0.0;
28046                rel1.to: "elm.progress.progressbar";
28047                rel2.to: "elm.progress.progressbar";
28048                image {
28049                   normal: "bt_sm_shine.png";
28050                   border: 6 6 6 0;
28051                }
28052             }
28053          }
28054
28055          part { name: "elm.cur.progressbar";
28056             mouse_events: 0;
28057             dragable {
28058                confine: "background";
28059                x: 0 0 0;
28060                y: 1 1 1;
28061             }
28062             description { state: "default" 0.0;
28063                min: 28 14;
28064                fixed: 1 1;
28065                visible: 0;
28066                rel1 {
28067                   to: "background";
28068                   relative: 0 0;
28069                }
28070                rel2.to: "background";
28071            }
28072          }
28073
28074          part { name: "elm.text.box";
28075             mouse_events: 0;
28076             type: RECT;
28077             description { state: "default" 0.0;
28078                visible: 0;
28079                rel1 {
28080                   to: "elm.text.status";
28081                   offset: -2 -2;
28082                }
28083                rel2 {
28084                   to: "elm.text.status";
28085                   offset: 2 2;
28086                }
28087                color: 255 255 255 0;
28088             }
28089             description { state: "visible" 0.0;
28090                inherit: "default" 0.0;
28091                visible: 1;
28092             }
28093          }
28094          part { name: "elm.text.status";
28095             type: TEXT;
28096             mouse_events: 0;
28097             scale: 1;
28098             description { state: "default" 0.0;
28099                visible: 0;
28100                fixed: 1 1;
28101                align: 0.5 1.0;
28102                rel1.relative: 0.0 1.0;
28103                rel1.offset: 2 0;
28104                rel2.relative: 1.0 1.0;
28105                rel2.offset: -2 0;
28106                color: 0 0 0 255;
28107                text {
28108                   font: "Sans:style=Bold,Edje-Vera-Bold";
28109                   size: 10;
28110                   min: 0 0;
28111                   align: 0.5 0.0;
28112                }
28113             }
28114             description { state: "visible" 0.0;
28115                inherit: "default" 0.0;
28116                fixed: 1 1;
28117                visible: 1;
28118                text.min: 1 1;
28119                rel1.offset: 8 -9;
28120                rel2.offset: -9 -9;
28121             }
28122          }
28123       }
28124       programs {
28125          program { name: "label_show";
28126             signal: "elm,state,text,visible";
28127             source: "elm";
28128             action:  STATE_SET "visible" 0.0;
28129             target: "elm.text";
28130          }
28131          program { name: "label_hide";
28132             signal: "elm,state,text,hidden";
28133             source: "elm";
28134             action:  STATE_SET "default" 0.0;
28135             target: "elm.text";
28136          }
28137          program { name: "icon_show";
28138             signal: "elm,state,icon,visible";
28139             source: "elm";
28140             action:  STATE_SET "visible" 0.0;
28141             target: "elm.swallow.content";
28142          }
28143          program { name: "icon_hide";
28144             signal: "elm,state,icon,hidden";
28145             source: "elm";
28146             action:  STATE_SET "default" 0.0;
28147             target: "elm.swallow.content";
28148          }
28149          program { name: "units_show";
28150             signal: "elm,state,units,visible";
28151             source: "elm";
28152             action:  STATE_SET "visible" 0.0;
28153             target: "elm.text.status";
28154             target: "elm.text.box";
28155          }
28156          program { name: "units_hide";
28157             signal: "elm,state,units,hidden";
28158             source: "elm";
28159             action:  STATE_SET "default" 0.0;
28160             target: "elm.text.status";
28161             target: "elm.text.box";
28162          }
28163          program { name: "slide_to_end";
28164             action:  STATE_SET "state_end" 0.0;
28165             transition: LINEAR 0.5;
28166             target: "elm.progress.progressbar";
28167             after: "slide_to_begin";
28168          }
28169          program { name: "slide_to_begin";
28170             action:  STATE_SET "state_begin" 0.0;
28171             target: "elm.progress.progressbar";
28172             transition: LINEAR 0.5;
28173             after: "slide_to_end";
28174          }
28175          program { name: "start_pulse";
28176             signal: "elm,state,pulse,start";
28177             source: "elm";
28178             action: STATE_SET "state_begin" 0.0;
28179             target: "elm.progress.progressbar";
28180             after: "slide_to_end";
28181          }
28182          program { name: "stop_pulse";
28183             signal: "elm,state,pulse,stop";
28184             source: "elm";
28185             action: ACTION_STOP;
28186             target: "slide_to_begin";
28187             target: "slide_to_end";
28188             target: "start_pulse";
28189             after: "state_pulse";
28190          }
28191          program { name: "state_pulse";
28192             signal: "elm,state,pulse";
28193             source: "elm";
28194             action: STATE_SET "state_begin" 0.0;
28195             target: "elm.progress.progressbar";
28196             after: "units_hide";
28197          }
28198          program { name: "state_fraction";
28199             signal: "elm,state,fraction";
28200             source: "elm";
28201             action: ACTION_STOP;
28202             target: "slide_to_begin";
28203             target: "slide_to_end";
28204             target: "start_pulse";
28205             action: STATE_SET "default" 0.0;
28206             target: "elm.progress.progressbar";
28207          }
28208          program { name: "set_invert_on";
28209             signal: "elm,state,inverted,on";
28210             source: "elm";
28211             action:  STATE_SET "invert" 0.0;
28212             target: "elm.progress.progressbar";
28213             target: "elm.cur.progressbar";
28214          }
28215          program { name: "set_invert_off";
28216             signal: "elm,state,inverted,off";
28217             source: "elm";
28218             action:  STATE_SET "default" 0.0;
28219             target: "elm.progress.progressbar";
28220             target: "elm.cur.progressbar";
28221          }
28222       }
28223    }
28224
28225 ///////////////////////////////////////////////////////////////////////////////
28226    group { name: "elm/separator/horizontal/default";
28227        images {
28228            image: "separator_h.png" COMP;
28229        }
28230        parts {
28231            part { name: "separator"; // separator group
28232                description { state: "default" 0.0;
28233                    min: 2 2;
28234                    rel1.offset: 4 4;
28235                    rel2.offset: -5 -5;
28236                    image {
28237                        normal: "separator_h.png";
28238                    }
28239                    fill {
28240                        smooth: 0;
28241                    }
28242                }
28243            }
28244        }
28245    }
28246
28247    ///////////////////////////////////////////////////////////////////////////////
28248    group { name: "elm/separator/vertical/default";
28249        images {
28250            image: "separator_v.png" COMP;
28251        }
28252        parts {
28253            part { name: "separator"; // separator group
28254                description { state: "default" 0.0;
28255                    min: 2 2;
28256                    rel1.offset: 4 4;
28257                    rel2.offset: -5 -5;
28258                    image {
28259                        normal: "separator_v.png";
28260                    }
28261                    fill {
28262                        smooth: 0;
28263                    }
28264                }
28265            }
28266        }
28267    }
28268
28269    group { name: "elm/progressbar/horizontal/wheel";
28270        images {
28271            image: "busy-1.png" COMP;
28272            image: "busy-2.png" COMP;
28273            image: "busy-3.png" COMP;
28274            image: "busy-4.png" COMP;
28275            image: "busy-5.png" COMP;
28276            image: "busy-6.png" COMP;
28277            image: "busy-7.png" COMP;
28278            image: "busy-8.png" COMP;
28279            image: "busy-9.png" COMP;
28280        }
28281        parts {
28282            part { name: "elm.background.progressbar";
28283                mouse_events: 0;
28284                type: RECT;
28285                description {
28286                    state: "default" 0.0;
28287                }
28288            }
28289            part { name: "elm.swallow.bar";
28290                mouse_events: 0;
28291                type: SWALLOW;
28292                description { state: "default" 0.0;
28293                    min: 0 0;
28294                    max: 0 0;
28295                    visible: 0;
28296                }
28297            }
28298            part { name: "elm.swallow.content";
28299                type: SWALLOW;
28300                description { state: "default" 0.0;
28301                    min: 0 0;
28302                    max: 0 0;
28303                    visible: 0;
28304                }
28305            }
28306            part { name: "background";
28307                mouse_events: 0;
28308                clip_to: "elm.background.progressbar";
28309                description {
28310                    state: "default" 0.0;
28311                    min: 32 32;
28312                    max: 32 32;
28313                    visible: 1;
28314                    aspect: 1.0 1.0;
28315                    aspect_preference: BOTH;
28316                    image {
28317                        normal: "busy-9.png";
28318                        border: 7 7 7 7;
28319                    }
28320                }
28321                description {
28322                    state: "pulse" 0.0;
28323                    inherit: "default" 0.0;
28324                    image {
28325                        normal: "busy-9.png";
28326                        tween:  "busy-1.png";
28327                        tween:  "busy-2.png";
28328                        tween:  "busy-3.png";
28329                        tween:  "busy-4.png";
28330                        tween:  "busy-5.png";
28331                        tween:  "busy-6.png";
28332                        tween:  "busy-7.png";
28333                        tween:  "busy-8.png";
28334                        border: 7 7 7 7;
28335                    }
28336                }
28337            }
28338        }
28339        programs {
28340            program { name: "start_pulse";
28341                signal: "elm,state,pulse,start";
28342                source: "elm";
28343                action: STATE_SET "pulse" 0.0;
28344                target: "background";
28345                transition: LINEAR 0.5;
28346                after: "start_pulse";
28347            }
28348            program { name: "stop_pulse";
28349                signal: "elm,state,pulse,stop";
28350                source: "elm";
28351                action: STATE_SET "default" 0.0;
28352                target: "background";
28353            }
28354        }
28355    }
28356
28357
28358 ///////////////////////////////////////////////////////////////////////////////
28359    group { name: "elm/spinner/base/default";
28360        images {
28361            image: "shelf_inset.png" COMP;
28362            image: "bt_base1.png" COMP;
28363            image: "bt_hilight.png" COMP;
28364            image: "bt_shine.png" COMP;
28365            image: "bt_glow.png" COMP;
28366            image: "bt_dis_base.png" COMP;
28367            image: "bt_dis_hilight.png" COMP;
28368            image: "sp_bt_l.png" COMP;
28369            image: "sp_bt_r.png" COMP;
28370        }
28371        parts {
28372            part { name: "bg";
28373                type: RECT;
28374                description { state: "default" 0.0;
28375                    min: 0 30;
28376                    rel1.offset: 1 1;
28377                    rel2.offset: -2 -2;
28378                    color: 255 255 255 0;
28379                }
28380            }
28381            part { name: "conf_over";
28382                mouse_events:  0;
28383                description { state: "default" 0.0;
28384                    rel1.to: "bg";
28385                    rel2.to: "bg";
28386                    image {
28387                        normal: "shelf_inset.png";
28388                        border: 7 7 7 7;
28389                        middle: 0;
28390                    }
28391                    fill.smooth : 0;
28392                }
28393            }
28394            part { name: "left_bt";
28395                mouse_events:  1;
28396                description { state: "default" 0.0;
28397                    rel1 { to: "bg";
28398                        offset: 3 3;
28399                    }
28400                    rel2 { to: "bg";
28401                        offset: -4 -4;
28402                    }
28403                    align: 0.0 0.5;
28404                    min: 24 24;
28405                    aspect: 1.0 1.0;
28406                    aspect_preference: VERTICAL;
28407                    image {
28408                        normal: "bt_base1.png";
28409                        border: 6 6 6 6;
28410                    }
28411                    fill.smooth : 0;
28412                }
28413                description { state: "clicked" 0.0;
28414                    inherit: "default" 0.0;
28415                    image.normal: "bt_base1.png";
28416                    image.middle: SOLID;
28417                }
28418                description { state: "disabled" 0.0;
28419                    inherit:  "default" 0.0;
28420                    image {
28421                        normal: "bt_dis_base.png";
28422                        border: 4 4 4 4;
28423                    }
28424                }
28425            }
28426            part {          name: "left_over1";
28427                mouse_events: 0;
28428                description { state: "default" 0.0;
28429                    rel1.to: "left_bt";
28430                    rel2 { to: "left_bt";
28431                        relative: 1.0 0.5;
28432                    }
28433                    image {
28434                        normal: "bt_hilight.png";
28435                        border: 7 7 7 0;
28436                    }
28437                }
28438                description { state: "disabled" 0.0;
28439                    inherit:  "default" 0.0;
28440                    image {
28441                        normal: "bt_dis_hilight.png";
28442                        border: 4 4 4 0;
28443                    }
28444                }
28445            }
28446            part { name: "left_over2";
28447                mouse_events: 1;
28448                repeat_events: 1;
28449                ignore_flags: ON_HOLD;
28450                description { state: "default" 0.0;
28451                    rel1.to: "left_bt";
28452                    rel2.to: "left_bt";
28453                    image {
28454                        normal: "bt_shine.png";
28455                        border: 7 7 7 7;
28456                    }
28457                }
28458                description { state: "disabled" 0.0;
28459                    inherit:  "default" 0.0;
28460                    visible: 0;
28461                }
28462            }
28463            part { name: "left_over3";
28464                mouse_events: 1;
28465                repeat_events: 1;
28466                description { state: "default" 0.0;
28467                    color: 255 255 255 0;
28468                    rel1.to: "left_bt";
28469                    rel2.to: "left_bt";
28470                    image {
28471                        normal: "bt_glow.png";
28472                        border: 12 12 12 12;
28473                    }
28474                    fill.smooth : 0;
28475                }
28476                description { state: "clicked" 0.0;
28477                    inherit:  "default" 0.0;
28478                    visible: 1;
28479                    color: 255 255 255 255;
28480                }
28481            }
28482            part { name: "right_bt";
28483                mouse_events:  1;
28484                description { state: "default" 0.0;
28485                    rel1 { to: "bg";
28486                        offset: -26 3;
28487                    }
28488                    rel2 { to: "bg";
28489                        offset: -4 -4;
28490                    }
28491                    align: 1.0 0.5;
28492                    min: 24 24;
28493                    aspect: 1.0 1.0;
28494                    aspect_preference: VERTICAL;
28495                    image {
28496                        normal: "bt_base1.png";
28497                        border: 5 5 4 12;
28498                    }
28499                    fill.smooth : 0;
28500                }
28501                description { state: "clicked" 0.0;
28502                    inherit: "default" 0.0;
28503                    image.normal: "bt_base1.png";
28504                    image.middle: SOLID;
28505                }
28506                description { state: "disabled" 0.0;
28507                    inherit:  "default" 0.0;
28508                    image {
28509                        normal: "bt_dis_base.png";
28510                        border: 4 4 4 4;
28511                    }
28512                }
28513            }
28514            part { name: "right_over1";
28515                mouse_events: 0;
28516                description { state: "default" 0.0;
28517                    rel1.to: "right_bt";
28518                    rel2 { to: "right_bt";
28519                        relative: 1.0 0.5;
28520                    }
28521                    image {
28522                        normal: "bt_hilight.png";
28523                        border: 7 7 7 0;
28524                    }
28525                }
28526                description { state: "disabled" 0.0;
28527                    inherit:  "default" 0.0;
28528                    image {
28529                        normal: "bt_dis_hilight.png";
28530                        border: 4 4 4 0;
28531                    }
28532                }
28533            }
28534            part { name: "right_over2";
28535                mouse_events: 1;
28536                repeat_events: 1;
28537                ignore_flags: ON_HOLD;
28538                description { state: "default" 0.0;
28539                    rel1.to: "right_bt";
28540                    rel2.to: "right_bt";
28541                    image {
28542                        normal: "bt_shine.png";
28543                        border: 7 7 7 7;
28544                    }
28545                }
28546                description { state: "disabled" 0.0;
28547                    inherit:  "default" 0.0;
28548                    visible: 0;
28549                }
28550            }
28551            part { name: "right_over3";
28552                mouse_events: 1;
28553                repeat_events: 1;
28554                description { state: "default" 0.0;
28555                    color: 255 255 255 0;
28556                    rel1.to: "right_bt";
28557                    rel2.to: "right_bt";
28558                    image {
28559                        normal: "bt_glow.png";
28560                        border: 12 12 12 12;
28561                    }
28562                    fill.smooth : 0;
28563                }
28564                description { state: "clicked" 0.0;
28565                    inherit:  "default" 0.0;
28566                    visible: 1;
28567                    color: 255 255 255 255;
28568                }
28569            }
28570            part { name: "left_bt_icon";
28571                repeat_events: 1;
28572                description { state: "default" 0.0;
28573                    rel1.to: "left_bt";
28574                    rel1.offset: 4 4;
28575                    rel2.to: "left_bt";
28576                    rel2.offset: -5 -5;
28577                    align: 0.5 0.5;
28578                    min: 16 16;
28579                    aspect: 1.0 1.0;
28580                    aspect_preference: BOTH;
28581                    image.normal: "sp_bt_l.png";
28582                }
28583                description { state: "rtl" 0.0;
28584                    inherit: "default" 0.0;
28585                    image.normal: "sp_bt_r.png";
28586                }
28587            }
28588            part { name: "right_bt_icon";
28589                repeat_events: 1;
28590                description { state: "default" 0.0;
28591                    rel1.to: "right_bt";
28592                    rel1.offset: 4 4;
28593                    rel2.to: "right_bt";
28594                    rel2.offset: -5 -5;
28595                    align: 0.5 0.5;
28596                    min: 16 16;
28597                    aspect: 1.0 1.0;
28598                    aspect_preference: BOTH;
28599                    image.normal: "sp_bt_r.png";
28600                }
28601                description { state: "rtl" 0.0;
28602                    inherit: "default" 0.0;
28603                    image.normal: "sp_bt_l.png";
28604                }
28605            }
28606            part { name: "elm.text";
28607                type: TEXT;
28608                mouse_events: 0;
28609                scale: 1;
28610                description { state: "default" 0.0;
28611                    visible: 1;
28612                    align: 0.0 0.5;
28613                    rel1 { relative: 1.0 0.0;
28614                        offset: 3 2;
28615                        to_x: "left_bt";
28616                        to_y: "bg";
28617                    }
28618                    rel2 { relative: 0.0 1.0;
28619                        offset: -3 -2;
28620                        to_x: "right_bt";
28621                        to_y: "bg";
28622                    }
28623                    color: 0 0 0 255;
28624                    text {
28625                        font: "Sans,Edje-Vera";
28626                        size: 10;
28627                        min: 1 1;
28628                        align: 0.5 0.5;
28629                    }
28630                }
28631                description { state: "active" 0.0;
28632                    inherit: "default" 0.0;
28633                    visible: 0;
28634                }
28635                description { state: "disabled_active" 0.0;
28636                    inherit: "default" 0.0;
28637                    color: 0 0 0 128;
28638                    color3: 0 0 0 0;
28639                }
28640                description { state: "disabled" 0.0;
28641                    inherit: "default" 0.0;
28642                    color: 0 0 0 128;
28643                    color3: 0 0 0 0;
28644                }
28645            }
28646            part { name: "elm.dragable.slider";
28647                type: RECT;
28648                mouse_events: 0;
28649                scale: 1;
28650                dragable {
28651                    x: 1 1 0;
28652                    y: 0 0 0;
28653                }
28654                description { state: "default" 0.0;
28655                    rel1.to: "bg";
28656                    rel2.to: "bg";
28657                    fixed: 1 1;
28658                    color: 0 0 0 0;
28659                }
28660            }
28661            part { name: "button_events";
28662                type: RECT;
28663                dragable {
28664                    events: "elm.dragable.slider";
28665                }
28666                mouse_events: 1;
28667                description { state: "default" 0.0;
28668                    rel1.to: "elm.text";
28669                    rel2.to: "elm.text";
28670                    color: 0 0 0 0;
28671                }
28672            }
28673            part { name: "elm.swallow.entry";
28674                type: SWALLOW;
28675                description { state: "default" 0.0;
28676                    visible: 0;
28677                    align: 0.5 0.5;
28678                    rel1 { relative: 1.0 0.5;
28679                        offset: 3 2;
28680                        to_x: "left_bt";
28681                        to_y: "bg";
28682                    }
28683                    rel2 { relative: 0.0 0.5;
28684                        offset: -3 -2;
28685                        to_x: "right_bt";
28686                        to_y: "bg";
28687                    }
28688                    fixed: 1 1;
28689                    color: 0 0 0 0;
28690                }
28691                description { state: "active" 0.0;
28692                    inherit: "default" 0.0;
28693                    visible: 1;
28694                    color: 255 255 255 255;
28695                }
28696                description { state: "disabled_active" 0.0;
28697                    inherit: "default" 0.0;
28698                    visible: 0;
28699                }
28700                description { state: "disabled" 0.0;
28701                    inherit: "default" 0.0;
28702                    visible: 0;
28703                }
28704            }
28705            part { name: "disabler";
28706                type: RECT;
28707                description { state: "default" 0.0;
28708                    color: 0 0 0 0;
28709                    visible: 0;
28710                }
28711                description { state: "disabled" 0.0;
28712                    inherit: "default" 0.0;
28713                    visible: 1;
28714                }
28715            }
28716        }
28717        programs {
28718            program { name: "text_show";
28719                signal: "elm,state,text,visible";
28720                source: "elm";
28721                action:  STATE_SET "visible" 0.0;
28722                target: "elm.text";
28723            }
28724            program { name: "text_hide";
28725                signal: "elm,state,text,hidden";
28726                source: "elm";
28727                action:  STATE_SET "default" 0.0;
28728                target: "elm.text";
28729            }
28730            program { name: "dec";
28731                signal: "mouse,down,1";
28732                source: "left_bt";
28733                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28734            }
28735            program { name: "dec2";
28736                signal: "mouse,up,1";
28737                source: "left_bt";
28738                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28739            }
28740            program { name: "inc";
28741                signal: "mouse,down,1";
28742                source: "right_bt";
28743                action: SIGNAL_EMIT "elm,action,increment,start" "";
28744            }
28745            program { name: "inc2";
28746                signal: "mouse,up,1";
28747                source: "right_bt";
28748                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28749            }
28750            program {
28751                name:   "left_bt_click";
28752                signal: "mouse,down,1";
28753                source: "left_over2";
28754                action: STATE_SET "clicked" 0.0;
28755                target: "left_bt";
28756            }
28757            program {
28758                name:   "left_bt_unclick";
28759                signal: "mouse,up,1";
28760                source: "left_over2";
28761                action: STATE_SET "default" 0.0;
28762                target: "left_bt";
28763            }
28764            program {
28765                name:   "left_bt_click2";
28766                signal: "mouse,down,1";
28767                source: "left_over3";
28768                action: STATE_SET "clicked" 0.0;
28769                target: "left_over3";
28770            }
28771            program {
28772                name:   "left_bt_unclick2";
28773                signal: "mouse,up,1";
28774                source: "left_over3";
28775                action: STATE_SET "default" 0.0;
28776                transition: DECELERATE 0.5;
28777                target: "left_over3";
28778            }
28779            program {
28780                name:   "left_bt_unclick3";
28781                signal: "mouse,up,1";
28782                source: "left_over2";
28783                action: SIGNAL_EMIT "elm,action,click" "";
28784            }
28785            program {
28786                name:   "left_bt_pressed_anim";
28787                signal: "elm,left,anim,activate";
28788                source: "elm";
28789                action: STATE_SET "clicked" 0.0;
28790                target: "left_bt";
28791                target: "left_over3";
28792                after: "left_bt_unpressed_anim";
28793            }
28794            program {
28795                name:   "left_bt_unpressed_anim";
28796                action: STATE_SET "default" 0.0;
28797                transition: DECELERATE 0.5;
28798                target: "left_bt";
28799                target: "left_over3";
28800            }
28801
28802            program {
28803                name:   "right_bt_click";
28804                signal: "mouse,down,1";
28805                source: "right_over2";
28806                action: STATE_SET "clicked" 0.0;
28807                target: "right_bt";
28808            }
28809            program {
28810                name:   "right_bt_unclick";
28811                signal: "mouse,up,1";
28812                source: "right_over2";
28813                action: STATE_SET "default" 0.0;
28814                target: "right_bt";
28815            }
28816            program {
28817                name:   "right_bt_click2";
28818                signal: "mouse,down,1";
28819                source: "right_over3";
28820                action: STATE_SET "clicked" 0.0;
28821                target: "right_over3";
28822            }
28823            program {
28824                name:   "right_bt_unclick2";
28825                signal: "mouse,up,1";
28826                source: "right_over3";
28827                action: STATE_SET "default" 0.0;
28828                transition: DECELERATE 0.5;
28829                target: "right_over3";
28830            }
28831            program {
28832                name:   "right_bt_unclick3";
28833                signal: "mouse,up,1";
28834                source: "right_over2";
28835                action: SIGNAL_EMIT "elm,action,click" "";
28836            }
28837            program {
28838                name:   "right_bt_pressed_anim";
28839                signal: "elm,right,anim,activate";
28840                source: "elm";
28841                action: STATE_SET "clicked" 0.0;
28842                target: "right_bt";
28843                target: "right_over3";
28844                after: "right_bt_unpressed_anim";
28845            }
28846            program {
28847                name:   "right_bt_unpressed_anim";
28848                action: STATE_SET "default" 0.0;
28849                transition: DECELERATE 0.5;
28850                target: "right_bt";
28851                target: "right_over3";
28852            }
28853
28854            program { name: "disable";
28855                signal: "elm,state,disabled";
28856                source: "elm";
28857                action: STATE_SET "disabled" 0.0;
28858                target: "left_bt";
28859                target: "left_over1";
28860                target: "left_over2";
28861                target: "right_bt";
28862                target: "right_over1";
28863                target: "right_over2";
28864                target: "disabler";
28865                after: "disable_text";
28866            }
28867            program { name: "disable_text";
28868                script {
28869                    new st[31];
28870                    new Float:vl;
28871                    get_state(PART:"elm.text", st, 30, vl);
28872                    if (!strcmp(st, "active"))
28873                    set_state(PART:"elm.text", "disabled_active", 0.0);
28874                    else
28875                    set_state(PART:"elm.text", "disabled", 0.0);
28876
28877                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28878                    if (!strcmp(st, "active"))
28879                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28880                    else
28881                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28882                }
28883            }
28884            program { name: "enable";
28885                signal: "elm,state,enabled";
28886                source: "elm";
28887                action: STATE_SET "default" 0.0;
28888                target: "left_bt";
28889                target: "left_over1";
28890                target: "left_over2";
28891                target: "right_bt";
28892                target: "right_over1";
28893                target: "right_over2";
28894                target: "disabler";
28895                after: "enable_text";
28896            }
28897            program { name: "enable_text";
28898                script {
28899                    new st[31];
28900                    new Float:vl;
28901                    get_state(PART:"elm.text", st, 30, vl);
28902                    if (!strcmp(st, "disabled_active"))
28903                    set_state(PART:"elm.text", "active", 0.0);
28904                    else
28905                    set_state(PART:"elm.text", "default", 0.0);
28906
28907                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28908                    if (!strcmp(st, "disabled_active"))
28909                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28910                    else
28911                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28912                }
28913            }
28914            program { name: "active";
28915                signal: "elm,state,active";
28916                source: "elm";
28917                action: STATE_SET "active" 0.0;
28918                target: "elm.text";
28919                target: "elm.swallow.entry";
28920            }
28921            program { name: "inactive";
28922                signal: "elm,state,inactive";
28923                source: "elm";
28924                action: STATE_SET "default" 0.0;
28925                target: "elm.text";
28926                target: "elm.swallow.entry";
28927            }
28928            program { name: "toggle_text";
28929                signal: "mouse,up,1";
28930                source: "button_events";
28931                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28932            }
28933            program { name: "to_rtl";
28934                signal: "edje,state,rtl";
28935                source: "edje";
28936                action: STATE_SET "rtl" 0.0;
28937                target: "right_bt_icon";
28938                target: "left_bt_icon";
28939            }
28940            program { name: "to_ltr";
28941                signal: "edje,state,ltr";
28942                source: "edje";
28943                action: STATE_SET "default" 0.0;
28944                target: "right_bt_icon";
28945                target: "left_bt_icon";
28946            }
28947        }
28948    }
28949
28950 ///////////////////////////////////////////////////////////////////////////////
28951    group { name: "elm/spinner/base/vertical";
28952        images {
28953            image: "shelf_inset.png" COMP;
28954            image: "bt_hilight.png" COMP;
28955            image: "bt_shine.png" COMP;
28956            image: "bt_glow.png" COMP;
28957            image: "bt_dis_base.png" COMP;
28958            image: "bt_dis_hilight.png" COMP;
28959            image: "up.png" COMP;
28960            image: "down.png" COMP;
28961            image: "bt_spinner_up.png" COMP;
28962            image: "bt_spinner_down.png" COMP;
28963            image: "bt_spinner_hilight.png" COMP;
28964        }
28965        parts {
28966            part { name: "bg";
28967                type: RECT;
28968                description { state: "default" 0.0;
28969                    min: 0 30;
28970                    rel1.offset: 1 1;
28971                    rel2.offset: -2 -2;
28972                    color: 255 255 255 0;
28973                }
28974            }
28975            part { name: "conf_over";
28976                mouse_events:  0;
28977                description { state: "default" 0.0;
28978                    rel1 {
28979                      to: "bg";
28980                      relative: 0.0 0.0;
28981                    }
28982                    rel2 {
28983                       to: "bg";
28984                    }
28985                    image {
28986                        normal: "shelf_inset.png";
28987                        border: 7 7 7 7;
28988                        middle: 0;
28989                    }
28990                    fill.smooth : 0;
28991                }
28992            }
28993            part { name: "down_bt";
28994                mouse_events:  1;
28995                description { state: "default" 0.0;
28996                    fixed: 1 1;
28997                    rel1 {
28998                        to: "up_bt";
28999                        relative: 0 1;
29000                        offset: 0 1;
29001                    }
29002                    rel2 {
29003                        to_y: "bg";
29004                        to_x: "up_bt";
29005                        relative: 1 1;
29006                        offset: -1 -4;
29007                    }
29008                    align: 1.0 0.5;
29009                    min: 24 16;
29010                    image {
29011                        normal: "bt_spinner_down.png";
29012                        border: 6 6 6 6;
29013                    }
29014                    fill.smooth : 0;
29015                }
29016                description { state: "clicked" 0.0;
29017                    inherit: "default" 0.0;
29018                    image.normal: "bt_spinner_down.png";
29019                    image.middle: SOLID;
29020                }
29021                description { state: "disabled" 0.0;
29022                    inherit:  "default" 0.0;
29023                    image {
29024                        normal: "bt_dis_base.png";
29025                        border: 4 4 4 4;
29026                    }
29027                }
29028            }
29029            part { name: "down_over3";
29030                mouse_events: 1;
29031                repeat_events: 1;
29032                description { state: "default" 0.0;
29033                    color: 255 255 255 0;
29034                    rel1.to: "down_bt";
29035                    rel2.to: "down_bt";
29036                    image {
29037                        normal: "bt_glow.png";
29038                        border: 12 12 12 12;
29039                    }
29040                    fill.smooth : 0;
29041                }
29042                description { state: "clicked" 0.0;
29043                    inherit:  "default" 0.0;
29044                    visible: 1;
29045                    color: 255 255 255 255;
29046                }
29047            }
29048            part { name: "up_bt";
29049                mouse_events:  1;
29050                description { state: "default" 0.0;
29051                    fixed: 1 0;
29052                    rel1 { to: "bg";
29053                        relative: 0 0;
29054                        offset: 0 2;
29055                    }
29056                    rel2 { to: "bg";
29057                        relative: 1 0.5;
29058                        offset: -3 0;
29059                    }
29060                    align: 1.0 0.5;
29061                    min: 24 16;
29062                    aspect: 1.5 1.0;
29063                    aspect_preference: BOTH;
29064                    image {
29065                        normal: "bt_spinner_up.png";
29066                        border: 6 6 6 6;
29067                    }
29068                    fill.smooth : 0;
29069                }
29070                description { state: "clicked" 0.0;
29071                    inherit: "default" 0.0;
29072                    image.normal: "bt_spinner_up.png";
29073                    image.middle: SOLID;
29074                }
29075                description { state: "disabled" 0.0;
29076                    inherit:  "default" 0.0;
29077                    image {
29078                        normal: "bt_dis_base.png";
29079                        border: 4 4 4 4;
29080                    }
29081                }
29082            }
29083            part { name: "up_over1";
29084                mouse_events: 0;
29085                description { state: "default" 0.0;
29086                    rel1.to: "up_bt";
29087                    rel2 { to: "up_bt";
29088                        relative: 1.0 0.5;
29089                    }
29090                    image {
29091                        normal: "bt_spinner_hilight.png";
29092                        border: 7 7 7 0;
29093                    }
29094                }
29095                description { state: "disabled" 0.0;
29096                    inherit:  "default" 0.0;
29097                    image {
29098                        normal: "bt_dis_hilight.png";
29099                        border: 4 4 4 0;
29100                    }
29101                }
29102            }
29103            part { name: "up_over3";
29104                mouse_events: 1;
29105                repeat_events: 1;
29106                description { state: "default" 0.0;
29107                    color: 255 255 255 0;
29108                    rel1.to: "up_bt";
29109                    rel2.to: "up_bt";
29110                    image {
29111                        normal: "bt_glow.png";
29112                        border: 12 12 12 12;
29113                    }
29114                    fill.smooth : 0;
29115                }
29116                description { state: "clicked" 0.0;
29117                    inherit:  "default" 0.0;
29118                    visible: 1;
29119                    color: 255 255 255 255;
29120                }
29121            }
29122            part { name: "down_bt_icon";
29123                repeat_events: 1;
29124                description { state: "default" 0.0;
29125                    rel1.to: "down_bt";
29126                    rel1.offset: 5 3;
29127                    rel2.to: "down_bt";
29128                    rel2.offset: -6 -3;
29129                    align: 0.5 0.5;
29130                    image.normal: "down.png";
29131                }
29132            }
29133            part { name: "up_bt_icon";
29134                repeat_events: 1;
29135                description { state: "default" 0.0;
29136                    rel1.to: "up_bt";
29137                    rel1.offset: 5 3;
29138                    rel2.to: "up_bt";
29139                    rel2.offset: -6 -3;
29140                    align: 0.5 0.5;
29141                    image.normal: "up.png";
29142                }
29143            }
29144            part { name: "elm.text";
29145                type: TEXT;
29146                mouse_events: 0;
29147                scale: 1;
29148                description { state: "default" 0.0;
29149                    visible: 1;
29150                    align: 0.0 0.5;
29151                    rel1 { relative: 0.0 0.0;
29152                        offset: 3 2;
29153                        to_x: "bg";
29154                        to_y: "bg";
29155                    }
29156                    rel2 { relative: 0.0 1.0;
29157                        offset: -3 -2;
29158                        to_x: "down_bt";
29159                        to_y: "bg";
29160                    }
29161                    color: 0 0 0 255;
29162                    text {
29163                        font: "Sans,Edje-Vera";
29164                        size: 10;
29165                        min: 1 1;
29166                        align: 0.5 0.5;
29167                    }
29168                }
29169                description { state: "active" 0.0;
29170                    inherit: "default" 0.0;
29171                    visible: 0;
29172                }
29173                description { state: "disabled_active" 0.0;
29174                    inherit: "default" 0.0;
29175                    color: 0 0 0 128;
29176                    color3: 0 0 0 0;
29177                }
29178                description { state: "disabled" 0.0;
29179                    inherit: "default" 0.0;
29180                    color: 0 0 0 128;
29181                    color3: 0 0 0 0;
29182                }
29183            }
29184            part { name: "elm.dragable.slider";
29185                type: RECT;
29186                mouse_events: 0;
29187                scale: 1;
29188                dragable {
29189                    x: 1 1 0;
29190                    y: 0 0 0;
29191                }
29192                description { state: "default" 0.0;
29193                    rel1.to: "bg";
29194                    rel2.to: "bg";
29195                    fixed: 1 1;
29196                    color: 0 0 0 0;
29197                }
29198            }
29199            part { name: "button_events";
29200                type: RECT;
29201                dragable {
29202                    events: "elm.dragable.slider";
29203                }
29204                mouse_events: 1;
29205                description { state: "default" 0.0;
29206                    rel1.to: "elm.text";
29207                    rel2.to: "elm.text";
29208                    color: 0 0 0 0;
29209                }
29210            }
29211            part { name: "elm.swallow.entry";
29212                type: SWALLOW;
29213                description { state: "default" 0.0;
29214                    visible: 0;
29215                    align: 0.5 0.5;
29216                    rel1 { relative: 0.0 0.5;
29217                        offset: 3 2;
29218                        to: "bg";
29219                    }
29220                    rel2 { relative: 1.0 0.5;
29221                        offset: -3 -2;
29222                        to: "bg";
29223                    }
29224                    fixed: 1 1;
29225                    color: 0 0 0 0;
29226                }
29227                description { state: "active" 0.0;
29228                    inherit: "default" 0.0;
29229                    visible: 1;
29230                    color: 255 255 255 255;
29231                }
29232                description { state: "disabled_active" 0.0;
29233                    inherit: "default" 0.0;
29234                    visible: 0;
29235                }
29236                description { state: "disabled" 0.0;
29237                    inherit: "default" 0.0;
29238                    visible: 0;
29239                }
29240            }
29241            part { name: "disabler";
29242                type: RECT;
29243                description { state: "default" 0.0;
29244                    color: 0 0 0 0;
29245                    visible: 0;
29246                }
29247                description { state: "disabled" 0.0;
29248                    inherit: "default" 0.0;
29249                    visible: 1;
29250                }
29251            }
29252        }
29253        programs {
29254            program { name: "text_show";
29255                signal: "elm,state,text,visible";
29256                source: "elm";
29257                action:  STATE_SET "visible" 0.0;
29258                target: "elm.text";
29259            }
29260            program { name: "text_hide";
29261                signal: "elm,state,text,hidden";
29262                source: "elm";
29263                action:  STATE_SET "default" 0.0;
29264                target: "elm.text";
29265            }
29266            program { name: "dec";
29267                signal: "mouse,down,1";
29268                source: "down_bt";
29269                action: SIGNAL_EMIT "elm,action,decrement,start" "";
29270            }
29271            program { name: "dec2";
29272                signal: "mouse,up,1";
29273                source: "down_bt";
29274                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
29275            }
29276            program { name: "inc";
29277                signal: "mouse,down,1";
29278                source: "up_bt";
29279                action: SIGNAL_EMIT "elm,action,increment,start" "";
29280            }
29281            program { name: "inc2";
29282                signal: "mouse,up,1";
29283                source: "up_bt";
29284                action: SIGNAL_EMIT "elm,action,increment,stop" "";
29285            }
29286            program {
29287                name:   "down_bt_click2";
29288                signal: "mouse,down,1";
29289                source: "down_over3";
29290                action: STATE_SET "clicked" 0.0;
29291                target: "down_over3";
29292            }
29293            program {
29294                name:   "down_bt_unclick2";
29295                signal: "mouse,up,1";
29296                source: "down_over3";
29297                action: STATE_SET "default" 0.0;
29298                transition: DECELERATE 0.5;
29299                target: "down_over3";
29300            }
29301            program {
29302                name:   "up_bt_click2";
29303                signal: "mouse,down,1";
29304                source: "up_over3";
29305                action: STATE_SET "clicked" 0.0;
29306                target: "up_over3";
29307            }
29308            program {
29309                name:   "up_bt_unclick2";
29310                signal: "mouse,up,1";
29311                source: "up_over3";
29312                action: STATE_SET "default" 0.0;
29313                transition: DECELERATE 0.5;
29314                target: "up_over3";
29315            }
29316            program { name: "disable";
29317                signal: "elm,state,disabled";
29318                source: "elm";
29319                action: STATE_SET "disabled" 0.0;
29320                target: "down_bt";
29321                target: "up_bt";
29322                target: "disabler";
29323                after: "disable_text";
29324            }
29325            program { name: "disable_text";
29326                script {
29327                    new st[31];
29328                    new Float:vl;
29329                    get_state(PART:"elm.text", st, 30, vl);
29330                    if (!strcmp(st, "active"))
29331                    set_state(PART:"elm.text", "disabled_active", 0.0);
29332                    else
29333                    set_state(PART:"elm.text", "disabled", 0.0);
29334
29335                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29336                    if (!strcmp(st, "active"))
29337                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
29338                    else
29339                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
29340                }
29341            }
29342            program { name: "enable";
29343                signal: "elm,state,enabled";
29344                source: "elm";
29345                action: STATE_SET "default" 0.0;
29346                target: "down_bt";
29347                target: "up_bt";
29348                target: "disabler";
29349                after: "enable_text";
29350            }
29351            program { name: "enable_text";
29352                script {
29353                    new st[31];
29354                    new Float:vl;
29355                    get_state(PART:"elm.text", st, 30, vl);
29356                    if (!strcmp(st, "disabled_active"))
29357                    set_state(PART:"elm.text", "active", 0.0);
29358                    else
29359                    set_state(PART:"elm.text", "default", 0.0);
29360
29361                    get_state(PART:"elm.swallow.entry", st, 30, vl);
29362                    if (!strcmp(st, "disabled_active"))
29363                    set_state(PART:"elm.swallow.entry", "active", 0.0);
29364                    else
29365                    set_state(PART:"elm.swallow.entry", "default", 0.0);
29366                }
29367            }
29368            program { name: "active";
29369                signal: "elm,state,active";
29370                source: "elm";
29371                action: STATE_SET "active" 0.0;
29372                target: "elm.text";
29373                target: "elm.swallow.entry";
29374            }
29375            program { name: "inactive";
29376                signal: "elm,state,inactive";
29377                source: "elm";
29378                action: STATE_SET "default" 0.0;
29379                target: "elm.text";
29380                target: "elm.swallow.entry";
29381            }
29382            program { name: "toggle_text";
29383                signal: "mouse,up,1";
29384                source: "button_events";
29385                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
29386            }
29387        }
29388    }
29389
29390
29391    ///////////////////////////////////////////////////////////////////////////////
29392    group { name: "elm/index/base/vertical/default";
29393        images {
29394            image: "bt_base1.png" COMP;
29395            image: "bt_base2.png" COMP;
29396            image: "bt_hilight.png" COMP;
29397            image: "bt_shine.png" COMP;
29398        }
29399        parts {
29400            part { name: "clip";
29401                type: RECT;
29402                mouse_events:  0;
29403                description { state: "default" 0.0;
29404                    visible:  0;
29405                    color: 255 255 255 0;
29406                }
29407                description { state: "active" 0.0;
29408                    visible:  1;
29409                    color: 255 255 255 255;
29410                }
29411            }
29412            part { name: "clip2";
29413                type: RECT;
29414                mouse_events:  0;
29415                clip_to: "clip";
29416                description { state: "default" 0.0;
29417                    visible: 0;
29418                    color: 255 255 255 0;
29419                }
29420                description { state: "active" 0.0;
29421                    visible:  1;
29422                    color: 255 255 255 255;
29423                }
29424            }
29425            part { name: "elm.swallow.index.0";
29426                type: SWALLOW;
29427                clip_to: "clip";
29428                description { state: "default" 0.0;
29429                    align: 1.0 0.5;
29430                    fixed: 1 1;
29431                    rel1 {
29432                        relative: 1.0 0.5;
29433                        offset: -1 5;
29434                    }
29435                    rel2 {
29436                        relative: 1.0 0.5;
29437                        offset: -1 -6;
29438                    }
29439                }
29440            }
29441            part { name: "button_image";
29442                mouse_events: 1;
29443                clip_to: "clip";
29444                description { state: "default" 0.0;
29445                    rel1 {
29446                        to: "elm.text.body";
29447                        offset: -5 -5;
29448                    }
29449                    rel2 {
29450                        to: "elm.text";
29451                        offset: 4 4;
29452                    }
29453                    image {
29454                        normal: "bt_base2.png";
29455                        border: 7 7 7 7;
29456                    }
29457                    image.middle: SOLID;
29458                }
29459            }
29460            part { name: "elm.text.body";
29461                type: TEXT;
29462                effect: SOFT_SHADOW;
29463                mouse_events: 0;
29464                scale: 1;
29465                clip_to: "clip";
29466                description { state: "default" 0.0;
29467                    align: 1.0 0.5;
29468                    fixed: 1 1;
29469                    rel1 {
29470                        to: "elm.text";
29471                        relative: 0.0 0.0;
29472                        offset: 5 0;
29473                    }
29474                    rel2 {
29475                        to: "elm.text";
29476                        relative: 0.0 1.0;
29477                        offset: 5 -1;
29478                    }
29479                    color: 224 224 224 255;
29480                    color3: 0 0 0 64;
29481                    text {
29482                        font:     "Sans,Edje-Vera";
29483                        size:     20;
29484                        min:      1 1;
29485                        align:    1.0 0.5;
29486                    }
29487                }
29488            }
29489            part { name: "elm.text";
29490                type: TEXT;
29491                effect: SOFT_SHADOW;
29492                mouse_events: 0;
29493                scale: 1;
29494                clip_to: "clip";
29495                description { state: "default" 0.0;
29496                    align: 1.0 0.5;
29497                    fixed: 1 1;
29498                    rel1 {
29499                        to_x: "elm.swallow.event.0";
29500                        to_y: "elm.dragable.pointer";
29501                        relative: 0.0 0.5;
29502                        offset: -16 0;
29503                    }
29504                    rel2 {
29505                        to_x: "elm.swallow.event.0";
29506                        to_y: "elm.dragable.pointer";
29507                        relative: 0.0 0.5;
29508                        offset: -16 -1;
29509                    }
29510                    color: 255 0 0 255;
29511                    color3: 0 0 0 64;
29512                    text {
29513                        font:     "Sans,Edje-Vera";
29514                        size:     20;
29515                        min:      1 1;
29516                        align:    1.0 0.5;
29517                    }
29518                }
29519            }
29520            part {        name: "over1";
29521                mouse_events: 0;
29522                clip_to: "clip";
29523                description { state: "default" 0.0;
29524                    rel1 {
29525                        to: "button_image";
29526                    }
29527                    rel2 {
29528                        to: "button_image";
29529                        relative: 1.0 0.5;
29530                    }
29531                    image {
29532                        normal: "bt_hilight.png";
29533                        border: 7 7 7 0;
29534                    }
29535                }
29536            }
29537            part { name: "over2";
29538                mouse_events: 1;
29539                repeat_events: 1;
29540                ignore_flags: ON_HOLD;
29541                clip_to: "clip";
29542                description { state: "default" 0.0;
29543                    rel1 {
29544                        to: "button_image";
29545                    }
29546                    rel2 {
29547                        to: "button_image";
29548                    }
29549                    image {
29550                        normal: "bt_shine.png";
29551                        border: 7 7 7 7;
29552                    }
29553                }
29554            }
29555            part { name: "elm.dragable.pointer";
29556                type: RECT;
29557                mouse_events: 0;
29558                dragable {
29559                    x: 1 1 0;
29560                    y: 1 1 0;
29561                }
29562                clip_to: "clip";
29563                description { state: "default" 0.0;
29564                    fixed: 1 1;
29565                    min: 8 8;
29566                    max: 8 8;
29567                    visible: 0;
29568                    rel1 {
29569                        relative: 0.0 0.0;
29570                        offset:   0 0;
29571                    }
29572                    rel2 {
29573                        relative: 0.0 0.0;
29574                        offset:   0 0;
29575                    }
29576                    color: 0 0 255 128;
29577                }
29578            }
29579            part { name: "elm.swallow.event.0";
29580                type: SWALLOW;
29581                description { state: "default" 0.0;
29582                    align: 1.0 0.5;
29583                    fixed: 1 1;
29584                    rel1 {
29585                        relative: 1.0 0.0;
29586                        offset: -1 0;
29587                    }
29588                    rel2 {
29589                        relative: 1.0 1.0;
29590                        offset: -1 -1;
29591                    }
29592                }
29593            }
29594        }
29595        programs {
29596            program { name: "active";
29597                signal: "elm,state,active";
29598                source: "elm";
29599                action: STATE_SET "active" 0.0;
29600                transition: DECELERATE 0.5;
29601                target: "clip";
29602            }
29603            program { name: "inactive";
29604                signal: "elm,state,inactive";
29605                source: "elm";
29606                action: STATE_SET "default" 0.0;
29607                transition: DECELERATE 0.5;
29608                target: "clip";
29609            }
29610        }
29611    }
29612
29613    group { name: "elm/index/item/vertical/default";
29614        data.item: "stacking" "above";
29615        data.item: "selectraise" "on";
29616        images {
29617            image: "ilist_1.png" COMP;
29618            image: "ilist_item_shadow.png" COMP;
29619        }
29620        parts {
29621            part {
29622                name: "base_sh";
29623                mouse_events: 0;
29624                description {
29625                    state: "default" 0.0;
29626                    align: 0.0 0.0;
29627                    min: 0 10;
29628                    fixed: 1 1;
29629                    rel1 {
29630                        to: "base";
29631                        relative: 0.0 1.0;
29632                        offset: 0 0;
29633                    }
29634                    rel2 {
29635                        to: "base";
29636                        relative: 1.0 1.0;
29637                        offset: -1 0;
29638                    }
29639                    image {
29640                        normal: "ilist_item_shadow.png";
29641                    }
29642                    fill.smooth: 0;
29643                }
29644            }
29645            part {
29646                name: "base";
29647                mouse_events: 0;
29648                description {
29649                    state: "default" 0.0;
29650                    image {
29651                        normal: "ilist_1.png";
29652                        border: 2 2 2 2;
29653                    }
29654                    fill.smooth: 0;
29655                }
29656                description { state: "active" 0.0;
29657                    inherit: "default" 0.0;
29658                    rel1 {
29659                        offset: -16 0;
29660                    }
29661                }
29662            }
29663            part { name: "elm.text";
29664                type:           TEXT;
29665                mouse_events:   0;
29666                scale: 1;
29667                description {
29668                    state: "default" 0.0;
29669                           //               min: 16 16;
29670                    rel1 {
29671                        to: "base";
29672                        relative: 0.0  0.0;
29673                        offset:   4 4;
29674                    }
29675                    rel2 {
29676                        to: "base";
29677                        relative: 0.5  1.0;
29678                        offset:   -1 -1;
29679                    }
29680                    color: 0 0 0 128;
29681                    text {
29682                        font: "Sans";
29683                        size: 10;
29684                        min: 1 1;
29685                             //                  min: 0 1;
29686                        align: 0.5 0.5;
29687                    }
29688                }
29689                description { state: "active" 0.0;
29690                    inherit: "default" 0.0;
29691                    color: 0 0 0 255;
29692                }
29693            }
29694        }
29695        programs {
29696            program { name: "active";
29697                signal: "elm,state,active";
29698                source: "elm";
29699                action: STATE_SET "active" 0.0;
29700                transition: DECELERATE 0.5;
29701                target: "elm.text";
29702                target: "base";
29703            }
29704            program { name: "inactive";
29705                signal: "elm,state,inactive";
29706                source: "elm";
29707                action: STATE_SET "default" 0.0;
29708                transition: DECELERATE 0.5;
29709                target: "elm.text";
29710                target: "base";
29711            }
29712        }
29713    }
29714
29715    group { name: "elm/index/item_odd/vertical/default";
29716        data.item: "stacking" "below";
29717        images {
29718            image: "ilist_2.png" COMP;
29719        }
29720        parts {
29721            part {
29722                name: "base";
29723                mouse_events: 0;
29724                description {
29725                    state: "default" 0.0;
29726                    image {
29727                        normal: "ilist_2.png";
29728                        border: 2 2 2 2;
29729                    }
29730                    fill.smooth: 0;
29731                }
29732                description { state: "active" 0.0;
29733                    inherit: "default" 0.0;
29734                    rel1 {
29735                        offset: -16 0;
29736                    }
29737                }
29738            }
29739            part { name: "elm.text";
29740                type:           TEXT;
29741                mouse_events:   0;
29742                scale: 1;
29743                description {
29744                    state: "default" 0.0;
29745                           //               min: 16 16;
29746                    rel1 {
29747                        to: "base";
29748                        relative: 0.0  0.0;
29749                        offset:   4 4;
29750                    }
29751                    rel2 {
29752                        to: "base";
29753                        relative: 0.5  1.0;
29754                        offset:   -1 -1;
29755                    }
29756                    color: 0 0 0 128;
29757                    text {
29758                        font: "Sans";
29759                        size: 10;
29760                        min: 1 1;
29761                             //                  min: 0 1;
29762                        align: 0.5 0.5;
29763                    }
29764                }
29765                description { state: "active" 0.0;
29766                    inherit: "default" 0.0;
29767                    color: 0 0 0 255;
29768                }
29769            }
29770        }
29771        programs {
29772            program { name: "active";
29773                signal: "elm,state,active";
29774                source: "elm";
29775                action: STATE_SET "active" 0.0;
29776                transition: DECELERATE 0.5;
29777                target: "elm.text";
29778                target: "base";
29779            }
29780            program { name: "inactive";
29781                signal: "elm,state,inactive";
29782                source: "elm";
29783                action: STATE_SET "default" 0.0;
29784                transition: DECELERATE 0.5;
29785                target: "elm.text";
29786                target: "base";
29787            }
29788        }
29789    }
29790
29791 ///////////////////////////////////////////////////////////////////////////////
29792    group { name: "elm/gengrid/item/default/default";
29793       data.item: "labels" "elm.text";
29794       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29795       images {
29796          image: "bt_sm_base1.png" COMP;
29797          image: "bt_sm_shine.png" COMP;
29798          image: "bt_sm_hilight.png" COMP;
29799          image: "ilist_1.png" COMP;
29800          image: "ilist_item_shadow.png" COMP;
29801       }
29802       parts {
29803          part { name: "event";
29804             type: RECT;
29805             repeat_events: 1;
29806             description {
29807                state: "default" 0.0;
29808                color: 0 0 0 0;
29809             }
29810          }
29811          part { name: "base_sh";
29812             mouse_events: 0;
29813             description { state: "default" 0.0;
29814                align: 0.0 0.0;
29815                min: 0 10;
29816                fixed: 1 1;
29817                rel1 {
29818                   to: "base";
29819                   relative: 0.0 1.0;
29820                   offset: 0 0;
29821                }
29822                rel2 {
29823                   to: "base";
29824                   relative: 1.0 1.0;
29825                   offset: -1 0;
29826                }
29827                image {
29828                   normal: "ilist_item_shadow.png";
29829                }
29830                fill.smooth: 0;
29831             }
29832          }
29833          part { name: "base";
29834             mouse_events: 0;
29835             description { state: "default" 0.0;
29836                image {
29837                   normal: "ilist_1.png";
29838                   border: 2 2 2 2;
29839                }
29840                fill.smooth: 0;
29841             }
29842          }
29843          part { name: "bg";
29844             clip_to: "disclip";
29845             mouse_events: 0;
29846             description { state: "default" 0.0;
29847                visible: 0;
29848                color: 255 255 255 0;
29849                rel1 {
29850                   relative: 0.0 0.0;
29851                   offset: -5 -5;
29852                }
29853                rel2 {
29854                   relative: 1.0 1.0;
29855                   offset: 4 4;
29856                }
29857                image {
29858                   normal: "bt_sm_base1.png";
29859                   border: 6 6 6 6;
29860                }
29861                image.middle: SOLID;
29862             }
29863             description { state: "selected" 0.0;
29864                inherit: "default" 0.0;
29865                visible: 1;
29866                color: 255 255 255 255;
29867                rel1 {
29868                   relative: 0.0 0.0;
29869                   offset: -2 -2;
29870                }
29871                rel2 {
29872                   relative: 1.0 1.0;
29873                   offset: 1 1;
29874                }
29875             }
29876          }
29877          part { name: "elm.swallow.pad";
29878             type: SWALLOW;
29879             description { state: "default" 0.0;
29880                fixed: 1 0;
29881                align: 0.0 0.5;
29882                rel1 {
29883                   relative: 0.0  1.0;
29884                   offset:   0    -10;
29885                }
29886                rel2 {
29887                   to_y: "elm.text";
29888                   relative: 0.0  0.0;
29889                   offset:   -1   -1;
29890                }
29891             }
29892          }
29893          part { name: "elm.swallow.icon";
29894             clip_to: "disclip";
29895             type: SWALLOW;
29896             description { state: "default" 0.0;
29897                fixed: 1 0;
29898                align: 0.5 0.5;
29899                rel1 {
29900                   relative: 0.0  0.0;
29901                   offset:   -1    4;
29902                }
29903                rel2 {
29904                   to_y: "elm.swallow.pad";
29905                   relative: 1.0  0.0;
29906                   offset:   -1   -5;
29907                }
29908             }
29909          }
29910          part { name: "elm.swallow.end";
29911             clip_to: "disclip";
29912             type: SWALLOW;
29913             description { state: "default" 0.0;
29914                fixed: 1 0;
29915                align: 1.0 0.0;
29916                aspect: 1.0 1.0;
29917                aspect_preference: HORIZONTAL;
29918                rel1 {
29919                   relative: 1.0 0.0;
29920                   offset: -5 -5;
29921                }
29922                rel2 {
29923                   relative: 1.0 1.0;
29924                   offset: 5 5;
29925                }
29926             }
29927          }
29928          part { name: "elm.text";
29929             clip_to: "disclip";
29930             type: TEXT;
29931             effect: SOFT_SHADOW;
29932             mouse_events: 0;
29933             scale: 1;
29934             description { state: "default" 0.0;
29935                rel1 {
29936                   relative: 0.0  1.0;
29937                   offset: 0 0;
29938                }
29939                rel2 {
29940                   relative: 1.0  1.0;
29941                   offset: -5 -5;
29942                }
29943                color: 0 0 0 255;
29944                color3: 0 0 0 0;
29945                text {
29946                   font: "Sans";
29947                   size: 10;
29948                   min: 0 1;
29949                   align: 0.5 0.0;
29950                   text_class: "grid_item";
29951                }
29952             }
29953             description { state: "selected" 0.0;
29954                inherit: "default" 0.0;
29955                color: 224 224 224 255;
29956                color3: 0 0 0 64;
29957             }
29958          }
29959          part { name: "fg1";
29960             clip_to: "disclip";
29961             mouse_events: 0;
29962             description { state: "default" 0.0;
29963                visible: 0;
29964                color: 255 255 255 0;
29965                rel1.to: "bg";
29966                rel2.relative: 1.0 0.5;
29967                rel2.to: "bg";
29968                image {
29969                   normal: "bt_sm_hilight.png";
29970                   border: 6 6 6 0;
29971                }
29972             }
29973             description { state: "selected" 0.0;
29974                inherit: "default" 0.0;
29975                visible: 1;
29976                color: 255 255 255 255;
29977             }
29978          }
29979          part { name: "fg2";
29980             clip_to: "disclip";
29981             mouse_events: 0;
29982             description { state: "default" 0.0;
29983                visible: 0;
29984                color: 255 255 255 0;
29985                rel1.to: "bg";
29986                rel2.to: "bg";
29987                image {
29988                   normal: "bt_sm_shine.png";
29989                   border: 6 6 6 0;
29990                }
29991             }
29992             description { state: "selected" 0.0;
29993                inherit: "default" 0.0;
29994                visible: 1;
29995                color: 255 255 255 255;
29996             }
29997          }
29998          part { name: "disclip";
29999             type: RECT;
30000             description { state: "default" 0.0;
30001                rel1.to: "bg";
30002                rel2.to: "bg";
30003             }
30004             description { state: "disabled" 0.0;
30005                inherit: "default" 0.0;
30006                color: 255 255 255 64;
30007             }
30008          }
30009       }
30010       programs {
30011          // signal: elm,state,%s,active
30012          //   a "check" item named %s went active
30013          // signal: elm,state,%s,passive
30014          //   a "check" item named %s went passive
30015          // default is passive
30016          program { name:    "go_active";
30017             signal:  "elm,state,selected";
30018             source:  "elm";
30019             action:  STATE_SET "selected" 0.0;
30020             target:  "bg";
30021             target:  "fg1";
30022             target:  "fg2";
30023             target:  "elm.text";
30024          }
30025          program { name:    "go_passive";
30026             signal:  "elm,state,unselected";
30027             source:  "elm";
30028             action:  STATE_SET "default" 0.0;
30029             target:  "bg";
30030             target:  "fg1";
30031             target:  "fg2";
30032             target:  "elm.text";
30033             transition: LINEAR 0.1;
30034          }
30035          program { name:    "go_disabled";
30036             signal:  "elm,state,disabled";
30037             source:  "elm";
30038             action:  STATE_SET "disabled" 0.0;
30039             target:  "disclip";
30040          }
30041          program { name:    "go_enabled";
30042             signal:  "elm,state,enabled";
30043             source:  "elm";
30044             action:  STATE_SET "default" 0.0;
30045             target:  "disclip";
30046          }
30047       }
30048    }
30049    group { name: "elm/gengrid/item/default_style/default";
30050        styles
30051        {
30052            style { name: "gengrid_style";
30053                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
30054                tag:  "br" "\n";
30055                tag:  "ps" "ps";
30056                tag:  "hilight" "+ font=Sans:style=Bold";
30057                tag:  "b" "+ font=Sans:style=Bold";
30058                tag:  "tab" "\t";
30059            }
30060            style { name: "gengrid_selected_style";
30061                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
30062                tag:  "br" "\n";
30063                tag:  "ps" "ps";
30064                tag:  "hilight" "+ font=Sans:style=Bold";
30065                tag:  "b" "+ font=Sans:style=Bold";
30066                tag:  "tab" "\t";
30067            }
30068        }
30069        data.item: "labels" "elm.text";
30070        data.item: "icons" "elm.swallow.icon elm.swallow.end";
30071        images {
30072            image: "bt_sm_base1.png" COMP;
30073            image: "bt_sm_shine.png" COMP;
30074            image: "bt_sm_hilight.png" COMP;
30075            image: "ilist_1.png" COMP;
30076            image: "ilist_item_shadow.png" COMP;
30077        }
30078        parts {
30079            part { name: "event";
30080                type: RECT;
30081                repeat_events: 1;
30082                description { state: "default" 0.0;
30083                    color: 0 0 0 0;
30084                }
30085            }
30086            part { name: "base_sh";
30087                mouse_events: 0;
30088                description { state: "default" 0.0;
30089                    align: 0.0 0.0;
30090                    min: 0 10;
30091                    fixed: 1 1;
30092                    rel1 {
30093                        to: "base";
30094                        relative: 0.0 1.0;
30095                        offset: 0 0;
30096                    }
30097                    rel2 {
30098                        to: "base";
30099                        relative: 1.0 1.0;
30100                        offset: -1 0;
30101                    }
30102                    image {
30103                        normal: "ilist_item_shadow.png";
30104                    }
30105                    fill.smooth: 0;
30106                }
30107            }
30108            part { name: "base";
30109                mouse_events: 0;
30110                description { state: "default" 0.0;
30111                    min: 16 28;
30112                    image {
30113                        normal: "ilist_1.png";
30114                        border: 2 2 2 2;
30115                    }
30116                    fill.smooth: 0;
30117                }
30118            }
30119            part { name: "bg";
30120                clip_to: "disclip";
30121                mouse_events: 0;
30122                description { state: "default" 0.0;
30123                    visible: 0;
30124                    color: 255 255 255 0;
30125                    rel1 {
30126                        relative: 0.0 0.0;
30127                        offset: -5 -5;
30128                    }
30129                    rel2 {
30130                        relative: 1.0 1.0;
30131                        offset: 4 4;
30132                    }
30133                    image {
30134                        normal: "bt_sm_base1.png";
30135                        border: 6 6 6 6;
30136                    }
30137                    image.middle: SOLID;
30138                }
30139                description { state: "selected" 0.0;
30140                    inherit: "default" 0.0;
30141                    visible: 1;
30142                    color: 255 255 255 255;
30143                    rel1 {
30144                        relative: 0.0 0.0;
30145                        offset: -2 -2;
30146                    }
30147                    rel2 {
30148                        relative: 1.0 1.0;
30149                        offset: 1 1;
30150                    }
30151                }
30152            }
30153            part { name: "elm.swallow.pad";
30154                type: SWALLOW;
30155                description { state: "default" 0.0;
30156                    fixed: 1 0;
30157                    align: 0.0 0.5;
30158                    rel1 {
30159                        relative: 0.0  0.0;
30160                        offset:   4    4;
30161                    }
30162                    rel2 {
30163                        relative: 0.0  1.0;
30164                        offset:   4   -5;
30165                    }
30166                }
30167            }
30168            part { name: "elm.swallow.icon";
30169                clip_to: "disclip";
30170                type: SWALLOW;
30171                description { state: "default" 0.0;
30172                    fixed: 1 0;
30173                    align: 0.0 0.5;
30174                    rel1 {
30175                        to_x: "elm.swallow.pad";
30176                        relative: 1.0  0.0;
30177                        offset:   -1    4;
30178                    }
30179                    rel2 {
30180                        to_x: "elm.swallow.pad";
30181                        relative: 1.0  1.0;
30182                        offset:   -1   -5;
30183                    }
30184                }
30185            }
30186            part { name: "elm.swallow.end";
30187                clip_to: "disclip";
30188                type: SWALLOW;
30189                description { state: "default" 0.0;
30190                    fixed: 1 0;
30191                    align: 1.0 0.5;
30192                    aspect: 1.0 1.0;
30193                    aspect_preference: VERTICAL;
30194                    rel1 {
30195                        relative: 1.0  0.0;
30196                        offset:   -5    4;
30197                    }
30198                    rel2 {
30199                        relative: 1.0  1.0;
30200                        offset:   -5   -5;
30201                    }
30202                }
30203            }
30204            part { name: "elm.text";
30205                clip_to: "disclip";
30206                type: TEXTBLOCK;
30207                mouse_events: 0;
30208                scale: 1;
30209                description {
30210                    state: "default" 0.0;
30211                    align: 0.0 0.5;
30212                    fixed: 0 1;
30213                    rel1 {
30214                        to_x: "elm.swallow.icon";
30215                        to_y: "base";
30216                        relative: 1.0  0.5;
30217                        offset:   0 4;
30218                    }
30219                    rel2 {
30220                        to_x: "elm.swallow.end";
30221                        to_y: "base";
30222                        relative: 0.0  0.5;
30223                        offset:   -1 -5;
30224                    }
30225                    text {
30226                        style: "gengrid_style";
30227                        min: 1 1;
30228                    }
30229                }
30230                description { state: "selected" 0.0;
30231                    inherit: "default" 0.0;
30232                    text {
30233                        style: "gengrid_selected_style";
30234                    }
30235                }
30236            }
30237            part { name: "fg1";
30238                clip_to: "disclip";
30239                mouse_events: 0;
30240                description { state: "default" 0.0;
30241                    visible: 0;
30242                    color: 255 255 255 0;
30243                    rel1.to: "bg";
30244                    rel2.relative: 1.0 0.5;
30245                    rel2.to: "bg";
30246                    image {
30247                        normal: "bt_sm_hilight.png";
30248                        border: 6 6 6 0;
30249                    }
30250                }
30251                description { state: "selected" 0.0;
30252                    inherit: "default" 0.0;
30253                    visible: 1;
30254                    color: 255 255 255 255;
30255                }
30256            }
30257            part { name: "fg2";
30258                clip_to: "disclip";
30259                mouse_events: 0;
30260                description { state: "default" 0.0;
30261                    visible: 0;
30262                    color: 255 255 255 0;
30263                    rel1.to: "bg";
30264                    rel2.to: "bg";
30265                    image {
30266                        normal: "bt_sm_shine.png";
30267                        border: 6 6 6 0;
30268                    }
30269                }
30270                description { state: "selected" 0.0;
30271                    inherit: "default" 0.0;
30272                    visible: 1;
30273                    color: 255 255 255 255;
30274                }
30275            }
30276            part { name: "disclip";
30277                type: RECT;
30278                description { state: "default" 0.0;
30279                    rel1.to: "bg";
30280                    rel2.to: "bg";
30281                }
30282                description { state: "disabled" 0.0;
30283                    inherit: "default" 0.0;
30284                    color: 255 255 255 64;
30285                }
30286            }
30287        }
30288        programs {
30289            // signal: elm,state,%s,active
30290            //   a "check" item named %s went active
30291            // signal: elm,state,%s,passive
30292            //   a "check" item named %s went passive
30293            // default is passive
30294            program { name:    "go_active";
30295                signal:  "elm,state,selected";
30296                source:  "elm";
30297                action:  STATE_SET "selected" 0.0;
30298                target:  "bg";
30299                target:  "fg1";
30300                target:  "fg2";
30301                target:  "elm.text";
30302            }
30303            program { name:    "go_passive";
30304                signal:  "elm,state,unselected";
30305                source:  "elm";
30306                action:  STATE_SET "default" 0.0;
30307                target:  "bg";
30308                target:  "fg1";
30309                target:  "fg2";
30310                target:  "elm.text";
30311                transition: LINEAR 0.1;
30312            }
30313            program { name:    "go_disabled";
30314                signal:  "elm,state,disabled";
30315                source:  "elm";
30316                action:  STATE_SET "disabled" 0.0;
30317                target:  "disclip";
30318            }
30319            program { name:    "go_enabled";
30320                signal:  "elm,state,enabled";
30321                source:  "elm";
30322                action:  STATE_SET "default" 0.0;
30323                target:  "disclip";
30324            }
30325        }
30326    }
30327
30328    group { name: "elm/gengrid/item/up/default";
30329       data.item: "labels" "elm.text";
30330       images {
30331           image: "bt_sm_base1.png" COMP;
30332           image: "bt_sm_shine.png" COMP;
30333           image: "bt_sm_hilight.png" COMP;
30334           image: "arrow_up.png" COMP;
30335       }
30336       parts {
30337          part { name: "event";
30338             type: RECT;
30339             repeat_events: 1;
30340             description { state: "default" 0.0;
30341                color: 0 0 0 0;
30342             }
30343          }
30344          part { name: "bg";
30345             clip_to: "disclip";
30346             mouse_events: 0;
30347             description { state: "default" 0.0;
30348                visible: 0;
30349                color: 255 255 255 0;
30350                rel1.offset: -3 -3;
30351                rel2.offset: 2 2;
30352                image { normal: "bt_sm_base1.png";
30353                   border: 6 6 6 6;
30354                   middle: SOLID;
30355                }
30356             }
30357             description { state: "selected" 0.0;
30358                inherit: "default" 0.0;
30359                visible: 1;
30360                color: 255 255 255 255;
30361             }
30362          }
30363          part { name: "image";
30364              type: IMAGE;
30365              mouse_events: 0;
30366              description { state: "default" 0.0;
30367                  aspect_preference: BOTH;
30368                  aspect: 1.0 1.0;
30369                  image.normal: "arrow_up.png";
30370                  rel2 {
30371                      to_y: "elm.text";
30372                      relative: 1.0 0.0;
30373                      offset: -1 -2;
30374                  }
30375              }
30376          }
30377          part { name: "elm.text";
30378             clip_to: "disclip";
30379             type: TEXT;
30380             effect: SOFT_SHADOW;
30381             mouse_events: 0;
30382             scale: 1;
30383             description { state: "default" 0.0;
30384                rel1 {
30385                   relative: 0.0  1.0;
30386                   offset: 20 -25;
30387                }
30388                rel2 {
30389                   relative: 1.0  1.0;
30390                   offset: -21 -3;
30391                }
30392                color: 0 0 0 255;
30393                color3: 0 0 0 0;
30394                text {
30395                   font: "Sans";
30396                   size: 10;
30397                   min: 0 1;
30398                   align: 0.5 0.0;
30399                   text_class: "grid_item";
30400                }
30401             }
30402             description { state: "selected" 0.0;
30403                inherit: "default" 0.0;
30404                color: 224 224 224 255;
30405                color3: 0 0 0 64;
30406             }
30407          }
30408          part { name: "fg1";
30409             clip_to: "disclip";
30410             mouse_events: 0;
30411             description { state: "default" 0.0;
30412                visible: 0;
30413                color: 255 255 255 0;
30414                rel1.offset: -3 -3;
30415                rel2 {
30416                    relative: 1.0 0.5;
30417                    offset: 2 -1;
30418                }
30419                image {
30420                   normal: "bt_sm_hilight.png";
30421                   border: 6 6 6 0;
30422                }
30423             }
30424             description { state: "selected" 0.0;
30425                inherit: "default" 0.0;
30426                visible: 1;
30427                color: 255 255 255 255;
30428             }
30429          }
30430          part { name: "fg2";
30431             clip_to: "disclip";
30432             mouse_events: 0;
30433             description { state: "default" 0.0;
30434                visible: 0;
30435                color: 255 255 255 0;
30436                rel1.offset: -3 -3;
30437                rel2.offset: 2 2;
30438                image {
30439                   normal: "bt_sm_shine.png";
30440                   border: 6 6 6 0;
30441                }
30442             }
30443             description { state: "selected" 0.0;
30444                inherit: "default" 0.0;
30445                visible: 1;
30446                color: 255 255 255 255;
30447             }
30448          }
30449          part { name: "disclip";
30450             type: RECT;
30451             description { state: "default" 0.0;
30452                rel1.to: "bg";
30453                rel2.to: "bg";
30454             }
30455             description { state: "disabled" 0.0;
30456                inherit: "default" 0.0;
30457                color: 255 255 255 64;
30458             }
30459          }
30460       }
30461       programs {
30462          program { name:    "go_active";
30463             signal:  "elm,state,selected";
30464             source:  "elm";
30465             action:  STATE_SET "selected" 0.0;
30466             target:  "bg";
30467             target:  "fg1";
30468             target:  "fg2";
30469             target:  "elm.text";
30470          }
30471          program { name:    "go_passive";
30472             signal:  "elm,state,unselected";
30473             source:  "elm";
30474             action:  STATE_SET "default" 0.0;
30475             target:  "bg";
30476             target:  "fg1";
30477             target:  "fg2";
30478             target:  "elm.text";
30479             transition: LINEAR 0.1;
30480          }
30481          program { name:    "go_disabled";
30482             signal:  "elm,state,disabled";
30483             source:  "elm";
30484             action:  STATE_SET "disabled" 0.0;
30485             target:  "disclip";
30486          }
30487          program { name:    "go_enabled";
30488             signal:  "elm,state,enabled";
30489             source:  "elm";
30490             action:  STATE_SET "default" 0.0;
30491             target:  "disclip";
30492          }
30493       }
30494    }
30495
30496    group { name: "elm/gengrid/item/album-preview/default";
30497       data.item: "labels" "elm.text";
30498       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30499       data.item: "states" "have_files";
30500       images {
30501          image: "bt_sm_base1.png" COMP;
30502          image: "bt_sm_shine.png" COMP;
30503          image: "bt_sm_hilight.png" COMP;
30504          image: "icon_folder.png" COMP;
30505       }
30506       parts {
30507          part { name: "event";
30508             type: RECT;
30509             repeat_events: 1;
30510             description { state: "default" 0.0;
30511                color: 0 0 0 0;
30512             }
30513          }
30514          part { name: "bg";
30515             clip_to: "disclip";
30516             mouse_events: 0;
30517             description { state: "default" 0.0;
30518                visible: 0;
30519                color: 255 255 255 0;
30520                rel1.offset: -3 -3;
30521                rel2.offset: 2 2;
30522                image {
30523                   normal: "bt_sm_base1.png";
30524                   border: 6 6 6 6;
30525                   middle: SOLID;
30526                }
30527             }
30528             description { state: "selected" 0.0;
30529                inherit: "default" 0.0;
30530                visible: 1;
30531                color: 255 255 255 255;
30532             }
30533          }
30534          part { name: "image";
30535              type: IMAGE;
30536              mouse_events: 0;
30537              description { state: "default" 0.0;
30538                  aspect_preference: BOTH;
30539                  aspect: 1.0 1.0;
30540                  image.normal: "icon_folder.png";
30541                  rel2 {
30542                      to_y: "elm.text";
30543                      relative: 1.0 0.0;
30544                      offset: -1 -2;
30545                  }
30546              }
30547          }
30548          part { name: "have-files-clipper";
30549              type: RECT;
30550              description { state: "default" 0.0;
30551                  color: 255 255 255 0;
30552                  visible: 0;
30553              }
30554              description { state: "visible" 0.0;
30555                  inherit: "default" 0.0;
30556                  color: 255 255 255 255;
30557                  visible: 1;
30558              }
30559          }
30560          part { name: "icon_box_margin";
30561              type: RECT;
30562              mouse_events: 0;
30563              clip_to: "have-files-clipper";
30564              description { state: "default" 0.0;
30565                  color: 0 0 0 255;
30566                  rel1 {
30567                      to: "icon_box";
30568                      offset: -1 -1;
30569                  }
30570                  rel2 {
30571                      to: "icon_box";
30572                      offset: 0 0;
30573                  }
30574              }
30575          }
30576          part { name: "icon_box";
30577              type: RECT;
30578              mouse_events: 0;
30579              clip_to: "have-files-clipper";
30580              description { state: "default" 0.0;
30581                  color: 255 255 255 255;
30582                  align: 1.0 1.0;
30583                  min: 32 32;
30584                  rel1 {
30585                      relative: 0.25 0.25;
30586                      offset: 0 0;
30587                  }
30588                  rel2 {
30589                      relative: 1.0 0.0;
30590                      offset: -11 -4;
30591                      to_y: "elm.text";
30592                  }
30593              }
30594          }
30595          part { name: "elm.swallow.icon.1";
30596              type: SWALLOW;
30597              mouse_events: 0;
30598              clip_to: "have-files-clipper";
30599              description { state: "default" 0.0;
30600                rel1 {
30601                   relative: 0.0  0.0;
30602                   to: "icon_box";
30603                }
30604                rel2 {
30605                   relative: 0.5  0.5;
30606                   offset: -1 -1;
30607                   to: "icon_box";
30608                }
30609             }
30610          }
30611          part { name: "elm.swallow.icon.2";
30612              type: SWALLOW;
30613              mouse_events: 0;
30614              clip_to: "have-files-clipper";
30615              description { state: "default" 0.0;
30616                rel1 {
30617                   relative: 0.5  0.0;
30618                   to: "icon_box";
30619                }
30620                rel2 {
30621                   relative: 1.0  0.5;
30622                   offset: -1 -1;
30623                   to: "icon_box";
30624                }
30625             }
30626          }
30627          part { name: "elm.swallow.icon.3";
30628              type: SWALLOW;
30629              mouse_events: 0;
30630              clip_to: "have-files-clipper";
30631              description { state: "default" 0.0;
30632                rel1 {
30633                   relative: 0.0  0.5;
30634                   to: "icon_box";
30635                }
30636                rel2 {
30637                   relative: 0.5  1.0;
30638                   offset: -1 -1;
30639                   to: "icon_box";
30640                }
30641             }
30642          }
30643          part { name: "elm.swallow.icon.4";
30644              type: SWALLOW;
30645              mouse_events: 0;
30646              clip_to: "have-files-clipper";
30647              description { state: "default" 0.0;
30648                rel1 {
30649                   relative: 0.5  0.5;
30650                   to: "icon_box";
30651                }
30652                rel2 {
30653                   relative: 1.0  1.0;
30654                   offset: -1 -1;
30655                   to: "icon_box";
30656                }
30657             }
30658          }
30659          part { name: "elm.text";
30660             clip_to: "disclip";
30661             type: TEXT;
30662             effect: SOFT_SHADOW;
30663             mouse_events: 0;
30664             scale: 1;
30665             description { state: "default" 0.0;
30666                rel1 {
30667                   relative: 0.0  1.0;
30668                   offset: 20 -30;
30669                }
30670                rel2 {
30671                   relative: 1.0  1.0;
30672                   offset: -21 -15;
30673                }
30674                color: 0 0 0 255;
30675                color3: 0 0 0 0;
30676                text {
30677                   font: "Sans";
30678                   size: 10;
30679                   min: 0 1;
30680                   align: 0.5 0.0;
30681                   text_class: "grid_item";
30682                }
30683             }
30684             description { state: "selected" 0.0;
30685                 inherit: "default" 0.0;
30686                 color: 255 255 255 255;
30687             }
30688          }
30689          part { name: "fg1";
30690             clip_to: "disclip";
30691             mouse_events: 0;
30692             description { state: "default" 0.0;
30693                visible: 0;
30694                color: 255 255 255 0;
30695                rel1.offset: -3 -3;
30696                rel2 {
30697                    relative: 1.0 0.5;
30698                    offset: 2 -1;
30699                }
30700                image {
30701                   normal: "bt_sm_hilight.png";
30702                   border: 6 6 6 0;
30703                }
30704             }
30705             description { state: "selected" 0.0;
30706                inherit: "default" 0.0;
30707                visible: 1;
30708                color: 255 255 255 255;
30709             }
30710          }
30711          part { name: "fg2";
30712             clip_to: "disclip";
30713             mouse_events: 0;
30714             description { state: "default" 0.0;
30715                visible: 0;
30716                color: 255 255 255 0;
30717                rel1.offset: -3 -3;
30718                rel2.offset: 2 2;
30719                image {
30720                   normal: "bt_sm_shine.png";
30721                   border: 6 6 6 0;
30722                }
30723             }
30724             description { state: "selected" 0.0;
30725                inherit: "default" 0.0;
30726                visible: 1;
30727                color: 255 255 255 255;
30728             }
30729          }
30730          part { name: "disclip";
30731             type: RECT;
30732             description { state: "default" 0.0;
30733                rel1.to: "bg";
30734                rel2.to: "bg";
30735             }
30736             description { state: "disabled" 0.0;
30737                inherit: "default" 0.0;
30738                color: 255 255 255 64;
30739             }
30740          }
30741       }
30742       programs {
30743          program { name:    "go_active";
30744             signal:  "elm,state,selected";
30745             source:  "elm";
30746             action:  STATE_SET "selected" 0.0;
30747             target:  "bg";
30748             target:  "fg1";
30749             target:  "fg2";
30750             target:  "elm.text";
30751          }
30752          program { name:    "go_passive";
30753             signal:  "elm,state,unselected";
30754             source:  "elm";
30755             action:  STATE_SET "default" 0.0;
30756             target:  "bg";
30757             target:  "fg1";
30758             target:  "fg2";
30759             target:  "elm.text";
30760             transition: LINEAR 0.1;
30761          }
30762          program { name:    "go_disabled";
30763             signal:  "elm,state,disabled";
30764             source:  "elm";
30765             action:  STATE_SET "disabled" 0.0;
30766             target:  "disclip";
30767          }
30768          program { name:    "go_enabled";
30769             signal:  "elm,state,enabled";
30770             source:  "elm";
30771             action:  STATE_SET "default" 0.0;
30772             target:  "disclip";
30773          }
30774          program {
30775              signal: "elm,state,have_files,active";
30776              source: "elm";
30777              action: STATE_SET "visible" 0.0;
30778              target: "have-files-clipper";
30779          }
30780       }
30781    }
30782
30783    group { name: "elm/gengrid/item/thumb/default";
30784        data {
30785            item: "icons" "elm.swallow.icon";
30786            item: "labels" "elm.text";
30787        }
30788        images {
30789            image: "bt_sm_base1.png" COMP;
30790            image: "bt_sm_shine.png" COMP;
30791            image: "bt_sm_hilight.png" COMP;
30792            image: "thumb_shadow.png" COMP;
30793        }
30794        parts {
30795            part { name: "event";
30796                type: RECT;
30797                repeat_events: 1;
30798                description { state: "default" 0.0;
30799                    color: 0 0 0 0;
30800                }
30801            }
30802            part { name: "bg";
30803                mouse_events: 0;
30804                description { state: "default" 0.0;
30805                    visible: 0;
30806                    color: 255 255 255 0;
30807                    rel1.offset: -3 -3;
30808                    rel2.offset: 2 2;
30809                    image {
30810                        normal: "bt_sm_base1.png";
30811                        border: 6 6 6 6;
30812                        middle: SOLID;
30813                    }
30814                }
30815                description { state: "selected" 0.0;
30816                    inherit: "default" 0.0;
30817                    visible: 1;
30818                    color: 255 255 255 255;
30819                }
30820            }
30821            part { name: "border-shadow";
30822                type: IMAGE;
30823                mouse_events: 0;
30824                description { state: "default" 0.0;
30825                    rel1 {
30826                        to: "elm.swallow.icon";
30827                        offset: -18 -18;
30828                    }
30829                    rel2 {
30830                        to_x: "elm.swallow.icon";
30831                        to_y: "elm.text";
30832                        offset: 17 17;
30833                    }
30834                    image {
30835                        normal: "thumb_shadow.png";
30836                        border: 17 17 17 17;
30837                        middle: NONE;
30838                    }
30839                }
30840            }
30841            part { name: "border";
30842                type: RECT;
30843                mouse_events: 0;
30844                description { state: "default" 0.0;
30845                    rel1 {
30846                        to: "border-shadow";
30847                        offset: 16 16;
30848                    }
30849                    rel2 {
30850                        to: "border-shadow";
30851                        offset: -15 -15;
30852                    }
30853                }
30854            }
30855            part { name: "elm.swallow.icon";
30856                type: SWALLOW;
30857                mouse_events: 0;
30858                description { state: "default" 0.0;
30859                    aspect_preference: BOTH;
30860                    aspect: 1.0 1.0;
30861                    rel1.offset: 0 8;
30862                    rel2 {
30863                        to_y: "elm.text";
30864                        relative: 1.0 0.0;
30865                        offset: -1 -2;
30866                    }
30867                }
30868            }
30869            part { name: "elm.text";
30870                type: TEXT;
30871                effect: SOFT_SHADOW;
30872                mouse_events: 0;
30873                scale: 1;
30874                description { state: "default" 0.0;
30875                    color: 0 0 0 255;
30876                    color3: 0 0 0 0;
30877                    align: 0.5 1.0;
30878                    rel1 {
30879                        relative: 0.0 1.0;
30880                        offset: 20 -30;
30881                    }
30882                    rel2 {
30883                        relative: 1.0 1.0;
30884                        offset: -21 -15;
30885                    }
30886                    text {
30887                        font: "Sans";
30888                        size: 10;
30889                        min: 0 1;
30890                        align: 0.5 0.0;
30891                        text_class: "grid_item";
30892                    }
30893                }
30894            }
30895            part { name: "fg1";
30896                mouse_events: 0;
30897                description { state: "default" 0.0;
30898                    visible: 0;
30899                    color: 255 255 255 0;
30900                    rel1.offset: -3 -3;
30901                    rel2 {
30902                        relative: 1.0 0.5;
30903                        offset: 2 -1;
30904                    }
30905                    image {
30906                        normal: "bt_sm_hilight.png";
30907                        border: 6 6 6 0;
30908                    }
30909                }
30910                description { state: "selected" 0.0;
30911                    inherit: "default" 0.0;
30912                    visible: 1;
30913                    color: 255 255 255 255;
30914                }
30915            }
30916            part { name: "fg2";
30917                mouse_events: 0;
30918                description { state: "default" 0.0;
30919                    visible: 0;
30920                    color: 255 255 255 0;
30921                    rel1.offset: -3 -3;
30922                    rel2.offset: 2 2;
30923                    image {
30924                        image: "bt_sm_shine.png";
30925                        border: 6 6 6 0;
30926                    }
30927                }
30928                description { state: "selected" 0.0;
30929                    inherit: "default" 0.0;
30930                    visible: 1;
30931                    color: 255 255 255 255;
30932                }
30933            }
30934        }
30935        programs {
30936            program {
30937                signal: "elm,state,selected";
30938                source: "elm";
30939                action: STATE_SET "selected" 0.0;
30940                target: "bg";
30941                target: "fg1";
30942                target: "fg2";
30943            }
30944            program {
30945                signal: "elm,state,unselected";
30946                source: "elm";
30947                action:  STATE_SET "default" 0.0;
30948                target: "bg";
30949                target: "fg1";
30950                target: "fg2";
30951                transition: LINEAR 0.1;
30952            }
30953        }
30954    }
30955
30956 ///////////////////////////////////////////////////////////////////////////////
30957    group { name: "elm/photocam/base/default";
30958        script {
30959            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30960            public timer0(val) {
30961                new v;
30962                v = get_int(sbvis_v);
30963                if (v) {
30964                    v = get_int(sbalways_v);
30965                    if (!v) {
30966                        emit("do-hide-vbar", "");
30967                        set_int(sbvis_v, 0);
30968                    }
30969                }
30970                v = get_int(sbvis_h);
30971                if (v) {
30972                    v = get_int(sbalways_h);
30973                    if (!v) {
30974                        emit("do-hide-hbar", "");
30975                        set_int(sbvis_h, 0);
30976                    }
30977                }
30978                set_int(sbvis_timer, 0);
30979                return 0;
30980            }
30981        }
30982        images {
30983            image: "shelf_inset.png" COMP;
30984            image: "bt_sm_base2.png" COMP;
30985            image: "bt_sm_shine.png" COMP;
30986            image: "bt_sm_hilight.png" COMP;
30987            image: "busy-1.png" COMP;
30988            image: "busy-2.png" COMP;
30989            image: "busy-3.png" COMP;
30990            image: "busy-4.png" COMP;
30991            image: "busy-5.png" COMP;
30992            image: "busy-6.png" COMP;
30993            image: "busy-7.png" COMP;
30994            image: "busy-8.png" COMP;
30995            image: "busy-9.png" COMP;
30996        }
30997        parts {
30998            part { name: "bg";
30999                type: RECT;
31000                description { state: "default" 0.0;
31001                    rel1.offset: 1 1;
31002                    rel2.offset: -2 -2;
31003                    color: 255 255 255 0;
31004                }
31005            }
31006            part { name: "clipper";
31007                type: RECT;
31008                mouse_events: 0;
31009                description { state: "default" 0.0;
31010                    rel1.to: "bg";
31011                    rel2.to: "bg";
31012                }
31013            }
31014            part { name: "elm.swallow.content";
31015                clip_to: "clipper";
31016                type: SWALLOW;
31017                description { state: "default" 0.0;
31018                    rel1.offset: 1 1;
31019                    rel2.offset: -2 -2;
31020                }
31021            }
31022            part { name: "busy_clip";
31023                type: RECT;
31024                mouse_events: 0;
31025                description { state: "default" 0.0;
31026                    visible: 0;
31027                    color: 255 255 255 0;
31028                }
31029                description { state: "active" 0.0;
31030                    visible: 1;
31031                    color: 255 255 255 255;
31032                }
31033            }
31034            part { name: "busy";
31035                clip_to: "busy_clip";
31036                mouse_events: 0;
31037                description { state: "default" 0.0;
31038                    fixed: 1 1;
31039                    min: 32 32;
31040                    aspect: 1.0 1.0;
31041                    align: 1.0 1.0;
31042                    aspect_preference: BOTH;
31043                    rel1 {
31044                        relative: 0.9 0.9;
31045                        offset:   -9 -9;
31046                    }
31047                    rel2 {
31048                        relative: 0.9 0.9;
31049                        offset:   -9 -9;
31050                    }
31051                    image {
31052                        normal: "busy-9.png";
31053                        tween:  "busy-1.png";
31054                        tween:  "busy-2.png";
31055                        tween:  "busy-3.png";
31056                        tween:  "busy-4.png";
31057                        tween:  "busy-5.png";
31058                        tween:  "busy-6.png";
31059                        tween:  "busy-7.png";
31060                        tween:  "busy-8.png";
31061                    }
31062                }
31063            }
31064            part { name: "conf_over";
31065                mouse_events:  0;
31066                description { state: "default" 0.0;
31067                    rel1.offset: 0 0;
31068                    rel2.offset: -1 -1;
31069                    image {
31070                        normal: "shelf_inset.png";
31071                        border: 7 7 7 7;
31072                        middle: 0;
31073                    }
31074                    fill.smooth : 0;
31075                }
31076            }
31077            part { name: "sb_vbar_clip_master";
31078                type: RECT;
31079                mouse_events: 0;
31080                description { state: "default" 0.0;
31081                }
31082                description { state: "hidden" 0.0;
31083                    visible: 0;
31084                    color: 255 255 255 0;
31085                }
31086            }
31087            part { name: "sb_vbar_clip";
31088                clip_to: "sb_vbar_clip_master";
31089                type: RECT;
31090                mouse_events: 0;
31091                description { state: "default" 0.0;
31092                }
31093                description { state: "hidden" 0.0;
31094                    visible: 0;
31095                    color: 255 255 255 0;
31096                }
31097            }
31098            part { name: "sb_vbar";
31099                type: RECT;
31100                mouse_events: 0;
31101                description { state: "default" 0.0;
31102                    fixed: 1 1;
31103                    visible: 0;
31104                    min: 10 17;
31105                    align: 1.0 0.0;
31106                    rel1 {
31107                        relative: 1.0 0.0;
31108                        offset:   -2 0;
31109                    }
31110                    rel2 {
31111                        relative: 1.0 0.0;
31112                        offset:   -2 -1;
31113                        to_y:     "sb_hbar";
31114                    }
31115                }
31116            }
31117            part { name: "elm.dragable.vbar";
31118                clip_to: "sb_vbar_clip";
31119                mouse_events: 0;
31120                dragable {
31121                    x: 0 0 0;
31122                    y: 1 1 0;
31123                    confine: "sb_vbar";
31124                }
31125                description { state: "default" 0.0;
31126                    fixed: 1 1;
31127                    min: 10 17;
31128                    max: 10 99999;
31129                    rel1 {
31130                        relative: 0.5  0.5;
31131                        offset:   0    0;
31132                        to: "sb_vbar";
31133                    }
31134                    rel2 {
31135                        relative: 0.5  0.5;
31136                        offset:   0    0;
31137                        to: "sb_vbar";
31138                    }
31139                    image {
31140                        normal: "bt_sm_base2.png";
31141                        border: 6 6 6 6;
31142                        middle: SOLID;
31143                    }
31144                }
31145            }
31146            part { name: "sb_vbar_over1";
31147                clip_to: "sb_vbar_clip";
31148                mouse_events: 0;
31149                description { state: "default" 0.0;
31150                    rel1.to: "elm.dragable.vbar";
31151                    rel2.relative: 1.0 0.5;
31152                    rel2.to: "elm.dragable.vbar";
31153                    image {
31154                        normal: "bt_sm_hilight.png";
31155                        border: 6 6 6 0;
31156                    }
31157                }
31158            }
31159            part { name: "sb_vbar_over2";
31160                clip_to: "sb_vbar_clip";
31161                mouse_events: 0;
31162                description { state: "default" 0.0;
31163                    rel1.to: "elm.dragable.vbar";
31164                    rel2.to: "elm.dragable.vbar";
31165                    image {
31166                        normal: "bt_sm_shine.png";
31167                        border: 6 6 6 0;
31168                    }
31169                }
31170            }
31171
31172            part { name: "sb_hbar_clip_master";
31173                type: RECT;
31174                mouse_events: 0;
31175                description { state: "default" 0.0;
31176                }
31177                description { state: "hidden" 0.0;
31178                    visible: 0;
31179                    color: 255 255 255 0;
31180                }
31181            }
31182            part { name: "sb_hbar_clip";
31183                clip_to: "sb_hbar_clip_master";
31184                type: RECT;
31185                mouse_events: 0;
31186                description { state: "default" 0.0;
31187                }
31188                description { state: "hidden" 0.0;
31189                    visible: 0;
31190                    color: 255 255 255 0;
31191                }
31192            }
31193            part { name: "sb_hbar";
31194                type: RECT;
31195                mouse_events: 0;
31196                description { state: "default" 0.0;
31197                    fixed: 1 1;
31198                    visible: 0;
31199                    min: 17 10;
31200                    align: 0.0 1.0;
31201                    rel1 {
31202                        relative: 0.0 1.0;
31203                        offset:   0 -2;
31204                    }
31205                    rel2 {
31206                        relative: 0.0 1.0;
31207                        offset:   -1 -2;
31208                        to_x:     "sb_vbar";
31209                    }
31210                }
31211            }
31212            part { name: "elm.dragable.hbar";
31213                clip_to: "sb_hbar_clip";
31214                mouse_events: 0;
31215                dragable {
31216                    x: 1 1 0;
31217                    y: 0 0 0;
31218                    confine: "sb_hbar";
31219                }
31220                description { state: "default" 0.0;
31221                    fixed: 1 1;
31222                    min: 17 10;
31223                    max: 99999 10;
31224                    rel1 {
31225                        relative: 0.5  0.5;
31226                        offset:   0    0;
31227                        to: "sb_hbar";
31228                    }
31229                    rel2 {
31230                        relative: 0.5  0.5;
31231                        offset:   0    0;
31232                        to: "sb_hbar";
31233                    }
31234                    image {
31235                        normal: "bt_sm_base2.png";
31236                        border: 4 4 4 4;
31237                        middle: SOLID;
31238                    }
31239                }
31240            }
31241            part { name: "sb_hbar_over1";
31242                clip_to: "sb_hbar_clip";
31243                mouse_events: 0;
31244                description { state: "default" 0.0;
31245                    rel1.to: "elm.dragable.hbar";
31246                    rel2.relative: 1.0 0.5;
31247                    rel2.to: "elm.dragable.hbar";
31248                    image {
31249                        normal: "bt_sm_hilight.png";
31250                        border: 4 4 4 0;
31251                    }
31252                }
31253            }
31254            part { name: "sb_hbar_over2";
31255                clip_to: "sb_hbar_clip";
31256                mouse_events: 0;
31257                description { state: "default" 0.0;
31258                    rel1.to: "elm.dragable.hbar";
31259                    rel2.to: "elm.dragable.hbar";
31260                    image {
31261                        normal: "bt_sm_shine.png";
31262                        border: 4 4 4 0;
31263                    }
31264                }
31265            }
31266        }
31267        programs {
31268            program { name: "load";
31269                signal: "load";
31270                source: "";
31271                script {
31272                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31273                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31274                    set_int(sbvis_h, 0);
31275                    set_int(sbvis_v, 0);
31276                    set_int(sbalways_v, 0);
31277                    set_int(sbalways_h, 0);
31278                    set_int(sbvis_timer, 0);
31279                }
31280            }
31281
31282            program { name: "vbar_show";
31283                signal: "elm,action,show,vbar";
31284                source: "elm";
31285                action:  STATE_SET "default" 0.0;
31286                target: "sb_vbar_clip_master";
31287            }
31288            program { name: "vbar_hide";
31289                signal: "elm,action,hide,vbar";
31290                source: "elm";
31291                action:  STATE_SET "hidden" 0.0;
31292                target: "sb_vbar_clip_master";
31293            }
31294            program { name: "vbar_show_always";
31295                signal: "elm,action,show_always,vbar";
31296                source: "elm";
31297                script {
31298                    new v;
31299                    v = get_int(sbvis_v);
31300                    v |= get_int(sbalways_v);
31301                    if (!v) {
31302                        set_int(sbalways_v, 1);
31303                        emit("do-show-vbar", "");
31304                        set_int(sbvis_v, 1);
31305                    }
31306                }
31307            }
31308            program { name: "vbar_show_notalways";
31309                signal: "elm,action,show_notalways,vbar";
31310                source: "elm";
31311                script {
31312                    new v;
31313                    v = get_int(sbalways_v);
31314                    if (v) {
31315                        set_int(sbalways_v, 0);
31316                        v = get_int(sbvis_v);
31317                        if (!v) {
31318                            emit("do-hide-vbar", "");
31319                            set_int(sbvis_v, 0);
31320                        }
31321                    }
31322                }
31323            }
31324            program { name: "sb_vbar_show";
31325                signal: "do-show-vbar";
31326                source: "";
31327                action:  STATE_SET "default" 0.0;
31328                transition: LINEAR 0.5;
31329                target: "sb_vbar_clip";
31330            }
31331            program { name: "sb_vbar_hide";
31332                signal: "do-hide-vbar";
31333                source: "";
31334                action:  STATE_SET "hidden" 0.0;
31335                transition: LINEAR 0.5;
31336                target: "sb_vbar_clip";
31337            }
31338
31339            program { name: "hbar_show";
31340                signal: "elm,action,show,hbar";
31341                source: "elm";
31342                action:  STATE_SET "default" 0.0;
31343                target: "sb_hbar_clip_master";
31344            }
31345            program { name: "hbar_hide";
31346                signal: "elm,action,hide,hbar";
31347                source: "elm";
31348                action:  STATE_SET "hidden" 0.0;
31349                target: "sb_hbar_clip_master";
31350            }
31351            program { name: "hbar_show_always";
31352                signal: "elm,action,show_always,hbar";
31353                source: "elm";
31354                script {
31355                    new v;
31356                    v = get_int(sbvis_h);
31357                    v |= get_int(sbalways_h);
31358                    if (!v) {
31359                        set_int(sbalways_h, 1);
31360                        emit("do-show-hbar", "");
31361                        set_int(sbvis_h, 1);
31362                    }
31363                }
31364            }
31365            program { name: "hbar_show_notalways";
31366                signal: "elm,action,show_notalways,hbar";
31367                source: "elm";
31368                script {
31369                    new v;
31370                    v = get_int(sbalways_h);
31371                    if (v) {
31372                        set_int(sbalways_h, 0);
31373                        v = get_int(sbvis_h);
31374                        if (!v) {
31375                            emit("do-hide-hbar", "");
31376                            set_int(sbvis_h, 0);
31377                        }
31378                    }
31379                }
31380            }
31381            program { name: "sb_hbar_show";
31382                signal: "do-show-hbar";
31383                source: "";
31384                action:  STATE_SET "default" 0.0;
31385                transition: LINEAR 0.5;
31386                target: "sb_hbar_clip";
31387            }
31388            program { name: "sb_hbar_hide";
31389                signal: "do-hide-hbar";
31390                source: "";
31391                action:  STATE_SET "hidden" 0.0;
31392                transition: LINEAR 0.5;
31393                target: "sb_hbar_clip";
31394            }
31395
31396            program { name: "scroll";
31397                signal: "elm,action,scroll";
31398                source: "elm";
31399                script {
31400                    new v;
31401                    v = get_int(sbvis_v);
31402                    v |= get_int(sbalways_v);
31403                    if (!v) {
31404                        emit("do-show-vbar", "");
31405                        set_int(sbvis_v, 1);
31406                    }
31407                    v = get_int(sbvis_h);
31408                    v |= get_int(sbalways_h);
31409                    if (!v) {
31410                        emit("do-show-hbar", "");
31411                        set_int(sbvis_h, 1);
31412                    }
31413                    v = get_int(sbvis_timer);
31414                    if (v > 0) cancel_timer(v);
31415                    v = timer(1.0, "timer0", 0);
31416                    set_int(sbvis_timer, v);
31417                }
31418            }
31419            program { name: "go1";
31420                signal: "elm,state,busy,start";
31421                source: "elm";
31422                action: STATE_SET "active" 0.0;
31423                transition: SINUSOIDAL 1.0;
31424                target:  "busy_clip";
31425            }
31426            program { name: "go2";
31427                signal: "elm,state,busy,start";
31428                source: "elm";
31429                action: STATE_SET "default" 0.0;
31430                transition: LINEAR 0.5;
31431                target: "busy";
31432                after:  "go2";
31433            }
31434            program { name: "stop1";
31435                signal: "elm,state,busy,stop";
31436                source: "elm";
31437                action: STATE_SET "default" 0.0;
31438                transition: SINUSOIDAL 1.0;
31439                target: "busy_clip";
31440                after: "stop2";
31441            }
31442          program { name: "stop2";
31443             action: ACTION_STOP;
31444             target: "go2";
31445          }
31446       }
31447    }
31448
31449    ///////////////////////////////////////////////////////////////////////////////
31450    group { name: "elm/map/base/default";
31451        script {
31452            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31453            public timer0(val) {
31454                new v;
31455                v = get_int(sbvis_v);
31456                if (v) {
31457                    v = get_int(sbalways_v);
31458                    if (!v) {
31459                        emit("do-hide-vbar", "");
31460                        set_int(sbvis_v, 0);
31461                    }
31462                }
31463                v = get_int(sbvis_h);
31464                if (v) {
31465                    v = get_int(sbalways_h);
31466                    if (!v) {
31467                        emit("do-hide-hbar", "");
31468                        set_int(sbvis_h, 0);
31469                    }
31470                }
31471                set_int(sbvis_timer, 0);
31472                return 0;
31473            }
31474        }
31475        images {
31476            image: "shelf_inset.png" COMP;
31477            image: "bt_sm_base2.png" COMP;
31478            image: "bt_sm_shine.png" COMP;
31479            image: "bt_sm_hilight.png" COMP;
31480            image: "busy-1.png" COMP;
31481            image: "busy-2.png" COMP;
31482            image: "busy-3.png" COMP;
31483            image: "busy-4.png" COMP;
31484            image: "busy-5.png" COMP;
31485            image: "busy-6.png" COMP;
31486            image: "busy-7.png" COMP;
31487            image: "busy-8.png" COMP;
31488            image: "busy-9.png" COMP;
31489        }
31490        parts {
31491            part { name: "bg";
31492                type: RECT;
31493                description { state: "default" 0.0;
31494                    rel1.offset: 1 1;
31495                    rel2.offset: -2 -2;
31496                    color: 255 255 255 0;
31497                }
31498            }
31499            part { name: "clipper";
31500                type: RECT;
31501                mouse_events: 0;
31502                description { state: "default" 0.0;
31503                    rel1.to: "bg";
31504                    rel2.to: "bg";
31505                }
31506            }
31507            part { name: "elm.swallow.content";
31508                clip_to: "clipper";
31509                type: SWALLOW;
31510                description { state: "default" 0.0;
31511                    rel1.offset: 1 1;
31512                    rel2.offset: -2 -2;
31513                }
31514            }
31515            part { name: "busy_clip";
31516                type: RECT;
31517                mouse_events: 0;
31518                description { state: "default" 0.0;
31519                    visible: 0;
31520                    color: 255 255 255 0;
31521                }
31522                description { state: "active" 0.0;
31523                    visible: 1;
31524                    color: 255 255 255 255;
31525                }
31526            }
31527            part { name: "busy";
31528                clip_to: "busy_clip";
31529                mouse_events: 0;
31530                description { state: "default" 0.0;
31531                    fixed: 1 1;
31532                    min: 32 32;
31533                    aspect: 1.0 1.0;
31534                    align: 1.0 1.0;
31535                    aspect_preference: BOTH;
31536                    rel1 {
31537                        relative: 0.9 0.9;
31538                        offset:   -9 -9;
31539                    }
31540                    rel2 {
31541                        relative: 0.9 0.9;
31542                        offset:   -9 -9;
31543                    }
31544                    image {
31545                        normal: "busy-9.png";
31546                        tween:  "busy-1.png";
31547                        tween:  "busy-2.png";
31548                        tween:  "busy-3.png";
31549                        tween:  "busy-4.png";
31550                        tween:  "busy-5.png";
31551                        tween:  "busy-6.png";
31552                        tween:  "busy-7.png";
31553                        tween:  "busy-8.png";
31554                    }
31555                }
31556            }
31557            part { name: "conf_over";
31558                mouse_events:  0;
31559                description { state: "default" 0.0;
31560                    rel1.offset: 0 0;
31561                    rel2.offset: -1 -1;
31562                    image {
31563                        normal: "shelf_inset.png";
31564                        border: 7 7 7 7;
31565                        middle: 0;
31566                    }
31567                    fill.smooth : 0;
31568                }
31569            }
31570            part { name: "sb_vbar_clip_master";
31571                type: RECT;
31572                mouse_events: 0;
31573                description { state: "default" 0.0;
31574                }
31575                description { state: "hidden" 0.0;
31576                    visible: 0;
31577                    color: 255 255 255 0;
31578                }
31579            }
31580            part { name: "sb_vbar_clip";
31581                clip_to: "sb_vbar_clip_master";
31582                type: RECT;
31583                mouse_events: 0;
31584                description { state: "default" 0.0;
31585                }
31586                description { state: "hidden" 0.0;
31587                    visible: 0;
31588                    color: 255 255 255 0;
31589                }
31590            }
31591            part { name: "sb_vbar";
31592                type: RECT;
31593                mouse_events: 0;
31594                description { state: "default" 0.0;
31595                    fixed: 1 1;
31596                    visible: 0;
31597                    min: 10 17;
31598                    align: 1.0 0.0;
31599                    rel1 {
31600                        relative: 1.0 0.0;
31601                        offset:   -2 0;
31602                    }
31603                    rel2 {
31604                        relative: 1.0 0.0;
31605                        offset:   -2 -1;
31606                        to_y:     "sb_hbar";
31607                    }
31608                }
31609            }
31610            part { name: "elm.dragable.vbar";
31611                clip_to: "sb_vbar_clip";
31612                mouse_events: 0;
31613                dragable {
31614                    x: 0 0 0;
31615                    y: 1 1 0;
31616                    confine: "sb_vbar";
31617                }
31618                description { state: "default" 0.0;
31619                    fixed: 1 1;
31620                    min: 10 17;
31621                    max: 10 99999;
31622                    rel1 {
31623                        relative: 0.5  0.5;
31624                        offset:   0    0;
31625                        to: "sb_vbar";
31626                    }
31627                    rel2 {
31628                        relative: 0.5  0.5;
31629                        offset:   0    0;
31630                        to: "sb_vbar";
31631                    }
31632                    image {
31633                        normal: "bt_sm_base2.png";
31634                        border: 6 6 6 6;
31635                        middle: SOLID;
31636                    }
31637                }
31638            }
31639            part { name: "sb_vbar_over1";
31640                clip_to: "sb_vbar_clip";
31641                mouse_events: 0;
31642                description { state: "default" 0.0;
31643                    rel1.to: "elm.dragable.vbar";
31644                    rel2.relative: 1.0 0.5;
31645                    rel2.to: "elm.dragable.vbar";
31646                    image {
31647                        normal: "bt_sm_hilight.png";
31648                        border: 6 6 6 0;
31649                    }
31650                }
31651            }
31652            part { name: "sb_vbar_over2";
31653                clip_to: "sb_vbar_clip";
31654                mouse_events: 0;
31655                description { state: "default" 0.0;
31656                    rel1.to: "elm.dragable.vbar";
31657                    rel2.to: "elm.dragable.vbar";
31658                    image {
31659                        normal: "bt_sm_shine.png";
31660                        border: 6 6 6 0;
31661                    }
31662                }
31663            }
31664
31665            part { name: "sb_hbar_clip_master";
31666                type: RECT;
31667                mouse_events: 0;
31668                description { state: "default" 0.0;
31669                }
31670                description { state: "hidden" 0.0;
31671                    visible: 0;
31672                    color: 255 255 255 0;
31673                }
31674            }
31675            part { name: "sb_hbar_clip";
31676                clip_to: "sb_hbar_clip_master";
31677                type: RECT;
31678                mouse_events: 0;
31679                description { state: "default" 0.0;
31680                }
31681                description { state: "hidden" 0.0;
31682                    visible: 0;
31683                    color: 255 255 255 0;
31684                }
31685            }
31686            part { name: "sb_hbar";
31687                type: RECT;
31688                mouse_events: 0;
31689                description { state: "default" 0.0;
31690                    fixed: 1 1;
31691                    visible: 0;
31692                    min: 17 10;
31693                    align: 0.0 1.0;
31694                    rel1 {
31695                        relative: 0.0 1.0;
31696                        offset:   0 -2;
31697                    }
31698                    rel2 {
31699                        relative: 0.0 1.0;
31700                        offset:   -1 -2;
31701                        to_x:     "sb_vbar";
31702                    }
31703                }
31704            }
31705            part { name: "elm.dragable.hbar";
31706                clip_to: "sb_hbar_clip";
31707                mouse_events: 0;
31708                dragable {
31709                    x: 1 1 0;
31710                    y: 0 0 0;
31711                    confine: "sb_hbar";
31712                }
31713                description { state: "default" 0.0;
31714                    fixed: 1 1;
31715                    min: 17 10;
31716                    max: 99999 10;
31717                    rel1 {
31718                        relative: 0.5  0.5;
31719                        offset:   0    0;
31720                        to: "sb_hbar";
31721                    }
31722                    rel2 {
31723                        relative: 0.5  0.5;
31724                        offset:   0    0;
31725                        to: "sb_hbar";
31726                    }
31727                    image {
31728                        normal: "bt_sm_base2.png";
31729                        border: 4 4 4 4;
31730                        middle: SOLID;
31731                    }
31732                }
31733            }
31734            part { name: "sb_hbar_over1";
31735                clip_to: "sb_hbar_clip";
31736                mouse_events: 0;
31737                description { state: "default" 0.0;
31738                    rel1.to: "elm.dragable.hbar";
31739                    rel2.relative: 1.0 0.5;
31740                    rel2.to: "elm.dragable.hbar";
31741                    image {
31742                        normal: "bt_sm_hilight.png";
31743                        border: 4 4 4 0;
31744                    }
31745                }
31746            }
31747            part { name: "sb_hbar_over2";
31748                clip_to: "sb_hbar_clip";
31749                mouse_events: 0;
31750                description { state: "default" 0.0;
31751                    rel1.to: "elm.dragable.hbar";
31752                    rel2.to: "elm.dragable.hbar";
31753                    image {
31754                        normal: "bt_sm_shine.png";
31755                        border: 4 4 4 0;
31756                    }
31757                }
31758            }
31759        }
31760        programs {
31761            program { name: "load";
31762                signal: "load";
31763                source: "";
31764                script {
31765                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31766                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31767                    set_int(sbvis_h, 0);
31768                    set_int(sbvis_v, 0);
31769                    set_int(sbalways_v, 0);
31770                    set_int(sbalways_h, 0);
31771                    set_int(sbvis_timer, 0);
31772                }
31773            }
31774
31775            program { name: "vbar_show";
31776                signal: "elm,action,show,vbar";
31777                source: "elm";
31778                action:  STATE_SET "default" 0.0;
31779                target: "sb_vbar_clip_master";
31780            }
31781            program { name: "vbar_hide";
31782                signal: "elm,action,hide,vbar";
31783                source: "elm";
31784                action:  STATE_SET "hidden" 0.0;
31785                target: "sb_vbar_clip_master";
31786            }
31787            program { name: "vbar_show_always";
31788                signal: "elm,action,show_always,vbar";
31789                source: "elm";
31790                script {
31791                    new v;
31792                    v = get_int(sbvis_v);
31793                    v |= get_int(sbalways_v);
31794                    if (!v) {
31795                        set_int(sbalways_v, 1);
31796                        emit("do-show-vbar", "");
31797                        set_int(sbvis_v, 1);
31798                    }
31799                }
31800            }
31801            program { name: "vbar_show_notalways";
31802                signal: "elm,action,show_notalways,vbar";
31803                source: "elm";
31804                script {
31805                    new v;
31806                    v = get_int(sbalways_v);
31807                    if (v) {
31808                        set_int(sbalways_v, 0);
31809                        v = get_int(sbvis_v);
31810                        if (!v) {
31811                            emit("do-hide-vbar", "");
31812                            set_int(sbvis_v, 0);
31813                        }
31814                    }
31815                }
31816            }
31817            program { name: "sb_vbar_show";
31818                signal: "do-show-vbar";
31819                source: "";
31820                action:  STATE_SET "default" 0.0;
31821                transition: LINEAR 0.5;
31822                target: "sb_vbar_clip";
31823            }
31824            program { name: "sb_vbar_hide";
31825                signal: "do-hide-vbar";
31826                source: "";
31827                action:  STATE_SET "hidden" 0.0;
31828                transition: LINEAR 0.5;
31829                target: "sb_vbar_clip";
31830            }
31831
31832            program { name: "hbar_show";
31833                signal: "elm,action,show,hbar";
31834                source: "elm";
31835                action:  STATE_SET "default" 0.0;
31836                target: "sb_hbar_clip_master";
31837            }
31838            program { name: "hbar_hide";
31839                signal: "elm,action,hide,hbar";
31840                source: "elm";
31841                action:  STATE_SET "hidden" 0.0;
31842                target: "sb_hbar_clip_master";
31843            }
31844            program { name: "hbar_show_always";
31845                signal: "elm,action,show_always,hbar";
31846                source: "elm";
31847                script {
31848                    new v;
31849                    v = get_int(sbvis_h);
31850                    v |= get_int(sbalways_h);
31851                    if (!v) {
31852                        set_int(sbalways_h, 1);
31853                        emit("do-show-hbar", "");
31854                        set_int(sbvis_h, 1);
31855                    }
31856                }
31857            }
31858            program { name: "hbar_show_notalways";
31859                signal: "elm,action,show_notalways,hbar";
31860                source: "elm";
31861                script {
31862                    new v;
31863                    v = get_int(sbalways_h);
31864                    if (v) {
31865                        set_int(sbalways_h, 0);
31866                        v = get_int(sbvis_h);
31867                        if (!v) {
31868                            emit("do-hide-hbar", "");
31869                            set_int(sbvis_h, 0);
31870                        }
31871                    }
31872                }
31873            }
31874            program { name: "sb_hbar_show";
31875                signal: "do-show-hbar";
31876                source: "";
31877                action:  STATE_SET "default" 0.0;
31878                transition: LINEAR 0.5;
31879                target: "sb_hbar_clip";
31880            }
31881            program { name: "sb_hbar_hide";
31882                signal: "do-hide-hbar";
31883                source: "";
31884                action:  STATE_SET "hidden" 0.0;
31885                transition: LINEAR 0.5;
31886                target: "sb_hbar_clip";
31887            }
31888
31889            program { name: "scroll";
31890                signal: "elm,action,scroll";
31891                source: "elm";
31892                script {
31893                    new v;
31894                    v = get_int(sbvis_v);
31895                    v |= get_int(sbalways_v);
31896                    if (!v) {
31897                        emit("do-show-vbar", "");
31898                        set_int(sbvis_v, 1);
31899                    }
31900                    v = get_int(sbvis_h);
31901                    v |= get_int(sbalways_h);
31902                    if (!v) {
31903                        emit("do-show-hbar", "");
31904                        set_int(sbvis_h, 1);
31905                    }
31906                    v = get_int(sbvis_timer);
31907                    if (v > 0) cancel_timer(v);
31908                    v = timer(1.0, "timer0", 0);
31909                    set_int(sbvis_timer, v);
31910                }
31911            }
31912            program { name: "go1";
31913                signal: "elm,state,busy,start";
31914                source: "elm";
31915                action: STATE_SET "active" 0.0;
31916                transition: SINUSOIDAL 1.0;
31917                target:  "busy_clip";
31918            }
31919            program { name: "go2";
31920                signal: "elm,state,busy,start";
31921                source: "elm";
31922                action: STATE_SET "default" 0.0;
31923                transition: LINEAR 0.5;
31924                target: "busy";
31925                after:  "go2";
31926            }
31927            program { name: "stop1";
31928                signal: "elm,state,busy,stop";
31929                source: "elm";
31930                action: STATE_SET "default" 0.0;
31931                transition: SINUSOIDAL 1.0;
31932                target: "busy_clip";
31933                after: "stop2";
31934            }
31935          program { name: "stop2";
31936             action: ACTION_STOP;
31937             target: "go2";
31938          }
31939       }
31940    }
31941    group { name: "elm/map/marker/radio/default";
31942         data {
31943             item: size_w 24;
31944             item: size_h 24;
31945             item: size_max_w 58;
31946             item: size_max_h 58;
31947         }
31948         images {
31949                 image: "map_item.png" COMP;
31950         }
31951         parts {
31952             part { name: "whole";
31953                 description { state: "default" 0.0;
31954                 }
31955             }
31956             part { name: "base";
31957                 ignore_flags: ON_HOLD;
31958                 description { state: "default" 0.0;
31959                     image.normal: "map_item.png";
31960                 }
31961             }
31962             part { name: "elm.icon";
31963                 type: SWALLOW;
31964                 clip_to: "whole";
31965                 mouse_events:  0;
31966                 description { state: "default" 0.0;
31967                     rel1.relative: 0.27 0.27;
31968                     rel2.relative: 0.73 0.73;
31969                 }
31970             }
31971             part { name: "elm.text";
31972                 type:          TEXT;
31973                 effect:        SOFT_SHADOW;
31974                 mouse_events:  0;
31975                 scale: 1;
31976                 description { state: "default" 0.0;
31977                     align:    0.5 0.5;
31978                     color: 224 224 224 255;
31979                     color3: 0 0 0 64;
31980                     rel1.relative: 0.28 0.25;
31981                     rel2.relative: 0.75 0.75;
31982                     text {
31983                         font:     "Sans,Edje-Vera";
31984                         size:     10;
31985                         min:      0 0;
31986                         align:    0.5 0.5;
31987                     }
31988                 }
31989             }
31990        }
31991        programs {
31992             program { name: "open";
31993                 signal: "mouse,clicked,1";
31994                 source: "base";
31995                 action: SIGNAL_EMIT "open" "elm";
31996             }
31997             program { name: "bringin";
31998                 signal: "mouse,down,1,double";
31999                 source: "base";
32000                 action: SIGNAL_EMIT "bringin" "elm";
32001             }
32002        }
32003    }
32004    group { name: "elm/map/marker/radio2/default";
32005         data {
32006             item: size_w 24;
32007             item: size_h 24;
32008             item: size_max_w 58;
32009             item: size_max_h 58;
32010         }
32011         images {
32012                 image: "map_item_2.png" COMP;
32013         }
32014         parts {
32015             part { name: "base";
32016                 ignore_flags: ON_HOLD;
32017                 description { state: "default" 0.0;
32018                     image.normal: "map_item_2.png";
32019                 }
32020             }
32021             part { name: "elm.text";
32022                 type:          TEXT;
32023                 effect:        SOFT_SHADOW;
32024                 mouse_events:  0;
32025                 scale: 1;
32026                 description { state: "default" 0.0;
32027                     align:    0.5 0.5;
32028                     color: 224 224 224 255;
32029                     color3: 0 0 0 64;
32030                     rel1.relative: 0.28 0.25;
32031                     rel2.relative: 0.75 0.75;
32032                     text {
32033                         font:     "Sans,Edje-Vera";
32034                         size:     10;
32035                         min:      0 0;
32036                         align:    0.5 0.5;
32037                     }
32038                 }
32039             }
32040        }
32041        programs {
32042             program { name: "open";
32043                 signal: "mouse,clicked,1";
32044                 source: "base";
32045                 action: SIGNAL_EMIT "open" "elm";
32046             }
32047             program { name: "bringin";
32048                 signal: "mouse,down,1,double";
32049                 source: "base";
32050                 action: SIGNAL_EMIT "bringin" "elm";
32051             }
32052        }
32053    }
32054    group { name: "elm/map/marker/empty/default";
32055         data {
32056             item: size_w 22;
32057             item: size_h 22;
32058             item: size_max_w 64;
32059             item: size_max_h 64;
32060         }
32061         parts {
32062             part { name: "whole";
32063                 description { state: "default" 0.0;
32064                 }
32065             }
32066             part { name: "base";
32067                 ignore_flags: ON_HOLD;
32068                 description { state: "default" 0.0;
32069                 }
32070             }
32071             part { name: "elm.icon";
32072                 type: SWALLOW;
32073                 clip_to: "whole";
32074                 mouse_events:  0;
32075                 description { state: "default" 0.0;
32076                 }
32077             }
32078             part { name: "elm.text";
32079                 type:          TEXT;
32080                 effect:        SOFT_SHADOW;
32081                 mouse_events:  0;
32082                 scale: 1;
32083                 description { state: "default" 0.0;
32084                     align:    0.5 0.5;
32085                     color: 224 224 224 255;
32086                     color3: 0 0 0 64;
32087                     rel1.relative: 0.28 0.25;
32088                     rel2.relative: 0.75 0.75;
32089                     text {
32090                         font:     "Sans,Edje-Vera";
32091                         size:     10;
32092                         min:      0 0;
32093                         align:    0.5 0.5;
32094                     }
32095                 }
32096             }
32097        }
32098        programs {
32099             program { name: "open";
32100                 signal: "mouse,clicked,1";
32101                 source: "base";
32102                 action: SIGNAL_EMIT "open" "elm";
32103             }
32104             program { name: "bringin";
32105                 signal: "mouse,down,1,double";
32106                 source: "base";
32107                 action: SIGNAL_EMIT "bringin" "elm";
32108             }
32109        }
32110    }
32111    group { name: "elm/map/marker_bubble/default";
32112     images {
32113       image: "bubble.png" COMP;
32114       image: "bubble_shine.png" COMP;
32115     }
32116     data {
32117             item: size_w 400;
32118             item: size_h 100;
32119         }
32120     parts {
32121     part { name: "clipper";
32122         mouse_events:  1;
32123         description { state: "default" 0.0;
32124           color: 255 255 255 0;
32125         }
32126         description { state: "show" 0.0;
32127             inherit: "default" 0.0;
32128             color: 255 255 255 255;
32129         }
32130       }
32131      part { name: "base0";
32132         mouse_events:  0;
32133         clip_to: "clipper";
32134         description { state: "default" 0.0;
32135           image {
32136             normal: "bubble.png";
32137             border: 11 36 10 19;
32138           }
32139           image.middle: SOLID;
32140           fill.smooth: 0;
32141         }
32142         description { state: "rtl" 0.0;
32143            inherit: "default" 0.0;
32144            image {
32145               normal: "bubble_4.png";
32146               border: 11 36 18 9;
32147            }
32148         }
32149       }
32150       part { name: "elm.swallow.content";
32151         type: SWALLOW;
32152         clip_to: "clipper";
32153         description { state: "default" 0.0;
32154             align: 0.5 0.5;
32155           rel1 {
32156             offset: 9 8;
32157           }
32158           rel2 {
32159             offset: -10 -17;
32160           }
32161         }
32162       }
32163       part { name: "shine";
32164         mouse_events:  0;
32165         clip_to: "clipper";
32166         description { state:    "default" 0.0;
32167           rel1 {
32168             to: "base0";
32169           }
32170           rel2 {
32171             to: "base0";
32172             relative: 1.0 0.5;
32173           }
32174           image {
32175             normal: "bubble_shine.png";
32176             border: 5 5 5 0;
32177           }
32178           fill.smooth: 0;
32179         }
32180         }
32181     }
32182     programs {
32183         program { name: "show";
32184             signal: "show";
32185             action: STATE_SET "show" 0.0;
32186             target: "clipper";
32187             transition: ACCELERATE 0.5;
32188         }
32189     }
32190   }
32191
32192 /////////////////////////////////////////////////////////////////////////////
32193 // PANES
32194 /////////////////////////////////////////////////////////////////////////////
32195   group {
32196      name: "elm/panes/vertical/default";
32197      images {
32198         image: "bt_base1.png" COMP;
32199         image: "bt_base2.png" COMP;
32200         image: "bt_hilight.png" COMP;
32201         image: "bt_shine.png" COMP;
32202         image: "bt_glow.png" COMP;
32203         image: "bt_dis_base.png" COMP;
32204         image: "bt_dis_hilight.png" COMP;
32205         image: "arrow_right.png" COMP;
32206         image: "arrow_left.png" COMP;
32207      }
32208      script {
32209         public state_pair = 0; //0:both content are not set, 1:both content are set
32210      }
32211      parts
32212        {
32213           part
32214             {
32215                name: "whole";
32216                type: RECT;
32217                mouse_events: 1;
32218                description
32219                  {
32220                     state: "default" 0.0;
32221                     visible: 0;
32222                  }
32223             }
32224
32225          //2 contents
32226           part
32227             {
32228                name: "whole_left";
32229                type: RECT;
32230                mouse_events: 0;
32231                description
32232                  {
32233                     state: "default" 0.0;
32234                     rel2.to_x: "elm.bar";
32235                     rel2.relative: 0.0 1.0;
32236                     visible: 1;
32237                  }
32238             }
32239           part
32240             {
32241                name: "elm.swallow.left";
32242                type: SWALLOW;
32243                clip_to: "whole_left";
32244                description
32245                  {
32246                     state: "default" 0.0;
32247                     rel1.to: "whole_left";
32248                     rel2.to: "whole_left";
32249                  }
32250             }
32251
32252             part
32253             {
32254                name: "whole_right";
32255                type: RECT;
32256                mouse_events: 0;
32257                description
32258                  {
32259                     state: "default" 0.0;
32260                     rel1.to_x: "elm.bar";
32261                     rel1.relative: 1.0 0.0;
32262                     visible: 1;
32263                  }
32264             }
32265           part
32266             {
32267                name: "elm.swallow.right";
32268                type: SWALLOW;
32269                clip_to: "whole_right";
32270                description
32271                  {
32272                     state: "default" 0.0;
32273                     rel1.to: "whole_right";
32274                     rel2.to: "whole_right";
32275                  }
32276             }
32277          //BAR
32278          part { name: "elm.bar";
32279             mouse_events: 1;
32280             dragable {
32281                confine: "whole";
32282                x: 1 1 1;
32283                y: 0 0 0;
32284             }
32285             description { state: "default" 0.0;
32286                max: 0 999;
32287                min: 0 100;
32288                rel1.relative: 0.0 0.5;
32289                rel2.relative: 1.0 0.5;
32290                image {
32291                   normal: "bt_base2.png";
32292                   border: 7 7 7 7;
32293                }
32294                image.middle: SOLID;
32295             }
32296             description { state: "default" 0.1;
32297                inherit: "default" 0.0;
32298                max: 15 999;
32299                min: 15 100;
32300             }
32301             description { state: "clicked" 0.0;
32302                inherit: "default" 0.0;
32303                image.normal: "bt_base1.png";
32304                image.middle: SOLID;
32305             }
32306             description { state: "clicked" 0.1;
32307                inherit: "default" 0.1;
32308                image.normal: "bt_base1.png";
32309                image.middle: SOLID;
32310             }
32311             description { state: "disabled" 0.0;
32312                inherit:  "default" 0.0;
32313                image {
32314                   normal: "bt_dis_base.png";
32315                   border: 4 4 4 4;
32316                }
32317             }
32318             description { state: "disabled" 0.1;
32319                inherit:  "default" 0.1;
32320                image {
32321                   normal: "bt_dis_base.png";
32322                   border: 4 4 4 4;
32323                }
32324             }
32325          }
32326          part {          name: "over1";
32327             mouse_events: 0;
32328             description { state: "default" 0.0;
32329             rel1.to: "elm.bar";
32330             rel2.to: "elm.bar";
32331                rel2.relative: 1.0 0.5;
32332                image {
32333                   normal: "bt_hilight.png";
32334                   border: 7 7 7 0;
32335                }
32336             }
32337             description { state: "disabled" 0.0;
32338                inherit:  "default" 0.0;
32339                image {
32340                   normal: "bt_dis_hilight.png";
32341                   border: 4 4 4 0;
32342                }
32343             }
32344          }
32345          part { name: "over2";
32346             mouse_events: 1;
32347             repeat_events: 1;
32348             ignore_flags: ON_HOLD;
32349             description { state: "default" 0.0;
32350             rel1.to: "elm.bar";
32351             rel2.to: "elm.bar";
32352                image {
32353                   normal: "bt_shine.png";
32354                   border: 7 7 7 7;
32355                }
32356             }
32357             description { state: "disabled" 0.0;
32358                inherit:  "default" 0.0;
32359                visible: 0;
32360             }
32361          }
32362          part { name: "over3";
32363             mouse_events: 1;
32364             repeat_events: 1;
32365             description { state: "default" 0.0;
32366                color: 255 255 255 0;
32367             rel1.to: "elm.bar";
32368             rel2.to: "elm.bar";
32369                image {
32370                   normal: "bt_glow.png";
32371                   border: 12 12 12 12;
32372                }
32373                fill.smooth : 0;
32374             }
32375             description { state: "clicked" 0.0;
32376                inherit:  "default" 0.0;
32377                visible: 1;
32378                color: 255 255 255 255;
32379             }
32380          }
32381
32382          //Arrow
32383          part {
32384             name: "arrow_right";
32385             mouse_events: 0;
32386             description { state: "default" 0.0;
32387                 min: 45 45;
32388                 max: 45 45;
32389                 color: 255 255 255 0;
32390
32391                 rel1.relative: 1.0 0.5;
32392                 rel1.to_x: "elm.bar";
32393                 rel1.offset: 45/2 -45/2;
32394
32395                 rel2.relative: 1.0 0.5;
32396                 rel2.to_x: "elm.bar";
32397                 rel2.offset: 45/2 45/2;
32398
32399                 image.normal: "arrow_right.png";
32400
32401                 fixed: 1 1;
32402             }
32403             description { state: "default" 0.1;
32404                 inherit: "default" 0.0;
32405                 image.normal: "arrow_left.png";
32406             }
32407             description { state: "anim_1" 0.0;
32408                 inherit: "default" 0.0;
32409                 color: 255 255 255 200;
32410                 rel1.offset: (45/2 + 10) -45/2;
32411                 rel2.offset: (45/2 +10) 45/2;
32412             }
32413             description { state: "anim_1" 0.1;
32414                 inherit: "default" 0.0;
32415                 image.normal: "arrow_left.png";
32416                 color: 255 255 255 200;
32417                 rel1.offset: (45/2 + 10) -45/2;
32418                 rel2.offset: (45/2 +10) 45/2;
32419             }
32420             description { state: "anim_2" 0.0;
32421                 inherit: "default" 0.0;
32422                 color: 255 255 255 0;
32423                 rel1.offset: (45/2 + 20) -45/2;
32424                 rel2.offset: (45/2 + 20) 45/2;
32425             }
32426             description { state: "anim_2" 0.1;
32427                 inherit: "default" 0.0;
32428                 image.normal: "arrow_left.png";
32429                 color: 255 255 255 0;
32430                 rel1.offset: (45/2 + 20) -45/2;
32431                 rel2.offset: (45/2 + 20) 45/2;
32432             }
32433          }
32434         part {
32435             name: "arrow_left";
32436             mouse_events: 0;
32437             description { state: "default" 0.0;
32438                 min: 45 45;
32439                 max: 45 45;
32440                 color: 255 255 255 0;
32441
32442                 rel1.relative: 0.0 0.5;
32443                 rel1.to_x: "elm.bar";
32444                 rel1.offset: -45/2 -45/2;
32445
32446                 rel2.relative: 0.0 0.5;
32447                 rel2.to_x: "elm.bar";
32448                 rel2.offset: -45/2 45/2;
32449
32450                 image.normal: "arrow_left.png";
32451
32452                 fixed: 1 1;
32453             }
32454             description { state: "default" 0.1;
32455                 inherit: "default" 0.0;
32456                 image.normal: "arrow_right.png";
32457             }
32458             description { state: "anim_1" 0.0;
32459                 inherit: "default" 0.0;
32460                 color: 255 255 255 200;
32461                 rel1.offset: (-45/2 - 10) -45/2;
32462                 rel2.offset: (-45/2 - 10) 45/2;
32463             }
32464             description { state: "anim_1" 0.1;
32465                 inherit: "default" 0.0;
32466                 image.normal: "arrow_right.png";
32467                 color: 255 255 255 200;
32468                 rel1.offset: (-45/2 - 10) -45/2;
32469                 rel2.offset: (-45/2 - 10) 45/2;
32470             }
32471             description { state: "anim_2" 0.0;
32472                 inherit: "default" 0.0;
32473                 color: 255 255 255 0;
32474                 rel1.offset: (-45/2 - 20) -45/2;
32475                 rel2.offset: (-45/2 - 20) 45/2;
32476             }
32477             description { state: "anim_2" 0.1;
32478                 inherit: "default" 0.0;
32479                 image.normal: "arrow_right.png";
32480                 color: 255 255 255 0;
32481                 rel1.offset: (-45/2 - 20) -45/2;
32482                 rel2.offset: (-45/2 - 20) 45/2;
32483             }
32484          }
32485          part { name: "movement.decider";
32486             mouse_events: 1;
32487             description { state: "default" 0.0;
32488                rel1.to: "elm.bar";
32489                rel2.to: "elm.bar";
32490                visible: 0;
32491             }
32492             description { state: "disabled" 0.0;
32493                inherit: "default" 0.0;
32494                visible: 1;
32495             }
32496          }
32497
32498        }
32499        programs {
32500          program {
32501             name:   "button_click";
32502             signal: "mouse,down,1";
32503             source: "over2";
32504             action: SIGNAL_EMIT "elm,action,press" "";
32505             after: "button_click_anim";
32506             after: "arrow_anim_start";
32507          }
32508          program {
32509             name:   "button_click_anim";
32510             script {
32511                if(get_int(state_pair) == 1)
32512                  set_state(PART:"elm.bar", "clicked", 0.1);
32513                else
32514                  set_state(PART:"elm.bar", "clicked", 0.0);          
32515             }
32516          }
32517          program {
32518             name:   "button_unclick";
32519             signal: "mouse,up,1";
32520             source: "over2";
32521             action: SIGNAL_EMIT "elm,action,unpress" "";
32522             after: "button_unclick_anim";
32523             after: "arrow_anim_stop";
32524          }
32525          program {
32526             name:   "button_unclick_anim";
32527             script {
32528             if(get_int(state_pair) == 1)
32529               set_state(PART:"elm.bar", "default", 0.1);
32530             else
32531               set_state(PART:"elm.bar", "default", 0.0);          
32532             }
32533          }
32534          program {
32535             name:   "button_click2";
32536             signal: "mouse,down,1";
32537             source: "over3";
32538             action: STATE_SET "clicked" 0.0;
32539             target: "over3";
32540          }
32541          program {
32542             name:   "button_unclick2";
32543             signal: "mouse,up,1";
32544             source: "over3";
32545             action: STATE_SET "default" 0.0;
32546             transition: DECELERATE 0.5;
32547             target: "over3";
32548          }
32549          program {
32550             name:   "button_unclick3";
32551             signal: "mouse,up,1";
32552             source: "over2";
32553             action: SIGNAL_EMIT "elm,action,click" "";
32554          }
32555          program {
32556             name:   "button_down_double";
32557             signal: "mouse,down,1,double";
32558             source: "over3";
32559             action: SIGNAL_EMIT "elm,action,click,double" "";
32560          }
32561
32562          //arrows animation
32563          program {
32564             name: "arrow_anim_start";
32565             script {
32566                new st[31];
32567                new Float:vl;
32568                get_state(PART:"arrow_left", st, 30, vl);
32569                if (vl == 0.0) {
32570                   run_program(PROGRAM:"arrow_anim_start_ltr");
32571                }
32572                else {
32573                   run_program(PROGRAM:"arrow_anim_start_rtl");
32574                }
32575             }
32576          }
32577          program {
32578             name: "arrow_anim_stop";
32579             script {
32580                new st[31];
32581                new Float:vl;
32582                get_state(PART:"arrow_left", st, 30, vl);
32583                if (vl == 0.0) {
32584                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32585                }
32586                else {
32587                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32588                }
32589             }
32590          }
32591
32592          program {
32593             name: "arrow_anim_start_ltr";
32594             action: STATE_SET "anim_1" 0.0;
32595             target: "arrow_right";
32596             target: "arrow_left";
32597             transition: LINEAR 0.6;
32598             after: "arrow_anim_1_ltr";
32599          }
32600          program {
32601             name: "arrow_anim_1_ltr";
32602             action: STATE_SET "anim_2" 0.0;
32603             target: "arrow_right";
32604             target: "arrow_left";
32605             transition: LINEAR 0.6;
32606             after: "arrow_anim_2_ltr";
32607          }
32608          program {
32609             name: "arrow_anim_2_ltr";
32610             action: STATE_SET "default" 0.0;
32611             target: "arrow_right";
32612             target: "arrow_left";
32613             after: "arrow_anim_start_ltr";
32614          }
32615          program {
32616             name: "arrow_anim_stop_ltr";
32617             action: ACTION_STOP;
32618             target: "arrow_anim_start_ltr";
32619             target: "arrow_anim_1_ltr";
32620             target: "arrow_anim_2_ltr";
32621             after: "arrow_anim_stop_1_ltr";
32622          }
32623          program {
32624             name: "arrow_anim_stop_1_ltr";
32625             action: STATE_SET "default" 0.0;
32626             target: "arrow_right";
32627             target: "arrow_left";
32628             transition: DECELERATE 0.4;
32629         }
32630          program {
32631             name: "arrow_anim_start_rtl";
32632             action: STATE_SET "anim_1" 0.1;
32633             target: "arrow_right";
32634             target: "arrow_left";
32635             transition: LINEAR 0.6;
32636             after: "arrow_anim_1_rtl";
32637          }
32638          program {
32639             name: "arrow_anim_1_rtl";
32640             action: STATE_SET "anim_2" 0.1;
32641             target: "arrow_right";
32642             target: "arrow_left";
32643             transition: LINEAR 0.6;
32644             after: "arrow_anim_2_rtl";
32645          }
32646          program {
32647             name: "arrow_anim_2_rtl";
32648             action: STATE_SET "default" 0.1;
32649             target: "arrow_right";
32650             target: "arrow_left";
32651             after: "arrow_anim_start_rtl";
32652          }
32653          program {
32654             name: "arrow_anim_stop_rtl";
32655             action: ACTION_STOP;
32656             target: "arrow_anim_start_rtl";
32657             target: "arrow_anim_1_rtl";
32658             target: "arrow_anim_2_rtl";
32659             after: "arrow_anim_stop_1_rtl";
32660          }
32661          program {
32662             name: "arrow_anim_stop_1_rtl";
32663             action: STATE_SET "default" 0.1;
32664             target: "arrow_right";
32665             target: "arrow_left";
32666             transition: DECELERATE 0.4;
32667         }
32668          program { name: "to_rtl";
32669             signal: "edje,state,rtl";
32670             source: "edje";
32671             script {
32672                new st[31];
32673                new Float:vl;
32674                get_state(PART:"arrow_left", st, 30, vl);
32675                if (vl == 0.0) {
32676                   set_state(PART:"arrow_left", st, 0.1);
32677                }
32678                get_state(PART:"arrow_right", st, 30, vl);
32679                if (vl == 0.0) {
32680                   set_state(PART:"arrow_right", st, 0.1);
32681                }
32682             }
32683          }
32684          program { name: "to_ltr";
32685             signal: "edje,state,ltr";
32686             source: "edje";
32687             script {
32688                new st[31];
32689                new Float:vl;
32690                get_state(PART:"arrow_left", st, 30, vl);
32691                if (vl == 0.1) {
32692                   set_state(PART:"arrow_left", st, 0.0);
32693                }
32694                get_state(PART:"arrow_right", st, 30, vl);
32695                if (vl == 0.1) {
32696                   set_state(PART:"arrow_right", st, 0.0);
32697                }
32698             }
32699          }
32700         //fix the pane
32701         program {
32702            name:   "panes_fixed";
32703            signal: "elm.panes.fixed";
32704            source: "elm";
32705            action: STATE_SET "disabled" 0.0;
32706            target: "movement.decider";
32707            target: "elm.bar";
32708         }
32709         //allow the movement by interaction
32710         program {
32711            name:   "panes_unfixed";
32712            signal: "elm.panes.unfixed";
32713            source: "elm";
32714            action: STATE_SET "default" 0.0;
32715            target: "movement.decider";
32716            target: "elm.bar";
32717         }
32718         program {
32719            name:   "panes_pair";
32720            signal: "elm.panes.pair";
32721            source: "elm";
32722            script {
32723               new st[31];
32724               new Float:vl;
32725               set_int(state_pair, 1);
32726               get_state(PART:"elm.bar", st, 30, vl);
32727               set_state(PART:"elm.bar", st, 0.1);
32728            }
32729         }
32730         program {
32731            name:   "panes_unpair";
32732            signal: "elm.panes.unpair";
32733            source: "elm";
32734            script {
32735               new st[31];
32736               new Float:vl;
32737               set_int(state_pair, 0);
32738               get_state(PART:"elm.bar", st, 30, vl);
32739               set_state(PART:"elm.bar", st, 0.0);
32740            }
32741         }
32742       }
32743   }
32744
32745   group {
32746      name: "elm/panes/horizontal/default";
32747      images {
32748         image: "bt_base1.png" COMP;
32749         image: "bt_base2.png" COMP;
32750         image: "bt_hilight.png" COMP;
32751         image: "bt_shine.png" COMP;
32752         image: "bt_glow.png" COMP;
32753         image: "bt_dis_base.png" COMP;
32754         image: "bt_dis_hilight.png" COMP;
32755         image: "arrow_up.png" COMP;
32756         image: "arrow_down.png" COMP;
32757      }
32758      script {
32759         public state_pair = 0; //0:both content are not set, 1:both content are set
32760      }
32761      parts
32762        {
32763           part
32764             {
32765                name: "whole";
32766                type: RECT;
32767                mouse_events: 1;
32768                description
32769                  {
32770                     state: "default" 0.0;
32771                     visible: 0;
32772                  }
32773             }
32774
32775          //2 contents
32776           part
32777             {
32778                name: "whole_left";
32779                type: RECT;
32780                mouse_events: 0;
32781                description
32782                  {
32783                     state: "default" 0.0;
32784                     rel2.to_y: "elm.bar";
32785                     rel2.relative: 1.0 0.0;
32786                     visible: 1;
32787                  }
32788             }
32789           part
32790             {
32791                name: "elm.swallow.left";
32792                type: SWALLOW;
32793                clip_to: "whole_left";
32794                description
32795                  {
32796                     state: "default" 0.0;
32797                     rel1.to: "whole_left";
32798                     rel2.to: "whole_left";
32799                  }
32800             }
32801
32802             part
32803             {
32804                name: "whole_right";
32805                type: RECT;
32806                mouse_events: 0;
32807                description
32808                  {
32809                     state: "default" 0.0;
32810                     rel1.to_y: "elm.bar";
32811                     rel1.relative: 0.0 1.0;
32812                     visible: 1;
32813                  }
32814             }
32815           part
32816             {
32817                name: "elm.swallow.right";
32818                type: SWALLOW;
32819                clip_to: "whole_right";
32820                description
32821                  {
32822                     state: "default" 0.0;
32823                     rel1.to: "whole_right";
32824                     rel2.to: "whole_right";
32825                  }
32826             }
32827          //BAR
32828          part { name: "elm.bar";
32829             mouse_events: 1;
32830             dragable {
32831                confine: "whole";
32832                x: 0 0 0;
32833                y: 1 1 1;
32834             }
32835        description { state: "default" 0.0;
32836                max: 999 0;
32837                min: 100 0;
32838                rel1.relative: 0.5 0.0;
32839                rel2.relative: 0.5 1.0;
32840                image {
32841                   normal: "bt_base2.png";
32842                   border: 7 7 7 7;
32843                }
32844                image.middle: SOLID;
32845        }
32846        description { state: "default" 0.1;
32847           inherit: "default" 0.0;
32848           max: 999 15;
32849           min: 100 15;
32850        }
32851        description { state: "clicked" 0.0;
32852           inherit: "default" 0.0;
32853           image.normal: "bt_base1.png";
32854                image.middle: SOLID;
32855        }
32856        description { state: "clicked" 0.1;
32857           inherit: "default" 0.1;
32858           image.normal: "bt_base1.png";
32859           image.middle: SOLID;
32860        }
32861        description { state: "disabled" 0.0;
32862           inherit:  "default" 0.0;
32863           image {
32864         normal: "bt_dis_base.png";
32865         border: 4 4 4 4;
32866           }
32867        }
32868        description { state: "disabled" 0.1;
32869           inherit:  "default" 0.1;
32870           image {
32871              normal: "bt_dis_base.png";
32872              border: 4 4 4 4;
32873           }
32874        }
32875     }
32876     part {    name: "over1";
32877        mouse_events: 0;
32878        description { state: "default" 0.0;
32879             rel1.to: "elm.bar";
32880             rel2.to: "elm.bar";
32881                rel2.relative: 1.0 0.5;
32882                image {
32883                   normal: "bt_hilight.png";
32884                   border: 7 7 7 0;
32885                }
32886             }
32887             description { state: "disabled" 0.0;
32888                inherit:  "default" 0.0;
32889                image {
32890                   normal: "bt_dis_hilight.png";
32891                   border: 4 4 4 0;
32892                }
32893             }
32894          }
32895          part { name: "over2";
32896             mouse_events: 1;
32897             repeat_events: 1;
32898             ignore_flags: ON_HOLD;
32899             description { state: "default" 0.0;
32900             rel1.to: "elm.bar";
32901             rel2.to: "elm.bar";
32902                image {
32903                   normal: "bt_shine.png";
32904                   border: 7 7 7 7;
32905                }
32906             }
32907             description { state: "disabled" 0.0;
32908                inherit:  "default" 0.0;
32909                visible: 0;
32910             }
32911          }
32912          part { name: "over3";
32913             mouse_events: 1;
32914             repeat_events: 1;
32915             description { state: "default" 0.0;
32916                color: 255 255 255 0;
32917             rel1.to: "elm.bar";
32918             rel2.to: "elm.bar";
32919                image {
32920                   normal: "bt_glow.png";
32921                   border: 12 12 12 12;
32922                }
32923                fill.smooth : 0;
32924             }
32925             description { state: "clicked" 0.0;
32926                inherit:  "default" 0.0;
32927                visible: 1;
32928                color: 255 255 255 255;
32929             }
32930          }
32931
32932          //Arrow
32933          part {
32934             name: "arrow_right";
32935             mouse_events: 0;
32936             description { state: "default" 0.0;
32937                 min: 45 45;
32938                 max: 45 45;
32939                 color: 255 255 255 0;
32940
32941                 rel1.relative: 0.5 1.0;
32942                 rel1.to_y: "elm.bar";
32943                 rel1.offset: -45/2 45/2;
32944
32945                 rel2.relative: 0.5 1.0;
32946                 rel2.to_y: "elm.bar";
32947                 rel2.offset: 45/2 45/2;
32948
32949                 image.normal: "arrow_down.png";
32950
32951                 fixed: 1 1;
32952             }
32953             description { state: "anim_1" 0.0;
32954                 inherit: "default" 0.0;
32955                 color: 255 255 255 200;
32956                 rel1.offset: -45/2 (45/2 +10);
32957                 rel2.offset: 45/2 (45/2 +10);
32958             }
32959             description { state: "anim_2" 0.0;
32960                 inherit: "default" 0.0;
32961                 color: 255 255 255 0;
32962                 rel1.offset: -45/2 (45/2 + 20);
32963                 rel2.offset: 45/2 (45/2 + 20);
32964             }
32965          }
32966         part {
32967             name: "arrow_left";
32968             mouse_events: 0;
32969             description { state: "default" 0.0;
32970                 min: 45 45;
32971                 max: 45 45;
32972                 color: 255 255 255 0;
32973
32974                 rel1.relative: 0.5 0.0;
32975                 rel1.to_y: "elm.bar";
32976                 rel1.offset: -45/2 -45/2;
32977
32978                 rel2.relative: 0.5 0.0;
32979                 rel2.to_y: "elm.bar";
32980                 rel2.offset: 45/2 -45/2;
32981
32982                 image.normal: "arrow_up.png";
32983
32984                 fixed: 1 1;
32985             }
32986             description { state: "anim_1" 0.0;
32987                 inherit: "default" 0.0;
32988                 color: 255 255 255 200;
32989                 rel1.offset: -45/2 (-45/2 - 10);
32990                 rel2.offset: 45/2 (-45/2 - 10);
32991             }
32992             description { state: "anim_2" 0.0;
32993                 inherit: "default" 0.0;
32994                 color: 255 255 255 0;
32995                 rel1.offset: -45/2 (-45/2 - 20);
32996                 rel2.offset: 45/2 (-45/2 - 20);
32997             }
32998          }
32999          part {
33000             name: "movement.decider";
33001             mouse_events: 1;
33002             description { state: "default" 0.0;
33003                rel1.to: "elm.bar";
33004                rel2.to: "elm.bar";
33005                visible: 0;
33006             }
33007             description { state: "disabled" 0.0;
33008                inherit: "default" 0.0;
33009                visible: 1;
33010             }
33011          }
33012
33013        }
33014        programs {
33015           program {
33016              name:   "button_click";
33017              signal: "mouse,down,1";
33018              source: "over2";
33019              action: SIGNAL_EMIT "elm,action,press" "";
33020              after: "button_click_anim";
33021                   after: "arrow_anim_start";
33022           }
33023           program {
33024              name:   "button_click_anim";
33025              script {
33026                 if(get_int(state_pair) == 1)
33027                    set_state(PART:"elm.bar", "clicked", 0.1);
33028                 else
33029                    set_state(PART:"elm.bar", "clicked", 0.0);           
33030              }
33031           }
33032           program {
33033              name:   "button_unclick";
33034              signal: "mouse,up,1";
33035              source: "over2";
33036              action: SIGNAL_EMIT "elm,action,unpress" "";
33037              after: "button_unclick_anim";
33038                   after: "arrow_anim_stop";
33039           }
33040           program {
33041              name:   "button_unclick_anim";
33042              script {
33043                 if(get_int(state_pair) == 1)
33044                    set_state(PART:"elm.bar", "default", 0.1);
33045                 else
33046                    set_state(PART:"elm.bar", "default", 0.0);           
33047              }
33048           }
33049           program {
33050              name:   "button_click2";
33051              signal: "mouse,down,1";
33052              source: "over3";
33053              action: STATE_SET "clicked" 0.0;
33054              target: "over3";
33055           }
33056           program {
33057              name:   "button_unclick2";
33058              signal: "mouse,up,1";
33059              source: "over3";
33060              action: STATE_SET "default" 0.0;
33061                   transition: DECELERATE 0.5;
33062              target: "over3";
33063           }
33064           program {
33065              name:   "button_unclick3";
33066              signal: "mouse,up,1";
33067              source: "over2";
33068              action: SIGNAL_EMIT "elm,action,click" "";
33069           }
33070          program {
33071             name:   "button_down_double";
33072             signal: "mouse,down,1,double";
33073             source: "over3";
33074             action: SIGNAL_EMIT "elm,action,click,double" "";
33075          }
33076
33077          //arrows animation
33078          program {
33079             name: "arrow_anim_start";
33080             action: STATE_SET "anim_1" 0.0;
33081             target: "arrow_right";
33082             target: "arrow_left";
33083             transition: LINEAR 0.6;
33084             after: "arrow_anim_1";
33085          }
33086          program {
33087             name: "arrow_anim_1";
33088             action: STATE_SET "anim_2" 0.0;
33089             target: "arrow_right";
33090             target: "arrow_left";
33091             transition: LINEAR 0.6;
33092             after: "arrow_anim_2";
33093          }
33094          program {
33095             name: "arrow_anim_2";
33096             action: STATE_SET "default" 0.0;
33097             target: "arrow_right";
33098             target: "arrow_left";
33099             after: "arrow_anim_start";
33100          }
33101          program {
33102             name: "arrow_anim_stop";
33103             action: ACTION_STOP;
33104             target: "arrow_anim_start";
33105             target: "arrow_anim_1";
33106             target: "arrow_anim_2";
33107             after: "arrow_anim_stop_1";
33108          }
33109          program {
33110             name: "arrow_anim_stop_1";
33111             action: STATE_SET "default" 0.0;
33112             target: "arrow_right";
33113             target: "arrow_left";
33114             transition: DECELERATE 0.4;
33115         }
33116         //fix the pane
33117         program {
33118            name:   "panes_fixed";
33119            signal: "elm.panes.fixed";
33120            source: "elm";
33121            action: STATE_SET "disabled" 0.0;
33122            target: "movement.decider";
33123            target: "elm.bar";
33124         }
33125         //allow the movement by interaction
33126         program {
33127            name:   "panes_unfixed";
33128            signal: "elm.panes.unfixed";
33129            source: "elm";
33130            action: STATE_SET "default" 0.0;
33131            target: "movement.decider";
33132            target: "elm.bar";
33133         }
33134         program {
33135            name:   "panes_pair";
33136            signal: "elm.panes.pair";
33137            source: "elm";
33138            script {
33139               new st[31];
33140               new Float:vl;
33141               set_int(state_pair, 1);
33142               get_state(PART:"elm.bar", st, 30, vl);
33143               set_state(PART:"elm.bar", st, 0.1);
33144            }
33145         }
33146         program {
33147            name:   "panes_unpair";
33148            signal: "elm.panes.unpair";
33149            source: "elm";
33150            script {
33151               new st[31];
33152               new Float:vl;
33153               set_int(state_pair, 0);
33154               get_state(PART:"elm.bar", st, 30, vl);
33155               set_state(PART:"elm.bar", st, 0.0);
33156            }
33157         }
33158       }
33159   }
33160
33161
33162
33163 /////////////////////////////////////////////////////////////////////////////
33164 // PANEL
33165 /////////////////////////////////////////////////////////////////////////////
33166   group {
33167      name: "elm/panel/base/left";
33168      alias: "elm/panel/base/top";
33169      images
33170        {
33171           image: "bt_base1.png" COMP;
33172           image: "bt_hilight.png" COMP;
33173           image: "bt_shine.png" COMP;
33174           image: "bt_glow.png" COMP;
33175           image: "bt_dis_base.png" COMP;
33176           image: "icon_arrow_left.png" COMP;
33177           image: "icon_arrow_right.png" COMP;
33178        }
33179        data {
33180           item: "focus_highlight" "on";
33181        }
33182      parts
33183        {
33184             part { name: "focus_highlight";
33185                description { state: "default" 0.0;
33186                   visible: 0;
33187                   color: 255 255 255 0;
33188                   rel1 {
33189                      to: "btn";
33190                      offset: -8 -8;
33191                   }
33192                   rel2 {
33193                      to: "btn";
33194                      offset: 7 7;
33195                   }
33196                   image {
33197                      normal: "frame_2.png";
33198                      border: 5 5 32 26;
33199                      middle: 0;
33200                   }
33201                }
33202                description { state: "enabled" 0.0;
33203                   inherit: "default" 0.0;
33204                   visible: 1;
33205                   color: 255 255 255 255;
33206                }
33207             }
33208           part
33209             {
33210                name: "bg";
33211                type: RECT;
33212                mouse_events: 0;
33213                description
33214                  {
33215                     state: "default" 0.0;
33216                     color: 255 255 255 0;
33217                     rel1.relative: 0.0 0.0;
33218                     rel1.offset: 0 0;
33219                     rel2.relative: 1.0 1.0;
33220                     rel2.offset: -1 -1;
33221                  }
33222                description
33223                  {
33224                     state: "hidden" 0.0;
33225                     inherit: "default" 0.0;
33226                     rel1.relative: -1.0 0.0;
33227                     rel1.offset: 21 0;
33228                     rel2.relative: 0.0 1.0;
33229                     rel2.offset: 20 -1;
33230                  }
33231             }
33232           part
33233             {
33234                name: "base";
33235                type: IMAGE;
33236                mouse_events: 0;
33237                description
33238                  {
33239                     state: "default" 0.0;
33240                     rel1.to: "bg";
33241                     rel2.to: "bg";
33242                     rel2.offset: -20 -1;
33243                     image
33244                       {
33245                          normal: "bt_dis_base.png";
33246                          border: 4 4 4 4;
33247                       }
33248                  }
33249             }
33250           part
33251             {
33252                name: "clipper";
33253                type: RECT;
33254                mouse_events: 0;
33255                description
33256                  {
33257                     state: "default" 0.0;
33258                     rel1
33259                       {
33260                          offset: 4 4;
33261                          to: "base";
33262                       }
33263                     rel2
33264                       {
33265                          offset: -5 -5;
33266                          to: "base";
33267                       }
33268                  }
33269             }
33270           part
33271             {
33272                name: "elm.swallow.content";
33273                type: SWALLOW;
33274                clip_to: "clipper";
33275                description
33276                  {
33277                     state: "default" 0.0;
33278                     rel1.to: "clipper";
33279                     rel2.to: "clipper";
33280                  }
33281             }
33282           part
33283             {
33284                name: "btn";
33285                type: IMAGE;
33286                mouse_events: 1;
33287                description
33288                  {
33289                     state: "default" 0.0;
33290                     max: 32 48;
33291                     fixed: 1 1;
33292                     align: 0.0 0.5;
33293                     rel1
33294                       {
33295                          relative: 1.0 0.0;
33296                          offset: -3 0;
33297                          to_x: "base";
33298                       }
33299                     rel2.to_x: "bg";
33300                     image
33301                       {
33302                          normal: "bt_base1.png";
33303                          border: 0 5 4 12;
33304                       }
33305                     fill.smooth: 0;
33306                  }
33307                description
33308                  {
33309                     state: "clicked" 0.0;
33310                     inherit: "default" 0.0;
33311                  }
33312             }
33313           part
33314             {
33315                name: "btn_over";
33316                type: IMAGE;
33317                mouse_events: 0;
33318                description
33319                  {
33320                     state: "default" 0.0;
33321                     rel1.to: "btn";
33322                     rel2
33323                       {
33324                          relative: 1.0 0.5;
33325                          to: "btn";
33326                       }
33327                     image
33328                       {
33329                          normal: "bt_hilight.png";
33330                          border: 0 7 7 0;
33331                       }
33332                  }
33333             }
33334           part
33335             {
33336                name: "btn_over2";
33337                type: IMAGE;
33338                mouse_events: 1;
33339                repeat_events: 1;
33340                ignore_flags: ON_HOLD;
33341                description
33342                  {
33343                     state: "default" 0.0;
33344                     rel1.to: "btn";
33345                     rel2.to: "btn";
33346                     image
33347                       {
33348                          normal: "bt_shine.png";
33349                          border: 0 7 7 7;
33350                     }
33351                  }
33352             }
33353           part
33354             {
33355                name: "btn_over3";
33356                type: IMAGE;
33357                mouse_events: 1;
33358                repeat_events: 1;
33359                description
33360                  {
33361                     state: "default" 0.0;
33362                     color: 255 255 255 0;
33363                     rel1.to: "btn";
33364                     rel2.to: "btn";
33365                     image
33366                       {
33367                        normal: "bt_glow.png";
33368                        border: 12 12 12 12;
33369                     }
33370                   fill.smooth: 0;
33371                }
33372              description
33373                {
33374                   state: "clicked" 0.0;
33375                   inherit: "default" 0.0;
33376                   visible: 1;
33377                   color: 255 255 255 255;
33378                }
33379             }
33380           part
33381             {
33382                name: "btn_icon";
33383                type: IMAGE;
33384                repeat_events: 1;
33385                description
33386                  {
33387                     state: "default" 0.0;
33388                     rel1.to: "btn";
33389                     rel2.to: "btn";
33390                     align: 0.5 0.5;
33391                     min: 16 16;
33392                     max: 16 16;
33393                     image.normal: "icon_arrow_left.png";
33394                  }
33395                description
33396                  {
33397                     state: "hidden" 0.0;
33398                     inherit: "default" 0.0;
33399                     image.normal: "icon_arrow_right.png";
33400                  }
33401             }
33402        }
33403      programs
33404        {
33405           program
33406             {
33407                name: "show";
33408                signal: "elm,action,show";
33409                source: "elm";
33410                action: STATE_SET "default" 0.0;
33411                target: "bg";
33412                target: "btn_icon";
33413                transition: LINEAR 0.5;
33414             }
33415           program
33416             {
33417                name: "hide";
33418                signal: "elm,action,hide";
33419                source: "elm";
33420                action: STATE_SET "hidden" 0.0;
33421                target: "bg";
33422                target: "btn_icon";
33423                transition: LINEAR 0.5;
33424             }
33425           program
33426             {
33427                name: "btn_click";
33428                signal: "mouse,down,1";
33429                source: "btn_over2";
33430                action: STATE_SET "clicked" 0.0;
33431                target: "btn";
33432             }
33433           program
33434             {
33435                name: "btn_unclick";
33436                signal: "mouse,up,1";
33437                source: "btn_over2";
33438                action: STATE_SET "default" 0.0;
33439                target: "btn";
33440             }
33441           program
33442             {
33443                name: "btn_click2";
33444                signal: "mouse,down,1";
33445                source: "btn_over3";
33446                action: STATE_SET "clicked" 0.0;
33447                target: "btn_over3";
33448             }
33449           program
33450             {
33451                name: "btn_unclick2";
33452                signal: "mouse,up,1";
33453                source: "btn_over3";
33454                action: STATE_SET "default" 0.0;
33455                transition: DECELERATE 0.5;
33456                target: "btn_over3";
33457             }
33458           program
33459             {
33460                name: "btn_unclick3";
33461                signal: "mouse,clicked,1";
33462                source: "btn_over2";
33463                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33464             }
33465          program { name: "highlight_show";
33466             signal: "elm,action,focus_highlight,show";
33467             source: "elm";
33468             action: STATE_SET "enabled" 0.0;
33469             transition: ACCELERATE 0.3;
33470             target: "focus_highlight";
33471          }
33472          program { name: "highlight_hide";
33473             signal: "elm,action,focus_highlight,hide";
33474             source: "elm";
33475             action: STATE_SET "default" 0.0;
33476             transition: DECELERATE 0.3;
33477             target: "focus_highlight";
33478          }
33479        }
33480   }
33481
33482   group {
33483      name: "elm/panel/base/right";
33484      alias: "elm/panel/base/bottom";
33485      images
33486        {
33487           image: "bt_base1.png" COMP;
33488           image: "bt_hilight.png" COMP;
33489           image: "bt_shine.png" COMP;
33490           image: "bt_glow.png" COMP;
33491           image: "bt_dis_base.png" COMP;
33492           image: "icon_arrow_left.png" COMP;
33493           image: "icon_arrow_right.png" COMP;
33494        }
33495      parts
33496        {
33497             part { name: "focus_highlight";
33498                description { state: "default" 0.0;
33499                   visible: 0;
33500                   color: 255 255 255 0;
33501                   rel1 {
33502                      to: "btn";
33503                      offset: -8 -8;
33504                   }
33505                   rel2 {
33506                      to: "btn";
33507                      offset: 7 7;
33508                   }
33509                   image {
33510                      normal: "frame_2.png";
33511                      border: 5 5 32 26;
33512                      middle: 0;
33513                   }
33514                }
33515                description { state: "enabled" 0.0;
33516                   inherit: "default" 0.0;
33517                   visible: 1;
33518                   color: 255 255 255 255;
33519                }
33520             }
33521           part
33522             {
33523                name: "bg";
33524                type: RECT;
33525                mouse_events: 0;
33526                description
33527                  {
33528                     state: "default" 0.0;
33529                     color: 255 255 255 0;
33530                     rel1.relative: 0.0 0.0;
33531                     rel1.offset: 0 0;
33532                     rel2.relative: 1.0 1.0;
33533                     rel2.offset: -1 -1;
33534                  }
33535                description
33536                  {
33537                     state: "hidden" 0.0;
33538                     inherit: "default" 0.0;
33539                     rel1.relative: 1.0 0.0;
33540                     rel1.offset: -22 0;
33541                     rel2.relative: 2.0 1.0;
33542                     rel2.offset: -23 -1;
33543                  }
33544             }
33545           part
33546             {
33547                name: "base";
33548                type: IMAGE;
33549                mouse_events: 0;
33550                description
33551                  {
33552                     state: "default" 0.0;
33553                     rel1.to: "bg";
33554                     rel1.offset: 20 0;
33555                     rel2.to: "bg";
33556                     image
33557                       {
33558                          normal: "bt_dis_base.png";
33559                          border: 4 4 4 4;
33560                       }
33561                  }
33562             }
33563           part
33564             {
33565                name: "clipper";
33566                type: RECT;
33567                mouse_events: 0;
33568                description
33569                  {
33570                     state: "default" 0.0;
33571                     rel1
33572                       {
33573                          offset: 4 4;
33574                          to: "base";
33575                       }
33576                     rel2
33577                       {
33578                          offset: -5 -5;
33579                          to: "base";
33580                       }
33581                  }
33582             }
33583           part
33584             {
33585                name: "elm.swallow.content";
33586                type: SWALLOW;
33587                clip_to: "clipper";
33588                description
33589                  {
33590                     state: "default" 0.0;
33591                     rel1.to: "clipper";
33592                     rel2.to: "clipper";
33593                  }
33594             }
33595           part
33596             {
33597                name: "btn";
33598                type: IMAGE;
33599                mouse_events: 1;
33600                description
33601                  {
33602                     state: "default" 0.0;
33603                     max: 32 48;
33604                     fixed: 1 1;
33605                     align: 1 0.5;
33606                     rel1
33607                       {
33608                          to_x: "bg";
33609                       }
33610                     rel2
33611                       {
33612                          offset: 2 0;
33613                          relative: 0.0 1;
33614                          to_x: "base";
33615                       }
33616                     image
33617                       {
33618                          normal: "bt_base1.png";
33619                          border: 5 0 4 12;
33620                       }
33621                     fill.smooth: 0;
33622                  }
33623                description
33624                  {
33625                     state: "clicked" 0.0;
33626                     inherit: "default" 0.0;
33627                  }
33628             }
33629           part
33630             {
33631                name: "btn_over";
33632                type: IMAGE;
33633                mouse_events: 0;
33634                description
33635                  {
33636                     state: "default" 0.0;
33637                     rel1.to: "btn";
33638                     rel2
33639                       {
33640                          relative: 1.0 0.5;
33641                          to: "btn";
33642                       }
33643                     image
33644                       {
33645                          normal: "bt_hilight.png";
33646                          border: 7 0 7 0;
33647                       }
33648                  }
33649             }
33650           part
33651             {
33652                name: "btn_over2";
33653                type: IMAGE;
33654                mouse_events: 1;
33655                repeat_events: 1;
33656                ignore_flags: ON_HOLD;
33657                description
33658                  {
33659                     state: "default" 0.0;
33660                     rel1.to: "btn";
33661                     rel2.to: "btn";
33662                     image
33663                       {
33664                          normal: "bt_shine.png";
33665                          border: 7 0 7 7;
33666                     }
33667                  }
33668             }
33669           part
33670             {
33671                name: "btn_over3";
33672                type: IMAGE;
33673                mouse_events: 1;
33674                repeat_events: 1;
33675                description
33676                  {
33677                     state: "default" 0.0;
33678                     color: 255 255 255 0;
33679                     rel1.to: "btn";
33680                     rel2.to: "btn";
33681                     image
33682                       {
33683                        normal: "bt_glow.png";
33684                        border: 12 12 12 12;
33685                     }
33686                   fill.smooth: 0;
33687                }
33688              description
33689                {
33690                   state: "clicked" 0.0;
33691                   inherit: "default" 0.0;
33692                   visible: 1;
33693                   color: 255 255 255 255;
33694                }
33695             }
33696           part
33697             {
33698                name: "btn_icon";
33699                type: IMAGE;
33700                repeat_events: 1;
33701                description
33702                  {
33703                     state: "default" 0.0;
33704                     rel1.to: "btn";
33705                     rel2.to: "btn";
33706                     align: 0.5 0.5;
33707                     min: 16 16;
33708                     max: 16 16;
33709                     image.normal: "icon_arrow_right.png";
33710                  }
33711                description
33712                  {
33713                     state: "hidden" 0.0;
33714                     inherit: "default" 0.0;
33715                     image.normal: "icon_arrow_left.png";
33716                  }
33717             }
33718        }
33719      programs
33720        {
33721           program
33722             {
33723                name: "show";
33724                signal: "elm,action,show";
33725                source: "elm";
33726                action: STATE_SET "default" 0.0;
33727                target: "bg";
33728                target: "btn_icon";
33729                transition: LINEAR 0.5;
33730             }
33731           program
33732             {
33733                name: "hide";
33734                signal: "elm,action,hide";
33735                source: "elm";
33736                action: STATE_SET "hidden" 0.0;
33737                target: "bg";
33738                target: "btn_icon";
33739                transition: LINEAR 0.5;
33740             }
33741           program
33742             {
33743                name: "btn_click";
33744                signal: "mouse,down,1";
33745                source: "btn_over2";
33746                action: STATE_SET "clicked" 0.0;
33747                target: "btn";
33748             }
33749           program
33750             {
33751                name: "btn_unclick";
33752                signal: "mouse,up,1";
33753                source: "btn_over2";
33754                action: STATE_SET "default" 0.0;
33755                target: "btn";
33756             }
33757           program
33758             {
33759                name: "btn_click2";
33760                signal: "mouse,down,1";
33761                source: "btn_over3";
33762                action: STATE_SET "clicked" 0.0;
33763                target: "btn_over3";
33764             }
33765           program
33766             {
33767                name: "btn_unclick2";
33768                signal: "mouse,up,1";
33769                source: "btn_over3";
33770                action: STATE_SET "default" 0.0;
33771                transition: DECELERATE 0.5;
33772                target: "btn_over3";
33773             }
33774           program
33775             {
33776                name: "btn_unclick3";
33777                signal: "mouse,up,1";
33778                source: "btn_over2";
33779                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33780             }
33781          program { name: "highlight_show";
33782             signal: "elm,action,focus";
33783             source: "elm";
33784             action: STATE_SET "enabled" 0.0;
33785             transition: ACCELERATE 0.3;
33786             target: "focus_highlight";
33787          }
33788          program { name: "highlight_hide";
33789             signal: "elm,action,unfocus";
33790             source: "elm";
33791             action: STATE_SET "default" 0.0;
33792             transition: DECELERATE 0.3;
33793             target: "focus_highlight";
33794          }
33795        }
33796   }
33797
33798 ///////////////////////////////////////////////////////////////////////////////
33799   group { name: "elm/conformant/base/default";
33800      parts {
33801         part { name: "elm.swallow.shelf";
33802            type: SWALLOW;
33803            description { state: "default" 0.0;
33804               fixed: 1 1;
33805               align: 0.0 0.0;
33806               rel2.relative: 1.0 0.0;
33807            }
33808         }
33809         part { name: "elm.swallow.content";
33810            type: SWALLOW;
33811            description { state: "default" 0.0;
33812               align: 0.5 0.5;
33813               rel1.relative: 0.0 1.0;
33814               rel1.to_y: "elm.swallow.shelf";
33815               rel2.relative: 1.0 0.0;
33816               rel2.to_y: "elm.swallow.virtualkeypad";
33817            }
33818         }
33819         part { name: "elm.swallow.virtualkeypad";
33820            type: SWALLOW;
33821            description { state: "default" 0.0;
33822               fixed: 0 1;
33823               align: 0.0 1.0;
33824               rel1.relative: 0.0 0.0;
33825               rel1.to_y: "elm.swallow.panel";
33826               rel2.relative: 1.0 0.0;
33827               rel2.to_y: "elm.swallow.panel";
33828            }
33829         }
33830         part { name: "elm.swallow.panel";
33831            type: SWALLOW;
33832            description { state: "default" 0.0;
33833               fixed: 1 1;
33834               align: 0.0 1.0;
33835               rel1.relative: 0.0 1.0;
33836            }
33837         }
33838      }
33839   }
33840
33841 /////////////////////////////////////////////////////////////////////////////
33842 // CALENDAR
33843 /////////////////////////////////////////////////////////////////////////////
33844 #define CH(_pos) \
33845          part { name: "ch_"#_pos".base"; \
33846             type: RECT; \
33847             description { state: "default" 0.0; \
33848                rel1 { \
33849                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33850                   to: "header"; \
33851                } \
33852                rel2 { \
33853                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33854                   to: "header"; \
33855                } \
33856                color: 0 0 0 0; \
33857                visible: 0; \
33858             } \
33859          } \
33860          part { name: "ch_"#_pos".text"; \
33861             type: TEXT; \
33862             effect: SOFT_SHADOW; \
33863             mouse_events: 0; \
33864             scale: 1; \
33865             clip_to: "ch_"#_pos".clipper"; \
33866             description { \
33867                state: "default" 0.0; \
33868                rel1.to: "ch_"#_pos".base"; \
33869                rel2.to: "ch_"#_pos".base"; \
33870                color: 0 0 0 255; \
33871                color3: 0 0 0 0; \
33872                text { \
33873                   font: "Sans"; \
33874                   size: 10; \
33875                   min: 1 1; \
33876                   align: 0.5 0.5; \
33877                } \
33878             } \
33879          } \
33880          part { name: "ch_"#_pos".clipper"; \
33881             type: RECT; \
33882             description { state: "default" 0.0; \
33883                rel1.to: "ch_"#_pos".base"; \
33884                rel2.to: "ch_"#_pos".base"; \
33885             } \
33886          }
33887
33888 #define CIT(_pos) \
33889          part { name: "cit_"#_pos".rect"; \
33890             type: RECT; \
33891             description { state: "default" 0.0; \
33892                rel1 { \
33893                   relative: (_pos % 7 * 7 / 8 / 6) \
33894                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33895                   to: "base"; \
33896                } \
33897                rel2 { \
33898                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33899                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33900                   to: "base"; \
33901                } \
33902                color: 0 0 0 0; \
33903                visible: 0; \
33904             } \
33905          } \
33906          part { \
33907             name: "cit_"#_pos".event"; \
33908             type: RECT; \
33909             repeat_events: 1; \
33910             description { \
33911                rel1.to: "cit_"#_pos".rect"; \
33912                rel2.to: "cit_"#_pos".rect"; \
33913                state: "default" 0.0; \
33914                color: 0 0 0 0; \
33915             } \
33916          } \
33917          part { name: "cit_"#_pos".shelf"; \
33918             type: RECT; \
33919             mouse_events: 0; \
33920             description { state: "default" 0.0; \
33921                rel1 { \
33922                   to: "cit_"#_pos".bg"; \
33923                   offset: -1 -1; \
33924                } \
33925                rel2 { \
33926                   to: "cit_"#_pos".bg"; \
33927                } \
33928                color: 200 200 200 255; \
33929             } \
33930          } \
33931          part { name: "cit_"#_pos".hd"; \
33932             type: RECT; \
33933             mouse_events: 0; \
33934             description { state: "default" 0.0; \
33935                rel1 { \
33936                   to: "cit_"#_pos".bg"; \
33937                   offset: -1 -1; \
33938                } \
33939                rel2 { \
33940                   to: "cit_"#_pos".bg"; \
33941                } \
33942                visible: 0; \
33943                color: 160 0 0 255; \
33944             } \
33945             description { state: "visible" 0.0; \
33946                inherit: "default" 0.0; \
33947                visible: 1; \
33948             } \
33949          } \
33950          part { \
33951             name: "cit_"#_pos".base_sh"; \
33952             mouse_events: 0; \
33953             description { \
33954                state: "default" 0.0; \
33955                align: 0.0 0.0; \
33956                min: 0 1; \
33957                rel1 { \
33958                   to: "cit_"#_pos".base"; \
33959                   relative: 0.0 1.0; \
33960                   offset: 0 0; \
33961                } \
33962                rel2 { \
33963                   to: "cit_"#_pos".base"; \
33964                   relative: 1.0 1.05; \
33965                   offset: -1 0; \
33966                } \
33967                image { \
33968                   normal: "ilist_item_shadow.png"; \
33969                } \
33970                fill.smooth: 0; \
33971             } \
33972          } \
33973          part { \
33974             name: "cit_"#_pos".base"; \
33975             mouse_events: 0; \
33976             description { \
33977                state: "default" 0.0; \
33978                rel1.to: "cit_"#_pos".rect"; \
33979                rel2.to: "cit_"#_pos".rect"; \
33980                rel2.offset: -1 -1; \
33981                image { \
33982                   normal: "ilist_1.png"; \
33983                   border: 2 2 2 2; \
33984                } \
33985                fill.smooth: 0; \
33986             } \
33987             description { \
33988                state: "today" 0.0; \
33989                inherit: "default" 0.0; \
33990                image.normal: "ilist_2.png"; \
33991                color: 240 240 240 255; \
33992             } \
33993          } \
33994          part { name: "cit_"#_pos".bg"; \
33995             mouse_events: 0; \
33996             description { state: "default" 0.0; \
33997                visible: 0; \
33998                color: 255 255 255 0; \
33999                rel1 { \
34000                   to: "cit_"#_pos".rect"; \
34001                   relative: 0.0 0.0; \
34002                } \
34003                rel2 { \
34004                   to: "cit_"#_pos".rect"; \
34005                   relative: 1.0 1.0; \
34006                   offset: -1 -1; \
34007                } \
34008                image { \
34009                   normal: "bt_sm_base1.png"; \
34010                   border: 6 6 6 6; \
34011                } \
34012                image.middle: SOLID; \
34013             } \
34014             description { state: "selected" 0.0; \
34015                inherit: "default" 0.0; \
34016                visible: 1; \
34017                color: 255 255 255 255; \
34018             } \
34019          } \
34020          part { name: "cit_"#_pos".text"; \
34021             type: TEXT; \
34022             effect: SOFT_SHADOW; \
34023             mouse_events: 0; \
34024             scale: 1; \
34025             description { \
34026                state: "default" 0.0; \
34027                rel1.to: "cit_"#_pos".bg"; \
34028                rel2.to: "cit_"#_pos".bg"; \
34029                color: 0 0 0 255; \
34030                color3: 0 0 0 0; \
34031                text { \
34032                   font: "Sans"; \
34033                   size: 10; \
34034                   min: 1 1; \
34035                   align: 0.5 0.5; \
34036                } \
34037             } \
34038             description { state: "selected" 0.0; \
34039                inherit: "default" 0.0; \
34040                color: 224 224 224 255; \
34041                color3: 0 0 0 64; \
34042             } \
34043          } \
34044          part { name: "cit_"#_pos".fg1"; \
34045             mouse_events: 0; \
34046             description { state: "default" 0.0; \
34047                visible: 0; \
34048                color: 255 255 255 0; \
34049                rel1.to: "cit_"#_pos".bg"; \
34050                rel2.relative: 1.0 0.5; \
34051                rel2.to: "cit_"#_pos".bg"; \
34052                image { \
34053                   normal: "bt_sm_hilight.png"; \
34054                   border: 6 6 6 0; \
34055                } \
34056             } \
34057             description { state: "selected" 0.0; \
34058                inherit: "default" 0.0; \
34059                visible: 1; \
34060                color: 255 255 255 255; \
34061             } \
34062          } \
34063          part { name: "cit_"#_pos".fg2"; \
34064             mouse_events: 0; \
34065             description { state: "default" 0.0; \
34066                visible: 0; \
34067                color: 255 255 255 0; \
34068                rel1.to: "cit_"#_pos".bg"; \
34069                rel2.to: "cit_"#_pos".bg"; \
34070                image { \
34071                   normal: "bt_sm_shine.png"; \
34072                   border: 6 6 6 0; \
34073                } \
34074             } \
34075             description { state: "selected" 0.0; \
34076                inherit: "default" 0.0; \
34077                visible: 1; \
34078                color: 255 255 255 255; \
34079             } \
34080          } \
34081          part { name: "cit_"#_pos".check"; \
34082             mouse_events: 0; \
34083             description { state: "default" 0.0; \
34084                rel1 { \
34085                   to: "cit_"#_pos".bg"; \
34086                   relative: 0.7 0.6; \
34087                   offset: 1 1; \
34088                } \
34089                rel2 { \
34090                   to: "cit_"#_pos".bg"; \
34091                   relative: 1.1 1.2; \
34092                   offset: -2 -2; \
34093                } \
34094                aspect: 1 1; \
34095                visible: 0; \
34096                color: 255 0 0 255; \
34097                image.normal: "check.png"; \
34098             } \
34099             description { state: "visible" 0.0; \
34100                inherit: "default" 0.0; \
34101                visible: 1; \
34102             } \
34103          } \
34104       programs { \
34105          program { \
34106             name:    "cit_"#_pos".go_active"; \
34107             signal:  "cit_"#_pos",selected"; \
34108             source:  "elm"; \
34109             action:  STATE_SET "selected" 0.0; \
34110             target:  "cit_"#_pos".bg"; \
34111             target:  "cit_"#_pos".fg1"; \
34112             target:  "cit_"#_pos".fg2"; \
34113             target:  "cit_"#_pos".text"; \
34114          } \
34115          program { \
34116             name:    "cit_"#_pos".go_passive"; \
34117             signal:  "cit_"#_pos",unselected"; \
34118             source:  "elm"; \
34119             action:  STATE_SET "default" 0.0; \
34120             target:  "cit_"#_pos".bg"; \
34121             target:  "cit_"#_pos".fg1"; \
34122             target:  "cit_"#_pos".fg2"; \
34123             target:  "cit_"#_pos".text"; \
34124          } \
34125          program { \
34126             name:    "cit_"#_pos".is_today"; \
34127             signal:  "cit_"#_pos",today"; \
34128             source:  "elm"; \
34129             action:  STATE_SET "today" 0.0; \
34130             target: "cit_"#_pos".base"; \
34131          } \
34132          program { \
34133             name:    "cit_"#_pos".not_today"; \
34134             signal:  "cit_"#_pos",not_today"; \
34135             source:  "elm"; \
34136             action:  STATE_SET "default" 0.0; \
34137             target: "cit_"#_pos".base"; \
34138          } \
34139          program { \
34140             source: "cit_"#_pos".clicked"; \
34141             signal: "mouse,clicked,1"; \
34142             source: "cit_"#_pos".event"; \
34143             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
34144          } \
34145          program { \
34146             name:    "cit_"#_pos".clear"; \
34147             signal:  "cit_"#_pos",clear"; \
34148             source:  "elm"; \
34149             action:  STATE_SET "default" 0.0; \
34150             target: "cit_"#_pos".check"; \
34151             target: "cit_"#_pos".hd"; \
34152          } \
34153          program { \
34154             name:    "cit_"#_pos".checked"; \
34155             signal:  "cit_"#_pos",checked"; \
34156             source:  "elm"; \
34157             action:  STATE_SET "visible" 0.0; \
34158             target: "cit_"#_pos".check"; \
34159          } \
34160          program { \
34161             name:    "cit_"#_pos".holiday"; \
34162             signal:  "cit_"#_pos",holiday"; \
34163             source:  "elm"; \
34164             action:  STATE_SET "visible" 0.0; \
34165             target: "cit_"#_pos".hd"; \
34166          } \
34167       }
34168
34169    group { name: "elm/calendar/base/default";
34170        images {
34171            image: "shelf_inset.png" COMP;
34172            image: "bt_base1.png" COMP;
34173            image: "bt_hilight.png" COMP;
34174            image: "bt_shine.png" COMP;
34175            image: "bt_glow.png" COMP;
34176            image: "bt_dis_base.png" COMP;
34177            image: "bt_dis_hilight.png" COMP;
34178            image: "sp_bt_l.png" COMP;
34179            image: "sp_bt_r.png" COMP;
34180            image: "bt_sm_base1.png" COMP;
34181            image: "bt_sm_shine.png" COMP;
34182            image: "bt_sm_hilight.png" COMP;
34183            image: "ilist_1.png" COMP;
34184            image: "ilist_2.png" COMP;
34185            image: "ilist_item_shadow.png" COMP;
34186            image: "check.png" COMP;
34187        }
34188        parts {
34189            part { name: "bg";
34190                type: RECT;
34191                description { state: "default" 0.0;
34192                    min: 0 30;
34193                    rel1.offset: 1 1;
34194                    rel2.offset: -2 -2;
34195                    color: 255 255 255 0;
34196                    align: 0.0 0.5;
34197                }
34198            }
34199            part { name: "spinner-base";
34200                type: RECT;
34201                mouse_events: 0;
34202                description { state: "default" 0.0;
34203                    min: 24 24;
34204                    max: 999999 24;
34205                    rel1.to: "bg";
34206                    rel1.offset: 6 6;
34207                    rel2.to: "bg";
34208                    rel2.offset: -7 -7;
34209                    color: 255 255 255 0;
34210                    align: 0.0 0.0;
34211                }
34212            }
34213            part { name: "conf_over_spinner";
34214                mouse_events:  0;
34215                description { state: "default" 0.0;
34216                    rel1.to: "spinner-base";
34217                    rel1.offset: -3 -3;
34218                    rel2.to: "spinner-base";
34219                    rel2.offset: 2 2;
34220                    image {
34221                        normal: "shelf_inset.png";
34222                        border: 7 7 7 7;
34223                        middle: 0;
34224                    }
34225                    fill.smooth : 0;
34226                }
34227            }
34228            part { name: "table-base";
34229                type: RECT;
34230                mouse_events: 0;
34231                description { state: "default" 0.0;
34232                    min: 256 220;
34233                    rel1.to_x: "bg";
34234                    rel1.to_y: "spinner-base";
34235                    rel1.offset: 6 6;
34236                    rel1.relative: 0 1;
34237                    rel2.to: "bg";
34238                    rel2.offset: -7 -7;
34239                    color: 255 255 255 0;
34240                }
34241            }
34242            part { name: "conf_over_table";
34243                mouse_events:  0;
34244                description { state: "default" 0.0;
34245                    rel1.to: "table-base";
34246                    rel1.offset: -3 -3;
34247                    rel2.to: "table-base";
34248                    rel2.offset: 2 2;
34249                    image {
34250                        normal: "shelf_inset.png";
34251                        border: 7 7 7 7;
34252                        middle: 0;
34253                    }
34254                    fill.smooth : 0;
34255                }
34256            }
34257            part { name: "header";
34258                type: RECT;
34259                mouse_events: 0;
34260                description { state: "default" 0.0;
34261                    rel1.to: "table-base";
34262                    rel1.relative: 0 0;
34263                    rel2.to: "table-base";
34264                    rel2.relative: 1 0.1;
34265                    color: 255 255 255 0;
34266                }
34267            }
34268            part { name: "base";
34269                type: RECT;
34270                mouse_events: 0;
34271                description { state: "default" 0.0;
34272                    rel1.to_x: "table-base";
34273                    rel1.to_y: "header";
34274                    rel1.relative: 0 1;
34275                    rel1.offset: 3 0;
34276                    rel2.to: "table-base";
34277                    rel2.offset: -3 0;
34278                    color: 255 255 255 0;
34279                }
34280            }
34281            part { name: "left_bt";
34282                mouse_events:  1;
34283                description { state: "default" 0.0;
34284                    rel1 { to: "spinner-base";
34285                        offset: 2 2;
34286                    }
34287                    rel2 { to: "spinner-base";
34288                        offset: -3 -3;
34289                    }
34290                    align: 0.0 0.5;
34291                    min: 24 24;
34292                    max: 24 24;
34293                    fixed: 1 1;
34294                    image {
34295                        normal: "bt_base1.png";
34296                        border: 6 6 6 6;
34297                    }
34298                    fill.smooth : 0;
34299                }
34300                description { state: "clicked" 0.0;
34301                    inherit: "default" 0.0;
34302                    image.normal: "bt_base1.png";
34303                    image.middle: SOLID;
34304                }
34305            }
34306            part { name: "left_over1";
34307                mouse_events: 0;
34308                description { state: "default" 0.0;
34309                    rel1.to: "left_bt";
34310                    rel2 { to: "left_bt";
34311                        relative: 1.0 0.5;
34312                    }
34313                    image {
34314                        normal: "bt_hilight.png";
34315                        border: 7 7 7 0;
34316                    }
34317                }
34318            }
34319            part { name: "left_over2";
34320                mouse_events: 1;
34321                repeat_events: 1;
34322                description { state: "default" 0.0;
34323                    rel1.to: "left_bt";
34324                    rel2.to: "left_bt";
34325                    image {
34326                        normal: "bt_shine.png";
34327                        border: 7 7 7 7;
34328                    }
34329                }
34330            }
34331            part { name: "left_over3";
34332                mouse_events: 1;
34333                repeat_events: 1;
34334                description { state: "default" 0.0;
34335                    color: 255 255 255 0;
34336                    rel1.to: "left_bt";
34337                    rel2.to: "left_bt";
34338                    image {
34339                        normal: "bt_glow.png";
34340                        border: 12 12 12 12;
34341                    }
34342                    fill.smooth : 0;
34343                }
34344                description { state: "clicked" 0.0;
34345                    inherit:  "default" 0.0;
34346                    visible: 1;
34347                    color: 255 255 255 255;
34348                }
34349            }
34350            part { name: "right_bt";
34351                mouse_events:  1;
34352                description { state: "default" 0.0;
34353                    rel1 { to: "spinner-base";
34354                        offset: -27 3;
34355                    }
34356                    rel2 { to: "spinner-base";
34357                        offset: -3 -3;
34358                    }
34359                    align: 1.0 0.5;
34360                    min: 24 24;
34361                    max: 24 24;
34362                    fixed: 1 1;
34363                    image {
34364                        normal: "bt_base1.png";
34365                        border: 5 5 4 12;
34366                    }
34367                    fill.smooth : 0;
34368                }
34369                description { state: "clicked" 0.0;
34370                    inherit: "default" 0.0;
34371                    image.normal: "bt_base1.png";
34372                    image.middle: SOLID;
34373                }
34374            }
34375            part { name: "right_over1";
34376                mouse_events: 0;
34377                description { state: "default" 0.0;
34378                    rel1.to: "right_bt";
34379                    rel2 { to: "right_bt";
34380                        relative: 1.0 0.5;
34381                    }
34382                    image {
34383                        normal: "bt_hilight.png";
34384                        border: 7 7 7 0;
34385                    }
34386                }
34387            }
34388            part { name: "right_over2";
34389                mouse_events: 1;
34390                repeat_events: 1;
34391                description { state: "default" 0.0;
34392                    rel1.to: "right_bt";
34393                    rel2.to: "right_bt";
34394                    image {
34395                        normal: "bt_shine.png";
34396                        border: 7 7 7 7;
34397                    }
34398                }
34399            }
34400            part { name: "right_over3";
34401                mouse_events: 1;
34402                repeat_events: 1;
34403                description { state: "default" 0.0;
34404                    color: 255 255 255 0;
34405                    rel1.to: "right_bt";
34406                    rel2.to: "right_bt";
34407                    image {
34408                        normal: "bt_glow.png";
34409                        border: 12 12 12 12;
34410                    }
34411                    fill.smooth : 0;
34412                }
34413                description { state: "clicked" 0.0;
34414                    inherit:  "default" 0.0;
34415                    visible: 1;
34416                    color: 255 255 255 255;
34417                }
34418            }
34419            part { name: "left_bt_icon";
34420                repeat_events: 1;
34421                description { state: "default" 0.0;
34422                    rel1.to: "left_bt";
34423                    rel2.to: "left_bt";
34424                    align: 0.5 0.5;
34425                    min: 16 16;
34426                    max: 16 16;
34427                    image.normal: "sp_bt_l.png";
34428                }
34429                description { state: "rtl" 0.0;
34430                    inherit: "default" 0.0;
34431                    image.normal: "sp_bt_r.png";
34432                }
34433            }
34434            part { name: "right_bt_icon";
34435                repeat_events: 1;
34436                description { state: "default" 0.0;
34437                    rel1.to: "right_bt";
34438                    rel2.to: "right_bt";
34439                    align: 0.5 0.5;
34440                    min: 16 16;
34441                    max: 16 16;
34442                    image.normal: "sp_bt_r.png";
34443                }
34444                description { state: "rtl" 0.0;
34445                    inherit: "default" 0.0;
34446                    image.normal: "sp_bt_l.png";
34447                }
34448            }
34449            part { name: "month_text";
34450                type: TEXT;
34451                mouse_events: 0;
34452                scale: 1;
34453                description { state: "default" 0.0;
34454                    align: 0 0.5;
34455                    fixed: 1 1;
34456                    rel1 { relative: 1.0 0.0;
34457                        offset: 3 2;
34458                        to: "left_bt";
34459                        to_y: "spinner-base";
34460                    }
34461                    rel2 { relative: 0.0 1.0;
34462                        offset: -3 -2;
34463                        to_x: "right_bt";
34464                        to_y: "spinner-base";
34465                    }
34466                    color: 0 0 0 255;
34467                    text {
34468                        font: "Sans,Edje-Vera";
34469                        size: 12;
34470                        min: 1 1;
34471                        align: 0.5 0.5;
34472                    }
34473                }
34474            }
34475            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
34476            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
34477            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
34478            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
34479            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
34480            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
34481            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
34482        }
34483        programs {
34484            program { name: "dec_start";
34485                signal: "mouse,down,1";
34486                source: "left_bt";
34487                action: SIGNAL_EMIT "elm,action,decrement,start" "";
34488            }
34489            program { name: "dec_stop";
34490                signal: "mouse,up,1";
34491                source: "left_bt";
34492                action: SIGNAL_EMIT "elm,action,stop" "";
34493            }
34494            program { name: "inc_start";
34495                signal: "mouse,down,1";
34496                source: "right_bt";
34497                action: SIGNAL_EMIT "elm,action,increment,start" "";
34498            }
34499            program { name: "inc_stop";
34500                signal: "mouse,up,1";
34501                source: "right_bt";
34502                action: SIGNAL_EMIT "elm,action,stop" "";
34503            }
34504            program {
34505                name:   "left_bt_click";
34506                signal: "mouse,down,1";
34507                source: "left_over2";
34508                action: STATE_SET "clicked" 0.0;
34509                target: "left_bt";
34510            }
34511            program {
34512                name:   "left_bt_unclick";
34513                signal: "mouse,up,1";
34514                source: "left_over2";
34515                action: STATE_SET "default" 0.0;
34516                target: "left_bt";
34517            }
34518            program {
34519                name:   "left_bt_click2";
34520                signal: "mouse,down,1";
34521                source: "left_over3";
34522                action: STATE_SET "clicked" 0.0;
34523                target: "left_over3";
34524            }
34525            program {
34526                name:   "left_bt_unclick2";
34527                signal: "mouse,up,1";
34528                source: "left_over3";
34529                action: STATE_SET "default" 0.0;
34530                transition: DECELERATE 0.5;
34531                target: "left_over3";
34532            }
34533            program {
34534                name:   "right_bt_click";
34535                signal: "mouse,down,1";
34536                source: "right_over2";
34537                action: STATE_SET "clicked" 0.0;
34538                target: "right_bt";
34539            }
34540            program {
34541                name:   "right_bt_unclick";
34542                signal: "mouse,up,1";
34543                source: "right_over2";
34544                action: STATE_SET "default" 0.0;
34545                target: "right_bt";
34546            }
34547            program {
34548                name:   "right_bt_click2";
34549                signal: "mouse,down,1";
34550                source: "right_over3";
34551                action: STATE_SET "clicked" 0.0;
34552                target: "right_over3";
34553            }
34554            program {
34555                name:   "right_bt_unclick2";
34556                signal: "mouse,up,1";
34557                source: "right_over3";
34558                action: STATE_SET "default" 0.0;
34559                transition: DECELERATE 0.5;
34560                target: "right_over3";
34561            }
34562            program { name: "to_rtl";
34563                signal: "edje,state,rtl";
34564                source: "edje";
34565                action: STATE_SET "rtl" 0.0;
34566                target: "right_bt_icon";
34567                target: "left_bt_icon";
34568            }
34569            program { name: "to_ltr";
34570                signal: "edje,state,ltr";
34571                source: "edje";
34572                action: STATE_SET "default" 0.0;
34573                target: "right_bt_icon";
34574                target: "left_bt_icon";
34575            }
34576        }
34577    }
34578
34579 #undef CIT
34580 #undef CH
34581
34582 ////////////////////////////////////////////////////////////////////////////////
34583 // colorselector
34584 ////////////////////////////////////////////////////////////////////////////////
34585    group { name: "elm/colorselector/bg/default";
34586       parts {
34587          part { name: "elm.colorbar_0";
34588             type: SWALLOW;
34589             mouse_events: 1;
34590             description { state: "default" 0.0;
34591                min: 120 30;
34592                rel1.relative: 0.0 0.00653594771;
34593                rel2.relative: 1.0 0.254901961;
34594             }
34595          }
34596          part { name: "elm.colorbar_1";
34597             type: SWALLOW;
34598             mouse_events: 1;
34599             description { state: "default" 0.0;
34600                min: 120 30;
34601                rel1.relative: 0.0 0.254901961;
34602                rel2.relative: 1.0 0.503267974;
34603             }
34604          }
34605          part { name: "elm.colorbar_2";
34606             type: SWALLOW;
34607             mouse_events: 1;
34608             description { state: "default" 0.0;
34609                min: 120 30;
34610                rel1.relative: 0.0 0.503267974;
34611                rel2.relative: 1.0 0.751633987;
34612             }
34613          }
34614          part { name: "elm.colorbar_3";
34615             type: SWALLOW;
34616             mouse_events: 1;
34617             description { state: "default" 0.0;
34618                min: 120 30;
34619                rel1.relative: 0.0 0.751633987;
34620                rel2.relative: 1.0 1.0;
34621             }
34622          }
34623       }
34624    }
34625
34626    group { name: "elm/colorselector/base/default";
34627       parts {
34628          part { name: "elm.bar_bg";
34629             type: SWALLOW;
34630             mouse_events: 0;
34631             description { state: "default" 0.0;
34632                min: 60 22;
34633                rel1 {
34634                   relative: 0.0 0.8;
34635                   to_x: "elm.arrow_bg";
34636                   to_y: "elm.arrow_icon";
34637                   offset: 0 0;
34638                }
34639                rel2 {
34640                   relative: 1.0 0.83;
34641                   to_x: "elm.arrow_bg";
34642                   offset: 0 0;
34643                }
34644             }
34645          }
34646          part { name: "elm.bar";
34647             type: SWALLOW;
34648             mouse_events: 0;
34649             description { state: "default" 0.0;
34650                rel1.to: "elm.bar_bg";
34651                rel2.to: "elm.bar_bg";
34652             }
34653          }
34654          part { name: "elm.arrow_bg";
34655             type: SWALLOW;
34656             mouse_events: 1;
34657             description { state: "default" 0.0;
34658                rel1 {
34659                   relative: 1.0 0.17;
34660                   offset: 3 0;
34661                   to_x: "elm.l_button";
34662                }
34663                rel2 {
34664                   relative: 0.0 0.83;
34665                      offset: -4 0;
34666                   to_x: "elm.r_button";
34667                }
34668             }
34669          }
34670          part { name: "elm.arrow";
34671             type: RECT;
34672             mouse_events: 1;
34673             scale: 1;
34674             description { state: "default" 0.0;
34675                min: 1 1;
34676                fixed: 1 1;
34677                align: 0 0;
34678                rel1 {
34679                   to_x: "elm.arrow_bg";
34680                }
34681                rel2 {
34682                   relative: 0.0 0.17;
34683                   to_x: "elm.arrow_bg";
34684                }
34685                color: 0 0 0 0;
34686                visible: 0;
34687             }
34688             dragable {
34689                confine: "elm.arrow_bg";
34690                x: 1 1 0;
34691                y: 0 0 0;
34692             }
34693          }
34694          part { name: "elm.arrow_icon";
34695             type: SWALLOW;
34696             mouse_events: 0;
34697             description { state: "default" 0.0;
34698                min: 25 15;
34699                max: 25 15;
34700                fixed: 1 1;
34701                align: 0.5 0;
34702                rel1 {
34703                   to_x: "elm.arrow";
34704                }
34705                rel2 {
34706                   relative: 1.0 0.0;
34707                   offset: 0 10;
34708                   to_x: "elm.arrow";
34709                }
34710             }
34711          }
34712          part { name: "event";
34713             type: RECT;
34714             mouse_events: 1;
34715             description { state: "default" 0.0;
34716                rel1 {
34717                   to: "elm.arrow_icon";
34718                }
34719                rel2 {
34720                   to_x: "elm.arrow_icon";
34721                   to_y: "elm.arrow_bg";
34722                   offset: 0 0;
34723                }
34724                color: 0 0 0 0;
34725             }
34726             dragable {
34727                events: "elm.arrow";
34728             }
34729          }
34730          part { name: "elm.l_button";
34731             type: SWALLOW;
34732             mouse_events: 1;
34733             scale: 1;
34734             description { state: "default" 0.0;
34735                min: 24 24;
34736                fixed: 1 1;
34737                rel1 {
34738                   relative: 0.0 0.0;
34739                   to_y: "elm.bar_bg";
34740                }
34741                rel2 {
34742                   relative: 0.0 1.0;
34743                   to_y: "elm.bar_bg";
34744                }
34745                align: 0.0 0.5;
34746             }
34747          }
34748          part { name: "elm.r_button";
34749             type: SWALLOW;
34750             mouse_events: 1;
34751             scale: 1;
34752             description {
34753                state: "default" 0.0;
34754                min: 24 24;
34755                fixed: 1 1;
34756                rel1 {
34757                   relative: 1.0 0.0;
34758                   to_y: "elm.bar_bg";
34759                }
34760                rel2 {
34761                   relative: 1.0 1.0;
34762                   to_y: "elm.bar_bg";
34763                }
34764                align: 1.0 0.5;
34765             }
34766          }
34767       }
34768    }
34769
34770    group{ name: "elm/colorselector/image/colorbar_0";
34771       images {
34772          image: "color_picker_color.png" COMP;
34773       }
34774       parts {
34775          part { name: "colorbar_0_image";
34776             type: IMAGE;
34777             mouse_events: 1;
34778             description { state: "default" 0.0;
34779                rel2.offset: -1 -1;
34780                image.normal: "color_picker_color.png";
34781             }
34782          }
34783       }
34784    }
34785
34786    group { name: "elm/colorselector/image/colorbar_1";
34787       images {
34788          image: "color_picker_opacity.png" COMP;
34789       }
34790       parts {
34791          part { name: "colorbar_1_image";
34792             type: IMAGE;
34793             mouse_events: 1;
34794             description { state: "default" 0.0;
34795                rel2.offset: -1 -1;
34796                image.normal: "color_picker_opacity.png";
34797             }
34798          }
34799       }
34800    }
34801
34802    group { name: "elm/colorselector/image/colorbar_2";
34803       images {
34804          image: "color_picker_brightness.png" COMP;
34805       }
34806       parts {
34807          part { name: "colorbar_2_image";
34808             type: IMAGE;
34809             mouse_events: 1;
34810             description { state: "default" 0.0;
34811                rel2.offset: -1 -1;
34812                image.normal: "color_picker_brightness.png";
34813             }
34814          }
34815       }
34816    }
34817
34818    group { name: "elm/colorselector/image/colorbar_3";
34819       images {
34820          image: "color_picker_alpha.png" COMP;
34821       }
34822       parts {
34823          part { name: "colorbar_3_image";
34824             type: IMAGE;
34825             mouse_events: 1;
34826             description { state: "default" 0.0;
34827                rel2.offset: -1 -1;
34828                image.normal: "color_picker_alpha.png";
34829             }
34830          }
34831       }
34832    }
34833
34834    group { name: "elm/colorselector/bg_image/colorbar_3";
34835       images {
34836          image: "color_picker_alpha_bg.png" COMP;
34837       }
34838       parts {
34839          part { name: "colorbar_3_image";
34840             type: IMAGE;
34841             mouse_events: 1;
34842             description { state: "default" 0.0;
34843                rel2.offset: -1 -1;
34844                image.normal: "color_picker_alpha_bg.png";
34845             }
34846          }
34847       }
34848    }
34849
34850    group { name: "elm/colorselector/image/updown";
34851       images {
34852          image: "icon_arrow_down.png" COMP;
34853       }
34854       parts {
34855          part { name: "bg";
34856             type: RECT;
34857             mouse_events: 1;
34858             description { state: "default" 0.0;
34859                color: 0 0 0 0;
34860             }
34861          }
34862          part { name: "arrow_image";
34863             type: IMAGE;
34864             mouse_events: 1;
34865             description { state: "default" 0.0;
34866                image.normal: "icon_arrow_down.png";
34867             }
34868          }
34869       }
34870    }
34871
34872    group { name: "elm/colorselector/button/left";
34873       images {
34874          image: "bt_base1.png" COMP;
34875          image: "bt_shine.png" COMP;
34876          image: "sp_bt_l.png" COMP;
34877       }
34878       parts {
34879          part { name: "button_image";
34880             mouse_events: 1;
34881             description { state: "default" 0.0;
34882                image.normal: "bt_base1.png";
34883                image.border: 6 6 6 6;
34884                image.middle: SOLID;
34885             }
34886
34887             description { state: "clicked" 0.0;
34888                inherit: "default" 0.0;
34889                image.normal: "bt_shine.png";
34890                image.border: 6 6 6 6;
34891                image.middle: SOLID;
34892             }
34893          }
34894          part { name: "btn_over";
34895             type: IMAGE;
34896             mouse_events: 0;
34897             description { state: "default" 0.0;
34898                rel1.to: "button_image";
34899                rel2 {
34900                   relative: 1.0 0.5;
34901                   to: "button_image";
34902                }
34903                image {
34904                   normal: "bt_hilight.png";
34905                   border: 7 7 7 0;
34906                }
34907             }
34908          }
34909          part { name: "btn_over2";
34910             type: IMAGE;
34911             mouse_events: 1;
34912             repeat_events: 1;
34913             ignore_flags: ON_HOLD;
34914             description { state: "default" 0.0;
34915                rel1.to: "button_image";
34916                rel2.to: "button_image";
34917                image {
34918                   normal: "bt_shine.png";
34919                   border: 7 7 7 7;
34920                }
34921             }
34922          }
34923          part { name: "focus_image";
34924             type: IMAGE;
34925             description { state: "default" 0.0;
34926                color: 255 255 255 0;
34927                rel1.to: "button_image";
34928                rel2.to: "button_image";
34929                image {
34930                   normal: "bt_glow.png";
34931                   border: 12 12 12 12;
34932                }
34933                fill.smooth: 0;
34934
34935             }
34936             description { state: "clicked" 0.0;
34937                inherit: "default" 0.0;
34938                visible: 1;
34939                color: 255 255 255 255;
34940             }
34941          }
34942          part { name: "left_arrow";
34943             mouse_events: 1;
34944             description { state: "default" 0.0;
34945                min: 16 16;
34946                max: 16 16;
34947                image.normal: "sp_bt_l.png";
34948             }
34949          }
34950       }
34951
34952       programs {
34953          program {
34954             name:   "button_down";
34955             signal: "elm,state,left,button,down";
34956             source: "left_button";
34957             action: STATE_SET "clicked" 0.0;
34958             target: "button_image";
34959             target: "focus_image";
34960          }
34961          program {
34962             name:   "button_up";
34963             signal: "elm,state,left,button,up";
34964             source: "left_button";
34965             action: STATE_SET "default" 0.0;
34966             target: "button_image";
34967             target: "focus_image";
34968          }
34969       }
34970    }
34971
34972    group { name: "elm/colorselector/button/right";
34973       images {
34974          image: "bt_base1.png" COMP;
34975          image: "bt_shine.png" COMP;
34976          image: "sp_bt_r.png" COMP;
34977       }
34978       parts {
34979          part { name: "button_image";
34980             mouse_events: 1;
34981             description { state: "default" 0.0;
34982                image.normal: "bt_base1.png";
34983                image.border: 6 6 6 6;
34984                image.middle: SOLID;
34985             }
34986
34987             description { state: "clicked" 0.0;
34988                inherit: "default" 0.0;
34989                image.normal: "bt_shine.png";
34990                image.border: 6 6 6 6;
34991                image.middle: SOLID;
34992             }
34993          }
34994          part { name: "btn_over";
34995             type: IMAGE;
34996             mouse_events: 0;
34997             description { state: "default" 0.0;
34998                rel1.to: "button_image";
34999                rel2 {
35000                   relative: 1.0 0.5;
35001                   to: "button_image";
35002                }
35003                image {
35004                   normal: "bt_hilight.png";
35005                   border: 7 7 7 0;
35006                }
35007             }
35008          }
35009          part { name: "btn_over2";
35010             type: IMAGE;
35011             mouse_events: 1;
35012             repeat_events: 1;
35013             ignore_flags: ON_HOLD;
35014             description { state: "default" 0.0;
35015                rel1.to: "button_image";
35016                rel2.to: "button_image";
35017                image {
35018                   normal: "bt_shine.png";
35019                   border: 7 7 7 7;
35020                }
35021             }
35022          }
35023          part { name: "focus_image";
35024             type: IMAGE;
35025             description { state: "default" 0.0;
35026                color: 255 255 255 0;
35027                rel1.to: "button_image";
35028                rel2.to: "button_image";
35029                image {
35030                   normal: "bt_glow.png";
35031                   border: 12 12 12 12;
35032                }
35033                fill.smooth: 0;
35034
35035             }
35036             description { state: "clicked" 0.0;
35037                inherit: "default" 0.0;
35038                visible: 1;
35039                color: 255 255 255 255;
35040             }
35041          }
35042          part { name: "right_arrow";
35043             mouse_events: 1;
35044             description { state: "default" 0.0;
35045                min: 16 16;
35046                max: 16 16;
35047                image.normal: "sp_bt_r.png";
35048             }
35049          }
35050       }
35051
35052       programs {
35053          program {
35054             name:   "button_down";
35055             signal: "elm,state,right,button,down";
35056             source: "right_button";
35057             action: STATE_SET "clicked" 0.0;
35058             target: "button_image";
35059             target: "focus_image";
35060          }
35061          program {
35062             name:   "button_up";
35063             signal: "elm,state,right,button,up";
35064             source: "right_button";
35065             action: STATE_SET "default" 0.0;
35066             target: "button_image";
35067             target: "focus_image";
35068          }
35069       }
35070    }
35071
35072 ///////////////////////////////////////////////////////////////////////////////
35073 #define FLIP_PICKER_MAX_LEN (50)
35074 #define FLIP_PICKER_MAX_LEN_STR "50"
35075
35076    group { name: "elm/flipselector/base/default";
35077       images {
35078          image: "flip_base.png" COMP;
35079          image: "flip_base_shad.png" COMP;
35080          image: "flip_shad.png" COMP;
35081          image: "arrow_up.png" COMP;
35082          image: "arrow_down.png" COMP;
35083          image: "flip_t.png" COMP;
35084          image: "flip_b.png" COMP;
35085       }
35086
35087       data {
35088          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
35089       }
35090
35091       //FIXME: quick successive clicks on, say, up, lead to nastiness
35092       script {
35093          public cur, prev, next, lock;
35094
35095          public animator_bottom_down(val, Float:pos) {
35096             new tmp[FLIP_PICKER_MAX_LEN];
35097
35098             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
35099             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
35100                             0.0);
35101             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
35102                             0.0);
35103
35104             if (pos >= 1.0) {
35105                set_state(PART:"shadow", "default", 0.0);
35106                set_int(lock, 0);
35107
35108                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35109                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35110                   replace_str(next, 0, "");
35111                   message(MSG_STRING, 1, tmp);
35112                }
35113             }
35114          }
35115
35116          public animator_top_down(val, Float:pos) {
35117             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
35118             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
35119                             0.0);
35120             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
35121                             0.0);
35122
35123             if (pos >= 1.0)
35124                anim(0.2, "animator_bottom_down", val);
35125          }
35126
35127          public animator_bottom_up(val, Float:pos) {
35128             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
35129             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
35130                             0.0);
35131             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
35132                             0.0);
35133
35134             if (pos >= 1.0)
35135                anim(0.2, "animator_top_up", val);
35136          }
35137
35138          public animator_top_up(val, Float:pos) {
35139             new tmp[FLIP_PICKER_MAX_LEN];
35140
35141             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
35142             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
35143                             0.0);
35144             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
35145                             0.0);
35146
35147             if (pos >= 1.0) {
35148                set_state(PART:"shadow", "default", 0.0);
35149                set_int(lock, 0);
35150
35151                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
35152                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
35153                   replace_str(next, 0, "");
35154                   message(MSG_STRING, 2, tmp);
35155                }
35156             }
35157          }
35158
35159          public message(Msg_Type:type, id, ...) {
35160             /* flip down */
35161             if ((type == MSG_STRING) && (id == 1)) {
35162                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35163
35164                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35165
35166                if (get_int(lock) == 1) {
35167                   replace_str(next, 0, value);
35168                   return;
35169                }
35170
35171                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35172
35173                set_text(PART:"bottom_b", tmp);
35174
35175                set_state(PART:"top", "shrink", 0.0);
35176                set_text(PART:"top", tmp);
35177                set_state(PART:"top", "default", 0.0);
35178                set_text(PART:"top", tmp);
35179
35180                replace_str(prev, 0, tmp);
35181
35182                set_state(PART:"bottom", "default", 0.0);
35183                set_text(PART:"bottom", value);
35184                set_state(PART:"bottom", "shrink", 0.0);
35185                set_text(PART:"bottom", value);
35186
35187                set_text(PART:"top_b", value);
35188
35189                replace_str(cur, 0, value);
35190
35191                set_state(PART:"bottom_sheet", "shrink", 0.0);
35192                set_state(PART:"top_sheet", "default", 0.0);
35193
35194                set_int(lock, 1);
35195                set_state(PART:"shadow", "default", 0.0);
35196                anim(0.2, "animator_top_down", 1);
35197             }
35198
35199             /* flip up */
35200             if ((type == MSG_STRING) && (id == 2)) {
35201                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
35202
35203                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
35204
35205                if (get_int(lock) == 1) {
35206                   replace_str(next, 0, value);
35207                   return;
35208                }
35209
35210                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
35211
35212                set_text(PART:"top_b", tmp);
35213
35214                set_state(PART:"bottom", "shrink", 0.0);
35215                set_text(PART:"bottom", tmp);
35216                set_state(PART:"bottom", "default", 0.0);
35217                set_text(PART:"bottom", tmp);
35218
35219                replace_str(prev, 0, tmp);
35220
35221                set_state(PART:"top", "default", 0.0);
35222                set_text(PART:"top", value);
35223                set_state(PART:"top", "shrink", 0.0);
35224                set_text(PART:"top", value);
35225
35226                set_text(PART:"bottom_b", value);
35227
35228                replace_str(cur, 0, value);
35229
35230                set_state(PART:"bottom_sheet", "default", 0.0);
35231                set_state(PART:"top_sheet", "shrink", 0.0);
35232
35233                set_int(lock, 1);
35234                set_state(PART:"shadow", "full", 0.0);
35235                anim(0.2, "animator_bottom_up", 1);
35236             }
35237          }
35238       }
35239
35240       parts {
35241          part { name: "shad";
35242             mouse_events: 0;
35243             description { state: "default" 0.0;
35244                rel1.offset: -4 -4;
35245                rel1.to: "base";
35246                rel2.offset: 3 3;
35247                rel2.to: "base";
35248                image {
35249                   normal: "flip_base_shad.png";
35250                   border: 8 8 8 8;
35251                }
35252             }
35253          }
35254
35255          part { name: "base";
35256             scale: 1;
35257             description { state: "default" 0.0;
35258                rel1.offset: 4 4;
35259                rel2.offset: -5 -5;
35260                min: 24 48;
35261                image.normal: "flip_base.png";
35262             }
35263          }
35264
35265          part { name: "b";
35266             type: RECT;
35267             mouse_events: 1;
35268             description { state: "default" 0.0;
35269                rel1.to: "base";
35270                rel1.relative: 0.0 0.5;
35271                rel2.to: "base";
35272                color: 0 0 0 0;
35273             }
35274             description { state: "hidden" 0.0;
35275                inherit: "default" 0.0;
35276                visible: 0;
35277             }
35278          }
35279
35280          part { name: "t";
35281             type: RECT;
35282             mouse_events: 1;
35283             description { state: "default" 0.0;
35284                rel1.to: "base";
35285                rel2.to: "base";
35286                rel2.relative: 1.0 0.5;
35287                color: 0 0 0 0;
35288             }
35289             description { state: "hidden" 0.0;
35290                inherit: "default" 0.0;
35291                visible: 0;
35292             }
35293          }
35294
35295          part { name: "bottom_sheet_static";
35296             mouse_events: 0;
35297             description { state: "default" 0.0;
35298                visible: 1;
35299                rel1.to: "b";
35300                rel2.to: "b";
35301                image.normal: "flip_b.png";
35302             }
35303          }
35304
35305          part { name: "bottom_b";
35306             mouse_events: 0;
35307             clip_to: "bottom_clipper";
35308             type: TEXT;
35309             scale: 1;
35310             description { state: "default" 0.0;
35311                rel1.to: "base";
35312                rel2.to: "base";
35313                color: 0 0 0 255;
35314                color2: 0 0 0 255;
35315                text {
35316                   font: "Sans:style=Bold,Edje-Vera-Bold";
35317                   size: 30;
35318                   min: 1 1;
35319                   align: 0.5 0.5;
35320                }
35321             }
35322          }
35323
35324          part { name: "shadow";
35325             mouse_events: 0;
35326             description { state: "default" 0.0;
35327                rel1.to: "b";
35328                rel2.to: "b";
35329                rel2.relative: 1.0 0.0;
35330                image.normal: "flip_shad.png";
35331             }
35332             description { state: "half" 0.0;
35333                inherit: "default" 0.0;
35334                rel2.relative: 1.0 0.5;
35335             }
35336             description { state: "full" 0.0;
35337                inherit: "default" 0.0;
35338                rel2.relative: 1.0 1.0;
35339             }
35340          }
35341
35342          part { name: "bottom_sheet";
35343             mouse_events: 0;
35344             description { state: "default" 0.0;
35345                visible: 1;
35346                rel1.to: "b";
35347                rel2.to: "b";
35348                image.normal: "flip_b.png";
35349             }
35350             description { state: "shrink" 0.0;
35351                inherit: "default" 0.0;
35352                visible: 0;
35353                rel2.relative: 1.0 0.0;
35354             }
35355          }
35356
35357          part { name: "bottom";
35358             mouse_events: 0;
35359             clip_to: "bottom_clipper";
35360             type: TEXT;
35361             scale: 1;
35362             description { state: "default" 0.0;
35363                rel1.to: "base";
35364                rel2.to: "base";
35365                color: 0 0 0 255;
35366                color2: 0 0 0 255;
35367                text {
35368                   font: "Sans:style=Bold,Edje-Vera-Bold";
35369                   size: 30;
35370                   min: 1 1;
35371                   align: 0.5 0.5;
35372                }
35373             }
35374             description { state: "shrink" 0.0;
35375                inherit: "default" 0.0;
35376                color: 128 128 128 255;
35377                visible: 0;
35378                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
35379             }
35380          }
35381
35382          part { name: "top_sheet_static";
35383             mouse_events: 0;
35384             description { state: "default" 0.0;
35385                visible: 1;
35386                rel1.to: "t";
35387                rel2.to: "t";
35388                image.normal: "flip_t.png";
35389             }
35390          }
35391
35392          part { name: "top_b";
35393             mouse_events: 0;
35394             clip_to: "top_clipper";
35395             type: TEXT;
35396             scale: 1;
35397             description { state: "default" 0.0;
35398                rel1.to: "base";
35399                rel2.to: "base";
35400                color: 0 0 0 255;
35401                color2: 0 0 0 255;
35402                text {
35403                   font: "Sans:style=Bold,Edje-Vera-Bold";
35404                   size: 30;
35405                   min: 1 1;
35406                   align: 0.5 0.5;
35407                   source: "top";
35408                }
35409             }
35410          }
35411
35412          part { name: "top_sheet";
35413             mouse_events: 0;
35414             description { state: "default" 0.0;
35415                visible: 1;
35416                rel1.to: "t";
35417                rel2.to: "t";
35418                image.normal: "flip_t.png";
35419             }
35420             description { state: "shrink" 0.0;
35421                inherit: "default" 0.0;
35422                color: 128 128 128 255;
35423                visible: 0;
35424                rel1.relative: 0.0 1.0;
35425             }
35426          }
35427
35428          part { name: "top";
35429             mouse_events: 0;
35430             clip_to: "top_clipper";
35431             type: TEXT;
35432             scale: 1;
35433             description { state: "default" 0.0;
35434                rel1.to: "base";
35435                rel2.to: "base";
35436                color: 0 0 0 255;
35437                color2: 0 0 0 255;
35438                text {
35439                   font: "Sans:style=Bold,Edje-Vera-Bold";
35440                   size: 30;
35441                   min: 1 1;
35442                   align: 0.5 0.5;
35443                }
35444             }
35445             description { state: "shrink" 0.0;
35446                inherit: "default" 0.0;
35447                visible: 0;
35448                rel1.relative: 0.0 0.5;
35449             }
35450          }
35451
35452          part { name: "arrow_top";
35453             mouse_events: 0;
35454             scale: 1;
35455             description { state: "default" 0.0;
35456                min: 15 15;
35457                max: 15 15;
35458                align: 0.5 0.0;
35459                rel1.to: "t";
35460                rel2.to: "t";
35461                image.normal: "arrow_up.png";
35462             }
35463             description { state: "hidden" 0.0;
35464                inherit: "default" 0.0;
35465                visible: 0;
35466             }
35467          }
35468          part { name: "arrow_bottom";
35469             mouse_events: 0;
35470             scale: 1;
35471             description { state: "default" 0.0;
35472                min: 15 15;
35473                max: 15 15;
35474                align: 0.5 1.0;
35475                rel1.to: "b";
35476                rel2.to: "b";
35477                image.normal: "arrow_down.png";
35478             }
35479             description { state: "hidden" 0.0;
35480                inherit: "default" 0.0;
35481                visible: 0;
35482             }
35483          }
35484
35485          part {
35486             type: RECT;
35487             mouse_events: 0;
35488             name: "top_clipper";
35489             description {
35490                state: "default" 0.0;
35491                rel1.to: "t";
35492                rel2.to: "t";
35493                visible: 1;
35494             }
35495          }
35496
35497          part {
35498             type: RECT;
35499             mouse_events: 0;
35500             name: "bottom_clipper";
35501             description {
35502                state: "default" 0.0;
35503                rel1.to: "b";
35504                rel2.to: "b";
35505                visible: 1;
35506             }
35507          }
35508       }
35509
35510       programs {
35511          program { name: "load";
35512             signal: "load";
35513             source: "";
35514             script {
35515                append_str(cur, "");
35516                append_str(prev, "");
35517                append_str(next, "");
35518                set_int(lock, 0);
35519             }
35520          }
35521
35522          program { name: "hide_arrows";
35523             signal: "elm,state,button,hidden";
35524             source: "elm";
35525             action: STATE_SET "hidden" 0.0;
35526             target: "arrow_top";
35527             target: "arrow_bottom";
35528             target: "t";
35529             target: "b";
35530          }
35531
35532          program { name: "show_arrows";
35533             signal: "elm,state,button,visible";
35534             source: "elm";
35535             action: STATE_SET "default" 0.0;
35536             target: "arrow_top";
35537             target: "arrow_bottom";
35538             target: "t";
35539             target: "b";
35540          }
35541
35542          program { name: "up";
35543             signal: "mouse,down,1";
35544             source: "t";
35545             action: SIGNAL_EMIT "elm,action,up,start" "";
35546          }
35547          program { name: "up,stop";
35548             signal: "mouse,up,1";
35549             source: "t";
35550             action: SIGNAL_EMIT "elm,action,up,stop" "";
35551          }
35552          program { name: "down";
35553             signal: "mouse,down,1";
35554             source: "b";
35555             action: SIGNAL_EMIT "elm,action,down,start" "";
35556          }
35557          program { name: "down,stop";
35558             signal: "mouse,up,1";
35559             source: "b";
35560             action: SIGNAL_EMIT "elm,action,down,stop" "";
35561          }
35562       }
35563    }
35564
35565 ////////////////////////////////////////////////////////////////////////////////
35566 // diskselector
35567 ////////////////////////////////////////////////////////////////////////////////
35568    group { name: "elm/diskselector/base/default";
35569       images {
35570          image: "bar_shine.png" COMP;
35571       }
35572
35573       parts {
35574          part { name: "bg";
35575             type: RECT;
35576             mouse_events: 0;
35577             description { state: "default" 0.0;
35578                color: 0 0 0 255;
35579             }
35580          }
35581          part { name: "shine_left";
35582             mouse_events:  0;
35583             description { state: "default" 0.0;
35584                rel1.to: "bg";
35585                rel1.relative: -0.1 0;
35586                rel2.to: "bg";
35587                rel2.relative: 0.1 1;
35588                image.normal: "bar_shine.png";
35589                color: 255 255 255 120;
35590             }
35591          }
35592          part { name: "shine_center";
35593             mouse_events:  0;
35594             description { state: "default" 0.0;
35595                rel1.to: "bg";
35596                rel1.relative: 0.2 0;
35597                rel2.to: "bg";
35598                rel2.relative: 0.8 1;
35599                image.normal: "bar_shine.png";
35600                color: 255 255 255 180;
35601             }
35602          }
35603          part { name: "shine_right";
35604             mouse_events:  0;
35605             description { state: "default" 0.0;
35606                rel1.to: "bg";
35607                rel1.relative: 0.9 0;
35608                rel2.to: "bg";
35609                rel2.relative: 1.1 1;
35610                image.normal: "bar_shine.png";
35611                color: 255 255 255 120;
35612             }
35613          }
35614          part { name: "clipper";
35615             type: RECT;
35616             mouse_events: 0;
35617             description { state: "default" 0.0;
35618                rel1.to: "bg";
35619                rel2.to: "bg";
35620                rel1.offset: 2 2;
35621                rel2.offset: -3 -3;
35622             }
35623          }
35624          part { name: "elm.swallow.content";
35625             clip_to: "clipper";
35626             type: SWALLOW;
35627             description { state: "default" 0.0;
35628                rel1.to: "bg";
35629                rel2.to: "bg";
35630             }
35631          }
35632       }
35633    }
35634
35635    group { name: "elm/diskselector/item/default";
35636
35637       data {
35638          item: "len_threshold" "14";
35639       }
35640
35641       parts {
35642          part { name: "elm.swallow.icon";
35643             type: SWALLOW;
35644             description { state: "default" 0.0;
35645                fixed: 1 0;
35646                align: 0.0 0.5;
35647                rel1 {
35648                   relative: 0 0;
35649                   offset: 4 4;
35650                }
35651                rel2 {
35652                   relative: 0 1;
35653                   offset: 4 -5;
35654                }
35655             }
35656             description { state: "show" 0.0;
35657                inherit: "default" 0.0;
35658             }
35659             description { state: "default_small" 0.0;
35660                inherit: "default" 0.0;
35661                rel1.relative: 0 0.2;
35662                rel2.relative: 0 0.8;
35663             }
35664             description { state: "left_side" 0.0;
35665                inherit: "default" 0.0;
35666                rel1.relative: 0 0.2;
35667                rel2.relative: 0 0.8;
35668                color: 255 255 255 160;
35669             }
35670             description { state: "right_side" 0.0;
35671                inherit: "left_side" 0.0;
35672                rel1.relative: 0.4 0.2;
35673                rel2.relative: 0.4 0.8;
35674                color: 255 255 255 160;
35675             }
35676          }
35677          part { name: "elm.text";
35678             type: TEXT;
35679             mouse_events: 0;
35680             scale: 1;
35681             description { state: "default" 0.0;
35682                rel1.relative: 1 0.0;
35683                rel1.to_x: "elm.swallow.icon";
35684                rel2.relative: 1.0 1.0;
35685                color: 255 255 255 255;
35686                visible: 0;
35687                text {
35688                   font: "Sans,Edje-Vera";
35689                   size: 13;
35690                   align: 0.5 0.5;
35691                   min: 0 1;
35692                }
35693             }
35694             description { state: "show" 0.0;
35695                inherit: "default" 0.0;
35696                visible: 1;
35697             }
35698             description { state: "default_small" 0.0;
35699                inherit: "default" 0.0;
35700                visible: 1;
35701                text.size: 10;
35702             }
35703             description { state: "left_side" 0.0;
35704                inherit: "default" 0.0;
35705                color: 172 172 172 255;
35706                text.size: 10;
35707                visible: 1;
35708                text.align: 0.2 0.5;
35709             }
35710             description { state: "right_side" 0.0;
35711                inherit: "default" 0.0;
35712                color: 172 172 172 255;
35713                visible: 1;
35714                text.size: 10;
35715                text.align: 0.8 0.5;
35716             }
35717          }
35718       }
35719
35720       programs {
35721          program { name: "center_text";
35722             signal: "elm,state,center";
35723             source: "elm";
35724             action: STATE_SET "show" 0.0;
35725             target: "elm.text";
35726             target: "elm.swallow.icon";
35727          }
35728          program { name: "center_small_text";
35729             signal: "elm,state,center_small";
35730             source: "elm";
35731             action: STATE_SET "default_small" 0.0;
35732             target: "elm.text";
35733             target: "elm.swallow.icon";
35734          }
35735          program { name: "l_side_text";
35736             signal: "elm,state,left_side";
35737             source: "elm";
35738             action: STATE_SET "left_side" 0.0;
35739             target: "elm.text";
35740             target: "elm.swallow.icon";
35741          }
35742          program { name: "r_side_text";
35743             signal: "elm,state,right_side";
35744             source: "elm";
35745             action: STATE_SET "right_side" 0.0;
35746             target: "elm.text";
35747             target: "elm.swallow.icon";
35748          }
35749       }
35750    }
35751
35752    group { name: "elm/entry/path/separator/default";
35753       images.image: "arrow_right.png" COMP;
35754       parts {
35755          part { name: "icon";
35756             mouse_events: 0;
35757             description { state: "default" 0.0;
35758                image.normal: "arrow_right.png";
35759                max: 64 64;
35760                aspect: 1.0 1.0;
35761             }
35762          }
35763       }
35764    }
35765
35766    group { name: "elm/fileselector/base/default";
35767       data {
35768          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35769       }
35770       parts {
35771          part { name: "elm.swallow.up";
35772             type: SWALLOW;
35773             description { state: "default" 0.0;
35774                align: 0.0 0.0;
35775                min: 10 10;
35776                fixed: 1 1;
35777                rel2 {
35778                   relative: 0.0 0.0;
35779                   offset: 0 0;
35780                }
35781             }
35782          }
35783          part { name: "elm.swallow.home";
35784             type: SWALLOW;
35785             description { state: "default" 0.0;
35786                align: 0.0 0.0;
35787                min: 10 10;
35788                fixed: 1 1;
35789                rel1 {
35790                   to: "elm.swallow.up";
35791                   relative: 1.0 0.0;
35792                   offset: 5 0;
35793                }
35794                rel2 {
35795                   to: "elm.swallow.up";
35796                   relative: 1.0 1.0;
35797                   offset: 20 -1;
35798                }
35799             }
35800          }
35801          part { name: "elm.swallow.files";
35802             type: SWALLOW;
35803             description { state: "default" 0.0;
35804                align: 1.0 0.0;
35805                min: 10 10;
35806                fixed: 1 1;
35807                rel1 {
35808                   to_y: "elm.swallow.home";
35809                   relative: 0.0 1.0;
35810                   offset: 0 0;
35811                }
35812                rel2 {
35813                   to_y: "elm.swallow.path";
35814                   relative: 1.0 0.0;
35815                   offset: -1 -1;
35816                }
35817             }
35818          }
35819          part { name: "elm.swallow.path";
35820             type: SWALLOW;
35821             description { state: "default" 0.0;
35822                align: 0.5 1.0;
35823                fixed: 1 1;
35824                rel1 {
35825                   to_y: "elm.swallow.filename";
35826                   relative: 0.0 0.0;
35827                   offset: 0 -1;
35828                }
35829                rel2 {
35830                   to_y: "elm.swallow.filename";
35831                   relative: 1.0 0.0;
35832                   offset: -1 -1;
35833                }
35834             }
35835          }
35836          part { name: "elm.swallow.filename";
35837             type: SWALLOW;
35838             description { state: "default" 0.0;
35839                align: 0.5 1.0;
35840                fixed: 1 1;
35841                rel1 {
35842                   to_y: "elm.swallow.ok";
35843                   relative: 0.0 0.0;
35844                   offset: 0 -1;
35845                }
35846                rel2 {
35847                   to_y: "elm.swallow.ok";
35848                   relative: 1.0 0.0;
35849                   offset: -1 -1;
35850                }
35851             }
35852          }
35853          part { name: "elm.swallow.cancel";
35854             type: SWALLOW;
35855             description { state: "default" 0.0;
35856                align: 1.0 1.0;
35857                fixed: 1 1;
35858                rel1 {
35859                   to: "elm.swallow.ok";
35860                   relative: 0.0 0.0;
35861                   offset: -3 0;
35862                }
35863                rel2 {
35864                   to: "elm.swallow.ok";
35865                   relative: 0.0 1.0;
35866                   offset: -3 -1;
35867                }
35868             }
35869          }
35870          part { name: "elm.swallow.ok";
35871             type: SWALLOW;
35872             description { state: "default" 0.0;
35873                align: 1.0 1.0;
35874                fixed: 1 1;
35875                rel1 {
35876                   relative: 1.0 1.0;
35877                   offset: -1 -1;
35878                }
35879             }
35880          }
35881       }
35882    }
35883
35884    group { name: "elm/fileselector_entry/base/default";
35885       parts {
35886          part { name: "elm.swallow.entry";
35887             type: SWALLOW;
35888             description { state: "default" 0.0;
35889                align: 0.0 0.0;
35890                min: 50 10;
35891                rel2 { to_x: "elm.swallow.button";
35892                   relative: 0.0 1.0;
35893                   offset: -1 -1;
35894                }
35895             }
35896          }
35897          part { name: "elm.swallow.button";
35898             type: SWALLOW;
35899             description { state: "default" 0.0;
35900                align: 1.0 0.0;
35901                min: 10 10;
35902                fixed: 1 1;
35903                rel1 {
35904                   relative: 1.0 0.0;
35905                   offset: -21 0;
35906                }
35907             }
35908          }
35909       }
35910    }
35911
35912 ////////////////////////////////////////////////////////////////////////
35913 // Standard layouts to be used                                        //
35914 ////////////////////////////////////////////////////////////////////////
35915    /* application with toolbar and main content area */
35916    group { name: "elm/layout/application/toolbar-content";
35917       parts {
35918          part { name: "elm.swallow.content";
35919             type: SWALLOW;
35920             description { state: "default" 0.0;
35921                rel1 { to_y: "elm.external.toolbar";
35922                   relative: 0.0 1.0;
35923                   offset: -1 1;
35924                }
35925             }
35926          }
35927
35928          part { name: "elm.external.toolbar";
35929             type: EXTERNAL;
35930             source: "elm/toolbar";
35931             description { state: "default" 0.0;
35932                align: 0.5 0.0;
35933                fixed: 0 1;
35934                rel2 {
35935                   relative: 1.0 0.0;
35936                   offset: -1 47;
35937                }
35938             }
35939          }
35940       }
35941    }
35942
35943    /* application with toolbar and main content area with a back button and title area */
35944    group { name: "elm/layout/application/toolbar-content-back";
35945       parts {
35946          part { name: "elm.swallow.content";
35947             type: SWALLOW;
35948             description { state: "default" 0.0;
35949                rel1 { to_y: "title_clipper";
35950                   relative: 0.0 1.0;
35951                   offset: -1 1;
35952                }
35953             }
35954          }
35955
35956          part { name: "elm.external.toolbar";
35957             type: EXTERNAL;
35958             source: "elm/toolbar";
35959             description { state: "default" 0.0;
35960                fixed: 0 1;
35961                align: 0.5 0.0;
35962                rel2 {
35963                   relative: 1.0 0.0;
35964                   offset: -1 47;
35965                }
35966             }
35967          }
35968          part { name: "title_clipper";
35969             type: RECT;
35970             description { state: "default" 0.0;
35971                visible: 1;
35972                rel1 {
35973                   to_y: "back";
35974                }
35975                rel2 {
35976                   to_y: "back";
35977                }
35978             }
35979             description { state: "hidden" 0.0;
35980                inherit: "default" 0.0;
35981                visible: 0;
35982                rel2 {
35983                   relative: 1.0 0.0;
35984                }
35985             }
35986          }
35987          part { name: "back_clipper";
35988             type: RECT;
35989             clip_to: "title_clipper";
35990             description { state: "default" 0.0;
35991                visible: 1;
35992             }
35993             description { state: "hidden" 0.0;
35994                visible: 0;
35995             }
35996          }
35997          part { name: "back";
35998             type: EXTERNAL;
35999             source: "elm/button";
36000             clip_to: "back_clipper";
36001             description { state: "default" 0.0;
36002                align: 0.0 0.0;
36003                fixed: 1 1;
36004                rel1 { to_y: "elm.external.toolbar";
36005                   relative: 0.0 1.0;
36006                   offset: 0 1;
36007                }
36008                rel2 { to_y: "elm.external.toolbar";
36009                   relative: 0.0 1.0;
36010                   offset: 50 32;
36011                }
36012                params.string: "label" "Back";
36013             }
36014          }
36015          programs {
36016             program {
36017                signal: "clicked";
36018                source: "back";
36019                action: SIGNAL_EMIT "elm,action,back" "";
36020             }
36021             program {
36022                signal: "elm,back,hide";
36023                source: "elm";
36024                action: STATE_SET "hidden" 0.0;
36025                target: "back_clipper";
36026             }
36027             program {
36028                signal: "elm,back,show";
36029                source: "elm";
36030                action: STATE_SET "default" 0.0;
36031                target: "back_clipper";
36032             }
36033             program {
36034                signal: "elm,title,hide";
36035                source: "elm";
36036                action: STATE_SET "hidden" 0.0;
36037                transition: LINEAR 0.1;
36038                target: "title_clipper";
36039             }
36040             program {
36041                signal: "elm,title,show";
36042                source: "elm";
36043                action: STATE_SET "default" 0.0;
36044                target: "title_clipper";
36045             }
36046          }
36047
36048          part { name: "elm.swallow.end";
36049             type: SWALLOW;
36050             description { state: "default" 0.0;
36051                align: 1.0 0.0;
36052                fixed: 1 1;
36053                rel1 { to_y: "elm.external.toolbar";
36054                   relative: 1.0 1.0;
36055                   offset: -2 1;
36056                }
36057                rel2 { to_y: "elm.external.toolbar";
36058                   relative: 1.0 1.0;
36059                   offset: -1 32;
36060                }
36061             }
36062          }
36063
36064          part { name: "elm.text.title";
36065             type: TEXT;
36066             effect: SOFT_SHADOW;
36067             scale: 1;
36068             description { state: "default" 0.0;
36069                rel1 { to_y: "elm.external.toolbar";
36070                   to_x: "back";
36071                   relative: 1.0 1.0;
36072                   offset: 2 1;
36073                }
36074                rel2 { to_y: "back";
36075                   to_x: "elm.swallow.end";
36076                   relative: 0.0 1.0;
36077                   offset: -3 -1;
36078                }
36079                text {
36080                   font: "Sans:style=Bold";
36081                   size: 12;
36082                }
36083             }
36084          }
36085       }
36086    }
36087
36088    /* application with toolbar and main content area with a back and next buttons and title area */
36089    group { name: "elm/layout/application/toolbar-content-back-next";
36090       parts {
36091          part { name: "elm.swallow.content";
36092             type: SWALLOW;
36093             description { state: "default" 0.0;
36094                rel1 { to_y: "title_clipper";
36095                   relative: 0.0 1.0;
36096                   offset: -1 1;
36097                }
36098             }
36099          }
36100
36101          part { name: "elm.external.toolbar";
36102             type: EXTERNAL;
36103             source: "elm/toolbar";
36104             description { state: "default" 0.0;
36105                fixed: 0 1;
36106                align: 0.5 0.0;
36107                rel2 {
36108                   relative: 1.0 0.0;
36109                   offset: -1 47;
36110                }
36111             }
36112          }
36113          part { name: "title_clipper";
36114             type: RECT;
36115             description { state: "default" 0.0;
36116                visible: 1;
36117                rel1 {
36118                   to_y: "back";
36119                }
36120                rel2 {
36121                   to_y: "back";
36122                }
36123             }
36124             description { state: "hidden" 0.0;
36125                inherit: "default" 0.0;
36126                visible: 0;
36127                rel2 {
36128                   relative: 1.0 0.0;
36129                }
36130             }
36131          }
36132          part { name: "back";
36133             type: EXTERNAL;
36134             source: "elm/button";
36135             clip_to: "back_clipper";
36136             description { state: "default" 0.0;
36137                align: 0.0 0.0;
36138                fixed: 1 1;
36139                rel1 { to_y: "elm.external.toolbar";
36140                   relative: 0.0 1.0;
36141                   offset: 0 1;
36142                }
36143                rel2 { to_y: "elm.external.toolbar";
36144                   relative: 0.0 1.0;
36145                   offset: 50 32;
36146                }
36147                params.string: "label" "Back";
36148             }
36149          }
36150          part { name: "back_clipper";
36151             type: RECT;
36152             clip_to: "title_clipper";
36153             description { state: "default" 0.0;
36154                visible: 1;
36155             }
36156             description { state: "hidden" 0.0;
36157                visible: 0;
36158             }
36159          }
36160          part { name: "next";
36161             type: EXTERNAL;
36162             source: "elm/button";
36163             clip_to: "next_clipper";
36164             description { state: "default" 0.0;
36165                align: 1.0 0.0;
36166                fixed: 1 1;
36167                rel1 { to_y: "elm.external.toolbar";
36168                   relative: 1.0 1.0;
36169                   offset: -2 1;
36170                }
36171                rel2 { to_y: "elm.external.toolbar";
36172                   relative: 1.0 1.0;
36173                   offset: -1 32;
36174                }
36175                params.string: "label" "Next";
36176            }
36177          }
36178          part { name: "next_clipper";
36179             type: RECT;
36180             clip_to: "title_clipper";
36181             description { state: "default" 0.0;
36182                visible: 1;
36183             }
36184             description { state: "hidden" 0.0;
36185                visible: 0;
36186             }
36187          }
36188          programs {
36189             program {
36190                signal: "clicked";
36191                source: "back";
36192                action: SIGNAL_EMIT "elm,action,back" "";
36193             }
36194             program {
36195                signal: "elm,title,hide";
36196                source: "elm";
36197                action: STATE_SET "hidden" 0.0;
36198                transition: LINEAR 0.1;
36199                target: "title_clipper";
36200             }
36201             program {
36202                signal: "elm,title,show";
36203                source: "elm";
36204                action: STATE_SET "default" 0.0;
36205                target: "title_clipper";
36206             }
36207             program {
36208                signal: "elm,back,hide";
36209                source: "elm";
36210                action: STATE_SET "hidden" 0.0;
36211                target: "back_clipper";
36212             }
36213             program {
36214                signal: "elm,back,show";
36215                source: "elm";
36216                action: STATE_SET "default" 0.0;
36217                target: "back_clipper";
36218             }
36219             program {
36220                signal: "clicked";
36221                source: "next";
36222                action: SIGNAL_EMIT "elm,action,next" "";
36223             }
36224             program {
36225                signal: "elm,next,hide";
36226                source: "elm";
36227                action: STATE_SET "hidden" 0.0;
36228                target: "next_clipper";
36229             }
36230             program {
36231                signal: "elm,next,show";
36232                source: "elm";
36233                action: STATE_SET "default" 0.0;
36234                target: "next_clipper";
36235             }
36236          }
36237          part { name: "elm.text.title";
36238             type: TEXT;
36239             effect: SOFT_SHADOW;
36240             scale: 1;
36241             clip_to: "title_clipper";
36242             description { state: "default" 0.0;
36243                rel1 { to_y: "elm.external.toolbar";
36244                   to_x: "back";
36245                   relative: 1.0 1.0;
36246                   offset: 2 1;
36247                }
36248                rel2 { to_y: "back";
36249                   to_x: "next";
36250                   relative: 0.0 1.0;
36251                   offset: -3 -1;
36252                }
36253                text {
36254                   font: "Sans:style=Bold";
36255                   size: 12;
36256                }
36257             }
36258          }
36259       }
36260    }
36261    /* application with a main content area with a back button and title area */
36262    group { name: "elm/layout/application/content-back";
36263       parts {
36264          part { name: "elm.swallow.content";
36265             type: SWALLOW;
36266             description { state: "default" 0.0;
36267                rel1 { to_y: "title_clipper";
36268                   relative: 0.0 1.0;
36269                   offset: -1 1;
36270                }
36271             }
36272          }
36273          part { name: "title_clipper";
36274             type: RECT;
36275             description { state: "default" 0.0;
36276                visible: 1;
36277                rel1 {
36278                   to_y: "back";
36279                }
36280                rel2 {
36281                   to_y: "back";
36282                }
36283             }
36284             description { state: "hidden" 0.0;
36285                inherit: "default" 0.0;
36286                visible: 0;
36287                rel2 {
36288                   relative: 1.0 0.0;
36289                }
36290             }
36291          }
36292          part { name: "back_clipper";
36293             type: RECT;
36294             clip_to: "title_clipper";
36295             description { state: "default" 0.0;
36296                visible: 1;
36297             }
36298             description { state: "hidden" 0.0;
36299                visible: 0;
36300             }
36301          }
36302          part { name: "back";
36303             type: EXTERNAL;
36304             source: "elm/button";
36305             clip_to: "back_clipper";
36306             description { state: "default" 0.0;
36307                align: 0.0 0.0;
36308                fixed: 1 1;
36309                rel1 {
36310                   relative: 0.0 0.0;
36311                   offset: 0 1;
36312                }
36313                rel2 {
36314                   relative: 0.0 0.0;
36315                   offset: 50 32;
36316                }
36317                params.string: "label" "Back";
36318             }
36319          }
36320          programs {
36321             program {
36322                signal: "clicked";
36323                source: "back";
36324                action: SIGNAL_EMIT "elm,action,back" "";
36325             }
36326             program {
36327                signal: "elm,back,hide";
36328                source: "elm";
36329                action: STATE_SET "hidden" 0.0;
36330                target: "back_clipper";
36331             }
36332             program {
36333                signal: "elm,back,show";
36334                source: "elm";
36335                action: STATE_SET "default" 0.0;
36336                target: "back_clipper";
36337             }
36338             program {
36339                signal: "elm,title,hide";
36340                source: "elm";
36341                action: STATE_SET "hidden" 0.0;
36342                transition: LINEAR 0.1;
36343                target: "title_clipper";
36344             }
36345             program {
36346                signal: "elm,title,show";
36347                source: "elm";
36348                action: STATE_SET "default" 0.0;
36349                target: "title_clipper";
36350             }
36351          }
36352
36353          part { name: "elm.swallow.end";
36354             type: SWALLOW;
36355             description { state: "default" 0.0;
36356                align: 1.0 0.0;
36357                fixed: 1 1;
36358                rel1 {
36359                   relative: 1.0 0.0;
36360                   offset: -2 1;
36361                }
36362                rel2 {
36363                   relative: 1.0 1.0;
36364                   offset: -1 32;
36365                }
36366             }
36367          }
36368
36369          part { name: "elm.text.title";
36370             type: TEXT;
36371             effect: SOFT_SHADOW;
36372             scale: 1;
36373             description { state: "default" 0.0;
36374                rel1 {
36375                   to_x: "back";
36376                   relative: 1.0 0.0;
36377                   offset: 2 1;
36378                }
36379                rel2 { to_y: "back";
36380                   to_x: "elm.swallow.end";
36381                   relative: 0.0 1.0;
36382                   offset: -3 -1;
36383                }
36384                text {
36385                   font: "Sans:style=Bold";
36386                   size: 12;
36387                }
36388             }
36389          }
36390       }
36391    }
36392
36393    /* application with a main content area with a back and next buttons and title area */
36394    group { name: "elm/layout/application/content-back-next";
36395       parts {
36396          part { name: "elm.swallow.content";
36397             type: SWALLOW;
36398             description { state: "default" 0.0;
36399                rel1 { to_y: "title_clipper";
36400                   relative: 0.0 1.0;
36401                   offset: -1 1;
36402                }
36403             }
36404          }
36405
36406          part { name: "title_clipper";
36407             type: RECT;
36408             description { state: "default" 0.0;
36409                visible: 1;
36410                rel1 {
36411                   to_y: "back";
36412                }
36413                rel2 {
36414                   to_y: "back";
36415                }
36416             }
36417             description { state: "hidden" 0.0;
36418                inherit: "default" 0.0;
36419                visible: 0;
36420                rel2 {
36421                   relative: 1.0 0.0;
36422                }
36423             }
36424          }
36425          part { name: "back";
36426             type: EXTERNAL;
36427             source: "elm/button";
36428             clip_to: "back_clipper";
36429             description { state: "default" 0.0;
36430                align: 0.0 0.0;
36431                fixed: 1 1;
36432                rel1 {
36433                   relative: 0.0 0.0;
36434                   offset: 0 1;
36435                }
36436                rel2 {
36437                   relative: 0.0 0.0;
36438                   offset: 50 32;
36439                }
36440                params.string: "label" "Back";
36441             }
36442          }
36443          part { name: "back_clipper";
36444             type: RECT;
36445             clip_to: "title_clipper";
36446             description { state: "default" 0.0;
36447                visible: 1;
36448             }
36449             description { state: "hidden" 0.0;
36450                visible: 0;
36451             }
36452          }
36453          part { name: "next";
36454             type: EXTERNAL;
36455             source: "elm/button";
36456             clip_to: "next_clipper";
36457             description { state: "default" 0.0;
36458                align: 1.0 0.0;
36459                fixed: 1 1;
36460                rel1 {
36461                   relative: 1.0 0.0;
36462                   offset: -2 1;
36463                }
36464                rel2 {
36465                   relative: 1.0 0.0;
36466                   offset: -1 32;
36467                }
36468                params.string: "label" "Next";
36469            }
36470          }
36471          part { name: "next_clipper";
36472             type: RECT;
36473             clip_to: "title_clipper";
36474             description { state: "default" 0.0;
36475                visible: 1;
36476             }
36477             description { state: "hidden" 0.0;
36478                visible: 0;
36479             }
36480          }
36481          programs {
36482             program {
36483                signal: "clicked";
36484                source: "back";
36485                action: SIGNAL_EMIT "elm,action,back" "";
36486             }
36487             program {
36488                signal: "elm,title,hide";
36489                source: "elm";
36490                action: STATE_SET "hidden" 0.0;
36491                transition: LINEAR 0.1;
36492                target: "title_clipper";
36493             }
36494             program {
36495                signal: "elm,title,show";
36496                source: "elm";
36497                action: STATE_SET "default" 0.0;
36498                target: "title_clipper";
36499             }
36500             program {
36501                signal: "elm,back,hide";
36502                source: "elm";
36503                action: STATE_SET "hidden" 0.0;
36504                target: "back_clipper";
36505             }
36506             program {
36507                signal: "elm,back,show";
36508                source: "elm";
36509                action: STATE_SET "default" 0.0;
36510                target: "back_clipper";
36511             }
36512             program {
36513                signal: "clicked";
36514                source: "next";
36515                action: SIGNAL_EMIT "elm,action,next" "";
36516             }
36517             program {
36518                signal: "elm,next,hide";
36519                source: "elm";
36520                action: STATE_SET "hidden" 0.0;
36521                target: "next_clipper";
36522             }
36523             program {
36524                signal: "elm,next,show";
36525                source: "elm";
36526                action: STATE_SET "default" 0.0;
36527                target: "next_clipper";
36528             }
36529          }
36530          part { name: "elm.text.title";
36531             type: TEXT;
36532             effect: SOFT_SHADOW;
36533             scale: 1;
36534             clip_to: "title_clipper";
36535             description { state: "default" 0.0;
36536                rel1 {
36537                   to_x: "back";
36538                   relative: 1.0 0.0;
36539                   offset: 2 1;
36540                }
36541                rel2 { to_y: "back";
36542                   to_x: "next";
36543                   relative: 0.0 1.0;
36544                   offset: -3 -1;
36545                }
36546                text {
36547                   font: "Sans:style=Bold";
36548                   size: 12;
36549                }
36550             }
36551          }
36552       }
36553    }
36554
36555    /* application with toolbar and main content area as a vertical box */
36556    group { name: "elm/layout/application/toolbar-vbox";
36557       parts {
36558          part { name: "elm.box.content";
36559             type: BOX;
36560             description { state: "default" 0.0;
36561                rel1 { to_y: "elm.external.toolbar";
36562                   relative: 0.0 1.0;
36563                   offset: -1 1;
36564                }
36565                box.layout: "vertical";
36566             }
36567          }
36568
36569          part { name: "elm.external.toolbar";
36570             type: EXTERNAL;
36571             source: "elm/toolbar";
36572             description { state: "default" 0.0;
36573                align: 0.5 0.0;
36574                fixed: 0 1;
36575                rel2 {
36576                   relative: 1.0 0.0;
36577                   offset: -1 47;
36578                }
36579             }
36580          }
36581       }
36582    }
36583
36584    /* application with toolbar and main content area as a table */
36585    group { name: "elm/layout/application/toolbar-table";
36586       parts {
36587          part { name: "elm.table.content";
36588             type: TABLE;
36589             description { state: "default" 0.0;
36590                rel1 { to_y: "elm.external.toolbar";
36591                   relative: 0.0 1.0;
36592                   offset: -1 1;
36593                }
36594             }
36595          }
36596
36597          part { name: "elm.external.toolbar";
36598             type: EXTERNAL;
36599             source: "elm/toolbar";
36600             description { state: "default" 0.0;
36601                align: 0.5 0.0;
36602                fixed: 0 1;
36603                rel2 {
36604                   relative: 1.0 0.0;
36605                   offset: -1 47;
36606                }
36607             }
36608          }
36609       }
36610    }
36611
36612 ///////////////////////////////////////////////////////////////////////////////
36613    group { name: "elm/segment_control/base/default";
36614 #define SEGMENT_TYPE_SINGLE 1
36615 #define SEGMENT_TYPE_LEFT 2
36616 #define SEGMENT_TYPE_MIDDLE 3
36617 #define SEGMENT_TYPE_RIGHT 4
36618 #define SEGMENT_STATE_NORMAL 1
36619 #define SEGMENT_STATE_PRESSED 2
36620 #define SEGMENT_STATE_SELECTED 3
36621 #define SEGMENT_STATUS_ENABLED 0
36622 #define SEGMENT_STATUS_DISABLED 1
36623       parts {
36624          part { name: "bg";
36625             type: RECT;
36626             mouse_events: 0;
36627             scale: 1;
36628             description {
36629                state: "default" 0.0;
36630                color: 0 0 0 0;
36631                min: 100 40;
36632             }
36633          }
36634       }
36635    }
36636    group { name: "elm/segment_control/item/default";
36637       images {
36638          image: "seg_single_pressed.png" COMP;
36639          image: "seg_single_selected.png" COMP;
36640          image: "seg_single_normal.png" COMP;
36641
36642          image: "seg_left_pressed.png" COMP;
36643          image: "seg_left_selected.png" COMP;
36644          image: "seg_left_normal.png" COMP;
36645
36646          image: "seg_middle_pressed.png" COMP;
36647          image: "seg_middle_selected.png" COMP;
36648          image: "seg_middle_normal.png" COMP;
36649
36650          image: "seg_right_pressed.png" COMP;
36651          image: "seg_right_selected.png" COMP;
36652          image: "seg_right_normal.png" COMP;
36653       }
36654       parts {
36655          part { name: "segment";
36656             mouse_events: 1;
36657             scale: 1;
36658             description { state: "default" 0.0;
36659                min: 1 1;
36660                visible: 0;
36661                image {
36662                   normal: "seg_single_normal.png";
36663                   border: 7 7 7 7;
36664                   border_scale: 1;
36665                   middle: 1;
36666                }
36667             }
36668             description { state: "default_single" 0.0;
36669                inherit: "default" 0.0;
36670                visible: 1;
36671                image {
36672                   normal: "seg_single_normal.png";
36673                   border: 7 7 7 7;
36674                }
36675             }
36676             description { state: "default_left" 0.0;
36677                inherit: "default" 0.0;
36678                visible: 1;
36679                image {
36680                normal: "seg_left_normal.png";
36681                   border:  6 1 7 7;
36682                }
36683             }
36684             description { state: "default_right" 0.0;
36685                inherit: "default" 0.0;
36686                visible: 1;
36687                image {
36688                   normal: "seg_right_normal.png";
36689                   border: 1 6 7 7;
36690                }
36691             }
36692             description { state: "default_middle" 0.0;
36693                inherit: "default" 0.0;
36694                visible: 1;
36695                image {
36696                   normal: "seg_middle_normal.png";
36697                   border: 2 2 2 2;
36698                }
36699             }
36700             description { state: "pressed_single" 0.0;
36701                inherit: "default" 0.0;
36702                visible: 1;
36703                image {
36704                   normal: "seg_single_pressed.png";
36705                   border: 7 7 7 7;
36706                }
36707             }
36708             description { state: "pressed_left" 0.0;
36709                inherit: "default" 0.0;
36710                visible: 1;
36711                image {
36712                   normal: "seg_left_pressed.png";
36713                   border:  6 1 7 7;
36714                }
36715             }
36716             description { state: "pressed_right" 0.0;
36717                inherit: "default" 0.0;
36718                visible: 1;
36719                image {
36720                   normal: "seg_right_pressed.png";
36721                   border: 1 6 7 7;
36722                }
36723             }
36724             description { state: "pressed_middle" 0.0;
36725                inherit: "default" 0.0;
36726                visible: 1;
36727                image {
36728                   normal: "seg_middle_pressed.png";
36729                   border: 1 1 2 2;
36730                }
36731             }
36732             description { state: "selected_single" 0.0;
36733                inherit: "default" 0.0;
36734                visible: 1;
36735                image {
36736                   normal: "seg_single_selected.png";
36737                   border: 7 7 7 7;
36738                }
36739             }
36740             description { state: "selected_left" 0.0;
36741                inherit: "default" 0.0;
36742                visible: 1;
36743                image {
36744                   normal: "seg_left_selected.png";
36745                   border:  6 3 7 7;
36746                }
36747             }
36748             description { state: "selected_right" 0.0;
36749                inherit: "default" 0.0;
36750                visible: 1;
36751                image {
36752                   normal: "seg_right_selected.png";
36753                   border: 3 6 7 7;
36754                }
36755             }
36756             description { state: "selected_middle" 0.0;
36757                inherit: "default" 0.0;
36758                visible: 1;
36759                image {
36760                   normal: "seg_middle_selected.png";
36761                   border: 3 3 3 3;
36762                }
36763             }
36764          }
36765          part { name: "padding_left";
36766             type: RECT;
36767             scale: 1;
36768             mouse_events: 0;
36769             description { state: "default" 0.0;
36770                align: 0.0 0.0;
36771                rel1.relative: 0.0 0.0;
36772                rel2.relative: 0.0 1.0;
36773                min: 2 2;
36774                max: 2 2;
36775                fixed: 1 0;
36776                color: 0 0 0 0;
36777             }
36778          }
36779          part { name: "padding_right";
36780             type: RECT;
36781             scale: 1;
36782             mouse_events: 0;
36783             description { state: "default" 0.0;
36784                align: 1.0 0.0;
36785                rel1.relative: 1.0 0.0;
36786                rel2.relative: 1.0 1.0;
36787                min: 2 2;
36788                max: 2 2;
36789                fixed: 1 0;
36790                color: 0 0 0 0;
36791             }
36792          }
36793          part { name: "padding_top";
36794             type: RECT;
36795             scale: 1;
36796             mouse_events: 0;
36797             description { state: "default" 0.0;
36798                align: 0.0 0.0;
36799                rel1.relative: 0.0 0.0;
36800                rel2.relative: 1.0 0.0;
36801                min: 2 2;
36802                max: 2 2;
36803                fixed: 0 1;
36804                color: 0 0 0 0;
36805             }
36806          }
36807          part { name: "padding_bottom";
36808             type: RECT;
36809             scale: 1;
36810             mouse_events: 0;
36811             description { state: "default" 0.0;
36812                align: 1.0 1.0;
36813                rel1.relative: 0.0 1.0;
36814                rel2.relative: 1.0 1.0;
36815                min: 2 2;
36816                max: 2 2;
36817                fixed: 0 1;
36818                color: 0 0 0 0;
36819             }
36820          }
36821          part { name: "icon.bg";
36822             type: RECT;
36823             scale: 1;
36824             mouse_events: 0;
36825             description { state: "default" 0.0;
36826                visible: 1;
36827                fixed: 1 0;
36828                rel1 {
36829                   to_x: "padding_left";
36830                   to_y: "padding_top";
36831                   relative: 1.0 1.0;
36832                }
36833                rel2 {
36834                   to: "elm.swallow.icon";
36835                   relative: 1.0 1.0;
36836                }
36837                align: 0.0 0.5;
36838                color: 0 0 0 0;
36839             }
36840          }
36841          part { name: "padding_icon_text";
36842             type: RECT;
36843             scale: 1;
36844             mouse_events: 0;
36845             description { state: "default" 0.0; //when only icon or no icon is there
36846                align: 0.0 0.0;
36847                rel1 {
36848                   to: "icon.bg";
36849                   relative: 1.0 0.0;
36850                }
36851                rel2 {
36852                   to: "icon.bg";
36853                   relative: 1.0 1.0;
36854                }
36855                fixed: 1 0;
36856                min: 0 0;
36857                color: 0 0 0 0;
36858             }
36859             description { state: "icononly" 0.0;
36860                inherit: "default" 0.0;
36861             }
36862             description { state: "visible" 0.0; //when icon is visible
36863                inherit: "default" 0.0;
36864                min: 2 0;
36865             }
36866          }
36867          part { name: "elm.swallow.icon";
36868             type: SWALLOW;
36869             scale: 1;
36870             description { state: "default" 0.0;
36871                visible: 0;
36872                align: 0.0 0.5;
36873                rel1 {
36874                   to_x: "padding_left";
36875                   to_y: "padding_top";
36876                   relative: 1.0 1.0;
36877                }
36878                rel2 {
36879                   to_y: "padding_bottom";
36880                   relative: 0.0 0.0;
36881                }
36882                fixed: 1 0;
36883                aspect: 1.0 1.0;
36884                aspect_preference: BOTH;
36885             }
36886             description { state: "visible" 0.0;
36887                inherit: "default" 0.0;
36888                visible: 1;
36889                rel2 {
36890                   to_y: "padding_bottom";
36891                   relative: 0.3 0.0;
36892                }
36893             }
36894             description { state: "icononly" 0.0;
36895                inherit: "default" 0.0;
36896                visible: 1;
36897                rel2 {
36898                   to_x: "padding_right";
36899                   to_y: "padding_bottom";
36900                   relative: 0.0 0.0;
36901                }
36902                align: 0.5 0.5;
36903             }
36904          }
36905          part { name: "elm.text";
36906             type: TEXT;
36907             mouse_events: 0;
36908             scale: 1;
36909             description {
36910                state: "default" 0.0;
36911                visible: 0;
36912                fixed: 1 1;
36913                min: 1 1;
36914                rel1 {
36915                   to_x: "padding_icon_text";
36916                   relative: 1.0 1.0;
36917                }
36918                rel2 {
36919                   to_x: "padding_right";
36920                   relative: 0.0 0.0;
36921                }
36922                color: 224 224 224 255;
36923                color3: 0 0 0 64;
36924                text {
36925                   font: "Sans";
36926                   ellipsis: 0.0;
36927                   fit: 1 1;
36928                   size: 24;
36929                   size_range: 8 36;
36930                   min: 0 1;
36931                }
36932             }
36933             description { state: "normal" 0.0;
36934                inherit: "default" 0.0;
36935                visible: 1;
36936             }
36937             description { state: "pressed" 0.0;
36938                inherit: "default" 0.0;
36939                visible: 1;
36940                color: 0 0 0 255;
36941             }
36942             description { state: "selected" 0.0;
36943                inherit: "default" 0.0;
36944                visible: 1;
36945                color: 50 50 50 255;
36946             }
36947             description { state: "disabled" 0.0;
36948                inherit: "default" 0.0;
36949                visible: 1;
36950                color: 200 200 200 255;
36951             }
36952          }
36953          part { name: "disabler";
36954             repeat_events: 0;
36955             scale: 1;
36956             description { state: "default" 0.0;
36957                visible: 0;
36958                fixed: 1 1;
36959                min: 1 1;
36960                align: 0.0 0.5;
36961                rel1 { relative: 0.0 0.0; to: "segment";}
36962                rel2 { relative: 1.0 1.0; to: "segment";}
36963                color: 255 255 255 150;
36964             }
36965             description { state: "disabled_single" 0.0;
36966                inherit: "default" 0.0;
36967                visible: 1;
36968                image {
36969                   normal: "seg_single_normal.png";
36970                   border: 7 7 7 7;
36971                }
36972             }
36973             description { state: "disabled_left" 0.0;
36974                inherit: "default" 0.0;
36975                visible: 1;
36976                image {
36977                   normal: "seg_left_normal.png";
36978                   border:  6 1 7 7;
36979                }
36980             }
36981             description { state: "disabled_right" 0.0;
36982                inherit: "default" 0.0;
36983                visible: 1;
36984                image {
36985                   normal: "seg_right_normal.png";
36986                   border: 1 6 7 7;
36987                }
36988             }
36989             description { state: "disabled_middle" 0.0;
36990                inherit: "default" 0.0;
36991                visible: 1;
36992                image {
36993                   normal: "seg_middle_normal.png";
36994                   border: 2 2 2 2;
36995                }
36996             }
36997          }
36998       }
36999       programs {
37000          script {
37001             public seg_type; // Single, Left, Middle, Right.
37002             public seg_state; // Normal/Default, Pressed, Selected.
37003             public seg_status;// Enabled/Default, Disabled
37004
37005             public update_state() {
37006                new type, state, disabled;
37007                type = get_int(seg_type);
37008                state = get_int(seg_state);
37009                disabled = get_int(seg_status);
37010
37011                if(state == SEGMENT_STATE_NORMAL)
37012                  {
37013                     if(type == SEGMENT_TYPE_SINGLE)
37014                       set_state(PART:"segment", "default_single", 0.0);
37015                     else if(type == SEGMENT_TYPE_LEFT)
37016                       set_state(PART:"segment", "default_left", 0.0);
37017                     else if(type == SEGMENT_TYPE_MIDDLE)
37018                       set_state(PART:"segment", "default_middle", 0.0);
37019                     else if(type == SEGMENT_TYPE_RIGHT)
37020                       set_state(PART:"segment", "default_right", 0.0);
37021                     set_state(PART:"elm.text", "normal", 0.0);
37022                  }
37023                else if(state == SEGMENT_STATE_PRESSED)
37024                  {
37025                     if(type == SEGMENT_TYPE_SINGLE)
37026                       set_state(PART:"segment", "pressed_single", 0.0);
37027                     else if(type == SEGMENT_TYPE_LEFT)
37028                       set_state(PART:"segment", "pressed_left", 0.0);
37029                     else if(type == SEGMENT_TYPE_MIDDLE)
37030                       set_state(PART:"segment", "pressed_middle", 0.0);
37031                     else if(type == SEGMENT_TYPE_RIGHT)
37032                       set_state(PART:"segment", "pressed_right", 0.0);
37033                     set_state(PART:"elm.text", "pressed", 0.0);
37034                  }
37035                else if(state == SEGMENT_STATE_SELECTED)
37036                  {
37037                     if(type == SEGMENT_TYPE_SINGLE)
37038                       set_state(PART:"segment", "selected_single", 0.0);
37039                     else if(type == SEGMENT_TYPE_LEFT)
37040                       set_state(PART:"segment", "selected_left", 0.0);
37041                     else if(type == SEGMENT_TYPE_MIDDLE)
37042                       set_state(PART:"segment", "selected_middle", 0.0);
37043                     else if(type == SEGMENT_TYPE_RIGHT)
37044                       set_state(PART:"segment", "selected_right", 0.0);
37045                     set_state(PART:"elm.text", "selected", 0.0);
37046                  }
37047                if(disabled == SEGMENT_STATUS_DISABLED)
37048                  {
37049                     if(type == SEGMENT_TYPE_SINGLE)
37050                       set_state(PART:"disabler", "disabled_single", 0.0);
37051                     else if(type == SEGMENT_TYPE_LEFT)
37052                       set_state(PART:"disabler", "disabled_left", 0.0);
37053                     else if(type == SEGMENT_TYPE_MIDDLE)
37054                       set_state(PART:"disabler", "disabled_middle", 0.0);
37055                     else if(type == SEGMENT_TYPE_RIGHT)
37056                       set_state(PART:"disabler", "disabled_right", 0.0);
37057                     set_state(PART:"elm.text", "disabled", 0.0);
37058                  }
37059             }
37060          }
37061          program {
37062             name: "segment_type_s";
37063             signal: "elm,type,segment,single";
37064             source: "elm";
37065             script {
37066                set_int(seg_type, SEGMENT_TYPE_SINGLE);
37067                update_state();
37068             }
37069          }
37070          program {
37071             name: "segment_type_l";
37072             signal: "elm,type,segment,left";
37073             source: "elm";
37074             script {
37075                set_int(seg_type, SEGMENT_TYPE_LEFT);
37076                update_state();
37077             }
37078          }
37079          program {
37080             name: "segment_type_m";
37081             signal: "elm,type,segment,middle";
37082             source: "elm";
37083             script {
37084                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
37085                update_state();
37086             }
37087          }
37088          program {
37089             name: "segment_type_r";
37090             signal: "elm,type,segment,right";
37091             source: "elm";
37092             script {
37093                set_int(seg_type, SEGMENT_TYPE_RIGHT);
37094                update_state();
37095             }
37096          }
37097          program {
37098             name: "normal_segment";
37099             signal: "elm,state,segment,normal";
37100             source: "elm";
37101             script {
37102                set_int(seg_state, SEGMENT_STATE_NORMAL);
37103                update_state();
37104             }
37105          }
37106          program {
37107             name: "pressed_segment";
37108             signal: "elm,state,segment,pressed";
37109             source: "elm";
37110             script {
37111                set_int(seg_state, SEGMENT_STATE_PRESSED);
37112                update_state();
37113             }
37114          }
37115          program {
37116             name: "selected_segment";
37117             signal: "elm,state,segment,selected";
37118             source: "elm";
37119             script {
37120                set_int(seg_state, SEGMENT_STATE_SELECTED);
37121                update_state();
37122             }
37123          }
37124          program { name: "disable_segment";
37125             signal: "elm,state,disabled";
37126             source: "elm";
37127             script {
37128                set_int(seg_status, SEGMENT_STATUS_DISABLED);
37129                update_state();
37130             }
37131          }
37132          program { name: "enable_segment";
37133             signal: "elm,state,enabled";
37134             source: "elm";
37135             script {
37136                set_int(seg_status, SEGMENT_STATUS_ENABLED);
37137                update_state();
37138             }
37139          }
37140          program { name: "text_show";
37141             signal: "elm,state,text,visible";
37142             source: "elm";
37143             script {
37144                new st[31];
37145                new Float:vl;
37146                get_state(PART:"elm.swallow.icon", st, 30, vl);
37147                if (!strcmp(st, "icononly"))
37148                  {
37149                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37150                     set_state(PART:"padding_icon_text", "visible", 0.0);
37151                  }
37152                get_state(PART:"elm.text", st, 30, vl);
37153                if (!strcmp(st, "selected"))
37154                   set_state(PART:"elm.text", "selected", 0.0);
37155                else
37156                   set_state(PART:"elm.text", "normal", 0.0);
37157             }
37158          }
37159          program { name: "text_hide";
37160             signal: "elm,state,text,hidden";
37161             source: "elm";
37162             script {
37163                new st[31];
37164                new Float:vl;
37165                get_state(PART:"elm.swallow.icon", st, 30, vl);
37166                if (!strcmp(st, "visible"))
37167                  {
37168                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37169                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37170                  }
37171                set_state(PART:"elm.text", "default", 0.0);
37172             }
37173          }
37174          program { name: "icon_show";
37175             signal: "elm,state,icon,visible";
37176             source: "elm";
37177             script {
37178                new st[31];
37179                new Float:vl;
37180                get_state(PART:"elm.text", st, 30, vl);
37181                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
37182                  {
37183                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
37184                     set_state(PART:"padding_icon_text", "visible", 0.0);
37185                  }
37186                else
37187                  {
37188                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
37189                     set_state(PART:"padding_icon_text", "icononly", 0.0);
37190                  }
37191             }
37192          }
37193          program { name: "icon_hide";
37194             signal: "elm,state,icon,hidden";
37195             source: "elm";
37196             action:  STATE_SET "default" 0.0;
37197             target: "elm.swallow.icon";
37198          }
37199       }
37200 #undef SEGMENT_TYPE_SINGLE
37201 #undef SEGMENT_TYPE_LEFT
37202 #undef SEGMENT_TYPE_MIDDLE
37203 #undef SEGMENT_TYPE_RIGHT
37204 #undef SEGMENT_STATE_NORMAL
37205 #undef SEGMENT_STATE_PRESSED
37206 #undef SEGMENT_STATE_SELECTED
37207 #undef SEGMENT_STATUS_ENABLED
37208 #undef SEGMENT_STATUS_DISABLED
37209    }
37210
37211    /* a simple title layout, with a label and two icons */
37212    group { name: "elm/layout/application/titlebar";
37213       images {
37214          image: "toolbar_sel.png" COMP;
37215       }
37216       parts {
37217          part { name: "base";
37218             mouse_events: 0;
37219             scale: 1;
37220             description { state: "default" 0.0;
37221                min: 0 33;
37222                max: 99999 33;
37223                align: 0.5 0.0;
37224                rel1.offset: -1 0;
37225                rel2.offset: 1 0;
37226                image {
37227                   normal: "toolbar_sel.png";
37228                   border: 3 3 0 0;
37229                }
37230             }
37231          }
37232          part { name: "elm.swallow.content";
37233             type: SWALLOW;
37234             description { state: "default" 0.0;
37235                visible: 1;
37236                rel1 {
37237                   to: "base";
37238                   relative: 0.0 1.0;
37239                }
37240             }
37241          }
37242          part { name: "elm.swallow.icon";
37243             type: SWALLOW;
37244             scale: 1;
37245             description { state: "default" 0.0;
37246                visible: 0;
37247                fixed: 1 1;
37248                align: 0.0 0.0;
37249                rel1 {
37250                   to: "base";
37251                   relative: 0.0 0.0;
37252                   offset: 4 0;
37253                }
37254                rel2 {
37255                   to: "base";
37256                   relative: 0.0 1.0;
37257                }
37258             }
37259             description { state: "visible" 0.0;
37260                inherit: "default" 0.0;
37261                visible: 1;
37262             }
37263          }
37264          part { name: "elm.swallow.end";
37265             type: SWALLOW;
37266             scale: 1;
37267             description { state: "default" 0.0;
37268                visible: 0;
37269                fixed: 1 1;
37270                align: 1.0 0.0;
37271                rel1 {
37272                   to: "base";
37273                   relative: 1.0 0.0;
37274                   offset: 0 0;
37275                }
37276                rel2 {
37277                   to: "base";
37278                   relative: 1.0 1.0;
37279                   offset: -5 -1;
37280                }
37281             }
37282             description { state: "visible" 0.0;
37283                inherit: "default" 0.0;
37284                visible: 1;
37285             }
37286          }
37287          part { name: "elm.text";
37288             type: TEXT;
37289             effect: SOFT_SHADOW;
37290             mouse_events: 0;
37291             scale: 1;
37292             description { state: "default" 0.0;
37293                fixed: 1 1;
37294                rel1 {
37295                   to_x: "elm.swallow.icon";
37296                   to_y: "base";
37297                   relative: 1.0 0.0;
37298                }
37299                rel2 {
37300                   to_x: "elm.swallow.end";
37301                   to_y: "base";
37302                   relative: 0.0 1.0;
37303                }
37304                text {
37305                   font: "Sans";
37306                   size: 12;
37307                   min: 0 0;
37308                   align: 0.5 0.5;
37309                   text_class: "title_bar";
37310                }
37311             }
37312          }
37313       }
37314       programs {
37315          program { name: "show_icon";
37316             signal: "elm,state,icon,visible";
37317             source: "elm";
37318             action: STATE_SET "visible" 0.0;
37319             target: "elm.swallow.icon";
37320          }
37321          program { name: "hide_icon";
37322             signal: "elm,state,icon,hidden";
37323             source: "elm";
37324             action: STATE_SET "default" 0.0;
37325             target: "elm.swallow.icon";
37326          }
37327          program { name: "show_end";
37328             signal: "elm,state,end,visible";
37329             source: "elm";
37330             action: STATE_SET "visible" 0.0;
37331             target: "elm.swallow.end";
37332          }
37333          program { name: "hide_end";
37334             signal: "elm,state,end,hidden";
37335             source: "elm";
37336             action: STATE_SET "default" 0.0;
37337             target: "elm.swallow.end";
37338          }
37339       }
37340    }
37341 }
37342
37343
37344
37345