elementary: fix slideshow transition, clip on image doesn't work today :P
[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 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: 0 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base/marker";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       styles {
1444          style { name: "textblock_style2";
1445            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1446            tag:  "br" "\n";
1447            tag:  "ps" "ps";
1448            tag:  "hilight" "+ color=#ffff";
1449            tag:  "b" "+ color=#ffff";
1450            tag:  "tab" "\t";
1451          }
1452       }
1453       parts {
1454          part { name: "label.swallow.background";
1455             type: SWALLOW;
1456             description { state: "default" 0.0;
1457                visible: 1;
1458                rel1 { relative: 0 0; to: "elm.text"; }
1459                rel2 { relative: 1 1; to: "elm.text"; }
1460             }
1461          }
1462          part { name: "elm.text";
1463             type: TEXTBLOCK;
1464             mouse_events: 0;
1465             scale: 1;
1466             description { state: "default" 0.0;
1467                text {
1468                   style: "textblock_style2";
1469                   min: 1 1;
1470                }
1471             }
1472          }
1473       }
1474    }
1475
1476    group { name: "elm/label/base/slide_long";
1477       data.item: "default_font_size" "10";
1478       data.item: "min_font_size" "6";
1479       data.item: "max_font_size" "60";
1480
1481       script {
1482         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1483
1484         public message(Msg_Type:type, id, ...) {
1485            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1486               new Float:duration;
1487               duration = getfarg(2);
1488               set_float(g_duration, duration);
1489            }
1490         }
1491         public slide_to_end_anim(val, Float:pos) {
1492            new stopflag;
1493            new id;
1494            stopflag = get_int(g_stopslide);
1495            if (stopflag == 1) return;
1496            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1497            if (pos >= 1.0) {
1498               id = timer(0.5, "slide_to_begin", 1);
1499               set_int(g_timer_id, id);
1500            }
1501         }
1502         public slide_to_end() {
1503            new stopflag;
1504            new id;
1505            new Float:duration;
1506            stopflag = get_int(g_stopslide);
1507            if (stopflag == 1) return;
1508            duration = get_float(g_duration);
1509            id = anim(duration, "slide_to_end_anim", 1);
1510            set_int(g_anim_id, id);
1511         }
1512         public slide_to_begin() {
1513            new stopflag;
1514            new id;
1515            stopflag = get_int(g_stopslide);
1516            if (stopflag == 1) return;
1517            set_state(PART:"elm.text", "slide_begin", 0.0);
1518            id = timer(0.5, "slide_to_end", 1);
1519            set_int(g_timer_id, id);
1520         }
1521         public start_slide() {
1522            set_int(g_stopslide, 0);
1523            set_state(PART:"elm.text", "slide_begin", 0.0);
1524            slide_to_end();
1525         }
1526         public stop_slide() {
1527            new id;
1528            set_int(g_stopslide, 1);
1529            id = get_int(g_anim_id);
1530            cancel_anim(id);
1531            id = get_int(g_timer_id);
1532            cancel_timer(id);
1533            set_state(PART:"elm.text", "default", 0.0);
1534         }
1535       }
1536
1537       parts {
1538          part { name: "label.swallow.background";
1539             type: SWALLOW;
1540             description { state: "default" 0.0;
1541                visible: 1;
1542             }
1543          }
1544          part { name: "label.text.clip";
1545             type: RECT;
1546             description { state: "default" 0.0;
1547                visible: 1;
1548                color: 255 255 255 255;
1549                rel1 { relative: 0 0; to: "label.swallow.background"; }
1550                rel2 { relative: 1 1; to: "label.swallow.background"; }
1551             }
1552          }
1553          part { name: "elm.text";
1554             type: TEXTBLOCK;
1555             mouse_events: 0;
1556             scale: 1;
1557             clip_to: "label.text.clip";
1558             description { state: "default" 0.0;
1559                rel1.relative: 0.0 0.0;
1560                rel2.relative: 1.0 1.0;
1561                align: 0.0 0.0;
1562                text {
1563                   style: "textblock_style";
1564                   min: 1 1;
1565                }
1566             }
1567             description { state: "slide_end" 0.0;
1568                inherit: "default" 0.0;
1569                rel1.relative: 0.0 0.0;
1570                rel2.relative: 0.0 1.0;
1571                align: 1.0 0.0;
1572             }
1573             description { state: "slide_begin" 0.0;
1574                inherit: "default" 0.0;
1575                rel1.relative: 1.0 0.0;
1576                rel2.relative: 1.0 1.0;
1577                align: 0.0 0.0;
1578             }
1579          }
1580        }
1581        programs {
1582           program { name: "start_slide";
1583              source: "elm";
1584              signal: "elm,state,slide,start";
1585              script
1586                {
1587                   start_slide();
1588                }
1589           }
1590           program { name: "stop_slide";
1591              source: "elm";
1592              signal: "elm,state,slide,stop";
1593              script
1594                {
1595                   stop_slide();
1596                }
1597           }
1598        }
1599    }
1600
1601
1602    group { name: "elm/label/base/slide_short";
1603       data.item: "default_font_size" "10";
1604       data.item: "min_font_size" "6";
1605       data.item: "max_font_size" "60";
1606
1607       script {
1608          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1609
1610          public message(Msg_Type:type, id, ...) {
1611             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1612                new Float:duration;
1613                duration = getfarg(2);
1614                set_float(g_duration, duration);
1615             }
1616          }
1617          public slide_to_end_anim(val, Float:pos) {
1618             new stopflag;
1619             new id;
1620             stopflag = get_int(g_stopslide);
1621             if (stopflag == 1) return;
1622             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1623             if (pos >= 1.0) {
1624                id = timer(0.5, "slide_to_begin", 1);
1625                set_int(g_timer_id, id);
1626             }
1627          }
1628          public slide_to_end() {
1629             new stopflag;
1630             new id;
1631             new Float:duration;
1632             stopflag = get_int(g_stopslide);
1633             if (stopflag == 1) return;
1634             duration = get_float(g_duration);
1635             id = anim(duration, "slide_to_end_anim", 1);
1636             set_int(g_anim_id, id);
1637          }
1638          public slide_to_begin() {
1639             new stopflag;
1640             new id;
1641             stopflag = get_int(g_stopslide);
1642             if (stopflag == 1) return;
1643             set_state(PART:"elm.text", "slide_begin", 0.0);
1644             id = timer(0.5, "slide_to_end", 1);
1645             set_int(g_timer_id, id);
1646          }
1647          public start_slide() {
1648             set_int(g_stopslide, 0);
1649             set_state(PART:"elm.text", "slide_begin", 0.0);
1650             slide_to_end();
1651          }
1652          public stop_slide() {
1653             new id;
1654             set_int(g_stopslide, 1);
1655             id = get_int(g_anim_id);
1656             cancel_anim(id);
1657             id = get_int(g_timer_id);
1658             cancel_timer(id);
1659             set_state(PART:"elm.text", "default", 0.0);
1660          }
1661       }
1662
1663       parts {
1664          part { name: "label.swallow.background";
1665             type: SWALLOW;
1666             description { state: "default" 0.0;
1667                visible: 1;
1668             }
1669          }
1670          part { name: "label.text.clip";
1671             type: RECT;
1672             description { state: "default" 0.0;
1673                visible: 1;
1674                color: 255 255 255 255;
1675                rel1 { relative: 0 0; to: "label.swallow.background"; }
1676                rel2 { relative: 1 1; to: "label.swallow.background"; }
1677             }
1678          }
1679          part { name: "elm.text";
1680             type: TEXTBLOCK;
1681             mouse_events: 0;
1682             scale: 1;
1683             clip_to: "label.text.clip";
1684             description { state: "default" 0.0;
1685                rel1.relative: 0.0 0.0;
1686                rel2.relative: 1.0 1.0;
1687                align: 0.0 0.0;
1688                text {
1689                   style: "textblock_style";
1690                   min: 1 1;
1691                }
1692             }
1693             description { state: "slide_end" 0.0;
1694                inherit: "default" 0.0;
1695                rel1.relative: 1.0 0.0;
1696                rel2.relative: 1.0 1.0;
1697                align: 1.0 0.0;
1698             }
1699             description { state: "slide_begin" 0.0;
1700                inherit: "default" 0.0;
1701                rel1.relative: 0.0 0.0;
1702                rel2.relative: 0.0 1.0;
1703                align: 0.0 0.0;
1704             }
1705          }
1706       }
1707       programs {
1708          program { name: "start_slide";
1709             source: "elm";
1710             signal: "elm,state,slide,start";
1711             script
1712               {
1713                  start_slide();
1714               }
1715          }
1716          program { name: "stop_slide";
1717             source: "elm";
1718             signal: "elm,state,slide,stop";
1719             script
1720               {
1721                  stop_slide();
1722               }
1723          }
1724       }
1725    }
1726
1727    group { name: "elm/label/base/slide_bounce";
1728       data.item: "default_font_size" "10";
1729       data.item: "min_font_size" "6";
1730       data.item: "max_font_size" "60";
1731
1732       script {
1733          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1734
1735          public message(Msg_Type:type, id, ...) {
1736             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1737                new Float:duration;
1738                duration = getfarg(2);
1739                set_float(g_duration, duration);
1740             }
1741          }
1742          public slide_to_end_anim(val, Float:pos) {
1743             new stopflag;
1744             new id;
1745             stopflag = get_int(g_stopslide);
1746             if (stopflag == 1) return;
1747             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1748             if (pos >= 1.0) {
1749                id = timer(0.5, "slide_to_begin", 1);
1750                set_int(g_timer_id, id);
1751             }
1752          }
1753          public slide_to_end() {
1754             new stopflag;
1755             new id;
1756             new Float:duration;
1757             stopflag = get_int(g_stopslide);
1758             if (stopflag == 1) return;
1759             duration = get_float(g_duration);
1760             id = anim(duration, "slide_to_end_anim", 1);
1761             set_int(g_anim_id, id);
1762          }
1763          public slide_to_begin_anim(val, Float:pos) {
1764             new stopflag;
1765             new id;
1766             stopflag = get_int(g_stopslide);
1767             if (stopflag == 1) return;
1768             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1769             if (pos >= 1.0) {
1770                id = timer(0.5, "slide_to_end", 1);
1771                set_int(g_timer_id, id);
1772             }
1773          }
1774          public slide_to_begin() {
1775             new stopflag;
1776             new id;
1777             new Float:duration;
1778             stopflag = get_int(g_stopslide);
1779             if (stopflag == 1) return;
1780             duration = get_float(g_duration);
1781             id = anim(duration, "slide_to_begin_anim", 1);
1782             set_int(g_anim_id, id);
1783          }
1784          public start_slide() {
1785             set_int(g_stopslide, 0);
1786             set_state(PART:"elm.text", "slide_begin", 0.0);
1787             slide_to_end();
1788          }
1789          public stop_slide() {
1790             new id;
1791             set_int(g_stopslide, 1);
1792             id = get_int(g_anim_id);
1793             cancel_anim(id);
1794             id = get_int(g_timer_id);
1795             cancel_timer(id);
1796             set_state(PART:"elm.text", "default", 0.0);
1797          }
1798       }
1799
1800       parts {
1801          part { name: "label.swallow.background";
1802             type: SWALLOW;
1803             description { state: "default" 0.0;
1804                visible: 1;
1805             }
1806          }
1807          part { name: "label.text.clip";
1808             type: RECT;
1809             description { state: "default" 0.0;
1810                visible: 1;
1811                color: 255 255 255 255;
1812                rel1 { relative: 0 0; to: "label.swallow.background"; }
1813                rel2 { relative: 1 1; to: "label.swallow.background"; }
1814             }
1815          }
1816          part { name: "elm.text";
1817             type: TEXTBLOCK;
1818             mouse_events: 0;
1819             scale: 1;
1820             clip_to: "label.text.clip";
1821             description { state: "default" 0.0;
1822                rel1.relative: 0.0 0.0;
1823                rel2.relative: 1.0 1.0;
1824                align: 0.0 0.0;
1825                text {
1826                   style: "textblock_style";
1827                   min: 1 1;
1828                }
1829             }
1830             description { state: "slide_end" 0.0;
1831                inherit: "default" 0.0;
1832                rel1.relative: 1.0 0.0;
1833                rel2.relative: 1.0 1.0;
1834                align: 1.0 0.0;
1835             }
1836             description { state: "slide_begin" 0.0;
1837                inherit: "default" 0.0;
1838                rel1.relative: 0.0 0.0;
1839                rel2.relative: 0.0 1.0;
1840                align: 0.0 0.0;
1841             }
1842          }
1843       }
1844       programs {
1845          program { name: "start_slide";
1846             source: "elm";
1847             signal: "elm,state,slide,start";
1848             script
1849               {
1850                  start_slide();
1851               }
1852          }
1853          program { name: "stop_slide";
1854             source: "elm";
1855             signal: "elm,state,slide,stop";
1856             script
1857               {
1858                  stop_slide();
1859               }
1860          }
1861       }
1862    }
1863
1864
1865 ///////////////////////////////////////////////////////////////////////////////
1866
1867    group { name: "elm/button/base/default";
1868       images {
1869          image: "bt_base1.png" COMP;
1870          image: "bt_base2.png" COMP;
1871          image: "bt_hilight.png" COMP;
1872          image: "bt_shine.png" COMP;
1873          image: "bt_glow.png" COMP;
1874          image: "bt_dis_base.png" COMP;
1875          image: "bt_dis_hilight.png" COMP;
1876       }
1877       parts {
1878          part { name: "button_image";
1879             mouse_events: 1;
1880             description { state: "default" 0.0;
1881                min: 15 15;
1882                image {
1883                   normal: "bt_base2.png";
1884                   border: 7 7 7 7;
1885                }
1886                image.middle: SOLID;
1887             }
1888             description { state: "clicked" 0.0;
1889                inherit: "default" 0.0;
1890                image.normal: "bt_base1.png";
1891             }
1892             description { state: "disabled" 0.0;
1893                inherit:  "default" 0.0;
1894                image {
1895                   normal: "bt_dis_base.png";
1896                   border: 4 4 4 4;
1897                }
1898             }
1899          }
1900          part { name: "elm.swallow.content";
1901             type: SWALLOW;
1902             description { state: "default" 0.0;
1903                fixed: 1 0;
1904                visible: 0;
1905                align: 0.0 0.5;
1906                rel1.offset: 4 4;
1907                rel2.offset: 3 -5;
1908                rel2.relative: 0.0 1.0;
1909             }
1910             description { state: "visible" 0.0;
1911                inherit: "default" 0.0;
1912                fixed: 1 0;
1913                visible: 1;
1914                aspect: 1.0 1.0;
1915 //               aspect_preference: VERTICAL;
1916                rel2.offset: 4 -5;
1917             }
1918             description { state: "icononly" 0.0;
1919                inherit: "default" 0.0;
1920                fixed: 0 0;
1921                visible: 1;
1922                align: 0.5 0.5;
1923 //               aspect: 1.0 1.0;
1924                rel2.offset: -5 -5;
1925                rel2.relative: 1.0 1.0;
1926 //               aspect_preference: VERTICAL;
1927             }
1928          }
1929          part {
1930             name:          "elm.text";
1931             type:          TEXT;
1932             effect:        SOFT_SHADOW;
1933             mouse_events:  0;
1934             scale: 1;
1935             description { state: "default" 0.0;
1936                visible: 0;
1937                rel1.to_x: "elm.swallow.content";
1938                rel1.relative: 1.0 0.0;
1939                rel1.offset: 0 4;
1940                rel2.offset: -5 -5;
1941                color: 224 224 224 255;
1942                color3: 0 0 0 64;
1943                text {
1944                   font:     "Sans,Edje-Vera";
1945                   size:     10;
1946                   min:      0 0;
1947                   align:    0.5 0.5;
1948                   text_class: "button";
1949                }
1950             }
1951             description { state: "visible" 0.0;
1952                inherit: "default" 0.0;
1953                visible: 1;
1954                text.min: 1 1;
1955             }
1956             description { state: "disabled" 0.0;
1957                inherit: "default" 0.0;
1958                color: 0 0 0 128;
1959                color3: 0 0 0 0;
1960             }
1961             description { state: "disabled_visible" 0.0;
1962                inherit: "default" 0.0;
1963                color: 0 0 0 128;
1964                color3: 0 0 0 0;
1965                visible: 1;
1966                text.min: 1 1;
1967             }
1968          }
1969          part {          name: "over1";
1970             mouse_events: 0;
1971             description { state: "default" 0.0;
1972                rel2.relative: 1.0 0.5;
1973                image {
1974                   normal: "bt_hilight.png";
1975                   border: 7 7 7 0;
1976                }
1977             }
1978             description { state: "disabled" 0.0;
1979                inherit:  "default" 0.0;
1980                image {
1981                   normal: "bt_dis_hilight.png";
1982                   border: 4 4 4 0;
1983                }
1984             }
1985          }
1986          part { name: "over2";
1987             mouse_events: 1;
1988             repeat_events: 1;
1989             ignore_flags: ON_HOLD;
1990             description { state: "default" 0.0;
1991                image {
1992                   normal: "bt_shine.png";
1993                   border: 7 7 7 7;
1994                }
1995             }
1996             description { state: "disabled" 0.0;
1997                inherit:  "default" 0.0;
1998                visible: 0;
1999             }
2000          }
2001          part { name: "over3";
2002             mouse_events: 1;
2003             repeat_events: 1;
2004             description { state: "default" 0.0;
2005                color: 255 255 255 0;
2006                image {
2007                   normal: "bt_glow.png";
2008                   border: 12 12 12 12;
2009                }
2010                fill.smooth : 0;
2011             }
2012             description { state: "clicked" 0.0;
2013                inherit:  "default" 0.0;
2014                color: 255 255 255 255;
2015             }
2016          }
2017           part { name: "disabler";
2018             type: RECT;
2019             description { state: "default" 0.0;
2020                color: 0 0 0 0;
2021                visible: 0;
2022             }
2023             description { state: "disabled" 0.0;
2024                inherit: "default" 0.0;
2025                visible: 1;
2026             }
2027          }
2028       }
2029       programs {
2030          program {
2031             name:   "button_click";
2032             signal: "mouse,down,1";
2033             source: "over2";
2034             action: SIGNAL_EMIT "elm,action,press" "";
2035             after: "button_click_anim";
2036          }
2037          program {
2038             name:   "button_click_anim";
2039             action: STATE_SET "clicked" 0.0;
2040             target: "button_image";
2041          }
2042          program {
2043             name:   "button_unclick";
2044             signal: "mouse,up,1";
2045             source: "over3";
2046             action: SIGNAL_EMIT "elm,action,unpress" "";
2047             after: "button_unclick_anim";
2048          }
2049          program {
2050             name:   "button_pressed_anim";
2051             signal: "elm,anim,activate";
2052             source: "elm";
2053             action: STATE_SET "clicked" 0.0;
2054             target: "button_image";
2055             target: "over3";
2056             after: "button_unpressed_anim";
2057          }
2058          program {
2059             name:   "button_unpressed_anim";
2060             action: STATE_SET "default" 0.0;
2061             transition: DECELERATE 0.5;
2062             target: "button_image";
2063             target: "over3";
2064          }
2065          program {
2066             name:   "button_unclick_anim";
2067             action: STATE_SET "default" 0.0;
2068             target: "button_image";
2069          }
2070          program {
2071             name:   "button_click2";
2072             signal: "mouse,down,1";
2073             source: "over3";
2074             action: STATE_SET "clicked" 0.0;
2075             target: "over3";
2076          }
2077          program {
2078             name:   "button_unclick2";
2079             signal: "mouse,up,1";
2080             source: "over3";
2081             action: STATE_SET "default" 0.0;
2082             transition: DECELERATE 0.5;
2083             target: "over3";
2084          }
2085          program {
2086             name:   "button_unclick3";
2087             signal: "mouse,clicked,1";
2088             source: "over2";
2089             action: SIGNAL_EMIT "elm,action,click" "";
2090          }
2091          program { name: "text_show";
2092             signal: "elm,state,text,visible";
2093             source: "elm";
2094             script {
2095                new st[31];
2096                new Float:vl;
2097                get_state(PART:"elm.swallow.content", st, 30, vl);
2098                if (!strcmp(st, "icononly"))
2099                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2100                set_state(PART:"elm.text", "visible", 0.0);
2101             }
2102          }
2103          program { name: "text_hide";
2104             signal: "elm,state,text,hidden";
2105             source: "elm";
2106             script {
2107                new st[31];
2108                new Float:vl;
2109                get_state(PART:"elm.swallow.content", st, 30, vl);
2110                if (!strcmp(st, "visible"))
2111                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2112                set_state(PART:"elm.text", "default", 0.0);
2113             }
2114          }
2115          program { name: "icon_show";
2116             signal: "elm,state,icon,visible";
2117             source: "elm";
2118             script {
2119                new st[31];
2120                new Float:vl;
2121                get_state(PART:"elm.text", st, 30, vl);
2122                if (!strcmp(st, "visible"))
2123                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2124                else
2125                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2126             }
2127          }
2128          program { name: "icon_hide";
2129             signal: "elm,state,icon,hidden";
2130             source: "elm";
2131             action:  STATE_SET "default" 0.0;
2132             target: "elm.swallow.content";
2133          }
2134          program { name: "disable";
2135             signal: "elm,state,disabled";
2136             source: "elm";
2137             action: STATE_SET "disabled" 0.0;
2138             target: "button_image";
2139             target: "over1";
2140             target: "over2";
2141             target: "disabler";
2142             after: "disable_text";
2143          }
2144          program { name: "disable_text";
2145             script {
2146                new st[31];
2147                new Float:vl;
2148                get_state(PART:"elm.text", st, 30, vl);
2149                if (!strcmp(st, "visible"))
2150                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2151                else
2152                  set_state(PART:"elm.text", "disabled", 0.0);
2153             }
2154          }
2155          program { name: "enable";
2156             signal: "elm,state,enabled";
2157             source: "elm";
2158             action: STATE_SET "default" 0.0;
2159             target: "button_image";
2160             target: "over1";
2161             target: "over2";
2162             target: "disabler";
2163             after: "enable_text";
2164          }
2165          program { name: "enable_text";
2166             script {
2167                new st[31];
2168                new Float:vl;
2169                get_state(PART:"elm.text", st, 30, vl);
2170                if (!strcmp(st, "disabled_visible"))
2171                  set_state(PART:"elm.text", "visible", 0.0);
2172                else
2173                  set_state(PART:"elm.text", "default", 0.0);
2174             }
2175          }
2176       }
2177    }
2178
2179    group { name: "elm/button/base/hoversel_vertical/default";
2180       alias: "elm/button/base/hoversel_vertical/entry";
2181       alias: "elm/button/base/hoversel_horizontal/default";
2182       alias: "elm/button/base/hoversel_horizontal/entry";
2183       images {
2184          image: "bt_base1.png" COMP;
2185          image: "bt_base2.png" COMP;
2186          image: "bt_hilight.png" COMP;
2187          image: "bt_shine.png" COMP;
2188          image: "bt_glow.png" COMP;
2189          image: "updown.png" COMP;
2190          image: "bt_dis_base.png" COMP;
2191          image: "bt_dis_hilight.png" COMP;
2192       }
2193       parts {
2194          part { name: "button_image";
2195             mouse_events: 1;
2196             description { state: "default" 0.0;
2197                image {
2198                   normal: "bt_base2.png";
2199                   border: 7 7 7 7;
2200                }
2201                image.middle: SOLID;
2202             }
2203             description { state: "clicked" 0.0;
2204                inherit: "default" 0.0;
2205                image.normal: "bt_base1.png";
2206                image.middle: SOLID;
2207             }
2208             description { state: "disabled" 0.0;
2209                inherit:  "default" 0.0;
2210                image {
2211                   normal: "bt_dis_base.png";
2212                   border: 4 4 4 4;
2213                }
2214             }
2215          }
2216          part { name: "arrow";
2217             mouse_events: 0;
2218             description { state: "default" 0.0;
2219                image.normal: "updown.png";
2220                aspect: 0.6666666666 0.6666666666;
2221                aspect_preference: VERTICAL;
2222                rel1.offset: 6 7;
2223                rel2.offset: 6 -7;
2224                rel2.relative: 0.0 1.0;
2225                align: 0.0 0.5;
2226             }
2227          }
2228          part { name: "elm.swallow.content";
2229             type: SWALLOW;
2230             description { state: "default" 0.0;
2231                fixed: 1 0;
2232                visible: 0;
2233                align: 0.0 0.5;
2234                rel1 {
2235                   to_x: "arrow";
2236                   offset: 2 4;
2237                   relative: 1.0 0.0;
2238                }
2239                rel2 {
2240                   to_x: "arrow";
2241                   offset: 1 -5;
2242                   relative: 1.0 1.0;
2243                }
2244             }
2245             description { state: "visible" 0.0;
2246                inherit: "default" 0.0;
2247                fixed: 0 0;
2248                visible: 1;
2249                aspect: 1.0 1.0;
2250                aspect_preference: VERTICAL;
2251                rel2.offset: 2 -5;
2252             }
2253             description { state: "icononly" 0.0;
2254                inherit: "default" 0.0;
2255                fixed: 0 0;
2256                visible: 1;
2257                align: 0.5 0.5;
2258                aspect: 1.0 1.0;
2259                rel1 {
2260                   to_x: "button_image";
2261                   offset: -5 -5;
2262                   relative: 1.0 1.0;
2263                }
2264                aspect_preference: VERTICAL;
2265             }
2266          }
2267          part {
2268             name:          "elm.text";
2269             type:          TEXT;
2270             effect:        SOFT_SHADOW;
2271             mouse_events:  0;
2272             scale: 1;
2273             description { state: "default" 0.0;
2274                visible: 0;
2275                rel1.to_x: "elm.swallow.content";
2276                rel1.relative: 1.0 0.0;
2277                rel1.offset: 0 4;
2278                rel2.offset: -5 -5;
2279                color: 224 224 224 255;
2280                color3: 0 0 0 64;
2281                text {
2282                   font:     "Sans,Edje-Vera";
2283                   size:     10;
2284                   min:      0 0;
2285                   align:    0.5 0.5;
2286                   text_class: "button";
2287                }
2288             }
2289             description { state: "visible" 0.0;
2290                inherit: "default" 0.0;
2291                visible: 1;
2292                text.min: 1 1;
2293             }
2294             description { state: "disabled" 0.0;
2295                inherit: "default" 0.0;
2296                color: 0 0 0 128;
2297                color3: 0 0 0 0;
2298             }
2299             description { state: "disabled_visible" 0.0;
2300                inherit: "default" 0.0;
2301                color: 0 0 0 128;
2302                color3: 0 0 0 0;
2303                visible: 1;
2304                text.min: 1 1;
2305             }
2306          }
2307          part {          name: "over1";
2308             mouse_events: 0;
2309             description { state: "default" 0.0;
2310                rel2.relative: 1.0 0.5;
2311                image {
2312                   normal: "bt_hilight.png";
2313                   border: 7 7 7 0;
2314                }
2315             }
2316             description { state: "disabled" 0.0;
2317                inherit:  "default" 0.0;
2318                image {
2319                   normal: "bt_dis_hilight.png";
2320                   border: 4 4 4 0;
2321                }
2322             }
2323          }
2324          part { name: "over2";
2325             mouse_events: 1;
2326             repeat_events: 1;
2327             ignore_flags: ON_HOLD;
2328             description { state: "default" 0.0;
2329                image {
2330                   normal: "bt_shine.png";
2331                   border: 7 7 7 7;
2332                }
2333             }
2334             description { state: "disabled" 0.0;
2335                inherit:  "default" 0.0;
2336                visible: 0;
2337             }
2338          }
2339          part { name: "over3";
2340             mouse_events: 1;
2341             repeat_events: 1;
2342             description { state: "default" 0.0;
2343                color: 255 255 255 0;
2344                image {
2345                   normal: "bt_glow.png";
2346                   border: 12 12 12 12;
2347                }
2348                fill.smooth : 0;
2349             }
2350             description { state: "clicked" 0.0;
2351                inherit:  "default" 0.0;
2352                visible: 1;
2353                color: 255 255 255 255;
2354             }
2355          }
2356           part { name: "disabler";
2357             type: RECT;
2358             description { state: "default" 0.0;
2359                color: 0 0 0 0;
2360                visible: 0;
2361             }
2362             description { state: "disabled" 0.0;
2363                inherit: "default" 0.0;
2364                visible: 1;
2365             }
2366          }
2367       }
2368       programs {
2369          program {
2370             name:   "button_click";
2371             signal: "mouse,down,1";
2372             source: "over2";
2373             action: STATE_SET "clicked" 0.0;
2374             target: "button_image";
2375          }
2376          program {
2377             name:   "button_unclick";
2378             signal: "mouse,up,1";
2379             source: "over2";
2380             action: STATE_SET "default" 0.0;
2381             target: "button_image";
2382          }
2383          program {
2384             name:   "button_click2";
2385             signal: "mouse,down,1";
2386             source: "over3";
2387             action: STATE_SET "clicked" 0.0;
2388             target: "over3";
2389          }
2390          program {
2391             name:   "button_unclick2";
2392             signal: "mouse,up,1";
2393             source: "over3";
2394             action: STATE_SET "default" 0.0;
2395             transition: DECELERATE 0.5;
2396             target: "over3";
2397          }
2398          program {
2399             name:   "button_unclick3";
2400             signal: "mouse,up,1";
2401             source: "over2";
2402             action: SIGNAL_EMIT "elm,action,click" "";
2403          }
2404          program { name: "text_show";
2405             signal: "elm,state,text,visible";
2406             source: "elm";
2407             script {
2408                new st[31];
2409                new Float:vl;
2410                get_state(PART:"elm.swallow.content", st, 30, vl);
2411                if (!strcmp(st, "icononly"))
2412                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2413                set_state(PART:"elm.text", "visible", 0.0);
2414             }
2415          }
2416          program { name: "text_hide";
2417             signal: "elm,state,text,hidden";
2418             source: "elm";
2419             script {
2420                new st[31];
2421                new Float:vl;
2422                get_state(PART:"elm.swallow.content", st, 30, vl);
2423                if (!strcmp(st, "visible"))
2424                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2425                set_state(PART:"elm.text", "default", 0.0);
2426             }
2427          }
2428          program { name: "icon_show";
2429             signal: "elm,state,icon,visible";
2430             source: "elm";
2431             script {
2432                new st[31];
2433                new Float:vl;
2434                get_state(PART:"elm.text", st, 30, vl);
2435                if (!strcmp(st, "visible"))
2436                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2437                else
2438                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2439             }
2440          }
2441          program { name: "icon_hide";
2442             signal: "elm,state,icon,hidden";
2443             source: "elm";
2444             action:  STATE_SET "default" 0.0;
2445             target: "elm.swallow.content";
2446          }
2447          program { name: "disable";
2448             signal: "elm,state,disabled";
2449             source: "elm";
2450             action: STATE_SET "disabled" 0.0;
2451             target: "button_image";
2452             target: "over1";
2453             target: "over2";
2454             target: "disabler";
2455             after: "disable_text";
2456          }
2457          program { name: "disable_text";
2458             script {
2459                new st[31];
2460                new Float:vl;
2461                get_state(PART:"elm.text", st, 30, vl);
2462                if (!strcmp(st, "visible"))
2463                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2464                else
2465                  set_state(PART:"elm.text", "disabled", 0.0);
2466             }
2467          }
2468          program { name: "enable";
2469             signal: "elm,state,enabled";
2470             source: "elm";
2471             action: STATE_SET "default" 0.0;
2472             target: "button_image";
2473             target: "over1";
2474             target: "over2";
2475             target: "disabler";
2476             after: "enable_text";
2477          }
2478          program { name: "enable_text";
2479             script {
2480                new st[31];
2481                new Float:vl;
2482                get_state(PART:"elm.text", st, 30, vl);
2483                if (!strcmp(st, "disabled_visible"))
2484                  set_state(PART:"elm.text", "visible", 0.0);
2485                else
2486                  set_state(PART:"elm.text", "default", 0.0);
2487             }
2488          }
2489       }
2490    }
2491
2492    group { name: "elm/button/base/hoversel_vertical_entry/default";
2493       alias: "elm/button/base/hoversel_vertical_entry/entry";
2494       alias: "elm/button/base/hoversel_horizontal_entry/default";
2495       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2496       images {
2497          image: "hoversel_entry_bg.png" COMP;
2498       }
2499       parts {
2500          part { name: "button_image";
2501             mouse_events: 1;
2502             description { state: "default" 0.0;
2503                color: 255 255 255 0;
2504                image.normal: "hoversel_entry_bg.png";
2505                image.border: 0 0 2 2;
2506                fill.smooth: 0;
2507             }
2508             description { state: "clicked" 0.0;
2509                inherit: "default" 0.0;
2510                color: 255 255 255 255;
2511             }
2512          }
2513          part { name: "elm.swallow.content";
2514             type: SWALLOW;
2515             description { state: "default" 0.0;
2516                visible: 0;
2517                align: 0.0 0.5;
2518                rel1.offset: 4 4;
2519                rel2.offset: 3 -5;
2520                rel2.relative: 0.0 1.0;
2521             }
2522             description { state: "visible" 0.0;
2523                inherit: "default" 0.0;
2524                visible: 1;
2525                aspect: 1.0 1.0;
2526                aspect_preference: VERTICAL;
2527                rel2.offset: 4 -5;
2528             }
2529             description { state: "icononly" 0.0;
2530                inherit: "default" 0.0;
2531                visible: 1;
2532                align: 0.5 0.5;
2533                aspect: 1.0 1.0;
2534                rel2.offset: -5 -5;
2535                rel2.relative: 1.0 1.0;
2536                aspect_preference: VERTICAL;
2537             }
2538          }
2539          part { name: "textvis";
2540             type: RECT;
2541             mouse_events: 0;
2542             description { state: "default" 0.0;
2543                visible: 0;
2544             }
2545             description { state: "visible" 0.0;
2546                visible: 1;
2547             }
2548          }
2549          part {
2550             name:          "elm.text";
2551             type:          TEXT;
2552             effect:        SOFT_SHADOW;
2553             mouse_events:  0;
2554             scale: 1;
2555             clip_to:       "textvis";
2556             description { state: "default" 0.0;
2557                rel1.to_x: "elm.swallow.content";
2558                rel1.relative: 1.0 0.0;
2559                rel1.offset: 0 4;
2560                rel2.offset: -5 -5;
2561                color: 224 224 224 255;
2562                color3: 0 0 0 64;
2563                text {
2564                   font:     "Sans,Edje-Vera";
2565                   size:     10;
2566                   min:      0 0;
2567                   align:    0.5 0.5;
2568                   text_class: "button";
2569                }
2570             }
2571             description { state: "visible" 0.0;
2572                inherit: "default" 0.0;
2573                text.min: 1 1;
2574             }
2575             description { state: "clicked" 0.0;
2576                inherit: "default" 0.0;
2577                text.min: 1 1;
2578                color: 0 0 0 255;
2579                color3: 0 0 0 0;
2580             }
2581          }
2582          part { name: "over2";
2583             type: RECT;
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 0 0 0 0;
2587             }
2588          }
2589       }
2590       programs {
2591          program {
2592             name:   "button_click";
2593             signal: "mouse,down,1";
2594             source: "over2";
2595             action: STATE_SET "clicked" 0.0;
2596             target: "button_image";
2597             target: "elm.text";
2598          }
2599          program {
2600             name:   "button_unclick";
2601             signal: "mouse,up,1";
2602             source: "over2";
2603             action: STATE_SET "default" 0.0;
2604             target: "button_image";
2605             target: "elm.text";
2606          }
2607          program {
2608             name:   "button_unclick3";
2609             signal: "mouse,up,1";
2610             source: "over2";
2611             action: SIGNAL_EMIT "elm,action,click" "";
2612          }
2613          program { name: "text_show";
2614             signal: "elm,state,text,visible";
2615             source: "elm";
2616             script {
2617                new st[31];
2618                new Float:vl;
2619                get_state(PART:"elm.swallow.content", st, 30, vl);
2620                if (!strcmp(st, "icononly"))
2621                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2622                set_state(PART:"textvis", "visible", 0.0);
2623                set_state(PART:"elm.text", "visible", 0.0);
2624             }
2625          }
2626          program { name: "text_hide";
2627             signal: "elm,state,text,hidden";
2628             source: "elm";
2629             script {
2630                new st[31];
2631                new Float:vl;
2632                get_state(PART:"elm.swallow.content", st, 30, vl);
2633                if (!strcmp(st, "visible"))
2634                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2635                set_state(PART:"textvis", "default", 0.0);
2636                set_state(PART:"elm.text", "default", 0.0);
2637             }
2638          }
2639          program { name: "icon_show";
2640             signal: "elm,state,icon,visible";
2641             source: "elm";
2642             script {
2643                new st[31];
2644                new Float:vl;
2645                get_state(PART:"textvis", st, 30, vl);
2646                if (!strcmp(st, "visible"))
2647                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2648                else
2649                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2650             }
2651          }
2652          program { name: "icon_hide";
2653             signal: "elm,state,icon,hidden";
2654             source: "elm";
2655             action:  STATE_SET "default" 0.0;
2656             target: "elm.swallow.content";
2657          }
2658       }
2659    }
2660
2661    group { name: "elm/button/base/anchor";
2662       images {
2663          image: "bt_base1.png" COMP;
2664          image: "bt_base2.png" COMP;
2665          image: "bt_hilight.png" COMP;
2666          image: "bt_shine.png" COMP;
2667          image: "bt_glow.png" COMP;
2668          image: "bt_dis_base.png" COMP;
2669          image: "bt_dis_hilight.png" COMP;
2670       }
2671       parts {
2672          part { name: "button_image";
2673             mouse_events: 1;
2674             description { state: "default" 0.0;
2675           min: 15 15;
2676            color: 255 255 255 0;
2677                image {
2678                   normal: "bt_base2.png";
2679                   border: 7 7 7 7;
2680                }
2681                image.middle: SOLID;
2682             }
2683        description { state: "visible" 0.0;
2684                inherit: "default" 0.0;
2685           color: 255 255 255 255;
2686             }
2687             description { state: "clicked" 0.0;
2688                inherit: "default" 0.0;
2689           inherit: "visible" 0.0;
2690                image.normal: "bt_base1.png";
2691                image.middle: SOLID;
2692             }
2693             description { state: "disabled" 0.0;
2694                inherit:  "default" 0.0;
2695           inherit: "visible" 0.0;
2696                image {
2697                   normal: "bt_dis_base.png";
2698                   border: 4 4 4 4;
2699                }
2700             }
2701          }
2702          part { name: "elm.swallow.content";
2703             type: SWALLOW;
2704             description { state: "default" 0.0;
2705                fixed: 1 0;
2706                visible: 0;
2707                align: 0.0 0.5;
2708                rel1.offset: 4 4;
2709                rel2.offset: 3 -5;
2710                rel2.relative: 0.0 1.0;
2711             }
2712             description { state: "visible" 0.0;
2713                inherit: "default" 0.0;
2714                fixed: 1 0;
2715                visible: 1;
2716                aspect: 1.0 1.0;
2717                aspect_preference: VERTICAL;
2718                rel2.offset: 4 -5;
2719             }
2720             description { state: "icononly" 0.0;
2721                inherit: "default" 0.0;
2722                fixed: 0 0;
2723                visible: 1;
2724                align: 0.5 0.5;
2725                aspect: 1.0 1.0;
2726                rel2.offset: -5 -5;
2727                rel2.relative: 1.0 1.0;
2728                aspect_preference: VERTICAL;
2729             }
2730          }
2731          part {
2732             name:          "elm.text";
2733             type:          TEXT;
2734             effect:        SOFT_SHADOW;
2735             mouse_events:  0;
2736             scale: 1;
2737             description { state: "default" 0.0;
2738                visible: 0;
2739                rel1.to_x: "elm.swallow.content";
2740                rel1.relative: 1.0 0.0;
2741                rel1.offset: 0 4;
2742                rel2.offset: -5 -5;
2743                color: 224 224 224 255;
2744                color3: 0 0 0 64;
2745                text {
2746                   font:     "Sans,Edje-Vera";
2747                   size:     10;
2748                   min:      0 0;
2749                   align:    0.5 0.5;
2750                   text_class: "button";
2751                }
2752             }
2753             description { state: "visible" 0.0;
2754                inherit: "default" 0.0;
2755                visible: 1;
2756                text.min: 1 1;
2757             }
2758             description { state: "disabled" 0.0;
2759                inherit: "default" 0.0;
2760                color: 0 0 0 128;
2761                color3: 0 0 0 0;
2762             }
2763             description { state: "disabled_visible" 0.0;
2764                inherit: "default" 0.0;
2765                color: 0 0 0 128;
2766                color3: 0 0 0 0;
2767                visible: 1;
2768                text.min: 1 1;
2769             }
2770          }
2771          part {          name: "over1";
2772             mouse_events: 0;
2773             description { state: "default" 0.0;
2774            color: 255 255 255 0;
2775                rel2.relative: 1.0 0.5;
2776                image {
2777                   normal: "bt_hilight.png";
2778                   border: 7 7 7 0;
2779                }
2780             }
2781        description { state: "visible" 0.0;
2782                inherit:  "default" 0.0;
2783           color: 255 255 255 255;
2784             }
2785             description { state: "disabled" 0.0;
2786                inherit:  "default" 0.0;
2787           inherit:  "visible" 0.0;
2788                image {
2789                   normal: "bt_dis_hilight.png";
2790                   border: 4 4 4 0;
2791                }
2792             }
2793          }
2794          part { name: "over2";
2795             mouse_events: 1;
2796             repeat_events: 1;
2797             ignore_flags: ON_HOLD;
2798             description { state: "default" 0.0;
2799                image {
2800                   normal: "bt_shine.png";
2801                   border: 7 7 7 7;
2802                }
2803             }
2804             description { state: "disabled" 0.0;
2805                inherit:  "default" 0.0;
2806                visible: 0;
2807             }
2808          }
2809          part { name: "over3";
2810             mouse_events: 1;
2811             repeat_events: 1;
2812             description { state: "default" 0.0;
2813                color: 255 255 255 0;
2814                image {
2815                   normal: "bt_glow.png";
2816                   border: 12 12 12 12;
2817                }
2818                fill.smooth : 0;
2819             }
2820             description { state: "clicked" 0.0;
2821                inherit:  "default" 0.0;
2822                visible: 1;
2823                color: 255 255 255 255;
2824             }
2825          }
2826           part { name: "disabler";
2827             type: RECT;
2828             description { state: "default" 0.0;
2829                color: 0 0 0 0;
2830                visible: 0;
2831             }
2832             description { state: "disabled" 0.0;
2833                inherit: "default" 0.0;
2834                visible: 1;
2835             }
2836          }
2837       }
2838       programs {
2839     program {
2840             name:   "button_mouse_in";
2841             signal: "mouse,in";
2842             source: "over2";
2843             action: STATE_SET "visible" 0.0;
2844             target: "button_image";
2845        target: "over1";
2846        transition: DECELERATE 0.5;
2847          }
2848          program {
2849             name:   "button_mouse_out";
2850             signal: "mouse,out";
2851             source: "over2";
2852             action: STATE_SET "default" 0.0;
2853             target: "button_image";
2854        target: "over1";
2855        transition: DECELERATE 0.5;
2856          }
2857          program {
2858             name:   "button_unclick";
2859             signal: "mouse,up,1";
2860             source: "over2";
2861             action: STATE_SET "visible" 0.0;
2862             target: "button_image";
2863          }
2864          program {
2865             name:   "button_click2";
2866             signal: "mouse,down,1";
2867             source: "over3";
2868             action: STATE_SET "clicked" 0.0;
2869             target: "over3";
2870          }
2871          program {
2872             name:   "button_unclick2";
2873             signal: "mouse,up,1";
2874             source: "over3";
2875             action: STATE_SET "default" 0.0;
2876             transition: DECELERATE 0.5;
2877             target: "over3";
2878          }
2879          program {
2880             name:   "button_unclick3";
2881             signal: "mouse,up,1";
2882             source: "over2";
2883             action: SIGNAL_EMIT "elm,action,click" "";
2884          }
2885          program { name: "text_show";
2886             signal: "elm,state,text,visible";
2887             source: "elm";
2888             script {
2889                new st[31];
2890                new Float:vl;
2891                get_state(PART:"elm.swallow.content", st, 30, vl);
2892                if (!strcmp(st, "icononly"))
2893                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2894                set_state(PART:"elm.text", "visible", 0.0);
2895             }
2896          }
2897          program { name: "text_hide";
2898             signal: "elm,state,text,hidden";
2899             source: "elm";
2900             script {
2901                new st[31];
2902                new Float:vl;
2903                get_state(PART:"elm.swallow.content", st, 30, vl);
2904                if (!strcmp(st, "visible"))
2905                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2906                set_state(PART:"elm.text", "default", 0.0);
2907             }
2908          }
2909          program { name: "icon_show";
2910             signal: "elm,state,icon,visible";
2911             source: "elm";
2912             script {
2913                new st[31];
2914                new Float:vl;
2915                get_state(PART:"elm.text", st, 30, vl);
2916                if (!strcmp(st, "visible"))
2917                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2918                else
2919                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2920             }
2921          }
2922          program { name: "icon_hide";
2923             signal: "elm,state,icon,hidden";
2924             source: "elm";
2925             action:  STATE_SET "default" 0.0;
2926             target: "elm.swallow.content";
2927          }
2928          program { name: "disable";
2929             signal: "elm,state,disabled";
2930             source: "elm";
2931             action: STATE_SET "disabled" 0.0;
2932             target: "button_image";
2933             target: "over1";
2934             target: "over2";
2935             target: "disabler";
2936             after: "disable_text";
2937          }
2938          program { name: "disable_text";
2939             script {
2940                new st[31];
2941                new Float:vl;
2942                get_state(PART:"elm.text", st, 30, vl);
2943                if (!strcmp(st, "visible"))
2944                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2945                else
2946                  set_state(PART:"elm.text", "disabled", 0.0);
2947             }
2948          }
2949          program { name: "enable";
2950             signal: "elm,state,enabled";
2951             source: "elm";
2952             action: STATE_SET "default" 0.0;
2953             target: "button_image";
2954             target: "over1";
2955             target: "over2";
2956             target: "disabler";
2957             after: "enable_text";
2958          }
2959          program { name: "enable_text";
2960             script {
2961                new st[31];
2962                new Float:vl;
2963                get_state(PART:"elm.text", st, 30, vl);
2964                if (!strcmp(st, "disabled_visible"))
2965                  set_state(PART:"elm.text", "visible", 0.0);
2966                else
2967                  set_state(PART:"elm.text", "default", 0.0);
2968             }
2969          }
2970       }
2971    }
2972
2973 ///////////////////////////////////////////////////////////////////////////////
2974    group { name: "elm/toggle/base/default";
2975       images {
2976          image: "shelf_inset.png" COMP;
2977          image: "bt_basew.png" COMP;
2978          image: "bt_bases.png" COMP;
2979          image: "bt_hilightw.png" COMP;
2980          image: "tog_base_on.png" COMP;
2981          image: "tog_base_off.png" COMP;
2982          image: "tog_dis_base_on.png" COMP;
2983          image: "tog_dis_base_off.png" COMP;
2984       }
2985       script {
2986          public is_rtl;
2987       }
2988       parts {
2989          part { name: "bg";
2990             type: RECT;
2991             mouse_events: 0;
2992             scale: 1;
2993             description { state: "default" 0.0;
2994                rel1.relative: 1.0 0.0;
2995                rel1.offset: -4 3;
2996                rel2.offset: -4 -4;
2997                align: 1.0 0.5;
2998                min: 96 16;
2999                max: 96 16;
3000                aspect: 4.0 4.0;
3001                aspect_preference: VERTICAL;
3002                color: 255 255 255 255;
3003             }
3004          }
3005          part { name: "clipper";
3006             type: RECT;
3007             mouse_events: 0;
3008             description { state: "default" 0.0;
3009                rel1.to: "bg";
3010                rel2.to: "bg";
3011                color: 255 255 255 255;
3012             }
3013          }
3014          part { name: "button";
3015             type: RECT;
3016             scale: 1;
3017             clip_to: "clipper";
3018             mouse_events: 1;
3019              dragable {
3020                x: 1 1 0;
3021                y: 0 0 0;
3022                confine: "bg";
3023             }
3024             description { state: "default" 0.0;
3025                fixed: 1 1;
3026                rel1.to: "bg";
3027                rel2.to: "bg";
3028                min: 16 16;
3029                max: 16 16;
3030                aspect: 1.0 1.0;
3031                aspect_preference: VERTICAL;
3032                color: 0 0 0 0;
3033             }
3034          }
3035          part { name: "button_events";
3036             type: RECT;
3037              dragable {
3038                events: "button";
3039             }
3040             description { state: "default" 0.0;
3041                rel1.to_x: "bg";
3042                rel1.offset: 0 0;
3043                rel1.relative: 0.0 0.0;
3044                rel2.to_x: "bg";
3045                rel2.offset: -1 -1;
3046                rel2.relative: 1.0 1.0;
3047                color: 0 0 0 0;
3048             }
3049          }
3050          part { name: "onrect";
3051             type: IMAGE;
3052             scale: 1;
3053             clip_to: "clipper";
3054             mouse_events: 0;
3055             description { state: "default" 0.0;
3056                rel1.to: "button";
3057                rel1.relative: -5.0 0.0;
3058                rel2.to: "button";
3059                rel2.relative: 0.5 1.0;
3060                image.normal: "tog_base_on.png";
3061             }
3062             description { state: "disabled" 0.0;
3063                inherit: "default" 0.0;
3064                image.normal: "tog_dis_base_on.png";
3065             }
3066          }
3067          part { name: "offrect";
3068             type: IMAGE;
3069             scale: 1;
3070             clip_to: "clipper";
3071             mouse_events: 0;
3072             description { state: "default" 0.0;
3073                rel1.to: "button";
3074                rel1.relative: 0.5 0.0;
3075                rel2.to: "button";
3076                rel2.relative: 6.0 1.0;
3077                image.normal: "tog_base_off.png";
3078             }
3079             description { state: "disabled" 0.0;
3080                inherit: "default" 0.0;
3081                image.normal: "tog_dis_base_off.png";
3082             }
3083          }
3084          part { name: "elm.offtext";
3085             type: TEXT;
3086             mouse_events:  0;
3087             scale: 1;
3088             clip_to: "clipper";
3089             description { state: "default" 0.0;
3090                fixed: 1 1;
3091                rel1.to_x: "button";
3092                rel1.relative: 1.0 0.0;
3093                rel2.to_x: "offrect";
3094                color: 0 0 0 255;
3095                text {
3096                   font:     "Sans,Edje-Vera";
3097                   size:     10;
3098                   min:      0 1;
3099                   align:    0.5 0.5;
3100                   text:     "OFF";
3101                }
3102             }
3103             description { state: "disabled" 0.0;
3104                inherit: "default" 0.0;
3105                color: 128 128 128 128;
3106             }
3107          }
3108          part { name: "elm.ontext";
3109             type: TEXT;
3110             effect: SOFT_SHADOW;
3111             mouse_events:  0;
3112             scale: 1;
3113             clip_to: "clipper";
3114             description { state: "default" 0.0;
3115                fixed: 1 1;
3116                rel1.to_x: "onrect";
3117                rel1.offset: 1 1;
3118                rel2.to_x: "button";
3119                rel2.offset: 0 0;
3120                rel2.relative: 0.0 1.0;
3121                color: 224 224 224 255;
3122                color3: 0 0 0 64;
3123                text {
3124                   font:     "Sans,Edje-Vera";
3125                   size:     10;
3126                   min:      0 1;
3127                   align:    0.5 0.5;
3128                   text:     "ON";
3129                }
3130             }
3131             description { state: "disabled" 0.0;
3132                inherit: "default" 0.0;
3133                color: 128 128 128 128;
3134                color3: 0 0 0 24;
3135             }
3136          }
3137          part { name: "conf_over";
3138             mouse_events:  0;
3139             description { state: "default" 0.0;
3140                rel1.offset: -1 -1;
3141                rel1.to: "bg";
3142                rel2.offset: 0 0;
3143                rel2.to: "bg";
3144                image {
3145                   normal: "shelf_inset.png";
3146                   border: 7 7 7 7;
3147                   middle: 0;
3148                }
3149                fill.smooth : 0;
3150             }
3151          }
3152          part { name: "button0";
3153             mouse_events:  0;
3154             clip_to: "clipper";
3155             description { state: "default" 0.0;
3156                rel1.to: "button2";
3157                rel1.offset: -4 -4;
3158                rel2.to: "button2";
3159                rel2.offset: 3 3;
3160                image {
3161                   normal: "bt_bases.png";
3162                   border: 11 11 11 11;
3163                }
3164                image.middle: SOLID;
3165                color: 255 255 255 128;
3166             }
3167          }
3168          part { name: "button2";
3169             mouse_events:  0;
3170             clip_to: "clipper";
3171             description { state: "default" 0.0;
3172                rel1.to: "button";
3173                rel1.offset: -2 -2;
3174                rel2.to: "button";
3175                rel2.offset: 1 1;
3176                image {
3177                   normal: "bt_basew.png";
3178                   border: 7 7 7 7;
3179                }
3180                image.middle: SOLID;
3181             }
3182          }
3183          part { name: "button3";
3184             mouse_events:  0;
3185             clip_to: "clipper";
3186             description { state: "default" 0.0;
3187                rel1.to: "button2";
3188                rel2.to: "button2";
3189                rel2.relative: 1.0 0.5;
3190                image {
3191                   normal: "bt_hilightw.png";
3192                   border: 4 4 4 0;
3193                }
3194             }
3195          }
3196          part { name: "elm.swallow.content";
3197             type: SWALLOW;
3198             description { state: "default" 0.0;
3199                fixed: 1 0;
3200                visible: 0;
3201                align: 0.0 0.5;
3202                rel1.offset: 4 4;
3203                rel2.relative: 0.0 1.0;
3204                rel2.offset: 3 -5;
3205             }
3206             description { state: "visible" 0.0;
3207                inherit: "default" 0.0;
3208                visible: 1;
3209                aspect: 1.0 1.0;
3210                rel2.offset: 4 -5;
3211             }
3212             description { state: "disabled" 0.0;
3213                inherit: "default" 0.0;
3214                color: 128 128 128 128;
3215             }
3216             description { state: "disabled_visible" 0.0;
3217                inherit: "default" 0.0;
3218                color: 128 128 128 128;
3219                visible: 1;
3220                aspect: 1.0 1.0;
3221             }
3222          }
3223          part { name: "elm.text";
3224             type: TEXT;
3225             mouse_events: 0;
3226             scale: 1;
3227             description { state: "default" 0.0;
3228                visible: 0;
3229                rel1.to_x: "elm.swallow.content";
3230                rel1.relative: 1.0 0.0;
3231                rel1.offset: 0 4;
3232                rel2.to_x: "bg";
3233                rel2.relative: 0.0 1.0;
3234                rel2.offset: -5 -5;
3235                color: 0 0 0 255;
3236                text {
3237                   font: "Sans,Edje-Vera";
3238                   size: 10;
3239                   min: 0 0;
3240                   align: 0.0 0.5;
3241                }
3242             }
3243             description { state: "visible" 0.0;
3244                inherit: "default" 0.0;
3245                visible: 1;
3246                text.min: 1 1;
3247             }
3248             description { state: "disabled" 0.0;
3249                inherit: "default" 0.0;
3250                color: 128 128 128 128;
3251             }
3252             description { state: "disabled_visible" 0.0;
3253                inherit: "default" 0.0;
3254                color: 128 128 128 128;
3255                visible: 1;
3256                text.min: 1 1;
3257             }
3258          }
3259           part { name: "disabler";
3260             type: RECT;
3261             description { state: "default" 0.0;
3262                color: 0 0 0 0;
3263                visible: 0;
3264             }
3265             description { state: "disabled" 0.0;
3266                inherit: "default" 0.0;
3267                visible: 1;
3268             }
3269          }
3270       }
3271       programs {
3272          program { name:   "drag_end";
3273             signal: "mouse,up,1";
3274             source: "button";
3275             script {
3276                new Float:dx, Float:dy;
3277                get_drag(PART:"button", dx, dy);
3278                if (dx > 0.5)
3279                  {
3280                     set_drag(PART:"button", 1.0, 0.0);
3281                  }
3282                else
3283                  {
3284                     set_drag(PART:"button", 0.0, 0.0);
3285                  }
3286                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3287                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3288                   emit("elm,action,toggle,on", "");
3289                }
3290                else {
3291                   emit("elm,action,toggle,off", "");
3292                }
3293
3294             }
3295          }
3296          program { name: "toggle_on";
3297             signal: "elm,state,toggle,on";
3298             source: "elm";
3299             script {
3300                new Float:drag;
3301                if (get_int(is_rtl) == 0) {
3302                   drag = 100.0;
3303                }
3304                else {
3305                   drag = 0.0;
3306                }
3307                set_drag(PART:"button", drag, 0.0);
3308             }
3309          }
3310          program { name: "toggle_off";
3311             signal: "elm,state,toggle,off";
3312             source: "elm";
3313             script {
3314                new Float:drag;
3315                if (get_int(is_rtl) == 0) {
3316                   drag = 0.0;
3317                }
3318                else {
3319                   drag = 100.0;
3320                }
3321                set_drag(PART:"button", drag, 0.0);
3322             }
3323          }
3324          program { name: "text_show";
3325             signal: "elm,state,text,visible";
3326             source: "elm";
3327             action:  STATE_SET "visible" 0.0;
3328             target: "elm.text";
3329          }
3330          program { name: "text_hide";
3331             signal: "elm,state,text,hidden";
3332             source: "elm";
3333             action:  STATE_SET "default" 0.0;
3334             target: "elm.text";
3335          }
3336          program { name: "icon_show";
3337             signal: "elm,state,icon,visible";
3338             source: "elm";
3339             action:  STATE_SET "visible" 0.0;
3340             target: "elm.swallow.content";
3341          }
3342          program { name: "icon_hide";
3343             signal: "elm,state,icon,hidden";
3344             source: "elm";
3345             action:  STATE_SET "default" 0.0;
3346             target: "elm.swallow.content";
3347          }
3348          program { name: "disable";
3349             signal: "elm,state,disabled";
3350             source: "elm";
3351             action: STATE_SET "disabled" 0.0;
3352             target: "elm.offtext";
3353             target: "elm.ontext";
3354             target: "onrect";
3355             target: "offrect";
3356             target: "disabler";
3357             after: "disable_text";
3358          }
3359          program { name: "disable_text";
3360             script {
3361                new st[31];
3362                new Float:vl;
3363                get_state(PART:"elm.text", st, 30, vl);
3364                if (!strcmp(st, "visible"))
3365                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3366                else
3367                  set_state(PART:"elm.text", "disabled", 0.0);
3368
3369                get_state(PART:"elm.swallow.content", st, 30, vl);
3370                if (!strcmp(st, "visible"))
3371                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3372                else
3373                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3374             }
3375          }
3376          program { name: "enable";
3377             signal: "elm,state,enabled";
3378             source: "elm";
3379             action: STATE_SET "default" 0.0;
3380             target: "disabler";
3381             target: "onrect";
3382             target: "offrect";
3383             after: "enable_text";
3384          }
3385          program { name: "enable_text";
3386             script {
3387                new st[31];
3388                new Float:vl;
3389                get_state(PART:"elm.text", st, 30, vl);
3390                if (!strcmp(st, "disabled_visible"))
3391                  set_state(PART:"elm.text", "visible", 0.0);
3392                else
3393                  set_state(PART:"elm.text", "default", 0.0);
3394
3395                get_state(PART:"elm.swallow.content", st, 30, vl);
3396                if (!strcmp(st, "visible"))
3397                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3398                else
3399                  set_state(PART:"elm.swallow.content", "default", 0.0);
3400             }
3401          }
3402          program { name: "to_rtl";
3403             signal: "edje,state,rtl";
3404             source: "edje";
3405             script {
3406                set_int(is_rtl, 1);
3407             }
3408          }
3409          program { name: "to_ltr";
3410             signal: "edje,state,ltr";
3411             source: "edje";
3412             script {
3413                set_int(is_rtl, 0);
3414             }
3415          }
3416       }
3417    }
3418
3419 ///////////////////////////////////////////////////////////////////////////////
3420    group { name: "elm/clock/flipdigit/default";
3421       images {
3422          image: "flip_base.png" COMP;
3423          image: "flip_base_shad.png" COMP;
3424          image: "flip_shad.png" COMP;
3425          image: "flip_0t.png" COMP;
3426          image: "flip_0b.png" COMP;
3427          image: "flip_1t.png" COMP;
3428          image: "flip_1b.png" COMP;
3429          image: "flip_2t.png" COMP;
3430          image: "flip_2b.png" COMP;
3431          image: "flip_3t.png" COMP;
3432          image: "flip_3b.png" COMP;
3433          image: "flip_4t.png" COMP;
3434          image: "flip_4b.png" COMP;
3435          image: "flip_5t.png" COMP;
3436          image: "flip_5b.png" COMP;
3437          image: "flip_6t.png" COMP;
3438          image: "flip_6b.png" COMP;
3439          image: "flip_7t.png" COMP;
3440          image: "flip_7b.png" COMP;
3441          image: "flip_8t.png" COMP;
3442          image: "flip_8b.png" COMP;
3443          image: "flip_9t.png" COMP;
3444          image: "flip_9b.png" COMP;
3445          image: "arrow_up.png" COMP;
3446          image: "arrow_down.png" COMP;
3447       }
3448       script {
3449          public v0_cur, v0_pre, v0_lock, v0_next;
3450
3451        public animator2(val, Float:pos) {
3452           new st1[11], st2[11], v;
3453
3454           v = get_int(v0_cur);
3455           snprintf(st1, 10, "%ih", v);
3456           snprintf(st2, 10, "%i", v);
3457           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3458           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3459           if (pos >= 1.0) {
3460              set_state(PART:"sh", "default", 0.0);
3461              set_int(v0_lock, 0);
3462              v = get_int(v0_next);
3463              if (v >= 0) {
3464                 set_int(v0_next, -1);
3465                 message(MSG_INT, 1, v);
3466              }
3467           }
3468        }
3469        public animator1(val, Float:pos) {
3470           new st1[11], st2[11], v;
3471
3472           v = get_int(v0_pre);
3473           snprintf(st1, 10, "%i", v);
3474           snprintf(st2, 10, "%ih", v);
3475           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3476           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3477           if (pos >= 1.0) anim(0.2, "animator2", val);
3478        }
3479        public message(Msg_Type:type, id, ...) {
3480           if ((type == MSG_INT) && (id == 1)) {
3481              new value, v, buf[11];
3482
3483              value = getarg(2);
3484              if (get_int(v0_lock) == 1) {
3485                 set_int(v0_next, value);
3486                 return;
3487              }
3488              v = get_int(v0_cur);
3489              set_int(v0_pre, v);
3490              set_int(v0_cur, value);
3491              set_int(v0_lock, 1);
3492              snprintf(buf, 10, "%i", get_int(v0_pre));
3493              set_state(PART:"bot0", buf, 0.0);
3494              snprintf(buf, 10, "%ih", get_int(v0_cur));
3495              set_state(PART:"bot", buf, 0.0);
3496              snprintf(buf, 10, "%i", get_int(v0_cur));
3497              set_state(PART:"top0", buf, 0.0);
3498              snprintf(buf, 10, "%i", get_int(v0_pre));
3499              set_state(PART:"top", buf, 0.0);
3500              set_state(PART:"sh", "default", 0.0);
3501              anim(0.2, "animator1", 1);
3502           }
3503        }
3504       }
3505       parts {
3506          part { name: "shad";
3507             mouse_events: 0;
3508             description { state: "default" 0.0;
3509                rel1.offset: -4 -4;
3510                rel1.to: "base";
3511                rel2.offset: 3 3;
3512                rel2.to: "base";
3513                image {
3514                   normal: "flip_base_shad.png";
3515                   border: 8 8 8 8;
3516                }
3517             }
3518          }
3519          part { name: "base";
3520             scale: 1;
3521             description { state: "default" 0.0;
3522                rel1.offset: 4 4;
3523                rel2.offset: -5 -5;
3524                // FIXME 48x96 should be the native pixel design, right now
3525                // its 80x160. fix int he artwork later
3526                min: 24 48;
3527                aspect: 0.5 0.5;
3528 //               max: 24 48;
3529                image.normal: "flip_base.png";
3530             }
3531          }
3532          part { name: "b";
3533             type: RECT;
3534             mouse_events: 1;
3535             description { state: "default" 0.0;
3536                visible: 0;
3537                rel1.to: "base";
3538                rel1.relative: 0.0 0.5;
3539                rel2.to: "base";
3540                color: 0 0 0 0;
3541             }
3542             description { state: "visible" 0.0;
3543                inherit: "default" 0.0;
3544                visible: 1;
3545             }
3546          }
3547          part { name: "t";
3548             type: RECT;
3549             mouse_events: 1;
3550             description { state: "default" 0.0;
3551                visible: 0;
3552                rel1.to: "base";
3553                rel2.to: "base";
3554                rel2.relative: 1.0 0.5;
3555                color: 0 0 0 0;
3556             }
3557             description { state: "visible" 0.0;
3558                inherit: "default" 0.0;
3559                visible: 1;
3560             }
3561          }
3562          part { name: "bot0";
3563             mouse_events: 0;
3564             description { state: "default" 0.0;
3565                rel1.to: "b";
3566                rel2.to: "b";
3567                image.normal: "flip_0b.png";
3568             }
3569             description { state: "0" 0.0;
3570                inherit: "default" 0.0;
3571                image.normal: "flip_0b.png";
3572             }
3573             description { state: "1" 0.0;
3574                inherit: "default" 0.0;
3575                image.normal: "flip_1b.png";
3576             }
3577             description { state: "2" 0.0;
3578                inherit: "default" 0.0;
3579                image.normal: "flip_2b.png";
3580             }
3581             description { state: "3" 0.0;
3582                inherit: "default" 0.0;
3583                image.normal: "flip_3b.png";
3584             }
3585             description { state: "4" 0.0;
3586                inherit: "default" 0.0;
3587                image.normal: "flip_4b.png";
3588             }
3589             description { state: "5" 0.0;
3590                inherit: "default" 0.0;
3591                image.normal: "flip_5b.png";
3592             }
3593             description { state: "6" 0.0;
3594                inherit: "default" 0.0;
3595                image.normal: "flip_6b.png";
3596             }
3597             description { state: "7" 0.0;
3598                inherit: "default" 0.0;
3599                image.normal: "flip_7b.png";
3600             }
3601             description { state: "8" 0.0;
3602                inherit: "default" 0.0;
3603                image.normal: "flip_8b.png";
3604             }
3605             description { state: "9" 0.0;
3606                inherit: "default" 0.0;
3607                image.normal: "flip_9b.png";
3608             }
3609          }
3610          part { name: "sh";
3611             mouse_events: 0;
3612             description { state: "default" 0.0;
3613                rel1.to: "b";
3614                rel2.to: "b";
3615                rel2.relative: 1.0 0.0;
3616                image.normal: "flip_shad.png";
3617             }
3618             description { state: "half" 0.0;
3619                inherit: "default" 0.0;
3620                rel2.relative: 1.0 0.5;
3621             }
3622             description { state: "full" 0.0;
3623                inherit: "default" 0.0;
3624                rel2.relative: 1.0 1.0;
3625             }
3626          }
3627          part { name: "bot";
3628             mouse_events: 0;
3629             description { state: "default" 0.0;
3630                visible: 1;
3631                rel1.to: "b";
3632                rel2.to: "b";
3633                image.normal: "flip_0b.png";
3634             }
3635             description { state: "0" 0.0;
3636                inherit: "default" 0.0;
3637                visible: 1;
3638                rel2.relative: 1.0 1.0;
3639                image.normal: "flip_0b.png";
3640             }
3641             description { state: "0h" 0.0;
3642                inherit: "default" 0.0;
3643                visible: 0;
3644                rel2.relative: 1.0 0.0;
3645                image.normal: "flip_0b.png";
3646             }
3647             description { state: "1" 0.0;
3648                inherit: "default" 0.0;
3649                visible: 1;
3650                rel2.relative: 1.0 1.0;
3651                image.normal: "flip_1b.png";
3652             }
3653             description { state: "1h" 0.0;
3654                inherit: "default" 0.0;
3655                visible: 0;
3656                rel2.relative: 1.0 0.0;
3657                image.normal: "flip_1b.png";
3658             }
3659             description { state: "2" 0.0;
3660                inherit: "default" 0.0;
3661                visible: 1;
3662                rel2.relative: 1.0 1.0;
3663                image.normal: "flip_2b.png";
3664             }
3665             description { state: "2h" 0.0;
3666                inherit: "default" 0.0;
3667                visible: 0;
3668                rel2.relative: 1.0 0.0;
3669                image.normal: "flip_2b.png";
3670             }
3671             description { state: "3" 0.0;
3672                inherit: "default" 0.0;
3673                visible: 1;
3674                rel2.relative: 1.0 1.0;
3675                image.normal: "flip_3b.png";
3676             }
3677             description { state: "3h" 0.0;
3678                inherit: "default" 0.0;
3679                visible: 0;
3680                rel2.relative: 1.0 0.0;
3681                image.normal: "flip_3b.png";
3682             }
3683             description { state: "4" 0.0;
3684                inherit: "default" 0.0;
3685                visible: 1;
3686                rel2.relative: 1.0 1.0;
3687                image.normal: "flip_4b.png";
3688             }
3689             description { state: "4h" 0.0;
3690                inherit: "default" 0.0;
3691                visible: 0;
3692                rel2.relative: 1.0 0.0;
3693                image.normal: "flip_4b.png";
3694             }
3695             description { state: "5" 0.0;
3696                inherit: "default" 0.0;
3697                visible: 1;
3698                rel2.relative: 1.0 1.0;
3699                image.normal: "flip_5b.png";
3700             }
3701             description { state: "5h" 0.0;
3702                inherit: "default" 0.0;
3703                visible: 0;
3704                rel2.relative: 1.0 0.0;
3705                image.normal: "flip_5b.png";
3706             }
3707             description { state: "6" 0.0;
3708                inherit: "default" 0.0;
3709                visible: 1;
3710                rel2.relative: 1.0 1.0;
3711                image.normal: "flip_6b.png";
3712             }
3713             description { state: "6h" 0.0;
3714                inherit: "default" 0.0;
3715                visible: 0;
3716                rel2.relative: 1.0 0.0;
3717                image.normal: "flip_6b.png";
3718             }
3719             description { state: "7" 0.0;
3720                inherit: "default" 0.0;
3721                visible: 1;
3722                rel2.relative: 1.0 1.0;
3723                image.normal: "flip_7b.png";
3724             }
3725             description { state: "7h" 0.0;
3726                inherit: "default" 0.0;
3727                visible: 0;
3728                rel2.relative: 1.0 0.0;
3729                image.normal: "flip_7b.png";
3730             }
3731             description { state: "8" 0.0;
3732                inherit: "default" 0.0;
3733                visible: 1;
3734                rel2.relative: 1.0 1.0;
3735                image.normal: "flip_8b.png";
3736             }
3737             description { state: "8h" 0.0;
3738                inherit: "default" 0.0;
3739                visible: 0;
3740                rel2.relative: 1.0 0.0;
3741                image.normal: "flip_8b.png";
3742             }
3743             description { state: "9" 0.0;
3744                inherit: "default" 0.0;
3745                visible: 1;
3746                rel2.relative: 1.0 1.0;
3747                image.normal: "flip_9b.png";
3748             }
3749             description { state: "9h" 0.0;
3750                inherit: "default" 0.0;
3751                visible: 0;
3752                rel2.relative: 1.0 0.0;
3753                image.normal: "flip_9b.png";
3754             }
3755          }
3756          part { name: "top0";
3757             mouse_events: 0;
3758             description { state: "default" 0.0;
3759                rel1.to: "t";
3760                rel2.to: "t";
3761                image.normal: "flip_0t.png";
3762             }
3763             description { state: "0" 0.0;
3764                inherit: "default" 0.0;
3765                image.normal: "flip_0t.png";
3766             }
3767             description { state: "1" 0.0;
3768                inherit: "default" 0.0;
3769                image.normal: "flip_1t.png";
3770             }
3771             description { state: "2" 0.0;
3772                inherit: "default" 0.0;
3773                image.normal: "flip_2t.png";
3774             }
3775             description { state: "3" 0.0;
3776                inherit: "default" 0.0;
3777                image.normal: "flip_3t.png";
3778             }
3779             description { state: "4" 0.0;
3780                inherit: "default" 0.0;
3781                image.normal: "flip_4t.png";
3782             }
3783             description { state: "5" 0.0;
3784                inherit: "default" 0.0;
3785                image.normal: "flip_5t.png";
3786             }
3787             description { state: "6" 0.0;
3788                inherit: "default" 0.0;
3789                image.normal: "flip_6t.png";
3790             }
3791             description { state: "7" 0.0;
3792                inherit: "default" 0.0;
3793                image.normal: "flip_7t.png";
3794             }
3795             description { state: "8" 0.0;
3796                inherit: "default" 0.0;
3797                image.normal: "flip_8t.png";
3798             }
3799             description { state: "9" 0.0;
3800                inherit: "default" 0.0;
3801                image.normal: "flip_9t.png";
3802             }
3803          }
3804          part { name: "top";
3805             mouse_events: 0;
3806             description { state: "default" 0.0;
3807                visible: 1;
3808                rel1.to: "t";
3809                rel2.to: "t";
3810                image.normal: "flip_0t.png";
3811             }
3812             description { state: "0" 0.0;
3813                inherit: "default" 0.0;
3814                visible: 1;
3815                rel1.relative: 0.0 0.0;
3816                image.normal: "flip_0t.png";
3817             }
3818             description { state: "0h" 0.0;
3819                inherit: "default" 0.0;
3820                color: 128 128 128 255;
3821                visible: 0;
3822                rel1.relative: 0.0 1.0;
3823                image.normal: "flip_0t.png";
3824             }
3825             description { state: "1" 0.0;
3826                inherit: "default" 0.0;
3827                visible: 1;
3828                rel1.relative: 0.0 0.0;
3829                image.normal: "flip_1t.png";
3830             }
3831             description { state: "1h" 0.0;
3832                inherit: "default" 0.0;
3833                color: 128 128 128 255;
3834                visible: 0;
3835                rel1.relative: 0.0 1.0;
3836                image.normal: "flip_1t.png";
3837             }
3838             description { state: "2" 0.0;
3839                inherit: "default" 0.0;
3840                visible: 1;
3841                rel1.relative: 0.0 0.0;
3842                image.normal: "flip_2t.png";
3843             }
3844             description { state: "2h" 0.0;
3845                inherit: "default" 0.0;
3846                color: 128 128 128 255;
3847                visible: 0;
3848                rel1.relative: 0.0 1.0;
3849                image.normal: "flip_2t.png";
3850             }
3851             description { state: "3" 0.0;
3852                inherit: "default" 0.0;
3853                visible: 1;
3854                rel1.relative: 0.0 0.0;
3855                image.normal: "flip_3t.png";
3856             }
3857             description { state: "3h" 0.0;
3858                inherit: "default" 0.0;
3859                color: 128 128 128 255;
3860                visible: 0;
3861                rel1.relative: 0.0 1.0;
3862                image.normal: "flip_3t.png";
3863             }
3864             description { state: "4" 0.0;
3865                inherit: "default" 0.0;
3866                visible: 1;
3867                rel1.relative: 0.0 0.0;
3868                image.normal: "flip_4t.png";
3869             }
3870             description { state: "4h" 0.0;
3871                inherit: "default" 0.0;
3872                color: 128 128 128 255;
3873                visible: 0;
3874                rel1.relative: 0.0 1.0;
3875                image.normal: "flip_4t.png";
3876             }
3877             description { state: "5" 0.0;
3878                inherit: "default" 0.0;
3879                visible: 1;
3880                rel1.relative: 0.0 0.0;
3881                image.normal: "flip_5t.png";
3882             }
3883             description { state: "5h" 0.0;
3884                inherit: "default" 0.0;
3885                color: 128 128 128 255;
3886                visible: 0;
3887                rel1.relative: 0.0 1.0;
3888                image.normal: "flip_5t.png";
3889             }
3890             description { state: "6" 0.0;
3891                inherit: "default" 0.0;
3892                visible: 1;
3893                rel1.relative: 0.0 0.0;
3894                image.normal: "flip_6t.png";
3895             }
3896             description { state: "6h" 0.0;
3897                inherit: "default" 0.0;
3898                color: 128 128 128 255;
3899                visible: 0;
3900                rel1.relative: 0.0 1.0;
3901                image.normal: "flip_6t.png";
3902             }
3903             description { state: "7" 0.0;
3904                inherit: "default" 0.0;
3905                visible: 1;
3906                rel1.relative: 0.0 0.0;
3907                image.normal: "flip_7t.png";
3908             }
3909             description { state: "7h" 0.0;
3910                inherit: "default" 0.0;
3911                color: 128 128 128 255;
3912                visible: 0;
3913                rel1.relative: 0.0 1.0;
3914                image.normal: "flip_7t.png";
3915             }
3916             description { state: "8" 0.0;
3917                inherit: "default" 0.0;
3918                visible: 1;
3919                rel1.relative: 0.0 0.0;
3920                image.normal: "flip_8t.png";
3921             }
3922             description { state: "8h" 0.0;
3923                inherit: "default" 0.0;
3924                color: 128 128 128 255;
3925                visible: 0;
3926                rel1.relative: 0.0 1.0;
3927                image.normal: "flip_8t.png";
3928             }
3929             description { state: "9" 0.0;
3930                inherit: "default" 0.0;
3931                visible: 1;
3932                rel1.relative: 0.0 0.0;
3933                image.normal: "flip_9t.png";
3934             }
3935             description { state: "9h" 0.0;
3936                inherit: "default" 0.0;
3937                color: 128 128 128 255;
3938                visible: 0;
3939                rel1.relative: 0.0 1.0;
3940                image.normal: "flip_9t.png";
3941             }
3942          }
3943          part { name: "atop";
3944             mouse_events: 0;
3945             scale: 1;
3946             description { state: "default" 0.0;
3947                visible: 0;
3948                min: 15 15;
3949                max: 15 15;
3950                align: 0.5 0.0;
3951                rel1.to: "t";
3952                rel2.to: "t";
3953                image.normal: "arrow_up.png";
3954             }
3955             description { state: "visible" 0.0;
3956                inherit: "default" 0.0;
3957                visible: 1;
3958             }
3959          }
3960          part { name: "abot";
3961             mouse_events: 0;
3962             scale: 1;
3963             description { state: "default" 0.0;
3964                visible: 0;
3965                min: 15 15;
3966                max: 15 15;
3967                align: 0.5 1.0;
3968                rel1.to: "b";
3969                rel2.to: "b";
3970                image.normal: "arrow_down.png";
3971             }
3972             description { state: "visible" 0.0;
3973                inherit: "default" 0.0;
3974                visible: 1;
3975             }
3976          }
3977       }
3978       programs {
3979          program { name: "load";
3980             signal: "load";
3981             source: "";
3982             script {
3983                set_int(v0_cur, 0);
3984                set_int(v0_pre, 0);
3985                set_int(v0_lock, 0);
3986                set_int(v0_next, -1);
3987             }
3988          }
3989          program { name: "edit_on";
3990             signal: "elm,state,edit,on";
3991             source: "elm";
3992             action: STATE_SET "visible" 0.0;
3993             target: "atop";
3994             target: "abot";
3995             target: "t";
3996             target: "b";
3997          }
3998          program { name: "edit_off";
3999             signal: "elm,state,edit,off";
4000             source: "elm";
4001             action: STATE_SET "default" 0.0;
4002             target: "atop";
4003             target: "abot";
4004             target: "t";
4005             target: "b";
4006          }
4007          program { name: "up";
4008             signal: "mouse,down,1";
4009             source: "t";
4010             action: SIGNAL_EMIT "elm,action,up,start" "";
4011          }
4012          program { name: "up,stop";
4013             signal: "mouse,up,1";
4014             source: "t";
4015             action: SIGNAL_EMIT "elm,action,up,stop" "";
4016          }
4017          program { name: "down";
4018             signal: "mouse,down,1";
4019             source: "b";
4020             action: SIGNAL_EMIT "elm,action,down,start" "";
4021          }
4022          program { name: "down,stop";
4023             signal: "mouse,up,1";
4024             source: "b";
4025             action: SIGNAL_EMIT "elm,action,down,stop" "";
4026          }
4027       }
4028    }
4029
4030 ///////////////////////////////////////////////////////////////////////////////
4031    group { name: "elm/clock/flipampm/default";
4032       images {
4033          image: "flip_base.png" COMP;
4034          image: "flip_base_shad.png" COMP;
4035          image: "flip_shad.png" COMP;
4036          image: "flip_amt.png" COMP;
4037          image: "flip_amb.png" COMP;
4038          image: "flip_pmt.png" COMP;
4039          image: "flip_pmb.png" COMP;
4040          image: "arrow_up.png" COMP;
4041          image: "arrow_down.png" COMP;
4042       }
4043       script {
4044          public v0_cur, v0_pre, v0_lock, v0_next;
4045
4046        public animator2(val, Float:pos) {
4047           new st1[11], st2[11], v;
4048
4049           v = get_int(v0_cur);
4050           snprintf(st1, 10, "%ih", v);
4051           snprintf(st2, 10, "%i", v);
4052           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4053           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4054           if (pos >= 1.0) {
4055              set_state(PART:"sh", "default", 0.0);
4056              set_int(v0_lock, 0);
4057              v = get_int(v0_next);
4058              if (v >= 0) {
4059                 set_int(v0_next, -1);
4060                 message(MSG_INT, 1, v);
4061              }
4062           }
4063        }
4064        public animator1(val, Float:pos) {
4065           new st1[11], st2[11], v;
4066
4067           v = get_int(v0_pre);
4068           snprintf(st1, 10, "%i", v);
4069           snprintf(st2, 10, "%ih", v);
4070           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4071           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4072           if (pos >= 1.0) anim(0.2, "animator2", val);
4073        }
4074        public message(Msg_Type:type, id, ...) {
4075           if ((type == MSG_INT) && (id == 1)) {
4076              new value, v, buf[11];
4077
4078              value = getarg(2);
4079              if (get_int(v0_lock) == 1) {
4080                 set_int(v0_next, value);
4081                 return;
4082              }
4083              v = get_int(v0_cur);
4084              set_int(v0_pre, v);
4085              set_int(v0_cur, value);
4086              set_int(v0_lock, 1);
4087              snprintf(buf, 10, "%i", get_int(v0_pre));
4088              set_state(PART:"bot0", buf, 0.0);
4089              snprintf(buf, 10, "%ih", get_int(v0_cur));
4090              set_state(PART:"bot", buf, 0.0);
4091              snprintf(buf, 10, "%i", get_int(v0_cur));
4092              set_state(PART:"top0", buf, 0.0);
4093              snprintf(buf, 10, "%i", get_int(v0_pre));
4094              set_state(PART:"top", buf, 0.0);
4095              set_state(PART:"sh", "default", 0.0);
4096              anim(0.2, "animator1", 1);
4097           }
4098        }
4099       }
4100       parts {
4101          part { name: "shad";
4102             mouse_events: 0;
4103             description { state: "default" 0.0;
4104                rel1.offset: -4 -4;
4105                rel1.to: "base";
4106                rel2.offset: 3 3;
4107                rel2.to: "base";
4108                image {
4109                   normal: "flip_base_shad.png";
4110                   border: 8 8 8 8;
4111                }
4112             }
4113          }
4114          part { name: "base";
4115             mouse_events: 0;
4116             scale: 1;
4117             description { state: "default" 0.0;
4118                rel1.offset: 4 4;
4119                rel2.offset: -5 -5;
4120                // FIXME 48x96 should be the native pixel design, right now
4121                // its 80x160. fix int he artwork later
4122                aspect: 0.5 0.5;
4123                min: 24 48;
4124 //               max: 24 48;
4125                image.normal: "flip_base.png";
4126             }
4127          }
4128          part { name: "b";
4129             type: RECT;
4130             mouse_events: 1;
4131             description { state: "default" 0.0;
4132                rel1.to: "base";
4133                rel1.relative: 0.0 0.5;
4134                rel2.to: "base";
4135                color: 0 0 0 0;
4136             }
4137          }
4138          part { name: "t";
4139             type: RECT;
4140             mouse_events: 1;
4141             description { state: "default" 0.0;
4142                rel1.to: "base";
4143                rel2.to: "base";
4144                rel2.relative: 1.0 0.5;
4145                color: 0 0 0 0;
4146             }
4147          }
4148          part { name: "bot0";
4149             mouse_events: 0;
4150             description { state: "default" 0.0;
4151                rel1.to: "b";
4152                rel2.to: "b";
4153                image.normal: "flip_amb.png";
4154             }
4155             description { state: "0" 0.0;
4156                inherit: "default" 0.0;
4157                image.normal: "flip_amb.png";
4158             }
4159             description { state: "1" 0.0;
4160                inherit: "default" 0.0;
4161                image.normal: "flip_pmb.png";
4162             }
4163          }
4164          part { name: "sh";
4165             mouse_events: 0;
4166             description { state: "default" 0.0;
4167                rel1.to: "b";
4168                rel2.to: "b";
4169                rel2.relative: 1.0 0.0;
4170                image.normal: "flip_shad.png";
4171             }
4172             description { state: "half" 0.0;
4173                inherit: "default" 0.0;
4174                rel2.relative: 1.0 0.5;
4175             }
4176             description { state: "full" 0.0;
4177                inherit: "default" 0.0;
4178                rel2.relative: 1.0 1.0;
4179             }
4180          }
4181          part { name: "bot";
4182             mouse_events: 0;
4183             description { state: "default" 0.0;
4184                visible: 1;
4185                rel1.to: "b";
4186                rel2.to: "b";
4187                image.normal: "flip_amb.png";
4188             }
4189             description { state: "0" 0.0;
4190                inherit: "default" 0.0;
4191                visible: 1;
4192                rel2.relative: 1.0 1.0;
4193                image.normal: "flip_amb.png";
4194             }
4195             description { state: "0h" 0.0;
4196                inherit: "default" 0.0;
4197                visible: 0;
4198                rel2.relative: 1.0 0.0;
4199                image.normal: "flip_amb.png";
4200             }
4201             description { state: "1" 0.0;
4202                inherit: "default" 0.0;
4203                visible: 1;
4204                rel2.relative: 1.0 1.0;
4205                image.normal: "flip_pmb.png";
4206             }
4207             description { state: "1h" 0.0;
4208                inherit: "default" 0.0;
4209                visible: 0;
4210                rel2.relative: 1.0 0.0;
4211                image.normal: "flip_pmb.png";
4212             }
4213          }
4214          part { name: "top0";
4215             mouse_events: 0;
4216             description { state: "default" 0.0;
4217                rel1.to: "t";
4218                rel2.to: "t";
4219                image.normal: "flip_amt.png";
4220             }
4221             description { state: "0" 0.0;
4222                inherit: "default" 0.0;
4223                image.normal: "flip_amt.png";
4224             }
4225             description { state: "1" 0.0;
4226                inherit: "default" 0.0;
4227                image.normal: "flip_pmt.png";
4228             }
4229          }
4230          part { name: "top";
4231             mouse_events: 0;
4232             description { state: "default" 0.0;
4233                visible: 1;
4234                rel1.to: "t";
4235                rel2.to: "t";
4236                image.normal: "flip_amt.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                visible: 1;
4241                rel1.relative: 0.0 0.0;
4242                image.normal: "flip_amt.png";
4243             }
4244             description { state: "0h" 0.0;
4245                inherit: "default" 0.0;
4246                color: 128 128 128 255;
4247                visible: 0;
4248                rel1.relative: 0.0 1.0;
4249                image.normal: "flip_amt.png";
4250             }
4251             description { state: "1" 0.0;
4252                inherit: "default" 0.0;
4253                visible: 1;
4254                rel1.relative: 0.0 0.0;
4255                image.normal: "flip_pmt.png";
4256             }
4257             description { state: "1h" 0.0;
4258                inherit: "default" 0.0;
4259                color: 128 128 128 255;
4260                visible: 0;
4261                rel1.relative: 0.0 1.0;
4262                image.normal: "flip_pmt.png";
4263             }
4264          }
4265          part { name: "atop";
4266             mouse_events: 0;
4267             scale: 1;
4268             description { state: "default" 0.0;
4269                visible: 0;
4270                min: 15 15;
4271                max: 15 15;
4272                align: 0.5 0.0;
4273                rel1.to: "t";
4274                rel2.to: "t";
4275                image.normal: "arrow_up.png";
4276             }
4277             description { state: "visible" 0.0;
4278                inherit: "default" 0.0;
4279                visible: 1;
4280             }
4281          }
4282          part { name: "abot";
4283             mouse_events: 0;
4284             scale: 1;
4285             description { state: "default" 0.0;
4286                visible: 0;
4287                min: 15 15;
4288                max: 15 15;
4289                align: 0.5 1.0;
4290                rel1.to: "b";
4291                rel2.to: "b";
4292                image.normal: "arrow_down.png";
4293             }
4294             description { state: "visible" 0.0;
4295                inherit: "default" 0.0;
4296                visible: 1;
4297             }
4298          }
4299       }
4300       programs {
4301          program { name: "load";
4302             signal: "load";
4303             source: "";
4304             script {
4305                set_int(v0_cur, 0);
4306                set_int(v0_pre, 0);
4307                set_int(v0_lock, 0);
4308                set_int(v0_next, -1);
4309             }
4310          }
4311          program { name: "edit_on";
4312             signal: "elm,state,edit,on";
4313             source: "elm";
4314             action: STATE_SET "visible" 0.0;
4315             target: "atop";
4316             target: "abot";
4317          }
4318 /*
4319          program { name: "edit_off";
4320             signal: "elm,state,edit,off";
4321             source: "elm";
4322             action: STATE_SET "default" 0.0;
4323             target: "atop";
4324             target: "abot";
4325          }
4326  */
4327          program { name: "up";
4328             signal: "mouse,down,1";
4329             source: "t";
4330             action: SIGNAL_EMIT "elm,action,up,start" "";
4331          }
4332          program { name: "up,stop";
4333             signal: "mouse,up,1";
4334             source: "t";
4335             action: SIGNAL_EMIT "elm,action,up,stop" "";
4336          }
4337          program { name: "down";
4338             signal: "mouse,down,1";
4339             source: "b";
4340             action: SIGNAL_EMIT "elm,action,down,start" "";
4341          }
4342          program { name: "down,stop";
4343             signal: "mouse,up,1";
4344             source: "b";
4345             action: SIGNAL_EMIT "elm,action,down,stop" "";
4346          }
4347       }
4348    }
4349
4350    ///////////////////////////////////////////////////////////////////////////////
4351    group { name: "elm/menu/item/default";
4352        images {
4353            image: "bt_base1.png" COMP;
4354            image: "bt_base2.png" COMP;
4355            image: "bt_hilight.png" COMP;
4356            image: "bt_shine.png" COMP;
4357            image: "bt_glow.png" COMP;
4358            image: "bt_dis_base.png" COMP;
4359            image: "bt_dis_hilight.png" COMP;
4360        }
4361        script {
4362             public menu_text_visible; //0:hide (default), 1:visible
4363             public menu_disable; //0:enable, 1:disable
4364        }
4365        parts {
4366            part { name: "item_image";
4367                mouse_events: 1;
4368                description { state: "default" 0.0;
4369                    color: 255 255 255 0;
4370                    image {
4371                        normal: "bt_base2.png";
4372                        border: 7 7 7 7;
4373                    }
4374                    image.middle: SOLID;
4375                }
4376                description { state: "visible" 0.0;
4377                    inherit: "default" 0.0;
4378                    color: 255 255 255 255;
4379                }
4380                description { state: "clicked" 0.0;
4381                    inherit: "default" 0.0;
4382                    inherit: "visible" 0.0;
4383                    image.normal: "bt_base1.png";
4384                    image.middle: SOLID;
4385                }
4386                description { state: "disabled" 0.0;
4387                    inherit:  "default" 0.0;
4388                }
4389            }
4390            part { name: "item_image_disabled";
4391                mouse_events: 1;
4392                description { state: "default" 0.0;
4393                    color: 255 255 255 0;
4394                    image {
4395                        normal: "bt_dis_base.png";
4396                        border: 4 4 4 4;
4397                    }
4398                    image.middle: SOLID;
4399                }
4400                description { state: "disabled" 0.0;
4401                    inherit:  "default" 0.0;
4402                    color: 255 255 255 255;
4403                }
4404            }
4405            part { name: "elm.swallow.content";
4406                type: SWALLOW;
4407                description { state: "default" 0.0;
4408                    fixed: 1 0;
4409                    visible: 1;
4410                    align: 0.0 0.5;
4411                    rel1.offset: 4 4;
4412                    rel2.offset: 3 -5;
4413                    rel2.relative: 0.0 1.0;
4414                    aspect: 1.0 1.0;
4415                    aspect_preference: VERTICAL;
4416                    rel2.offset: 4 -5;
4417                }
4418            }
4419            part {
4420                name:          "elm.text";
4421                type:          TEXT;
4422                mouse_events:  0;
4423                scale: 1;
4424                description { state: "default" 0.0;
4425                    visible: 0;
4426                    rel1.to_x: "elm.swallow.content";
4427                    rel1.relative: 1.0 0.0;
4428                    rel1.offset: 5 7;
4429                    rel2.offset: -10 -8;
4430                    color: 0 0 0 255;
4431                    text {
4432                        font:     "Sans,Edje-Vera";
4433                        size:     10;
4434                        min:      1 1;
4435                        align:    0.0 0.5;
4436                        text_class: "menu_item";
4437                    }
4438                }
4439                description { state: "visible" 0.0;
4440                    inherit: "default" 0.0;
4441                    visible: 1;
4442                    text.min: 1 1;
4443                }
4444                description { state: "selected" 0.0;
4445                    inherit: "default" 0.0;
4446                    inherit: "visible" 0.0;
4447                    color: 254 254 254 255;
4448                }
4449                description { state: "disabled" 0.0;
4450                    inherit: "default" 0.0;
4451                    color: 0 0 0 128;
4452                }
4453                description { state: "disabled_visible" 0.0;
4454                    inherit: "default" 0.0;
4455                    inherit: "visible" 0.0;
4456                    color: 0 0 0 128;
4457                }
4458            }
4459            part {          name: "over1";
4460                mouse_events: 0;
4461                description { state: "default" 0.0;
4462                    color: 255 255 255 0;
4463                    rel2.relative: 1.0 0.5;
4464                    image {
4465                        normal: "bt_hilight.png";
4466                        border: 7 7 7 0;
4467                    }
4468                }
4469                description { state: "visible" 0.0;
4470                    inherit:  "default" 0.0;
4471                    color: 255 255 255 255;
4472                }
4473                description { state: "disabled" 0.0;
4474                    inherit:  "default" 0.0;
4475                }
4476            }
4477            part {          name: "over_disabled";
4478                mouse_events: 0;
4479                description { state: "default" 0.0;
4480                    color: 255 255 255 0;
4481                    rel2.relative: 1.0 0.5;
4482                    image {
4483                        normal: "bt_dis_hilight.png";
4484                        border: 4 4 4 0;
4485                    }
4486                }
4487                description { state: "disabled" 0.0;
4488                    inherit:  "default" 0.0;
4489                    color: 255 255 255 255;
4490                }
4491            }
4492            part { name: "over2";
4493                mouse_events: 1;
4494                repeat_events: 1;
4495                ignore_flags: ON_HOLD;
4496                description { state: "default" 0.0;
4497                    image {
4498                        normal: "bt_shine.png";
4499                        border: 7 7 7 7;
4500                    }
4501                }
4502                description { state: "disabled" 0.0;
4503                    inherit:  "default" 0.0;
4504                    visible: 0;
4505                }
4506            }
4507            part { name: "over3";
4508                mouse_events: 1;
4509                repeat_events: 1;
4510                description { state: "default" 0.0;
4511                    color: 255 255 255 0;
4512                    image {
4513                        normal: "bt_glow.png";
4514                        border: 12 12 12 12;
4515                    }
4516                    fill.smooth : 0;
4517                }
4518                description { state: "clicked" 0.0;
4519                    inherit:  "default" 0.0;
4520                    visible: 1;
4521                    color: 255 255 255 255;
4522                }
4523            }
4524            part { name: "disabler";
4525                type: RECT;
4526                description { state: "default" 0.0;
4527                    color: 0 0 0 0;
4528                    visible: 0;
4529                }
4530                description { state: "disabled" 0.0;
4531                    inherit: "default" 0.0;
4532                    visible: 1;
4533                }
4534            }
4535        }
4536        programs {
4537           //
4538            program {
4539                name:   "item_mouse_in";
4540                signal: "mouse,in";
4541                source: "over2";
4542                action: SIGNAL_EMIT "elm,action,activate" "";
4543                after: "item_mouse_in_2";
4544                after: "item_mouse_in_3";
4545            }
4546            program {
4547                name:   "item_mouse_in_2";
4548                transition: DECELERATE 0.5;
4549                script {
4550                    new v, d;
4551                    v = get_int(menu_text_visible);
4552                    d = get_int(menu_disable);
4553
4554                    if (v==1 && d==0)
4555                         run_program(PROGRAM:"selected_text");
4556                }
4557            }
4558            program {
4559                name:   "item_mouse_in_3";
4560                action : STATE_SET "visible" 0.0;
4561                target: "item_image";
4562                target: "over1";
4563                transition: DECELERATE 0.5;
4564            }
4565            program {
4566                name:   "selected_text";
4567                action: STATE_SET "selected" 0.0;
4568                target: "elm.text";
4569                transition: DECELERATE 0.5;
4570            }
4571            //
4572
4573            //
4574            program {
4575                name:   "item_mouse_out";
4576                signal: "mouse,out";
4577                source: "over2";
4578                action: SIGNAL_EMIT "elm,action,inactivate" "";
4579                after: "item_mouse_out_2";
4580                after: "item_mouse_out_3";
4581            }
4582            program {
4583                name:   "item_mouse_out_2";
4584                transition: DECELERATE 0.5;
4585                script {
4586                    new v, d;
4587                    v = get_int(menu_text_visible);
4588                    d = get_int(menu_disable);
4589
4590                    if (v==1 && d==0)
4591                         run_program(PROGRAM:"visible_text");
4592                }
4593            }
4594            program {
4595                name:   "item_mouse_out_3";
4596                action: STATE_SET "default" 0.0;
4597                target: "item_image";
4598                target: "over1";
4599                transition: DECELERATE 0.5;
4600            }
4601            program {
4602                name:   "visible_text";
4603                action: STATE_SET "visible" 0.0;
4604                target: "elm.text";
4605                transition: DECELERATE 0.5;
4606            }
4607            //
4608
4609            program {
4610                name:   "item_unclick";
4611                signal: "mouse,up,1";
4612                source: "over2";
4613                action: STATE_SET "visible" 0.0;
4614                target: "item_image";
4615            }
4616            program {
4617                name:   "item_click2";
4618                signal: "mouse,down,1";
4619                source: "over3";
4620                action: STATE_SET "clicked" 0.0;
4621                target: "over3";
4622            }
4623            program {
4624                name:   "item_unclick2";
4625                signal: "mouse,up,1";
4626                source: "over3";
4627                action: STATE_SET "default" 0.0;
4628                transition: DECELERATE 0.5;
4629                target: "over3";
4630            }
4631            program {
4632                name:   "item_unclick3";
4633                signal: "mouse,up,1";
4634                source: "over2";
4635                action: SIGNAL_EMIT "elm,action,click" "";
4636            }
4637            program { name: "text_show";
4638                signal: "elm,state,text,visible";
4639                source: "elm";
4640                script {
4641                    set_int(menu_text_visible, 1);
4642                    set_state(PART:"elm.text", "visible", 0.0);
4643                }
4644            }
4645            program { name: "text_hide";
4646                signal: "elm,state,text,hidden";
4647                source: "elm";
4648                script {
4649                    set_int(menu_text_visible, 0);
4650                    set_state(PART:"elm.text", "default", 0.0);
4651                }
4652            }
4653            program { name: "disable";
4654                signal: "elm,state,disabled";
4655                source: "elm";
4656                action: STATE_SET "disabled" 0.0;
4657                target: "item_image";
4658                target: "item_image_disabled";
4659                target: "over1";
4660                target: "over2";
4661                target: "over_disabled";
4662                target: "disabler";
4663                after: "disable_text";
4664            }
4665            program { name: "disable_text";
4666                script {
4667                    new v;
4668                    v = get_int(menu_text_visible);
4669                    if (v==1)
4670                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4671                    else if (v==0)
4672                     set_state(PART:"elm.text", "disabled", 0.0);
4673                    set_int(menu_disable, 1);
4674                }
4675            }
4676            program { name: "item_select";
4677                signal: "elm,state,selected";
4678                source: "elm";
4679                after: "item_mouse_in_2";
4680                after: "item_mouse_in_3";
4681            }
4682            program { name: "item_unselect";
4683                signal: "elm,state,unselected";
4684                source: "elm";
4685                after: "item_mouse_out_2";
4686                after: "item_mouse_out_3";
4687            }
4688            program { name: "enable";
4689                signal: "elm,state,enabled";
4690                source: "elm";
4691                action: STATE_SET "default" 0.0;
4692                target: "item_image";
4693                target: "item_image_disabled";
4694                target: "over1";
4695                target: "over2";
4696                target: "over_disabled";
4697                target: "disabler";
4698                after: "enable_text";
4699            }
4700            program { name: "enable_text";
4701                script {
4702                    new v;
4703                    v = get_int(menu_text_visible);
4704                    if (v==1)
4705                     set_state(PART:"elm.text", "visible", 0.0);
4706                    else  if (v==0)
4707                     set_state(PART:"elm.text", "default", 0.0);
4708                    set_int(menu_disable, 0);
4709                }
4710            }
4711        }
4712    }
4713
4714    group { name: "elm/menu/item_with_submenu/default";
4715        images {
4716            image: "bt_base1.png" COMP;
4717            image: "bt_base2.png" COMP;
4718            image: "bt_hilight.png" COMP;
4719            image: "bt_shine.png" COMP;
4720            image: "bt_glow.png" COMP;
4721            image: "bt_dis_base.png" COMP;
4722            image: "bt_dis_hilight.png" COMP;
4723            image: "arrow_right.png" COMP;
4724            image: "arrow_left.png" COMP;
4725        }
4726        script {
4727             public menu_text_visible; //0:hide (default), 1:visible
4728             public menu_disable; //0:enable, 1:disable
4729        }
4730        parts {
4731            part { name: "item_image";
4732                mouse_events: 1;
4733                description { state: "default" 0.0;
4734                    color: 255 255 255 0;
4735                    image {
4736                        normal: "bt_base2.png";
4737                        border: 7 7 7 7;
4738                    }
4739                    image.middle: SOLID;
4740                }
4741                description { state: "visible" 0.0;
4742                    inherit: "default" 0.0;
4743                    color: 255 255 255 255;
4744                }
4745                description { state: "clicked" 0.0;
4746                    inherit: "default" 0.0;
4747                    inherit: "visible" 0.0;
4748                    image.normal: "bt_base1.png";
4749                    image.middle: SOLID;
4750                }
4751                description { state: "disabled" 0.0;
4752                    inherit:  "default" 0.0;
4753                }
4754            }
4755            part { name: "item_image_disabled";
4756                mouse_events: 1;
4757                description { state: "default" 0.0;
4758                    color: 255 255 255 0;
4759                    image {
4760                        normal: "bt_dis_base.png";
4761                        border: 4 4 4 4;
4762                    }
4763                    image.middle: SOLID;
4764                }
4765                description { state: "disabled" 0.0;
4766                    inherit:  "default" 0.0;
4767                    color: 255 255 255 255;
4768                }
4769            }
4770            part { name: "arrow";
4771                mouse_events: 1;
4772                description { state: "default" 0.0;
4773                    color: 255 255 255 255;
4774                    align: 1.0 0.5;
4775                    aspect: 1 1;
4776                    aspect_preference: BOTH;
4777                    image {
4778                        normal: "arrow_right.png";
4779                    }
4780                }
4781                description { state: "rtl" 0.0;
4782                   inherit: "default" 0.0;
4783                   image.normal: "arrow_left.png";
4784                }
4785            }
4786            part { name: "elm.swallow.content";
4787                type: SWALLOW;
4788                description { state: "default" 0.0;
4789                    fixed: 1 0;
4790                    visible: 1;
4791                    align: 0.0 0.5;
4792                    rel1.offset: 4 4;
4793                    rel2.offset: 3 -5;
4794                    rel2.relative: 0.0 1.0;
4795                    aspect: 1.0 1.0;
4796                    aspect_preference: VERTICAL;
4797                    rel2.offset: 4 -5;
4798                }
4799            }
4800            part {
4801                name:          "elm.text";
4802                type:          TEXT;
4803                mouse_events:  0;
4804                scale: 1;
4805                description { state: "default" 0.0;
4806                    visible: 0;
4807                    rel1.to_x: "elm.swallow.content";
4808                    rel1.relative: 1.0 0.0;
4809                    rel1.offset: 5 7;
4810                    rel2.offset: -10 -8;
4811                    color: 0 0 0 255;
4812                    text {
4813                        font:     "Sans,Edje-Vera";
4814                        size:     10;
4815                        min:      1 1;
4816                        align:    0.0 0.5;
4817                        text_class: "menu_item";
4818                    }
4819                }
4820                description { state: "visible" 0.0;
4821                    inherit: "default" 0.0;
4822                    visible: 1;
4823                    text.min: 1 1;
4824                }
4825                description { state: "selected" 0.0;
4826                    inherit: "default" 0.0;
4827                    inherit: "visible" 0.0;
4828                    color: 254 254 254 255;
4829                }
4830                description { state: "disabled" 0.0;
4831                    inherit: "default" 0.0;
4832                    color: 0 0 0 128;
4833                }
4834                description { state: "disabled_visible" 0.0;
4835                    inherit: "default" 0.0;
4836                    inherit: "visible" 0.0;
4837                    color: 0 0 0 128;
4838                }
4839            }
4840            part {          name: "over1";
4841                mouse_events: 0;
4842                description { state: "default" 0.0;
4843                    color: 255 255 255 0;
4844                    rel2.relative: 1.0 0.5;
4845                    image {
4846                        normal: "bt_hilight.png";
4847                        border: 7 7 7 0;
4848                    }
4849                }
4850                description { state: "visible" 0.0;
4851                    inherit:  "default" 0.0;
4852                    color: 255 255 255 255;
4853                }
4854                description { state: "disabled" 0.0;
4855                    inherit:  "default" 0.0;
4856                }
4857            }
4858            part { name: "over_disabled";
4859                mouse_events: 0;
4860                description { state: "default" 0.0;
4861                    color: 255 255 255 0;
4862                    rel2.relative: 1.0 0.5;
4863                    image {
4864                        normal: "bt_dis_hilight.png";
4865                        border: 4 4 4 0;
4866                    }
4867                }
4868                description { state: "disabled" 0.0;
4869                    inherit:  "default" 0.0;
4870                    color: 255 255 255 255;
4871                }
4872            }
4873            part { name: "over2";
4874                mouse_events: 1;
4875                repeat_events: 1;
4876                ignore_flags: ON_HOLD;
4877                description { state: "default" 0.0;
4878                    image {
4879                        normal: "bt_shine.png";
4880                        border: 7 7 7 7;
4881                    }
4882                }
4883                description { state: "disabled" 0.0;
4884                    inherit:  "default" 0.0;
4885                    visible: 0;
4886                }
4887            }
4888            part { name: "over3";
4889                mouse_events: 1;
4890                repeat_events: 1;
4891                description { state: "default" 0.0;
4892                    color: 255 255 255 0;
4893                    image {
4894                        normal: "bt_glow.png";
4895                        border: 12 12 12 12;
4896                    }
4897                    fill.smooth : 0;
4898                }
4899                description { state: "clicked" 0.0;
4900                    inherit:  "default" 0.0;
4901                    visible: 1;
4902                    color: 255 255 255 255;
4903                }
4904            }
4905            part { name: "disabler";
4906                type: RECT;
4907                description { state: "default" 0.0;
4908                    color: 0 0 0 0;
4909                    visible: 0;
4910                }
4911                description { state: "disabled" 0.0;
4912                    inherit: "default" 0.0;
4913                    visible: 1;
4914                }
4915            }
4916        }
4917        programs {
4918            //
4919            program {
4920                name:   "item_mouse_in";
4921                signal: "mouse,in";
4922                source: "over2";
4923                action: SIGNAL_EMIT "elm,action,activate" "";
4924                after: "item_mouse_in_2";
4925                after: "item_mouse_in_3";
4926            }
4927            program {
4928                name:   "item_mouse_in_2";
4929                transition: DECELERATE 0.5;
4930                script {
4931                    new v, d;
4932                    v = get_int(menu_text_visible);
4933                    d = get_int(menu_disable);
4934
4935                    if (v==1 && d==0)
4936                         run_program(PROGRAM:"selected_text");
4937                }
4938            }
4939            program {
4940                name:   "item_mouse_in_3";
4941                action : STATE_SET "visible" 0.0;
4942                target: "item_image";
4943                target: "over1";
4944                transition: DECELERATE 0.5;
4945            }
4946            program {
4947                name:   "selected_text";
4948                action: STATE_SET "selected" 0.0;
4949                target: "elm.text";
4950                transition: DECELERATE 0.5;
4951            }
4952            //
4953
4954            //
4955            program {
4956                name:   "item_mouse_out";
4957                signal: "mouse,out";
4958                source: "over2";
4959                after: "item_mouse_out_2";
4960                after: "item_mouse_out_3";
4961            }
4962            program {
4963                name:   "item_mouse_out_2";
4964                transition: DECELERATE 0.5;
4965                script {
4966                    new v, d;
4967                    v = get_int(menu_text_visible);
4968                    d = get_int(menu_disable);
4969
4970                    if (v==1 && d==0)
4971                         run_program(PROGRAM:"visible_text");
4972                }
4973            }
4974            program {
4975                name:   "item_mouse_out_3";
4976                action: STATE_SET "default" 0.0;
4977                target: "item_image";
4978                target: "over1";
4979                transition: DECELERATE 0.5;
4980            }
4981            program {
4982                name:   "visible_text";
4983                action: STATE_SET "visible" 0.0;
4984                target: "elm.text";
4985                transition: DECELERATE 0.5;
4986            }
4987            //
4988
4989            program {
4990                name:   "item_unclick";
4991                signal: "mouse,up,1";
4992                source: "over2";
4993                action: STATE_SET "visible" 0.0;
4994                target: "item_image";
4995            }
4996            program {
4997                name:   "item_click2";
4998                signal: "mouse,down,1";
4999                source: "over3";
5000                action: STATE_SET "clicked" 0.0;
5001                target: "over3";
5002            }
5003            program {
5004                name:   "item_unclick2";
5005                signal: "mouse,up,1";
5006                source: "over3";
5007                action: STATE_SET "default" 0.0;
5008                transition: DECELERATE 0.5;
5009                target: "over3";
5010            }
5011            program {
5012                name:   "item_unclick3";
5013                signal: "mouse,up,1";
5014                source: "over2";
5015                action: SIGNAL_EMIT "elm,action,click" "";
5016            }
5017            program {
5018                name:   "menu_open";
5019                signal: "mouse,in";
5020                source: "over2";
5021                action: SIGNAL_EMIT "elm,action,open" "";
5022            }
5023             program { name: "text_show";
5024                signal: "elm,state,text,visible";
5025                source: "elm";
5026                script {
5027                    set_int(menu_text_visible, 1);
5028                    set_state(PART:"elm.text", "visible", 0.0);
5029                }
5030            }
5031            program { name: "text_hide";
5032                signal: "elm,state,text,hidden";
5033                source: "elm";
5034                script {
5035                    set_int(menu_text_visible, 0);
5036                    set_state(PART:"elm.text", "default", 0.0);
5037                }
5038            }
5039            program { name: "disable";
5040                signal: "elm,state,disabled";
5041                source: "elm";
5042                action: STATE_SET "disabled" 0.0;
5043                target: "item_image";
5044                target: "item_image_disabled";
5045                target: "over1";
5046                target: "over2";
5047                target: "over_disabled";
5048                target: "disabler";
5049                after: "disable_text";
5050            }
5051            program { name: "disable_text";
5052                script {
5053                    new st[31];
5054                    new Float:vl;
5055                    get_state(PART:"elm.text", st, 30, vl);
5056                    if (!strcmp(st, "visible"))
5057                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5058                    else if (!strcmp(st, "default"))
5059                    set_state(PART:"elm.text", "disabled", 0.0);
5060                }
5061            }
5062            program { name: "enable";
5063                signal: "elm,state,enabled";
5064                source: "elm";
5065                action: STATE_SET "default" 0.0;
5066                target: "item_image";
5067                target: "item_image_disabled";
5068                target: "over1";
5069                target: "over2";
5070                target: "over_disabled";
5071                target: "disabler";
5072                after: "enable_text";
5073            }
5074            program { name: "enable_text";
5075                script {
5076                    new v;
5077                    v = get_int(menu_text_visible);
5078                    if (v==1)
5079                     set_state(PART:"elm.text", "visible", 0.0);
5080                    else  if (v==0)
5081                     set_state(PART:"elm.text", "default", 0.0);
5082                    set_int(menu_disable, 0);
5083                }
5084            }
5085            program { name: "to_rtl";
5086                signal: "edje,state,rtl";
5087                source: "edje";
5088                action: STATE_SET "rtl" 0.0;
5089                target: "arrow";
5090            }
5091            program { name: "to_ltr";
5092                signal: "edje,state,ltr";
5093                source: "edje";
5094                action: STATE_SET "default" 0.0;
5095                target: "arrow";
5096            }
5097        }
5098    }
5099
5100    group { name: "elm/menu/separator/default";
5101        images {
5102            image: "separator_h.png" COMP;
5103        }
5104        parts {
5105            part { name: "separator"; // separator group
5106                description { state: "default" 0.0;
5107                    min: 2 2;
5108                    rel1.offset: 4 4;
5109                    rel2.offset: -5 -5;
5110                    image {
5111                        normal: "separator_h.png";
5112                    }
5113                    fill {
5114                        smooth: 0;
5115                    }
5116                }
5117            }
5118        }
5119    }
5120 ///////////////////////////////////////////////////////////////////////////////
5121    group { name: "elm/clock/base-all/default";
5122       parts {
5123          part { name: "d0";
5124             type: SWALLOW;
5125             description { state: "default" 0.0;
5126                rel1.relative: 0.0000000 0.0;
5127                rel2.relative: 0.1250000 1.0;
5128             }
5129          }
5130          part { name: "d1";
5131             type: SWALLOW;
5132             description { state: "default" 0.0;
5133                rel1.relative: 0.1250000 0.0;
5134                rel2.relative: 0.2500000 1.0;
5135             }
5136          }
5137          part { name: "c0";
5138             type: SWALLOW;
5139             type: TEXT;
5140             mouse_events:  0;
5141             scale: 1;
5142             description { state: "default" 0.0;
5143                rel1.relative: 0.2500000 0.0;
5144                rel2.relative: 0.3125000 1.0;
5145                color: 0 0 0 255;
5146                text {
5147                   font:     "Sans,Edje-Vera";
5148                   text:     ":";
5149                   size:     10;
5150                   min:      1 1;
5151                   align:    0.5 0.5;
5152                }
5153             }
5154          }
5155          part { name: "d2";
5156             type: SWALLOW;
5157             description { state: "default" 0.0;
5158                rel1.relative: 0.3125000 0.0;
5159                rel2.relative: 0.4375000 1.0;
5160             }
5161          }
5162          part { name: "d3";
5163             type: SWALLOW;
5164             description { state: "default" 0.0;
5165                rel1.relative: 0.4375000 0.0;
5166                rel2.relative: 0.5625000 1.0;
5167             }
5168          }
5169          // (if seconds)
5170          part { name: "c1";
5171             type: SWALLOW;
5172             type: TEXT;
5173             mouse_events:  0;
5174             scale: 1;
5175             description { state: "default" 0.0;
5176                rel1.relative: 0.5625000 0.0;
5177                rel2.relative: 0.6250000 1.0;
5178                color: 0 0 0 255;
5179                text {
5180                   font:     "Sans,Edje-Vera";
5181                   text:     ":";
5182                   size:     10;
5183                   min:      1 1;
5184                   align:    0.5 0.5;
5185                }
5186             }
5187          }
5188          // (if seconds)
5189          part { name: "d4";
5190             type: SWALLOW;
5191             description { state: "default" 0.0;
5192                rel1.relative: 0.6250000 0.0;
5193                rel2.relative: 0.7500000 1.0;
5194             }
5195          }
5196          // (if seconds)
5197          part { name: "d5";
5198             type: SWALLOW;
5199             description { state: "default" 0.0;
5200                rel1.relative: 0.7500000 0.0;
5201                rel2.relative: 0.8750000 1.0;
5202             }
5203          }
5204          // (if am_pm)
5205          part { name: "ampm";
5206             type: SWALLOW;
5207             description { state: "default" 0.0;
5208                rel1.relative: 0.8750000 0.0;
5209                rel2.relative: 1.0 1.0;
5210             }
5211          }
5212       }
5213    }
5214
5215 ///////////////////////////////////////////////////////////////////////////////
5216    group { name: "elm/clock/base-seconds/default";
5217       parts {
5218          part { name: "d0";
5219             type: SWALLOW;
5220             description { state: "default" 0.0;
5221                rel1.relative: 0.000000000 0.0;
5222                rel2.relative: 0.142857143 1.0;
5223             }
5224          }
5225          part { name: "d1";
5226             type: SWALLOW;
5227             description { state: "default" 0.0;
5228                rel1.relative: 0.142857143 0.0;
5229                rel2.relative: 0.285714286 1.0;
5230             }
5231          }
5232          part { name: "c0";
5233             type: SWALLOW;
5234             type: TEXT;
5235             mouse_events:  0;
5236             scale: 1;
5237             description { state: "default" 0.0;
5238                rel1.relative: 0.285714286 0.0;
5239                rel2.relative: 0.357142857 1.0;
5240                color: 0 0 0 255;
5241                text {
5242                   font:     "Sans,Edje-Vera";
5243                   text:     ":";
5244                   size:     10;
5245                   min:      1 1;
5246                   align:    0.5 0.5;
5247                }
5248             }
5249          }
5250          part { name: "d2";
5251             type: SWALLOW;
5252             description { state: "default" 0.0;
5253                rel1.relative: 0.357142857 0.0;
5254                rel2.relative: 0.500000000 1.0;
5255             }
5256          }
5257          part { name: "d3";
5258             type: SWALLOW;
5259             description { state: "default" 0.0;
5260                rel1.relative: 0.500000000 0.0;
5261                rel2.relative: 0.642857143 1.0;
5262             }
5263          }
5264          // (if seconds)
5265          part { name: "c1";
5266             type: SWALLOW;
5267             type: TEXT;
5268             mouse_events:  0;
5269             scale: 1;
5270             description { state: "default" 0.0;
5271                rel1.relative: 0.642857143 0.0;
5272                rel2.relative: 0.714285714 1.0;
5273                color: 0 0 0 255;
5274                text {
5275                   font:     "Sans,Edje-Vera";
5276                   text:     ":";
5277                   size:     10;
5278                   min:      1 1;
5279                   align:    0.5 0.5;
5280                }
5281             }
5282          }
5283          // (if seconds)
5284          part { name: "d4";
5285             type: SWALLOW;
5286             description { state: "default" 0.0;
5287                rel1.relative: 0.714285714 0.0;
5288                rel2.relative: 0.857142857 1.0;
5289             }
5290          }
5291          // (if seconds)
5292          part { name: "d5";
5293             type: SWALLOW;
5294             description { state: "default" 0.0;
5295                rel1.relative: 0.857142857 0.0;
5296                rel2.relative: 1.000000000 1.0;
5297             }
5298          }
5299       }
5300    }
5301
5302 ///////////////////////////////////////////////////////////////////////////////
5303    group { name: "elm/clock/base-am_pm/default";
5304       parts {
5305          part { name: "d0";
5306             type: SWALLOW;
5307             description { state: "default" 0.0;
5308                rel1.relative: 0.000000000 0.0;
5309                rel2.relative: 0.181818182 1.0;
5310             }
5311          }
5312          part { name: "d1";
5313             type: SWALLOW;
5314             description { state: "default" 0.0;
5315                rel1.relative: 0.181818182 0.0;
5316                rel2.relative: 0.363636364 1.0;
5317             }
5318          }
5319          part { name: "c0";
5320             type: SWALLOW;
5321             type: TEXT;
5322             mouse_events:  0;
5323             scale: 1;
5324             description { state: "default" 0.0;
5325                rel1.relative: 0.363636364 0.0;
5326                rel2.relative: 0.454545455 1.0;
5327                color: 0 0 0 255;
5328                text {
5329                   font:     "Sans,Edje-Vera";
5330                   text:     ":";
5331                   size:     10;
5332                   min:      1 1;
5333                   align:    0.5 0.5;
5334                }
5335             }
5336          }
5337          part { name: "d2";
5338             type: SWALLOW;
5339             description { state: "default" 0.0;
5340                rel1.relative: 0.454545455 0.0;
5341                rel2.relative: 0.636363636 1.0;
5342             }
5343          }
5344          part { name: "d3";
5345             type: SWALLOW;
5346             description { state: "default" 0.0;
5347                rel1.relative: 0.636363636 0.0;
5348                rel2.relative: 0.818181818 1.0;
5349             }
5350          }
5351          // (if am_pm)
5352          part { name: "ampm";
5353             type: SWALLOW;
5354             description { state: "default" 0.0;
5355                rel1.relative: 0.818181818 0.0;
5356                rel2.relative: 1.0 1.0;
5357             }
5358          }
5359       }
5360    }
5361
5362 ///////////////////////////////////////////////////////////////////////////////
5363    group { name: "elm/clock/base/default";
5364       parts {
5365          part { name: "d0";
5366             type: SWALLOW;
5367             description { state: "default" 0.0;
5368                rel1.relative: 0.000000000 0.0;
5369                rel2.relative: 0.222222222 1.0;
5370             }
5371          }
5372          part { name: "d1";
5373             type: SWALLOW;
5374             description { state: "default" 0.0;
5375                rel1.relative: 0.222222222 0.0;
5376                rel2.relative: 0.444444444 1.0;
5377             }
5378          }
5379          part { name: "c0";
5380             type: SWALLOW;
5381             type: TEXT;
5382             mouse_events:  0;
5383             scale: 1;
5384             description { state: "default" 0.0;
5385                rel1.relative: 0.444444444 0.0;
5386                rel2.relative: 0.555555556 1.0;
5387                color: 0 0 0 255;
5388                text {
5389                   font:     "Sans,Edje-Vera";
5390                   text:     ":";
5391                   size:     10;
5392                   min:      1 1;
5393                   align:    0.5 0.5;
5394                }
5395             }
5396          }
5397          part { name: "d2";
5398             type: SWALLOW;
5399             description { state: "default" 0.0;
5400                rel1.relative: 0.555555556 0.0;
5401                rel2.relative: 0.777777778 1.0;
5402             }
5403          }
5404          part { name: "d3";
5405             type: SWALLOW;
5406             description { state: "default" 0.0;
5407                rel1.relative: 0.777777778 0.0;
5408                rel2.relative: 1.000000000 1.0;
5409             }
5410          }
5411       }
5412    }
5413
5414 ///////////////////////////////////////////////////////////////////////////////
5415    group { name: "elm/frame/base/default";
5416        images {
5417            image: "frame_1.png" COMP;
5418            image: "frame_2.png" COMP;
5419            image: "dia_grad.png" COMP;
5420        }
5421        parts {
5422            part { name: "base0";
5423                mouse_events:  0;
5424                description { state: "default" 0.0;
5425                    image.normal: "dia_grad.png";
5426                    rel1.to: "over";
5427                    rel2.to: "over";
5428                    fill {
5429                        smooth: 0;
5430                        size {
5431                            relative: 0.0 1.0;
5432                            offset: 64 0;
5433                        }
5434                    }
5435                }
5436            }
5437            part { name: "base";
5438                mouse_events:  0;
5439                description { state:    "default" 0.0;
5440                    rel2.to: "elm.swallow.content";
5441                    rel2.offset: 9 9;
5442                    image {
5443                        normal: "frame_2.png";
5444                        border: 5 5 32 26;
5445                        middle: 0;
5446                    }
5447                    fill.smooth : 0;
5448                }
5449            }
5450            part { name: "elm.text";
5451                type: TEXT;
5452                mouse_events:   0;
5453                scale: 1;
5454                description { state: "default" 0.0;
5455                    align: 0.0 0.0;
5456                    fixed: 0 1;
5457                    rel1 {
5458                        relative: 0.0 0.0;
5459                        offset: 6 6;
5460                    }
5461                    rel2 {
5462                        relative: 1.0 0.0;
5463                        offset: -7 6;
5464                    }
5465                    color: 0 0 0 64;
5466                    text {
5467                        font: "Sans:style=Bold,Edje-Vera-Bold";
5468                        size: 10;
5469                        min: 1 1;
5470                        max: 1 1;
5471                        align: 0.0 0.0;
5472                    }
5473                }
5474            }
5475            part { name: "over";
5476                mouse_events:  0;
5477                description { state:    "default" 0.0;
5478                    rel1.offset: 4 4;
5479                    rel2.to: "elm.swallow.content";
5480                    rel2.offset: 5 5;
5481                    image {
5482                        normal: "frame_1.png";
5483                        border: 2 2 28 22;
5484                        middle: 0;
5485                    }
5486                    fill.smooth : 0;
5487                }
5488            }
5489            part { name: "elm.swallow.content";
5490                type: SWALLOW;
5491                description { state: "default" 0.0;
5492                    align: 0.0 0.0;
5493                    rel1 {
5494                        to_y: "elm.text";
5495                        relative: 0.0 1.0;
5496                        offset: 8 2;
5497                    }
5498                    rel2.offset: -9 -9;
5499                }
5500            }
5501        }
5502    }
5503
5504    group { name: "elm/frame/base/pad_small";
5505        parts {
5506            part { name: "b0";
5507                mouse_events:  0;
5508                type: RECT;
5509                scale: 1;
5510                description { state: "default" 0.0;
5511                    visible: 0;
5512                    min: 4 4;
5513                    max: 4 4;
5514                    align: 0.0 0.0;
5515                }
5516            }
5517            part { name: "b1";
5518                mouse_events:  0;
5519                type: RECT;
5520                scale: 1;
5521                description { state: "default" 0.0;
5522                    visible: 0;
5523                    min: 4 4;
5524                    max: 4 4;
5525                    align: 1.0 1.0;
5526                }
5527            }
5528            part { name: "elm.swallow.content";
5529                type: SWALLOW;
5530                description { state: "default" 0.0;
5531                    rel1 {
5532                        to: "b0";
5533                        relative: 1.0 1.0;
5534                        offset: 0 0;
5535                    }
5536                    rel2 {
5537                        to: "b1";
5538                        relative: 0.0 0.0;
5539                        offset: -1 -1;
5540                    }
5541                }
5542            }
5543        }
5544    }
5545
5546    group { name: "elm/frame/base/pad_medium";
5547        parts {
5548            part { name: "b0";
5549                mouse_events:  0;
5550                type: RECT;
5551                scale: 1;
5552                description { state: "default" 0.0;
5553                    visible: 0;
5554                    min: 8 8;
5555                    max: 8 8;
5556                    align: 0.0 0.0;
5557                }
5558            }
5559            part { name: "b1";
5560                mouse_events:  0;
5561                type: RECT;
5562                scale: 1;
5563                description { state: "default" 0.0;
5564                    visible: 0;
5565                    min: 8 8;
5566                    max: 8 8;
5567                    align: 1.0 1.0;
5568                }
5569            }
5570            part { name: "elm.swallow.content";
5571                type: SWALLOW;
5572                description { state: "default" 0.0;
5573                    rel1 {
5574                        to: "b0";
5575                        relative: 1.0 1.0;
5576                        offset: 0 0;
5577                    }
5578                    rel2 {
5579                        to: "b1";
5580                        relative: 0.0 0.0;
5581                        offset: -1 -1;
5582                    }
5583                }
5584            }
5585        }
5586    }
5587
5588    group { name: "elm/frame/base/pad_large";
5589        parts {
5590            part { name: "b0";
5591                mouse_events:  0;
5592                type: RECT;
5593                scale: 1;
5594                description { state: "default" 0.0;
5595                    visible: 0;
5596                    min: 16 16;
5597                    max: 16 16;
5598                    align: 0.0 0.0;
5599                }
5600            }
5601            part { name: "b1";
5602                mouse_events:  0;
5603                type: RECT;
5604                scale: 1;
5605                description { state: "default" 0.0;
5606                    visible: 0;
5607                    min: 16 16;
5608                    max: 16 16;
5609                    align: 1.0 1.0;
5610                }
5611            }
5612            part { name: "elm.swallow.content";
5613                type: SWALLOW;
5614                description { state: "default" 0.0;
5615                    rel1 {
5616                        to: "b0";
5617                        relative: 1.0 1.0;
5618                        offset: 0 0;
5619                    }
5620                    rel2 {
5621                        to: "b1";
5622                        relative: 0.0 0.0;
5623                        offset: -1 -1;
5624                    }
5625                }
5626            }
5627        }
5628    }
5629
5630    group { name: "elm/frame/base/pad_huge";
5631        parts {
5632            part { name: "b0";
5633                mouse_events:  0;
5634                type: RECT;
5635                scale: 1;
5636                description { state: "default" 0.0;
5637                    visible: 0;
5638                    min: 32 32;
5639                    max: 32 32;
5640                    align: 0.0 0.0;
5641                }
5642            }
5643            part { name: "b1";
5644                mouse_events:  0;
5645                type: RECT;
5646                scale: 1;
5647                description { state: "default" 0.0;
5648                    visible: 0;
5649                    min: 32 32;
5650                    max: 32 32;
5651                    align: 1.0 1.0;
5652                }
5653            }
5654            part { name: "elm.swallow.content";
5655                type: SWALLOW;
5656                description { state: "default" 0.0;
5657                    rel1 {
5658                        to: "b0";
5659                        relative: 1.0 1.0;
5660                        offset: 0 0;
5661                    }
5662                    rel2 {
5663                        to: "b1";
5664                        relative: 0.0 0.0;
5665                        offset: -1 -1;
5666                    }
5667                }
5668            }
5669        }
5670    }
5671
5672    group { name: "elm/frame/base/outdent_top";
5673        images {
5674            image: "outdent-top.png" COMP;
5675        }
5676        parts {
5677            part { name: "base0";
5678                mouse_events:  0;
5679                description { state: "default" 0.0;
5680                    image.normal: "outdent-top.png";
5681                    image.border: 0 0 0 13;
5682                    fill.smooth: 0;
5683                }
5684            }
5685            part { name: "elm.swallow.content";
5686                type: SWALLOW;
5687                description { state: "default" 0.0;
5688                    rel1.offset: 2 2;
5689                    rel2.offset: -3 -13;
5690                }
5691            }
5692        }
5693    }
5694
5695    group { name: "elm/frame/base/outdent_bottom";
5696        images {
5697            image: "outdent-bottom.png" COMP;
5698        }
5699        parts {
5700            part { name: "base0";
5701                mouse_events:  0;
5702                description { state: "default" 0.0;
5703                    image.normal: "outdent-bottom.png";
5704                    image.border: 0 0 13 0;
5705                    fill.smooth: 0;
5706                }
5707            }
5708            part { name: "elm.swallow.content";
5709                type: SWALLOW;
5710                description { state: "default" 0.0;
5711                    rel1.offset: 2 12;
5712                    rel2.offset: -3 -3;
5713                }
5714            }
5715        }
5716    }
5717
5718 ///////////////////////////////////////////////////////////////////////////////
5719    group { name: "elm/label/base/tooltip";
5720       styles {
5721          style { name: "tooltip_style";
5722             base: "font=Sans font_size=8 color=#666 wrap=word";
5723             tag:  "br" "\n";
5724             tag:  "hilight" "+ font=Sans:style=Bold";
5725             tag:  "b" "+ font=Sans:style=Bold";
5726             tag:  "tab" "\t";
5727          }
5728       }
5729       parts {
5730          part { name: "elm.text";
5731             type: TEXTBLOCK;
5732             mouse_events: 0;
5733             scale: 1;
5734             description { state: "default" 0.0;
5735                text {
5736                   style: "tooltip_style";
5737                   min: 1 1;
5738                }
5739             }
5740          }
5741       }
5742    }
5743
5744    group { name: "elm/tooltip/base/default";
5745        min: 30 30;
5746        data {
5747            item: "pad_x" "20";
5748            item: "pad_y" "20";
5749            item: "pad_border_x" "10";
5750            item: "pad_border_y" "10";
5751            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5752        }
5753        images {
5754            image: "tooltip-base.png" COMP;
5755            image: "tooltip-corner-top-left-tip.png" COMP;
5756            image: "tooltip-corner-top-right-tip.png" COMP;
5757            image: "tooltip-corner-bottom-left-tip.png" COMP;
5758            image: "tooltip-corner-bottom-right-tip.png" COMP;
5759            image: "tooltip-edge-left-tip.png" COMP;
5760            image: "tooltip-edge-right-tip.png" COMP;
5761            image: "tooltip-edge-bottom-tip.png" COMP;
5762            image: "tooltip-edge-top-tip.png" COMP;
5763        }
5764        script {
5765           hide_corners() {
5766              set_state(PART:"corner-top-left", "default", 0.0);
5767              set_state(PART:"corner-top-right", "default", 0.0);
5768              set_state(PART:"corner-bottom-left", "default", 0.0);
5769              set_state(PART:"corner-bottom-right", "default", 0.0);
5770           }
5771           hide_edges() {
5772              set_state(PART:"clipper-edge-left", "default", 0.0);
5773              set_state(PART:"clipper-edge-right", "default", 0.0);
5774              set_state(PART:"clipper-edge-top", "default", 0.0);
5775              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5776           }
5777
5778           show_corner_top_left() {
5779              set_state(PART:"corner-top-left", "visible", 0.0);
5780
5781              set_state(PART:"corner-top-right", "default", 0.0);
5782              set_state(PART:"corner-bottom-left", "default", 0.0);
5783              set_state(PART:"corner-bottom-right", "default", 0.0);
5784              hide_edges();
5785           }
5786           show_corner_top_right() {
5787              set_state(PART:"corner-top-right", "visible", 0.0);
5788
5789              set_state(PART:"corner-top-left", "default", 0.0);
5790              set_state(PART:"corner-bottom-left", "default", 0.0);
5791              set_state(PART:"corner-bottom-right", "default", 0.0);
5792              hide_edges();
5793           }
5794
5795           show_corner_bottom_left() {
5796              set_state(PART:"corner-bottom-left", "visible", 0.0);
5797
5798              set_state(PART:"corner-bottom-right", "default", 0.0);
5799              set_state(PART:"corner-top-left", "default", 0.0);
5800              set_state(PART:"corner-top-right", "default", 0.0);
5801              hide_edges();
5802           }
5803           show_corner_bottom_right() {
5804              set_state(PART:"corner-bottom-right", "visible", 0.0);
5805
5806              set_state(PART:"corner-bottom-left", "default", 0.0);
5807              set_state(PART:"corner-top-left", "default", 0.0);
5808              set_state(PART:"corner-top-right", "default", 0.0);
5809              hide_edges();
5810           }
5811
5812           show_edge_left(Float:val) {
5813              set_state(PART:"clipper-edge-left", "visible", 0.0);
5814              set_drag(PART:"edge-drag-left", 0.0, val);
5815
5816              set_state(PART:"clipper-edge-right", "default", 0.0);
5817              set_state(PART:"clipper-edge-top", "default", 0.0);
5818              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5819              hide_corners();
5820           }
5821           show_edge_right(Float:val) {
5822              set_state(PART:"clipper-edge-right", "visible", 0.0);
5823              set_drag(PART:"edge-drag-right", 0.0, val);
5824
5825              set_state(PART:"clipper-edge-left", "default", 0.0);
5826              set_state(PART:"clipper-edge-top", "default", 0.0);
5827              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5828              hide_corners();
5829           }
5830
5831           show_edge_top(Float:val) {
5832              set_state(PART:"clipper-edge-top", "visible", 0.0);
5833              set_drag(PART:"edge-drag-top", val, 0.0);
5834
5835              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5836              set_state(PART:"clipper-edge-left", "default", 0.0);
5837              set_state(PART:"clipper-edge-right", "default", 0.0);
5838              hide_corners();
5839           }
5840           show_edge_bottom(Float:val) {
5841              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5842              set_drag(PART:"edge-drag-bottom", val, 0.0);
5843
5844              set_state(PART:"clipper-edge-top", "default", 0.0);
5845              set_state(PART:"clipper-edge-left", "default", 0.0);
5846              set_state(PART:"clipper-edge-right", "default", 0.0);
5847              hide_corners();
5848           }
5849
5850           public message(Msg_Type:type, id, ...) {
5851              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5852                 new Float:x, Float:y;
5853
5854                 x = getfarg(2);
5855                 y = getfarg(3);
5856
5857                 if (x < 0.0)
5858                   {
5859                      if (y < 0.0)      show_corner_top_left();
5860                      else if (y > 1.0) show_corner_bottom_left();
5861                      else              show_edge_left(y);
5862                   }
5863                 else if (x > 1.0)
5864                   {
5865                      if (y < 0.0)      show_corner_top_right();
5866                      else if (y > 1.0) show_corner_bottom_right();
5867                      else              show_edge_right(y);
5868                   }
5869                 else
5870                   {
5871                      if (y < 0.0)      show_edge_top(x);
5872                      else if (y > 1.0) show_edge_bottom(x);
5873                      else
5874                        {
5875                           hide_corners();
5876                           hide_edges();
5877                        }
5878                   }
5879              }
5880           }
5881        }
5882        parts {
5883            part { name: "clipper";
5884                type: RECT;
5885                description { state: "default" 0.0;
5886                    color: 255 255 255 0;
5887                    rel1.to: "elm.swallow.content";
5888                    rel1.offset: -64 -64;
5889                    rel2.to: "elm.swallow.content";
5890                    rel2.offset: 63 63;
5891                }
5892                description { state: "visible" 0.0;
5893                    inherit: "default" 0.0;
5894                    color: 255 255 255 255;
5895                }
5896            }
5897            part { name: "pop";
5898                mouse_events: 0;
5899                clip_to: "clipper";
5900                description { state: "default" 0.0;
5901                    min: 30 30;
5902                    rel1 {
5903                        to: "elm.swallow.content";
5904                        offset: -15 -15;
5905                    }
5906                    rel2 {
5907                        to: "elm.swallow.content";
5908                        offset: 14 14;
5909                    }
5910                    image {
5911                        normal: "tooltip-base.png";
5912                        border: 14 14 14 14;
5913                    }
5914                    image.middle: SOLID;
5915                }
5916            }
5917
5918 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
5919            part { name: "corner-"name_;                                 \
5920               type: IMAGE;                                              \
5921               mouse_events: 0;                                          \
5922               clip_to: "clipper";                                       \
5923               description { state: "default" 0.0;                       \
5924                  color: 255 255 255 0;                                  \
5925                  visible: 0;                                            \
5926                  min: 14 14;                                            \
5927                  max: 14 14;                                            \
5928                  align: ax ay;                                          \
5929                  fixed: 1 1;                                            \
5930                  rel1 {                                                 \
5931                     relative: rx ry;                                    \
5932                     offset: ox oy;                                      \
5933                     to: "elm.swallow.content";                          \
5934                  }                                                      \
5935                  rel2 {                                                 \
5936                     relative: rx ry;                                    \
5937                     offset: ox oy;                                      \
5938                     to: "elm.swallow.content";                          \
5939                  }                                                      \
5940                  image.normal: "tooltip-corner-"name_"-tip.png";        \
5941               }                                                         \
5942               description { state: "visible" 0.0;                       \
5943                  inherit: "default" 0.0;                                \
5944                  color: 255 255 255 255;                                \
5945                  visible: 1;                                            \
5946               }                                                         \
5947            }
5948            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
5949            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
5950            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
5951            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
5952 #undef TT_CORNER
5953
5954 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
5955            part { name: "clipper-edge-"name_;                           \
5956               type: RECT;                                               \
5957               clip_to: "clipper";                                       \
5958               description { state: "default" 0.0;                       \
5959                  color: 255 255 255 0;                                  \
5960                  visible: 0;                                            \
5961                  min: 14 14;                                            \
5962                  align: ax 0.5;                                         \
5963                  fixed: 1 1;                                            \
5964                  rel1 {                                                 \
5965                     relative: rx 0.0;                                   \
5966                     offset: ox 0;                                       \
5967                     to: "elm.swallow.content";                          \
5968                  }                                                      \
5969                  rel2 {                                                 \
5970                     relative: rx 1.0;                                   \
5971                     offset: ox 0;                                       \
5972                     to: "elm.swallow.content";                          \
5973                  }                                                      \
5974               }                                                         \
5975               description { state: "visible" 0.0;                       \
5976                  inherit: "default" 0.0;                                \
5977                  color: 255 255 255 255;                                \
5978                  visible: 1;                                            \
5979               }                                                         \
5980            }                                                            \
5981            part { name: "edge-area-"name_;                              \
5982               type: RECT;                                               \
5983               mouse_events: 0;                                          \
5984               clip_to: "clipper-edge-"name_;                            \
5985               description { state: "default" 0.0;                       \
5986                  color: 0 0 0 0;                                        \
5987                  min: 14 14;                                            \
5988                  align: ax 0.5;                                         \
5989                  fixed: 1 1;                                            \
5990                  rel1 {                                                 \
5991                     relative: rx 0.0;                                   \
5992                     offset: ox 0;                                       \
5993                     to: "elm.swallow.content";                          \
5994                  }                                                      \
5995                  rel2 {                                                 \
5996                     relative: rx 1.0;                                   \
5997                     offset: ox 0;                                       \
5998                     to: "elm.swallow.content";                          \
5999                  }                                                      \
6000               }                                                         \
6001            }                                                            \
6002            part { name: "edge-drag-"name_;                              \
6003               type: RECT;                                               \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper-edge-"name_;                            \
6006               dragable {                                                \
6007                   x: 0 0 0;                                             \
6008                   y: 1 1 0;                                             \
6009                   confine: "edge-area-"name_;                           \
6010               }                                                         \
6011               description { state: "default" 0.0;                       \
6012                  color: 0 0 0 0;                                        \
6013                  min: 14 14;                                            \
6014                  rel1.to: "edge-area-"name_;                            \
6015                  rel2.to: "edge-area-"name_;                            \
6016               }                                                         \
6017            }                                                            \
6018            part { name: "edge-img-"name_;                               \
6019               type: IMAGE;                                              \
6020               mouse_events: 0;                                          \
6021               clip_to: "clipper-edge-"name_;                            \
6022               description { state: "default" 0.0;                       \
6023                  min: 14 14;                                            \
6024                  max: 14 14;                                            \
6025                  align: ax 0.5;                                         \
6026                  fixed: 1 1;                                            \
6027                  rel1.to: "edge-drag-"name_;                            \
6028                  rel2.to: "edge-drag-"name_;                            \
6029                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6030               }                                                         \
6031            }
6032            TT_EDGE_VERT("left", 0, 1, -2);
6033            TT_EDGE_VERT("right", 1, 0, 1);
6034 #undef TT_EDGE_VERT
6035
6036 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6037            part { name: "clipper-edge-"name_;                           \
6038               type: RECT;                                               \
6039               clip_to: "clipper";                                       \
6040               description { state: "default" 0.0;                       \
6041                  color: 255 255 255 0;                                  \
6042                  visible: 0;                                            \
6043                  min: 14 14;                                            \
6044                  align: 0.5 ay;                                         \
6045                  fixed: 1 1;                                            \
6046                  rel1 {                                                 \
6047                     relative: 0.0 ry;                                   \
6048                     offset: 0 oy;                                       \
6049                     to: "elm.swallow.content";                          \
6050                  }                                                      \
6051                  rel2 {                                                 \
6052                     relative: 1.0 ry;                                   \
6053                     offset: 0 oy;                                       \
6054                     to: "elm.swallow.content";                          \
6055                  }                                                      \
6056               }                                                         \
6057               description { state: "visible" 0.0;                       \
6058                  inherit: "default" 0.0;                                \
6059                  color: 255 255 255 255;                                \
6060                  visible: 1;                                            \
6061               }                                                         \
6062            }                                                            \
6063            part { name: "edge-area-"name_;                              \
6064               type: RECT;                                               \
6065               mouse_events: 0;                                          \
6066               clip_to: "clipper-edge-"name_;                            \
6067               description { state: "default" 0.0;                       \
6068                  color: 0 0 0 0;                                        \
6069                  min: 14 14;                                            \
6070                  align: 0.5 ay;                                         \
6071                  fixed: 1 1;                                            \
6072                  rel1 {                                                 \
6073                     relative: 0.0 ry;                                   \
6074                     offset: 0 oy;                                       \
6075                     to: "elm.swallow.content";                          \
6076                  }                                                      \
6077                  rel2 {                                                 \
6078                     relative: 1.0 ry;                                   \
6079                     offset: 0 oy;                                       \
6080                     to: "elm.swallow.content";                          \
6081                  }                                                      \
6082               }                                                         \
6083            }                                                            \
6084            part { name: "edge-drag-"name_;                              \
6085               type: RECT;                                               \
6086               mouse_events: 0;                                          \
6087               clip_to: "clipper-edge-"name_;                            \
6088               dragable {                                                \
6089                   x: 1 1 0;                                             \
6090                   y: 0 0 0;                                             \
6091                   confine: "edge-area-"name_;                           \
6092               }                                                         \
6093               description { state: "default" 0.0;                       \
6094                  color: 0 0 0 0;                                        \
6095                  min: 14 14;                                            \
6096                  rel1.to: "edge-area-"name_;                            \
6097                  rel2.to: "edge-area-"name_;                            \
6098               }                                                         \
6099            }                                                            \
6100            part { name: "edge-img-"name_;                               \
6101               type: IMAGE;                                              \
6102               mouse_events: 0;                                          \
6103               clip_to: "clipper-edge-"name_;                            \
6104               description { state: "default" 0.0;                       \
6105                  min: 14 14;                                            \
6106                  max: 14 14;                                            \
6107                  align: 0.5 ay;                                         \
6108                  fixed: 1 1;                                            \
6109                  rel1.to: "edge-drag-"name_;                            \
6110                  rel2.to: "edge-drag-"name_;                            \
6111                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6112               }                                                         \
6113            }
6114            TT_EDGE_HORIZ("top", 0, 1, -2);
6115            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6116 #undef TT_EDGE_HORIZ
6117
6118            part { name: "clipper_content";
6119                type: RECT;
6120                description { state: "default" 0.0;
6121                    color: 255 255 255 0;
6122                    rel1.to: "elm.swallow.content";
6123                    rel1.offset: -64 -64;
6124                    rel2.to: "elm.swallow.content";
6125                    rel2.offset: 63 63;
6126                }
6127                description { state: "visible" 0.0;
6128                    inherit: "default" 0.0;
6129                    color: 255 255 255 255;
6130                }
6131            }
6132            part { name: "elm.swallow.content";
6133                type: SWALLOW;
6134                clip_to: "clipper_content";
6135                description { state: "default" 0.0; }
6136            }
6137            programs {
6138                program {
6139                    name: "show0";
6140                    signal: "elm,action,show";
6141                    source: "elm";
6142                    action: ACTION_STOP;
6143                    target: "hide0";
6144                    target: "hide1";
6145                    target: "hide2";
6146                    target: "hide3";
6147                    after: "show1";
6148                    after: "show2";
6149                }
6150                program {
6151                    name: "show1";
6152                    action: STATE_SET "visible" 0.0;
6153                    transition: LINEAR 0.15;
6154                    target: "clipper";
6155                }
6156                program {
6157                    name: "show2";
6158                    in: 0.1 0.0;
6159                    action: STATE_SET "visible" 0.0;
6160                    transition: LINEAR 0.15;
6161                    target: "clipper_content";
6162                }
6163
6164                program {
6165                    name: "hide0";
6166                    signal: "elm,action,hide";
6167                    source: "elm";
6168                    action: ACTION_STOP;
6169                    target: "show0";
6170                    target: "show1";
6171                    target: "show2";
6172                    after: "hide1";
6173                    after: "hide2";
6174                    after: "hide3";
6175                }
6176                program {
6177                    name: "hide1";
6178                    script {
6179                       hide_corners();
6180                       hide_edges();
6181                    }
6182                }
6183                program {
6184                    name: "hide2";
6185                    action: STATE_SET "default" 0.0;
6186                    transition: LINEAR 0.1;
6187                    target: "clipper_content";
6188                }
6189                program {
6190                    name: "hide3";
6191                    in: 0.1 0.0;
6192                    action: STATE_SET "default" 0.0;
6193                    transition: LINEAR 0.1;
6194                    target: "clipper";
6195                }
6196            }
6197        }
6198    }
6199    group { name: "elm/tooltip/base/transparent";
6200       parts {
6201          part { name: "elm.swallow.content";
6202             type: SWALLOW;
6203             mouse_events:   0;
6204             scale: 1;
6205             description { state: "default" 0.0; }
6206          }
6207       }
6208    }
6209
6210 ///////////////////////////////////////////////////////////////////////////////
6211
6212    /* TODO: replicate diagonal swallow slots to the other hover styles */
6213    group { name: "elm/hover/base/default";
6214       images {
6215          image: "shad_circ.png" COMP;
6216       }
6217       parts {
6218          part { name: "elm.swallow.offset";
6219             type: SWALLOW;
6220             description { state: "default" 0.0;
6221                align: 0.0 0.0;
6222                rel1.relative: 0.0 0.0;
6223                rel2.relative: 0.0 0.0;
6224             }
6225          }
6226          part { name: "elm.swallow.size";
6227             type: SWALLOW;
6228             description { state: "default" 0.0;
6229                align: 0.0 0.0;
6230                rel1.to: "elm.swallow.offset";
6231                rel1.relative: 1.0 1.0;
6232                rel2.to: "elm.swallow.offset";
6233                rel2.relative: 1.0 1.0;
6234             }
6235          }
6236          part { name: "base";
6237             type: RECT;
6238             mouse_events: 1;
6239             description { state: "default" 0.0;
6240                color: 0 0 0 64;
6241             }
6242          }
6243          part { name: "shad";
6244             mouse_events:  0;
6245             description { state: "default" 0.0;
6246                image.normal: "shad_circ.png";
6247                rel1.to: "elm.swallow.size";
6248                rel1.offset: -32 -32;
6249                rel2.to: "elm.swallow.size";
6250                rel2.offset: 31 31;
6251                fill.smooth: 0;
6252             }
6253          }
6254          part { name: "box";
6255             type: RECT;
6256             mouse_events: 0;
6257             description { state: "default" 0.0;
6258                color: 0 0 0 0;
6259                rel1.to: "elm.swallow.size";
6260                rel1.offset: -2 -2;
6261                rel2.to: "elm.swallow.size";
6262                rel2.offset: 1 1;
6263             }
6264          }
6265          part { name: "elm.swallow.slot.left";
6266             type: SWALLOW;
6267             description { state: "default" 0.0;
6268                align: 1.0 0.5;
6269                rel1.to: "elm.swallow.slot.middle";
6270                rel1.relative: 0.0 0.0;
6271                rel1.offset: -1 0;
6272                rel2.to: "elm.swallow.slot.middle";
6273                rel2.relative: 0.0 1.0;
6274                rel2.offset: -1 -1;
6275             }
6276          }
6277          part { name: "elm.swallow.slot.top-left";
6278             type: SWALLOW;
6279             description { state: "default" 0.0;
6280                align: 1.0 1.0;
6281                rel1.to: "elm.swallow.slot.middle";
6282                rel1.relative: 0.0 0.0;
6283                rel1.offset: 0 0;
6284                rel2.to: "elm.swallow.slot.middle";
6285                rel2.relative: 0.0 0.0;
6286                rel2.offset: -1 -1;
6287             }
6288          }
6289          part { name: "elm.swallow.slot.top";
6290             type: SWALLOW;
6291             description { state: "default" 0.0;
6292                align: 0.5 1.0;
6293                rel1.to: "elm.swallow.slot.middle";
6294                rel1.relative: 0.0 0.0;
6295                rel1.offset: 0 -1;
6296                rel2.to: "elm.swallow.slot.middle";
6297                rel2.relative: 1.0 0.0;
6298                rel2.offset: -1 -1;
6299             }
6300          }
6301          part { name: "elm.swallow.slot.top-right";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 1.0;
6305                rel1.to: "elm.swallow.slot.middle";
6306                rel1.relative: 1.0 0.0;
6307                rel1.offset: 0 0;
6308                rel2.to: "elm.swallow.slot.middle";
6309                rel2.relative: 1.0 0.0;
6310                rel2.offset: -1 -1;
6311             }
6312          }
6313          part { name: "elm.swallow.slot.right";
6314             type: SWALLOW;
6315             description { state: "default" 0.0;
6316                align: 0.0 0.5;
6317                rel1.to: "elm.swallow.slot.middle";
6318                rel1.relative: 1.0 0.0;
6319                rel1.offset: 0 0;
6320                rel2.to: "elm.swallow.slot.middle";
6321                rel2.relative: 1.0 1.0;
6322                rel2.offset: 0 -1;
6323             }
6324          }
6325          part { name: "elm.swallow.slot.bottom-right";
6326             type: SWALLOW;
6327             description { state: "default" 0.0;
6328                align: 0.0 0.0;
6329                rel1.to: "elm.swallow.slot.middle";
6330                rel1.relative: 1.0 1.0;
6331                rel1.offset: 0 0;
6332                rel2.to: "elm.swallow.slot.middle";
6333                rel2.relative: 1.0 1.0;
6334                rel2.offset: -1 -1;
6335             }
6336          }
6337          part { name: "elm.swallow.slot.bottom";
6338             type: SWALLOW;
6339             description { state: "default" 0.0;
6340                align: 0.5 0.0;
6341                rel1.to: "elm.swallow.slot.middle";
6342                rel1.relative: 0.0 1.0;
6343                rel1.offset: 0 0;
6344                rel2.to: "elm.swallow.slot.middle";
6345                rel2.relative: 1.0 1.0;
6346                rel2.offset: -1 0;
6347             }
6348          }
6349          part { name: "elm.swallow.slot.bottom-left";
6350             type: SWALLOW;
6351             description { state: "default" 0.0;
6352                align: 1.0 0.0;
6353                rel1.to: "elm.swallow.slot.middle";
6354                rel1.relative: 0.0 1.0;
6355                rel1.offset: 0 0;
6356                rel2.to: "elm.swallow.slot.middle";
6357                rel2.relative: 0.0 1.0;
6358                rel2.offset: -1 0;
6359             }
6360          }
6361          part { name: "elm.swallow.slot.middle";
6362             type: SWALLOW;
6363             description { state: "default" 0.0;
6364                rel1.to: "elm.swallow.size";
6365                rel2.to: "elm.swallow.size";
6366             }
6367          }
6368       }
6369       programs {
6370          program { name: "end";
6371             signal: "mouse,up,1";
6372             source: "base";
6373             action: SIGNAL_EMIT "elm,action,dismiss" "";
6374          }
6375       }
6376    }
6377
6378    group { name: "elm/hover/base/popout";
6379       images {
6380          image: "shad_circ.png" COMP;
6381          image: "bt_dis_base.png" COMP;
6382          image: "bt_dis_hilight.png" COMP;
6383       }
6384       parts {
6385          part { name: "elm.swallow.offset";
6386             type: SWALLOW;
6387             description { state: "default" 0.0;
6388                align: 0.0 0.0;
6389                rel1.relative: 0.0 0.0;
6390                rel2.relative: 0.0 0.0;
6391             }
6392          }
6393          part { name: "elm.swallow.size";
6394             type: SWALLOW;
6395             description { state: "default" 0.0;
6396                align: 0.0 0.0;
6397                rel1.to: "elm.swallow.offset";
6398                rel1.relative: 1.0 1.0;
6399                rel2.to: "elm.swallow.offset";
6400                rel2.relative: 1.0 1.0;
6401             }
6402          }
6403          part { name: "base";
6404             type: RECT;
6405             mouse_events: 1;
6406             description { state: "default" 0.0;
6407                color: 0 0 0 0;
6408             }
6409             description { state: "visible" 0.0;
6410                inherit: "default" 1.0;
6411                color: 0 0 0 64;
6412             }
6413          }
6414          part { name: "leftclip";
6415             type: RECT;
6416             description { state: "default" 0.0;
6417                rel2.to_x: "pop";
6418                rel2.relative: 0.0 1.0;
6419                rel2.offset: 1 -1;
6420             }
6421          }
6422          part { name: "left";
6423             clip_to: "leftclip";
6424             description { state: "default" 0.0;
6425                visible: 0;
6426                rel1.to: "elm.swallow.slot.left";
6427                rel1.offset: -5 -5;
6428                rel2.to: "elm.swallow.slot.left";
6429                rel2.offset: 4 4;
6430                image {
6431                   normal: "bt_dis_base.png";
6432                   border: 4 4 4 4;
6433                }
6434                image.middle: SOLID;
6435             }
6436             description { state: "visible" 0.0;
6437                inherit: "default" 0.0;
6438                visible: 1;
6439             }
6440          }
6441          part { name: "elm.swallow.slot.left";
6442             type: SWALLOW;
6443             clip_to: "leftclip";
6444             description { state: "default" 0.0;
6445                align: 0.0 0.5;
6446                rel1.to: "elm.swallow.slot.middle";
6447                rel1.relative: 0.0 0.0;
6448                rel1.offset: -1 0;
6449                rel2.to: "elm.swallow.slot.middle";
6450                rel2.relative: 0.0 1.0;
6451                rel2.offset: -1 -1;
6452             }
6453             description { state: "visible" 0.0;
6454                inherit: "default" 0.0;
6455                rel1.offset: -7 0;
6456                rel2.offset: -7 -1;
6457                align: 1.0 0.5;
6458             }
6459          }
6460          part { name: "leftover";
6461             clip_to: "leftclip";
6462             mouse_events: 0;
6463             description { state: "default" 0.0;
6464                rel1.to: "left";
6465                rel2.to: "left";
6466                rel2.relative: 1.0 0.5;
6467                image {
6468                   normal: "bt_dis_hilight.png";
6469                   border: 4 4 4 0;
6470                }
6471             }
6472          }
6473          part { name: "rightclip";
6474             type: RECT;
6475             description { state: "default" 0.0;
6476                rel1.to_x: "pop";
6477                rel1.relative: 1.0 0.0;
6478                rel1.offset: -2 0;
6479             }
6480          }
6481          part { name: "right";
6482             clip_to: "rightclip";
6483             description { state: "default" 0.0;
6484                visible: 0;
6485                rel1.to: "elm.swallow.slot.right";
6486                rel1.offset: -5 -5;
6487                rel2.to: "elm.swallow.slot.right";
6488                rel2.offset: 4 4;
6489                image {
6490                   normal: "bt_dis_base.png";
6491                   border: 4 4 4 4;
6492                }
6493                image.middle: SOLID;
6494             }
6495             description { state: "visible" 0.0;
6496                inherit: "default" 0.0;
6497                visible: 1;
6498             }
6499          }
6500          part { name: "elm.swallow.slot.right";
6501             type: SWALLOW;
6502             clip_to: "rightclip";
6503             description { state: "default" 0.0;
6504                align: 1.0 0.5;
6505                rel1.to: "elm.swallow.slot.middle";
6506                rel1.relative: 1.0 0.0;
6507                rel1.offset: 0 0;
6508                rel2.to: "elm.swallow.slot.middle";
6509                rel2.relative: 1.0 1.0;
6510                rel2.offset: 0 -1;
6511             }
6512             description { state: "visible" 0.0;
6513                inherit: "default" 0.0;
6514                rel1.offset: 6 0;
6515                rel2.offset: 6 -1;
6516                align: 0.0 0.5;
6517             }
6518          }
6519          part { name: "rightover";
6520             clip_to: "rightclip";
6521             mouse_events: 0;
6522             description { state: "default" 0.0;
6523                rel1.to: "right";
6524                rel2.to: "right";
6525                rel2.relative: 1.0 0.5;
6526                image {
6527                   normal: "bt_dis_hilight.png";
6528                   border: 4 4 4 0;
6529                }
6530             }
6531          }
6532          part { name: "topclip";
6533             type: RECT;
6534             description { state: "default" 0.0;
6535                rel2.to_y: "pop";
6536                rel2.relative: 1.0 0.0;
6537                rel2.offset: -1 1;
6538             }
6539          }
6540          part { name: "top";
6541             clip_to: "topclip";
6542             description { state: "default" 0.0;
6543                visible: 0;
6544                rel1.to: "elm.swallow.slot.top";
6545                rel1.offset: -5 -5;
6546                rel2.to: "elm.swallow.slot.top";
6547                rel2.offset: 4 4;
6548                image {
6549                   normal: "bt_dis_base.png";
6550                   border: 4 4 4 4;
6551                }
6552                image.middle: SOLID;
6553             }
6554             description { state: "visible" 0.0;
6555                inherit: "default" 0.0;
6556                visible: 1;
6557             }
6558          }
6559          part { name: "elm.swallow.slot.top";
6560             type: SWALLOW;
6561             clip_to: "topclip";
6562             description { state: "default" 0.0;
6563                visible: 1;
6564                align: 0.5 0.0;
6565                rel1.to: "elm.swallow.slot.middle";
6566                rel1.relative: 0.0 0.0;
6567                rel1.offset: 0 -1;
6568                rel2.to: "elm.swallow.slot.middle";
6569                rel2.relative: 1.0 0.0;
6570                rel2.offset: -1 -1;
6571             }
6572             description { state: "visible" 0.0;
6573                inherit: "default" 0.0;
6574                rel1.offset: 0 -7;
6575                rel2.offset: -1 -7;
6576                align: 0.5 1.0;
6577             }
6578          }
6579          part { name: "topover";
6580             clip_to: "topclip";
6581             mouse_events: 0;
6582             description { state: "default" 0.0;
6583                rel1.to: "top";
6584                rel2.to: "top";
6585                rel2.relative: 1.0 0.5;
6586                image {
6587                   normal: "bt_dis_hilight.png";
6588                   border: 4 4 4 0;
6589                }
6590             }
6591          }
6592          part { name: "bottomclip";
6593             type: RECT;
6594             description { state: "default" 0.0;
6595                rel1.to_y: "pop";
6596                rel1.relative: 0.0 1.0;
6597                rel1.offset: -1 -2;
6598             }
6599          }
6600          part { name: "bottom";
6601             clip_to: "bottomclip";
6602             description { state: "default" 0.0;
6603                visible: 0;
6604                rel1.to: "elm.swallow.slot.bottom";
6605                rel1.offset: -5 -5;
6606                rel2.to: "elm.swallow.slot.bottom";
6607                rel2.offset: 4 4;
6608                image {
6609                   normal: "bt_dis_base.png";
6610                   border: 4 4 4 4;
6611                }
6612                image.middle: SOLID;
6613             }
6614             description { state: "visible" 0.0;
6615                inherit: "default" 0.0;
6616                visible: 1;
6617             }
6618          }
6619          part { name: "elm.swallow.slot.bottom";
6620             type: SWALLOW;
6621             clip_to: "bottomclip";
6622             description { state: "default" 0.0;
6623                align: 0.5 1.0;
6624                rel1.to: "elm.swallow.slot.middle";
6625                rel1.relative: 0.0 1.0;
6626                rel1.offset: 0 0;
6627                rel2.to: "elm.swallow.slot.middle";
6628                rel2.relative: 1.0 1.0;
6629                rel2.offset: -1 0;
6630             }
6631             description { state: "visible" 0.0;
6632                inherit: "default" 0.0;
6633                rel1.offset: 0 6;
6634                rel2.offset: -1 6;
6635                align: 0.5 0.0;
6636             }
6637          }
6638          part { name: "bottomover";
6639             clip_to: "bottomclip";
6640             mouse_events: 0;
6641             description { state: "default" 0.0;
6642                rel1.to: "bottom";
6643                rel2.to: "bottom";
6644                rel2.relative: 1.0 0.5;
6645                image {
6646                   normal: "bt_dis_hilight.png";
6647                   border: 4 4 4 0;
6648                }
6649             }
6650          }
6651          part { name: "shad";
6652             mouse_events:  0;
6653             description { state: "default" 0.0;
6654                image.normal: "shad_circ.png";
6655                rel1.to: "elm.swallow.size";
6656                rel1.offset: -64 -64;
6657                rel2.to: "elm.swallow.size";
6658                rel2.offset: 63 63;
6659                fill.smooth: 0;
6660             }
6661          }
6662          part { name: "pop";
6663             mouse_events: 1;
6664             description { state: "default" 0.0;
6665                rel1.to: "elm.swallow.slot.middle";
6666                rel1.offset: -5 -5;
6667                rel2.to: "elm.swallow.slot.middle";
6668                rel2.offset: 4 4;
6669                image {
6670                   normal: "bt_dis_base.png";
6671                   border: 4 4 4 4;
6672                }
6673                image.middle: SOLID;
6674             }
6675          }
6676          part { name: "elm.swallow.slot.middle";
6677             type: SWALLOW;
6678             description { state: "default" 0.0;
6679                rel1.to: "elm.swallow.size";
6680                rel2.to: "elm.swallow.size";
6681             }
6682          }
6683          part { name: "popover";
6684             mouse_events: 0;
6685             description { state: "default" 0.0;
6686                rel1.to: "pop";
6687                rel2.to: "pop";
6688                rel2.relative: 1.0 0.5;
6689                image {
6690                   normal: "bt_dis_hilight.png";
6691                   border: 4 4 4 0;
6692                }
6693             }
6694          }
6695       }
6696       programs {
6697          program { name: "end";
6698             signal: "mouse,up,1";
6699             source: "base";
6700             action: SIGNAL_EMIT "elm,action,dismiss" "";
6701          }
6702
6703          program { name: "show";
6704             signal: "elm,action,show";
6705             source: "elm";
6706             action: STATE_SET "visible" 0.0;
6707 //            transition: DECELERATE 0.5;
6708             target: "base";
6709          }
6710          program { name: "hide";
6711             signal: "elm,action,hide";
6712             source: "elm";
6713             action: STATE_SET "default" 0.0;
6714 //            transition: DECELERATE 0.5;
6715             target: "base";
6716          }
6717
6718          program { name: "leftshow";
6719             signal: "elm,action,slot,left,show";
6720             source: "elm";
6721             action: STATE_SET "visible" 0.0;
6722             transition: DECELERATE 0.5;
6723             target: "left";
6724             target: "elm.swallow.slot.left";
6725          }
6726          program { name: "lefthide";
6727             signal: "elm,action,slot,left,hide";
6728             source: "elm";
6729             action: STATE_SET "default" 0.0;
6730             transition: DECELERATE 0.5;
6731             target: "left";
6732             target: "elm.swallow.slot.left";
6733          }
6734          program { name: "rightshow";
6735             signal: "elm,action,slot,right,show";
6736             source: "elm";
6737             action: STATE_SET "visible" 0.0;
6738             transition: DECELERATE 0.5;
6739             target: "right";
6740             target: "elm.swallow.slot.right";
6741          }
6742          program { name: "righthide";
6743             signal: "elm,action,slot,right,hide";
6744             source: "elm";
6745             action: STATE_SET "default" 0.0;
6746             transition: DECELERATE 0.5;
6747             target: "right";
6748             target: "elm.swallow.slot.right";
6749          }
6750          program { name: "topshow";
6751             signal: "elm,action,slot,top,show";
6752             source: "elm";
6753             action: STATE_SET "visible" 0.0;
6754             transition: DECELERATE 0.5;
6755             target: "top";
6756             target: "elm.swallow.slot.top";
6757          }
6758          program { name: "tophide";
6759             signal: "elm,action,slot,top,hide";
6760             source: "elm";
6761             action: STATE_SET "default" 0.0;
6762             transition: DECELERATE 0.5;
6763             target: "top";
6764             target: "elm.swallow.slot.top";
6765          }
6766          program { name: "bottomshow";
6767             signal: "elm,action,slot,bottom,show";
6768             source: "elm";
6769             action: STATE_SET "visible" 0.0;
6770             transition: DECELERATE 0.5;
6771             target: "bottom";
6772             target: "elm.swallow.slot.bottom";
6773          }
6774          program { name: "bottomhide";
6775             signal: "elm,action,slot,bottom,hide";
6776             source: "elm";
6777             action: STATE_SET "default" 0.0;
6778             transition: DECELERATE 0.5;
6779             target: "bottom";
6780             target: "elm.swallow.slot.bottom";
6781          }
6782       }
6783    }
6784
6785    //In the hover used by the menu only the bottom part is used.
6786    group { name: "elm/hover/base/menu";
6787        images {
6788            image: "shad_circ.png" COMP;
6789            image: "bt_dis_base.png" COMP;
6790        }
6791        parts {
6792            part { name: "elm.swallow.offset";
6793                type: SWALLOW;
6794                description { state: "default" 0.0;
6795                    align: 0.0 0.0;
6796                    rel1.relative: 0.0 0.0;
6797                    rel2.relative: 0.0 0.0;
6798                }
6799            }
6800            part { name: "elm.swallow.size";
6801                type: SWALLOW;
6802                description { state: "default" 0.0;
6803                    align: 0.0 0.0;
6804                    rel1.to: "elm.swallow.offset";
6805                    rel1.relative: 1.0 1.0;
6806                    rel2.to: "elm.swallow.offset";
6807                    rel2.relative: 1.0 1.0;
6808                }
6809            }
6810            part { name: "base";
6811                type: RECT;
6812                mouse_events: 1;
6813                description { state: "default" 0.0;
6814                    color: 0 0 0 0;
6815                }
6816                description { state: "visible" 0.0;
6817                    inherit: "default" 1.0;
6818                    color: 0 0 0 64;
6819                }
6820            }
6821            part { name: "elm.swallow.slot.left";
6822                type: SWALLOW;
6823                description { state: "default" 0.0;
6824                }
6825            }
6826            part { name: "elm.swallow.slot.right";
6827                type: SWALLOW;
6828                description { state: "default" 0.0;
6829                }
6830            }
6831            part { name: "elm.swallow.slot.top";
6832                type: SWALLOW;
6833                description { state: "default" 0.0;
6834                }
6835                description { state: "visible" 0.0;
6836                    inherit: "default" 0.0;
6837                }
6838            }
6839            part { name: "bottomclip";
6840                type: RECT;
6841                description { state: "default" 0.0;
6842                    rel1.to_y: "pop";
6843                    rel1.relative: 0.0 1.0;
6844                    rel1.offset: -1 -2;
6845                }
6846            }
6847            part { name: "bottom";
6848                clip_to: "bottomclip";
6849                description { state: "default" 0.0;
6850                    visible: 0;
6851                    rel1.to: "elm.swallow.slot.bottom";
6852                    rel1.offset: -5 -5;
6853                    rel2.to: "elm.swallow.slot.bottom";
6854                    rel2.offset: 4 4;
6855                    image {
6856                        normal: "bt_dis_base.png";
6857                        border: 4 4 4 4;
6858                    }
6859                    image.middle: SOLID;
6860                }
6861                description { state: "visible" 0.0;
6862                    inherit: "default" 0.0;
6863                    visible: 1;
6864                }
6865            }
6866            part { name: "elm.swallow.slot.bottom";
6867                type: SWALLOW;
6868                clip_to: "bottomclip";
6869                description { state: "default" 0.0;
6870                    align: 0.5 1.0;
6871                    rel1.to: "elm.swallow.slot.middle";
6872                    rel1.relative: 0.0 1.0;
6873                    rel1.offset: 0 0;
6874                    rel2.to: "elm.swallow.slot.middle";
6875                    rel2.relative: 1.0 1.0;
6876                    rel2.offset: -1 0;
6877                }
6878                description { state: "visible" 0.0;
6879                    inherit: "default" 0.0;
6880                    rel1.offset: 0 6;
6881                    rel2.offset: -1 6;
6882                    align: 0.5 0.0;
6883                }
6884            }
6885            part { name: "pop";
6886                mouse_events: 1;
6887                repeat_events:1;
6888                description { state: "default" 0.0;
6889                    rel1.to: "elm.swallow.slot.middle";
6890                    rel1.offset: -5 -5;
6891                    rel2.to: "elm.swallow.slot.middle";
6892                    rel2.offset: 4 4;
6893                }
6894            }
6895            part { name: "elm.swallow.slot.middle";
6896                type: SWALLOW;
6897                repeat_events:1;
6898                description { state: "default" 0.0;
6899                    rel1.to: "elm.swallow.size";
6900                    rel2.to: "elm.swallow.size";
6901                }
6902            }
6903        }
6904        programs {
6905            program { name: "end";
6906                signal: "mouse,up,1";
6907                source: "base";
6908                action: SIGNAL_EMIT "elm,action,dismiss" "";
6909            }
6910            program { name: "show";
6911                signal: "elm,action,show";
6912                source: "elm";
6913                action: STATE_SET "visible" 0.0;
6914                        //            transition: DECELERATE 0.5;
6915                target: "base";
6916            }
6917            program { name: "hide";
6918                signal: "elm,action,hide";
6919                source: "elm";
6920                action: STATE_SET "default" 0.0;
6921                        //            transition: DECELERATE 0.5;
6922                target: "base";
6923            }
6924            program { name: "bottomshow";
6925                signal: "elm,action,slot,bottom,show";
6926                source: "elm";
6927                action: STATE_SET "visible" 0.0;
6928                transition: DECELERATE 0.3;
6929                target: "bottom";
6930                target: "elm.swallow.slot.bottom";
6931            }
6932            program { name: "bottomhide";
6933                signal: "elm,action,slot,bottom,hide";
6934                source: "elm";
6935                action: STATE_SET "default" 0.0;
6936                transition: DECELERATE 0.5;
6937                target: "bottom";
6938                target: "elm.swallow.slot.bottom";
6939            }
6940        }
6941    }
6942
6943    //In the hover used by the submenu only the bottom part is used
6944    //and no part should interact except the bottom area
6945    group { name: "elm/hover/base/submenu";
6946        images {
6947            image: "shad_circ.png" COMP;
6948            image: "bt_dis_base.png" COMP;
6949        }
6950        parts {
6951            part { name: "elm.swallow.offset";
6952                type: SWALLOW;
6953                repeat_events:1;
6954                description { state: "default" 0.0;
6955                    align: 0.0 0.0;
6956                    rel1.relative: 0.0 0.0;
6957                    rel2.relative: 0.0 0.0;
6958                }
6959            }
6960            part { name: "elm.swallow.size";
6961                type: SWALLOW;
6962                description { state: "default" 0.0;
6963                    align: 0.0 0.0;
6964                    rel1.to: "elm.swallow.offset";
6965                    rel1.relative: 1.0 1.0;
6966                    rel2.to: "elm.swallow.offset";
6967                    rel2.relative: 1.0 1.0;
6968                }
6969            }
6970            //here we do non catch events like the hover hover does
6971            part { name: "base";
6972                type: RECT;
6973                mouse_events: 1;
6974                description { state: "default" 0.0;
6975                    color: 0 0 0 0;
6976                    visible: 0;
6977                }
6978            }
6979            part { name: "elm.swallow.slot.left";
6980                type: SWALLOW;
6981                description { state: "default" 0.0;
6982                }
6983            }
6984            part { name: "elm.swallow.slot.right";
6985                type: SWALLOW;
6986                description { state: "default" 0.0;
6987                }
6988            }
6989            part { name: "elm.swallow.slot.top";
6990                type: SWALLOW;
6991                description { state: "default" 0.0;
6992                }
6993            }
6994            part { name: "bottomclip";
6995                type: RECT;
6996                description { state: "default" 0.0;
6997                    rel1.to_y: "pop";
6998                    rel1.relative: 0.0 1.0;
6999                    rel1.offset: -1 -2;
7000                }
7001            }
7002            part { name: "bottom";
7003                clip_to: "bottomclip";
7004                description { state: "default" 0.0;
7005                    visible: 0;
7006                    rel1.to: "elm.swallow.slot.bottom";
7007                    rel1.offset: -5 -5;
7008                    rel2.to: "elm.swallow.slot.bottom";
7009                    rel2.offset: 4 4;
7010                    image {
7011                        normal: "bt_dis_base.png";
7012                        border: 4 4 4 4;
7013                    }
7014                    image.middle: SOLID;
7015                }
7016                description { state: "visible" 0.0;
7017                    inherit: "default" 0.0;
7018                    visible: 1;
7019                }
7020            }
7021            part { name: "elm.swallow.slot.bottom";
7022                type: SWALLOW;
7023                clip_to: "bottomclip";
7024                description { state: "default" 0.0;
7025                    align: 0.5 1.0;
7026                    rel1.to: "elm.swallow.slot.middle";
7027                    rel1.relative: 0.0 1.0;
7028                    rel1.offset: 0 0;
7029                    rel2.to: "elm.swallow.slot.middle";
7030                    rel2.relative: 1.0 1.0;
7031                    rel2.offset: -1 0;
7032                }
7033                description { state: "visible" 0.0;
7034                    inherit: "default" 0.0;
7035                    rel1.offset: 0 6;
7036                    rel2.offset: -1 6;
7037                    align: 0.5 0.0;
7038                }
7039            }
7040            part { name: "pop";
7041                mouse_events: 1;
7042                repeat_events:1;
7043                description { state: "default" 0.0;
7044                    rel1.to: "elm.swallow.slot.middle";
7045                    rel1.offset: -5 -5;
7046                    rel2.to: "elm.swallow.slot.middle";
7047                    rel2.offset: 4 4;
7048                }
7049            }
7050            part { name: "elm.swallow.slot.middle";
7051                type: SWALLOW;
7052                repeat_events:1;
7053                description { state: "default" 0.0;
7054                    rel1.to: "elm.swallow.size";
7055                    rel2.to: "elm.swallow.size";
7056                }
7057            }
7058        }
7059        programs {
7060            program { name: "end";
7061                signal: "mouse,up,1";
7062                source: "base";
7063                action: SIGNAL_EMIT "elm,action,dismiss" "";
7064            }
7065            program { name: "show";
7066                signal: "elm,action,show";
7067                source: "elm";
7068                action: STATE_SET "visible" 0.0;
7069                        //            transition: DECELERATE 0.5;
7070                target: "base";
7071            }
7072            program { name: "hide";
7073                signal: "elm,action,hide";
7074                source: "elm";
7075                action: STATE_SET "default" 0.0;
7076                        //            transition: DECELERATE 0.5;
7077                target: "base";
7078            }
7079            program { name: "bottomshow";
7080                signal: "elm,action,slot,bottom,show";
7081                source: "elm";
7082                action: STATE_SET "visible" 0.0;
7083                transition: DECELERATE 0.3;
7084                target: "bottom";
7085                target: "elm.swallow.slot.bottom";
7086            }
7087            program { name: "bottomhide";
7088                signal: "elm,action,slot,bottom,hide";
7089                source: "elm";
7090                action: STATE_SET "default" 0.0;
7091                transition: DECELERATE 0.5;
7092                target: "bottom";
7093                target: "elm.swallow.slot.bottom";
7094            }
7095        }
7096    }
7097
7098    group { name: "elm/hover/base/hoversel_vertical/default";
7099       alias: "elm/hover/base/hoversel_vertical/entry";
7100       images {
7101 //         image: "shad_circ.png" COMP;
7102          image: "bt_base2.png" COMP;
7103          image: "bt_hilight.png" COMP;
7104          image: "bt_shine.png" COMP;
7105          image: "outdent-top.png" COMP;
7106          image: "outdent-bottom.png" COMP;
7107       }
7108       parts {
7109          part { name: "elm.swallow.offset";
7110             type: SWALLOW;
7111             description { state: "default" 0.0;
7112                align: 0.0 0.0;
7113                rel1.relative: 0.0 0.0;
7114                rel2.relative: 0.0 0.0;
7115             }
7116          }
7117          part { name: "elm.swallow.size";
7118             type: SWALLOW;
7119             description { state: "default" 0.0;
7120                align: 0.0 0.0;
7121                rel1.to: "elm.swallow.offset";
7122                rel1.relative: 1.0 1.0;
7123                rel2.to: "elm.swallow.offset";
7124                rel2.relative: 1.0 1.0;
7125             }
7126          }
7127 /*
7128         part { name: "shad";
7129             mouse_events:  0;
7130             description { state: "default" 0.0;
7131                image.normal: "shad_circ.png";
7132                rel1.to: "button_image";
7133                rel1.offset: -64 -64;
7134                rel2.to: "button_image";
7135                rel2.offset: 63 63;
7136                fill.smooth: 0;
7137             }
7138          }
7139  */
7140          part { name: "button_image";
7141             mouse_events: 1;
7142             description { state: "default" 0.0;
7143                rel1.to_x: "elm.swallow.slot.top";
7144                rel1.to_y: "elm.swallow.slot.top";
7145                rel1.offset: -2 -6;
7146                rel2.to_x: "elm.swallow.slot.top";
7147                rel2.to_y: "elm.swallow.slot.bottom";
7148                rel2.offset: 1 5;
7149                image {
7150                   normal: "bt_base2.png";
7151                   border: 7 7 7 7;
7152                }
7153                image.middle: SOLID;
7154             }
7155             description { state: "bottom" 0.0;
7156                rel1.to_x: "elm.swallow.slot.bottom";
7157                rel1.to_y: "elm.swallow.slot.top";
7158                rel1.offset: -2 -6;
7159                rel2.to_x: "elm.swallow.slot.bottom";
7160                rel2.to_y: "elm.swallow.slot.bottom";
7161                rel2.offset: 1 5;
7162                image {
7163                   normal: "bt_base2.png";
7164                   border: 7 7 7 7;
7165                }
7166                image.middle: SOLID;
7167             }
7168          }
7169
7170          part { name: "base";
7171             type: RECT;
7172             mouse_events: 1;
7173             description { state: "default" 0.0;
7174                color: 0 0 0 0;
7175             }
7176             description { state: "visible" 0.0;
7177                inherit: "default" 1.0;
7178                color: 0 0 0 64;
7179             }
7180          }
7181
7182          part { name: "topclip";
7183             type: RECT;
7184             description { state: "default" 0.0;
7185                rel2.to_y: "edge_top";
7186                rel2.relative: 1.0 0.0;
7187                rel2.offset: -1 7;
7188             }
7189          }
7190          part { name: "elm.swallow.slot.top";
7191             type: SWALLOW;
7192             clip_to: "topclip";
7193             description { state: "default" 0.0;
7194                visible: 1;
7195                align: 0.5 0.0;
7196                rel1.to: "elm.swallow.slot.middle";
7197                rel1.relative: 0.0 0.0;
7198                rel1.offset: 0 -1;
7199                rel2.to: "elm.swallow.slot.middle";
7200                rel2.relative: 1.0 0.0;
7201                rel2.offset: -1 -1;
7202             }
7203             description { state: "visible" 0.0;
7204                inherit: "default" 0.0;
7205                rel1.offset: 0 -7;
7206                rel2.offset: -1 -7;
7207                align: 0.5 1.0;
7208             }
7209          }
7210
7211          part { name: "bottomclip";
7212             type: RECT;
7213             description { state: "default" 0.0;
7214                rel1.to_y: "edge_bottom";
7215                rel1.relative: 0.0 1.0;
7216                rel1.offset: -1 -8;
7217             }
7218          }
7219          part { name: "elm.swallow.slot.bottom";
7220             type: SWALLOW;
7221             clip_to: "bottomclip";
7222             description { state: "default" 0.0;
7223                align: 0.5 1.0;
7224                rel1.to: "elm.swallow.slot.middle";
7225                rel1.relative: 0.0 1.0;
7226                rel1.offset: 0 0;
7227                rel2.to: "elm.swallow.slot.middle";
7228                rel2.relative: 1.0 1.0;
7229                rel2.offset: -1 0;
7230             }
7231             description { state: "visible" 0.0;
7232                inherit: "default" 0.0;
7233                rel1.offset: 0 6;
7234                rel2.offset: -1 6;
7235                align: 0.5 0.0;
7236             }
7237          }
7238
7239          part {          name: "over1";
7240             mouse_events: 0;
7241             description { state: "default" 0.0;
7242                rel1.to: "button_image";
7243                rel2.to: "button_image";
7244                rel2.relative: 1.0 0.5;
7245                image {
7246                   normal: "bt_hilight.png";
7247                   border: 7 7 7 0;
7248                }
7249             }
7250          }
7251          part { name: "over2";
7252             mouse_events: 1;
7253             repeat_events: 1;
7254             ignore_flags: ON_HOLD;
7255             description { state: "default" 0.0;
7256                rel1.to: "button_image";
7257                rel2.to: "button_image";
7258                image {
7259                   normal: "bt_shine.png";
7260                   border: 7 7 7 7;
7261                }
7262             }
7263          }
7264          part { name: "edge_top";
7265             mouse_events:  0;
7266             description { state: "default" 0.0;
7267                visible: 0;
7268                rel1 {
7269                   to: "elm.swallow.size";
7270                   offset: 0 -10;
7271                }
7272                rel2 {
7273                   to: "elm.swallow.size";
7274                }
7275                image.normal: "outdent-bottom.png";
7276                image.border: 0 0 13 0;
7277                fill.smooth: 0;
7278             }
7279             description { state: "visible" 0.0;
7280                inherit: "default" 0.0;
7281                visible: 1;
7282             }
7283          }
7284          part { name: "edge_bottom";
7285             mouse_events:  0;
7286             description { state: "default" 0.0;
7287                visible: 0;
7288                rel1 {
7289                   to: "elm.swallow.size";
7290                }
7291                rel2 {
7292                   to: "elm.swallow.size";
7293                   offset: -1 9;
7294                }
7295                image.normal: "outdent-top.png";
7296                image.border: 0 0 0 13;
7297                fill.smooth: 0;
7298             }
7299             description { state: "visible" 0.0;
7300                inherit: "default" 0.0;
7301                visible: 1;
7302             }
7303          }
7304          part { name: "elm.swallow.slot.middle";
7305             type: SWALLOW;
7306             description { state: "default" 0.0;
7307                rel1.to: "elm.swallow.size";
7308                rel2.to: "elm.swallow.size";
7309             }
7310          }
7311       }
7312       programs {
7313          program { name: "end";
7314             signal: "mouse,up,1";
7315             source: "base";
7316             action: SIGNAL_EMIT "elm,action,dismiss" "";
7317          }
7318
7319          program { name: "show";
7320             signal: "elm,action,show";
7321             source: "elm";
7322             action: STATE_SET "visible" 0.0;
7323 //            transition: DECELERATE 0.5;
7324             target: "base";
7325          }
7326          program { name: "hide";
7327             signal: "elm,action,hide";
7328             source: "elm";
7329             action: STATE_SET "default" 0.0;
7330 //            transition: DECELERATE 0.5;
7331             target: "base";
7332          }
7333          program { name: "topshow";
7334             signal: "elm,action,slot,top,show";
7335             source: "elm";
7336             action: STATE_SET "visible" 0.0;
7337             target: "edge_top";
7338             after: "topshow2";
7339          }
7340          program { name: "topshow2";
7341             action: STATE_SET "visible" 0.0;
7342             transition: DECELERATE 0.5;
7343             target: "elm.swallow.slot.top";
7344          }
7345          program { name: "topshow3";
7346             signal: "elm,action,slot,top,show";
7347             source: "elm";
7348             action: STATE_SET "default" 0.0;
7349             target: "button_image";
7350          }
7351          program { name: "tophide";
7352             signal: "elm,action,slot,top,hide";
7353             source: "elm";
7354             action: STATE_SET "default" 0.0;
7355             transition: DECELERATE 0.5;
7356             target: "elm.swallow.slot.top";
7357             after: "tophide2";
7358          }
7359          program { name: "tophide2";
7360             action: STATE_SET "default" 0.0;
7361             target: "edge_top";
7362          }
7363          program { name: "bottomshow";
7364             signal: "elm,action,slot,bottom,show";
7365             source: "elm";
7366             action: STATE_SET "visible" 0.0;
7367             target: "edge_bottom";
7368             after: "bottomshow2";
7369          }
7370          program { name: "bottomshow2";
7371             action: STATE_SET "visible" 0.0;
7372             transition: DECELERATE 0.5;
7373             target: "elm.swallow.slot.bottom";
7374          }
7375          program { name: "bottomshow3";
7376             signal: "elm,action,slot,bottom,show";
7377             source: "elm";
7378             action: STATE_SET "bottom" 0.0;
7379             target: "button_image";
7380          }
7381          program { name: "bottomhide";
7382             signal: "elm,action,slot,bottom,hide";
7383             source: "elm";
7384             action: STATE_SET "default" 0.0;
7385             transition: DECELERATE 0.5;
7386             target: "elm.swallow.slot.bottom";
7387             after: "bottomhide2";
7388          }
7389          program { name: "bottomhide2";
7390             action: STATE_SET "default" 0.0;
7391             target: "edge_bottom";
7392          }
7393       }
7394    }
7395 ///////////////////////////////////////////////////////////////////////////////
7396    group { name: "elm/scroller/base/ctxpopup";
7397       data {
7398          item: "focus_highlight" "on";
7399       }
7400       script {
7401          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7402          public timer0(val) {
7403             new v;
7404             v = get_int(sbvis_v);
7405             if (v) {
7406                v = get_int(sbalways_v);
7407                if(!v) {
7408                   emit("do-hide-vbar", "");
7409                   set_int(sbvis_v, 0);
7410                }
7411             }
7412             v = get_int(sbvis_h);
7413             if (v) {
7414                v = get_int(sbalways_h);
7415                if(!v) {
7416                   emit("do-hide-hbar", "");
7417                   set_int(sbvis_h, 0);
7418                }
7419             }
7420             set_int(sbvis_timer, 0);
7421             return 0;
7422          }
7423       }
7424       images {
7425          image: "bt_sm_base2.png" COMP;
7426          image: "bt_sm_shine.png" COMP;
7427          image: "bt_sm_hilight.png" COMP;
7428          image: "sl_bt2_2.png" COMP;
7429       }
7430       parts {
7431          part { name: "clipper";
7432             type: RECT;
7433             mouse_events: 0;
7434             scale: 1;
7435             description { state: "default" 0.0;
7436             }
7437          }
7438          part { name: "elm.swallow.content";
7439             clip_to: "clipper";
7440             type: SWALLOW;
7441             scale: 1;
7442             description { state: "default" 0.0;
7443                align: 0.5 0.5;
7444             }
7445          }
7446          part { name: "focus_highlight";
7447             mouse_events: 0;
7448             description { state: "default" 0.0;
7449                rel1.offset: -1 -1;
7450                rel2.offset: 0 0;
7451                image { normal: "sl_bt2_2.png";
7452                   border: 7 7 7 7;
7453                   middle: 0;
7454                }
7455                fill.smooth : 0;
7456                color: 200 155 0 0;
7457             }
7458             description { state: "enabled" 0.0;
7459                inherit: "default" 0.0;
7460                color: 200 155 0 255;
7461             }
7462          }
7463          part { name: "sb_vbar_clip_master";
7464             type: RECT;
7465             mouse_events: 0;
7466             description { state: "default" 0.0;
7467             }
7468             description { state: "hidden" 0.0;
7469                visible: 0;
7470                color: 255 255 255 0;
7471             }
7472          }
7473          part { name: "sb_vbar_clip";
7474             clip_to:"sb_vbar_clip_master";
7475             type: RECT;
7476             mouse_events: 0;
7477             scale: 1;
7478             description { state: "default" 0.0;
7479                align: 0.0 0.0;
7480                rel2{ to:"clipper"; relative: 1.0 1.0;}
7481             }
7482             description { state: "hidden" 0.0;
7483                visible: 0;
7484                color: 255 255 255 0;
7485             }
7486          }
7487          part { name: "sb_vbar";
7488             type: RECT;
7489             mouse_events: 0;
7490             scale: 1;
7491             description { state: "default" 0.0;
7492                fixed: 1 1;
7493                visible: 0;
7494                align: 1.0 0.0;
7495                rel1{ to:"clipper"; relative: 1.0 0.0; }
7496                rel2{ to:"clipper"; relative: 1.0 1.0; }
7497             }
7498          }
7499          part { name: "elm.dragable.vbar";
7500             clip_to: "sb_vbar_clip";
7501             mouse_events: 0;
7502             scale: 1;
7503             dragable {
7504                x: 0 0 0;
7505                y: 1 1 0;
7506                confine: "sb_vbar";
7507             }
7508             description { state: "default" 0.0;
7509                fixed: 1 1;
7510                min: 10 17;
7511                max: 10 99999;
7512                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7513                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7514                image { normal: "bt_sm_base2.png";
7515                   border: 6 6 6 6;
7516                   middle: SOLID;
7517                }
7518             }
7519          }
7520          part { name: "sb_vbar_over1";
7521             clip_to: "sb_vbar_clip";
7522             mouse_events: 0;
7523             description { state: "default" 0.0;
7524                rel1.to: "elm.dragable.vbar";
7525                rel2.relative: 1.0 0.5;
7526                rel2.to: "elm.dragable.vbar";
7527                image { normal: "bt_sm_hilight.png";
7528                   border: 6 6 6 0;
7529                }
7530             }
7531          }
7532          part { name: "sb_vbar_over2";
7533             clip_to: "sb_vbar_clip";
7534             mouse_events: 0;
7535             description { state: "default" 0.0;
7536                rel1.to: "elm.dragable.vbar";
7537                rel2.to: "elm.dragable.vbar";
7538                image { normal: "bt_sm_shine.png";
7539                   border: 6 6 6 0;
7540                }
7541             }
7542          }
7543          part { name: "sb_hbar_clip_master";
7544             type: RECT;
7545             mouse_events: 0;
7546             description { state: "default" 0.0;
7547             }
7548             description { state: "hidden" 0.0;
7549                visible: 0;
7550                color: 255 255 255 0;
7551             }
7552          }
7553          part { name: "sb_hbar_clip";
7554             clip_to: "sb_hbar_clip_master";
7555             type: RECT;
7556             mouse_events: 0;
7557             scale: 1;
7558             description { state: "default" 0.0;
7559                align: 0.0 0.0;
7560                rel2{ to:"clipper"; relative: 1.0 1.0;}
7561             }
7562             description { state: "hidden" 0.0;
7563                visible: 0;
7564                color: 255 255 255 0;
7565             }
7566          }
7567          part { name: "sb_hbar";
7568             type: RECT;
7569             mouse_events: 0;
7570             scale: 1;
7571             description { state: "default" 0.0;
7572                fixed: 1 1;
7573                visible: 0;
7574                align: 0.0 1.0;
7575                rel1 { to:"clipper"; relative: 0.0 1.0; }
7576                rel2 { to:"clipper"; relative: 1.0 1.0; }
7577             }
7578          }
7579          part { name: "elm.dragable.hbar";
7580             clip_to: "sb_hbar_clip";
7581             mouse_events: 0;
7582             scale: 1;
7583             dragable {
7584                x: 1 1 0;
7585                y: 0 0 0;
7586                confine: "sb_hbar";
7587             }
7588             description { state: "default" 0.0;
7589                min: 17 10;
7590                max: 99999 10;
7591                fixed: 1 1;
7592                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7593                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7594                image { normal: "bt_sm_base2.png";
7595                   border: 4 4 4 4;
7596                   middle: SOLID;
7597                }
7598             }
7599          }
7600          part { name: "sb_hbar_over1";
7601             clip_to: "sb_hbar_clip";
7602             mouse_events: 0;
7603             description { state: "default" 0.0;
7604                rel1.to: "elm.dragable.hbar";
7605                rel2.relative: 1.0 0.5;
7606                rel2.to: "elm.dragable.hbar";
7607                image { normal: "bt_sm_hilight.png";
7608                   border: 6 6 6 0;
7609                }
7610             }
7611          }
7612          part { name: "sb_hbar_over2";
7613             clip_to: "sb_hbar_clip";
7614             mouse_events: 0;
7615             description { state: "default" 0.0;
7616                rel1.to: "elm.dragable.hbar";
7617                rel2.to: "elm.dragable.hbar";
7618                image { normal: "bt_sm_shine.png";
7619                   border: 6 6 6 0;
7620                }
7621             }
7622          }
7623       }
7624       programs {
7625          program { name: "load";
7626             signal: "load";
7627             source: "";
7628             script {
7629                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7630                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7631                set_int(sbvis_v, 0);
7632                set_int(sbvis_h, 0);
7633                set_int(sbalways_v, 0);
7634                                    set_int(sbalways_h, 0);
7635                set_int(sbvis_timer, 0);
7636             }
7637          }
7638          program { name: "vbar_show";
7639             signal: "elm,action,show,vbar";
7640             source: "elm";
7641             action: STATE_SET "default" 0.0;
7642             target: "sb_vbar_clip_master";
7643          }
7644          program { name: "vbar_hide";
7645             signal: "elm,action,hide,vbar";
7646             source: "elm";
7647             action:  STATE_SET "hidden" 0.0;
7648             target: "sb_vbar_clip_master";
7649          }
7650          program { name: "vbar_show_always";
7651             signal: "elm,action,show_always,vbar";
7652             source: "elm";
7653             script {
7654                new v;
7655                v = get_int(sbvis_v);
7656                v |= get_int(sbalways_v);
7657                if (!v) {
7658                   set_int(sbalways_v, 1);
7659                   emit("do-show-vbar", "");
7660                   set_int(sbvis_v, 1);
7661                }
7662             }
7663          }
7664          program { name: "vbar_show_notalways";
7665             signal: "elm,action,show_notalways,vbar";
7666             source: "elm";
7667             script {
7668                new v;
7669                v = get_int(sbalways_v);
7670                if (v) {
7671                   set_int(sbalways_v, 0);
7672                   v = get_int(sbvis_v);
7673                   if (!v) {
7674                      emit("do-hide-vbar", "");
7675                      set_int(sbvis_v, 0);
7676                   }
7677                }
7678             }
7679          }
7680          program { name: "sb_vbar_show";
7681             signal: "do-show-vbar";
7682             source: "";
7683             action:  STATE_SET "default" 0.0;
7684             transition: LINEAR 1.0;
7685             target: "sb_vbar_clip";
7686          }
7687          program { name: "sb_vbar_hide";
7688             signal: "do-hide-vbar";
7689             source: "";
7690             action:  STATE_SET "hidden" 0.0;
7691             transition: LINEAR 1.0;
7692             target: "sb_vbar_clip";
7693          }
7694          program { name: "hbar_show";
7695             signal: "elm,action,show,hbar";
7696             source: "elm";
7697             action:  STATE_SET "default" 0.0;
7698             target: "sb_hbar_clip_master";
7699          }
7700          program { name: "hbar_hide";
7701             signal: "elm,action,hide,hbar";
7702             source: "elm";
7703             action:  STATE_SET "hidden" 0.0;
7704             target: "sb_hbar_clip_master";
7705          }
7706          program { name: "hbar_show_always";
7707             signal: "elm,action,show_always,hbar";
7708             source: "elm";
7709             script {
7710                new v;
7711                v = get_int(sbvis_h);
7712                v |= get_int(sbalways_h);
7713                if (!v) {
7714                   set_int(sbalways_h, 1);
7715                   emit("do-show-hbar", "");
7716                   set_int(sbvis_h, 1);
7717                }
7718             }
7719          }
7720          program { name: "hbar_show_notalways";
7721             signal: "elm,action,show_notalways,hbar";
7722             source: "elm";
7723             script {
7724                new v;
7725                v = get_int(sbalways_h);
7726                if (v) {
7727                   set_int(sbalways_h, 0);
7728                   v = get_int(sbvis_h);
7729                   if (!v) {
7730                      emit("do-hide-hbar", "");
7731                      set_int(sbvis_h, 0);
7732                   }
7733                }
7734             }
7735          }
7736          program { name: "sb_hbar_show";
7737             signal: "do-show-hbar";
7738             source: "";
7739             action:  STATE_SET "default" 0.0;
7740             transition: LINEAR 1.0;
7741             target: "sb_hbar_clip";
7742          }
7743          program { name: "sb_hbar_hide";
7744             signal: "do-hide-hbar";
7745             source: "";
7746             action:  STATE_SET "hidden" 0.0;
7747             transition: LINEAR 1.0;
7748             target: "sb_hbar_clip";
7749          }
7750          program { name: "scroll";
7751             signal: "elm,action,scroll";
7752             source: "elm";
7753             script {
7754                new v;
7755                v = get_int(sbvis_v);
7756                v |= get_int(sbalways_v);
7757                if (!v) {
7758                   emit("do-show-vbar", "")
7759                   set_int(sbvis_v, 1);
7760                }
7761                v = get_int(sbvis_h);
7762                v |= get_int(sbalways_h);
7763                if (!v) {
7764                   emit("do-show-hbar", "");
7765                   set_int(sbvis_h, 1);
7766                }
7767                v = get_int(sbvis_timer);
7768                if (v > 0) cancel_timer(v);
7769                v = timer(1.0, "timer0", 0);
7770                set_int(sbvis_timer, v);
7771             }
7772          }
7773          program { name: "highlight_show";
7774             signal: "elm,action,focus_highlight,show";
7775             source: "elm";
7776             action: STATE_SET "enabled" 0.0;
7777             transition: ACCELERATE 0.3;
7778             target: "focus_highlight";
7779           }
7780          program { name: "highlight_hide";
7781             signal: "elm,action,focus_highlight,hide";
7782             source: "elm";
7783             action: STATE_SET "default" 0.0;
7784             transition: DECELERATE 0.3;
7785             target: "focus_highlight";
7786          }
7787       }
7788    }
7789 ///////////////////////////////////////////////////////////////////////////////
7790    group { name: "elm/ctxpopup/bg/default";
7791       parts {
7792          part { name: "ctxpopup_bg";
7793             type: RECT;
7794             mouse_events: 1;
7795             description { state: "default" 0.0;
7796                color: 0 0 0 0;
7797             }
7798             description { state: "visible" 0.0;
7799                inherit: "default" 0.0;
7800                color: 0 0 0 64;
7801             }
7802          }
7803       }
7804       programs {
7805          program { name: "clicked_event";
7806             signal: "mouse,clicked,1";
7807             source: "ctxpopup_bg";
7808             action: SIGNAL_EMIT "elm,action,click" "";
7809          }
7810          program { name: "show";
7811             signal: "elm,state,show";
7812             source: "elm";
7813             action: STATE_SET "visible" 0.0;
7814             target: "ctxpopup_bg";
7815          }
7816          program { name: "hide";
7817             signal: "elm,state,hide";
7818             source: "elm";
7819             action: STATE_SET "default" 0.0;
7820             target: "ctxpopup_bg";
7821          }
7822       }
7823    }
7824 ///////////////////////////////////////////////////////////////////////////////
7825    group { name: "elm/ctxpopup/base/default";
7826       images {
7827          image: "bt_base2.png" COMP;
7828          image: "bt_hilight.png" COMP;
7829          image: "bt_shine.png" COMP;
7830       }
7831       parts {
7832          part { name: "arrow_area_left";
7833             type: RECT;
7834             mouse_events: 0;
7835             description { state: "default" 0.0;
7836                visible: 0;
7837                min: 40 0;
7838                fixed: 1 1;
7839                align: 1 0.5;
7840                rel1 {
7841                   to_y: "base";
7842                }
7843                rel2 {
7844                   relative:0 1;
7845                   to:"base";
7846                }
7847             }
7848          }
7849          part { name: "arrow_area_right";
7850             type: RECT;
7851             mouse_events: 0;
7852             description { state: "default" 0.0;
7853                visible: 0;
7854                min: 40 0;
7855                fixed: 1 1;
7856                align: 0 0.5;
7857                rel1 {
7858                   relative: 1 0;
7859                   to:"base";
7860                }
7861                rel2 {
7862                   to_y: "base";
7863                }
7864             }
7865          }
7866          part { name: "arrow_area_up";
7867             type: RECT;
7868             mouse_events: 0;
7869             description { state: "default" 0.0;
7870                visible: 0;
7871                min: 0 40;
7872                fixed: 1 1;
7873                align: 0.5 1;
7874                rel1 {
7875                   to_x: "base";
7876                }
7877                rel2 {
7878                   relative: 1 0;
7879                   to:"base";
7880                }
7881             }
7882          }
7883          part { name: "arrow_area_down";
7884             type: RECT;
7885             mouse_events: 0;
7886             description { state: "default" 0.0;
7887                visible: 0;
7888                min: 0 40;
7889                fixed: 1 1;
7890                align: 0.5 0;
7891                rel1 {
7892                   relative: 0 1;
7893                   to:"base";
7894                }
7895                rel2 {
7896                   to_x: "base";
7897                }
7898             }
7899          }
7900          part { name: "elm.swallow.arrow_up";
7901             type: SWALLOW;
7902             mouse_events: 0;
7903             scale: 1;
7904             dragable {
7905                x: 1 1 0;
7906                y: 1 1 0;
7907                confine: "arrow_area_up";
7908             }
7909             description {
7910                state: "default" 0.0;
7911                min: 40 40;
7912                fixed: 1 1;
7913                visible: 1;
7914             }
7915          }
7916          part { name: "elm.swallow.arrow_down";
7917             type: SWALLOW;
7918             mouse_events: 0;
7919             scale: 1;
7920             dragable {
7921                x: 1 1 0;
7922                y: 1 1 0;
7923                confine: "arrow_area_down";
7924             }
7925             description {
7926                state: "default" 0.0;
7927                min: 40 40;
7928                fixed: 1 1;
7929                visible: 1;
7930             }
7931          }
7932          part { name: "elm.swallow.arrow_left";
7933             type: SWALLOW;
7934             mouse_events: 0;
7935             scale: 1;
7936             dragable {
7937                x: 1 1 0;
7938                y: 1 1 0;
7939                confine: "arrow_area_left";
7940             }
7941             description {
7942                state: "default" 0.0;
7943                min: 40 40;
7944                fixed: 1 1;
7945                visible: 1;
7946             }
7947          }
7948          part { name: "elm.swallow.arrow_right";
7949             type: SWALLOW;
7950             mouse_events: 0;
7951             scale: 1;
7952             dragable {
7953                x: 1 1 0;
7954                y: 1 1 0;
7955                confine: "arrow_area_right";
7956             }
7957             description {
7958                state: "default" 0.0;
7959                min: 40 40;
7960                fixed: 1 1;
7961                visible: 1;
7962             }
7963          }
7964          part { name: "base";
7965             scale: 1;
7966             description { state: "default" 0.0;
7967                rel1.offset: -3 -3;
7968                rel2.offset: 3 3;
7969                image { normal: "bt_base2.png";
7970                   border: 7 7 7 7;
7971                }
7972             }
7973          }
7974          part { name: "over1";
7975             scale: 1;
7976             description { state: "default" 0.0;
7977                rel1.to: "base";
7978                rel2.to: "base";
7979                rel2.relative: 1.0 0.5;
7980                image { normal: "bt_hilight.png";
7981                   border: 7 7 7 0;
7982                }
7983             }
7984          }
7985          part { name: "over2";
7986             scale: 1;
7987             description { state: "default" 0.0;
7988                rel1.to: "base";
7989                rel2.to: "base";
7990                image { normal: "bt_shine.png";
7991                   border: 7 7 7 7;
7992                }
7993             }
7994          }
7995          part { name: "elm.swallow.content";
7996             type: SWALLOW;
7997             description { state: "default" 0.0;
7998                rel1 { to:"base"; offset: 4 4; };
7999                rel2 { to:"base"; offset: -5 -5; };
8000             }
8001          }
8002       }
8003    }
8004 ///////////////////////////////////////////////////////////////////////////////
8005    group { name: "elm/ctxpopup/arrow/default";
8006       images {
8007          image: "icon_arrow_left.png" COMP;
8008          image: "icon_arrow_right.png" COMP;
8009          image: "icon_arrow_up.png" COMP;
8010          image: "icon_arrow_down.png" COMP;
8011       }
8012       parts {
8013          part { name: "ctxpopup_arrow";
8014             type: IMAGE;
8015             scale: 1;
8016             description {
8017                state: "default" 0.0;
8018                min: 40 40;
8019                fixed: 1 1;
8020                visible: 0;
8021                align: 0.5 0.5;
8022             }
8023             description {
8024                state: "left" 0.0;
8025                min: 40 40;
8026                fixed: 1 1;
8027                align: 0.0 0.5;
8028                rel1 { offset: 7 0; }
8029                rel2 { offset: 6 -1; }
8030                image { normal: "icon_arrow_left.png"; }
8031             }
8032             description { state: "right" 0.0;
8033                min: 40 40;
8034                fixed: 1 1;
8035                align: 1.0 0.5;
8036                rel1 { offset: -7 0; }
8037                rel2 { offset: -8 -1; }
8038                image { normal: "icon_arrow_right.png"; }
8039             }
8040             description { state: "top" 0.0;
8041                min: 40 40;
8042                fixed: 1 1;
8043                align: 0.5 0.0;
8044                rel1 { offset: 0 7; }
8045                rel2 { offset: -1 6; }
8046                image { normal: "icon_arrow_up.png"; }
8047             }
8048             description { state: "bottom" 0.0;
8049                min: 40 40;
8050                fixed: 1 1;
8051                align: 0.5 1.0;
8052                rel1 { offset: 0 -7; }
8053                rel2 { offset: -1 -8; }
8054                image { normal: "icon_arrow_down.png"; }
8055             }
8056          }
8057       }
8058       programs {
8059          program { name: "enable_left_arrow";
8060             signal: "elm,state,left";
8061             source: "elm";
8062             action: STATE_SET "left" 0.0;
8063             target: "ctxpopup_arrow";
8064          }
8065          program { name: "enable_right_arrow";
8066             signal: "elm,state,right";
8067             source: "elm";
8068             action: STATE_SET "right" 0.0;
8069             target: "ctxpopup_arrow";
8070          }
8071          program { name: "enable_top_arrow";
8072             signal: "elm,state,top";
8073             source: "elm";
8074             action: STATE_SET "top" 0.0;
8075             target: "ctxpopup_arrow";
8076          }
8077          program { name: "enable_bottom_arrow";
8078             signal: "elm,state,bottom";
8079             source: "elm";
8080             action: STATE_SET "bottom" 0.0;
8081             target: "ctxpopup_arrow";
8082          }
8083       }
8084    }
8085 ///////////////////////////////////////////////////////////////////////////////
8086    group {
8087       name: "elm/ctxpopup/icon_text_style_item/default";
8088            alias: "elm/ctxpopup/text_style_item/default";
8089            alias: "elm/ctxpopup/icon_style_item/default";
8090       images {
8091          image: "hoversel_entry_bg.png" COMP;
8092       }
8093       parts {
8094          part { name: "event";
8095             mouse_events: 1;
8096             description { state: "default" 0.0;
8097             }
8098          }
8099          part { name: "bg";
8100             mouse_events: 0;
8101             description { state: "default" 0.0;
8102                rel1.offset: 2 2;
8103                rel2.offset: -3 -3;
8104                image { normal:"hoversel_entry_bg.png";
8105                   border: 0 0 2 2;
8106                }
8107                fill.smooth: 0;
8108                color: 255 255 255 0;
8109             }
8110             description { state: "clicked" 0.0;
8111                inherit: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114          }
8115          part { name: "elm.swallow.icon";
8116             type: SWALLOW;
8117             clip_to: "disclip";
8118             scale: 1;
8119             description { state: "default" 0.0;
8120                min: 25 25;
8121                max: 25 25;
8122                align: 0 0.5;
8123                aspect: 1.0 1.0;
8124                rel1 { offset: 10 10; }
8125                                         rel2 { offset: 0 -10; }
8126             }
8127          }
8128          part { name: "elm.text";
8129             type: TEXT;
8130             mouse_events: 0;
8131             clip_to: "disclip";
8132             scale: 1;
8133             description { state: "default" 0.0;
8134                min: 1 40;
8135                fixed: 0 1;
8136                align: 0.5 0.5;
8137                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8138                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8139                color: 255 255 255 255;
8140                text {
8141                   font: "Sans";
8142                   size: 10;
8143                   align: 0.0 0.5;
8144                   min: 1 1;
8145                }
8146             }
8147             description { state: "clicked" 0.0;
8148                inherit: "default" 0.0;
8149                color: 0 0 0 255;
8150             }
8151          }
8152          part { name: "over1";
8153             mouse_events: 1;
8154             repeat_events: 1;
8155             ignore_flags: ON_HOLD;
8156             description { state: "default" 0.0;
8157                color: 255 255 255 0;
8158             }
8159             description { state: "clicked" 0.0;
8160                inherit: "default" 0.0;
8161                color: 255 255 255 255;
8162             }
8163          }
8164          part { name: "over2";
8165             mouse_events: 1;
8166             repeat_events: 1;
8167             description { state: "default" 0.0;
8168                color: 255 255 255 0;
8169             }
8170             description { state: "clicked" 0.0;
8171                inherit: "default" 0.0;
8172                color: 255 255 255 255;
8173             }
8174          }
8175          part { name: "disclip";
8176             type: RECT;
8177             description { state: "default" 0.0;
8178                color: 255 255 255 255;
8179             }
8180             description { state: "enabled" 0.0;
8181                color: 127 127 127 127;
8182             }
8183          }
8184          part { name: "blocker";
8185             description { state: "default" 0.0;
8186                visible: 0;
8187             }
8188             description { state: "enabled" 0.0;
8189                visible: 1;
8190                color: 0 0 0 0;
8191             }
8192          }
8193       }
8194       programs {
8195          program {
8196             name: "item_unclick";
8197             signal: "mouse,up,1";
8198             source: "over1";
8199             action: SIGNAL_EMIT "elm,action,click" "";
8200          }
8201          program { name: "disable";
8202             signal: "elm,state,disabled";
8203             source: "elm";
8204             action: STATE_SET "enabled" 0.0;
8205             target: "disclip";
8206             target: "blocker";
8207          }
8208          program { name: "enable";
8209             signal: "elm,state,enabled";
8210             source: "elm";
8211             action: STATE_SET "default" 0.0;
8212             target: "disclip";
8213             target: "blocker";
8214          }
8215          program { name: "item_click2";
8216             signal: "mouse,down,1";
8217             source: "over2";
8218             script {
8219                set_state(PART:"elm.text", "clicked", 0.0);
8220                set_state(PART:"bg", "clicked", 0.0);
8221             }
8222          }
8223          program { name: "item_unclick2";
8224             signal: "mouse,up,1";
8225             source: "over2";
8226             script {
8227                                         set_state(PART:"elm.text", "default", 0.0);
8228                set_state(PART:"bg", "default", 0.0);
8229             }
8230          }
8231       }
8232    }
8233 ///////////////////////////////////////////////////////////////////////////////
8234 // emoticon images from:
8235 // Tanya - Latvia
8236 // http://lazycrazy.deviantart.com/
8237 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8238   group { name: "elm/entry/emoticon/angry/default"; images.image:
8239      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8240         "emo-angry.png"; } } } }
8241   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8242      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8243         "emo-angry-shout.png"; } } } }
8244   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8245      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8246         "emo-crazy-laugh.png"; } } } }
8247   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8248      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8249         "emo-evil-laugh.png"; } } } }
8250   group { name: "elm/entry/emoticon/evil/default"; images.image:
8251      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8252         "emo-evil.png"; } } } }
8253   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8254      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8255         "emo-goggle-smile.png"; } } } }
8256   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8257      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8258         "emo-grumpy.png"; } } } }
8259   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8260      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8261         "emo-grumpy-smile.png"; } } } }
8262   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8263      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8264         "emo-guilty.png"; } } } }
8265   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8266      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8267         "emo-guilty-smile.png"; } } } }
8268   group { name: "elm/entry/emoticon/haha/default"; images.image:
8269      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8270         "emo-haha.png"; } } } }
8271   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8272      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8273         "emo-half-smile.png"; } } } }
8274   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8275      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8276         "emo-happy-panting.png"; } } } }
8277   group { name: "elm/entry/emoticon/happy/default"; images.image:
8278      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8279         "emo-happy.png"; } } } }
8280   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8281      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8282         "emo-indifferent.png"; } } } }
8283   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8284      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8285         "emo-kiss.png"; } } } }
8286   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8287      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8288         "emo-knowing-grin.png"; } } } }
8289   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8290      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8291         "emo-laugh.png"; } } } }
8292   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8293      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8294         "emo-little-bit-sorry.png"; } } } }
8295   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8296      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8297         "emo-love-lots.png"; } } } }
8298   group { name: "elm/entry/emoticon/love/default"; images.image:
8299      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8300         "emo-love.png"; } } } }
8301   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8302      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8303         "emo-minimal-smile.png"; } } } }
8304   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8305      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8306         "emo-not-happy.png"; } } } }
8307   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8308      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8309         "emo-not-impressed.png"; } } } }
8310   group { name: "elm/entry/emoticon/omg/default"; images.image:
8311      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8312         "emo-omg.png"; } } } }
8313   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8314      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8315         "emo-opensmile.png"; } } } }
8316   group { name: "elm/entry/emoticon/smile/default"; images.image:
8317      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8318         "emo-smile.png"; } } } }
8319   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8320      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8321         "emo-sorry.png"; } } } }
8322   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8323      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8324         "emo-squint-laugh.png"; } } } }
8325   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8326      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8327         "emo-surprised.png"; } } } }
8328   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8329      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8330         "emo-suspicious.png"; } } } }
8331   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8332      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8333         "emo-tongue-dangling.png"; } } } }
8334   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8335      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8336         "emo-tongue-poke.png"; } } } }
8337   group { name: "elm/entry/emoticon/uh/default"; images.image:
8338      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8339         "emo-uh.png"; } } } }
8340   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8341      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8342         "emo-unhappy.png"; } } } }
8343   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8344      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8345         "emo-very-sorry.png"; } } } }
8346   group { name: "elm/entry/emoticon/what/default"; images.image:
8347      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8348         "emo-what.png"; } } } }
8349   group { name: "elm/entry/emoticon/wink/default"; images.image:
8350      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8351         "emo-wink.png"; } } } }
8352   group { name: "elm/entry/emoticon/worried/default"; images.image:
8353      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8354         "emo-worried.png"; } } } }
8355   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8356      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8357         "emo-wtf.png"; } } } }
8358 //------------------------------------------------------------
8359    group { name: "elm/entry/base/default";
8360       styles
8361       {
8362          style { name: "entry_textblock_style";
8363             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8364             tag:  "br" "\n";
8365             tag:  "ps" "ps";
8366             tag:  "tab" "\t";
8367             tag:  "em" "+ font=Sans:style=Oblique";
8368             tag:  "b" "+ font=Sans:style=Bold";
8369             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8370             tag:  "hilight" "+ font=Sans:style=Bold";
8371          }
8372          style { name: "entry_textblock_disabled_style";
8373             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8374             tag:  "br" "\n";
8375             tag:  "ps" "ps";
8376             tag:  "tab" "\t";
8377             tag:  "em" "+ font=Sans:style=Oblique";
8378             tag:  "b" "+ font=Sans:style=Bold";
8379             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8380             tag:  "hilight" "+ font=Sans:style=Bold";
8381          }
8382       }
8383       data {
8384 //         item: context_menu_orientation "horizontal";
8385       }
8386       parts {
8387          part { name: "elm.text";
8388             type: TEXTBLOCK;
8389             mouse_events: 1;
8390             scale: 1;
8391             entry_mode: EDITABLE;
8392             select_mode: EXPLICIT;
8393             multiline: 1;
8394             source: "elm/entry/selection/default"; // selection under
8395    //       source2: "X"; // selection over
8396    //       source3: "X"; // cursor under
8397             source4: "elm/entry/cursor/default"; // cursorover
8398             source5: "elm/entry/anchor/default"; // anchor under
8399    //       source6: "X"; // anchor over
8400             description { state: "default" 0.0;
8401                /* we gotta use 0 0 here, because of scrolled entries */
8402                fixed: 0 0;
8403                text {
8404                   style: "entry_textblock_style";
8405                   min: 0 1;
8406                   align: 0.0 0.0;
8407                }
8408             }
8409             description { state: "disabled" 0.0;
8410                inherit: "default" 0.0;
8411                text {
8412                   style: "entry_textblock_disabled_style";
8413                   min: 0 1;
8414                }
8415             }
8416          }
8417       }
8418       programs {
8419          program { name: "focus";
8420             signal: "load";
8421             source: "";
8422             action: FOCUS_SET;
8423             target: "elm.text";
8424          }
8425          program { name: "disable";
8426             signal: "elm,state,disabled";
8427             source: "elm";
8428             action: STATE_SET "disabled" 0.0;
8429             target: "elm.text";
8430          }
8431          program { name: "enable";
8432             signal: "elm,state,enabled";
8433             source: "elm";
8434             action: STATE_SET "default" 0.0;
8435             target: "elm.text";
8436          }
8437       }
8438    }
8439
8440    group { name: "elm/entry/base-mixedwrap/default";
8441       styles
8442       {
8443          style { name: "entry_textblock_style_mixedwrap";
8444             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8445             tag:  "br" "\n";
8446             tag:  "ps" "ps";
8447             tag:  "tab" "\t";
8448             tag:  "em" "+ font=Sans:style=Oblique";
8449             tag:  "b" "+ font=Sans:style=Bold";
8450             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8451             tag:  "hilight" "+ font=Sans:style=Bold";
8452          }
8453          style { name: "entry_textblock_disabled_style_mixedwrap";
8454             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8455             tag:  "br" "\n";
8456             tag:  "ps" "ps";
8457             tag:  "tab" "\t";
8458             tag:  "em" "+ font=Sans:style=Oblique";
8459             tag:  "b" "+ font=Sans:style=Bold";
8460             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8461             tag:  "hilight" "+ font=Sans:style=Bold";
8462          }
8463       }
8464       parts {
8465          part { name: "elm.text";
8466             type: TEXTBLOCK;
8467             mouse_events: 1;
8468             scale: 1;
8469             entry_mode: EDITABLE;
8470             select_mode: EXPLICIT;
8471             multiline: 1;
8472             source: "elm/entry/selection/default"; // selection under
8473 //          source2: "X"; // selection over
8474 //          source3: "X"; // cursor under
8475             source4: "elm/entry/cursor/default"; // cursorover
8476             source5: "elm/entry/anchor/default"; // anchor under
8477 //          source6: "X"; // anchor over
8478             description { state: "default" 0.0;
8479                fixed: 1 0;
8480                text {
8481                   style: "entry_textblock_style_mixedwrap";
8482                   min: 0 1;
8483                   align: 0.0 0.0;
8484                }
8485             }
8486             description { state: "disabled" 0.0;
8487                inherit: "default" 0.0;
8488                text {
8489                   style: "entry_textblock_disabled_style_mixedwrap";
8490                   min: 0 1;
8491                }
8492             }
8493          }
8494       }
8495       programs {
8496          program { name: "focus";
8497             signal: "load";
8498             source: "";
8499             action: FOCUS_SET;
8500             target: "elm.text";
8501          }
8502          program { name: "disable";
8503             signal: "elm,state,disabled";
8504             source: "elm";
8505             action: STATE_SET "disabled" 0.0;
8506             target: "elm.text";
8507          }
8508          program { name: "enable";
8509             signal: "elm,state,enabled";
8510             source: "elm";
8511             action: STATE_SET "default" 0.0;
8512             target: "elm.text";
8513          }
8514       }
8515    }
8516
8517    group { name: "elm/entry/base-charwrap/default";
8518       styles
8519       {
8520          style { name: "entry_textblock_style_charwrap";
8521             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8522             tag:  "br" "\n";
8523             tag:  "ps" "ps";
8524             tag:  "tab" "\t";
8525             tag:  "em" "+ font=Sans:style=Oblique";
8526             tag:  "b" "+ font=Sans:style=Bold";
8527             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8528             tag:  "hilight" "+ font=Sans:style=Bold";
8529          }
8530          style { name: "entry_textblock_disabled_style_charwrap";
8531             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8532             tag:  "br" "\n";
8533             tag:  "ps" "ps";
8534             tag:  "tab" "\t";
8535             tag:  "em" "+ font=Sans:style=Oblique";
8536             tag:  "b" "+ font=Sans:style=Bold";
8537             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8538             tag:  "hilight" "+ font=Sans:style=Bold";
8539          }
8540       }
8541       parts {
8542          part { name: "elm.text";
8543             type: TEXTBLOCK;
8544             mouse_events: 1;
8545             scale: 1;
8546             entry_mode: EDITABLE;
8547             select_mode: EXPLICIT;
8548             multiline: 1;
8549             source: "elm/entry/selection/default"; // selection under
8550 //          source2: "X"; // selection over
8551 //          source3: "X"; // cursor under
8552             source4: "elm/entry/cursor/default"; // cursorover
8553             source5: "elm/entry/anchor/default"; // anchor under
8554 //          source6: "X"; // anchor over
8555             description { state: "default" 0.0;
8556                fixed: 1 0;
8557                text {
8558                   style: "entry_textblock_style_charwrap";
8559                   min: 0 1;
8560                   align: 0.0 0.0;
8561                }
8562             }
8563             description { state: "disabled" 0.0;
8564                inherit: "default" 0.0;
8565                text {
8566                   style: "entry_textblock_disabled_style_charwrap";
8567                   min: 0 1;
8568                }
8569             }
8570          }
8571       }
8572       programs {
8573          program { name: "focus";
8574             signal: "load";
8575             source: "";
8576             action: FOCUS_SET;
8577             target: "elm.text";
8578          }
8579          program { name: "disable";
8580             signal: "elm,state,disabled";
8581             source: "elm";
8582             action: STATE_SET "disabled" 0.0;
8583             target: "elm.text";
8584          }
8585          program { name: "enable";
8586             signal: "elm,state,enabled";
8587             source: "elm";
8588             action: STATE_SET "default" 0.0;
8589             target: "elm.text";
8590          }
8591       }
8592    }
8593
8594    group { name: "elm/entry/base-nowrap/default";
8595       parts {
8596          part { name: "elm.text";
8597             type: TEXTBLOCK;
8598             mouse_events: 1;
8599             scale: 1;
8600             entry_mode: EDITABLE;
8601             select_mode: EXPLICIT;
8602             multiline: 1;
8603             source: "elm/entry/selection/default"; // selection under
8604             source4: "elm/entry/cursor/default"; // cursorover
8605             source5: "elm/entry/anchor/default"; // anchor under
8606             description { state: "default" 0.0;
8607                text {
8608                   style: "entry_textblock_style";
8609                   min: 1 1;
8610                   align: 0.0 0.0;
8611                }
8612             }
8613             description { state: "disabled" 0.0;
8614                inherit: "default" 0.0;
8615                text {
8616                   style: "entry_textblock_disabled_style";
8617                   min: 0 1;
8618                }
8619             }
8620          }
8621 /*
8622          part { name: "sel";
8623             type: RECT;
8624             mouse_events: 0;
8625             description { state: "default" 0.0;
8626                align: 1.0 1.0;
8627                max: 16 16;
8628                aspect: 1.0 1.0;
8629                color: 255 0 0 0;
8630             }
8631             description { state: "visible" 0.0;
8632                inherit: "default" 0.0;
8633                color: 255 0 0 50;
8634             }
8635          }
8636  */
8637       }
8638       programs {
8639          program { name: "focus";
8640             signal: "load";
8641             source: "";
8642             action: FOCUS_SET;
8643             target: "elm.text";
8644          }
8645          program { name: "disable";
8646             signal: "elm,state,disabled";
8647             source: "elm";
8648             action: STATE_SET "disabled" 0.0;
8649             target: "elm.text";
8650          }
8651          program { name: "enable";
8652             signal: "elm,state,enabled";
8653             source: "elm";
8654             action: STATE_SET "default" 0.0;
8655             target: "elm.text";
8656          }
8657 /*
8658          program { name: "selmode0";
8659             signal: "elm,state,select,on";
8660             source: "elm";
8661             action: STATE_SET "visible" 0.0;
8662             target: "sel";
8663          }
8664          program { name: "selmode1";
8665             signal: "elm,state,select,off";
8666             source: "elm";
8667             action: STATE_SET "default" 0.0;
8668             target: "sel";
8669          }
8670  */
8671       }
8672    }
8673
8674    group { name: "elm/entry/base-single/default";
8675       styles
8676       {
8677          style { name: "entry_single_textblock_style";
8678             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8679             tag:  "br" "\n";
8680             tag:  "ps" "ps";
8681             tag:  "tab" "\t";
8682             tag:  "em" "+ font=Sans:style=Oblique";
8683             tag:  "b" "+ font=Sans:style=Bold";
8684             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8685             tag:  "hilight" "+ font=Sans:style=Bold";
8686          }
8687          style { name: "entry_single_textblock_disabled_style";
8688             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8689             tag:  "br" "\n";
8690             tag:  "ps" "ps";
8691             tag:  "tab" "\t";
8692             tag:  "em" "+ font=Sans:style=Oblique";
8693             tag:  "b" "+ font=Sans:style=Bold";
8694             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8695             tag:  "hilight" "+ font=Sans:style=Bold";
8696          }
8697       }
8698       parts {
8699          part { name: "elm.text";
8700             type: TEXTBLOCK;
8701             mouse_events: 1;
8702             scale: 1;
8703             entry_mode: EDITABLE;
8704             select_mode: EXPLICIT;
8705             multiline: 0;
8706             source: "elm/entry/selection/default"; // selection under
8707             source4: "elm/entry/cursor/default"; // cursorover
8708             source5: "elm/entry/anchor/default"; // anchor under
8709             description { state: "default" 0.0;
8710                text {
8711                   style: "entry_single_textblock_style";
8712                   min: 1 1;
8713                   max: 0 0;
8714                   align: 0.0 0.5;
8715                }
8716             }
8717             description { state: "disabled" 0.0;
8718                inherit: "default" 0.0;
8719                text {
8720                   style: "entry_single_textblock_disabled_style";
8721                }
8722             }
8723          }
8724       }
8725       programs {
8726          program { name: "focus";
8727             signal: "load";
8728             source: "";
8729             action: FOCUS_SET;
8730             target: "elm.text";
8731          }
8732          program { name: "disable";
8733             signal: "elm,state,disabled";
8734             source: "elm";
8735             action: STATE_SET "disabled" 0.0;
8736             target: "elm.text";
8737          }
8738          program { name: "enable";
8739             signal: "elm,state,enabled";
8740             source: "elm";
8741             action: STATE_SET "default" 0.0;
8742             target: "elm.text";
8743          }
8744       }
8745    }
8746
8747    group { name: "elm/entry/base-single-noedit/default";
8748       parts {
8749          part { name: "elm.text";
8750             type: TEXTBLOCK;
8751             mouse_events: 1;
8752             scale: 1;
8753             entry_mode: PLAIN;
8754             select_mode: EXPLICIT;
8755             multiline: 0;
8756             source: "elm/entry/selection/default"; // selection under
8757             source5: "elm/entry/anchor/default"; // anchor under
8758             description { state: "default" 0.0;
8759                text {
8760                   style: "entry_single_textblock_style";
8761                   min: 1 1;
8762                   max: 0 0;
8763                   align: 0.0 0.5;
8764                }
8765             }
8766             description { state: "disabled" 0.0;
8767                inherit: "default" 0.0;
8768                text {
8769                style: "entry_single_textblock_disabled_style";
8770                }
8771             }
8772          }
8773       }
8774       programs {
8775          program { name: "focus";
8776             signal: "load";
8777             source: "";
8778             action: FOCUS_SET;
8779             target: "elm.text";
8780          }
8781          program { name: "disable";
8782             signal: "elm,state,disabled";
8783             source: "elm";
8784             action: STATE_SET "disabled" 0.0;
8785             target: "elm.text";
8786          }
8787          program { name: "enable";
8788             signal: "elm,state,enabled";
8789             source: "elm";
8790             action: STATE_SET "default" 0.0;
8791             target: "elm.text";
8792          }
8793       }
8794    }
8795
8796    group { name: "elm/entry/base-noedit/default";
8797       parts {
8798          part { name: "elm.text";
8799             type: TEXTBLOCK;
8800             mouse_events: 1;
8801             scale: 1;
8802             entry_mode: PLAIN;
8803             select_mode: EXPLICIT;
8804             multiline: 1;
8805             source: "elm/entry/selection/default"; // selection under
8806             source5: "elm/entry/anchor/default"; // anchor under
8807             description { state: "default" 0.0;
8808                fixed: 1 0;
8809                text {
8810                   style: "entry_textblock_style";
8811                   min: 0 1;
8812                   align: 0.0 0.0;
8813                }
8814             }
8815             description { state: "disabled" 0.0;
8816                inherit: "default" 0.0;
8817                text {
8818                   style: "entry_textblock_disabled_style";
8819                }
8820             }
8821          }
8822       }
8823       programs {
8824          program { name: "focus";
8825             signal: "load";
8826             source: "";
8827             action: FOCUS_SET;
8828             target: "elm.text";
8829          }
8830          program { name: "disable";
8831             signal: "elm,state,disabled";
8832             source: "elm";
8833             action: STATE_SET "disabled" 0.0;
8834             target: "elm.text";
8835          }
8836          program { name: "enable";
8837             signal: "elm,state,enabled";
8838             source: "elm";
8839             action: STATE_SET "default" 0.0;
8840             target: "elm.text";
8841          }
8842       }
8843    }
8844
8845    group { name: "elm/entry/base-noedit-mixedwrap/default";
8846       parts {
8847          part { name: "elm.text";
8848             type: TEXTBLOCK;
8849             mouse_events: 1;
8850             scale: 1;
8851             entry_mode: PLAIN;
8852             select_mode: EXPLICIT;
8853             multiline: 1;
8854             source: "elm/entry/selection/default"; // selection under
8855             source5: "elm/entry/anchor/default"; // anchor under
8856             description { state: "default" 0.0;
8857                fixed: 1 0;
8858                text {
8859                   style: "entry_textblock_style_mixedwrap";
8860                   min: 0 1;
8861                   align: 0.0 0.0;
8862                }
8863             }
8864             description { state: "disabled" 0.0;
8865                inherit: "default" 0.0;
8866                text {
8867                   style: "entry_textblock_disabled_style_mixedwrap";
8868                }
8869             }
8870          }
8871       }
8872       programs {
8873          program { name: "focus";
8874             signal: "load";
8875             source: "";
8876             action: FOCUS_SET;
8877             target: "elm.text";
8878          }
8879          program { name: "disable";
8880             signal: "elm,state,disabled";
8881             source: "elm";
8882             action: STATE_SET "disabled" 0.0;
8883             target: "elm.text";
8884          }
8885          program { name: "enable";
8886             signal: "elm,state,enabled";
8887             source: "elm";
8888             action: STATE_SET "default" 0.0;
8889             target: "elm.text";
8890          }
8891       }
8892    }
8893
8894    group { name: "elm/entry/base-noedit-charwrap/default";
8895       parts {
8896          part { name: "elm.text";
8897             type: TEXTBLOCK;
8898             mouse_events: 1;
8899             scale: 1;
8900             entry_mode: PLAIN;
8901             select_mode: EXPLICIT;
8902             multiline: 1;
8903             source: "elm/entry/selection/default"; // selection under
8904             source5: "elm/entry/anchor/default"; // anchor under
8905             description { state: "default" 0.0;
8906                fixed: 1 0;
8907                text {
8908                   style: "entry_textblock_style_charwrap";
8909                   min: 0 1;
8910                   align: 0.0 0.0;
8911                }
8912             }
8913             description { state: "disabled" 0.0;
8914                inherit: "default" 0.0;
8915                text {
8916                   style: "entry_textblock_disabled_style_charwrap";
8917                }
8918             }
8919          }
8920       }
8921       programs {
8922          program { name: "focus";
8923             signal: "load";
8924             source: "";
8925             action: FOCUS_SET;
8926             target: "elm.text";
8927          }
8928          program { name: "disable";
8929             signal: "elm,state,disabled";
8930             source: "elm";
8931             action: STATE_SET "disabled" 0.0;
8932             target: "elm.text";
8933          }
8934          program { name: "enable";
8935             signal: "elm,state,enabled";
8936             source: "elm";
8937             action: STATE_SET "default" 0.0;
8938             target: "elm.text";
8939          }
8940       }
8941    }
8942
8943    group { name: "elm/entry/base-nowrap-noedit/default";
8944       parts {
8945          part { name: "elm.text";
8946             type: TEXTBLOCK;
8947             mouse_events: 1;
8948             scale: 1;
8949             entry_mode: PLAIN;
8950             select_mode: EXPLICIT;
8951             multiline: 1;
8952             source: "elm/entry/selection/default"; // selection under
8953             source5: "elm/entry/anchor/default"; // anchor under
8954             description { state: "default" 0.0;
8955                text {
8956                   style: "entry_textblock_style";
8957                   min: 1 1;
8958                   align: 0.0 0.0;
8959                }
8960             }
8961             description { state: "disabled" 0.0;
8962                inherit: "default" 0.0;
8963                text {
8964                   style: "entry_textblock_disabled_style";
8965                }
8966             }
8967          }
8968       }
8969       programs {
8970          program { name: "focus";
8971             signal: "load";
8972             source: "";
8973             action: FOCUS_SET;
8974             target: "elm.text";
8975          }
8976          program { name: "disable";
8977             signal: "elm,state,disabled";
8978             source: "elm";
8979             action: STATE_SET "disabled" 0.0;
8980             target: "elm.text";
8981          }
8982          program { name: "enable";
8983             signal: "elm,state,enabled";
8984             source: "elm";
8985             action: STATE_SET "default" 0.0;
8986             target: "elm.text";
8987          }
8988       }
8989    }
8990
8991    group { name: "elm/entry/base-password/default";
8992       parts {
8993          part { name: "elm.text";
8994             type: TEXTBLOCK;
8995             mouse_events: 1;
8996             scale: 1;
8997             entry_mode: PASSWORD;
8998             select_mode: EXPLICIT;
8999             multiline: 0;
9000             source: "elm/entry/selection/default"; // selection under
9001             source4: "elm/entry/cursor/default"; // cursorover
9002             source5: "elm/entry/anchor/default"; // anchor under
9003             description { state: "default" 0.0;
9004                text {
9005                   style: "entry_single_textblock_style";
9006                   repch: "*";
9007                   min: 1 1;
9008                   max: 0 0;
9009                   align: 0.0 0.5;
9010                }
9011             }
9012             description { state: "disabled" 0.0;
9013                inherit: "default" 0.0;
9014                text {
9015                   style: "entry_single_textblock_disabled_style";
9016                }
9017             }
9018          }
9019       }
9020       programs {
9021          program { name: "focus";
9022             signal: "load";
9023             source: "";
9024             action: FOCUS_SET;
9025             target: "elm.text";
9026          }
9027          program { name: "disable";
9028             signal: "elm,state,disabled";
9029             source: "elm";
9030             action: STATE_SET "disabled" 0.0;
9031             target: "elm.text";
9032          }
9033          program { name: "enable";
9034             signal: "elm,state,enabled";
9035             source: "elm";
9036             action: STATE_SET "default" 0.0;
9037             target: "elm.text";
9038          }
9039       }
9040    }
9041
9042    group { name: "elm/entry/cursor/default";
9043       images {
9044          image: "cur_box.png" COMP;
9045          image: "cur_hi.png" COMP;
9046          image: "cur_shad.png" COMP;
9047          image: "cur_shine.png" COMP;
9048          image: "cur_glow.png" COMP;
9049       }
9050       parts {
9051          part { name: "clip2";
9052             type: RECT;
9053             mouse_events: 0;
9054             description { state: "default" 0.0;
9055                rel1.to: "clip";
9056                rel2.to: "clip";
9057                visible: 0;
9058             }
9059             description { state: "focused" 0.0;
9060                inherit: "default" 0.0;
9061                visible: 1;
9062             }
9063          }
9064          part { name: "clip";
9065             type: RECT;
9066             mouse_events: 0;
9067             clip_to: "clip2";
9068             description { state: "default" 0.0;
9069                rel1.offset: -10 0;
9070                rel2.offset: 9 9;
9071             }
9072             description { state: "hidden" 0.0;
9073                inherit: "default" 0.0;
9074                visible: 0;
9075             }
9076          }
9077          part { name: "bg";
9078             mouse_events: 0;
9079             clip_to: "clip";
9080             description { state: "default" 0.0;
9081                rel1.to: "base";
9082                rel1.offset: -2 0;
9083                rel2.to: "base";
9084                rel2.offset: 1 1;
9085                image.border: 2 2 2 2;
9086                image.normal: "cur_shad.png";
9087             }
9088          }
9089          part { name: "base";
9090             mouse_events: 0;
9091             scale: 1;
9092             clip_to: "clip";
9093             description { state: "default" 0.0;
9094                min: 2 2;
9095                align: 0.5 1.0;
9096                rel1.relative: 0.0 1.0;
9097                rel1.offset: 0 -1;
9098                rel2.relative: 1.0 1.0;
9099                rel2.offset: -1 -1;
9100                image.normal: "cur_box.png";
9101             }
9102          }
9103          part { name: "hi";
9104             mouse_events: 0;
9105             clip_to: "clip";
9106             description { state: "default" 0.0;
9107                rel1.to: "base";
9108                rel2.to: "base";
9109                rel2.relative: 1.0 0.5;
9110                image.normal: "cur_hi.png";
9111             }
9112          }
9113          part { name: "shine";
9114             mouse_events: 0;
9115             clip_to: "clip";
9116             clip_to: "clip2";
9117             description { state: "default" 0.0;
9118                rel1.to: "base";
9119                rel2.to: "base";
9120                rel2.relative: 1.0 0.75;
9121                image.border: 2 2 1 0;
9122                image.normal: "cur_shine.png";
9123                fill.smooth: 0;
9124             }
9125          }
9126          part { name: "glow";
9127             mouse_events: 0;
9128             clip_to: "clip2";
9129             description { state: "default" 0.0;
9130                rel1.to: "base";
9131                rel1.relative: 0.0 -2.0;
9132                rel1.offset: -2 0;
9133                rel2.to: "base";
9134                rel2.relative: 1.0 0.0;
9135                rel2.offset: 1 1;
9136                image.border: 2 2 0 4;
9137                image.normal: "cur_glow.png";
9138                fill.smooth: 0;
9139             }
9140             description { state: "hidden" 0.0;
9141                inherit: "default" 0.0;
9142                color: 255 255 255 0;
9143             }
9144          }
9145       }
9146       programs {
9147          program { name: "show";
9148             signal: "show";
9149             source: "";
9150             action: STATE_SET "hidden" 0.0;
9151             in: 1.0 0.0;
9152             transition: DECELERATE 2.0;
9153             target: "glow";
9154             after: "show2";
9155          }
9156          program { name: "show2";
9157             action: STATE_SET "hidden" 0.0;
9158             in: 0.2 0.0;
9159             target: "clip";
9160             after: "show3";
9161          }
9162          program { name: "show3";
9163             action: STATE_SET "default" 0.0;
9164             in: 0.5 0.0;
9165             target: "clip";
9166             after: "show4";
9167          }
9168          program { name: "show4";
9169             action: STATE_SET "default" 0.0;
9170             in: 0.5 0.0;
9171             transition: DECELERATE 0.5;
9172             target: "glow";
9173             after: "show";
9174          }
9175          program { name: "focused";
9176             signal: "elm,action,focus";
9177             source: "elm";
9178             action: STATE_SET "focused" 0.0;
9179             target: "clip2";
9180          }
9181          program { name: "unfocused";
9182             signal: "elm,action,unfocus";
9183             source: "elm";
9184             action: STATE_SET "default" 0.0;
9185             target: "clip2";
9186          }
9187       }
9188    }
9189
9190    group { name: "elm/entry/selection/default";
9191       parts {
9192          part { name: "bg";
9193             type: RECT;
9194             mouse_events: 0;
9195             description { state: "default" 0.0;
9196                color: 128 128 128 128;
9197             }
9198          }
9199       }
9200    }
9201
9202    group { name: "elm/entry/anchor/default";
9203       parts {
9204          part { name: "bg";
9205             type: RECT;
9206             mouse_events: 0;
9207             description { state: "default" 0.0;
9208                color: 128 0 0 64;
9209             }
9210          }
9211       }
9212    }
9213
9214 ///////////////////////////////////////////////////////////////////////////////
9215   group { name: "elm/bubble/top_left/default";
9216     alias: "elm/bubble/base/default";
9217     images {
9218       image: "bubble_3.png" COMP;
9219       image: "bubble_4.png" COMP;
9220       image: "bubble_shine3.png" COMP;
9221       image: "bubble_shine4.png" COMP;
9222     }
9223     parts {
9224       part { name: "event";
9225          type: RECT;
9226          description {
9227             state: "default" 0.0;
9228             color: 0 0 0 0;
9229          }
9230       }
9231       part { name: "elm.swallow.icon";
9232         type: SWALLOW;
9233         description { state: "default" 0.0;
9234           fixed: 1 1;
9235           visible: 0;
9236           align: 0.0 0.0;
9237           aspect: 1.0 1.0;
9238           aspect_preference: VERTICAL;
9239           rel1 {
9240             relative: 0.0 0.0;
9241             offset: 4 4;
9242           }
9243           rel2 {
9244             to_y: "elm.text";
9245             relative: 0.0 1.0;
9246             offset: 4 -1;
9247           }
9248         }
9249         description { state: "visible" 0.0;
9250           inherit: "default" 0.0;
9251           visible: 1;
9252         }
9253       }
9254       part { name: "elm.text";
9255         type: TEXT;
9256         mouse_events:   0;
9257         scale: 1;
9258         description { state: "default" 0.0;
9259           align: 0.0 0.0;
9260           fixed: 0 1;
9261           rel1 {
9262             to_x: "elm.swallow.icon";
9263             relative: 1.0 0.0;
9264             offset: 4 4;
9265           }
9266           rel2 {
9267             to_x: "elm.info";
9268             relative: 0.0 0.0;
9269             offset: -5 4;
9270           }
9271           color: 0 0 0 255;
9272           text {
9273             font: "Sans:style=Bold,Edje-Vera-Bold";
9274             size: 10;
9275             min: 0 1;
9276             max: 0 1;
9277             align: 0.0 0.0;
9278           }
9279         }
9280       }
9281       part { name: "elm.info";
9282         type: TEXT;
9283         mouse_events:   0;
9284         scale: 1;
9285         description { state: "default" 0.0;
9286           align: 1.0 0.0;
9287           fixed: 1 1;
9288           rel1 {
9289             relative: 1.0 0.0;
9290             offset: -5 4;
9291           }
9292           rel2 {
9293             relative: 1.0 0.0;
9294             offset: -5 4;
9295           }
9296           color: 0 0 0 64;
9297           text {
9298             font: "Sans:style=Bold,Edje-Vera-Bold";
9299             size: 10;
9300             min: 1 1;
9301             max: 1 1;
9302             align: 1.0 0.0;
9303           }
9304         }
9305       }
9306       part { name: "base0";
9307         mouse_events:  0;
9308         description { state: "default" 0.0;
9309           rel1 {
9310             to_y: "elm.swallow.icon";
9311             relative: 0.0 1.0;
9312             offset: 0 0;
9313           }
9314           image {
9315             normal: "bubble_3.png";
9316             border: 36 11 18 9;
9317           }
9318           image.middle: SOLID;
9319           fill.smooth: 0;
9320         }
9321         description { state: "rtl" 0.0;
9322            inherit: "default" 0.0;
9323            image {
9324               normal: "bubble_4.png";
9325               border: 11 36 18 9;
9326            }
9327         }
9328       }
9329       part { name: "elm.swallow.content";
9330         type: SWALLOW;
9331         description { state: "default" 0.0;
9332           rel1 {
9333             to: "base0";
9334             offset: 9 16;
9335           }
9336           rel2 {
9337             to: "base0";
9338             offset: -10 -9;
9339           }
9340         }
9341       }
9342       part { name: "shine";
9343         mouse_events:  0;
9344         description { state:    "default" 0.0;
9345           rel1 {
9346             to: "base0";
9347             offset: 5 4;
9348           }
9349           rel2 {
9350             to: "base0";
9351             relative: 1.0 0.5;
9352             offset: -6 7;
9353           }
9354           image {
9355             normal: "bubble_shine3.png";
9356             border: 36 5 14 0;
9357           }
9358           fill.smooth: 0;
9359         }
9360         description { state: "rtl" 0.0;
9361            inherit: "default" 0.0;
9362            image {
9363               normal: "bubble_shine4.png";
9364               border: 5 36 14 0;
9365            }
9366         }
9367       }
9368     }
9369     programs {
9370       program {
9371         name: "icon_show";
9372         signal: "elm,state,icon,visible";
9373         source: "elm";
9374         action: STATE_SET "visible" 0.0;
9375         target: "elm.swallow.icon";
9376       }
9377       program {
9378         name: "icon_hide";
9379         signal: "elm,state,icon,hidden";
9380         source: "elm";
9381         action: STATE_SET "default" 0.0;
9382         target: "elm.swallow.icon";
9383       }
9384       program { name: "to_rtl";
9385          signal: "edje,state,rtl";
9386          source: "edje";
9387          action: STATE_SET "rtl" 0.0;
9388          target: "base0";
9389          target: "shine";
9390       }
9391       program { name: "to_ltr";
9392          signal: "edje,state,ltr";
9393          source: "edje";
9394          action: STATE_SET "default" 0.0;
9395          target: "base0";
9396          target: "shine";
9397       }
9398     }
9399   }
9400
9401   group { name: "elm/bubble/top_right/default";
9402     images {
9403       image: "bubble_3.png" COMP;
9404       image: "bubble_4.png" COMP;
9405       image: "bubble_shine3.png" COMP;
9406       image: "bubble_shine4.png" COMP;
9407     }
9408     parts {
9409       part { name: "event";
9410          type: RECT;
9411          description {
9412             state: "default" 0.0;
9413             color: 0 0 0 0;
9414          }
9415       }
9416       part { name: "elm.swallow.icon";
9417         type: SWALLOW;
9418         description { state: "default" 0.0;
9419           fixed: 1 1;
9420           visible: 0;
9421           align: 1.0 0.0;
9422           aspect: 1.0 1.0;
9423           aspect_preference: VERTICAL;
9424           rel1 {
9425             relative: 1.0 0.0;
9426             offset: -5 4;
9427           }
9428           rel2 {
9429             to_y: "elm.text";
9430             relative: 1.0 1.0;
9431             offset: -5 -1;
9432           }
9433         }
9434         description { state: "visible" 0.0;
9435           inherit: "default" 0.0;
9436           visible: 1;
9437         }
9438       }
9439       part { name: "elm.text";
9440         type: TEXT;
9441         mouse_events:   0;
9442         scale: 1;
9443         description { state: "default" 0.0;
9444           align: 0.0 0.0;
9445           fixed: 0 1;
9446           rel1 {
9447             relative: 0.0 0.0;
9448             offset: 4 4;
9449           }
9450           rel2 {
9451             to_x: "elm.info";
9452             relative: 0.0 0.0;
9453             offset: -5 4;
9454           }
9455           color: 0 0 0 255;
9456           text {
9457             font: "Sans:style=Bold,Edje-Vera-Bold";
9458             size: 10;
9459             min: 0 1;
9460             max: 0 1;
9461             align: 0.0 0.0;
9462           }
9463         }
9464       }
9465       part { name: "elm.info";
9466         type: TEXT;
9467         mouse_events:   0;
9468         scale: 1;
9469         description { state: "default" 0.0;
9470           align: 1.0 0.0;
9471           fixed: 1 1;
9472           rel1 {
9473             relative: 1.0 0.0;
9474             offset: -5 4;
9475           }
9476           rel2 {
9477             to_x: "elm.swallow.icon";
9478             relative: 0.0 0.0;
9479             offset: -5 4;
9480           }
9481           color: 0 0 0 64;
9482           text {
9483             font: "Sans:style=Bold,Edje-Vera-Bold";
9484             size: 10;
9485             min: 1 1;
9486             max: 1 1;
9487             align: 1.0 0.0;
9488           }
9489         }
9490       }
9491       part { name: "base0";
9492         mouse_events:  0;
9493         description { state: "default" 0.0;
9494           rel1 {
9495             to_y: "elm.swallow.icon";
9496             relative: 0.0 1.0;
9497             offset: 0 0;
9498           }
9499           image {
9500             normal: "bubble_4.png";
9501             border: 11 36 18 9;
9502           }
9503           image.middle: SOLID;
9504           fill.smooth: 0;
9505         }
9506         description { state: "rtl" 0.0;
9507            inherit: "default" 0.0;
9508            image {
9509               normal: "bubble_3.png";
9510               border: 36 11 18 9;
9511            }
9512         }
9513       }
9514       part { name: "elm.swallow.content";
9515         type: SWALLOW;
9516         description { state: "default" 0.0;
9517           rel1 {
9518             to: "base0";
9519             offset: 9 16;
9520           }
9521           rel2 {
9522             to: "base0";
9523             offset: -10 -9;
9524           }
9525         }
9526       }
9527       part { name: "shine";
9528         mouse_events:  0;
9529         description { state:    "default" 0.0;
9530           rel1 {
9531             to: "base0";
9532             offset: 5 4;
9533           }
9534           rel2 {
9535             to: "base0";
9536             relative: 1.0 0.5;
9537             offset: -6 7;
9538           }
9539           image {
9540             normal: "bubble_shine4.png";
9541             border: 5 36 14 0;
9542           }
9543           fill.smooth: 0;
9544         }
9545         description { state: "rtl" 0.0;
9546            inherit: "default" 0.0;
9547            image {
9548               normal: "bubble_shine3.png";
9549               border: 36 5 14 0;
9550            }
9551         }
9552       }
9553     }
9554     programs {
9555       program {
9556         name: "icon_show";
9557         signal: "elm,state,icon,visible";
9558         source: "elm";
9559         action: STATE_SET "visible" 0.0;
9560         target: "elm.swallow.icon";
9561       }
9562       program {
9563         name: "icon_hide";
9564         signal: "elm,state,icon,hidden";
9565         source: "elm";
9566         action: STATE_SET "default" 0.0;
9567         target: "elm.swallow.icon";
9568       }
9569       program { name: "to_rtl";
9570          signal: "edje,state,rtl";
9571          source: "edje";
9572          action: STATE_SET "rtl" 0.0;
9573          target: "base0";
9574          target: "shine";
9575       }
9576       program { name: "to_ltr";
9577          signal: "edje,state,ltr";
9578          source: "edje";
9579          action: STATE_SET "default" 0.0;
9580          target: "base0";
9581          target: "shine";
9582       }
9583     }
9584   }
9585
9586   group { name: "elm/bubble/bottom_left/default";
9587     images {
9588       image: "bubble_1.png" COMP;
9589       image: "bubble_2.png" COMP;
9590       image: "bubble_shine.png" COMP;
9591     }
9592     parts {
9593       part { name: "event";
9594          type: RECT;
9595          description {
9596             state: "default" 0.0;
9597             color: 0 0 0 0;
9598          }
9599       }
9600       part { name: "elm.swallow.icon";
9601         type: SWALLOW;
9602         description { state: "default" 0.0;
9603           fixed: 1 1;
9604           visible: 0;
9605           align: 0.0 1.0;
9606           aspect: 1.0 1.0;
9607           aspect_preference: VERTICAL;
9608           rel1 {
9609             to_y: "elm.text";
9610             relative: 0.0 0.0;
9611             offset: 4 0;
9612           }
9613           rel2 {
9614             relative: 0.0 1.0;
9615             offset: 4 -5;
9616           }
9617         }
9618         description { state: "visible" 0.0;
9619           inherit: "default" 0.0;
9620           visible: 1;
9621         }
9622       }
9623       part { name: "elm.text";
9624         type: TEXT;
9625         mouse_events:   0;
9626         scale: 1;
9627         description { state: "default" 0.0;
9628           align: 0.0 1.0;
9629           fixed: 0 1;
9630           rel1 {
9631             to_x: "elm.swallow.icon";
9632             relative: 1.0 1.0;
9633             offset: 4 -5;
9634           }
9635           rel2 {
9636             to_x: "elm.info";
9637             relative: 0.0 1.0;
9638             offset: -5 -5;
9639           }
9640           color: 0 0 0 255;
9641           text {
9642             font: "Sans:style=Bold,Edje-Vera-Bold";
9643             size: 10;
9644             min: 0 1;
9645             max: 0 1;
9646             align: 0.0 1.0;
9647           }
9648         }
9649       }
9650       part { name: "elm.info";
9651         type: TEXT;
9652         mouse_events:   0;
9653         scale: 1;
9654         description { state: "default" 0.0;
9655           align: 1.0 1.0;
9656           fixed: 1 1;
9657           rel1 {
9658             relative: 1.0 1.0;
9659             offset: -5 -5;
9660           }
9661           rel2 {
9662             relative: 1.0 1.0;
9663             offset: -5 -5;
9664           }
9665           color: 0 0 0 64;
9666           text {
9667             font: "Sans:style=Bold,Edje-Vera-Bold";
9668             size: 10;
9669             min: 1 1;
9670             max: 1 1;
9671             align: 1.0 1.0;
9672           }
9673         }
9674       }
9675       part { name: "base0";
9676         mouse_events:  0;
9677         description { state: "default" 0.0;
9678           rel2 {
9679             to_y: "elm.swallow.icon";
9680             relative: 1.0 0.0;
9681             offset: -1 -1;
9682           }
9683           image {
9684             normal: "bubble_1.png";
9685             border: 36 11 10 19;
9686           }
9687           image.middle: SOLID;
9688           fill.smooth: 0;
9689         }
9690         description { state: "rtl" 0.0;
9691            inherit: "default" 0.0;
9692            image {
9693               normal: "bubble_2.png";
9694               border: 11 36 10 19;
9695            }
9696         }
9697       }
9698       part { name: "elm.swallow.content";
9699         type: SWALLOW;
9700         description { state: "default" 0.0;
9701           rel1 {
9702             to: "base0";
9703             offset: 9 8;
9704           }
9705           rel2 {
9706             to: "base0";
9707             offset: -10 -17;
9708           }
9709         }
9710       }
9711       part { name: "shine";
9712         mouse_events:  0;
9713         description { state:    "default" 0.0;
9714           rel1 {
9715             to: "base0";
9716             offset: 5 4;
9717           }
9718           rel2 {
9719             to: "base0";
9720             relative: 1.0 0.5;
9721             offset: -6 -16;
9722           }
9723           image {
9724             normal: "bubble_shine.png";
9725             border: 5 5 5 0;
9726           }
9727           fill.smooth: 0;
9728         }
9729         description { state: "rtl" 0.0;
9730            inherit: "default" 0.0;
9731            image {
9732               normal: "bubble_shine4.png";
9733               border: 5 36 14 0;
9734            }
9735         }
9736       }
9737     }
9738     programs {
9739       program {
9740         name: "icon_show";
9741         signal: "elm,state,icon,visible";
9742         source: "elm";
9743         action: STATE_SET "visible" 0.0;
9744         target: "elm.swallow.icon";
9745       }
9746       program {
9747         name: "icon_hide";
9748         signal: "elm,state,icon,hidden";
9749         source: "elm";
9750         action: STATE_SET "default" 0.0;
9751         target: "elm.swallow.icon";
9752       }
9753       program { name: "to_rtl";
9754          signal: "edje,state,rtl";
9755          source: "edje";
9756          action: STATE_SET "rtl" 0.0;
9757          target: "base0";
9758       }
9759       program { name: "to_ltr";
9760          signal: "edje,state,ltr";
9761          source: "edje";
9762          action: STATE_SET "default" 0.0;
9763          target: "base0";
9764       }
9765     }
9766   }
9767
9768   group { name: "elm/bubble/bottom_right/default";
9769     images {
9770       image: "bubble_1.png" COMP;
9771       image: "bubble_2.png" COMP;
9772       image: "bubble_shine.png" COMP;
9773     }
9774     parts {
9775       part { name: "event";
9776          type: RECT;
9777          description {
9778             state: "default" 0.0;
9779             color: 0 0 0 0;
9780          }
9781       }
9782       part { name: "elm.swallow.icon";
9783         type: SWALLOW;
9784         description { state: "default" 0.0;
9785           fixed: 1 1;
9786           visible: 0.0;
9787           align: 1.0 1.0;
9788           aspect: 1.0 1.0;
9789           aspect_preference: VERTICAL;
9790           rel1 {
9791             to_y: "elm.text";
9792             relative: 1.0 0.0;
9793             offset: -5 0;
9794           }
9795           rel2 {
9796             relative: 1.0 1.0;
9797             offset: -5 -5;
9798           }
9799         }
9800         description { state: "visible" 0.0;
9801           inherit: "default" 0.0;
9802           visible: 1;
9803         }
9804       }
9805       part { name: "elm.text";
9806         type: TEXT;
9807         mouse_events:   0;
9808         scale: 1;
9809         description { state: "default" 0.0;
9810           align: 0.0 1.0;
9811           fixed: 0 1;
9812           rel1 {
9813             relative: 0.0 1.0;
9814             offset: 4 -5;
9815           }
9816           rel2 {
9817             to_x: "elm.info";
9818             relative: 0.0 1.0;
9819             offset: -5 -5;
9820           }
9821           color: 0 0 0 255;
9822           text {
9823             font: "Sans:style=Bold,Edje-Vera-Bold";
9824             size: 10;
9825             min: 0 1;
9826             max: 0 1;
9827             align: 0.0 1.0;
9828           }
9829         }
9830       }
9831       part { name: "elm.info";
9832         type: TEXT;
9833         mouse_events:   0;
9834         scale: 1;
9835         description { state: "default" 0.0;
9836           align: 1.0 1.0;
9837           fixed: 1 1;
9838           rel1 {
9839             relative: 1.0 1.0;
9840             offset: -5 -5;
9841           }
9842           rel2 {
9843             to_x: "elm.swallow.icon";
9844             relative: 0.0 1.0;
9845             offset: -5 -5;
9846           }
9847           color: 0 0 0 64;
9848           text {
9849             font: "Sans:style=Bold,Edje-Vera-Bold";
9850             size: 10;
9851             min: 1 1;
9852             max: 1 1;
9853             align: 1.0 1.0;
9854           }
9855         }
9856       }
9857       part { name: "base0";
9858         mouse_events:  0;
9859         description { state: "default" 0.0;
9860           rel2 {
9861             to_y: "elm.swallow.icon";
9862             relative: 1.0 0.0;
9863             offset: -1 -1;
9864           }
9865           image {
9866             normal: "bubble_2.png";
9867             border: 11 36 10 19;
9868           }
9869           image.middle: SOLID;
9870           fill.smooth: 0;
9871         }
9872         description { state: "rtl" 0.0;
9873            inherit: "default" 0.0;
9874            image {
9875               normal: "bubble_1.png";
9876               border: 36 11 10 19;
9877            }
9878         }
9879       }
9880       part { name: "elm.swallow.content";
9881         type: SWALLOW;
9882         description { state: "default" 0.0;
9883           rel1 {
9884             to: "base0";
9885             offset: 9 8;
9886           }
9887           rel2 {
9888             to: "base0";
9889             offset: -10 -17;
9890           }
9891         }
9892       }
9893       part { name: "shine";
9894         mouse_events:  0;
9895         description { state:    "default" 0.0;
9896           rel1 {
9897             to: "base0";
9898             offset: 5 4;
9899           }
9900           rel2 {
9901             to: "base0";
9902             relative: 1.0 0.5;
9903             offset: -6 -16;
9904           }
9905           image {
9906             normal: "bubble_shine.png";
9907             border: 5 5 5 0;
9908           }
9909           fill.smooth: 0;
9910         }
9911         description { state: "rtl" 0.0;
9912            inherit: "default" 0.0;
9913            image {
9914               normal: "bubble_shine3.png";
9915               border: 36 5 14 0;
9916            }
9917         }
9918       }
9919     }
9920     programs {
9921       program {
9922         name: "icon_show";
9923         signal: "elm,state,icon,visible";
9924         source: "elm";
9925         action: STATE_SET "visible" 0.0;
9926         target: "elm.swallow.icon";
9927       }
9928       program {
9929         name: "icon_hide";
9930         signal: "elm,state,icon,hidden";
9931         source: "elm";
9932         action: STATE_SET "default" 0.0;
9933         target: "elm.swallow.icon";
9934       }
9935       program { name: "to_rtl";
9936          signal: "edje,state,rtl";
9937          source: "edje";
9938          action: STATE_SET "rtl" 0.0;
9939          target: "base0";
9940       }
9941       program { name: "to_ltr";
9942          signal: "edje,state,ltr";
9943          source: "edje";
9944          action: STATE_SET "default" 0.0;
9945          target: "base0";
9946       }
9947     }
9948   }
9949
9950 ///////////////////////////////////////////////////////////////////////////////
9951    group { name: "elm/photo/base/default";
9952       images {
9953          image: "frame_1.png" COMP;
9954          image: "frame_2.png" COMP;
9955          image: "dia_grad.png" COMP;
9956          image: "head.png" COMP;
9957       }
9958       parts {
9959          part { name: "base0";
9960             mouse_events:  0;
9961             description { state: "default" 0.0;
9962                image.normal: "dia_grad.png";
9963                rel1.to: "over";
9964                rel2.to: "over";
9965                fill {
9966                   smooth: 0;
9967                   size {
9968                      relative: 0.0 1.0;
9969                      offset: 64 0;
9970                   }
9971                }
9972             }
9973          }
9974          part { name: "base";
9975             mouse_events:  0;
9976             description { state:    "default" 0.0;
9977                image {
9978                   normal: "frame_2.png";
9979                   border: 5 5 32 26;
9980                   middle: 0;
9981                }
9982                fill.smooth : 0;
9983             }
9984          }
9985          part { name: "head";
9986             mouse_events:  0;
9987             description { state:    "default" 0.0;
9988                rel1.offset: 4 4;
9989                rel2.offset: -5 -5;
9990                aspect: 1.0 1.0;
9991                aspect_preference: BOTH;
9992                image.normal: "head.png";
9993             }
9994          }
9995          part { name: "clip";
9996             mouse_events:  0;
9997             type: RECT;
9998             description { state:    "default" 0.0;
9999                rel1.offset: 4 4;
10000                rel2.offset: -5 -5;
10001                color: 255 255 255 255;
10002             }
10003          }
10004          part { name: "elm.swallow.content";
10005             type: SWALLOW;
10006             clip_to: "clip";
10007             description { state: "default" 0.0;
10008                rel1.offset: 4 4;
10009                rel2.offset: -5 -5;
10010             }
10011          }
10012          part { name: "over";
10013             mouse_events:  0;
10014             description { state:    "default" 0.0;
10015                rel1.offset: 4 4;
10016                rel2.offset: -5 -5;
10017                image {
10018                   normal: "frame_1.png";
10019                   border: 2 2 28 22;
10020                   middle: 0;
10021                }
10022                fill.smooth: 0;
10023             }
10024          }
10025      }
10026    }
10027
10028    group { name: "elm/photo/base/shadow";
10029               images {
10030                         image: "shadow.png" COMP;
10031                         image: "black.png" COMP;
10032               }
10033               script {
10034               public message(Msg_Type:type, id, ...) {
10035                 if( (type==MSG_INT_SET) && (id==0) )
10036                 {
10037                     new w;
10038                     new h;
10039
10040                     custom_state(PART:"size", "default", 0.0);
10041
10042                     w = getarg(2);
10043                     h = getarg(3);
10044                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10045                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10046                     set_state(PART:"size", "custom", 0.0);
10047                 }
10048             }
10049             }
10050               parts {
10051               part { name: "size";
10052                     type: SWALLOW;
10053                     description { state: "default" 0.0;
10054                             rel1.relative: 0.5 0.5;
10055                             rel2.relative: 0.5 0.5;
10056                     }
10057                  }
10058               part {
10059                 name: "shadow";
10060                 type: IMAGE;
10061                 repeat_events: 1;
10062                 description {
10063                     state: "default" 0.0;
10064                     rel1.to: "size";
10065                     rel2.to: "size";
10066                     rel1.relative: -0.06 -0.06;
10067                     rel2.relative: 1.07 1.07;
10068                     image.normal: "shadow.png";
10069                 }
10070             }
10071
10072
10073                  part { name: "elm.swallow.content";
10074                     type: SWALLOW;
10075                     description { state: "default" 0.0;
10076                     rel1.offset: 3 3;
10077                     rel2.offset: -3 -3;
10078                             fixed: 1 1;
10079                     }
10080                  }
10081
10082                  part {
10083                 name: "border";
10084                 type: IMAGE;
10085                 repeat_events: 1;
10086                 description {
10087                     state: "default" 0.0;
10088                     visible: 1;
10089                     color: 0 0 0 255;
10090                     rel1.to: "size";
10091                     rel2.to: "size";
10092                     image.normal: "black.png";
10093                     image.border: 1 1 1 1;
10094                     image.middle: 0;
10095                 }
10096             }
10097                  }
10098    }
10099
10100 ///////////////////////////////////////////////////////////////////////////////
10101    group { name: "elm/thumb/base/default";
10102       images {
10103          image: "frame_1.png" COMP;
10104          image: "frame_2.png" COMP;
10105          image: "dia_grad.png" COMP;
10106          image: "busy-1.png" COMP;
10107          image: "busy-2.png" COMP;
10108          image: "busy-3.png" COMP;
10109          image: "busy-4.png" COMP;
10110          image: "busy-5.png" COMP;
10111          image: "busy-6.png" COMP;
10112          image: "busy-7.png" COMP;
10113          image: "busy-8.png" COMP;
10114          image: "busy-9.png" COMP;
10115       }
10116       parts {
10117          part { name: "base0";
10118             mouse_events:  0;
10119             description { state:        "default" 0.0;
10120                image.normal: "dia_grad.png";
10121                rel1.to: "over";
10122                rel2.to: "over";
10123                fill {
10124                   smooth: 0;
10125                   size {
10126                      relative: 0.0 1.0;
10127                      offset: 64 0;
10128                   }
10129                }
10130             }
10131          }
10132          part { name: "base";
10133             mouse_events:  0;
10134             description { state:        "default" 0.0;
10135                image {
10136                   normal: "frame_2.png";
10137                   border: 5 5 32 26;
10138                   middle: 0;
10139                }
10140                fill.smooth : 0;
10141             }
10142          }
10143          part { name: "clip";
10144             mouse_events:  0;
10145             type: RECT;
10146             description { state:        "default" 0.0;
10147                rel1.offset: 4 4;
10148                rel2.offset: -5 -5;
10149                color: 255 255 255 255;
10150             }
10151          }
10152          part { name: "elm.swallow.content";
10153             type: SWALLOW;
10154             clip_to: "clip";
10155             description { state:        "default" 0.0;
10156                rel1.offset: 4 4;
10157                rel2.offset: -5 -5;
10158             }
10159          }
10160          part { name: "progress";
10161             mouse_events: 0;
10162
10163             clip_to: "clip";
10164             description { state:        "default" 0.0;
10165                min: 32 32;
10166                max: 32 32;
10167                visible: 0;
10168                aspect: 1.0 1.0;
10169                aspect_preference: BOTH;
10170             }
10171             description { state:        "pulse" 0.0;
10172                inherit: "default" 0.0;
10173                visible: 1;
10174                image {
10175                   normal: "busy-9.png";
10176                   tween:  "busy-1.png";
10177                   tween:  "busy-2.png";
10178                   tween:  "busy-3.png";
10179                   tween:  "busy-4.png";
10180                   tween:  "busy-5.png";
10181                   tween:  "busy-6.png";
10182                   tween:  "busy-7.png";
10183                   tween:  "busy-8.png";
10184                   border: 7 7 7 7;
10185                }
10186             }
10187          }
10188          part { name: "over";
10189             mouse_events:  0;
10190             description { state:        "default" 0.0;
10191                rel1.offset: 4 4;
10192                rel2.offset: -5 -5;
10193                image {
10194                   normal: "frame_1.png";
10195                   border: 2 2 28 22;
10196                   middle: 0;
10197                }
10198                fill.smooth: 0;
10199             }
10200          }
10201          programs {
10202             program { name: "start_pulse";
10203                signal: "elm,state,pulse,start";
10204                source: "elm";
10205                action: STATE_SET "pulse" 0.0;
10206                target: "progress";
10207                transition: LINEAR 0.5;
10208                after: "start_pulse";
10209             }
10210             program { name: "stop_pulse";
10211                signal: "elm,state,pulse,stop";
10212                source: "elm";
10213                action: STATE_SET "default" 0.0;
10214                target: "progress";
10215             }
10216          }
10217       }
10218    }
10219
10220    group { name: "elm/thumb/base/noframe";
10221       images {
10222          image: "busy-1.png" COMP;
10223          image: "busy-2.png" COMP;
10224          image: "busy-3.png" COMP;
10225          image: "busy-4.png" COMP;
10226          image: "busy-5.png" COMP;
10227          image: "busy-6.png" COMP;
10228          image: "busy-7.png" COMP;
10229          image: "busy-8.png" COMP;
10230          image: "busy-9.png" COMP;
10231       }
10232       parts {
10233          part { name: "elm.swallow.content";
10234             type: SWALLOW;
10235             description { state: "default" 0.0;
10236                rel1.offset: 4 4;
10237                rel2.offset: -5 -5;
10238             }
10239          }
10240          part { name: "progress";
10241             mouse_events: 0;
10242             description { state:        "default" 0.0;
10243                min: 32 32;
10244                max: 32 32;
10245                visible: 0;
10246                aspect: 1.0 1.0;
10247                aspect_preference: BOTH;
10248             }
10249             description { state:        "pulse" 0.0;
10250                inherit: "default" 0.0;
10251                visible: 1;
10252                image {
10253                   normal: "busy-9.png";
10254                   tween:  "busy-1.png";
10255                   tween:  "busy-2.png";
10256                   tween:  "busy-3.png";
10257                   tween:  "busy-4.png";
10258                   tween:  "busy-5.png";
10259                   tween:  "busy-6.png";
10260                   tween:  "busy-7.png";
10261                   tween:  "busy-8.png";
10262                   border: 7 7 7 7;
10263                }
10264             }
10265          }
10266          programs {
10267             program { name: "start_pulse";
10268                signal: "elm,state,pulse,start";
10269                source: "elm";
10270                action: STATE_SET "pulse" 0.0;
10271                target: "progress";
10272                transition: LINEAR 0.5;
10273                after: "start_pulse";
10274             }
10275             program { name: "stop_pulse";
10276                signal: "elm,state,pulse,stop";
10277                source: "elm";
10278                action: STATE_SET "default" 0.0;
10279                target: "progress";
10280             }
10281          }
10282       }
10283    }
10284
10285
10286 ///////////////////////////////////////////////////////////////////////////////
10287    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10288       images.image: "icon_home.png" COMP; parts { part { name: "base";
10289          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10290             image.normal: "icon_home.png"; } } } }
10291    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10292       images.image: "icon_close.png" COMP; parts { part { name: "base";
10293          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10294             image.normal: "icon_close.png"; } } } }
10295    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10296       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10297          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10298             image.normal: "icon_apps.png"; } } } }
10299    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10300       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10301          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10302             image.normal: "icon_arrow_up.png"; } } } }
10303    group { name: "elm/icon/arrow_down/default";
10304            alias: "elm/icon/toolbar/arrow_down/default";
10305            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10306       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10307          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10308             image.normal: "icon_arrow_down.png"; } } } }
10309    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10310       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10311          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10312             image.normal: "icon_arrow_left.png"; } } } }
10313    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10314       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10315          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10316             image.normal: "icon_arrow_right.png"; } } } }
10317    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10318       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10319          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10320             image.normal: "icon_chat.png"; } } } }
10321    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10322       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10323          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10324             image.normal: "icon_clock.png"; } } } }
10325    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10326       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10327          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10328             image.normal: "icon_delete.png"; } } } }
10329    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10330       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10331          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10332             image.normal: "icon_edit.png"; } } } }
10333    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10334       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10335          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10336             image.normal: "icon_refresh.png"; } } } }
10337    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10338       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10339          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10340             image.normal: "icon_folder.png"; } } } }
10341    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10342       images.image: "icon_file.png" COMP; parts { part { name: "base";
10343          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10344             image.normal: "icon_file.png"; } } } }
10345 ///////////////////////////////////////////////////////////////////////////////
10346    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10347       images.image: "icon_home.png" COMP; parts { part { name: "base";
10348          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10349             image.normal: "icon_home.png"; } } } }
10350    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10351       images.image: "icon_close.png" COMP; parts { part { name: "base";
10352          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10353             image.normal: "icon_close.png"; } } } }
10354    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10355       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10356          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10357             image.normal: "icon_apps.png"; } } } }
10358    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10359       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10360          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10361             image.normal: "icon_arrow_up.png"; } } } }
10362    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10363       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10364          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10365             image.normal: "icon_arrow_down.png"; } } } }
10366    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10367       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10368          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10369             image.normal: "icon_arrow_left.png"; } } } }
10370    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10371       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10372          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10373             image.normal: "icon_arrow_right.png"; } } } }
10374    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10375       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10376          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10377             image.normal: "icon_chat.png"; } } } }
10378    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10379       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10380          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10381             image.normal: "icon_clock.png"; } } } }
10382    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10383       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10384          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10385             image.normal: "icon_delete.png"; } } } }
10386    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10387       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10388          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10389             image.normal: "icon_edit.png"; } } } }
10390    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10391       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10392          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10393             image.normal: "icon_refresh.png"; } } } }
10394    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10395       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10396          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10397             image.normal: "icon_folder.png"; } } } }
10398    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10399       images.image: "icon_file.png" COMP; parts { part { name: "base";
10400          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10401             image.normal: "icon_file.png"; } } } }
10402
10403 ///////////////////////////////////////////////////////////////////////////////
10404    group { name: "elm/toolbar/base/default";
10405       images {
10406          image: "bt_dis_base.png" COMP;
10407          image: "bt_dis_hilight.png" COMP;
10408          image: "bt_dis_shine.png" COMP;
10409          image: "icon_left_arrow.png" COMP;
10410          image: "icon_right_arrow.png" COMP;
10411       }
10412       parts {
10413          part { name: "base";
10414             mouse_events: 1;
10415             description { state: "default" 0.0;
10416                rel1 {
10417                   relative: 0.0 0.0;
10418                   offset: 2 2;
10419                }
10420                rel2.offset: -3 -3;
10421                image {
10422                   normal: "bt_dis_base.png";
10423                   border: 4 4 4 4;
10424                }
10425                image.middle: SOLID;
10426             }
10427          }
10428          part { name: "clipper";
10429             type: RECT;
10430             mouse_events: 0;
10431             description {
10432                state: "default" 0.0;
10433                rel1 {
10434                   to: "base";
10435                   offset: 2 2;
10436                }
10437                rel2 {
10438                   to: "base";
10439                   offset: -3 -3;
10440                }
10441             }
10442          }
10443          part { name: "elm.swallow.content";
10444             clip_to: "clipper";
10445             type: SWALLOW;
10446             description {
10447                state: "default" 0.0;
10448                rel1.to: "clipper";
10449                rel2.to: "clipper";
10450             }
10451          }
10452          part { name: "over2";
10453             mouse_events: 0;
10454             description { state: "default" 0.0;
10455                rel1.to: "base";
10456                rel2.to: "base";
10457                image {
10458                   normal: "bt_dis_shine.png";
10459                   border: 4 4 4 4;
10460                }
10461             }
10462          }
10463          part { name: "over1";
10464             mouse_events: 0;
10465             description { state: "default" 0.0;
10466                rel1.to: "base";
10467                rel2.to: "base";
10468                rel2.relative: 1.0 0.5;
10469                image {
10470                   normal: "bt_dis_hilight.png";
10471                   border: 4 4 4 0;
10472                }
10473                color: 255 255 255 128;
10474             }
10475          }
10476          part { name: "left_arrow";
10477             mouse_events: 0;
10478             description { state: "default" 0.0;
10479                image.normal: "icon_left_arrow.png";
10480                aspect: 1.0 1.0;
10481                aspect_preference: VERTICAL;
10482                align: 0.0 0.5;
10483                min: 32 32;
10484                max: 32 32;
10485             }
10486             description { state: "hidden" 0.0;
10487                inherit: "default" 0.0;
10488                visible: 0;
10489                color: 255 255 255 0;
10490             }
10491          }
10492          part { name: "right_arrow";
10493             mouse_events: 0;
10494             description { state: "default" 0.0;
10495                image.normal: "icon_right_arrow.png";
10496                aspect: 1.0 1.0;
10497                aspect_preference: VERTICAL;
10498                align: 1.0 0.5;
10499                min: 32 32;
10500                max: 32 32;
10501             }
10502             description { state: "hidden" 0.0;
10503                inherit: "default" 0.0;
10504                visible: 0;
10505                color: 255 255 255 0;
10506             }
10507          }
10508          part { name: "event";
10509             type: RECT;
10510             mouse_events: 1;
10511             repeat_events: 1;
10512             description { state: "default" 0.0;
10513                color: 0 0 0 0;
10514             }
10515          }
10516       }
10517       programs {
10518          program { name: "sb_hbar_show";
10519             signal: "elm,action,show,hbar";
10520             source: "elm";
10521             action:  STATE_SET "default" 0.0;
10522             transition: LINEAR 0.5;
10523             target: "left_arrow";
10524             target: "right_arrow";
10525          }
10526          program { name: "sb_hbar_hide";
10527             signal: "elm,action,hide,hbar";
10528             source: "elm";
10529             action:  STATE_SET "hidden" 0.0;
10530             target: "left_arrow";
10531             target: "right_arrow";
10532             transition: LINEAR 0.5;
10533          }
10534       }
10535    }
10536
10537    group { name: "elm/toolbar/item/default";
10538        images {
10539            image: "toolbar_sel.png" COMP;
10540        }
10541        data.item: "transition_animation_on" "1";
10542        parts {
10543            part { name: "label2";
10544                type: TEXT;
10545                mouse_events:  0;
10546                scale: 1;
10547                clip_to: "elm.text.clipper";
10548                description { state: "default" 0.0;
10549                    align: 0.5 1.0;
10550                    fixed: 0 1;
10551                    rel1.to: "elm.text";
10552                    rel2.to: "elm.text";
10553                    color: 0 0 0 255;
10554                    text {
10555                        font: "Sans";
10556                        text_source: "elm.text";
10557                        size: 10;
10558                        min: 1 1;
10559                        align: 0.5 0.5;
10560                        text_class: "toolbar_item";
10561                    }
10562                }
10563                description { state: "selected" 0.0;
10564                    inherit: "default" 0.0;
10565                    visible: 0;
10566                }
10567                description { state: "disabled" 0.0;
10568                    inherit: "default" 0.0;
10569                    color: 0 0 0 128;
10570                    color3: 0 0 0 0;
10571                }
10572                description { state: "disabled_visible" 0.0;
10573                    inherit: "default" 0.0;
10574                    color: 0 0 0 128;
10575                    color3: 0 0 0 0;
10576                    visible: 1;
10577                    text.min: 1 1;
10578                }
10579            }
10580            part { name: "label2_new";
10581                type: TEXT;
10582                mouse_events:  0;
10583                scale: 1;
10584                clip_to: "elm.text_new.clipper";
10585                description { state: "default" 0.0;
10586                    align: 0.5 1.0;
10587                    fixed: 0 1;
10588                    rel1.to: "elm.text_new";
10589                    rel2.to: "elm.text_new";
10590                    color: 0 0 0 255;
10591                    text {
10592                        font: "Sans";
10593                        text_source: "elm.text_new";
10594                        size: 10;
10595                        min: 1 1;
10596                        align: 0.5 0.5;
10597                        text_class: "toolbar_item";
10598                    }
10599                }
10600                description { state: "selected" 0.0;
10601                    inherit: "default" 0.0;
10602                    visible: 0;
10603                }
10604                description { state: "disabled" 0.0;
10605                    inherit: "default" 0.0;
10606                    color: 0 0 0 128;
10607                    color3: 0 0 0 0;
10608                }
10609                description { state: "disabled_visible" 0.0;
10610                    inherit: "default" 0.0;
10611                    color: 0 0 0 128;
10612                    color3: 0 0 0 0;
10613                    visible: 1;
10614                    text.min: 1 1;
10615                }
10616            }
10617            part { name: "bg";
10618                mouse_events: 0;
10619                description { state: "default" 0.0;
10620                    visible: 0;
10621                    color: 255 255 255 0;
10622                    image {
10623                        normal: "toolbar_sel.png";
10624                        border: 3 3 0 0;
10625                    }
10626                    image.middle: SOLID;
10627                    fill.smooth: 0;
10628                }
10629                description { state: "selected" 0.0;
10630                    inherit: "default" 0.0;
10631                    visible: 1;
10632                    color: 255 255 255 255;
10633                }
10634                description { state: "disabled" 0.0;
10635                    inherit: "default" 0.0;
10636                    visible: 0;
10637                    color: 255 255 255 0;
10638                }
10639            }
10640            part { name: "elm.swallow.icon";
10641                type: SWALLOW;
10642                clip_to: "elm.icon.clipper";
10643                description { state: "default" 0.0;
10644                    align: 0.5 0.5;
10645                    fixed: 0 0;
10646                    rel1 {
10647                        relative: 0.0 0.0;
10648                        offset: 2 2;
10649                    }
10650                    rel2 {
10651                        to_y: "elm.text";
10652                        relative: 1.0 0.0;
10653                        offset: -3 -1;
10654                    }
10655                    color: 0 0 0 0;
10656                }
10657            }
10658            part { name: "elm.swallow.icon_new";
10659                type: SWALLOW;
10660                clip_to: "elm.icon_new.clipper";
10661                description { state: "default" 0.0;
10662                    align: 0.5 0.5;
10663                    fixed: 0 0;
10664                    rel1 {
10665                        relative: 0.0 0.0;
10666                        offset: 2 2;
10667                    }
10668                    rel2 {
10669                        to_y: "elm.text_new";
10670                        relative: 1.0 0.0;
10671                        offset: -3 -1;
10672                    }
10673                    color: 0 0 0 0;
10674                }
10675            }
10676            part { name: "elm.text";
10677                type: TEXT;
10678                effect: SOFT_SHADOW;
10679                mouse_events:  0;
10680                scale: 1;
10681                clip_to: "elm.text.clipper";
10682                description { state: "default" 0.0;
10683                    align: 0.5 1.0;
10684                    fixed: 0 1;
10685                    rel1 {
10686                        relative: 0.0 1.0;
10687                        offset:   0 -1;
10688                    }
10689                    rel2 {
10690                        relative: 1.0 1.0;
10691                        offset:   -1 -1;
10692                    }
10693                    visible: 0;
10694                    color: 224 224 224 255;
10695                    color3: 0 0 0 32;
10696                    text {
10697                        font: "Sans:style=Bold";
10698                        size: 10;
10699                        min: 1 1;
10700                        align: 0.5 0.5;
10701                        text_class: "toolbar_item";
10702                    }
10703                }
10704                description { state: "selected" 0.0;
10705                    inherit: "default" 0.0;
10706                    visible: 1;
10707                }
10708                description { state: "visible" 0.0;
10709                    inherit: "default" 0.0;
10710                    visible: 1;
10711                    text.min: 1 1;
10712                }
10713                description { state: "disabled" 0.0;
10714                    inherit: "default" 0.0;
10715                    color: 0 0 0 128;
10716                    color3: 0 0 0 0;
10717                }
10718                description { state: "disabled_visible" 0.0;
10719                    inherit: "default" 0.0;
10720                    color: 0 0 0 128;
10721                    color3: 0 0 0 0;
10722                    visible: 1;
10723                    text.min: 1 1;
10724                }
10725            }
10726            part { name: "elm.text_new";
10727                type: TEXT;
10728                effect: SOFT_SHADOW;
10729                mouse_events:  0;
10730                clip_to: "elm.text_new.clipper";
10731                scale: 1;
10732                description { state: "default" 0.0;
10733                    align: 0.5 1.0;
10734                    fixed: 0 1;
10735                    rel1 {
10736                        relative: 0.0 1.0;
10737                        offset:   0 -1;
10738                    }
10739                    rel2 {
10740                        relative: 1.0 1.0;
10741                        offset:   -1 -1;
10742                    }
10743                    visible: 0;
10744                    color: 224 224 224 255;
10745                    color3: 0 0 0 32;
10746                    text {
10747                        font: "Sans:style=Bold";
10748                        size: 10;
10749                        min: 1 1;
10750                        align: 0.5 0.5;
10751                        text_class: "toolbar_item";
10752                    }
10753                }
10754                description { state: "selected" 0.0;
10755                    inherit: "default" 0.0;
10756                    visible: 1;
10757                }
10758                description { state: "visible" 0.0;
10759                    inherit: "default" 0.0;
10760                    visible: 1;
10761                    text.min: 1 1;
10762                }
10763                description { state: "disabled" 0.0;
10764                    inherit: "default" 0.0;
10765                    color: 0 0 0 128;
10766                    color3: 0 0 0 0;
10767                }
10768                description { state: "disabled_visible" 0.0;
10769                    inherit: "default" 0.0;
10770                    color: 0 0 0 128;
10771                    color3: 0 0 0 0;
10772                    visible: 1;
10773                    text.min: 1 1;
10774                }
10775            }
10776            part { name: "elm.text.clipper";
10777                type: RECT;
10778                description { state: "default" 0.0;
10779                    color: 255 255 255 255;
10780                }
10781                description { state: "animation" 0.0;
10782                    color: 255 255 255 0;
10783                }
10784            }
10785            part { name: "elm.text_new.clipper";
10786                type: RECT;
10787                description { state: "default" 0.0;
10788                    color: 255 255 255 0;
10789                }
10790                description { state: "animation" 0.0;
10791                    color: 255 255 255 255;
10792                }
10793            }
10794            part { name: "elm.icon.clipper";
10795                type: RECT;
10796                description { state: "default" 0.0;
10797                    color: 255 255 255 255;
10798                }
10799                description { state: "animation" 0.0;
10800                    color: 255 255 255 0;
10801                }
10802            }
10803            part { name: "elm.icon_new.clipper";
10804                type: RECT;
10805                description { state: "default" 0.0;
10806                    color: 255 255 255 0;
10807                }
10808                description { state: "animation" 0.0;
10809                    color: 255 255 255 255;
10810                }
10811            }
10812            part { name: "event";
10813                type: RECT;
10814                mouse_events: 1;
10815                ignore_flags: ON_HOLD;
10816                description { state: "default" 0.0;
10817                    color: 0 0 0 0;
10818                }
10819            }
10820        }
10821        programs {
10822            program { name: "go_active";
10823                signal:  "elm,state,selected";
10824                source:  "elm";
10825                action:  STATE_SET "selected" 0.0;
10826                target:  "bg";
10827                target:  "elm.text";
10828                target:  "label2";
10829                target:  "elm.text_new";
10830                target:  "label2_new";
10831                transition: LINEAR 0.2;
10832            }
10833            program { name: "go_passive";
10834                signal:  "elm,state,unselected";
10835                source:  "elm";
10836                action:  STATE_SET "default" 0.0;
10837                target:  "bg";
10838                target:  "elm.text";
10839                target:  "label2";
10840                target:  "elm.text_new";
10841                target:  "label2_new";
10842                transition: LINEAR 0.1;
10843            }
10844            program { name: "go";
10845                signal:  "mouse,up,1";
10846                source:  "event";
10847                action:  SIGNAL_EMIT "elm,action,click" "elm";
10848            }
10849            program { name: "mouse,in";
10850               signal:  "mouse,in";
10851               source:  "event";
10852               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10853            }
10854            program { name: "mouse,out";
10855               signal:  "mouse,out";
10856               source:  "event";
10857               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10858            }
10859            program { name: "disable";
10860                signal: "elm,state,disabled";
10861                source: "elm";
10862                action: STATE_SET "disabled" 0.0;
10863                target: "label2";
10864                target: "label2_new";
10865                target: "bg";
10866                after: "disable_text";
10867            }
10868            program { name: "disable_text";
10869                script {
10870                    new st[31];
10871                    new Float:vl;
10872                    get_state(PART:"elm.text", st, 30, vl);
10873                    if (!strcmp(st, "visible"))
10874                    {
10875                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10876                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10877                    }
10878                    else
10879                    {
10880                       set_state(PART:"elm.text", "disabled", 0.0);
10881                       set_state(PART:"elm.text_new", "disabled", 0.0);
10882                    }
10883                }
10884            }
10885            program { name: "enable";
10886                signal: "elm,state,enabled";
10887                source: "elm";
10888                action: STATE_SET "default" 0.0;
10889                target: "label2";
10890                target: "label2_new";
10891                target: "bg";
10892                after: "enable_text";
10893            }
10894            program { name: "enable_text";
10895                script {
10896                    new st[31];
10897                    new Float:vl;
10898                    get_state(PART:"elm.text", st, 30, vl);
10899                    if (!strcmp(st, "disabled_visible"))
10900                    {
10901                       set_state(PART:"elm.text", "visible", 0.0);
10902                       set_state(PART:"elm.text_new", "visible", 0.0);
10903                    }
10904                    else
10905                    {
10906                       set_state(PART:"elm.text", "default", 0.0);
10907                       set_state(PART:"elm.text_new", "default", 0.0);
10908                    }
10909                }
10910            }
10911            program { name: "label_set,animation,forward";
10912               signal: "elm,state,label_set,forward";
10913               source: "elm";
10914               after: "label_set,animation";
10915            }
10916            program { name: "label_set,animation,backward";
10917               signal: "elm,state,label_set,backward";
10918               source: "elm";
10919               after: "label_set,animation";
10920            }
10921            program { name: "label_set,animation";
10922               signal: "elm,state,label_set";
10923               source: "elm";
10924               action: STATE_SET "animation" 0.0;
10925               target: "elm.text.clipper";
10926               target: "elm.text_new.clipper";
10927               transition: LINEAR 0.2;
10928               after: "label_set,animation,done";
10929            }
10930            program { name: "label_set,animation,done";
10931               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10932            }
10933            program { name: "label,reset";
10934               signal: "elm,state,label,reset";
10935               source: "elm";
10936               action: STATE_SET "default" 0.0;
10937               target: "elm.text.clipper";
10938               target: "elm.text_new.clipper";
10939            }
10940            program { name: "icon_set,animation,forward";
10941               signal: "elm,state,icon_set,forward";
10942               source: "elm";
10943               after: "icon_set,animation";
10944            }
10945            program { name: "icon_set,animation,backward";
10946               signal: "elm,state,icon_set,backward";
10947               source: "elm";
10948               after: "icon_set,animation";
10949            }
10950            program { name: "icon_set,animation";
10951               signal: "elm,state,icon_set";
10952               source: "elm";
10953               action: STATE_SET "animation" 0.0;
10954               target: "elm.icon.clipper";
10955               target: "elm.icon_new.clipper";
10956               transition: LINEAR 0.2;
10957               after: "icon_set,animation,done";
10958            }
10959            program { name: "icon_set,animation,done";
10960               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10961            }
10962            program { name: "icon,reset";
10963               signal: "elm,state,icon,reset";
10964               source: "elm";
10965               action: STATE_SET "default" 0.0;
10966               target: "elm.icon.clipper";
10967               target: "elm.icon_new.clipper";
10968            }
10969        }
10970    }
10971
10972    group { name: "elm/toolbar/separator/default";
10973       images {
10974          image: "toolbar_separator_v.png" COMP;
10975       }
10976       parts {
10977          part { name: "separator"; // separator group
10978             description { state: "default" 0.0;
10979                min: 2 2;
10980                max: 2 9999;
10981                rel1.offset: 4 4;
10982                rel2.offset: -5 -5;
10983                image {
10984                   normal: "toolbar_separator_v.png";
10985                }
10986                fill {
10987                   smooth: 0;
10988                }
10989             }
10990          }
10991       }
10992    }
10993
10994    ///////////////////////////////////////////////////////////////////////////////
10995    group { name: "elm/notify/block_events/default";
10996        parts {
10997            part { name: "block_events";
10998                type: RECT;
10999                description { state: "default" 0.0;
11000                    color: 0 0 0 64;
11001                    visible: 1;
11002                }
11003            }
11004        }
11005            programs {
11006                    program {
11007                                 name: "block_clicked";
11008                                 signal: "mouse,clicked,1";
11009                                 source: "block_events";
11010                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11011                    }
11012            }
11013    }
11014    group { name: "elm/notify/top/default";
11015        //this group is a design similar to the inwin group
11016        images {
11017            image: "shad_circ.png" COMP;
11018            image: "bt_dis_base.png" COMP;
11019            image: "bt_dis_hilight.png" COMP;
11020        }
11021        parts {
11022            part { name: "base";
11023                type: RECT;
11024                mouse_events: 0;
11025                repeat_events: 1;
11026                description { state: "default" 0.0;
11027                    color: 0 0 0 0;
11028                    rel1.offset: 10 10;
11029                    rel2.offset: -10 -10;
11030                    rel1.relative: 0.0 -1.0;
11031                    rel2.relative: 1.0 0.0;
11032                }
11033                description { state: "visible" 0.0;
11034                    inherit: "default" 0.0;
11035                    color: 0 0 0 64;
11036                    rel1.relative: 0.0 0.0;
11037                    rel2.relative: 1.0 1.0;
11038                }
11039            }
11040            part { name: "shad";
11041                mouse_events:  0;
11042                description { state: "default" 0.0;
11043                    image.normal: "shad_circ.png";
11044                    rel1.to: "elm.swallow.content";
11045                    rel1.offset: -64 -64;
11046                    rel2.to: "elm.swallow.content";
11047                    rel2.offset: 63 63;
11048                    fill.smooth: 0;
11049                }
11050            }
11051            part { name: "pop";
11052                mouse_events: 1;
11053                description { state: "default" 0.0;
11054                    rel1.to: "elm.swallow.content";
11055                    rel1.offset: -5 -5;
11056                    rel2.to: "elm.swallow.content";
11057                    rel2.offset: 4 4;
11058                    image {
11059                        normal: "bt_dis_base.png";
11060                        border: 4 4 4 4;
11061                    }
11062                    image.middle: SOLID;
11063                }
11064            }
11065            part { name: "popover";
11066                mouse_events: 0;
11067                description { state: "default" 0.0;
11068                    rel1.to: "pop";
11069                    rel2.to: "pop";
11070                    rel2.relative: 1.0 0.5;
11071                    image {
11072                        normal: "bt_dis_hilight.png";
11073                        border: 4 4 4 0;
11074                    }
11075                }
11076            }
11077            part { name: "elm.swallow.content";
11078                type: SWALLOW;
11079                description { state: "default" 0.0;
11080                    rel1.to: "base";
11081                    rel2.to: "base";
11082                }
11083            }
11084        }
11085        programs {
11086            program { name: "show";
11087                signal: "elm,action,show";
11088                source: "elm";
11089                action: STATE_SET "visible" 0.0;
11090                target: "base";
11091            }
11092            program { name: "show_2";
11093                 signal: "show";
11094                 action: STATE_SET "default" 0.0;
11095                 target: "base";
11096                 after: "show_3";
11097            }
11098            program { name: "show_3";
11099                 signal: "show";
11100                 action: STATE_SET "visible" 0.0;
11101                 target: "base";
11102                 transition: LINEAR 0.5;
11103            }
11104            program { name: "hide";
11105                signal: "elm,action,hide";
11106                source: "elm";
11107                action: STATE_SET "default" 0.0;
11108                target: "base";
11109            }
11110        }
11111    }
11112    group { name: "elm/notify/center/default";
11113        //this group is a design similar to the inwin group
11114        images {
11115            image: "bt_dis_base.png" COMP;
11116        }
11117        parts {
11118            part { name: "base";
11119                type: RECT;
11120                mouse_events: 0;
11121                repeat_events: 1;
11122                description { state: "default" 0.0;
11123                    color: 0 0 0 0;
11124                    rel1.relative: 0.0 0.0;
11125                    rel2.relative: 1.0 1.0;
11126                }
11127            }
11128            part { name: "pop";
11129                mouse_events: 1;
11130                description { state: "default" 0.0;
11131                    rel1.to: "elm.swallow.content";
11132                    rel1.offset: -5 -5;
11133                    rel2.to: "elm.swallow.content";
11134                    rel2.offset: 4 4;
11135                    image {
11136                        normal: "bt_dis_base.png";
11137                        border: 4 4 4 4;
11138                    }
11139                }
11140            }
11141            part { name: "elm.swallow.content";
11142                type: SWALLOW;
11143                description { state: "default" 0.0;
11144                    rel1.to: "base";
11145                    rel2.to: "base";
11146                }
11147            }
11148        }
11149        programs {
11150            program { name: "show";
11151                signal: "elm,action,show";
11152                source: "elm";
11153                action: STATE_SET "default" 0.0;
11154                target: "base";
11155            }
11156            program { name: "show_2";
11157                 signal: "show";
11158                 action: STATE_SET "default" 0.0;
11159                 target: "base";
11160            }
11161            program { name: "hide";
11162                signal: "elm,action,hide";
11163                source: "elm";
11164                action: STATE_SET "default" 0.0;
11165                target: "base";
11166            }
11167        }
11168    }
11169    group { name: "elm/notify/bottom/default";
11170        //this group is a design similar to the inwin group
11171        images {
11172            image: "shad_circ.png" COMP;
11173            image: "bt_dis_base.png" COMP;
11174            image: "bt_dis_hilight.png" COMP;
11175        }
11176        parts {
11177            part { name: "base";
11178                type: RECT;
11179                mouse_events: 0;
11180                repeat_events: 1;
11181                description { state: "default" 0.0;
11182                    color: 0 0 0 0;
11183                    rel1.offset: 10 10;
11184                    rel2.offset: -10 -10;
11185                    rel1.relative: 0.0 1.0;
11186                    rel2.relative: 1.0 2.0;
11187                }
11188                description { state: "visible" 0.0;
11189                    inherit: "default" 0.0;
11190                    color: 0 0 0 64;
11191                    rel1.relative: 0.0 0.0;
11192                    rel2.relative: 1.0 1.0;
11193                }
11194            }
11195            part { name: "shad";
11196                mouse_events:  0;
11197                description { state: "default" 0.0;
11198                    image.normal: "shad_circ.png";
11199                    rel1.to: "elm.swallow.content";
11200                    rel1.offset: -64 -64;
11201                    rel2.to: "elm.swallow.content";
11202                    rel2.offset: 63 63;
11203                    fill.smooth: 0;
11204                }
11205            }
11206            part { name: "pop";
11207                mouse_events: 1;
11208                description { state: "default" 0.0;
11209                    rel1.to: "elm.swallow.content";
11210                    rel1.offset: -5 -5;
11211                    rel2.to: "elm.swallow.content";
11212                    rel2.offset: 4 4;
11213                    image {
11214                        normal: "bt_dis_base.png";
11215                        border: 4 4 4 4;
11216                    }
11217                    image.middle: SOLID;
11218                }
11219            }
11220            part { name: "popover";
11221                mouse_events: 0;
11222                description { state: "default" 0.0;
11223                    rel1.to: "pop";
11224                    rel2.to: "pop";
11225                    rel2.relative: 1.0 0.5;
11226                    image {
11227                        normal: "bt_dis_hilight.png";
11228                        border: 4 4 4 0;
11229                    }
11230                }
11231            }
11232            part { name: "elm.swallow.content";
11233                type: SWALLOW;
11234                description { state: "default" 0.0;
11235                    rel1.to: "base";
11236                    rel2.to: "base";
11237                }
11238            }
11239        }
11240        programs {
11241            program { name: "show";
11242                signal: "elm,action,show";
11243                source: "elm";
11244                action: STATE_SET "visible" 0.0;
11245                target: "base";
11246            }
11247            program { name: "show_2";
11248                 signal: "show";
11249                 action: STATE_SET "default" 0.0;
11250                 target: "base";
11251                 after: "show_3";
11252            }
11253            program { name: "show_3";
11254                 signal: "show";
11255                 action: STATE_SET "visible" 0.0;
11256                 target: "base";
11257                 transition: LINEAR 0.5;
11258            }
11259            program { name: "hide";
11260                signal: "elm,action,hide";
11261                source: "elm";
11262                action: STATE_SET "default" 0.0;
11263                target: "base";
11264            }
11265        }
11266    }
11267    group { name: "elm/notify/left/default";
11268        //this group is a design similar to the inwin group
11269        images {
11270            image: "shad_circ.png" COMP;
11271            image: "bt_dis_base.png" COMP;
11272            image: "bt_dis_hilight.png" COMP;
11273        }
11274        parts {
11275            part { name: "base";
11276                type: RECT;
11277                mouse_events: 0;
11278                repeat_events: 1;
11279                description { state: "default" 0.0;
11280                    color: 0 0 0 0;
11281                    rel1.offset: 10 10;
11282                    rel2.offset: -10 -10;
11283                    rel1.relative: -1.0 0.0;
11284                    rel2.relative: 0.0 1.0;
11285                }
11286                description { state: "visible" 0.0;
11287                    inherit: "default" 0.0;
11288                    color: 0 0 0 64;
11289                    rel1.relative: 0.0 0.0;
11290                    rel2.relative: 1.0 1.0;
11291                }
11292            }
11293            part { name: "shad";
11294                mouse_events:  0;
11295                description { state: "default" 0.0;
11296                    image.normal: "shad_circ.png";
11297                    rel1.to: "elm.swallow.content";
11298                    rel1.offset: -64 -64;
11299                    rel2.to: "elm.swallow.content";
11300                    rel2.offset: 63 63;
11301                    fill.smooth: 0;
11302                }
11303            }
11304            part { name: "pop";
11305                mouse_events: 1;
11306                description { state: "default" 0.0;
11307                    rel1.to: "elm.swallow.content";
11308                    rel1.offset: -5 -5;
11309                    rel2.to: "elm.swallow.content";
11310                    rel2.offset: 4 4;
11311                    image {
11312                        normal: "bt_dis_base.png";
11313                        border: 4 4 4 4;
11314                    }
11315                    image.middle: SOLID;
11316                }
11317            }
11318            part { name: "popover";
11319                mouse_events: 0;
11320                description { state: "default" 0.0;
11321                    rel1.to: "pop";
11322                    rel2.to: "pop";
11323                    rel2.relative: 1.0 0.5;
11324                    image {
11325                        normal: "bt_dis_hilight.png";
11326                        border: 4 4 4 0;
11327                    }
11328                }
11329            }
11330            part { name: "elm.swallow.content";
11331                type: SWALLOW;
11332                description { state: "default" 0.0;
11333                    rel1.to: "base";
11334                    rel2.to: "base";
11335                }
11336            }
11337        }
11338        programs {
11339            program { name: "show";
11340                signal: "elm,action,show";
11341                source: "elm";
11342                action: STATE_SET "visible" 0.0;
11343                target: "base";
11344            }
11345            program { name: "show_2";
11346                signal: "show";
11347                action: STATE_SET "default" 0.0;
11348                target: "base";
11349                after: "show_3";
11350            }
11351            program { name: "show_3";
11352                signal: "show";
11353                action: STATE_SET "visible" 0.0;
11354                target: "base";
11355                transition: LINEAR 0.5;
11356            }
11357            program { name: "hide";
11358                signal: "elm,action,hide";
11359                source: "elm";
11360                action: STATE_SET "default" 0.0;
11361                target: "base";
11362            }
11363        }
11364    }
11365    group { name: "elm/notify/right/default";
11366        //this group is a design similar to the inwin group
11367        images {
11368            image: "shad_circ.png" COMP;
11369            image: "bt_dis_base.png" COMP;
11370            image: "bt_dis_hilight.png" COMP;
11371        }
11372        parts {
11373            part { name: "base";
11374                type: RECT;
11375                mouse_events: 0;
11376                repeat_events: 1;
11377                 description { state: "default" 0.0;
11378                    color: 0 0 0 0;
11379                    rel1.offset: 10 10;
11380                    rel2.offset: -10 -10;
11381                    rel1.relative: 1.0 0.0;
11382                    rel2.relative: 2.0 1.0;
11383                }
11384                description { state: "visible" 0.0;
11385                    inherit: "default" 0.0;
11386                    color: 0 0 0 64;
11387                    rel1.relative: 0.0 0.0;
11388                    rel2.relative: 1.0 1.0;
11389                }
11390            }
11391            part { name: "shad";
11392                mouse_events:  0;
11393                description { state: "default" 0.0;
11394                    image.normal: "shad_circ.png";
11395                    rel1.to: "elm.swallow.content";
11396                    rel1.offset: -64 -64;
11397                    rel2.to: "elm.swallow.content";
11398                    rel2.offset: 63 63;
11399                    fill.smooth: 0;
11400                }
11401            }
11402            part { name: "pop";
11403                mouse_events: 1;
11404                description { state: "default" 0.0;
11405                    rel1.to: "elm.swallow.content";
11406                    rel1.offset: -5 -5;
11407                    rel2.to: "elm.swallow.content";
11408                    rel2.offset: 4 4;
11409                    image {
11410                        normal: "bt_dis_base.png";
11411                        border: 4 4 4 4;
11412                    }
11413                    image.middle: SOLID;
11414                }
11415            }
11416            part { name: "popover";
11417                mouse_events: 0;
11418                description { state: "default" 0.0;
11419                    rel1.to: "pop";
11420                    rel2.to: "pop";
11421                    rel2.relative: 1.0 0.5;
11422                    image {
11423                        normal: "bt_dis_hilight.png";
11424                        border: 4 4 4 0;
11425                    }
11426                }
11427            }
11428            part { name: "elm.swallow.content";
11429                type: SWALLOW;
11430                description { state: "default" 0.0;
11431                    rel1.to: "base";
11432                    rel2.to: "base";
11433                }
11434            }
11435        }
11436        programs {
11437            program { name: "show";
11438                signal: "elm,action,show";
11439                source: "elm";
11440                action: STATE_SET "visible" 0.0;
11441                target: "base";
11442            }
11443            program { name: "show_2";
11444                signal: "show";
11445                action: STATE_SET "default" 0.0;
11446                target: "base";
11447                after: "show_3";
11448            }
11449            program { name: "show_3";
11450                signal: "show";
11451                action: STATE_SET "visible" 0.0;
11452                target: "base";
11453                transition: LINEAR 0.5;
11454            }
11455            program { name: "hide";
11456                signal: "elm,action,hide";
11457                source: "elm";
11458                action: STATE_SET "default" 0.0;
11459                target: "base";
11460            }
11461        }
11462    }
11463    group { name: "elm/notify/top_left/default";
11464        //this group is a design similar to the inwin group
11465        images {
11466            image: "shad_circ.png" COMP;
11467            image: "bt_dis_base.png" COMP;
11468            image: "bt_dis_hilight.png" COMP;
11469        }
11470        parts {
11471            part { name: "base";
11472                type: RECT;
11473                mouse_events: 0;
11474                repeat_events: 1;
11475                 description { state: "default" 0.0;
11476                    color: 0 0 0 0;
11477                    rel1.offset: 10 10;
11478                    rel2.offset: -10 -10;
11479                    rel1.relative: 0.0 -1.0;
11480                    rel2.relative: 1.0 0.0;
11481                }
11482                description { state: "visible" 0.0;
11483                    inherit: "default" 0.0;
11484                    color: 0 0 0 64;
11485                    rel1.relative: 0.0 0.0;
11486                    rel2.relative: 1.0 1.0;
11487                }
11488            }
11489            part { name: "shad";
11490                mouse_events:  0;
11491                description { state: "default" 0.0;
11492                    image.normal: "shad_circ.png";
11493                    rel1.to: "elm.swallow.content";
11494                    rel1.offset: -64 -64;
11495                    rel2.to: "elm.swallow.content";
11496                    rel2.offset: 63 63;
11497                    fill.smooth: 0;
11498                }
11499            }
11500            part { name: "pop";
11501                mouse_events: 1;
11502                description { state: "default" 0.0;
11503                    rel1.to: "elm.swallow.content";
11504                    rel1.offset: -5 -5;
11505                    rel2.to: "elm.swallow.content";
11506                    rel2.offset: 4 4;
11507                    image {
11508                        normal: "bt_dis_base.png";
11509                        border: 4 4 4 4;
11510                    }
11511                    image.middle: SOLID;
11512                }
11513            }
11514            part { name: "popover";
11515                mouse_events: 0;
11516                description { state: "default" 0.0;
11517                    rel1.to: "pop";
11518                    rel2.to: "pop";
11519                    rel2.relative: 1.0 0.5;
11520                    image {
11521                        normal: "bt_dis_hilight.png";
11522                        border: 4 4 4 0;
11523                    }
11524                }
11525            }
11526            part { name: "elm.swallow.content";
11527                type: SWALLOW;
11528                description { state: "default" 0.0;
11529                    rel1.to: "base";
11530                    rel2.to: "base";
11531                }
11532            }
11533        }
11534        programs {
11535            program { name: "show";
11536                signal: "elm,action,show";
11537                source: "elm";
11538                action: STATE_SET "visible" 0.0;
11539                target: "base";
11540            }
11541            program { name: "show_2";
11542                signal: "show";
11543                action: STATE_SET "default" 0.0;
11544                target: "base";
11545                after: "show_3";
11546            }
11547            program { name: "show_3";
11548                signal: "show";
11549                action: STATE_SET "visible" 0.0;
11550                target: "base";
11551                transition: LINEAR 0.5;
11552            }
11553            program { name: "hide";
11554                signal: "elm,action,hide";
11555                source: "elm";
11556                action: STATE_SET "default" 0.0;
11557                target: "base";
11558            }
11559        }
11560    }
11561    group { name: "elm/notify/top_right/default";
11562        //this group is a design similar to the inwin group
11563        images {
11564            image: "shad_circ.png" COMP;
11565            image: "bt_dis_base.png" COMP;
11566            image: "bt_dis_hilight.png" COMP;
11567        }
11568        parts {
11569            part { name: "base";
11570                type: RECT;
11571                mouse_events: 0;
11572                repeat_events: 1;
11573                description { state: "default" 0.0;
11574                    color: 0 0 0 0;
11575                    rel1.offset: 10 10;
11576                    rel2.offset: -10 -10;
11577                    rel1.relative: 0.0 -1.0;
11578                    rel2.relative: 1.0 0.0;
11579                }
11580                description { state: "visible" 0.0;
11581                    inherit: "default" 0.0;
11582                    color: 0 0 0 64;
11583                    rel1.relative: 0.0 0.0;
11584                    rel2.relative: 1.0 1.0;
11585                }
11586            }
11587            part { name: "shad";
11588                mouse_events:  0;
11589                description { state: "default" 0.0;
11590                    image.normal: "shad_circ.png";
11591                    rel1.to: "elm.swallow.content";
11592                    rel1.offset: -64 -64;
11593                    rel2.to: "elm.swallow.content";
11594                    rel2.offset: 63 63;
11595                    fill.smooth: 0;
11596                }
11597            }
11598            part { name: "pop";
11599                mouse_events: 1;
11600                description { state: "default" 0.0;
11601                    rel1.to: "elm.swallow.content";
11602                    rel1.offset: -5 -5;
11603                    rel2.to: "elm.swallow.content";
11604                    rel2.offset: 4 4;
11605                    image {
11606                        normal: "bt_dis_base.png";
11607                        border: 4 4 4 4;
11608                    }
11609                    image.middle: SOLID;
11610                }
11611            }
11612            part { name: "popover";
11613                mouse_events: 0;
11614                description { state: "default" 0.0;
11615                    rel1.to: "pop";
11616                    rel2.to: "pop";
11617                    rel2.relative: 1.0 0.5;
11618                    image {
11619                        normal: "bt_dis_hilight.png";
11620                        border: 4 4 4 0;
11621                    }
11622                }
11623            }
11624            part { name: "elm.swallow.content";
11625                type: SWALLOW;
11626                description { state: "default" 0.0;
11627                    rel1.to: "base";
11628                    rel2.to: "base";
11629                }
11630            }
11631        }
11632        programs {
11633            program { name: "show";
11634                signal: "elm,action,show";
11635                source: "elm";
11636                action: STATE_SET "visible" 0.0;
11637                target: "base";
11638            }
11639            program { name: "show_2";
11640                signal: "show";
11641                action: STATE_SET "default" 0.0;
11642                target: "base";
11643                after: "show_3";
11644            }
11645            program { name: "show_3";
11646                signal: "show";
11647                action: STATE_SET "visible" 0.0;
11648                target: "base";
11649                transition: LINEAR 0.5;
11650            }
11651            program { name: "hide";
11652                signal: "elm,action,hide";
11653                source: "elm";
11654                action: STATE_SET "default" 0.0;
11655                target: "base";
11656            }
11657        }
11658    }
11659    group { name: "elm/notify/bottom_left/default";
11660        //this group is a design similar to the inwin group
11661        images {
11662            image: "shad_circ.png" COMP;
11663            image: "bt_dis_base.png" COMP;
11664            image: "bt_dis_hilight.png" COMP;
11665        }
11666        parts {
11667            part { name: "base";
11668                type: RECT;
11669                mouse_events: 0;
11670                repeat_events: 1;
11671                description { state: "default" 0.0;
11672                    color: 0 0 0 0;
11673                    rel1.offset: 10 10;
11674                    rel2.offset: -10 -10;
11675                    rel1.relative: 0.0 1.0;
11676                    rel2.relative: 1.0 2.0;
11677                }
11678                description { state: "visible" 0.0;
11679                    inherit: "default" 0.0;
11680                    color: 0 0 0 64;
11681                    rel1.relative: 0.0 0.0;
11682                    rel2.relative: 1.0 1.0;
11683                }
11684            }
11685            part { name: "shad";
11686                mouse_events:  0;
11687                description { state: "default" 0.0;
11688                    image.normal: "shad_circ.png";
11689                    rel1.to: "elm.swallow.content";
11690                    rel1.offset: -64 -64;
11691                    rel2.to: "elm.swallow.content";
11692                    rel2.offset: 63 63;
11693                    fill.smooth: 0;
11694                }
11695            }
11696            part { name: "pop";
11697                mouse_events: 1;
11698                description { state: "default" 0.0;
11699                    rel1.to: "elm.swallow.content";
11700                    rel1.offset: -5 -5;
11701                    rel2.to: "elm.swallow.content";
11702                    rel2.offset: 4 4;
11703                    image {
11704                        normal: "bt_dis_base.png";
11705                        border: 4 4 4 4;
11706                    }
11707                    image.middle: SOLID;
11708                }
11709            }
11710            part { name: "popover";
11711                mouse_events: 0;
11712                description { state: "default" 0.0;
11713                    rel1.to: "pop";
11714                    rel2.to: "pop";
11715                    rel2.relative: 1.0 0.5;
11716                    image {
11717                        normal: "bt_dis_hilight.png";
11718                        border: 4 4 4 0;
11719                    }
11720                }
11721            }
11722            part { name: "elm.swallow.content";
11723                type: SWALLOW;
11724                description { state: "default" 0.0;
11725                    rel1.to: "base";
11726                    rel2.to: "base";
11727                }
11728            }
11729        }
11730        programs {
11731            program { name: "show";
11732                signal: "elm,action,show";
11733                source: "elm";
11734                action: STATE_SET "visible" 0.0;
11735                target: "base";
11736            }
11737            program { name: "show_2";
11738                signal: "show";
11739                action: STATE_SET "default" 0.0;
11740                target: "base";
11741                after: "show_3";
11742            }
11743            program { name: "show_3";
11744                signal: "show";
11745                action: STATE_SET "visible" 0.0;
11746                target: "base";
11747                transition: LINEAR 0.5;
11748            }
11749            program { name: "hide";
11750                signal: "elm,action,hide";
11751                source: "elm";
11752                action: STATE_SET "default" 0.0;
11753                target: "base";
11754            }
11755        }
11756    }
11757    group { name: "elm/notify/bottom_right/default";
11758        //this group is a design similar to the inwin group
11759        images {
11760            image: "shad_circ.png" COMP;
11761            image: "bt_dis_base.png" COMP;
11762            image: "bt_dis_hilight.png" COMP;
11763        }
11764        parts {
11765            part { name: "base";
11766                type: RECT;
11767                mouse_events: 0;
11768                repeat_events: 1;
11769               description { state: "default" 0.0;
11770                    color: 0 0 0 0;
11771                    rel1.offset: 10 10;
11772                    rel2.offset: -10 -10;
11773                    rel1.relative: 0.0 1.0;
11774                    rel2.relative: 1.0 2.0;
11775                }
11776                description { state: "visible" 0.0;
11777                    inherit: "default" 0.0;
11778                    color: 0 0 0 64;
11779                    rel1.relative: 0.0 0.0;
11780                    rel2.relative: 1.0 1.0;
11781                }
11782            }
11783            part { name: "shad";
11784                mouse_events:  0;
11785                description { state: "default" 0.0;
11786                    image.normal: "shad_circ.png";
11787                    rel1.to: "elm.swallow.content";
11788                    rel1.offset: -64 -64;
11789                    rel2.to: "elm.swallow.content";
11790                    rel2.offset: 63 63;
11791                    fill.smooth: 0;
11792                }
11793            }
11794            part { name: "pop";
11795                mouse_events: 1;
11796                description { state: "default" 0.0;
11797                    rel1.to: "elm.swallow.content";
11798                    rel1.offset: -5 -5;
11799                    rel2.to: "elm.swallow.content";
11800                    rel2.offset: 4 4;
11801                    image {
11802                        normal: "bt_dis_base.png";
11803                        border: 4 4 4 4;
11804                    }
11805                    image.middle: SOLID;
11806                }
11807            }
11808            part { name: "popover";
11809                mouse_events: 0;
11810                description { state: "default" 0.0;
11811                    rel1.to: "pop";
11812                    rel2.to: "pop";
11813                    rel2.relative: 1.0 0.5;
11814                    image {
11815                        normal: "bt_dis_hilight.png";
11816                        border: 4 4 4 0;
11817                    }
11818                }
11819            }
11820            part { name: "elm.swallow.content";
11821                type: SWALLOW;
11822                description { state: "default" 0.0;
11823                    rel1.to: "base";
11824                    rel2.to: "base";
11825                }
11826            }
11827        }
11828        programs {
11829            program { name: "show";
11830                signal: "elm,action,show";
11831                source: "elm";
11832                action: STATE_SET "visible" 0.0;
11833                target: "base";
11834            }
11835            program { name: "show_2";
11836                signal: "show";
11837                action: STATE_SET "default" 0.0;
11838                target: "base";
11839                after: "show_3";
11840            }
11841            program { name: "show_3";
11842                signal: "show";
11843                action: STATE_SET "visible" 0.0;
11844                target: "base";
11845                transition: LINEAR 0.5;
11846            }
11847            program { name: "hide";
11848                signal: "elm,action,hide";
11849                source: "elm";
11850                action: STATE_SET "default" 0.0;
11851                target: "base";
11852            }
11853        }
11854    }
11855
11856 ///////////////////////////////////////////////////////////////////////////////
11857    group { name: "elm/slideshow/base/default";
11858       data {
11859          item: transitions "fade black_fade horizontal vertical square";
11860          item: layouts "fullscreen not_fullscreen";
11861       }
11862       parts {
11863          part { name: "whole";
11864                  type: RECT;
11865             description {
11866                state: "default" 0.0;
11867                visible: 1;
11868                color: 20 20 20 255;
11869             }
11870          }
11871          part { name: "image_1_whole";
11872             type: RECT;
11873             description {
11874                state: "default" 0.0;
11875                color: 255 255 255 255;
11876             }
11877             description {
11878                state: "fade_prev_next" 0.0;
11879                inherit: "default" 0.0;
11880                color: 255 255 255 0;
11881             }
11882             description {
11883                state: "black_fade_prev_next_init" 0.0;
11884                inherit: "default" 0.0;
11885                color: 255 255 255 255;
11886             }
11887             description {
11888                state: "black_fade_prev_next" 0.0;
11889                inherit: "default" 0.0;
11890                color: 0 0 0 255;
11891             }
11892             description {
11893                state: "horizontal_next_init" 0.0;
11894                inherit: "default" 0.0;
11895             }
11896             description {
11897                state: "horizontal_next" 0.0;
11898                inherit: "default" 0.0;
11899                rel1.relative: -1.0 0.0;
11900                rel2.relative: 0.0 1.0;
11901             }
11902             description {
11903                state: "horizontal_prev_init" 0.0;
11904                inherit: "default" 0.0;
11905             }
11906             description {
11907                state: "horizontal_prev" 0.0;
11908                inherit: "default" 0.0;
11909                rel1.relative: 1.0 0.0;
11910                rel2.relative: 2.0 1.0;
11911             }
11912             description {
11913                state: "vertical_next_init" 0.0;
11914                inherit: "default" 0.0;
11915             }
11916             description {
11917                state: "vertical_next" 0.0;
11918                inherit: "default" 0.0;
11919                rel1.relative: 0.0 -1.0;
11920                rel2.relative: 1.0 0.0;
11921             }
11922             description {
11923                state: "vertical_prev_init" 0.0;
11924                inherit: "default" 0.0;
11925             }
11926             description {
11927                state: "vertical_prev" 0.0;
11928                inherit: "default" 0.0;
11929                rel1.relative: 0.0 1.0;
11930                rel2.relative: 1.0 2.0;
11931             }
11932             description {
11933                state: "square_prev_next" 0.0;
11934                inherit: "default" 0.0;
11935                color: 255 255 255 0;
11936             }
11937          }
11938          part { name: "image_2_whole";
11939             type: RECT;
11940             description {
11941                state: "default" 0.0;
11942                visible: 1;
11943                color: 255 255 255 0;
11944             }
11945             description {
11946                state: "fade_prev_next" 0.0;
11947                inherit: "default" 0.0;
11948                color: 255 255 255 255;
11949             }
11950             description {
11951                state: "black_fade_prev_next_init" 0.0;
11952                inherit: "default" 0.0;
11953                color: 0 0 0 0;
11954             }
11955             description {
11956                state: "black_fade_prev_next" 0.0;
11957                inherit: "default" 0.0;
11958                color: 255 255 255 255;
11959             }
11960             description {
11961                state: "horizontal_next_init" 0.0;
11962                inherit: "default" 0.0;
11963                rel1.relative: 1.0 0.0;
11964                rel2.relative: 2.0 1.0;
11965                color: 255 255 255 255;
11966             }
11967             description {
11968                state: "horizontal_next" 0.0;
11969                inherit: "default" 0.0;
11970                color: 255 255 255 255;
11971             }
11972             description {
11973                state: "horizontal_prev_init" 0.0;
11974                inherit: "default" 0.0;
11975                rel1.relative: -1.0 0.0;
11976                rel2.relative: 0.0 1.0;
11977                color: 255 255 255 255;
11978             }
11979             description {
11980                state: "horizontal_prev" 0.0;
11981                inherit: "default" 0.0;
11982                color: 255 255 255 255;
11983             }
11984             description {
11985                state: "vertical_next_init" 0.0;
11986                inherit: "default" 0.0;
11987                rel1.relative: 0.0 1.0;
11988                rel2.relative: 1.0 2.0;
11989                color: 255 255 255 255;
11990             }
11991             description {
11992                state: "vertical_next" 0.0;
11993                inherit: "default" 0.0;
11994                color: 255 255 255 255;
11995             }
11996             description {
11997                state: "vertical_prev_init" 0.0;
11998                inherit: "default" 0.0;
11999                rel1.relative: 0.0 -1.0;
12000                rel2.relative: 1.0 0.0;
12001                color: 255 255 255 255;
12002             }
12003             description {
12004                state: "vertical_prev" 0.0;
12005                inherit: "default" 0.0;
12006                color: 255 255 255 255;
12007             }
12008             description {
12009                state: "square_prev_next_init" 0.0;
12010                inherit: "default" 0.0;
12011                rel1.relative: 0.5 0.5;
12012                rel2.relative: 0.5 0.5;
12013                color: 255 255 255 255;
12014             }
12015             description {
12016                state: "square_prev_next" 0.0;
12017                inherit: "default" 0.0;
12018                rel1.relative: 0.0 0.0;
12019                rel2.relative: 1.0 1.0;
12020                color: 255 255 255 255;
12021             }
12022          }
12023          part { name: "elm.swallow.1";
12024             type: SWALLOW;
12025             clip_to: "image_1_whole";
12026             description {
12027                state: "default" 0.0;
12028                rel1.to: "image_1_whole";
12029                rel2.to: "image_1_whole";
12030                color: 255 255 255 255;
12031             }
12032             description {
12033                state: "not_fullscreen" 0.0;
12034                rel1.relative: 0.1 0.1;
12035                rel1.to: "image_1_whole";
12036                rel2.relative: 0.9 0.9;
12037                rel2.to: "image_1_whole";
12038                color: 255 255 255 255;
12039             }
12040          }
12041          part { name: "elm.swallow.2";
12042             type: SWALLOW;
12043             clip_to: "image_2_whole";
12044             description {
12045                state: "default" 0.0;
12046                color: 255 255 255 255;
12047                rel1.to: "image_2_whole";
12048                rel2.to: "image_2_whole";
12049             }
12050             description {
12051                state: "not_fullscreen" 0.0;
12052                color: 255 255 255 255;
12053                rel1.relative: 0.1 0.1;
12054                rel1.to: "image_2_whole";
12055                rel2.relative: 0.9 0.9;
12056                rel2.to: "image_2_whole";
12057             }
12058          }
12059          part { name: "events_catcher";
12060             type: RECT;
12061             repeat_events: 1;
12062             description {
12063                state: "default" 0.0;
12064                visible: 1;
12065                color: 0 0 0 0;
12066             }
12067          }
12068       }
12069       programs {
12070               //Substyle
12071               program { name: "layout_fullscreen";
12072             signal: "layout,fullscreen";
12073             source: "slideshow";
12074             action: STATE_SET "default" 0.0;
12075             target: "elm.swallow.1";
12076             target: "elm.swallow.2";
12077             transition: SINUSOIDAL 1.0;
12078         }
12079         program { name: "layout_not_fullscreen";
12080             signal: "layout,not_fullscreen";
12081             source: "slideshow";
12082             action: STATE_SET "not_fullscreen" 0.0;
12083             target: "elm.swallow.1";
12084             target: "elm.swallow.2";
12085             transition: SINUSOIDAL 1.0;
12086          }
12087                //
12088          program { name: "fade_next";
12089             signal: "fade,next";
12090             source: "slideshow";
12091             action: STATE_SET "default" 0.0;
12092             target: "image_1_whole";
12093             target: "image_2_whole";
12094             after: "fade_next_2";
12095          }
12096          program { name: "fade_next_2";
12097             action: STATE_SET "fade_prev_next" 0.0;
12098             target: "image_1_whole";
12099             target: "image_2_whole";
12100             transition: SINUSOIDAL 1.5;
12101             after: "end";
12102          }
12103          program { name: "fade_previous";
12104             signal: "fade,previous";
12105             source: "slideshow";
12106             action: STATE_SET "default" 0.0;
12107             target: "image_1_whole";
12108             target: "image_2_whole";
12109             after: "fade_previous_2";
12110          }
12111          program { name: "fade_previous_2";
12112             action: STATE_SET "fade_prev_next" 0.0;
12113             target: "image_1_whole";
12114             target: "image_2_whole";
12115             transition: SINUSOIDAL 1.5;
12116             after: "end";
12117          }
12118          program { name: "black_fade_next";
12119             signal: "black_fade,next";
12120             source: "slideshow";
12121             action: STATE_SET "black_fade_prev_next_init" 0.0;
12122             target: "image_1_whole";
12123             target: "image_2_whole";
12124             after: "black_fade_next_2";
12125          }
12126          program { name: "black_fade_next_2";
12127             action: STATE_SET "black_fade_prev_next" 0.0;
12128             target: "image_1_whole";
12129             transition: SINUSOIDAL 0.75;
12130             after: "black_fade_next_3";
12131          }
12132          program { name: "black_fade_next_3";
12133             action: STATE_SET "black_fade_prev_next" 0.0;
12134             target: "image_2_whole";
12135             transition: SINUSOIDAL 0.75;
12136             after: "end";
12137          }
12138          program { name: "black_fade_previous";
12139             signal: "black_fade,previous";
12140             source: "slideshow";
12141             action: STATE_SET "black_fade_prev_next_init" 0.0;
12142             target: "image_1_whole";
12143             target: "image_2_whole";
12144             after: "black_fade_previous_2";
12145          }
12146          program { name: "black_fade_previous_2";
12147             action: STATE_SET "black_fade_prev_next" 0.0;
12148             target: "image_1_whole";
12149             transition: SINUSOIDAL 0.75;
12150             after: "black_fade_previous_3";
12151          }
12152          program { name: "black_fade_previous_3";
12153             action: STATE_SET "black_fade_prev_next" 0.0;
12154             target: "image_2_whole";
12155             transition: SINUSOIDAL 0.75;
12156             after: "end";
12157          }
12158          program { name: "horizontal_next";
12159             signal: "horizontal,next";
12160             source: "slideshow";
12161             action: STATE_SET "horizontal_next_init" 0.0;
12162             target: "image_1_whole";
12163             target: "image_2_whole";
12164             after: "horizontal_next_2";
12165          }
12166          program { name: "horizontal_next_2";
12167             action: STATE_SET "horizontal_next" 0.0;
12168             target: "image_1_whole";
12169             target: "image_2_whole";
12170             transition: SINUSOIDAL 1.5;
12171             after: "end";
12172          }
12173          program { name: "horizontal_previous";
12174             signal: "horizontal,previous";
12175             source: "slideshow";
12176             action: STATE_SET "horizontal_prev_init" 0.0;
12177             target: "image_1_whole";
12178             target: "image_2_whole";
12179             after: "horizontal_previous_2";
12180          }
12181          program { name: "horizontal_previous_2";
12182             action: STATE_SET "horizontal_prev" 0.0;
12183             target: "image_1_whole";
12184             target: "image_2_whole";
12185             transition: SINUSOIDAL 1.5;
12186             after: "end";
12187          }
12188          program { name: "vertical_next";
12189             signal: "vertical,next";
12190             source: "slideshow";
12191             action: STATE_SET "vertical_next_init" 0.0;
12192             target: "image_1_whole";
12193             target: "image_2_whole";
12194             after: "vertical_next_2";
12195          }
12196          program { name: "vertical_next_2";
12197             action: STATE_SET "vertical_next" 0.0;
12198             target: "image_1_whole";
12199             target: "image_2_whole";
12200             transition: SINUSOIDAL 1.5;
12201             after: "end";
12202          }
12203          program { name: "vertical_previous";
12204             signal: "vertical,previous";
12205             source: "slideshow";
12206             action: STATE_SET "vertical_prev_init" 0.0;
12207             target: "image_1_whole";
12208             target: "image_2_whole";
12209             after: "vertical_previous_2";
12210          }
12211          program { name: "vertical_previous_2";
12212             action: STATE_SET "vertical_prev" 0.0;
12213             target: "image_1_whole";
12214             target: "image_2_whole";
12215             transition: SINUSOIDAL 1.5;
12216             after: "end";
12217          }
12218          program { name: "square_next";
12219             signal: "square,next";
12220             source: "slideshow";
12221             action: STATE_SET "square_prev_next_init" 0.0;
12222             target: "image_2_whole";
12223             after: "square_next_2";
12224          }
12225          program { name: "square_next_2";
12226             action: STATE_SET "square_prev_next" 0.0;
12227             target: "image_2_whole";
12228             target: "image_1_whole";
12229             transition: SINUSOIDAL 1.5;
12230             after: "end";
12231          }
12232          program { name: "square_previous";
12233             signal: "square,previous";
12234             source: "slideshow";
12235             action: STATE_SET "square_prev_next_init" 0.0;
12236             target: "image_2_whole";
12237             after: "square_next_2";
12238          }
12239          program { name: "end";
12240             action: SIGNAL_EMIT "end" "slideshow";
12241          }
12242          program { name: "end_signal";
12243             signal: "anim,end";
12244             source: "slideshow";
12245             action: STATE_SET "default" 0.0;
12246             target: "image_1_whole";
12247             target: "image_2_whole";
12248          }
12249       }
12250    }
12251
12252 ///////////////////////////////////////////////////////////////////////////////
12253    group { name: "elm/win/inwin/default";
12254       images {
12255          image: "shad_circ.png" COMP;
12256          image: "bt_dis_base.png" COMP;
12257          image: "bt_dis_hilight.png" COMP;
12258       }
12259       parts {
12260          part { name: "base";
12261             type: RECT;
12262             mouse_events: 1;
12263             description { state: "default" 0.0;
12264                color: 0 0 0 0;
12265             }
12266             description { state: "visible" 0.0;
12267                inherit: "default" 1.0;
12268                color: 0 0 0 64;
12269             }
12270          }
12271          part { name: "shad";
12272             mouse_events:  0;
12273             description { state: "default" 0.0;
12274                image.normal: "shad_circ.png";
12275                rel1.to: "elm.swallow.content";
12276                rel1.offset: -64 -64;
12277                rel2.to: "elm.swallow.content";
12278                rel2.offset: 63 63;
12279                fill.smooth: 0;
12280             }
12281          }
12282          part { name: "pop";
12283             mouse_events: 1;
12284             description { state: "default" 0.0;
12285                rel1.to: "elm.swallow.content";
12286                rel1.offset: -5 -5;
12287                rel2.to: "elm.swallow.content";
12288                rel2.offset: 4 4;
12289                image {
12290                   normal: "bt_dis_base.png";
12291                   border: 4 4 4 4;
12292                }
12293                image.middle: SOLID;
12294             }
12295          }
12296          part { name: "popover";
12297             mouse_events: 0;
12298             description { state: "default" 0.0;
12299                rel1.to: "pop";
12300                rel2.to: "pop";
12301                rel2.relative: 1.0 0.5;
12302                image {
12303                   normal: "bt_dis_hilight.png";
12304                   border: 4 4 4 0;
12305                }
12306             }
12307          }
12308          part { name: "elm.swallow.content";
12309             type: SWALLOW;
12310             description { state: "default" 0.0;
12311                rel1.relative: 0.1 0.1;
12312                rel2.relative: 0.9 0.9;
12313             }
12314          }
12315       }
12316       programs {
12317          program { name: "show";
12318             signal: "elm,action,show";
12319             source: "elm";
12320             action: STATE_SET "visible" 0.0;
12321 //            transition: DECELERATE 0.5;
12322             target: "base";
12323          }
12324          program { name: "hide";
12325             signal: "elm,action,hide";
12326             source: "elm";
12327             action: STATE_SET "default" 0.0;
12328 //            transition: DECELERATE 0.5;
12329             target: "base";
12330          }
12331       }
12332    }
12333
12334    group { name: "elm/win/inwin/minimal";
12335       images {
12336          image: "shad_circ.png" COMP;
12337          image: "bt_dis_base.png" COMP;
12338          image: "bt_dis_hilight.png" COMP;
12339       }
12340       parts {
12341          part { name: "base";
12342             type: RECT;
12343             mouse_events: 1;
12344             description { state: "default" 0.0;
12345                color: 0 0 0 0;
12346             }
12347             description { state: "visible" 0.0;
12348                inherit: "default" 1.0;
12349                color: 0 0 0 64;
12350             }
12351          }
12352          part { name: "shad";
12353             mouse_events:  0;
12354             description { state: "default" 0.0;
12355                image.normal: "shad_circ.png";
12356                rel1.to: "elm.swallow.content";
12357                rel1.offset: -64 -64;
12358                rel2.to: "elm.swallow.content";
12359                rel2.offset: 63 63;
12360                fill.smooth: 0;
12361             }
12362          }
12363          part { name: "pop";
12364             mouse_events: 1;
12365             description { state: "default" 0.0;
12366                rel1.to: "elm.swallow.content";
12367                rel1.offset: -5 -5;
12368                rel2.to: "elm.swallow.content";
12369                rel2.offset: 4 4;
12370                image {
12371                   normal: "bt_dis_base.png";
12372                   border: 4 4 4 4;
12373                }
12374                image.middle: SOLID;
12375             }
12376          }
12377          part { name: "popover";
12378             mouse_events: 0;
12379             description { state: "default" 0.0;
12380                rel1.to: "pop";
12381                rel2.to: "pop";
12382                rel2.relative: 1.0 0.5;
12383                image {
12384                   normal: "bt_dis_hilight.png";
12385                   border: 4 4 4 0;
12386                }
12387             }
12388          }
12389          part { name: "elm.swallow.content";
12390             type: SWALLOW;
12391             description { state: "default" 0.0;
12392                fixed: 1 1;
12393                rel1.relative: 0.5 0.5;
12394                rel2.relative: 0.5 0.5;
12395             }
12396          }
12397       }
12398       programs {
12399          program { name: "show";
12400             signal: "elm,action,show";
12401             source: "elm";
12402             action: STATE_SET "visible" 0.0;
12403 //            transition: DECELERATE 0.5;
12404             target: "base";
12405          }
12406          program { name: "hide";
12407             signal: "elm,action,hide";
12408             source: "elm";
12409             action: STATE_SET "default" 0.0;
12410 //            transition: DECELERATE 0.5;
12411             target: "base";
12412          }
12413       }
12414    }
12415
12416    group { name: "elm/win/inwin/minimal_vertical";
12417       images {
12418          image: "shad_circ.png" COMP;
12419          image: "bt_dis_base.png" COMP;
12420          image: "bt_dis_hilight.png" COMP;
12421       }
12422       parts {
12423          part { name: "base";
12424             type: RECT;
12425             mouse_events: 1;
12426             description { state: "default" 0.0;
12427                color: 0 0 0 0;
12428             }
12429             description { state: "visible" 0.0;
12430                inherit: "default" 1.0;
12431                color: 0 0 0 64;
12432             }
12433          }
12434          part { name: "shad";
12435             mouse_events:  0;
12436             description { state: "default" 0.0;
12437                image.normal: "shad_circ.png";
12438                rel1.to: "elm.swallow.content";
12439                rel1.offset: -64 -64;
12440                rel2.to: "elm.swallow.content";
12441                rel2.offset: 63 63;
12442                fill.smooth: 0;
12443             }
12444          }
12445          part { name: "pop";
12446             mouse_events: 1;
12447             description { state: "default" 0.0;
12448                rel1.to: "elm.swallow.content";
12449                rel1.offset: -5 -5;
12450                rel2.to: "elm.swallow.content";
12451                rel2.offset: 4 4;
12452                image {
12453                   normal: "bt_dis_base.png";
12454                   border: 4 4 4 4;
12455                }
12456                image.middle: SOLID;
12457             }
12458          }
12459          part { name: "popover";
12460             mouse_events: 0;
12461             description { state: "default" 0.0;
12462                rel1.to: "pop";
12463                rel2.to: "pop";
12464                rel2.relative: 1.0 0.5;
12465                image {
12466                   normal: "bt_dis_hilight.png";
12467                   border: 4 4 4 0;
12468                }
12469             }
12470          }
12471          part { name: "elm.swallow.content";
12472             type: SWALLOW;
12473             description { state: "default" 0.0;
12474                fixed: 1 1;
12475                rel1.relative: 0.1 0.5;
12476                rel2.relative: 0.9 0.5;
12477             }
12478          }
12479       }
12480       programs {
12481          program { name: "show";
12482             signal: "elm,action,show";
12483             source: "elm";
12484             action: STATE_SET "visible" 0.0;
12485 //            transition: DECELERATE 0.5;
12486             target: "base";
12487          }
12488          program { name: "hide";
12489             signal: "elm,action,hide";
12490             source: "elm";
12491             action: STATE_SET "default" 0.0;
12492 //            transition: DECELERATE 0.5;
12493             target: "base";
12494          }
12495       }
12496    }
12497
12498 ///////////////////////////////////////////////////////////////////////////////
12499
12500 ///////////////////////////////////////////////////////////////////////////////
12501    group { name: "elm/list/item/default";
12502       data.item: "stacking" "above";
12503       images {
12504          image: "bt_sm_base1.png" COMP;
12505          image: "bt_sm_shine.png" COMP;
12506          image: "bt_sm_hilight.png" COMP;
12507          image: "ilist_1.png" COMP;
12508          image: "ilist_item_shadow.png" COMP;
12509       }
12510       parts {
12511          part {
12512             name:           "event";
12513             type:           RECT;
12514             repeat_events: 1;
12515             description {
12516                state: "default" 0.0;
12517                color: 0 0 0 0;
12518             }
12519          }
12520          part {
12521             name: "base_sh";
12522             mouse_events: 0;
12523             description {
12524                state: "default" 0.0;
12525                align: 0.0 0.0;
12526                min: 0 10;
12527                fixed: 1 1;
12528                rel1 {
12529                   to: "base";
12530                   relative: 0.0 1.0;
12531                   offset: 0 0;
12532                }
12533                rel2 {
12534                   to: "base";
12535                   relative: 1.0 1.0;
12536                   offset: -1 0;
12537                }
12538                image {
12539                   normal: "ilist_item_shadow.png";
12540                }
12541                fill.smooth: 0;
12542             }
12543          }
12544          part {
12545             name: "base";
12546             mouse_events: 0;
12547             description {
12548                state: "default" 0.0;
12549                image {
12550                   normal: "ilist_1.png";
12551                   border: 2 2 2 2;
12552                }
12553                fill.smooth: 0;
12554             }
12555          }
12556          part { name: "bg";
12557             mouse_events: 0;
12558             description { state: "default" 0.0;
12559                visible: 0;
12560                color: 255 255 255 0;
12561                rel1 {
12562                   relative: 0.0 0.0;
12563                   offset: -5 -5;
12564                }
12565                rel2 {
12566                   relative: 1.0 1.0;
12567                   offset: 4 4;
12568                }
12569                image {
12570                   normal: "bt_sm_base1.png";
12571                   border: 6 6 6 6;
12572                }
12573                image.middle: SOLID;
12574             }
12575             description { state: "selected" 0.0;
12576                inherit: "default" 0.0;
12577                visible: 1;
12578                color: 255 255 255 255;
12579                rel1 {
12580                   relative: 0.0 0.0;
12581                   offset: -2 -2;
12582                }
12583                rel2 {
12584                   relative: 1.0 1.0;
12585                   offset: 1 1;
12586                }
12587             }
12588          }
12589          part { name: "elm.swallow.icon";
12590             type: SWALLOW;
12591             description { state: "default" 0.0;
12592                fixed: 1 0;
12593                align: 0.0 0.5;
12594                rel1 {
12595                   relative: 0.0  0.0;
12596                   offset:   4    4;
12597                }
12598                rel2 {
12599                   relative: 0.0  1.0;
12600                   offset:   4   -5;
12601                }
12602             }
12603          }
12604          part { name: "elm.swallow.end";
12605             type: SWALLOW;
12606             description { state: "default" 0.0;
12607                fixed: 1 0;
12608                align: 1.0 0.5;
12609                rel1 {
12610                   relative: 1.0  0.0;
12611                   offset:   -5    4;
12612                }
12613                rel2 {
12614                   relative: 1.0  1.0;
12615                   offset:   -5   -5;
12616                }
12617             }
12618          }
12619          part { name: "elm.text";
12620             type:           TEXT;
12621             effect:         SOFT_SHADOW;
12622             mouse_events:   0;
12623             scale: 1;
12624             description {
12625                state: "default" 0.0;
12626 //               min: 16 16;
12627                rel1 {
12628                   to_x:     "elm.swallow.icon";
12629                   relative: 1.0  0.0;
12630                   offset:   4 4;
12631                }
12632                rel2 {
12633                   to_x:     "elm.swallow.end";
12634                   relative: 0.0  1.0;
12635                   offset:   -1 -5;
12636                }
12637                color: 0 0 0 255;
12638                color3: 0 0 0 0;
12639                text {
12640                   font: "Sans";
12641                   size: 10;
12642                   min: 1 1;
12643 //                  min: 0 1;
12644                   align: -1.0 0.5;
12645                   text_class: "list_item";
12646                }
12647             }
12648             description { state: "selected" 0.0;
12649                inherit: "default" 0.0;
12650                color: 224 224 224 255;
12651                color3: 0 0 0 64;
12652             }
12653          }
12654          part { name: "fg1";
12655             mouse_events: 0;
12656             description { state: "default" 0.0;
12657                visible: 0;
12658                color: 255 255 255 0;
12659                rel1.to: "bg";
12660                rel2.relative: 1.0 0.5;
12661                rel2.to: "bg";
12662                image {
12663                   normal: "bt_sm_hilight.png";
12664                   border: 6 6 6 0;
12665                }
12666             }
12667             description { state: "selected" 0.0;
12668                inherit: "default" 0.0;
12669                visible: 1;
12670                color: 255 255 255 255;
12671             }
12672          }
12673          part { name: "fg2";
12674             mouse_events: 0;
12675             description { state: "default" 0.0;
12676                visible: 0;
12677                color: 255 255 255 0;
12678                rel1.to: "bg";
12679                rel2.to: "bg";
12680                image {
12681                   normal: "bt_sm_shine.png";
12682                   border: 6 6 6 0;
12683                }
12684             }
12685             description { state: "selected" 0.0;
12686                inherit: "default" 0.0;
12687                visible: 1;
12688                color: 255 255 255 255;
12689             }
12690          }
12691       }
12692       programs {
12693          program {
12694             name:    "go_active";
12695             signal:  "elm,state,selected";
12696             source:  "elm";
12697             action:  STATE_SET "selected" 0.0;
12698             target:  "bg";
12699             target:  "fg1";
12700             target:  "fg2";
12701             target:  "elm.text";
12702          }
12703          program {
12704             name:    "go_passive";
12705             signal:  "elm,state,unselected";
12706             source:  "elm";
12707             action:  STATE_SET "default" 0.0;
12708             target:  "bg";
12709             target:  "fg1";
12710             target:  "fg2";
12711             target:  "elm.text";
12712             transition: LINEAR 0.1;
12713          }
12714       }
12715    }
12716    group { name: "elm/list/item_odd/default";
12717       data.item: "stacking" "below";
12718       data.item: "selectraise" "on";
12719       images {
12720          image: "bt_sm_base1.png" COMP;
12721          image: "bt_sm_shine.png" COMP;
12722          image: "bt_sm_hilight.png" COMP;
12723          image: "ilist_2.png" COMP;
12724       }
12725       parts {
12726          part {
12727             name:           "event";
12728             type:           RECT;
12729             repeat_events: 1;
12730             description {
12731                state: "default" 0.0;
12732                color: 0 0 0 0;
12733             }
12734          }
12735          part {
12736             name: "base";
12737             mouse_events: 0;
12738             description {
12739                state: "default" 0.0;
12740                image {
12741                   normal: "ilist_2.png";
12742                   border: 2 2 2 2;
12743                }
12744                fill.smooth: 0;
12745             }
12746          }
12747          part { name: "bg";
12748             mouse_events: 0;
12749             description { state: "default" 0.0;
12750                visible: 0;
12751                color: 255 255 255 0;
12752                rel1 {
12753                   relative: 0.0 0.0;
12754                   offset: -5 -5;
12755                }
12756                rel2 {
12757                   relative: 1.0 1.0;
12758                   offset: 4 4;
12759                }
12760                image {
12761                   normal: "bt_sm_base1.png";
12762                   border: 6 6 6 6;
12763                }
12764                image.middle: SOLID;
12765             }
12766             description { state: "selected" 0.0;
12767                inherit: "default" 0.0;
12768                visible: 1;
12769                color: 255 255 255 255;
12770                rel1 {
12771                   relative: 0.0 0.0;
12772                   offset: -2 -2;
12773                }
12774                rel2 {
12775                   relative: 1.0 1.0;
12776                   offset: 1 1;
12777                }
12778             }
12779          }
12780          part {
12781             name:          "elm.swallow.icon";
12782             type:          SWALLOW;
12783             description { state:    "default" 0.0;
12784                fixed: 1 0;
12785                align:    0.0 0.5;
12786                rel1 {
12787                   relative: 0.0  0.0;
12788                   offset:   4    4;
12789                }
12790                rel2 {
12791                   relative: 0.0  1.0;
12792                   offset:   4   -5;
12793                }
12794             }
12795          }
12796          part {
12797             name:          "elm.swallow.end";
12798             type:          SWALLOW;
12799             description { state:    "default" 0.0;
12800                fixed: 1 0;
12801                align: 1.0 0.5;
12802                rel1 {
12803                   relative: 1.0  0.0;
12804                   offset:   -5    4;
12805                }
12806                rel2 {
12807                   relative: 1.0  1.0;
12808                   offset:   -5   -5;
12809                }
12810             }
12811          }
12812          part {
12813             name:           "elm.text";
12814             type:           TEXT;
12815             effect:         SOFT_SHADOW;
12816             mouse_events:   0;
12817             scale: 1;
12818             description {
12819                state: "default" 0.0;
12820 //               min:      16 16;
12821                rel1 {
12822                   to_x:     "elm.swallow.icon";
12823                   relative: 1.0  0.0;
12824                   offset:   4 4;
12825                }
12826                rel2 {
12827                   to_x:     "elm.swallow.end";
12828                   relative: 0.0  1.0;
12829                   offset:   -1 -5;
12830                }
12831                color: 0 0 0 255;
12832                color3: 0 0 0 0;
12833                text {
12834                   font: "Sans";
12835                   size: 10;
12836                   min: 1 1;
12837 //                  min: 0 1;
12838                   align: -1.0 0.5;
12839                   text_class: "list_item";
12840                }
12841             }
12842             description { state: "selected" 0.0;
12843                inherit: "default" 0.0;
12844                color: 224 224 224 255;
12845                color3: 0 0 0 64;
12846             }
12847          }
12848          part { name: "fg1";
12849             mouse_events: 0;
12850             description { state: "default" 0.0;
12851                visible: 0;
12852                color: 255 255 255 0;
12853                rel1.to: "bg";
12854                rel2.relative: 1.0 0.5;
12855                rel2.to: "bg";
12856                image {
12857                   normal: "bt_sm_hilight.png";
12858                   border: 6 6 6 0;
12859                }
12860             }
12861             description { state: "selected" 0.0;
12862                inherit: "default" 0.0;
12863                visible: 1;
12864                color: 255 255 255 255;
12865             }
12866          }
12867          part { name: "fg2";
12868             mouse_events: 0;
12869             description { state: "default" 0.0;
12870                visible: 0;
12871                color: 255 255 255 0;
12872                rel1.to: "bg";
12873                rel2.to: "bg";
12874                image {
12875                   normal: "bt_sm_shine.png";
12876                   border: 6 6 6 0;
12877                }
12878             }
12879             description { state: "selected" 0.0;
12880                inherit: "default" 0.0;
12881                visible: 1;
12882                color: 255 255 255 255;
12883             }
12884          }
12885       }
12886       programs {
12887          program {
12888             name:    "go_active";
12889             signal:  "elm,state,selected";
12890             source:  "elm";
12891             action:  STATE_SET "selected" 0.0;
12892             target:  "bg";
12893             target:  "fg1";
12894             target:  "fg2";
12895             target:  "elm.text";
12896          }
12897          program {
12898             name:    "go_passive";
12899             signal:  "elm,state,unselected";
12900             source:  "elm";
12901             action:  STATE_SET "default" 0.0;
12902             target:  "bg";
12903             target:  "fg1";
12904             target:  "fg2";
12905             target:  "elm.text";
12906             transition: LINEAR 0.1;
12907          }
12908       }
12909    }
12910    group { name: "elm/list/item_compress/default";
12911       data.item: "stacking" "above";
12912       data.item: "selectraise" "on";
12913       images {
12914          image: "bt_sm_base1.png" COMP;
12915          image: "bt_sm_shine.png" COMP;
12916          image: "bt_sm_hilight.png" COMP;
12917          image: "ilist_1.png" COMP;
12918          image: "ilist_item_shadow.png" COMP;
12919       }
12920       parts {
12921          part {
12922             name:           "event";
12923             type:           RECT;
12924             repeat_events: 1;
12925             description {
12926                state: "default" 0.0;
12927                color: 0 0 0 0;
12928             }
12929          }
12930          part {
12931             name: "base_sh";
12932             mouse_events: 0;
12933             description { state: "default" 0.0;
12934                fixed: 1 1;
12935                align: 0.0 0.0;
12936                min: 0 10;
12937                rel1 {
12938                   to: "base";
12939                   relative: 0.0 1.0;
12940                   offset: 0 0;
12941                }
12942                rel2 {
12943                   to: "base";
12944                   relative: 1.0 1.0;
12945                   offset: -1 0;
12946                }
12947                image {
12948                   normal: "ilist_item_shadow.png";
12949                }
12950                fill.smooth: 0;
12951             }
12952          }
12953          part {
12954             name: "base";
12955             mouse_events: 0;
12956             description {
12957                state: "default" 0.0;
12958                image {
12959                   normal: "ilist_1.png";
12960                   border: 2 2 2 2;
12961                }
12962                fill.smooth: 0;
12963             }
12964          }
12965          part { name: "bg";
12966             mouse_events: 0;
12967             description { state: "default" 0.0;
12968                visible: 0;
12969                color: 255 255 255 0;
12970                rel1 {
12971                   relative: 0.0 0.0;
12972                   offset: -5 -5;
12973                }
12974                rel2 {
12975                   relative: 1.0 1.0;
12976                   offset: 4 4;
12977                }
12978                image {
12979                   normal: "bt_sm_base1.png";
12980                   border: 6 6 6 6;
12981                }
12982                image.middle: SOLID;
12983             }
12984             description { state: "selected" 0.0;
12985                inherit: "default" 0.0;
12986                visible: 1;
12987                color: 255 255 255 255;
12988                rel1 {
12989                   relative: 0.0 0.0;
12990                   offset: -2 -2;
12991                }
12992                rel2 {
12993                   relative: 1.0 1.0;
12994                   offset: 1 1;
12995                }
12996             }
12997          }
12998          part { name:          "elm.swallow.icon";
12999             type:          SWALLOW;
13000             description { state:    "default" 0.0;
13001                fixed: 1 0;
13002                align:    0.0 0.5;
13003                rel1 {
13004                   relative: 0.0  0.0;
13005                   offset:   4    4;
13006                }
13007                rel2 {
13008                   relative: 0.0  1.0;
13009                   offset:   4   -5;
13010                }
13011             }
13012          }
13013          part { name:          "elm.swallow.end";
13014             type:          SWALLOW;
13015             description { state:    "default" 0.0;
13016                fixed: 1 0;
13017                align:    1.0 0.5;
13018                rel1 {
13019                   relative: 1.0  0.0;
13020                   offset:   -5    4;
13021                }
13022                rel2 {
13023                   relative: 1.0  1.0;
13024                   offset:   -5   -5;
13025                }
13026             }
13027          }
13028          part {
13029             name:           "elm.text";
13030             type:           TEXT;
13031             effect:         SOFT_SHADOW;
13032             mouse_events:   0;
13033             scale: 1;
13034             description { state: "default" 0.0;
13035 //               min:      16 16;
13036                rel1 {
13037                   to_x:     "elm.swallow.icon";
13038                   relative: 1.0  0.0;
13039                   offset:   4 4;
13040                }
13041                rel2 {
13042                   to_x:     "elm.swallow.end";
13043                   relative: 0.0  1.0;
13044                   offset:   -1 -5;
13045                }
13046                color: 0 0 0 255;
13047                color3: 0 0 0 0;
13048                text {
13049                   font: "Sans";
13050                   size: 10;
13051 //                  min: 1 1;
13052                   min: 0 1;
13053                   align: 0.0 0.5;
13054                   text_class: "list_item";
13055                }
13056             }
13057             description { state: "selected" 0.0;
13058                inherit: "default" 0.0;
13059                color: 224 224 224 255;
13060                color3: 0 0 0 64;
13061             }
13062          }
13063          part { name: "fg1";
13064             mouse_events: 0;
13065             description { state: "default" 0.0;
13066                visible: 0;
13067                color: 255 255 255 0;
13068                rel1.to: "bg";
13069                rel2.relative: 1.0 0.5;
13070                rel2.to: "bg";
13071                image {
13072                   normal: "bt_sm_hilight.png";
13073                   border: 6 6 6 0;
13074                }
13075             }
13076             description { state: "selected" 0.0;
13077                inherit: "default" 0.0;
13078                visible: 1;
13079                color: 255 255 255 255;
13080             }
13081          }
13082          part { name: "fg2";
13083             mouse_events: 0;
13084             description { state: "default" 0.0;
13085                visible: 0;
13086                color: 255 255 255 0;
13087                rel1.to: "bg";
13088                rel2.to: "bg";
13089                image {
13090                   normal: "bt_sm_shine.png";
13091                   border: 6 6 6 0;
13092                }
13093             }
13094             description { state: "selected" 0.0;
13095                inherit: "default" 0.0;
13096                visible: 1;
13097                color: 255 255 255 255;
13098             }
13099          }
13100       }
13101       programs {
13102          program {
13103             name:    "go_active";
13104             signal:  "elm,state,selected";
13105             source:  "elm";
13106             action:  STATE_SET "selected" 0.0;
13107             target:  "bg";
13108             target:  "fg1";
13109             target:  "fg2";
13110             target:  "elm.text";
13111          }
13112          program {
13113             name:    "go_passive";
13114             signal:  "elm,state,unselected";
13115             source:  "elm";
13116             action:  STATE_SET "default" 0.0;
13117             target:  "bg";
13118             target:  "fg1";
13119             target:  "fg2";
13120             target:  "elm.text";
13121             transition: LINEAR 0.1;
13122          }
13123       }
13124    }
13125    group { name: "elm/list/item_compress_odd/default";
13126       data.item: "stacking" "below";
13127       data.item: "selectraise" "on";
13128       images {
13129          image: "bt_sm_base1.png" COMP;
13130          image: "bt_sm_shine.png" COMP;
13131          image: "bt_sm_hilight.png" COMP;
13132          image: "ilist_2.png" COMP;
13133       }
13134       parts {
13135          part {
13136             name:           "event";
13137             type:           RECT;
13138             repeat_events: 1;
13139             description {
13140                state: "default" 0.0;
13141                color: 0 0 0 0;
13142             }
13143          }
13144          part {
13145             name: "base";
13146             mouse_events: 0;
13147             description {
13148                state: "default" 0.0;
13149                image {
13150                   normal: "ilist_2.png";
13151                   border: 2 2 2 2;
13152                }
13153                fill.smooth: 0;
13154             }
13155          }
13156          part { name: "bg";
13157             mouse_events: 0;
13158             description { state: "default" 0.0;
13159                visible: 0;
13160                color: 255 255 255 0;
13161                rel1 {
13162                   relative: 0.0 0.0;
13163                   offset: -5 -5;
13164                }
13165                rel2 {
13166                   relative: 1.0 1.0;
13167                   offset: 4 4;
13168                }
13169                image {
13170                   normal: "bt_sm_base1.png";
13171                   border: 6 6 6 6;
13172                }
13173                image.middle: SOLID;
13174             }
13175             description { state: "selected" 0.0;
13176                inherit: "default" 0.0;
13177                visible: 1;
13178                color: 255 255 255 255;
13179                rel1 {
13180                   relative: 0.0 0.0;
13181                   offset: -2 -2;
13182                }
13183                rel2 {
13184                   relative: 1.0 1.0;
13185                   offset: 1 1;
13186                }
13187             }
13188          }
13189          part { name:          "elm.swallow.icon";
13190             type:          SWALLOW;
13191             description { state:    "default" 0.0;
13192                fixed: 1 0;
13193                align:    0.0 0.5;
13194                rel1 {
13195                   relative: 0.0  0.0;
13196                   offset:   4    4;
13197                }
13198                rel2 {
13199                   relative: 0.0  1.0;
13200                   offset:   4   -5;
13201                }
13202             }
13203          }
13204          part { name:          "elm.swallow.end";
13205             type:          SWALLOW;
13206             description { state:    "default" 0.0;
13207                fixed: 1 0;
13208                align:    1.0 0.5;
13209                rel1 {
13210                   relative: 1.0  0.0;
13211                   offset:   -5    4;
13212                }
13213                rel2 {
13214                   relative: 1.0  1.0;
13215                   offset:   -5   -5;
13216                }
13217             }
13218          }
13219          part {
13220             name:           "elm.text";
13221             type:           TEXT;
13222             effect:         SOFT_SHADOW;
13223             mouse_events:   0;
13224             scale: 1;
13225             description {
13226                state: "default" 0.0;
13227 //               min:      16 16;
13228                rel1 {
13229                   to_x:     "elm.swallow.icon";
13230                   relative: 1.0  0.0;
13231                   offset:   4 4;
13232                }
13233                rel2 {
13234                   to_x:     "elm.swallow.end";
13235                   relative: 0.0  1.0;
13236                   offset:   -1 -5;
13237                }
13238                color: 0 0 0 255;
13239                color3: 0 0 0 0;
13240                text {
13241                   font: "Sans";
13242                   size: 10;
13243 //                  min: 1 1;
13244                   min: 0 1;
13245                   align: 0.0 0.5;
13246                   text_class: "list_item";
13247                }
13248             }
13249             description { state: "selected" 0.0;
13250                inherit: "default" 0.0;
13251                color: 224 224 224 255;
13252                color3: 0 0 0 64;
13253             }
13254          }
13255          part { name: "fg1";
13256             mouse_events: 0;
13257             description { state: "default" 0.0;
13258                visible: 0;
13259                color: 255 255 255 0;
13260                rel1.to: "bg";
13261                rel2.relative: 1.0 0.5;
13262                rel2.to: "bg";
13263                image {
13264                   normal: "bt_sm_hilight.png";
13265                   border: 6 6 6 0;
13266                }
13267             }
13268             description { state: "selected" 0.0;
13269                inherit: "default" 0.0;
13270                visible: 1;
13271                color: 255 255 255 255;
13272             }
13273          }
13274          part { name: "fg2";
13275             mouse_events: 0;
13276             description { state: "default" 0.0;
13277                visible: 0;
13278                color: 255 255 255 0;
13279                rel1.to: "bg";
13280                rel2.to: "bg";
13281                image {
13282                   normal: "bt_sm_shine.png";
13283                   border: 6 6 6 0;
13284                }
13285             }
13286             description { state: "selected" 0.0;
13287                inherit: "default" 0.0;
13288                visible: 1;
13289                color: 255 255 255 255;
13290             }
13291          }
13292       }
13293       programs {
13294          program {
13295             name:    "go_active";
13296             signal:  "elm,state,selected";
13297             source:  "elm";
13298             action:  STATE_SET "selected" 0.0;
13299             target:  "bg";
13300             target:  "fg1";
13301             target:  "fg2";
13302             target:  "elm.text";
13303          }
13304          program {
13305             name:    "go_passive";
13306             signal:  "elm,state,unselected";
13307             source:  "elm";
13308             action:  STATE_SET "default" 0.0;
13309             target:  "bg";
13310             target:  "fg1";
13311             target:  "fg2";
13312             target:  "elm.text";
13313             transition: LINEAR 0.1;
13314          }
13315       }
13316    }
13317
13318 ///////////////////////////////////////////////////////////////////////////////
13319    group { name: "elm/list/h_item/default";
13320       data.item: "stacking" "above";
13321       images {
13322          image: "bt_sm_base1.png" COMP;
13323          image: "bt_sm_shine.png" COMP;
13324          image: "bt_sm_hilight.png" COMP;
13325          image: "ilist_1_h.png" COMP;
13326          image: "ilist_item_shadow_h.png" COMP;
13327       }
13328       parts {
13329          part {
13330             name: "event";
13331             type: RECT;
13332             repeat_events: 1;
13333             description {
13334                state: "default" 0.0;
13335                color: 0 0 0 0;
13336             }
13337          }
13338          part {
13339             name: "base_sh";
13340             mouse_events: 0;
13341             description {
13342                state: "default" 0.0;
13343                align: 0.0 0.0;
13344                min: 10 0;
13345                fixed: 1 1;
13346                rel1 {
13347                   to: "base";
13348                   relative: 1.0 0.0;
13349                   offset: 0 0;
13350                }
13351                rel2 {
13352                   to: "base";
13353                   relative: 1.0 1.0;
13354                   offset: 0 -1;
13355                }
13356                image {
13357                   normal: "ilist_item_shadow_h.png";
13358                }
13359                fill.smooth: 0;
13360             }
13361          }
13362          part {
13363             name: "base";
13364             mouse_events: 0;
13365             description {
13366                state: "default" 0.0;
13367                image {
13368                   normal: "ilist_1_h.png";
13369                   border: 2 2 2 2;
13370                }
13371                fill.smooth: 0;
13372             }
13373          }
13374          part { name: "bg";
13375             mouse_events: 0;
13376             description { state: "default" 0.0;
13377                visible: 0;
13378                color: 255 255 255 0;
13379                rel1 {
13380                   relative: 0.0 0.0;
13381                   offset: -5 -5;
13382                }
13383                rel2 {
13384                   relative: 1.0 1.0;
13385                   offset: 4 4;
13386                }
13387                image {
13388                   normal: "bt_sm_base1.png";
13389                   border: 6 6 6 6;
13390                }
13391                image.middle: SOLID;
13392             }
13393             description { state: "selected" 0.0;
13394                inherit: "default" 0.0;
13395                visible: 1;
13396                color: 255 255 255 255;
13397                rel1 {
13398                   relative: 0.0 0.0;
13399                   offset: -2 -2;
13400                }
13401                rel2 {
13402                   relative: 1.0 1.0;
13403                   offset: 1 1;
13404                }
13405             }
13406          }
13407          part { name: "elm.swallow.icon";
13408             type: SWALLOW;
13409             description { state: "default" 0.0;
13410                fixed: 0 1;
13411                align: 0.5 0.0;
13412                rel1 {
13413                   relative: 0.0 0.0;
13414                   offset: 4 4;
13415                }
13416                rel2 {
13417                   relative: 1.0 0.0;
13418                   offset: -5 4;
13419                }
13420             }
13421          }
13422          part { name: "elm.swallow.end";
13423             type: SWALLOW;
13424             description { state: "default" 0.0;
13425                fixed: 0 1;
13426                align: 0.5 1.0;
13427                rel1 {
13428                   relative: 0.0 1.0;
13429                   offset: 4 -5;
13430                }
13431                rel2 {
13432                   relative: 1.0 1.0;
13433                   offset: -5 -5;
13434                }
13435             }
13436          }
13437          part { name: "elm.text";
13438             type: TEXT;
13439             effect: SOFT_SHADOW;
13440             mouse_events: 0;
13441             scale: 1;
13442             description {
13443                state: "default" 0.0;
13444                fixed: 0 1;
13445                rel1 {
13446                   to_x: "elm.swallow.icon";
13447                   relative: 0.0 1.0;
13448                   offset: 4 4;
13449                }
13450                rel2 {
13451                   to_x: "elm.swallow.end";
13452                   relative: 1.0 0.0;
13453                   offset: -5 -1;
13454                }
13455                color: 0 0 0 255;
13456                color3: 0 0 0 0;
13457                text {
13458                   font: "Sans";
13459                   size: 10;
13460                   min: 1 1;
13461                   align: 0.5 0.5;
13462                   text_class: "list_item";
13463                }
13464             }
13465             description { state: "selected" 0.0;
13466                inherit: "default" 0.0;
13467                color: 224 224 224 255;
13468                color3: 0 0 0 64;
13469             }
13470          }
13471          part { name: "fg1";
13472             mouse_events: 0;
13473             description { state: "default" 0.0;
13474                visible: 0;
13475                color: 255 255 255 0;
13476                rel1.to: "bg";
13477                rel2.relative: 1.0 0.5;
13478                rel2.to: "bg";
13479                image {
13480                   normal: "bt_sm_hilight.png";
13481                   border: 6 6 6 0;
13482                }
13483             }
13484             description { state: "selected" 0.0;
13485                inherit: "default" 0.0;
13486                visible: 1;
13487                color: 255 255 255 255;
13488             }
13489          }
13490          part { name: "fg2";
13491             mouse_events: 0;
13492             description { state: "default" 0.0;
13493                visible: 0;
13494                color: 255 255 255 0;
13495                rel1.to: "bg";
13496                rel2.to: "bg";
13497                image {
13498                   normal: "bt_sm_shine.png";
13499                   border: 6 6 6 0;
13500                }
13501             }
13502             description { state: "selected" 0.0;
13503                inherit: "default" 0.0;
13504                visible: 1;
13505                color: 255 255 255 255;
13506             }
13507          }
13508       }
13509       programs {
13510          program {
13511             name: "go_active";
13512             signal: "elm,state,selected";
13513             source: "elm";
13514             action: STATE_SET "selected" 0.0;
13515             target: "bg";
13516             target: "fg1";
13517             target: "fg2";
13518             target: "elm.text";
13519          }
13520          program {
13521             name: "go_passive";
13522             signal: "elm,state,unselected";
13523             source: "elm";
13524             action: STATE_SET "default" 0.0;
13525             target: "bg";
13526             target: "fg1";
13527             target: "fg2";
13528             target: "elm.text";
13529             transition: LINEAR 0.1;
13530          }
13531       }
13532    }
13533    group { name: "elm/list/h_item_odd/default";
13534       data.item: "stacking" "below";
13535       data.item: "selectraise" "on";
13536       images {
13537          image: "bt_sm_base1.png" COMP;
13538          image: "bt_sm_shine.png" COMP;
13539          image: "bt_sm_hilight.png" COMP;
13540          image: "ilist_2_h.png" COMP;
13541       }
13542       parts {
13543          part {
13544             name: "event";
13545             type: RECT;
13546             repeat_events: 1;
13547             description {
13548                state: "default" 0.0;
13549                color: 0 0 0 0;
13550             }
13551          }
13552          part {
13553             name: "base";
13554             mouse_events: 0;
13555             description {
13556                state: "default" 0.0;
13557                image {
13558                   normal: "ilist_2_h.png";
13559                   border: 2 2 2 2;
13560                }
13561                fill.smooth: 0;
13562             }
13563          }
13564          part { name: "bg";
13565             mouse_events: 0;
13566             description { state: "default" 0.0;
13567                visible: 0;
13568                color: 255 255 255 0;
13569                rel1 {
13570                   relative: 0.0 0.0;
13571                   offset: -5 -5;
13572                }
13573                rel2 {
13574                   relative: 1.0 1.0;
13575                   offset: 4 4;
13576                }
13577                image {
13578                   normal: "bt_sm_base1.png";
13579                   border: 6 6 6 6;
13580                }
13581                image.middle: SOLID;
13582             }
13583             description { state: "selected" 0.0;
13584                inherit: "default" 0.0;
13585                visible: 1;
13586                color: 255 255 255 255;
13587                rel1 {
13588                   relative: 0.0 0.0;
13589                   offset: -2 -2;
13590                }
13591                rel2 {
13592                   relative: 1.0 1.0;
13593                   offset: 1 1;
13594                }
13595             }
13596          }
13597          part {
13598             name: "elm.swallow.icon";
13599             type: SWALLOW;
13600             description { state: "default" 0.0;
13601                fixed: 0 1;
13602                align: 0.5 0.0;
13603                rel1 {
13604                   relative: 0.0 0.0;
13605                   offset: 4 4;
13606                }
13607                rel2 {
13608                   relative: 1.0 0.0;
13609                   offset: -5 4;
13610                }
13611             }
13612          }
13613          part {
13614             name: "elm.swallow.end";
13615             type: SWALLOW;
13616             description { state: "default" 0.0;
13617                fixed: 0 1;
13618                align: 0.5 1.0;
13619                rel1 {
13620                   relative: 0.0 1.0;
13621                   offset: 4 -5;
13622                }
13623                rel2 {
13624                   relative: 1.0 1.0;
13625                   offset: -5 -5;
13626                }
13627             }
13628          }
13629          part { name: "elm.text";
13630             type: TEXT;
13631             effect: SOFT_SHADOW;
13632             mouse_events: 0;
13633             scale: 1;
13634             description {
13635                state: "default" 0.0;
13636                fixed: 1 1;
13637                rel1 {
13638                   to_x: "elm.swallow.icon";
13639                   relative: 0.0 1.0;
13640                   offset: 4 4;
13641                }
13642                rel2 {
13643                   to_x: "elm.swallow.end";
13644                   relative: 1.0 0.0;
13645                   offset: -5 -1;
13646                }
13647                color: 0 0 0 255;
13648                color3: 0 0 0 0;
13649                text {
13650                   font: "Sans";
13651                   size: 10;
13652                   min: 1 1;
13653                   align: 0.5 0.5;
13654                   text_class: "list_item";
13655                }
13656             }
13657             description { state: "selected" 0.0;
13658                inherit: "default" 0.0;
13659                color: 224 224 224 255;
13660                color3: 0 0 0 64;
13661             }
13662          }
13663          part { name: "fg1";
13664             mouse_events: 0;
13665             description { state: "default" 0.0;
13666                visible: 0;
13667                color: 255 255 255 0;
13668                rel1.to: "bg";
13669                rel2.relative: 1.0 0.5;
13670                rel2.to: "bg";
13671                image {
13672                   normal: "bt_sm_hilight.png";
13673                   border: 6 6 6 0;
13674                }
13675             }
13676             description { state: "selected" 0.0;
13677                inherit: "default" 0.0;
13678                visible: 1;
13679                color: 255 255 255 255;
13680             }
13681          }
13682          part { name: "fg2";
13683             mouse_events: 0;
13684             description { state: "default" 0.0;
13685                visible: 0;
13686                color: 255 255 255 0;
13687                rel1.to: "bg";
13688                rel2.to: "bg";
13689                image {
13690                   normal: "bt_sm_shine.png";
13691                   border: 6 6 6 0;
13692                }
13693             }
13694             description { state: "selected" 0.0;
13695                inherit: "default" 0.0;
13696                visible: 1;
13697                color: 255 255 255 255;
13698             }
13699          }
13700       }
13701       programs {
13702          program {
13703             name: "go_active";
13704             signal: "elm,state,selected";
13705             source: "elm";
13706             action: STATE_SET "selected" 0.0;
13707             target: "bg";
13708             target: "fg1";
13709             target: "fg2";
13710             target: "elm.text";
13711          }
13712          program {
13713             name: "go_passive";
13714             signal: "elm,state,unselected";
13715             source: "elm";
13716             action: STATE_SET "default" 0.0;
13717             target: "bg";
13718             target: "fg1";
13719             target: "fg2";
13720             target: "elm.text";
13721             transition: LINEAR 0.1;
13722          }
13723       }
13724    }
13725    group { name: "elm/list/h_item_compress/default";
13726       data.item: "stacking" "above";
13727       data.item: "selectraise" "on";
13728       images {
13729          image: "bt_sm_base1.png" COMP;
13730          image: "bt_sm_shine.png" COMP;
13731          image: "bt_sm_hilight.png" COMP;
13732          image: "ilist_1_h.png" COMP;
13733          image: "ilist_item_shadow_h.png" COMP;
13734       }
13735       parts {
13736          part {
13737             name: "event";
13738             type: RECT;
13739             repeat_events: 1;
13740             description {
13741                state: "default" 0.0;
13742                color: 0 0 0 0;
13743             }
13744          }
13745          part {
13746             name: "base_sh";
13747             mouse_events: 0;
13748             description { state: "default" 0.0;
13749                fixed: 1 1;
13750                align: 0.0 0.0;
13751                min: 10 0;
13752                rel1 {
13753                   to: "base";
13754                   relative: 1.0 0.0;
13755                   offset: 0 0;
13756                }
13757                rel2 {
13758                   to: "base";
13759                   relative: 1.0 1.0;
13760                   offset: 0 -1;
13761                }
13762                image {
13763                   normal: "ilist_item_shadow_h.png";
13764                }
13765                fill.smooth: 0;
13766             }
13767          }
13768          part {
13769             name: "base";
13770             mouse_events: 0;
13771             description {
13772                state: "default" 0.0;
13773                image {
13774                   normal: "ilist_1_h.png";
13775                   border: 2 2 2 2;
13776                }
13777                fill.smooth: 0;
13778             }
13779          }
13780          part { name: "bg";
13781             mouse_events: 0;
13782             description { state: "default" 0.0;
13783                visible: 0;
13784                color: 255 255 255 0;
13785                rel1 {
13786                   relative: 0.0 0.0;
13787                   offset: -5 -5;
13788                }
13789                rel2 {
13790                   relative: 1.0 1.0;
13791                   offset: 4 4;
13792                }
13793                image {
13794                   normal: "bt_sm_base1.png";
13795                   border: 6 6 6 6;
13796                }
13797                image.middle: SOLID;
13798             }
13799             description { state: "selected" 0.0;
13800                inherit: "default" 0.0;
13801                visible: 1;
13802                color: 255 255 255 255;
13803                rel1 {
13804                   relative: 0.0 0.0;
13805                   offset: -2 -2;
13806                }
13807                rel2 {
13808                   relative: 1.0 1.0;
13809                   offset: 1 1;
13810                }
13811             }
13812          }
13813          part { name: "elm.swallow.icon";
13814             type: SWALLOW;
13815             description { state: "default" 0.0;
13816                fixed: 0 1;
13817                align: 0.5 0.0;
13818                rel1 {
13819                   relative: 0.0 0.0;
13820                   offset: 4 4;
13821                }
13822                rel2 {
13823                   relative: 1.0 0.0;
13824                   offset: -5 4;
13825                }
13826             }
13827          }
13828          part { name: "elm.swallow.end";
13829             type: SWALLOW;
13830             description { state: "default" 0.0;
13831                fixed: 0 1;
13832                align: 0.5 1.0;
13833                rel1 {
13834                   relative: 0.0 1.0;
13835                   offset: 4 -5;
13836                }
13837                rel2 {
13838                   relative: 1.0 1.0;
13839                   offset: -5 -5;
13840                }
13841             }
13842          }
13843          part {
13844             name: "elm.text";
13845             type: TEXT;
13846             effect: SOFT_SHADOW;
13847             mouse_events: 0;
13848             scale: 1;
13849             description { state: "default" 0.0;
13850                fixed: 1 1;
13851                rel1 {
13852                   to_x: "elm.swallow.icon";
13853                   relative: 0.0 1.0;
13854                   offset: 4 4;
13855                }
13856                rel2 {
13857                   to_x: "elm.swallow.end";
13858                   relative: 1.0 0.0;
13859                   offset: -5 -1;
13860                }
13861                color: 0 0 0 255;
13862                color3: 0 0 0 0;
13863                text {
13864                   font: "Sans";
13865                   size: 10;
13866                   min: 1 1;
13867                   align: 0.5 0.5;
13868                   text_class: "list_item";
13869                }
13870             }
13871             description { state: "selected" 0.0;
13872                inherit: "default" 0.0;
13873                color: 224 224 224 255;
13874                color3: 0 0 0 64;
13875             }
13876          }
13877          part { name: "fg1";
13878             mouse_events: 0;
13879             description { state: "default" 0.0;
13880                visible: 0;
13881                color: 255 255 255 0;
13882                rel1.to: "bg";
13883                rel2.relative: 1.0 0.5;
13884                rel2.to: "bg";
13885                image {
13886                   normal: "bt_sm_hilight.png";
13887                   border: 6 6 6 0;
13888                }
13889             }
13890             description { state: "selected" 0.0;
13891                inherit: "default" 0.0;
13892                visible: 1;
13893                color: 255 255 255 255;
13894             }
13895          }
13896          part { name: "fg2";
13897             mouse_events: 0;
13898             description { state: "default" 0.0;
13899                visible: 0;
13900                color: 255 255 255 0;
13901                rel1.to: "bg";
13902                rel2.to: "bg";
13903                image {
13904                   normal: "bt_sm_shine.png";
13905                   border: 6 6 6 0;
13906                }
13907             }
13908             description { state: "selected" 0.0;
13909                inherit: "default" 0.0;
13910                visible: 1;
13911                color: 255 255 255 255;
13912             }
13913          }
13914       }
13915       programs {
13916          program {
13917             name: "go_active";
13918             signal: "elm,state,selected";
13919             source: "elm";
13920             action: STATE_SET "selected" 0.0;
13921             target: "bg";
13922             target: "fg1";
13923             target: "fg2";
13924             target: "elm.text";
13925          }
13926          program {
13927             name: "go_passive";
13928             signal: "elm,state,unselected";
13929             source: "elm";
13930             action: STATE_SET "default" 0.0;
13931             target: "bg";
13932             target: "fg1";
13933             target: "fg2";
13934             target: "elm.text";
13935             transition: LINEAR 0.1;
13936          }
13937       }
13938    }
13939    group { name: "elm/list/h_item_compress_odd/default";
13940       data.item: "stacking" "below";
13941       data.item: "selectraise" "on";
13942       images {
13943          image: "bt_sm_base1.png" COMP;
13944          image: "bt_sm_shine.png" COMP;
13945          image: "bt_sm_hilight.png" COMP;
13946          image: "ilist_2_h.png" COMP;
13947       }
13948       parts {
13949          part {
13950             name: "event";
13951             type: RECT;
13952             repeat_events: 1;
13953             description {
13954                state: "default" 0.0;
13955                color: 0 0 0 0;
13956             }
13957          }
13958          part {
13959             name: "base";
13960             mouse_events: 0;
13961             description {
13962                state: "default" 0.0;
13963                image {
13964                   normal: "ilist_2_h.png";
13965                   border: 2 2 2 2;
13966                }
13967                fill.smooth: 0;
13968             }
13969          }
13970          part { name: "bg";
13971             mouse_events: 0;
13972             description { state: "default" 0.0;
13973                visible: 0;
13974                color: 255 255 255 0;
13975                rel1 {
13976                   relative: 0.0 0.0;
13977                   offset: -5 -5;
13978                }
13979                rel2 {
13980                   relative: 1.0 1.0;
13981                   offset: 4 4;
13982                }
13983                image {
13984                   normal: "bt_sm_base1.png";
13985                   border: 6 6 6 6;
13986                }
13987                image.middle: SOLID;
13988             }
13989             description { state: "selected" 0.0;
13990                inherit: "default" 0.0;
13991                visible: 1;
13992                color: 255 255 255 255;
13993                rel1 {
13994                   relative: 0.0 0.0;
13995                   offset: -2 -2;
13996                }
13997                rel2 {
13998                   relative: 1.0 1.0;
13999                   offset: 1 1;
14000                }
14001             }
14002          }
14003          part { name: "elm.swallow.icon";
14004             type: SWALLOW;
14005             description { state: "default" 0.0;
14006                fixed: 0 1;
14007                align: 0.5 0.0;
14008                rel1 {
14009                   relative: 0.0 0.0;
14010                   offset: 4 4;
14011                }
14012                rel2 {
14013                   relative: 1.0 0.0;
14014                   offset: -5 4;
14015                }
14016             }
14017          }
14018          part { name: "elm.swallow.end";
14019             type: SWALLOW;
14020             description { state: "default" 0.0;
14021                fixed: 0 1;
14022                align: 0.5 1.0;
14023                rel1 {
14024                   relative: 0.0 1.0;
14025                   offset: 4 -5;
14026                }
14027                rel2 {
14028                   relative: 1.0 1.0;
14029                   offset: -5 -5;
14030                }
14031             }
14032          }
14033          part { name: "elm.text";
14034             type: TEXT;
14035             effect: SOFT_SHADOW;
14036             mouse_events: 0;
14037             scale: 1;
14038             description {
14039                state: "default" 0.0;
14040                fixed: 1 1;
14041                rel1 {
14042                   to_x: "elm.swallow.icon";
14043                   relative: 0.0 1.0;
14044                   offset: 4 4;
14045                }
14046                rel2 {
14047                   to_x: "elm.swallow.end";
14048                   relative: 1.0 0.0;
14049                   offset: -5 -1;
14050                }
14051                color: 0 0 0 255;
14052                color3: 0 0 0 0;
14053                text {
14054                   font: "Sans";
14055                   size: 10;
14056                   min: 1 1;
14057                   align: 0.5 0.5;
14058                   text_class: "list_item";
14059                }
14060             }
14061             description { state: "selected" 0.0;
14062                inherit: "default" 0.0;
14063                color: 224 224 224 255;
14064                color3: 0 0 0 64;
14065             }
14066          }
14067          part { name: "fg1";
14068             mouse_events: 0;
14069             description { state: "default" 0.0;
14070                visible: 0;
14071                color: 255 255 255 0;
14072                rel1.to: "bg";
14073                rel2.relative: 1.0 0.5;
14074                rel2.to: "bg";
14075                image {
14076                   normal: "bt_sm_hilight.png";
14077                   border: 6 6 6 0;
14078                }
14079             }
14080             description { state: "selected" 0.0;
14081                inherit: "default" 0.0;
14082                visible: 1;
14083                color: 255 255 255 255;
14084             }
14085          }
14086          part { name: "fg2";
14087             mouse_events: 0;
14088             description { state: "default" 0.0;
14089                visible: 0;
14090                color: 255 255 255 0;
14091                rel1.to: "bg";
14092                rel2.to: "bg";
14093                image {
14094                   normal: "bt_sm_shine.png";
14095                   border: 6 6 6 0;
14096                }
14097             }
14098             description { state: "selected" 0.0;
14099                inherit: "default" 0.0;
14100                visible: 1;
14101                color: 255 255 255 255;
14102             }
14103          }
14104       }
14105       programs {
14106          program {
14107             name: "go_active";
14108             signal: "elm,state,selected";
14109             source: "elm";
14110             action: STATE_SET "selected" 0.0;
14111             target: "bg";
14112             target: "fg1";
14113             target: "fg2";
14114             target: "elm.text";
14115          }
14116          program {
14117             name: "go_passive";
14118             signal: "elm,state,unselected";
14119             source: "elm";
14120             action: STATE_SET "default" 0.0;
14121             target: "bg";
14122             target: "fg1";
14123             target: "fg2";
14124             target: "elm.text";
14125             transition: LINEAR 0.1;
14126          }
14127       }
14128    }
14129
14130 ///////////////////////////////////////////////////////////////////////////////
14131    group { name: "elm/slider/horizontal/default";
14132            alias: "elm/slider/horizontal/disabled";
14133       images {
14134          image: "sl_bg.png" COMP;
14135          image: "sl_bg_over.png" COMP;
14136
14137          image: "sl_units.png" COMP;
14138       }
14139       parts {
14140          part { name: "base";
14141             mouse_events: 0;
14142             description { state: "default" 0.0;
14143                max: 99999 6;
14144                min: 0 6;
14145                rel1 { to: "bg";
14146                   offset: 1 0;
14147                }
14148                rel2 { to: "bg";
14149                   offset: -2 -1;
14150                }
14151                image.normal: "sl_bg.png";
14152                fill.smooth: 0;
14153             }
14154          }
14155          part { name: "level";
14156             type: RECT;
14157             mouse_events: 0;
14158             description { state: "default" 0.0;
14159                fixed: 1 1;
14160                rel1.to: "base";
14161                rel2 {
14162                   to_y: "base";
14163                   to_x: "elm.dragable.slider";
14164                   relative: 0.5 1.0;
14165                }
14166                color: 255 0 0 200;
14167             }
14168             description { state: "inverted" 0.0;
14169                inherit: "default" 0.0;
14170                visible: 0;
14171             }
14172             description { state: "disabled" 0.0;
14173                inherit: "default" 0.0;
14174                color: 255 0 0 100;
14175             }
14176             description { state: "disabled_inverted" 0.0;
14177                inherit: "default" 0.0;
14178                visible: 0;
14179             }
14180          }
14181          part { name: "level2";
14182             type: RECT;
14183             mouse_events: 0;
14184             description { state: "default" 0.0;
14185                fixed: 1 1;
14186                visible: 0;
14187                rel1 {
14188                   to_y: "base";
14189                   to_x: "elm.dragable.slider";
14190                   relative: 0.5 0.0;
14191                }
14192                rel2.to: "base";
14193                color: 255 0 0 200;
14194             }
14195             description { state: "inverted" 0.0;
14196                inherit: "default" 0.0;
14197                visible: 1;
14198             }
14199             description { state: "disabled" 0.0;
14200                inherit: "default" 0.0;
14201             }
14202             description { state: "disabled_inverted" 0.0;
14203                inherit: "default" 0.0;
14204                color: 255 0 0 100;
14205                visible: 1;
14206             }
14207          }
14208          part {
14209             name: "base_over";
14210             mouse_events: 0;
14211             description { state: "default" 0.0;
14212                rel1.to: "base";
14213                rel1.offset: -1 -1;
14214                rel2.to: "base";
14215                rel2.offset: 0 0;
14216                image {
14217                   normal: "sl_bg_over.png";
14218                   border: 3 3 3 3;
14219                }
14220                fill.smooth: 0;
14221             }
14222          }
14223          part { name: "bg";
14224             type: RECT;
14225             mouse_events: 0;
14226             scale: 1;
14227             description { state: "default" 0.0;
14228                visible: 0;
14229                rel1.to: "elm.swallow.bar";
14230                rel2.to: "elm.swallow.bar";
14231                color: 0 0 0 0;
14232             }
14233          }
14234          part { name: "elm.swallow.bar";
14235             type: SWALLOW;
14236             scale: 1;
14237             description { state: "default" 0.0;
14238                min: 48 24;
14239                max: 99999 24;
14240                align: 1.0 0.5;
14241                rel1 {
14242                   to_x: "elm.text";
14243                   relative: 1.0 0.0;
14244                   offset: 8 0;
14245                }
14246                rel2 {
14247                   to_x: "elm.units";
14248                   relative: 0.0 1.0;
14249                   offset: -10 -1;
14250                }
14251             }
14252          }
14253          part { name: "elm.swallow.icon";
14254             type: SWALLOW;
14255             description { state: "default" 0.0;
14256                visible: 0;
14257                align: 0.0 0.5;
14258                rel1 {
14259                   offset: 4 0;
14260                   to_y: "elm.swallow.bar";
14261                }
14262                rel2 {
14263                   offset: 3 -1;
14264                   relative: 0.0 1.0;
14265                   to_y: "elm.swallow.bar";
14266                }
14267             }
14268             description { state: "visible" 0.0;
14269                inherit: "default" 0.0;
14270                visible: 1;
14271                aspect: 1.0 1.0;
14272                aspect_preference: VERTICAL;
14273                rel2.offset: 4 -1;
14274             }
14275          }
14276          part { name: "elm.text";
14277             type: TEXT;
14278             mouse_events: 0;
14279             scale: 1;
14280             description { state: "default" 0.0;
14281                visible: 0;
14282                fixed: 1 1;
14283                align: 0.0 0.5;
14284                rel1.to_x: "elm.swallow.icon";
14285                rel1.relative: 1.0 0.0;
14286                rel1.offset: -1 4;
14287                rel2.to_x: "elm.swallow.icon";
14288                rel2.relative: 1.0 1.0;
14289                rel2.offset: -1 -5;
14290                color: 0 0 0 255;
14291                text {
14292                   font: "Sans,Edje-Vera";
14293                   size: 10;
14294                   min: 0 0;
14295                   align: 0.0 0.5;
14296                }
14297             }
14298             description { state: "visible" 0.0;
14299                inherit: "default" 0.0;
14300                visible: 1;
14301                text.min: 1 1;
14302                rel1.offset: 0 4;
14303                rel2.offset: 0 -5;
14304             }
14305             description { state: "disabled" 0.0;
14306                inherit: "default" 0.0;
14307                color: 255 128 128 128;
14308                visible: 0;
14309             }
14310             description { state: "disabled_visible" 0.0;
14311                inherit: "default" 0.0;
14312                color: 0 0 0 128;
14313                color3: 0 0 0 0;
14314                visible: 1;
14315                text.min: 1 1;
14316             }
14317          }
14318          part {
14319             name: "elm.swallow.end";
14320             type: SWALLOW;
14321             description {
14322                state: "default" 0.0;
14323                visible: 0;
14324                align: 1.0 0.5;
14325                rel1 {
14326                   offset: -4 0;
14327                   relative: 1.0 0.0;
14328                   to_y: "elm.swallow.bar";
14329                }
14330                rel2 {
14331                   offset: -3 -1;
14332                   to_y: "elm.swallow.bar";
14333                }
14334             }
14335             description { state: "visible" 0.0;
14336                inherit: "default" 0.0;
14337                visible: 1;
14338                aspect: 1.0 1.0;
14339                aspect_preference: VERTICAL;
14340                rel2.offset: -4 -1;
14341             }
14342          }
14343          part { name: "units";
14344             mouse_events: 0;
14345             description { state: "default" 0.0;
14346                visible: 0;
14347                rel1 {
14348                   to_x: "elm.units";
14349                   offset: 0 5;
14350                }
14351                rel2 {
14352                   to_x: "elm.units";
14353                   offset: 5 -3;
14354                }
14355                image {
14356                   normal: "sl_units.png";
14357                   border: 0 5 3 8;
14358                }
14359                fill.smooth: 0;
14360             }
14361             description { state: "visible" 0.0;
14362                inherit: "default" 0.0;
14363                visible: 1;
14364             }
14365          }
14366          part { name: "elm.units";
14367             type: TEXT;
14368             mouse_events: 0;
14369             scale: 1;
14370             description { state: "default" 0.0;
14371                visible: 0;
14372                fixed: 1 1;
14373                align: 1.0 0.5;
14374                rel1.to_x: "elm.swallow.end";
14375                rel1.relative: 0.0 0.0;
14376                rel1.offset: 0 8;
14377                rel2.to_x: "elm.swallow.end";
14378                rel2.relative: 0.0 1.0;
14379                rel2.offset: 0 -9;
14380                color: 0 0 0 255;
14381                text {
14382                   font: "Sans,Edje-Vera";
14383                   size: 10;
14384                   min: 0 0;
14385                   align: 0.0 0.5;
14386                }
14387             }
14388             description { state: "visible" 0.0;
14389                inherit: "default" 0.0;
14390                fixed: 1 1;
14391                visible: 1;
14392                text.min: 1 1;
14393                rel1.offset: -5 0;
14394                rel2.offset: -5 -1;
14395             }
14396             description { state: "disabled" 0.0;
14397                inherit: "default" 0.0;
14398                color: 255 128 128 128;
14399                visible: 0;
14400             }
14401             description { state: "disabled_visible" 0.0;
14402                inherit: "default" 0.0;
14403                color: 0 0 0 128;
14404                color3: 0 0 0 0;
14405                visible: 1;
14406                text.min: 1 1;
14407             }
14408          }
14409          part { name: "elm.dragable.slider";
14410             type: GROUP;
14411             source: "elm/slider/horizontal/indicator/default";
14412             mouse_events: 1;
14413             repeat_events: 1;
14414             scale: 1;
14415             dragable {
14416                x: 1 1 0;
14417                y: 0 0 0;
14418                confine: "bg";
14419             }
14420             description { state: "default" 0.0;
14421                min: 0 24;
14422                max: 0 24;
14423                fixed: 1 1;
14424                rel1 {
14425                   relative: 0.5 0.0;
14426                   to_x: "bg";
14427                }
14428                rel2 {
14429                   relative: 0.5 1.0;
14430                   to_x: "bg";
14431                }
14432                color: 255 0 0 100;
14433             }
14434          }
14435           part { name: "disabler";
14436             type: RECT;
14437             description { state: "default" 0.0;
14438                color: 0 0 0 0;
14439                visible: 0;
14440             }
14441             description { state: "disabled" 0.0;
14442                inherit: "default" 0.0;
14443                visible: 1;
14444             }
14445          }
14446       }
14447       programs {
14448          program { name: "text_show";
14449             signal: "elm,state,text,visible";
14450             source: "elm";
14451             action:  STATE_SET "visible" 0.0;
14452             target: "elm.text";
14453          }
14454          program { name: "text_hide";
14455             signal: "elm,state,text,hidden";
14456             source: "elm";
14457             action:  STATE_SET "default" 0.0;
14458             target: "elm.text";
14459          }
14460          program { name: "icon_show";
14461             signal: "elm,state,icon,visible";
14462             source: "elm";
14463             action:  STATE_SET "visible" 0.0;
14464             target: "elm.swallow.icon";
14465          }
14466          program { name: "icon_hide";
14467             signal: "elm,state,icon,hidden";
14468             source: "elm";
14469             action:  STATE_SET "default" 0.0;
14470             target: "elm.swallow.icon";
14471          }
14472           program { name: "end_show";
14473             signal: "elm,state,end,visible";
14474             source: "elm";
14475             action:  STATE_SET "visible" 0.0;
14476             target: "elm.swallow.end";
14477          }
14478          program { name: "end_hide";
14479             signal: "elm,state,end,hidden";
14480             source: "elm";
14481             action:  STATE_SET "default" 0.0;
14482             target: "elm.swallow.end";
14483          }
14484          program { name: "units_show";
14485             signal: "elm,state,units,visible";
14486             source: "elm";
14487             action:  STATE_SET "visible" 0.0;
14488             target: "elm.units";
14489             target: "units";
14490          }
14491          program { name: "units_hide";
14492             signal: "elm,state,units,hidden";
14493             source: "elm";
14494             action:  STATE_SET "default" 0.0;
14495             target: "elm.units";
14496             target: "units";
14497          }
14498          program { name: "invert_on";
14499             signal: "elm,state,inverted,on";
14500             source: "elm";
14501             action:  STATE_SET "inverted" 0.0;
14502             target: "level";
14503             target: "level2";
14504          }
14505          program { name: "invert_off";
14506             signal: "elm,state,inverted,off";
14507             source: "elm";
14508             action:  STATE_SET "default" 0.0;
14509             target: "level";
14510             target: "level2";
14511          }
14512          program {
14513             name:    "go_disabled";
14514             signal:  "elm,state,disabled";
14515             source:  "elm";
14516             action:  STATE_SET "disabled" 0.0;
14517 //            target: "button0";
14518             target: "disabler";
14519             after: "disable_text";
14520             after: "disable_ind";
14521          }
14522
14523          program { name: "disable_ind";
14524             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14525          }
14526          program { name: "disable_text";
14527             script {
14528                new st[31];
14529                new Float:vl;
14530                get_state(PART:"elm.text", st, 30, vl);
14531                if (!strcmp(st, "visible"))
14532                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14533                else
14534                   set_state(PART:"elm.text", "disabled", 0.0);
14535
14536                get_state(PART:"elm.units", st, 30, vl);
14537                if (!strcmp(st, "visible"))
14538                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14539                else
14540                   set_state(PART:"elm.units", "disabled", 0.0);
14541
14542                get_state(PART:"level2", st, 30, vl);
14543                if (!strcmp(st, "inverted"))
14544                {
14545                   set_state(PART:"level", "disabled_inverted", 0.0);
14546                   set_state(PART:"level2", "disabled_inverted", 0.0);
14547                }
14548                else
14549                {
14550                   set_state(PART:"level", "disabled", 0.0);
14551                   set_state(PART:"level2", "disabled", 0.0);
14552                }
14553             }
14554          }
14555          program { name: "enable";
14556             signal: "elm,state,enabled";
14557             source: "elm";
14558             action: STATE_SET "default" 0.0;
14559 //            target: "button0";
14560             target: "disabler";
14561             after: "enable_text";
14562             after: "enable_ind";
14563          }
14564
14565          program { name: "enable_ind";
14566             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14567          }
14568
14569          program { name: "enable_text";
14570             script {
14571                new st[31];
14572                new Float:vl;
14573                get_state(PART:"elm.text", st, 30, vl);
14574                if (!strcmp(st, "disabled_visible"))
14575                   set_state(PART:"elm.text", "visible", 0.0);
14576                else
14577                   set_state(PART:"elm.text", "default", 0.0);
14578
14579                get_state(PART:"elm.units", st, 30, vl);
14580                if (!strcmp(st, "disabled_visible"))
14581                   set_state(PART:"elm.units", "visible", 0.0);
14582                else
14583                   set_state(PART:"elm.units", "default", 0.0);
14584
14585                get_state(PART:"level2", st, 30, vl);
14586                if (!strcmp(st, "disabled_inverted"))
14587                {
14588                   set_state(PART:"level", "inverted", 0.0);
14589                   set_state(PART:"level2", "inverted", 0.0);
14590                }
14591                else
14592                {
14593                   set_state(PART:"level", "default", 0.0);
14594                   set_state(PART:"level2", "default", 0.0);
14595                }
14596             }
14597          }
14598       }
14599    }
14600
14601    group { name: "elm/slider/vertical/default";
14602       images {
14603          image: "slv_bg.png" COMP;
14604          image: "slv_bg_over.png" COMP;
14605
14606          image: "slv_units.png" COMP;
14607       }
14608       parts {
14609          part { name: "base";
14610             mouse_events: 0;
14611             description { state: "default" 0.0;
14612                max: 6 99999;
14613                min: 6 0;
14614                rel1 { to: "bg";
14615                   offset: 1 0;
14616                }
14617                rel2 { to: "bg";
14618                   offset: -2 -1;
14619                }
14620                image.normal: "slv_bg.png";
14621                fill.smooth: 0;
14622             }
14623          }
14624          part { name: "level";
14625             type: RECT;
14626             mouse_events: 0;
14627             description { state: "default" 0.0;
14628                fixed: 1 1;
14629                rel1.to: "base";
14630                rel2 {
14631                   to_x: "base";
14632                   to_y: "elm.dragable.slider";
14633                   relative: 1.0 0.5;
14634                }
14635                color: 255 0 0 200;
14636             }
14637             description { state: "inverted" 0.0;
14638                inherit: "default" 0.0;
14639                visible: 0;
14640             }
14641             description { state: "disabled" 0.0;
14642                inherit: "default" 0.0;
14643                color: 255 0 0 100;
14644             }
14645             description { state: "disabled_inverted" 0.0;
14646                inherit: "default" 0.0;
14647                visible: 0;
14648             }
14649          }
14650          part { name: "level2";
14651             type: RECT;
14652             mouse_events: 0;
14653             description { state: "default" 0.0;
14654                fixed: 1 1;
14655                visible: 0;
14656                rel1 {
14657                   to_x: "base";
14658                   to_y: "elm.dragable.slider";
14659                   relative: 0.0 0.5;
14660                }
14661                rel2.to: "base";
14662                color: 255 0 0 200;
14663             }
14664             description { state: "inverted" 0.0;
14665                inherit: "default" 0.0;
14666                visible: 1;
14667             }
14668             description { state: "disabled" 0.0;
14669                inherit: "default" 0.0;
14670                color: 255 0 0 100;
14671             }
14672             description { state: "disabled_inverted" 0.0;
14673                inherit: "default" 0.0;
14674                color: 255 0 0 100;
14675                visible: 1;
14676             }
14677          }
14678          part {
14679             name: "base_over";
14680             mouse_events: 0;
14681             description { state: "default" 0.0;
14682                rel1.to: "base";
14683                rel1.offset: -1 -1;
14684                rel2.to: "base";
14685                rel2.offset: 0 0;
14686                image {
14687                   normal: "slv_bg_over.png";
14688                   border: 3 3 3 3;
14689                }
14690                fill.smooth: 0;
14691             }
14692          }
14693          part { name: "bg";
14694             type: RECT;
14695             mouse_events: 0;
14696             scale: 1;
14697             description { state: "default" 0.0;
14698                visible: 0;
14699                rel1.to: "elm.swallow.bar";
14700                rel2.to: "elm.swallow.bar";
14701                color: 0 0 0 0;
14702             }
14703          }
14704          part { name: "elm.swallow.bar";
14705             type: SWALLOW;
14706             scale: 1;
14707             description { state: "default" 0.0;
14708                min: 24 48;
14709                max: 24 9999;
14710                align: 0.5 1.0;
14711                rel1 {
14712                   to_y: "elm.text";
14713                   relative: 0.0 1.0;
14714                   offset: 0 10;
14715                }
14716                rel2 {
14717                   to_y: "elm.units";
14718                   relative: 1.0 0.0;
14719                   offset: -1 -8;
14720                }
14721             }
14722          }
14723          part { name: "elm.swallow.icon";
14724             type: SWALLOW;
14725             description { state: "default" 0.0;
14726                visible: 0;
14727                align: 0.5 0.0;
14728                rel1 {
14729                   offset: 0 4;
14730                   to_x: "elm.swallow.bar";
14731                }
14732                rel2 {
14733                   offset: -1 3;
14734                   relative: 1.0 0.0;
14735                   to_x: "elm.swallow.bar";
14736                }
14737             }
14738             description { state: "visible" 0.0;
14739                inherit: "default" 0.0;
14740                visible: 1;
14741                aspect: 1.0 1.0;
14742                aspect_preference: HORIZONTAL;
14743                rel2.offset: -1 4;
14744             }
14745          }
14746          part { name: "elm.text";
14747             type: TEXT;
14748             mouse_events: 0;
14749             scale: 1;
14750             description { state: "default" 0.0;
14751                visible: 0;
14752                fixed: 0 1;
14753                align: 0.5 0.0;
14754                rel1.to_y: "elm.swallow.icon";
14755                rel1.relative: 0.0 1.0;
14756                rel1.offset: 0 -1;
14757                rel2.to_y: "elm.swallow.icon";
14758                rel2.relative: 1.0 1.0;
14759                rel2.offset: -1 -1;
14760                color: 0 0 0 255;
14761                text {
14762                   font: "Sans,Edje-Vera";
14763                   size: 10;
14764                   min: 0 0;
14765                   align: 0.5 0.0;
14766                }
14767             }
14768             description { state: "visible" 0.0;
14769                inherit: "default" 0.0;
14770                visible: 1;
14771                text.min: 1 1;
14772                rel1.offset: 4 0;
14773                rel2.offset: -5 0;
14774             }
14775             description { state: "disabled" 0.0;
14776                inherit: "default" 0.0;
14777                color: 255 128 128 128;
14778                visible: 0;
14779             }
14780             description { state: "disabled_visible" 0.0;
14781                inherit: "default" 0.0;
14782                color: 0 0 0 128;
14783                color3: 0 0 0 0;
14784                visible: 1;
14785                text.min: 1 1;
14786             }
14787          }
14788          part {
14789             name: "elm.swallow.end";
14790             type: SWALLOW;
14791             description {
14792                state: "default" 0.0;
14793                visible: 0;
14794                align: 0.5 1.0;
14795                rel1 {
14796                   offset: 0 -4;
14797                   relative: 0.0 1.0;
14798                   to_x: "elm.swallow.bar";
14799                }
14800                rel2 {
14801                   offset: -1 -3;
14802                   to_x: "elm.swallow.bar";
14803                }
14804             }
14805             description { state: "visible" 0.0;
14806                inherit: "default" 0.0;
14807                visible: 1;
14808                aspect: 1.0 1.0;
14809                aspect_preference: HORIZONTAL;
14810                rel2.offset: -1 -4;
14811             }
14812          }
14813          part { name: "units";
14814             mouse_events: 0;
14815             description { state: "default" 0.0;
14816                visible: 0;
14817                rel1 {
14818                   to: "elm.units";
14819                   offset: -8 0;
14820                }
14821                rel2 {
14822                   to: "elm.units";
14823                   offset: 7 8;
14824                }
14825                image {
14826                   normal: "slv_units.png";
14827                   border: 8 8 0 9;
14828                }
14829                fill.smooth: 0;
14830             }
14831             description { state: "visible" 0.0;
14832                inherit: "default" 0.0;
14833                visible: 1;
14834             }
14835          }
14836          part { name: "elm.units";
14837             type: TEXT;
14838             mouse_events: 0;
14839             scale: 1;
14840             description { state: "default" 0.0;
14841                visible: 0;
14842                fixed: 1 1;
14843                align: 0.5 1.0;
14844                rel1.relative: 0.0 0.0;
14845                rel1.to_y: "elm.swallow.end";
14846                rel1.offset: 8 0;
14847                rel2.relative: 1.0 0.0;
14848                rel2.to_y: "elm.swallow.end";
14849                rel2.offset: -9 0;
14850                color: 0 0 0 255;
14851                text {
14852                   font: "Sans,Edje-Vera";
14853                   size: 10;
14854                   min: 0 0;
14855                   align: 0.5 0.0;
14856                }
14857             }
14858             description { state: "visible" 0.0;
14859                inherit: "default" 0.0;
14860                fixed: 1 1;
14861                visible: 1;
14862                text.min: 1 1;
14863                rel1.offset: 8 -9;
14864                rel2.offset: -9 -9;
14865             }
14866             description { state: "disabled" 0.0;
14867                inherit: "default" 0.0;
14868                color:  0 0 0 128;
14869                color3: 0 0 0 0;
14870                visible: 0;
14871             }
14872             description { state: "disabled_visible" 0.0;
14873                inherit: "default" 0.0;
14874                fixed: 1 1;
14875                visible: 1;
14876                text.min: 1 1;
14877                rel1.offset: 8 -9;
14878                rel2.offset: -9 -9;
14879                color: 0 0 0 128;
14880                color3: 0 0 0 0;
14881             }
14882          }
14883          part { name: "elm.dragable.slider";
14884             type: GROUP;
14885             source: "elm/slider/vertical/indicator/default";
14886             mouse_events: 1;
14887             repeat_events: 1;
14888             scale: 1;
14889             dragable {
14890                x: 0 0 0;
14891                y: 1 1 0;
14892                confine: "bg";
14893             }
14894             description { state: "default" 0.0;
14895                min: 24 0;
14896                max: 24 0;
14897                fixed: 1 1;
14898                rel1 {
14899                   relative: 0.5  0.0;
14900                   to_y: "bg";
14901                }
14902                rel2 {
14903                   relative: 0.5  1.0;
14904                   to_y: "bg";
14905                }
14906                color: 0 0 0 0;
14907             }
14908          }
14909               part { name: "disabler";
14910                 type: RECT;
14911                 description { state: "default" 0.0;
14912                    color: 0 0 0 0;
14913                    visible: 0;
14914                 }
14915                 description { state: "disabled" 0.0;
14916                    inherit: "default" 0.0;
14917                    visible: 1;
14918                 }
14919              }
14920           }
14921
14922       programs {
14923          program { name: "text_show";
14924             signal: "elm,state,text,visible";
14925             source: "elm";
14926             action:  STATE_SET "visible" 0.0;
14927             target: "elm.text";
14928          }
14929          program { name: "text_hide";
14930             signal: "elm,state,text,hidden";
14931             source: "elm";
14932             action:  STATE_SET "default" 0.0;
14933             target: "elm.text";
14934          }
14935          program { name: "icon_show";
14936             signal: "elm,state,icon,visible";
14937             source: "elm";
14938             action:  STATE_SET "visible" 0.0;
14939             target: "elm.swallow.icon";
14940          }
14941          program { name: "icon_hide";
14942             signal: "elm,state,icon,hidden";
14943             source: "elm";
14944             action:  STATE_SET "default" 0.0;
14945             target: "elm.swallow.icon";
14946          }
14947          program { name: "end_show";
14948             signal: "elm,state,end,visible";
14949             source: "elm";
14950             action:  STATE_SET "visible" 0.0;
14951             target: "elm.swallow.end";
14952          }
14953          program { name: "end_hide";
14954             signal: "elm,state,end,hidden";
14955             source: "elm";
14956             action:  STATE_SET "default" 0.0;
14957             target: "elm.swallow.end";
14958          }
14959          program { name: "units_show";
14960             signal: "elm,state,units,visible";
14961             source: "elm";
14962             action:  STATE_SET "visible" 0.0;
14963             target: "elm.units";
14964             target: "units";
14965          }
14966          program { name: "units_hide";
14967             signal: "elm,state,units,hidden";
14968             source: "elm";
14969             action:  STATE_SET "default" 0.0;
14970             target: "elm.units";
14971             target: "units";
14972          }
14973          program { name: "invert_on";
14974             signal: "elm,state,inverted,on";
14975             source: "elm";
14976             action:  STATE_SET "inverted" 0.0;
14977             target: "level";
14978             target: "level2";
14979          }
14980          program { name: "invert_off";
14981             signal: "elm,state,inverted,off";
14982             source: "elm";
14983             action:  STATE_SET "default" 0.0;
14984             target: "level";
14985             target: "level2";
14986          }
14987          program {
14988             name:   "go_disabled";
14989             signal: "elm,state,disabled";
14990             source: "elm";
14991             action: STATE_SET "disabled" 0.0;
14992 //            target: "button0";
14993             target: "disabler";
14994             after: "disable_text";
14995             after: "disable_ind";
14996          }
14997
14998          program { name: "disable_ind";
14999             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15000          }
15001
15002          program { name: "disable_text";
15003             script {
15004             new st[31];
15005             new Float:vl;
15006                get_state(PART:"elm.text", st, 30, vl);
15007                if (!strcmp(st, "visible"))
15008                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15009                else
15010                   set_state(PART:"elm.text", "disabled", 0.0);
15011
15012                get_state(PART:"elm.units", st, 30, vl);
15013                if (!strcmp(st, "visible"))
15014                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15015                else
15016                   set_state(PART:"elm.units", "disabled", 0.0);
15017
15018                get_state(PART:"level2", st, 30, vl);
15019                if (!strcmp(st, "inverted"))
15020                {
15021                   set_state(PART:"level", "disabled_inverted", 0.0);
15022                   set_state(PART:"level2", "disabled_inverted", 0.0);
15023                }
15024                else
15025                {
15026                   set_state(PART:"level", "disabled", 0.0);
15027                   set_state(PART:"level2", "disabled", 0.0);
15028                }
15029             }
15030          }
15031
15032          program { name: "enable";
15033             signal: "elm,state,enabled";
15034             source: "elm";
15035             action: STATE_SET "default" 0.0;
15036 //            target: "button0";
15037             target: "disabler";
15038             after: "enable_text";
15039             after: "enable_ind";
15040          }
15041
15042          program { name: "enable_ind";
15043             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15044          }
15045          program { name: "enable_text";
15046             script {
15047                new st[31];
15048                new Float:vl;
15049                get_state(PART:"elm.text", st, 30, vl);
15050                if (!strcmp(st, "disabled_visible"))
15051                   set_state(PART:"elm.text", "visible", 0.0);
15052                else
15053                   set_state(PART:"elm.text", "default", 0.0);
15054
15055                get_state(PART:"elm.units", st, 30, vl);
15056                if (!strcmp(st, "disabled_visible"))
15057                   set_state(PART:"elm.units", "visible", 0.0);
15058                else
15059                   set_state(PART:"elm.units", "default", 0.0);
15060
15061                get_state(PART:"level2", st, 30, vl);
15062                if (!strcmp(st, "disabled_inverted"))
15063                {
15064                   set_state(PART:"level", "inverted", 0.0);
15065                   set_state(PART:"level2", "inverted", 0.0);
15066                }
15067                else
15068                {
15069                   set_state(PART:"level", "default", 0.0);
15070                   set_state(PART:"level2", "default", 0.0);
15071                }
15072             }
15073          }
15074       }
15075    }
15076    group { name: "elm/slider/horizontal/indicator/default";
15077            alias: "elm/slider/horizontal/indicator/disabled";
15078            alias: "elm/slider/vertical/indicator/default";
15079            alias: "elm/slider/vertical/indicator/disabled";
15080       images {
15081          image: "sl_bt_0.png" COMP;
15082          image: "sl_bt_1.png" COMP;
15083          image: "sl_bt_2.png" COMP;
15084          image: "sl_bt_3.png" COMP;
15085          image: "sl_bt2_0_0.png" COMP;
15086          image: "sl_bt2_0_1.png" COMP;
15087          image: "sl_bt2_0_2.png" COMP;
15088          image: "sl_bt2_1.png" COMP;
15089          image: "sl_bt2_2.png" COMP;
15090       }
15091       script {
15092          public value_hide = 0;
15093          public set_value_show() {
15094             set_int(value_hide, 0);
15095          }
15096          public set_value_hide() {
15097             set_int(value_hide, 1);
15098          }
15099          public thumb_down() {
15100             if (get_int(value_hide) == 1) {
15101                set_state(PART:"elm.indicator", "default", 0.0);
15102                set_state(PART:"button3", "default", 0.0);
15103                set_state(PART:"button4", "default", 0.0);
15104                set_state(PART:"button5", "default", 0.0);
15105                set_state(PART:"button6", "default", 0.0);
15106                set_state(PART:"button7", "default", 0.0);
15107             } else {
15108                set_state(PART:"elm.indicator", "visible", 0.0);
15109                set_state(PART:"button3", "visible", 0.0);
15110                set_state(PART:"button4", "visible", 0.0);
15111                set_state(PART:"button5", "visible", 0.0);
15112                set_state(PART:"button6", "visible", 0.0);
15113                set_state(PART:"button7", "visible", 0.0);
15114             }
15115          }
15116          public thumb_up() {
15117             set_state(PART:"elm.indicator", "default", 0.0);
15118             set_state(PART:"button3", "default", 0.0);
15119             set_state(PART:"button4", "default", 0.0);
15120             set_state(PART:"button5", "default", 0.0);
15121             set_state(PART:"button6", "default", 0.0);
15122             set_state(PART:"button7", "default", 0.0);
15123          }
15124       }
15125       parts {
15126          part { name: "button_events";
15127             type: RECT;
15128             mouse_events: 1;
15129             description { state: "default" 0.0;
15130                fixed: 1 1;
15131                min: 16 16;
15132                aspect: 1.0 1.0;
15133                aspect_preference: VERTICAL;
15134                color: 0 0 0 0;
15135             }
15136          }
15137          part { name: "button0";
15138             mouse_events: 0;
15139             description { state: "default" 0.0;
15140                fixed: 1 1;
15141                max: 17 999;
15142                min: 17 24;
15143                image {
15144                   normal: "sl_bt_0.png";
15145                   border: 5 5 5 10;
15146                }
15147                fill.smooth: 0;
15148             }
15149             description { state: "disabled" 0.0;
15150                inherit: "default" 0.0;
15151                image {
15152                   normal: "sl_bt_3.png";
15153                   border: 5 5 5 10;
15154                }
15155             }
15156          }
15157          part { name: "button1";
15158             mouse_events: 0;
15159             description { state: "default" 0.0;
15160                rel1.to: "button0";
15161                rel2 {
15162                   to: "button0";
15163                   relative: 1.0 0.5;
15164                   offset: -1 -5;
15165                }
15166                image {
15167                   normal: "sl_bt_1.png";
15168                   border: 5 5 5 0;
15169                }
15170             }
15171          }
15172          part { name: "button2";
15173             mouse_events: 0;
15174             description { state: "default" 0.0;
15175                rel1.to: "button0";
15176                rel2.to: "button0";
15177                image {
15178                   normal: "sl_bt_2.png";
15179                   border: 5 5 5 10;
15180                }
15181                fill.smooth: 0;
15182             }
15183          }
15184          part { name: "button3";
15185             mouse_events: 0;
15186             description { state: "default" 0.0;
15187                fixed: 1 1;
15188                visible: 0;
15189                min: 8 32;
15190                align: 1.0 0.5;
15191                rel1 {
15192                   to_x: "elm.indicator";
15193                   to_y: "button4";
15194                   relative: 0.0 0.0;
15195                   offset: -7 0;
15196                }
15197                rel2 {
15198                   to: "button4";
15199                   relative: 0.0 1.0;
15200                   offset: -1 -1;
15201                }
15202                image {
15203                   normal: "sl_bt2_0_0.png";
15204                   border: 6 0 6 12;
15205                }
15206                fill.smooth: 0;
15207             }
15208             description { state: "visible" 0.0;
15209                inherit: "default" 0.0;
15210                visible: 1;
15211             }
15212          }
15213          part { name: "button4";
15214             mouse_events: 0;
15215             description { state: "default" 0.0;
15216                visible: 0;
15217                max: 15 999;
15218                min: 15 32;
15219                rel1 {
15220                   to_x: "button0";
15221                   to_y: "elm.indicator";
15222                   offset: 0 0;
15223                }
15224                rel2.to: "button0";
15225                image {
15226                   normal: "sl_bt2_0_1.png";
15227                   border: 0 0 6 12;
15228                }
15229                fill.smooth: 0;
15230             }
15231             description { state: "visible" 0.0;
15232                inherit: "default" 0.0;
15233                visible: 1;
15234             }
15235          }
15236          part { name: "button5";
15237             mouse_events: 0;
15238             description { state: "default" 0.0;
15239                fixed: 1 1;
15240                visible: 0;
15241                min: 8 32;
15242                align: 0.0 0.5;
15243                rel1 {
15244                   to: "button4";
15245                   relative: 1.0 0.0;
15246                   offset: 0 0;
15247                }
15248                rel2 {
15249                   to_x: "elm.indicator";
15250                   to_y: "button4";
15251                   relative: 1.0 1.0;
15252                   offset: 6 -1;
15253                }
15254                image {
15255                   normal: "sl_bt2_0_2.png";
15256                   border: 0 6 6 12;
15257                }
15258                fill.smooth: 0;
15259             }
15260             description { state: "visible" 0.0;
15261                inherit: "default" 0.0;
15262                visible: 1;
15263             }
15264          }
15265          part { name: "elm.indicator";
15266             type: TEXT;
15267             mouse_events: 0;
15268             effect: SOFT_SHADOW;
15269             scale: 1;
15270             description { state: "default" 0.0;
15271                visible: 0;
15272                fixed: 1 1;
15273                align: 0.5 1.0;
15274                rel1 {
15275                   to: "button0";
15276                   relative: 0.0 -0.25;
15277                   offset: 0 0;
15278                }
15279                rel2 {
15280                   to_x: "button0";
15281                   relative: 1.0 -0.25;
15282                   offset: -1 0;
15283                }
15284                color: 224 224 224 255;
15285                color3: 0 0 0 64;
15286                text {
15287                   font:     "Sans,Edje-Vera";
15288                   size:     10;
15289                   min:      0 0;
15290                   align:    0.5 0.5;
15291                }
15292             }
15293             description { state: "visible" 0.0;
15294                inherit: "default" 0.0;
15295                visible: 1;
15296                text.min: 1 1;
15297                rel1.offset: 0 -1;
15298                rel2.offset: -1 -1;
15299             }
15300          }
15301          part { name: "button6";
15302             mouse_events: 0;
15303             description { state: "default" 0.0;
15304                visible: 0;
15305                rel1.to: "button3";
15306                rel2 {
15307                   to: "button5";
15308                   relative: 1.0 0.3;
15309                   offset: -1 -1;
15310                }
15311                image {
15312                   normal: "sl_bt2_1.png";
15313                   border: 5 5 5 0;
15314                }
15315                fill.smooth: 0;
15316             }
15317             description { state: "visible" 0.0;
15318                inherit: "default" 0.0;
15319                visible: 1;
15320             }
15321          }
15322          part { name: "button7";
15323             mouse_events: 0;
15324             description { state: "default" 0.0;
15325                visible: 0;
15326                rel1.to: "button3";
15327                rel2.to: "button5";
15328                image {
15329                   normal: "sl_bt2_2.png";
15330                   border: 5 5 5 0;
15331                   middle: 0;
15332                }
15333                fill.smooth: 0;
15334             }
15335             description { state: "visible" 0.0;
15336                inherit: "default" 0.0;
15337                visible: 1;
15338             }
15339          }
15340       }
15341       programs {
15342          program { name: "set_val_show";
15343             signal: "elm,state,val,show";
15344             source: "elm";
15345             script {
15346                set_value_show();
15347             }
15348          }
15349          program { name: "set_val_hide";
15350             signal: "elm,state,val,hide";
15351             source: "elm";
15352             script {
15353                set_value_hide();
15354             }
15355          }
15356          program { name: "val_show";
15357             signal: "mouse,down,*";
15358             source: "button_events";
15359             script {
15360                thumb_down();
15361             }
15362
15363          }
15364          program { name: "val_hide";
15365             signal: "mouse,up,*";
15366             source: "button_events";
15367             script {
15368                thumb_up();
15369             }
15370          }
15371          program {
15372             name:    "go_disabled";
15373             signal:  "elm,state,disabled";
15374             source:  "elm";
15375             action:  STATE_SET "disabled" 0.0;
15376             target:  "button0";
15377          }
15378          program {
15379             name:    "go_enabled";
15380             signal:  "elm,state,enabled";
15381             source:  "elm";
15382             action:  STATE_SET "default" 0.0;
15383             target:  "button0";
15384          }
15385       }
15386    }
15387
15388
15389 ////////////////////////////////////////////////////////////////////////////////
15390 // actionslider
15391 ////////////////////////////////////////////////////////////////////////////////
15392    group { name: "elm/actionslider/base/default";
15393
15394       images {
15395          image: "shelf_inset.png" COMP;
15396          image: "ilist_1.png" COMP;
15397          image: "bt_bases.png" COMP;
15398          image: "bt_basew.png" COMP;
15399          image: "bt_hilightw.png" COMP;
15400       }
15401
15402       parts {
15403          part {
15404             name: "base";
15405             mouse_events: 0;
15406             description {
15407                state: "default" 0.0;
15408                min: 75 25;
15409                rel1.offset: 1 1;
15410                rel2.offset: -2 -2;
15411                image {
15412                   normal: "ilist_1.png";
15413                   border: 2 2 2 2;
15414                }
15415                fill.smooth: 0;
15416             }
15417          }
15418          part { name: "conf_over";
15419             mouse_events:  0;
15420             description { state: "default" 0.0;
15421                rel1.to: "base";
15422                rel2.to: "base";
15423                image {
15424                   normal: "shelf_inset.png";
15425                   border: 7 7 7 7;
15426                   middle: 0;
15427                }
15428                fill.smooth : 0;
15429             }
15430          }
15431          part { name: "icon.dragable.area";
15432            type: RECT;
15433             mouse_events: 0;
15434             description { state: "default" 0.0;
15435                visible: 0;
15436                rel1.to: "base";
15437                rel2.to: "base";
15438             }
15439          }
15440          part { name: "elm.text.left";
15441             type: TEXT;
15442             mouse_events: 0;
15443             scale: 1;
15444             description { state: "default" 0.0;
15445                color: 0 0 0 255;
15446                text {
15447                   font: "Sans,Edje-Vera";
15448                   size: 10;
15449                   align: 0.05 0.5;
15450                   min: 1 1;
15451                }
15452             }
15453          }
15454          part { name: "elm.text.center";
15455             type: TEXT;
15456             mouse_events: 0;
15457             scale: 1;
15458             description { state: "default" 0.0;
15459                color: 0 0 0 255;
15460                text {
15461                   font: "Sans,Edje-Vera";
15462                   size: 10;
15463                   align: 0.5 0.5;
15464                   min: 1 1;
15465                }
15466             }
15467          }
15468          part { name: "elm.text.right";
15469             type: TEXT;
15470             mouse_events: 0;
15471             scale: 1;
15472             description { state: "default" 0.0;
15473                color: 0 0 0 255;
15474                text {
15475                   font: "Sans,Edje-Vera";
15476                   size: 10;
15477                   align: 0.95 0.5;
15478                   min: 1 1;
15479                }
15480             }
15481          }
15482          part { name: "elm.drag_button_base";
15483             type: SWALLOW;
15484             mouse_events: 0;
15485             scale: 1;
15486             description { state: "default" 0.0;
15487                fixed: 1 1;
15488                min: 50 25;
15489                align: 0.5 0.5;
15490                rel1.to: "icon.dragable.area";
15491                rel2 {
15492                   relative: 0.0 1.0;
15493                   to: "icon.dragable.area";
15494                }
15495             }
15496             dragable {
15497                confine: "icon.dragable.area";
15498                x: 1 1 0;
15499                y: 0 0 0;
15500             }
15501          }
15502          part { name: "elm.drag_button";
15503             type: RECT;
15504             mouse_events: 1;
15505             description { state: "default" 0.0;
15506                min: 50 25;
15507                color: 255 255 255 0;
15508                rel1.to_x: "elm.drag_button_base";
15509                rel1.to_y: "icon.dragable.area";
15510                rel2.to_x: "elm.drag_button_base";
15511                rel2.to_y: "icon.dragable.area";
15512             }
15513             dragable {
15514                events: "elm.drag_button_base";
15515             }
15516          }
15517          part { name: "button0";
15518             mouse_events: 0;
15519             description { state: "default" 0.0;
15520                rel1.to: "button2";
15521                rel1.offset: -4 -4;
15522                rel2.to: "button2";
15523                rel2.offset: 3 3;
15524                image {
15525                   normal: "bt_bases.png";
15526                   border: 11 11 11 11;
15527                   middle: SOLID;
15528                }
15529                color: 255 255 255 128;
15530             }
15531          }
15532          part { name: "button2";
15533             mouse_events: 0;
15534             description { state: "default" 0.0;
15535                rel1.to: "elm.drag_button";
15536                rel2.to: "elm.drag_button";
15537                image {
15538                   normal: "bt_basew.png";
15539                   border: 7 7 7 7;
15540                   middle: SOLID;
15541                }
15542                color: 255 255 255 210;
15543             }
15544          }
15545          part { name: "button3";
15546             mouse_events: 0;
15547             description { state: "default" 0.0;
15548                rel1.to: "button2";
15549                rel2.to: "button2";
15550                rel2.relative: 1.0 0.5;
15551                image {
15552                   normal: "bt_hilightw.png";
15553                   border: 4 4 4 0;
15554                }
15555                color: 255 255 255 190;
15556             }
15557          }
15558          part { name: "elm.text.indicator";
15559             type: TEXT;
15560             scale: 1;
15561             mouse_events: 0;
15562             description { state: "default" 0.0;
15563                rel1 {
15564                   to: "elm.drag_button";
15565                   offset: 5 0;
15566                }
15567                rel2 {
15568                   to: "elm.drag_button";
15569                   offset: -5 0;
15570                }
15571                color: 0 0 0 255;
15572                text {
15573                   font: "Sans,Edje-Vera";
15574                   size: 10;
15575                   align: 0.5 0.5;
15576                   min: 0 1;
15577                }
15578             }
15579          }
15580       }
15581       programs {
15582          program { name: "elm.drag_button,mouse,up";
15583             signal: "mouse,up,1";
15584             source: "elm.drag_button";
15585             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15586          }
15587          program { name: "elm.drag_button,mouse,down";
15588             signal: "mouse,down,1";
15589             source: "elm.drag_button";
15590             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15591          }
15592          program { name: "elm.drag_button,mouse,move";
15593             signal: "mouse,move";
15594             source: "elm.drag_button_base";
15595             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15596          }
15597       }
15598    }
15599
15600    group { name: "elm/actionslider/base/bar";
15601
15602       images {
15603          image: "shelf_inset.png" COMP;
15604          image: "ilist_1.png" COMP;
15605          image: "bt_bases.png" COMP;
15606          image: "bt_basew.png" COMP;
15607          image: "bt_hilightw.png" COMP;
15608       }
15609
15610       parts {
15611          part {
15612             name: "base";
15613             mouse_events: 0;
15614             description {
15615                state: "default" 0.0;
15616                min: 150 30;
15617                rel1.offset: 1 1;
15618                rel2.offset: -2 -2;
15619                image {
15620                   normal: "ilist_1.png";
15621                   border: 2 2 2 2;
15622                }
15623                fill.smooth: 0;
15624             }
15625          }
15626          part { name: "conf_over";
15627             mouse_events:  0;
15628             description { state: "default" 0.0;
15629                rel1.to: "base";
15630                rel2.to: "base";
15631                image {
15632                   normal: "shelf_inset.png";
15633                   border: 7 7 7 7;
15634                   middle: 0;
15635                }
15636                fill.smooth : 0;
15637             }
15638          }
15639          part { name: "icon.dragable.area";
15640            type: RECT;
15641             mouse_events: 0;
15642             description { state: "default" 0.0;
15643                visible: 0;
15644                rel1.to: "base";
15645                rel2.to: "base";
15646             }
15647          }
15648          part { name: "elm.text.left";
15649             type: TEXT;
15650             mouse_events: 0;
15651             scale: 1;
15652             description { state: "default" 0.0;
15653                color: 0 0 0 255;
15654                text {
15655                   font: "Sans,Edje-Vera";
15656                   size: 10;
15657                   align: 0.05 0.5;
15658                   min: 1 1;
15659                }
15660             }
15661          }
15662          part { name: "elm.text.center";
15663             type: TEXT;
15664             mouse_events: 0;
15665             scale: 1;
15666             description { state: "default" 0.0;
15667                color: 0 0 0 255;
15668                text {
15669                   font: "Sans,Edje-Vera";
15670                   size: 10;
15671                   align: 0.5 0.5;
15672                   min: 1 1;
15673                }
15674             }
15675          }
15676          part { name: "elm.text.right";
15677             type: TEXT;
15678             mouse_events: 0;
15679             scale: 1;
15680             description { state: "default" 0.0;
15681                color: 0 0 0 255;
15682                text {
15683                   font: "Sans,Edje-Vera";
15684                   size: 10;
15685                   align: 0.95 0.5;
15686                   min: 1 1;
15687                }
15688             }
15689          }
15690          part { name: "bar";
15691             type: RECT;
15692             mouse_events: 0;
15693             description { state: "default" 0.0;
15694                rel1.to: "base";
15695                rel1.offset: 0 2;
15696                rel2 {
15697                   relative: 0 1;
15698                   offset: 3 -3;
15699                   to_x: "elm.drag_button_base";
15700                   to_y: "base";
15701                }
15702                color: 0 0 0 180;
15703             }
15704          }
15705          part { name: "elm.drag_button_base";
15706             type: SWALLOW;
15707             mouse_events: 1;
15708             scale: 1;
15709             description { state: "default" 0.0;
15710                fixed: 1 1;
15711                min: 50 25;
15712                align: 0.5 0.5;
15713                rel1.to: "icon.dragable.area";
15714                rel2 {
15715                   relative: 0.0 1.0;
15716                   to: "icon.dragable.area";
15717                }
15718             }
15719             dragable {
15720                confine: "icon.dragable.area";
15721                x: 1 1 0;
15722                y: 0 0 0;
15723             }
15724          }
15725          part { name: "elm.drag_button";
15726             type: RECT;
15727             mouse_events: 1;
15728             description { state: "default" 0.0;
15729                min: 50 25;
15730                color: 255 255 255 0;
15731                rel1.to_x: "elm.drag_button_base";
15732                rel1.to_y: "icon.dragable.area";
15733                rel2.to_x: "elm.drag_button_base";
15734                rel2.to_y: "icon.dragable.area";
15735             }
15736             dragable {
15737                events: "elm.drag_button_base";
15738             }
15739          }
15740          part { name: "button0";
15741             mouse_events: 0;
15742             description { state: "default" 0.0;
15743                rel1.to: "button2";
15744                rel1.offset: -4 -4;
15745                rel2.to: "button2";
15746                rel2.offset: 3 3;
15747                image {
15748                   normal: "bt_bases.png";
15749                   border: 11 11 11 11;
15750                   middle: SOLID;
15751                }
15752                color: 255 255 255 128;
15753             }
15754          }
15755          part { name: "button2";
15756             mouse_events: 0;
15757             description { state: "default" 0.0;
15758                rel1.to: "elm.drag_button";
15759                rel2.to: "elm.drag_button";
15760                image {
15761                   normal: "bt_basew.png";
15762                   border: 7 7 7 7;
15763                   middle: SOLID;
15764                }
15765                color: 255 255 255 210;
15766             }
15767          }
15768          part { name: "button3";
15769             mouse_events: 0;
15770             description { state: "default" 0.0;
15771                rel1.to: "button2";
15772                rel2.to: "button2";
15773                rel2.relative: 1.0 0.5;
15774                image {
15775                   normal: "bt_hilightw.png";
15776                   border: 4 4 4 0;
15777                }
15778                color: 255 255 255 190;
15779             }
15780          }
15781          part { name: "elm.text.indicator";
15782             type: TEXT;
15783             scale: 1;
15784             mouse_events: 0;
15785             description { state: "default" 0.0;
15786                rel1 {
15787                   to: "elm.drag_button";
15788                   offset: 5 0;
15789                }
15790                rel2 {
15791                   to: "elm.drag_button";
15792                   offset: -5 0;
15793                }
15794                color: 0 0 0 255;
15795                text {
15796                   font: "Sans,Edje-Vera";
15797                   size: 10;
15798                   align: 0.5 0.5;
15799                   min: 0 1;
15800                }
15801             }
15802          }
15803       }
15804       programs {
15805          program { name: "elm.drag_button,mouse,up";
15806             signal: "mouse,up,1";
15807             source: "elm.drag_button";
15808             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15809          }
15810          program { name: "elm.drag_button,mouse,down";
15811             signal: "mouse,down,1";
15812             source: "elm.drag_button";
15813             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15814          }
15815          program { name: "elm.drag_button,mouse,move";
15816             signal: "mouse,move";
15817             source: "elm.drag_button_base";
15818             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15819          }
15820       }
15821    }
15822
15823 ///////////////////////////////////////////////////////////////////////////////
15824    group { name: "elm/genlist/item/default/default";
15825       data.item: "selectraise" "on";
15826       data.item: "labels" "elm.text";
15827       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15828       data.item: "treesize" "20";
15829 //      data.item: "states" "";
15830       images {
15831          image: "bt_sm_base1.png" COMP;
15832          image: "bt_sm_shine.png" COMP;
15833          image: "bt_sm_hilight.png" COMP;
15834          image: "ilist_1.png" COMP;
15835          image: "ilist_2.png" COMP;
15836          image: "ilist_item_shadow.png" COMP;
15837       }
15838       parts {
15839          part {
15840             name:           "event";
15841             type:           RECT;
15842             repeat_events: 1;
15843             description {
15844                state: "default" 0.0;
15845                color: 0 0 0 0;
15846             }
15847          }
15848          part { name: "reorder_bg";
15849             mouse_events: 0;
15850             description { state: "default" 0.0;
15851                visible: 0;
15852                color: 255 255 255 0;
15853                rel1 {
15854                   relative: 0.0 0.0;
15855                   offset: -7 -7;
15856                }
15857                rel2 {
15858                   relative: 1.0 1.0;
15859                   offset: 9 9;
15860                }
15861                image {
15862                   normal: "bt_bases.png";
15863                   border: 6 6 6 6;
15864                }
15865             }
15866             description { state: "enabled" 0.0;
15867                inherit: "default" 0.0;
15868                visible: 1;
15869                color: 255 255 255 255;
15870             }
15871          }
15872          part {
15873             name: "base_sh";
15874             mouse_events: 0;
15875             description {
15876                state: "default" 0.0;
15877                align: 0.0 0.0;
15878                min: 0 10;
15879                fixed: 1 1;
15880                rel1 {
15881                   to: "base";
15882                   relative: 0.0 1.0;
15883                   offset: 0 0;
15884                }
15885                rel2 {
15886                   to: "base";
15887                   relative: 1.0 1.0;
15888                   offset: -1 0;
15889                }
15890                image {
15891                   normal: "ilist_item_shadow.png";
15892                }
15893                fill.smooth: 0;
15894             }
15895             description {
15896                state: "default" 1.0;
15897                inherit: "default" 0.0;
15898                visible: 0;
15899             }
15900          }
15901          part {
15902             name: "base";
15903             mouse_events: 0;
15904             description {
15905                state: "default" 0.0;
15906                image {
15907                   normal: "ilist_1.png";
15908                   border: 2 2 2 2;
15909                }
15910                fill.smooth: 0;
15911             }
15912             description {
15913                state: "default" 1.0;
15914                inherit: "default" 0.0;
15915                image.normal: "ilist_2.png";
15916             }
15917          }
15918          part { name: "bg";
15919             clip_to: "disclip";
15920             mouse_events: 0;
15921             description { state: "default" 0.0;
15922                visible: 0;
15923                color: 255 255 255 0;
15924                rel1 {
15925                   relative: 0.0 0.0;
15926                   offset: -5 -5;
15927                }
15928                rel2 {
15929                   relative: 1.0 1.0;
15930                   offset: 4 4;
15931                }
15932                image {
15933                   normal: "bt_sm_base1.png";
15934                   border: 6 6 6 6;
15935                }
15936                image.middle: SOLID;
15937             }
15938             description { state: "default" 0.1;
15939                inherit: "default" 0.0;
15940             }
15941             description { state: "selected" 0.0;
15942                inherit: "default" 0.0;
15943                visible: 1;
15944                color: 255 255 255 255;
15945                rel1 {
15946                   relative: 0.0 0.0;
15947                   offset: -2 -2;
15948                }
15949                rel2 {
15950                   relative: 1.0 1.0;
15951                   offset: 1 1;
15952                }
15953             }
15954             description {
15955                state: "selected" 1.0;
15956                inherit: "selected" 0.0;
15957             }
15958          }
15959          part { name: "elm.swallow.pad";
15960             type: SWALLOW;
15961             description { state: "default" 0.0;
15962                fixed: 1 0;
15963                align: 0.0 0.5;
15964                rel1 {
15965                   relative: 0.0  0.0;
15966                   offset:   4    4;
15967                }
15968                rel2 {
15969                   relative: 0.0  1.0;
15970                   offset:   4   -5;
15971                }
15972             }
15973          }
15974          part { name: "elm.swallow.icon";
15975             clip_to: "disclip";
15976             type: SWALLOW;
15977             description { state: "default" 0.0;
15978                fixed: 1 0;
15979                align: 0.0 0.5;
15980                rel1 {
15981                   to_x: "elm.swallow.pad";
15982                   relative: 1.0  0.0;
15983                   offset:   -1    4;
15984                }
15985                rel2 {
15986                   to_x: "elm.swallow.pad";
15987                   relative: 1.0  1.0;
15988                   offset:   -1   -5;
15989                }
15990             }
15991          }
15992          part { name: "elm.swallow.end";
15993             clip_to: "disclip";
15994             type: SWALLOW;
15995             description { state: "default" 0.0;
15996                fixed: 1 0;
15997                align: 1.0 0.5;
15998                aspect: 1.0 1.0;
15999                aspect_preference: VERTICAL;
16000                rel1 {
16001                   relative: 1.0  0.0;
16002                   offset:   -5    4;
16003                }
16004                rel2 {
16005                   relative: 1.0  1.0;
16006                   offset:   -5   -5;
16007                }
16008             }
16009          }
16010          part { name: "elm.text";
16011             clip_to: "disclip";
16012             type:           TEXT;
16013             effect:         SOFT_SHADOW;
16014             mouse_events:   0;
16015             scale: 1;
16016             description {
16017                state: "default" 0.0;
16018 //               min: 16 16;
16019                rel1 {
16020                   to_x:     "elm.swallow.icon";
16021                   relative: 1.0  0.0;
16022                   offset:   0 4;
16023                }
16024                rel2 {
16025                   to_x:     "elm.swallow.end";
16026                   relative: 0.0  1.0;
16027                   offset:   -1 -5;
16028                }
16029                color: 0 0 0 255;
16030                color3: 0 0 0 0;
16031                text {
16032                   font: "Sans";
16033                   size: 10;
16034                   min: 1 1;
16035 //                  min: 0 1;
16036                   align: -1.0 0.5;
16037                   text_class: "list_item";
16038                }
16039             }
16040             description { state: "selected" 0.0;
16041                inherit: "default" 0.0;
16042                color: 224 224 224 255;
16043                color3: 0 0 0 64;
16044             }
16045          }
16046          part { name: "fg1";
16047             clip_to: "disclip";
16048             mouse_events: 0;
16049             description { state: "default" 0.0;
16050                visible: 0;
16051                color: 255 255 255 0;
16052                rel1.to: "bg";
16053                rel2.relative: 1.0 0.5;
16054                rel2.to: "bg";
16055                image {
16056                   normal: "bt_sm_hilight.png";
16057                   border: 6 6 6 0;
16058                }
16059             }
16060             description { state: "selected" 0.0;
16061                inherit: "default" 0.0;
16062                visible: 1;
16063                color: 255 255 255 255;
16064             }
16065             description {
16066                state: "selected" 1.0;
16067                inherit: "default" 0.0;
16068                visible: 1;
16069                color: 255 255 255 255;
16070             }
16071          }
16072          part { name: "fg2";
16073             clip_to: "disclip";
16074             mouse_events: 0;
16075             description { state: "default" 0.0;
16076                visible: 0;
16077                color: 255 255 255 0;
16078                rel1.to: "bg";
16079                rel2.to: "bg";
16080                image {
16081                   normal: "bt_sm_shine.png";
16082                   border: 6 6 6 0;
16083                }
16084             }
16085             description { state: "selected" 0.0;
16086                inherit: "default" 0.0;
16087                visible: 1;
16088                color: 255 255 255 255;
16089             }
16090             description {
16091                state: "selected" 1.0;
16092                inherit: "default" 0.0;
16093                visible: 1;
16094                color: 255 255 255 255;
16095             }
16096          }
16097          part { name: "disclip";
16098             type: RECT;
16099             description { state: "default" 0.0;
16100                rel1.to: "bg";
16101                rel2.to: "bg";
16102             }
16103             description { state: "disabled" 0.0;
16104                inherit: "default" 0.0;
16105                color: 255 255 255 64;
16106             }
16107          }
16108       }
16109       programs {
16110          // signal: elm,state,%s,active
16111          //   a "check" item named %s went active
16112          // signal: elm,state,%s,passive
16113          //   a "check" item named %s went passive
16114          // default is passive
16115          program {
16116             name:    "odd";
16117             signal:  "elm,state,odd";
16118             source:  "elm";
16119             action:  STATE_SET "default" 1.0;
16120             target:  "base_sh";
16121             target:  "base";
16122          }
16123          program {
16124             name:    "even";
16125             signal:  "elm,state,even";
16126             source:  "elm";
16127             action:  STATE_SET "default" 0.0;
16128             target:  "base_sh";
16129             target:  "base";
16130          }
16131          program {
16132             name:    "go_active";
16133             signal:  "elm,state,selected";
16134             source:  "elm";
16135             script {
16136                new st[31];
16137                new Float:vl;
16138                get_state(PART:"base", st, 30, vl);
16139                set_state(PART:"bg", "selected", vl);
16140                set_state(PART:"fg1", "selected", vl);
16141                set_state(PART:"fg2", "selected", vl);
16142                set_state(PART:"elm.text", "selected", vl);
16143             }
16144          }
16145          program {
16146             name:    "go_passive";
16147             signal:  "elm,state,unselected";
16148             source:  "elm";
16149             script {
16150                new st[31];
16151                new Float:vl;
16152                get_state(PART:"base", st, 30, vl);
16153                set_state(PART:"bg", "default", vl);
16154                set_state(PART:"fg1", "default", vl);
16155                set_state(PART:"fg2", "default", vl);
16156                set_state(PART:"elm.text", "default", vl);
16157             }
16158          }
16159          program {
16160             name:    "go_disabled";
16161             signal:  "elm,state,disabled";
16162             source:  "elm";
16163             action:  STATE_SET "disabled" 0.0;
16164             target:  "disclip";
16165          }
16166          program {
16167             name:    "go_enabled";
16168             signal:  "elm,state,enabled";
16169             source:  "elm";
16170             action:  STATE_SET "default" 0.0;
16171             target:  "disclip";
16172          }
16173          program {
16174             name:    "go_reorder_disabled";
16175             signal:  "elm,state,reorder,disabled";
16176             source:  "elm";
16177             action:  STATE_SET "default" 0.0;
16178             target:  "reorder_bg";
16179             transition: DECELERATE 0.5;
16180          }
16181          program {
16182             name:    "go_reorder_enabled";
16183             signal:  "elm,state,reorder,enabled";
16184             source:  "elm";
16185             action:  STATE_SET "enabled" 0.0;
16186             target:  "reorder_bg";
16187             transition: DECELERATE 0.5;
16188          }
16189       }
16190    }
16191    group { name: "elm/genlist/item/group_index/default";
16192       alias: "elm/genlist/item_compress/group_index/default";
16193       data.item: "selectraise" "on";
16194       data.item: "labels" "elm.text";
16195       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16196       data.item: "treesize" "20";
16197 //      data.item: "states" "";
16198       images {
16199          image: "bt_sm_base1.png" COMP;
16200          image: "bt_sm_shine.png" COMP;
16201          image: "bt_sm_hilight.png" COMP;
16202          image: "ilist_item_shadow.png" COMP;
16203          image: "group_index.png" COMP;
16204       }
16205       parts {
16206          part {
16207             name: "event";
16208             type: RECT;
16209             repeat_events: 0;
16210             description {
16211                state: "default" 0.0;
16212                color: 0 0 0 0;
16213             }
16214          }
16215          part {
16216             name: "base_sh";
16217             mouse_events: 0;
16218             description {
16219                state: "default" 0.0;
16220                align: 0.0 0.0;
16221                min: 0 10;
16222                fixed: 1 1;
16223                rel1 {
16224                   to: "base";
16225                   relative: 0.0 1.0;
16226                   offset: 0 0;
16227                }
16228                rel2 {
16229                   to: "base";
16230                   relative: 1.0 1.0;
16231                   offset: -1 0;
16232                }
16233                image {
16234                   normal: "ilist_item_shadow.png";
16235                }
16236                fill.smooth: 0;
16237             }
16238          }
16239          part {
16240             name: "base";
16241             mouse_events: 0;
16242             description {
16243                state: "default" 0.0;
16244                image {
16245                   normal: "group_index.png";
16246                   border: 2 2 2 2;
16247                }
16248                fill.smooth: 0;
16249             }
16250          }
16251          part { name: "bg";
16252             clip_to: "disclip";
16253             mouse_events: 0;
16254             description { state: "default" 0.0;
16255                visible: 0;
16256                color: 255 255 255 0;
16257                rel1 {
16258                   relative: 0.0 0.0;
16259                   offset: -5 -5;
16260                }
16261                rel2 {
16262                   relative: 1.0 1.0;
16263                   offset: 4 4;
16264                }
16265                image {
16266                   normal: "bt_sm_base1.png";
16267                   border: 6 6 6 6;
16268                }
16269                image.middle: SOLID;
16270             }
16271             description { state: "selected" 0.0;
16272                inherit: "default" 0.0;
16273                visible: 1;
16274                color: 255 255 255 255;
16275                rel1 {
16276                   relative: 0.0 0.0;
16277                   offset: -2 -2;
16278                }
16279                rel2 {
16280                   relative: 1.0 1.0;
16281                   offset: 1 1;
16282                }
16283             }
16284          }
16285          part { name: "elm.swallow.pad";
16286             type: SWALLOW;
16287             description { state: "default" 0.0;
16288                fixed: 1 0;
16289                align: 0.0 0.5;
16290                rel1 {
16291                   relative: 0.0  0.0;
16292                   offset: 4 4;
16293                }
16294                rel2 {
16295                   relative: 0.0  1.0;
16296                   offset: 4 -5;
16297                }
16298             }
16299          }
16300          part { name: "elm.swallow.icon";
16301             clip_to: "disclip";
16302             type: SWALLOW;
16303             description { state: "default" 0.0;
16304                fixed: 1 0;
16305                align: 0.0 0.5;
16306                rel1 {
16307                   to_x: "elm.swallow.pad";
16308                   relative: 1.0 0.0;
16309                   offset: -1 4;
16310                }
16311                rel2 {
16312                   to_x: "elm.swallow.pad";
16313                   relative: 1.0 1.0;
16314                   offset: -1 -5;
16315                }
16316             }
16317          }
16318          part { name: "elm.swallow.end";
16319             clip_to: "disclip";
16320             type: SWALLOW;
16321             description { state: "default" 0.0;
16322                fixed: 1 0;
16323                align: 1.0 0.5;
16324                aspect: 1.0 1.0;
16325                aspect_preference: VERTICAL;
16326                rel1 {
16327                   relative: 1.0 0.0;
16328                   offset: -5 4;
16329                }
16330                rel2 {
16331                   relative: 1.0 1.0;
16332                   offset: -5 -5;
16333                }
16334             }
16335          }
16336          part { name: "elm.text";
16337             clip_to: "disclip";
16338             type: TEXT;
16339             effect: SOFT_SHADOW;
16340             mouse_events: 0;
16341             scale: 1;
16342             description {
16343                state: "default" 0.0;
16344 //               min: 16 16;
16345                rel1 {
16346                   to_x: "elm.swallow.icon";
16347                   relative: 1.0  0.0;
16348                   offset: 0 4;
16349                }
16350                rel2 {
16351                   to_x: "elm.swallow.end";
16352                   relative: 0.0  1.0;
16353                   offset: -1 -5;
16354                }
16355                color: 0 0 0 255;
16356                color3: 0 0 0 0;
16357                text {
16358                   font: "Sans";
16359                   size: 10;
16360                   min: 1 1;
16361 //                  min: 0 1;
16362                   align: -1.0 0.5;
16363                   text_class: "list_item";
16364                }
16365             }
16366             description { state: "selected" 0.0;
16367                inherit: "default" 0.0;
16368                color: 224 224 224 255;
16369                color3: 0 0 0 64;
16370             }
16371          }
16372          part { name: "fg1";
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.to: "bg";
16379                rel2.relative: 1.0 0.5;
16380                rel2.to: "bg";
16381                image {
16382                   normal: "bt_sm_hilight.png";
16383                   border: 6 6 6 0;
16384                }
16385             }
16386             description { state: "selected" 0.0;
16387                inherit: "default" 0.0;
16388                visible: 1;
16389                color: 255 255 255 255;
16390             }
16391          }
16392          part { name: "fg2";
16393             clip_to: "disclip";
16394             mouse_events: 0;
16395             description { state: "default" 0.0;
16396                visible: 0;
16397                color: 255 255 255 0;
16398                rel1.to: "bg";
16399                rel2.to: "bg";
16400                image {
16401                   normal: "bt_sm_shine.png";
16402                   border: 6 6 6 0;
16403                }
16404             }
16405             description { state: "selected" 0.0;
16406                inherit: "default" 0.0;
16407                visible: 1;
16408                color: 255 255 255 255;
16409             }
16410          }
16411          part { name: "disclip";
16412             type: RECT;
16413             description { state: "default" 0.0;
16414                rel1.to: "bg";
16415                rel2.to: "bg";
16416             }
16417             description { state: "disabled" 0.0;
16418                inherit: "default" 0.0;
16419                color: 255 255 255 64;
16420             }
16421          }
16422       }
16423       programs {
16424          // signal: elm,state,%s,active
16425          //   a "check" item named %s went active
16426          // signal: elm,state,%s,passive
16427          //   a "check" item named %s went passive
16428          // default is passive
16429          program {
16430             name:    "go_active";
16431             signal:  "elm,state,selected";
16432             source:  "elm";
16433             action:  STATE_SET "selected" 0.0;
16434             target:  "bg";
16435             target:  "fg1";
16436             target:  "fg2";
16437             target:  "elm.text";
16438          }
16439          program {
16440             name:    "go_passive";
16441             signal:  "elm,state,unselected";
16442             source:  "elm";
16443             action:  STATE_SET "default" 0.0;
16444             target:  "bg";
16445             target:  "fg1";
16446             target:  "fg2";
16447             target:  "elm.text";
16448             transition: LINEAR 0.1;
16449          }
16450          program {
16451             name:    "go_disabled";
16452             signal:  "elm,state,disabled";
16453             source:  "elm";
16454             action:  STATE_SET "disabled" 0.0;
16455             target:  "disclip";
16456          }
16457          program {
16458             name:    "go_enabled";
16459             signal:  "elm,state,enabled";
16460             source:  "elm";
16461             action:  STATE_SET "default" 0.0;
16462             target:  "disclip";
16463          }
16464       }
16465    }
16466    group { name: "elm/genlist/item_compress/message/default";
16467       data.item: "selectraise" "on";
16468       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16469 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16470       data.item: "treesize" "20";
16471 //      data.item: "states" "";
16472       images {
16473          image: "bt_sm_base1.png" COMP;
16474          image: "bt_sm_shine.png" COMP;
16475          image: "bt_sm_hilight.png" COMP;
16476          image: "ilist_1.png" COMP;
16477          image: "ilist_2.png" COMP;
16478          image: "ilist_item_shadow.png" COMP;
16479       }
16480       styles {
16481         style { name: "genlist_textblock_style";
16482           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16483           tag:  "br" "\n";
16484           tag:  "ps" "ps";
16485           tag:  "tab" "\t";
16486         }
16487         style { name: "genlist_textblock_style2";
16488           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16489           tag:  "br" "\n";
16490           tag:  "ps" "ps";
16491           tag:  "tab" "\t";
16492         }
16493       }
16494      parts {
16495          part {
16496             name:           "event";
16497             type:           RECT;
16498             repeat_events: 1;
16499             description {
16500                state: "default" 0.0;
16501                color: 0 0 0 0;
16502             }
16503          }
16504          part {
16505             name: "base_sh";
16506             mouse_events: 0;
16507             description {
16508                state: "default" 0.0;
16509                align: 0.0 0.0;
16510                min: 0 10;
16511                fixed: 1 1;
16512                rel1 {
16513                   to: "base";
16514                   relative: 0.0 1.0;
16515                   offset: 0 0;
16516                }
16517                rel2 {
16518                   to: "base";
16519                   relative: 1.0 1.0;
16520                   offset: -1 0;
16521                }
16522                image {
16523                   normal: "ilist_item_shadow.png";
16524                }
16525                fill.smooth: 0;
16526             }
16527             description {
16528                state: "default" 1.0;
16529                inherit: "default" 0.0;
16530                visible: 0;
16531             }
16532          }
16533          part {
16534             name: "base";
16535             mouse_events: 0;
16536             description {
16537                state: "default" 0.0;
16538                image {
16539                   normal: "ilist_1.png";
16540                   border: 2 2 2 2;
16541                }
16542                fill.smooth: 0;
16543             }
16544             description {
16545                state: "default" 1.0;
16546                inherit: "default" 0.0;
16547                image.normal: "ilist_2.png";
16548             }
16549          }
16550          part { name: "bg";
16551             clip_to: "disclip";
16552             mouse_events: 0;
16553             description { state: "default" 0.0;
16554                visible: 0;
16555                color: 255 255 255 0;
16556                rel1 {
16557                   relative: 0.0 0.0;
16558                   offset: -5 -5;
16559                }
16560                rel2 {
16561                   relative: 1.0 1.0;
16562                   offset: 4 4;
16563                }
16564                image {
16565                   normal: "bt_sm_base1.png";
16566                   border: 6 6 6 6;
16567                }
16568                image.middle: SOLID;
16569             }
16570             description { state: "selected" 0.0;
16571                inherit: "default" 0.0;
16572                visible: 1;
16573                color: 255 255 255 255;
16574                rel1 {
16575                   relative: 0.0 0.0;
16576                   offset: -2 -2;
16577                }
16578                rel2 {
16579                   relative: 1.0 1.0;
16580                   offset: 1 1;
16581                }
16582             }
16583          }
16584          part { name: "elm.title.1";
16585             clip_to: "disclip";
16586             type:           TEXT;
16587             effect:         SOFT_SHADOW;
16588             mouse_events:   0;
16589             scale: 1;
16590             description {
16591                state: "default" 0.0;
16592                fixed: 0 1;
16593 //               min: 16 16;
16594                rel1 {
16595                   relative: 0.0  0.0;
16596                   offset:   4 4;
16597                }
16598                rel2 {
16599                   relative: 1.0  0.0;
16600                   offset:   -5 4;
16601                }
16602                color: 0 0 0 255;
16603                color3: 0 0 0 0;
16604                align: 0.0 0.0;
16605                text {
16606                   font: "Sans";
16607                   size: 10;
16608                   min: 0 1;
16609 //                  min: 1 1;
16610                   align: 0.0 0.0;
16611                   text_class: "list_item";
16612                }
16613             }
16614             description { state: "selected" 0.0;
16615                inherit: "default" 0.0;
16616                color: 224 224 224 255;
16617                color3: 0 0 0 64;
16618             }
16619          }
16620          part { name: "elm.title.2";
16621             clip_to: "disclip";
16622             type:           TEXT;
16623             effect:         SOFT_SHADOW;
16624             mouse_events:   0;
16625             scale: 1;
16626             description {
16627                state: "default" 0.0;
16628                fixed: 0 1;
16629 //               min: 16 16;
16630                rel1 {
16631                   to_y:     "elm.title.1";
16632                   relative: 0.0  1.0;
16633                   offset:   4 0;
16634                }
16635                rel2 {
16636                   to_y:     "elm.title.1";
16637                   relative: 1.0  1.0;
16638                   offset:   -5 0;
16639                }
16640                color: 0 0 0 255;
16641                color3: 0 0 0 0;
16642                align: 0.0 0.0;
16643                text {
16644                   font: "Sans";
16645                   size: 10;
16646                   min: 0 1;
16647 //                  min: 1 1;
16648                   align: 0.0 0.0;
16649                   text_class: "list_item";
16650                }
16651             }
16652             description { state: "selected" 0.0;
16653                inherit: "default" 0.0;
16654                color: 224 224 224 255;
16655                color3: 0 0 0 64;
16656             }
16657          }
16658          part { name: "elm.text";
16659             clip_to: "disclip";
16660             type:           TEXTBLOCK;
16661             mouse_events:   0;
16662             scale: 1;
16663             description {
16664                state: "default" 0.0;
16665 //               fixed: 0 1;
16666 //               min: 16 16;
16667                rel1 {
16668                   to_y:     "elm.title.2";
16669                   relative: 0.0  1.0;
16670                   offset:   4 0;
16671                }
16672                rel2 {
16673                   relative: 1.0  1.0;
16674                   offset:   -5 -5;
16675                }
16676                align: 0.0 0.0;
16677                text {
16678                   style: "genlist_textblock_style";
16679                   min: 0 1;
16680 //                  min: 1 1;
16681                   align: 0.0 0.0;
16682                }
16683             }
16684             description { state: "selected" 0.0;
16685                inherit: "default" 0.0;
16686                text {
16687                   style: "genlist_textblock_style2";
16688                }
16689             }
16690          }
16691          part { name: "fg1";
16692             clip_to: "disclip";
16693             mouse_events: 0;
16694             description { state: "default" 0.0;
16695                visible: 0;
16696                color: 255 255 255 0;
16697                rel1.to: "bg";
16698                rel2.relative: 1.0 0.5;
16699                rel2.to: "bg";
16700                image {
16701                   normal: "bt_sm_hilight.png";
16702                   border: 6 6 6 0;
16703                }
16704             }
16705             description { state: "selected" 0.0;
16706                inherit: "default" 0.0;
16707                visible: 1;
16708                color: 255 255 255 255;
16709             }
16710          }
16711          part { name: "fg2";
16712             clip_to: "disclip";
16713             mouse_events: 0;
16714             description { state: "default" 0.0;
16715                visible: 0;
16716                color: 255 255 255 0;
16717                rel1.to: "bg";
16718                rel2.to: "bg";
16719                image {
16720                   normal: "bt_sm_shine.png";
16721                   border: 6 6 6 0;
16722                }
16723             }
16724             description { state: "selected" 0.0;
16725                inherit: "default" 0.0;
16726                visible: 1;
16727                color: 255 255 255 255;
16728             }
16729          }
16730          part { name: "disclip";
16731             type: RECT;
16732             description { state: "default" 0.0;
16733                rel1.to: "bg";
16734                rel2.to: "bg";
16735             }
16736             description { state: "disabled" 0.0;
16737                inherit: "default" 0.0;
16738                color: 255 255 255 64;
16739             }
16740          }
16741       }
16742       programs {
16743          // signal: elm,state,%s,active
16744          //   a "check" item named %s went active
16745          // signal: elm,state,%s,passive
16746          //   a "check" item named %s went passive
16747          // default is passive
16748          program {
16749             name:    "odd";
16750             signal:  "elm,state,odd";
16751             source:  "elm";
16752             action:  STATE_SET "default" 1.0;
16753             target:  "base_sh";
16754             target:  "base";
16755          }
16756          program {
16757             name:    "even";
16758             signal:  "elm,state,even";
16759             source:  "elm";
16760             action:  STATE_SET "default" 0.0;
16761             target:  "base_sh";
16762             target:  "base";
16763          }
16764          program {
16765             name:    "go_active";
16766             signal:  "elm,state,selected";
16767             source:  "elm";
16768             action:  STATE_SET "selected" 0.0;
16769             target:  "bg";
16770             target:  "fg1";
16771             target:  "fg2";
16772             target:  "elm.title.1";
16773             target:  "elm.title.2";
16774             target:  "elm.text";
16775          }
16776          program {
16777             name:    "go_passive";
16778             signal:  "elm,state,unselected";
16779             source:  "elm";
16780             action:  STATE_SET "default" 0.0;
16781             target:  "bg";
16782             target:  "fg1";
16783             target:  "fg2";
16784             target:  "elm.title.1";
16785             target:  "elm.title.2";
16786             target:  "elm.text";
16787             transition: LINEAR 0.1;
16788          }
16789          program {
16790             name:    "go_disabled";
16791             signal:  "elm,state,disabled";
16792             source:  "elm";
16793             action:  STATE_SET "disabled" 0.0;
16794             target:  "disclip";
16795          }
16796          program {
16797             name:    "go_enabled";
16798             signal:  "elm,state,enabled";
16799             source:  "elm";
16800             action:  STATE_SET "default" 0.0;
16801             target:  "disclip";
16802          }
16803       }
16804    }
16805
16806    group { name: "elm/genlist/item_compress/default/default";
16807       data.item: "selectraise" "on";
16808       data.item: "labels" "elm.text";
16809       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16810       data.item: "treesize" "20";
16811 //      data.item: "states" "";
16812       images {
16813          image: "bt_sm_base1.png" COMP;
16814          image: "bt_sm_shine.png" COMP;
16815          image: "bt_sm_hilight.png" COMP;
16816          image: "ilist_1.png" COMP;
16817          image: "ilist_2.png" COMP;
16818          image: "ilist_item_shadow.png" COMP;
16819       }
16820       parts {
16821          part {
16822             name:           "event";
16823             type:           RECT;
16824             repeat_events: 1;
16825             description {
16826                state: "default" 0.0;
16827                color: 0 0 0 0;
16828             }
16829          }
16830          part {
16831             name: "base_sh";
16832             mouse_events: 0;
16833             description {
16834                state: "default" 0.0;
16835                align: 0.0 0.0;
16836                min: 0 10;
16837                fixed: 1 1;
16838                rel1 {
16839                   to: "base";
16840                   relative: 0.0 1.0;
16841                   offset: 0 0;
16842                }
16843                rel2 {
16844                   to: "base";
16845                   relative: 1.0 1.0;
16846                   offset: -1 0;
16847                }
16848                image {
16849                   normal: "ilist_item_shadow.png";
16850                }
16851                fill.smooth: 0;
16852             }
16853             description {
16854                state: "default" 1.0;
16855                inherit: "default" 0.0;
16856                visible: 0;
16857             }
16858          }
16859          part {
16860             name: "base";
16861             mouse_events: 0;
16862             description {
16863                state: "default" 0.0;
16864                image {
16865                   normal: "ilist_1.png";
16866                   border: 2 2 2 2;
16867                }
16868                fill.smooth: 0;
16869             }
16870             description {
16871                state: "default" 1.0;
16872                inherit: "default" 0.0;
16873                image.normal: "ilist_2.png";
16874             }
16875          }
16876          part { name: "bg";
16877             clip_to: "disclip";
16878             mouse_events: 0;
16879             description { state: "default" 0.0;
16880                visible: 0;
16881                color: 255 255 255 0;
16882                rel1 {
16883                   relative: 0.0 0.0;
16884                   offset: -5 -5;
16885                }
16886                rel2 {
16887                   relative: 1.0 1.0;
16888                   offset: 4 4;
16889                }
16890                image {
16891                   normal: "bt_sm_base1.png";
16892                   border: 6 6 6 6;
16893                }
16894                image.middle: SOLID;
16895             }
16896             description { state: "selected" 0.0;
16897                inherit: "default" 0.0;
16898                visible: 1;
16899                color: 255 255 255 255;
16900                rel1 {
16901                   relative: 0.0 0.0;
16902                   offset: -2 -2;
16903                }
16904                rel2 {
16905                   relative: 1.0 1.0;
16906                   offset: 1 1;
16907                }
16908             }
16909          }
16910          part { name: "elm.swallow.pad";
16911             type: SWALLOW;
16912             description { state: "default" 0.0;
16913                fixed: 1 0;
16914                align: 0.0 0.5;
16915                rel1 {
16916                   relative: 0.0  0.0;
16917                   offset:   4    4;
16918                }
16919                rel2 {
16920                   relative: 0.0  1.0;
16921                   offset:   4   -5;
16922                }
16923             }
16924          }
16925          part { name: "elm.swallow.icon";
16926             clip_to: "disclip";
16927             type: SWALLOW;
16928             description { state: "default" 0.0;
16929                fixed: 1 0;
16930                align: 0.0 0.5;
16931                rel1 {
16932                   to_x: "elm.swallow.pad";
16933                   relative: 1.0  0.0;
16934                   offset:   -1    4;
16935                }
16936                rel2 {
16937                   to_x: "elm.swallow.pad";
16938                   relative: 1.0  1.0;
16939                   offset:   -1   -5;
16940                }
16941             }
16942          }
16943          part { name: "elm.swallow.end";
16944             clip_to: "disclip";
16945             type: SWALLOW;
16946             description { state: "default" 0.0;
16947                fixed: 1 0;
16948                align: 1.0 0.5;
16949                aspect: 1.0 1.0;
16950                aspect_preference: VERTICAL;
16951                rel1 {
16952                   relative: 1.0  0.0;
16953                   offset:   -5    4;
16954                }
16955                rel2 {
16956                   relative: 1.0  1.0;
16957                   offset:   -5   -5;
16958                }
16959             }
16960          }
16961          part { name: "elm.text";
16962             clip_to: "disclip";
16963             type:           TEXT;
16964             effect:         SOFT_SHADOW;
16965             mouse_events:   0;
16966             scale: 1;
16967             description {
16968                state: "default" 0.0;
16969 //               min: 16 16;
16970                rel1 {
16971                   to_x:     "elm.swallow.icon";
16972                   relative: 1.0  0.0;
16973                   offset:   0 4;
16974                }
16975                rel2 {
16976                   to_x:     "elm.swallow.end";
16977                   relative: 0.0  1.0;
16978                   offset:   -1 -5;
16979                }
16980                color: 0 0 0 255;
16981                color3: 0 0 0 0;
16982                text {
16983                   font: "Sans";
16984                   size: 10;
16985                   min: 0 1;
16986 //                  min: 1 1;
16987                   align: 0.0 0.5;
16988                   text_class: "list_item";
16989                }
16990             }
16991             description { state: "selected" 0.0;
16992                inherit: "default" 0.0;
16993                color: 224 224 224 255;
16994                color3: 0 0 0 64;
16995             }
16996          }
16997          part { name: "fg1";
16998             clip_to: "disclip";
16999             mouse_events: 0;
17000             description { state: "default" 0.0;
17001                visible: 0;
17002                color: 255 255 255 0;
17003                rel1.to: "bg";
17004                rel2.relative: 1.0 0.5;
17005                rel2.to: "bg";
17006                image {
17007                   normal: "bt_sm_hilight.png";
17008                   border: 6 6 6 0;
17009                }
17010             }
17011             description { state: "selected" 0.0;
17012                inherit: "default" 0.0;
17013                visible: 1;
17014                color: 255 255 255 255;
17015             }
17016          }
17017          part { name: "fg2";
17018             clip_to: "disclip";
17019             mouse_events: 0;
17020             description { state: "default" 0.0;
17021                visible: 0;
17022                color: 255 255 255 0;
17023                rel1.to: "bg";
17024                rel2.to: "bg";
17025                image {
17026                   normal: "bt_sm_shine.png";
17027                   border: 6 6 6 0;
17028                }
17029             }
17030             description { state: "selected" 0.0;
17031                inherit: "default" 0.0;
17032                visible: 1;
17033                color: 255 255 255 255;
17034             }
17035          }
17036          part { name: "disclip";
17037             type: RECT;
17038             description { state: "default" 0.0;
17039                rel1.to: "bg";
17040                rel2.to: "bg";
17041             }
17042             description { state: "disabled" 0.0;
17043                inherit: "default" 0.0;
17044                color: 255 255 255 64;
17045             }
17046          }
17047       }
17048       programs {
17049          // signal: elm,state,%s,active
17050          //   a "check" item named %s went active
17051          // signal: elm,state,%s,passive
17052          //   a "check" item named %s went passive
17053          // default is passive
17054          program {
17055             name:    "odd";
17056             signal:  "elm,state,odd";
17057             source:  "elm";
17058             action:  STATE_SET "default" 1.0;
17059             target:  "base_sh";
17060             target:  "base";
17061          }
17062          program {
17063             name:    "even";
17064             signal:  "elm,state,even";
17065             source:  "elm";
17066             action:  STATE_SET "default" 0.0;
17067             target:  "base_sh";
17068             target:  "base";
17069          }
17070          program {
17071             name:    "go_active";
17072             signal:  "elm,state,selected";
17073             source:  "elm";
17074             action:  STATE_SET "selected" 0.0;
17075             target:  "bg";
17076             target:  "fg1";
17077             target:  "fg2";
17078             target:  "elm.text";
17079          }
17080          program {
17081             name:    "go_passive";
17082             signal:  "elm,state,unselected";
17083             source:  "elm";
17084             action:  STATE_SET "default" 0.0;
17085             target:  "bg";
17086             target:  "fg1";
17087             target:  "fg2";
17088             target:  "elm.text";
17089             transition: LINEAR 0.1;
17090          }
17091          program {
17092             name:    "go_disabled";
17093             signal:  "elm,state,disabled";
17094             source:  "elm";
17095             action:  STATE_SET "disabled" 0.0;
17096             target:  "disclip";
17097          }
17098          program {
17099             name:    "go_enabled";
17100             signal:  "elm,state,enabled";
17101             source:  "elm";
17102             action:  STATE_SET "default" 0.0;
17103             target:  "disclip";
17104          }
17105       }
17106    }
17107
17108    group { name: "elm/genlist/tree/default/default";
17109       data.item: "selectraise" "on";
17110       data.item: "labels" "elm.text";
17111       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17112       data.item: "treesize" "20";
17113 //      data.item: "states" "";
17114       images {
17115          image: "bt_sm_base1.png" COMP;
17116          image: "bt_sm_shine.png" COMP;
17117          image: "bt_sm_hilight.png" COMP;
17118          image: "ilist_1.png" COMP;
17119          image: "ilist_2.png" COMP;
17120          image: "ilist_item_shadow.png" COMP;
17121          image: "icon_arrow_left.png" COMP;
17122          image: "icon_arrow_right.png" COMP;
17123          image: "icon_arrow_down.png" COMP;
17124       }
17125       parts {
17126          part {
17127             name:           "event";
17128             type:           RECT;
17129             repeat_events: 1;
17130             description {
17131                state: "default" 0.0;
17132                color: 0 0 0 0;
17133             }
17134          }
17135          part {
17136             name: "base_sh";
17137             mouse_events: 0;
17138             description {
17139                state: "default" 0.0;
17140                align: 0.0 0.0;
17141                min: 0 10;
17142                fixed: 1 1;
17143                rel1 {
17144                   to: "base";
17145                   relative: 0.0 1.0;
17146                   offset: 0 0;
17147                }
17148                rel2 {
17149                   to: "base";
17150                   relative: 1.0 1.0;
17151                   offset: -1 0;
17152                }
17153                image {
17154                   normal: "ilist_item_shadow.png";
17155                }
17156                fill.smooth: 0;
17157             }
17158             description {
17159                state: "default" 1.0;
17160                inherit: "default" 0.0;
17161                visible: 0;
17162             }
17163          }
17164          part {
17165             name: "base";
17166             mouse_events: 0;
17167             description {
17168                state: "default" 0.0;
17169                image {
17170                   normal: "ilist_1.png";
17171                   border: 2 2 2 2;
17172                }
17173                fill.smooth: 0;
17174             }
17175             description {
17176                state: "default" 1.0;
17177                inherit: "default" 0.0;
17178                image.normal: "ilist_2.png";
17179             }
17180          }
17181          part { name: "bg";
17182             clip_to: "disclip";
17183             mouse_events: 0;
17184             description { state: "default" 0.0;
17185                visible: 0;
17186                color: 255 255 255 0;
17187                rel1 {
17188                   relative: 0.0 0.0;
17189                   offset: -5 -5;
17190                }
17191                rel2 {
17192                   relative: 1.0 1.0;
17193                   offset: 4 4;
17194                }
17195                image {
17196                   normal: "bt_sm_base1.png";
17197                   border: 6 6 6 6;
17198                }
17199                image.middle: SOLID;
17200             }
17201             description { state: "selected" 0.0;
17202                inherit: "default" 0.0;
17203                visible: 1;
17204                color: 255 255 255 255;
17205                rel1 {
17206                   relative: 0.0 0.0;
17207                   offset: -2 -2;
17208                }
17209                rel2 {
17210                   relative: 1.0 1.0;
17211                   offset: 1 1;
17212                }
17213             }
17214          }
17215          part { name: "elm.swallow.pad";
17216             type: SWALLOW;
17217             description { state: "default" 0.0;
17218                fixed: 1 0;
17219                align: 0.0 0.5;
17220                rel1 {
17221                   relative: 0.0  0.0;
17222                   offset:   4    4;
17223                }
17224                rel2 {
17225                   relative: 0.0  1.0;
17226                   offset:   4   -5;
17227                }
17228             }
17229          }
17230          part { name: "arrow";
17231             clip_to: "disclip";
17232             ignore_flags: ON_HOLD;
17233             description { state: "default" 0.0;
17234                fixed: 1 0;
17235                align: 0.0 0.5;
17236                aspect: 1.0 1.0;
17237                rel1 {
17238                   to_x: "elm.swallow.pad";
17239                   relative: 1.0  0.0;
17240                   offset:   -1    4;
17241                }
17242                rel2 {
17243                   to_x: "elm.swallow.pad";
17244                   relative: 1.0  1.0;
17245                   offset:   -1   -5;
17246                }
17247                image.normal: "icon_arrow_right.png";
17248             }
17249             description { state: "default" 0.1;
17250                inherit: "default" 0.0;
17251                image.normal: "icon_arrow_left.png";
17252             }
17253             description { state: "active" 0.0;
17254                inherit: "default" 0.0;
17255                image.normal: "icon_arrow_down.png";
17256             }
17257             description { state: "active" 0.1;
17258                inherit: "default" 0.0;
17259                image.normal: "icon_arrow_down.png";
17260             }
17261          }
17262          part { name: "elm.swallow.icon";
17263             clip_to: "disclip";
17264             type: SWALLOW;
17265             description { state: "default" 0.0;
17266                fixed: 1 0;
17267                align: 0.0 0.5;
17268                rel1 {
17269                   to_x: "arrow";
17270                   relative: 1.0  0.0;
17271                   offset:   4    4;
17272                }
17273                rel2 {
17274                   to_x: "arrow";
17275                   relative: 1.0  1.0;
17276                   offset:   4   -5;
17277                }
17278             }
17279          }
17280          part { name: "elm.swallow.end";
17281             clip_to: "disclip";
17282             type: SWALLOW;
17283             description { state: "default" 0.0;
17284                fixed: 1 0;
17285                align: 1.0 0.5;
17286                aspect: 1.0 1.0;
17287                aspect_preference: VERTICAL;
17288                rel1 {
17289                   relative: 1.0  0.0;
17290                   offset:   -5    4;
17291                }
17292                rel2 {
17293                   relative: 1.0  1.0;
17294                   offset:   -5   -5;
17295                }
17296             }
17297          }
17298          part { name: "elm.text";
17299             clip_to: "disclip";
17300             type:           TEXT;
17301             effect:         SOFT_SHADOW;
17302             mouse_events:   0;
17303             scale: 1;
17304             description {
17305                state: "default" 0.0;
17306 //               min: 16 16;
17307                rel1 {
17308                   to_x:     "elm.swallow.icon";
17309                   relative: 1.0  0.0;
17310                   offset:   0 4;
17311                }
17312                rel2 {
17313                   to_x:     "elm.swallow.end";
17314                   relative: 0.0  1.0;
17315                   offset:   -1 -5;
17316                }
17317                color: 0 0 0 255;
17318                color3: 0 0 0 0;
17319                text {
17320                   font: "Sans";
17321                   size: 10;
17322                   min: 1 1;
17323 //                  min: 0 1;
17324                   align: -1.0 0.5;
17325                   text_class: "list_item";
17326                }
17327             }
17328             description { state: "selected" 0.0;
17329                inherit: "default" 0.0;
17330                color: 224 224 224 255;
17331                color3: 0 0 0 64;
17332             }
17333          }
17334          part { name: "fg1";
17335             clip_to: "disclip";
17336             mouse_events: 0;
17337             description { state: "default" 0.0;
17338                visible: 0;
17339                color: 255 255 255 0;
17340                rel1.to: "bg";
17341                rel2.relative: 1.0 0.5;
17342                rel2.to: "bg";
17343                image {
17344                   normal: "bt_sm_hilight.png";
17345                   border: 6 6 6 0;
17346                }
17347             }
17348             description { state: "selected" 0.0;
17349                inherit: "default" 0.0;
17350                visible: 1;
17351                color: 255 255 255 255;
17352             }
17353          }
17354          part { name: "fg2";
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.to: "bg";
17362                image {
17363                   normal: "bt_sm_shine.png";
17364                   border: 6 6 6 0;
17365                }
17366             }
17367             description { state: "selected" 0.0;
17368                inherit: "default" 0.0;
17369                visible: 1;
17370                color: 255 255 255 255;
17371             }
17372          }
17373          part { name: "disclip";
17374             type: RECT;
17375             description { state: "default" 0.0;
17376                rel1.to: "bg";
17377                rel2.to: "bg";
17378             }
17379             description { state: "disabled" 0.0;
17380                inherit: "default" 0.0;
17381                color: 255 255 255 64;
17382             }
17383          }
17384       }
17385       programs {
17386          // signal: elm,state,%s,active
17387          //   a "check" item named %s went active
17388          // signal: elm,state,%s,passive
17389          //   a "check" item named %s went passive
17390          // default is passive
17391          program {
17392             name:    "odd";
17393             signal:  "elm,state,odd";
17394             source:  "elm";
17395             action:  STATE_SET "default" 1.0;
17396             target:  "base_sh";
17397             target:  "base";
17398          }
17399          program {
17400             name:    "even";
17401             signal:  "elm,state,even";
17402             source:  "elm";
17403             action:  STATE_SET "default" 0.0;
17404             target:  "base_sh";
17405             target:  "base";
17406          }
17407          program {
17408             name:    "go_active";
17409             signal:  "elm,state,selected";
17410             source:  "elm";
17411             action:  STATE_SET "selected" 0.0;
17412             target:  "bg";
17413             target:  "fg1";
17414             target:  "fg2";
17415             target:  "elm.text";
17416          }
17417          program {
17418             name:    "go_passive";
17419             signal:  "elm,state,unselected";
17420             source:  "elm";
17421             action:  STATE_SET "default" 0.0;
17422             target:  "bg";
17423             target:  "fg1";
17424             target:  "fg2";
17425             target:  "elm.text";
17426             transition: LINEAR 0.1;
17427          }
17428          program {
17429             name:    "go_disabled";
17430             signal:  "elm,state,disabled";
17431             source:  "elm";
17432             action:  STATE_SET "disabled" 0.0;
17433             target:  "disclip";
17434          }
17435          program {
17436             name:    "go_enabled";
17437             signal:  "elm,state,enabled";
17438             source:  "elm";
17439             action:  STATE_SET "default" 0.0;
17440             target:  "disclip";
17441          }
17442          program {
17443             name:    "expand";
17444             signal:  "mouse,up,1";
17445             source:  "arrow";
17446             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17447          }
17448          program {
17449             name:    "go_expanded";
17450             signal:  "elm,state,expanded";
17451             source:  "elm";
17452             script {
17453                new st[31];
17454                new Float:vl;
17455                get_state(PART:"arrow", st, 30, vl);
17456                set_state(PART:"arrow", "active", vl);
17457             }
17458          }
17459          program {
17460             name:    "go_contracted";
17461             signal:  "elm,state,contracted";
17462             source:  "elm";
17463             script {
17464                new st[31];
17465                new Float:vl;
17466                get_state(PART:"arrow", st, 30, vl);
17467                set_state(PART:"arrow", "default", vl);
17468             }
17469          }
17470          program { name: "to_rtl";
17471             signal: "edje,state,rtl";
17472             source: "edje";
17473             script {
17474                new st[31];
17475                new Float:vl;
17476                get_state(PART:"arrow", st, 30, vl);
17477                if (vl == 0.0) {
17478                   set_state(PART:"arrow", st, 0.1);
17479                }
17480             }
17481          }
17482          program { name: "to_ltr";
17483             signal: "edje,state,ltr";
17484             source: "edje";
17485             script {
17486                new st[31];
17487                new Float:vl;
17488                get_state(PART:"arrow", st, 30, vl);
17489                if (vl == 0.1) {
17490                   set_state(PART:"arrow", st, 0.0);
17491                }
17492             }
17493          }
17494       }
17495    }
17496    group { name: "elm/genlist/tree_compress/default/default";
17497       data.item: "stacking" "above";
17498       data.item: "selectraise" "on";
17499       data.item: "labels" "elm.text";
17500       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17501       data.item: "treesize" "20";
17502 //      data.item: "states" "";
17503       images {
17504          image: "bt_sm_base1.png" COMP;
17505          image: "bt_sm_shine.png" COMP;
17506          image: "bt_sm_hilight.png" COMP;
17507          image: "ilist_1.png" COMP;
17508          image: "ilist_item_shadow.png" COMP;
17509          image: "icon_arrow_left.png" COMP;
17510          image: "icon_arrow_right.png" COMP;
17511          image: "icon_arrow_down.png" COMP;
17512       }
17513       parts {
17514          part {
17515             name:           "event";
17516             type:           RECT;
17517             repeat_events: 1;
17518             description {
17519                state: "default" 0.0;
17520                color: 0 0 0 0;
17521             }
17522          }
17523          part {
17524             name: "base_sh";
17525             mouse_events: 0;
17526             description {
17527                state: "default" 0.0;
17528                align: 0.0 0.0;
17529                min: 0 10;
17530                fixed: 1 1;
17531                rel1 {
17532                   to: "base";
17533                   relative: 0.0 1.0;
17534                   offset: 0 0;
17535                }
17536                rel2 {
17537                   to: "base";
17538                   relative: 1.0 1.0;
17539                   offset: -1 0;
17540                }
17541                image {
17542                   normal: "ilist_item_shadow.png";
17543                }
17544                fill.smooth: 0;
17545             }
17546             description {
17547                state: "default" 1.0;
17548                inherit: "default" 0.0;
17549                visible: 0;
17550             }
17551          }
17552          part {
17553             name: "base";
17554             mouse_events: 0;
17555             description {
17556                state: "default" 0.0;
17557                image {
17558                   normal: "ilist_1.png";
17559                   border: 2 2 2 2;
17560                }
17561                fill.smooth: 0;
17562             }
17563             description {
17564                state: "default" 1.0;
17565                inherit: "default" 0.0;
17566                image.normal: "ilist_2.png";
17567             }
17568          }
17569          part { name: "bg";
17570             clip_to: "disclip";
17571             mouse_events: 0;
17572             description { state: "default" 0.0;
17573                visible: 0;
17574                color: 255 255 255 0;
17575                rel1 {
17576                   relative: 0.0 0.0;
17577                   offset: -5 -5;
17578                }
17579                rel2 {
17580                   relative: 1.0 1.0;
17581                   offset: 4 4;
17582                }
17583                image {
17584                   normal: "bt_sm_base1.png";
17585                   border: 6 6 6 6;
17586                }
17587                image.middle: SOLID;
17588             }
17589             description { state: "selected" 0.0;
17590                inherit: "default" 0.0;
17591                visible: 1;
17592                color: 255 255 255 255;
17593                rel1 {
17594                   relative: 0.0 0.0;
17595                   offset: -2 -2;
17596                }
17597                rel2 {
17598                   relative: 1.0 1.0;
17599                   offset: 1 1;
17600                }
17601             }
17602          }
17603          part { name: "elm.swallow.pad";
17604             type: SWALLOW;
17605             description { state: "default" 0.0;
17606                fixed: 1 0;
17607                align: 0.0 0.5;
17608                rel1 {
17609                   relative: 0.0  0.0;
17610                   offset:   4    4;
17611                }
17612                rel2 {
17613                   relative: 0.0  1.0;
17614                   offset:   4   -5;
17615                }
17616             }
17617          }
17618          part { name: "arrow";
17619             clip_to: "disclip";
17620             ignore_flags: ON_HOLD;
17621             description { state: "default" 0.0;
17622                fixed: 1 0;
17623                align: 0.0 0.5;
17624                aspect: 1.0 1.0;
17625                rel1 {
17626                   to_x: "elm.swallow.pad";
17627                   relative: 1.0  0.0;
17628                   offset:   -1    4;
17629                }
17630                rel2 {
17631                   to_x: "elm.swallow.pad";
17632                   relative: 1.0  1.0;
17633                   offset:   -1   -5;
17634                }
17635                image.normal: "icon_arrow_right.png";
17636             }
17637             description { state: "default" 0.1;
17638                inherit: "default" 0.0;
17639                image.normal: "icon_arrow_left.png";
17640             }
17641             description { state: "active" 0.0;
17642                inherit: "default" 0.0;
17643                image.normal: "icon_arrow_down.png";
17644             }
17645             description { state: "active" 0.1;
17646                inherit: "default" 0.0;
17647                image.normal: "icon_arrow_down.png";
17648             }
17649          }
17650          part { name: "elm.swallow.icon";
17651             clip_to: "disclip";
17652             type: SWALLOW;
17653             description { state: "default" 0.0;
17654                fixed: 1 0;
17655                align: 0.0 0.5;
17656                rel1 {
17657                   to_x: "arrow";
17658                   relative: 1.0  0.0;
17659                   offset:   4    4;
17660                }
17661                rel2 {
17662                   to_x: "arrow";
17663                   relative: 1.0  1.0;
17664                   offset:   4   -5;
17665                }
17666             }
17667          }
17668          part { name: "elm.swallow.end";
17669             clip_to: "disclip";
17670             type: SWALLOW;
17671             description { state: "default" 0.0;
17672                fixed: 1 0;
17673                align: 1.0 0.5;
17674                aspect: 1.0 1.0;
17675                aspect_preference: VERTICAL;
17676                rel1 {
17677                   relative: 1.0  0.0;
17678                   offset:   -5    4;
17679                }
17680                rel2 {
17681                   relative: 1.0  1.0;
17682                   offset:   -5   -5;
17683                }
17684             }
17685          }
17686          part { name: "elm.text";
17687             clip_to: "disclip";
17688             type:           TEXT;
17689             effect:         SOFT_SHADOW;
17690             mouse_events:   0;
17691             scale: 1;
17692             description {
17693                state: "default" 0.0;
17694 //               min: 16 16;
17695                rel1 {
17696                   to_x:     "elm.swallow.icon";
17697                   relative: 1.0  0.0;
17698                   offset:   0 4;
17699                }
17700                rel2 {
17701                   to_x:     "elm.swallow.end";
17702                   relative: 0.0  1.0;
17703                   offset:   -1 -5;
17704                }
17705                color: 0 0 0 255;
17706                color3: 0 0 0 0;
17707                text {
17708                   font: "Sans";
17709                   size: 10;
17710 //                  min: 1 1;
17711                   min: 0 1;
17712                   align: 0.0 0.5;
17713                   text_class: "list_item";
17714                }
17715             }
17716             description { state: "selected" 0.0;
17717                inherit: "default" 0.0;
17718                color: 224 224 224 255;
17719                color3: 0 0 0 64;
17720             }
17721          }
17722          part { name: "fg1";
17723             clip_to: "disclip";
17724             mouse_events: 0;
17725             description { state: "default" 0.0;
17726                visible: 0;
17727                color: 255 255 255 0;
17728                rel1.to: "bg";
17729                rel2.relative: 1.0 0.5;
17730                rel2.to: "bg";
17731                image {
17732                   normal: "bt_sm_hilight.png";
17733                   border: 6 6 6 0;
17734                }
17735             }
17736             description { state: "selected" 0.0;
17737                inherit: "default" 0.0;
17738                visible: 1;
17739                color: 255 255 255 255;
17740             }
17741          }
17742          part { name: "fg2";
17743             clip_to: "disclip";
17744             mouse_events: 0;
17745             description { state: "default" 0.0;
17746                visible: 0;
17747                color: 255 255 255 0;
17748                rel1.to: "bg";
17749                rel2.to: "bg";
17750                image {
17751                   normal: "bt_sm_shine.png";
17752                   border: 6 6 6 0;
17753                }
17754             }
17755             description { state: "selected" 0.0;
17756                inherit: "default" 0.0;
17757                visible: 1;
17758                color: 255 255 255 255;
17759             }
17760          }
17761          part { name: "disclip";
17762             type: RECT;
17763             description { state: "default" 0.0;
17764                rel1.to: "bg";
17765                rel2.to: "bg";
17766             }
17767             description { state: "disabled" 0.0;
17768                inherit: "default" 0.0;
17769                color: 255 255 255 64;
17770             }
17771          }
17772       }
17773       programs {
17774          // signal: elm,state,%s,active
17775          //   a "check" item named %s went active
17776          // signal: elm,state,%s,passive
17777          //   a "check" item named %s went passive
17778          // default is passive
17779          program {
17780             name:    "odd";
17781             signal:  "elm,state,odd";
17782             source:  "elm";
17783             action:  STATE_SET "default" 1.0;
17784             target:  "base_sh";
17785             target:  "base";
17786          }
17787          program {
17788             name:    "even";
17789             signal:  "elm,state,even";
17790             source:  "elm";
17791             action:  STATE_SET "default" 0.0;
17792             target:  "base_sh";
17793             target:  "base";
17794          }
17795          program {
17796             name:    "go_active";
17797             signal:  "elm,state,selected";
17798             source:  "elm";
17799             action:  STATE_SET "selected" 0.0;
17800             target:  "bg";
17801             target:  "fg1";
17802             target:  "fg2";
17803             target:  "elm.text";
17804          }
17805          program {
17806             name:    "go_passive";
17807             signal:  "elm,state,unselected";
17808             source:  "elm";
17809             action:  STATE_SET "default" 0.0;
17810             target:  "bg";
17811             target:  "fg1";
17812             target:  "fg2";
17813             target:  "elm.text";
17814             transition: LINEAR 0.1;
17815          }
17816          program {
17817             name:    "go_disabled";
17818             signal:  "elm,state,disabled";
17819             source:  "elm";
17820             action:  STATE_SET "disabled" 0.0;
17821             target:  "disclip";
17822          }
17823          program {
17824             name:    "go_enabled";
17825             signal:  "elm,state,enabled";
17826             source:  "elm";
17827             action:  STATE_SET "default" 0.0;
17828             target:  "disclip";
17829          }
17830          program {
17831             name:    "expand";
17832             signal:  "mouse,up,1";
17833             source:  "arrow";
17834             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17835          }
17836          program {
17837             name:    "go_expanded";
17838             signal:  "elm,state,expanded";
17839             source:  "elm";
17840             script {
17841                new st[31];
17842                new Float:vl;
17843                get_state(PART:"arrow", st, 30, vl);
17844                set_state(PART:"arrow", "active", vl);
17845             }
17846          }
17847          program {
17848             name:    "go_contracted";
17849             signal:  "elm,state,contracted";
17850             source:  "elm";
17851             script {
17852                new st[31];
17853                new Float:vl;
17854                get_state(PART:"arrow", st, 30, vl);
17855                set_state(PART:"arrow", "default", vl);
17856             }
17857          }
17858          program { name: "to_rtl";
17859             signal: "edje,state,rtl";
17860             source: "edje";
17861             script {
17862                new st[31];
17863                new Float:vl;
17864                get_state(PART:"arrow", st, 30, vl);
17865                if (vl == 0.0) {
17866                   set_state(PART:"arrow", st, 0.1);
17867                }
17868             }
17869          }
17870          program { name: "to_ltr";
17871             signal: "edje,state,ltr";
17872             source: "edje";
17873             script {
17874                new st[31];
17875                new Float:vl;
17876                get_state(PART:"arrow", st, 30, vl);
17877                if (vl == 0.1) {
17878                   set_state(PART:"arrow", st, 0.0);
17879                }
17880             }
17881          }
17882       }
17883    }
17884    group { name: "elm/genlist/item/default_style/default";
17885        styles
17886        {
17887            style { name: "genlist_style";
17888                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17889                tag:  "br" "\n";
17890                tag:  "ps" "ps";
17891                tag:  "hilight" "+ font=Sans:style=Bold";
17892                tag:  "b" "+ font=Sans:style=Bold";
17893                tag:  "tab" "\t";
17894            }
17895            style { name: "genlist_selected_style";
17896                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17897                tag:  "br" "\n";
17898                tag:  "ps" "ps";
17899                tag:  "hilight" "+ font=Sans:style=Bold";
17900                tag:  "b" "+ font=Sans:style=Bold";
17901                tag:  "tab" "\t";
17902            }
17903        }
17904        data.item: "stacking" "above";
17905        data.item: "selectraise" "on";
17906        data.item: "labels" "elm.text";
17907        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17908        data.item: "treesize" "20";
17909        images {
17910            image: "bt_sm_base1.png" COMP;
17911            image: "bt_sm_shine.png" COMP;
17912            image: "bt_sm_hilight.png" COMP;
17913            image: "ilist_1.png" COMP;
17914            image: "ilist_item_shadow.png" COMP;
17915        }
17916        parts {
17917            part {
17918                name:           "event";
17919                type:           RECT;
17920                repeat_events: 1;
17921                description {
17922                    state: "default" 0.0;
17923                    color: 0 0 0 0;
17924                }
17925            }
17926            part {
17927                name: "base_sh";
17928                mouse_events: 0;
17929                description {
17930                    state: "default" 0.0;
17931                    align: 0.0 0.0;
17932                    min: 0 10;
17933                    fixed: 1 1;
17934                    rel1 {
17935                        to: "base";
17936                        relative: 0.0 1.0;
17937                        offset: 0 0;
17938                    }
17939                    rel2 {
17940                        to: "base";
17941                        relative: 1.0 1.0;
17942                        offset: -1 0;
17943                    }
17944                    image {
17945                        normal: "ilist_item_shadow.png";
17946                    }
17947                    fill.smooth: 0;
17948                }
17949            }
17950            part {
17951                name: "base";
17952                mouse_events: 0;
17953                description {
17954                    state: "default" 0.0;
17955                    min: 16 28;
17956                    image {
17957                        normal: "ilist_1.png";
17958                        border: 2 2 2 2;
17959                    }
17960                    fill.smooth: 0;
17961                }
17962            }
17963            part { name: "bg";
17964                clip_to: "disclip";
17965                mouse_events: 0;
17966                description { state: "default" 0.0;
17967                    visible: 0;
17968                    color: 255 255 255 0;
17969                    rel1 {
17970                        relative: 0.0 0.0;
17971                        offset: -5 -5;
17972                    }
17973                    rel2 {
17974                        relative: 1.0 1.0;
17975                        offset: 4 4;
17976                    }
17977                    image {
17978                        normal: "bt_sm_base1.png";
17979                        border: 6 6 6 6;
17980                    }
17981                    image.middle: SOLID;
17982                }
17983                description { state: "selected" 0.0;
17984                    inherit: "default" 0.0;
17985                    visible: 1;
17986                    color: 255 255 255 255;
17987                    rel1 {
17988                        relative: 0.0 0.0;
17989                        offset: -2 -2;
17990                    }
17991                    rel2 {
17992                        relative: 1.0 1.0;
17993                        offset: 1 1;
17994                    }
17995                }
17996            }
17997            part { name: "elm.swallow.pad";
17998                type: SWALLOW;
17999                description { state: "default" 0.0;
18000                    fixed: 1 0;
18001                    align: 0.0 0.5;
18002                    rel1 {
18003                        relative: 0.0  0.0;
18004                        offset:   4    4;
18005                    }
18006                    rel2 {
18007                        relative: 0.0  1.0;
18008                        offset:   4   -5;
18009                    }
18010                }
18011            }
18012            part { name: "elm.swallow.icon";
18013                clip_to: "disclip";
18014                type: SWALLOW;
18015                description { state: "default" 0.0;
18016                    fixed: 1 0;
18017                    align: 0.0 0.5;
18018                    rel1 {
18019                        to_x: "elm.swallow.pad";
18020                        relative: 1.0  0.0;
18021                        offset:   -1    4;
18022                    }
18023                    rel2 {
18024                        to_x: "elm.swallow.pad";
18025                        relative: 1.0  1.0;
18026                        offset:   -1   -5;
18027                    }
18028                }
18029            }
18030            part { name: "elm.swallow.end";
18031                clip_to: "disclip";
18032                type: SWALLOW;
18033                description { state: "default" 0.0;
18034                    fixed: 1 0;
18035                    align: 1.0 0.5;
18036                    aspect: 1.0 1.0;
18037                    aspect_preference: VERTICAL;
18038                    rel1 {
18039                        relative: 1.0  0.0;
18040                        offset:   -5    4;
18041                    }
18042                    rel2 {
18043                        relative: 1.0  1.0;
18044                        offset:   -5   -5;
18045                    }
18046                }
18047            }
18048            part { name: "elm.text";
18049                clip_to: "disclip";
18050                type: TEXTBLOCK;
18051                mouse_events: 0;
18052                scale: 1;
18053                description {
18054                    state: "default" 0.0;
18055                    align: 0.0 0.5;
18056                    fixed: 0 1;
18057                    rel1 {
18058                        to_x: "elm.swallow.icon";
18059                        to_y: "base";
18060                        relative: 1.0  0.5;
18061                        offset:   0 4;
18062                    }
18063                    rel2 {
18064                        to_x: "elm.swallow.end";
18065                        to_y: "base";
18066                        relative: 0.0  0.5;
18067                        offset:   -1 -5;
18068                    }
18069                    text {
18070                        style: "genlist_style";
18071                        min: 1 1;
18072                    }
18073                }
18074                description { state: "selected" 0.0;
18075                    inherit: "default" 0.0;
18076                    text {
18077                        style: "genlist_selected_style";
18078                    }
18079                }
18080            }
18081            part { name: "fg1";
18082                clip_to: "disclip";
18083                mouse_events: 0;
18084                description { state: "default" 0.0;
18085                    visible: 0;
18086                    color: 255 255 255 0;
18087                    rel1.to: "bg";
18088                    rel2.relative: 1.0 0.5;
18089                    rel2.to: "bg";
18090                    image {
18091                        normal: "bt_sm_hilight.png";
18092                        border: 6 6 6 0;
18093                    }
18094                }
18095                description { state: "selected" 0.0;
18096                    inherit: "default" 0.0;
18097                    visible: 1;
18098                    color: 255 255 255 255;
18099                }
18100            }
18101            part { name: "fg2";
18102                clip_to: "disclip";
18103                mouse_events: 0;
18104                description { state: "default" 0.0;
18105                    visible: 0;
18106                    color: 255 255 255 0;
18107                    rel1.to: "bg";
18108                    rel2.to: "bg";
18109                    image {
18110                        normal: "bt_sm_shine.png";
18111                        border: 6 6 6 0;
18112                    }
18113                }
18114                description { state: "selected" 0.0;
18115                    inherit: "default" 0.0;
18116                    visible: 1;
18117                    color: 255 255 255 255;
18118                }
18119            }
18120            part { name: "disclip";
18121                type: RECT;
18122                description { state: "default" 0.0;
18123                    rel1.to: "bg";
18124                    rel2.to: "bg";
18125                }
18126                description { state: "disabled" 0.0;
18127                    inherit: "default" 0.0;
18128                    color: 255 255 255 64;
18129                }
18130            }
18131        }
18132        programs {
18133            // signal: elm,state,%s,active
18134            //   a "check" item named %s went active
18135            // signal: elm,state,%s,passive
18136            //   a "check" item named %s went passive
18137            // default is passive
18138            program {
18139                name:    "go_active";
18140                signal:  "elm,state,selected";
18141                source:  "elm";
18142                action:  STATE_SET "selected" 0.0;
18143                target:  "bg";
18144                target:  "fg1";
18145                target:  "fg2";
18146                target:  "elm.text";
18147            }
18148            program {
18149                name:    "go_passive";
18150                signal:  "elm,state,unselected";
18151                source:  "elm";
18152                action:  STATE_SET "default" 0.0;
18153                target:  "bg";
18154                target:  "fg1";
18155                target:  "fg2";
18156                target:  "elm.text";
18157                transition: LINEAR 0.1;
18158            }
18159            program {
18160                name:    "go_disabled";
18161                signal:  "elm,state,disabled";
18162                source:  "elm";
18163                action:  STATE_SET "disabled" 0.0;
18164                target:  "disclip";
18165            }
18166            program {
18167                name:    "go_enabled";
18168                signal:  "elm,state,enabled";
18169                source:  "elm";
18170                action:  STATE_SET "default" 0.0;
18171                target:  "disclip";
18172            }
18173        }
18174    }
18175    group { name: "elm/genlist/item_odd/default_style/default";
18176        data.item: "stacking" "below";
18177        data.item: "selectraise" "on";
18178        data.item: "labels" "elm.text";
18179        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18180        data.item: "treesize" "20";
18181        images {
18182            image: "bt_sm_base1.png" COMP;
18183            image: "bt_sm_shine.png" COMP;
18184            image: "bt_sm_hilight.png" COMP;
18185            image: "ilist_2.png" COMP;
18186        }
18187        parts {
18188            part { name: "event";
18189                type: RECT;
18190                repeat_events: 1;
18191                description {
18192                    state: "default" 0.0;
18193                    color: 0 0 0 0;
18194                }
18195            }
18196            part {
18197                name: "base";
18198                mouse_events: 0;
18199                description {
18200                    state: "default" 0.0;
18201                    min: 16 28;
18202                    image {
18203                        normal: "ilist_2.png";
18204                        border: 2 2 2 2;
18205                    }
18206                    fill.smooth: 0;
18207                }
18208            }
18209            part { name: "bg";
18210                clip_to: "disclip";
18211                mouse_events: 0;
18212                description { state: "default" 0.0;
18213                    visible: 0;
18214                    color: 255 255 255 0;
18215                    rel1 {
18216                        relative: 0.0 0.0;
18217                        offset: -5 -5;
18218                    }
18219                    rel2 {
18220                        relative: 1.0 1.0;
18221                        offset: 4 4;
18222                    }
18223                    image {
18224                        normal: "bt_sm_base1.png";
18225                        border: 6 6 6 6;
18226                    }
18227                    image.middle: SOLID;
18228                }
18229                description { state: "selected" 0.0;
18230                    inherit: "default" 0.0;
18231                    visible: 1;
18232                    color: 255 255 255 255;
18233                    rel1 {
18234                        relative: 0.0 0.0;
18235                        offset: -2 -2;
18236                    }
18237                    rel2 {
18238                        relative: 1.0 1.0;
18239                        offset: 1 1;
18240                    }
18241                }
18242            }
18243            part { name: "elm.swallow.pad";
18244                type: SWALLOW;
18245                description { state: "default" 0.0;
18246                    fixed: 1 0;
18247                    align: 0.0 0.5;
18248                    rel1 {
18249                        relative: 0.0  0.0;
18250                        offset:   4    4;
18251                    }
18252                    rel2 {
18253                        relative: 0.0  1.0;
18254                        offset:   4   -5;
18255                    }
18256                }
18257            }
18258            part { name: "elm.swallow.icon";
18259                clip_to: "disclip";
18260                type: SWALLOW;
18261                description { state: "default" 0.0;
18262                    fixed: 1 0;
18263                    align: 0.0 0.5;
18264                    rel1 {
18265                        to_x: "elm.swallow.pad";
18266                        relative: 1.0  0.0;
18267                        offset:   -1    4;
18268                    }
18269                    rel2 {
18270                        to_x: "elm.swallow.pad";
18271                        relative: 1.0  1.0;
18272                        offset:   -1   -5;
18273                    }
18274                }
18275            }
18276            part { name: "elm.swallow.end";
18277                clip_to: "disclip";
18278                type:          SWALLOW;
18279                description { state:    "default" 0.0;
18280                    fixed: 1 0;
18281                    align:    1.0 0.5;
18282                    aspect: 1.0 1.0;
18283                    aspect_preference: VERTICAL;
18284                    rel1 {
18285                        relative: 1.0  0.0;
18286                        offset:   -5    4;
18287                    }
18288                    rel2 {
18289                        relative: 1.0  1.0;
18290                        offset:   -5   -5;
18291                    }
18292                }
18293            }
18294            part { name: "elm.text";
18295                clip_to: "disclip";
18296                type:           TEXTBLOCK;
18297                mouse_events:   0;
18298                scale: 1;
18299                description {
18300                    state: "default" 0.0;
18301                    align: 0.0 0.5;
18302                    fixed: 0 1;
18303                    rel1 {
18304                        to_x: "elm.swallow.icon";
18305                        to_y: "base";
18306                        relative: 1.0  0.5;
18307                        offset:   0 4;
18308                    }
18309                    rel2 {
18310                        to_x: "elm.swallow.end";
18311                        to_y: "base";
18312                        relative: 0.0  0.5;
18313                        offset:   -1 -5;
18314                    }
18315                    text {
18316                        style: "genlist_style";
18317                        min: 1 1;
18318                    }
18319                }
18320                description { state: "selected" 0.0;
18321                    inherit: "default" 0.0;
18322                    text {
18323                        style: "genlist_selected_style";
18324                    }
18325                }
18326            }
18327            part { name: "fg1";
18328                clip_to: "disclip";
18329                mouse_events: 0;
18330                description { state: "default" 0.0;
18331                    visible: 0;
18332                    color: 255 255 255 0;
18333                    rel1.to: "bg";
18334                    rel2.relative: 1.0 0.5;
18335                    rel2.to: "bg";
18336                    image {
18337                        normal: "bt_sm_hilight.png";
18338                        border: 6 6 6 0;
18339                    }
18340                }
18341                description { state: "selected" 0.0;
18342                    inherit: "default" 0.0;
18343                    visible: 1;
18344                    color: 255 255 255 255;
18345                }
18346            }
18347            part { name: "fg2";
18348                clip_to: "disclip";
18349                mouse_events: 0;
18350                description { state: "default" 0.0;
18351                    visible: 0;
18352                    color: 255 255 255 0;
18353                    rel1.to: "bg";
18354                    rel2.to: "bg";
18355                    image {
18356                        normal: "bt_sm_shine.png";
18357                        border: 6 6 6 0;
18358                    }
18359                }
18360                description { state: "selected" 0.0;
18361                    inherit: "default" 0.0;
18362                    visible: 1;
18363                    color: 255 255 255 255;
18364                }
18365            }
18366            part { name: "disclip";
18367                type: RECT;
18368                description { state: "default" 0.0;
18369                    rel1.to: "bg";
18370                    rel2.to: "bg";
18371                }
18372                description { state: "disabled" 0.0;
18373                    inherit: "default" 0.0;
18374                    color: 255 255 255 64;
18375                }
18376            }
18377        }
18378        programs {
18379            // signal: elm,state,%s,active
18380            //   a "check" item named %s went active
18381            // signal: elm,state,%s,passive
18382            //   a "check" item named %s went passive
18383            // default is passive
18384            program {
18385                name:    "go_active";
18386                signal:  "elm,state,selected";
18387                source:  "elm";
18388                action:  STATE_SET "selected" 0.0;
18389                target:  "bg";
18390                target:  "fg1";
18391                target:  "fg2";
18392                target:  "elm.text";
18393            }
18394            program {
18395                name:    "go_passive";
18396                signal:  "elm,state,unselected";
18397                source:  "elm";
18398                action:  STATE_SET "default" 0.0;
18399                target:  "bg";
18400                target:  "fg1";
18401                target:  "fg2";
18402                target:  "elm.text";
18403                transition: LINEAR 0.1;
18404            }
18405            program {
18406                name:    "go_disabled";
18407                signal:  "elm,state,disabled";
18408                source:  "elm";
18409                action:  STATE_SET "disabled" 0.0;
18410                target:  "disclip";
18411            }
18412            program {
18413                name:    "go_enabled";
18414                signal:  "elm,state,enabled";
18415                source:  "elm";
18416                action:  STATE_SET "default" 0.0;
18417                target:  "disclip";
18418            }
18419        }
18420    }
18421
18422    group { name: "elm/genlist/tree/default_style/default";
18423        data.item: "stacking" "above";
18424        data.item: "selectraise" "on";
18425        data.item: "labels" "elm.text";
18426        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18427        data.item: "treesize" "20";
18428        images {
18429            image: "bt_sm_base1.png" COMP;
18430            image: "bt_sm_shine.png" COMP;
18431            image: "bt_sm_hilight.png" COMP;
18432            image: "ilist_1.png" COMP;
18433            image: "ilist_item_shadow.png" COMP;
18434            image: "icon_arrow_right.png" COMP;
18435            image: "icon_arrow_down.png" COMP;
18436        }
18437        parts {
18438            part {
18439                name:           "event";
18440                type:           RECT;
18441                repeat_events: 1;
18442                description {
18443                    state: "default" 0.0;
18444                    color: 0 0 0 0;
18445                }
18446            }
18447            part {
18448                name: "base_sh";
18449                mouse_events: 0;
18450                description {
18451                    state: "default" 0.0;
18452                    align: 0.0 0.0;
18453                    min: 0 10;
18454                    fixed: 1 1;
18455                    rel1 {
18456                        to: "base";
18457                        relative: 0.0 1.0;
18458                        offset: 0 0;
18459                    }
18460                    rel2 {
18461                        to: "base";
18462                        relative: 1.0 1.0;
18463                        offset: -1 0;
18464                    }
18465                    image {
18466                        normal: "ilist_item_shadow.png";
18467                    }
18468                    fill.smooth: 0;
18469                }
18470            }
18471            part {
18472                name: "base";
18473                mouse_events: 0;
18474                description {
18475                    state: "default" 0.0;
18476                    min: 16 28;
18477                    image {
18478                        normal: "ilist_1.png";
18479                        border: 2 2 2 2;
18480                    }
18481                    fill.smooth: 0;
18482                }
18483            }
18484            part { name: "bg";
18485                clip_to: "disclip";
18486                mouse_events: 0;
18487                description { state: "default" 0.0;
18488                    visible: 0;
18489                    color: 255 255 255 0;
18490                    rel1 {
18491                        relative: 0.0 0.0;
18492                        offset: -5 -5;
18493                    }
18494                    rel2 {
18495                        relative: 1.0 1.0;
18496                        offset: 4 4;
18497                    }
18498                    image {
18499                        normal: "bt_sm_base1.png";
18500                        border: 6 6 6 6;
18501                    }
18502                    image.middle: SOLID;
18503                }
18504                description { state: "selected" 0.0;
18505                    inherit: "default" 0.0;
18506                    visible: 1;
18507                    color: 255 255 255 255;
18508                    rel1 {
18509                        relative: 0.0 0.0;
18510                        offset: -2 -2;
18511                    }
18512                    rel2 {
18513                        relative: 1.0 1.0;
18514                        offset: 1 1;
18515                    }
18516                }
18517            }
18518            part { name: "elm.swallow.pad";
18519                type: SWALLOW;
18520                description { state: "default" 0.0;
18521                    fixed: 1 0;
18522                    align: 0.0 0.5;
18523                    rel1 {
18524                        relative: 0.0  0.0;
18525                        offset:   4    4;
18526                    }
18527                    rel2 {
18528                        relative: 0.0  1.0;
18529                        offset:   4   -5;
18530                    }
18531                }
18532            }
18533            part { name: "arrow";
18534                clip_to: "disclip";
18535                ignore_flags: ON_HOLD;
18536                description { state: "default" 0.0;
18537                    fixed: 1 0;
18538                    align: 0.0 0.5;
18539                    aspect: 1.0 1.0;
18540                    rel1 {
18541                        to_x: "elm.swallow.pad";
18542                        relative: 1.0  0.0;
18543                        offset:   -1    4;
18544                    }
18545                    rel2 {
18546                        to_x: "elm.swallow.pad";
18547                        relative: 1.0  1.0;
18548                        offset:   -1   -5;
18549                    }
18550                    image.normal: "icon_arrow_right.png";
18551                }
18552                description { state: "active" 0.0;
18553                    inherit: "default" 0.0;
18554                    image.normal: "icon_arrow_down.png";
18555                }
18556            }
18557            part { name: "elm.swallow.icon";
18558                clip_to: "disclip";
18559                type: SWALLOW;
18560                description { state: "default" 0.0;
18561                    fixed: 1 0;
18562                    align: 0.0 0.5;
18563                    rel1 {
18564                        to_x: "arrow";
18565                        relative: 1.0  0.0;
18566                        offset:   4    4;
18567                    }
18568                    rel2 {
18569                        to_x: "arrow";
18570                        relative: 1.0  1.0;
18571                        offset:   4   -5;
18572                    }
18573                }
18574            }
18575            part { name: "elm.swallow.end";
18576                clip_to: "disclip";
18577                type: SWALLOW;
18578                description { state: "default" 0.0;
18579                    fixed: 1 0;
18580                    align: 1.0 0.5;
18581                    aspect: 1.0 1.0;
18582                    aspect_preference: VERTICAL;
18583                    rel1 {
18584                        relative: 1.0  0.0;
18585                        offset:   -5    4;
18586                    }
18587                    rel2 {
18588                        relative: 1.0  1.0;
18589                        offset:   -5   -5;
18590                    }
18591                }
18592            }
18593            part { name: "elm.text";
18594                clip_to: "disclip";
18595                type:           TEXTBLOCK;
18596                effect:         SOFT_SHADOW;
18597                mouse_events:   0;
18598                scale: 1;
18599                description {
18600                    state: "default" 0.0;
18601                    align: 0.0 0.5;
18602                    fixed: 0 1;
18603                    rel1 {
18604                        to_x:     "elm.swallow.icon";
18605                        to_y: "base";
18606                        relative: 1.0  0.5;
18607                        offset:   0 4;
18608                    }
18609                    rel2 {
18610                        to_x:     "elm.swallow.end";
18611                        to_y: "base";
18612                        relative: 0.0  0.5;
18613                        offset:   -1 -5;
18614                    }
18615                    text {
18616                        style: "genlist_style";
18617                        min: 1 1;
18618                    }
18619                }
18620                description { state: "selected" 0.0;
18621                    inherit: "default" 0.0;
18622                    text {
18623                        style: "genlist_selected_style";
18624                    }
18625                }
18626            }
18627            part { name: "fg1";
18628                clip_to: "disclip";
18629                mouse_events: 0;
18630                description { state: "default" 0.0;
18631                    visible: 0;
18632                    color: 255 255 255 0;
18633                    rel1.to: "bg";
18634                    rel2.relative: 1.0 0.5;
18635                    rel2.to: "bg";
18636                    image {
18637                        normal: "bt_sm_hilight.png";
18638                        border: 6 6 6 0;
18639                    }
18640                }
18641                description { state: "selected" 0.0;
18642                    inherit: "default" 0.0;
18643                    visible: 1;
18644                    color: 255 255 255 255;
18645                }
18646            }
18647            part { name: "fg2";
18648                clip_to: "disclip";
18649                mouse_events: 0;
18650                description { state: "default" 0.0;
18651                    visible: 0;
18652                    color: 255 255 255 0;
18653                    rel1.to: "bg";
18654                    rel2.to: "bg";
18655                    image {
18656                        normal: "bt_sm_shine.png";
18657                        border: 6 6 6 0;
18658                    }
18659                }
18660                description { state: "selected" 0.0;
18661                    inherit: "default" 0.0;
18662                    visible: 1;
18663                    color: 255 255 255 255;
18664                }
18665            }
18666            part { name: "disclip";
18667                type: RECT;
18668                description { state: "default" 0.0;
18669                    rel1.to: "bg";
18670                    rel2.to: "bg";
18671                }
18672                description { state: "disabled" 0.0;
18673                    inherit: "default" 0.0;
18674                    color: 255 255 255 64;
18675                }
18676            }
18677        }
18678        programs {
18679            // signal: elm,state,%s,active
18680            //   a "check" item named %s went active
18681            // signal: elm,state,%s,passive
18682            //   a "check" item named %s went passive
18683            // default is passive
18684            program {
18685                name:    "go_active";
18686                signal:  "elm,state,selected";
18687                source:  "elm";
18688                action:  STATE_SET "selected" 0.0;
18689                target:  "bg";
18690                target:  "fg1";
18691                target:  "fg2";
18692                target:  "elm.text";
18693            }
18694            program {
18695                name:    "go_passive";
18696                signal:  "elm,state,unselected";
18697                source:  "elm";
18698                action:  STATE_SET "default" 0.0;
18699                target:  "bg";
18700                target:  "fg1";
18701                target:  "fg2";
18702                target:  "elm.text";
18703                transition: LINEAR 0.1;
18704            }
18705            program {
18706                name:    "go_disabled";
18707                signal:  "elm,state,disabled";
18708                source:  "elm";
18709                action:  STATE_SET "disabled" 0.0;
18710                target:  "disclip";
18711            }
18712            program {
18713                name:    "go_enabled";
18714                signal:  "elm,state,enabled";
18715                source:  "elm";
18716                action:  STATE_SET "default" 0.0;
18717                target:  "disclip";
18718            }
18719            program {
18720                name:    "expand";
18721                signal:  "mouse,up,1";
18722                source:  "arrow";
18723                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18724            }
18725            program {
18726                name:    "go_expanded";
18727                signal:  "elm,state,expanded";
18728                source:  "elm";
18729                action:  STATE_SET "active" 0.0;
18730                target:  "arrow";
18731            }
18732            program {
18733                name:    "go_contracted";
18734                signal:  "elm,state,contracted";
18735                source:  "elm";
18736                action:  STATE_SET "default" 0.0;
18737                target:  "arrow";
18738            }
18739        }
18740    }
18741    group { name: "elm/genlist/tree_odd/default_style/default";
18742        data.item: "stacking" "below";
18743        data.item: "selectraise" "on";
18744        data.item: "labels" "elm.text";
18745        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18746        data.item: "treesize" "20";
18747        images {
18748            image: "bt_sm_base1.png" COMP;
18749            image: "bt_sm_shine.png" COMP;
18750            image: "bt_sm_hilight.png" COMP;
18751            image: "ilist_2.png" COMP;
18752            image: "icon_arrow_right.png" COMP;
18753            image: "icon_arrow_down.png" COMP;
18754        }
18755        parts {
18756            part {
18757                name:           "event";
18758                type:           RECT;
18759                repeat_events: 1;
18760                description {
18761                    state: "default" 0.0;
18762                    color: 0 0 0 0;
18763                }
18764            }
18765            part {
18766                name: "base";
18767                mouse_events: 0;
18768                description {
18769                    state: "default" 0.0;
18770                    min: 16 28;
18771                    image {
18772                        normal: "ilist_2.png";
18773                        border: 2 2 2 2;
18774                    }
18775                    fill.smooth: 0;
18776                }
18777            }
18778            part { name: "bg";
18779                clip_to: "disclip";
18780                mouse_events: 0;
18781                description { state: "default" 0.0;
18782                    visible: 0;
18783                    color: 255 255 255 0;
18784                    rel1 {
18785                        relative: 0.0 0.0;
18786                        offset: -5 -5;
18787                    }
18788                    rel2 {
18789                        relative: 1.0 1.0;
18790                        offset: 4 4;
18791                    }
18792                    image {
18793                        normal: "bt_sm_base1.png";
18794                        border: 6 6 6 6;
18795                    }
18796                    image.middle: SOLID;
18797                }
18798                description { state: "selected" 0.0;
18799                    inherit: "default" 0.0;
18800                    visible: 1;
18801                    color: 255 255 255 255;
18802                    rel1 {
18803                        relative: 0.0 0.0;
18804                        offset: -2 -2;
18805                    }
18806                    rel2 {
18807                        relative: 1.0 1.0;
18808                        offset: 1 1;
18809                    }
18810                }
18811            }
18812            part { name: "elm.swallow.pad";
18813                type: SWALLOW;
18814                description { state: "default" 0.0;
18815                    fixed: 1 0;
18816                    align: 0.0 0.5;
18817                    rel1 {
18818                        relative: 0.0  0.0;
18819                        offset:   4    4;
18820                    }
18821                    rel2 {
18822                        relative: 0.0  1.0;
18823                        offset:   4   -5;
18824                    }
18825                }
18826            }
18827            part { name: "arrow";
18828                clip_to: "disclip";
18829                ignore_flags: ON_HOLD;
18830                description { state: "default" 0.0;
18831                    fixed: 1 0;
18832                    align: 0.0 0.5;
18833                    aspect: 1.0 1.0;
18834                    rel1 {
18835                        to_x: "elm.swallow.pad";
18836                        relative: 1.0  0.0;
18837                        offset:   -1    4;
18838                    }
18839                    rel2 {
18840                        to_x: "elm.swallow.pad";
18841                        relative: 1.0  1.0;
18842                        offset:   -1   -5;
18843                    }
18844                    image.normal: "icon_arrow_right.png";
18845                }
18846                description { state: "active" 0.0;
18847                    inherit: "default" 0.0;
18848                    image.normal: "icon_arrow_down.png";
18849                }
18850            }
18851            part { name: "elm.swallow.icon";
18852                clip_to: "disclip";
18853                type: SWALLOW;
18854                description { state: "default" 0.0;
18855                    fixed: 1 0;
18856                    align: 0.0 0.5;
18857                    rel1 {
18858                        to_x: "arrow";
18859                        relative: 1.0  0.0;
18860                        offset:   4    4;
18861                    }
18862                    rel2 {
18863                        to_x: "arrow";
18864                        relative: 1.0  1.0;
18865                        offset:   4   -5;
18866                    }
18867                }
18868            }
18869            part { name: "elm.swallow.end";
18870                clip_to: "disclip";
18871                type: SWALLOW;
18872                description { state: "default" 0.0;
18873                    fixed: 1 0;
18874                    align: 1.0 0.5;
18875                    aspect: 1.0 1.0;
18876                    aspect_preference: VERTICAL;
18877                    rel1 {
18878                        relative: 1.0  0.0;
18879                        offset:   -5    4;
18880                    }
18881                    rel2 {
18882                        relative: 1.0  1.0;
18883                        offset:   -5   -5;
18884                    }
18885                }
18886            }
18887            part { name: "elm.text";
18888                clip_to: "disclip";
18889                type:           TEXTBLOCK;
18890                effect:         SOFT_SHADOW;
18891                mouse_events:   0;
18892                scale: 1;
18893                description {
18894                    state: "default" 0.0;
18895                    align: 0.0 0.5;
18896                    fixed: 0 1;
18897                    rel1 {
18898                        to_x:     "elm.swallow.icon";
18899                        to_y: "base";
18900                        relative: 1.0  0.5;
18901                        offset:   0 4;
18902                    }
18903                    rel2 {
18904                        to_x:     "elm.swallow.end";
18905                        to_y: "base";
18906                        relative: 0.0  0.5;
18907                        offset:   -1 -5;
18908                    }
18909                    text {
18910                        style: "genlist_style";
18911                        min: 1 1;
18912                    }
18913                }
18914                description { state: "selected" 0.0;
18915                    inherit: "default" 0.0;
18916                    text {
18917                        style: "genlist_selected_style";
18918                    }
18919                }
18920            }
18921            part { name: "fg1";
18922                clip_to: "disclip";
18923                mouse_events: 0;
18924                description { state: "default" 0.0;
18925                    visible: 0;
18926                    color: 255 255 255 0;
18927                    rel1.to: "bg";
18928                    rel2.relative: 1.0 0.5;
18929                    rel2.to: "bg";
18930                    image {
18931                        normal: "bt_sm_hilight.png";
18932                        border: 6 6 6 0;
18933                    }
18934                }
18935                description { state: "selected" 0.0;
18936                    inherit: "default" 0.0;
18937                    visible: 1;
18938                    color: 255 255 255 255;
18939                }
18940            }
18941            part { name: "fg2";
18942                clip_to: "disclip";
18943                mouse_events: 0;
18944                description { state: "default" 0.0;
18945                    visible: 0;
18946                    color: 255 255 255 0;
18947                    rel1.to: "bg";
18948                    rel2.to: "bg";
18949                    image {
18950                        normal: "bt_sm_shine.png";
18951                        border: 6 6 6 0;
18952                    }
18953                }
18954                description { state: "selected" 0.0;
18955                    inherit: "default" 0.0;
18956                    visible: 1;
18957                    color: 255 255 255 255;
18958                }
18959            }
18960            part { name: "disclip";
18961                type: RECT;
18962                description { state: "default" 0.0;
18963                    rel1.to: "bg";
18964                    rel2.to: "bg";
18965                }
18966                description { state: "disabled" 0.0;
18967                    inherit: "default" 0.0;
18968                    color: 255 255 255 64;
18969                }
18970            }
18971        }
18972        programs {
18973            // signal: elm,state,%s,active
18974            //   a "check" item named %s went active
18975            // signal: elm,state,%s,passive
18976            //   a "check" item named %s went passive
18977            // default is passive
18978            program {
18979                name:    "go_active";
18980                signal:  "elm,state,selected";
18981                source:  "elm";
18982                action:  STATE_SET "selected" 0.0;
18983                target:  "bg";
18984                target:  "fg1";
18985                target:  "fg2";
18986                target:  "elm.text";
18987            }
18988            program {
18989                name:    "go_passive";
18990                signal:  "elm,state,unselected";
18991                source:  "elm";
18992                action:  STATE_SET "default" 0.0;
18993                target:  "bg";
18994                target:  "fg1";
18995                target:  "fg2";
18996                target:  "elm.text";
18997                transition: LINEAR 0.1;
18998            }
18999            program {
19000                name:    "go_disabled";
19001                signal:  "elm,state,disabled";
19002                source:  "elm";
19003                action:  STATE_SET "disabled" 0.0;
19004                target:  "disclip";
19005            }
19006            program {
19007                name:    "go_enabled";
19008                signal:  "elm,state,enabled";
19009                source:  "elm";
19010                action:  STATE_SET "default" 0.0;
19011                target:  "disclip";
19012            }
19013            program {
19014                name:    "expand";
19015                signal:  "mouse,up,1";
19016                source:  "arrow";
19017                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19018            }
19019            program {
19020                name:    "go_expanded";
19021                signal:  "elm,state,expanded";
19022                source:  "elm";
19023                action:  STATE_SET "active" 0.0;
19024                target:  "arrow";
19025            }
19026            program {
19027                name:    "go_contracted";
19028                signal:  "elm,state,contracted";
19029                source:  "elm";
19030                action:  STATE_SET "default" 0.0;
19031                target:  "arrow";
19032            }
19033        }
19034    }
19035
19036
19037    group { name: "elm/genlist/item/double_label/default";
19038       data.item: "stacking" "above";
19039       data.item: "selectraise" "on";
19040       data.item: "labels" "elm.text elm.text.sub";
19041       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19042       data.item: "treesize" "20";
19043 //      data.item: "states" "";
19044       images {
19045          image: "bt_sm_base1.png" COMP;
19046          image: "bt_sm_shine.png" COMP;
19047          image: "bt_sm_hilight.png" COMP;
19048          image: "ilist_1.png" COMP;
19049          image: "ilist_item_shadow.png" COMP;
19050       }
19051       parts {
19052          part {
19053             name:           "event";
19054             type:           RECT;
19055             repeat_events: 1;
19056             description {
19057                state: "default" 0.0;
19058                color: 0 0 0 0;
19059             }
19060          }
19061          part {
19062             name: "base_sh";
19063             mouse_events: 0;
19064             description {
19065                state: "default" 0.0;
19066                align: 0.0 0.0;
19067                min: 0 10;
19068                fixed: 1 1;
19069                rel1 {
19070                   to: "base";
19071                   relative: 0.0 1.0;
19072                   offset: 0 0;
19073                }
19074                rel2 {
19075                   to: "base";
19076                   relative: 1.0 1.0;
19077                   offset: -1 0;
19078                }
19079                image {
19080                   normal: "ilist_item_shadow.png";
19081                }
19082                fill.smooth: 0;
19083             }
19084          }
19085          part {
19086             name: "base";
19087             mouse_events: 0;
19088             description {
19089                state: "default" 0.0;
19090                image {
19091                   normal: "ilist_1.png";
19092                   border: 2 2 2 2;
19093                }
19094                fill.smooth: 0;
19095             }
19096          }
19097          part { name: "bg";
19098             clip_to: "disclip";
19099             mouse_events: 0;
19100             description { state: "default" 0.0;
19101                visible: 0;
19102                color: 255 255 255 0;
19103                rel1 {
19104                   relative: 0.0 0.0;
19105                   offset: -5 -5;
19106                }
19107                rel2 {
19108                   relative: 1.0 1.0;
19109                   offset: 4 4;
19110                }
19111                image {
19112                   normal: "bt_sm_base1.png";
19113                   border: 6 6 6 6;
19114                }
19115                image.middle: SOLID;
19116             }
19117             description { state: "selected" 0.0;
19118                inherit: "default" 0.0;
19119                visible: 1;
19120                color: 255 255 255 255;
19121                rel1 {
19122                   relative: 0.0 0.0;
19123                   offset: -2 -2;
19124                }
19125                rel2 {
19126                   relative: 1.0 1.0;
19127                   offset: 1 1;
19128                }
19129             }
19130          }
19131          part { name: "elm.swallow.pad";
19132             type: SWALLOW;
19133             description { state: "default" 0.0;
19134                fixed: 1 0;
19135                align: 0.0 0.5;
19136                rel1 {
19137                   relative: 0.0  0.0;
19138                   offset:   4    4;
19139                }
19140                rel2 {
19141                   relative: 0.0  1.0;
19142                   offset:   4   -5;
19143                }
19144             }
19145          }
19146          part { name: "elm.swallow.icon";
19147             clip_to: "disclip";
19148             type: SWALLOW;
19149             description { state: "default" 0.0;
19150                fixed: 1 0;
19151                align: 0.0 0.5;
19152                rel1 {
19153                   to_x: "elm.swallow.pad";
19154                   relative: 1.0  0.0;
19155                   offset:   -1    4;
19156                }
19157                rel2 {
19158                   to_x: "elm.swallow.pad";
19159                   relative: 1.0  1.0;
19160                   offset:   -1   -5;
19161                }
19162             }
19163          }
19164          part { name: "elm.swallow.end";
19165             clip_to: "disclip";
19166             type: SWALLOW;
19167             description { state: "default" 0.0;
19168                fixed: 1 0;
19169                align: 1.0 0.5;
19170                aspect: 1.0 1.0;
19171                aspect_preference: VERTICAL;
19172                rel1 {
19173                   relative: 1.0  0.0;
19174                   offset:   -5    4;
19175                }
19176                rel2 {
19177                   relative: 1.0  1.0;
19178                   offset:   -5   -5;
19179                }
19180             }
19181          }
19182          part { name: "elm.text";
19183             clip_to: "disclip";
19184             type:           TEXT;
19185             effect:         SOFT_SHADOW;
19186             mouse_events:   0;
19187             scale: 1;
19188             description {
19189                state: "default" 0.0;
19190 //               min: 16 16;
19191                rel1 {
19192                   to_x:     "elm.swallow.icon";
19193                   relative: 1.0  0.0;
19194                   offset:   0 4;
19195                }
19196                rel2 {
19197                   to_x:     "elm.swallow.end";
19198                   relative: 0.0  0.5;
19199                   offset:   -1 -5;
19200                }
19201                color: 0 0 0 255;
19202                color3: 0 0 0 0;
19203                text {
19204                   font: "Sans";
19205                   size: 10;
19206                   min: 1 1;
19207 //                  min: 0 1;
19208                   align: 0.0 0.5;
19209                   text_class: "list_item";
19210                }
19211             }
19212             description { state: "selected" 0.0;
19213                inherit: "default" 0.0;
19214                color: 224 224 224 255;
19215                color3: 0 0 0 64;
19216             }
19217          }
19218          part { name: "elm.text.sub";
19219             clip_to: "disclip";
19220             type:           TEXT;
19221             mouse_events:   0;
19222             scale: 1;
19223             description {
19224                state: "default" 0.0;
19225 //               min: 16 16;
19226                rel1 {
19227                   to_x:     "elm.swallow.icon";
19228                   relative: 1.0  0.5;
19229                   offset:   0 4;
19230                }
19231                rel2 {
19232                   to_x:     "elm.swallow.end";
19233                   relative: 0.0  1.0;
19234                   offset:   -1 -5;
19235                }
19236                color: 0 0 0 128;
19237                color3: 0 0 0 0;
19238                text {
19239                   font: "Sans";
19240                   size: 8;
19241                   min: 1 1;
19242 //                  min: 0 1;
19243                   align: 0.0 0.5;
19244                   text_class: "list_item";
19245                }
19246             }
19247             description { state: "selected" 0.0;
19248                inherit: "default" 0.0;
19249                color: 128 128 128 255;
19250                color3: 0 0 0 32;
19251             }
19252          }
19253          part { name: "fg1";
19254             clip_to: "disclip";
19255             mouse_events: 0;
19256             description { state: "default" 0.0;
19257                visible: 0;
19258                color: 255 255 255 0;
19259                rel1.to: "bg";
19260                rel2.relative: 1.0 0.5;
19261                rel2.to: "bg";
19262                image {
19263                   normal: "bt_sm_hilight.png";
19264                   border: 6 6 6 0;
19265                }
19266             }
19267             description { state: "selected" 0.0;
19268                inherit: "default" 0.0;
19269                visible: 1;
19270                color: 255 255 255 255;
19271             }
19272          }
19273          part { name: "fg2";
19274             clip_to: "disclip";
19275             mouse_events: 0;
19276             description { state: "default" 0.0;
19277                visible: 0;
19278                color: 255 255 255 0;
19279                rel1.to: "bg";
19280                rel2.to: "bg";
19281                image {
19282                   normal: "bt_sm_shine.png";
19283                   border: 6 6 6 0;
19284                }
19285             }
19286             description { state: "selected" 0.0;
19287                inherit: "default" 0.0;
19288                visible: 1;
19289                color: 255 255 255 255;
19290             }
19291          }
19292          part { name: "disclip";
19293             type: RECT;
19294             description { state: "default" 0.0;
19295                rel1.to: "bg";
19296                rel2.to: "bg";
19297             }
19298             description { state: "disabled" 0.0;
19299                inherit: "default" 0.0;
19300                color: 255 255 255 64;
19301             }
19302          }
19303       }
19304       programs {
19305          // signal: elm,state,%s,active
19306          //   a "check" item named %s went active
19307          // signal: elm,state,%s,passive
19308          //   a "check" item named %s went passive
19309          // default is passive
19310          program {
19311             name:    "go_active";
19312             signal:  "elm,state,selected";
19313             source:  "elm";
19314             action:  STATE_SET "selected" 0.0;
19315             target:  "bg";
19316             target:  "fg1";
19317             target:  "fg2";
19318             target:  "elm.text";
19319             target:  "elm.text.sub";
19320          }
19321          program {
19322             name:    "go_passive";
19323             signal:  "elm,state,unselected";
19324             source:  "elm";
19325             action:  STATE_SET "default" 0.0;
19326             target:  "bg";
19327             target:  "fg1";
19328             target:  "fg2";
19329             target:  "elm.text";
19330             target:  "elm.text.sub";
19331             transition: LINEAR 0.1;
19332          }
19333          program {
19334             name:    "go_disabled";
19335             signal:  "elm,state,disabled";
19336             source:  "elm";
19337             action:  STATE_SET "disabled" 0.0;
19338             target:  "disclip";
19339          }
19340          program {
19341             name:    "go_enabled";
19342             signal:  "elm,state,enabled";
19343             source:  "elm";
19344             action:  STATE_SET "default" 0.0;
19345             target:  "disclip";
19346          }
19347       }
19348    }
19349    group { name: "elm/genlist/item_compress/double_label/default";
19350       data.item: "stacking" "above";
19351       data.item: "selectraise" "on";
19352       data.item: "labels" "elm.text elm.text.sub";
19353       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19354       data.item: "treesize" "20";
19355 //      data.item: "states" "";
19356       images {
19357          image: "bt_sm_base1.png" COMP;
19358          image: "bt_sm_shine.png" COMP;
19359          image: "bt_sm_hilight.png" COMP;
19360          image: "ilist_1.png" COMP;
19361          image: "ilist_item_shadow.png" COMP;
19362       }
19363       parts {
19364          part {
19365             name:           "event";
19366             type:           RECT;
19367             repeat_events: 1;
19368             description {
19369                state: "default" 0.0;
19370                color: 0 0 0 0;
19371             }
19372          }
19373          part {
19374             name: "base_sh";
19375             mouse_events: 0;
19376             description {
19377                state: "default" 0.0;
19378                align: 0.0 0.0;
19379                min: 0 10;
19380                fixed: 1 1;
19381                rel1 {
19382                   to: "base";
19383                   relative: 0.0 1.0;
19384                   offset: 0 0;
19385                }
19386                rel2 {
19387                   to: "base";
19388                   relative: 1.0 1.0;
19389                   offset: -1 0;
19390                }
19391                image {
19392                   normal: "ilist_item_shadow.png";
19393                }
19394                fill.smooth: 0;
19395             }
19396          }
19397          part {
19398             name: "base";
19399             mouse_events: 0;
19400             description {
19401                state: "default" 0.0;
19402                image {
19403                   normal: "ilist_1.png";
19404                   border: 2 2 2 2;
19405                }
19406                fill.smooth: 0;
19407             }
19408          }
19409          part { name: "bg";
19410             clip_to: "disclip";
19411             mouse_events: 0;
19412             description { state: "default" 0.0;
19413                visible: 0;
19414                color: 255 255 255 0;
19415                rel1 {
19416                   relative: 0.0 0.0;
19417                   offset: -5 -5;
19418                }
19419                rel2 {
19420                   relative: 1.0 1.0;
19421                   offset: 4 4;
19422                }
19423                image {
19424                   normal: "bt_sm_base1.png";
19425                   border: 6 6 6 6;
19426                }
19427                image.middle: SOLID;
19428             }
19429             description { state: "selected" 0.0;
19430                inherit: "default" 0.0;
19431                visible: 1;
19432                color: 255 255 255 255;
19433                rel1 {
19434                   relative: 0.0 0.0;
19435                   offset: -2 -2;
19436                }
19437                rel2 {
19438                   relative: 1.0 1.0;
19439                   offset: 1 1;
19440                }
19441             }
19442          }
19443          part { name: "elm.swallow.pad";
19444             type: SWALLOW;
19445             description { state: "default" 0.0;
19446                fixed: 1 0;
19447                align: 0.0 0.5;
19448                rel1 {
19449                   relative: 0.0  0.0;
19450                   offset:   4    4;
19451                }
19452                rel2 {
19453                   relative: 0.0  1.0;
19454                   offset:   4   -5;
19455                }
19456             }
19457          }
19458          part { name: "elm.swallow.icon";
19459             clip_to: "disclip";
19460             type: SWALLOW;
19461             description { state: "default" 0.0;
19462                fixed: 1 0;
19463                align: 0.0 0.5;
19464                rel1 {
19465                   to_x: "elm.swallow.pad";
19466                   relative: 1.0  0.0;
19467                   offset:   -1    4;
19468                }
19469                rel2 {
19470                   to_x: "elm.swallow.pad";
19471                   relative: 1.0  1.0;
19472                   offset:   -1   -5;
19473                }
19474             }
19475          }
19476          part { name: "elm.swallow.end";
19477             clip_to: "disclip";
19478             type: SWALLOW;
19479             description { state: "default" 0.0;
19480                fixed: 1 0;
19481                align: 1.0 0.5;
19482                aspect: 1.0 1.0;
19483                aspect_preference: VERTICAL;
19484                rel1 {
19485                   relative: 1.0  0.0;
19486                   offset:   -5    4;
19487                }
19488                rel2 {
19489                   relative: 1.0  1.0;
19490                   offset:   -5   -5;
19491                }
19492             }
19493          }
19494          part { name: "elm.text";
19495             clip_to: "disclip";
19496             type:           TEXT;
19497             effect:         SOFT_SHADOW;
19498             mouse_events:   0;
19499             scale: 1;
19500             description {
19501                state: "default" 0.0;
19502 //               min: 16 16;
19503                rel1 {
19504                   to_x:     "elm.swallow.icon";
19505                   relative: 1.0  0.0;
19506                   offset:   0 4;
19507                }
19508                rel2 {
19509                   to_x:     "elm.swallow.end";
19510                   relative: 0.0  0.5;
19511                   offset:   -1 -5;
19512                }
19513                color: 0 0 0 255;
19514                color3: 0 0 0 0;
19515                text {
19516                   font: "Sans";
19517                   size: 10;
19518 //                  min: 1 1;
19519                   min: 0 1;
19520                   align: 0.0 0.5;
19521                   text_class: "list_item";
19522                }
19523             }
19524             description { state: "selected" 0.0;
19525                inherit: "default" 0.0;
19526                color: 224 224 224 255;
19527                color3: 0 0 0 64;
19528             }
19529          }
19530          part { name: "elm.text.sub";
19531             clip_to: "disclip";
19532             type:           TEXT;
19533             mouse_events:   0;
19534             scale: 1;
19535             description {
19536                state: "default" 0.0;
19537 //               min: 16 16;
19538                rel1 {
19539                   to_x:     "elm.swallow.icon";
19540                   relative: 1.0  0.5;
19541                   offset:   0 4;
19542                }
19543                rel2 {
19544                   to_x:     "elm.swallow.end";
19545                   relative: 0.0  1.0;
19546                   offset:   -1 -5;
19547                }
19548                color: 0 0 0 128;
19549                color3: 0 0 0 0;
19550                text {
19551                   font: "Sans";
19552                   size: 8;
19553 //                  min: 1 1;
19554                   min: 0 1;
19555                   align: 0.0 0.5;
19556                   text_class: "list_item";
19557                }
19558             }
19559             description { state: "selected" 0.0;
19560                inherit: "default" 0.0;
19561                color: 128 128 128 255;
19562                color3: 0 0 0 32;
19563             }
19564          }
19565          part { name: "fg1";
19566             clip_to: "disclip";
19567             mouse_events: 0;
19568             description { state: "default" 0.0;
19569                visible: 0;
19570                color: 255 255 255 0;
19571                rel1.to: "bg";
19572                rel2.relative: 1.0 0.5;
19573                rel2.to: "bg";
19574                image {
19575                   normal: "bt_sm_hilight.png";
19576                   border: 6 6 6 0;
19577                }
19578             }
19579             description { state: "selected" 0.0;
19580                inherit: "default" 0.0;
19581                visible: 1;
19582                color: 255 255 255 255;
19583             }
19584          }
19585          part { name: "fg2";
19586             clip_to: "disclip";
19587             mouse_events: 0;
19588             description { state: "default" 0.0;
19589                visible: 0;
19590                color: 255 255 255 0;
19591                rel1.to: "bg";
19592                rel2.to: "bg";
19593                image {
19594                   normal: "bt_sm_shine.png";
19595                   border: 6 6 6 0;
19596                }
19597             }
19598             description { state: "selected" 0.0;
19599                inherit: "default" 0.0;
19600                visible: 1;
19601                color: 255 255 255 255;
19602             }
19603          }
19604          part { name: "disclip";
19605             type: RECT;
19606             description { state: "default" 0.0;
19607                rel1.to: "bg";
19608                rel2.to: "bg";
19609             }
19610             description { state: "disabled" 0.0;
19611                inherit: "default" 0.0;
19612                color: 255 255 255 64;
19613             }
19614          }
19615       }
19616       programs {
19617          // signal: elm,state,%s,active
19618          //   a "check" item named %s went active
19619          // signal: elm,state,%s,passive
19620          //   a "check" item named %s went passive
19621          // default is passive
19622          program {
19623             name:    "go_active";
19624             signal:  "elm,state,selected";
19625             source:  "elm";
19626             action:  STATE_SET "selected" 0.0;
19627             target:  "bg";
19628             target:  "fg1";
19629             target:  "fg2";
19630             target:  "elm.text";
19631             target:  "elm.text.sub";
19632          }
19633          program {
19634             name:    "go_passive";
19635             signal:  "elm,state,unselected";
19636             source:  "elm";
19637             action:  STATE_SET "default" 0.0;
19638             target:  "bg";
19639             target:  "fg1";
19640             target:  "fg2";
19641             target:  "elm.text";
19642             target:  "elm.text.sub";
19643             transition: LINEAR 0.1;
19644          }
19645          program {
19646             name:    "go_disabled";
19647             signal:  "elm,state,disabled";
19648             source:  "elm";
19649             action:  STATE_SET "disabled" 0.0;
19650             target:  "disclip";
19651          }
19652          program {
19653             name:    "go_enabled";
19654             signal:  "elm,state,enabled";
19655             source:  "elm";
19656             action:  STATE_SET "default" 0.0;
19657             target:  "disclip";
19658          }
19659       }
19660    }
19661    group { name: "elm/genlist/item_odd/double_label/default";
19662       data.item: "stacking" "below";
19663       data.item: "selectraise" "on";
19664       data.item: "labels" "elm.text elm.text.sub";
19665       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19666       data.item: "treesize" "20";
19667 //      data.item: "states" "";
19668       images {
19669          image: "bt_sm_base1.png" COMP;
19670          image: "bt_sm_shine.png" COMP;
19671          image: "bt_sm_hilight.png" COMP;
19672          image: "ilist_2.png" COMP;
19673       }
19674       parts {
19675          part { name: "event";
19676             type: RECT;
19677             repeat_events: 1;
19678             description {
19679                state: "default" 0.0;
19680                color: 0 0 0 0;
19681             }
19682          }
19683          part {
19684             name: "base";
19685             mouse_events: 0;
19686             description {
19687                state: "default" 0.0;
19688                image {
19689                   normal: "ilist_2.png";
19690                   border: 2 2 2 2;
19691                }
19692                fill.smooth: 0;
19693             }
19694          }
19695          part { name: "bg";
19696             clip_to: "disclip";
19697             mouse_events: 0;
19698             description { state: "default" 0.0;
19699                visible: 0;
19700                color: 255 255 255 0;
19701                rel1 {
19702                   relative: 0.0 0.0;
19703                   offset: -5 -5;
19704                }
19705                rel2 {
19706                   relative: 1.0 1.0;
19707                   offset: 4 4;
19708                }
19709                image {
19710                   normal: "bt_sm_base1.png";
19711                   border: 6 6 6 6;
19712                }
19713                image.middle: SOLID;
19714             }
19715             description { state: "selected" 0.0;
19716                inherit: "default" 0.0;
19717                visible: 1;
19718                color: 255 255 255 255;
19719                rel1 {
19720                   relative: 0.0 0.0;
19721                   offset: -2 -2;
19722                }
19723                rel2 {
19724                   relative: 1.0 1.0;
19725                   offset: 1 1;
19726                }
19727             }
19728          }
19729          part { name: "elm.swallow.pad";
19730             type: SWALLOW;
19731             description { state: "default" 0.0;
19732                fixed: 1 0;
19733                align: 0.0 0.5;
19734                rel1 {
19735                   relative: 0.0  0.0;
19736                   offset:   4    4;
19737                }
19738                rel2 {
19739                   relative: 0.0  1.0;
19740                   offset:   4   -5;
19741                }
19742             }
19743          }
19744          part { name: "elm.swallow.icon";
19745             clip_to: "disclip";
19746             type: SWALLOW;
19747             description { state: "default" 0.0;
19748                fixed: 1 0;
19749                align: 0.0 0.5;
19750                rel1 {
19751                   to_x: "elm.swallow.pad";
19752                   relative: 1.0  0.0;
19753                   offset:   -1    4;
19754                }
19755                rel2 {
19756                   to_x: "elm.swallow.pad";
19757                   relative: 1.0  1.0;
19758                   offset:   -1   -5;
19759                }
19760             }
19761          }
19762          part { name: "elm.swallow.end";
19763             clip_to: "disclip";
19764             type:          SWALLOW;
19765             description { state:    "default" 0.0;
19766                fixed: 1 0;
19767                align:    1.0 0.5;
19768                aspect: 1.0 1.0;
19769                aspect_preference: VERTICAL;
19770                rel1 {
19771                   relative: 1.0  0.0;
19772                   offset:   -5    4;
19773                }
19774                rel2 {
19775                   relative: 1.0  1.0;
19776                   offset:   -5   -5;
19777                }
19778             }
19779          }
19780          part { name: "elm.text";
19781             clip_to: "disclip";
19782             type:           TEXT;
19783             effect:         SOFT_SHADOW;
19784             mouse_events:   0;
19785             scale: 1;
19786             description {
19787                state: "default" 0.0;
19788 //               min: 16 16;
19789                rel1 {
19790                   to_x:     "elm.swallow.icon";
19791                   relative: 1.0  0.0;
19792                   offset:   0 4;
19793                }
19794                rel2 {
19795                   to_x:     "elm.swallow.end";
19796                   relative: 0.0  0.5;
19797                   offset:   -1 -5;
19798                }
19799                color: 0 0 0 255;
19800                color3: 0 0 0 0;
19801                text {
19802                   font: "Sans";
19803                   size: 10;
19804                   min: 1 1;
19805 //                  min: 0 1;
19806                   align: 0.0 0.5;
19807                   text_class: "list_item";
19808                }
19809             }
19810             description { state: "selected" 0.0;
19811                inherit: "default" 0.0;
19812                color: 224 224 224 255;
19813                color3: 0 0 0 64;
19814             }
19815          }
19816          part { name: "elm.text.sub";
19817             clip_to: "disclip";
19818             type:           TEXT;
19819             mouse_events:   0;
19820             scale: 1;
19821             description {
19822                state: "default" 0.0;
19823 //               min: 16 16;
19824                rel1 {
19825                   to_x:     "elm.swallow.icon";
19826                   relative: 1.0  0.5;
19827                   offset:   0 4;
19828                }
19829                rel2 {
19830                   to_x:     "elm.swallow.end";
19831                   relative: 0.0  1.0;
19832                   offset:   -1 -5;
19833                }
19834                color: 0 0 0 128;
19835                color3: 0 0 0 0;
19836                text {
19837                   font: "Sans";
19838                   size: 8;
19839                   min: 1 1;
19840 //                  min: 0 1;
19841                   align: 0.0 0.5;
19842                   text_class: "list_item";
19843                }
19844             }
19845             description { state: "selected" 0.0;
19846                inherit: "default" 0.0;
19847                color: 128 128 128 255;
19848                color3: 0 0 0 32;
19849             }
19850          }
19851          part { name: "fg1";
19852             clip_to: "disclip";
19853             mouse_events: 0;
19854             description { state: "default" 0.0;
19855                visible: 0;
19856                color: 255 255 255 0;
19857                rel1.to: "bg";
19858                rel2.relative: 1.0 0.5;
19859                rel2.to: "bg";
19860                image {
19861                   normal: "bt_sm_hilight.png";
19862                   border: 6 6 6 0;
19863                }
19864             }
19865             description { state: "selected" 0.0;
19866                inherit: "default" 0.0;
19867                visible: 1;
19868                color: 255 255 255 255;
19869             }
19870          }
19871          part { name: "fg2";
19872             clip_to: "disclip";
19873             mouse_events: 0;
19874             description { state: "default" 0.0;
19875                visible: 0;
19876                color: 255 255 255 0;
19877                rel1.to: "bg";
19878                rel2.to: "bg";
19879                image {
19880                   normal: "bt_sm_shine.png";
19881                   border: 6 6 6 0;
19882                }
19883             }
19884             description { state: "selected" 0.0;
19885                inherit: "default" 0.0;
19886                visible: 1;
19887                color: 255 255 255 255;
19888             }
19889          }
19890          part { name: "disclip";
19891             type: RECT;
19892             description { state: "default" 0.0;
19893                rel1.to: "bg";
19894                rel2.to: "bg";
19895             }
19896             description { state: "disabled" 0.0;
19897                inherit: "default" 0.0;
19898                color: 255 255 255 64;
19899             }
19900          }
19901       }
19902       programs {
19903          // signal: elm,state,%s,active
19904          //   a "check" item named %s went active
19905          // signal: elm,state,%s,passive
19906          //   a "check" item named %s went passive
19907          // default is passive
19908          program {
19909             name:    "go_active";
19910             signal:  "elm,state,selected";
19911             source:  "elm";
19912             action:  STATE_SET "selected" 0.0;
19913             target:  "bg";
19914             target:  "fg1";
19915             target:  "fg2";
19916             target:  "elm.text";
19917             target:  "elm.text.sub";
19918          }
19919          program {
19920             name:    "go_passive";
19921             signal:  "elm,state,unselected";
19922             source:  "elm";
19923             action:  STATE_SET "default" 0.0;
19924             target:  "bg";
19925             target:  "fg1";
19926             target:  "fg2";
19927             target:  "elm.text";
19928             target:  "elm.text.sub";
19929             transition: LINEAR 0.1;
19930          }
19931          program {
19932             name:    "go_disabled";
19933             signal:  "elm,state,disabled";
19934             source:  "elm";
19935             action:  STATE_SET "disabled" 0.0;
19936             target:  "disclip";
19937          }
19938          program {
19939             name:    "go_enabled";
19940             signal:  "elm,state,enabled";
19941             source:  "elm";
19942             action:  STATE_SET "default" 0.0;
19943             target:  "disclip";
19944          }
19945       }
19946    }
19947    group { name: "elm/genlist/item_compress_odd/double_label/default";
19948       data.item: "stacking" "below";
19949       data.item: "selectraise" "on";
19950       data.item: "labels" "elm.text elm.text.sub";
19951       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19952       data.item: "treesize" "20";
19953 //      data.item: "states" "";
19954       images {
19955          image: "bt_sm_base1.png" COMP;
19956          image: "bt_sm_shine.png" COMP;
19957          image: "bt_sm_hilight.png" COMP;
19958          image: "ilist_2.png" COMP;
19959       }
19960       parts {
19961          part { name: "event";
19962             type: RECT;
19963             repeat_events: 1;
19964             description {
19965                state: "default" 0.0;
19966                color: 0 0 0 0;
19967             }
19968          }
19969          part {
19970             name: "base";
19971             mouse_events: 0;
19972             description {
19973                state: "default" 0.0;
19974                image {
19975                   normal: "ilist_2.png";
19976                   border: 2 2 2 2;
19977                }
19978                fill.smooth: 0;
19979             }
19980          }
19981          part { name: "bg";
19982             clip_to: "disclip";
19983             mouse_events: 0;
19984             description { state: "default" 0.0;
19985                visible: 0;
19986                color: 255 255 255 0;
19987                rel1 {
19988                   relative: 0.0 0.0;
19989                   offset: -5 -5;
19990                }
19991                rel2 {
19992                   relative: 1.0 1.0;
19993                   offset: 4 4;
19994                }
19995                image {
19996                   normal: "bt_sm_base1.png";
19997                   border: 6 6 6 6;
19998                }
19999                image.middle: SOLID;
20000             }
20001             description { state: "selected" 0.0;
20002                inherit: "default" 0.0;
20003                visible: 1;
20004                color: 255 255 255 255;
20005                rel1 {
20006                   relative: 0.0 0.0;
20007                   offset: -2 -2;
20008                }
20009                rel2 {
20010                   relative: 1.0 1.0;
20011                   offset: 1 1;
20012                }
20013             }
20014          }
20015          part { name: "elm.swallow.pad";
20016             type: SWALLOW;
20017             description { state: "default" 0.0;
20018                fixed: 1 0;
20019                align: 0.0 0.5;
20020                rel1 {
20021                   relative: 0.0  0.0;
20022                   offset:   4    4;
20023                }
20024                rel2 {
20025                   relative: 0.0  1.0;
20026                   offset:   4   -5;
20027                }
20028             }
20029          }
20030          part { name: "elm.swallow.icon";
20031             clip_to: "disclip";
20032             type: SWALLOW;
20033             description { state: "default" 0.0;
20034                fixed: 1 0;
20035                align: 0.0 0.5;
20036                rel1 {
20037                   to_x: "elm.swallow.pad";
20038                   relative: 1.0  0.0;
20039                   offset:   -1    4;
20040                }
20041                rel2 {
20042                   to_x: "elm.swallow.pad";
20043                   relative: 1.0  1.0;
20044                   offset:   -1   -5;
20045                }
20046             }
20047          }
20048          part { name: "elm.swallow.end";
20049             clip_to: "disclip";
20050             type:          SWALLOW;
20051             description { state:    "default" 0.0;
20052                fixed: 1 0;
20053                align:    1.0 0.5;
20054                aspect: 1.0 1.0;
20055                aspect_preference: VERTICAL;
20056                rel1 {
20057                   relative: 1.0  0.0;
20058                   offset:   -5    4;
20059                }
20060                rel2 {
20061                   relative: 1.0  1.0;
20062                   offset:   -5   -5;
20063                }
20064             }
20065          }
20066          part { name: "elm.text";
20067             clip_to: "disclip";
20068             type:           TEXT;
20069             effect:         SOFT_SHADOW;
20070             mouse_events:   0;
20071             scale: 1;
20072             description {
20073                state: "default" 0.0;
20074 //               min: 16 16;
20075                rel1 {
20076                   to_x:     "elm.swallow.icon";
20077                   relative: 1.0  0.0;
20078                   offset:   0 4;
20079                }
20080                rel2 {
20081                   to_x:     "elm.swallow.end";
20082                   relative: 0.0  0.5;
20083                   offset:   -1 -5;
20084                }
20085                color: 0 0 0 255;
20086                color3: 0 0 0 0;
20087                text {
20088                   font: "Sans";
20089                   size: 10;
20090 //                  min: 1 1;
20091                   min: 0 1;
20092                   align: 0.0 0.5;
20093                   text_class: "list_item";
20094                }
20095             }
20096             description { state: "selected" 0.0;
20097                inherit: "default" 0.0;
20098                color: 224 224 224 255;
20099                color3: 0 0 0 64;
20100             }
20101          }
20102          part { name: "elm.text.sub";
20103             clip_to: "disclip";
20104             type:           TEXT;
20105             mouse_events:   0;
20106             scale: 1;
20107             description {
20108                state: "default" 0.0;
20109 //               min: 16 16;
20110                rel1 {
20111                   to_x:     "elm.swallow.icon";
20112                   relative: 1.0  0.5;
20113                   offset:   0 4;
20114                }
20115                rel2 {
20116                   to_x:     "elm.swallow.end";
20117                   relative: 0.0  1.0;
20118                   offset:   -1 -5;
20119                }
20120                color: 0 0 0 128;
20121                color3: 0 0 0 0;
20122                text {
20123                   font: "Sans";
20124                   size: 8;
20125 //                  min: 1 1;
20126                   min: 0 1;
20127                   align: 0.0 0.5;
20128                   text_class: "list_item";
20129                }
20130             }
20131             description { state: "selected" 0.0;
20132                inherit: "default" 0.0;
20133                color: 128 128 128 255;
20134                color3: 0 0 0 32;
20135             }
20136          }
20137          part { name: "fg1";
20138             clip_to: "disclip";
20139             mouse_events: 0;
20140             description { state: "default" 0.0;
20141                visible: 0;
20142                color: 255 255 255 0;
20143                rel1.to: "bg";
20144                rel2.relative: 1.0 0.5;
20145                rel2.to: "bg";
20146                image {
20147                   normal: "bt_sm_hilight.png";
20148                   border: 6 6 6 0;
20149                }
20150             }
20151             description { state: "selected" 0.0;
20152                inherit: "default" 0.0;
20153                visible: 1;
20154                color: 255 255 255 255;
20155             }
20156          }
20157          part { name: "fg2";
20158             clip_to: "disclip";
20159             mouse_events: 0;
20160             description { state: "default" 0.0;
20161                visible: 0;
20162                color: 255 255 255 0;
20163                rel1.to: "bg";
20164                rel2.to: "bg";
20165                image {
20166                   normal: "bt_sm_shine.png";
20167                   border: 6 6 6 0;
20168                }
20169             }
20170             description { state: "selected" 0.0;
20171                inherit: "default" 0.0;
20172                visible: 1;
20173                color: 255 255 255 255;
20174             }
20175          }
20176          part { name: "disclip";
20177             type: RECT;
20178             description { state: "default" 0.0;
20179                rel1.to: "bg";
20180                rel2.to: "bg";
20181             }
20182             description { state: "disabled" 0.0;
20183                inherit: "default" 0.0;
20184                color: 255 255 255 64;
20185             }
20186          }
20187       }
20188       programs {
20189          // signal: elm,state,%s,active
20190          //   a "check" item named %s went active
20191          // signal: elm,state,%s,passive
20192          //   a "check" item named %s went passive
20193          // default is passive
20194          program {
20195             name:    "go_active";
20196             signal:  "elm,state,selected";
20197             source:  "elm";
20198             action:  STATE_SET "selected" 0.0;
20199             target:  "bg";
20200             target:  "fg1";
20201             target:  "fg2";
20202             target:  "elm.text";
20203             target:  "elm.text.sub";
20204          }
20205          program {
20206             name:    "go_passive";
20207             signal:  "elm,state,unselected";
20208             source:  "elm";
20209             action:  STATE_SET "default" 0.0;
20210             target:  "bg";
20211             target:  "fg1";
20212             target:  "fg2";
20213             target:  "elm.text";
20214             target:  "elm.text.sub";
20215             transition: LINEAR 0.1;
20216          }
20217          program {
20218             name:    "go_disabled";
20219             signal:  "elm,state,disabled";
20220             source:  "elm";
20221             action:  STATE_SET "disabled" 0.0;
20222             target:  "disclip";
20223          }
20224          program {
20225             name:    "go_enabled";
20226             signal:  "elm,state,enabled";
20227             source:  "elm";
20228             action:  STATE_SET "default" 0.0;
20229             target:  "disclip";
20230          }
20231       }
20232    }
20233
20234    group { name: "elm/genlist/tree/double_label/default";
20235       data.item: "stacking" "above";
20236       data.item: "selectraise" "on";
20237       data.item: "labels" "elm.text elm.text.sub";
20238       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20239       data.item: "treesize" "20";
20240 //      data.item: "states" "";
20241       images {
20242          image: "bt_sm_base1.png" COMP;
20243          image: "bt_sm_shine.png" COMP;
20244          image: "bt_sm_hilight.png" COMP;
20245          image: "ilist_1.png" COMP;
20246          image: "ilist_item_shadow.png" COMP;
20247          image: "icon_arrow_right.png" COMP;
20248          image: "icon_arrow_down.png" COMP;
20249       }
20250       parts {
20251          part {
20252             name:           "event";
20253             type:           RECT;
20254             repeat_events: 1;
20255             description {
20256                state: "default" 0.0;
20257                color: 0 0 0 0;
20258             }
20259          }
20260          part {
20261             name: "base_sh";
20262             mouse_events: 0;
20263             description {
20264                state: "default" 0.0;
20265                align: 0.0 0.0;
20266                min: 0 10;
20267                fixed: 1 1;
20268                rel1 {
20269                   to: "base";
20270                   relative: 0.0 1.0;
20271                   offset: 0 0;
20272                }
20273                rel2 {
20274                   to: "base";
20275                   relative: 1.0 1.0;
20276                   offset: -1 0;
20277                }
20278                image {
20279                   normal: "ilist_item_shadow.png";
20280                }
20281                fill.smooth: 0;
20282             }
20283          }
20284          part {
20285             name: "base";
20286             mouse_events: 0;
20287             description {
20288                state: "default" 0.0;
20289                image {
20290                   normal: "ilist_1.png";
20291                   border: 2 2 2 2;
20292                }
20293                fill.smooth: 0;
20294             }
20295          }
20296          part { name: "bg";
20297             clip_to: "disclip";
20298             mouse_events: 0;
20299             description { state: "default" 0.0;
20300                visible: 0;
20301                color: 255 255 255 0;
20302                rel1 {
20303                   relative: 0.0 0.0;
20304                   offset: -5 -5;
20305                }
20306                rel2 {
20307                   relative: 1.0 1.0;
20308                   offset: 4 4;
20309                }
20310                image {
20311                   normal: "bt_sm_base1.png";
20312                   border: 6 6 6 6;
20313                }
20314                image.middle: SOLID;
20315             }
20316             description { state: "selected" 0.0;
20317                inherit: "default" 0.0;
20318                visible: 1;
20319                color: 255 255 255 255;
20320                rel1 {
20321                   relative: 0.0 0.0;
20322                   offset: -2 -2;
20323                }
20324                rel2 {
20325                   relative: 1.0 1.0;
20326                   offset: 1 1;
20327                }
20328             }
20329          }
20330          part { name: "elm.swallow.pad";
20331             type: SWALLOW;
20332             description { state: "default" 0.0;
20333                fixed: 1 0;
20334                align: 0.0 0.5;
20335                rel1 {
20336                   relative: 0.0  0.0;
20337                   offset:   4    4;
20338                }
20339                rel2 {
20340                   relative: 0.0  1.0;
20341                   offset:   4   -5;
20342                }
20343             }
20344          }
20345          part { name: "arrow";
20346             clip_to: "disclip";
20347             ignore_flags: ON_HOLD;
20348             description { state: "default" 0.0;
20349                fixed: 1 0;
20350                align: 0.0 0.5;
20351                aspect: 1.0 1.0;
20352                rel1 {
20353                   to_x: "elm.swallow.pad";
20354                   relative: 1.0  0.0;
20355                   offset:   -1    4;
20356                }
20357                rel2 {
20358                   to_x: "elm.swallow.pad";
20359                   relative: 1.0  1.0;
20360                   offset:   -1   -5;
20361                }
20362                image.normal: "icon_arrow_right.png";
20363             }
20364             description { state: "active" 0.0;
20365                inherit: "default" 0.0;
20366                image.normal: "icon_arrow_down.png";
20367             }
20368          }
20369          part { name: "elm.swallow.icon";
20370             clip_to: "disclip";
20371             type: SWALLOW;
20372             description { state: "default" 0.0;
20373                fixed: 1 0;
20374                align: 0.0 0.5;
20375                rel1 {
20376                   to_x: "arrow";
20377                   relative: 1.0  0.0;
20378                   offset:   4    4;
20379                }
20380                rel2 {
20381                   to_x: "arrow";
20382                   relative: 1.0  1.0;
20383                   offset:   4   -5;
20384                }
20385             }
20386          }
20387          part { name: "elm.swallow.end";
20388             clip_to: "disclip";
20389             type: SWALLOW;
20390             description { state: "default" 0.0;
20391                fixed: 1 0;
20392                align: 1.0 0.5;
20393                aspect: 1.0 1.0;
20394                aspect_preference: VERTICAL;
20395                rel1 {
20396                   relative: 1.0  0.0;
20397                   offset:   -5    4;
20398                }
20399                rel2 {
20400                   relative: 1.0  1.0;
20401                   offset:   -5   -5;
20402                }
20403             }
20404          }
20405          part { name: "elm.text";
20406             clip_to: "disclip";
20407             type:           TEXT;
20408             effect:         SOFT_SHADOW;
20409             mouse_events:   0;
20410             scale: 1;
20411             description {
20412                state: "default" 0.0;
20413 //               min: 16 16;
20414                rel1 {
20415                   to_x:     "elm.swallow.icon";
20416                   relative: 1.0  0.0;
20417                   offset:   0 4;
20418                }
20419                rel2 {
20420                   to_x:     "elm.swallow.end";
20421                   relative: 0.0  0.5;
20422                   offset:   -1 -5;
20423                }
20424                color: 0 0 0 255;
20425                color3: 0 0 0 0;
20426                text {
20427                   font: "Sans";
20428                   size: 10;
20429                   min: 1 1;
20430 //                  min: 0 1;
20431                   align: 0.0 0.5;
20432                   text_class: "list_item";
20433                }
20434             }
20435             description { state: "selected" 0.0;
20436                inherit: "default" 0.0;
20437                color: 224 224 224 255;
20438                color3: 0 0 0 64;
20439             }
20440          }
20441          part { name: "elm.text.sub";
20442             clip_to: "disclip";
20443             type:           TEXT;
20444             mouse_events:   0;
20445             scale: 1;
20446             description {
20447                state: "default" 0.0;
20448 //               min: 16 16;
20449                rel1 {
20450                   to_x:     "elm.swallow.icon";
20451                   relative: 1.0  0.5;
20452                   offset:   0 4;
20453                }
20454                rel2 {
20455                   to_x:     "elm.swallow.end";
20456                   relative: 0.0  1.0;
20457                   offset:   -1 -5;
20458                }
20459                color: 0 0 0 128;
20460                color3: 0 0 0 0;
20461                text {
20462                   font: "Sans";
20463                   size: 8;
20464                   min: 1 1;
20465 //                  min: 0 1;
20466                   align: 0.0 0.5;
20467                   text_class: "list_item";
20468                }
20469             }
20470             description { state: "selected" 0.0;
20471                inherit: "default" 0.0;
20472                color: 128 128 128 255;
20473                color3: 0 0 0 32;
20474             }
20475          }
20476          part { name: "fg1";
20477             clip_to: "disclip";
20478             mouse_events: 0;
20479             description { state: "default" 0.0;
20480                visible: 0;
20481                color: 255 255 255 0;
20482                rel1.to: "bg";
20483                rel2.relative: 1.0 0.5;
20484                rel2.to: "bg";
20485                image {
20486                   normal: "bt_sm_hilight.png";
20487                   border: 6 6 6 0;
20488                }
20489             }
20490             description { state: "selected" 0.0;
20491                inherit: "default" 0.0;
20492                visible: 1;
20493                color: 255 255 255 255;
20494             }
20495          }
20496          part { name: "fg2";
20497             clip_to: "disclip";
20498             mouse_events: 0;
20499             description { state: "default" 0.0;
20500                visible: 0;
20501                color: 255 255 255 0;
20502                rel1.to: "bg";
20503                rel2.to: "bg";
20504                image {
20505                   normal: "bt_sm_shine.png";
20506                   border: 6 6 6 0;
20507                }
20508             }
20509             description { state: "selected" 0.0;
20510                inherit: "default" 0.0;
20511                visible: 1;
20512                color: 255 255 255 255;
20513             }
20514          }
20515          part { name: "disclip";
20516             type: RECT;
20517             description { state: "default" 0.0;
20518                rel1.to: "bg";
20519                rel2.to: "bg";
20520             }
20521             description { state: "disabled" 0.0;
20522                inherit: "default" 0.0;
20523                color: 255 255 255 64;
20524             }
20525          }
20526       }
20527       programs {
20528          // signal: elm,state,%s,active
20529          //   a "check" item named %s went active
20530          // signal: elm,state,%s,passive
20531          //   a "check" item named %s went passive
20532          // default is passive
20533          program {
20534             name:    "go_active";
20535             signal:  "elm,state,selected";
20536             source:  "elm";
20537             action:  STATE_SET "selected" 0.0;
20538             target:  "bg";
20539             target:  "fg1";
20540             target:  "fg2";
20541             target:  "elm.text";
20542             target:  "elm.text.sub";
20543          }
20544          program {
20545             name:    "go_passive";
20546             signal:  "elm,state,unselected";
20547             source:  "elm";
20548             action:  STATE_SET "default" 0.0;
20549             target:  "bg";
20550             target:  "fg1";
20551             target:  "fg2";
20552             target:  "elm.text";
20553             target:  "elm.text.sub";
20554             transition: LINEAR 0.1;
20555          }
20556          program {
20557             name:    "go_disabled";
20558             signal:  "elm,state,disabled";
20559             source:  "elm";
20560             action:  STATE_SET "disabled" 0.0;
20561             target:  "disclip";
20562          }
20563          program {
20564             name:    "go_enabled";
20565             signal:  "elm,state,enabled";
20566             source:  "elm";
20567             action:  STATE_SET "default" 0.0;
20568             target:  "disclip";
20569          }
20570          program {
20571             name:    "expand";
20572             signal:  "mouse,up,1";
20573             source:  "arrow";
20574             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20575          }
20576          program {
20577             name:    "go_expanded";
20578             signal:  "elm,state,expanded";
20579             source:  "elm";
20580             action:  STATE_SET "active" 0.0;
20581             target:  "arrow";
20582          }
20583          program {
20584             name:    "go_contracted";
20585             signal:  "elm,state,contracted";
20586             source:  "elm";
20587             action:  STATE_SET "default" 0.0;
20588             target:  "arrow";
20589          }
20590       }
20591    }
20592    group { name: "elm/genlist/tree_compress/double_label/default";
20593       data.item: "stacking" "above";
20594       data.item: "selectraise" "on";
20595       data.item: "labels" "elm.text elm.text.sub";
20596       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20597       data.item: "treesize" "20";
20598 //      data.item: "states" "";
20599       images {
20600          image: "bt_sm_base1.png" COMP;
20601          image: "bt_sm_shine.png" COMP;
20602          image: "bt_sm_hilight.png" COMP;
20603          image: "ilist_1.png" COMP;
20604          image: "ilist_item_shadow.png" COMP;
20605          image: "icon_arrow_right.png" COMP;
20606          image: "icon_arrow_down.png" COMP;
20607       }
20608       parts {
20609          part {
20610             name:           "event";
20611             type:           RECT;
20612             repeat_events: 1;
20613             description {
20614                state: "default" 0.0;
20615                color: 0 0 0 0;
20616             }
20617          }
20618          part {
20619             name: "base_sh";
20620             mouse_events: 0;
20621             description {
20622                state: "default" 0.0;
20623                align: 0.0 0.0;
20624                min: 0 10;
20625                fixed: 1 1;
20626                rel1 {
20627                   to: "base";
20628                   relative: 0.0 1.0;
20629                   offset: 0 0;
20630                }
20631                rel2 {
20632                   to: "base";
20633                   relative: 1.0 1.0;
20634                   offset: -1 0;
20635                }
20636                image {
20637                   normal: "ilist_item_shadow.png";
20638                }
20639                fill.smooth: 0;
20640             }
20641          }
20642          part {
20643             name: "base";
20644             mouse_events: 0;
20645             description {
20646                state: "default" 0.0;
20647                image {
20648                   normal: "ilist_1.png";
20649                   border: 2 2 2 2;
20650                }
20651                fill.smooth: 0;
20652             }
20653          }
20654          part { name: "bg";
20655             clip_to: "disclip";
20656             mouse_events: 0;
20657             description { state: "default" 0.0;
20658                visible: 0;
20659                color: 255 255 255 0;
20660                rel1 {
20661                   relative: 0.0 0.0;
20662                   offset: -5 -5;
20663                }
20664                rel2 {
20665                   relative: 1.0 1.0;
20666                   offset: 4 4;
20667                }
20668                image {
20669                   normal: "bt_sm_base1.png";
20670                   border: 6 6 6 6;
20671                }
20672                image.middle: SOLID;
20673             }
20674             description { state: "selected" 0.0;
20675                inherit: "default" 0.0;
20676                visible: 1;
20677                color: 255 255 255 255;
20678                rel1 {
20679                   relative: 0.0 0.0;
20680                   offset: -2 -2;
20681                }
20682                rel2 {
20683                   relative: 1.0 1.0;
20684                   offset: 1 1;
20685                }
20686             }
20687          }
20688          part { name: "elm.swallow.pad";
20689             type: SWALLOW;
20690             description { state: "default" 0.0;
20691                fixed: 1 0;
20692                align: 0.0 0.5;
20693                rel1 {
20694                   relative: 0.0  0.0;
20695                   offset:   4    4;
20696                }
20697                rel2 {
20698                   relative: 0.0  1.0;
20699                   offset:   4   -5;
20700                }
20701             }
20702          }
20703          part { name: "arrow";
20704             clip_to: "disclip";
20705             ignore_flags: ON_HOLD;
20706             description { state: "default" 0.0;
20707                fixed: 1 0;
20708                align: 0.0 0.5;
20709                aspect: 1.0 1.0;
20710                rel1 {
20711                   to_x: "elm.swallow.pad";
20712                   relative: 1.0  0.0;
20713                   offset:   -1    4;
20714                }
20715                rel2 {
20716                   to_x: "elm.swallow.pad";
20717                   relative: 1.0  1.0;
20718                   offset:   -1   -5;
20719                }
20720                image.normal: "icon_arrow_right.png";
20721             }
20722             description { state: "active" 0.0;
20723                inherit: "default" 0.0;
20724                image.normal: "icon_arrow_down.png";
20725             }
20726          }
20727          part { name: "elm.swallow.icon";
20728             clip_to: "disclip";
20729             type: SWALLOW;
20730             description { state: "default" 0.0;
20731                fixed: 1 0;
20732                align: 0.0 0.5;
20733                rel1 {
20734                   to_x: "arrow";
20735                   relative: 1.0  0.0;
20736                   offset:   4    4;
20737                }
20738                rel2 {
20739                   to_x: "arrow";
20740                   relative: 1.0  1.0;
20741                   offset:   4   -5;
20742                }
20743             }
20744          }
20745          part { name: "elm.swallow.end";
20746             clip_to: "disclip";
20747             type: SWALLOW;
20748             description { state: "default" 0.0;
20749                fixed: 1 0;
20750                align: 1.0 0.5;
20751                aspect: 1.0 1.0;
20752                aspect_preference: VERTICAL;
20753                rel1 {
20754                   relative: 1.0  0.0;
20755                   offset:   -5    4;
20756                }
20757                rel2 {
20758                   relative: 1.0  1.0;
20759                   offset:   -5   -5;
20760                }
20761             }
20762          }
20763          part { name: "elm.text";
20764             clip_to: "disclip";
20765             type:           TEXT;
20766             effect:         SOFT_SHADOW;
20767             mouse_events:   0;
20768             scale: 1;
20769             description {
20770                state: "default" 0.0;
20771 //               min: 16 16;
20772                rel1 {
20773                   to_x:     "elm.swallow.icon";
20774                   relative: 1.0  0.0;
20775                   offset:   0 4;
20776                }
20777                rel2 {
20778                   to_x:     "elm.swallow.end";
20779                   relative: 0.0  0.5;
20780                   offset:   -1 -5;
20781                }
20782                color: 0 0 0 255;
20783                color3: 0 0 0 0;
20784                text {
20785                   font: "Sans";
20786                   size: 10;
20787 //                  min: 1 1;
20788                   min: 0 1;
20789                   align: 0.0 0.5;
20790                   text_class: "list_item";
20791                }
20792             }
20793             description { state: "selected" 0.0;
20794                inherit: "default" 0.0;
20795                color: 224 224 224 255;
20796                color3: 0 0 0 64;
20797             }
20798          }
20799          part { name: "elm.text.sub";
20800             clip_to: "disclip";
20801             type:           TEXT;
20802             mouse_events:   0;
20803             scale: 1;
20804             description {
20805                state: "default" 0.0;
20806 //               min: 16 16;
20807                rel1 {
20808                   to_x:     "elm.swallow.icon";
20809                   relative: 1.0  0.5;
20810                   offset:   0 4;
20811                }
20812                rel2 {
20813                   to_x:     "elm.swallow.end";
20814                   relative: 0.0  1.0;
20815                   offset:   -1 -5;
20816                }
20817                color: 0 0 0 128;
20818                color3: 0 0 0 0;
20819                text {
20820                   font: "Sans";
20821                   size: 8;
20822 //                  min: 1 1;
20823                   min: 0 1;
20824                   align: 0.0 0.5;
20825                   text_class: "list_item";
20826                }
20827             }
20828             description { state: "selected" 0.0;
20829                inherit: "default" 0.0;
20830                color: 128 128 128 255;
20831                color3: 0 0 0 32;
20832             }
20833          }
20834          part { name: "fg1";
20835             clip_to: "disclip";
20836             mouse_events: 0;
20837             description { state: "default" 0.0;
20838                visible: 0;
20839                color: 255 255 255 0;
20840                rel1.to: "bg";
20841                rel2.relative: 1.0 0.5;
20842                rel2.to: "bg";
20843                image {
20844                   normal: "bt_sm_hilight.png";
20845                   border: 6 6 6 0;
20846                }
20847             }
20848             description { state: "selected" 0.0;
20849                inherit: "default" 0.0;
20850                visible: 1;
20851                color: 255 255 255 255;
20852             }
20853          }
20854          part { name: "fg2";
20855             clip_to: "disclip";
20856             mouse_events: 0;
20857             description { state: "default" 0.0;
20858                visible: 0;
20859                color: 255 255 255 0;
20860                rel1.to: "bg";
20861                rel2.to: "bg";
20862                image {
20863                   normal: "bt_sm_shine.png";
20864                   border: 6 6 6 0;
20865                }
20866             }
20867             description { state: "selected" 0.0;
20868                inherit: "default" 0.0;
20869                visible: 1;
20870                color: 255 255 255 255;
20871             }
20872          }
20873          part { name: "disclip";
20874             type: RECT;
20875             description { state: "default" 0.0;
20876                rel1.to: "bg";
20877                rel2.to: "bg";
20878             }
20879             description { state: "disabled" 0.0;
20880                inherit: "default" 0.0;
20881                color: 255 255 255 64;
20882             }
20883          }
20884       }
20885       programs {
20886          // signal: elm,state,%s,active
20887          //   a "check" item named %s went active
20888          // signal: elm,state,%s,passive
20889          //   a "check" item named %s went passive
20890          // default is passive
20891          program {
20892             name:    "go_active";
20893             signal:  "elm,state,selected";
20894             source:  "elm";
20895             action:  STATE_SET "selected" 0.0;
20896             target:  "bg";
20897             target:  "fg1";
20898             target:  "fg2";
20899             target:  "elm.text";
20900             target:  "elm.text.sub";
20901          }
20902          program {
20903             name:    "go_passive";
20904             signal:  "elm,state,unselected";
20905             source:  "elm";
20906             action:  STATE_SET "default" 0.0;
20907             target:  "bg";
20908             target:  "fg1";
20909             target:  "fg2";
20910             target:  "elm.text";
20911             target:  "elm.text.sub";
20912             transition: LINEAR 0.1;
20913          }
20914          program {
20915             name:    "go_disabled";
20916             signal:  "elm,state,disabled";
20917             source:  "elm";
20918             action:  STATE_SET "disabled" 0.0;
20919             target:  "disclip";
20920          }
20921          program {
20922             name:    "go_enabled";
20923             signal:  "elm,state,enabled";
20924             source:  "elm";
20925             action:  STATE_SET "default" 0.0;
20926             target:  "disclip";
20927          }
20928          program {
20929             name:    "expand";
20930             signal:  "mouse,up,1";
20931             source:  "arrow";
20932             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20933          }
20934          program {
20935             name:    "go_expanded";
20936             signal:  "elm,state,expanded";
20937             source:  "elm";
20938             action:  STATE_SET "active" 0.0;
20939             target:  "arrow";
20940          }
20941          program {
20942             name:    "go_contracted";
20943             signal:  "elm,state,contracted";
20944             source:  "elm";
20945             action:  STATE_SET "default" 0.0;
20946             target:  "arrow";
20947          }
20948       }
20949    }
20950    group { name: "elm/genlist/tree_odd/double_label/default";
20951       data.item: "stacking" "below";
20952       data.item: "selectraise" "on";
20953       data.item: "labels" "elm.text elm.text.sub";
20954       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20955       data.item: "treesize" "20";
20956 //      data.item: "states" "";
20957       images {
20958          image: "bt_sm_base1.png" COMP;
20959          image: "bt_sm_shine.png" COMP;
20960          image: "bt_sm_hilight.png" COMP;
20961          image: "ilist_2.png" COMP;
20962          image: "icon_arrow_right.png" COMP;
20963          image: "icon_arrow_down.png" COMP;
20964       }
20965       parts {
20966          part {
20967             name:           "event";
20968             type:           RECT;
20969             repeat_events: 1;
20970             description {
20971                state: "default" 0.0;
20972                color: 0 0 0 0;
20973             }
20974          }
20975          part {
20976             name: "base";
20977             mouse_events: 0;
20978             description {
20979                state: "default" 0.0;
20980                image {
20981                   normal: "ilist_2.png";
20982                   border: 2 2 2 2;
20983                }
20984                fill.smooth: 0;
20985             }
20986          }
20987          part { name: "bg";
20988             clip_to: "disclip";
20989             mouse_events: 0;
20990             description { state: "default" 0.0;
20991                visible: 0;
20992                color: 255 255 255 0;
20993                rel1 {
20994                   relative: 0.0 0.0;
20995                   offset: -5 -5;
20996                }
20997                rel2 {
20998                   relative: 1.0 1.0;
20999                   offset: 4 4;
21000                }
21001                image {
21002                   normal: "bt_sm_base1.png";
21003                   border: 6 6 6 6;
21004                }
21005                image.middle: SOLID;
21006             }
21007             description { state: "selected" 0.0;
21008                inherit: "default" 0.0;
21009                visible: 1;
21010                color: 255 255 255 255;
21011                rel1 {
21012                   relative: 0.0 0.0;
21013                   offset: -2 -2;
21014                }
21015                rel2 {
21016                   relative: 1.0 1.0;
21017                   offset: 1 1;
21018                }
21019             }
21020          }
21021          part { name: "elm.swallow.pad";
21022             type: SWALLOW;
21023             description { state: "default" 0.0;
21024                fixed: 1 0;
21025                align: 0.0 0.5;
21026                rel1 {
21027                   relative: 0.0  0.0;
21028                   offset:   4    4;
21029                }
21030                rel2 {
21031                   relative: 0.0  1.0;
21032                   offset:   4   -5;
21033                }
21034             }
21035          }
21036          part { name: "arrow";
21037             clip_to: "disclip";
21038             ignore_flags: ON_HOLD;
21039             description { state: "default" 0.0;
21040                fixed: 1 0;
21041                align: 0.0 0.5;
21042                aspect: 1.0 1.0;
21043                rel1 {
21044                   to_x: "elm.swallow.pad";
21045                   relative: 1.0  0.0;
21046                   offset:   -1    4;
21047                }
21048                rel2 {
21049                   to_x: "elm.swallow.pad";
21050                   relative: 1.0  1.0;
21051                   offset:   -1   -5;
21052                }
21053                image.normal: "icon_arrow_right.png";
21054             }
21055             description { state: "active" 0.0;
21056                inherit: "default" 0.0;
21057                image.normal: "icon_arrow_down.png";
21058             }
21059          }
21060          part { name: "elm.swallow.icon";
21061             clip_to: "disclip";
21062             type: SWALLOW;
21063             description { state: "default" 0.0;
21064                fixed: 1 0;
21065                align: 0.0 0.5;
21066                rel1 {
21067                   to_x: "arrow";
21068                   relative: 1.0  0.0;
21069                   offset:   4    4;
21070                }
21071                rel2 {
21072                   to_x: "arrow";
21073                   relative: 1.0  1.0;
21074                   offset:   4   -5;
21075                }
21076             }
21077          }
21078          part { name: "elm.swallow.end";
21079             clip_to: "disclip";
21080             type: SWALLOW;
21081             description { state: "default" 0.0;
21082                fixed: 1 0;
21083                align: 1.0 0.5;
21084                aspect: 1.0 1.0;
21085                aspect_preference: VERTICAL;
21086                rel1 {
21087                   relative: 1.0  0.0;
21088                   offset:   -5    4;
21089                }
21090                rel2 {
21091                   relative: 1.0  1.0;
21092                   offset:   -5   -5;
21093                }
21094             }
21095          }
21096          part { name: "elm.text";
21097             clip_to: "disclip";
21098             type:           TEXT;
21099             effect:         SOFT_SHADOW;
21100             mouse_events:   0;
21101             scale: 1;
21102             description {
21103                state: "default" 0.0;
21104 //               min: 16 16;
21105                rel1 {
21106                   to_x:     "elm.swallow.icon";
21107                   relative: 1.0  0.0;
21108                   offset:   0 4;
21109                }
21110                rel2 {
21111                   to_x:     "elm.swallow.end";
21112                   relative: 0.0  0.5;
21113                   offset:   -1 -5;
21114                }
21115                color: 0 0 0 255;
21116                color3: 0 0 0 0;
21117                text {
21118                   font: "Sans";
21119                   size: 10;
21120                   min: 1 1;
21121 //                  min: 0 1;
21122                   align: 0.0 0.5;
21123                   text_class: "list_item";
21124                }
21125             }
21126             description { state: "selected" 0.0;
21127                inherit: "default" 0.0;
21128                color: 224 224 224 255;
21129                color3: 0 0 0 64;
21130             }
21131          }
21132          part { name: "elm.text.sub";
21133             clip_to: "disclip";
21134             type:           TEXT;
21135             mouse_events:   0;
21136             scale: 1;
21137             description {
21138                state: "default" 0.0;
21139 //               min: 16 16;
21140                rel1 {
21141                   to_x:     "elm.swallow.icon";
21142                   relative: 1.0  0.5;
21143                   offset:   0 4;
21144                }
21145                rel2 {
21146                   to_x:     "elm.swallow.end";
21147                   relative: 0.0  1.0;
21148                   offset:   -1 -5;
21149                }
21150                color: 0 0 0 128;
21151                color3: 0 0 0 0;
21152                text {
21153                   font: "Sans";
21154                   size: 8;
21155                   min: 1 1;
21156 //                  min: 0 1;
21157                   align: 0.0 0.5;
21158                   text_class: "list_item";
21159                }
21160             }
21161             description { state: "selected" 0.0;
21162                inherit: "default" 0.0;
21163                color: 128 128 128 255;
21164                color3: 0 0 0 32;
21165             }
21166          }
21167          part { name: "fg1";
21168             clip_to: "disclip";
21169             mouse_events: 0;
21170             description { state: "default" 0.0;
21171                visible: 0;
21172                color: 255 255 255 0;
21173                rel1.to: "bg";
21174                rel2.relative: 1.0 0.5;
21175                rel2.to: "bg";
21176                image {
21177                   normal: "bt_sm_hilight.png";
21178                   border: 6 6 6 0;
21179                }
21180             }
21181             description { state: "selected" 0.0;
21182                inherit: "default" 0.0;
21183                visible: 1;
21184                color: 255 255 255 255;
21185             }
21186          }
21187          part { name: "fg2";
21188             clip_to: "disclip";
21189             mouse_events: 0;
21190             description { state: "default" 0.0;
21191                visible: 0;
21192                color: 255 255 255 0;
21193                rel1.to: "bg";
21194                rel2.to: "bg";
21195                image {
21196                   normal: "bt_sm_shine.png";
21197                   border: 6 6 6 0;
21198                }
21199             }
21200             description { state: "selected" 0.0;
21201                inherit: "default" 0.0;
21202                visible: 1;
21203                color: 255 255 255 255;
21204             }
21205          }
21206          part { name: "disclip";
21207             type: RECT;
21208             description { state: "default" 0.0;
21209                rel1.to: "bg";
21210                rel2.to: "bg";
21211             }
21212             description { state: "disabled" 0.0;
21213                inherit: "default" 0.0;
21214                color: 255 255 255 64;
21215             }
21216          }
21217       }
21218       programs {
21219          // signal: elm,state,%s,active
21220          //   a "check" item named %s went active
21221          // signal: elm,state,%s,passive
21222          //   a "check" item named %s went passive
21223          // default is passive
21224          program {
21225             name:    "go_active";
21226             signal:  "elm,state,selected";
21227             source:  "elm";
21228             action:  STATE_SET "selected" 0.0;
21229             target:  "bg";
21230             target:  "fg1";
21231             target:  "fg2";
21232             target:  "elm.text";
21233             target:  "elm.text.sub";
21234          }
21235          program {
21236             name:    "go_passive";
21237             signal:  "elm,state,unselected";
21238             source:  "elm";
21239             action:  STATE_SET "default" 0.0;
21240             target:  "bg";
21241             target:  "fg1";
21242             target:  "fg2";
21243             target:  "elm.text";
21244             target:  "elm.text.sub";
21245             transition: LINEAR 0.1;
21246          }
21247          program {
21248             name:    "go_disabled";
21249             signal:  "elm,state,disabled";
21250             source:  "elm";
21251             action:  STATE_SET "disabled" 0.0;
21252             target:  "disclip";
21253          }
21254          program {
21255             name:    "go_enabled";
21256             signal:  "elm,state,enabled";
21257             source:  "elm";
21258             action:  STATE_SET "default" 0.0;
21259             target:  "disclip";
21260          }
21261          program {
21262             name:    "expand";
21263             signal:  "mouse,up,1";
21264             source:  "arrow";
21265             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21266          }
21267          program {
21268             name:    "go_expanded";
21269             signal:  "elm,state,expanded";
21270             source:  "elm";
21271             action:  STATE_SET "active" 0.0;
21272             target:  "arrow";
21273          }
21274          program {
21275             name:    "go_contracted";
21276             signal:  "elm,state,contracted";
21277             source:  "elm";
21278             action:  STATE_SET "default" 0.0;
21279             target:  "arrow";
21280          }
21281       }
21282    }
21283
21284    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21285       data.item: "stacking" "above";
21286       data.item: "selectraise" "on";
21287       data.item: "labels" "elm.text";
21288       data.item: "icons" "elm.swallow.icon";
21289       data.item: "treesize" "20";
21290 //      data.item: "states" "";
21291       images {
21292          image: "bt_sm_base1.png" COMP;
21293          image: "bt_sm_shine.png" COMP;
21294          image: "bt_sm_hilight.png" COMP;
21295          image: "ilist_1.png" COMP;
21296          image: "ilist_item_shadow.png" COMP;
21297       }
21298       parts {
21299          part {
21300             name:           "event";
21301             type:           RECT;
21302             repeat_events: 1;
21303             description {
21304                state: "default" 0.0;
21305                color: 0 0 0 0;
21306             }
21307          }
21308          part {
21309             name: "base_sh";
21310             mouse_events: 0;
21311             description {
21312                state: "default" 0.0;
21313                align: 0.0 0.0;
21314                min: 0 10;
21315                fixed: 1 1;
21316                rel1 {
21317                   to: "base";
21318                   relative: 0.0 1.0;
21319                   offset: 0 0;
21320                }
21321                rel2 {
21322                   to: "base";
21323                   relative: 1.0 1.0;
21324                   offset: -1 0;
21325                }
21326                image {
21327                   normal: "ilist_item_shadow.png";
21328                }
21329                fill.smooth: 0;
21330             }
21331          }
21332          part {
21333             name: "base";
21334             mouse_events: 0;
21335             description {
21336                state: "default" 0.0;
21337                image {
21338                   normal: "ilist_1.png";
21339                   border: 2 2 2 2;
21340                }
21341                fill.smooth: 0;
21342             }
21343          }
21344          part { name: "bg";
21345             clip_to: "disclip";
21346             mouse_events: 0;
21347             description { state: "default" 0.0;
21348                visible: 0;
21349                color: 255 255 255 0;
21350                rel1 {
21351                   relative: 0.0 0.0;
21352                   offset: -5 -5;
21353                }
21354                rel2 {
21355                   relative: 1.0 1.0;
21356                   offset: 4 4;
21357                }
21358                image {
21359                   normal: "bt_sm_base1.png";
21360                   border: 6 6 6 6;
21361                }
21362                image.middle: SOLID;
21363             }
21364             description { state: "selected" 0.0;
21365                inherit: "default" 0.0;
21366                visible: 1;
21367                color: 255 255 255 255;
21368                rel1 {
21369                   relative: 0.0 0.0;
21370                   offset: -2 -2;
21371                }
21372                rel2 {
21373                   relative: 1.0 1.0;
21374                   offset: 1 1;
21375                }
21376             }
21377          }
21378          part { name: "elm.swallow.pad";
21379             type: SWALLOW;
21380             description { state: "default" 0.0;
21381                fixed: 1 0;
21382                align: 0.0 0.5;
21383                rel1 {
21384                   relative: 0.0  0.0;
21385                   offset:   4    4;
21386                }
21387                rel2 {
21388                   relative: 1.0  1.0;
21389                   offset:   -4   -5;
21390                }
21391             }
21392          }
21393          part { name: "elm.swallow.icon";
21394             clip_to: "disclip";
21395             type: SWALLOW;
21396             description { state: "default" 0.0;
21397                fixed: 1 0;
21398                align: 0.5 0.5;
21399                rel1 {
21400                   to_x: "elm.swallow.pad";
21401                   relative: 0.0  0.0;
21402                   offset:   -1    4;
21403                }
21404                rel2 {
21405                   to_x: "elm.swallow.pad";
21406                   relative: 1.0  1.0;
21407                   offset:   -1   -5;
21408                }
21409             }
21410          }
21411          part { name: "elm.text";
21412             clip_to: "disclip";
21413             type:           TEXT;
21414             effect:         SOFT_SHADOW;
21415             mouse_events:   0;
21416             scale: 1;
21417             description {
21418                state: "default" 0.0;
21419 //               min: 16 16;
21420                rel1 {
21421                   to_y:     "elm.swallow.icon";
21422                   relative: 0.0  1.0;
21423                   offset:   0 4;
21424                }
21425                rel2 {
21426                   relative: 1.0  1.0;
21427                   offset:   -5 -5;
21428                }
21429                color: 0 0 0 255;
21430                color3: 0 0 0 0;
21431                text {
21432                   font: "Sans";
21433                   size: 10;
21434                   min: 1 1;
21435 //                  min: 0 1;
21436                   align: 0.5 0.5;
21437                   text_class: "list_item";
21438                }
21439             }
21440             description { state: "selected" 0.0;
21441                inherit: "default" 0.0;
21442                color: 224 224 224 255;
21443                color3: 0 0 0 64;
21444             }
21445          }
21446          part { name: "fg1";
21447             clip_to: "disclip";
21448             mouse_events: 0;
21449             description { state: "default" 0.0;
21450                visible: 0;
21451                color: 255 255 255 0;
21452                rel1.to: "bg";
21453                rel2.relative: 1.0 0.5;
21454                rel2.to: "bg";
21455                image {
21456                   normal: "bt_sm_hilight.png";
21457                   border: 6 6 6 0;
21458                }
21459             }
21460             description { state: "selected" 0.0;
21461                inherit: "default" 0.0;
21462                visible: 1;
21463                color: 255 255 255 255;
21464             }
21465          }
21466          part { name: "fg2";
21467             clip_to: "disclip";
21468             mouse_events: 0;
21469             description { state: "default" 0.0;
21470                visible: 0;
21471                color: 255 255 255 0;
21472                rel1.to: "bg";
21473                rel2.to: "bg";
21474                image {
21475                   normal: "bt_sm_shine.png";
21476                   border: 6 6 6 0;
21477                }
21478             }
21479             description { state: "selected" 0.0;
21480                inherit: "default" 0.0;
21481                visible: 1;
21482                color: 255 255 255 255;
21483             }
21484          }
21485          part { name: "disclip";
21486             type: RECT;
21487             description { state: "default" 0.0;
21488                rel1.to: "bg";
21489                rel2.to: "bg";
21490             }
21491             description { state: "disabled" 0.0;
21492                inherit: "default" 0.0;
21493                color: 255 255 255 64;
21494             }
21495          }
21496       }
21497       programs {
21498          // signal: elm,state,%s,active
21499          //   a "check" item named %s went active
21500          // signal: elm,state,%s,passive
21501          //   a "check" item named %s went passive
21502          // default is passive
21503          program {
21504             name:    "go_active";
21505             signal:  "elm,state,selected";
21506             source:  "elm";
21507             action:  STATE_SET "selected" 0.0;
21508             target:  "bg";
21509             target:  "fg1";
21510             target:  "fg2";
21511             target:  "elm.text";
21512          }
21513          program {
21514             name:    "go_passive";
21515             signal:  "elm,state,unselected";
21516             source:  "elm";
21517             action:  STATE_SET "default" 0.0;
21518             target:  "bg";
21519             target:  "fg1";
21520             target:  "fg2";
21521             target:  "elm.text";
21522             transition: LINEAR 0.1;
21523          }
21524          program {
21525             name:    "go_disabled";
21526             signal:  "elm,state,disabled";
21527             source:  "elm";
21528             action:  STATE_SET "disabled" 0.0;
21529             target:  "disclip";
21530          }
21531          program {
21532             name:    "go_enabled";
21533             signal:  "elm,state,enabled";
21534             source:  "elm";
21535             action:  STATE_SET "default" 0.0;
21536             target:  "disclip";
21537          }
21538       }
21539    }
21540    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21541       data.item: "stacking" "below";
21542       data.item: "selectraise" "on";
21543       data.item: "labels" "elm.text";
21544       data.item: "icons" "elm.swallow.icon";
21545       data.item: "treesize" "20";
21546 //      data.item: "states" "";
21547       images {
21548          image: "bt_sm_base1.png" COMP;
21549          image: "bt_sm_shine.png" COMP;
21550          image: "bt_sm_hilight.png" COMP;
21551          image: "ilist_2.png" COMP;
21552       }
21553       parts {
21554          part { name: "event";
21555             type: RECT;
21556             repeat_events: 1;
21557             description {
21558                state: "default" 0.0;
21559                color: 0 0 0 0;
21560             }
21561          }
21562          part {
21563             name: "base";
21564             mouse_events: 0;
21565             description {
21566                state: "default" 0.0;
21567                image {
21568                   normal: "ilist_2.png";
21569                   border: 2 2 2 2;
21570                }
21571                fill.smooth: 0;
21572             }
21573          }
21574          part { name: "bg";
21575             clip_to: "disclip";
21576             mouse_events: 0;
21577             description { state: "default" 0.0;
21578                visible: 0;
21579                color: 255 255 255 0;
21580                rel1 {
21581                   relative: 0.0 0.0;
21582                   offset: -5 -5;
21583                }
21584                rel2 {
21585                   relative: 1.0 1.0;
21586                   offset: 4 4;
21587                }
21588                image {
21589                   normal: "bt_sm_base1.png";
21590                   border: 6 6 6 6;
21591                }
21592                image.middle: SOLID;
21593             }
21594             description { state: "selected" 0.0;
21595                inherit: "default" 0.0;
21596                visible: 1;
21597                color: 255 255 255 255;
21598                rel1 {
21599                   relative: 0.0 0.0;
21600                   offset: -2 -2;
21601                }
21602                rel2 {
21603                   relative: 1.0 1.0;
21604                   offset: 1 1;
21605                }
21606             }
21607          }
21608          part { name: "elm.swallow.pad";
21609             type: SWALLOW;
21610             description { state: "default" 0.0;
21611                fixed: 1 0;
21612                align: 0.0 0.5;
21613                rel1 {
21614                   relative: 0.0  0.0;
21615                   offset:   4    4;
21616                }
21617                rel2 {
21618                   relative: 1.0  1.0;
21619                   offset:   -4   -5;
21620                }
21621             }
21622          }
21623          part { name: "elm.swallow.icon";
21624             clip_to: "disclip";
21625             type: SWALLOW;
21626             description { state: "default" 0.0;
21627                fixed: 1 0;
21628                align: 0.5 0.5;
21629                rel1 {
21630                   to_x: "elm.swallow.pad";
21631                   relative: 0.0  0.0;
21632                   offset:   -1    4;
21633                }
21634                rel2 {
21635                   to_x: "elm.swallow.pad";
21636                   relative: 1.0  1.0;
21637                   offset:   -1   -5;
21638                }
21639             }
21640          }
21641          part { name: "elm.text";
21642             clip_to: "disclip";
21643             type:           TEXT;
21644             effect:         SOFT_SHADOW;
21645             mouse_events:   0;
21646             scale: 1;
21647             description {
21648                state: "default" 0.0;
21649 //               min:      16 16;
21650                rel1 {
21651                   to_y:     "elm.swallow.icon";
21652                   relative: 0.0  1.0;
21653                   offset:   0 4;
21654                }
21655                rel2 {
21656                   relative: 1.0  1.0;
21657                   offset:   -5 -5;
21658                }
21659                color: 0 0 0 255;
21660                color3: 0 0 0 0;
21661                text {
21662                   font: "Sans";
21663                   size: 10;
21664                   min: 1 1;
21665 //                  min: 0 1;
21666                   align: 0.5 0.5;
21667                   text_class: "list_item";
21668                }
21669             }
21670             description { state: "selected" 0.0;
21671                inherit: "default" 0.0;
21672                color: 224 224 224 255;
21673                color3: 0 0 0 64;
21674             }
21675          }
21676          part { name: "fg1";
21677             clip_to: "disclip";
21678             mouse_events: 0;
21679             description { state: "default" 0.0;
21680                visible: 0;
21681                color: 255 255 255 0;
21682                rel1.to: "bg";
21683                rel2.relative: 1.0 0.5;
21684                rel2.to: "bg";
21685                image {
21686                   normal: "bt_sm_hilight.png";
21687                   border: 6 6 6 0;
21688                }
21689             }
21690             description { state: "selected" 0.0;
21691                inherit: "default" 0.0;
21692                visible: 1;
21693                color: 255 255 255 255;
21694             }
21695          }
21696          part { name: "fg2";
21697             clip_to: "disclip";
21698             mouse_events: 0;
21699             description { state: "default" 0.0;
21700                visible: 0;
21701                color: 255 255 255 0;
21702                rel1.to: "bg";
21703                rel2.to: "bg";
21704                image {
21705                   normal: "bt_sm_shine.png";
21706                   border: 6 6 6 0;
21707                }
21708             }
21709             description { state: "selected" 0.0;
21710                inherit: "default" 0.0;
21711                visible: 1;
21712                color: 255 255 255 255;
21713             }
21714          }
21715          part { name: "disclip";
21716             type: RECT;
21717             description { state: "default" 0.0;
21718                rel1.to: "bg";
21719                rel2.to: "bg";
21720             }
21721             description { state: "disabled" 0.0;
21722                inherit: "default" 0.0;
21723                color: 255 255 255 64;
21724             }
21725          }
21726       }
21727       programs {
21728          // signal: elm,state,%s,active
21729          //   a "check" item named %s went active
21730          // signal: elm,state,%s,passive
21731          //   a "check" item named %s went passive
21732          // default is passive
21733          program {
21734             name:    "go_active";
21735             signal:  "elm,state,selected";
21736             source:  "elm";
21737             action:  STATE_SET "selected" 0.0;
21738             target:  "bg";
21739             target:  "fg1";
21740             target:  "fg2";
21741             target:  "elm.text";
21742          }
21743          program {
21744             name:    "go_passive";
21745             signal:  "elm,state,unselected";
21746             source:  "elm";
21747             action:  STATE_SET "default" 0.0;
21748             target:  "bg";
21749             target:  "fg1";
21750             target:  "fg2";
21751             target:  "elm.text";
21752             transition: LINEAR 0.1;
21753          }
21754          program {
21755             name:    "go_disabled";
21756             signal:  "elm,state,disabled";
21757             source:  "elm";
21758             action:  STATE_SET "disabled" 0.0;
21759             target:  "disclip";
21760          }
21761          program {
21762             name:    "go_enabled";
21763             signal:  "elm,state,enabled";
21764             source:  "elm";
21765             action:  STATE_SET "default" 0.0;
21766             target:  "disclip";
21767          }
21768       }
21769    }
21770
21771    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21772       data.item: "stacking" "above";
21773       data.item: "selectraise" "on";
21774       data.item: "labels" "elm.text";
21775       data.item: "icons" "elm.swallow.icon";
21776       data.item: "treesize" "20";
21777 //      data.item: "states" "";
21778       images {
21779          image: "bt_sm_base1.png" COMP;
21780          image: "bt_sm_shine.png" COMP;
21781          image: "bt_sm_hilight.png" COMP;
21782          image: "ilist_1.png" COMP;
21783          image: "ilist_item_shadow.png" COMP;
21784          image: "icon_arrow_right.png" COMP;
21785          image: "icon_arrow_down.png" COMP;
21786       }
21787       parts {
21788          part {
21789             name:           "event";
21790             type:           RECT;
21791             repeat_events: 1;
21792             description {
21793                state: "default" 0.0;
21794                color: 0 0 0 0;
21795             }
21796          }
21797          part {
21798             name: "base_sh";
21799             mouse_events: 0;
21800             description {
21801                state: "default" 0.0;
21802                align: 0.0 0.0;
21803                min: 0 10;
21804                fixed: 1 1;
21805                rel1 {
21806                   to: "base";
21807                   relative: 0.0 1.0;
21808                   offset: 0 0;
21809                }
21810                rel2 {
21811                   to: "base";
21812                   relative: 1.0 1.0;
21813                   offset: -1 0;
21814                }
21815                image {
21816                   normal: "ilist_item_shadow.png";
21817                }
21818                fill.smooth: 0;
21819             }
21820          }
21821          part {
21822             name: "base";
21823             mouse_events: 0;
21824             description {
21825                state: "default" 0.0;
21826                image {
21827                   normal: "ilist_1.png";
21828                   border: 2 2 2 2;
21829                }
21830                fill.smooth: 0;
21831             }
21832          }
21833          part { name: "bg";
21834             clip_to: "disclip";
21835             mouse_events: 0;
21836             description { state: "default" 0.0;
21837                visible: 0;
21838                color: 255 255 255 0;
21839                rel1 {
21840                   relative: 0.0 0.0;
21841                   offset: -5 -5;
21842                }
21843                rel2 {
21844                   relative: 1.0 1.0;
21845                   offset: 4 4;
21846                }
21847                image {
21848                   normal: "bt_sm_base1.png";
21849                   border: 6 6 6 6;
21850                }
21851                image.middle: SOLID;
21852             }
21853             description { state: "selected" 0.0;
21854                inherit: "default" 0.0;
21855                visible: 1;
21856                color: 255 255 255 255;
21857                rel1 {
21858                   relative: 0.0 0.0;
21859                   offset: -2 -2;
21860                }
21861                rel2 {
21862                   relative: 1.0 1.0;
21863                   offset: 1 1;
21864                }
21865             }
21866          }
21867          part { name: "elm.swallow.pad";
21868             type: SWALLOW;
21869             description { state: "default" 0.0;
21870                fixed: 1 0;
21871                align: 0.0 0.5;
21872                rel1 {
21873                   relative: 0.0  0.0;
21874                   offset:   4    4;
21875                }
21876                rel2 {
21877                   relative: 0.0  1.0;
21878                   offset:   4   -5;
21879                }
21880             }
21881          }
21882          part { name: "arrow";
21883             clip_to: "disclip";
21884             ignore_flags: ON_HOLD;
21885             description { state: "default" 0.0;
21886                fixed: 1 0;
21887                align: 0.0 0.5;
21888                aspect: 1.0 1.0;
21889                rel1 {
21890                   to_x: "elm.swallow.pad";
21891                   relative: 1.0  0.0;
21892                   offset:   -1    4;
21893                }
21894                rel2 {
21895                   to_x: "elm.swallow.pad";
21896                   relative: 1.0  1.0;
21897                   offset:   -1   -5;
21898                }
21899                image.normal: "icon_arrow_right.png";
21900             }
21901             description { state: "active" 0.0;
21902                inherit: "default" 0.0;
21903                image.normal: "icon_arrow_down.png";
21904             }
21905          }
21906          part { name: "elm.swallow.icon";
21907             clip_to: "disclip";
21908             type: SWALLOW;
21909             description { state: "default" 0.0;
21910                fixed: 1 0;
21911                align: 0.5 0.5;
21912                rel1 {
21913                   to_x: "arrow";
21914                   relative: 1.0  0.0;
21915                   offset:   4    4;
21916                }
21917                rel2 {
21918                   relative: 1.0  1.0;
21919                   offset:   -4   -5;
21920                }
21921             }
21922          }
21923          part { name: "elm.text";
21924             clip_to: "disclip";
21925             type:           TEXT;
21926             effect:         SOFT_SHADOW;
21927             mouse_events:   0;
21928             scale: 1;
21929             description {
21930                state: "default" 0.0;
21931 //               min: 16 16;
21932                rel1 {
21933                   to_y:     "elm.swallow.icon";
21934                   relative: 0.0  1.0;
21935                   offset:   0 4;
21936                }
21937                rel2 {
21938                   relative: 1.0  1.0;
21939                   offset:   -5 -5;
21940                }
21941                color: 0 0 0 255;
21942                color3: 0 0 0 0;
21943                text {
21944                   font: "Sans";
21945                   size: 10;
21946                   min: 1 1;
21947 //                  min: 0 1;
21948                   align: 0.5 0.5;
21949                   text_class: "list_item";
21950                }
21951             }
21952             description { state: "selected" 0.0;
21953                inherit: "default" 0.0;
21954                color: 224 224 224 255;
21955                color3: 0 0 0 64;
21956             }
21957          }
21958          part { name: "fg1";
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.relative: 1.0 0.5;
21966                rel2.to: "bg";
21967                image {
21968                   normal: "bt_sm_hilight.png";
21969                   border: 6 6 6 0;
21970                }
21971             }
21972             description { state: "selected" 0.0;
21973                inherit: "default" 0.0;
21974                visible: 1;
21975                color: 255 255 255 255;
21976             }
21977          }
21978          part { name: "fg2";
21979             clip_to: "disclip";
21980             mouse_events: 0;
21981             description { state: "default" 0.0;
21982                visible: 0;
21983                color: 255 255 255 0;
21984                rel1.to: "bg";
21985                rel2.to: "bg";
21986                image {
21987                   normal: "bt_sm_shine.png";
21988                   border: 6 6 6 0;
21989                }
21990             }
21991             description { state: "selected" 0.0;
21992                inherit: "default" 0.0;
21993                visible: 1;
21994                color: 255 255 255 255;
21995             }
21996          }
21997          part { name: "disclip";
21998             type: RECT;
21999             description { state: "default" 0.0;
22000                rel1.to: "bg";
22001                rel2.to: "bg";
22002             }
22003             description { state: "disabled" 0.0;
22004                inherit: "default" 0.0;
22005                color: 255 255 255 64;
22006             }
22007          }
22008       }
22009       programs {
22010          // signal: elm,state,%s,active
22011          //   a "check" item named %s went active
22012          // signal: elm,state,%s,passive
22013          //   a "check" item named %s went passive
22014          // default is passive
22015          program {
22016             name:    "go_active";
22017             signal:  "elm,state,selected";
22018             source:  "elm";
22019             action:  STATE_SET "selected" 0.0;
22020             target:  "bg";
22021             target:  "fg1";
22022             target:  "fg2";
22023             target:  "elm.text";
22024          }
22025          program {
22026             name:    "go_passive";
22027             signal:  "elm,state,unselected";
22028             source:  "elm";
22029             action:  STATE_SET "default" 0.0;
22030             target:  "bg";
22031             target:  "fg1";
22032             target:  "fg2";
22033             target:  "elm.text";
22034             transition: LINEAR 0.1;
22035          }
22036          program {
22037             name:    "go_disabled";
22038             signal:  "elm,state,disabled";
22039             source:  "elm";
22040             action:  STATE_SET "disabled" 0.0;
22041             target:  "disclip";
22042          }
22043          program {
22044             name:    "go_enabled";
22045             signal:  "elm,state,enabled";
22046             source:  "elm";
22047             action:  STATE_SET "default" 0.0;
22048             target:  "disclip";
22049          }
22050          program {
22051             name:    "expand";
22052             signal:  "mouse,up,1";
22053             source:  "arrow";
22054             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22055          }
22056          program {
22057             name:    "go_expanded";
22058             signal:  "elm,state,expanded";
22059             source:  "elm";
22060             action:  STATE_SET "active" 0.0;
22061             target:  "arrow";
22062          }
22063          program {
22064             name:    "go_contracted";
22065             signal:  "elm,state,contracted";
22066             source:  "elm";
22067             action:  STATE_SET "default" 0.0;
22068             target:  "arrow";
22069          }
22070       }
22071    }
22072    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22073       data.item: "stacking" "below";
22074       data.item: "selectraise" "on";
22075       data.item: "labels" "elm.text";
22076       data.item: "icons" "elm.swallow.icon";
22077       data.item: "treesize" "20";
22078 //      data.item: "states" "";
22079       images {
22080          image: "bt_sm_base1.png" COMP;
22081          image: "bt_sm_shine.png" COMP;
22082          image: "bt_sm_hilight.png" COMP;
22083          image: "ilist_2.png" COMP;
22084          image: "icon_arrow_right.png" COMP;
22085          image: "icon_arrow_down.png" COMP;
22086       }
22087       parts {
22088          part {
22089             name:           "event";
22090             type:           RECT;
22091             repeat_events: 1;
22092             description {
22093                state: "default" 0.0;
22094                color: 0 0 0 0;
22095             }
22096          }
22097          part {
22098             name: "base";
22099             mouse_events: 0;
22100             description {
22101                state: "default" 0.0;
22102                image {
22103                   normal: "ilist_2.png";
22104                   border: 2 2 2 2;
22105                }
22106                fill.smooth: 0;
22107             }
22108          }
22109          part { name: "bg";
22110             clip_to: "disclip";
22111             mouse_events: 0;
22112             description { state: "default" 0.0;
22113                visible: 0;
22114                color: 255 255 255 0;
22115                rel1 {
22116                   relative: 0.0 0.0;
22117                   offset: -5 -5;
22118                }
22119                rel2 {
22120                   relative: 1.0 1.0;
22121                   offset: 4 4;
22122                }
22123                image {
22124                   normal: "bt_sm_base1.png";
22125                   border: 6 6 6 6;
22126                }
22127                image.middle: SOLID;
22128             }
22129             description { state: "selected" 0.0;
22130                inherit: "default" 0.0;
22131                visible: 1;
22132                color: 255 255 255 255;
22133                rel1 {
22134                   relative: 0.0 0.0;
22135                   offset: -2 -2;
22136                }
22137                rel2 {
22138                   relative: 1.0 1.0;
22139                   offset: 1 1;
22140                }
22141             }
22142          }
22143          part { name: "elm.swallow.pad";
22144             type: SWALLOW;
22145             description { state: "default" 0.0;
22146                fixed: 1 0;
22147                align: 0.0 0.5;
22148                rel1 {
22149                   relative: 0.0  0.0;
22150                   offset:   4    4;
22151                }
22152                rel2 {
22153                   relative: 0.0  1.0;
22154                   offset:   4   -5;
22155                }
22156             }
22157          }
22158          part { name: "arrow";
22159             clip_to: "disclip";
22160             ignore_flags: ON_HOLD;
22161             description { state: "default" 0.0;
22162                fixed: 1 0;
22163                align: 0.0 0.5;
22164                aspect: 1.0 1.0;
22165                rel1 {
22166                   to_x: "elm.swallow.pad";
22167                   relative: 1.0  0.0;
22168                   offset:   -1    4;
22169                }
22170                rel2 {
22171                   to_x: "elm.swallow.pad";
22172                   relative: 1.0  1.0;
22173                   offset:   -1   -5;
22174                }
22175                image.normal: "icon_arrow_right.png";
22176             }
22177             description { state: "active" 0.0;
22178                inherit: "default" 0.0;
22179                image.normal: "icon_arrow_down.png";
22180             }
22181          }
22182          part { name: "elm.swallow.icon";
22183             clip_to: "disclip";
22184             type: SWALLOW;
22185             description { state: "default" 0.0;
22186                fixed: 1 0;
22187                align: 0.5 0.5;
22188                rel1 {
22189                   to_x: "arrow";
22190                   relative: 1.0  0.0;
22191                   offset:   4    4;
22192                }
22193                rel2 {
22194                   relative: 1.0  1.0;
22195                   offset:   -4   -5;
22196                }
22197             }
22198          }
22199          part { name: "elm.text";
22200             clip_to: "disclip";
22201             type:           TEXT;
22202             effect:         SOFT_SHADOW;
22203             mouse_events:   0;
22204             scale: 1;
22205             description {
22206                state: "default" 0.0;
22207 //               min: 16 16;
22208                rel1 {
22209                   to_y:     "elm.swallow.icon";
22210                   relative: 0.0  1.0;
22211                   offset:   0 4;
22212                }
22213                rel2 {
22214                   relative: 1.0  1.0;
22215                   offset:   -5 -5;
22216                }
22217                color: 0 0 0 255;
22218                color3: 0 0 0 0;
22219                text {
22220                   font: "Sans";
22221                   size: 10;
22222                   min: 1 1;
22223 //                  min: 0 1;
22224                   align: 0.5 0.5;
22225                   text_class: "list_item";
22226                }
22227             }
22228             description { state: "selected" 0.0;
22229                inherit: "default" 0.0;
22230                color: 224 224 224 255;
22231                color3: 0 0 0 64;
22232             }
22233          }
22234          part { name: "fg1";
22235             clip_to: "disclip";
22236             mouse_events: 0;
22237             description { state: "default" 0.0;
22238                visible: 0;
22239                color: 255 255 255 0;
22240                rel1.to: "bg";
22241                rel2.relative: 1.0 0.5;
22242                rel2.to: "bg";
22243                image {
22244                   normal: "bt_sm_hilight.png";
22245                   border: 6 6 6 0;
22246                }
22247             }
22248             description { state: "selected" 0.0;
22249                inherit: "default" 0.0;
22250                visible: 1;
22251                color: 255 255 255 255;
22252             }
22253          }
22254          part { name: "fg2";
22255             clip_to: "disclip";
22256             mouse_events: 0;
22257             description { state: "default" 0.0;
22258                visible: 0;
22259                color: 255 255 255 0;
22260                rel1.to: "bg";
22261                rel2.to: "bg";
22262                image {
22263                   normal: "bt_sm_shine.png";
22264                   border: 6 6 6 0;
22265                }
22266             }
22267             description { state: "selected" 0.0;
22268                inherit: "default" 0.0;
22269                visible: 1;
22270                color: 255 255 255 255;
22271             }
22272          }
22273          part { name: "disclip";
22274             type: RECT;
22275             description { state: "default" 0.0;
22276                rel1.to: "bg";
22277                rel2.to: "bg";
22278             }
22279             description { state: "disabled" 0.0;
22280                inherit: "default" 0.0;
22281                color: 255 255 255 64;
22282             }
22283          }
22284       }
22285       programs {
22286          // signal: elm,state,%s,active
22287          //   a "check" item named %s went active
22288          // signal: elm,state,%s,passive
22289          //   a "check" item named %s went passive
22290          // default is passive
22291          program {
22292             name:    "go_active";
22293             signal:  "elm,state,selected";
22294             source:  "elm";
22295             action:  STATE_SET "selected" 0.0;
22296             target:  "bg";
22297             target:  "fg1";
22298             target:  "fg2";
22299             target:  "elm.text";
22300          }
22301          program {
22302             name:    "go_passive";
22303             signal:  "elm,state,unselected";
22304             source:  "elm";
22305             action:  STATE_SET "default" 0.0;
22306             target:  "bg";
22307             target:  "fg1";
22308             target:  "fg2";
22309             target:  "elm.text";
22310             transition: LINEAR 0.1;
22311          }
22312          program {
22313             name:    "go_disabled";
22314             signal:  "elm,state,disabled";
22315             source:  "elm";
22316             action:  STATE_SET "disabled" 0.0;
22317             target:  "disclip";
22318          }
22319          program {
22320             name:    "go_enabled";
22321             signal:  "elm,state,enabled";
22322             source:  "elm";
22323             action:  STATE_SET "default" 0.0;
22324             target:  "disclip";
22325          }
22326          program {
22327             name:    "expand";
22328             signal:  "mouse,up,1";
22329             source:  "arrow";
22330             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22331          }
22332          program {
22333             name:    "go_expanded";
22334             signal:  "elm,state,expanded";
22335             source:  "elm";
22336             action:  STATE_SET "active" 0.0;
22337             target:  "arrow";
22338          }
22339          program {
22340             name:    "go_contracted";
22341             signal:  "elm,state,contracted";
22342             source:  "elm";
22343             action:  STATE_SET "default" 0.0;
22344             target:  "arrow";
22345          }
22346       }
22347    }
22348
22349
22350 ///////////////////////////////////////////////////////////////////////////////
22351    group { name: "elm/check/base/default";
22352       images {
22353          image: "check_base.png" COMP;
22354          image: "check.png" COMP;
22355          image: "check2.png" COMP;
22356       }
22357       parts {
22358          part { name: "bg";
22359             mouse_events: 0;
22360             scale: 1;
22361             description { state: "default" 0.0;
22362                rel1.offset: 1 1;
22363                rel2.relative: 0.0 1.0;
22364                rel2.offset: 1 -2;
22365                align: 0.0 0.5;
22366                min: 16 16;
22367                max: 16 16;
22368                aspect: 1.0 1.0;
22369                aspect_preference: VERTICAL;
22370                image {
22371                   normal: "check_base.png";
22372                   border: 5 5 5 5;
22373                   middle: 0;
22374                }
22375                fill.smooth : 0;
22376             }
22377          }
22378          part { name: "check";
22379             mouse_events: 0;
22380             scale: 1;
22381             description { state: "default" 0.0;
22382                rel1 {
22383                   to: "bg";
22384                   offset: 1 1;
22385                }
22386                rel2 {
22387                   to: "bg";
22388                   offset: -2 -2;
22389                }
22390                visible: 0;
22391                color: 255 255 255 255;
22392                image.normal: "check.png";
22393             }
22394             description { state: "visible" 0.0;
22395                inherit: "default" 0.0;
22396                visible: 1;
22397             }
22398             description { state: "disabled" 0.0;
22399                inherit: "default" 0.0;
22400                visible: 0;
22401                color: 128 128 128 128;
22402             }
22403             description { state: "disabled_visible" 0.0;
22404                inherit: "default" 0.0;
22405                color: 128 128 128 128;
22406                visible: 1;
22407             }
22408          }
22409          part { name: "elm.swallow.content";
22410             type: SWALLOW;
22411             description { state: "default" 0.0;
22412                fixed: 1 0;
22413                visible: 0;
22414                align: 0.0 0.5;
22415           rel1.to_x: "bg";
22416                rel1.relative: 1.0 0.0;
22417                rel1.offset: 1 1;
22418           rel2.to_x: "bg";
22419                rel2.offset: 1 -2;
22420                rel2.relative: 1.0 1.0;
22421             }
22422             description { state: "visible" 0.0;
22423                inherit: "default" 0.0;
22424           fixed: 1 0;
22425                visible: 1;
22426                aspect: 1.0 1.0;
22427             }
22428             description { state: "disabled" 0.0;
22429                inherit: "default" 0.0;
22430                color: 128 128 128 128;
22431             }
22432             description { state: "disabled_visible" 0.0;
22433                inherit: "default" 0.0;
22434                color: 128 128 128 128;
22435           fixed: 1 0;
22436                visible: 1;
22437                aspect: 1.0 1.0;
22438             }
22439          }
22440          part { name: "elm.text";
22441             type: TEXT;
22442             mouse_events: 0;
22443             scale: 1;
22444             description { state: "default" 0.0;
22445                visible: 0;
22446                rel1.to_x: "elm.swallow.content";
22447                rel1.relative: 1.0 0.0;
22448                rel1.offset: 1 1;
22449                rel2.relative: 1.0 1.0;
22450                rel2.offset: -2 -2;
22451                color: 0 0 0 255;
22452                text {
22453                   font: "Sans,Edje-Vera";
22454                   size: 10;
22455                   min: 0 1;
22456                   align: 0.0 0.5;
22457                }
22458             }
22459             description { state: "visible" 0.0;
22460                inherit: "default" 0.0;
22461                visible: 1;
22462                text.min: 1 1;
22463             }
22464             description { state: "disabled" 0.0;
22465                inherit: "default" 0.0;
22466                color: 0 0 0 128;
22467                color3: 0 0 0 0;
22468             }
22469             description { state: "disabled_visible" 0.0;
22470                inherit: "default" 0.0;
22471                color: 0 0 0 128;
22472                color3: 0 0 0 0;
22473                visible: 1;
22474                text.min: 1 1;
22475             }
22476          }
22477          part { name: "events";
22478             type: RECT;
22479             ignore_flags: ON_HOLD;
22480             description { state: "default" 0.0;
22481                color: 0 0 0 0;
22482             }
22483          }
22484           part { name: "disabler";
22485             type: RECT;
22486             description { state: "default" 0.0;
22487                color: 0 0 0 0;
22488                visible: 0;
22489             }
22490             description { state: "disabled" 0.0;
22491                inherit: "default" 0.0;
22492                visible: 1;
22493             }
22494          }
22495       }
22496       programs {
22497          program { name: "click";
22498             signal: "mouse,up,1";
22499             source: "events";
22500             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22501          }
22502          program { name: "check_on";
22503             signal: "elm,state,check,on";
22504             source: "elm";
22505             action:  STATE_SET "visible" 0.0;
22506             target: "check";
22507          }
22508          program { name: "check_off";
22509             signal: "elm,state,check,off";
22510             source: "elm";
22511             action:  STATE_SET "default" 0.0;
22512             target: "check";
22513          }
22514          program { name: "text_show";
22515             signal: "elm,state,text,visible";
22516             source: "elm";
22517             action:  STATE_SET "visible" 0.0;
22518             target: "elm.text";
22519          }
22520          program { name: "text_hide";
22521             signal: "elm,state,text,hidden";
22522             source: "elm";
22523             action:  STATE_SET "default" 0.0;
22524             target: "elm.text";
22525          }
22526          program { name: "icon_show";
22527             signal: "elm,state,icon,visible";
22528             source: "elm";
22529             action:  STATE_SET "visible" 0.0;
22530             target: "elm.swallow.content";
22531          }
22532          program { name: "icon_hide";
22533             signal: "elm,state,icon,hidden";
22534             source: "elm";
22535             action:  STATE_SET "default" 0.0;
22536             target: "elm.swallow.content";
22537          }
22538          program { name: "disable";
22539             signal: "elm,state,disabled";
22540             source: "elm";
22541             action: STATE_SET "disabled" 0.0;
22542             target: "disabler";
22543             after: "disable_text";
22544          }
22545          program { name: "disable_text";
22546             script {
22547                new st[31];
22548                new Float:vl;
22549                get_state(PART:"elm.text", st, 30, vl);
22550                if (!strcmp(st, "visible"))
22551                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22552                else
22553                  set_state(PART:"elm.text", "disabled", 0.0);
22554
22555                get_state(PART:"elm.swallow.content", st, 30, vl);
22556                if (!strcmp(st, "visible"))
22557                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22558                else
22559                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22560
22561                get_state(PART:"check", st, 30, vl);
22562                if (!strcmp(st, "visible"))
22563                  set_state(PART:"check", "disabled_visible", 0.0);
22564                else
22565                  set_state(PART:"check", "disabled", 0.0);
22566             }
22567          }
22568          program { name: "enable";
22569             signal: "elm,state,enabled";
22570             source: "elm";
22571             action: STATE_SET "default" 0.0;
22572             target: "disabler";
22573             after: "enable_text";
22574          }
22575          program { name: "enable_text";
22576             script {
22577                new st[31];
22578                new Float:vl;
22579                get_state(PART:"elm.text", st, 30, vl);
22580                if (!strcmp(st, "disabled_visible"))
22581                  set_state(PART:"elm.text", "visible", 0.0);
22582                else
22583                  set_state(PART:"elm.text", "default", 0.0);
22584
22585                get_state(PART:"elm.swallow.content", st, 30, vl);
22586                if (!strcmp(st, "visible"))
22587                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22588                else
22589                  set_state(PART:"elm.swallow.content", "default", 0.0);
22590
22591                get_state(PART:"check", st, 30, vl);
22592                if (!strcmp(st, "visible"))
22593                  set_state(PART:"check", "visible", 0.0);
22594                else
22595                  set_state(PART:"check", "default", 0.0);
22596             }
22597          }
22598       }
22599    }
22600 ///////////////////////////////////////////////////////////////////////////////
22601    group { name: "elm/radio/base/default";
22602       images {
22603          image: "radio_base.png" COMP;
22604          image: "radio.png" COMP;
22605          image: "radio2.png" COMP;
22606       }
22607       parts {
22608          part { name: "bg";
22609             mouse_events: 0;
22610             scale: 1;
22611             description { state: "default" 0.0;
22612                rel1.offset: 1 1;
22613                rel2.relative: 0.0 1.0;
22614                rel2.offset: 1 -2;
22615                align: 0.0 0.5;
22616                min: 16 16;
22617                max: 16 16;
22618                aspect: 1.0 1.0;
22619                aspect_preference: VERTICAL;
22620                image.normal: "radio_base.png";
22621             }
22622          }
22623          part { name: "radio";
22624             mouse_events: 0;
22625             scale: 1;
22626             description { state: "default" 0.0;
22627                rel1.to: "bg";
22628                rel2.to: "bg";
22629                visible: 0;
22630                image.normal: "radio.png";
22631             }
22632             description { state: "visible" 0.0;
22633                inherit: "default" 0.0;
22634                visible: 1;
22635             }
22636          }
22637          part { name: "elm.swallow.content";
22638             type: SWALLOW;
22639             description { state: "default" 0.0;
22640                fixed: 1 0;
22641                visible: 0;
22642                align: 0.0 0.5;
22643                color: 0 0 0 0;
22644                rel1.to_x: "bg";
22645                rel1.relative: 1.0 0.0;
22646                rel1.offset: 1 1;
22647                rel2.to_x: "bg";
22648                rel2.relative: 1.0 1.0;
22649                rel2.offset: 2 -2;
22650             }
22651             description { state: "visible" 0.0;
22652                inherit: "default" 0.0;
22653                visible: 1;
22654                color: 255 255 255 255;
22655                aspect: 1.0 1.0;
22656             }
22657             description { state: "disabled" 0.0;
22658                inherit: "default" 0.0;
22659                color: 128 128 128 128;
22660             }
22661             description { state: "disabled_visible" 0.0;
22662                inherit: "default" 0.0;
22663                color: 128 128 128 128;
22664                visible: 1;
22665                aspect: 1.0 1.0;
22666             }
22667          }
22668          part { name: "elm.text";
22669             type: TEXT;
22670             mouse_events: 0;
22671             scale: 1;
22672             description { state: "default" 0.0;
22673                visible: 0;
22674                rel1.to_x: "elm.swallow.content";
22675                rel1.relative: 1.0 0.0;
22676                rel1.offset: 1 1;
22677                rel2.relative: 1.0 1.0;
22678                rel2.offset: -2 -2;
22679                color: 0 0 0 255;
22680                text {
22681                   font: "Sans,Edje-Vera";
22682                   size: 10;
22683                   min: 0 0;
22684                   align: 0.0 0.5;
22685                }
22686             }
22687             description { state: "visible" 0.0;
22688                inherit: "default" 0.0;
22689                visible: 1;
22690                text.min: 1 1;
22691             }
22692             description { state: "disabled" 0.0;
22693                inherit: "default" 0.0;
22694                color: 0 0 0 128;
22695                color3: 0 0 0 0;
22696             }
22697             description { state: "disabled_visible" 0.0;
22698                inherit: "default" 0.0;
22699                color: 0 0 0 128;
22700                color3: 0 0 0 0;
22701                visible: 1;
22702                text.min: 1 1;
22703             }
22704          }
22705          part { name: "events";
22706             type: RECT;
22707             ignore_flags: ON_HOLD;
22708             description { state: "default" 0.0;
22709                color: 0 0 0 0;
22710             }
22711          }
22712           part { name: "disabler";
22713             type: RECT;
22714             description { state: "default" 0.0;
22715                color: 0 0 0 0;
22716                visible: 0;
22717             }
22718             description { state: "disabled" 0.0;
22719                inherit: "default" 0.0;
22720                visible: 1;
22721             }
22722          }
22723       }
22724       programs {
22725          program { name: "click";
22726             signal: "mouse,up,1";
22727             source: "events";
22728             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22729          }
22730          program { name: "radio_on";
22731             signal: "elm,state,radio,on";
22732             source: "elm";
22733             action:  STATE_SET "visible" 0.0;
22734             target: "radio";
22735          }
22736          program { name: "radio_off";
22737             signal: "elm,state,radio,off";
22738             source: "elm";
22739             action:  STATE_SET "default" 0.0;
22740             target: "radio";
22741          }
22742          program { name: "text_show";
22743             signal: "elm,state,text,visible";
22744             source: "elm";
22745             action:  STATE_SET "visible" 0.0;
22746             target: "elm.text";
22747          }
22748          program { name: "text_hide";
22749             signal: "elm,state,text,hidden";
22750             source: "elm";
22751             action:  STATE_SET "default" 0.0;
22752             target: "elm.text";
22753          }
22754          program { name: "icon_show";
22755             signal: "elm,state,icon,visible";
22756             source: "elm";
22757             action:  STATE_SET "visible" 0.0;
22758             target: "elm.swallow.content";
22759          }
22760          program { name: "icon_hide";
22761             signal: "elm,state,icon,hidden";
22762             source: "elm";
22763             action:  STATE_SET "default" 0.0;
22764             target: "elm.swallow.content";
22765          }
22766          program { name: "disable";
22767             signal: "elm,state,disabled";
22768             source: "elm";
22769             action: STATE_SET "disabled" 0.0;
22770             target: "disabler";
22771             after: "disable_text";
22772          }
22773          program { name: "disable_text";
22774             script {
22775                new st[31];
22776                new Float:vl;
22777                get_state(PART:"elm.text", st, 30, vl);
22778                if (!strcmp(st, "visible"))
22779                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22780                else
22781                  set_state(PART:"elm.text", "disabled", 0.0);
22782
22783                get_state(PART:"elm.swallow.content", st, 30, vl);
22784                if (!strcmp(st, "visible"))
22785                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22786                else
22787                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22788             }
22789          }
22790          program { name: "enable";
22791             signal: "elm,state,enabled";
22792             source: "elm";
22793             action: STATE_SET "default" 0.0;
22794             target: "disabler";
22795             after: "enable_text";
22796          }
22797          program { name: "enable_text";
22798             script {
22799                new st[31];
22800                new Float:vl;
22801                get_state(PART:"elm.text", st, 30, vl);
22802                if (!strcmp(st, "disabled_visible"))
22803                  set_state(PART:"elm.text", "visible", 0.0);
22804                else
22805                  set_state(PART:"elm.text", "default", 0.0);
22806
22807                get_state(PART:"elm.swallow.content", st, 30, vl);
22808                if (!strcmp(st, "visible"))
22809                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22810                else
22811                  set_state(PART:"elm.swallow.content", "default", 0.0);
22812             }
22813          }
22814       }
22815    }
22816    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22817       data.item: "stacking" "below";
22818       data.item: "selectraise" "on";
22819       data.item: "labels" "elm.text elm.text.sub";
22820       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22821       data.item: "treesize" "20";
22822 //      data.item: "states" "";
22823       images {
22824          image: "bt_sm_base1.png" COMP;
22825          image: "bt_sm_shine.png" COMP;
22826          image: "bt_sm_hilight.png" COMP;
22827          image: "ilist_2.png" COMP;
22828          image: "icon_arrow_right.png" COMP;
22829          image: "icon_arrow_down.png" COMP;
22830       }
22831       parts {
22832          part {
22833             name:           "event";
22834             type:           RECT;
22835             repeat_events: 1;
22836             description {
22837                state: "default" 0.0;
22838                color: 0 0 0 0;
22839             }
22840          }
22841          part {
22842             name: "base";
22843             mouse_events: 0;
22844             description {
22845                state: "default" 0.0;
22846                image {
22847                   normal: "ilist_2.png";
22848                   border: 2 2 2 2;
22849                }
22850                fill.smooth: 0;
22851             }
22852          }
22853          part { name: "bg";
22854             clip_to: "disclip";
22855             mouse_events: 0;
22856             description { state: "default" 0.0;
22857                visible: 0;
22858                color: 255 255 255 0;
22859                rel1 {
22860                   relative: 0.0 0.0;
22861                   offset: -5 -5;
22862                }
22863                rel2 {
22864                   relative: 1.0 1.0;
22865                   offset: 4 4;
22866                }
22867                image {
22868                   normal: "bt_sm_base1.png";
22869                   border: 6 6 6 6;
22870                }
22871                image.middle: SOLID;
22872             }
22873             description { state: "selected" 0.0;
22874                inherit: "default" 0.0;
22875                visible: 1;
22876                color: 255 255 255 255;
22877                rel1 {
22878                   relative: 0.0 0.0;
22879                   offset: -2 -2;
22880                }
22881                rel2 {
22882                   relative: 1.0 1.0;
22883                   offset: 1 1;
22884                }
22885             }
22886          }
22887          part { name: "elm.swallow.pad";
22888             type: SWALLOW;
22889             description { state: "default" 0.0;
22890                fixed: 1 0;
22891                align: 0.0 0.5;
22892                rel1 {
22893                   relative: 0.0  0.0;
22894                   offset:   4    4;
22895                }
22896                rel2 {
22897                   relative: 0.0  1.0;
22898                   offset:   4   -5;
22899                }
22900             }
22901          }
22902          part { name: "arrow";
22903             clip_to: "disclip";
22904             ignore_flags: ON_HOLD;
22905             description { state: "default" 0.0;
22906                fixed: 1 0;
22907                align: 0.0 0.5;
22908                aspect: 1.0 1.0;
22909                rel1 {
22910                   to_x: "elm.swallow.pad";
22911                   relative: 1.0  0.0;
22912                   offset:   -1    4;
22913                }
22914                rel2 {
22915                   to_x: "elm.swallow.pad";
22916                   relative: 1.0  1.0;
22917                   offset:   -1   -5;
22918                }
22919                image.normal: "icon_arrow_right.png";
22920             }
22921             description { state: "active" 0.0;
22922                inherit: "default" 0.0;
22923                image.normal: "icon_arrow_down.png";
22924             }
22925          }
22926          part { name: "elm.swallow.icon";
22927             clip_to: "disclip";
22928             type: SWALLOW;
22929             description { state: "default" 0.0;
22930                fixed: 1 0;
22931                align: 0.0 0.5;
22932                rel1 {
22933                   to_x: "arrow";
22934                   relative: 1.0  0.0;
22935                   offset:   4    4;
22936                }
22937                rel2 {
22938                   to_x: "arrow";
22939                   relative: 1.0  1.0;
22940                   offset:   4   -5;
22941                }
22942             }
22943          }
22944          part { name: "elm.swallow.end";
22945             clip_to: "disclip";
22946             type: SWALLOW;
22947             description { state: "default" 0.0;
22948                fixed: 1 0;
22949                align: 1.0 0.5;
22950                aspect: 1.0 1.0;
22951                aspect_preference: VERTICAL;
22952                rel1 {
22953                   relative: 1.0  0.0;
22954                   offset:   -5    4;
22955                }
22956                rel2 {
22957                   relative: 1.0  1.0;
22958                   offset:   -5   -5;
22959                }
22960             }
22961          }
22962          part { name: "elm.text";
22963             clip_to: "disclip";
22964             type:           TEXT;
22965             effect:         SOFT_SHADOW;
22966             mouse_events:   0;
22967             scale: 1;
22968             description {
22969                state: "default" 0.0;
22970 //               min: 16 16;
22971                rel1 {
22972                   to_x:     "elm.swallow.icon";
22973                   relative: 1.0  0.0;
22974                   offset:   0 4;
22975                }
22976                rel2 {
22977                   to_x:     "elm.swallow.end";
22978                   relative: 0.0  0.5;
22979                   offset:   -1 -5;
22980                }
22981                color: 0 0 0 255;
22982                color3: 0 0 0 0;
22983                text {
22984                   font: "Sans";
22985                   size: 10;
22986 //                  min: 1 1;
22987                   min: 0 1;
22988                   align: 0.0 0.5;
22989                   text_class: "list_item";
22990                }
22991             }
22992             description { state: "selected" 0.0;
22993                inherit: "default" 0.0;
22994                color: 224 224 224 255;
22995                color3: 0 0 0 64;
22996             }
22997          }
22998          part { name: "elm.text.sub";
22999             clip_to: "disclip";
23000             type:           TEXT;
23001             mouse_events:   0;
23002             scale: 1;
23003             description {
23004                state: "default" 0.0;
23005 //               min: 16 16;
23006                rel1 {
23007                   to_x:     "elm.swallow.icon";
23008                   relative: 1.0  0.5;
23009                   offset:   0 4;
23010                }
23011                rel2 {
23012                   to_x:     "elm.swallow.end";
23013                   relative: 0.0  1.0;
23014                   offset:   -1 -5;
23015                }
23016                color: 0 0 0 128;
23017                color3: 0 0 0 0;
23018                text {
23019                   font: "Sans";
23020                   size: 8;
23021 //                  min: 1 1;
23022                   min: 0 1;
23023                   align: 0.0 0.5;
23024                   text_class: "list_item";
23025                }
23026             }
23027             description { state: "selected" 0.0;
23028                inherit: "default" 0.0;
23029                color: 128 128 128 255;
23030                color3: 0 0 0 32;
23031             }
23032          }
23033          part { name: "fg1";
23034             clip_to: "disclip";
23035             mouse_events: 0;
23036             description { state: "default" 0.0;
23037                visible: 0;
23038                color: 255 255 255 0;
23039                rel1.to: "bg";
23040                rel2.relative: 1.0 0.5;
23041                rel2.to: "bg";
23042                image {
23043                   normal: "bt_sm_hilight.png";
23044                   border: 6 6 6 0;
23045                }
23046             }
23047             description { state: "selected" 0.0;
23048                inherit: "default" 0.0;
23049                visible: 1;
23050                color: 255 255 255 255;
23051             }
23052          }
23053          part { name: "fg2";
23054             clip_to: "disclip";
23055             mouse_events: 0;
23056             description { state: "default" 0.0;
23057                visible: 0;
23058                color: 255 255 255 0;
23059                rel1.to: "bg";
23060                rel2.to: "bg";
23061                image {
23062                   normal: "bt_sm_shine.png";
23063                   border: 6 6 6 0;
23064                }
23065             }
23066             description { state: "selected" 0.0;
23067                inherit: "default" 0.0;
23068                visible: 1;
23069                color: 255 255 255 255;
23070             }
23071          }
23072          part { name: "disclip";
23073             type: RECT;
23074             description { state: "default" 0.0;
23075                rel1.to: "bg";
23076                rel2.to: "bg";
23077             }
23078             description { state: "disabled" 0.0;
23079                inherit: "default" 0.0;
23080                color: 255 255 255 64;
23081             }
23082          }
23083       }
23084       programs {
23085          // signal: elm,state,%s,active
23086          //   a "check" item named %s went active
23087          // signal: elm,state,%s,passive
23088          //   a "check" item named %s went passive
23089          // default is passive
23090          program {
23091             name:    "go_active";
23092             signal:  "elm,state,selected";
23093             source:  "elm";
23094             action:  STATE_SET "selected" 0.0;
23095             target:  "bg";
23096             target:  "fg1";
23097             target:  "fg2";
23098             target:  "elm.text";
23099             target:  "elm.text.sub";
23100          }
23101          program {
23102             name:    "go_passive";
23103             signal:  "elm,state,unselected";
23104             source:  "elm";
23105             action:  STATE_SET "default" 0.0;
23106             target:  "bg";
23107             target:  "fg1";
23108             target:  "fg2";
23109             target:  "elm.text";
23110             target:  "elm.text.sub";
23111             transition: LINEAR 0.1;
23112          }
23113          program {
23114             name:    "go_disabled";
23115             signal:  "elm,state,disabled";
23116             source:  "elm";
23117             action:  STATE_SET "disabled" 0.0;
23118             target:  "disclip";
23119          }
23120          program {
23121             name:    "go_enabled";
23122             signal:  "elm,state,enabled";
23123             source:  "elm";
23124             action:  STATE_SET "default" 0.0;
23125             target:  "disclip";
23126          }
23127          program {
23128             name:    "expand";
23129             signal:  "mouse,up,1";
23130             source:  "arrow";
23131             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23132          }
23133          program {
23134             name:    "go_expanded";
23135             signal:  "elm,state,expanded";
23136             source:  "elm";
23137             action:  STATE_SET "active" 0.0;
23138             target:  "arrow";
23139          }
23140          program {
23141             name:    "go_contracted";
23142             signal:  "elm,state,contracted";
23143             source:  "elm";
23144             action:  STATE_SET "default" 0.0;
23145             target:  "arrow";
23146          }
23147       }
23148    }
23149
23150    group { name: "elm/genlist/item_compress/media/default";
23151       data.item: "stacking" "above";
23152       data.item: "selectraise" "on";
23153       data.item: "labels" "elm.text.title elm.text.album-artist";
23154       data.item: "treesize" "20";
23155       images {
23156          image: "bt_sm_base1.png" COMP;
23157          image: "bt_sm_shine.png" COMP;
23158          image: "bt_sm_hilight.png" COMP;
23159          image: "ilist_1.png" COMP;
23160          image: "ilist_item_shadow.png" COMP;
23161       }
23162       parts {
23163          part {
23164             name:           "event";
23165             type:           RECT;
23166             repeat_events: 1;
23167             description {
23168                state: "default" 0.0;
23169                color: 0 0 0 0;
23170             }
23171          }
23172          part {
23173             name: "base_sh";
23174             mouse_events: 0;
23175             description {
23176                state: "default" 0.0;
23177                align: 0.0 0.0;
23178                min: 0 10;
23179                fixed: 1 1;
23180                rel1 {
23181                   to: "base";
23182                   relative: 0.0 1.0;
23183                   offset: 0 0;
23184                }
23185                rel2 {
23186                   to: "base";
23187                   relative: 1.0 1.0;
23188                   offset: -1 0;
23189                }
23190                image {
23191                   normal: "ilist_item_shadow.png";
23192                }
23193                fill.smooth: 0;
23194             }
23195          }
23196          part {
23197             name: "base";
23198             mouse_events: 0;
23199             description {
23200                state: "default" 0.0;
23201                image {
23202                   normal: "ilist_1.png";
23203                   border: 2 2 2 2;
23204                }
23205                fill.smooth: 0;
23206             }
23207          }
23208          part { name: "bg";
23209             clip_to: "disclip";
23210             mouse_events: 0;
23211             description { state: "default" 0.0;
23212                visible: 0;
23213                color: 255 255 255 0;
23214                rel1 {
23215                   relative: 0.0 0.0;
23216                   offset: -5 -5;
23217                }
23218                rel2 {
23219                   relative: 1.0 1.0;
23220                   offset: 4 4;
23221                }
23222                image {
23223                   normal: "bt_sm_base1.png";
23224                   border: 6 6 6 6;
23225                }
23226                image.middle: SOLID;
23227             }
23228             description { state: "selected" 0.0;
23229                inherit: "default" 0.0;
23230                visible: 1;
23231                color: 255 255 255 255;
23232                rel1 {
23233                   relative: 0.0 0.0;
23234                   offset: -2 -2;
23235                }
23236                rel2 {
23237                   relative: 1.0 1.0;
23238                   offset: 1 1;
23239                }
23240             }
23241          }
23242          part { name: "elm.swallow.pad";
23243             type: SWALLOW;
23244             description { state: "default" 0.0;
23245                fixed: 1 0;
23246                align: 0.0 0.5;
23247                rel1 {
23248                   relative: 0.0  0.0;
23249                   offset:   4    4;
23250                }
23251                rel2 {
23252                   relative: 0.0  1.0;
23253                   offset:   4   -5;
23254                }
23255             }
23256          }
23257          part { name: "elm.text.title";
23258             clip_to: "disclip";
23259             type:           TEXT;
23260             effect:         SOFT_SHADOW;
23261             mouse_events:   0;
23262             scale: 1;
23263             description {
23264                state: "default" 0.0;
23265                rel1 {
23266                   relative: 0.0  0.0;
23267                   offset:   4 4;
23268                }
23269                rel2 {
23270                   relative: 1.0  0.5;
23271                   offset:   -1 -5;
23272                }
23273                color: 0 0 0 255;
23274                color3: 0 0 0 0;
23275                text {
23276                   font: "Sans";
23277                   size: 10;
23278                   min: 0 1;
23279                   align: 0.0 0.5;
23280                }
23281             }
23282             description { state: "selected" 0.0;
23283                inherit: "default" 0.0;
23284                color: 224 224 224 255;
23285                color3: 0 0 0 64;
23286             }
23287          }
23288          part { name: "elm.text.album-artist";
23289             clip_to: "disclip";
23290             type:           TEXT;
23291             mouse_events:   0;
23292             scale: 1;
23293             description {
23294                state: "default" 0.0;
23295                rel1 {
23296                   relative: 0.0  0.5;
23297                   offset:   4 4;
23298                }
23299                rel2 {
23300                   relative: 1.0  1.0;
23301                   offset:   -1 -5;
23302                }
23303                color: 0 0 0 128;
23304                color3: 0 0 0 0;
23305                text {
23306                   font: "Sans";
23307                   size: 8;
23308                   min: 0 1;
23309                   align: 0.0 0.5;
23310                }
23311             }
23312             description { state: "selected" 0.0;
23313                inherit: "default" 0.0;
23314                color: 128 128 128 255;
23315                color3: 0 0 0 32;
23316             }
23317          }
23318          part { name: "fg1";
23319             clip_to: "disclip";
23320             mouse_events: 0;
23321             description { state: "default" 0.0;
23322                visible: 0;
23323                color: 255 255 255 0;
23324                rel1.to: "bg";
23325                rel2.relative: 1.0 0.5;
23326                rel2.to: "bg";
23327                image {
23328                   normal: "bt_sm_hilight.png";
23329                   border: 6 6 6 0;
23330                }
23331             }
23332             description { state: "selected" 0.0;
23333                inherit: "default" 0.0;
23334                visible: 1;
23335                color: 255 255 255 255;
23336             }
23337          }
23338          part { name: "fg2";
23339             clip_to: "disclip";
23340             mouse_events: 0;
23341             description { state: "default" 0.0;
23342                visible: 0;
23343                color: 255 255 255 0;
23344                rel1.to: "bg";
23345                rel2.to: "bg";
23346                image {
23347                   normal: "bt_sm_shine.png";
23348                   border: 6 6 6 0;
23349                }
23350             }
23351             description { state: "selected" 0.0;
23352                inherit: "default" 0.0;
23353                visible: 1;
23354                color: 255 255 255 255;
23355             }
23356          }
23357          part { name: "disclip";
23358             type: RECT;
23359             description { state: "default" 0.0;
23360                rel1.to: "bg";
23361                rel2.to: "bg";
23362             }
23363             description { state: "disabled" 0.0;
23364                inherit: "default" 0.0;
23365                color: 255 255 255 64;
23366             }
23367          }
23368       }
23369       programs {
23370          // signal: elm,state,%s,active
23371          //   a "check" item named %s went active
23372          // signal: elm,state,%s,passive
23373          //   a "check" item named %s went passive
23374          // default is passive
23375          program {
23376             name:    "go_active";
23377             signal:  "elm,state,selected";
23378             source:  "elm";
23379             action:  STATE_SET "selected" 0.0;
23380             target:  "bg";
23381             target:  "fg1";
23382             target:  "fg2";
23383             target:  "elm.text.title";
23384             target:  "elm.text.album-artist";
23385          }
23386          program {
23387             name:    "go_passive";
23388             signal:  "elm,state,unselected";
23389             source:  "elm";
23390             action:  STATE_SET "default" 0.0;
23391             target:  "bg";
23392             target:  "fg1";
23393             target:  "fg2";
23394             target:  "elm.text.title";
23395             target:  "elm.text.album-artist";
23396             transition: LINEAR 0.1;
23397          }
23398          program {
23399             name:    "go_disabled";
23400             signal:  "elm,state,disabled";
23401             source:  "elm";
23402             action:  STATE_SET "disabled" 0.0;
23403             target:  "disclip";
23404          }
23405          program {
23406             name:    "go_enabled";
23407             signal:  "elm,state,enabled";
23408             source:  "elm";
23409             action:  STATE_SET "default" 0.0;
23410             target:  "disclip";
23411          }
23412       }
23413    }
23414    group { name: "elm/genlist/item_compress_odd/media/default";
23415       data.item: "stacking" "below";
23416       data.item: "selectraise" "on";
23417       data.item: "labels" "elm.text.title elm.text.album-artist";
23418       data.item: "treesize" "20";
23419       images {
23420          image: "bt_sm_base1.png" COMP;
23421          image: "bt_sm_shine.png" COMP;
23422          image: "bt_sm_hilight.png" COMP;
23423          image: "ilist_2.png" COMP;
23424       }
23425       parts {
23426          part { name: "event";
23427             type: RECT;
23428             repeat_events: 1;
23429             description {
23430                state: "default" 0.0;
23431                color: 0 0 0 0;
23432             }
23433          }
23434          part {
23435             name: "base";
23436             mouse_events: 0;
23437             description {
23438                state: "default" 0.0;
23439                image {
23440                   normal: "ilist_2.png";
23441                   border: 2 2 2 2;
23442                }
23443                fill.smooth: 0;
23444             }
23445          }
23446          part { name: "bg";
23447             clip_to: "disclip";
23448             mouse_events: 0;
23449             description { state: "default" 0.0;
23450                visible: 0;
23451                color: 255 255 255 0;
23452                rel1 {
23453                   relative: 0.0 0.0;
23454                   offset: -5 -5;
23455                }
23456                rel2 {
23457                   relative: 1.0 1.0;
23458                   offset: 4 4;
23459                }
23460                image {
23461                   normal: "bt_sm_base1.png";
23462                   border: 6 6 6 6;
23463                }
23464                image.middle: SOLID;
23465             }
23466             description { state: "selected" 0.0;
23467                inherit: "default" 0.0;
23468                visible: 1;
23469                color: 255 255 255 255;
23470                rel1 {
23471                   relative: 0.0 0.0;
23472                   offset: -2 -2;
23473                }
23474                rel2 {
23475                   relative: 1.0 1.0;
23476                   offset: 1 1;
23477                }
23478             }
23479          }
23480          part { name: "elm.swallow.pad";
23481             type: SWALLOW;
23482             description { state: "default" 0.0;
23483                fixed: 1 0;
23484                align: 0.0 0.5;
23485                rel1 {
23486                   relative: 0.0  0.0;
23487                   offset:   4    4;
23488                }
23489                rel2 {
23490                   relative: 0.0  1.0;
23491                   offset:   4   -5;
23492                }
23493             }
23494          }
23495          part { name: "elm.text.title";
23496             clip_to: "disclip";
23497             type:           TEXT;
23498             effect:         SOFT_SHADOW;
23499             mouse_events:   0;
23500             scale: 1;
23501             description {
23502                state: "default" 0.0;
23503                rel1 {
23504                   relative: 0.0  0.0;
23505                   offset:   4 4;
23506                }
23507                rel2 {
23508                   relative: 1.0  0.5;
23509                   offset:   -1 -5;
23510                }
23511                color: 0 0 0 255;
23512                color3: 0 0 0 0;
23513                text {
23514                   font: "Sans";
23515                   size: 10;
23516                   min: 0 1;
23517                   align: 0.0 0.5;
23518                }
23519             }
23520             description { state: "selected" 0.0;
23521                inherit: "default" 0.0;
23522                color: 224 224 224 255;
23523                color3: 0 0 0 64;
23524             }
23525          }
23526          part { name: "elm.text.album-artist";
23527             clip_to: "disclip";
23528             type:           TEXT;
23529             mouse_events:   0;
23530             scale: 1;
23531             description {
23532                state: "default" 0.0;
23533                rel1 {
23534                   relative: 0.0  0.5;
23535                   offset:   4 4;
23536                }
23537                rel2 {
23538                   relative: 1.0  1.0;
23539                   offset:   -1 -5;
23540                }
23541                color: 0 0 0 128;
23542                color3: 0 0 0 0;
23543                text {
23544                   font: "Sans";
23545                   size: 8;
23546                   min: 0 1;
23547                   align: 0.0 0.5;
23548                }
23549             }
23550             description { state: "selected" 0.0;
23551                inherit: "default" 0.0;
23552                color: 128 128 128 255;
23553                color3: 0 0 0 32;
23554             }
23555          }
23556          part { name: "fg1";
23557             clip_to: "disclip";
23558             mouse_events: 0;
23559             description { state: "default" 0.0;
23560                visible: 0;
23561                color: 255 255 255 0;
23562                rel1.to: "bg";
23563                rel2.relative: 1.0 0.5;
23564                rel2.to: "bg";
23565                image {
23566                   normal: "bt_sm_hilight.png";
23567                   border: 6 6 6 0;
23568                }
23569             }
23570             description { state: "selected" 0.0;
23571                inherit: "default" 0.0;
23572                visible: 1;
23573                color: 255 255 255 255;
23574             }
23575          }
23576          part { name: "fg2";
23577             clip_to: "disclip";
23578             mouse_events: 0;
23579             description { state: "default" 0.0;
23580                visible: 0;
23581                color: 255 255 255 0;
23582                rel1.to: "bg";
23583                rel2.to: "bg";
23584                image {
23585                   normal: "bt_sm_shine.png";
23586                   border: 6 6 6 0;
23587                }
23588             }
23589             description { state: "selected" 0.0;
23590                inherit: "default" 0.0;
23591                visible: 1;
23592                color: 255 255 255 255;
23593             }
23594          }
23595          part { name: "disclip";
23596             type: RECT;
23597             description { state: "default" 0.0;
23598                rel1.to: "bg";
23599                rel2.to: "bg";
23600             }
23601             description { state: "disabled" 0.0;
23602                inherit: "default" 0.0;
23603                color: 255 255 255 64;
23604             }
23605          }
23606       }
23607       programs {
23608          // signal: elm,state,%s,active
23609          //   a "check" item named %s went active
23610          // signal: elm,state,%s,passive
23611          //   a "check" item named %s went passive
23612          // default is passive
23613          program {
23614             name:    "go_active";
23615             signal:  "elm,state,selected";
23616             source:  "elm";
23617             action:  STATE_SET "selected" 0.0;
23618             target:  "bg";
23619             target:  "fg1";
23620             target:  "fg2";
23621             target:  "elm.text.title";
23622             target:  "elm.text.album-artist";
23623          }
23624          program {
23625             name:    "go_passive";
23626             signal:  "elm,state,unselected";
23627             source:  "elm";
23628             action:  STATE_SET "default" 0.0;
23629             target:  "bg";
23630             target:  "fg1";
23631             target:  "fg2";
23632             target:  "elm.text.title";
23633             target:  "elm.text.album-artist";
23634             transition: LINEAR 0.1;
23635          }
23636          program {
23637             name:    "go_disabled";
23638             signal:  "elm,state,disabled";
23639             source:  "elm";
23640             action:  STATE_SET "disabled" 0.0;
23641             target:  "disclip";
23642          }
23643          program {
23644             name:    "go_enabled";
23645             signal:  "elm,state,enabled";
23646             source:  "elm";
23647             action:  STATE_SET "default" 0.0;
23648             target:  "disclip";
23649          }
23650       }
23651    }
23652
23653    group { name: "elm/genlist/item_compress/media-album/default";
23654       data.item: "stacking" "above";
23655       data.item: "selectraise" "on";
23656       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23657       data.item: "states" "elm.state.trackno";
23658       data.item: "treesize" "20";
23659       images {
23660          image: "bt_sm_base1.png" COMP;
23661          image: "bt_sm_shine.png" COMP;
23662          image: "bt_sm_hilight.png" COMP;
23663          image: "ilist_1.png" COMP;
23664          image: "ilist_item_shadow.png" COMP;
23665       }
23666       script {
23667          public dot_visible;
23668       }
23669       parts {
23670          part {
23671             name: "event";
23672             type: RECT;
23673             repeat_events: 1;
23674             description {
23675                state: "default" 0.0;
23676                color: 0 0 0 0;
23677             }
23678          }
23679          part {
23680             name: "base_sh";
23681             mouse_events: 0;
23682             description {
23683                state: "default" 0.0;
23684                align: 0.0 0.0;
23685                min: 0 10;
23686                fixed: 1 1;
23687                rel1 {
23688                   to: "base";
23689                   relative: 0.0 1.0;
23690                   offset: 0 0;
23691                }
23692                rel2 {
23693                   to: "base";
23694                   relative: 1.0 1.0;
23695                   offset: -1 0;
23696                }
23697                image {
23698                   normal: "ilist_item_shadow.png";
23699                }
23700                fill.smooth: 0;
23701             }
23702          }
23703          part {
23704             name: "base";
23705             mouse_events: 0;
23706             description {
23707                state: "default" 0.0;
23708                image {
23709                   normal: "ilist_1.png";
23710                   border: 2 2 2 2;
23711                }
23712                fill.smooth: 0;
23713             }
23714          }
23715          part { name: "bg";
23716             clip_to: "disclip";
23717             mouse_events: 0;
23718             description { state: "default" 0.0;
23719                visible: 0;
23720                color: 255 255 255 0;
23721                rel1 {
23722                   relative: 0.0 0.0;
23723                   offset: -5 -5;
23724                }
23725                rel2 {
23726                   relative: 1.0 1.0;
23727                   offset: 4 4;
23728                }
23729                image {
23730                   normal: "bt_sm_base1.png";
23731                   border: 6 6 6 6;
23732                }
23733                image.middle: SOLID;
23734             }
23735             description { state: "selected" 0.0;
23736                inherit: "default" 0.0;
23737                visible: 1;
23738                color: 255 255 255 255;
23739                rel1 {
23740                   relative: 0.0 0.0;
23741                   offset: -2 -2;
23742                }
23743                rel2 {
23744                   relative: 1.0 1.0;
23745                   offset: 1 1;
23746                }
23747             }
23748          }
23749          part { name: "elm.swallow.pad";
23750             type: SWALLOW;
23751             description { state: "default" 0.0;
23752                fixed: 1 0;
23753                align: 0.0 0.5;
23754                rel1 {
23755                   relative: 0.0  0.0;
23756                   offset:   4    4;
23757                }
23758                rel2 {
23759                   relative: 0.0  1.0;
23760                   offset:   4   -5;
23761                }
23762             }
23763          }
23764          part {
23765             name: "elm.text.trackno";
23766             type: TEXT;
23767             scale: 1;
23768             mouse_events: 0;
23769             description {
23770                state: "default" 0.0;
23771                color: 255 255 255 255;
23772                align: 0.0 0.0;
23773                fixed: 1 0;
23774                rel1 {
23775                   to_y: "elm.text.title";
23776                   relative: 0.0 0.0;
23777                   offset: 5 0;
23778                }
23779                rel2 {
23780                   to_y: "elm.text.title";
23781                   relative: 0.0 1.0;
23782                   offset: 20 0;
23783                }
23784                color: 0 0 0 255;
23785                color3: 0 0 0 0;
23786                text {
23787                   font: "Sans";
23788                   size: 10;
23789                   min: 1 1;
23790                   align: 1.0 0.5;
23791                }
23792             }
23793             description { state: "selected" 0.0;
23794                inherit: "default" 0.0;
23795                color: 224 224 224 255;
23796                color3: 0 0 0 64;
23797             }
23798          }
23799          part {
23800             name: "dot";
23801             type: TEXT;
23802             scale: 1;
23803             mouse_events: 0;
23804             description {
23805                state: "default" 0.0;
23806                color: 255 255 255 255;
23807                visible: 0;
23808                fixed: 1 1;
23809                align: 0.0 0.0;
23810                rel1 {
23811                   to_x: "elm.text.trackno";
23812                   to_y: "elm.text.title";
23813                   relative: 1.0 0.0;
23814                   offset: 1 0;
23815                }
23816                rel2 {
23817                   to_x: "elm.text.trackno";
23818                   to_y: "elm.text.title";
23819                   relative: 1.0 1.0;
23820                   offset: 1 0;
23821
23822                }
23823                color: 0 0 0 255;
23824                color3: 0 0 0 0;
23825                text {
23826                   font: "Sans";
23827                   size: 10;
23828                   min: 1 1;
23829                   align: 0.0 0.5;
23830                   text: ".";
23831                }
23832             }
23833             description {
23834                state: "visible" 0.0;
23835                inherit: "default" 0.0;
23836                visible: 1;
23837             }
23838             description { state: "selected" 0.0;
23839                inherit: "default" 0.0;
23840                color: 224 224 224 255;
23841                color3: 0 0 0 64;
23842                visible: 1;
23843             }
23844          }
23845          programs {
23846             program {
23847                signal: "elm,state,elm.state.trackno,active";
23848                source: "elm";
23849                script {
23850                   set_state(PART:"dot", "visible", 0.0);
23851                   set_int(dot_visible, 1);
23852                }
23853             }
23854          }
23855          part { name: "elm.text.title";
23856             clip_to: "disclip";
23857             type:           TEXT;
23858             effect:         SOFT_SHADOW;
23859             mouse_events:   0;
23860             scale: 1;
23861             description {
23862                state: "default" 0.0;
23863                rel1 {
23864                   to_x: "dot";
23865                   relative: 0.0  0.0;
23866                   offset:   4 4;
23867                }
23868                rel2 {
23869                   relative: 1.0  0.5;
23870                   offset:   -1 -5;
23871                }
23872                color: 0 0 0 255;
23873                color3: 0 0 0 0;
23874                text {
23875                   font: "Sans";
23876                   size: 10;
23877                   min: 0 1;
23878                   align: 0.0 0.5;
23879                }
23880             }
23881             description { state: "selected" 0.0;
23882                inherit: "default" 0.0;
23883                color: 224 224 224 255;
23884                color3: 0 0 0 64;
23885             }
23886          }
23887          part { name: "elm.text.length";
23888             clip_to: "disclip";
23889             type:           TEXT;
23890             mouse_events:   0;
23891             scale: 1;
23892             description {
23893                state: "default" 0.0;
23894                rel1 {
23895                   relative: 0.0  0.5;
23896                   offset:   4 4;
23897                }
23898                rel2 {
23899                   relative: 1.0  1.0;
23900                   offset:   -1 -5;
23901                }
23902                color: 0 0 0 128;
23903                color3: 0 0 0 0;
23904                text {
23905                   font: "Sans";
23906                   size: 8;
23907                   min: 0 1;
23908                   align: 0.0 0.5;
23909                }
23910             }
23911             description { state: "selected" 0.0;
23912                inherit: "default" 0.0;
23913                color: 128 128 128 255;
23914                color3: 0 0 0 32;
23915             }
23916          }
23917          part { name: "fg1";
23918             clip_to: "disclip";
23919             mouse_events: 0;
23920             description { state: "default" 0.0;
23921                visible: 0;
23922                color: 255 255 255 0;
23923                rel1.to: "bg";
23924                rel2.relative: 1.0 0.5;
23925                rel2.to: "bg";
23926                image {
23927                   normal: "bt_sm_hilight.png";
23928                   border: 6 6 6 0;
23929                }
23930             }
23931             description { state: "selected" 0.0;
23932                inherit: "default" 0.0;
23933                visible: 1;
23934                color: 255 255 255 255;
23935             }
23936          }
23937          part { name: "fg2";
23938             clip_to: "disclip";
23939             mouse_events: 0;
23940             description { state: "default" 0.0;
23941                visible: 0;
23942                color: 255 255 255 0;
23943                rel1.to: "bg";
23944                rel2.to: "bg";
23945                image {
23946                   normal: "bt_sm_shine.png";
23947                   border: 6 6 6 0;
23948                }
23949             }
23950             description { state: "selected" 0.0;
23951                inherit: "default" 0.0;
23952                visible: 1;
23953                color: 255 255 255 255;
23954             }
23955          }
23956          part { name: "disclip";
23957             type: RECT;
23958             description { state: "default" 0.0;
23959                rel1.to: "bg";
23960                rel2.to: "bg";
23961             }
23962             description { state: "disabled" 0.0;
23963                inherit: "default" 0.0;
23964                color: 255 255 255 64;
23965             }
23966          }
23967       }
23968       programs {
23969          // signal: elm,state,%s,active
23970          //   a "check" item named %s went active
23971          // signal: elm,state,%s,passive
23972          //   a "check" item named %s went passive
23973          // default is passive
23974          program {
23975             name:    "go_active";
23976             signal:  "elm,state,selected";
23977             source:  "elm";
23978             action:  STATE_SET "selected" 0.0;
23979             target:  "bg";
23980             target:  "fg1";
23981             target:  "fg2";
23982             target:  "elm.text.title";
23983             target:  "elm.text.trackno";
23984             target:  "elm.text.length";
23985             after:   "dot_active";
23986          }
23987          program {
23988             name: "dot_active";
23989             script {
23990                if (get_int(dot_visible) == 1)
23991                   set_state(PART:"dot", "selected", 0.0);
23992             }
23993          }
23994          program {
23995             name:    "go_passive";
23996             signal:  "elm,state,unselected";
23997             source:  "elm";
23998             action:  STATE_SET "default" 0.0;
23999             target:  "bg";
24000             target:  "fg1";
24001             target:  "fg2";
24002             target:  "elm.text.title";
24003             target:  "elm.text.length";
24004             target:  "elm.text.trackno";
24005             transition: LINEAR 0.1;
24006             after:   "dot_passive";
24007          }
24008          program {
24009             name: "dot_passive";
24010             script {
24011                if (get_int(dot_visible) == 1)
24012                   set_state(PART:"dot", "visible", 0.0);
24013             }
24014          }
24015          program {
24016             name:    "go_disabled";
24017             signal:  "elm,state,disabled";
24018             source:  "elm";
24019             action:  STATE_SET "disabled" 0.0;
24020             target:  "disclip";
24021          }
24022          program {
24023             name:    "go_enabled";
24024             signal:  "elm,state,enabled";
24025             source:  "elm";
24026             action:  STATE_SET "default" 0.0;
24027             target:  "disclip";
24028          }
24029       }
24030    }
24031    group { name: "elm/genlist/item_compress_odd/media-album/default";
24032       data.item: "stacking" "below";
24033       data.item: "selectraise" "on";
24034       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24035       data.item: "states" "elm.state.trackno";
24036       data.item: "treesize" "20";
24037       images {
24038          image: "bt_sm_base1.png" COMP;
24039          image: "bt_sm_shine.png" COMP;
24040          image: "bt_sm_hilight.png" COMP;
24041          image: "ilist_2.png" COMP;
24042       }
24043       script {
24044          public dot_visible;
24045       }
24046       parts {
24047          part { name: "event";
24048             type: RECT;
24049             repeat_events: 1;
24050             description {
24051                state: "default" 0.0;
24052                color: 0 0 0 0;
24053             }
24054          }
24055          part {
24056             name: "base";
24057             mouse_events: 0;
24058             description {
24059                state: "default" 0.0;
24060                image {
24061                   normal: "ilist_2.png";
24062                   border: 2 2 2 2;
24063                }
24064                fill.smooth: 0;
24065             }
24066          }
24067          part { name: "bg";
24068             clip_to: "disclip";
24069             mouse_events: 0;
24070             description { state: "default" 0.0;
24071                visible: 0;
24072                color: 255 255 255 0;
24073                rel1 {
24074                   relative: 0.0 0.0;
24075                   offset: -5 -5;
24076                }
24077                rel2 {
24078                   relative: 1.0 1.0;
24079                   offset: 4 4;
24080                }
24081                image {
24082                   normal: "bt_sm_base1.png";
24083                   border: 6 6 6 6;
24084                }
24085                image.middle: SOLID;
24086             }
24087             description { state: "selected" 0.0;
24088                inherit: "default" 0.0;
24089                visible: 1;
24090                color: 255 255 255 255;
24091                rel1 {
24092                   relative: 0.0 0.0;
24093                   offset: -2 -2;
24094                }
24095                rel2 {
24096                   relative: 1.0 1.0;
24097                   offset: 1 1;
24098                }
24099             }
24100          }
24101          part { name: "elm.swallow.pad";
24102             type: SWALLOW;
24103             description { state: "default" 0.0;
24104                fixed: 1 0;
24105                align: 0.0 0.5;
24106                rel1 {
24107                   relative: 0.0  0.0;
24108                   offset:   4    4;
24109                }
24110                rel2 {
24111                   relative: 0.0  1.0;
24112                   offset:   4   -5;
24113                }
24114             }
24115          }
24116          part {
24117             name: "elm.text.trackno";
24118             type: TEXT;
24119             scale: 1;
24120             mouse_events: 0;
24121             description {
24122                state: "default" 0.0;
24123                color: 255 255 255 255;
24124                align: 0.0 0.0;
24125                fixed: 1 0;
24126                rel1 {
24127                   to_y: "elm.text.title";
24128                   relative: 0.0 0.0;
24129                   offset: 5 0;
24130                }
24131                rel2 {
24132                   to_y: "elm.text.title";
24133                   relative: 0.0 1.0;
24134                   offset: 20 0;
24135                }
24136                color: 0 0 0 255;
24137                color3: 0 0 0 0;
24138                text {
24139                   font: "Sans";
24140                   size: 10;
24141                   min: 1 1;
24142                   align: 1.0 0.5;
24143                }
24144             }
24145             description { state: "selected" 0.0;
24146                inherit: "default" 0.0;
24147                color: 224 224 224 255;
24148                color3: 0 0 0 64;
24149             }
24150          }
24151          part {
24152             name: "dot";
24153             type: TEXT;
24154             scale: 1;
24155             mouse_events: 0;
24156             description {
24157                state: "default" 0.0;
24158                color: 255 255 255 255;
24159                visible: 0;
24160                fixed: 1 1;
24161                align: 0.0 0.0;
24162                rel1 {
24163                   to_x: "elm.text.trackno";
24164                   to_y: "elm.text.title";
24165                   relative: 1.0 0.0;
24166                   offset: 1 0;
24167                }
24168                rel2 {
24169                   to_x: "elm.text.trackno";
24170                   to_y: "elm.text.title";
24171                   relative: 1.0 1.0;
24172                   offset: 1 0;
24173
24174                }
24175                color: 0 0 0 255;
24176                color3: 0 0 0 0;
24177                text {
24178                   font: "Sans";
24179                   size: 10;
24180                   min: 1 1;
24181                   align: 0.0 0.5;
24182                   text: ".";
24183                }
24184             }
24185             description {
24186                state: "visible" 0.0;
24187                inherit: "default" 0.0;
24188                visible: 1;
24189             }
24190             description { state: "selected" 0.0;
24191                inherit: "default" 0.0;
24192                color: 224 224 224 255;
24193                color3: 0 0 0 64;
24194                visible: 1;
24195             }
24196          }
24197          programs {
24198             program {
24199                signal: "elm,state,elm.state.trackno,active";
24200                source: "elm";
24201                script {
24202                   set_state(PART:"dot", "visible", 0.0);
24203                   set_int(dot_visible, 1);
24204                }
24205             }
24206          }
24207          part { name: "elm.text.title";
24208             clip_to: "disclip";
24209             type:           TEXT;
24210             effect:         SOFT_SHADOW;
24211             mouse_events:   0;
24212             scale: 1;
24213             description {
24214                state: "default" 0.0;
24215                rel1 {
24216                   to_x: "dot";
24217                   relative: 1.0  0.0;
24218                   offset:   4 4;
24219                }
24220                rel2 {
24221                   relative: 1.0  0.5;
24222                   offset:   -1 -5;
24223                }
24224                color: 0 0 0 255;
24225                color3: 0 0 0 0;
24226                text {
24227                   font: "Sans";
24228                   size: 10;
24229                   min: 0 1;
24230                   align: 0.0 0.5;
24231                }
24232             }
24233             description { state: "selected" 0.0;
24234                inherit: "default" 0.0;
24235                color: 224 224 224 255;
24236                color3: 0 0 0 64;
24237             }
24238          }
24239          part { name: "elm.text.length";
24240             clip_to: "disclip";
24241             type:           TEXT;
24242             mouse_events:   0;
24243             scale: 1;
24244             description {
24245                state: "default" 0.0;
24246                rel1 {
24247                   relative: 0.0  0.5;
24248                   offset:   4 4;
24249                }
24250                rel2 {
24251                   relative: 1.0  1.0;
24252                   offset:   -1 -5;
24253                }
24254                color: 0 0 0 128;
24255                color3: 0 0 0 0;
24256                text {
24257                   font: "Sans";
24258                   size: 8;
24259                   min: 0 1;
24260                   align: 0.0 0.5;
24261                }
24262             }
24263             description { state: "selected" 0.0;
24264                inherit: "default" 0.0;
24265                color: 128 128 128 255;
24266                color3: 0 0 0 32;
24267             }
24268          }
24269          part { name: "fg1";
24270             clip_to: "disclip";
24271             mouse_events: 0;
24272             description { state: "default" 0.0;
24273                visible: 0;
24274                color: 255 255 255 0;
24275                rel1.to: "bg";
24276                rel2.relative: 1.0 0.5;
24277                rel2.to: "bg";
24278                image {
24279                   normal: "bt_sm_hilight.png";
24280                   border: 6 6 6 0;
24281                }
24282             }
24283             description { state: "selected" 0.0;
24284                inherit: "default" 0.0;
24285                visible: 1;
24286                color: 255 255 255 255;
24287             }
24288          }
24289          part { name: "fg2";
24290             clip_to: "disclip";
24291             mouse_events: 0;
24292             description { state: "default" 0.0;
24293                visible: 0;
24294                color: 255 255 255 0;
24295                rel1.to: "bg";
24296                rel2.to: "bg";
24297                image {
24298                   normal: "bt_sm_shine.png";
24299                   border: 6 6 6 0;
24300                }
24301             }
24302             description { state: "selected" 0.0;
24303                inherit: "default" 0.0;
24304                visible: 1;
24305                color: 255 255 255 255;
24306             }
24307          }
24308          part { name: "disclip";
24309             type: RECT;
24310             description { state: "default" 0.0;
24311                rel1.to: "bg";
24312                rel2.to: "bg";
24313             }
24314             description { state: "disabled" 0.0;
24315                inherit: "default" 0.0;
24316                color: 255 255 255 64;
24317             }
24318          }
24319       }
24320       programs {
24321          // signal: elm,state,%s,active
24322          //   a "check" item named %s went active
24323          // signal: elm,state,%s,passive
24324          //   a "check" item named %s went passive
24325          // default is passive
24326          program {
24327             name:    "go_active";
24328             signal:  "elm,state,selected";
24329             source:  "elm";
24330             action:  STATE_SET "selected" 0.0;
24331             target:  "bg";
24332             target:  "fg1";
24333             target:  "fg2";
24334             target:  "elm.text.title";
24335             target:  "elm.text.length";
24336             target:  "elm.text.trackno";
24337             after:   "dot_active";
24338          }
24339          program {
24340             name: "dot_active";
24341             script {
24342                if (get_int(dot_visible) == 1)
24343                   set_state(PART:"dot", "selected", 0.0);
24344             }
24345          }
24346          program {
24347             name:    "go_passive";
24348             signal:  "elm,state,unselected";
24349             source:  "elm";
24350             action:  STATE_SET "default" 0.0;
24351             target:  "bg";
24352             target:  "fg1";
24353             target:  "fg2";
24354             target:  "elm.text.title";
24355             target:  "elm.text.length";
24356             target:  "elm.text.trackno";
24357             transition: LINEAR 0.1;
24358             after:   "dot_passive";
24359          }
24360          program {
24361             name: "dot_passive";
24362             script {
24363                if (get_int(dot_visible) == 1)
24364                   set_state(PART:"dot", "visible", 0.0);
24365             }
24366          }
24367          program {
24368             name:    "go_disabled";
24369             signal:  "elm,state,disabled";
24370             source:  "elm";
24371             action:  STATE_SET "disabled" 0.0;
24372             target:  "disclip";
24373          }
24374          program {
24375             name:    "go_enabled";
24376             signal:  "elm,state,enabled";
24377             source:  "elm";
24378             action:  STATE_SET "default" 0.0;
24379             target:  "disclip";
24380          }
24381       }
24382    }
24383
24384    group { name: "elm/genlist/item_compress/media-preview/default";
24385       data.item: "stacking" "above";
24386       data.item: "selectraise" "on";
24387       data.item: "labels" "elm.text.title elm.text.artist";
24388       data.item: "icons" "elm.swallow.preview";
24389       data.item: "treesize" "20";
24390       images {
24391          image: "bt_sm_base1.png" COMP;
24392          image: "bt_sm_shine.png" COMP;
24393          image: "bt_sm_hilight.png" COMP;
24394          image: "ilist_1.png" COMP;
24395          image: "ilist_item_shadow.png" COMP;
24396       }
24397       parts {
24398          part {
24399             name: "event";
24400             type: RECT;
24401             repeat_events: 1;
24402             description {
24403                state: "default" 0.0;
24404                color: 0 0 0 0;
24405             }
24406          }
24407          part {
24408             name: "base_sh";
24409             mouse_events: 0;
24410             description {
24411                state: "default" 0.0;
24412                align: 0.0 0.0;
24413                min: 0 10;
24414                fixed: 1 1;
24415                rel1 {
24416                   to: "base";
24417                   relative: 0.0 1.0;
24418                   offset: 0 0;
24419                }
24420                rel2 {
24421                   to: "base";
24422                   relative: 1.0 1.0;
24423                   offset: -1 0;
24424                }
24425                image {
24426                   normal: "ilist_item_shadow.png";
24427                }
24428                fill.smooth: 0;
24429             }
24430          }
24431          part {
24432             name: "base";
24433             mouse_events: 0;
24434             description {
24435                state: "default" 0.0;
24436                image {
24437                   normal: "ilist_1.png";
24438                   border: 2 2 2 2;
24439                }
24440                fill.smooth: 0;
24441             }
24442          }
24443          part { name: "bg";
24444             clip_to: "disclip";
24445             mouse_events: 0;
24446             description { state: "default" 0.0;
24447                visible: 0;
24448                color: 255 255 255 0;
24449                rel1 {
24450                   relative: 0.0 0.0;
24451                   offset: -5 -5;
24452                }
24453                rel2 {
24454                   relative: 1.0 1.0;
24455                   offset: 4 4;
24456                }
24457                image {
24458                   normal: "bt_sm_base1.png";
24459                   border: 6 6 6 6;
24460                }
24461                image.middle: SOLID;
24462             }
24463             description { state: "selected" 0.0;
24464                inherit: "default" 0.0;
24465                visible: 1;
24466                color: 255 255 255 255;
24467                rel1 {
24468                   relative: 0.0 0.0;
24469                   offset: -2 -2;
24470                }
24471                rel2 {
24472                   relative: 1.0 1.0;
24473                   offset: 1 1;
24474                }
24475             }
24476          }
24477          part { name: "elm.swallow.pad";
24478             type: SWALLOW;
24479             description { state: "default" 0.0;
24480                fixed: 1 0;
24481                align: 0.0 0.5;
24482                rel1 {
24483                   relative: 0.0  0.0;
24484                   offset:   4    4;
24485                }
24486                rel2 {
24487                   relative: 0.0  1.0;
24488                   offset:   4   -5;
24489                }
24490             }
24491          }
24492          part { name: "elm.swallow.preview";
24493             clip_to: "disclip";
24494             type: SWALLOW;
24495             description { state: "default" 0.0;
24496                fixed: 1 0;
24497                align: 0.0 0.5;
24498                min: 68 68;
24499                max: 68 68;
24500                rel1 {
24501                   to_x: "elm.swallow.pad";
24502                   relative: 1.0  0.0;
24503                   offset:   -1    4;
24504                }
24505                rel2 {
24506                   to_x: "elm.swallow.pad";
24507                   relative: 1.0  1.0;
24508                   offset:   -1   -5;
24509                }
24510             }
24511          }
24512          part { name: "elm.text.title";
24513             clip_to: "disclip";
24514             type:           TEXT;
24515             effect:         SOFT_SHADOW;
24516             mouse_events:   0;
24517             scale: 1;
24518             description {
24519                state: "default" 0.0;
24520                rel1 {
24521                   to_x:     "elm.swallow.preview";
24522                   relative: 1.0  0.0;
24523                   offset:   4 4;
24524                }
24525                rel2 {
24526                   relative: 1.0  0.5;
24527                   offset:   -1 -5;
24528                }
24529                color: 0 0 0 255;
24530                color3: 0 0 0 0;
24531                text {
24532                   font: "Sans";
24533                   size: 10;
24534                   min: 0 1;
24535                   align: 0.0 0.5;
24536                }
24537             }
24538             description { state: "selected" 0.0;
24539                inherit: "default" 0.0;
24540                color: 224 224 224 255;
24541                color3: 0 0 0 64;
24542             }
24543          }
24544          part { name: "elm.text.artist";
24545             clip_to: "disclip";
24546             type:           TEXT;
24547             mouse_events:   0;
24548             scale: 1;
24549             description {
24550                state: "default" 0.0;
24551                rel1 {
24552                   to_x:     "elm.swallow.preview";
24553                   relative: 1.0  0.5;
24554                   offset:   4 4;
24555                }
24556                rel2 {
24557                   relative: 1.0  1.0;
24558                   offset:   -1 -5;
24559                }
24560                color: 0 0 0 128;
24561                color3: 0 0 0 0;
24562                text {
24563                   font: "Sans";
24564                   size: 8;
24565                   min: 0 1;
24566                   align: 0.0 0.5;
24567                }
24568             }
24569             description { state: "selected" 0.0;
24570                inherit: "default" 0.0;
24571                color: 128 128 128 255;
24572                color3: 0 0 0 32;
24573             }
24574          }
24575          part { name: "fg1";
24576             clip_to: "disclip";
24577             mouse_events: 0;
24578             description { state: "default" 0.0;
24579                visible: 0;
24580                color: 255 255 255 0;
24581                rel1.to: "bg";
24582                rel2.relative: 1.0 0.5;
24583                rel2.to: "bg";
24584                image {
24585                   normal: "bt_sm_hilight.png";
24586                   border: 6 6 6 0;
24587                }
24588             }
24589             description { state: "selected" 0.0;
24590                inherit: "default" 0.0;
24591                visible: 1;
24592                color: 255 255 255 255;
24593             }
24594          }
24595          part { name: "fg2";
24596             clip_to: "disclip";
24597             mouse_events: 0;
24598             description { state: "default" 0.0;
24599                visible: 0;
24600                color: 255 255 255 0;
24601                rel1.to: "bg";
24602                rel2.to: "bg";
24603                image {
24604                   normal: "bt_sm_shine.png";
24605                   border: 6 6 6 0;
24606                }
24607             }
24608             description { state: "selected" 0.0;
24609                inherit: "default" 0.0;
24610                visible: 1;
24611                color: 255 255 255 255;
24612             }
24613          }
24614          part { name: "disclip";
24615             type: RECT;
24616             description { state: "default" 0.0;
24617                rel1.to: "bg";
24618                rel2.to: "bg";
24619             }
24620             description { state: "disabled" 0.0;
24621                inherit: "default" 0.0;
24622                color: 255 255 255 64;
24623             }
24624          }
24625       }
24626       programs {
24627          // signal: elm,state,%s,active
24628          //   a "check" item named %s went active
24629          // signal: elm,state,%s,passive
24630          //   a "check" item named %s went passive
24631          // default is passive
24632          program {
24633             name:    "go_active";
24634             signal:  "elm,state,selected";
24635             source:  "elm";
24636             action:  STATE_SET "selected" 0.0;
24637             target:  "bg";
24638             target:  "fg1";
24639             target:  "fg2";
24640             target:  "elm.text.title";
24641             target:  "elm.text.artist";
24642          }
24643          program {
24644             name:    "go_passive";
24645             signal:  "elm,state,unselected";
24646             source:  "elm";
24647             action:  STATE_SET "default" 0.0;
24648             target:  "bg";
24649             target:  "fg1";
24650             target:  "fg2";
24651             target:  "elm.text.title";
24652             target:  "elm.text.artist";
24653             transition: LINEAR 0.1;
24654          }
24655          program {
24656             name:    "go_disabled";
24657             signal:  "elm,state,disabled";
24658             source:  "elm";
24659             action:  STATE_SET "disabled" 0.0;
24660             target:  "disclip";
24661          }
24662          program {
24663             name:    "go_enabled";
24664             signal:  "elm,state,enabled";
24665             source:  "elm";
24666             action:  STATE_SET "default" 0.0;
24667             target:  "disclip";
24668          }
24669       }
24670    }
24671    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24672       data.item: "stacking" "below";
24673       data.item: "selectraise" "on";
24674       data.item: "labels" "elm.text.title elm.text.artist";
24675       data.item: "icons" "elm.swallow.preview";
24676       data.item: "treesize" "20";
24677       images {
24678          image: "bt_sm_base1.png" COMP;
24679          image: "bt_sm_shine.png" COMP;
24680          image: "bt_sm_hilight.png" COMP;
24681          image: "ilist_2.png" COMP;
24682       }
24683       parts {
24684          part { name: "event";
24685             type: RECT;
24686             repeat_events: 1;
24687             description {
24688                state: "default" 0.0;
24689                color: 0 0 0 0;
24690             }
24691          }
24692          part {
24693             name: "base";
24694             mouse_events: 0;
24695             description {
24696                state: "default" 0.0;
24697                image {
24698                   normal: "ilist_2.png";
24699                   border: 2 2 2 2;
24700                }
24701                fill.smooth: 0;
24702             }
24703          }
24704          part { name: "bg";
24705             clip_to: "disclip";
24706             mouse_events: 0;
24707             description { state: "default" 0.0;
24708                visible: 0;
24709                color: 255 255 255 0;
24710                rel1 {
24711                   relative: 0.0 0.0;
24712                   offset: -5 -5;
24713                }
24714                rel2 {
24715                   relative: 1.0 1.0;
24716                   offset: 4 4;
24717                }
24718                image {
24719                   normal: "bt_sm_base1.png";
24720                   border: 6 6 6 6;
24721                }
24722                image.middle: SOLID;
24723             }
24724             description { state: "selected" 0.0;
24725                inherit: "default" 0.0;
24726                visible: 1;
24727                color: 255 255 255 255;
24728                rel1 {
24729                   relative: 0.0 0.0;
24730                   offset: -2 -2;
24731                }
24732                rel2 {
24733                   relative: 1.0 1.0;
24734                   offset: 1 1;
24735                }
24736             }
24737          }
24738          part { name: "elm.swallow.pad";
24739             type: SWALLOW;
24740             description { state: "default" 0.0;
24741                fixed: 1 0;
24742                align: 0.0 0.5;
24743                rel1 {
24744                   relative: 0.0  0.0;
24745                   offset:   4    4;
24746                }
24747                rel2 {
24748                   relative: 0.0  1.0;
24749                   offset:   4   -5;
24750                }
24751             }
24752          }
24753          part { name: "elm.swallow.preview";
24754             clip_to: "disclip";
24755             type: SWALLOW;
24756             description { state: "default" 0.0;
24757                fixed: 1 0;
24758                align: 0.0 0.5;
24759                min: 68 68;
24760                max: 68 68;
24761                rel1 {
24762                   to_x: "elm.swallow.pad";
24763                   relative: 1.0  0.0;
24764                   offset:   -1    4;
24765                }
24766                rel2 {
24767                   to_x: "elm.swallow.pad";
24768                   relative: 1.0  1.0;
24769                   offset:   -1   -5;
24770                }
24771             }
24772          }
24773          part { name: "elm.text.title";
24774             clip_to: "disclip";
24775             type:           TEXT;
24776             effect:         SOFT_SHADOW;
24777             mouse_events:   0;
24778             scale: 1;
24779             description {
24780                state: "default" 0.0;
24781                rel1 {
24782                   to_x:     "elm.swallow.preview";
24783                   relative: 1.0  0.0;
24784                   offset:   4 4;
24785                }
24786                rel2 {
24787                   relative: 1.0  0.5;
24788                   offset:   -1 -5;
24789                }
24790                color: 0 0 0 255;
24791                color3: 0 0 0 0;
24792                text {
24793                   font: "Sans";
24794                   size: 10;
24795                   min: 0 1;
24796                   align: 0.0 0.5;
24797                }
24798             }
24799             description { state: "selected" 0.0;
24800                inherit: "default" 0.0;
24801                color: 224 224 224 255;
24802                color3: 0 0 0 64;
24803             }
24804          }
24805          part { name: "elm.text.artist";
24806             clip_to: "disclip";
24807             type:           TEXT;
24808             mouse_events:   0;
24809             scale: 1;
24810             description {
24811                state: "default" 0.0;
24812                rel1 {
24813                   to_x:     "elm.swallow.preview";
24814                   relative: 1.0  0.5;
24815                   offset:   4 4;
24816                }
24817                rel2 {
24818                   relative: 1.0  1.0;
24819                   offset:   -1 -5;
24820                }
24821                color: 0 0 0 128;
24822                color3: 0 0 0 0;
24823                text {
24824                   font: "Sans";
24825                   size: 8;
24826                   min: 0 1;
24827                   align: 0.0 0.5;
24828                }
24829             }
24830             description { state: "selected" 0.0;
24831                inherit: "default" 0.0;
24832                color: 128 128 128 255;
24833                color3: 0 0 0 32;
24834             }
24835          }
24836          part { name: "fg1";
24837             clip_to: "disclip";
24838             mouse_events: 0;
24839             description { state: "default" 0.0;
24840                visible: 0;
24841                color: 255 255 255 0;
24842                rel1.to: "bg";
24843                rel2.relative: 1.0 0.5;
24844                rel2.to: "bg";
24845                image {
24846                   normal: "bt_sm_hilight.png";
24847                   border: 6 6 6 0;
24848                }
24849             }
24850             description { state: "selected" 0.0;
24851                inherit: "default" 0.0;
24852                visible: 1;
24853                color: 255 255 255 255;
24854             }
24855          }
24856          part { name: "fg2";
24857             clip_to: "disclip";
24858             mouse_events: 0;
24859             description { state: "default" 0.0;
24860                visible: 0;
24861                color: 255 255 255 0;
24862                rel1.to: "bg";
24863                rel2.to: "bg";
24864                image {
24865                   normal: "bt_sm_shine.png";
24866                   border: 6 6 6 0;
24867                }
24868             }
24869             description { state: "selected" 0.0;
24870                inherit: "default" 0.0;
24871                visible: 1;
24872                color: 255 255 255 255;
24873             }
24874          }
24875          part { name: "disclip";
24876             type: RECT;
24877             description { state: "default" 0.0;
24878                rel1.to: "bg";
24879                rel2.to: "bg";
24880             }
24881             description { state: "disabled" 0.0;
24882                inherit: "default" 0.0;
24883                color: 255 255 255 64;
24884             }
24885          }
24886       }
24887       programs {
24888          // signal: elm,state,%s,active
24889          //   a "check" item named %s went active
24890          // signal: elm,state,%s,passive
24891          //   a "check" item named %s went passive
24892          // default is passive
24893          program {
24894             name:    "go_active";
24895             signal:  "elm,state,selected";
24896             source:  "elm";
24897             action:  STATE_SET "selected" 0.0;
24898             target:  "bg";
24899             target:  "fg1";
24900             target:  "fg2";
24901             target:  "elm.text.title";
24902             target:  "elm.text.artist";
24903          }
24904          program {
24905             name:    "go_passive";
24906             signal:  "elm,state,unselected";
24907             source:  "elm";
24908             action:  STATE_SET "default" 0.0;
24909             target:  "bg";
24910             target:  "fg1";
24911             target:  "fg2";
24912             target:  "elm.text.title";
24913             target:  "elm.text.artist";
24914             transition: LINEAR 0.1;
24915          }
24916          program {
24917             name:    "go_disabled";
24918             signal:  "elm,state,disabled";
24919             source:  "elm";
24920             action:  STATE_SET "disabled" 0.0;
24921             target:  "disclip";
24922          }
24923          program {
24924             name:    "go_enabled";
24925             signal:  "elm,state,enabled";
24926             source:  "elm";
24927             action:  STATE_SET "default" 0.0;
24928             target:  "disclip";
24929          }
24930       }
24931    }
24932
24933    group { name: "elm/genlist/item/mode/default";
24934       data.item: "selectraise" "on";
24935       data.item: "labels" "elm.text.mode";
24936       data.item: "icons" "elm.swallow.mode";
24937       data.item: "mode_part" "elm.swallow.origin";
24938       data.item: "treesize" "20";
24939       images {
24940          image: "bt_sm_base1.png" COMP;
24941          image: "bt_sm_shine.png" COMP;
24942          image: "bt_sm_hilight.png" COMP;
24943          image: "ilist_1.png" COMP;
24944          image: "ilist_2.png" COMP;
24945          image: "ilist_item_shadow.png" COMP;
24946       }
24947
24948       parts {
24949          part {
24950             name: "event";
24951             type: RECT;
24952             repeat_events: 1;
24953             description {
24954                state: "default" 0.0;
24955                color: 0 0 0 0;
24956             }
24957          }
24958          part {
24959             name: "base_sh";
24960             mouse_events: 0;
24961             description {
24962                state: "default" 0.0;
24963                align: 0.0 0.0;
24964                min: 0 10;
24965                fixed: 1 1;
24966                rel1 {
24967                   to: "base";
24968                   relative: 0.0 1.0;
24969                   offset: 0 0;
24970                }
24971                rel2 {
24972                   to: "base";
24973                   relative: 1.0 1.0;
24974                   offset: -1 0;
24975                }
24976                image {
24977                   normal: "ilist_item_shadow.png";
24978                }
24979                fill.smooth: 0;
24980             }
24981             description {
24982                state: "default" 1.0;
24983                inherit: "default" 0.0;
24984                visible: 0;
24985             }
24986          }
24987          part {
24988             name: "base";
24989             mouse_events: 0;
24990             description {
24991                state: "default" 0.0;
24992                image {
24993                   normal: "ilist_1.png";
24994                   border: 2 2 2 2;
24995                }
24996                fill.smooth: 0;
24997             }
24998             description {
24999                state: "default" 1.0;
25000                inherit: "default" 0.0;
25001                image.normal: "ilist_2.png";
25002             }
25003          }
25004          part { name: "bg";
25005             clip_to: "disclip";
25006             mouse_events: 0;
25007             description { state: "default" 0.0;
25008                visible: 0;
25009                color: 255 255 255 0;
25010                rel1 {
25011                   relative: 0.0 0.0;
25012                   offset: -5 -5;
25013                }
25014                rel2 {
25015                   relative: 1.0 1.0;
25016                   offset: 4 4;
25017                }
25018                image {
25019                   normal: "bt_sm_base1.png";
25020                   border: 6 6 6 6;
25021                }
25022                image.middle: SOLID;
25023             }
25024             description { state: "default" 0.1;
25025                inherit: "default" 0.0;
25026             }
25027             description { state: "selected" 0.0;
25028                inherit: "default" 0.0;
25029                visible: 1;
25030                color: 255 255 255 255;
25031                rel1 {
25032                   relative: 0.0 0.0;
25033                   offset: -2 -2;
25034                }
25035                rel2 {
25036                   relative: 1.0 1.0;
25037                   offset: 1 1;
25038                }
25039             }
25040             description {
25041                state: "selected" 1.0;
25042                inherit: "selected" 0.0;
25043             }
25044          }
25045          part { name: "elm.text.mode";
25046             clip_to: "disclip";
25047             type: TEXT;
25048             scale: 1;
25049             description { state: "default" 0.0;
25050                rel2.relative: 0.5 1.0;
25051                color: 0 0 0 255;
25052                text {
25053                   font: "Sans";
25054                   size: 10;
25055                   min: 1 1;
25056                   align: -1.0 0.5;
25057                   text_class: "list_item";
25058                }
25059             }
25060          }
25061         part { name: "elm.swallow.mode";
25062             clip_to: "disclip";
25063             type: SWALLOW;
25064             description { state: "default" 0.0;
25065                rel1.relative: 0.5 0.0;
25066             }
25067          }
25068          part { name: "fg1";
25069             clip_to: "disclip";
25070             mouse_events: 0;
25071             description { state: "default" 0.0;
25072                visible: 0;
25073                color: 255 255 255 0;
25074                rel1.to: "bg";
25075                rel2.relative: 1.0 0.5;
25076                rel2.to: "bg";
25077                image {
25078                   normal: "bt_sm_hilight.png";
25079                   border: 6 6 6 0;
25080                }
25081             }
25082             description { state: "selected" 0.0;
25083                inherit: "default" 0.0;
25084                visible: 1;
25085                color: 255 255 255 255;
25086             }
25087             description {
25088                state: "selected" 1.0;
25089                inherit: "default" 0.0;
25090                visible: 1;
25091                color: 255 255 255 255;
25092             }
25093          }
25094          part { name: "fg2";
25095             clip_to: "disclip";
25096             mouse_events: 0;
25097             description { state: "default" 0.0;
25098                visible: 0;
25099                color: 255 255 255 0;
25100                rel1.to: "bg";
25101                rel2.to: "bg";
25102                image {
25103                   normal: "bt_sm_shine.png";
25104                   border: 6 6 6 0;
25105                }
25106             }
25107             description { state: "selected" 0.0;
25108                inherit: "default" 0.0;
25109                visible: 1;
25110                color: 255 255 255 255;
25111             }
25112             description {
25113                state: "selected" 1.0;
25114                inherit: "default" 0.0;
25115                visible: 1;
25116                color: 255 255 255 255;
25117             }
25118          }
25119          // Transparent part between base parts and slidable parts
25120          part { name: "event_block_layer";
25121             type: RECT;
25122             clip_to: "disclip";
25123             mouse_events: 1;
25124             description { state: "default" 0.0;
25125                rel1.to: "base";
25126                rel2.to: "base";
25127                color: 0 0 0 0;
25128             }
25129             description { state: "repeat_events" 0.0;
25130                inherit: "default" 0.0;
25131                visible: 0;
25132             }
25133          }
25134          part { name: "pers";
25135             clip_to: "disclip";
25136             type: RECT;
25137             description { state: "default" 0.0;
25138                rel1.relative: 0.0 1.0;
25139             }
25140          }
25141          part { name: "elm.swallow.origin";
25142             clip_to: "disclip";
25143             type: SWALLOW;
25144             description { state: "default" 0.0;
25145                fixed: 1 0;
25146                align: 0.0 0.5;
25147             }
25148             description { state: "slide" 0.0;
25149                inherit: "default" 0.0;
25150                rel1.relative: 1 0;
25151                rel2.relative: 2 1;
25152             }
25153             description { state: "rotate" 0.0;
25154                inherit: "default" 0.0;
25155                map {
25156                   perspective: "pers";
25157                   on: 1;
25158                   smooth: 1;
25159                   perspective_on: 1;
25160                   backface_cull: 1;
25161                   rotation {
25162                      center: "pers";
25163                      x: 0.0;
25164                      y: 0.0;
25165                      z: 0.0;
25166                   }
25167                }
25168             }
25169             description { state: "rotate" 1.0;
25170                inherit: "default" 0.0;
25171                map {
25172                   perspective: "pers";
25173                   on: 1;
25174                   smooth: 1;
25175                   perspective_on: 1;
25176                   backface_cull: 1;
25177                   rotation {
25178                      center: "pers";
25179                      x: 90.0;
25180                      y: 0.0;
25181                      z: 0.0;
25182                   }
25183                }
25184             }
25185          }
25186          part { name: "disclip";
25187             type: RECT;
25188             description { state: "default" 0.0;
25189                rel1.to: "bg";
25190                rel2.to: "bg";
25191             }
25192             description { state: "disabled" 0.0;
25193                inherit: "default" 0.0;
25194                color: 255 255 255 64;
25195             }
25196          }
25197       }
25198       programs {
25199          program {
25200             name:    "odd";
25201             signal:  "elm,state,odd";
25202             source:  "elm";
25203             action:  STATE_SET "default" 1.0;
25204             target:  "base_sh";
25205             target:  "base";
25206          }
25207          program {
25208             name:    "even";
25209             signal:  "elm,state,even";
25210             source:  "elm";
25211             action:  STATE_SET "default" 0.0;
25212             target:  "base_sh";
25213             target:  "base";
25214          }
25215          program {
25216             name:    "go_active";
25217             signal:  "elm,state,selected";
25218             source:  "elm";
25219             script {
25220                new st[31];
25221                new Float:vl;
25222                get_state(PART:"base", st, 30, vl);
25223                set_state(PART:"bg", "selected", vl);
25224                set_state(PART:"fg1", "selected", vl);
25225                set_state(PART:"fg2", "selected", vl);
25226             }
25227          }
25228          program {
25229             name:    "go_passive";
25230             signal:  "elm,state,unselected";
25231             source:  "elm";
25232             script {
25233                new st[31];
25234                new Float:vl;
25235                get_state(PART:"base", st, 30, vl);
25236                set_state(PART:"bg", "default", vl);
25237                set_state(PART:"fg1", "default", vl);
25238                set_state(PART:"fg2", "default", vl);
25239             }
25240          }
25241          program {
25242             name:    "go_disabled";
25243             signal:  "elm,state,disabled";
25244             source:  "elm";
25245             action:  STATE_SET "disabled" 0.0;
25246             target:  "disclip";
25247          }
25248          program {
25249             name:    "go_enabled";
25250             signal:  "elm,state,enabled";
25251             source:  "elm";
25252             action:  STATE_SET "default" 0.0;
25253             target:  "disclip";
25254          }
25255          program {
25256             name:    "slide_right";
25257             signal:  "elm,state,slide,active";
25258             source:  "elm";
25259             action:  STATE_SET "slide" 0.0;
25260             target:  "elm.swallow.origin";
25261             transition: ACCELERATE 0.5;
25262             after:   "unblock_event";
25263          }
25264          program {
25265             name:    "unblock_event";
25266             action:  STATE_SET "repeat_events" 0.0;
25267             target:  "event_block_layer";
25268          }
25269          program {
25270             name:    "slide_left";
25271             signal:  "elm,state,slide,passive";
25272             source:  "elm";
25273             action:  STATE_SET "default" 0.0;
25274             target:  "event_block_layer";
25275             after:   "slide_left2";
25276          }
25277          program {
25278             name:    "slide_left2";
25279             action:  STATE_SET "default" 0.0;
25280             target:  "elm.swallow.origin";
25281             transition: DECELERATE 0.5;
25282             after:   "slide_left_finished";
25283          }
25284          program {
25285             name:    "slide_left_finished";
25286             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25287          }
25288          program {
25289             name:    "rotate_on";
25290             signal:  "elm,state,rotate,active";
25291             source:  "elm";
25292             action:  STATE_SET "rotate" 0.0;
25293             target:  "elm.swallow.origin";
25294             after:   "rotate_on2";
25295          }
25296          program {
25297             name:    "rotate_on2";
25298             action:  STATE_SET "rotate" 1.0;
25299             target:  "elm.swallow.origin";
25300             transition: LINEAR 0.5;
25301             after:   "unblock_event";
25302          }
25303          program {
25304             name:    "rotate_off";
25305             signal:  "elm,state,rotate,passive";
25306             source:  "elm";
25307             action:  STATE_SET "default" 0.0;
25308             target:  "event_block_layer";
25309             after:   "rotate_off2";
25310          }
25311          program {
25312             name:    "rotate_off2";
25313             action:  STATE_SET "rotate" 0.0;
25314             transition: LINEAR 0.5;
25315             target:  "elm.swallow.origin";
25316             after:   "rotate_off3";
25317          }
25318          program {
25319             name:    "rotate_off3";
25320             action:  STATE_SET "default" 0.0;
25321             target:  "elm.swallow.origin";
25322             after:   "rotate_off_finished";
25323          }
25324          program {
25325             name:    "rotate_off_finished";
25326             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25327          }
25328       }
25329    }
25330
25331    group { name: "elm/genlist/item_odd/mode/default";
25332       data.item: "stacking" "below";
25333       data.item: "selectraise" "on";
25334       data.item: "labels" "elm.text.mode";
25335       data.item: "icons" "elm.swallow.mode";
25336       data.item: "mode_part" "elm.swallow.origin";
25337       data.item: "treesize" "20";
25338       images {
25339          image: "bt_sm_base1.png" COMP;
25340          image: "bt_sm_shine.png" COMP;
25341          image: "bt_sm_hilight.png" COMP;
25342          image: "ilist_2.png" COMP;
25343       }
25344
25345       parts {
25346          part {
25347             name: "event";
25348             type: RECT;
25349             repeat_events: 1;
25350             description {
25351                state: "default" 0.0;
25352                color: 0 0 0 0;
25353             }
25354          }
25355          part {
25356             name: "base";
25357             mouse_events: 0;
25358             description {
25359                state: "default" 0.0;
25360                image {
25361                   normal: "ilist_2.png";
25362                   border: 2 2 2 2;
25363                }
25364                fill.smooth: 0;
25365             }
25366          }
25367          part { name: "bg";
25368             clip_to: "disclip";
25369             mouse_events: 0;
25370             description { state: "default" 0.0;
25371                visible: 0;
25372                color: 255 255 255 0;
25373                rel1 {
25374                   relative: 0.0 0.0;
25375                   offset: -5 -5;
25376                }
25377                rel2 {
25378                   relative: 1.0 1.0;
25379                   offset: 4 4;
25380                }
25381                image {
25382                   normal: "bt_sm_base1.png";
25383                   border: 6 6 6 6;
25384                }
25385                image.middle: SOLID;
25386             }
25387             description { state: "selected" 0.0;
25388                inherit: "default" 0.0;
25389                visible: 1;
25390                color: 255 255 255 255;
25391                rel1 {
25392                   relative: 0.0 0.0;
25393                   offset: -2 -2;
25394                }
25395                rel2 {
25396                   relative: 1.0 1.0;
25397                   offset: 1 1;
25398                }
25399             }
25400          }
25401          part { name: "elm.text.mode";
25402             clip_to: "disclip";
25403             type: TEXT;
25404             scale: 1;
25405             description { state: "default" 0.0;
25406                rel2.relative: 0.5 1.0;
25407                color: 0 0 0 255;
25408                text {
25409                   font: "Sans";
25410                   size: 10;
25411                   min: 1 1;
25412                   align: 0.5 0.5;
25413                   text_class: "list_item";
25414                }
25415             }
25416          }
25417         part { name: "elm.swallow.mode";
25418             clip_to: "disclip";
25419             type: SWALLOW;
25420             description { state: "default" 0.0;
25421                rel1.relative: 0.5 0.0;
25422             }
25423          }
25424          part { name: "fg1";
25425             clip_to: "disclip";
25426             mouse_events: 0;
25427             description { state: "default" 0.0;
25428                visible: 0;
25429                color: 255 255 255 0;
25430                rel1.to: "bg";
25431                rel2.relative: 1.0 0.5;
25432                rel2.to: "bg";
25433                image {
25434                   normal: "bt_sm_hilight.png";
25435                   border: 6 6 6 0;
25436                }
25437             }
25438             description { state: "selected" 0.0;
25439                inherit: "default" 0.0;
25440                visible: 1;
25441                color: 255 255 255 255;
25442             }
25443          }
25444          part { name: "fg2";
25445             clip_to: "disclip";
25446             mouse_events: 0;
25447             description { state: "default" 0.0;
25448                visible: 0;
25449                color: 255 255 255 0;
25450                rel1.to: "bg";
25451                rel2.to: "bg";
25452                image {
25453                   normal: "bt_sm_shine.png";
25454                   border: 6 6 6 0;
25455                }
25456             }
25457             description { state: "selected" 0.0;
25458                inherit: "default" 0.0;
25459                visible: 1;
25460                color: 255 255 255 255;
25461             }
25462          }
25463          // Transparent part between base parts and slidable parts
25464          part { name: "event_block_layer";
25465             type: RECT;
25466             clip_to: "disclip";
25467             mouse_events: 1;
25468             description { state: "default" 0.0;
25469                rel1.to: "base";
25470                rel2.to: "base";
25471                color: 0 0 0 0;
25472             }
25473             description { state: "repeat_events" 0.0;
25474                inherit: "default" 0.0;
25475                visible: 0;
25476             }
25477          }
25478          part { name: "pers";
25479             clip_to: "disclip";
25480             type: RECT;
25481             description { state: "default" 0.0;
25482                rel1.relative: 0.0 1.0;
25483             }
25484          }
25485          part { name: "elm.swallow.origin";
25486             clip_to: "disclip";
25487             type: SWALLOW;
25488             description { state: "default" 0.0;
25489                fixed: 1 0;
25490                align: 0.0 0.5;
25491             }
25492             description { state: "slide" 0.0;
25493                inherit: "default" 0.0;
25494                rel1.relative: 1 0;
25495                rel2.relative: 2 1;
25496             }
25497             description { state: "rotate" 0.0;
25498                inherit: "default" 0.0;
25499                map {
25500                   perspective: "pers";
25501                   on: 1;
25502                   smooth: 1;
25503                   perspective_on: 1;
25504                   backface_cull: 1;
25505                   rotation {
25506                      center: "pers";
25507                      x: 0.0;
25508                      y: 0.0;
25509                      z: 0.0;
25510                   }
25511                }
25512             }
25513             description { state: "rotate" 1.0;
25514                inherit: "default" 0.0;
25515                map {
25516                   perspective: "pers";
25517                   on: 1;
25518                   smooth: 1;
25519                   perspective_on: 1;
25520                   backface_cull: 1;
25521                   rotation {
25522                      center: "pers";
25523                      x: 90.0;
25524                      y: 0.0;
25525                      z: 0.0;
25526                   }
25527                }
25528             }
25529          }
25530          part { name: "disclip";
25531             type: RECT;
25532             description { state: "default" 0.0;
25533                rel1.to: "bg";
25534                rel2.to: "bg";
25535             }
25536             description { state: "disabled" 0.0;
25537                inherit: "default" 0.0;
25538                color: 255 255 255 64;
25539             }
25540          }
25541       }
25542       programs {
25543          program {
25544             name:    "go_active";
25545             signal:  "elm,state,selected";
25546             source:  "elm";
25547             action:  STATE_SET "selected" 0.0;
25548             target:  "bg";
25549             target:  "fg1";
25550             target:  "fg2";
25551          }
25552          program {
25553             name:    "go_passive";
25554             signal:  "elm,state,unselected";
25555             source:  "elm";
25556             action:  STATE_SET "default" 0.0;
25557             target:  "bg";
25558             target:  "fg1";
25559             target:  "fg2";
25560             transition: LINEAR 0.1;
25561          }
25562          program {
25563             name:    "go_disabled";
25564             signal:  "elm,state,disabled";
25565             source:  "elm";
25566             action:  STATE_SET "disabled" 0.0;
25567             target:  "disclip";
25568          }
25569          program {
25570             name:    "go_enabled";
25571             signal:  "elm,state,enabled";
25572             source:  "elm";
25573             action:  STATE_SET "default" 0.0;
25574             target:  "disclip";
25575          }
25576          program {
25577             name:    "slide_right";
25578             signal:  "elm,state,slide,active";
25579             source:  "elm";
25580             action:  STATE_SET "slide" 0.0;
25581             target:  "elm.swallow.origin";
25582             transition: ACCELERATE 0.5;
25583             after:   "unblock_event";
25584          }
25585          program {
25586             name:    "unblock_event";
25587             action:  STATE_SET "repeat_events" 0.0;
25588             target:  "event_block_layer";
25589          }
25590          program {
25591             name:    "slide_left";
25592             signal:  "elm,state,slide,passive";
25593             source:  "elm";
25594             action:  STATE_SET "default" 0.0;
25595             target:   "event_block_layer";
25596             after:   "slide_left2";
25597          }
25598          program {
25599             name:    "slide_left2";
25600             action:  STATE_SET "default" 0.0;
25601             target:  "elm.swallow.origin";
25602             transition: DECELERATE 0.5;
25603             after:   "slide_left_finished";
25604          }
25605          program {
25606             name:    "slide_left_finished";
25607             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25608          }
25609          program {
25610             name:    "rotate_on";
25611             signal:  "elm,state,rotate,active";
25612             source:  "elm";
25613             action:  STATE_SET "rotate" 0.0;
25614             target:  "elm.swallow.origin";
25615             after:   "rotate_on2";
25616          }
25617          program {
25618             name:    "rotate_on2";
25619             action:  STATE_SET "rotate" 1.0;
25620             target:  "elm.swallow.origin";
25621             transition: LINEAR 0.5;
25622             after:   "unblock_event";
25623          }
25624          program {
25625             name:    "rotate_off";
25626             signal:  "elm,state,rotate,passive";
25627             source:  "elm";
25628             action:  STATE_SET "default" 0.0;
25629             target:  "event_block_layer";
25630             after:   "rotate_off2";
25631          }
25632          program {
25633             name:    "rotate_off2";
25634             action:  STATE_SET "rotate" 0.0;
25635             transition: LINEAR 0.5;
25636             target:  "elm.swallow.origin";
25637             after:   "rotate_off3";
25638          }
25639          program {
25640             name:    "rotate_off3";
25641             action:  STATE_SET "default" 0.0;
25642             target:  "elm.swallow.origin";
25643             after:   "rotate_off_finished";
25644          }
25645          program {
25646             name:    "rotate_off_finished";
25647             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25648          }
25649       }
25650    }
25651
25652 ///////////////////////////////////////////////////////////////////////////////
25653    group { name: "elm/pager/base/default";
25654       data.item: "onshow" "raise";
25655 // other options
25656 //      data.item: "onhide" "lower";
25657 //      data.item: "onshow" "lower";
25658       images {
25659          image: "frame_1.png" COMP;
25660          image: "frame_2.png" COMP;
25661          image: "dia_grad.png" COMP;
25662       }
25663       parts {
25664          part { name: "clip";
25665             type: RECT;
25666             mouse_events: 0;
25667             description { state: "default" 0.0;
25668                rel1 {
25669                   to: "base";
25670                   offset: -9999 -9999;
25671                }
25672                rel2 {
25673                   to: "base";
25674                   offset: 9999 9999;
25675                }
25676                color: 255 255 255 255;
25677             }
25678             description { state: "visible" 0.0;
25679                inherit: "default" 0.0;
25680             }
25681             description { state: "hidden" 0.0;
25682                inherit: "default" 0.0;
25683                color: 255 255 255 0;
25684                visible: 0;
25685             }
25686          }
25687          part { name: "base0";
25688             mouse_events:  0;
25689             clip_to: "clip";
25690             description { state: "default" 0.0;
25691                image.normal: "dia_grad.png";
25692                rel1.to: "over";
25693                rel2.to: "over";
25694                fill {
25695                   smooth: 0;
25696                   size {
25697                      relative: 0.0 1.0;
25698                      offset: 64 0;
25699                   }
25700                }
25701             }
25702          }
25703          part { name: "base";
25704             mouse_events:  0;
25705             clip_to: "clip";
25706             description { state: "default" 0.0;
25707                image {
25708                   normal: "frame_2.png";
25709                   border: 5 5 32 26;
25710                   middle: 0;
25711                }
25712                fill.smooth : 0;
25713             }
25714             description { state: "hidden" 0.0;
25715                inherit: "default" 0.0;
25716                rel1.relative: -1.0 0.0;
25717                rel2.relative: 0.0 1.0;
25718             }
25719             description { state: "visible" 0.0;
25720                inherit: "default" 0.0;
25721                rel1.relative: 0.0 0.0;
25722                rel2.relative: 1.0 1.0;
25723             }
25724          }
25725          part { name: "over";
25726             mouse_events:  0;
25727             clip_to: "clip";
25728             description { state:    "default" 0.0;
25729                rel1 {
25730                   to: "base";
25731                   offset: 4 4;
25732                }
25733                rel2 {
25734                   to: "base";
25735                   offset: -5 -5;
25736                }
25737                image {
25738                   normal: "frame_1.png";
25739                   border: 2 2 28 22;
25740                   middle: 0;
25741                }
25742                fill.smooth : 0;
25743             }
25744          }
25745          part { name: "elm.swallow.content";
25746             type: SWALLOW;
25747             clip_to: "clip";
25748             description { state: "default" 0.0;
25749                rel1 {
25750                   to: "base";
25751                   offset: 8 8;
25752                }
25753                rel2 {
25754                   to: "base";
25755                   offset: -9 -9;
25756                }
25757             }
25758          }
25759       }
25760       programs {
25761          program { name: "push_start";
25762             signal: "elm,action,push";
25763             source: "elm";
25764             action:  STATE_SET "hidden" 0.0;
25765             target: "base";
25766             target: "clip";
25767             after: "show_start2";
25768          }
25769          program { name: "show_start";
25770             signal: "elm,action,show";
25771             source: "elm";
25772             action:  STATE_SET "hidden" 0.0;
25773             target: "base";
25774             target: "clip";
25775             after: "show_start2";
25776          }
25777          program { name: "show_start2";
25778             action:  STATE_SET "visible" 0.0;
25779             transition: DECELERATE 0.5;
25780             target: "base";
25781             target: "clip";
25782             after: "show_end";
25783          }
25784          program { name: "show_end";
25785             action: SIGNAL_EMIT "elm,action,show,finished" "";
25786          }
25787          program { name: "pop_start";
25788             signal: "elm,action,pop";
25789             source: "elm";
25790             action:  STATE_SET "visible" 0.0;
25791             target: "base";
25792             target: "clip";
25793             after: "hide_start2";
25794          }
25795          program { name: "hide_start";
25796             signal: "elm,action,hide";
25797             source: "elm";
25798             action:  STATE_SET "visible" 0.0;
25799             target: "base";
25800             target: "clip";
25801             after: "hide_start2";
25802          }
25803          program { name: "hide_start2";
25804             action:  STATE_SET "hidden" 0.0;
25805             transition: DECELERATE 0.5;
25806             target: "base";
25807             target: "clip";
25808             after: "hide_end";
25809          }
25810          program { name: "hide_end";
25811             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25812          }
25813          program { name: "reset";
25814             signal: "elm,action,reset";
25815             source: "elm";
25816             action:  STATE_SET "default" 0.0;
25817             target: "base";
25818             target: "clip";
25819          }
25820       }
25821    }
25822
25823    group { name: "elm/pager/base/slide";
25824       images {
25825          image: "frame_1.png" COMP;
25826          image: "frame_2.png" COMP;
25827          image: "dia_grad.png" COMP;
25828       }
25829       parts {
25830          part { name: "clip";
25831             type: RECT;
25832             mouse_events: 0;
25833             description { state: "default" 0.0;
25834                rel1 {
25835                   to: "base";
25836                   offset: -9999 -9999;
25837                }
25838                rel2 {
25839                   to: "base";
25840                   offset: 9999 9999;
25841                }
25842                color: 255 255 255 255;
25843             }
25844             description { state: "visible" 0.0;
25845                inherit: "default" 0.0;
25846             }
25847             description { state: "hidden" 0.0;
25848                inherit: "default" 0.0;
25849                color: 255 255 255 0;
25850                visible: 0;
25851             }
25852             description { state: "hidden2" 0.0;
25853                inherit: "default" 0.0;
25854                color: 255 255 255 0;
25855                visible: 0;
25856             }
25857          }
25858          part { name: "base0";
25859             mouse_events:  0;
25860             clip_to: "clip";
25861             description { state: "default" 0.0;
25862                image.normal: "dia_grad.png";
25863                rel1.to: "over";
25864                rel2.to: "over";
25865                fill {
25866                   smooth: 0;
25867                   size {
25868                      relative: 0.0 1.0;
25869                      offset: 64 0;
25870                   }
25871                }
25872             }
25873          }
25874          part { name: "base";
25875             mouse_events:  0;
25876             clip_to: "clip";
25877             description { state: "default" 0.0;
25878                image {
25879                   normal: "frame_2.png";
25880                   border: 5 5 32 26;
25881                   middle: 0;
25882                }
25883                fill.smooth : 0;
25884             }
25885             description { state: "hidden" 0.0;
25886                inherit: "default" 0.0;
25887                rel1.relative: -1.0 0.0;
25888                rel2.relative: 0.0 1.0;
25889             }
25890             description { state: "hidden2" 0.0;
25891                inherit: "default" 0.0;
25892                rel1.relative: 1.0 0.0;
25893                rel2.relative: 2.0 1.0;
25894             }
25895             description { state: "visible" 0.0;
25896                inherit: "default" 0.0;
25897                rel1.relative: 0.0 0.0;
25898                rel2.relative: 1.0 1.0;
25899             }
25900          }
25901          part { name: "over";
25902             mouse_events:  0;
25903             clip_to: "clip";
25904             description { state:    "default" 0.0;
25905                rel1 {
25906                   to: "base";
25907                   offset: 4 4;
25908                }
25909                rel2 {
25910                   to: "base";
25911                   offset: -5 -5;
25912                }
25913                image {
25914                   normal: "frame_1.png";
25915                   border: 2 2 28 22;
25916                   middle: 0;
25917                }
25918                fill.smooth : 0;
25919             }
25920          }
25921          part { name: "elm.swallow.content";
25922             type: SWALLOW;
25923             clip_to: "clip";
25924             description { state: "default" 0.0;
25925                rel1 {
25926                   to: "base";
25927                   offset: 8 8;
25928                }
25929                rel2 {
25930                   to: "base";
25931                   offset: -9 -9;
25932                }
25933             }
25934          }
25935       }
25936       programs {
25937          program { name: "push_start";
25938             signal: "elm,action,push";
25939             source: "elm";
25940             action:  STATE_SET "hidden2" 0.0;
25941             target: "base";
25942             target: "clip";
25943             after: "show_start2";
25944          }
25945          program { name: "show_start";
25946             signal: "elm,action,show";
25947             source: "elm";
25948             action:  STATE_SET "hidden" 0.0;
25949             target: "base";
25950             target: "clip";
25951             after: "show_start2";
25952          }
25953          program { name: "show_start2";
25954             action:  STATE_SET "visible" 0.0;
25955             transition: DECELERATE 0.5;
25956             target: "base";
25957             target: "clip";
25958             after: "show_end";
25959          }
25960          program { name: "show_end";
25961             action: SIGNAL_EMIT "elm,action,show,finished" "";
25962          }
25963          program { name: "pop_start";
25964             signal: "elm,action,pop";
25965             source: "elm";
25966             action:  STATE_SET "visible" 0.0;
25967             target: "base";
25968             target: "clip";
25969             after: "pop_start2";
25970          }
25971          program { name: "pop_start2";
25972             action:  STATE_SET "hidden2" 0.0;
25973             transition: DECELERATE 0.5;
25974             target: "base";
25975             target: "clip";
25976             after: "hide_end";
25977          }
25978          program { name: "hide_start";
25979             signal: "elm,action,hide";
25980             source: "elm";
25981             action:  STATE_SET "visible" 0.0;
25982             target: "base";
25983             target: "clip";
25984             after: "hide_start2";
25985          }
25986          program { name: "hide_start2";
25987             action:  STATE_SET "hidden" 0.0;
25988             transition: DECELERATE 0.5;
25989             target: "base";
25990             target: "clip";
25991             after: "hide_end";
25992          }
25993          program { name: "hide_end";
25994             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25995          }
25996          program { name: "reset";
25997             signal: "elm,action,reset";
25998             source: "elm";
25999             action:  STATE_SET "default" 0.0;
26000             target: "base";
26001             target: "clip";
26002          }
26003       }
26004    }
26005    group { name: "elm/pager/base/slide_invisible";
26006       parts {
26007          part { name: "clip";
26008             type: RECT;
26009             mouse_events: 0;
26010             description { state: "default" 0.0;
26011                rel1 {
26012                   to: "base";
26013                   offset: -9999 -9999;
26014             }
26015                rel2 {
26016                   to: "base";
26017                   offset: 9999 9999;
26018                }
26019                color: 255 255 255 255;
26020             }
26021             description { state: "visible" 0.0;
26022                inherit: "default" 0.0;
26023             }
26024             description { state: "hidden" 0.0;
26025                inherit: "default" 0.0;
26026                color: 255 255 255 0;
26027                visible: 0;
26028             }
26029             description { state: "hidden2" 0.0;
26030                inherit: "default" 0.0;
26031                color: 255 255 255 0;
26032                visible: 0;
26033             }
26034          }
26035          part { name: "base";
26036             type: RECT;
26037             mouse_events:  0;
26038             clip_to: "clip";
26039             description { state: "default" 0.0;
26040                color: 0 0 0 0;
26041             }
26042             description { state: "hidden" 0.0;
26043                color: 0 0 0 0;
26044                rel1.relative: -1.0 0.0;
26045                rel2.relative: 0.0 1.0;
26046             }
26047             description { state: "hidden2" 0.0;
26048                color: 0 0 0 0;
26049                rel1.relative: 1.0 0.0;
26050                rel2.relative: 2.0 1.0;
26051             }
26052             description { state: "visible" 0.0;
26053                color: 0 0 0 0;
26054                rel1.relative: 0.0 0.0;
26055                rel2.relative: 1.0 1.0;
26056             }
26057          }
26058          part { name: "elm.swallow.content";
26059             type: SWALLOW;
26060             clip_to: "clip";
26061             description { state: "default" 0.0;
26062                rel1.to: "base";
26063                rel2.to: "base";
26064             }
26065          }
26066       }
26067       programs {
26068          program { name: "push_start";
26069             signal: "elm,action,push";
26070             source: "elm";
26071             action:  STATE_SET "hidden2" 0.0;
26072             target: "base";
26073             target: "clip";
26074             after: "show_start2";
26075          }
26076          program { name: "show_start";
26077             signal: "elm,action,show";
26078             source: "elm";
26079             action:  STATE_SET "hidden" 0.0;
26080             target: "base";
26081             target: "clip";
26082             after: "show_start2";
26083          }
26084          program { name: "show_start2";
26085             action:  STATE_SET "visible" 0.0;
26086             transition: DECELERATE 0.5;
26087             target: "base";
26088             target: "clip";
26089             after: "show_end";
26090          }
26091          program { name: "show_end";
26092             action: SIGNAL_EMIT "elm,action,show,finished" "";
26093          }
26094          program { name: "pop_start";
26095             signal: "elm,action,pop";
26096             source: "elm";
26097             action:  STATE_SET "visible" 0.0;
26098             target: "base";
26099             target: "clip";
26100             after: "pop_start2";
26101          }
26102          program { name: "pop_start2";
26103             action:  STATE_SET "hidden2" 0.0;
26104             transition: DECELERATE 0.5;
26105             target: "base";
26106             target: "clip";
26107             after: "hide_end";
26108          }
26109          program { name: "hide_start";
26110             signal: "elm,action,hide";
26111             source: "elm";
26112             action:  STATE_SET "visible" 0.0;
26113             target: "base";
26114             target: "clip";
26115             after: "hide_start2";
26116          }
26117          program { name: "hide_start2";
26118             action:  STATE_SET "hidden" 0.0;
26119             transition: DECELERATE 0.5;
26120             target: "base";
26121             target: "clip";
26122             after: "hide_end";
26123          }
26124          program { name: "hide_end";
26125             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26126          }
26127          program { name: "reset";
26128             signal: "elm,action,reset";
26129             source: "elm";
26130             action:  STATE_SET "default" 0.0;
26131             target: "base";
26132             target: "clip";
26133          }
26134       }
26135    }
26136
26137    group { name: "elm/pager/base/fade";
26138        data.item: "onshow" "raise";
26139        // other options
26140        //      data.item: "onhide" "lower";
26141        //      data.item: "onshow" "lower";
26142        images {
26143            image: "frame_1.png" COMP;
26144            image: "frame_2.png" COMP;
26145            image: "dia_grad.png" COMP;
26146        }
26147        parts {
26148            part { name: "clip_base";
26149                type: RECT;
26150                mouse_events: 0;
26151                description { state: "default" 0.0;
26152                    rel1 {
26153                        to: "base";
26154                        offset: -9999 -9999;
26155                    }
26156                    rel2 {
26157                        to: "base";
26158                        offset: 9999 9999;
26159                    }
26160                    color: 255 255 255 120;
26161                }
26162                description { state: "visible" 0.0;
26163                    inherit: "default" 0.0;
26164                }
26165                description { state: "hidden" 0.0;
26166                    inherit: "default" 0.0;
26167                    color: 255 255 255 0;
26168                    visible: 0;
26169                }
26170            }
26171            part { name: "clip";
26172                type: RECT;
26173                mouse_events: 0;
26174                description { state: "default" 0.0;
26175                    rel1 {
26176                        to: "base";
26177                        offset: -9999 -9999;
26178                    }
26179                    rel2 {
26180                        to: "base";
26181                        offset: 9999 9999;
26182                    }
26183                    color: 255 255 255 255;
26184                }
26185                description { state: "visible" 0.0;
26186                    inherit: "default" 0.0;
26187                }
26188                description { state: "hidden" 0.0;
26189                    inherit: "default" 0.0;
26190                    color: 255 255 255 0;
26191                    visible: 0;
26192                }
26193            }
26194            part { name: "base0";
26195                mouse_events:  0;
26196                clip_to: "clip_base";
26197                description { state: "default" 0.0;
26198                    image.normal: "dia_grad.png";
26199                    rel1.to: "over";
26200                    rel2.to: "over";
26201                    fill {
26202                        smooth: 0;
26203                        size {
26204                            relative: 0.0 1.0;
26205                            offset: 64 0;
26206                        }
26207                    }
26208                }
26209            }
26210            part { name: "base";
26211                mouse_events:  0;
26212                clip_to: "clip_base";
26213                description { state: "default" 0.0;
26214                    image {
26215                        normal: "frame_2.png";
26216                        border: 5 5 32 26;
26217                        middle: 0;
26218                    }
26219                    fill.smooth : 0;
26220                }
26221            }
26222            part { name: "over";
26223                mouse_events:  0;
26224                clip_to: "clip";
26225                description { state:    "default" 0.0;
26226                    rel1 {
26227                        to: "base";
26228                        offset: 4 4;
26229                    }
26230                    rel2 {
26231                        to: "base";
26232                        offset: -5 -5;
26233                    }
26234                    image {
26235                        normal: "frame_1.png";
26236                        border: 2 2 28 22;
26237                        middle: 0;
26238                    }
26239                    fill.smooth : 0;
26240                }
26241            }
26242            part { name: "elm.swallow.content";
26243                type: SWALLOW;
26244                clip_to: "clip";
26245                description { state: "default" 0.0;
26246                    rel1 {
26247                        to: "base";
26248                        offset: 8 8;
26249                    }
26250                    rel2 {
26251                        to: "base";
26252                        offset: -9 -9;
26253                    }
26254                }
26255            }
26256        }
26257        programs {
26258            program { name: "push_start";
26259                signal: "elm,action,push";
26260                source: "elm";
26261                action:  STATE_SET "hidden" 0.0;
26262                target: "clip";
26263                target: "clip_base";
26264                after: "show_start2";
26265            }
26266            program { name: "show_start";
26267                signal: "elm,action,show";
26268                source: "elm";
26269                action:  STATE_SET "hidden" 0.0;
26270                target: "clip";
26271                target: "clip_base";
26272                after: "show_start2";
26273            }
26274            program { name: "show_start2";
26275                action:  STATE_SET "visible" 0.0;
26276                transition: DECELERATE 0.5;
26277                target: "clip";
26278                target: "clip_base";
26279                after: "show_end";
26280            }
26281            program { name: "show_end";
26282                action: SIGNAL_EMIT "elm,action,show,finished" "";
26283            }
26284            program { name: "pop_start";
26285                signal: "elm,action,pop";
26286                source: "elm";
26287                action:  STATE_SET "visible" 0.0;
26288                target: "clip";
26289                target: "clip_base";
26290                after: "hide_start2";
26291            }
26292            program { name: "hide_start";
26293                signal: "elm,action,hide";
26294                source: "elm";
26295                action:  STATE_SET "visible" 0.0;
26296                target: "clip";
26297                target: "clip_base";
26298                after: "hide_start2";
26299            }
26300            program { name: "hide_start2";
26301                action:  STATE_SET "hidden" 0.0;
26302                transition: DECELERATE 0.5;
26303                target: "clip";
26304                target: "clip_base";
26305                after: "hide_end";
26306            }
26307            program { name: "hide_end";
26308                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26309            }
26310            program { name: "reset";
26311                signal: "elm,action,reset";
26312                source: "elm";
26313                action:  STATE_SET "default" 0.0;
26314                target: "clip_base";
26315                target: "clip";
26316            }
26317        }
26318    }
26319    group { name: "elm/pager/base/fade_translucide";
26320        data.item: "onshow" "raise";
26321        // other options
26322        //      data.item: "onhide" "lower";
26323        //      data.item: "onshow" "lower";
26324        images {
26325            image: "frame_1.png" COMP;
26326            image: "frame_2.png" COMP;
26327            image: "dia_grad.png" COMP;
26328        }
26329        parts {
26330            part { name: "clip_base";
26331                type: RECT;
26332                mouse_events: 0;
26333                description { state: "default" 0.0;
26334                    rel1 {
26335                        to: "base";
26336                        offset: -9999 -9999;
26337                    }
26338                    rel2 {
26339                        to: "base";
26340                        offset: 9999 9999;
26341                    }
26342                    color: 255 255 255 120;
26343                }
26344                description { state: "visible" 0.0;
26345                    inherit: "default" 0.0;
26346                }
26347                description { state: "hidden" 0.0;
26348                    inherit: "default" 0.0;
26349                    color: 255 255 255 0;
26350                    visible: 0;
26351                }
26352            }
26353            part { name: "clip";
26354                type: RECT;
26355                mouse_events: 0;
26356                description { state: "default" 0.0;
26357                    rel1 {
26358                        to: "base";
26359                        offset: -9999 -9999;
26360                    }
26361                    rel2 {
26362                        to: "base";
26363                        offset: 9999 9999;
26364                    }
26365                    color: 255 255 255 255;
26366                }
26367                description { state: "visible" 0.0;
26368                    inherit: "default" 0.0;
26369                }
26370                description { state: "hidden" 0.0;
26371                    inherit: "default" 0.0;
26372                    color: 255 255 255 0;
26373                    visible: 0;
26374                }
26375            }
26376            part { name: "base0";
26377                mouse_events:  0;
26378                clip_to: "clip_base";
26379                description { state: "default" 0.0;
26380                    image.normal: "dia_grad.png";
26381                    rel1.to: "over";
26382                    rel2.to: "over";
26383                    fill {
26384                        smooth: 0;
26385                        size {
26386                            relative: 0.0 1.0;
26387                            offset: 64 0;
26388                        }
26389                    }
26390                }
26391            }
26392            part { name: "base";
26393                mouse_events:  0;
26394                clip_to: "clip_base";
26395                description { state: "default" 0.0;
26396                    image {
26397                        normal: "frame_2.png";
26398                        border: 5 5 32 26;
26399                        middle: 0;
26400                    }
26401                    fill.smooth : 0;
26402                }
26403            }
26404            part { name: "over";
26405                mouse_events:  0;
26406                clip_to: "clip";
26407                description { state:    "default" 0.0;
26408                    rel1 {
26409                        to: "base";
26410                        offset: 4 4;
26411                    }
26412                    rel2 {
26413                        to: "base";
26414                        offset: -5 -5;
26415                    }
26416                    image {
26417                        normal: "frame_1.png";
26418                        border: 2 2 28 22;
26419                        middle: 0;
26420                    }
26421                    fill.smooth : 0;
26422                }
26423            }
26424            part { name: "elm.swallow.content";
26425                type: SWALLOW;
26426                clip_to: "clip";
26427                description { state: "default" 0.0;
26428                    rel1 {
26429                        to: "base";
26430                        offset: 8 8;
26431                    }
26432                    rel2 {
26433                        to: "base";
26434                        offset: -9 -9;
26435                    }
26436                }
26437            }
26438        }
26439        programs {
26440            program { name: "push_start";
26441                signal: "elm,action,push";
26442                source: "elm";
26443                action:  STATE_SET "hidden" 0.0;
26444                target: "clip";
26445                target: "clip_base";
26446                after: "show_start2";
26447            }
26448            program { name: "show_start";
26449                signal: "elm,action,show";
26450                source: "elm";
26451                action:  STATE_SET "hidden" 0.0;
26452                target: "clip";
26453                target: "clip_base";
26454                after: "show_start2";
26455            }
26456            program { name: "show_start2";
26457                action:  STATE_SET "visible" 0.0;
26458                transition: DECELERATE 0.5;
26459                target: "clip";
26460                target: "clip_base";
26461                after: "show_end";
26462            }
26463            program { name: "show_end";
26464                action: SIGNAL_EMIT "elm,action,show,finished" "";
26465            }
26466            program { name: "pop_start";
26467                signal: "elm,action,pop";
26468                source: "elm";
26469                action:  STATE_SET "visible" 0.0;
26470                target: "clip";
26471                target: "clip_base";
26472                after: "hide_start2";
26473            }
26474            program { name: "hide_start";
26475                signal: "elm,action,hide";
26476                source: "elm";
26477                action:  STATE_SET "visible" 0.0;
26478                target: "clip";
26479                target: "clip_base";
26480                after: "hide_start2";
26481            }
26482            program { name: "hide_start2";
26483                action:  STATE_SET "hidden" 0.0;
26484                transition: DECELERATE 0.5;
26485                target: "clip";
26486                target: "clip_base";
26487                after: "hide_end";
26488            }
26489            program { name: "hide_end";
26490                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26491            }
26492            program { name: "reset";
26493                signal: "elm,action,reset";
26494                source: "elm";
26495                action:  STATE_SET "default" 0.0;
26496                target: "clip_base";
26497                target: "clip";
26498            }
26499        }
26500    }
26501    group { name: "elm/pager/base/fade_invisible";
26502        data.item: "onshow" "raise";
26503        // other options
26504        //      data.item: "onhide" "lower";
26505        //      data.item: "onshow" "lower";
26506        parts {
26507            part { name: "clip";
26508                type: RECT;
26509                mouse_events: 0;
26510                description { state: "default" 0.0;
26511                    rel1 {
26512                        offset: -9999 -9999;
26513                    }
26514                    rel2 {
26515                        offset: 9999 9999;
26516                    }
26517                    color: 255 255 255 255;
26518                }
26519                description { state: "visible" 0.0;
26520                    inherit: "default" 0.0;
26521                }
26522                description { state: "hidden" 0.0;
26523                    inherit: "default" 0.0;
26524                    color: 255 255 255 0;
26525                    visible: 0;
26526                }
26527            }
26528            part { name: "elm.swallow.content";
26529                type: SWALLOW;
26530                clip_to: "clip";
26531                description { state: "default" 0.0;
26532                    rel1 {
26533                        offset: 8 8;
26534                    }
26535                    rel2 {
26536                        offset: -9 -9;
26537                    }
26538                }
26539            }
26540        }
26541        programs {
26542            program { name: "push_start";
26543                signal: "elm,action,push";
26544                source: "elm";
26545                action:  STATE_SET "hidden" 0.0;
26546                target: "clip";
26547                after: "show_start2";
26548            }
26549            program { name: "show_start";
26550                signal: "elm,action,show";
26551                source: "elm";
26552                action:  STATE_SET "hidden" 0.0;
26553                target: "clip";
26554                after: "show_start2";
26555            }
26556            program { name: "show_start2";
26557                action:  STATE_SET "visible" 0.0;
26558                transition: DECELERATE 0.5;
26559                target: "clip";
26560                after: "show_end";
26561            }
26562            program { name: "show_end";
26563                action: SIGNAL_EMIT "elm,action,show,finished" "";
26564            }
26565            program { name: "pop_start";
26566                signal: "elm,action,pop";
26567                source: "elm";
26568                action:  STATE_SET "visible" 0.0;
26569                target: "clip";
26570                after: "hide_start2";
26571            }
26572            program { name: "hide_start";
26573                signal: "elm,action,hide";
26574                source: "elm";
26575                action:  STATE_SET "visible" 0.0;
26576                target: "clip";
26577                after: "hide_start2";
26578            }
26579            program { name: "hide_start2";
26580                action:  STATE_SET "hidden" 0.0;
26581                transition: DECELERATE 0.5;
26582                target: "clip";
26583                after: "hide_end";
26584            }
26585            program { name: "hide_end";
26586                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26587            }
26588            program { name: "reset";
26589                signal: "elm,action,reset";
26590                source: "elm";
26591                action:  STATE_SET "default" 0.0;
26592                target: "clip";
26593            }
26594        }
26595    }
26596
26597    group { name: "elm/pager/base/flip";
26598       data.item: "onshow" "raise";
26599       images {
26600          image: "frame_1.png" COMP;
26601          image: "frame_2.png" COMP;
26602          image: "dia_grad.png" COMP;
26603       }
26604       parts {
26605          part { name: "elm.swallow.content";
26606             type: SWALLOW;
26607             description { state: "default" 0.0;
26608                map {
26609                   on: 1;
26610                   smooth: 1;
26611                   backface_cull: 1;
26612                   perspective_on: 1;
26613                }
26614                perspective {
26615                   zplane: 0;
26616                   focal: 1000;
26617                }
26618             }
26619             description { state: "hidden" 0.0;
26620                inherit: "default" 0.0;
26621                visible: 0;
26622                map.rotation.y: 90.0;
26623             }
26624             description { state: "before_hidden" 0.0;
26625                inherit: "default" 0.0;
26626                visible: 0;
26627                map.rotation.y: -90.0;
26628             }
26629          }
26630       }
26631       programs {
26632          program { name: "push_start";
26633             signal: "elm,action,push";
26634             source: "elm";
26635             after: "push1";
26636          }
26637          program { name: "push1";
26638             action:  STATE_SET "hidden" 0.0;
26639             target: "elm.swallow.content";
26640             after: "push2";
26641          }
26642          program { name: "push2";
26643             action:  STATE_SET "default" 0.0;
26644             in: 0.5 0.0;
26645             transition: LINEAR 0.5;
26646             target: "elm.swallow.content";
26647             after: "push3";
26648          }
26649          program { name: "push3";
26650             action: SIGNAL_EMIT "elm,action,show,finished" "";
26651          }
26652
26653          program { name: "show_start";
26654             signal: "elm,action,show";
26655             source: "elm";
26656             after: "show1";
26657          }
26658          program { name: "show1";
26659             action:  STATE_SET "before_hidden" 0.0;
26660             target: "elm.swallow.content";
26661             after: "show2";
26662          }
26663          program { name: "show2";
26664             action:  STATE_SET "default" 0.0;
26665             in: 0.5 0.0;
26666             transition: LINEAR 0.5;
26667             target: "elm.swallow.content";
26668             after: "show3";
26669          }
26670          program { name: "show3";
26671             action: SIGNAL_EMIT "elm,action,show,finished" "";
26672          }
26673
26674          program { name: "pop_start";
26675             signal: "elm,action,pop";
26676             source: "elm";
26677             after: "pop1";
26678          }
26679          program { name: "pop1";
26680             action:  STATE_SET "default" 0.0;
26681             target: "elm.swallow.content";
26682             after: "pop2";
26683          }
26684          program { name: "pop2";
26685             action:  STATE_SET "hidden" 0.0;
26686             transition: LINEAR 0.5;
26687             target: "elm.swallow.content";
26688             after: "pop3";
26689          }
26690          program { name: "pop3";
26691             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26692          }
26693
26694          program { name: "hide_start";
26695             signal: "elm,action,hide";
26696             source: "elm";
26697             after: "hide1";
26698          }
26699          program { name: "hide1";
26700             action:  STATE_SET "default" 0.0;
26701             target: "elm.swallow.content";
26702             after: "hide2";
26703          }
26704          program { name: "hide2";
26705             action:  STATE_SET "before_hidden" 0.0;
26706             transition: LINEAR 0.5;
26707             target: "elm.swallow.content";
26708             after: "hide3";
26709          }
26710          program { name: "hide3";
26711             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26712          }
26713
26714          program { name: "reset";
26715             signal: "elm,action,reset";
26716             source: "elm";
26717             action:  STATE_SET "default" 0.0;
26718             target: "elm.swallow.content";
26719          }
26720       }
26721    }
26722
26723
26724
26725 ///////////////////////////////////////////////////////////////////////////////
26726 // FIXME: this doesn't look too hot. need to fix it up
26727    group { name: "elm/progressbar/horizontal/default";
26728       images {
26729          image: "shelf_inset.png" COMP;
26730          image: "bt_sm_base2.png" COMP;
26731          image: "bt_sm_hilight.png" COMP;
26732          image: "bt_sm_shine.png" COMP;
26733       }
26734       parts {
26735          part { name: "elm.background.progressbar";
26736             mouse_events: 0;
26737             description {
26738                state: "default" 0.0;
26739                rel1 {
26740                   relative: 0.0 0.0;
26741                   offset: 0 0;
26742                }
26743                rel2 {
26744                   relative: 1.0 1.0;
26745                }
26746             }
26747          }
26748          part { name: "elm.swallow.bar";
26749             mouse_events: 0;
26750             type: SWALLOW;
26751             description {
26752                min: 48 28;
26753                max: 99999 28;
26754                state: "default" 0.0;
26755                rel1 {
26756                   to_x: "elm.text";
26757                   to_y: "elm.background.progressbar";
26758                   relative: 1.0 0.0;
26759                }
26760                rel2 {
26761                   to: "elm.background.progressbar";
26762                   relative: 1.0 1.0;
26763                }
26764             }
26765          }
26766          part { name: "elm.swallow.content";
26767             type: SWALLOW;
26768             description { state: "default" 0.0;
26769                visible: 0;
26770                align: 0.0 0.5;
26771                rel1 {
26772                   offset: 4 0;
26773                   to_y: "elm.background.progressbar";
26774                }
26775                rel2 {
26776                   offset: 3 -1;
26777                   relative: 0.0 1.0;
26778                   to_y: "elm.background.progressbar";
26779                }
26780             }
26781             description { state: "visible" 0.0;
26782                inherit: "default" 0.0;
26783                visible: 1;
26784                aspect: 1.0 1.0;
26785                aspect_preference: VERTICAL;
26786                rel2.offset: 4 -1;
26787             }
26788          }
26789          part { name: "elm.text";
26790             type: TEXT;
26791             mouse_events: 0;
26792             scale: 1;
26793             description { state: "default" 0.0;
26794                visible: 0;
26795                fixed: 1 1;
26796                align: 0.0 0.5;
26797                rel1.to_x: "elm.swallow.content";
26798                rel1.relative: 1.0 0.0;
26799                rel1.offset: -1 4;
26800                rel2.to_x: "elm.swallow.content";
26801                rel2.relative: 1.0 1.0;
26802                rel2.offset: -1 -5;
26803                color: 0 0 0 255;
26804                text {
26805                   font: "Sans,Edje-Vera";
26806                   size: 10;
26807                   min: 0 0;
26808                   align: 0.0 0.5;
26809                }
26810             }
26811             description { state: "visible" 0.0;
26812                inherit: "default" 0.0;
26813                visible: 1;
26814                text.min: 1 1;
26815                rel1.offset: 0 4;
26816                rel2.offset: 0 -5;
26817             }
26818          }
26819
26820          part { name: "background";
26821             mouse_events: 0;
26822             clip_to: "elm.background.progressbar";
26823             description {
26824                state: "default" 0.0;
26825                rel1 {
26826                   to: "elm.swallow.bar";
26827                   relative: 0.0 0.0;
26828                }
26829                rel2 {
26830                   to: "elm.swallow.bar";
26831                   relative: 1.0 1.0;
26832                   offset: -1 -1;
26833                }
26834                image {
26835                   normal: "shelf_inset.png";
26836                   border: 7 7 7 7;
26837                }
26838             }
26839          }
26840
26841          part { name: "elm.text.status";
26842             type: TEXT;
26843             mouse_events: 0;
26844             description { state: "default" 0.0;
26845                fixed: 1 1;
26846                visible: 1;
26847                rel1 {
26848                   to: "background";
26849                   relative: 0.5 0.5;
26850                }
26851                rel2 {
26852                   to: "background";
26853                   relative: 0.5 0.5;
26854                }
26855                text {
26856                   font: "Sans:style=Bold,Edje-Vera-Bold";
26857                   size: 10;
26858                   min: 1 1;
26859                   align: 0.5 0.0;
26860                }
26861                color: 0 0 0 255;
26862             }
26863             description { state: "hidden" 0.0;
26864                inherit: "default" 0.0;
26865                visible: 0;
26866                text.min: 0 0;
26867             }
26868          }
26869
26870          part { name: "elm.progress.progressbar";
26871             mouse_events: 0;
26872             clip_to: "elm.background.progressbar";
26873             description {
26874                state: "default" 0.0;
26875                min: 14 28;
26876                fixed: 1 1;
26877                rel1 {
26878                   to: "elm.swallow.bar";
26879                   relative: 0.0 0.0;
26880                }
26881                rel2 {
26882                   to_y: "elm.swallow.bar";
26883                   to_x: "elm.cur.progressbar";
26884                   offset: -1 -1;
26885                }
26886                image {
26887                   normal: "bt_sm_base2.png";
26888                   border: 6 6 6 6;
26889                }
26890             }
26891             description {
26892                state: "invert" 0.0;
26893                inherit: "default" 0.0;
26894                rel1 {
26895                   to_y: "elm.swallow.bar";
26896                   to_x: "elm.cur.progressbar";
26897                }
26898                rel2 {
26899                   to: "elm.swallow.bar";
26900                   relative: 1.0 1.0;
26901                }
26902             }
26903             description {
26904                state: "state_begin" 0.0;
26905                inherit: "default" 0.0;
26906                rel1 {
26907                   to: "elm.swallow.bar";
26908                   relative: 0.0 0.0;
26909                }
26910                rel2 {
26911                   to: "elm.swallow.bar";
26912                   relative: 0.1 1.0;
26913                }
26914             }
26915             description {
26916                state: "state_end" 0.0;
26917                inherit: "default" 0.0;
26918                rel1 {
26919                   to: "elm.swallow.bar";
26920                   relative: 0.9 0.0;
26921                }
26922                rel2 {
26923                   to: "elm.swallow.bar";
26924                   relative: 1.0 1.0;
26925                }
26926             }
26927          }
26928          part { name: "text-bar";
26929             type: TEXT;
26930             mouse_events: 0;
26931             clip_to: "progress-rect";
26932             effect: SOFT_SHADOW;
26933             scale: 1;
26934             description { state: "default" 0.0;
26935                align: 0.0 0.0;
26936                fixed: 1 1;
26937                visible: 1;
26938                rel1.to: "elm.text.status";
26939                rel1.offset: -1 -1;
26940                rel2.to: "elm.text.status";
26941                text {
26942                   text_source: "elm.text.status";
26943                   font: "Sans:style=Bold,Edje-Vera-Bold";
26944                   size: 10;
26945                   min: 1 1;
26946                   align: 0.0 0.0;
26947                }
26948                color: 224 224 224 255;
26949                color3: 0 0 0 64;
26950             }
26951             description { state: "hidden" 0.0;
26952                inherit: "default" 0.0;
26953                visible: 0;
26954                text.min: 0 0;
26955             }
26956          }
26957
26958          part { name: "over1";
26959             mouse_events: 0;
26960             description { state: "default" 0.0;
26961                rel1.to: "elm.progress.progressbar";
26962                rel2.to: "elm.progress.progressbar";
26963                rel2.relative: 1.0 0.5;
26964                image {
26965                   normal: "bt_sm_hilight.png";
26966                   border: 6 6 6 0;
26967                }
26968             }
26969          }
26970
26971          part { name: "over2";
26972             mouse_events: 1;
26973             repeat_events: 1;
26974             description { state: "default" 0.0;
26975                rel1.to: "elm.progress.progressbar";
26976                rel2.to: "elm.progress.progressbar";
26977                image {
26978                   normal: "bt_sm_shine.png";
26979                   border: 6 6 6 0;
26980                }
26981             }
26982          }
26983
26984          part { name: "elm.cur.progressbar";
26985             mouse_events: 0;
26986             dragable {
26987                confine: "background";
26988                x: 1 1 1;
26989                y: 0 0 0;
26990             }
26991             description { state: "default" 0.0;
26992                min: 14 28;
26993                fixed: 1 1;
26994                visible: 0;
26995                rel1 {
26996                   to: "background";
26997                   relative: 0 0;
26998                }
26999                rel2.to: "background";
27000            }
27001          }
27002          part { name: "progress-rect";
27003             mouse_events: 0;
27004             description {
27005                state: "default" 0.0;
27006                rel1.to: "elm.progress.progressbar";
27007                rel2.to: "elm.progress.progressbar";
27008             }
27009          }
27010       }
27011       programs {
27012          program { name: "label_show";
27013             signal: "elm,state,text,visible";
27014             source: "elm";
27015             action:  STATE_SET "visible" 0.0;
27016             target: "elm.text";
27017          }
27018          program { name: "label_hide";
27019             signal: "elm,state,text,hidden";
27020             source: "elm";
27021             action:  STATE_SET "default" 0.0;
27022             target: "elm.text";
27023          }
27024          program { name: "icon_show";
27025             signal: "elm,state,icon,visible";
27026             source: "elm";
27027             action:  STATE_SET "visible" 0.0;
27028             target: "elm.swallow.content";
27029          }
27030          program { name: "icon_hide";
27031             signal: "elm,state,icon,hidden";
27032             source: "elm";
27033             action:  STATE_SET "default" 0.0;
27034             target: "elm.swallow.content";
27035          }
27036          program { name: "units_show";
27037             signal: "elm,state,units,visible";
27038             source: "elm";
27039             action:  STATE_SET "default" 0.0;
27040             target: "text-bar";
27041             target: "elm.text.status";
27042          }
27043          program { name: "units_hide";
27044             signal: "elm,state,units,hidden";
27045             source: "elm";
27046             action:  STATE_SET "hidden" 0.0;
27047             target: "text-bar";
27048             target: "elm.text.status";
27049          }
27050          program { name: "slide_to_end";
27051             action:  STATE_SET "state_end" 0.0;
27052             transition: LINEAR 0.5;
27053             target: "elm.progress.progressbar";
27054             after: "slide_to_begin";
27055          }
27056          program { name: "slide_to_begin";
27057             signal: "elm,state,slide,begin";
27058             action: STATE_SET "state_begin" 0.0;
27059             target: "elm.progress.progressbar";
27060             transition: LINEAR 0.5;
27061             after: "slide_to_end";
27062          }
27063          program { name: "start_pulse";
27064             signal: "elm,state,pulse,start";
27065             source: "elm";
27066             after: "slide_to_end";
27067          }
27068          program { name: "stop_pulse";
27069             signal: "elm,state,pulse,stop";
27070             source: "elm";
27071             action: ACTION_STOP;
27072             target: "slide_to_begin";
27073             target: "slide_to_end";
27074             target: "start_pulse";
27075             after: "state_pulse";
27076          }
27077          program { name: "state_pulse";
27078             signal: "elm,state,pulse";
27079             source: "elm";
27080             action: STATE_SET "state_begin" 0.0;
27081             target: "elm.progress.progressbar";
27082             after: "units_hide";
27083          }
27084          program { name: "state_fraction";
27085             signal: "elm,state,fraction";
27086             source: "elm";
27087             action: ACTION_STOP;
27088             target: "slide_to_begin";
27089             target: "slide_to_end";
27090             target: "start_pulse";
27091             action: STATE_SET "default" 0.0;
27092             target: "elm.progress.progressbar";
27093          }
27094          program { name: "set_invert_on";
27095             signal: "elm,state,inverted,on";
27096             source: "elm";
27097             action:  STATE_SET "invert" 0.0;
27098             target: "elm.progress.progressbar";
27099          }
27100          program { name: "set_invert_off";
27101             signal: "elm,state,inverted,off";
27102             source: "elm";
27103             action:  STATE_SET "default" 0.0;
27104             target: "elm.progress.progressbar";
27105          }
27106       }
27107    }
27108
27109 ///////////////////////////////////////////////////////////////////////////////
27110    group { name: "elm/progressbar/vertical/default";
27111       images {
27112          image: "shelf_inset.png" COMP;
27113          image: "bt_sm_base2.png" COMP;
27114          image: "bt_sm_hilight.png" COMP;
27115          image: "bt_sm_shine.png" COMP;
27116       }
27117       parts {
27118          part { name: "elm.background.progressbar";
27119             type: RECT;
27120             mouse_events: 0;
27121             description {
27122                state: "default" 0.0;
27123                rel1 {
27124                   relative: 0.0 0.0;
27125                   offset: 0 0;
27126                }
27127                rel2 {
27128                   relative: 1.0 1.0;
27129                   offset: -1 -1;
27130                }
27131             }
27132          }
27133          part { name: "elm.swallow.bar";
27134             type: SWALLOW;
27135             scale: 1;
27136             description { state: "default" 0.0;
27137                min: 28 48;
27138                max: 28 9999;
27139                align: 0.5 1.0;
27140                rel1 {
27141                   to_y: "elm.text";
27142                   relative: 0.0 1.0;
27143                   offset: 0 2;
27144                }
27145                rel2 {
27146                   to_y: "elm.text.box";
27147                   relative: 1.0 0.0;
27148                   offset: -1 -3;
27149                }
27150             }
27151          }
27152          part { name: "elm.swallow.content";
27153             type: SWALLOW;
27154             description { state: "default" 0.0;
27155                visible: 0;
27156                align: 0.5 0.0;
27157                rel1 {
27158                   offset: 0 4;
27159                   to_x: "elm.swallow.bar";
27160                }
27161                rel2 {
27162                   offset: -1 3;
27163                   relative: 1.0 0.0;
27164                   to_x: "elm.swallow.bar";
27165                }
27166             }
27167             description { state: "visible" 0.0;
27168                inherit: "default" 0.0;
27169                visible: 1;
27170                aspect: 1.0 1.0;
27171                aspect_preference: HORIZONTAL;
27172                rel2.offset: -1 4;
27173             }
27174          }
27175          part { name: "elm.text";
27176             type: TEXT;
27177             mouse_events: 0;
27178             scale: 1;
27179             description { state: "default" 0.0;
27180                visible: 0;
27181                fixed: 1 1;
27182                align: 0.5 0.0;
27183                rel1.to_y: "elm.swallow.content";
27184                rel1.relative: 0.5 1.0;
27185                rel1.offset: 0 -1;
27186                rel2.to_y: "elm.swallow.content";
27187                rel2.relative: 0.5 1.0;
27188                rel2.offset: -1 -1;
27189                color: 0 0 0 255;
27190                text {
27191                   font: "Sans,Edje-Vera";
27192                   size: 10;
27193                   min: 0 0;
27194                   align: 0.5 0.0;
27195                }
27196             }
27197             description { state: "visible" 0.0;
27198                inherit: "default" 0.0;
27199                visible: 1;
27200                text.min: 1 1;
27201                rel1.offset: 4 0;
27202                rel2.offset: -5 0;
27203             }
27204          }
27205
27206          part { name: "background";
27207             mouse_events: 0;
27208             clip_to: "elm.background.progressbar";
27209             description {
27210                state: "default" 0.0;
27211                rel1 {
27212                   to: "elm.swallow.bar";
27213                   relative: 0.0 0.0;
27214                }
27215                rel2 {
27216                   to: "elm.swallow.bar";
27217                   relative: 1.0 1.0;
27218                   offset: -1 -1;
27219                }
27220                image {
27221                   normal: "shelf_inset.png";
27222                   border: 7 7 7 7;
27223                }
27224             }
27225          }
27226
27227          part { name: "elm.progress.progressbar";
27228             mouse_events: 0;
27229             clip_to: "elm.background.progressbar";
27230             description {
27231                state: "default" 0.0;
27232                min: 28 14;
27233                fixed: 1 1;
27234                rel1 {
27235                   to: "elm.swallow.bar";
27236                   relative: 0.0 0.0;
27237                }
27238                rel2 {
27239                   to_x: "elm.swallow.bar";
27240                   to_y: "elm.cur.progressbar";
27241                   offset: -1 -1;
27242                }
27243                image {
27244                   normal: "bt_sm_base2.png";
27245                   border: 6 6 6 6;
27246                }
27247             }
27248             description {
27249                state: "invert" 0.0;
27250                inherit: "default" 0.0;
27251                rel1 {
27252                   to_x: "elm.swallow.bar";
27253                   to_y: "elm.cur.progressbar";
27254                }
27255                rel2 {
27256                   to: "elm.swallow.bar";
27257                   relative: 1.0 1.0;
27258                }
27259             }
27260             description {
27261                state: "state_begin" 0.0;
27262                inherit: "default" 0.0;
27263                rel1 {
27264                   to: "elm.swallow.bar";
27265                   relative: 0.0 0.0;
27266                }
27267                rel2 {
27268                   to: "elm.swallow.bar";
27269                   relative: 1.0 0.1;
27270                }
27271             }
27272             description {
27273                state: "state_end" 0.0;
27274                inherit: "default" 0.0;
27275                rel1 {
27276                   to: "elm.swallow.bar";
27277                   relative: 0.0 0.9;
27278                }
27279                rel2 {
27280                   to: "elm.swallow.bar";
27281                   relative: 1.0 1.0;
27282                }
27283             }
27284          }
27285
27286          part { name: "over1";
27287             mouse_events: 0;
27288             description { state: "default" 0.0;
27289                rel1.to: "elm.progress.progressbar";
27290                rel2.to: "elm.progress.progressbar";
27291                rel2.relative: 1.0 0.5;
27292                image {
27293                   normal: "bt_sm_hilight.png";
27294                   border: 6 6 6 0;
27295                }
27296             }
27297          }
27298
27299          part { name: "over2";
27300             mouse_events: 1;
27301             repeat_events: 1;
27302             description { state: "default" 0.0;
27303                rel1.to: "elm.progress.progressbar";
27304                rel2.to: "elm.progress.progressbar";
27305                image {
27306                   normal: "bt_sm_shine.png";
27307                   border: 6 6 6 0;
27308                }
27309             }
27310          }
27311
27312          part { name: "elm.cur.progressbar";
27313             mouse_events: 0;
27314             dragable {
27315                confine: "background";
27316                x: 0 0 0;
27317                y: 1 1 1;
27318             }
27319             description { state: "default" 0.0;
27320                min: 28 14;
27321                fixed: 1 1;
27322                visible: 0;
27323                rel1 {
27324                   to: "background";
27325                   relative: 0 0;
27326                }
27327                rel2.to: "background";
27328            }
27329          }
27330
27331          part { name: "elm.text.box";
27332             mouse_events: 0;
27333             type: RECT;
27334             description { state: "default" 0.0;
27335                visible: 0;
27336                rel1 {
27337                   to: "elm.text.status";
27338                   offset: -2 -2;
27339                }
27340                rel2 {
27341                   to: "elm.text.status";
27342                   offset: 2 2;
27343                }
27344                color: 255 255 255 0;
27345             }
27346             description { state: "visible" 0.0;
27347                inherit: "default" 0.0;
27348                visible: 1;
27349             }
27350          }
27351          part { name: "elm.text.status";
27352             type: TEXT;
27353             mouse_events: 0;
27354             scale: 1;
27355             description { state: "default" 0.0;
27356                visible: 0;
27357                fixed: 1 1;
27358                align: 0.5 1.0;
27359                rel1.relative: 0.0 1.0;
27360                rel1.offset: 2 0;
27361                rel2.relative: 1.0 1.0;
27362                rel2.offset: -2 0;
27363                color: 0 0 0 255;
27364                text {
27365                   font: "Sans:style=Bold,Edje-Vera-Bold";
27366                   size: 10;
27367                   min: 0 0;
27368                   align: 0.5 0.0;
27369                }
27370             }
27371             description { state: "visible" 0.0;
27372                inherit: "default" 0.0;
27373                fixed: 1 1;
27374                visible: 1;
27375                text.min: 1 1;
27376                rel1.offset: 8 -9;
27377                rel2.offset: -9 -9;
27378             }
27379          }
27380       }
27381       programs {
27382          program { name: "label_show";
27383             signal: "elm,state,text,visible";
27384             source: "elm";
27385             action:  STATE_SET "visible" 0.0;
27386             target: "elm.text";
27387          }
27388          program { name: "label_hide";
27389             signal: "elm,state,text,hidden";
27390             source: "elm";
27391             action:  STATE_SET "default" 0.0;
27392             target: "elm.text";
27393          }
27394          program { name: "icon_show";
27395             signal: "elm,state,icon,visible";
27396             source: "elm";
27397             action:  STATE_SET "visible" 0.0;
27398             target: "elm.swallow.content";
27399          }
27400          program { name: "icon_hide";
27401             signal: "elm,state,icon,hidden";
27402             source: "elm";
27403             action:  STATE_SET "default" 0.0;
27404             target: "elm.swallow.content";
27405          }
27406          program { name: "units_show";
27407             signal: "elm,state,units,visible";
27408             source: "elm";
27409             action:  STATE_SET "visible" 0.0;
27410             target: "elm.text.status";
27411             target: "elm.text.box";
27412          }
27413          program { name: "units_hide";
27414             signal: "elm,state,units,hidden";
27415             source: "elm";
27416             action:  STATE_SET "default" 0.0;
27417             target: "elm.text.status";
27418             target: "elm.text.box";
27419          }
27420          program { name: "slide_to_end";
27421             action:  STATE_SET "state_end" 0.0;
27422             transition: LINEAR 0.5;
27423             target: "elm.progress.progressbar";
27424             after: "slide_to_begin";
27425          }
27426          program { name: "slide_to_begin";
27427             action:  STATE_SET "state_begin" 0.0;
27428             target: "elm.progress.progressbar";
27429             transition: LINEAR 0.5;
27430             after: "slide_to_end";
27431          }
27432          program { name: "start_pulse";
27433             signal: "elm,state,pulse,start";
27434             source: "elm";
27435             action: STATE_SET "state_begin" 0.0;
27436             target: "elm.progress.progressbar";
27437             after: "slide_to_end";
27438          }
27439          program { name: "stop_pulse";
27440             signal: "elm,state,pulse,stop";
27441             source: "elm";
27442             action: ACTION_STOP;
27443             target: "slide_to_begin";
27444             target: "slide_to_end";
27445             target: "start_pulse";
27446             after: "state_pulse";
27447          }
27448          program { name: "state_pulse";
27449             signal: "elm,state,pulse";
27450             source: "elm";
27451             action: STATE_SET "state_begin" 0.0;
27452             target: "elm.progress.progressbar";
27453             after: "units_hide";
27454          }
27455          program { name: "state_fraction";
27456             signal: "elm,state,fraction";
27457             source: "elm";
27458             action: ACTION_STOP;
27459             target: "slide_to_begin";
27460             target: "slide_to_end";
27461             target: "start_pulse";
27462             action: STATE_SET "default" 0.0;
27463             target: "elm.progress.progressbar";
27464          }
27465          program { name: "set_invert_on";
27466             signal: "elm,state,inverted,on";
27467             source: "elm";
27468             action:  STATE_SET "invert" 0.0;
27469             target: "elm.progress.progressbar";
27470             target: "elm.cur.progressbar";
27471          }
27472          program { name: "set_invert_off";
27473             signal: "elm,state,inverted,off";
27474             source: "elm";
27475             action:  STATE_SET "default" 0.0;
27476             target: "elm.progress.progressbar";
27477             target: "elm.cur.progressbar";
27478          }
27479       }
27480    }
27481
27482 ///////////////////////////////////////////////////////////////////////////////
27483    group { name: "elm/separator/horizontal/default";
27484        images {
27485            image: "separator_h.png" COMP;
27486        }
27487        parts {
27488            part { name: "separator"; // separator group
27489                description { state: "default" 0.0;
27490                    min: 2 2;
27491                    rel1.offset: 4 4;
27492                    rel2.offset: -5 -5;
27493                    image {
27494                        normal: "separator_h.png";
27495                    }
27496                    fill {
27497                        smooth: 0;
27498                    }
27499                }
27500            }
27501        }
27502    }
27503
27504    ///////////////////////////////////////////////////////////////////////////////
27505    group { name: "elm/separator/vertical/default";
27506        images {
27507            image: "separator_v.png" COMP;
27508        }
27509        parts {
27510            part { name: "separator"; // separator group
27511                description { state: "default" 0.0;
27512                    min: 2 2;
27513                    rel1.offset: 4 4;
27514                    rel2.offset: -5 -5;
27515                    image {
27516                        normal: "separator_v.png";
27517                    }
27518                    fill {
27519                        smooth: 0;
27520                    }
27521                }
27522            }
27523        }
27524    }
27525
27526    group { name: "elm/progressbar/horizontal/wheel";
27527        images {
27528            image: "busy-1.png" COMP;
27529            image: "busy-2.png" COMP;
27530            image: "busy-3.png" COMP;
27531            image: "busy-4.png" COMP;
27532            image: "busy-5.png" COMP;
27533            image: "busy-6.png" COMP;
27534            image: "busy-7.png" COMP;
27535            image: "busy-8.png" COMP;
27536            image: "busy-9.png" COMP;
27537        }
27538        parts {
27539            part { name: "elm.background.progressbar";
27540                mouse_events: 0;
27541                type: RECT;
27542                description {
27543                    state: "default" 0.0;
27544                }
27545            }
27546            part { name: "elm.swallow.bar";
27547                mouse_events: 0;
27548                type: SWALLOW;
27549                description { state: "default" 0.0;
27550                    min: 0 0;
27551                    max: 0 0;
27552                    visible: 0;
27553                }
27554            }
27555            part { name: "elm.swallow.content";
27556                type: SWALLOW;
27557                description { state: "default" 0.0;
27558                    min: 0 0;
27559                    max: 0 0;
27560                    visible: 0;
27561                }
27562            }
27563            part { name: "background";
27564                mouse_events: 0;
27565                clip_to: "elm.background.progressbar";
27566                description {
27567                    state: "default" 0.0;
27568                    min: 32 32;
27569                    max: 32 32;
27570                    visible: 1;
27571                    aspect: 1.0 1.0;
27572                    aspect_preference: BOTH;
27573                    image {
27574                        normal: "busy-9.png";
27575                        border: 7 7 7 7;
27576                    }
27577                }
27578                description {
27579                    state: "pulse" 0.0;
27580                    inherit: "default" 0.0;
27581                    image {
27582                        normal: "busy-9.png";
27583                        tween:  "busy-1.png";
27584                        tween:  "busy-2.png";
27585                        tween:  "busy-3.png";
27586                        tween:  "busy-4.png";
27587                        tween:  "busy-5.png";
27588                        tween:  "busy-6.png";
27589                        tween:  "busy-7.png";
27590                        tween:  "busy-8.png";
27591                        border: 7 7 7 7;
27592                    }
27593                }
27594            }
27595        }
27596        programs {
27597            program { name: "start_pulse";
27598                signal: "elm,state,pulse,start";
27599                source: "elm";
27600                action: STATE_SET "pulse" 0.0;
27601                target: "background";
27602                transition: LINEAR 0.5;
27603                after: "start_pulse";
27604            }
27605            program { name: "stop_pulse";
27606                signal: "elm,state,pulse,stop";
27607                source: "elm";
27608                action: STATE_SET "default" 0.0;
27609                target: "background";
27610            }
27611        }
27612    }
27613
27614
27615 ///////////////////////////////////////////////////////////////////////////////
27616    group { name: "elm/spinner/base/default";
27617        images {
27618            image: "shelf_inset.png" COMP;
27619            image: "bt_base1.png" COMP;
27620            image: "bt_hilight.png" COMP;
27621            image: "bt_shine.png" COMP;
27622            image: "bt_glow.png" COMP;
27623            image: "bt_dis_base.png" COMP;
27624            image: "bt_dis_hilight.png" COMP;
27625            image: "sp_bt_l.png" COMP;
27626            image: "sp_bt_r.png" COMP;
27627        }
27628        parts {
27629            part { name: "bg";
27630                type: RECT;
27631                description { state: "default" 0.0;
27632                    min: 0 30;
27633                    rel1.offset: 1 1;
27634                    rel2.offset: -2 -2;
27635                    color: 255 255 255 0;
27636                }
27637            }
27638            part { name: "conf_over";
27639                mouse_events:  0;
27640                description { state: "default" 0.0;
27641                    rel1.to: "bg";
27642                    rel2.to: "bg";
27643                    image {
27644                        normal: "shelf_inset.png";
27645                        border: 7 7 7 7;
27646                        middle: 0;
27647                    }
27648                    fill.smooth : 0;
27649                }
27650            }
27651            part { name: "left_bt";
27652                mouse_events:  1;
27653                description { state: "default" 0.0;
27654                    rel1 { to: "bg";
27655                        offset: 3 3;
27656                    }
27657                    rel2 { to: "bg";
27658                        offset: -4 -4;
27659                    }
27660                    align: 0.0 0.5;
27661                    min: 24 24;
27662                    aspect: 1.0 1.0;
27663                    aspect_preference: VERTICAL;
27664                    image {
27665                        normal: "bt_base1.png";
27666                        border: 6 6 6 6;
27667                    }
27668                    fill.smooth : 0;
27669                }
27670                description { state: "clicked" 0.0;
27671                    inherit: "default" 0.0;
27672                    image.normal: "bt_base1.png";
27673                    image.middle: SOLID;
27674                }
27675                description { state: "disabled" 0.0;
27676                    inherit:  "default" 0.0;
27677                    image {
27678                        normal: "bt_dis_base.png";
27679                        border: 4 4 4 4;
27680                    }
27681                }
27682            }
27683            part {          name: "left_over1";
27684                mouse_events: 0;
27685                description { state: "default" 0.0;
27686                    rel1.to: "left_bt";
27687                    rel2 { to: "left_bt";
27688                        relative: 1.0 0.5;
27689                    }
27690                    image {
27691                        normal: "bt_hilight.png";
27692                        border: 7 7 7 0;
27693                    }
27694                }
27695                description { state: "disabled" 0.0;
27696                    inherit:  "default" 0.0;
27697                    image {
27698                        normal: "bt_dis_hilight.png";
27699                        border: 4 4 4 0;
27700                    }
27701                }
27702            }
27703            part { name: "left_over2";
27704                mouse_events: 1;
27705                repeat_events: 1;
27706                ignore_flags: ON_HOLD;
27707                description { state: "default" 0.0;
27708                    rel1.to: "left_bt";
27709                    rel2.to: "left_bt";
27710                    image {
27711                        normal: "bt_shine.png";
27712                        border: 7 7 7 7;
27713                    }
27714                }
27715                description { state: "disabled" 0.0;
27716                    inherit:  "default" 0.0;
27717                    visible: 0;
27718                }
27719            }
27720            part { name: "left_over3";
27721                mouse_events: 1;
27722                repeat_events: 1;
27723                description { state: "default" 0.0;
27724                    color: 255 255 255 0;
27725                    rel1.to: "left_bt";
27726                    rel2.to: "left_bt";
27727                    image {
27728                        normal: "bt_glow.png";
27729                        border: 12 12 12 12;
27730                    }
27731                    fill.smooth : 0;
27732                }
27733                description { state: "clicked" 0.0;
27734                    inherit:  "default" 0.0;
27735                    visible: 1;
27736                    color: 255 255 255 255;
27737                }
27738            }
27739            part { name: "right_bt";
27740                mouse_events:  1;
27741                description { state: "default" 0.0;
27742                    rel1 { to: "bg";
27743                        offset: -26 3;
27744                    }
27745                    rel2 { to: "bg";
27746                        offset: -4 -4;
27747                    }
27748                    align: 1.0 0.5;
27749                    min: 24 24;
27750                    aspect: 1.0 1.0;
27751                    aspect_preference: VERTICAL;
27752                    image {
27753                        normal: "bt_base1.png";
27754                        border: 5 5 4 12;
27755                    }
27756                    fill.smooth : 0;
27757                }
27758                description { state: "clicked" 0.0;
27759                    inherit: "default" 0.0;
27760                    image.normal: "bt_base1.png";
27761                    image.middle: SOLID;
27762                }
27763                description { state: "disabled" 0.0;
27764                    inherit:  "default" 0.0;
27765                    image {
27766                        normal: "bt_dis_base.png";
27767                        border: 4 4 4 4;
27768                    }
27769                }
27770            }
27771            part { name: "right_over1";
27772                mouse_events: 0;
27773                description { state: "default" 0.0;
27774                    rel1.to: "right_bt";
27775                    rel2 { to: "right_bt";
27776                        relative: 1.0 0.5;
27777                    }
27778                    image {
27779                        normal: "bt_hilight.png";
27780                        border: 7 7 7 0;
27781                    }
27782                }
27783                description { state: "disabled" 0.0;
27784                    inherit:  "default" 0.0;
27785                    image {
27786                        normal: "bt_dis_hilight.png";
27787                        border: 4 4 4 0;
27788                    }
27789                }
27790            }
27791            part { name: "right_over2";
27792                mouse_events: 1;
27793                repeat_events: 1;
27794                ignore_flags: ON_HOLD;
27795                description { state: "default" 0.0;
27796                    rel1.to: "right_bt";
27797                    rel2.to: "right_bt";
27798                    image {
27799                        normal: "bt_shine.png";
27800                        border: 7 7 7 7;
27801                    }
27802                }
27803                description { state: "disabled" 0.0;
27804                    inherit:  "default" 0.0;
27805                    visible: 0;
27806                }
27807            }
27808            part { name: "right_over3";
27809                mouse_events: 1;
27810                repeat_events: 1;
27811                description { state: "default" 0.0;
27812                    color: 255 255 255 0;
27813                    rel1.to: "right_bt";
27814                    rel2.to: "right_bt";
27815                    image {
27816                        normal: "bt_glow.png";
27817                        border: 12 12 12 12;
27818                    }
27819                    fill.smooth : 0;
27820                }
27821                description { state: "clicked" 0.0;
27822                    inherit:  "default" 0.0;
27823                    visible: 1;
27824                    color: 255 255 255 255;
27825                }
27826            }
27827            part { name: "left_bt_icon";
27828                repeat_events: 1;
27829                description { state: "default" 0.0;
27830                    rel1.to: "left_bt";
27831                    rel1.offset: 4 4;
27832                    rel2.to: "left_bt";
27833                    rel2.offset: -5 -5;
27834                    align: 0.5 0.5;
27835                    min: 16 16;
27836                    aspect: 1.0 1.0;
27837                    aspect_preference: BOTH;
27838                    image.normal: "sp_bt_l.png";
27839                }
27840                description { state: "rtl" 0.0;
27841                    inherit: "default" 0.0;
27842                    image.normal: "sp_bt_r.png";
27843                }
27844            }
27845            part { name: "right_bt_icon";
27846                repeat_events: 1;
27847                description { state: "default" 0.0;
27848                    rel1.to: "right_bt";
27849                    rel1.offset: 4 4;
27850                    rel2.to: "right_bt";
27851                    rel2.offset: -5 -5;
27852                    align: 0.5 0.5;
27853                    min: 16 16;
27854                    aspect: 1.0 1.0;
27855                    aspect_preference: BOTH;
27856                    image.normal: "sp_bt_r.png";
27857                }
27858                description { state: "rtl" 0.0;
27859                    inherit: "default" 0.0;
27860                    image.normal: "sp_bt_l.png";
27861                }
27862            }
27863            part { name: "elm.text";
27864                type: TEXT;
27865                mouse_events: 0;
27866                scale: 1;
27867                description { state: "default" 0.0;
27868                    visible: 1;
27869                    align: 0.0 0.5;
27870                    rel1 { relative: 1.0 0.0;
27871                        offset: 3 2;
27872                        to_x: "left_bt";
27873                        to_y: "bg";
27874                    }
27875                    rel2 { relative: 0.0 1.0;
27876                        offset: -3 -2;
27877                        to_x: "right_bt";
27878                        to_y: "bg";
27879                    }
27880                    color: 0 0 0 255;
27881                    text {
27882                        font: "Sans,Edje-Vera";
27883                        size: 10;
27884                        min: 1 1;
27885                        align: 0.5 0.5;
27886                    }
27887                }
27888                description { state: "active" 0.0;
27889                    inherit: "default" 0.0;
27890                    visible: 0;
27891                }
27892                description { state: "disabled_active" 0.0;
27893                    inherit: "default" 0.0;
27894                    color: 0 0 0 128;
27895                    color3: 0 0 0 0;
27896                }
27897                description { state: "disabled" 0.0;
27898                    inherit: "default" 0.0;
27899                    color: 0 0 0 128;
27900                    color3: 0 0 0 0;
27901                }
27902            }
27903            part { name: "elm.dragable.slider";
27904                type: RECT;
27905                mouse_events: 0;
27906                scale: 1;
27907                dragable {
27908                    x: 1 1 0;
27909                    y: 0 0 0;
27910                }
27911                description { state: "default" 0.0;
27912                    rel1.to: "bg";
27913                    rel2.to: "bg";
27914                    fixed: 1 1;
27915                    color: 0 0 0 0;
27916                }
27917            }
27918            part { name: "button_events";
27919                type: RECT;
27920                dragable {
27921                    events: "elm.dragable.slider";
27922                }
27923                mouse_events: 1;
27924                description { state: "default" 0.0;
27925                    rel1.to: "elm.text";
27926                    rel2.to: "elm.text";
27927                    color: 0 0 0 0;
27928                }
27929            }
27930            part { name: "elm.swallow.entry";
27931                type: SWALLOW;
27932                description { state: "default" 0.0;
27933                    visible: 0;
27934                    align: 0.5 0.5;
27935                    rel1 { relative: 1.0 0.5;
27936                        offset: 3 2;
27937                        to_x: "left_bt";
27938                        to_y: "bg";
27939                    }
27940                    rel2 { relative: 0.0 0.5;
27941                        offset: -3 -2;
27942                        to_x: "right_bt";
27943                        to_y: "bg";
27944                    }
27945                    fixed: 1 1;
27946                    color: 0 0 0 0;
27947                }
27948                description { state: "active" 0.0;
27949                    inherit: "default" 0.0;
27950                    visible: 1;
27951                    color: 255 255 255 255;
27952                }
27953                description { state: "disabled_active" 0.0;
27954                    inherit: "default" 0.0;
27955                    visible: 0;
27956                }
27957                description { state: "disabled" 0.0;
27958                    inherit: "default" 0.0;
27959                    visible: 0;
27960                }
27961            }
27962            part { name: "disabler";
27963                type: RECT;
27964                description { state: "default" 0.0;
27965                    color: 0 0 0 0;
27966                    visible: 0;
27967                }
27968                description { state: "disabled" 0.0;
27969                    inherit: "default" 0.0;
27970                    visible: 1;
27971                }
27972            }
27973        }
27974        programs {
27975            program { name: "text_show";
27976                signal: "elm,state,text,visible";
27977                source: "elm";
27978                action:  STATE_SET "visible" 0.0;
27979                target: "elm.text";
27980            }
27981            program { name: "text_hide";
27982                signal: "elm,state,text,hidden";
27983                source: "elm";
27984                action:  STATE_SET "default" 0.0;
27985                target: "elm.text";
27986            }
27987            program { name: "dec";
27988                signal: "mouse,down,1";
27989                source: "left_bt";
27990                action: SIGNAL_EMIT "elm,action,decrement,start" "";
27991            }
27992            program { name: "dec2";
27993                signal: "mouse,up,1";
27994                source: "left_bt";
27995                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
27996            }
27997            program { name: "inc";
27998                signal: "mouse,down,1";
27999                source: "right_bt";
28000                action: SIGNAL_EMIT "elm,action,increment,start" "";
28001            }
28002            program { name: "inc2";
28003                signal: "mouse,up,1";
28004                source: "right_bt";
28005                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28006            }
28007            program {
28008                name:   "left_bt_click";
28009                signal: "mouse,down,1";
28010                source: "left_over2";
28011                action: STATE_SET "clicked" 0.0;
28012                target: "left_bt";
28013            }
28014            program {
28015                name:   "left_bt_unclick";
28016                signal: "mouse,up,1";
28017                source: "left_over2";
28018                action: STATE_SET "default" 0.0;
28019                target: "left_bt";
28020            }
28021            program {
28022                name:   "left_bt_click2";
28023                signal: "mouse,down,1";
28024                source: "left_over3";
28025                action: STATE_SET "clicked" 0.0;
28026                target: "left_over3";
28027            }
28028            program {
28029                name:   "left_bt_unclick2";
28030                signal: "mouse,up,1";
28031                source: "left_over3";
28032                action: STATE_SET "default" 0.0;
28033                transition: DECELERATE 0.5;
28034                target: "left_over3";
28035            }
28036            program {
28037                name:   "left_bt_unclick3";
28038                signal: "mouse,up,1";
28039                source: "left_over2";
28040                action: SIGNAL_EMIT "elm,action,click" "";
28041            }
28042            program {
28043                name:   "left_bt_pressed_anim";
28044                signal: "elm,left,anim,activate";
28045                source: "elm";
28046                action: STATE_SET "clicked" 0.0;
28047                target: "left_bt";
28048                target: "left_over3";
28049                after: "left_bt_unpressed_anim";
28050            }
28051            program {
28052                name:   "left_bt_unpressed_anim";
28053                action: STATE_SET "default" 0.0;
28054                transition: DECELERATE 0.5;
28055                target: "left_bt";
28056                target: "left_over3";
28057            }
28058
28059            program {
28060                name:   "right_bt_click";
28061                signal: "mouse,down,1";
28062                source: "right_over2";
28063                action: STATE_SET "clicked" 0.0;
28064                target: "right_bt";
28065            }
28066            program {
28067                name:   "right_bt_unclick";
28068                signal: "mouse,up,1";
28069                source: "right_over2";
28070                action: STATE_SET "default" 0.0;
28071                target: "right_bt";
28072            }
28073            program {
28074                name:   "right_bt_click2";
28075                signal: "mouse,down,1";
28076                source: "right_over3";
28077                action: STATE_SET "clicked" 0.0;
28078                target: "right_over3";
28079            }
28080            program {
28081                name:   "right_bt_unclick2";
28082                signal: "mouse,up,1";
28083                source: "right_over3";
28084                action: STATE_SET "default" 0.0;
28085                transition: DECELERATE 0.5;
28086                target: "right_over3";
28087            }
28088            program {
28089                name:   "right_bt_unclick3";
28090                signal: "mouse,up,1";
28091                source: "right_over2";
28092                action: SIGNAL_EMIT "elm,action,click" "";
28093            }
28094            program {
28095                name:   "right_bt_pressed_anim";
28096                signal: "elm,right,anim,activate";
28097                source: "elm";
28098                action: STATE_SET "clicked" 0.0;
28099                target: "right_bt";
28100                target: "right_over3";
28101                after: "right_bt_unpressed_anim";
28102            }
28103            program {
28104                name:   "right_bt_unpressed_anim";
28105                action: STATE_SET "default" 0.0;
28106                transition: DECELERATE 0.5;
28107                target: "right_bt";
28108                target: "right_over3";
28109            }
28110
28111            program { name: "disable";
28112                signal: "elm,state,disabled";
28113                source: "elm";
28114                action: STATE_SET "disabled" 0.0;
28115                target: "left_bt";
28116                target: "left_over1";
28117                target: "left_over2";
28118                target: "right_bt";
28119                target: "right_over1";
28120                target: "right_over2";
28121                target: "disabler";
28122                after: "disable_text";
28123            }
28124            program { name: "disable_text";
28125                script {
28126                    new st[31];
28127                    new Float:vl;
28128                    get_state(PART:"elm.text", st, 30, vl);
28129                    if (!strcmp(st, "active"))
28130                    set_state(PART:"elm.text", "disabled_active", 0.0);
28131                    else
28132                    set_state(PART:"elm.text", "disabled", 0.0);
28133
28134                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28135                    if (!strcmp(st, "active"))
28136                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28137                    else
28138                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28139                }
28140            }
28141            program { name: "enable";
28142                signal: "elm,state,enabled";
28143                source: "elm";
28144                action: STATE_SET "default" 0.0;
28145                target: "left_bt";
28146                target: "left_over1";
28147                target: "left_over2";
28148                target: "right_bt";
28149                target: "right_over1";
28150                target: "right_over2";
28151                target: "disabler";
28152                after: "enable_text";
28153            }
28154            program { name: "enable_text";
28155                script {
28156                    new st[31];
28157                    new Float:vl;
28158                    get_state(PART:"elm.text", st, 30, vl);
28159                    if (!strcmp(st, "disabled_active"))
28160                    set_state(PART:"elm.text", "active", 0.0);
28161                    else
28162                    set_state(PART:"elm.text", "default", 0.0);
28163
28164                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28165                    if (!strcmp(st, "disabled_active"))
28166                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28167                    else
28168                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28169                }
28170            }
28171            program { name: "active";
28172                signal: "elm,state,active";
28173                source: "elm";
28174                action: STATE_SET "active" 0.0;
28175                target: "elm.text";
28176                target: "elm.swallow.entry";
28177            }
28178            program { name: "inactive";
28179                signal: "elm,state,inactive";
28180                source: "elm";
28181                action: STATE_SET "default" 0.0;
28182                target: "elm.text";
28183                target: "elm.swallow.entry";
28184            }
28185            program { name: "toggle_text";
28186                signal: "mouse,up,1";
28187                source: "button_events";
28188                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28189            }
28190            program { name: "to_rtl";
28191                signal: "edje,state,rtl";
28192                source: "edje";
28193                action: STATE_SET "rtl" 0.0;
28194                target: "right_bt_icon";
28195                target: "left_bt_icon";
28196            }
28197            program { name: "to_ltr";
28198                signal: "edje,state,ltr";
28199                source: "edje";
28200                action: STATE_SET "default" 0.0;
28201                target: "right_bt_icon";
28202                target: "left_bt_icon";
28203            }
28204        }
28205    }
28206
28207 ///////////////////////////////////////////////////////////////////////////////
28208    group { name: "elm/spinner/base/vertical";
28209        images {
28210            image: "shelf_inset.png" COMP;
28211            image: "bt_hilight.png" COMP;
28212            image: "bt_shine.png" COMP;
28213            image: "bt_glow.png" COMP;
28214            image: "bt_dis_base.png" COMP;
28215            image: "bt_dis_hilight.png" COMP;
28216            image: "up.png" COMP;
28217            image: "down.png" COMP;
28218            image: "bt_spinner_up.png" COMP;
28219            image: "bt_spinner_down.png" COMP;
28220            image: "bt_spinner_hilight.png" COMP;
28221        }
28222        parts {
28223            part { name: "bg";
28224                type: RECT;
28225                description { state: "default" 0.0;
28226                    min: 0 30;
28227                    rel1.offset: 1 1;
28228                    rel2.offset: -2 -2;
28229                    color: 255 255 255 0;
28230                }
28231            }
28232            part { name: "conf_over";
28233                mouse_events:  0;
28234                description { state: "default" 0.0;
28235                    rel1 {
28236                      to: "bg";
28237                      relative: 0.0 0.0;
28238                    }
28239                    rel2 {
28240                       to: "bg";
28241                    }
28242                    image {
28243                        normal: "shelf_inset.png";
28244                        border: 7 7 7 7;
28245                        middle: 0;
28246                    }
28247                    fill.smooth : 0;
28248                }
28249            }
28250            part { name: "down_bt";
28251                mouse_events:  1;
28252                description { state: "default" 0.0;
28253                    fixed: 1 1;
28254                    rel1 {
28255                        to: "up_bt";
28256                        relative: 0 1;
28257                        offset: 0 1;
28258                    }
28259                    rel2 {
28260                        to_y: "bg";
28261                        to_x: "up_bt";
28262                        relative: 1 1;
28263                        offset: -1 -4;
28264                    }
28265                    align: 1.0 0.5;
28266                    min: 24 16;
28267                    image {
28268                        normal: "bt_spinner_down.png";
28269                        border: 6 6 6 6;
28270                    }
28271                    fill.smooth : 0;
28272                }
28273                description { state: "clicked" 0.0;
28274                    inherit: "default" 0.0;
28275                    image.normal: "bt_spinner_down.png";
28276                    image.middle: SOLID;
28277                }
28278                description { state: "disabled" 0.0;
28279                    inherit:  "default" 0.0;
28280                    image {
28281                        normal: "bt_dis_base.png";
28282                        border: 4 4 4 4;
28283                    }
28284                }
28285            }
28286            part { name: "down_over3";
28287                mouse_events: 1;
28288                repeat_events: 1;
28289                description { state: "default" 0.0;
28290                    color: 255 255 255 0;
28291                    rel1.to: "down_bt";
28292                    rel2.to: "down_bt";
28293                    image {
28294                        normal: "bt_glow.png";
28295                        border: 12 12 12 12;
28296                    }
28297                    fill.smooth : 0;
28298                }
28299                description { state: "clicked" 0.0;
28300                    inherit:  "default" 0.0;
28301                    visible: 1;
28302                    color: 255 255 255 255;
28303                }
28304            }
28305            part { name: "up_bt";
28306                mouse_events:  1;
28307                description { state: "default" 0.0;
28308                    fixed: 1 0;
28309                    rel1 { to: "bg";
28310                        relative: 0 0;
28311                        offset: 0 2;
28312                    }
28313                    rel2 { to: "bg";
28314                        relative: 1 0.5;
28315                        offset: -3 0;
28316                    }
28317                    align: 1.0 0.5;
28318                    min: 24 16;
28319                    aspect: 1.5 1.0;
28320                    aspect_preference: BOTH;
28321                    image {
28322                        normal: "bt_spinner_up.png";
28323                        border: 6 6 6 6;
28324                    }
28325                    fill.smooth : 0;
28326                }
28327                description { state: "clicked" 0.0;
28328                    inherit: "default" 0.0;
28329                    image.normal: "bt_spinner_up.png";
28330                    image.middle: SOLID;
28331                }
28332                description { state: "disabled" 0.0;
28333                    inherit:  "default" 0.0;
28334                    image {
28335                        normal: "bt_dis_base.png";
28336                        border: 4 4 4 4;
28337                    }
28338                }
28339            }
28340            part { name: "up_over1";
28341                mouse_events: 0;
28342                description { state: "default" 0.0;
28343                    rel1.to: "up_bt";
28344                    rel2 { to: "up_bt";
28345                        relative: 1.0 0.5;
28346                    }
28347                    image {
28348                        normal: "bt_spinner_hilight.png";
28349                        border: 7 7 7 0;
28350                    }
28351                }
28352                description { state: "disabled" 0.0;
28353                    inherit:  "default" 0.0;
28354                    image {
28355                        normal: "bt_dis_hilight.png";
28356                        border: 4 4 4 0;
28357                    }
28358                }
28359            }
28360            part { name: "up_over3";
28361                mouse_events: 1;
28362                repeat_events: 1;
28363                description { state: "default" 0.0;
28364                    color: 255 255 255 0;
28365                    rel1.to: "up_bt";
28366                    rel2.to: "up_bt";
28367                    image {
28368                        normal: "bt_glow.png";
28369                        border: 12 12 12 12;
28370                    }
28371                    fill.smooth : 0;
28372                }
28373                description { state: "clicked" 0.0;
28374                    inherit:  "default" 0.0;
28375                    visible: 1;
28376                    color: 255 255 255 255;
28377                }
28378            }
28379            part { name: "down_bt_icon";
28380                repeat_events: 1;
28381                description { state: "default" 0.0;
28382                    rel1.to: "down_bt";
28383                    rel1.offset: 5 3;
28384                    rel2.to: "down_bt";
28385                    rel2.offset: -6 -3;
28386                    align: 0.5 0.5;
28387                    image.normal: "down.png";
28388                }
28389            }
28390            part { name: "up_bt_icon";
28391                repeat_events: 1;
28392                description { state: "default" 0.0;
28393                    rel1.to: "up_bt";
28394                    rel1.offset: 5 3;
28395                    rel2.to: "up_bt";
28396                    rel2.offset: -6 -3;
28397                    align: 0.5 0.5;
28398                    image.normal: "up.png";
28399                }
28400            }
28401            part { name: "elm.text";
28402                type: TEXT;
28403                mouse_events: 0;
28404                scale: 1;
28405                description { state: "default" 0.0;
28406                    visible: 1;
28407                    align: 0.0 0.5;
28408                    rel1 { relative: 0.0 0.0;
28409                        offset: 3 2;
28410                        to_x: "bg";
28411                        to_y: "bg";
28412                    }
28413                    rel2 { relative: 0.0 1.0;
28414                        offset: -3 -2;
28415                        to_x: "down_bt";
28416                        to_y: "bg";
28417                    }
28418                    color: 0 0 0 255;
28419                    text {
28420                        font: "Sans,Edje-Vera";
28421                        size: 10;
28422                        min: 1 1;
28423                        align: 0.5 0.5;
28424                    }
28425                }
28426                description { state: "active" 0.0;
28427                    inherit: "default" 0.0;
28428                    visible: 0;
28429                }
28430                description { state: "disabled_active" 0.0;
28431                    inherit: "default" 0.0;
28432                    color: 0 0 0 128;
28433                    color3: 0 0 0 0;
28434                }
28435                description { state: "disabled" 0.0;
28436                    inherit: "default" 0.0;
28437                    color: 0 0 0 128;
28438                    color3: 0 0 0 0;
28439                }
28440            }
28441            part { name: "elm.dragable.slider";
28442                type: RECT;
28443                mouse_events: 0;
28444                scale: 1;
28445                dragable {
28446                    x: 1 1 0;
28447                    y: 0 0 0;
28448                }
28449                description { state: "default" 0.0;
28450                    rel1.to: "bg";
28451                    rel2.to: "bg";
28452                    fixed: 1 1;
28453                    color: 0 0 0 0;
28454                }
28455            }
28456            part { name: "button_events";
28457                type: RECT;
28458                dragable {
28459                    events: "elm.dragable.slider";
28460                }
28461                mouse_events: 1;
28462                description { state: "default" 0.0;
28463                    rel1.to: "elm.text";
28464                    rel2.to: "elm.text";
28465                    color: 0 0 0 0;
28466                }
28467            }
28468            part { name: "elm.swallow.entry";
28469                type: SWALLOW;
28470                description { state: "default" 0.0;
28471                    visible: 0;
28472                    align: 0.5 0.5;
28473                    rel1 { relative: 0.0 0.5;
28474                        offset: 3 2;
28475                        to: "bg";
28476                    }
28477                    rel2 { relative: 1.0 0.5;
28478                        offset: -3 -2;
28479                        to: "bg";
28480                    }
28481                    fixed: 1 1;
28482                    color: 0 0 0 0;
28483                }
28484                description { state: "active" 0.0;
28485                    inherit: "default" 0.0;
28486                    visible: 1;
28487                    color: 255 255 255 255;
28488                }
28489                description { state: "disabled_active" 0.0;
28490                    inherit: "default" 0.0;
28491                    visible: 0;
28492                }
28493                description { state: "disabled" 0.0;
28494                    inherit: "default" 0.0;
28495                    visible: 0;
28496                }
28497            }
28498            part { name: "disabler";
28499                type: RECT;
28500                description { state: "default" 0.0;
28501                    color: 0 0 0 0;
28502                    visible: 0;
28503                }
28504                description { state: "disabled" 0.0;
28505                    inherit: "default" 0.0;
28506                    visible: 1;
28507                }
28508            }
28509        }
28510        programs {
28511            program { name: "text_show";
28512                signal: "elm,state,text,visible";
28513                source: "elm";
28514                action:  STATE_SET "visible" 0.0;
28515                target: "elm.text";
28516            }
28517            program { name: "text_hide";
28518                signal: "elm,state,text,hidden";
28519                source: "elm";
28520                action:  STATE_SET "default" 0.0;
28521                target: "elm.text";
28522            }
28523            program { name: "dec";
28524                signal: "mouse,down,1";
28525                source: "down_bt";
28526                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28527            }
28528            program { name: "dec2";
28529                signal: "mouse,up,1";
28530                source: "down_bt";
28531                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28532            }
28533            program { name: "inc";
28534                signal: "mouse,down,1";
28535                source: "up_bt";
28536                action: SIGNAL_EMIT "elm,action,increment,start" "";
28537            }
28538            program { name: "inc2";
28539                signal: "mouse,up,1";
28540                source: "up_bt";
28541                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28542            }
28543            program {
28544                name:   "down_bt_click2";
28545                signal: "mouse,down,1";
28546                source: "down_over3";
28547                action: STATE_SET "clicked" 0.0;
28548                target: "down_over3";
28549            }
28550            program {
28551                name:   "down_bt_unclick2";
28552                signal: "mouse,up,1";
28553                source: "down_over3";
28554                action: STATE_SET "default" 0.0;
28555                transition: DECELERATE 0.5;
28556                target: "down_over3";
28557            }
28558            program {
28559                name:   "up_bt_click2";
28560                signal: "mouse,down,1";
28561                source: "up_over3";
28562                action: STATE_SET "clicked" 0.0;
28563                target: "up_over3";
28564            }
28565            program {
28566                name:   "up_bt_unclick2";
28567                signal: "mouse,up,1";
28568                source: "up_over3";
28569                action: STATE_SET "default" 0.0;
28570                transition: DECELERATE 0.5;
28571                target: "up_over3";
28572            }
28573            program { name: "disable";
28574                signal: "elm,state,disabled";
28575                source: "elm";
28576                action: STATE_SET "disabled" 0.0;
28577                target: "down_bt";
28578                target: "up_bt";
28579                target: "disabler";
28580                after: "disable_text";
28581            }
28582            program { name: "disable_text";
28583                script {
28584                    new st[31];
28585                    new Float:vl;
28586                    get_state(PART:"elm.text", st, 30, vl);
28587                    if (!strcmp(st, "active"))
28588                    set_state(PART:"elm.text", "disabled_active", 0.0);
28589                    else
28590                    set_state(PART:"elm.text", "disabled", 0.0);
28591
28592                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28593                    if (!strcmp(st, "active"))
28594                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28595                    else
28596                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28597                }
28598            }
28599            program { name: "enable";
28600                signal: "elm,state,enabled";
28601                source: "elm";
28602                action: STATE_SET "default" 0.0;
28603                target: "down_bt";
28604                target: "up_bt";
28605                target: "disabler";
28606                after: "enable_text";
28607            }
28608            program { name: "enable_text";
28609                script {
28610                    new st[31];
28611                    new Float:vl;
28612                    get_state(PART:"elm.text", st, 30, vl);
28613                    if (!strcmp(st, "disabled_active"))
28614                    set_state(PART:"elm.text", "active", 0.0);
28615                    else
28616                    set_state(PART:"elm.text", "default", 0.0);
28617
28618                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28619                    if (!strcmp(st, "disabled_active"))
28620                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28621                    else
28622                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28623                }
28624            }
28625            program { name: "active";
28626                signal: "elm,state,active";
28627                source: "elm";
28628                action: STATE_SET "active" 0.0;
28629                target: "elm.text";
28630                target: "elm.swallow.entry";
28631            }
28632            program { name: "inactive";
28633                signal: "elm,state,inactive";
28634                source: "elm";
28635                action: STATE_SET "default" 0.0;
28636                target: "elm.text";
28637                target: "elm.swallow.entry";
28638            }
28639            program { name: "toggle_text";
28640                signal: "mouse,up,1";
28641                source: "button_events";
28642                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28643            }
28644        }
28645    }
28646
28647
28648    ///////////////////////////////////////////////////////////////////////////////
28649    group { name: "elm/index/base/vertical/default";
28650        images {
28651            image: "bt_base1.png" COMP;
28652            image: "bt_base2.png" COMP;
28653            image: "bt_hilight.png" COMP;
28654            image: "bt_shine.png" COMP;
28655        }
28656        parts {
28657            part { name: "clip";
28658                type: RECT;
28659                mouse_events:  0;
28660                description { state: "default" 0.0;
28661                    visible:  0;
28662                    color: 255 255 255 0;
28663                }
28664                description { state: "active" 0.0;
28665                    visible:  1;
28666                    color: 255 255 255 255;
28667                }
28668            }
28669            part { name: "clip2";
28670                type: RECT;
28671                mouse_events:  0;
28672                clip_to: "clip";
28673                description { state: "default" 0.0;
28674                    visible: 0;
28675                    color: 255 255 255 0;
28676                }
28677                description { state: "active" 0.0;
28678                    visible:  1;
28679                    color: 255 255 255 255;
28680                }
28681            }
28682            part { name: "elm.swallow.index.0";
28683                type: SWALLOW;
28684                clip_to: "clip";
28685                description { state: "default" 0.0;
28686                    align: 1.0 0.5;
28687                    fixed: 1 1;
28688                    rel1 {
28689                        relative: 1.0 0.5;
28690                        offset: -1 5;
28691                    }
28692                    rel2 {
28693                        relative: 1.0 0.5;
28694                        offset: -1 -6;
28695                    }
28696                }
28697            }
28698            part { name: "button_image";
28699                mouse_events: 1;
28700                clip_to: "clip";
28701                description { state: "default" 0.0;
28702                    rel1 {
28703                        to: "elm.text.body";
28704                        offset: -5 -5;
28705                    }
28706                    rel2 {
28707                        to: "elm.text";
28708                        offset: 4 4;
28709                    }
28710                    image {
28711                        normal: "bt_base2.png";
28712                        border: 7 7 7 7;
28713                    }
28714                    image.middle: SOLID;
28715                }
28716            }
28717            part { name: "elm.text.body";
28718                type: TEXT;
28719                effect: SOFT_SHADOW;
28720                mouse_events: 0;
28721                scale: 1;
28722                clip_to: "clip";
28723                description { state: "default" 0.0;
28724                    align: 1.0 0.5;
28725                    fixed: 1 1;
28726                    rel1 {
28727                        to: "elm.text";
28728                        relative: 0.0 0.0;
28729                        offset: 5 0;
28730                    }
28731                    rel2 {
28732                        to: "elm.text";
28733                        relative: 0.0 1.0;
28734                        offset: 5 -1;
28735                    }
28736                    color: 224 224 224 255;
28737                    color3: 0 0 0 64;
28738                    text {
28739                        font:     "Sans,Edje-Vera";
28740                        size:     20;
28741                        min:      1 1;
28742                        align:    1.0 0.5;
28743                    }
28744                }
28745            }
28746            part { name: "elm.text";
28747                type: TEXT;
28748                effect: SOFT_SHADOW;
28749                mouse_events: 0;
28750                scale: 1;
28751                clip_to: "clip";
28752                description { state: "default" 0.0;
28753                    align: 1.0 0.5;
28754                    fixed: 1 1;
28755                    rel1 {
28756                        to_x: "elm.swallow.event.0";
28757                        to_y: "elm.dragable.pointer";
28758                        relative: 0.0 0.5;
28759                        offset: -16 0;
28760                    }
28761                    rel2 {
28762                        to_x: "elm.swallow.event.0";
28763                        to_y: "elm.dragable.pointer";
28764                        relative: 0.0 0.5;
28765                        offset: -16 -1;
28766                    }
28767                    color: 255 0 0 255;
28768                    color3: 0 0 0 64;
28769                    text {
28770                        font:     "Sans,Edje-Vera";
28771                        size:     20;
28772                        min:      1 1;
28773                        align:    1.0 0.5;
28774                    }
28775                }
28776            }
28777            part {        name: "over1";
28778                mouse_events: 0;
28779                clip_to: "clip";
28780                description { state: "default" 0.0;
28781                    rel1 {
28782                        to: "button_image";
28783                    }
28784                    rel2 {
28785                        to: "button_image";
28786                        relative: 1.0 0.5;
28787                    }
28788                    image {
28789                        normal: "bt_hilight.png";
28790                        border: 7 7 7 0;
28791                    }
28792                }
28793            }
28794            part { name: "over2";
28795                mouse_events: 1;
28796                repeat_events: 1;
28797                ignore_flags: ON_HOLD;
28798                clip_to: "clip";
28799                description { state: "default" 0.0;
28800                    rel1 {
28801                        to: "button_image";
28802                    }
28803                    rel2 {
28804                        to: "button_image";
28805                    }
28806                    image {
28807                        normal: "bt_shine.png";
28808                        border: 7 7 7 7;
28809                    }
28810                }
28811            }
28812            part { name: "elm.dragable.pointer";
28813                type: RECT;
28814                mouse_events: 0;
28815                dragable {
28816                    x: 1 1 0;
28817                    y: 1 1 0;
28818                }
28819                clip_to: "clip";
28820                description { state: "default" 0.0;
28821                    fixed: 1 1;
28822                    min: 8 8;
28823                    max: 8 8;
28824                    visible: 0;
28825                    rel1 {
28826                        relative: 0.0 0.0;
28827                        offset:   0 0;
28828                    }
28829                    rel2 {
28830                        relative: 0.0 0.0;
28831                        offset:   0 0;
28832                    }
28833                }
28834            }
28835            part { name: "elm.swallow.event.0";
28836                type: SWALLOW;
28837                description { state: "default" 0.0;
28838                    align: 1.0 0.5;
28839                    fixed: 1 1;
28840                    rel1 {
28841                        relative: 1.0 0.0;
28842                        offset: -1 0;
28843                    }
28844                    rel2 {
28845                        relative: 1.0 1.0;
28846                        offset: -1 -1;
28847                    }
28848                }
28849            }
28850        }
28851        programs {
28852            program { name: "active";
28853                signal: "elm,state,active";
28854                source: "elm";
28855                action: STATE_SET "active" 0.0;
28856                transition: DECELERATE 0.5;
28857                target: "clip";
28858            }
28859            program { name: "inactive";
28860                signal: "elm,state,inactive";
28861                source: "elm";
28862                action: STATE_SET "default" 0.0;
28863                transition: DECELERATE 0.5;
28864                target: "clip";
28865            }
28866        }
28867    }
28868
28869    group { name: "elm/index/item/vertical/default";
28870        data.item: "stacking" "above";
28871        data.item: "selectraise" "on";
28872        images {
28873            image: "ilist_1.png" COMP;
28874            image: "ilist_item_shadow.png" COMP;
28875        }
28876        parts {
28877            part {
28878                name: "base_sh";
28879                mouse_events: 0;
28880                description {
28881                    state: "default" 0.0;
28882                    align: 0.0 0.0;
28883                    min: 0 10;
28884                    fixed: 1 1;
28885                    rel1 {
28886                        to: "base";
28887                        relative: 0.0 1.0;
28888                        offset: 0 0;
28889                    }
28890                    rel2 {
28891                        to: "base";
28892                        relative: 1.0 1.0;
28893                        offset: -1 0;
28894                    }
28895                    image {
28896                        normal: "ilist_item_shadow.png";
28897                    }
28898                    fill.smooth: 0;
28899                }
28900            }
28901            part {
28902                name: "base";
28903                mouse_events: 0;
28904                description {
28905                    state: "default" 0.0;
28906                    image {
28907                        normal: "ilist_1.png";
28908                        border: 2 2 2 2;
28909                    }
28910                    fill.smooth: 0;
28911                }
28912                description { state: "active" 0.0;
28913                    inherit: "default" 0.0;
28914                    rel1 {
28915                        offset: -16 0;
28916                    }
28917                }
28918            }
28919            part { name: "elm.text";
28920                type:           TEXT;
28921                mouse_events:   0;
28922                scale: 1;
28923                description {
28924                    state: "default" 0.0;
28925                           //               min: 16 16;
28926                    rel1 {
28927                        to: "base";
28928                        relative: 0.0  0.0;
28929                        offset:   4 4;
28930                    }
28931                    rel2 {
28932                        to: "base";
28933                        relative: 0.5  1.0;
28934                        offset:   -1 -1;
28935                    }
28936                    color: 0 0 0 128;
28937                    text {
28938                        font: "Sans";
28939                        size: 10;
28940                        min: 1 1;
28941                             //                  min: 0 1;
28942                        align: 0.5 0.5;
28943                    }
28944                }
28945                description { state: "active" 0.0;
28946                    inherit: "default" 0.0;
28947                    color: 0 0 0 255;
28948                }
28949            }
28950        }
28951        programs {
28952            program { name: "active";
28953                signal: "elm,state,active";
28954                source: "elm";
28955                action: STATE_SET "active" 0.0;
28956                transition: DECELERATE 0.5;
28957                target: "elm.text";
28958                target: "base";
28959            }
28960            program { name: "inactive";
28961                signal: "elm,state,inactive";
28962                source: "elm";
28963                action: STATE_SET "default" 0.0;
28964                transition: DECELERATE 0.5;
28965                target: "elm.text";
28966                target: "base";
28967            }
28968        }
28969    }
28970
28971    group { name: "elm/index/item_odd/vertical/default";
28972        data.item: "stacking" "below";
28973        images {
28974            image: "ilist_2.png" COMP;
28975        }
28976        parts {
28977            part {
28978                name: "base";
28979                mouse_events: 0;
28980                description {
28981                    state: "default" 0.0;
28982                    image {
28983                        normal: "ilist_2.png";
28984                        border: 2 2 2 2;
28985                    }
28986                    fill.smooth: 0;
28987                }
28988                description { state: "active" 0.0;
28989                    inherit: "default" 0.0;
28990                    rel1 {
28991                        offset: -16 0;
28992                    }
28993                }
28994            }
28995            part { name: "elm.text";
28996                type:           TEXT;
28997                mouse_events:   0;
28998                scale: 1;
28999                description {
29000                    state: "default" 0.0;
29001                           //               min: 16 16;
29002                    rel1 {
29003                        to: "base";
29004                        relative: 0.0  0.0;
29005                        offset:   4 4;
29006                    }
29007                    rel2 {
29008                        to: "base";
29009                        relative: 0.5  1.0;
29010                        offset:   -1 -1;
29011                    }
29012                    color: 0 0 0 128;
29013                    text {
29014                        font: "Sans";
29015                        size: 10;
29016                        min: 1 1;
29017                             //                  min: 0 1;
29018                        align: 0.5 0.5;
29019                    }
29020                }
29021                description { state: "active" 0.0;
29022                    inherit: "default" 0.0;
29023                    color: 0 0 0 255;
29024                }
29025            }
29026        }
29027        programs {
29028            program { name: "active";
29029                signal: "elm,state,active";
29030                source: "elm";
29031                action: STATE_SET "active" 0.0;
29032                transition: DECELERATE 0.5;
29033                target: "elm.text";
29034                target: "base";
29035            }
29036            program { name: "inactive";
29037                signal: "elm,state,inactive";
29038                source: "elm";
29039                action: STATE_SET "default" 0.0;
29040                transition: DECELERATE 0.5;
29041                target: "elm.text";
29042                target: "base";
29043            }
29044        }
29045    }
29046
29047 ///////////////////////////////////////////////////////////////////////////////
29048    group { name: "elm/gengrid/item/default/default";
29049       data.item: "labels" "elm.text";
29050       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29051       images {
29052          image: "bt_sm_base1.png" COMP;
29053          image: "bt_sm_shine.png" COMP;
29054          image: "bt_sm_hilight.png" COMP;
29055          image: "ilist_1.png" COMP;
29056          image: "ilist_item_shadow.png" COMP;
29057       }
29058       parts {
29059          part { name: "event";
29060             type: RECT;
29061             repeat_events: 1;
29062             description {
29063                state: "default" 0.0;
29064                color: 0 0 0 0;
29065             }
29066          }
29067          part { name: "reorder_bg";
29068             mouse_events: 0;
29069             description { state: "default" 0.0;
29070                visible: 0;
29071                color: 255 255 255 0;
29072                rel1 {
29073                   relative: 0.0 0.0;
29074                   offset: -10 -10;
29075                }
29076                rel2 {
29077                   relative: 1.0 1.0;
29078                   offset: 12 12;
29079                }
29080                image {
29081                   normal: "bt_bases.png";
29082                   border: 6 6 6 6;
29083                }
29084             }
29085             description { state: "enabled" 0.0;
29086                inherit: "default" 0.0;
29087                visible: 1;
29088                color: 255 255 255 255;
29089             }
29090          }
29091          part { name: "base_sh";
29092             mouse_events: 0;
29093             description { state: "default" 0.0;
29094                align: 0.0 0.0;
29095                min: 0 10;
29096                fixed: 1 1;
29097                rel1 {
29098                   to: "base";
29099                   relative: 0.0 1.0;
29100                   offset: 0 0;
29101                }
29102                rel2 {
29103                   to: "base";
29104                   relative: 1.0 1.0;
29105                   offset: -1 0;
29106                }
29107                image {
29108                   normal: "ilist_item_shadow.png";
29109                }
29110                fill.smooth: 0;
29111             }
29112          }
29113          part { name: "base";
29114             mouse_events: 0;
29115             description { state: "default" 0.0;
29116                image {
29117                   normal: "ilist_1.png";
29118                   border: 2 2 2 2;
29119                }
29120                fill.smooth: 0;
29121             }
29122          }
29123          part { name: "bg";
29124             clip_to: "disclip";
29125             mouse_events: 0;
29126             description { state: "default" 0.0;
29127                visible: 0;
29128                color: 255 255 255 0;
29129                rel1 {
29130                   relative: 0.0 0.0;
29131                   offset: -5 -5;
29132                }
29133                rel2 {
29134                   relative: 1.0 1.0;
29135                   offset: 4 4;
29136                }
29137                image {
29138                   normal: "bt_sm_base1.png";
29139                   border: 6 6 6 6;
29140                }
29141                image.middle: SOLID;
29142             }
29143             description { state: "selected" 0.0;
29144                inherit: "default" 0.0;
29145                visible: 1;
29146                color: 255 255 255 255;
29147                rel1 {
29148                   relative: 0.0 0.0;
29149                   offset: -2 -2;
29150                }
29151                rel2 {
29152                   relative: 1.0 1.0;
29153                   offset: 1 1;
29154                }
29155             }
29156          }
29157          part { name: "elm.swallow.pad";
29158             type: SWALLOW;
29159             description { state: "default" 0.0;
29160                fixed: 1 0;
29161                align: 0.0 0.5;
29162                rel1 {
29163                   relative: 0.0  1.0;
29164                   offset:   0    -10;
29165                }
29166                rel2 {
29167                   to_y: "elm.text";
29168                   relative: 0.0  0.0;
29169                   offset:   -1   -1;
29170                }
29171             }
29172          }
29173          part { name: "elm.swallow.icon";
29174             clip_to: "disclip";
29175             type: SWALLOW;
29176             description { state: "default" 0.0;
29177                fixed: 1 0;
29178                align: 0.5 0.5;
29179                rel1 {
29180                   relative: 0.0  0.0;
29181                   offset:   -1    4;
29182                }
29183                rel2 {
29184                   to_y: "elm.swallow.pad";
29185                   relative: 1.0  0.0;
29186                   offset:   -1   -5;
29187                }
29188             }
29189          }
29190          part { name: "elm.swallow.end";
29191             clip_to: "disclip";
29192             type: SWALLOW;
29193             description { state: "default" 0.0;
29194                fixed: 1 0;
29195                align: 1.0 0.0;
29196                aspect: 1.0 1.0;
29197                aspect_preference: HORIZONTAL;
29198                rel1 {
29199                   relative: 1.0 0.0;
29200                   offset: -5 -5;
29201                }
29202                rel2 {
29203                   relative: 1.0 1.0;
29204                   offset: 5 5;
29205                }
29206             }
29207          }
29208          part { name: "elm.text";
29209             clip_to: "disclip";
29210             type: TEXT;
29211             effect: SOFT_SHADOW;
29212             mouse_events: 0;
29213             scale: 1;
29214             description { state: "default" 0.0;
29215                rel1 {
29216                   relative: 0.0  1.0;
29217                   offset: 0 0;
29218                }
29219                rel2 {
29220                   relative: 1.0  1.0;
29221                   offset: -5 -5;
29222                }
29223                color: 0 0 0 255;
29224                color3: 0 0 0 0;
29225                text {
29226                   font: "Sans";
29227                   size: 10;
29228                   min: 0 1;
29229                   align: 0.5 0.0;
29230                   text_class: "grid_item";
29231                }
29232             }
29233             description { state: "selected" 0.0;
29234                inherit: "default" 0.0;
29235                color: 224 224 224 255;
29236                color3: 0 0 0 64;
29237             }
29238          }
29239          part { name: "fg1";
29240             clip_to: "disclip";
29241             mouse_events: 0;
29242             description { state: "default" 0.0;
29243                visible: 0;
29244                color: 255 255 255 0;
29245                rel1.to: "bg";
29246                rel2.relative: 1.0 0.5;
29247                rel2.to: "bg";
29248                image {
29249                   normal: "bt_sm_hilight.png";
29250                   border: 6 6 6 0;
29251                }
29252             }
29253             description { state: "selected" 0.0;
29254                inherit: "default" 0.0;
29255                visible: 1;
29256                color: 255 255 255 255;
29257             }
29258          }
29259          part { name: "fg2";
29260             clip_to: "disclip";
29261             mouse_events: 0;
29262             description { state: "default" 0.0;
29263                visible: 0;
29264                color: 255 255 255 0;
29265                rel1.to: "bg";
29266                rel2.to: "bg";
29267                image {
29268                   normal: "bt_sm_shine.png";
29269                   border: 6 6 6 0;
29270                }
29271             }
29272             description { state: "selected" 0.0;
29273                inherit: "default" 0.0;
29274                visible: 1;
29275                color: 255 255 255 255;
29276             }
29277          }
29278          part { name: "disclip";
29279             type: RECT;
29280             description { state: "default" 0.0;
29281                rel1.to: "bg";
29282                rel2.to: "bg";
29283             }
29284             description { state: "disabled" 0.0;
29285                inherit: "default" 0.0;
29286                color: 255 255 255 64;
29287             }
29288          }
29289       }
29290       programs {
29291          // signal: elm,state,%s,active
29292          //   a "check" item named %s went active
29293          // signal: elm,state,%s,passive
29294          //   a "check" item named %s went passive
29295          // default is passive
29296          program { name:    "go_active";
29297             signal:  "elm,state,selected";
29298             source:  "elm";
29299             action:  STATE_SET "selected" 0.0;
29300             target:  "bg";
29301             target:  "fg1";
29302             target:  "fg2";
29303             target:  "elm.text";
29304          }
29305          program { name:    "go_passive";
29306             signal:  "elm,state,unselected";
29307             source:  "elm";
29308             action:  STATE_SET "default" 0.0;
29309             target:  "bg";
29310             target:  "fg1";
29311             target:  "fg2";
29312             target:  "elm.text";
29313             transition: LINEAR 0.1;
29314          }
29315          program { name:    "go_disabled";
29316             signal:  "elm,state,disabled";
29317             source:  "elm";
29318             action:  STATE_SET "disabled" 0.0;
29319             target:  "disclip";
29320          }
29321          program { name:    "go_enabled";
29322             signal:  "elm,state,enabled";
29323             source:  "elm";
29324             action:  STATE_SET "default" 0.0;
29325             target:  "disclip";
29326          }
29327          program { name:    "go_reorder_disabled";
29328             signal:  "elm,state,reorder,disabled";
29329             source:  "elm";
29330             action:  STATE_SET "default" 0.0;
29331             target:  "reorder_bg";
29332             transition: DECELERATE 0.5;
29333          }
29334          program { name:    "go_reorder_enabled";
29335             signal:  "elm,state,reorder,enabled";
29336             source:  "elm";
29337             action:  STATE_SET "enabled" 0.0;
29338             target:  "reorder_bg";
29339             transition: DECELERATE 0.5;
29340          }
29341       }
29342    }
29343    group { name: "elm/gengrid/item/default_style/default";
29344        styles
29345        {
29346            style { name: "gengrid_style";
29347                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29348                tag:  "br" "\n";
29349                tag:  "ps" "ps";
29350                tag:  "hilight" "+ font=Sans:style=Bold";
29351                tag:  "b" "+ font=Sans:style=Bold";
29352                tag:  "tab" "\t";
29353            }
29354            style { name: "gengrid_selected_style";
29355                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29356                tag:  "br" "\n";
29357                tag:  "ps" "ps";
29358                tag:  "hilight" "+ font=Sans:style=Bold";
29359                tag:  "b" "+ font=Sans:style=Bold";
29360                tag:  "tab" "\t";
29361            }
29362        }
29363        data.item: "labels" "elm.text";
29364        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29365        images {
29366            image: "bt_sm_base1.png" COMP;
29367            image: "bt_sm_shine.png" COMP;
29368            image: "bt_sm_hilight.png" COMP;
29369            image: "ilist_1.png" COMP;
29370            image: "ilist_item_shadow.png" COMP;
29371        }
29372        parts {
29373            part { name: "event";
29374                type: RECT;
29375                repeat_events: 1;
29376                description { state: "default" 0.0;
29377                    color: 0 0 0 0;
29378                }
29379            }
29380            part { name: "base_sh";
29381                mouse_events: 0;
29382                description { state: "default" 0.0;
29383                    align: 0.0 0.0;
29384                    min: 0 10;
29385                    fixed: 1 1;
29386                    rel1 {
29387                        to: "base";
29388                        relative: 0.0 1.0;
29389                        offset: 0 0;
29390                    }
29391                    rel2 {
29392                        to: "base";
29393                        relative: 1.0 1.0;
29394                        offset: -1 0;
29395                    }
29396                    image {
29397                        normal: "ilist_item_shadow.png";
29398                    }
29399                    fill.smooth: 0;
29400                }
29401            }
29402            part { name: "base";
29403                mouse_events: 0;
29404                description { state: "default" 0.0;
29405                    min: 16 28;
29406                    image {
29407                        normal: "ilist_1.png";
29408                        border: 2 2 2 2;
29409                    }
29410                    fill.smooth: 0;
29411                }
29412            }
29413            part { name: "bg";
29414                clip_to: "disclip";
29415                mouse_events: 0;
29416                description { state: "default" 0.0;
29417                    visible: 0;
29418                    color: 255 255 255 0;
29419                    rel1 {
29420                        relative: 0.0 0.0;
29421                        offset: -5 -5;
29422                    }
29423                    rel2 {
29424                        relative: 1.0 1.0;
29425                        offset: 4 4;
29426                    }
29427                    image {
29428                        normal: "bt_sm_base1.png";
29429                        border: 6 6 6 6;
29430                    }
29431                    image.middle: SOLID;
29432                }
29433                description { state: "selected" 0.0;
29434                    inherit: "default" 0.0;
29435                    visible: 1;
29436                    color: 255 255 255 255;
29437                    rel1 {
29438                        relative: 0.0 0.0;
29439                        offset: -2 -2;
29440                    }
29441                    rel2 {
29442                        relative: 1.0 1.0;
29443                        offset: 1 1;
29444                    }
29445                }
29446            }
29447            part { name: "elm.swallow.pad";
29448                type: SWALLOW;
29449                description { state: "default" 0.0;
29450                    fixed: 1 0;
29451                    align: 0.0 0.5;
29452                    rel1 {
29453                        relative: 0.0  0.0;
29454                        offset:   4    4;
29455                    }
29456                    rel2 {
29457                        relative: 0.0  1.0;
29458                        offset:   4   -5;
29459                    }
29460                }
29461            }
29462            part { name: "elm.swallow.icon";
29463                clip_to: "disclip";
29464                type: SWALLOW;
29465                description { state: "default" 0.0;
29466                    fixed: 1 0;
29467                    align: 0.0 0.5;
29468                    rel1 {
29469                        to_x: "elm.swallow.pad";
29470                        relative: 1.0  0.0;
29471                        offset:   -1    4;
29472                    }
29473                    rel2 {
29474                        to_x: "elm.swallow.pad";
29475                        relative: 1.0  1.0;
29476                        offset:   -1   -5;
29477                    }
29478                }
29479            }
29480            part { name: "elm.swallow.end";
29481                clip_to: "disclip";
29482                type: SWALLOW;
29483                description { state: "default" 0.0;
29484                    fixed: 1 0;
29485                    align: 1.0 0.5;
29486                    aspect: 1.0 1.0;
29487                    aspect_preference: VERTICAL;
29488                    rel1 {
29489                        relative: 1.0  0.0;
29490                        offset:   -5    4;
29491                    }
29492                    rel2 {
29493                        relative: 1.0  1.0;
29494                        offset:   -5   -5;
29495                    }
29496                }
29497            }
29498            part { name: "elm.text";
29499                clip_to: "disclip";
29500                type: TEXTBLOCK;
29501                mouse_events: 0;
29502                scale: 1;
29503                description {
29504                    state: "default" 0.0;
29505                    align: 0.0 0.5;
29506                    fixed: 0 1;
29507                    rel1 {
29508                        to_x: "elm.swallow.icon";
29509                        to_y: "base";
29510                        relative: 1.0  0.5;
29511                        offset:   0 4;
29512                    }
29513                    rel2 {
29514                        to_x: "elm.swallow.end";
29515                        to_y: "base";
29516                        relative: 0.0  0.5;
29517                        offset:   -1 -5;
29518                    }
29519                    text {
29520                        style: "gengrid_style";
29521                        min: 1 1;
29522                    }
29523                }
29524                description { state: "selected" 0.0;
29525                    inherit: "default" 0.0;
29526                    text {
29527                        style: "gengrid_selected_style";
29528                    }
29529                }
29530            }
29531            part { name: "fg1";
29532                clip_to: "disclip";
29533                mouse_events: 0;
29534                description { state: "default" 0.0;
29535                    visible: 0;
29536                    color: 255 255 255 0;
29537                    rel1.to: "bg";
29538                    rel2.relative: 1.0 0.5;
29539                    rel2.to: "bg";
29540                    image {
29541                        normal: "bt_sm_hilight.png";
29542                        border: 6 6 6 0;
29543                    }
29544                }
29545                description { state: "selected" 0.0;
29546                    inherit: "default" 0.0;
29547                    visible: 1;
29548                    color: 255 255 255 255;
29549                }
29550            }
29551            part { name: "fg2";
29552                clip_to: "disclip";
29553                mouse_events: 0;
29554                description { state: "default" 0.0;
29555                    visible: 0;
29556                    color: 255 255 255 0;
29557                    rel1.to: "bg";
29558                    rel2.to: "bg";
29559                    image {
29560                        normal: "bt_sm_shine.png";
29561                        border: 6 6 6 0;
29562                    }
29563                }
29564                description { state: "selected" 0.0;
29565                    inherit: "default" 0.0;
29566                    visible: 1;
29567                    color: 255 255 255 255;
29568                }
29569            }
29570            part { name: "disclip";
29571                type: RECT;
29572                description { state: "default" 0.0;
29573                    rel1.to: "bg";
29574                    rel2.to: "bg";
29575                }
29576                description { state: "disabled" 0.0;
29577                    inherit: "default" 0.0;
29578                    color: 255 255 255 64;
29579                }
29580            }
29581        }
29582        programs {
29583            // signal: elm,state,%s,active
29584            //   a "check" item named %s went active
29585            // signal: elm,state,%s,passive
29586            //   a "check" item named %s went passive
29587            // default is passive
29588            program { name:    "go_active";
29589                signal:  "elm,state,selected";
29590                source:  "elm";
29591                action:  STATE_SET "selected" 0.0;
29592                target:  "bg";
29593                target:  "fg1";
29594                target:  "fg2";
29595                target:  "elm.text";
29596            }
29597            program { name:    "go_passive";
29598                signal:  "elm,state,unselected";
29599                source:  "elm";
29600                action:  STATE_SET "default" 0.0;
29601                target:  "bg";
29602                target:  "fg1";
29603                target:  "fg2";
29604                target:  "elm.text";
29605                transition: LINEAR 0.1;
29606            }
29607            program { name:    "go_disabled";
29608                signal:  "elm,state,disabled";
29609                source:  "elm";
29610                action:  STATE_SET "disabled" 0.0;
29611                target:  "disclip";
29612            }
29613            program { name:    "go_enabled";
29614                signal:  "elm,state,enabled";
29615                source:  "elm";
29616                action:  STATE_SET "default" 0.0;
29617                target:  "disclip";
29618            }
29619        }
29620    }
29621
29622    group { name: "elm/gengrid/item/up/default";
29623       data.item: "labels" "elm.text";
29624       images {
29625           image: "bt_sm_base1.png" COMP;
29626           image: "bt_sm_shine.png" COMP;
29627           image: "bt_sm_hilight.png" COMP;
29628           image: "arrow_up.png" COMP;
29629       }
29630       parts {
29631          part { name: "event";
29632             type: RECT;
29633             repeat_events: 1;
29634             description { state: "default" 0.0;
29635                color: 0 0 0 0;
29636             }
29637          }
29638          part { name: "bg";
29639             clip_to: "disclip";
29640             mouse_events: 0;
29641             description { state: "default" 0.0;
29642                visible: 0;
29643                color: 255 255 255 0;
29644                rel1.offset: -3 -3;
29645                rel2.offset: 2 2;
29646                image { normal: "bt_sm_base1.png";
29647                   border: 6 6 6 6;
29648                   middle: SOLID;
29649                }
29650             }
29651             description { state: "selected" 0.0;
29652                inherit: "default" 0.0;
29653                visible: 1;
29654                color: 255 255 255 255;
29655             }
29656          }
29657          part { name: "image";
29658              type: IMAGE;
29659              mouse_events: 0;
29660              description { state: "default" 0.0;
29661                  aspect_preference: BOTH;
29662                  aspect: 1.0 1.0;
29663                  image.normal: "arrow_up.png";
29664                  rel2 {
29665                      to_y: "elm.text";
29666                      relative: 1.0 0.0;
29667                      offset: -1 -2;
29668                  }
29669              }
29670          }
29671          part { name: "elm.text";
29672             clip_to: "disclip";
29673             type: TEXT;
29674             effect: SOFT_SHADOW;
29675             mouse_events: 0;
29676             scale: 1;
29677             description { state: "default" 0.0;
29678                rel1 {
29679                   relative: 0.0  1.0;
29680                   offset: 20 -25;
29681                }
29682                rel2 {
29683                   relative: 1.0  1.0;
29684                   offset: -21 -3;
29685                }
29686                color: 0 0 0 255;
29687                color3: 0 0 0 0;
29688                text {
29689                   font: "Sans";
29690                   size: 10;
29691                   min: 0 1;
29692                   align: 0.5 0.0;
29693                   text_class: "grid_item";
29694                }
29695             }
29696             description { state: "selected" 0.0;
29697                inherit: "default" 0.0;
29698                color: 224 224 224 255;
29699                color3: 0 0 0 64;
29700             }
29701          }
29702          part { name: "fg1";
29703             clip_to: "disclip";
29704             mouse_events: 0;
29705             description { state: "default" 0.0;
29706                visible: 0;
29707                color: 255 255 255 0;
29708                rel1.offset: -3 -3;
29709                rel2 {
29710                    relative: 1.0 0.5;
29711                    offset: 2 -1;
29712                }
29713                image {
29714                   normal: "bt_sm_hilight.png";
29715                   border: 6 6 6 0;
29716                }
29717             }
29718             description { state: "selected" 0.0;
29719                inherit: "default" 0.0;
29720                visible: 1;
29721                color: 255 255 255 255;
29722             }
29723          }
29724          part { name: "fg2";
29725             clip_to: "disclip";
29726             mouse_events: 0;
29727             description { state: "default" 0.0;
29728                visible: 0;
29729                color: 255 255 255 0;
29730                rel1.offset: -3 -3;
29731                rel2.offset: 2 2;
29732                image {
29733                   normal: "bt_sm_shine.png";
29734                   border: 6 6 6 0;
29735                }
29736             }
29737             description { state: "selected" 0.0;
29738                inherit: "default" 0.0;
29739                visible: 1;
29740                color: 255 255 255 255;
29741             }
29742          }
29743          part { name: "disclip";
29744             type: RECT;
29745             description { state: "default" 0.0;
29746                rel1.to: "bg";
29747                rel2.to: "bg";
29748             }
29749             description { state: "disabled" 0.0;
29750                inherit: "default" 0.0;
29751                color: 255 255 255 64;
29752             }
29753          }
29754       }
29755       programs {
29756          program { name:    "go_active";
29757             signal:  "elm,state,selected";
29758             source:  "elm";
29759             action:  STATE_SET "selected" 0.0;
29760             target:  "bg";
29761             target:  "fg1";
29762             target:  "fg2";
29763             target:  "elm.text";
29764          }
29765          program { name:    "go_passive";
29766             signal:  "elm,state,unselected";
29767             source:  "elm";
29768             action:  STATE_SET "default" 0.0;
29769             target:  "bg";
29770             target:  "fg1";
29771             target:  "fg2";
29772             target:  "elm.text";
29773             transition: LINEAR 0.1;
29774          }
29775          program { name:    "go_disabled";
29776             signal:  "elm,state,disabled";
29777             source:  "elm";
29778             action:  STATE_SET "disabled" 0.0;
29779             target:  "disclip";
29780          }
29781          program { name:    "go_enabled";
29782             signal:  "elm,state,enabled";
29783             source:  "elm";
29784             action:  STATE_SET "default" 0.0;
29785             target:  "disclip";
29786          }
29787       }
29788    }
29789
29790    group { name: "elm/gengrid/item/album-preview/default";
29791       data.item: "labels" "elm.text";
29792       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29793       data.item: "states" "have_files";
29794       images {
29795          image: "bt_sm_base1.png" COMP;
29796          image: "bt_sm_shine.png" COMP;
29797          image: "bt_sm_hilight.png" COMP;
29798          image: "icon_folder.png" COMP;
29799       }
29800       parts {
29801          part { name: "event";
29802             type: RECT;
29803             repeat_events: 1;
29804             description { state: "default" 0.0;
29805                color: 0 0 0 0;
29806             }
29807          }
29808          part { name: "bg";
29809             clip_to: "disclip";
29810             mouse_events: 0;
29811             description { state: "default" 0.0;
29812                visible: 0;
29813                color: 255 255 255 0;
29814                rel1.offset: -3 -3;
29815                rel2.offset: 2 2;
29816                image {
29817                   normal: "bt_sm_base1.png";
29818                   border: 6 6 6 6;
29819                   middle: SOLID;
29820                }
29821             }
29822             description { state: "selected" 0.0;
29823                inherit: "default" 0.0;
29824                visible: 1;
29825                color: 255 255 255 255;
29826             }
29827          }
29828          part { name: "image";
29829              type: IMAGE;
29830              mouse_events: 0;
29831              description { state: "default" 0.0;
29832                  aspect_preference: BOTH;
29833                  aspect: 1.0 1.0;
29834                  image.normal: "icon_folder.png";
29835                  rel2 {
29836                      to_y: "elm.text";
29837                      relative: 1.0 0.0;
29838                      offset: -1 -2;
29839                  }
29840              }
29841          }
29842          part { name: "have-files-clipper";
29843              type: RECT;
29844              description { state: "default" 0.0;
29845                  color: 255 255 255 0;
29846                  visible: 0;
29847              }
29848              description { state: "visible" 0.0;
29849                  inherit: "default" 0.0;
29850                  color: 255 255 255 255;
29851                  visible: 1;
29852              }
29853          }
29854          part { name: "icon_box_margin";
29855              type: RECT;
29856              mouse_events: 0;
29857              clip_to: "have-files-clipper";
29858              description { state: "default" 0.0;
29859                  color: 0 0 0 255;
29860                  rel1 {
29861                      to: "icon_box";
29862                      offset: -1 -1;
29863                  }
29864                  rel2 {
29865                      to: "icon_box";
29866                      offset: 0 0;
29867                  }
29868              }
29869          }
29870          part { name: "icon_box";
29871              type: RECT;
29872              mouse_events: 0;
29873              clip_to: "have-files-clipper";
29874              description { state: "default" 0.0;
29875                  color: 255 255 255 255;
29876                  align: 1.0 1.0;
29877                  min: 32 32;
29878                  rel1 {
29879                      relative: 0.25 0.25;
29880                      offset: 0 0;
29881                  }
29882                  rel2 {
29883                      relative: 1.0 0.0;
29884                      offset: -11 -4;
29885                      to_y: "elm.text";
29886                  }
29887              }
29888          }
29889          part { name: "elm.swallow.icon.1";
29890              type: SWALLOW;
29891              mouse_events: 0;
29892              clip_to: "have-files-clipper";
29893              description { state: "default" 0.0;
29894                rel1 {
29895                   relative: 0.0  0.0;
29896                   to: "icon_box";
29897                }
29898                rel2 {
29899                   relative: 0.5  0.5;
29900                   offset: -1 -1;
29901                   to: "icon_box";
29902                }
29903             }
29904          }
29905          part { name: "elm.swallow.icon.2";
29906              type: SWALLOW;
29907              mouse_events: 0;
29908              clip_to: "have-files-clipper";
29909              description { state: "default" 0.0;
29910                rel1 {
29911                   relative: 0.5  0.0;
29912                   to: "icon_box";
29913                }
29914                rel2 {
29915                   relative: 1.0  0.5;
29916                   offset: -1 -1;
29917                   to: "icon_box";
29918                }
29919             }
29920          }
29921          part { name: "elm.swallow.icon.3";
29922              type: SWALLOW;
29923              mouse_events: 0;
29924              clip_to: "have-files-clipper";
29925              description { state: "default" 0.0;
29926                rel1 {
29927                   relative: 0.0  0.5;
29928                   to: "icon_box";
29929                }
29930                rel2 {
29931                   relative: 0.5  1.0;
29932                   offset: -1 -1;
29933                   to: "icon_box";
29934                }
29935             }
29936          }
29937          part { name: "elm.swallow.icon.4";
29938              type: SWALLOW;
29939              mouse_events: 0;
29940              clip_to: "have-files-clipper";
29941              description { state: "default" 0.0;
29942                rel1 {
29943                   relative: 0.5  0.5;
29944                   to: "icon_box";
29945                }
29946                rel2 {
29947                   relative: 1.0  1.0;
29948                   offset: -1 -1;
29949                   to: "icon_box";
29950                }
29951             }
29952          }
29953          part { name: "elm.text";
29954             clip_to: "disclip";
29955             type: TEXT;
29956             effect: SOFT_SHADOW;
29957             mouse_events: 0;
29958             scale: 1;
29959             description { state: "default" 0.0;
29960                rel1 {
29961                   relative: 0.0  1.0;
29962                   offset: 20 -30;
29963                }
29964                rel2 {
29965                   relative: 1.0  1.0;
29966                   offset: -21 -15;
29967                }
29968                color: 0 0 0 255;
29969                color3: 0 0 0 0;
29970                text {
29971                   font: "Sans";
29972                   size: 10;
29973                   min: 0 1;
29974                   align: 0.5 0.0;
29975                   text_class: "grid_item";
29976                }
29977             }
29978             description { state: "selected" 0.0;
29979                 inherit: "default" 0.0;
29980                 color: 255 255 255 255;
29981             }
29982          }
29983          part { name: "fg1";
29984             clip_to: "disclip";
29985             mouse_events: 0;
29986             description { state: "default" 0.0;
29987                visible: 0;
29988                color: 255 255 255 0;
29989                rel1.offset: -3 -3;
29990                rel2 {
29991                    relative: 1.0 0.5;
29992                    offset: 2 -1;
29993                }
29994                image {
29995                   normal: "bt_sm_hilight.png";
29996                   border: 6 6 6 0;
29997                }
29998             }
29999             description { state: "selected" 0.0;
30000                inherit: "default" 0.0;
30001                visible: 1;
30002                color: 255 255 255 255;
30003             }
30004          }
30005          part { name: "fg2";
30006             clip_to: "disclip";
30007             mouse_events: 0;
30008             description { state: "default" 0.0;
30009                visible: 0;
30010                color: 255 255 255 0;
30011                rel1.offset: -3 -3;
30012                rel2.offset: 2 2;
30013                image {
30014                   normal: "bt_sm_shine.png";
30015                   border: 6 6 6 0;
30016                }
30017             }
30018             description { state: "selected" 0.0;
30019                inherit: "default" 0.0;
30020                visible: 1;
30021                color: 255 255 255 255;
30022             }
30023          }
30024          part { name: "disclip";
30025             type: RECT;
30026             description { state: "default" 0.0;
30027                rel1.to: "bg";
30028                rel2.to: "bg";
30029             }
30030             description { state: "disabled" 0.0;
30031                inherit: "default" 0.0;
30032                color: 255 255 255 64;
30033             }
30034          }
30035       }
30036       programs {
30037          program { name:    "go_active";
30038             signal:  "elm,state,selected";
30039             source:  "elm";
30040             action:  STATE_SET "selected" 0.0;
30041             target:  "bg";
30042             target:  "fg1";
30043             target:  "fg2";
30044             target:  "elm.text";
30045          }
30046          program { name:    "go_passive";
30047             signal:  "elm,state,unselected";
30048             source:  "elm";
30049             action:  STATE_SET "default" 0.0;
30050             target:  "bg";
30051             target:  "fg1";
30052             target:  "fg2";
30053             target:  "elm.text";
30054             transition: LINEAR 0.1;
30055          }
30056          program { name:    "go_disabled";
30057             signal:  "elm,state,disabled";
30058             source:  "elm";
30059             action:  STATE_SET "disabled" 0.0;
30060             target:  "disclip";
30061          }
30062          program { name:    "go_enabled";
30063             signal:  "elm,state,enabled";
30064             source:  "elm";
30065             action:  STATE_SET "default" 0.0;
30066             target:  "disclip";
30067          }
30068          program {
30069              signal: "elm,state,have_files,active";
30070              source: "elm";
30071              action: STATE_SET "visible" 0.0;
30072              target: "have-files-clipper";
30073          }
30074       }
30075    }
30076
30077    group { name: "elm/gengrid/item/thumb/default";
30078        data {
30079            item: "icons" "elm.swallow.icon";
30080            item: "labels" "elm.text";
30081        }
30082        images {
30083            image: "bt_sm_base1.png" COMP;
30084            image: "bt_sm_shine.png" COMP;
30085            image: "bt_sm_hilight.png" COMP;
30086            image: "thumb_shadow.png" COMP;
30087        }
30088        parts {
30089            part { name: "event";
30090                type: RECT;
30091                repeat_events: 1;
30092                description { state: "default" 0.0;
30093                    color: 0 0 0 0;
30094                }
30095            }
30096            part { name: "bg";
30097                mouse_events: 0;
30098                description { state: "default" 0.0;
30099                    visible: 0;
30100                    color: 255 255 255 0;
30101                    rel1.offset: -3 -3;
30102                    rel2.offset: 2 2;
30103                    image {
30104                        normal: "bt_sm_base1.png";
30105                        border: 6 6 6 6;
30106                        middle: SOLID;
30107                    }
30108                }
30109                description { state: "selected" 0.0;
30110                    inherit: "default" 0.0;
30111                    visible: 1;
30112                    color: 255 255 255 255;
30113                }
30114            }
30115            part { name: "border-shadow";
30116                type: IMAGE;
30117                mouse_events: 0;
30118                description { state: "default" 0.0;
30119                    rel1 {
30120                        to: "elm.swallow.icon";
30121                        offset: -18 -18;
30122                    }
30123                    rel2 {
30124                        to_x: "elm.swallow.icon";
30125                        to_y: "elm.text";
30126                        offset: 17 17;
30127                    }
30128                    image {
30129                        normal: "thumb_shadow.png";
30130                        border: 17 17 17 17;
30131                        middle: NONE;
30132                    }
30133                }
30134            }
30135            part { name: "border";
30136                type: RECT;
30137                mouse_events: 0;
30138                description { state: "default" 0.0;
30139                    rel1 {
30140                        to: "border-shadow";
30141                        offset: 16 16;
30142                    }
30143                    rel2 {
30144                        to: "border-shadow";
30145                        offset: -15 -15;
30146                    }
30147                }
30148            }
30149            part { name: "elm.swallow.icon";
30150                type: SWALLOW;
30151                mouse_events: 0;
30152                description { state: "default" 0.0;
30153                    aspect_preference: BOTH;
30154                    aspect: 1.0 1.0;
30155                    rel1.offset: 0 8;
30156                    rel2 {
30157                        to_y: "elm.text";
30158                        relative: 1.0 0.0;
30159                        offset: -1 -2;
30160                    }
30161                }
30162            }
30163            part { name: "elm.text";
30164                type: TEXT;
30165                effect: SOFT_SHADOW;
30166                mouse_events: 0;
30167                scale: 1;
30168                description { state: "default" 0.0;
30169                    color: 0 0 0 255;
30170                    color3: 0 0 0 0;
30171                    align: 0.5 1.0;
30172                    rel1 {
30173                        relative: 0.0 1.0;
30174                        offset: 20 -30;
30175                    }
30176                    rel2 {
30177                        relative: 1.0 1.0;
30178                        offset: -21 -15;
30179                    }
30180                    text {
30181                        font: "Sans";
30182                        size: 10;
30183                        min: 0 1;
30184                        align: 0.5 0.0;
30185                        text_class: "grid_item";
30186                    }
30187                }
30188            }
30189            part { name: "fg1";
30190                mouse_events: 0;
30191                description { state: "default" 0.0;
30192                    visible: 0;
30193                    color: 255 255 255 0;
30194                    rel1.offset: -3 -3;
30195                    rel2 {
30196                        relative: 1.0 0.5;
30197                        offset: 2 -1;
30198                    }
30199                    image {
30200                        normal: "bt_sm_hilight.png";
30201                        border: 6 6 6 0;
30202                    }
30203                }
30204                description { state: "selected" 0.0;
30205                    inherit: "default" 0.0;
30206                    visible: 1;
30207                    color: 255 255 255 255;
30208                }
30209            }
30210            part { name: "fg2";
30211                mouse_events: 0;
30212                description { state: "default" 0.0;
30213                    visible: 0;
30214                    color: 255 255 255 0;
30215                    rel1.offset: -3 -3;
30216                    rel2.offset: 2 2;
30217                    image {
30218                        image: "bt_sm_shine.png";
30219                        border: 6 6 6 0;
30220                    }
30221                }
30222                description { state: "selected" 0.0;
30223                    inherit: "default" 0.0;
30224                    visible: 1;
30225                    color: 255 255 255 255;
30226                }
30227            }
30228        }
30229        programs {
30230            program {
30231                signal: "elm,state,selected";
30232                source: "elm";
30233                action: STATE_SET "selected" 0.0;
30234                target: "bg";
30235                target: "fg1";
30236                target: "fg2";
30237            }
30238            program {
30239                signal: "elm,state,unselected";
30240                source: "elm";
30241                action:  STATE_SET "default" 0.0;
30242                target: "bg";
30243                target: "fg1";
30244                target: "fg2";
30245                transition: LINEAR 0.1;
30246            }
30247        }
30248    }
30249
30250 ///////////////////////////////////////////////////////////////////////////////
30251    group { name: "elm/photocam/base/default";
30252        script {
30253            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30254            public timer0(val) {
30255                new v;
30256                v = get_int(sbvis_v);
30257                if (v) {
30258                    v = get_int(sbalways_v);
30259                    if (!v) {
30260                        emit("do-hide-vbar", "");
30261                        set_int(sbvis_v, 0);
30262                    }
30263                }
30264                v = get_int(sbvis_h);
30265                if (v) {
30266                    v = get_int(sbalways_h);
30267                    if (!v) {
30268                        emit("do-hide-hbar", "");
30269                        set_int(sbvis_h, 0);
30270                    }
30271                }
30272                set_int(sbvis_timer, 0);
30273                return 0;
30274            }
30275        }
30276        images {
30277            image: "shelf_inset.png" COMP;
30278            image: "bt_sm_base2.png" COMP;
30279            image: "bt_sm_shine.png" COMP;
30280            image: "bt_sm_hilight.png" COMP;
30281            image: "busy-1.png" COMP;
30282            image: "busy-2.png" COMP;
30283            image: "busy-3.png" COMP;
30284            image: "busy-4.png" COMP;
30285            image: "busy-5.png" COMP;
30286            image: "busy-6.png" COMP;
30287            image: "busy-7.png" COMP;
30288            image: "busy-8.png" COMP;
30289            image: "busy-9.png" COMP;
30290        }
30291        parts {
30292            part { name: "bg";
30293                type: RECT;
30294                description { state: "default" 0.0;
30295                    rel1.offset: 1 1;
30296                    rel2.offset: -2 -2;
30297                    color: 255 255 255 0;
30298                }
30299            }
30300            part { name: "clipper";
30301                type: RECT;
30302                mouse_events: 0;
30303                description { state: "default" 0.0;
30304                    rel1.to: "bg";
30305                    rel2.to: "bg";
30306                }
30307            }
30308            part { name: "elm.swallow.content";
30309                clip_to: "clipper";
30310                type: SWALLOW;
30311                description { state: "default" 0.0;
30312                    rel1.offset: 1 1;
30313                    rel2.offset: -2 -2;
30314                }
30315            }
30316            part { name: "busy_clip";
30317                type: RECT;
30318                mouse_events: 0;
30319                description { state: "default" 0.0;
30320                    visible: 0;
30321                    color: 255 255 255 0;
30322                }
30323                description { state: "active" 0.0;
30324                    visible: 1;
30325                    color: 255 255 255 255;
30326                }
30327            }
30328            part { name: "busy";
30329                clip_to: "busy_clip";
30330                mouse_events: 0;
30331                description { state: "default" 0.0;
30332                    fixed: 1 1;
30333                    min: 32 32;
30334                    aspect: 1.0 1.0;
30335                    align: 1.0 1.0;
30336                    aspect_preference: BOTH;
30337                    rel1 {
30338                        relative: 0.9 0.9;
30339                        offset:   -9 -9;
30340                    }
30341                    rel2 {
30342                        relative: 0.9 0.9;
30343                        offset:   -9 -9;
30344                    }
30345                    image {
30346                        normal: "busy-9.png";
30347                        tween:  "busy-1.png";
30348                        tween:  "busy-2.png";
30349                        tween:  "busy-3.png";
30350                        tween:  "busy-4.png";
30351                        tween:  "busy-5.png";
30352                        tween:  "busy-6.png";
30353                        tween:  "busy-7.png";
30354                        tween:  "busy-8.png";
30355                    }
30356                }
30357            }
30358            part { name: "conf_over";
30359                mouse_events:  0;
30360                description { state: "default" 0.0;
30361                    rel1.offset: 0 0;
30362                    rel2.offset: -1 -1;
30363                    image {
30364                        normal: "shelf_inset.png";
30365                        border: 7 7 7 7;
30366                        middle: 0;
30367                    }
30368                    fill.smooth : 0;
30369                }
30370            }
30371            part { name: "sb_vbar_clip_master";
30372                type: RECT;
30373                mouse_events: 0;
30374                description { state: "default" 0.0;
30375                }
30376                description { state: "hidden" 0.0;
30377                    visible: 0;
30378                    color: 255 255 255 0;
30379                }
30380            }
30381            part { name: "sb_vbar_clip";
30382                clip_to: "sb_vbar_clip_master";
30383                type: RECT;
30384                mouse_events: 0;
30385                description { state: "default" 0.0;
30386                }
30387                description { state: "hidden" 0.0;
30388                    visible: 0;
30389                    color: 255 255 255 0;
30390                }
30391            }
30392            part { name: "sb_vbar";
30393                type: RECT;
30394                mouse_events: 0;
30395                description { state: "default" 0.0;
30396                    fixed: 1 1;
30397                    visible: 0;
30398                    min: 10 17;
30399                    align: 1.0 0.0;
30400                    rel1 {
30401                        relative: 1.0 0.0;
30402                        offset:   -2 0;
30403                    }
30404                    rel2 {
30405                        relative: 1.0 0.0;
30406                        offset:   -2 -1;
30407                        to_y:     "sb_hbar";
30408                    }
30409                }
30410            }
30411            part { name: "elm.dragable.vbar";
30412                clip_to: "sb_vbar_clip";
30413                mouse_events: 0;
30414                dragable {
30415                    x: 0 0 0;
30416                    y: 1 1 0;
30417                    confine: "sb_vbar";
30418                }
30419                description { state: "default" 0.0;
30420                    fixed: 1 1;
30421                    min: 10 17;
30422                    max: 10 99999;
30423                    rel1 {
30424                        relative: 0.5  0.5;
30425                        offset:   0    0;
30426                        to: "sb_vbar";
30427                    }
30428                    rel2 {
30429                        relative: 0.5  0.5;
30430                        offset:   0    0;
30431                        to: "sb_vbar";
30432                    }
30433                    image {
30434                        normal: "bt_sm_base2.png";
30435                        border: 6 6 6 6;
30436                        middle: SOLID;
30437                    }
30438                }
30439            }
30440            part { name: "sb_vbar_over1";
30441                clip_to: "sb_vbar_clip";
30442                mouse_events: 0;
30443                description { state: "default" 0.0;
30444                    rel1.to: "elm.dragable.vbar";
30445                    rel2.relative: 1.0 0.5;
30446                    rel2.to: "elm.dragable.vbar";
30447                    image {
30448                        normal: "bt_sm_hilight.png";
30449                        border: 6 6 6 0;
30450                    }
30451                }
30452            }
30453            part { name: "sb_vbar_over2";
30454                clip_to: "sb_vbar_clip";
30455                mouse_events: 0;
30456                description { state: "default" 0.0;
30457                    rel1.to: "elm.dragable.vbar";
30458                    rel2.to: "elm.dragable.vbar";
30459                    image {
30460                        normal: "bt_sm_shine.png";
30461                        border: 6 6 6 0;
30462                    }
30463                }
30464            }
30465
30466            part { name: "sb_hbar_clip_master";
30467                type: RECT;
30468                mouse_events: 0;
30469                description { state: "default" 0.0;
30470                }
30471                description { state: "hidden" 0.0;
30472                    visible: 0;
30473                    color: 255 255 255 0;
30474                }
30475            }
30476            part { name: "sb_hbar_clip";
30477                clip_to: "sb_hbar_clip_master";
30478                type: RECT;
30479                mouse_events: 0;
30480                description { state: "default" 0.0;
30481                }
30482                description { state: "hidden" 0.0;
30483                    visible: 0;
30484                    color: 255 255 255 0;
30485                }
30486            }
30487            part { name: "sb_hbar";
30488                type: RECT;
30489                mouse_events: 0;
30490                description { state: "default" 0.0;
30491                    fixed: 1 1;
30492                    visible: 0;
30493                    min: 17 10;
30494                    align: 0.0 1.0;
30495                    rel1 {
30496                        relative: 0.0 1.0;
30497                        offset:   0 -2;
30498                    }
30499                    rel2 {
30500                        relative: 0.0 1.0;
30501                        offset:   -1 -2;
30502                        to_x:     "sb_vbar";
30503                    }
30504                }
30505            }
30506            part { name: "elm.dragable.hbar";
30507                clip_to: "sb_hbar_clip";
30508                mouse_events: 0;
30509                dragable {
30510                    x: 1 1 0;
30511                    y: 0 0 0;
30512                    confine: "sb_hbar";
30513                }
30514                description { state: "default" 0.0;
30515                    fixed: 1 1;
30516                    min: 17 10;
30517                    max: 99999 10;
30518                    rel1 {
30519                        relative: 0.5  0.5;
30520                        offset:   0    0;
30521                        to: "sb_hbar";
30522                    }
30523                    rel2 {
30524                        relative: 0.5  0.5;
30525                        offset:   0    0;
30526                        to: "sb_hbar";
30527                    }
30528                    image {
30529                        normal: "bt_sm_base2.png";
30530                        border: 4 4 4 4;
30531                        middle: SOLID;
30532                    }
30533                }
30534            }
30535            part { name: "sb_hbar_over1";
30536                clip_to: "sb_hbar_clip";
30537                mouse_events: 0;
30538                description { state: "default" 0.0;
30539                    rel1.to: "elm.dragable.hbar";
30540                    rel2.relative: 1.0 0.5;
30541                    rel2.to: "elm.dragable.hbar";
30542                    image {
30543                        normal: "bt_sm_hilight.png";
30544                        border: 4 4 4 0;
30545                    }
30546                }
30547            }
30548            part { name: "sb_hbar_over2";
30549                clip_to: "sb_hbar_clip";
30550                mouse_events: 0;
30551                description { state: "default" 0.0;
30552                    rel1.to: "elm.dragable.hbar";
30553                    rel2.to: "elm.dragable.hbar";
30554                    image {
30555                        normal: "bt_sm_shine.png";
30556                        border: 4 4 4 0;
30557                    }
30558                }
30559            }
30560        }
30561        programs {
30562            program { name: "load";
30563                signal: "load";
30564                source: "";
30565                script {
30566                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30567                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30568                    set_int(sbvis_h, 0);
30569                    set_int(sbvis_v, 0);
30570                    set_int(sbalways_v, 0);
30571                    set_int(sbalways_h, 0);
30572                    set_int(sbvis_timer, 0);
30573                }
30574            }
30575
30576            program { name: "vbar_show";
30577                signal: "elm,action,show,vbar";
30578                source: "elm";
30579                action:  STATE_SET "default" 0.0;
30580                target: "sb_vbar_clip_master";
30581            }
30582            program { name: "vbar_hide";
30583                signal: "elm,action,hide,vbar";
30584                source: "elm";
30585                action:  STATE_SET "hidden" 0.0;
30586                target: "sb_vbar_clip_master";
30587            }
30588            program { name: "vbar_show_always";
30589                signal: "elm,action,show_always,vbar";
30590                source: "elm";
30591                script {
30592                    new v;
30593                    v = get_int(sbvis_v);
30594                    v |= get_int(sbalways_v);
30595                    if (!v) {
30596                        set_int(sbalways_v, 1);
30597                        emit("do-show-vbar", "");
30598                        set_int(sbvis_v, 1);
30599                    }
30600                }
30601            }
30602            program { name: "vbar_show_notalways";
30603                signal: "elm,action,show_notalways,vbar";
30604                source: "elm";
30605                script {
30606                    new v;
30607                    v = get_int(sbalways_v);
30608                    if (v) {
30609                        set_int(sbalways_v, 0);
30610                        v = get_int(sbvis_v);
30611                        if (!v) {
30612                            emit("do-hide-vbar", "");
30613                            set_int(sbvis_v, 0);
30614                        }
30615                    }
30616                }
30617            }
30618            program { name: "sb_vbar_show";
30619                signal: "do-show-vbar";
30620                source: "";
30621                action:  STATE_SET "default" 0.0;
30622                transition: LINEAR 0.5;
30623                target: "sb_vbar_clip";
30624            }
30625            program { name: "sb_vbar_hide";
30626                signal: "do-hide-vbar";
30627                source: "";
30628                action:  STATE_SET "hidden" 0.0;
30629                transition: LINEAR 0.5;
30630                target: "sb_vbar_clip";
30631            }
30632
30633            program { name: "hbar_show";
30634                signal: "elm,action,show,hbar";
30635                source: "elm";
30636                action:  STATE_SET "default" 0.0;
30637                target: "sb_hbar_clip_master";
30638            }
30639            program { name: "hbar_hide";
30640                signal: "elm,action,hide,hbar";
30641                source: "elm";
30642                action:  STATE_SET "hidden" 0.0;
30643                target: "sb_hbar_clip_master";
30644            }
30645            program { name: "hbar_show_always";
30646                signal: "elm,action,show_always,hbar";
30647                source: "elm";
30648                script {
30649                    new v;
30650                    v = get_int(sbvis_h);
30651                    v |= get_int(sbalways_h);
30652                    if (!v) {
30653                        set_int(sbalways_h, 1);
30654                        emit("do-show-hbar", "");
30655                        set_int(sbvis_h, 1);
30656                    }
30657                }
30658            }
30659            program { name: "hbar_show_notalways";
30660                signal: "elm,action,show_notalways,hbar";
30661                source: "elm";
30662                script {
30663                    new v;
30664                    v = get_int(sbalways_h);
30665                    if (v) {
30666                        set_int(sbalways_h, 0);
30667                        v = get_int(sbvis_h);
30668                        if (!v) {
30669                            emit("do-hide-hbar", "");
30670                            set_int(sbvis_h, 0);
30671                        }
30672                    }
30673                }
30674            }
30675            program { name: "sb_hbar_show";
30676                signal: "do-show-hbar";
30677                source: "";
30678                action:  STATE_SET "default" 0.0;
30679                transition: LINEAR 0.5;
30680                target: "sb_hbar_clip";
30681            }
30682            program { name: "sb_hbar_hide";
30683                signal: "do-hide-hbar";
30684                source: "";
30685                action:  STATE_SET "hidden" 0.0;
30686                transition: LINEAR 0.5;
30687                target: "sb_hbar_clip";
30688            }
30689
30690            program { name: "scroll";
30691                signal: "elm,action,scroll";
30692                source: "elm";
30693                script {
30694                    new v;
30695                    v = get_int(sbvis_v);
30696                    v |= get_int(sbalways_v);
30697                    if (!v) {
30698                        emit("do-show-vbar", "");
30699                        set_int(sbvis_v, 1);
30700                    }
30701                    v = get_int(sbvis_h);
30702                    v |= get_int(sbalways_h);
30703                    if (!v) {
30704                        emit("do-show-hbar", "");
30705                        set_int(sbvis_h, 1);
30706                    }
30707                    v = get_int(sbvis_timer);
30708                    if (v > 0) cancel_timer(v);
30709                    v = timer(1.0, "timer0", 0);
30710                    set_int(sbvis_timer, v);
30711                }
30712            }
30713            program { name: "go1";
30714                signal: "elm,state,busy,start";
30715                source: "elm";
30716                action: STATE_SET "active" 0.0;
30717                transition: SINUSOIDAL 1.0;
30718                target:  "busy_clip";
30719            }
30720            program { name: "go2";
30721                signal: "elm,state,busy,start";
30722                source: "elm";
30723                action: STATE_SET "default" 0.0;
30724                transition: LINEAR 0.5;
30725                target: "busy";
30726                after:  "go2";
30727            }
30728            program { name: "stop1";
30729                signal: "elm,state,busy,stop";
30730                source: "elm";
30731                action: STATE_SET "default" 0.0;
30732                transition: SINUSOIDAL 1.0;
30733                target: "busy_clip";
30734                after: "stop2";
30735            }
30736          program { name: "stop2";
30737             action: ACTION_STOP;
30738             target: "go2";
30739          }
30740       }
30741    }
30742
30743    ///////////////////////////////////////////////////////////////////////////////
30744    group { name: "elm/map/base/default";
30745        script {
30746            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30747            public timer0(val) {
30748                new v;
30749                v = get_int(sbvis_v);
30750                if (v) {
30751                    v = get_int(sbalways_v);
30752                    if (!v) {
30753                        emit("do-hide-vbar", "");
30754                        set_int(sbvis_v, 0);
30755                    }
30756                }
30757                v = get_int(sbvis_h);
30758                if (v) {
30759                    v = get_int(sbalways_h);
30760                    if (!v) {
30761                        emit("do-hide-hbar", "");
30762                        set_int(sbvis_h, 0);
30763                    }
30764                }
30765                set_int(sbvis_timer, 0);
30766                return 0;
30767            }
30768        }
30769        images {
30770            image: "shelf_inset.png" COMP;
30771            image: "bt_sm_base2.png" COMP;
30772            image: "bt_sm_shine.png" COMP;
30773            image: "bt_sm_hilight.png" COMP;
30774            image: "busy-1.png" COMP;
30775            image: "busy-2.png" COMP;
30776            image: "busy-3.png" COMP;
30777            image: "busy-4.png" COMP;
30778            image: "busy-5.png" COMP;
30779            image: "busy-6.png" COMP;
30780            image: "busy-7.png" COMP;
30781            image: "busy-8.png" COMP;
30782            image: "busy-9.png" COMP;
30783        }
30784        parts {
30785            part { name: "bg";
30786                type: RECT;
30787                description { state: "default" 0.0;
30788                    rel1.offset: 1 1;
30789                    rel2.offset: -2 -2;
30790                    color: 255 255 255 0;
30791                }
30792            }
30793            part { name: "clipper";
30794                type: RECT;
30795                mouse_events: 0;
30796                description { state: "default" 0.0;
30797                    rel1.to: "bg";
30798                    rel2.to: "bg";
30799                }
30800            }
30801            part { name: "elm.swallow.content";
30802                clip_to: "clipper";
30803                type: SWALLOW;
30804                description { state: "default" 0.0;
30805                    rel1.offset: 1 1;
30806                    rel2.offset: -2 -2;
30807                }
30808            }
30809            part { name: "busy_clip";
30810                type: RECT;
30811                mouse_events: 0;
30812                description { state: "default" 0.0;
30813                    visible: 0;
30814                    color: 255 255 255 0;
30815                }
30816                description { state: "active" 0.0;
30817                    visible: 1;
30818                    color: 255 255 255 255;
30819                }
30820            }
30821            part { name: "busy";
30822                clip_to: "busy_clip";
30823                mouse_events: 0;
30824                description { state: "default" 0.0;
30825                    fixed: 1 1;
30826                    min: 32 32;
30827                    aspect: 1.0 1.0;
30828                    align: 1.0 1.0;
30829                    aspect_preference: BOTH;
30830                    rel1 {
30831                        relative: 0.9 0.9;
30832                        offset:   -9 -9;
30833                    }
30834                    rel2 {
30835                        relative: 0.9 0.9;
30836                        offset:   -9 -9;
30837                    }
30838                    image {
30839                        normal: "busy-9.png";
30840                        tween:  "busy-1.png";
30841                        tween:  "busy-2.png";
30842                        tween:  "busy-3.png";
30843                        tween:  "busy-4.png";
30844                        tween:  "busy-5.png";
30845                        tween:  "busy-6.png";
30846                        tween:  "busy-7.png";
30847                        tween:  "busy-8.png";
30848                    }
30849                }
30850            }
30851            part { name: "conf_over";
30852                mouse_events:  0;
30853                description { state: "default" 0.0;
30854                    rel1.offset: 0 0;
30855                    rel2.offset: -1 -1;
30856                    image {
30857                        normal: "shelf_inset.png";
30858                        border: 7 7 7 7;
30859                        middle: 0;
30860                    }
30861                    fill.smooth : 0;
30862                }
30863            }
30864            part { name: "sb_vbar_clip_master";
30865                type: RECT;
30866                mouse_events: 0;
30867                description { state: "default" 0.0;
30868                }
30869                description { state: "hidden" 0.0;
30870                    visible: 0;
30871                    color: 255 255 255 0;
30872                }
30873            }
30874            part { name: "sb_vbar_clip";
30875                clip_to: "sb_vbar_clip_master";
30876                type: RECT;
30877                mouse_events: 0;
30878                description { state: "default" 0.0;
30879                }
30880                description { state: "hidden" 0.0;
30881                    visible: 0;
30882                    color: 255 255 255 0;
30883                }
30884            }
30885            part { name: "sb_vbar";
30886                type: RECT;
30887                mouse_events: 0;
30888                description { state: "default" 0.0;
30889                    fixed: 1 1;
30890                    visible: 0;
30891                    min: 10 17;
30892                    align: 1.0 0.0;
30893                    rel1 {
30894                        relative: 1.0 0.0;
30895                        offset:   -2 0;
30896                    }
30897                    rel2 {
30898                        relative: 1.0 0.0;
30899                        offset:   -2 -1;
30900                        to_y:     "sb_hbar";
30901                    }
30902                }
30903            }
30904            part { name: "elm.dragable.vbar";
30905                clip_to: "sb_vbar_clip";
30906                mouse_events: 0;
30907                dragable {
30908                    x: 0 0 0;
30909                    y: 1 1 0;
30910                    confine: "sb_vbar";
30911                }
30912                description { state: "default" 0.0;
30913                    fixed: 1 1;
30914                    min: 10 17;
30915                    max: 10 99999;
30916                    rel1 {
30917                        relative: 0.5  0.5;
30918                        offset:   0    0;
30919                        to: "sb_vbar";
30920                    }
30921                    rel2 {
30922                        relative: 0.5  0.5;
30923                        offset:   0    0;
30924                        to: "sb_vbar";
30925                    }
30926                    image {
30927                        normal: "bt_sm_base2.png";
30928                        border: 6 6 6 6;
30929                        middle: SOLID;
30930                    }
30931                }
30932            }
30933            part { name: "sb_vbar_over1";
30934                clip_to: "sb_vbar_clip";
30935                mouse_events: 0;
30936                description { state: "default" 0.0;
30937                    rel1.to: "elm.dragable.vbar";
30938                    rel2.relative: 1.0 0.5;
30939                    rel2.to: "elm.dragable.vbar";
30940                    image {
30941                        normal: "bt_sm_hilight.png";
30942                        border: 6 6 6 0;
30943                    }
30944                }
30945            }
30946            part { name: "sb_vbar_over2";
30947                clip_to: "sb_vbar_clip";
30948                mouse_events: 0;
30949                description { state: "default" 0.0;
30950                    rel1.to: "elm.dragable.vbar";
30951                    rel2.to: "elm.dragable.vbar";
30952                    image {
30953                        normal: "bt_sm_shine.png";
30954                        border: 6 6 6 0;
30955                    }
30956                }
30957            }
30958
30959            part { name: "sb_hbar_clip_master";
30960                type: RECT;
30961                mouse_events: 0;
30962                description { state: "default" 0.0;
30963                }
30964                description { state: "hidden" 0.0;
30965                    visible: 0;
30966                    color: 255 255 255 0;
30967                }
30968            }
30969            part { name: "sb_hbar_clip";
30970                clip_to: "sb_hbar_clip_master";
30971                type: RECT;
30972                mouse_events: 0;
30973                description { state: "default" 0.0;
30974                }
30975                description { state: "hidden" 0.0;
30976                    visible: 0;
30977                    color: 255 255 255 0;
30978                }
30979            }
30980            part { name: "sb_hbar";
30981                type: RECT;
30982                mouse_events: 0;
30983                description { state: "default" 0.0;
30984                    fixed: 1 1;
30985                    visible: 0;
30986                    min: 17 10;
30987                    align: 0.0 1.0;
30988                    rel1 {
30989                        relative: 0.0 1.0;
30990                        offset:   0 -2;
30991                    }
30992                    rel2 {
30993                        relative: 0.0 1.0;
30994                        offset:   -1 -2;
30995                        to_x:     "sb_vbar";
30996                    }
30997                }
30998            }
30999            part { name: "elm.dragable.hbar";
31000                clip_to: "sb_hbar_clip";
31001                mouse_events: 0;
31002                dragable {
31003                    x: 1 1 0;
31004                    y: 0 0 0;
31005                    confine: "sb_hbar";
31006                }
31007                description { state: "default" 0.0;
31008                    fixed: 1 1;
31009                    min: 17 10;
31010                    max: 99999 10;
31011                    rel1 {
31012                        relative: 0.5  0.5;
31013                        offset:   0    0;
31014                        to: "sb_hbar";
31015                    }
31016                    rel2 {
31017                        relative: 0.5  0.5;
31018                        offset:   0    0;
31019                        to: "sb_hbar";
31020                    }
31021                    image {
31022                        normal: "bt_sm_base2.png";
31023                        border: 4 4 4 4;
31024                        middle: SOLID;
31025                    }
31026                }
31027            }
31028            part { name: "sb_hbar_over1";
31029                clip_to: "sb_hbar_clip";
31030                mouse_events: 0;
31031                description { state: "default" 0.0;
31032                    rel1.to: "elm.dragable.hbar";
31033                    rel2.relative: 1.0 0.5;
31034                    rel2.to: "elm.dragable.hbar";
31035                    image {
31036                        normal: "bt_sm_hilight.png";
31037                        border: 4 4 4 0;
31038                    }
31039                }
31040            }
31041            part { name: "sb_hbar_over2";
31042                clip_to: "sb_hbar_clip";
31043                mouse_events: 0;
31044                description { state: "default" 0.0;
31045                    rel1.to: "elm.dragable.hbar";
31046                    rel2.to: "elm.dragable.hbar";
31047                    image {
31048                        normal: "bt_sm_shine.png";
31049                        border: 4 4 4 0;
31050                    }
31051                }
31052            }
31053        }
31054        programs {
31055            program { name: "load";
31056                signal: "load";
31057                source: "";
31058                script {
31059                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31060                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31061                    set_int(sbvis_h, 0);
31062                    set_int(sbvis_v, 0);
31063                    set_int(sbalways_v, 0);
31064                    set_int(sbalways_h, 0);
31065                    set_int(sbvis_timer, 0);
31066                }
31067            }
31068
31069            program { name: "vbar_show";
31070                signal: "elm,action,show,vbar";
31071                source: "elm";
31072                action:  STATE_SET "default" 0.0;
31073                target: "sb_vbar_clip_master";
31074            }
31075            program { name: "vbar_hide";
31076                signal: "elm,action,hide,vbar";
31077                source: "elm";
31078                action:  STATE_SET "hidden" 0.0;
31079                target: "sb_vbar_clip_master";
31080            }
31081            program { name: "vbar_show_always";
31082                signal: "elm,action,show_always,vbar";
31083                source: "elm";
31084                script {
31085                    new v;
31086                    v = get_int(sbvis_v);
31087                    v |= get_int(sbalways_v);
31088                    if (!v) {
31089                        set_int(sbalways_v, 1);
31090                        emit("do-show-vbar", "");
31091                        set_int(sbvis_v, 1);
31092                    }
31093                }
31094            }
31095            program { name: "vbar_show_notalways";
31096                signal: "elm,action,show_notalways,vbar";
31097                source: "elm";
31098                script {
31099                    new v;
31100                    v = get_int(sbalways_v);
31101                    if (v) {
31102                        set_int(sbalways_v, 0);
31103                        v = get_int(sbvis_v);
31104                        if (!v) {
31105                            emit("do-hide-vbar", "");
31106                            set_int(sbvis_v, 0);
31107                        }
31108                    }
31109                }
31110            }
31111            program { name: "sb_vbar_show";
31112                signal: "do-show-vbar";
31113                source: "";
31114                action:  STATE_SET "default" 0.0;
31115                transition: LINEAR 0.5;
31116                target: "sb_vbar_clip";
31117            }
31118            program { name: "sb_vbar_hide";
31119                signal: "do-hide-vbar";
31120                source: "";
31121                action:  STATE_SET "hidden" 0.0;
31122                transition: LINEAR 0.5;
31123                target: "sb_vbar_clip";
31124            }
31125
31126            program { name: "hbar_show";
31127                signal: "elm,action,show,hbar";
31128                source: "elm";
31129                action:  STATE_SET "default" 0.0;
31130                target: "sb_hbar_clip_master";
31131            }
31132            program { name: "hbar_hide";
31133                signal: "elm,action,hide,hbar";
31134                source: "elm";
31135                action:  STATE_SET "hidden" 0.0;
31136                target: "sb_hbar_clip_master";
31137            }
31138            program { name: "hbar_show_always";
31139                signal: "elm,action,show_always,hbar";
31140                source: "elm";
31141                script {
31142                    new v;
31143                    v = get_int(sbvis_h);
31144                    v |= get_int(sbalways_h);
31145                    if (!v) {
31146                        set_int(sbalways_h, 1);
31147                        emit("do-show-hbar", "");
31148                        set_int(sbvis_h, 1);
31149                    }
31150                }
31151            }
31152            program { name: "hbar_show_notalways";
31153                signal: "elm,action,show_notalways,hbar";
31154                source: "elm";
31155                script {
31156                    new v;
31157                    v = get_int(sbalways_h);
31158                    if (v) {
31159                        set_int(sbalways_h, 0);
31160                        v = get_int(sbvis_h);
31161                        if (!v) {
31162                            emit("do-hide-hbar", "");
31163                            set_int(sbvis_h, 0);
31164                        }
31165                    }
31166                }
31167            }
31168            program { name: "sb_hbar_show";
31169                signal: "do-show-hbar";
31170                source: "";
31171                action:  STATE_SET "default" 0.0;
31172                transition: LINEAR 0.5;
31173                target: "sb_hbar_clip";
31174            }
31175            program { name: "sb_hbar_hide";
31176                signal: "do-hide-hbar";
31177                source: "";
31178                action:  STATE_SET "hidden" 0.0;
31179                transition: LINEAR 0.5;
31180                target: "sb_hbar_clip";
31181            }
31182
31183            program { name: "scroll";
31184                signal: "elm,action,scroll";
31185                source: "elm";
31186                script {
31187                    new v;
31188                    v = get_int(sbvis_v);
31189                    v |= get_int(sbalways_v);
31190                    if (!v) {
31191                        emit("do-show-vbar", "");
31192                        set_int(sbvis_v, 1);
31193                    }
31194                    v = get_int(sbvis_h);
31195                    v |= get_int(sbalways_h);
31196                    if (!v) {
31197                        emit("do-show-hbar", "");
31198                        set_int(sbvis_h, 1);
31199                    }
31200                    v = get_int(sbvis_timer);
31201                    if (v > 0) cancel_timer(v);
31202                    v = timer(1.0, "timer0", 0);
31203                    set_int(sbvis_timer, v);
31204                }
31205            }
31206            program { name: "go1";
31207                signal: "elm,state,busy,start";
31208                source: "elm";
31209                action: STATE_SET "active" 0.0;
31210                transition: SINUSOIDAL 1.0;
31211                target:  "busy_clip";
31212            }
31213            program { name: "go2";
31214                signal: "elm,state,busy,start";
31215                source: "elm";
31216                action: STATE_SET "default" 0.0;
31217                transition: LINEAR 0.5;
31218                target: "busy";
31219                after:  "go2";
31220            }
31221            program { name: "stop1";
31222                signal: "elm,state,busy,stop";
31223                source: "elm";
31224                action: STATE_SET "default" 0.0;
31225                transition: SINUSOIDAL 1.0;
31226                target: "busy_clip";
31227                after: "stop2";
31228            }
31229          program { name: "stop2";
31230             action: ACTION_STOP;
31231             target: "go2";
31232          }
31233       }
31234    }
31235    group { name: "elm/map/marker/radio/default";
31236         data {
31237             item: size_w 24;
31238             item: size_h 24;
31239             item: size_max_w 58;
31240             item: size_max_h 58;
31241         }
31242         images {
31243                 image: "map_item.png" COMP;
31244         }
31245         parts {
31246             part { name: "whole";
31247                 description { state: "default" 0.0;
31248                 }
31249             }
31250             part { name: "base";
31251                 ignore_flags: ON_HOLD;
31252                 description { state: "default" 0.0;
31253                     image.normal: "map_item.png";
31254                 }
31255             }
31256             part { name: "elm.icon";
31257                 type: SWALLOW;
31258                 clip_to: "whole";
31259                 mouse_events:  0;
31260                 description { state: "default" 0.0;
31261                     rel1.relative: 0.27 0.27;
31262                     rel2.relative: 0.73 0.73;
31263                 }
31264             }
31265             part { name: "elm.text";
31266                 type:          TEXT;
31267                 effect:        SOFT_SHADOW;
31268                 mouse_events:  0;
31269                 scale: 1;
31270                 description { state: "default" 0.0;
31271                     align:    0.5 0.5;
31272                     color: 224 224 224 255;
31273                     color3: 0 0 0 64;
31274                     rel1.relative: 0.28 0.25;
31275                     rel2.relative: 0.75 0.75;
31276                     text {
31277                         font:     "Sans,Edje-Vera";
31278                         size:     10;
31279                         min:      0 0;
31280                         align:    0.5 0.5;
31281                     }
31282                 }
31283             }
31284        }
31285        programs {
31286             program { name: "open";
31287                 signal: "mouse,clicked,1";
31288                 source: "base";
31289                 action: SIGNAL_EMIT "open" "elm";
31290             }
31291             program { name: "bringin";
31292                 signal: "mouse,down,1,double";
31293                 source: "base";
31294                 action: SIGNAL_EMIT "bringin" "elm";
31295             }
31296        }
31297    }
31298    group { name: "elm/map/marker/radio2/default";
31299         data {
31300             item: size_w 24;
31301             item: size_h 24;
31302             item: size_max_w 58;
31303             item: size_max_h 58;
31304         }
31305         images {
31306                 image: "map_item_2.png" COMP;
31307         }
31308         parts {
31309             part { name: "base";
31310                 ignore_flags: ON_HOLD;
31311                 description { state: "default" 0.0;
31312                     image.normal: "map_item_2.png";
31313                 }
31314             }
31315             part { name: "elm.text";
31316                 type:          TEXT;
31317                 effect:        SOFT_SHADOW;
31318                 mouse_events:  0;
31319                 scale: 1;
31320                 description { state: "default" 0.0;
31321                     align:    0.5 0.5;
31322                     color: 224 224 224 255;
31323                     color3: 0 0 0 64;
31324                     rel1.relative: 0.28 0.25;
31325                     rel2.relative: 0.75 0.75;
31326                     text {
31327                         font:     "Sans,Edje-Vera";
31328                         size:     10;
31329                         min:      0 0;
31330                         align:    0.5 0.5;
31331                     }
31332                 }
31333             }
31334        }
31335        programs {
31336             program { name: "open";
31337                 signal: "mouse,clicked,1";
31338                 source: "base";
31339                 action: SIGNAL_EMIT "open" "elm";
31340             }
31341             program { name: "bringin";
31342                 signal: "mouse,down,1,double";
31343                 source: "base";
31344                 action: SIGNAL_EMIT "bringin" "elm";
31345             }
31346        }
31347    }
31348    group { name: "elm/map/marker/empty/default";
31349         data {
31350             item: size_w 22;
31351             item: size_h 22;
31352             item: size_max_w 64;
31353             item: size_max_h 64;
31354         }
31355         parts {
31356             part { name: "whole";
31357                 description { state: "default" 0.0;
31358                 }
31359             }
31360             part { name: "base";
31361                 ignore_flags: ON_HOLD;
31362                 description { state: "default" 0.0;
31363                 }
31364             }
31365             part { name: "elm.icon";
31366                 type: SWALLOW;
31367                 clip_to: "whole";
31368                 mouse_events:  0;
31369                 description { state: "default" 0.0;
31370                 }
31371             }
31372             part { name: "elm.text";
31373                 type:          TEXT;
31374                 effect:        SOFT_SHADOW;
31375                 mouse_events:  0;
31376                 scale: 1;
31377                 description { state: "default" 0.0;
31378                     align:    0.5 0.5;
31379                     color: 224 224 224 255;
31380                     color3: 0 0 0 64;
31381                     rel1.relative: 0.28 0.25;
31382                     rel2.relative: 0.75 0.75;
31383                     text {
31384                         font:     "Sans,Edje-Vera";
31385                         size:     10;
31386                         min:      0 0;
31387                         align:    0.5 0.5;
31388                     }
31389                 }
31390             }
31391        }
31392        programs {
31393             program { name: "open";
31394                 signal: "mouse,clicked,1";
31395                 source: "base";
31396                 action: SIGNAL_EMIT "open" "elm";
31397             }
31398             program { name: "bringin";
31399                 signal: "mouse,down,1,double";
31400                 source: "base";
31401                 action: SIGNAL_EMIT "bringin" "elm";
31402             }
31403        }
31404    }
31405    group { name: "elm/map/marker_bubble/default";
31406     images {
31407       image: "bubble.png" COMP;
31408       image: "bubble_shine.png" COMP;
31409     }
31410     data {
31411             item: size_w 400;
31412             item: size_h 100;
31413         }
31414     parts {
31415     part { name: "clipper";
31416         mouse_events:  1;
31417         description { state: "default" 0.0;
31418           color: 255 255 255 0;
31419         }
31420         description { state: "show" 0.0;
31421             inherit: "default" 0.0;
31422             color: 255 255 255 255;
31423         }
31424       }
31425      part { name: "base0";
31426         mouse_events:  0;
31427         clip_to: "clipper";
31428         description { state: "default" 0.0;
31429           image {
31430             normal: "bubble.png";
31431             border: 11 36 10 19;
31432           }
31433           image.middle: SOLID;
31434           fill.smooth: 0;
31435         }
31436         description { state: "rtl" 0.0;
31437            inherit: "default" 0.0;
31438            image {
31439               normal: "bubble_4.png";
31440               border: 11 36 18 9;
31441            }
31442         }
31443       }
31444       part { name: "elm.swallow.content";
31445         type: SWALLOW;
31446         clip_to: "clipper";
31447         description { state: "default" 0.0;
31448             align: 0.5 0.5;
31449           rel1 {
31450             offset: 9 8;
31451           }
31452           rel2 {
31453             offset: -10 -17;
31454           }
31455         }
31456       }
31457       part { name: "shine";
31458         mouse_events:  0;
31459         clip_to: "clipper";
31460         description { state:    "default" 0.0;
31461           rel1 {
31462             to: "base0";
31463           }
31464           rel2 {
31465             to: "base0";
31466             relative: 1.0 0.5;
31467           }
31468           image {
31469             normal: "bubble_shine.png";
31470             border: 5 5 5 0;
31471           }
31472           fill.smooth: 0;
31473         }
31474         }
31475     }
31476     programs {
31477         program { name: "show";
31478             signal: "show";
31479             action: STATE_SET "show" 0.0;
31480             target: "clipper";
31481             transition: ACCELERATE 0.5;
31482         }
31483     }
31484   }
31485
31486 /////////////////////////////////////////////////////////////////////////////
31487 // PANES
31488 /////////////////////////////////////////////////////////////////////////////
31489   group {
31490      name: "elm/panes/vertical/default";
31491       images {
31492          image: "bt_base1.png" COMP;
31493          image: "bt_base2.png" COMP;
31494          image: "bt_hilight.png" COMP;
31495          image: "bt_shine.png" COMP;
31496          image: "bt_glow.png" COMP;
31497          image: "bt_dis_base.png" COMP;
31498          image: "bt_dis_hilight.png" COMP;
31499          image: "arrow_right.png" COMP;
31500          image: "arrow_left.png" COMP;
31501       }
31502      parts
31503        {
31504           part
31505             {
31506                name: "whole";
31507                type: RECT;
31508                mouse_events: 0;
31509                description
31510                  {
31511                     state: "default" 0.0;
31512                     visible: 0;
31513                  }
31514             }
31515
31516          //2 contents
31517           part
31518             {
31519                name: "whole_left";
31520                type: RECT;
31521                mouse_events: 0;
31522                description
31523                  {
31524                     state: "default" 0.0;
31525                     rel2.to_x: "elm.bar";
31526                     rel2.relative: 0.0 1.0;
31527                     visible: 1;
31528                  }
31529             }
31530           part
31531             {
31532                name: "elm.swallow.left";
31533                type: SWALLOW;
31534                clip_to: "whole_left";
31535                description
31536                  {
31537                     state: "default" 0.0;
31538                     rel1.to: "whole_left";
31539                     rel2.to: "whole_left";
31540                  }
31541             }
31542
31543             part
31544             {
31545                name: "whole_right";
31546                type: RECT;
31547                mouse_events: 0;
31548                description
31549                  {
31550                     state: "default" 0.0;
31551                     rel1.to_x: "elm.bar";
31552                     rel1.relative: 1.0 0.0;
31553                     visible: 1;
31554                  }
31555             }
31556           part
31557             {
31558                name: "elm.swallow.right";
31559                type: SWALLOW;
31560                clip_to: "whole_right";
31561                description
31562                  {
31563                     state: "default" 0.0;
31564                     rel1.to: "whole_right";
31565                     rel2.to: "whole_right";
31566                  }
31567             }
31568          //BAR
31569          part { name: "elm.bar";
31570             mouse_events: 1;
31571             dragable {
31572                confine: "whole";
31573                x: 1 1 1;
31574                y: 0 0 0;
31575             }
31576             description { state: "default" 0.0;
31577                max: 15 9999;
31578                min: 15 100;
31579                rel1.relative: 0.0 0.5;
31580                rel2.relative: 1.0 0.5;
31581                image {
31582                   normal: "bt_base2.png";
31583                   border: 7 7 7 7;
31584                }
31585                image.middle: SOLID;
31586             }
31587             description { state: "clicked" 0.0;
31588                inherit: "default" 0.0;
31589                image.normal: "bt_base1.png";
31590                image.middle: SOLID;
31591             }
31592             description { state: "disabled" 0.0;
31593                inherit:  "default" 0.0;
31594                image {
31595                   normal: "bt_dis_base.png";
31596                   border: 4 4 4 4;
31597                }
31598             }
31599          }
31600          part {          name: "over1";
31601             mouse_events: 0;
31602             description { state: "default" 0.0;
31603             rel1.to: "elm.bar";
31604             rel2.to: "elm.bar";
31605                rel2.relative: 1.0 0.5;
31606                image {
31607                   normal: "bt_hilight.png";
31608                   border: 7 7 7 0;
31609                }
31610             }
31611             description { state: "disabled" 0.0;
31612                inherit:  "default" 0.0;
31613                image {
31614                   normal: "bt_dis_hilight.png";
31615                   border: 4 4 4 0;
31616                }
31617             }
31618          }
31619          part { name: "over2";
31620             mouse_events: 1;
31621             repeat_events: 1;
31622             ignore_flags: ON_HOLD;
31623             description { state: "default" 0.0;
31624             rel1.to: "elm.bar";
31625             rel2.to: "elm.bar";
31626                image {
31627                   normal: "bt_shine.png";
31628                   border: 7 7 7 7;
31629                }
31630             }
31631             description { state: "disabled" 0.0;
31632                inherit:  "default" 0.0;
31633                visible: 0;
31634             }
31635          }
31636          part { name: "over3";
31637             mouse_events: 1;
31638             repeat_events: 1;
31639             description { state: "default" 0.0;
31640                color: 255 255 255 0;
31641             rel1.to: "elm.bar";
31642             rel2.to: "elm.bar";
31643                image {
31644                   normal: "bt_glow.png";
31645                   border: 12 12 12 12;
31646                }
31647                fill.smooth : 0;
31648             }
31649             description { state: "clicked" 0.0;
31650                inherit:  "default" 0.0;
31651                visible: 1;
31652                color: 255 255 255 255;
31653             }
31654          }
31655
31656          //Arrow
31657          part {
31658             name: "arrow_right";
31659             repeat_events: 1;
31660             description { state: "default" 0.0;
31661                 min: 45 45;
31662                 max: 45 45;
31663                 color: 255 255 255 0;
31664
31665                 rel1.relative: 1.0 0.5;
31666                 rel1.to_x: "elm.bar";
31667                 rel1.offset: 45/2 -45/2;
31668
31669                 rel2.relative: 1.0 0.5;
31670                 rel2.to_x: "elm.bar";
31671                 rel2.offset: 45/2 45/2;
31672
31673                 image.normal: "arrow_right.png";
31674
31675                 fixed: 1 1;
31676             }
31677             description { state: "default" 0.1;
31678                 inherit: "default" 0.0;
31679                 image.normal: "arrow_left.png";
31680             }
31681             description { state: "anim_1" 0.0;
31682                 inherit: "default" 0.0;
31683                 color: 255 255 255 200;
31684                 rel1.offset: (45/2 + 10) -45/2;
31685                 rel2.offset: (45/2 +10) 45/2;
31686             }
31687             description { state: "anim_1" 0.1;
31688                 inherit: "default" 0.0;
31689                 image.normal: "arrow_left.png";
31690                 color: 255 255 255 200;
31691                 rel1.offset: (45/2 + 10) -45/2;
31692                 rel2.offset: (45/2 +10) 45/2;
31693             }
31694             description { state: "anim_2" 0.0;
31695                 inherit: "default" 0.0;
31696                 color: 255 255 255 0;
31697                 rel1.offset: (45/2 + 20) -45/2;
31698                 rel2.offset: (45/2 + 20) 45/2;
31699             }
31700             description { state: "anim_2" 0.1;
31701                 inherit: "default" 0.0;
31702                 image.normal: "arrow_left.png";
31703                 color: 255 255 255 0;
31704                 rel1.offset: (45/2 + 20) -45/2;
31705                 rel2.offset: (45/2 + 20) 45/2;
31706             }
31707          }
31708         part {
31709             name: "arrow_left";
31710             repeat_events: 1;
31711             description { state: "default" 0.0;
31712                 min: 45 45;
31713                 max: 45 45;
31714                 color: 255 255 255 0;
31715
31716                 rel1.relative: 0.0 0.5;
31717                 rel1.to_x: "elm.bar";
31718                 rel1.offset: -45/2 -45/2;
31719
31720                 rel2.relative: 0.0 0.5;
31721                 rel2.to_x: "elm.bar";
31722                 rel2.offset: -45/2 45/2;
31723
31724                 image.normal: "arrow_left.png";
31725
31726                 fixed: 1 1;
31727             }
31728             description { state: "default" 0.1;
31729                 inherit: "default" 0.0;
31730                 image.normal: "arrow_right.png";
31731             }
31732             description { state: "anim_1" 0.0;
31733                 inherit: "default" 0.0;
31734                 color: 255 255 255 200;
31735                 rel1.offset: (-45/2 - 10) -45/2;
31736                 rel2.offset: (-45/2 - 10) 45/2;
31737             }
31738             description { state: "anim_1" 0.1;
31739                 inherit: "default" 0.0;
31740                 image.normal: "arrow_right.png";
31741                 color: 255 255 255 200;
31742                 rel1.offset: (-45/2 - 10) -45/2;
31743                 rel2.offset: (-45/2 - 10) 45/2;
31744             }
31745             description { state: "anim_2" 0.0;
31746                 inherit: "default" 0.0;
31747                 color: 255 255 255 0;
31748                 rel1.offset: (-45/2 - 20) -45/2;
31749                 rel2.offset: (-45/2 - 20) 45/2;
31750             }
31751             description { state: "anim_2" 0.1;
31752                 inherit: "default" 0.0;
31753                 image.normal: "arrow_right.png";
31754                 color: 255 255 255 0;
31755                 rel1.offset: (-45/2 - 20) -45/2;
31756                 rel2.offset: (-45/2 - 20) 45/2;
31757             }
31758          }
31759
31760        }
31761         programs {
31762          program {
31763             name:   "button_click";
31764             signal: "mouse,down,1";
31765             source: "over2";
31766             action: SIGNAL_EMIT "elm,action,press" "";
31767             after: "button_click_anim";
31768             after: "arrow_anim_start";
31769          }
31770          program {
31771             name:   "button_click_anim";
31772             action: STATE_SET "clicked" 0.0;
31773             target: "elm.bar";
31774          }
31775          program {
31776             name:   "button_unclick";
31777             signal: "mouse,up,1";
31778             source: "over2";
31779             action: SIGNAL_EMIT "elm,action,unpress" "";
31780             after: "button_unclick_anim";
31781             after: "arrow_anim_stop";
31782          }
31783          program {
31784             name:   "button_unclick_anim";
31785             action: STATE_SET "default" 0.0;
31786             target: "elm.bar";
31787          }
31788          program {
31789             name:   "button_click2";
31790             signal: "mouse,down,1";
31791             source: "over3";
31792             action: STATE_SET "clicked" 0.0;
31793             target: "over3";
31794          }
31795          program {
31796             name:   "button_unclick2";
31797             signal: "mouse,up,1";
31798             source: "over3";
31799             action: STATE_SET "default" 0.0;
31800             transition: DECELERATE 0.5;
31801             target: "over3";
31802          }
31803          program {
31804             name:   "button_unclick3";
31805             signal: "mouse,up,1";
31806             source: "over2";
31807             action: SIGNAL_EMIT "elm,action,click" "";
31808          }
31809          program {
31810             name:   "button_down_double";
31811             signal: "mouse,down,1,double";
31812             source: "over3";
31813             action: SIGNAL_EMIT "elm,action,click,double" "";
31814          }
31815
31816          //arrows animation
31817          program {
31818             name: "arrow_anim_start";
31819             script {
31820                new st[31];
31821                new Float:vl;
31822                get_state(PART:"arrow_left", st, 30, vl);
31823                if (vl == 0.0) {
31824                   run_program(PROGRAM:"arrow_anim_start_ltr");
31825                }
31826                else {
31827                   run_program(PROGRAM:"arrow_anim_start_rtl");
31828                }
31829             }
31830          }
31831          program {
31832             name: "arrow_anim_stop";
31833             script {
31834                new st[31];
31835                new Float:vl;
31836                get_state(PART:"arrow_left", st, 30, vl);
31837                if (vl == 0.0) {
31838                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31839                }
31840                else {
31841                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31842                }
31843             }
31844          }
31845
31846          program {
31847             name: "arrow_anim_start_ltr";
31848             action: STATE_SET "anim_1" 0.0;
31849             target: "arrow_right";
31850             target: "arrow_left";
31851             transition: LINEAR 0.6;
31852             after: "arrow_anim_1_ltr";
31853          }
31854          program {
31855             name: "arrow_anim_1_ltr";
31856             action: STATE_SET "anim_2" 0.0;
31857             target: "arrow_right";
31858             target: "arrow_left";
31859             transition: LINEAR 0.6;
31860             after: "arrow_anim_2_ltr";
31861          }
31862          program {
31863             name: "arrow_anim_2_ltr";
31864             action: STATE_SET "default" 0.0;
31865             target: "arrow_right";
31866             target: "arrow_left";
31867             after: "arrow_anim_start_ltr";
31868          }
31869          program {
31870             name: "arrow_anim_stop_ltr";
31871             action: ACTION_STOP;
31872             target: "arrow_anim_start_ltr";
31873             target: "arrow_anim_1_ltr";
31874             target: "arrow_anim_2_ltr";
31875             after: "arrow_anim_stop_1_ltr";
31876          }
31877          program {
31878             name: "arrow_anim_stop_1_ltr";
31879             action: STATE_SET "default" 0.0;
31880             target: "arrow_right";
31881             target: "arrow_left";
31882             transition: DECELERATE 0.4;
31883         }
31884          program {
31885             name: "arrow_anim_start_rtl";
31886             action: STATE_SET "anim_1" 0.1;
31887             target: "arrow_right";
31888             target: "arrow_left";
31889             transition: LINEAR 0.6;
31890             after: "arrow_anim_1_rtl";
31891          }
31892          program {
31893             name: "arrow_anim_1_rtl";
31894             action: STATE_SET "anim_2" 0.1;
31895             target: "arrow_right";
31896             target: "arrow_left";
31897             transition: LINEAR 0.6;
31898             after: "arrow_anim_2_rtl";
31899          }
31900          program {
31901             name: "arrow_anim_2_rtl";
31902             action: STATE_SET "default" 0.1;
31903             target: "arrow_right";
31904             target: "arrow_left";
31905             after: "arrow_anim_start_rtl";
31906          }
31907          program {
31908             name: "arrow_anim_stop_rtl";
31909             action: ACTION_STOP;
31910             target: "arrow_anim_start_rtl";
31911             target: "arrow_anim_1_rtl";
31912             target: "arrow_anim_2_rtl";
31913             after: "arrow_anim_stop_1_rtl";
31914          }
31915          program {
31916             name: "arrow_anim_stop_1_rtl";
31917             action: STATE_SET "default" 0.1;
31918             target: "arrow_right";
31919             target: "arrow_left";
31920             transition: DECELERATE 0.4;
31921         }
31922          program { name: "to_rtl";
31923             signal: "edje,state,rtl";
31924             source: "edje";
31925             script {
31926                new st[31];
31927                new Float:vl;
31928                get_state(PART:"arrow_left", st, 30, vl);
31929                if (vl == 0.0) {
31930                   set_state(PART:"arrow_left", st, 0.1);
31931                }
31932                get_state(PART:"arrow_right", st, 30, vl);
31933                if (vl == 0.0) {
31934                   set_state(PART:"arrow_right", st, 0.1);
31935                }
31936             }
31937          }
31938          program { name: "to_ltr";
31939             signal: "edje,state,ltr";
31940             source: "edje";
31941             script {
31942                new st[31];
31943                new Float:vl;
31944                get_state(PART:"arrow_left", st, 30, vl);
31945                if (vl == 0.1) {
31946                   set_state(PART:"arrow_left", st, 0.0);
31947                }
31948                get_state(PART:"arrow_right", st, 30, vl);
31949                if (vl == 0.1) {
31950                   set_state(PART:"arrow_right", st, 0.0);
31951                }
31952             }
31953          }
31954       }
31955   }
31956
31957   group {
31958      name: "elm/panes/horizontal/default";
31959       images {
31960          image: "bt_base1.png" COMP;
31961          image: "bt_base2.png" COMP;
31962          image: "bt_hilight.png" COMP;
31963          image: "bt_shine.png" COMP;
31964          image: "bt_glow.png" COMP;
31965          image: "bt_dis_base.png" COMP;
31966          image: "bt_dis_hilight.png" COMP;
31967          image: "arrow_up.png" COMP;
31968          image: "arrow_down.png" COMP;
31969       }
31970      parts
31971        {
31972           part
31973             {
31974                name: "whole";
31975                type: RECT;
31976                mouse_events: 0;
31977                description
31978                  {
31979                     state: "default" 0.0;
31980                     visible: 0;
31981                  }
31982             }
31983
31984          //2 contents
31985           part
31986             {
31987                name: "whole_left";
31988                type: RECT;
31989                mouse_events: 0;
31990                description
31991                  {
31992                     state: "default" 0.0;
31993                     rel2.to_y: "elm.bar";
31994                     rel2.relative: 1.0 0.0;
31995                     visible: 1;
31996                  }
31997             }
31998           part
31999             {
32000                name: "elm.swallow.left";
32001                type: SWALLOW;
32002                clip_to: "whole_left";
32003                description
32004                  {
32005                     state: "default" 0.0;
32006                     rel1.to: "whole_left";
32007                     rel2.to: "whole_left";
32008                  }
32009             }
32010
32011             part
32012             {
32013                name: "whole_right";
32014                type: RECT;
32015                mouse_events: 0;
32016                description
32017                  {
32018                     state: "default" 0.0;
32019                     rel1.to_y: "elm.bar";
32020                     rel1.relative: 0.0 1.0;
32021                     visible: 1;
32022                  }
32023             }
32024           part
32025             {
32026                name: "elm.swallow.right";
32027                type: SWALLOW;
32028                clip_to: "whole_right";
32029                description
32030                  {
32031                     state: "default" 0.0;
32032                     rel1.to: "whole_right";
32033                     rel2.to: "whole_right";
32034                  }
32035             }
32036          //BAR
32037          part { name: "elm.bar";
32038             mouse_events: 1;
32039             dragable {
32040                confine: "whole";
32041                x: 0 0 0;
32042                y: 1 1 1;
32043             }
32044             description { state: "default" 0.0;
32045                max: 999 15;
32046                min: 100 15;
32047                rel1.relative: 0.5 0.0;
32048                rel2.relative: 0.5 1.0;
32049                image {
32050                   normal: "bt_base2.png";
32051                   border: 7 7 7 7;
32052                }
32053                image.middle: SOLID;
32054             }
32055             description { state: "clicked" 0.0;
32056                inherit: "default" 0.0;
32057                image.normal: "bt_base1.png";
32058                image.middle: SOLID;
32059             }
32060             description { state: "disabled" 0.0;
32061                inherit:  "default" 0.0;
32062                image {
32063                   normal: "bt_dis_base.png";
32064                   border: 4 4 4 4;
32065                }
32066             }
32067          }
32068          part {          name: "over1";
32069             mouse_events: 0;
32070             description { state: "default" 0.0;
32071             rel1.to: "elm.bar";
32072             rel2.to: "elm.bar";
32073                rel2.relative: 1.0 0.5;
32074                image {
32075                   normal: "bt_hilight.png";
32076                   border: 7 7 7 0;
32077                }
32078             }
32079             description { state: "disabled" 0.0;
32080                inherit:  "default" 0.0;
32081                image {
32082                   normal: "bt_dis_hilight.png";
32083                   border: 4 4 4 0;
32084                }
32085             }
32086          }
32087          part { name: "over2";
32088             mouse_events: 1;
32089             repeat_events: 1;
32090             ignore_flags: ON_HOLD;
32091             description { state: "default" 0.0;
32092             rel1.to: "elm.bar";
32093             rel2.to: "elm.bar";
32094                image {
32095                   normal: "bt_shine.png";
32096                   border: 7 7 7 7;
32097                }
32098             }
32099             description { state: "disabled" 0.0;
32100                inherit:  "default" 0.0;
32101                visible: 0;
32102             }
32103          }
32104          part { name: "over3";
32105             mouse_events: 1;
32106             repeat_events: 1;
32107             description { state: "default" 0.0;
32108                color: 255 255 255 0;
32109             rel1.to: "elm.bar";
32110             rel2.to: "elm.bar";
32111                image {
32112                   normal: "bt_glow.png";
32113                   border: 12 12 12 12;
32114                }
32115                fill.smooth : 0;
32116             }
32117             description { state: "clicked" 0.0;
32118                inherit:  "default" 0.0;
32119                visible: 1;
32120                color: 255 255 255 255;
32121             }
32122          }
32123
32124          //Arrow
32125          part {
32126             name: "arrow_right";
32127             repeat_events: 1;
32128             description { state: "default" 0.0;
32129                 min: 45 45;
32130                 max: 45 45;
32131                 color: 255 255 255 0;
32132
32133                 rel1.relative: 0.5 1.0;
32134                 rel1.to_y: "elm.bar";
32135                 rel1.offset: -45/2 45/2;
32136
32137                 rel2.relative: 0.5 1.0;
32138                 rel2.to_y: "elm.bar";
32139                 rel2.offset: 45/2 45/2;
32140
32141                 image.normal: "arrow_down.png";
32142
32143                 fixed: 1 1;
32144             }
32145             description { state: "anim_1" 0.0;
32146                 inherit: "default" 0.0;
32147                 color: 255 255 255 200;
32148                 rel1.offset: -45/2 (45/2 +10);
32149                 rel2.offset: 45/2 (45/2 +10);
32150             }
32151             description { state: "anim_2" 0.0;
32152                 inherit: "default" 0.0;
32153                 color: 255 255 255 0;
32154                 rel1.offset: -45/2 (45/2 + 20);
32155                 rel2.offset: 45/2 (45/2 + 20);
32156             }
32157          }
32158         part {
32159             name: "arrow_left";
32160             repeat_events: 1;
32161             description { state: "default" 0.0;
32162                 min: 45 45;
32163                 max: 45 45;
32164                 color: 255 255 255 0;
32165
32166                 rel1.relative: 0.5 0.0;
32167                 rel1.to_y: "elm.bar";
32168                 rel1.offset: -45/2 -45/2;
32169
32170                 rel2.relative: 0.5 0.0;
32171                 rel2.to_y: "elm.bar";
32172                 rel2.offset: 45/2 -45/2;
32173
32174                 image.normal: "arrow_up.png";
32175
32176                 fixed: 1 1;
32177             }
32178             description { state: "anim_1" 0.0;
32179                 inherit: "default" 0.0;
32180                 color: 255 255 255 200;
32181                 rel1.offset: -45/2 (-45/2 - 10);
32182                 rel2.offset: 45/2 (-45/2 - 10);
32183             }
32184             description { state: "anim_2" 0.0;
32185                 inherit: "default" 0.0;
32186                 color: 255 255 255 0;
32187                 rel1.offset: -45/2 (-45/2 - 20);
32188                 rel2.offset: 45/2 (-45/2 - 20);
32189             }
32190          }
32191
32192        }
32193         programs {
32194          program {
32195             name:   "button_click";
32196             signal: "mouse,down,1";
32197             source: "over2";
32198             action: SIGNAL_EMIT "elm,action,press" "";
32199             after: "button_click_anim";
32200             after: "arrow_anim_start";
32201          }
32202          program {
32203             name:   "button_click_anim";
32204             action: STATE_SET "clicked" 0.0;
32205             target: "elm.bar";
32206          }
32207          program {
32208             name:   "button_unclick";
32209             signal: "mouse,up,1";
32210             source: "over2";
32211             action: SIGNAL_EMIT "elm,action,unpress" "";
32212             after: "button_unclick_anim";
32213             after: "arrow_anim_stop";
32214          }
32215          program {
32216             name:   "button_unclick_anim";
32217             action: STATE_SET "default" 0.0;
32218             target: "elm.bar";
32219          }
32220          program {
32221             name:   "button_click2";
32222             signal: "mouse,down,1";
32223             source: "over3";
32224             action: STATE_SET "clicked" 0.0;
32225             target: "over3";
32226          }
32227          program {
32228             name:   "button_unclick2";
32229             signal: "mouse,up,1";
32230             source: "over3";
32231             action: STATE_SET "default" 0.0;
32232             transition: DECELERATE 0.5;
32233             target: "over3";
32234          }
32235          program {
32236             name:   "button_unclick3";
32237             signal: "mouse,up,1";
32238             source: "over2";
32239             action: SIGNAL_EMIT "elm,action,click" "";
32240          }
32241          program {
32242             name:   "button_down_double";
32243             signal: "mouse,down,1,double";
32244             source: "over3";
32245             action: SIGNAL_EMIT "elm,action,click,double" "";
32246          }
32247
32248          //arrows animation
32249          program {
32250             name: "arrow_anim_start";
32251             action: STATE_SET "anim_1" 0.0;
32252             target: "arrow_right";
32253             target: "arrow_left";
32254             transition: LINEAR 0.6;
32255             after: "arrow_anim_1";
32256          }
32257          program {
32258             name: "arrow_anim_1";
32259             action: STATE_SET "anim_2" 0.0;
32260             target: "arrow_right";
32261             target: "arrow_left";
32262             transition: LINEAR 0.6;
32263             after: "arrow_anim_2";
32264          }
32265          program {
32266             name: "arrow_anim_2";
32267             action: STATE_SET "default" 0.0;
32268             target: "arrow_right";
32269             target: "arrow_left";
32270             after: "arrow_anim_start";
32271          }
32272          program {
32273             name: "arrow_anim_stop";
32274             action: ACTION_STOP;
32275             target: "arrow_anim_start";
32276             target: "arrow_anim_1";
32277             target: "arrow_anim_2";
32278             after: "arrow_anim_stop_1";
32279          }
32280          program {
32281             name: "arrow_anim_stop_1";
32282             action: STATE_SET "default" 0.0;
32283             target: "arrow_right";
32284             target: "arrow_left";
32285             transition: DECELERATE 0.4;
32286         }
32287       }
32288   }
32289
32290
32291
32292 /////////////////////////////////////////////////////////////////////////////
32293 // PANEL
32294 /////////////////////////////////////////////////////////////////////////////
32295   group {
32296      name: "elm/panel/base/left";
32297      alias: "elm/panel/base/top";
32298      images
32299        {
32300           image: "bt_base1.png" COMP;
32301           image: "bt_hilight.png" COMP;
32302           image: "bt_shine.png" COMP;
32303           image: "bt_glow.png" COMP;
32304           image: "bt_dis_base.png" COMP;
32305           image: "icon_arrow_left.png" COMP;
32306           image: "icon_arrow_right.png" COMP;
32307        }
32308        data {
32309           item: "focus_highlight" "on";
32310        }
32311      parts
32312        {
32313             part { name: "focus_highlight";
32314                description { state: "default" 0.0;
32315                   visible: 0;
32316                   color: 255 255 255 0;
32317                   rel1 {
32318                      to: "btn";
32319                      offset: -8 -8;
32320                   }
32321                   rel2 {
32322                      to: "btn";
32323                      offset: 7 7;
32324                   }
32325                   image {
32326                      normal: "frame_2.png";
32327                      border: 5 5 32 26;
32328                      middle: 0;
32329                   }
32330                }
32331                description { state: "enabled" 0.0;
32332                   inherit: "default" 0.0;
32333                   visible: 1;
32334                   color: 255 255 255 255;
32335                }
32336             }
32337           part
32338             {
32339                name: "bg";
32340                type: RECT;
32341                mouse_events: 0;
32342                description
32343                  {
32344                     state: "default" 0.0;
32345                     color: 255 255 255 0;
32346                     rel1.relative: 0.0 0.0;
32347                     rel1.offset: 0 0;
32348                     rel2.relative: 1.0 1.0;
32349                     rel2.offset: -1 -1;
32350                  }
32351                description
32352                  {
32353                     state: "hidden" 0.0;
32354                     inherit: "default" 0.0;
32355                     rel1.relative: -1.0 0.0;
32356                     rel1.offset: 21 0;
32357                     rel2.relative: 0.0 1.0;
32358                     rel2.offset: 20 -1;
32359                  }
32360             }
32361           part
32362             {
32363                name: "base";
32364                type: IMAGE;
32365                mouse_events: 0;
32366                description
32367                  {
32368                     state: "default" 0.0;
32369                     rel1.to: "bg";
32370                     rel2.to: "bg";
32371                     rel2.offset: -20 -1;
32372                     image
32373                       {
32374                          normal: "bt_dis_base.png";
32375                          border: 4 4 4 4;
32376                       }
32377                  }
32378             }
32379           part
32380             {
32381                name: "clipper";
32382                type: RECT;
32383                mouse_events: 0;
32384                description
32385                  {
32386                     state: "default" 0.0;
32387                     rel1
32388                       {
32389                          offset: 4 4;
32390                          to: "base";
32391                       }
32392                     rel2
32393                       {
32394                          offset: -5 -5;
32395                          to: "base";
32396                       }
32397                  }
32398             }
32399           part
32400             {
32401                name: "elm.swallow.content";
32402                type: SWALLOW;
32403                clip_to: "clipper";
32404                description
32405                  {
32406                     state: "default" 0.0;
32407                     rel1.to: "clipper";
32408                     rel2.to: "clipper";
32409                  }
32410             }
32411           part
32412             {
32413                name: "btn";
32414                type: IMAGE;
32415                mouse_events: 1;
32416                description
32417                  {
32418                     state: "default" 0.0;
32419                     max: 32 48;
32420                     fixed: 1 1;
32421                     align: 0.0 0.5;
32422                     rel1
32423                       {
32424                          relative: 1.0 0.0;
32425                          offset: -3 0;
32426                          to_x: "base";
32427                       }
32428                     rel2.to_x: "bg";
32429                     image
32430                       {
32431                          normal: "bt_base1.png";
32432                          border: 0 5 4 12;
32433                       }
32434                     fill.smooth: 0;
32435                  }
32436                description
32437                  {
32438                     state: "clicked" 0.0;
32439                     inherit: "default" 0.0;
32440                  }
32441             }
32442           part
32443             {
32444                name: "btn_over";
32445                type: IMAGE;
32446                mouse_events: 0;
32447                description
32448                  {
32449                     state: "default" 0.0;
32450                     rel1.to: "btn";
32451                     rel2
32452                       {
32453                          relative: 1.0 0.5;
32454                          to: "btn";
32455                       }
32456                     image
32457                       {
32458                          normal: "bt_hilight.png";
32459                          border: 0 7 7 0;
32460                       }
32461                  }
32462             }
32463           part
32464             {
32465                name: "btn_over2";
32466                type: IMAGE;
32467                mouse_events: 1;
32468                repeat_events: 1;
32469                ignore_flags: ON_HOLD;
32470                description
32471                  {
32472                     state: "default" 0.0;
32473                     rel1.to: "btn";
32474                     rel2.to: "btn";
32475                     image
32476                       {
32477                          normal: "bt_shine.png";
32478                          border: 0 7 7 7;
32479                     }
32480                  }
32481             }
32482           part
32483             {
32484                name: "btn_over3";
32485                type: IMAGE;
32486                mouse_events: 1;
32487                repeat_events: 1;
32488                description
32489                  {
32490                     state: "default" 0.0;
32491                     color: 255 255 255 0;
32492                     rel1.to: "btn";
32493                     rel2.to: "btn";
32494                     image
32495                       {
32496                        normal: "bt_glow.png";
32497                        border: 12 12 12 12;
32498                     }
32499                   fill.smooth: 0;
32500                }
32501              description
32502                {
32503                   state: "clicked" 0.0;
32504                   inherit: "default" 0.0;
32505                   visible: 1;
32506                   color: 255 255 255 255;
32507                }
32508             }
32509           part
32510             {
32511                name: "btn_icon";
32512                type: IMAGE;
32513                repeat_events: 1;
32514                description
32515                  {
32516                     state: "default" 0.0;
32517                     rel1.to: "btn";
32518                     rel2.to: "btn";
32519                     align: 0.5 0.5;
32520                     min: 16 16;
32521                     max: 16 16;
32522                     image.normal: "icon_arrow_left.png";
32523                  }
32524                description
32525                  {
32526                     state: "hidden" 0.0;
32527                     inherit: "default" 0.0;
32528                     image.normal: "icon_arrow_right.png";
32529                  }
32530             }
32531        }
32532      programs
32533        {
32534           program
32535             {
32536                name: "show";
32537                signal: "elm,action,show";
32538                source: "elm";
32539                action: STATE_SET "default" 0.0;
32540                target: "bg";
32541                target: "btn_icon";
32542                transition: LINEAR 0.5;
32543             }
32544           program
32545             {
32546                name: "hide";
32547                signal: "elm,action,hide";
32548                source: "elm";
32549                action: STATE_SET "hidden" 0.0;
32550                target: "bg";
32551                target: "btn_icon";
32552                transition: LINEAR 0.5;
32553             }
32554           program
32555             {
32556                name: "btn_click";
32557                signal: "mouse,down,1";
32558                source: "btn_over2";
32559                action: STATE_SET "clicked" 0.0;
32560                target: "btn";
32561             }
32562           program
32563             {
32564                name: "btn_unclick";
32565                signal: "mouse,up,1";
32566                source: "btn_over2";
32567                action: STATE_SET "default" 0.0;
32568                target: "btn";
32569             }
32570           program
32571             {
32572                name: "btn_click2";
32573                signal: "mouse,down,1";
32574                source: "btn_over3";
32575                action: STATE_SET "clicked" 0.0;
32576                target: "btn_over3";
32577             }
32578           program
32579             {
32580                name: "btn_unclick2";
32581                signal: "mouse,up,1";
32582                source: "btn_over3";
32583                action: STATE_SET "default" 0.0;
32584                transition: DECELERATE 0.5;
32585                target: "btn_over3";
32586             }
32587           program
32588             {
32589                name: "btn_unclick3";
32590                signal: "mouse,clicked,1";
32591                source: "btn_over2";
32592                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32593             }
32594          program { name: "highlight_show";
32595             signal: "elm,action,focus_highlight,show";
32596             source: "elm";
32597             action: STATE_SET "enabled" 0.0;
32598             transition: ACCELERATE 0.3;
32599             target: "focus_highlight";
32600          }
32601          program { name: "highlight_hide";
32602             signal: "elm,action,focus_highlight,hide";
32603             source: "elm";
32604             action: STATE_SET "default" 0.0;
32605             transition: DECELERATE 0.3;
32606             target: "focus_highlight";
32607          }
32608        }
32609   }
32610
32611   group {
32612      name: "elm/panel/base/right";
32613      alias: "elm/panel/base/bottom";
32614      images
32615        {
32616           image: "bt_base1.png" COMP;
32617           image: "bt_hilight.png" COMP;
32618           image: "bt_shine.png" COMP;
32619           image: "bt_glow.png" COMP;
32620           image: "bt_dis_base.png" COMP;
32621           image: "icon_arrow_left.png" COMP;
32622           image: "icon_arrow_right.png" COMP;
32623        }
32624      parts
32625        {
32626             part { name: "focus_highlight";
32627                description { state: "default" 0.0;
32628                   visible: 0;
32629                   color: 255 255 255 0;
32630                   rel1 {
32631                      to: "btn";
32632                      offset: -8 -8;
32633                   }
32634                   rel2 {
32635                      to: "btn";
32636                      offset: 7 7;
32637                   }
32638                   image {
32639                      normal: "frame_2.png";
32640                      border: 5 5 32 26;
32641                      middle: 0;
32642                   }
32643                }
32644                description { state: "enabled" 0.0;
32645                   inherit: "default" 0.0;
32646                   visible: 1;
32647                   color: 255 255 255 255;
32648                }
32649             }
32650           part
32651             {
32652                name: "bg";
32653                type: RECT;
32654                mouse_events: 0;
32655                description
32656                  {
32657                     state: "default" 0.0;
32658                     color: 255 255 255 0;
32659                     rel1.relative: 0.0 0.0;
32660                     rel1.offset: 0 0;
32661                     rel2.relative: 1.0 1.0;
32662                     rel2.offset: -1 -1;
32663                  }
32664                description
32665                  {
32666                     state: "hidden" 0.0;
32667                     inherit: "default" 0.0;
32668                     rel1.relative: 1.0 0.0;
32669                     rel1.offset: -22 0;
32670                     rel2.relative: 2.0 1.0;
32671                     rel2.offset: -23 -1;
32672                  }
32673             }
32674           part
32675             {
32676                name: "base";
32677                type: IMAGE;
32678                mouse_events: 0;
32679                description
32680                  {
32681                     state: "default" 0.0;
32682                     rel1.to: "bg";
32683                     rel1.offset: 20 0;
32684                     rel2.to: "bg";
32685                     image
32686                       {
32687                          normal: "bt_dis_base.png";
32688                          border: 4 4 4 4;
32689                       }
32690                  }
32691             }
32692           part
32693             {
32694                name: "clipper";
32695                type: RECT;
32696                mouse_events: 0;
32697                description
32698                  {
32699                     state: "default" 0.0;
32700                     rel1
32701                       {
32702                          offset: 4 4;
32703                          to: "base";
32704                       }
32705                     rel2
32706                       {
32707                          offset: -5 -5;
32708                          to: "base";
32709                       }
32710                  }
32711             }
32712           part
32713             {
32714                name: "elm.swallow.content";
32715                type: SWALLOW;
32716                clip_to: "clipper";
32717                description
32718                  {
32719                     state: "default" 0.0;
32720                     rel1.to: "clipper";
32721                     rel2.to: "clipper";
32722                  }
32723             }
32724           part
32725             {
32726                name: "btn";
32727                type: IMAGE;
32728                mouse_events: 1;
32729                description
32730                  {
32731                     state: "default" 0.0;
32732                     max: 32 48;
32733                     fixed: 1 1;
32734                     align: 1 0.5;
32735                     rel1
32736                       {
32737                          to_x: "bg";
32738                       }
32739                     rel2
32740                       {
32741                          offset: 2 0;
32742                          relative: 0.0 1;
32743                          to_x: "base";
32744                       }
32745                     image
32746                       {
32747                          normal: "bt_base1.png";
32748                          border: 5 0 4 12;
32749                       }
32750                     fill.smooth: 0;
32751                  }
32752                description
32753                  {
32754                     state: "clicked" 0.0;
32755                     inherit: "default" 0.0;
32756                  }
32757             }
32758           part
32759             {
32760                name: "btn_over";
32761                type: IMAGE;
32762                mouse_events: 0;
32763                description
32764                  {
32765                     state: "default" 0.0;
32766                     rel1.to: "btn";
32767                     rel2
32768                       {
32769                          relative: 1.0 0.5;
32770                          to: "btn";
32771                       }
32772                     image
32773                       {
32774                          normal: "bt_hilight.png";
32775                          border: 7 0 7 0;
32776                       }
32777                  }
32778             }
32779           part
32780             {
32781                name: "btn_over2";
32782                type: IMAGE;
32783                mouse_events: 1;
32784                repeat_events: 1;
32785                ignore_flags: ON_HOLD;
32786                description
32787                  {
32788                     state: "default" 0.0;
32789                     rel1.to: "btn";
32790                     rel2.to: "btn";
32791                     image
32792                       {
32793                          normal: "bt_shine.png";
32794                          border: 7 0 7 7;
32795                     }
32796                  }
32797             }
32798           part
32799             {
32800                name: "btn_over3";
32801                type: IMAGE;
32802                mouse_events: 1;
32803                repeat_events: 1;
32804                description
32805                  {
32806                     state: "default" 0.0;
32807                     color: 255 255 255 0;
32808                     rel1.to: "btn";
32809                     rel2.to: "btn";
32810                     image
32811                       {
32812                        normal: "bt_glow.png";
32813                        border: 12 12 12 12;
32814                     }
32815                   fill.smooth: 0;
32816                }
32817              description
32818                {
32819                   state: "clicked" 0.0;
32820                   inherit: "default" 0.0;
32821                   visible: 1;
32822                   color: 255 255 255 255;
32823                }
32824             }
32825           part
32826             {
32827                name: "btn_icon";
32828                type: IMAGE;
32829                repeat_events: 1;
32830                description
32831                  {
32832                     state: "default" 0.0;
32833                     rel1.to: "btn";
32834                     rel2.to: "btn";
32835                     align: 0.5 0.5;
32836                     min: 16 16;
32837                     max: 16 16;
32838                     image.normal: "icon_arrow_right.png";
32839                  }
32840                description
32841                  {
32842                     state: "hidden" 0.0;
32843                     inherit: "default" 0.0;
32844                     image.normal: "icon_arrow_left.png";
32845                  }
32846             }
32847        }
32848      programs
32849        {
32850           program
32851             {
32852                name: "show";
32853                signal: "elm,action,show";
32854                source: "elm";
32855                action: STATE_SET "default" 0.0;
32856                target: "bg";
32857                target: "btn_icon";
32858                transition: LINEAR 0.5;
32859             }
32860           program
32861             {
32862                name: "hide";
32863                signal: "elm,action,hide";
32864                source: "elm";
32865                action: STATE_SET "hidden" 0.0;
32866                target: "bg";
32867                target: "btn_icon";
32868                transition: LINEAR 0.5;
32869             }
32870           program
32871             {
32872                name: "btn_click";
32873                signal: "mouse,down,1";
32874                source: "btn_over2";
32875                action: STATE_SET "clicked" 0.0;
32876                target: "btn";
32877             }
32878           program
32879             {
32880                name: "btn_unclick";
32881                signal: "mouse,up,1";
32882                source: "btn_over2";
32883                action: STATE_SET "default" 0.0;
32884                target: "btn";
32885             }
32886           program
32887             {
32888                name: "btn_click2";
32889                signal: "mouse,down,1";
32890                source: "btn_over3";
32891                action: STATE_SET "clicked" 0.0;
32892                target: "btn_over3";
32893             }
32894           program
32895             {
32896                name: "btn_unclick2";
32897                signal: "mouse,up,1";
32898                source: "btn_over3";
32899                action: STATE_SET "default" 0.0;
32900                transition: DECELERATE 0.5;
32901                target: "btn_over3";
32902             }
32903           program
32904             {
32905                name: "btn_unclick3";
32906                signal: "mouse,up,1";
32907                source: "btn_over2";
32908                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32909             }
32910          program { name: "highlight_show";
32911             signal: "elm,action,focus";
32912             source: "elm";
32913             action: STATE_SET "enabled" 0.0;
32914             transition: ACCELERATE 0.3;
32915             target: "focus_highlight";
32916          }
32917          program { name: "highlight_hide";
32918             signal: "elm,action,unfocus";
32919             source: "elm";
32920             action: STATE_SET "default" 0.0;
32921             transition: DECELERATE 0.3;
32922             target: "focus_highlight";
32923          }
32924        }
32925   }
32926
32927 ///////////////////////////////////////////////////////////////////////////////
32928   group { name: "elm/conformant/base/default";
32929      parts {
32930         part { name: "elm.swallow.shelf";
32931            type: SWALLOW;
32932            description { state: "default" 0.0;
32933               fixed: 0 1;
32934               align: 0.0 0.0;
32935               rel2.relative: 1.0 0.0;
32936            }
32937         }
32938         part { name: "elm.swallow.content";
32939            type: SWALLOW;
32940            description { state: "default" 0.0;
32941               fixed: 0 1;
32942               align: 0.5 0.5;
32943               rel1.relative: 0.0 1.0;
32944               rel1.to_y: "elm.swallow.shelf";
32945               rel2.relative: 1.0 0.0;
32946               rel2.to_y: "elm.swallow.virtualkeypad";
32947            }
32948         }
32949         part { name: "elm.swallow.virtualkeypad";
32950            type: SWALLOW;
32951            description { state: "default" 0.0;
32952               fixed: 0 1;
32953               align: 0.0 1.0;
32954               rel2.relative: 1.0 0.0;
32955               rel2.to_y: "elm.swallow.panel";
32956            }
32957         }
32958         part { name: "elm.swallow.panel";
32959            type: SWALLOW;
32960            description { state: "default" 0.0;
32961               fixed: 0 1;
32962               align: 0.0 1.0;
32963               rel1.relative: 0.0 1.0;
32964            }
32965         }
32966      }
32967   }
32968
32969 /////////////////////////////////////////////////////////////////////////////
32970 // CALENDAR
32971 /////////////////////////////////////////////////////////////////////////////
32972 #define CH(_pos) \
32973          part { name: "ch_"#_pos".base"; \
32974             type: RECT; \
32975             description { state: "default" 0.0; \
32976                rel1 { \
32977                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
32978                   to: "header"; \
32979                } \
32980                rel2 { \
32981                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
32982                   to: "header"; \
32983                } \
32984                color: 0 0 0 0; \
32985                visible: 0; \
32986             } \
32987          } \
32988          part { name: "ch_"#_pos".text"; \
32989             type: TEXT; \
32990             effect: SOFT_SHADOW; \
32991             mouse_events: 0; \
32992             scale: 1; \
32993             clip_to: "ch_"#_pos".clipper"; \
32994             description { \
32995                state: "default" 0.0; \
32996                rel1.to: "ch_"#_pos".base"; \
32997                rel2.to: "ch_"#_pos".base"; \
32998                color: 0 0 0 255; \
32999                color3: 0 0 0 0; \
33000                text { \
33001                   font: "Sans"; \
33002                   size: 10; \
33003                   min: 1 1; \
33004                   align: 0.5 0.5; \
33005                } \
33006             } \
33007          } \
33008          part { name: "ch_"#_pos".clipper"; \
33009             type: RECT; \
33010             description { state: "default" 0.0; \
33011                rel1.to: "ch_"#_pos".base"; \
33012                rel2.to: "ch_"#_pos".base"; \
33013             } \
33014          }
33015
33016 #define CIT(_pos) \
33017          part { name: "cit_"#_pos".rect"; \
33018             type: RECT; \
33019             description { state: "default" 0.0; \
33020                rel1 { \
33021                   relative: (_pos % 7 * 7 / 8 / 6) \
33022                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33023                   to: "base"; \
33024                } \
33025                rel2 { \
33026                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33027                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33028                   to: "base"; \
33029                } \
33030                color: 0 0 0 0; \
33031                visible: 0; \
33032             } \
33033          } \
33034          part { \
33035             name: "cit_"#_pos".event"; \
33036             type: RECT; \
33037             repeat_events: 1; \
33038             description { \
33039                rel1.to: "cit_"#_pos".rect"; \
33040                rel2.to: "cit_"#_pos".rect"; \
33041                state: "default" 0.0; \
33042                color: 0 0 0 0; \
33043             } \
33044          } \
33045          part { name: "cit_"#_pos".shelf"; \
33046             type: RECT; \
33047             mouse_events: 0; \
33048             description { state: "default" 0.0; \
33049                rel1 { \
33050                   to: "cit_"#_pos".bg"; \
33051                   offset: -1 -1; \
33052                } \
33053                rel2 { \
33054                   to: "cit_"#_pos".bg"; \
33055                } \
33056                color: 200 200 200 255; \
33057             } \
33058          } \
33059          part { name: "cit_"#_pos".hd"; \
33060             type: RECT; \
33061             mouse_events: 0; \
33062             description { state: "default" 0.0; \
33063                rel1 { \
33064                   to: "cit_"#_pos".bg"; \
33065                   offset: -1 -1; \
33066                } \
33067                rel2 { \
33068                   to: "cit_"#_pos".bg"; \
33069                } \
33070                visible: 0; \
33071                color: 160 0 0 255; \
33072             } \
33073             description { state: "visible" 0.0; \
33074                inherit: "default" 0.0; \
33075                visible: 1; \
33076             } \
33077          } \
33078          part { \
33079             name: "cit_"#_pos".base_sh"; \
33080             mouse_events: 0; \
33081             description { \
33082                state: "default" 0.0; \
33083                align: 0.0 0.0; \
33084                min: 0 1; \
33085                rel1 { \
33086                   to: "cit_"#_pos".base"; \
33087                   relative: 0.0 1.0; \
33088                   offset: 0 0; \
33089                } \
33090                rel2 { \
33091                   to: "cit_"#_pos".base"; \
33092                   relative: 1.0 1.05; \
33093                   offset: -1 0; \
33094                } \
33095                image { \
33096                   normal: "ilist_item_shadow.png"; \
33097                } \
33098                fill.smooth: 0; \
33099             } \
33100          } \
33101          part { \
33102             name: "cit_"#_pos".base"; \
33103             mouse_events: 0; \
33104             description { \
33105                state: "default" 0.0; \
33106                rel1.to: "cit_"#_pos".rect"; \
33107                rel2.to: "cit_"#_pos".rect"; \
33108                rel2.offset: -1 -1; \
33109                image { \
33110                   normal: "ilist_1.png"; \
33111                   border: 2 2 2 2; \
33112                } \
33113                fill.smooth: 0; \
33114             } \
33115             description { \
33116                state: "today" 0.0; \
33117                inherit: "default" 0.0; \
33118                image.normal: "ilist_2.png"; \
33119                color: 240 240 240 255; \
33120             } \
33121          } \
33122          part { name: "cit_"#_pos".bg"; \
33123             mouse_events: 0; \
33124             description { state: "default" 0.0; \
33125                visible: 0; \
33126                color: 255 255 255 0; \
33127                rel1 { \
33128                   to: "cit_"#_pos".rect"; \
33129                   relative: 0.0 0.0; \
33130                } \
33131                rel2 { \
33132                   to: "cit_"#_pos".rect"; \
33133                   relative: 1.0 1.0; \
33134                   offset: -1 -1; \
33135                } \
33136                image { \
33137                   normal: "bt_sm_base1.png"; \
33138                   border: 6 6 6 6; \
33139                } \
33140                image.middle: SOLID; \
33141             } \
33142             description { state: "selected" 0.0; \
33143                inherit: "default" 0.0; \
33144                visible: 1; \
33145                color: 255 255 255 255; \
33146             } \
33147          } \
33148          part { name: "cit_"#_pos".text"; \
33149             type: TEXT; \
33150             effect: SOFT_SHADOW; \
33151             mouse_events: 0; \
33152             scale: 1; \
33153             description { \
33154                state: "default" 0.0; \
33155                rel1.to: "cit_"#_pos".bg"; \
33156                rel2.to: "cit_"#_pos".bg"; \
33157                color: 0 0 0 255; \
33158                color3: 0 0 0 0; \
33159                text { \
33160                   font: "Sans"; \
33161                   size: 10; \
33162                   min: 1 1; \
33163                   align: 0.5 0.5; \
33164                } \
33165             } \
33166             description { state: "selected" 0.0; \
33167                inherit: "default" 0.0; \
33168                color: 224 224 224 255; \
33169                color3: 0 0 0 64; \
33170             } \
33171          } \
33172          part { name: "cit_"#_pos".fg1"; \
33173             mouse_events: 0; \
33174             description { state: "default" 0.0; \
33175                visible: 0; \
33176                color: 255 255 255 0; \
33177                rel1.to: "cit_"#_pos".bg"; \
33178                rel2.relative: 1.0 0.5; \
33179                rel2.to: "cit_"#_pos".bg"; \
33180                image { \
33181                   normal: "bt_sm_hilight.png"; \
33182                   border: 6 6 6 0; \
33183                } \
33184             } \
33185             description { state: "selected" 0.0; \
33186                inherit: "default" 0.0; \
33187                visible: 1; \
33188                color: 255 255 255 255; \
33189             } \
33190          } \
33191          part { name: "cit_"#_pos".fg2"; \
33192             mouse_events: 0; \
33193             description { state: "default" 0.0; \
33194                visible: 0; \
33195                color: 255 255 255 0; \
33196                rel1.to: "cit_"#_pos".bg"; \
33197                rel2.to: "cit_"#_pos".bg"; \
33198                image { \
33199                   normal: "bt_sm_shine.png"; \
33200                   border: 6 6 6 0; \
33201                } \
33202             } \
33203             description { state: "selected" 0.0; \
33204                inherit: "default" 0.0; \
33205                visible: 1; \
33206                color: 255 255 255 255; \
33207             } \
33208          } \
33209          part { name: "cit_"#_pos".check"; \
33210             mouse_events: 0; \
33211             description { state: "default" 0.0; \
33212                rel1 { \
33213                   to: "cit_"#_pos".bg"; \
33214                   relative: 0.7 0.6; \
33215                   offset: 1 1; \
33216                } \
33217                rel2 { \
33218                   to: "cit_"#_pos".bg"; \
33219                   relative: 1.1 1.2; \
33220                   offset: -2 -2; \
33221                } \
33222                aspect: 1 1; \
33223                visible: 0; \
33224                color: 255 0 0 255; \
33225                image.normal: "check.png"; \
33226             } \
33227             description { state: "visible" 0.0; \
33228                inherit: "default" 0.0; \
33229                visible: 1; \
33230             } \
33231          } \
33232       programs { \
33233          program { \
33234             name:    "cit_"#_pos".go_active"; \
33235             signal:  "cit_"#_pos",selected"; \
33236             source:  "elm"; \
33237             action:  STATE_SET "selected" 0.0; \
33238             target:  "cit_"#_pos".bg"; \
33239             target:  "cit_"#_pos".fg1"; \
33240             target:  "cit_"#_pos".fg2"; \
33241             target:  "cit_"#_pos".text"; \
33242          } \
33243          program { \
33244             name:    "cit_"#_pos".go_passive"; \
33245             signal:  "cit_"#_pos",unselected"; \
33246             source:  "elm"; \
33247             action:  STATE_SET "default" 0.0; \
33248             target:  "cit_"#_pos".bg"; \
33249             target:  "cit_"#_pos".fg1"; \
33250             target:  "cit_"#_pos".fg2"; \
33251             target:  "cit_"#_pos".text"; \
33252          } \
33253          program { \
33254             name:    "cit_"#_pos".is_today"; \
33255             signal:  "cit_"#_pos",today"; \
33256             source:  "elm"; \
33257             action:  STATE_SET "today" 0.0; \
33258             target: "cit_"#_pos".base"; \
33259          } \
33260          program { \
33261             name:    "cit_"#_pos".not_today"; \
33262             signal:  "cit_"#_pos",not_today"; \
33263             source:  "elm"; \
33264             action:  STATE_SET "default" 0.0; \
33265             target: "cit_"#_pos".base"; \
33266          } \
33267          program { \
33268             source: "cit_"#_pos".clicked"; \
33269             signal: "mouse,clicked,1"; \
33270             source: "cit_"#_pos".event"; \
33271             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33272          } \
33273          program { \
33274             name:    "cit_"#_pos".clear"; \
33275             signal:  "cit_"#_pos",clear"; \
33276             source:  "elm"; \
33277             action:  STATE_SET "default" 0.0; \
33278             target: "cit_"#_pos".check"; \
33279             target: "cit_"#_pos".hd"; \
33280          } \
33281          program { \
33282             name:    "cit_"#_pos".checked"; \
33283             signal:  "cit_"#_pos",checked"; \
33284             source:  "elm"; \
33285             action:  STATE_SET "visible" 0.0; \
33286             target: "cit_"#_pos".check"; \
33287          } \
33288          program { \
33289             name:    "cit_"#_pos".holiday"; \
33290             signal:  "cit_"#_pos",holiday"; \
33291             source:  "elm"; \
33292             action:  STATE_SET "visible" 0.0; \
33293             target: "cit_"#_pos".hd"; \
33294          } \
33295       }
33296
33297    group { name: "elm/calendar/base/default";
33298        images {
33299            image: "shelf_inset.png" COMP;
33300            image: "bt_base1.png" COMP;
33301            image: "bt_hilight.png" COMP;
33302            image: "bt_shine.png" COMP;
33303            image: "bt_glow.png" COMP;
33304            image: "bt_dis_base.png" COMP;
33305            image: "bt_dis_hilight.png" COMP;
33306            image: "sp_bt_l.png" COMP;
33307            image: "sp_bt_r.png" COMP;
33308            image: "bt_sm_base1.png" COMP;
33309            image: "bt_sm_shine.png" COMP;
33310            image: "bt_sm_hilight.png" COMP;
33311            image: "ilist_1.png" COMP;
33312            image: "ilist_2.png" COMP;
33313            image: "ilist_item_shadow.png" COMP;
33314            image: "check.png" COMP;
33315        }
33316        parts {
33317            part { name: "bg";
33318                type: RECT;
33319                description { state: "default" 0.0;
33320                    min: 0 30;
33321                    rel1.offset: 1 1;
33322                    rel2.offset: -2 -2;
33323                    color: 255 255 255 0;
33324                    align: 0.0 0.5;
33325                }
33326            }
33327            part { name: "spinner-base";
33328                type: RECT;
33329                mouse_events: 0;
33330                description { state: "default" 0.0;
33331                    min: 24 24;
33332                    max: 999999 24;
33333                    rel1.to: "bg";
33334                    rel1.offset: 6 6;
33335                    rel2.to: "bg";
33336                    rel2.offset: -7 -7;
33337                    color: 255 255 255 0;
33338                    align: 0.0 0.0;
33339                }
33340            }
33341            part { name: "conf_over_spinner";
33342                mouse_events:  0;
33343                description { state: "default" 0.0;
33344                    rel1.to: "spinner-base";
33345                    rel1.offset: -3 -3;
33346                    rel2.to: "spinner-base";
33347                    rel2.offset: 2 2;
33348                    image {
33349                        normal: "shelf_inset.png";
33350                        border: 7 7 7 7;
33351                        middle: 0;
33352                    }
33353                    fill.smooth : 0;
33354                }
33355            }
33356            part { name: "table-base";
33357                type: RECT;
33358                mouse_events: 0;
33359                description { state: "default" 0.0;
33360                    min: 256 220;
33361                    rel1.to_x: "bg";
33362                    rel1.to_y: "spinner-base";
33363                    rel1.offset: 6 6;
33364                    rel1.relative: 0 1;
33365                    rel2.to: "bg";
33366                    rel2.offset: -7 -7;
33367                    color: 255 255 255 0;
33368                }
33369            }
33370            part { name: "conf_over_table";
33371                mouse_events:  0;
33372                description { state: "default" 0.0;
33373                    rel1.to: "table-base";
33374                    rel1.offset: -3 -3;
33375                    rel2.to: "table-base";
33376                    rel2.offset: 2 2;
33377                    image {
33378                        normal: "shelf_inset.png";
33379                        border: 7 7 7 7;
33380                        middle: 0;
33381                    }
33382                    fill.smooth : 0;
33383                }
33384            }
33385            part { name: "header";
33386                type: RECT;
33387                mouse_events: 0;
33388                description { state: "default" 0.0;
33389                    rel1.to: "table-base";
33390                    rel1.relative: 0 0;
33391                    rel2.to: "table-base";
33392                    rel2.relative: 1 0.1;
33393                    color: 255 255 255 0;
33394                }
33395            }
33396            part { name: "base";
33397                type: RECT;
33398                mouse_events: 0;
33399                description { state: "default" 0.0;
33400                    rel1.to_x: "table-base";
33401                    rel1.to_y: "header";
33402                    rel1.relative: 0 1;
33403                    rel1.offset: 3 0;
33404                    rel2.to: "table-base";
33405                    rel2.offset: -3 0;
33406                    color: 255 255 255 0;
33407                }
33408            }
33409            part { name: "left_bt";
33410                mouse_events:  1;
33411                description { state: "default" 0.0;
33412                    rel1 { to: "spinner-base";
33413                        offset: 2 2;
33414                    }
33415                    rel2 { to: "spinner-base";
33416                        offset: -3 -3;
33417                    }
33418                    align: 0.0 0.5;
33419                    min: 24 24;
33420                    max: 24 24;
33421                    fixed: 1 1;
33422                    image {
33423                        normal: "bt_base1.png";
33424                        border: 6 6 6 6;
33425                    }
33426                    fill.smooth : 0;
33427                }
33428                description { state: "clicked" 0.0;
33429                    inherit: "default" 0.0;
33430                    image.normal: "bt_base1.png";
33431                    image.middle: SOLID;
33432                }
33433            }
33434            part { name: "left_over1";
33435                mouse_events: 0;
33436                description { state: "default" 0.0;
33437                    rel1.to: "left_bt";
33438                    rel2 { to: "left_bt";
33439                        relative: 1.0 0.5;
33440                    }
33441                    image {
33442                        normal: "bt_hilight.png";
33443                        border: 7 7 7 0;
33444                    }
33445                }
33446            }
33447            part { name: "left_over2";
33448                mouse_events: 1;
33449                repeat_events: 1;
33450                description { state: "default" 0.0;
33451                    rel1.to: "left_bt";
33452                    rel2.to: "left_bt";
33453                    image {
33454                        normal: "bt_shine.png";
33455                        border: 7 7 7 7;
33456                    }
33457                }
33458            }
33459            part { name: "left_over3";
33460                mouse_events: 1;
33461                repeat_events: 1;
33462                description { state: "default" 0.0;
33463                    color: 255 255 255 0;
33464                    rel1.to: "left_bt";
33465                    rel2.to: "left_bt";
33466                    image {
33467                        normal: "bt_glow.png";
33468                        border: 12 12 12 12;
33469                    }
33470                    fill.smooth : 0;
33471                }
33472                description { state: "clicked" 0.0;
33473                    inherit:  "default" 0.0;
33474                    visible: 1;
33475                    color: 255 255 255 255;
33476                }
33477            }
33478            part { name: "right_bt";
33479                mouse_events:  1;
33480                description { state: "default" 0.0;
33481                    rel1 { to: "spinner-base";
33482                        offset: -27 3;
33483                    }
33484                    rel2 { to: "spinner-base";
33485                        offset: -3 -3;
33486                    }
33487                    align: 1.0 0.5;
33488                    min: 24 24;
33489                    max: 24 24;
33490                    fixed: 1 1;
33491                    image {
33492                        normal: "bt_base1.png";
33493                        border: 5 5 4 12;
33494                    }
33495                    fill.smooth : 0;
33496                }
33497                description { state: "clicked" 0.0;
33498                    inherit: "default" 0.0;
33499                    image.normal: "bt_base1.png";
33500                    image.middle: SOLID;
33501                }
33502            }
33503            part { name: "right_over1";
33504                mouse_events: 0;
33505                description { state: "default" 0.0;
33506                    rel1.to: "right_bt";
33507                    rel2 { to: "right_bt";
33508                        relative: 1.0 0.5;
33509                    }
33510                    image {
33511                        normal: "bt_hilight.png";
33512                        border: 7 7 7 0;
33513                    }
33514                }
33515            }
33516            part { name: "right_over2";
33517                mouse_events: 1;
33518                repeat_events: 1;
33519                description { state: "default" 0.0;
33520                    rel1.to: "right_bt";
33521                    rel2.to: "right_bt";
33522                    image {
33523                        normal: "bt_shine.png";
33524                        border: 7 7 7 7;
33525                    }
33526                }
33527            }
33528            part { name: "right_over3";
33529                mouse_events: 1;
33530                repeat_events: 1;
33531                description { state: "default" 0.0;
33532                    color: 255 255 255 0;
33533                    rel1.to: "right_bt";
33534                    rel2.to: "right_bt";
33535                    image {
33536                        normal: "bt_glow.png";
33537                        border: 12 12 12 12;
33538                    }
33539                    fill.smooth : 0;
33540                }
33541                description { state: "clicked" 0.0;
33542                    inherit:  "default" 0.0;
33543                    visible: 1;
33544                    color: 255 255 255 255;
33545                }
33546            }
33547            part { name: "left_bt_icon";
33548                repeat_events: 1;
33549                description { state: "default" 0.0;
33550                    rel1.to: "left_bt";
33551                    rel2.to: "left_bt";
33552                    align: 0.5 0.5;
33553                    min: 16 16;
33554                    max: 16 16;
33555                    image.normal: "sp_bt_l.png";
33556                }
33557                description { state: "rtl" 0.0;
33558                    inherit: "default" 0.0;
33559                    image.normal: "sp_bt_r.png";
33560                }
33561            }
33562            part { name: "right_bt_icon";
33563                repeat_events: 1;
33564                description { state: "default" 0.0;
33565                    rel1.to: "right_bt";
33566                    rel2.to: "right_bt";
33567                    align: 0.5 0.5;
33568                    min: 16 16;
33569                    max: 16 16;
33570                    image.normal: "sp_bt_r.png";
33571                }
33572                description { state: "rtl" 0.0;
33573                    inherit: "default" 0.0;
33574                    image.normal: "sp_bt_l.png";
33575                }
33576            }
33577            part { name: "month_text";
33578                type: TEXT;
33579                mouse_events: 0;
33580                scale: 1;
33581                description { state: "default" 0.0;
33582                    align: 0 0.5;
33583                    fixed: 1 1;
33584                    rel1 { relative: 1.0 0.0;
33585                        offset: 3 2;
33586                        to: "left_bt";
33587                        to_y: "spinner-base";
33588                    }
33589                    rel2 { relative: 0.0 1.0;
33590                        offset: -3 -2;
33591                        to_x: "right_bt";
33592                        to_y: "spinner-base";
33593                    }
33594                    color: 0 0 0 255;
33595                    text {
33596                        font: "Sans,Edje-Vera";
33597                        size: 12;
33598                        min: 1 1;
33599                        align: 0.5 0.5;
33600                    }
33601                }
33602            }
33603            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33604            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33605            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33606            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33607            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33608            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33609            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33610        }
33611        programs {
33612            program { name: "dec_start";
33613                signal: "mouse,down,1";
33614                source: "left_bt";
33615                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33616            }
33617            program { name: "dec_stop";
33618                signal: "mouse,up,1";
33619                source: "left_bt";
33620                action: SIGNAL_EMIT "elm,action,stop" "";
33621            }
33622            program { name: "inc_start";
33623                signal: "mouse,down,1";
33624                source: "right_bt";
33625                action: SIGNAL_EMIT "elm,action,increment,start" "";
33626            }
33627            program { name: "inc_stop";
33628                signal: "mouse,up,1";
33629                source: "right_bt";
33630                action: SIGNAL_EMIT "elm,action,stop" "";
33631            }
33632            program {
33633                name:   "left_bt_click";
33634                signal: "mouse,down,1";
33635                source: "left_over2";
33636                action: STATE_SET "clicked" 0.0;
33637                target: "left_bt";
33638            }
33639            program {
33640                name:   "left_bt_unclick";
33641                signal: "mouse,up,1";
33642                source: "left_over2";
33643                action: STATE_SET "default" 0.0;
33644                target: "left_bt";
33645            }
33646            program {
33647                name:   "left_bt_click2";
33648                signal: "mouse,down,1";
33649                source: "left_over3";
33650                action: STATE_SET "clicked" 0.0;
33651                target: "left_over3";
33652            }
33653            program {
33654                name:   "left_bt_unclick2";
33655                signal: "mouse,up,1";
33656                source: "left_over3";
33657                action: STATE_SET "default" 0.0;
33658                transition: DECELERATE 0.5;
33659                target: "left_over3";
33660            }
33661            program {
33662                name:   "right_bt_click";
33663                signal: "mouse,down,1";
33664                source: "right_over2";
33665                action: STATE_SET "clicked" 0.0;
33666                target: "right_bt";
33667            }
33668            program {
33669                name:   "right_bt_unclick";
33670                signal: "mouse,up,1";
33671                source: "right_over2";
33672                action: STATE_SET "default" 0.0;
33673                target: "right_bt";
33674            }
33675            program {
33676                name:   "right_bt_click2";
33677                signal: "mouse,down,1";
33678                source: "right_over3";
33679                action: STATE_SET "clicked" 0.0;
33680                target: "right_over3";
33681            }
33682            program {
33683                name:   "right_bt_unclick2";
33684                signal: "mouse,up,1";
33685                source: "right_over3";
33686                action: STATE_SET "default" 0.0;
33687                transition: DECELERATE 0.5;
33688                target: "right_over3";
33689            }
33690            program { name: "to_rtl";
33691                signal: "edje,state,rtl";
33692                source: "edje";
33693                action: STATE_SET "rtl" 0.0;
33694                target: "right_bt_icon";
33695                target: "left_bt_icon";
33696            }
33697            program { name: "to_ltr";
33698                signal: "edje,state,ltr";
33699                source: "edje";
33700                action: STATE_SET "default" 0.0;
33701                target: "right_bt_icon";
33702                target: "left_bt_icon";
33703            }
33704        }
33705    }
33706
33707 #undef CIT
33708 #undef CH
33709
33710 ////////////////////////////////////////////////////////////////////////////////
33711 // colorselector
33712 ////////////////////////////////////////////////////////////////////////////////
33713    group { name: "elm/colorselector/bg/default";
33714       parts {
33715          part { name: "elm.colorbar_0";
33716             type: SWALLOW;
33717             mouse_events: 1;
33718             description { state: "default" 0.0;
33719                min: 120 30;
33720                rel1.relative: 0.0 0.00653594771;
33721                rel2.relative: 1.0 0.254901961;
33722             }
33723          }
33724          part { name: "elm.colorbar_1";
33725             type: SWALLOW;
33726             mouse_events: 1;
33727             description { state: "default" 0.0;
33728                min: 120 30;
33729                rel1.relative: 0.0 0.254901961;
33730                rel2.relative: 1.0 0.503267974;
33731             }
33732          }
33733          part { name: "elm.colorbar_2";
33734             type: SWALLOW;
33735             mouse_events: 1;
33736             description { state: "default" 0.0;
33737                min: 120 30;
33738                rel1.relative: 0.0 0.503267974;
33739                rel2.relative: 1.0 0.751633987;
33740             }
33741          }
33742          part { name: "elm.colorbar_3";
33743             type: SWALLOW;
33744             mouse_events: 1;
33745             description { state: "default" 0.0;
33746                min: 120 30;
33747                rel1.relative: 0.0 0.751633987;
33748                rel2.relative: 1.0 1.0;
33749             }
33750          }
33751       }
33752    }
33753
33754    group { name: "elm/colorselector/base/default";
33755       parts {
33756          part { name: "elm.bar_bg";
33757             type: SWALLOW;
33758             mouse_events: 0;
33759             description { state: "default" 0.0;
33760                min: 60 22;
33761                rel1 {
33762                   relative: 0.0 0.8;
33763                   to_x: "elm.arrow_bg";
33764                   to_y: "elm.arrow_icon";
33765                   offset: 0 0;
33766                }
33767                rel2 {
33768                   relative: 1.0 0.83;
33769                   to_x: "elm.arrow_bg";
33770                   offset: 0 0;
33771                }
33772             }
33773          }
33774          part { name: "elm.bar";
33775             type: SWALLOW;
33776             mouse_events: 0;
33777             description { state: "default" 0.0;
33778                rel1.to: "elm.bar_bg";
33779                rel2.to: "elm.bar_bg";
33780             }
33781          }
33782          part { name: "elm.arrow_bg";
33783             type: SWALLOW;
33784             mouse_events: 1;
33785             description { state: "default" 0.0;
33786                rel1 {
33787                   relative: 1.0 0.17;
33788                   offset: 3 0;
33789                   to_x: "elm.l_button";
33790                }
33791                rel2 {
33792                   relative: 0.0 0.83;
33793                      offset: -4 0;
33794                   to_x: "elm.r_button";
33795                }
33796             }
33797          }
33798          part { name: "elm.arrow";
33799             type: RECT;
33800             mouse_events: 1;
33801             scale: 1;
33802             description { state: "default" 0.0;
33803                min: 1 1;
33804                fixed: 1 1;
33805                align: 0 0;
33806                rel1 {
33807                   to_x: "elm.arrow_bg";
33808                }
33809                rel2 {
33810                   relative: 0.0 0.17;
33811                   to_x: "elm.arrow_bg";
33812                }
33813                color: 0 0 0 0;
33814                visible: 0;
33815             }
33816             dragable {
33817                confine: "elm.arrow_bg";
33818                x: 1 1 0;
33819                y: 0 0 0;
33820             }
33821          }
33822          part { name: "elm.arrow_icon";
33823             type: SWALLOW;
33824             mouse_events: 0;
33825             description { state: "default" 0.0;
33826                min: 25 15;
33827                max: 25 15;
33828                fixed: 1 1;
33829                align: 0.5 0;
33830                rel1 {
33831                   to_x: "elm.arrow";
33832                }
33833                rel2 {
33834                   relative: 1.0 0.0;
33835                   offset: 0 10;
33836                   to_x: "elm.arrow";
33837                }
33838             }
33839          }
33840          part { name: "event";
33841             type: RECT;
33842             mouse_events: 1;
33843             description { state: "default" 0.0;
33844                rel1 {
33845                   to: "elm.arrow_icon";
33846                }
33847                rel2 {
33848                   to_x: "elm.arrow_icon";
33849                   to_y: "elm.arrow_bg";
33850                   offset: 0 0;
33851                }
33852                color: 0 0 0 0;
33853             }
33854             dragable {
33855                events: "elm.arrow";
33856             }
33857          }
33858          part { name: "elm.l_button";
33859             type: SWALLOW;
33860             mouse_events: 1;
33861             scale: 1;
33862             description { state: "default" 0.0;
33863                min: 24 24;
33864                fixed: 1 1;
33865                rel1 {
33866                   relative: 0.0 0.0;
33867                   to_y: "elm.bar_bg";
33868                }
33869                rel2 {
33870                   relative: 0.0 1.0;
33871                   to_y: "elm.bar_bg";
33872                }
33873                align: 0.0 0.5;
33874             }
33875          }
33876          part { name: "elm.r_button";
33877             type: SWALLOW;
33878             mouse_events: 1;
33879             scale: 1;
33880             description {
33881                state: "default" 0.0;
33882                min: 24 24;
33883                fixed: 1 1;
33884                rel1 {
33885                   relative: 1.0 0.0;
33886                   to_y: "elm.bar_bg";
33887                }
33888                rel2 {
33889                   relative: 1.0 1.0;
33890                   to_y: "elm.bar_bg";
33891                }
33892                align: 1.0 0.5;
33893             }
33894          }
33895       }
33896    }
33897
33898    group{ name: "elm/colorselector/image/colorbar_0";
33899       images {
33900          image: "color_picker_color.png" COMP;
33901       }
33902       parts {
33903          part { name: "colorbar_0_image";
33904             type: IMAGE;
33905             mouse_events: 1;
33906             description { state: "default" 0.0;
33907                rel2.offset: -1 -1;
33908                image.normal: "color_picker_color.png";
33909             }
33910          }
33911       }
33912    }
33913
33914    group { name: "elm/colorselector/image/colorbar_1";
33915       images {
33916          image: "color_picker_opacity.png" COMP;
33917       }
33918       parts {
33919          part { name: "colorbar_1_image";
33920             type: IMAGE;
33921             mouse_events: 1;
33922             description { state: "default" 0.0;
33923                rel2.offset: -1 -1;
33924                image.normal: "color_picker_opacity.png";
33925             }
33926          }
33927       }
33928    }
33929
33930    group { name: "elm/colorselector/image/colorbar_2";
33931       images {
33932          image: "color_picker_brightness.png" COMP;
33933       }
33934       parts {
33935          part { name: "colorbar_2_image";
33936             type: IMAGE;
33937             mouse_events: 1;
33938             description { state: "default" 0.0;
33939                rel2.offset: -1 -1;
33940                image.normal: "color_picker_brightness.png";
33941             }
33942          }
33943       }
33944    }
33945
33946    group { name: "elm/colorselector/image/colorbar_3";
33947       images {
33948          image: "color_picker_alpha.png" COMP;
33949       }
33950       parts {
33951          part { name: "colorbar_3_image";
33952             type: IMAGE;
33953             mouse_events: 1;
33954             description { state: "default" 0.0;
33955                rel2.offset: -1 -1;
33956                image.normal: "color_picker_alpha.png";
33957             }
33958          }
33959       }
33960    }
33961
33962    group { name: "elm/colorselector/bg_image/colorbar_3";
33963       images {
33964          image: "color_picker_alpha_bg.png" COMP;
33965       }
33966       parts {
33967          part { name: "colorbar_3_image";
33968             type: IMAGE;
33969             mouse_events: 1;
33970             description { state: "default" 0.0;
33971                rel2.offset: -1 -1;
33972                image.normal: "color_picker_alpha_bg.png";
33973             }
33974          }
33975       }
33976    }
33977
33978    group { name: "elm/colorselector/image/updown";
33979       images {
33980          image: "icon_arrow_down.png" COMP;
33981       }
33982       parts {
33983          part { name: "bg";
33984             type: RECT;
33985             mouse_events: 1;
33986             description { state: "default" 0.0;
33987                color: 0 0 0 0;
33988             }
33989          }
33990          part { name: "arrow_image";
33991             type: IMAGE;
33992             mouse_events: 1;
33993             description { state: "default" 0.0;
33994                image.normal: "icon_arrow_down.png";
33995             }
33996          }
33997       }
33998    }
33999
34000    group { name: "elm/colorselector/button/left";
34001       images {
34002          image: "bt_base1.png" COMP;
34003          image: "bt_shine.png" COMP;
34004          image: "sp_bt_l.png" COMP;
34005       }
34006       parts {
34007          part { name: "button_image";
34008             mouse_events: 1;
34009             description { state: "default" 0.0;
34010                image.normal: "bt_base1.png";
34011                image.border: 6 6 6 6;
34012                image.middle: SOLID;
34013             }
34014
34015             description { state: "clicked" 0.0;
34016                inherit: "default" 0.0;
34017                image.normal: "bt_shine.png";
34018                image.border: 6 6 6 6;
34019                image.middle: SOLID;
34020             }
34021          }
34022          part { name: "btn_over";
34023             type: IMAGE;
34024             mouse_events: 0;
34025             description { state: "default" 0.0;
34026                rel1.to: "button_image";
34027                rel2 {
34028                   relative: 1.0 0.5;
34029                   to: "button_image";
34030                }
34031                image {
34032                   normal: "bt_hilight.png";
34033                   border: 7 7 7 0;
34034                }
34035             }
34036          }
34037          part { name: "btn_over2";
34038             type: IMAGE;
34039             mouse_events: 1;
34040             repeat_events: 1;
34041             ignore_flags: ON_HOLD;
34042             description { state: "default" 0.0;
34043                rel1.to: "button_image";
34044                rel2.to: "button_image";
34045                image {
34046                   normal: "bt_shine.png";
34047                   border: 7 7 7 7;
34048                }
34049             }
34050          }
34051          part { name: "focus_image";
34052             type: IMAGE;
34053             description { state: "default" 0.0;
34054                color: 255 255 255 0;
34055                rel1.to: "button_image";
34056                rel2.to: "button_image";
34057                image {
34058                   normal: "bt_glow.png";
34059                   border: 12 12 12 12;
34060                }
34061                fill.smooth: 0;
34062
34063             }
34064             description { state: "clicked" 0.0;
34065                inherit: "default" 0.0;
34066                visible: 1;
34067                color: 255 255 255 255;
34068             }
34069          }
34070          part { name: "left_arrow";
34071             mouse_events: 1;
34072             description { state: "default" 0.0;
34073                min: 16 16;
34074                max: 16 16;
34075                image.normal: "sp_bt_l.png";
34076             }
34077          }
34078       }
34079
34080       programs {
34081          program {
34082             name:   "button_down";
34083             signal: "elm,state,left,button,down";
34084             source: "left_button";
34085             action: STATE_SET "clicked" 0.0;
34086             target: "button_image";
34087             target: "focus_image";
34088          }
34089          program {
34090             name:   "button_up";
34091             signal: "elm,state,left,button,up";
34092             source: "left_button";
34093             action: STATE_SET "default" 0.0;
34094             target: "button_image";
34095             target: "focus_image";
34096          }
34097       }
34098    }
34099
34100    group { name: "elm/colorselector/button/right";
34101       images {
34102          image: "bt_base1.png" COMP;
34103          image: "bt_shine.png" COMP;
34104          image: "sp_bt_r.png" COMP;
34105       }
34106       parts {
34107          part { name: "button_image";
34108             mouse_events: 1;
34109             description { state: "default" 0.0;
34110                image.normal: "bt_base1.png";
34111                image.border: 6 6 6 6;
34112                image.middle: SOLID;
34113             }
34114
34115             description { state: "clicked" 0.0;
34116                inherit: "default" 0.0;
34117                image.normal: "bt_shine.png";
34118                image.border: 6 6 6 6;
34119                image.middle: SOLID;
34120             }
34121          }
34122          part { name: "btn_over";
34123             type: IMAGE;
34124             mouse_events: 0;
34125             description { state: "default" 0.0;
34126                rel1.to: "button_image";
34127                rel2 {
34128                   relative: 1.0 0.5;
34129                   to: "button_image";
34130                }
34131                image {
34132                   normal: "bt_hilight.png";
34133                   border: 7 7 7 0;
34134                }
34135             }
34136          }
34137          part { name: "btn_over2";
34138             type: IMAGE;
34139             mouse_events: 1;
34140             repeat_events: 1;
34141             ignore_flags: ON_HOLD;
34142             description { state: "default" 0.0;
34143                rel1.to: "button_image";
34144                rel2.to: "button_image";
34145                image {
34146                   normal: "bt_shine.png";
34147                   border: 7 7 7 7;
34148                }
34149             }
34150          }
34151          part { name: "focus_image";
34152             type: IMAGE;
34153             description { state: "default" 0.0;
34154                color: 255 255 255 0;
34155                rel1.to: "button_image";
34156                rel2.to: "button_image";
34157                image {
34158                   normal: "bt_glow.png";
34159                   border: 12 12 12 12;
34160                }
34161                fill.smooth: 0;
34162
34163             }
34164             description { state: "clicked" 0.0;
34165                inherit: "default" 0.0;
34166                visible: 1;
34167                color: 255 255 255 255;
34168             }
34169          }
34170          part { name: "right_arrow";
34171             mouse_events: 1;
34172             description { state: "default" 0.0;
34173                min: 16 16;
34174                max: 16 16;
34175                image.normal: "sp_bt_r.png";
34176             }
34177          }
34178       }
34179
34180       programs {
34181          program {
34182             name:   "button_down";
34183             signal: "elm,state,right,button,down";
34184             source: "right_button";
34185             action: STATE_SET "clicked" 0.0;
34186             target: "button_image";
34187             target: "focus_image";
34188          }
34189          program {
34190             name:   "button_up";
34191             signal: "elm,state,right,button,up";
34192             source: "right_button";
34193             action: STATE_SET "default" 0.0;
34194             target: "button_image";
34195             target: "focus_image";
34196          }
34197       }
34198    }
34199
34200 ///////////////////////////////////////////////////////////////////////////////
34201 #define FLIP_PICKER_MAX_LEN (50)
34202 #define FLIP_PICKER_MAX_LEN_STR "50"
34203
34204    group { name: "elm/flipselector/base/default";
34205       images {
34206          image: "flip_base.png" COMP;
34207          image: "flip_base_shad.png" COMP;
34208          image: "flip_shad.png" COMP;
34209          image: "arrow_up.png" COMP;
34210          image: "arrow_down.png" COMP;
34211          image: "flip_t.png" COMP;
34212          image: "flip_b.png" COMP;
34213       }
34214
34215       data {
34216          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34217       }
34218
34219       //FIXME: quick successive clicks on, say, up, lead to nastiness
34220       script {
34221          public cur, prev, next, lock;
34222
34223          public animator_bottom_down(val, Float:pos) {
34224             new tmp[FLIP_PICKER_MAX_LEN];
34225
34226             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34227             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34228                             0.0);
34229             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34230                             0.0);
34231
34232             if (pos >= 1.0) {
34233                set_state(PART:"shadow", "default", 0.0);
34234                set_int(lock, 0);
34235
34236                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34237                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34238                   replace_str(next, 0, "");
34239                   message(MSG_STRING, 1, tmp);
34240                }
34241             }
34242          }
34243
34244          public animator_top_down(val, Float:pos) {
34245             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34246             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34247                             0.0);
34248             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34249                             0.0);
34250
34251             if (pos >= 1.0)
34252                anim(0.2, "animator_bottom_down", val);
34253          }
34254
34255          public animator_bottom_up(val, Float:pos) {
34256             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34257             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34258                             0.0);
34259             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34260                             0.0);
34261
34262             if (pos >= 1.0)
34263                anim(0.2, "animator_top_up", val);
34264          }
34265
34266          public animator_top_up(val, Float:pos) {
34267             new tmp[FLIP_PICKER_MAX_LEN];
34268
34269             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34270             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34271                             0.0);
34272             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34273                             0.0);
34274
34275             if (pos >= 1.0) {
34276                set_state(PART:"shadow", "default", 0.0);
34277                set_int(lock, 0);
34278
34279                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34280                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34281                   replace_str(next, 0, "");
34282                   message(MSG_STRING, 2, tmp);
34283                }
34284             }
34285          }
34286
34287          public message(Msg_Type:type, id, ...) {
34288             /* flip down */
34289             if ((type == MSG_STRING) && (id == 1)) {
34290                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34291
34292                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34293
34294                if (get_int(lock) == 1) {
34295                   replace_str(next, 0, value);
34296                   return;
34297                }
34298
34299                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34300
34301                set_text(PART:"bottom_b", tmp);
34302
34303                set_state(PART:"top", "shrink", 0.0);
34304                set_text(PART:"top", tmp);
34305                set_state(PART:"top", "default", 0.0);
34306                set_text(PART:"top", tmp);
34307
34308                replace_str(prev, 0, tmp);
34309
34310                set_state(PART:"bottom", "default", 0.0);
34311                set_text(PART:"bottom", value);
34312                set_state(PART:"bottom", "shrink", 0.0);
34313                set_text(PART:"bottom", value);
34314
34315                set_text(PART:"top_b", value);
34316
34317                replace_str(cur, 0, value);
34318
34319                set_state(PART:"bottom_sheet", "shrink", 0.0);
34320                set_state(PART:"top_sheet", "default", 0.0);
34321
34322                set_int(lock, 1);
34323                set_state(PART:"shadow", "default", 0.0);
34324                anim(0.2, "animator_top_down", 1);
34325             }
34326
34327             /* flip up */
34328             if ((type == MSG_STRING) && (id == 2)) {
34329                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34330
34331                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34332
34333                if (get_int(lock) == 1) {
34334                   replace_str(next, 0, value);
34335                   return;
34336                }
34337
34338                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34339
34340                set_text(PART:"top_b", tmp);
34341
34342                set_state(PART:"bottom", "shrink", 0.0);
34343                set_text(PART:"bottom", tmp);
34344                set_state(PART:"bottom", "default", 0.0);
34345                set_text(PART:"bottom", tmp);
34346
34347                replace_str(prev, 0, tmp);
34348
34349                set_state(PART:"top", "default", 0.0);
34350                set_text(PART:"top", value);
34351                set_state(PART:"top", "shrink", 0.0);
34352                set_text(PART:"top", value);
34353
34354                set_text(PART:"bottom_b", value);
34355
34356                replace_str(cur, 0, value);
34357
34358                set_state(PART:"bottom_sheet", "default", 0.0);
34359                set_state(PART:"top_sheet", "shrink", 0.0);
34360
34361                set_int(lock, 1);
34362                set_state(PART:"shadow", "full", 0.0);
34363                anim(0.2, "animator_bottom_up", 1);
34364             }
34365          }
34366       }
34367
34368       parts {
34369          part { name: "shad";
34370             mouse_events: 0;
34371             description { state: "default" 0.0;
34372                rel1.offset: -4 -4;
34373                rel1.to: "base";
34374                rel2.offset: 3 3;
34375                rel2.to: "base";
34376                image {
34377                   normal: "flip_base_shad.png";
34378                   border: 8 8 8 8;
34379                }
34380             }
34381          }
34382
34383          part { name: "base";
34384             scale: 1;
34385             description { state: "default" 0.0;
34386                rel1.offset: 4 4;
34387                rel2.offset: -5 -5;
34388                min: 24 48;
34389                image.normal: "flip_base.png";
34390             }
34391          }
34392
34393          part { name: "b";
34394             type: RECT;
34395             mouse_events: 1;
34396             description { state: "default" 0.0;
34397                rel1.to: "base";
34398                rel1.relative: 0.0 0.5;
34399                rel2.to: "base";
34400                color: 0 0 0 0;
34401             }
34402             description { state: "hidden" 0.0;
34403                inherit: "default" 0.0;
34404                visible: 0;
34405             }
34406          }
34407
34408          part { name: "t";
34409             type: RECT;
34410             mouse_events: 1;
34411             description { state: "default" 0.0;
34412                rel1.to: "base";
34413                rel2.to: "base";
34414                rel2.relative: 1.0 0.5;
34415                color: 0 0 0 0;
34416             }
34417             description { state: "hidden" 0.0;
34418                inherit: "default" 0.0;
34419                visible: 0;
34420             }
34421          }
34422
34423          part { name: "bottom_sheet_static";
34424             mouse_events: 0;
34425             description { state: "default" 0.0;
34426                visible: 1;
34427                rel1.to: "b";
34428                rel2.to: "b";
34429                image.normal: "flip_b.png";
34430             }
34431          }
34432
34433          part { name: "bottom_b";
34434             mouse_events: 0;
34435             clip_to: "bottom_clipper";
34436             type: TEXT;
34437             scale: 1;
34438             description { state: "default" 0.0;
34439                rel1.to: "base";
34440                rel2.to: "base";
34441                color: 0 0 0 255;
34442                color2: 0 0 0 255;
34443                text {
34444                   font: "Sans:style=Bold,Edje-Vera-Bold";
34445                   size: 30;
34446                   min: 1 1;
34447                   align: 0.5 0.5;
34448                }
34449             }
34450          }
34451
34452          part { name: "shadow";
34453             mouse_events: 0;
34454             description { state: "default" 0.0;
34455                rel1.to: "b";
34456                rel2.to: "b";
34457                rel2.relative: 1.0 0.0;
34458                image.normal: "flip_shad.png";
34459             }
34460             description { state: "half" 0.0;
34461                inherit: "default" 0.0;
34462                rel2.relative: 1.0 0.5;
34463             }
34464             description { state: "full" 0.0;
34465                inherit: "default" 0.0;
34466                rel2.relative: 1.0 1.0;
34467             }
34468          }
34469
34470          part { name: "bottom_sheet";
34471             mouse_events: 0;
34472             description { state: "default" 0.0;
34473                visible: 1;
34474                rel1.to: "b";
34475                rel2.to: "b";
34476                image.normal: "flip_b.png";
34477             }
34478             description { state: "shrink" 0.0;
34479                inherit: "default" 0.0;
34480                visible: 0;
34481                rel2.relative: 1.0 0.0;
34482             }
34483          }
34484
34485          part { name: "bottom";
34486             mouse_events: 0;
34487             clip_to: "bottom_clipper";
34488             type: TEXT;
34489             scale: 1;
34490             description { state: "default" 0.0;
34491                rel1.to: "base";
34492                rel2.to: "base";
34493                color: 0 0 0 255;
34494                color2: 0 0 0 255;
34495                text {
34496                   font: "Sans:style=Bold,Edje-Vera-Bold";
34497                   size: 30;
34498                   min: 1 1;
34499                   align: 0.5 0.5;
34500                }
34501             }
34502             description { state: "shrink" 0.0;
34503                inherit: "default" 0.0;
34504                color: 128 128 128 255;
34505                visible: 0;
34506                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34507             }
34508          }
34509
34510          part { name: "top_sheet_static";
34511             mouse_events: 0;
34512             description { state: "default" 0.0;
34513                visible: 1;
34514                rel1.to: "t";
34515                rel2.to: "t";
34516                image.normal: "flip_t.png";
34517             }
34518          }
34519
34520          part { name: "top_b";
34521             mouse_events: 0;
34522             clip_to: "top_clipper";
34523             type: TEXT;
34524             scale: 1;
34525             description { state: "default" 0.0;
34526                rel1.to: "base";
34527                rel2.to: "base";
34528                color: 0 0 0 255;
34529                color2: 0 0 0 255;
34530                text {
34531                   font: "Sans:style=Bold,Edje-Vera-Bold";
34532                   size: 30;
34533                   min: 1 1;
34534                   align: 0.5 0.5;
34535                   source: "top";
34536                }
34537             }
34538          }
34539
34540          part { name: "top_sheet";
34541             mouse_events: 0;
34542             description { state: "default" 0.0;
34543                visible: 1;
34544                rel1.to: "t";
34545                rel2.to: "t";
34546                image.normal: "flip_t.png";
34547             }
34548             description { state: "shrink" 0.0;
34549                inherit: "default" 0.0;
34550                color: 128 128 128 255;
34551                visible: 0;
34552                rel1.relative: 0.0 1.0;
34553             }
34554          }
34555
34556          part { name: "top";
34557             mouse_events: 0;
34558             clip_to: "top_clipper";
34559             type: TEXT;
34560             scale: 1;
34561             description { state: "default" 0.0;
34562                rel1.to: "base";
34563                rel2.to: "base";
34564                color: 0 0 0 255;
34565                color2: 0 0 0 255;
34566                text {
34567                   font: "Sans:style=Bold,Edje-Vera-Bold";
34568                   size: 30;
34569                   min: 1 1;
34570                   align: 0.5 0.5;
34571                }
34572             }
34573             description { state: "shrink" 0.0;
34574                inherit: "default" 0.0;
34575                visible: 0;
34576                rel1.relative: 0.0 0.5;
34577             }
34578          }
34579
34580          part { name: "arrow_top";
34581             mouse_events: 0;
34582             scale: 1;
34583             description { state: "default" 0.0;
34584                min: 15 15;
34585                max: 15 15;
34586                align: 0.5 0.0;
34587                rel1.to: "t";
34588                rel2.to: "t";
34589                image.normal: "arrow_up.png";
34590             }
34591             description { state: "hidden" 0.0;
34592                inherit: "default" 0.0;
34593                visible: 0;
34594             }
34595          }
34596          part { name: "arrow_bottom";
34597             mouse_events: 0;
34598             scale: 1;
34599             description { state: "default" 0.0;
34600                min: 15 15;
34601                max: 15 15;
34602                align: 0.5 1.0;
34603                rel1.to: "b";
34604                rel2.to: "b";
34605                image.normal: "arrow_down.png";
34606             }
34607             description { state: "hidden" 0.0;
34608                inherit: "default" 0.0;
34609                visible: 0;
34610             }
34611          }
34612
34613          part {
34614             type: RECT;
34615             mouse_events: 0;
34616             name: "top_clipper";
34617             description {
34618                state: "default" 0.0;
34619                rel1.to: "t";
34620                rel2.to: "t";
34621                visible: 1;
34622             }
34623          }
34624
34625          part {
34626             type: RECT;
34627             mouse_events: 0;
34628             name: "bottom_clipper";
34629             description {
34630                state: "default" 0.0;
34631                rel1.to: "b";
34632                rel2.to: "b";
34633                visible: 1;
34634             }
34635          }
34636       }
34637
34638       programs {
34639          program { name: "load";
34640             signal: "load";
34641             source: "";
34642             script {
34643                append_str(cur, "");
34644                append_str(prev, "");
34645                append_str(next, "");
34646                set_int(lock, 0);
34647             }
34648          }
34649
34650          program { name: "hide_arrows";
34651             signal: "elm,state,button,hidden";
34652             source: "elm";
34653             action: STATE_SET "hidden" 0.0;
34654             target: "arrow_top";
34655             target: "arrow_bottom";
34656             target: "t";
34657             target: "b";
34658          }
34659
34660          program { name: "show_arrows";
34661             signal: "elm,state,button,visible";
34662             source: "elm";
34663             action: STATE_SET "default" 0.0;
34664             target: "arrow_top";
34665             target: "arrow_bottom";
34666             target: "t";
34667             target: "b";
34668          }
34669
34670          program { name: "up";
34671             signal: "mouse,down,1";
34672             source: "t";
34673             action: SIGNAL_EMIT "elm,action,up,start" "";
34674          }
34675          program { name: "up,stop";
34676             signal: "mouse,up,1";
34677             source: "t";
34678             action: SIGNAL_EMIT "elm,action,up,stop" "";
34679          }
34680          program { name: "down";
34681             signal: "mouse,down,1";
34682             source: "b";
34683             action: SIGNAL_EMIT "elm,action,down,start" "";
34684          }
34685          program { name: "down,stop";
34686             signal: "mouse,up,1";
34687             source: "b";
34688             action: SIGNAL_EMIT "elm,action,down,stop" "";
34689          }
34690       }
34691    }
34692
34693 ////////////////////////////////////////////////////////////////////////////////
34694 // diskselector
34695 ////////////////////////////////////////////////////////////////////////////////
34696    group { name: "elm/diskselector/base/default";
34697       images {
34698          image: "bar_shine.png" COMP;
34699       }
34700
34701       parts {
34702          part { name: "bg";
34703             type: RECT;
34704             mouse_events: 0;
34705             description { state: "default" 0.0;
34706                color: 0 0 0 255;
34707             }
34708          }
34709          part { name: "shine_left";
34710             mouse_events:  0;
34711             description { state: "default" 0.0;
34712                rel1.to: "bg";
34713                rel1.relative: -0.1 0;
34714                rel2.to: "bg";
34715                rel2.relative: 0.1 1;
34716                image.normal: "bar_shine.png";
34717                color: 255 255 255 120;
34718             }
34719          }
34720          part { name: "shine_center";
34721             mouse_events:  0;
34722             description { state: "default" 0.0;
34723                rel1.to: "bg";
34724                rel1.relative: 0.2 0;
34725                rel2.to: "bg";
34726                rel2.relative: 0.8 1;
34727                image.normal: "bar_shine.png";
34728                color: 255 255 255 180;
34729             }
34730          }
34731          part { name: "shine_right";
34732             mouse_events:  0;
34733             description { state: "default" 0.0;
34734                rel1.to: "bg";
34735                rel1.relative: 0.9 0;
34736                rel2.to: "bg";
34737                rel2.relative: 1.1 1;
34738                image.normal: "bar_shine.png";
34739                color: 255 255 255 120;
34740             }
34741          }
34742          part { name: "clipper";
34743             type: RECT;
34744             mouse_events: 0;
34745             description { state: "default" 0.0;
34746                rel1.to: "bg";
34747                rel2.to: "bg";
34748                rel1.offset: 2 2;
34749                rel2.offset: -3 -3;
34750             }
34751          }
34752          part { name: "elm.swallow.content";
34753             clip_to: "clipper";
34754             type: SWALLOW;
34755             description { state: "default" 0.0;
34756                rel1.to: "bg";
34757                rel2.to: "bg";
34758             }
34759          }
34760       }
34761    }
34762
34763    group { name: "elm/diskselector/item/default";
34764
34765       data {
34766          item: "len_threshold" "14";
34767          item: "display_item_num" "3";
34768          item: "min_height" "-1";
34769          item: "min_width" "-1";
34770       }
34771
34772       parts {
34773          part { name: "elm.swallow.icon";
34774             type: SWALLOW;
34775             description { state: "default" 0.0;
34776                fixed: 1 0;
34777                align: 0.0 0.5;
34778                rel1 {
34779                   relative: 0 0;
34780                   offset: 4 4;
34781                }
34782                rel2 {
34783                   relative: 0 1;
34784                   offset: 4 -5;
34785                }
34786             }
34787             description { state: "show" 0.0;
34788                inherit: "default" 0.0;
34789             }
34790             description { state: "default_small" 0.0;
34791                inherit: "default" 0.0;
34792                rel1.relative: 0 0.2;
34793                rel2.relative: 0 0.8;
34794             }
34795             description { state: "left_side" 0.0;
34796                inherit: "default" 0.0;
34797                rel1.relative: 0 0.2;
34798                rel2.relative: 0 0.8;
34799                color: 255 255 255 160;
34800             }
34801             description { state: "right_side" 0.0;
34802                inherit: "left_side" 0.0;
34803                rel1.relative: 0.4 0.2;
34804                rel2.relative: 0.4 0.8;
34805                color: 255 255 255 160;
34806             }
34807          }
34808          part { name: "elm.text";
34809             type: TEXT;
34810             mouse_events: 0;
34811             scale: 1;
34812             description { state: "default" 0.0;
34813                rel1.relative: 1 0.0;
34814                rel1.to_x: "elm.swallow.icon";
34815                rel2.relative: 1.0 1.0;
34816                color: 255 255 255 255;
34817                visible: 0;
34818                text {
34819                   font: "Sans,Edje-Vera";
34820                   size: 13;
34821                   align: 0.5 0.5;
34822                   min: 0 1;
34823                }
34824             }
34825             description { state: "show" 0.0;
34826                inherit: "default" 0.0;
34827                visible: 1;
34828             }
34829             description { state: "default_small" 0.0;
34830                inherit: "default" 0.0;
34831                visible: 1;
34832                text.size: 10;
34833             }
34834             description { state: "left_side" 0.0;
34835                inherit: "default" 0.0;
34836                color: 172 172 172 255;
34837                text.size: 10;
34838                visible: 1;
34839                text.align: 0.2 0.5;
34840             }
34841             description { state: "right_side" 0.0;
34842                inherit: "default" 0.0;
34843                color: 172 172 172 255;
34844                visible: 1;
34845                text.size: 10;
34846                text.align: 0.8 0.5;
34847             }
34848          }
34849       }
34850
34851       programs {
34852          program { name: "center_text";
34853             signal: "elm,state,center";
34854             source: "elm";
34855             action: STATE_SET "show" 0.0;
34856             target: "elm.text";
34857             target: "elm.swallow.icon";
34858          }
34859          program { name: "center_small_text";
34860             signal: "elm,state,center_small";
34861             source: "elm";
34862             action: STATE_SET "default_small" 0.0;
34863             target: "elm.text";
34864             target: "elm.swallow.icon";
34865          }
34866          program { name: "l_side_text";
34867             signal: "elm,state,left_side";
34868             source: "elm";
34869             action: STATE_SET "left_side" 0.0;
34870             target: "elm.text";
34871             target: "elm.swallow.icon";
34872          }
34873          program { name: "r_side_text";
34874             signal: "elm,state,right_side";
34875             source: "elm";
34876             action: STATE_SET "right_side" 0.0;
34877             target: "elm.text";
34878             target: "elm.swallow.icon";
34879          }
34880       }
34881    }
34882
34883    group { name: "elm/entry/path/separator/default";
34884       images.image: "arrow_right.png" COMP;
34885       parts {
34886          part { name: "icon";
34887             mouse_events: 0;
34888             description { state: "default" 0.0;
34889                image.normal: "arrow_right.png";
34890                max: 64 64;
34891                aspect: 1.0 1.0;
34892             }
34893          }
34894       }
34895    }
34896
34897    group { name: "elm/fileselector/base/default";
34898       data {
34899          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34900       }
34901       parts {
34902          part { name: "elm.swallow.up";
34903             type: SWALLOW;
34904             description { state: "default" 0.0;
34905                align: 0.0 0.0;
34906                min: 10 10;
34907                fixed: 1 1;
34908                rel2 {
34909                   relative: 0.0 0.0;
34910                   offset: 0 0;
34911                }
34912             }
34913          }
34914          part { name: "elm.swallow.home";
34915             type: SWALLOW;
34916             description { state: "default" 0.0;
34917                align: 0.0 0.0;
34918                min: 10 10;
34919                fixed: 1 1;
34920                rel1 {
34921                   to: "elm.swallow.up";
34922                   relative: 1.0 0.0;
34923                   offset: 5 0;
34924                }
34925                rel2 {
34926                   to: "elm.swallow.up";
34927                   relative: 1.0 1.0;
34928                   offset: 20 -1;
34929                }
34930             }
34931          }
34932          part { name: "elm.swallow.files";
34933             type: SWALLOW;
34934             description { state: "default" 0.0;
34935                align: 1.0 0.0;
34936                min: 10 10;
34937                fixed: 1 1;
34938                rel1 {
34939                   to_y: "elm.swallow.home";
34940                   relative: 0.0 1.0;
34941                   offset: 0 0;
34942                }
34943                rel2 {
34944                   to_y: "elm.swallow.path";
34945                   relative: 1.0 0.0;
34946                   offset: -1 -1;
34947                }
34948             }
34949          }
34950          part { name: "elm.swallow.path";
34951             type: SWALLOW;
34952             description { state: "default" 0.0;
34953                align: 0.5 1.0;
34954                fixed: 1 1;
34955                rel1 {
34956                   to_y: "elm.swallow.filename";
34957                   relative: 0.0 0.0;
34958                   offset: 0 -1;
34959                }
34960                rel2 {
34961                   to_y: "elm.swallow.filename";
34962                   relative: 1.0 0.0;
34963                   offset: -1 -1;
34964                }
34965             }
34966          }
34967          part { name: "elm.swallow.filename";
34968             type: SWALLOW;
34969             description { state: "default" 0.0;
34970                align: 0.5 1.0;
34971                fixed: 1 1;
34972                rel1 {
34973                   to_y: "elm.swallow.ok";
34974                   relative: 0.0 0.0;
34975                   offset: 0 -1;
34976                }
34977                rel2 {
34978                   to_y: "elm.swallow.ok";
34979                   relative: 1.0 0.0;
34980                   offset: -1 -1;
34981                }
34982             }
34983          }
34984          part { name: "elm.swallow.cancel";
34985             type: SWALLOW;
34986             description { state: "default" 0.0;
34987                align: 1.0 1.0;
34988                fixed: 1 1;
34989                rel1 {
34990                   to: "elm.swallow.ok";
34991                   relative: 0.0 0.0;
34992                   offset: -3 0;
34993                }
34994                rel2 {
34995                   to: "elm.swallow.ok";
34996                   relative: 0.0 1.0;
34997                   offset: -3 -1;
34998                }
34999             }
35000          }
35001          part { name: "elm.swallow.ok";
35002             type: SWALLOW;
35003             description { state: "default" 0.0;
35004                align: 1.0 1.0;
35005                fixed: 1 1;
35006                rel1 {
35007                   relative: 1.0 1.0;
35008                   offset: -1 -1;
35009                }
35010             }
35011          }
35012       }
35013    }
35014
35015    group { name: "elm/fileselector_entry/base/default";
35016       parts {
35017          part { name: "elm.swallow.entry";
35018             type: SWALLOW;
35019             description { state: "default" 0.0;
35020                align: 0.0 0.0;
35021                min: 50 10;
35022                rel2 { to_x: "elm.swallow.button";
35023                   relative: 0.0 1.0;
35024                   offset: -1 -1;
35025                }
35026             }
35027          }
35028          part { name: "elm.swallow.button";
35029             type: SWALLOW;
35030             description { state: "default" 0.0;
35031                align: 1.0 0.0;
35032                min: 10 10;
35033                fixed: 1 1;
35034                rel1 {
35035                   relative: 1.0 0.0;
35036                   offset: -21 0;
35037                }
35038             }
35039          }
35040       }
35041    }
35042
35043 ////////////////////////////////////////////////////////////////////////
35044 // Standard layouts to be used                                        //
35045 ////////////////////////////////////////////////////////////////////////
35046    /* application with toolbar and main content area */
35047    group { name: "elm/layout/application/toolbar-content";
35048       parts {
35049          part { name: "elm.swallow.content";
35050             type: SWALLOW;
35051             description { state: "default" 0.0;
35052                rel1 { to_y: "elm.external.toolbar";
35053                   relative: 0.0 1.0;
35054                   offset: -1 1;
35055                }
35056             }
35057          }
35058
35059          part { name: "elm.external.toolbar";
35060             type: EXTERNAL;
35061             source: "elm/toolbar";
35062             description { state: "default" 0.0;
35063                align: 0.5 0.0;
35064                fixed: 0 1;
35065                rel2 {
35066                   relative: 1.0 0.0;
35067                   offset: -1 47;
35068                }
35069             }
35070          }
35071       }
35072    }
35073
35074    /* application with toolbar and main content area with a back button and title area */
35075    group { name: "elm/layout/application/toolbar-content-back";
35076       parts {
35077          part { name: "elm.swallow.content";
35078             type: SWALLOW;
35079             description { state: "default" 0.0;
35080                rel1 { to_y: "title_clipper";
35081                   relative: 0.0 1.0;
35082                   offset: -1 1;
35083                }
35084             }
35085          }
35086
35087          part { name: "elm.external.toolbar";
35088             type: EXTERNAL;
35089             source: "elm/toolbar";
35090             description { state: "default" 0.0;
35091                fixed: 0 1;
35092                align: 0.5 0.0;
35093                rel2 {
35094                   relative: 1.0 0.0;
35095                   offset: -1 47;
35096                }
35097             }
35098          }
35099          part { name: "title_clipper";
35100             type: RECT;
35101             description { state: "default" 0.0;
35102                visible: 1;
35103                rel1 {
35104                   to_y: "back";
35105                }
35106                rel2 {
35107                   to_y: "back";
35108                }
35109             }
35110             description { state: "hidden" 0.0;
35111                inherit: "default" 0.0;
35112                visible: 0;
35113                rel2 {
35114                   relative: 1.0 0.0;
35115                }
35116             }
35117          }
35118          part { name: "back_clipper";
35119             type: RECT;
35120             clip_to: "title_clipper";
35121             description { state: "default" 0.0;
35122                visible: 1;
35123             }
35124             description { state: "hidden" 0.0;
35125                visible: 0;
35126             }
35127          }
35128          part { name: "back";
35129             type: EXTERNAL;
35130             source: "elm/button";
35131             clip_to: "back_clipper";
35132             description { state: "default" 0.0;
35133                align: 0.0 0.0;
35134                fixed: 1 1;
35135                rel1 { to_y: "elm.external.toolbar";
35136                   relative: 0.0 1.0;
35137                   offset: 0 1;
35138                }
35139                rel2 { to_y: "elm.external.toolbar";
35140                   relative: 0.0 1.0;
35141                   offset: 50 32;
35142                }
35143                params.string: "label" "Back";
35144             }
35145          }
35146          programs {
35147             program {
35148                signal: "clicked";
35149                source: "back";
35150                action: SIGNAL_EMIT "elm,action,back" "";
35151             }
35152             program {
35153                signal: "elm,back,hide";
35154                source: "elm";
35155                action: STATE_SET "hidden" 0.0;
35156                target: "back_clipper";
35157             }
35158             program {
35159                signal: "elm,back,show";
35160                source: "elm";
35161                action: STATE_SET "default" 0.0;
35162                target: "back_clipper";
35163             }
35164             program {
35165                signal: "elm,title,hide";
35166                source: "elm";
35167                action: STATE_SET "hidden" 0.0;
35168                transition: LINEAR 0.1;
35169                target: "title_clipper";
35170             }
35171             program {
35172                signal: "elm,title,show";
35173                source: "elm";
35174                action: STATE_SET "default" 0.0;
35175                target: "title_clipper";
35176             }
35177          }
35178
35179          part { name: "elm.swallow.end";
35180             type: SWALLOW;
35181             description { state: "default" 0.0;
35182                align: 1.0 0.0;
35183                fixed: 1 1;
35184                rel1 { to_y: "elm.external.toolbar";
35185                   relative: 1.0 1.0;
35186                   offset: -2 1;
35187                }
35188                rel2 { to_y: "elm.external.toolbar";
35189                   relative: 1.0 1.0;
35190                   offset: -1 32;
35191                }
35192             }
35193          }
35194
35195          part { name: "elm.text.title";
35196             type: TEXT;
35197             effect: SOFT_SHADOW;
35198             scale: 1;
35199             description { state: "default" 0.0;
35200                rel1 { to_y: "elm.external.toolbar";
35201                   to_x: "back";
35202                   relative: 1.0 1.0;
35203                   offset: 2 1;
35204                }
35205                rel2 { to_y: "back";
35206                   to_x: "elm.swallow.end";
35207                   relative: 0.0 1.0;
35208                   offset: -3 -1;
35209                }
35210                text {
35211                   font: "Sans:style=Bold";
35212                   size: 12;
35213                }
35214             }
35215          }
35216       }
35217    }
35218
35219    /* application with toolbar and main content area with a back and next buttons and title area */
35220    group { name: "elm/layout/application/toolbar-content-back-next";
35221       parts {
35222          part { name: "elm.swallow.content";
35223             type: SWALLOW;
35224             description { state: "default" 0.0;
35225                rel1 { to_y: "title_clipper";
35226                   relative: 0.0 1.0;
35227                   offset: -1 1;
35228                }
35229             }
35230          }
35231
35232          part { name: "elm.external.toolbar";
35233             type: EXTERNAL;
35234             source: "elm/toolbar";
35235             description { state: "default" 0.0;
35236                fixed: 0 1;
35237                align: 0.5 0.0;
35238                rel2 {
35239                   relative: 1.0 0.0;
35240                   offset: -1 47;
35241                }
35242             }
35243          }
35244          part { name: "title_clipper";
35245             type: RECT;
35246             description { state: "default" 0.0;
35247                visible: 1;
35248                rel1 {
35249                   to_y: "back";
35250                }
35251                rel2 {
35252                   to_y: "back";
35253                }
35254             }
35255             description { state: "hidden" 0.0;
35256                inherit: "default" 0.0;
35257                visible: 0;
35258                rel2 {
35259                   relative: 1.0 0.0;
35260                }
35261             }
35262          }
35263          part { name: "back";
35264             type: EXTERNAL;
35265             source: "elm/button";
35266             clip_to: "back_clipper";
35267             description { state: "default" 0.0;
35268                align: 0.0 0.0;
35269                fixed: 1 1;
35270                rel1 { to_y: "elm.external.toolbar";
35271                   relative: 0.0 1.0;
35272                   offset: 0 1;
35273                }
35274                rel2 { to_y: "elm.external.toolbar";
35275                   relative: 0.0 1.0;
35276                   offset: 50 32;
35277                }
35278                params.string: "label" "Back";
35279             }
35280          }
35281          part { name: "back_clipper";
35282             type: RECT;
35283             clip_to: "title_clipper";
35284             description { state: "default" 0.0;
35285                visible: 1;
35286             }
35287             description { state: "hidden" 0.0;
35288                visible: 0;
35289             }
35290          }
35291          part { name: "next";
35292             type: EXTERNAL;
35293             source: "elm/button";
35294             clip_to: "next_clipper";
35295             description { state: "default" 0.0;
35296                align: 1.0 0.0;
35297                fixed: 1 1;
35298                rel1 { to_y: "elm.external.toolbar";
35299                   relative: 1.0 1.0;
35300                   offset: -2 1;
35301                }
35302                rel2 { to_y: "elm.external.toolbar";
35303                   relative: 1.0 1.0;
35304                   offset: -1 32;
35305                }
35306                params.string: "label" "Next";
35307            }
35308          }
35309          part { name: "next_clipper";
35310             type: RECT;
35311             clip_to: "title_clipper";
35312             description { state: "default" 0.0;
35313                visible: 1;
35314             }
35315             description { state: "hidden" 0.0;
35316                visible: 0;
35317             }
35318          }
35319          programs {
35320             program {
35321                signal: "clicked";
35322                source: "back";
35323                action: SIGNAL_EMIT "elm,action,back" "";
35324             }
35325             program {
35326                signal: "elm,title,hide";
35327                source: "elm";
35328                action: STATE_SET "hidden" 0.0;
35329                transition: LINEAR 0.1;
35330                target: "title_clipper";
35331             }
35332             program {
35333                signal: "elm,title,show";
35334                source: "elm";
35335                action: STATE_SET "default" 0.0;
35336                target: "title_clipper";
35337             }
35338             program {
35339                signal: "elm,back,hide";
35340                source: "elm";
35341                action: STATE_SET "hidden" 0.0;
35342                target: "back_clipper";
35343             }
35344             program {
35345                signal: "elm,back,show";
35346                source: "elm";
35347                action: STATE_SET "default" 0.0;
35348                target: "back_clipper";
35349             }
35350             program {
35351                signal: "clicked";
35352                source: "next";
35353                action: SIGNAL_EMIT "elm,action,next" "";
35354             }
35355             program {
35356                signal: "elm,next,hide";
35357                source: "elm";
35358                action: STATE_SET "hidden" 0.0;
35359                target: "next_clipper";
35360             }
35361             program {
35362                signal: "elm,next,show";
35363                source: "elm";
35364                action: STATE_SET "default" 0.0;
35365                target: "next_clipper";
35366             }
35367          }
35368          part { name: "elm.text.title";
35369             type: TEXT;
35370             effect: SOFT_SHADOW;
35371             scale: 1;
35372             clip_to: "title_clipper";
35373             description { state: "default" 0.0;
35374                rel1 { to_y: "elm.external.toolbar";
35375                   to_x: "back";
35376                   relative: 1.0 1.0;
35377                   offset: 2 1;
35378                }
35379                rel2 { to_y: "back";
35380                   to_x: "next";
35381                   relative: 0.0 1.0;
35382                   offset: -3 -1;
35383                }
35384                text {
35385                   font: "Sans:style=Bold";
35386                   size: 12;
35387                }
35388             }
35389          }
35390       }
35391    }
35392    /* application with a main content area with a back button and title area */
35393    group { name: "elm/layout/application/content-back";
35394       parts {
35395          part { name: "elm.swallow.content";
35396             type: SWALLOW;
35397             description { state: "default" 0.0;
35398                rel1 { to_y: "title_clipper";
35399                   relative: 0.0 1.0;
35400                   offset: -1 1;
35401                }
35402             }
35403          }
35404          part { name: "title_clipper";
35405             type: RECT;
35406             description { state: "default" 0.0;
35407                visible: 1;
35408                rel1 {
35409                   to_y: "back";
35410                }
35411                rel2 {
35412                   to_y: "back";
35413                }
35414             }
35415             description { state: "hidden" 0.0;
35416                inherit: "default" 0.0;
35417                visible: 0;
35418                rel2 {
35419                   relative: 1.0 0.0;
35420                }
35421             }
35422          }
35423          part { name: "back_clipper";
35424             type: RECT;
35425             clip_to: "title_clipper";
35426             description { state: "default" 0.0;
35427                visible: 1;
35428             }
35429             description { state: "hidden" 0.0;
35430                visible: 0;
35431             }
35432          }
35433          part { name: "back";
35434             type: EXTERNAL;
35435             source: "elm/button";
35436             clip_to: "back_clipper";
35437             description { state: "default" 0.0;
35438                align: 0.0 0.0;
35439                fixed: 1 1;
35440                rel1 {
35441                   relative: 0.0 0.0;
35442                   offset: 0 1;
35443                }
35444                rel2 {
35445                   relative: 0.0 0.0;
35446                   offset: 50 32;
35447                }
35448                params.string: "label" "Back";
35449             }
35450          }
35451          programs {
35452             program {
35453                signal: "clicked";
35454                source: "back";
35455                action: SIGNAL_EMIT "elm,action,back" "";
35456             }
35457             program {
35458                signal: "elm,back,hide";
35459                source: "elm";
35460                action: STATE_SET "hidden" 0.0;
35461                target: "back_clipper";
35462             }
35463             program {
35464                signal: "elm,back,show";
35465                source: "elm";
35466                action: STATE_SET "default" 0.0;
35467                target: "back_clipper";
35468             }
35469             program {
35470                signal: "elm,title,hide";
35471                source: "elm";
35472                action: STATE_SET "hidden" 0.0;
35473                transition: LINEAR 0.1;
35474                target: "title_clipper";
35475             }
35476             program {
35477                signal: "elm,title,show";
35478                source: "elm";
35479                action: STATE_SET "default" 0.0;
35480                target: "title_clipper";
35481             }
35482          }
35483
35484          part { name: "elm.swallow.end";
35485             type: SWALLOW;
35486             description { state: "default" 0.0;
35487                align: 1.0 0.0;
35488                fixed: 1 1;
35489                rel1 {
35490                   relative: 1.0 0.0;
35491                   offset: -2 1;
35492                }
35493                rel2 {
35494                   relative: 1.0 1.0;
35495                   offset: -1 32;
35496                }
35497             }
35498          }
35499
35500          part { name: "elm.text.title";
35501             type: TEXT;
35502             effect: SOFT_SHADOW;
35503             scale: 1; 
35504             description { state: "default" 0.0;
35505                rel1 {
35506                   to_x: "back";
35507                   relative: 1.0 0.0;
35508                   offset: 2 1;
35509                }
35510                rel2 { to_y: "back";
35511                   to_x: "elm.swallow.end";
35512                   relative: 0.0 1.0;
35513                   offset: -3 -1;
35514                }
35515                text {
35516                   font: "Sans:style=Bold";
35517                   size: 12;
35518                }
35519             }
35520          }
35521       }
35522    }
35523
35524    /* application with a main content area with a back and next buttons and title area */
35525    group { name: "elm/layout/application/content-back-next";
35526       parts {
35527          part { name: "elm.swallow.content";
35528             type: SWALLOW;
35529             description { state: "default" 0.0;
35530                rel1 { to_y: "title_clipper";
35531                   relative: 0.0 1.0;
35532                   offset: -1 1;
35533                }
35534             }
35535          }
35536
35537          part { name: "title_clipper";
35538             type: RECT;
35539             description { state: "default" 0.0;
35540                visible: 1;
35541                rel1 {
35542                   to_y: "back";
35543                }
35544                rel2 {
35545                   to_y: "back";
35546                }
35547             }
35548             description { state: "hidden" 0.0;
35549                inherit: "default" 0.0;
35550                visible: 0;
35551                rel2 {
35552                   relative: 1.0 0.0;
35553                }
35554             }
35555          }
35556          part { name: "back";
35557             type: EXTERNAL;
35558             source: "elm/button";
35559             clip_to: "back_clipper";
35560             description { state: "default" 0.0;
35561                align: 0.0 0.0;
35562                fixed: 1 1;
35563                rel1 {
35564                   relative: 0.0 0.0;
35565                   offset: 0 1;
35566                }
35567                rel2 {
35568                   relative: 0.0 0.0;
35569                   offset: 50 32;
35570                }
35571                params.string: "label" "Back";
35572             }
35573          }
35574          part { name: "back_clipper";
35575             type: RECT;
35576             clip_to: "title_clipper";
35577             description { state: "default" 0.0;
35578                visible: 1;
35579             }
35580             description { state: "hidden" 0.0;
35581                visible: 0;
35582             }
35583          }
35584          part { name: "next";
35585             type: EXTERNAL;
35586             source: "elm/button";
35587             clip_to: "next_clipper";
35588             description { state: "default" 0.0;
35589                align: 1.0 0.0;
35590                fixed: 1 1;
35591                rel1 {
35592                   relative: 1.0 0.0;
35593                   offset: -2 1;
35594                }
35595                rel2 {
35596                   relative: 1.0 0.0;
35597                   offset: -1 32;
35598                }
35599                params.string: "label" "Next";
35600            }
35601          }
35602          part { name: "next_clipper";
35603             type: RECT;
35604             clip_to: "title_clipper";
35605             description { state: "default" 0.0;
35606                visible: 1;
35607             }
35608             description { state: "hidden" 0.0;
35609                visible: 0;
35610             }
35611          }
35612          programs {
35613             program {
35614                signal: "clicked";
35615                source: "back";
35616                action: SIGNAL_EMIT "elm,action,back" "";
35617             }
35618             program {
35619                signal: "elm,title,hide";
35620                source: "elm";
35621                action: STATE_SET "hidden" 0.0;
35622                transition: LINEAR 0.1;
35623                target: "title_clipper";
35624             }
35625             program {
35626                signal: "elm,title,show";
35627                source: "elm";
35628                action: STATE_SET "default" 0.0;
35629                target: "title_clipper";
35630             }
35631             program {
35632                signal: "elm,back,hide";
35633                source: "elm";
35634                action: STATE_SET "hidden" 0.0;
35635                target: "back_clipper";
35636             }
35637             program {
35638                signal: "elm,back,show";
35639                source: "elm";
35640                action: STATE_SET "default" 0.0;
35641                target: "back_clipper";
35642             }
35643             program {
35644                signal: "clicked";
35645                source: "next";
35646                action: SIGNAL_EMIT "elm,action,next" "";
35647             }
35648             program {
35649                signal: "elm,next,hide";
35650                source: "elm";
35651                action: STATE_SET "hidden" 0.0;
35652                target: "next_clipper";
35653             }
35654             program {
35655                signal: "elm,next,show";
35656                source: "elm";
35657                action: STATE_SET "default" 0.0;
35658                target: "next_clipper";
35659             }
35660          }
35661          part { name: "elm.text.title";
35662             type: TEXT;
35663             effect: SOFT_SHADOW;
35664             scale: 1;
35665             clip_to: "title_clipper";
35666             description { state: "default" 0.0;
35667                rel1 {
35668                   to_x: "back";
35669                   relative: 1.0 0.0;
35670                   offset: 2 1;
35671                }
35672                rel2 { to_y: "back";
35673                   to_x: "next";
35674                   relative: 0.0 1.0;
35675                   offset: -3 -1;
35676                }
35677                text {
35678                   font: "Sans:style=Bold";
35679                   size: 12;
35680                }
35681             }
35682          }
35683       }
35684    }
35685
35686    /* application with toolbar and main content area as a vertical box */
35687    group { name: "elm/layout/application/toolbar-vbox";
35688       parts {
35689          part { name: "elm.box.content";
35690             type: BOX;
35691             description { state: "default" 0.0;
35692                rel1 { to_y: "elm.external.toolbar";
35693                   relative: 0.0 1.0;
35694                   offset: -1 1;
35695                }
35696                box.layout: "vertical";
35697             }
35698          }
35699
35700          part { name: "elm.external.toolbar";
35701             type: EXTERNAL;
35702             source: "elm/toolbar";
35703             description { state: "default" 0.0;
35704                align: 0.5 0.0;
35705                fixed: 0 1;
35706                rel2 {
35707                   relative: 1.0 0.0;
35708                   offset: -1 47;
35709                }
35710             }
35711          }
35712       }
35713    }
35714
35715    /* application with toolbar and main content area as a table */
35716    group { name: "elm/layout/application/toolbar-table";
35717       parts {
35718          part { name: "elm.table.content";
35719             type: TABLE;
35720             description { state: "default" 0.0;
35721                rel1 { to_y: "elm.external.toolbar";
35722                   relative: 0.0 1.0;
35723                   offset: -1 1;
35724                }
35725             }
35726          }
35727
35728          part { name: "elm.external.toolbar";
35729             type: EXTERNAL;
35730             source: "elm/toolbar";
35731             description { state: "default" 0.0;
35732                align: 0.5 0.0;
35733                fixed: 0 1;
35734                rel2 {
35735                   relative: 1.0 0.0;
35736                   offset: -1 47;
35737                }
35738             }
35739          }
35740       }
35741    }
35742
35743 ///////////////////////////////////////////////////////////////////////////////
35744    group { name: "elm/segment_control/base/default";
35745 #define SEGMENT_TYPE_SINGLE 1
35746 #define SEGMENT_TYPE_LEFT 2
35747 #define SEGMENT_TYPE_MIDDLE 3
35748 #define SEGMENT_TYPE_RIGHT 4
35749 #define SEGMENT_STATE_NORMAL 1
35750 #define SEGMENT_STATE_PRESSED 2
35751 #define SEGMENT_STATE_SELECTED 3
35752 #define SEGMENT_STATUS_ENABLED 0
35753 #define SEGMENT_STATUS_DISABLED 1
35754       parts {
35755          part { name: "bg";
35756             type: RECT;
35757             mouse_events: 0;
35758             scale: 1;
35759             description {
35760                state: "default" 0.0;
35761                color: 0 0 0 0;
35762                min: 100 40;
35763             }
35764          }
35765       }
35766    }
35767    group { name: "elm/segment_control/item/default";
35768       data.item: "label.wrap.part" "label.bg";
35769       styles {
35770          style { name: "seg_text_style_normal";
35771             base: "font=Sans font_size=16 style=shadow \
35772             shadow_color=#2924224d \
35773             align=center \
35774             color=#ffffffff wrap=char text_class=label";
35775             tag:  "br" "\n";
35776             tag:  "hilight" "+ font=Sans:style=Bold";
35777             tag:  "tab" "\t";
35778          }
35779          style { name: "seg_text_style_selected";
35780             base: "font=Sans:style=Bold font_size=16 style=shadow \
35781             shadow_color=#aaaaaa4d \
35782             align=center \
35783             color=#111111ff wrap=char text_class=label";
35784             tag:  "br" "\n";
35785             tag:  "hilight" "+ font=Sans:style=Bold";
35786             tag:  "b" "+ font=Sans:style=Bold";
35787             tag:  "tab" "\t";
35788          }
35789          style { name: "seg_text_style_disabled";
35790             base: "font=Sans:style=Medium font_size=16 style=shadow \
35791             shadow_color=#2924224d \
35792             align=center color=#2924224d \
35793             wrap=char text_class=label";
35794             tag:  "br" "\n";
35795             tag:  "hilight" "+ font=Sans:style=Bold";
35796             tag:  "b" "+ font=Sans:style=Bold";
35797             tag:  "tab" "\t";
35798          }
35799       }
35800       images {
35801          image: "seg_single_pressed.png" COMP;
35802          image: "seg_single_selected.png" COMP;
35803          image: "seg_single_normal.png" COMP;
35804
35805          image: "seg_left_pressed.png" COMP;
35806          image: "seg_left_selected.png" COMP;
35807          image: "seg_left_normal.png" COMP;
35808
35809          image: "seg_middle_pressed.png" COMP;
35810          image: "seg_middle_selected.png" COMP;
35811          image: "seg_middle_normal.png" COMP;
35812
35813          image: "seg_right_pressed.png" COMP;
35814          image: "seg_right_selected.png" COMP;
35815          image: "seg_right_normal.png" COMP;
35816       }
35817       parts {
35818          part { name: "segment";
35819             mouse_events: 1;
35820             scale: 1;
35821             description { state: "default" 0.0;
35822                min: 1 1;
35823                visible: 0;
35824                image {
35825                   normal: "seg_single_normal.png";
35826                   border: 7 7 7 7;
35827                   border_scale: 1;
35828                   middle: 1;
35829                }
35830             }
35831             description { state: "default_single" 0.0;
35832                inherit: "default" 0.0;
35833                visible: 1;
35834                image {
35835                   normal: "seg_single_normal.png";
35836                   border: 7 7 7 7;
35837                }
35838             }
35839             description { state: "default_left" 0.0;
35840                inherit: "default" 0.0;
35841                visible: 1;
35842                image {
35843                normal: "seg_left_normal.png";
35844                   border:  6 1 7 7;
35845                }
35846             }
35847             description { state: "default_right" 0.0;
35848                inherit: "default" 0.0;
35849                visible: 1;
35850                image {
35851                   normal: "seg_right_normal.png";
35852                   border: 1 6 7 7;
35853                }
35854             }
35855             description { state: "default_middle" 0.0;
35856                inherit: "default" 0.0;
35857                visible: 1;
35858                image {
35859                   normal: "seg_middle_normal.png";
35860                   border: 2 2 2 2;
35861                }
35862             }
35863             description { state: "pressed_single" 0.0;
35864                inherit: "default" 0.0;
35865                visible: 1;
35866                image {
35867                   normal: "seg_single_pressed.png";
35868                   border: 7 7 7 7;
35869                }
35870             }
35871             description { state: "pressed_left" 0.0;
35872                inherit: "default" 0.0;
35873                visible: 1;
35874                image {
35875                   normal: "seg_left_pressed.png";
35876                   border:  6 1 7 7;
35877                }
35878             }
35879             description { state: "pressed_right" 0.0;
35880                inherit: "default" 0.0;
35881                visible: 1;
35882                image {
35883                   normal: "seg_right_pressed.png";
35884                   border: 1 6 7 7;
35885                }
35886             }
35887             description { state: "pressed_middle" 0.0;
35888                inherit: "default" 0.0;
35889                visible: 1;
35890                image {
35891                   normal: "seg_middle_pressed.png";
35892                   border: 1 1 2 2;
35893                }
35894             }
35895             description { state: "selected_single" 0.0;
35896                inherit: "default" 0.0;
35897                visible: 1;
35898                image {
35899                   normal: "seg_single_selected.png";
35900                   border: 7 7 7 7;
35901                }
35902             }
35903             description { state: "selected_left" 0.0;
35904                inherit: "default" 0.0;
35905                visible: 1;
35906                image {
35907                   normal: "seg_left_selected.png";
35908                   border:  6 3 7 7;
35909                }
35910             }
35911             description { state: "selected_right" 0.0;
35912                inherit: "default" 0.0;
35913                visible: 1;
35914                image {
35915                   normal: "seg_right_selected.png";
35916                   border: 3 6 7 7;
35917                }
35918             }
35919             description { state: "selected_middle" 0.0;
35920                inherit: "default" 0.0;
35921                visible: 1;
35922                image {
35923                   normal: "seg_middle_selected.png";
35924                   border: 3 3 3 3;
35925                }
35926             }
35927          }
35928          part { name: "padding_left";
35929             type: RECT;
35930             scale: 1;
35931             mouse_events: 0;
35932             description { state: "default" 0.0;
35933                align: 0.0 0.0;
35934                rel1.relative: 0.0 0.0;
35935                rel2.relative: 0.0 1.0;
35936                min: 2 2;
35937                max: 2 2;
35938                fixed: 1 0;
35939                color: 0 0 0 0;
35940             }
35941          }
35942          part { name: "padding_right";
35943             type: RECT;
35944             scale: 1;
35945             mouse_events: 0;
35946             description { state: "default" 0.0;
35947                align: 1.0 0.0;
35948                rel1.relative: 1.0 0.0;
35949                rel2.relative: 1.0 1.0;
35950                min: 2 2;
35951                max: 2 2;
35952                fixed: 1 0;
35953                color: 0 0 0 0;
35954             }
35955          }
35956          part { name: "padding_top";
35957             type: RECT;
35958             scale: 1;
35959             mouse_events: 0;
35960             description { state: "default" 0.0;
35961                align: 0.0 0.0;
35962                rel1.relative: 0.0 0.0;
35963                rel2.relative: 1.0 0.0;
35964                min: 2 2;
35965                max: 2 2;
35966                fixed: 0 1;
35967                color: 0 0 0 0;
35968             }
35969          }
35970          part { name: "padding_bottom";
35971             type: RECT;
35972             scale: 1;
35973             mouse_events: 0;
35974             description { state: "default" 0.0;
35975                align: 1.0 1.0;
35976                rel1.relative: 0.0 1.0;
35977                rel2.relative: 1.0 1.0;
35978                min: 2 2;
35979                max: 2 2;
35980                fixed: 0 1;
35981                color: 0 0 0 0;
35982             }
35983          }
35984          part { name: "icon.bg";
35985             type: RECT;
35986             scale: 1;
35987             mouse_events: 0;
35988             description { state: "default" 0.0;
35989                visible: 1;
35990                fixed: 1 0;
35991                rel1 {
35992                   to_x: "padding_left";
35993                   to_y: "padding_top";
35994                   relative: 1.0 1.0;
35995                }
35996                rel2 {
35997                   to: "elm.swallow.icon";
35998                   relative: 1.0 1.0;
35999                }
36000                align: 0.0 0.5;
36001                color: 0 0 0 0;
36002             }
36003          }
36004          part { name: "padding_icon_text";
36005             type: RECT;
36006             scale: 1;
36007             mouse_events: 0;
36008             description { state: "default" 0.0; //when only icon or no icon is there
36009                align: 0.0 0.0;
36010                rel1 {
36011                   to: "icon.bg";
36012                   relative: 1.0 0.0;
36013                }
36014                rel2 {
36015                   to: "icon.bg";
36016                   relative: 1.0 1.0;
36017                }
36018                fixed: 1 0;
36019                min: 0 0;
36020                color: 0 0 0 0;
36021             }
36022             description { state: "icononly" 0.0;
36023                inherit: "default" 0.0;
36024             }
36025             description { state: "visible" 0.0; //when icon is visible
36026                inherit: "default" 0.0;
36027                min: 2 0;
36028             }
36029          }
36030          part { name: "elm.swallow.icon";
36031             type: SWALLOW;
36032             scale: 1;
36033             description { state: "default" 0.0;
36034                visible: 0;
36035                align: 0.0 0.5;
36036                rel1 {
36037                   to_x: "padding_left";
36038                   to_y: "padding_top";
36039                   relative: 1.0 1.0;
36040                }
36041                rel2 {
36042                   to_y: "padding_bottom";
36043                   relative: 0.0 0.0;
36044                }
36045                fixed: 1 0;
36046                aspect: 1.0 1.0;
36047                aspect_preference: BOTH;
36048             }
36049             description { state: "visible" 0.0;
36050                inherit: "default" 0.0;
36051                visible: 1;
36052                rel2 {
36053                   to_y: "padding_bottom";
36054                   relative: 0.3 0.0;
36055                }
36056             }
36057             description { state: "icononly" 0.0;
36058                inherit: "default" 0.0;
36059                visible: 1;
36060                rel2 {
36061                   to_x: "padding_right";
36062                   to_y: "padding_bottom";
36063                   relative: 0.0 0.0;
36064                }
36065                align: 0.5 0.5;
36066             }
36067          }
36068          part { name: "elm.text";
36069             type: TEXT;
36070             mouse_events: 0;
36071             scale: 1;
36072             description {
36073                state: "default" 0.0;
36074                visible: 0;
36075                fixed: 1 1;
36076                min: 1 1;
36077                rel1 {
36078                   to_x: "padding_icon_text";
36079                   relative: 1.0 1.0;
36080                }
36081                rel2 {
36082                   to_x: "padding_right";
36083                   relative: 0.0 0.0;
36084                }
36085                color: 224 224 224 255;
36086                color3: 0 0 0 64;
36087                text {
36088                   font: "Sans";
36089                   ellipsis: 0.0;
36090                   fit: 1 1;
36091                   size: 24;
36092                   size_range: 8 36;
36093                   min: 0 1;
36094                }
36095             }
36096             description { state: "normal" 0.0;
36097                inherit: "default" 0.0;
36098                visible: 1;
36099             }
36100             description { state: "pressed" 0.0;
36101                inherit: "default" 0.0;
36102                visible: 1;
36103                color: 0 0 0 255;
36104             }
36105             description { state: "selected" 0.0;
36106                inherit: "default" 0.0;
36107                visible: 1;
36108                color: 50 50 50 255;
36109             }
36110             description { state: "disabled" 0.0;
36111                inherit: "default" 0.0;
36112                visible: 1;
36113                color: 200 200 200 255;
36114             }
36115          }
36116          part { name: "disabler";
36117             repeat_events: 0;
36118             scale: 1;
36119             description { state: "default" 0.0;
36120                visible: 0;
36121                fixed: 1 1;
36122                min: 1 1;
36123                align: 0.0 0.5;
36124                rel1 { relative: 0.0 0.0; to: "segment";}
36125                rel2 { relative: 1.0 1.0; to: "segment";}
36126                color: 255 255 255 150;
36127             }
36128             description { state: "disabled_single" 0.0;
36129                inherit: "default" 0.0;
36130                visible: 1;
36131                image {
36132                   normal: "seg_single_normal.png";
36133                   border: 7 7 7 7;
36134                }
36135             }
36136             description { state: "disabled_left" 0.0;
36137                inherit: "default" 0.0;
36138                visible: 1;
36139                image {
36140                   normal: "seg_left_normal.png";
36141                   border:  6 1 7 7;
36142                }
36143             }
36144             description { state: "disabled_right" 0.0;
36145                inherit: "default" 0.0;
36146                visible: 1;
36147                image {
36148                   normal: "seg_right_normal.png";
36149                   border: 1 6 7 7;
36150                }
36151             }
36152             description { state: "disabled_middle" 0.0;
36153                inherit: "default" 0.0;
36154                visible: 1;
36155                image {
36156                   normal: "seg_middle_normal.png";
36157                   border: 2 2 2 2;
36158                }
36159             }
36160          }
36161       }
36162       programs {
36163          script {
36164             public seg_type; // Single, Left, Middle, Right.
36165             public seg_state; // Normal/Default, Pressed, Selected.
36166             public seg_status;// Enabled/Default, Disabled
36167
36168             public update_state() {
36169                new type, state, disabled;
36170                type = get_int(seg_type);
36171                state = get_int(seg_state);
36172                disabled = get_int(seg_status);
36173
36174                if(state == SEGMENT_STATE_NORMAL)
36175                  {
36176                     if(type == SEGMENT_TYPE_SINGLE)
36177                       set_state(PART:"segment", "default_single", 0.0);
36178                     else if(type == SEGMENT_TYPE_LEFT)
36179                       set_state(PART:"segment", "default_left", 0.0);
36180                     else if(type == SEGMENT_TYPE_MIDDLE)
36181                       set_state(PART:"segment", "default_middle", 0.0);
36182                     else if(type == SEGMENT_TYPE_RIGHT)
36183                       set_state(PART:"segment", "default_right", 0.0);
36184                     set_state(PART:"elm.text", "normal", 0.0);
36185                  }
36186                else if(state == SEGMENT_STATE_PRESSED)
36187                  {
36188                     if(type == SEGMENT_TYPE_SINGLE)
36189                       set_state(PART:"segment", "pressed_single", 0.0);
36190                     else if(type == SEGMENT_TYPE_LEFT)
36191                       set_state(PART:"segment", "pressed_left", 0.0);
36192                     else if(type == SEGMENT_TYPE_MIDDLE)
36193                       set_state(PART:"segment", "pressed_middle", 0.0);
36194                     else if(type == SEGMENT_TYPE_RIGHT)
36195                       set_state(PART:"segment", "pressed_right", 0.0);
36196                     set_state(PART:"elm.text", "pressed", 0.0);
36197                  }
36198                else if(state == SEGMENT_STATE_SELECTED)
36199                  {
36200                     if(type == SEGMENT_TYPE_SINGLE)
36201                       set_state(PART:"segment", "selected_single", 0.0);
36202                     else if(type == SEGMENT_TYPE_LEFT)
36203                       set_state(PART:"segment", "selected_left", 0.0);
36204                     else if(type == SEGMENT_TYPE_MIDDLE)
36205                       set_state(PART:"segment", "selected_middle", 0.0);
36206                     else if(type == SEGMENT_TYPE_RIGHT)
36207                       set_state(PART:"segment", "selected_right", 0.0);
36208                     set_state(PART:"elm.text", "selected", 0.0);
36209                  }
36210                if(disabled == SEGMENT_STATUS_DISABLED)
36211                  {
36212                     if(type == SEGMENT_TYPE_SINGLE)
36213                       set_state(PART:"disabler", "disabled_single", 0.0);
36214                     else if(type == SEGMENT_TYPE_LEFT)
36215                       set_state(PART:"disabler", "disabled_left", 0.0);
36216                     else if(type == SEGMENT_TYPE_MIDDLE)
36217                       set_state(PART:"disabler", "disabled_middle", 0.0);
36218                     else if(type == SEGMENT_TYPE_RIGHT)
36219                       set_state(PART:"disabler", "disabled_right", 0.0);
36220                     set_state(PART:"elm.text", "disabled", 0.0);
36221                  }
36222             }
36223          }
36224          program {
36225             name: "segment_type_s";
36226             signal: "elm,type,segment,single";
36227             source: "elm";
36228             script {
36229                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36230                update_state();
36231             }
36232          }
36233          program {
36234             name: "segment_type_l";
36235             signal: "elm,type,segment,left";
36236             source: "elm";
36237             script {
36238                set_int(seg_type, SEGMENT_TYPE_LEFT);
36239                update_state();
36240             }
36241          }
36242          program {
36243             name: "segment_type_m";
36244             signal: "elm,type,segment,middle";
36245             source: "elm";
36246             script {
36247                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36248                update_state();
36249             }
36250          }
36251          program {
36252             name: "segment_type_r";
36253             signal: "elm,type,segment,right";
36254             source: "elm";
36255             script {
36256                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36257                update_state();
36258             }
36259          }
36260          program {
36261             name: "normal_segment";
36262             signal: "elm,state,segment,normal";
36263             source: "elm";
36264             script {
36265                set_int(seg_state, SEGMENT_STATE_NORMAL);
36266                update_state();
36267             }
36268          }
36269          program {
36270             name: "pressed_segment";
36271             signal: "elm,state,segment,pressed";
36272             source: "elm";
36273             script {
36274                set_int(seg_state, SEGMENT_STATE_PRESSED);
36275                update_state();
36276             }
36277          }
36278          program {
36279             name: "selected_segment";
36280             signal: "elm,state,segment,selected";
36281             source: "elm";
36282             script {
36283                set_int(seg_state, SEGMENT_STATE_SELECTED);
36284                update_state();
36285             }
36286          }
36287          program { name: "disable_segment";
36288             signal: "elm,state,disabled";
36289             source: "elm";
36290             script {
36291                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36292                update_state();
36293             }
36294          }
36295          program { name: "enable_segment";
36296             signal: "elm,state,enabled";
36297             source: "elm";
36298             script {
36299                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36300                update_state();
36301             }
36302          }
36303          program { name: "text_show";
36304             signal: "elm,state,text,visible";
36305             source: "elm";
36306             script {
36307                new st[31];
36308                new Float:vl;
36309                get_state(PART:"elm.swallow.icon", st, 30, vl);
36310                if (!strcmp(st, "icononly"))
36311                  {
36312                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36313                     set_state(PART:"padding_icon_text", "visible", 0.0);
36314                  }
36315                get_state(PART:"elm.text", st, 30, vl);
36316                if (!strcmp(st, "selected"))
36317                   set_state(PART:"elm.text", "selected", 0.0);
36318                else
36319                   set_state(PART:"elm.text", "normal", 0.0);
36320             }
36321          }
36322          program { name: "text_hide";
36323             signal: "elm,state,text,hidden";
36324             source: "elm";
36325             script {
36326                new st[31];
36327                new Float:vl;
36328                get_state(PART:"elm.swallow.icon", st, 30, vl);
36329                if (!strcmp(st, "visible"))
36330                  {
36331                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36332                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36333                  }
36334                set_state(PART:"elm.text", "default", 0.0);
36335             }
36336          }
36337          program { name: "icon_show";
36338             signal: "elm,state,icon,visible";
36339             source: "elm";
36340             script {
36341                new st[31];
36342                new Float:vl;
36343                get_state(PART:"elm.text", st, 30, vl);
36344                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36345                  {
36346                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36347                     set_state(PART:"padding_icon_text", "visible", 0.0);
36348                  }
36349                else
36350                  {
36351                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36352                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36353                  }
36354             }
36355          }
36356          program { name: "icon_hide";
36357             signal: "elm,state,icon,hidden";
36358             source: "elm";
36359             action:  STATE_SET "default" 0.0;
36360             target: "elm.swallow.icon";
36361          }
36362       }
36363 #undef SEGMENT_TYPE_SINGLE
36364 #undef SEGMENT_TYPE_LEFT
36365 #undef SEGMENT_TYPE_MIDDLE
36366 #undef SEGMENT_TYPE_RIGHT
36367 #undef SEGMENT_STATE_NORMAL
36368 #undef SEGMENT_STATE_PRESSED
36369 #undef SEGMENT_STATE_SELECTED
36370 #undef SEGMENT_STATUS_ENABLED
36371 #undef SEGMENT_STATUS_DISABLED
36372    }
36373
36374    /* a simple title layout, with a label and two icons */
36375    group { name: "elm/layout/application/titlebar";
36376       images {
36377          image: "toolbar_sel.png" COMP;
36378       }
36379       parts {
36380          part { name: "base";
36381             mouse_events: 0;
36382             scale: 1;
36383             description { state: "default" 0.0;
36384                min: 0 33;
36385                max: 99999 33;
36386                align: 0.5 0.0;
36387                rel1.offset: -1 0;
36388                rel2.offset: 1 0;
36389                image {
36390                   normal: "toolbar_sel.png";
36391                   border: 3 3 0 0;
36392                }
36393             }
36394          }
36395          part { name: "elm.swallow.content";
36396             type: SWALLOW;
36397             description { state: "default" 0.0;
36398                visible: 1;
36399                rel1 {
36400                   to: "base";
36401                   relative: 0.0 1.0;
36402                }
36403             }
36404          }
36405          part { name: "elm.swallow.icon";
36406             type: SWALLOW;
36407             scale: 1;
36408             description { state: "default" 0.0;
36409                visible: 0;
36410                fixed: 1 1;
36411                align: 0.0 0.0;
36412                rel1 {
36413                   to: "base";
36414                   relative: 0.0 0.0;
36415                   offset: 4 0;
36416                }
36417                rel2 {
36418                   to: "base";
36419                   relative: 0.0 1.0;
36420                }
36421             }
36422             description { state: "visible" 0.0;
36423                inherit: "default" 0.0;
36424                visible: 1;
36425             }
36426          }
36427          part { name: "elm.swallow.end";
36428             type: SWALLOW;
36429             scale: 1;
36430             description { state: "default" 0.0;
36431                visible: 0;
36432                fixed: 1 1;
36433                align: 1.0 0.0;
36434                rel1 {
36435                   to: "base";
36436                   relative: 1.0 0.0;
36437                   offset: 0 0;
36438                }
36439                rel2 {
36440                   to: "base";
36441                   relative: 1.0 1.0;
36442                   offset: -5 -1;
36443                }
36444             }
36445             description { state: "visible" 0.0;
36446                inherit: "default" 0.0;
36447                visible: 1;
36448             }
36449          }
36450          part { name: "elm.text";
36451             type: TEXT;
36452             effect: SOFT_SHADOW;
36453             mouse_events: 0;
36454             scale: 1;
36455             description { state: "default" 0.0;
36456                fixed: 1 1;
36457                rel1 {
36458                   to_x: "elm.swallow.icon";
36459                   to_y: "base";
36460                   relative: 1.0 0.0;
36461                }
36462                rel2 {
36463                   to_x: "elm.swallow.end";
36464                   to_y: "base";
36465                   relative: 0.0 1.0;
36466                }
36467                text {
36468                   font: "Sans";
36469                   size: 12;
36470                   min: 0 0;
36471                   align: 0.5 0.5;
36472                   text_class: "title_bar";
36473                }
36474             }
36475          }
36476       }
36477       programs {
36478          program { name: "show_icon";
36479             signal: "elm,state,icon,visible";
36480             source: "elm";
36481             action: STATE_SET "visible" 0.0;
36482             target: "elm.swallow.icon";
36483          }
36484          program { name: "hide_icon";
36485             signal: "elm,state,icon,hidden";
36486             source: "elm";
36487             action: STATE_SET "default" 0.0;
36488             target: "elm.swallow.icon";
36489          }
36490          program { name: "show_end";
36491             signal: "elm,state,end,visible";
36492             source: "elm";
36493             action: STATE_SET "visible" 0.0;
36494             target: "elm.swallow.end";
36495          }
36496          program { name: "hide_end";
36497             signal: "elm,state,end,hidden";
36498             source: "elm";
36499             action: STATE_SET "default" 0.0;
36500             target: "elm.swallow.end";
36501          }
36502       }
36503    }
36504 }