elementary/ctxpopup - removed white spaces in default.edc
[framework/uifw/elementary.git] / data / themes / default.edc
1 // LICENSE NOTE:
2 // This file (and only this one) is licenses under public-domain. The reason
3 // is that this is meant to serve as a template for making your own themes and
4 // Elementary's LGPL license is not intended to follow. The images used do come
5 // under LGPL, but this file specifically for the structure of your theme is
6 // public-domain. This means you can take, use, re-license and otherwise
7 // have zero restrictions on using this file as a base for your theme.
8
9 externals.external: "elm";
10
11 collections {
12
13 ///////////////////////////////////////////////////////////////////////////////
14    group { name: "elm/focus_highlight/top/default";
15       images {
16          image: "emo-unhappy.png" COMP;
17       }
18
19       data {
20          item: "animate" "on";
21       }
22
23       script {
24          public s_x, s_y, s_w, s_h; /* source */
25          public difx, dify, difw, difh;
26          public rot_dir;
27
28          public animator1(val, Float:pos) {
29             new x, y, w, h, dx, dy, dw, dh, Float:rot;
30
31             dx = round(float_mul(float(get_int(difx)), pos));
32             x = get_int(s_x) + dx;
33             dy = round(float_mul(float(get_int(dify)), pos));
34             y = get_int(s_y) + dy;
35             dw = round(float_mul(float(get_int(difw)), pos));
36             w = get_int(s_w) + dw;
37             dy = round(float_mul(float(get_int(difh)), pos));
38             h = get_int(s_h) + dh;
39
40             update_offset(x, y, w, h);
41
42             rot = 360.0 * pos * float(get_int(rot_dir));
43             set_state_val(PART:"shine", STATE_MAP_ROT_Z, rot);
44
45             if (pos >= 1.0) {
46                emit("elm,action,focus,anim,end", "");
47                set_state(PART:"shine", "default", 0.0);
48             }
49          }
50
51          public update_offset(x, y, w, h) {
52             new x1, y1, x2, y2;
53             x1 = x + w - 15;
54             y1 = y - 15;
55             x2 = x + w + 14;
56             y2 = y + 14;
57             set_state_val(PART:"shine", STATE_REL1_OFFSET, x1, y1);
58             set_state_val(PART:"shine", STATE_REL2_OFFSET, x2, y2);
59          }
60
61          public message(Msg_Type:type, id, ...) {
62             if ((type == MSG_INT_SET) && (id == 1)) {
63                new x1, y1, w1, h1;
64                new x2, y2, w2, h2;
65                new px1, px2, py1, py2;
66                new rd;
67
68                x1 = getarg(2);
69                y1 = getarg(3);
70                w1 = getarg(4);
71                h1 = getarg(5);
72                x2 = getarg(6);
73                y2 = getarg(7);
74                w2 = getarg(8);
75                h2 = getarg(9);
76
77                set_int(s_x, x1);
78                set_int(s_y, y1);
79                set_int(s_w, w1);
80                set_int(s_h, h1);
81                set_int(difx, x2 - x1);
82                set_int(dify, y2 - y1);
83                set_int(difw, w2 - w1);
84                set_int(difh, h2 - h1);
85
86                px1 = x1 + w1;
87                px2 = x2 + w2;
88                py1 = y1 + h1;
89                py2 = y2 + h2;
90                if (px2 > px1) {
91                   rd = 1;
92                } else if (px1 > px2) {
93                   rd = -1;
94                } else {
95                   if (py2 > py1) {
96                      rd = 1;
97                   } else {
98                      rd = -1;
99                   }
100                }
101                set_int(rot_dir, rd);
102
103                custom_state(PART:"shine", "default", 0.0);
104                set_state_val(PART:"shine", STATE_REL1, 0.0, 0.0);
105                set_state_val(PART:"shine", STATE_REL2, 0.0, 0.0);
106                set_state_val(PART:"shine", STATE_MAP_ON, 1);
107                set_state_val(PART:"shine", STATE_MAP_ROT_Z, 0.0);
108                update_offset(x1, y1, w1, h1);
109                set_state(PART:"shine", "custom", 0.0);
110
111                anim(0.2, "animator1", 1);
112             }
113          }
114       }
115
116       parts {
117          part { name: "base";
118             type: RECT;
119             repeat_events: 1;
120             description { state: "default" 0.0;
121                rel1.relative: 0.0 0.0;
122                rel2.relative: 1.0 1.0;
123                visible: 0;
124             }
125          }
126          part { name: "shine";
127             type: IMAGE;
128             mouse_events: 1;
129             repeat_events: 1;
130             ignore_flags: ON_HOLD;
131             description { state: "default" 0.0;
132                image {
133                   normal: "emo-unhappy.png";
134                }
135                rel1.to: "base";
136                rel1.relative: 1.0 0.0;
137                rel1.offset: -15 -15;
138                rel2.to: "base";
139                rel2.relative: 1.0 0.0;
140                rel2.offset: 14 14;
141             }
142             description { state: "disabled" 0.0;
143                inherit:  "default" 0.0;
144                color: 0 0 0 0;
145             }
146          }
147
148          program { name: "show";
149             signal: "elm,action,focus,show";
150             source: "elm";
151             action: ACTION_STOP;
152             target: "hide";
153             target: "hide_start";
154             target: "hide_end";
155             after: "show_start";
156          }
157          program { name: "show_start";
158             action:  STATE_SET "default" 0.0;
159             transition: LINEAR 0.2;
160             target: "shine";
161             after: "show_end";
162          }
163          program { name: "show_end";
164             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
165          }
166          program { name: "hide";
167             signal: "elm,action,focus,hide";
168             source: "elm";
169             action: ACTION_STOP;
170             target: "show";
171             target: "show_start";
172             target: "show_end";
173             after: "hide_start";
174          }
175          program { name: "hide_start";
176             action:  STATE_SET "disabled" 0.0;
177             transition: LINEAR 0.2;
178             target: "shine";
179             after: "hide_end";
180          }
181          program { name: "hide_end";
182             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
183          }
184       }
185    }
186
187 ///////////////////////////////////////////////////////////////////////////////
188    group { name: "elm/focus_highlight/bottom/default";
189       parts {
190          part { name: "shine";
191             type: RECT;
192             mouse_events: 1;
193             repeat_events: 1;
194             ignore_flags: ON_HOLD;
195             description { state: "default" 0.0;
196                color: 0 255 0 50;
197                rel1.offset: 0 0;
198                rel2.offset: 0 0;
199             }
200             description { state: "disabled" 0.0;
201                inherit:  "default" 0.0;
202                color: 0 0 0 0;
203             }
204          }
205
206          program { name: "show";
207             signal: "elm,action,focus,show";
208             source: "elm";
209             action: ACTION_STOP;
210             target: "hide";
211             target: "hide_start";
212             target: "hide_end";
213             after: "show_start";
214          }
215          program { name: "show_start";
216             action:  STATE_SET "default" 0.0;
217             transition: LINEAR 0.2;
218             target: "shine";
219             after: "show_end";
220          }
221          program { name: "show_end";
222             action: SIGNAL_EMIT "elm,action,focus,show,end" "";
223          }
224          program { name: "hide";
225             signal: "elm,action,focus,hide";
226             source: "elm";
227             action: ACTION_STOP;
228             target: "show";
229             target: "show_start";
230             target: "show_end";
231             after: "hide_start";
232          }
233          program { name: "hide_start";
234             action:  STATE_SET "disabled" 0.0;
235             transition: LINEAR 0.2;
236             target: "shine";
237             after: "hide_end";
238          }
239          program { name: "hide_end";
240             action: SIGNAL_EMIT "elm,action,focus,hide,end" "";
241          }
242       }
243    }
244
245 ///////////////////////////////////////////////////////////////////////////////
246    group { name: "elm/bg/base/default";
247       images {
248          image: "dia_grad.png" COMP;
249          image: "dia_topshad.png" COMP;
250          image: "dia_botshad.png" COMP;
251       }
252       parts {
253          part { name: "base";
254             mouse_events:  0;
255             description { state: "default" 0.0;
256                image.normal: "dia_grad.png";
257                fill {
258                   smooth: 0;
259                   size {
260                      relative: 0.0 1.0;
261                      offset: 64 0;
262                   }
263                }
264             }
265          }
266          part { name: "elm.swallow.rectangle";
267             type: SWALLOW;
268             description { state: "default" 0.0;
269             }
270          }
271          part { name: "elm.swallow.background";
272             type: SWALLOW;
273             description { state: "default" 0.0;
274             }
275          }
276          part { name: "shadow";
277             mouse_events:  0;
278             description { state: "default" 0.0;
279                rel2.relative: 1.0 0.0;
280                rel2.offset: -1 31;
281                image.normal: "dia_topshad.png";
282                fill {
283                   smooth: 0;
284                   size {
285                      relative: 0.0 1.0;
286                      offset: 64 0;
287                   }
288                }
289             }
290          }
291          part { name: "shadow2";
292             mouse_events:  0;
293             description { state: "default" 0.0;
294                rel1.relative: 0.0 1.0;
295                rel1.offset: 0 -9;
296                image.normal: "dia_botshad.png";
297                fill {
298                   smooth: 0;
299                   size {
300                      relative: 0.0 1.0;
301                      offset: 64 0;
302                   }
303                }
304             }
305          }
306          part { name: "elm.swallow.content";
307             type: SWALLOW;
308             description { state: "default" 0.0;
309             }
310          }
311       }
312    }
313
314 ///////////////////////////////////////////////////////////////////////////////
315    group { name: "elm/scroller/base/default";
316
317       alias: "elm/list/base/default";
318       alias: "elm/genlist/base/default";
319       alias: "elm/carousel/base/default";
320       alias: "elm/gengrid/base/default";
321       alias: "elm/scroller/base/map_bubble";
322
323       data {
324          item: "focus_highlight" "on";
325       }
326
327       script {
328          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
329          public timer0(val) {
330             new v;
331             v = get_int(sbvis_v);
332             if (v) {
333                v = get_int(sbalways_v);
334                if (!v) {
335                   emit("do-hide-vbar", "");
336                   set_int(sbvis_v, 0);
337                }
338             }
339             v = get_int(sbvis_h);
340             if (v) {
341                v = get_int(sbalways_h);
342                if (!v) {
343                   emit("do-hide-hbar", "");
344                   set_int(sbvis_h, 0);
345                }
346             }
347             set_int(sbvis_timer, 0);
348             return 0;
349          }
350       }
351       images {
352          image: "shelf_inset.png" COMP;
353          image: "bt_sm_base2.png" COMP;
354          image: "bt_sm_shine.png" COMP;
355          image: "bt_sm_hilight.png" COMP;
356          image: "sl_bt2_2.png" COMP;
357       }
358       parts {
359          part { name: "bg";
360             type: RECT;
361             description { state: "default" 0.0;
362                rel1.offset: 2 2;
363                rel2.offset: -3 -3;
364                color: 255 255 255 0;
365             }
366          }
367          part { name: "clipper";
368             type: RECT;
369             mouse_events: 0;
370             description { state: "default" 0.0;
371                rel1.to: "bg";
372                rel2.to: "bg";
373                rel1.offset: 2 2;
374                rel2.offset: -3 -3;
375             }
376          }
377          part { name: "elm.swallow.content";
378             clip_to: "clipper";
379             type: SWALLOW;
380             description { state: "default" 0.0;
381                rel1.to: "bg";
382                rel2.to: "bg";
383                rel1.offset: 2 2;
384                rel2.offset: -3 -3;
385             }
386          }
387          part { name: "conf_over";
388             mouse_events:  0;
389             description { state: "default" 0.0;
390                rel1.to: "bg";
391                rel2.to: "bg";
392                image {
393                   normal: "shelf_inset.png";
394                   border: 7 7 7 7;
395                   middle: 0;
396                }
397                fill.smooth : 0;
398             }
399             description { state: "enabled" 0.0;
400                inherit: "default" 0.0;
401                color: 200 155 0 255;
402             }
403          }
404          part { name: "focus_highlight";
405             mouse_events: 0;
406             description { state: "default" 0.0;
407                rel1.offset: -1 -1;
408                rel2.offset: 0 0;
409                image {
410                   normal: "sl_bt2_2.png";
411                   border: 7 7 7 7;
412                   middle: 0;
413                }
414                fill.smooth : 0;
415                color: 200 155 0 0;
416             }
417             description { state: "enabled" 0.0;
418                inherit: "default" 0.0;
419                color: 200 155 0 255;
420             }
421          }
422          part { name: "sb_vbar_clip_master";
423             type: RECT;
424             mouse_events: 0;
425             description { state: "default" 0.0;
426             }
427             description { state: "hidden" 0.0;
428                visible: 0;
429                color: 255 255 255 0;
430             }
431          }
432          part { name: "sb_vbar_clip";
433             clip_to: "sb_vbar_clip_master";
434             type: RECT;
435             mouse_events: 0;
436             description { state: "default" 0.0;
437             }
438             description { state: "hidden" 0.0;
439                visible: 0;
440                color: 255 255 255 0;
441             }
442          }
443          part { name: "sb_vbar";
444             type: RECT;
445             mouse_events: 0;
446             description { state: "default" 0.0;
447                fixed: 1 1;
448                visible: 0;
449                min: 10 17;
450                align: 1.0 0.0;
451                rel1 {
452                   relative: 1.0 0.0;
453                   offset:   0 2;
454                   to_y:     "elm.swallow.content";
455                   to_x:     "elm.swallow.content";
456                }
457                rel2 {
458                   relative: 1.0 0.0;
459                   offset:   -1 -1;
460                   to_y:     "sb_hbar";
461                   to_x:     "elm.swallow.content";
462                }
463             }
464          }
465          part { name: "elm.dragable.vbar";
466             clip_to: "sb_vbar_clip";
467             mouse_events: 0;
468             dragable {
469                x: 0 0 0;
470                y: 1 1 0;
471                confine: "sb_vbar";
472             }
473             description { state: "default" 0.0;
474                fixed: 1 1;
475                min: 10 17;
476                max: 10 99999;
477                rel1 {
478                   relative: 0.5  0.5;
479                   offset:   0    0;
480                   to: "sb_vbar";
481                }
482                rel2 {
483                   relative: 0.5  0.5;
484                   offset:   0    0;
485                   to: "sb_vbar";
486                }
487                image {
488                   normal: "bt_sm_base2.png";
489                   border: 6 6 6 6;
490                   middle: SOLID;
491                }
492             }
493          }
494          part { name: "sb_vbar_over1";
495             clip_to: "sb_vbar_clip";
496             mouse_events: 0;
497             description { state: "default" 0.0;
498                rel1.to: "elm.dragable.vbar";
499                rel2.relative: 1.0 0.5;
500                rel2.to: "elm.dragable.vbar";
501                image {
502                   normal: "bt_sm_hilight.png";
503                   border: 6 6 6 0;
504                }
505             }
506          }
507          part { name: "sb_vbar_over2";
508             clip_to: "sb_vbar_clip";
509             mouse_events: 0;
510             description { state: "default" 0.0;
511                rel1.to: "elm.dragable.vbar";
512                rel2.to: "elm.dragable.vbar";
513                image {
514                   normal: "bt_sm_shine.png";
515                   border: 6 6 6 0;
516                }
517             }
518          }
519
520          part { name: "sb_hbar_clip_master";
521             type: RECT;
522             mouse_events: 0;
523             description { state: "default" 0.0;
524             }
525             description { state: "hidden" 0.0;
526                visible: 0;
527                color: 255 255 255 0;
528             }
529          }
530          part { name: "sb_hbar_clip";
531             clip_to: "sb_hbar_clip_master";
532             type: RECT;
533             mouse_events: 0;
534             description { state: "default" 0.0;
535             }
536             description { state: "hidden" 0.0;
537                visible: 0;
538                color: 255 255 255 0;
539             }
540          }
541          part { name: "sb_hbar";
542             type: RECT;
543             mouse_events: 0;
544             description { state: "default" 0.0;
545                fixed: 1 1;
546                visible: 0;
547                min: 17 10;
548                align: 0.0 1.0;
549                rel1 {
550                   relative: 0.0 1.0;
551                   offset:   2 0;
552                   to_x:     "elm.swallow.content";
553                   to_y:     "elm.swallow.content";
554                }
555                rel2 {
556                   relative: 0.0 1.0;
557                   offset:   -1 -1;
558                   to_x:     "sb_vbar";
559                   to_y:     "elm.swallow.content";
560                }
561             }
562          }
563          part { name: "elm.dragable.hbar";
564             clip_to: "sb_hbar_clip";
565             mouse_events: 0;
566             dragable {
567                x: 1 1 0;
568                y: 0 0 0;
569                confine: "sb_hbar";
570             }
571             description { state: "default" 0.0;
572                fixed: 1 1;
573                min: 17 10;
574                max: 99999 10;
575                rel1 {
576                   relative: 0.5  0.5;
577                   offset:   0    0;
578                   to: "sb_hbar";
579                }
580                rel2 {
581                   relative: 0.5  0.5;
582                   offset:   0    0;
583                   to: "sb_hbar";
584                }
585                image {
586                   normal: "bt_sm_base2.png";
587                   border: 4 4 4 4;
588                   middle: SOLID;
589                }
590             }
591          }
592          part { name: "sb_hbar_over1";
593             clip_to: "sb_hbar_clip";
594             mouse_events: 0;
595             description { state: "default" 0.0;
596                rel1.to: "elm.dragable.hbar";
597                rel2.relative: 1.0 0.5;
598                rel2.to: "elm.dragable.hbar";
599                image {
600                   normal: "bt_sm_hilight.png";
601                   border: 4 4 4 0;
602                }
603             }
604          }
605          part { name: "sb_hbar_over2";
606             clip_to: "sb_hbar_clip";
607             mouse_events: 0;
608             description { state: "default" 0.0;
609                rel1.to: "elm.dragable.hbar";
610                rel2.to: "elm.dragable.hbar";
611                image {
612                   normal: "bt_sm_shine.png";
613                   border: 4 4 4 0;
614                }
615             }
616          }
617           part { name: "disabler";
618             type: RECT;
619             description { state: "default" 0.0;
620                rel1.to: "clipper";
621                rel2.to: "clipper";
622                color: 0 0 0 0;
623                visible: 0;
624             }
625             description { state: "disabled" 0.0;
626                inherit: "default" 0.0;
627                visible: 1;
628                color: 128 128 128 128;
629             }
630          }
631       }
632       programs {
633          program { name: "load";
634             signal: "load";
635             source: "";
636             script {
637                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
638                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
639                set_int(sbvis_h, 0);
640                set_int(sbvis_v, 0);
641                set_int(sbalways_v, 0);
642                set_int(sbalways_h, 0);
643                set_int(sbvis_timer, 0);
644             }
645          }
646
647          program { name: "vbar_show";
648             signal: "elm,action,show,vbar";
649             source: "elm";
650             action:  STATE_SET "default" 0.0;
651             target: "sb_vbar_clip_master";
652          }
653          program { name: "vbar_hide";
654             signal: "elm,action,hide,vbar";
655             source: "elm";
656             action:  STATE_SET "hidden" 0.0;
657             target: "sb_vbar_clip_master";
658          }
659          program { name: "vbar_show_always";
660             signal: "elm,action,show_always,vbar";
661             source: "elm";
662             script {
663                new v;
664                v = get_int(sbvis_v);
665                v |= get_int(sbalways_v);
666                if (!v) {
667                   set_int(sbalways_v, 1);
668                   emit("do-show-vbar", "");
669                   set_int(sbvis_v, 1);
670                }
671             }
672          }
673          program { name: "vbar_show_notalways";
674             signal: "elm,action,show_notalways,vbar";
675             source: "elm";
676             script {
677                new v;
678                v = get_int(sbalways_v);
679                if (v) {
680                   set_int(sbalways_v, 0);
681                   v = get_int(sbvis_v);
682                   if (!v) {
683                      emit("do-hide-vbar", "");
684                      set_int(sbvis_v, 0);
685                   }
686                }
687             }
688          }
689          program { name: "sb_vbar_show";
690             signal: "do-show-vbar";
691             source: "";
692             action:  STATE_SET "default" 0.0;
693             transition: LINEAR 0.5;
694             target: "sb_vbar_clip";
695          }
696          program { name: "sb_vbar_hide";
697             signal: "do-hide-vbar";
698             source: "";
699             action:  STATE_SET "hidden" 0.0;
700             transition: LINEAR 0.5;
701             target: "sb_vbar_clip";
702          }
703
704          program { name: "hbar_show";
705             signal: "elm,action,show,hbar";
706             source: "elm";
707             action:  STATE_SET "default" 0.0;
708             target: "sb_hbar_clip_master";
709          }
710          program { name: "hbar_hide";
711             signal: "elm,action,hide,hbar";
712             source: "elm";
713             action:  STATE_SET "hidden" 0.0;
714             target: "sb_hbar_clip_master";
715          }
716          program { name: "hbar_show_always";
717             signal: "elm,action,show_always,hbar";
718             source: "elm";
719             script {
720                new v;
721                v = get_int(sbvis_h);
722                v |= get_int(sbalways_h);
723                if (!v) {
724                   set_int(sbalways_h, 1);
725                   emit("do-show-hbar", "");
726                   set_int(sbvis_h, 1);
727                }
728             }
729          }
730          program { name: "hbar_show_notalways";
731             signal: "elm,action,show_notalways,hbar";
732             source: "elm";
733             script {
734                new v;
735                v = get_int(sbalways_h);
736                if (v) {
737                   set_int(sbalways_h, 0);
738                   v = get_int(sbvis_h);
739                   if (!v) {
740                      emit("do-hide-hbar", "");
741                      set_int(sbvis_h, 0);
742                   }
743                }
744             }
745          }
746          program { name: "sb_hbar_show";
747             signal: "do-show-hbar";
748             source: "";
749             action:  STATE_SET "default" 0.0;
750             transition: LINEAR 0.5;
751             target: "sb_hbar_clip";
752          }
753          program { name: "sb_hbar_hide";
754             signal: "do-hide-hbar";
755             source: "";
756             action:  STATE_SET "hidden" 0.0;
757             transition: LINEAR 0.5;
758             target: "sb_hbar_clip";
759          }
760
761          program { name: "scroll";
762             signal: "elm,action,scroll";
763             source: "elm";
764             script {
765                new v;
766                v = get_int(sbvis_v);
767                v |= get_int(sbalways_v);
768                if (!v) {
769                   emit("do-show-vbar", "");
770                   set_int(sbvis_v, 1);
771                }
772                v = get_int(sbvis_h);
773                v |= get_int(sbalways_h);
774                if (!v) {
775                   emit("do-show-hbar", "");
776                   set_int(sbvis_h, 1);
777                }
778                v = get_int(sbvis_timer);
779                if (v > 0) cancel_timer(v);
780                v = timer(1.0, "timer0", 0);
781                set_int(sbvis_timer, v);
782             }
783          }
784
785          program { name: "highlight_show";
786             signal: "elm,action,focus_highlight,show";
787             source: "elm";
788             action: STATE_SET "enabled" 0.0;
789             transition: ACCELERATE 0.3;
790             target: "focus_highlight";
791             target: "conf_over";
792          }
793          program { name: "highlight_hide";
794             signal: "elm,action,focus_highlight,hide";
795             source: "elm";
796             action: STATE_SET "default" 0.0;
797             transition: DECELERATE 0.3;
798             target: "focus_highlight";
799             target: "conf_over";
800          }
801          program { name: "disable";
802             signal: "elm,state,disabled";
803             source: "elm";
804             action: STATE_SET "disabled" 0.0;
805             target: "disabler";
806          }
807          program { name: "enable";
808             signal: "elm,state,enabled";
809             source: "elm";
810             action: STATE_SET "default" 0.0;
811             target: "disabler";
812          }
813       }
814    }
815
816 ///////////////////////////////////////////////////////////////////////////////
817    group { name: "elm/scroller/entry/default";
818
819       data {
820          item: "focus_highlight" "on";
821       }
822
823       script {
824          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
825          public timer0(val) {
826             new v;
827             v = get_int(sbvis_v);
828             if (v) {
829                v = get_int(sbalways_v);
830                if (!v) {
831                   emit("do-hide-vbar", "");
832                   set_int(sbvis_v, 0);
833                }
834             }
835             v = get_int(sbvis_h);
836             if (v) {
837                v = get_int(sbalways_h);
838                if (!v) {
839                   emit("do-hide-hbar", "");
840                   set_int(sbvis_h, 0);
841                }
842             }
843             set_int(sbvis_timer, 0);
844             return 0;
845          }
846       }
847       images {
848          image: "shelf_inset.png" COMP;
849          image: "bt_sm_base2.png" COMP;
850          image: "bt_sm_shine.png" COMP;
851          image: "bt_sm_hilight.png" COMP;
852          image: "sl_bt2_2.png" COMP;
853       }
854       parts {
855          part { name: "bg";
856             type: RECT;
857             description { state: "default" 0.0;
858                rel1.offset: 2 2;
859                rel2.offset: -3 -3;
860             }
861          }
862          part { name: "clipper";
863             type: RECT;
864             mouse_events: 0;
865             description { state: "default" 0.0;
866                rel1.to: "bg";
867                rel2.to: "bg";
868                rel1.offset: 2 2;
869                rel2.offset: -3 -3;
870             }
871          }
872          part { name: "contentclipper";
873             type: RECT;
874             mouse_events: 0;
875             clip_to: "clipper";
876             description { state: "default" 0.0;
877                rel1.to: "elm.swallow.icon";
878                rel1.relative: 1.0 0.0;
879                rel2.to: "elm.swallow.end";
880                rel2.relative: 0.0 1.0;
881             }
882          }
883          part { name: "elm.swallow.icon";
884             type: SWALLOW;
885             clip_to: "clipper";
886             description { state: "default" 0.0;
887                fixed: 1 1;
888                rel1 {
889                   to: "bg";
890                   relative: 0.0 0.0;
891                   offset: 0 0;
892                }
893                rel2 {
894                   to: "bg";
895                   relative: 0.0 1.0;
896                   offset: -1 -1;
897                }
898                visible: 0;
899             }
900             description { state: "visible" 0.0;
901                fixed: 1 1;
902                align: 0.0 1.0;
903                rel1 {
904                          to: "bg";
905                          relative: 0.0 0.0;
906                          offset: 0 0;
907                }
908                rel2 {
909                   to: "bg";
910                   relative: 0.0 1.0;
911                   offset: -1 -1;
912                }
913                visible: 1;
914             }
915          }
916          part { name: "elm.swallow.end";
917             type: SWALLOW;
918             clip_to: "clipper";
919             description { state: "default" 0.0;
920                fixed: 1 1;
921                rel1 {
922                   to: "bg";
923                   relative: 1.0 0.0;
924                   offset: 0 0;
925                }
926                rel2 {
927                   to: "bg";
928                   relative: 1.0 1.0;
929                   offset: -1 -1;
930                }
931                visible: 0;
932             }
933             description { state: "visible" 0.0;
934                fixed: 1 1;
935                align: 1.0 1.0;
936                rel1 {
937                   to: "bg";
938                   relative: 1.0 0.0;
939                   offset: 0 0;
940                }
941                rel2 {
942                   to: "bg";
943                   relative: 1.0 1.0;
944                   offset: -1 -1;
945                }
946                visible: 1;
947             }
948          }
949          part { name: "elm.swallow.content";
950             clip_to: "contentclipper";
951             type: SWALLOW;
952             description { state: "default" 0.0;
953                rel1 {
954                        to: "elm.swallow.icon";
955                        relative: 1.0 0.0;
956                        offset: 4 4;
957                }
958                rel2 {
959                 to: "elm.swallow.end";
960                 relative: 0.0 1.0;
961                 offset: -5 -5;
962                }
963             }
964          }
965          part { name: "conf_over";
966             mouse_events:  0;
967             description { state: "default" 0.0;
968                rel1.to: "bg";
969                rel2.to: "bg";
970                image {
971                   normal: "shelf_inset.png";
972                   border: 7 7 7 7;
973                   middle: 0;
974                }
975                fill.smooth : 0;
976             }
977             description { state: "enabled" 0.0;
978                inherit: "default" 0.0;
979                color: 200 155 0 255;
980             }
981          }
982          part { name: "focus_highlight";
983             mouse_events: 0;
984             description { state: "default" 0.0;
985                rel1.offset: -1 -1;
986                rel2.offset: 0 0;
987                image {
988                   normal: "sl_bt2_2.png";
989                   border: 7 7 7 7;
990                   middle: 0;
991                }
992                fill.smooth : 0;
993                color: 200 155 0 0;
994             }
995             description { state: "enabled" 0.0;
996                inherit: "default" 0.0;
997                color: 200 155 0 255;
998             }
999          }
1000          part { name: "sb_vbar_clip_master";
1001             type: RECT;
1002             mouse_events: 0;
1003             description { state: "default" 0.0;
1004             }
1005             description { state: "hidden" 0.0;
1006                visible: 0;
1007                color: 255 255 255 0;
1008             }
1009          }
1010          part { name: "sb_vbar_clip";
1011             clip_to: "sb_vbar_clip_master";
1012             type: RECT;
1013             mouse_events: 0;
1014             description { state: "default" 0.0;
1015             }
1016             description { state: "hidden" 0.0;
1017                visible: 0;
1018                color: 255 255 255 0;
1019             }
1020          }
1021          part { name: "sb_vbar";
1022             type: RECT;
1023             mouse_events: 0;
1024             description { state: "default" 0.0;
1025                fixed: 1 1;
1026                visible: 0;
1027                min: 10 17;
1028                align: 1.0 0.0;
1029                rel1 {
1030                   relative: 0.0 0.0;
1031                   offset:   -2 2;
1032                   to_y:     "elm.swallow.content";
1033                   to_x:     "elm.swallow.end";
1034                }
1035                rel2 {
1036                   relative: 0.0 0.0;
1037                   offset:   -2 -1;
1038                   to_y:     "sb_hbar";
1039                   to_x:     "elm.swallow.end";
1040                }
1041             }
1042          }
1043          part { name: "elm.dragable.vbar";
1044             clip_to: "sb_vbar_clip";
1045             mouse_events: 0;
1046             dragable {
1047                x: 0 0 0;
1048                y: 1 1 0;
1049                confine: "sb_vbar";
1050             }
1051             description { state: "default" 0.0;
1052                fixed: 1 1;
1053                min: 10 17;
1054                max: 10 99999;
1055                rel1 {
1056                   relative: 0.5  0.5;
1057                   offset:   0    0;
1058                   to: "sb_vbar";
1059                }
1060                rel2 {
1061                   relative: 0.5  0.5;
1062                   offset:   0    0;
1063                   to: "sb_vbar";
1064                }
1065                image {
1066                   normal: "bt_sm_base2.png";
1067                   border: 6 6 6 6;
1068                   middle: SOLID;
1069                }
1070             }
1071          }
1072          part { name: "sb_vbar_over1";
1073             clip_to: "sb_vbar_clip";
1074             mouse_events: 0;
1075             description { state: "default" 0.0;
1076                rel1.to: "elm.dragable.vbar";
1077                rel2.relative: 1.0 0.5;
1078                rel2.to: "elm.dragable.vbar";
1079                image {
1080                   normal: "bt_sm_hilight.png";
1081                   border: 6 6 6 0;
1082                }
1083             }
1084          }
1085          part { name: "sb_vbar_over2";
1086             clip_to: "sb_vbar_clip";
1087             mouse_events: 0;
1088             description { state: "default" 0.0;
1089                rel1.to: "elm.dragable.vbar";
1090                rel2.to: "elm.dragable.vbar";
1091                image {
1092                   normal: "bt_sm_shine.png";
1093                   border: 6 6 6 0;
1094                }
1095             }
1096          }
1097
1098          part { name: "sb_hbar_clip_master";
1099             type: RECT;
1100             mouse_events: 0;
1101             description { state: "default" 0.0;
1102             }
1103             description { state: "hidden" 0.0;
1104                visible: 0;
1105                color: 255 255 255 0;
1106             }
1107          }
1108          part { name: "sb_hbar_clip";
1109             clip_to: "sb_hbar_clip_master";
1110             type: RECT;
1111             mouse_events: 0;
1112             description { state: "default" 0.0;
1113             }
1114             description { state: "hidden" 0.0;
1115                visible: 0;
1116                color: 255 255 255 0;
1117             }
1118          }
1119          part { name: "sb_hbar";
1120             type: RECT;
1121             mouse_events: 0;
1122             description { state: "default" 0.0;
1123                fixed: 1 1;
1124                visible: 0;
1125                min: 17 10;
1126                align: 0.0 1.0;
1127                rel1 {
1128                   relative: 0.0 1.0;
1129                   offset:   2 0;
1130                   to_x:     "elm.swallow.content";
1131                   to_y:     "elm.swallow.content";
1132                }
1133                rel2 {
1134                   relative: 0.0 1.0;
1135                   offset:   -1 -1;
1136                   to_x:     "sb_vbar";
1137                   to_y:     "elm.swallow.content";
1138                }
1139             }
1140          }
1141          part { name: "elm.dragable.hbar";
1142             clip_to: "sb_hbar_clip";
1143             mouse_events: 0;
1144             dragable {
1145                x: 1 1 0;
1146                y: 0 0 0;
1147                confine: "sb_hbar";
1148             }
1149             description { state: "default" 0.0;
1150                fixed: 1 1;
1151                min: 17 10;
1152                max: 99999 10;
1153                rel1 {
1154                   relative: 0.5  0.5;
1155                   offset:   0    0;
1156                   to: "sb_hbar";
1157                }
1158                rel2 {
1159                   relative: 0.5  0.5;
1160                   offset:   0    0;
1161                   to: "sb_hbar";
1162                }
1163                image {
1164                   normal: "bt_sm_base2.png";
1165                   border: 4 4 4 4;
1166                   middle: SOLID;
1167                }
1168             }
1169          }
1170          part { name: "sb_hbar_over1";
1171             clip_to: "sb_hbar_clip";
1172             mouse_events: 0;
1173             description { state: "default" 0.0;
1174                rel1.to: "elm.dragable.hbar";
1175                rel2.relative: 1.0 0.5;
1176                rel2.to: "elm.dragable.hbar";
1177                image {
1178                   normal: "bt_sm_hilight.png";
1179                   border: 4 4 4 0;
1180                }
1181             }
1182          }
1183          part { name: "sb_hbar_over2";
1184             clip_to: "sb_hbar_clip";
1185             mouse_events: 0;
1186             description { state: "default" 0.0;
1187                rel1.to: "elm.dragable.hbar";
1188                rel2.to: "elm.dragable.hbar";
1189                image {
1190                   normal: "bt_sm_shine.png";
1191                   border: 4 4 4 0;
1192                }
1193             }
1194          }
1195       }
1196       programs {
1197          program { name: "load";
1198             signal: "load";
1199             source: "";
1200             script {
1201                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1202                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1203                set_int(sbvis_h, 0);
1204                set_int(sbvis_v, 0);
1205                set_int(sbalways_v, 0);
1206                set_int(sbalways_h, 0);
1207                set_int(sbvis_timer, 0);
1208             }
1209          }
1210          program { name: "icon_show";
1211             signal: "elm,action,show,icon";
1212             source: "elm";
1213             action: STATE_SET "visible" 0.0;
1214             target: "elm.swallow.icon";
1215          }
1216          program { name: "icon_hide";
1217             signal: "elm,action,hide,icon";
1218             source: "elm";
1219             action: STATE_SET "default" 0.0;
1220             target: "elm.swallow.icon";
1221          }
1222          program { name: "end_show";
1223             signal: "elm,action,show,end";
1224             source: "elm";
1225             action: STATE_SET "visible" 0.0;
1226             target: "elm.swallow.end";
1227          }
1228          program { name: "end_hide";
1229             signal: "elm,action,hide,end";
1230             source: "elm";
1231             action: STATE_SET "default" 0.0;
1232             target: "elm.swallow.end";
1233          }
1234          program { name: "vbar_show";
1235             signal: "elm,action,show,vbar";
1236             source: "elm";
1237             action:  STATE_SET "default" 0.0;
1238             target: "sb_vbar_clip_master";
1239          }
1240          program { name: "vbar_hide";
1241             signal: "elm,action,hide,vbar";
1242             source: "elm";
1243             action:  STATE_SET "hidden" 0.0;
1244             target: "sb_vbar_clip_master";
1245          }
1246          program { name: "vbar_show_always";
1247             signal: "elm,action,show_always,vbar";
1248             source: "elm";
1249             script {
1250                new v;
1251                v = get_int(sbvis_v);
1252                v |= get_int(sbalways_v);
1253                if (!v) {
1254                   set_int(sbalways_v, 1);
1255                   emit("do-show-vbar", "");
1256                   set_int(sbvis_v, 1);
1257                }
1258             }
1259          }
1260          program { name: "vbar_show_notalways";
1261             signal: "elm,action,show_notalways,vbar";
1262             source: "elm";
1263             script {
1264                new v;
1265                v = get_int(sbalways_v);
1266                if (v) {
1267                   set_int(sbalways_v, 0);
1268                   v = get_int(sbvis_v);
1269                   if (!v) {
1270                      emit("do-hide-vbar", "");
1271                      set_int(sbvis_v, 0);
1272                   }
1273                }
1274             }
1275          }
1276          program { name: "sb_vbar_show";
1277             signal: "do-show-vbar";
1278             source: "";
1279             action:  STATE_SET "default" 0.0;
1280             transition: LINEAR 0.5;
1281             target: "sb_vbar_clip";
1282          }
1283          program { name: "sb_vbar_hide";
1284             signal: "do-hide-vbar";
1285             source: "";
1286             action:  STATE_SET "hidden" 0.0;
1287             transition: LINEAR 0.5;
1288             target: "sb_vbar_clip";
1289          }
1290
1291          program { name: "hbar_show";
1292             signal: "elm,action,show,hbar";
1293             source: "elm";
1294             action:  STATE_SET "default" 0.0;
1295             target: "sb_hbar_clip_master";
1296          }
1297          program { name: "hbar_hide";
1298             signal: "elm,action,hide,hbar";
1299             source: "elm";
1300             action:  STATE_SET "hidden" 0.0;
1301             target: "sb_hbar_clip_master";
1302          }
1303          program { name: "hbar_show_always";
1304             signal: "elm,action,show_always,hbar";
1305             source: "elm";
1306             script {
1307                new v;
1308                v = get_int(sbvis_h);
1309                v |= get_int(sbalways_h);
1310                if (!v) {
1311                   set_int(sbalways_h, 1);
1312                   emit("do-show-hbar", "");
1313                   set_int(sbvis_h, 1);
1314                }
1315             }
1316          }
1317          program { name: "hbar_show_notalways";
1318             signal: "elm,action,show_notalways,hbar";
1319             source: "elm";
1320             script {
1321                new v;
1322                v = get_int(sbalways_h);
1323                if (v) {
1324                   set_int(sbalways_h, 0);
1325                   v = get_int(sbvis_h);
1326                   if (!v) {
1327                      emit("do-hide-hbar", "");
1328                      set_int(sbvis_h, 0);
1329                   }
1330                }
1331             }
1332          }
1333          program { name: "sb_hbar_show";
1334             signal: "do-show-hbar";
1335             source: "";
1336             action:  STATE_SET "default" 0.0;
1337             transition: LINEAR 0.5;
1338             target: "sb_hbar_clip";
1339          }
1340          program { name: "sb_hbar_hide";
1341             signal: "do-hide-hbar";
1342             source: "";
1343             action:  STATE_SET "hidden" 0.0;
1344             transition: LINEAR 0.5;
1345             target: "sb_hbar_clip";
1346          }
1347
1348          program { name: "scroll";
1349             signal: "elm,action,scroll";
1350             source: "elm";
1351             script {
1352                new v;
1353                v = get_int(sbvis_v);
1354                v |= get_int(sbalways_v);
1355                if (!v) {
1356                   emit("do-show-vbar", "");
1357                   set_int(sbvis_v, 1);
1358                }
1359                v = get_int(sbvis_h);
1360                v |= get_int(sbalways_h);
1361                if (!v) {
1362                   emit("do-show-hbar", "");
1363                   set_int(sbvis_h, 1);
1364                }
1365                v = get_int(sbvis_timer);
1366                if (v > 0) cancel_timer(v);
1367                v = timer(1.0, "timer0", 0);
1368                set_int(sbvis_timer, v);
1369             }
1370          }
1371
1372          program { name: "highlight_show";
1373             signal: "elm,action,focus_highlight,show";
1374             source: "elm";
1375             action: STATE_SET "enabled" 0.0;
1376             transition: ACCELERATE 0.3;
1377             target: "focus_highlight";
1378             target: "conf_over";
1379          }
1380          program { name: "highlight_hide";
1381             signal: "elm,action,focus_highlight,hide";
1382             source: "elm";
1383             action: STATE_SET "default" 0.0;
1384             transition: DECELERATE 0.3;
1385             target: "focus_highlight";
1386             target: "conf_over";
1387          }
1388       }
1389    }
1390
1391 ///////////////////////////////////////////////////////////////////////////////
1392 #define TEXT_SLIDE_DURATION     10
1393
1394    group { name: "elm/label/base/default";
1395       data.item: "default_font_size" "10";
1396       data.item: "min_font_size" "6";
1397       data.item: "max_font_size" "60";
1398       styles {
1399          style { name: "textblock_style";
1400             base: "font=Sans font_size=10 color=#000 wrap=word text_class=label";
1401             tag:  "br" "\n";
1402             tag:  "ps" "ps";
1403             tag:  "hilight" "+ font=Sans:style=Bold";
1404             tag:  "b" "+ font=Sans:style=Bold";
1405             tag:  "tab" "\t";
1406            }
1407         }
1408       parts {
1409          part { name: "label.swallow.background";
1410             type: SWALLOW;
1411             description { state: "default" 0.0;
1412                visible: 1;
1413             }
1414          }
1415          part { name: "label.text.clip";
1416             type: RECT;
1417             description { state: "default" 0.0;
1418                rel1 { relative: 0 0; to: "label.swallow.background"; }
1419                rel2 { relative: 1 1; to: "label.swallow.background"; }
1420             }
1421          }
1422          part { name: "elm.text";
1423             type: TEXTBLOCK;
1424             mouse_events: 0;
1425             scale: 1;
1426             clip_to: "label.text.clip";
1427             description { state: "default" 0.0;
1428                rel1.relative: 0.0 0.0;
1429                rel2.relative: 1.0 1.0;
1430                text {
1431                   style: "textblock_style";
1432                   min: 1 1;
1433                }
1434             }
1435          }
1436       }
1437    }
1438
1439    group { name: "elm/label/base_wrap/default";
1440       data.item: "default_font_size" "10";
1441       data.item: "min_font_size" "6";
1442       data.item: "max_font_size" "60";
1443       parts {
1444          part { name: "label.swallow.background";
1445             type: SWALLOW;
1446             description { state: "default" 0.0;
1447                visible: 1;
1448                rel1 { relative: 0 0; to: "elm.text"; }
1449                rel2 { relative: 1 1; to: "elm.text"; }
1450             }
1451          }
1452          part { name: "elm.text";
1453             type: TEXTBLOCK;
1454             mouse_events: 0;
1455             scale: 1;
1456             description { state: "default" 0.0;
1457                text {
1458                   style: "textblock_style";
1459                   min: 0 1;
1460                }
1461             }
1462          }
1463       }
1464    }
1465
1466    group { name: "elm/label/base_wrap_ellipsis/default";
1467       data.item: "default_font_size" "10";
1468       data.item: "min_font_size" "6";
1469       data.item: "max_font_size" "60";
1470       parts {
1471          part { name: "label.swallow.background";
1472             type: SWALLOW;
1473             description { state: "default" 0.0;
1474                visible: 1;
1475                rel1 { relative: 0 0; to: "elm.text"; }
1476                rel2 { relative: 1 1; to: "elm.text"; }
1477             }
1478          }
1479          part { name: "elm.text";
1480             type: TEXTBLOCK;
1481             mouse_events: 0;
1482             scale: 1;
1483             multiline: 1;
1484             description { state: "default" 0.0;
1485                fixed: 0 1;
1486                text {
1487                   style: "textblock_style";
1488                   min: 0 1;
1489                }
1490             }
1491          }
1492       }
1493    }
1494
1495    group { name: "elm/label/base/marker";
1496       data.item: "default_font_size" "10";
1497       data.item: "min_font_size" "6";
1498       data.item: "max_font_size" "60";
1499       styles {
1500          style { name: "textblock_style2";
1501            base: "font=Sans:style=Bold font_size=10 align=center color=#fff wrap=word text_class=label";
1502            tag:  "br" "\n";
1503            tag:  "ps" "ps";
1504            tag:  "hilight" "+ color=#ffff";
1505            tag:  "b" "+ color=#ffff";
1506            tag:  "tab" "\t";
1507          }
1508       }
1509       parts {
1510          part { name: "label.swallow.background";
1511             type: SWALLOW;
1512             description { state: "default" 0.0;
1513                visible: 1;
1514                rel1 { relative: 0 0; to: "elm.text"; }
1515                rel2 { relative: 1 1; to: "elm.text"; }
1516             }
1517          }
1518          part { name: "elm.text";
1519             type: TEXTBLOCK;
1520             mouse_events: 0;
1521             scale: 1;
1522             description { state: "default" 0.0;
1523                text {
1524                   style: "textblock_style2";
1525                   min: 1 1;
1526                }
1527             }
1528          }
1529       }
1530    }
1531
1532    group { name: "elm/label/base_wrap/marker";
1533       data.item: "default_font_size" "10";
1534       data.item: "min_font_size" "6";
1535       data.item: "max_font_size" "60";
1536       parts {
1537          part { name: "label.swallow.background";
1538             type: SWALLOW;
1539             description { state: "default" 0.0;
1540                visible: 1;
1541                rel1 { relative: 0 0; to: "elm.text"; }
1542                rel2 { relative: 1 1; to: "elm.text"; }
1543             }
1544          }
1545          part { name: "elm.text";
1546             type: TEXTBLOCK;
1547             mouse_events: 0;
1548             scale: 1;
1549             description { state: "default" 0.0;
1550                text {
1551                   style: "textblock_style2";
1552                   min: 0 1;
1553                }
1554             }
1555          }
1556       }
1557    }
1558
1559    group { name: "elm/label/base/slide_long";
1560       data.item: "default_font_size" "10";
1561       data.item: "min_font_size" "6";
1562       data.item: "max_font_size" "60";
1563
1564       script {
1565         public g_duration, g_stopslide, g_timer_id, g_anim_id;
1566
1567         public message(Msg_Type:type, id, ...) {
1568            if ((type == MSG_FLOAT_SET) && (id == 0)) {
1569               new Float:duration;
1570               duration = getarg(2);
1571               set_float(g_duration, duration);
1572            }
1573         }
1574         public slide_to_end_anim(val, Float:pos) {
1575            new stopflag;
1576            new id;
1577            stopflag = get_int(g_stopslide);
1578            if (stopflag == 1) return;
1579            set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1580            if (pos >= 1.0) {
1581               id = timer(0.5, "slide_to_begin", 1);
1582               set_int(g_timer_id, id);
1583            }
1584         }
1585         public slide_to_end() {
1586            new stopflag;
1587            new id;
1588            new Float:duration;
1589            stopflag = get_int(g_stopslide);
1590            if (stopflag == 1) return;
1591            duration = get_float(g_duration);
1592            id = anim(duration, "slide_to_end_anim", 1);
1593            set_int(g_anim_id, id);
1594         }
1595         public slide_to_begin() {
1596            new stopflag;
1597            new id;
1598            stopflag = get_int(g_stopslide);
1599            if (stopflag == 1) return;
1600            set_state(PART:"elm.text", "slide_begin", 0.0);
1601            id = timer(0.5, "slide_to_end", 1);
1602            set_int(g_timer_id, id);
1603         }
1604         public start_slide() {
1605            set_int(g_stopslide, 0);
1606            set_state(PART:"elm.text", "slide_begin", 0.0);
1607            slide_to_end();
1608         }
1609         public stop_slide() {
1610            new id;
1611            set_int(g_stopslide, 1);
1612            id = get_int(g_anim_id);
1613            cancel_anim(id);
1614            id = get_int(g_timer_id);
1615            cancel_timer(id);
1616            set_state(PART:"elm.text", "default", 0.0);
1617         }
1618       }
1619
1620       parts {
1621          part { name: "label.swallow.background";
1622             type: SWALLOW;
1623             description { state: "default" 0.0;
1624                visible: 1;
1625             }
1626          }
1627          part { name: "label.text.clip";
1628             type: RECT;
1629             description { state: "default" 0.0;
1630                visible: 1;
1631                color: 255 255 255 255;
1632                rel1 { relative: 0 0; to: "label.swallow.background"; }
1633                rel2 { relative: 1 1; to: "label.swallow.background"; }
1634             }
1635          }
1636          part { name: "elm.text";
1637             type: TEXTBLOCK;
1638             mouse_events: 0;
1639             scale: 1;
1640             clip_to: "label.text.clip";
1641             description { state: "default" 0.0;
1642                rel1.relative: 0.0 0.0;
1643                rel2.relative: 1.0 1.0;
1644                align: 0.0 0.0;
1645                text {
1646                   style: "textblock_style";
1647                   min: 1 1;
1648                }
1649             }
1650             description { state: "slide_end" 0.0;
1651                inherit: "default" 0.0;
1652                rel1.relative: 0.0 0.0;
1653                rel2.relative: 0.0 1.0;
1654                align: 1.0 0.0;
1655             }
1656             description { state: "slide_begin" 0.0;
1657                inherit: "default" 0.0;
1658                rel1.relative: 1.0 0.0;
1659                rel2.relative: 1.0 1.0;
1660                align: 0.0 0.0;
1661             }
1662          }
1663        }
1664        programs {
1665           program { name: "start_slide";
1666              source: "elm";
1667              signal: "elm,state,slide,start";
1668              script
1669                {
1670                   start_slide();
1671                }
1672           }
1673           program { name: "stop_slide";
1674              source: "elm";
1675              signal: "elm,state,slide,stop";
1676              script
1677                {
1678                   stop_slide();
1679                }
1680           }
1681        }
1682    }
1683
1684
1685    group { name: "elm/label/base/slide_short";
1686       data.item: "default_font_size" "10";
1687       data.item: "min_font_size" "6";
1688       data.item: "max_font_size" "60";
1689
1690       script {
1691          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1692
1693          public message(Msg_Type:type, id, ...) {
1694             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1695                new Float:duration;
1696                duration = getarg(2);
1697                set_float(g_duration, duration);
1698             }
1699          }
1700          public slide_to_end_anim(val, Float:pos) {
1701             new stopflag;
1702             new id;
1703             stopflag = get_int(g_stopslide);
1704             if (stopflag == 1) return;
1705             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1706             if (pos >= 1.0) {
1707                id = timer(0.5, "slide_to_begin", 1);
1708                set_int(g_timer_id, id);
1709             }
1710          }
1711          public slide_to_end() {
1712             new stopflag;
1713             new id;
1714             new Float:duration;
1715             stopflag = get_int(g_stopslide);
1716             if (stopflag == 1) return;
1717             duration = get_float(g_duration);
1718             id = anim(duration, "slide_to_end_anim", 1);
1719             set_int(g_anim_id, id);
1720          }
1721          public slide_to_begin() {
1722             new stopflag;
1723             new id;
1724             stopflag = get_int(g_stopslide);
1725             if (stopflag == 1) return;
1726             set_state(PART:"elm.text", "slide_begin", 0.0);
1727             id = timer(0.5, "slide_to_end", 1);
1728             set_int(g_timer_id, id);
1729          }
1730          public start_slide() {
1731             set_int(g_stopslide, 0);
1732             set_state(PART:"elm.text", "slide_begin", 0.0);
1733             slide_to_end();
1734          }
1735          public stop_slide() {
1736             new id;
1737             set_int(g_stopslide, 1);
1738             id = get_int(g_anim_id);
1739             cancel_anim(id);
1740             id = get_int(g_timer_id);
1741             cancel_timer(id);
1742             set_state(PART:"elm.text", "default", 0.0);
1743          }
1744       }
1745
1746       parts {
1747          part { name: "label.swallow.background";
1748             type: SWALLOW;
1749             description { state: "default" 0.0;
1750                visible: 1;
1751             }
1752          }
1753          part { name: "label.text.clip";
1754             type: RECT;
1755             description { state: "default" 0.0;
1756                visible: 1;
1757                color: 255 255 255 255;
1758                rel1 { relative: 0 0; to: "label.swallow.background"; }
1759                rel2 { relative: 1 1; to: "label.swallow.background"; }
1760             }
1761          }
1762          part { name: "elm.text";
1763             type: TEXTBLOCK;
1764             mouse_events: 0;
1765             scale: 1;
1766             clip_to: "label.text.clip";
1767             description { state: "default" 0.0;
1768                rel1.relative: 0.0 0.0;
1769                rel2.relative: 1.0 1.0;
1770                align: 0.0 0.0;
1771                text {
1772                   style: "textblock_style";
1773                   min: 1 1;
1774                }
1775             }
1776             description { state: "slide_end" 0.0;
1777                inherit: "default" 0.0;
1778                rel1.relative: 1.0 0.0;
1779                rel2.relative: 1.0 1.0;
1780                align: 1.0 0.0;
1781             }
1782             description { state: "slide_begin" 0.0;
1783                inherit: "default" 0.0;
1784                rel1.relative: 0.0 0.0;
1785                rel2.relative: 0.0 1.0;
1786                align: 0.0 0.0;
1787             }
1788          }
1789       }
1790       programs {
1791          program { name: "start_slide";
1792             source: "elm";
1793             signal: "elm,state,slide,start";
1794             script
1795               {
1796                  start_slide();
1797               }
1798          }
1799          program { name: "stop_slide";
1800             source: "elm";
1801             signal: "elm,state,slide,stop";
1802             script
1803               {
1804                  stop_slide();
1805               }
1806          }
1807       }
1808    }
1809
1810    group { name: "elm/label/base/slide_bounce";
1811       data.item: "default_font_size" "10";
1812       data.item: "min_font_size" "6";
1813       data.item: "max_font_size" "60";
1814
1815       script {
1816          public g_duration, g_stopslide, g_timer_id, g_anim_id;
1817
1818          public message(Msg_Type:type, id, ...) {
1819             if ((type == MSG_FLOAT_SET) && (id == 0)) {
1820                new Float:duration;
1821                duration = getarg(2);
1822                set_float(g_duration, duration);
1823             }
1824          }
1825          public slide_to_end_anim(val, Float:pos) {
1826             new stopflag;
1827             new id;
1828             stopflag = get_int(g_stopslide);
1829             if (stopflag == 1) return;
1830             set_tween_state(PART:"elm.text", pos, "slide_begin", 0.0, "slide_end", 0.0);
1831             if (pos >= 1.0) {
1832                id = timer(0.5, "slide_to_begin", 1);
1833                set_int(g_timer_id, id);
1834             }
1835          }
1836          public slide_to_end() {
1837             new stopflag;
1838             new id;
1839             new Float:duration;
1840             stopflag = get_int(g_stopslide);
1841             if (stopflag == 1) return;
1842             duration = get_float(g_duration);
1843             id = anim(duration, "slide_to_end_anim", 1);
1844             set_int(g_anim_id, id);
1845          }
1846          public slide_to_begin_anim(val, Float:pos) {
1847             new stopflag;
1848             new id;
1849             stopflag = get_int(g_stopslide);
1850             if (stopflag == 1) return;
1851             set_tween_state(PART:"elm.text", pos, "slide_end", 0.0, "slide_begin", 0.0);
1852             if (pos >= 1.0) {
1853                id = timer(0.5, "slide_to_end", 1);
1854                set_int(g_timer_id, id);
1855             }
1856          }
1857          public slide_to_begin() {
1858             new stopflag;
1859             new id;
1860             new Float:duration;
1861             stopflag = get_int(g_stopslide);
1862             if (stopflag == 1) return;
1863             duration = get_float(g_duration);
1864             id = anim(duration, "slide_to_begin_anim", 1);
1865             set_int(g_anim_id, id);
1866          }
1867          public start_slide() {
1868             set_int(g_stopslide, 0);
1869             set_state(PART:"elm.text", "slide_begin", 0.0);
1870             slide_to_end();
1871          }
1872          public stop_slide() {
1873             new id;
1874             set_int(g_stopslide, 1);
1875             id = get_int(g_anim_id);
1876             cancel_anim(id);
1877             id = get_int(g_timer_id);
1878             cancel_timer(id);
1879             set_state(PART:"elm.text", "default", 0.0);
1880          }
1881       }
1882
1883       parts {
1884          part { name: "label.swallow.background";
1885             type: SWALLOW;
1886             description { state: "default" 0.0;
1887                visible: 1;
1888             }
1889          }
1890          part { name: "label.text.clip";
1891             type: RECT;
1892             description { state: "default" 0.0;
1893                visible: 1;
1894                color: 255 255 255 255;
1895                rel1 { relative: 0 0; to: "label.swallow.background"; }
1896                rel2 { relative: 1 1; to: "label.swallow.background"; }
1897             }
1898          }
1899          part { name: "elm.text";
1900             type: TEXTBLOCK;
1901             mouse_events: 0;
1902             scale: 1;
1903             clip_to: "label.text.clip";
1904             description { state: "default" 0.0;
1905                rel1.relative: 0.0 0.0;
1906                rel2.relative: 1.0 1.0;
1907                align: 0.0 0.0;
1908                text {
1909                   style: "textblock_style";
1910                   min: 1 1;
1911                }
1912             }
1913             description { state: "slide_end" 0.0;
1914                inherit: "default" 0.0;
1915                rel1.relative: 1.0 0.0;
1916                rel2.relative: 1.0 1.0;
1917                align: 1.0 0.0;
1918             }
1919             description { state: "slide_begin" 0.0;
1920                inherit: "default" 0.0;
1921                rel1.relative: 0.0 0.0;
1922                rel2.relative: 0.0 1.0;
1923                align: 0.0 0.0;
1924             }
1925          }
1926       }
1927       programs {
1928          program { name: "start_slide";
1929             source: "elm";
1930             signal: "elm,state,slide,start";
1931             script
1932               {
1933                  start_slide();
1934               }
1935          }
1936          program { name: "stop_slide";
1937             source: "elm";
1938             signal: "elm,state,slide,stop";
1939             script
1940               {
1941                  stop_slide();
1942               }
1943          }
1944       }
1945    }
1946
1947
1948 ///////////////////////////////////////////////////////////////////////////////
1949
1950    group { name: "elm/button/base/default";
1951       images {
1952          image: "bt_base1.png" COMP;
1953          image: "bt_base2.png" COMP;
1954          image: "bt_hilight.png" COMP;
1955          image: "bt_shine.png" COMP;
1956          image: "bt_glow.png" COMP;
1957          image: "bt_dis_base.png" COMP;
1958          image: "bt_dis_hilight.png" COMP;
1959       }
1960       parts {
1961          part { name: "button_image";
1962             mouse_events: 1;
1963             description { state: "default" 0.0;
1964                min: 15 15;
1965                image {
1966                   normal: "bt_base2.png";
1967                   border: 7 7 7 7;
1968                }
1969                image.middle: SOLID;
1970             }
1971             description { state: "clicked" 0.0;
1972                inherit: "default" 0.0;
1973                image.normal: "bt_base1.png";
1974             }
1975             description { state: "disabled" 0.0;
1976                inherit:  "default" 0.0;
1977                image {
1978                   normal: "bt_dis_base.png";
1979                   border: 4 4 4 4;
1980                }
1981             }
1982          }
1983          part { name: "elm.swallow.content";
1984             type: SWALLOW;
1985             description { state: "default" 0.0;
1986                fixed: 1 0;
1987                visible: 0;
1988                align: 0.0 0.5;
1989                rel1.offset: 4 4;
1990                rel2.offset: 3 -5;
1991                rel2.relative: 0.0 1.0;
1992             }
1993             description { state: "visible" 0.0;
1994                inherit: "default" 0.0;
1995                fixed: 1 0;
1996                visible: 1;
1997                aspect: 1.0 1.0;
1998 //               aspect_preference: VERTICAL;
1999                rel2.offset: 4 -5;
2000             }
2001             description { state: "icononly" 0.0;
2002                inherit: "default" 0.0;
2003                fixed: 0 0;
2004                visible: 1;
2005                align: 0.5 0.5;
2006 //               aspect: 1.0 1.0;
2007                rel2.offset: -5 -5;
2008                rel2.relative: 1.0 1.0;
2009 //               aspect_preference: VERTICAL;
2010             }
2011          }
2012          part {
2013             name:          "elm.text";
2014             type:          TEXT;
2015             effect:        SOFT_SHADOW;
2016             mouse_events:  0;
2017             scale: 1;
2018             description { state: "default" 0.0;
2019                visible: 0;
2020                rel1.to_x: "elm.swallow.content";
2021                rel1.relative: 1.0 0.0;
2022                rel1.offset: 0 4;
2023                rel2.offset: -5 -5;
2024                color: 224 224 224 255;
2025                color3: 0 0 0 64;
2026                text {
2027                   font:     "Sans,Edje-Vera";
2028                   size:     10;
2029                   min:      0 0;
2030                   align:    0.5 0.5;
2031                   text_class: "button";
2032                }
2033             }
2034             description { state: "visible" 0.0;
2035                inherit: "default" 0.0;
2036                visible: 1;
2037                text.min: 1 1;
2038             }
2039             description { state: "disabled" 0.0;
2040                inherit: "default" 0.0;
2041                color: 0 0 0 128;
2042                color3: 0 0 0 0;
2043             }
2044             description { state: "disabled_visible" 0.0;
2045                inherit: "default" 0.0;
2046                color: 0 0 0 128;
2047                color3: 0 0 0 0;
2048                visible: 1;
2049                text.min: 1 1;
2050             }
2051          }
2052          part {          name: "over1";
2053             mouse_events: 0;
2054             description { state: "default" 0.0;
2055                rel2.relative: 1.0 0.5;
2056                image {
2057                   normal: "bt_hilight.png";
2058                   border: 7 7 7 0;
2059                }
2060             }
2061             description { state: "disabled" 0.0;
2062                inherit:  "default" 0.0;
2063                image {
2064                   normal: "bt_dis_hilight.png";
2065                   border: 4 4 4 0;
2066                }
2067             }
2068          }
2069          part { name: "over2";
2070             mouse_events: 1;
2071             repeat_events: 1;
2072             ignore_flags: ON_HOLD;
2073             description { state: "default" 0.0;
2074                image {
2075                   normal: "bt_shine.png";
2076                   border: 7 7 7 7;
2077                }
2078             }
2079             description { state: "disabled" 0.0;
2080                inherit:  "default" 0.0;
2081                visible: 0;
2082             }
2083          }
2084          part { name: "over3";
2085             mouse_events: 1;
2086             repeat_events: 1;
2087             description { state: "default" 0.0;
2088                color: 255 255 255 0;
2089                image {
2090                   normal: "bt_glow.png";
2091                   border: 12 12 12 12;
2092                }
2093                fill.smooth : 0;
2094             }
2095             description { state: "clicked" 0.0;
2096                inherit:  "default" 0.0;
2097                color: 255 255 255 255;
2098             }
2099          }
2100           part { name: "disabler";
2101             type: RECT;
2102             description { state: "default" 0.0;
2103                color: 0 0 0 0;
2104                visible: 0;
2105             }
2106             description { state: "disabled" 0.0;
2107                inherit: "default" 0.0;
2108                visible: 1;
2109             }
2110          }
2111       }
2112       programs {
2113          program {
2114             name:   "button_click";
2115             signal: "mouse,down,1";
2116             source: "over2";
2117             action: SIGNAL_EMIT "elm,action,press" "";
2118             after: "button_click_anim";
2119          }
2120          program {
2121             name:   "button_click_anim";
2122             action: STATE_SET "clicked" 0.0;
2123             target: "button_image";
2124          }
2125          program {
2126             name:   "button_unclick";
2127             signal: "mouse,up,1";
2128             source: "over3";
2129             action: SIGNAL_EMIT "elm,action,unpress" "";
2130             after: "button_unclick_anim";
2131          }
2132          program {
2133             name:   "button_pressed_anim";
2134             signal: "elm,anim,activate";
2135             source: "elm";
2136             action: STATE_SET "clicked" 0.0;
2137             target: "button_image";
2138             target: "over3";
2139             after: "button_unpressed_anim";
2140          }
2141          program {
2142             name:   "button_unpressed_anim";
2143             action: STATE_SET "default" 0.0;
2144             transition: DECELERATE 0.5;
2145             target: "button_image";
2146             target: "over3";
2147          }
2148          program {
2149             name:   "button_unclick_anim";
2150             action: STATE_SET "default" 0.0;
2151             target: "button_image";
2152          }
2153          program {
2154             name:   "button_click2";
2155             signal: "mouse,down,1";
2156             source: "over3";
2157             action: STATE_SET "clicked" 0.0;
2158             target: "over3";
2159          }
2160          program {
2161             name:   "button_unclick2";
2162             signal: "mouse,up,1";
2163             source: "over3";
2164             action: STATE_SET "default" 0.0;
2165             transition: DECELERATE 0.5;
2166             target: "over3";
2167          }
2168          program {
2169             name:   "button_unclick3";
2170             signal: "mouse,clicked,1";
2171             source: "over2";
2172             action: SIGNAL_EMIT "elm,action,click" "";
2173          }
2174          program { name: "text_show";
2175             signal: "elm,state,text,visible";
2176             source: "elm";
2177             script {
2178                new st[31];
2179                new Float:vl;
2180                get_state(PART:"elm.swallow.content", st, 30, vl);
2181                if (!strcmp(st, "icononly"))
2182                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2183                set_state(PART:"elm.text", "visible", 0.0);
2184             }
2185          }
2186          program { name: "text_hide";
2187             signal: "elm,state,text,hidden";
2188             source: "elm";
2189             script {
2190                new st[31];
2191                new Float:vl;
2192                get_state(PART:"elm.swallow.content", st, 30, vl);
2193                if (!strcmp(st, "visible"))
2194                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2195                set_state(PART:"elm.text", "default", 0.0);
2196             }
2197          }
2198          program { name: "icon_show";
2199             signal: "elm,state,icon,visible";
2200             source: "elm";
2201             script {
2202                new st[31];
2203                new Float:vl;
2204                get_state(PART:"elm.text", st, 30, vl);
2205                if (!strcmp(st, "visible"))
2206                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2207                else
2208                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2209             }
2210          }
2211          program { name: "icon_hide";
2212             signal: "elm,state,icon,hidden";
2213             source: "elm";
2214             action:  STATE_SET "default" 0.0;
2215             target: "elm.swallow.content";
2216          }
2217          program { name: "disable";
2218             signal: "elm,state,disabled";
2219             source: "elm";
2220             action: STATE_SET "disabled" 0.0;
2221             target: "button_image";
2222             target: "over1";
2223             target: "over2";
2224             target: "disabler";
2225             after: "disable_text";
2226          }
2227          program { name: "disable_text";
2228             script {
2229                new st[31];
2230                new Float:vl;
2231                get_state(PART:"elm.text", st, 30, vl);
2232                if (!strcmp(st, "visible"))
2233                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2234                else
2235                  set_state(PART:"elm.text", "disabled", 0.0);
2236             }
2237          }
2238          program { name: "enable";
2239             signal: "elm,state,enabled";
2240             source: "elm";
2241             action: STATE_SET "default" 0.0;
2242             target: "button_image";
2243             target: "over1";
2244             target: "over2";
2245             target: "disabler";
2246             after: "enable_text";
2247          }
2248          program { name: "enable_text";
2249             script {
2250                new st[31];
2251                new Float:vl;
2252                get_state(PART:"elm.text", st, 30, vl);
2253                if (!strcmp(st, "disabled_visible"))
2254                  set_state(PART:"elm.text", "visible", 0.0);
2255                else
2256                  set_state(PART:"elm.text", "default", 0.0);
2257             }
2258          }
2259       }
2260    }
2261
2262    group { name: "elm/button/base/hoversel_vertical/default";
2263       alias: "elm/button/base/hoversel_vertical/entry";
2264       alias: "elm/button/base/hoversel_horizontal/default";
2265       alias: "elm/button/base/hoversel_horizontal/entry";
2266       images {
2267          image: "bt_base1.png" COMP;
2268          image: "bt_base2.png" COMP;
2269          image: "bt_hilight.png" COMP;
2270          image: "bt_shine.png" COMP;
2271          image: "bt_glow.png" COMP;
2272          image: "updown.png" COMP;
2273          image: "bt_dis_base.png" COMP;
2274          image: "bt_dis_hilight.png" COMP;
2275       }
2276       parts {
2277          part { name: "button_image";
2278             mouse_events: 1;
2279             description { state: "default" 0.0;
2280                image {
2281                   normal: "bt_base2.png";
2282                   border: 7 7 7 7;
2283                }
2284                image.middle: SOLID;
2285             }
2286             description { state: "clicked" 0.0;
2287                inherit: "default" 0.0;
2288                image.normal: "bt_base1.png";
2289                image.middle: SOLID;
2290             }
2291             description { state: "disabled" 0.0;
2292                inherit:  "default" 0.0;
2293                image {
2294                   normal: "bt_dis_base.png";
2295                   border: 4 4 4 4;
2296                }
2297             }
2298          }
2299          part { name: "arrow";
2300             mouse_events: 0;
2301             description { state: "default" 0.0;
2302                image.normal: "updown.png";
2303                aspect: 0.6666666666 0.6666666666;
2304                aspect_preference: VERTICAL;
2305                rel1.offset: 6 7;
2306                rel2.offset: 6 -7;
2307                rel2.relative: 0.0 1.0;
2308                align: 0.0 0.5;
2309             }
2310          }
2311          part { name: "elm.swallow.content";
2312             type: SWALLOW;
2313             description { state: "default" 0.0;
2314                fixed: 1 0;
2315                visible: 0;
2316                align: 0.0 0.5;
2317                rel1 {
2318                   to_x: "arrow";
2319                   offset: 2 4;
2320                   relative: 1.0 0.0;
2321                }
2322                rel2 {
2323                   to_x: "arrow";
2324                   offset: 1 -5;
2325                   relative: 1.0 1.0;
2326                }
2327             }
2328             description { state: "visible" 0.0;
2329                inherit: "default" 0.0;
2330                fixed: 0 0;
2331                visible: 1;
2332                aspect: 1.0 1.0;
2333                aspect_preference: VERTICAL;
2334                rel2.offset: 2 -5;
2335             }
2336             description { state: "icononly" 0.0;
2337                inherit: "default" 0.0;
2338                fixed: 0 0;
2339                visible: 1;
2340                align: 0.5 0.5;
2341                aspect: 1.0 1.0;
2342                rel1 {
2343                   to_x: "button_image";
2344                   offset: -5 -5;
2345                   relative: 1.0 1.0;
2346                }
2347                aspect_preference: VERTICAL;
2348             }
2349          }
2350          part {
2351             name:          "elm.text";
2352             type:          TEXT;
2353             effect:        SOFT_SHADOW;
2354             mouse_events:  0;
2355             scale: 1;
2356             description { state: "default" 0.0;
2357                visible: 0;
2358                rel1.to_x: "elm.swallow.content";
2359                rel1.relative: 1.0 0.0;
2360                rel1.offset: 0 4;
2361                rel2.offset: -5 -5;
2362                color: 224 224 224 255;
2363                color3: 0 0 0 64;
2364                text {
2365                   font:     "Sans,Edje-Vera";
2366                   size:     10;
2367                   min:      0 0;
2368                   align:    0.5 0.5;
2369                   text_class: "button";
2370                }
2371             }
2372             description { state: "visible" 0.0;
2373                inherit: "default" 0.0;
2374                visible: 1;
2375                text.min: 1 1;
2376             }
2377             description { state: "disabled" 0.0;
2378                inherit: "default" 0.0;
2379                color: 0 0 0 128;
2380                color3: 0 0 0 0;
2381             }
2382             description { state: "disabled_visible" 0.0;
2383                inherit: "default" 0.0;
2384                color: 0 0 0 128;
2385                color3: 0 0 0 0;
2386                visible: 1;
2387                text.min: 1 1;
2388             }
2389          }
2390          part {          name: "over1";
2391             mouse_events: 0;
2392             description { state: "default" 0.0;
2393                rel2.relative: 1.0 0.5;
2394                image {
2395                   normal: "bt_hilight.png";
2396                   border: 7 7 7 0;
2397                }
2398             }
2399             description { state: "disabled" 0.0;
2400                inherit:  "default" 0.0;
2401                image {
2402                   normal: "bt_dis_hilight.png";
2403                   border: 4 4 4 0;
2404                }
2405             }
2406          }
2407          part { name: "over2";
2408             mouse_events: 1;
2409             repeat_events: 1;
2410             ignore_flags: ON_HOLD;
2411             description { state: "default" 0.0;
2412                image {
2413                   normal: "bt_shine.png";
2414                   border: 7 7 7 7;
2415                }
2416             }
2417             description { state: "disabled" 0.0;
2418                inherit:  "default" 0.0;
2419                visible: 0;
2420             }
2421          }
2422          part { name: "over3";
2423             mouse_events: 1;
2424             repeat_events: 1;
2425             description { state: "default" 0.0;
2426                color: 255 255 255 0;
2427                image {
2428                   normal: "bt_glow.png";
2429                   border: 12 12 12 12;
2430                }
2431                fill.smooth : 0;
2432             }
2433             description { state: "clicked" 0.0;
2434                inherit:  "default" 0.0;
2435                visible: 1;
2436                color: 255 255 255 255;
2437             }
2438          }
2439           part { name: "disabler";
2440             type: RECT;
2441             description { state: "default" 0.0;
2442                color: 0 0 0 0;
2443                visible: 0;
2444             }
2445             description { state: "disabled" 0.0;
2446                inherit: "default" 0.0;
2447                visible: 1;
2448             }
2449          }
2450       }
2451       programs {
2452          program {
2453             name:   "button_click";
2454             signal: "mouse,down,1";
2455             source: "over2";
2456             action: STATE_SET "clicked" 0.0;
2457             target: "button_image";
2458          }
2459          program {
2460             name:   "button_unclick";
2461             signal: "mouse,up,1";
2462             source: "over2";
2463             action: STATE_SET "default" 0.0;
2464             target: "button_image";
2465          }
2466          program {
2467             name:   "button_click2";
2468             signal: "mouse,down,1";
2469             source: "over3";
2470             action: STATE_SET "clicked" 0.0;
2471             target: "over3";
2472          }
2473          program {
2474             name:   "button_unclick2";
2475             signal: "mouse,up,1";
2476             source: "over3";
2477             action: STATE_SET "default" 0.0;
2478             transition: DECELERATE 0.5;
2479             target: "over3";
2480          }
2481          program {
2482             name:   "button_unclick3";
2483             signal: "mouse,up,1";
2484             source: "over2";
2485             action: SIGNAL_EMIT "elm,action,click" "";
2486          }
2487          program { name: "text_show";
2488             signal: "elm,state,text,visible";
2489             source: "elm";
2490             script {
2491                new st[31];
2492                new Float:vl;
2493                get_state(PART:"elm.swallow.content", st, 30, vl);
2494                if (!strcmp(st, "icononly"))
2495                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2496                set_state(PART:"elm.text", "visible", 0.0);
2497             }
2498          }
2499          program { name: "text_hide";
2500             signal: "elm,state,text,hidden";
2501             source: "elm";
2502             script {
2503                new st[31];
2504                new Float:vl;
2505                get_state(PART:"elm.swallow.content", st, 30, vl);
2506                if (!strcmp(st, "visible"))
2507                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2508                set_state(PART:"elm.text", "default", 0.0);
2509             }
2510          }
2511          program { name: "icon_show";
2512             signal: "elm,state,icon,visible";
2513             source: "elm";
2514             script {
2515                new st[31];
2516                new Float:vl;
2517                get_state(PART:"elm.text", st, 30, vl);
2518                if (!strcmp(st, "visible"))
2519                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2520                else
2521                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2522             }
2523          }
2524          program { name: "icon_hide";
2525             signal: "elm,state,icon,hidden";
2526             source: "elm";
2527             action:  STATE_SET "default" 0.0;
2528             target: "elm.swallow.content";
2529          }
2530          program { name: "disable";
2531             signal: "elm,state,disabled";
2532             source: "elm";
2533             action: STATE_SET "disabled" 0.0;
2534             target: "button_image";
2535             target: "over1";
2536             target: "over2";
2537             target: "disabler";
2538             after: "disable_text";
2539          }
2540          program { name: "disable_text";
2541             script {
2542                new st[31];
2543                new Float:vl;
2544                get_state(PART:"elm.text", st, 30, vl);
2545                if (!strcmp(st, "visible"))
2546                  set_state(PART:"elm.text", "disabled_visible", 0.0);
2547                else
2548                  set_state(PART:"elm.text", "disabled", 0.0);
2549             }
2550          }
2551          program { name: "enable";
2552             signal: "elm,state,enabled";
2553             source: "elm";
2554             action: STATE_SET "default" 0.0;
2555             target: "button_image";
2556             target: "over1";
2557             target: "over2";
2558             target: "disabler";
2559             after: "enable_text";
2560          }
2561          program { name: "enable_text";
2562             script {
2563                new st[31];
2564                new Float:vl;
2565                get_state(PART:"elm.text", st, 30, vl);
2566                if (!strcmp(st, "disabled_visible"))
2567                  set_state(PART:"elm.text", "visible", 0.0);
2568                else
2569                  set_state(PART:"elm.text", "default", 0.0);
2570             }
2571          }
2572       }
2573    }
2574
2575    group { name: "elm/button/base/hoversel_vertical_entry/default";
2576       alias: "elm/button/base/hoversel_vertical_entry/entry";
2577       alias: "elm/button/base/hoversel_horizontal_entry/default";
2578       alias: "elm/button/base/hoversel_horizontal_entry/entry";
2579       images {
2580          image: "hoversel_entry_bg.png" COMP;
2581       }
2582       parts {
2583          part { name: "button_image";
2584             mouse_events: 1;
2585             description { state: "default" 0.0;
2586                color: 255 255 255 0;
2587                image.normal: "hoversel_entry_bg.png";
2588                image.border: 0 0 2 2;
2589                fill.smooth: 0;
2590             }
2591             description { state: "clicked" 0.0;
2592                inherit: "default" 0.0;
2593                color: 255 255 255 255;
2594             }
2595          }
2596          part { name: "elm.swallow.content";
2597             type: SWALLOW;
2598             description { state: "default" 0.0;
2599                visible: 0;
2600                align: 0.0 0.5;
2601                rel1.offset: 4 4;
2602                rel2.offset: 3 -5;
2603                rel2.relative: 0.0 1.0;
2604             }
2605             description { state: "visible" 0.0;
2606                inherit: "default" 0.0;
2607                visible: 1;
2608                aspect: 1.0 1.0;
2609                aspect_preference: VERTICAL;
2610                rel2.offset: 4 -5;
2611             }
2612             description { state: "icononly" 0.0;
2613                inherit: "default" 0.0;
2614                visible: 1;
2615                align: 0.5 0.5;
2616                aspect: 1.0 1.0;
2617                rel2.offset: -5 -5;
2618                rel2.relative: 1.0 1.0;
2619                aspect_preference: VERTICAL;
2620             }
2621          }
2622          part { name: "textvis";
2623             type: RECT;
2624             mouse_events: 0;
2625             description { state: "default" 0.0;
2626                visible: 0;
2627             }
2628             description { state: "visible" 0.0;
2629                visible: 1;
2630             }
2631          }
2632          part {
2633             name:          "elm.text";
2634             type:          TEXT;
2635             effect:        SOFT_SHADOW;
2636             mouse_events:  0;
2637             scale: 1;
2638             clip_to:       "textvis";
2639             description { state: "default" 0.0;
2640                rel1.to_x: "elm.swallow.content";
2641                rel1.relative: 1.0 0.0;
2642                rel1.offset: 0 4;
2643                rel2.offset: -5 -5;
2644                color: 224 224 224 255;
2645                color3: 0 0 0 64;
2646                text {
2647                   font:     "Sans,Edje-Vera";
2648                   size:     10;
2649                   min:      0 0;
2650                   align:    0.5 0.5;
2651                   text_class: "button";
2652                }
2653             }
2654             description { state: "visible" 0.0;
2655                inherit: "default" 0.0;
2656                text.min: 1 1;
2657             }
2658             description { state: "clicked" 0.0;
2659                inherit: "default" 0.0;
2660                text.min: 1 1;
2661                color: 0 0 0 255;
2662                color3: 0 0 0 0;
2663             }
2664          }
2665          part { name: "over2";
2666             type: RECT;
2667             mouse_events: 1;
2668             description { state: "default" 0.0;
2669                color: 0 0 0 0;
2670             }
2671          }
2672       }
2673       programs {
2674          program {
2675             name:   "button_click";
2676             signal: "mouse,down,1";
2677             source: "over2";
2678             action: STATE_SET "clicked" 0.0;
2679             target: "button_image";
2680             target: "elm.text";
2681          }
2682          program {
2683             name:   "button_unclick";
2684             signal: "mouse,up,1";
2685             source: "over2";
2686             action: STATE_SET "default" 0.0;
2687             target: "button_image";
2688             target: "elm.text";
2689          }
2690          program {
2691             name:   "button_unclick3";
2692             signal: "mouse,up,1";
2693             source: "over2";
2694             action: SIGNAL_EMIT "elm,action,click" "";
2695          }
2696          program { name: "text_show";
2697             signal: "elm,state,text,visible";
2698             source: "elm";
2699             script {
2700                new st[31];
2701                new Float:vl;
2702                get_state(PART:"elm.swallow.content", st, 30, vl);
2703                if (!strcmp(st, "icononly"))
2704                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2705                set_state(PART:"textvis", "visible", 0.0);
2706                set_state(PART:"elm.text", "visible", 0.0);
2707             }
2708          }
2709          program { name: "text_hide";
2710             signal: "elm,state,text,hidden";
2711             source: "elm";
2712             script {
2713                new st[31];
2714                new Float:vl;
2715                get_state(PART:"elm.swallow.content", st, 30, vl);
2716                if (!strcmp(st, "visible"))
2717                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2718                set_state(PART:"textvis", "default", 0.0);
2719                set_state(PART:"elm.text", "default", 0.0);
2720             }
2721          }
2722          program { name: "icon_show";
2723             signal: "elm,state,icon,visible";
2724             source: "elm";
2725             script {
2726                new st[31];
2727                new Float:vl;
2728                get_state(PART:"textvis", st, 30, vl);
2729                if (!strcmp(st, "visible"))
2730                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2731                else
2732                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2733             }
2734          }
2735          program { name: "icon_hide";
2736             signal: "elm,state,icon,hidden";
2737             source: "elm";
2738             action:  STATE_SET "default" 0.0;
2739             target: "elm.swallow.content";
2740          }
2741       }
2742    }
2743
2744    group { name: "elm/button/base/anchor";
2745       images {
2746          image: "bt_base1.png" COMP;
2747          image: "bt_base2.png" COMP;
2748          image: "bt_hilight.png" COMP;
2749          image: "bt_shine.png" COMP;
2750          image: "bt_glow.png" COMP;
2751          image: "bt_dis_base.png" COMP;
2752          image: "bt_dis_hilight.png" COMP;
2753       }
2754       parts {
2755          part { name: "button_image";
2756             mouse_events: 1;
2757             description { state: "default" 0.0;
2758           min: 15 15;
2759            color: 255 255 255 0;
2760                image {
2761                   normal: "bt_base2.png";
2762                   border: 7 7 7 7;
2763                }
2764                image.middle: SOLID;
2765             }
2766        description { state: "visible" 0.0;
2767                inherit: "default" 0.0;
2768           color: 255 255 255 255;
2769             }
2770             description { state: "clicked" 0.0;
2771                inherit: "default" 0.0;
2772           inherit: "visible" 0.0;
2773                image.normal: "bt_base1.png";
2774                image.middle: SOLID;
2775             }
2776             description { state: "disabled" 0.0;
2777                inherit:  "default" 0.0;
2778           inherit: "visible" 0.0;
2779                image {
2780                   normal: "bt_dis_base.png";
2781                   border: 4 4 4 4;
2782                }
2783             }
2784          }
2785          part { name: "elm.swallow.content";
2786             type: SWALLOW;
2787             description { state: "default" 0.0;
2788                fixed: 1 0;
2789                visible: 0;
2790                align: 0.0 0.5;
2791                rel1.offset: 4 4;
2792                rel2.offset: 3 -5;
2793                rel2.relative: 0.0 1.0;
2794             }
2795             description { state: "visible" 0.0;
2796                inherit: "default" 0.0;
2797                fixed: 1 0;
2798                visible: 1;
2799                aspect: 1.0 1.0;
2800                aspect_preference: VERTICAL;
2801                rel2.offset: 4 -5;
2802             }
2803             description { state: "icononly" 0.0;
2804                inherit: "default" 0.0;
2805                fixed: 0 0;
2806                visible: 1;
2807                align: 0.5 0.5;
2808                aspect: 1.0 1.0;
2809                rel2.offset: -5 -5;
2810                rel2.relative: 1.0 1.0;
2811                aspect_preference: VERTICAL;
2812             }
2813          }
2814          part {
2815             name:          "elm.text";
2816             type:          TEXT;
2817             effect:        SOFT_SHADOW;
2818             mouse_events:  0;
2819             scale: 1;
2820             description { state: "default" 0.0;
2821                visible: 0;
2822                rel1.to_x: "elm.swallow.content";
2823                rel1.relative: 1.0 0.0;
2824                rel1.offset: 0 4;
2825                rel2.offset: -5 -5;
2826                color: 224 224 224 255;
2827                color3: 0 0 0 64;
2828                text {
2829                   font:     "Sans,Edje-Vera";
2830                   size:     10;
2831                   min:      0 0;
2832                   align:    0.5 0.5;
2833                   text_class: "button";
2834                }
2835             }
2836             description { state: "visible" 0.0;
2837                inherit: "default" 0.0;
2838                visible: 1;
2839                text.min: 1 1;
2840             }
2841             description { state: "disabled" 0.0;
2842                inherit: "default" 0.0;
2843                color: 0 0 0 128;
2844                color3: 0 0 0 0;
2845             }
2846             description { state: "disabled_visible" 0.0;
2847                inherit: "default" 0.0;
2848                color: 0 0 0 128;
2849                color3: 0 0 0 0;
2850                visible: 1;
2851                text.min: 1 1;
2852             }
2853          }
2854          part {          name: "over1";
2855             mouse_events: 0;
2856             description { state: "default" 0.0;
2857            color: 255 255 255 0;
2858                rel2.relative: 1.0 0.5;
2859                image {
2860                   normal: "bt_hilight.png";
2861                   border: 7 7 7 0;
2862                }
2863             }
2864        description { state: "visible" 0.0;
2865                inherit:  "default" 0.0;
2866           color: 255 255 255 255;
2867             }
2868             description { state: "disabled" 0.0;
2869                inherit:  "default" 0.0;
2870           inherit:  "visible" 0.0;
2871                image {
2872                   normal: "bt_dis_hilight.png";
2873                   border: 4 4 4 0;
2874                }
2875             }
2876          }
2877          part { name: "over2";
2878             mouse_events: 1;
2879             repeat_events: 1;
2880             ignore_flags: ON_HOLD;
2881             description { state: "default" 0.0;
2882                image {
2883                   normal: "bt_shine.png";
2884                   border: 7 7 7 7;
2885                }
2886             }
2887             description { state: "disabled" 0.0;
2888                inherit:  "default" 0.0;
2889                visible: 0;
2890             }
2891          }
2892          part { name: "over3";
2893             mouse_events: 1;
2894             repeat_events: 1;
2895             description { state: "default" 0.0;
2896                color: 255 255 255 0;
2897                image {
2898                   normal: "bt_glow.png";
2899                   border: 12 12 12 12;
2900                }
2901                fill.smooth : 0;
2902             }
2903             description { state: "clicked" 0.0;
2904                inherit:  "default" 0.0;
2905                visible: 1;
2906                color: 255 255 255 255;
2907             }
2908          }
2909           part { name: "disabler";
2910             type: RECT;
2911             description { state: "default" 0.0;
2912                color: 0 0 0 0;
2913                visible: 0;
2914             }
2915             description { state: "disabled" 0.0;
2916                inherit: "default" 0.0;
2917                visible: 1;
2918             }
2919          }
2920       }
2921       programs {
2922     program {
2923             name:   "button_mouse_in";
2924             signal: "mouse,in";
2925             source: "over2";
2926             action: STATE_SET "visible" 0.0;
2927             target: "button_image";
2928        target: "over1";
2929        transition: DECELERATE 0.5;
2930          }
2931          program {
2932             name:   "button_mouse_out";
2933             signal: "mouse,out";
2934             source: "over2";
2935             action: STATE_SET "default" 0.0;
2936             target: "button_image";
2937        target: "over1";
2938        transition: DECELERATE 0.5;
2939          }
2940          program {
2941             name:   "button_unclick";
2942             signal: "mouse,up,1";
2943             source: "over2";
2944             action: STATE_SET "visible" 0.0;
2945             target: "button_image";
2946          }
2947          program {
2948             name:   "button_click2";
2949             signal: "mouse,down,1";
2950             source: "over3";
2951             action: STATE_SET "clicked" 0.0;
2952             target: "over3";
2953          }
2954          program {
2955             name:   "button_unclick2";
2956             signal: "mouse,up,1";
2957             source: "over3";
2958             action: STATE_SET "default" 0.0;
2959             transition: DECELERATE 0.5;
2960             target: "over3";
2961          }
2962          program {
2963             name:   "button_unclick3";
2964             signal: "mouse,up,1";
2965             source: "over2";
2966             action: SIGNAL_EMIT "elm,action,click" "";
2967          }
2968          program { name: "text_show";
2969             signal: "elm,state,text,visible";
2970             source: "elm";
2971             script {
2972                new st[31];
2973                new Float:vl;
2974                get_state(PART:"elm.swallow.content", st, 30, vl);
2975                if (!strcmp(st, "icononly"))
2976                  set_state(PART:"elm.swallow.content", "visible", 0.0);
2977                set_state(PART:"elm.text", "visible", 0.0);
2978             }
2979          }
2980          program { name: "text_hide";
2981             signal: "elm,state,text,hidden";
2982             source: "elm";
2983             script {
2984                new st[31];
2985                new Float:vl;
2986                get_state(PART:"elm.swallow.content", st, 30, vl);
2987                if (!strcmp(st, "visible"))
2988                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
2989                set_state(PART:"elm.text", "default", 0.0);
2990             }
2991          }
2992          program { name: "icon_show";
2993             signal: "elm,state,icon,visible";
2994             source: "elm";
2995             script {
2996                new st[31];
2997                new Float:vl;
2998                get_state(PART:"elm.text", st, 30, vl);
2999                if (!strcmp(st, "visible"))
3000                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3001                else
3002                  set_state(PART:"elm.swallow.content", "icononly", 0.0);
3003             }
3004          }
3005          program { name: "icon_hide";
3006             signal: "elm,state,icon,hidden";
3007             source: "elm";
3008             action:  STATE_SET "default" 0.0;
3009             target: "elm.swallow.content";
3010          }
3011          program { name: "disable";
3012             signal: "elm,state,disabled";
3013             source: "elm";
3014             action: STATE_SET "disabled" 0.0;
3015             target: "button_image";
3016             target: "over1";
3017             target: "over2";
3018             target: "disabler";
3019             after: "disable_text";
3020          }
3021          program { name: "disable_text";
3022             script {
3023                new st[31];
3024                new Float:vl;
3025                get_state(PART:"elm.text", st, 30, vl);
3026                if (!strcmp(st, "visible"))
3027                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3028                else
3029                  set_state(PART:"elm.text", "disabled", 0.0);
3030             }
3031          }
3032          program { name: "enable";
3033             signal: "elm,state,enabled";
3034             source: "elm";
3035             action: STATE_SET "default" 0.0;
3036             target: "button_image";
3037             target: "over1";
3038             target: "over2";
3039             target: "disabler";
3040             after: "enable_text";
3041          }
3042          program { name: "enable_text";
3043             script {
3044                new st[31];
3045                new Float:vl;
3046                get_state(PART:"elm.text", st, 30, vl);
3047                if (!strcmp(st, "disabled_visible"))
3048                  set_state(PART:"elm.text", "visible", 0.0);
3049                else
3050                  set_state(PART:"elm.text", "default", 0.0);
3051             }
3052          }
3053       }
3054    }
3055
3056 ///////////////////////////////////////////////////////////////////////////////
3057    group { name: "elm/toggle/base/default";
3058       images {
3059          image: "shelf_inset.png" COMP;
3060          image: "bt_basew.png" COMP;
3061          image: "bt_bases.png" COMP;
3062          image: "bt_hilightw.png" COMP;
3063          image: "tog_base_on.png" COMP;
3064          image: "tog_base_off.png" COMP;
3065          image: "tog_dis_base_on.png" COMP;
3066          image: "tog_dis_base_off.png" COMP;
3067       }
3068       script {
3069          public is_rtl;
3070       }
3071       parts {
3072          part { name: "bg";
3073             type: RECT;
3074             mouse_events: 0;
3075             scale: 1;
3076             description { state: "default" 0.0;
3077                rel1.relative: 1.0 0.0;
3078                rel1.offset: -4 3;
3079                rel2.offset: -4 -4;
3080                align: 1.0 0.5;
3081                min: 96 16;
3082                max: 96 16;
3083                aspect: 4.0 4.0;
3084                aspect_preference: VERTICAL;
3085                color: 255 255 255 255;
3086             }
3087          }
3088          part { name: "clipper";
3089             type: RECT;
3090             mouse_events: 0;
3091             description { state: "default" 0.0;
3092                rel1.to: "bg";
3093                rel2.to: "bg";
3094                color: 255 255 255 255;
3095             }
3096          }
3097          part { name: "button";
3098             type: RECT;
3099             scale: 1;
3100             clip_to: "clipper";
3101             mouse_events: 1;
3102              dragable {
3103                x: 1 1 0;
3104                y: 0 0 0;
3105                confine: "bg";
3106             }
3107             description { state: "default" 0.0;
3108                fixed: 1 1;
3109                rel1.to: "bg";
3110                rel2.to: "bg";
3111                min: 16 16;
3112                max: 16 16;
3113                aspect: 1.0 1.0;
3114                aspect_preference: VERTICAL;
3115                color: 0 0 0 0;
3116             }
3117          }
3118          part { name: "button_events";
3119             type: RECT;
3120              dragable {
3121                events: "button";
3122             }
3123             description { state: "default" 0.0;
3124                rel1.to_x: "bg";
3125                rel1.offset: 0 0;
3126                rel1.relative: 0.0 0.0;
3127                rel2.to_x: "bg";
3128                rel2.offset: -1 -1;
3129                rel2.relative: 1.0 1.0;
3130                color: 0 0 0 0;
3131             }
3132          }
3133          part { name: "onrect";
3134             type: IMAGE;
3135             scale: 1;
3136             clip_to: "clipper";
3137             mouse_events: 0;
3138             description { state: "default" 0.0;
3139                rel1.to: "button";
3140                rel1.relative: -5.0 0.0;
3141                rel2.to: "button";
3142                rel2.relative: 0.5 1.0;
3143                image.normal: "tog_base_on.png";
3144             }
3145             description { state: "disabled" 0.0;
3146                inherit: "default" 0.0;
3147                image.normal: "tog_dis_base_on.png";
3148             }
3149          }
3150          part { name: "offrect";
3151             type: IMAGE;
3152             scale: 1;
3153             clip_to: "clipper";
3154             mouse_events: 0;
3155             description { state: "default" 0.0;
3156                rel1.to: "button";
3157                rel1.relative: 0.5 0.0;
3158                rel2.to: "button";
3159                rel2.relative: 6.0 1.0;
3160                image.normal: "tog_base_off.png";
3161             }
3162             description { state: "disabled" 0.0;
3163                inherit: "default" 0.0;
3164                image.normal: "tog_dis_base_off.png";
3165             }
3166          }
3167          part { name: "elm.offtext";
3168             type: TEXT;
3169             mouse_events:  0;
3170             scale: 1;
3171             clip_to: "clipper";
3172             description { state: "default" 0.0;
3173                fixed: 1 1;
3174                rel1.to_x: "button";
3175                rel1.relative: 1.0 0.0;
3176                rel2.to_x: "offrect";
3177                color: 0 0 0 255;
3178                text {
3179                   font:     "Sans,Edje-Vera";
3180                   size:     10;
3181                   min:      0 1;
3182                   align:    0.5 0.5;
3183                   text:     "OFF";
3184                }
3185             }
3186             description { state: "disabled" 0.0;
3187                inherit: "default" 0.0;
3188                color: 128 128 128 128;
3189             }
3190          }
3191          part { name: "elm.ontext";
3192             type: TEXT;
3193             effect: SOFT_SHADOW;
3194             mouse_events:  0;
3195             scale: 1;
3196             clip_to: "clipper";
3197             description { state: "default" 0.0;
3198                fixed: 1 1;
3199                rel1.to_x: "onrect";
3200                rel1.offset: 1 1;
3201                rel2.to_x: "button";
3202                rel2.offset: 0 0;
3203                rel2.relative: 0.0 1.0;
3204                color: 224 224 224 255;
3205                color3: 0 0 0 64;
3206                text {
3207                   font:     "Sans,Edje-Vera";
3208                   size:     10;
3209                   min:      0 1;
3210                   align:    0.5 0.5;
3211                   text:     "ON";
3212                }
3213             }
3214             description { state: "disabled" 0.0;
3215                inherit: "default" 0.0;
3216                color: 128 128 128 128;
3217                color3: 0 0 0 24;
3218             }
3219          }
3220          part { name: "conf_over";
3221             mouse_events:  0;
3222             description { state: "default" 0.0;
3223                rel1.offset: -1 -1;
3224                rel1.to: "bg";
3225                rel2.offset: 0 0;
3226                rel2.to: "bg";
3227                image {
3228                   normal: "shelf_inset.png";
3229                   border: 7 7 7 7;
3230                   middle: 0;
3231                }
3232                fill.smooth : 0;
3233             }
3234          }
3235          part { name: "button0";
3236             mouse_events:  0;
3237             clip_to: "clipper";
3238             description { state: "default" 0.0;
3239                rel1.to: "button2";
3240                rel1.offset: -4 -4;
3241                rel2.to: "button2";
3242                rel2.offset: 3 3;
3243                image {
3244                   normal: "bt_bases.png";
3245                   border: 11 11 11 11;
3246                }
3247                image.middle: SOLID;
3248                color: 255 255 255 128;
3249             }
3250          }
3251          part { name: "button2";
3252             mouse_events:  0;
3253             clip_to: "clipper";
3254             description { state: "default" 0.0;
3255                rel1.to: "button";
3256                rel1.offset: -2 -2;
3257                rel2.to: "button";
3258                rel2.offset: 1 1;
3259                image {
3260                   normal: "bt_basew.png";
3261                   border: 7 7 7 7;
3262                }
3263                image.middle: SOLID;
3264             }
3265          }
3266          part { name: "button3";
3267             mouse_events:  0;
3268             clip_to: "clipper";
3269             description { state: "default" 0.0;
3270                rel1.to: "button2";
3271                rel2.to: "button2";
3272                rel2.relative: 1.0 0.5;
3273                image {
3274                   normal: "bt_hilightw.png";
3275                   border: 4 4 4 0;
3276                }
3277             }
3278          }
3279          part { name: "elm.swallow.content";
3280             type: SWALLOW;
3281             description { state: "default" 0.0;
3282                fixed: 1 0;
3283                visible: 0;
3284                align: 0.0 0.5;
3285                rel1.offset: 4 4;
3286                rel2.relative: 0.0 1.0;
3287                rel2.offset: 3 -5;
3288             }
3289             description { state: "visible" 0.0;
3290                inherit: "default" 0.0;
3291                visible: 1;
3292                aspect: 1.0 1.0;
3293                rel2.offset: 4 -5;
3294             }
3295             description { state: "disabled" 0.0;
3296                inherit: "default" 0.0;
3297                color: 128 128 128 128;
3298             }
3299             description { state: "disabled_visible" 0.0;
3300                inherit: "default" 0.0;
3301                color: 128 128 128 128;
3302                visible: 1;
3303                aspect: 1.0 1.0;
3304             }
3305          }
3306          part { name: "elm.text";
3307             type: TEXT;
3308             mouse_events: 0;
3309             scale: 1;
3310             description { state: "default" 0.0;
3311                visible: 0;
3312                rel1.to_x: "elm.swallow.content";
3313                rel1.relative: 1.0 0.0;
3314                rel1.offset: 0 4;
3315                rel2.to_x: "bg";
3316                rel2.relative: 0.0 1.0;
3317                rel2.offset: -5 -5;
3318                color: 0 0 0 255;
3319                text {
3320                   font: "Sans,Edje-Vera";
3321                   size: 10;
3322                   min: 0 0;
3323                   align: 0.0 0.5;
3324                }
3325             }
3326             description { state: "visible" 0.0;
3327                inherit: "default" 0.0;
3328                visible: 1;
3329                text.min: 1 1;
3330             }
3331             description { state: "disabled" 0.0;
3332                inherit: "default" 0.0;
3333                color: 128 128 128 128;
3334             }
3335             description { state: "disabled_visible" 0.0;
3336                inherit: "default" 0.0;
3337                color: 128 128 128 128;
3338                visible: 1;
3339                text.min: 1 1;
3340             }
3341          }
3342           part { name: "disabler";
3343             type: RECT;
3344             description { state: "default" 0.0;
3345                color: 0 0 0 0;
3346                visible: 0;
3347             }
3348             description { state: "disabled" 0.0;
3349                inherit: "default" 0.0;
3350                visible: 1;
3351             }
3352          }
3353       }
3354       programs {
3355          program { name:   "drag_end";
3356             signal: "mouse,up,1";
3357             source: "button";
3358             script {
3359                new Float:dx, Float:dy;
3360                get_drag(PART:"button", dx, dy);
3361                if (dx > 0.5)
3362                  {
3363                     set_drag(PART:"button", 1.0, 0.0);
3364                  }
3365                else
3366                  {
3367                     set_drag(PART:"button", 0.0, 0.0);
3368                  }
3369                if (((get_int(is_rtl) == 1) && (dx <= 0.5)) ||
3370                    (get_int(is_rtl) == 0) && (dx > 0.5)) {
3371                   emit("elm,action,toggle,on", "");
3372                }
3373                else {
3374                   emit("elm,action,toggle,off", "");
3375                }
3376
3377             }
3378          }
3379          program { name: "toggle_on";
3380             signal: "elm,state,toggle,on";
3381             source: "elm";
3382             script {
3383                new Float:drag;
3384                if (get_int(is_rtl) == 0) {
3385                   drag = 100.0;
3386                }
3387                else {
3388                   drag = 0.0;
3389                }
3390                set_drag(PART:"button", drag, 0.0);
3391             }
3392          }
3393          program { name: "toggle_off";
3394             signal: "elm,state,toggle,off";
3395             source: "elm";
3396             script {
3397                new Float:drag;
3398                if (get_int(is_rtl) == 0) {
3399                   drag = 0.0;
3400                }
3401                else {
3402                   drag = 100.0;
3403                }
3404                set_drag(PART:"button", drag, 0.0);
3405             }
3406          }
3407          program { name: "text_show";
3408             signal: "elm,state,text,visible";
3409             source: "elm";
3410             action:  STATE_SET "visible" 0.0;
3411             target: "elm.text";
3412          }
3413          program { name: "text_hide";
3414             signal: "elm,state,text,hidden";
3415             source: "elm";
3416             action:  STATE_SET "default" 0.0;
3417             target: "elm.text";
3418          }
3419          program { name: "icon_show";
3420             signal: "elm,state,icon,visible";
3421             source: "elm";
3422             action:  STATE_SET "visible" 0.0;
3423             target: "elm.swallow.content";
3424          }
3425          program { name: "icon_hide";
3426             signal: "elm,state,icon,hidden";
3427             source: "elm";
3428             action:  STATE_SET "default" 0.0;
3429             target: "elm.swallow.content";
3430          }
3431          program { name: "disable";
3432             signal: "elm,state,disabled";
3433             source: "elm";
3434             action: STATE_SET "disabled" 0.0;
3435             target: "elm.offtext";
3436             target: "elm.ontext";
3437             target: "onrect";
3438             target: "offrect";
3439             target: "disabler";
3440             after: "disable_text";
3441          }
3442          program { name: "disable_text";
3443             script {
3444                new st[31];
3445                new Float:vl;
3446                get_state(PART:"elm.text", st, 30, vl);
3447                if (!strcmp(st, "visible"))
3448                  set_state(PART:"elm.text", "disabled_visible", 0.0);
3449                else
3450                  set_state(PART:"elm.text", "disabled", 0.0);
3451
3452                get_state(PART:"elm.swallow.content", st, 30, vl);
3453                if (!strcmp(st, "visible"))
3454                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
3455                else
3456                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
3457             }
3458          }
3459          program { name: "enable";
3460             signal: "elm,state,enabled";
3461             source: "elm";
3462             action: STATE_SET "default" 0.0;
3463             target: "disabler";
3464             target: "onrect";
3465             target: "offrect";
3466             after: "enable_text";
3467          }
3468          program { name: "enable_text";
3469             script {
3470                new st[31];
3471                new Float:vl;
3472                get_state(PART:"elm.text", st, 30, vl);
3473                if (!strcmp(st, "disabled_visible"))
3474                  set_state(PART:"elm.text", "visible", 0.0);
3475                else
3476                  set_state(PART:"elm.text", "default", 0.0);
3477
3478                get_state(PART:"elm.swallow.content", st, 30, vl);
3479                if (!strcmp(st, "visible"))
3480                  set_state(PART:"elm.swallow.content", "visible", 0.0);
3481                else
3482                  set_state(PART:"elm.swallow.content", "default", 0.0);
3483             }
3484          }
3485          program { name: "to_rtl";
3486             signal: "edje,state,rtl";
3487             source: "edje";
3488             script {
3489                set_int(is_rtl, 1);
3490             }
3491          }
3492          program { name: "to_ltr";
3493             signal: "edje,state,ltr";
3494             source: "edje";
3495             script {
3496                set_int(is_rtl, 0);
3497             }
3498          }
3499       }
3500    }
3501
3502 ///////////////////////////////////////////////////////////////////////////////
3503    group { name: "elm/clock/flipdigit/default";
3504       images {
3505          image: "flip_base.png" COMP;
3506          image: "flip_base_shad.png" COMP;
3507          image: "flip_shad.png" COMP;
3508          image: "flip_0t.png" COMP;
3509          image: "flip_0b.png" COMP;
3510          image: "flip_1t.png" COMP;
3511          image: "flip_1b.png" COMP;
3512          image: "flip_2t.png" COMP;
3513          image: "flip_2b.png" COMP;
3514          image: "flip_3t.png" COMP;
3515          image: "flip_3b.png" COMP;
3516          image: "flip_4t.png" COMP;
3517          image: "flip_4b.png" COMP;
3518          image: "flip_5t.png" COMP;
3519          image: "flip_5b.png" COMP;
3520          image: "flip_6t.png" COMP;
3521          image: "flip_6b.png" COMP;
3522          image: "flip_7t.png" COMP;
3523          image: "flip_7b.png" COMP;
3524          image: "flip_8t.png" COMP;
3525          image: "flip_8b.png" COMP;
3526          image: "flip_9t.png" COMP;
3527          image: "flip_9b.png" COMP;
3528          image: "arrow_up.png" COMP;
3529          image: "arrow_down.png" COMP;
3530       }
3531       script {
3532          public v0_cur, v0_pre, v0_lock, v0_next;
3533
3534        public animator2(val, Float:pos) {
3535           new st1[11], st2[11], v;
3536
3537           v = get_int(v0_cur);
3538           snprintf(st1, 10, "%ih", v);
3539           snprintf(st2, 10, "%i", v);
3540           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
3541           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
3542           if (pos >= 1.0) {
3543              set_state(PART:"sh", "default", 0.0);
3544              set_int(v0_lock, 0);
3545              v = get_int(v0_next);
3546              if (v >= 0) {
3547                 set_int(v0_next, -1);
3548                 message(MSG_INT, 1, v);
3549              }
3550           }
3551        }
3552        public animator1(val, Float:pos) {
3553           new st1[11], st2[11], v;
3554
3555           v = get_int(v0_pre);
3556           snprintf(st1, 10, "%i", v);
3557           snprintf(st2, 10, "%ih", v);
3558           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
3559           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
3560           if (pos >= 1.0) anim(0.2, "animator2", val);
3561        }
3562        public message(Msg_Type:type, id, ...) {
3563           if ((type == MSG_INT) && (id == 1)) {
3564              new value, v, buf[11];
3565
3566              value = getarg(2);
3567              if (get_int(v0_lock) == 1) {
3568                 set_int(v0_next, value);
3569                 return;
3570              }
3571              v = get_int(v0_cur);
3572              set_int(v0_pre, v);
3573              set_int(v0_cur, value);
3574              set_int(v0_lock, 1);
3575              snprintf(buf, 10, "%i", get_int(v0_pre));
3576              set_state(PART:"bot0", buf, 0.0);
3577              snprintf(buf, 10, "%ih", get_int(v0_cur));
3578              set_state(PART:"bot", buf, 0.0);
3579              snprintf(buf, 10, "%i", get_int(v0_cur));
3580              set_state(PART:"top0", buf, 0.0);
3581              snprintf(buf, 10, "%i", get_int(v0_pre));
3582              set_state(PART:"top", buf, 0.0);
3583              set_state(PART:"sh", "default", 0.0);
3584              anim(0.2, "animator1", 1);
3585           }
3586        }
3587       }
3588       parts {
3589          part { name: "shad";
3590             mouse_events: 0;
3591             description { state: "default" 0.0;
3592                rel1.offset: -4 -4;
3593                rel1.to: "base";
3594                rel2.offset: 3 3;
3595                rel2.to: "base";
3596                image {
3597                   normal: "flip_base_shad.png";
3598                   border: 8 8 8 8;
3599                }
3600             }
3601          }
3602          part { name: "base";
3603             scale: 1;
3604             description { state: "default" 0.0;
3605                rel1.offset: 4 4;
3606                rel2.offset: -5 -5;
3607                // FIXME 48x96 should be the native pixel design, right now
3608                // its 80x160. fix int he artwork later
3609                min: 24 48;
3610                aspect: 0.5 0.5;
3611 //               max: 24 48;
3612                image.normal: "flip_base.png";
3613             }
3614          }
3615          part { name: "b";
3616             type: RECT;
3617             mouse_events: 1;
3618             description { state: "default" 0.0;
3619                visible: 0;
3620                rel1.to: "base";
3621                rel1.relative: 0.0 0.5;
3622                rel2.to: "base";
3623                color: 0 0 0 0;
3624             }
3625             description { state: "visible" 0.0;
3626                inherit: "default" 0.0;
3627                visible: 1;
3628             }
3629          }
3630          part { name: "t";
3631             type: RECT;
3632             mouse_events: 1;
3633             description { state: "default" 0.0;
3634                visible: 0;
3635                rel1.to: "base";
3636                rel2.to: "base";
3637                rel2.relative: 1.0 0.5;
3638                color: 0 0 0 0;
3639             }
3640             description { state: "visible" 0.0;
3641                inherit: "default" 0.0;
3642                visible: 1;
3643             }
3644          }
3645          part { name: "bot0";
3646             mouse_events: 0;
3647             description { state: "default" 0.0;
3648                rel1.to: "b";
3649                rel2.to: "b";
3650                image.normal: "flip_0b.png";
3651             }
3652             description { state: "0" 0.0;
3653                inherit: "default" 0.0;
3654                image.normal: "flip_0b.png";
3655             }
3656             description { state: "1" 0.0;
3657                inherit: "default" 0.0;
3658                image.normal: "flip_1b.png";
3659             }
3660             description { state: "2" 0.0;
3661                inherit: "default" 0.0;
3662                image.normal: "flip_2b.png";
3663             }
3664             description { state: "3" 0.0;
3665                inherit: "default" 0.0;
3666                image.normal: "flip_3b.png";
3667             }
3668             description { state: "4" 0.0;
3669                inherit: "default" 0.0;
3670                image.normal: "flip_4b.png";
3671             }
3672             description { state: "5" 0.0;
3673                inherit: "default" 0.0;
3674                image.normal: "flip_5b.png";
3675             }
3676             description { state: "6" 0.0;
3677                inherit: "default" 0.0;
3678                image.normal: "flip_6b.png";
3679             }
3680             description { state: "7" 0.0;
3681                inherit: "default" 0.0;
3682                image.normal: "flip_7b.png";
3683             }
3684             description { state: "8" 0.0;
3685                inherit: "default" 0.0;
3686                image.normal: "flip_8b.png";
3687             }
3688             description { state: "9" 0.0;
3689                inherit: "default" 0.0;
3690                image.normal: "flip_9b.png";
3691             }
3692          }
3693          part { name: "sh";
3694             mouse_events: 0;
3695             description { state: "default" 0.0;
3696                rel1.to: "b";
3697                rel2.to: "b";
3698                rel2.relative: 1.0 0.0;
3699                image.normal: "flip_shad.png";
3700             }
3701             description { state: "half" 0.0;
3702                inherit: "default" 0.0;
3703                rel2.relative: 1.0 0.5;
3704             }
3705             description { state: "full" 0.0;
3706                inherit: "default" 0.0;
3707                rel2.relative: 1.0 1.0;
3708             }
3709          }
3710          part { name: "bot";
3711             mouse_events: 0;
3712             description { state: "default" 0.0;
3713                visible: 1;
3714                rel1.to: "b";
3715                rel2.to: "b";
3716                image.normal: "flip_0b.png";
3717             }
3718             description { state: "0" 0.0;
3719                inherit: "default" 0.0;
3720                visible: 1;
3721                rel2.relative: 1.0 1.0;
3722                image.normal: "flip_0b.png";
3723             }
3724             description { state: "0h" 0.0;
3725                inherit: "default" 0.0;
3726                visible: 0;
3727                rel2.relative: 1.0 0.0;
3728                image.normal: "flip_0b.png";
3729             }
3730             description { state: "1" 0.0;
3731                inherit: "default" 0.0;
3732                visible: 1;
3733                rel2.relative: 1.0 1.0;
3734                image.normal: "flip_1b.png";
3735             }
3736             description { state: "1h" 0.0;
3737                inherit: "default" 0.0;
3738                visible: 0;
3739                rel2.relative: 1.0 0.0;
3740                image.normal: "flip_1b.png";
3741             }
3742             description { state: "2" 0.0;
3743                inherit: "default" 0.0;
3744                visible: 1;
3745                rel2.relative: 1.0 1.0;
3746                image.normal: "flip_2b.png";
3747             }
3748             description { state: "2h" 0.0;
3749                inherit: "default" 0.0;
3750                visible: 0;
3751                rel2.relative: 1.0 0.0;
3752                image.normal: "flip_2b.png";
3753             }
3754             description { state: "3" 0.0;
3755                inherit: "default" 0.0;
3756                visible: 1;
3757                rel2.relative: 1.0 1.0;
3758                image.normal: "flip_3b.png";
3759             }
3760             description { state: "3h" 0.0;
3761                inherit: "default" 0.0;
3762                visible: 0;
3763                rel2.relative: 1.0 0.0;
3764                image.normal: "flip_3b.png";
3765             }
3766             description { state: "4" 0.0;
3767                inherit: "default" 0.0;
3768                visible: 1;
3769                rel2.relative: 1.0 1.0;
3770                image.normal: "flip_4b.png";
3771             }
3772             description { state: "4h" 0.0;
3773                inherit: "default" 0.0;
3774                visible: 0;
3775                rel2.relative: 1.0 0.0;
3776                image.normal: "flip_4b.png";
3777             }
3778             description { state: "5" 0.0;
3779                inherit: "default" 0.0;
3780                visible: 1;
3781                rel2.relative: 1.0 1.0;
3782                image.normal: "flip_5b.png";
3783             }
3784             description { state: "5h" 0.0;
3785                inherit: "default" 0.0;
3786                visible: 0;
3787                rel2.relative: 1.0 0.0;
3788                image.normal: "flip_5b.png";
3789             }
3790             description { state: "6" 0.0;
3791                inherit: "default" 0.0;
3792                visible: 1;
3793                rel2.relative: 1.0 1.0;
3794                image.normal: "flip_6b.png";
3795             }
3796             description { state: "6h" 0.0;
3797                inherit: "default" 0.0;
3798                visible: 0;
3799                rel2.relative: 1.0 0.0;
3800                image.normal: "flip_6b.png";
3801             }
3802             description { state: "7" 0.0;
3803                inherit: "default" 0.0;
3804                visible: 1;
3805                rel2.relative: 1.0 1.0;
3806                image.normal: "flip_7b.png";
3807             }
3808             description { state: "7h" 0.0;
3809                inherit: "default" 0.0;
3810                visible: 0;
3811                rel2.relative: 1.0 0.0;
3812                image.normal: "flip_7b.png";
3813             }
3814             description { state: "8" 0.0;
3815                inherit: "default" 0.0;
3816                visible: 1;
3817                rel2.relative: 1.0 1.0;
3818                image.normal: "flip_8b.png";
3819             }
3820             description { state: "8h" 0.0;
3821                inherit: "default" 0.0;
3822                visible: 0;
3823                rel2.relative: 1.0 0.0;
3824                image.normal: "flip_8b.png";
3825             }
3826             description { state: "9" 0.0;
3827                inherit: "default" 0.0;
3828                visible: 1;
3829                rel2.relative: 1.0 1.0;
3830                image.normal: "flip_9b.png";
3831             }
3832             description { state: "9h" 0.0;
3833                inherit: "default" 0.0;
3834                visible: 0;
3835                rel2.relative: 1.0 0.0;
3836                image.normal: "flip_9b.png";
3837             }
3838          }
3839          part { name: "top0";
3840             mouse_events: 0;
3841             description { state: "default" 0.0;
3842                rel1.to: "t";
3843                rel2.to: "t";
3844                image.normal: "flip_0t.png";
3845             }
3846             description { state: "0" 0.0;
3847                inherit: "default" 0.0;
3848                image.normal: "flip_0t.png";
3849             }
3850             description { state: "1" 0.0;
3851                inherit: "default" 0.0;
3852                image.normal: "flip_1t.png";
3853             }
3854             description { state: "2" 0.0;
3855                inherit: "default" 0.0;
3856                image.normal: "flip_2t.png";
3857             }
3858             description { state: "3" 0.0;
3859                inherit: "default" 0.0;
3860                image.normal: "flip_3t.png";
3861             }
3862             description { state: "4" 0.0;
3863                inherit: "default" 0.0;
3864                image.normal: "flip_4t.png";
3865             }
3866             description { state: "5" 0.0;
3867                inherit: "default" 0.0;
3868                image.normal: "flip_5t.png";
3869             }
3870             description { state: "6" 0.0;
3871                inherit: "default" 0.0;
3872                image.normal: "flip_6t.png";
3873             }
3874             description { state: "7" 0.0;
3875                inherit: "default" 0.0;
3876                image.normal: "flip_7t.png";
3877             }
3878             description { state: "8" 0.0;
3879                inherit: "default" 0.0;
3880                image.normal: "flip_8t.png";
3881             }
3882             description { state: "9" 0.0;
3883                inherit: "default" 0.0;
3884                image.normal: "flip_9t.png";
3885             }
3886          }
3887          part { name: "top";
3888             mouse_events: 0;
3889             description { state: "default" 0.0;
3890                visible: 1;
3891                rel1.to: "t";
3892                rel2.to: "t";
3893                image.normal: "flip_0t.png";
3894             }
3895             description { state: "0" 0.0;
3896                inherit: "default" 0.0;
3897                visible: 1;
3898                rel1.relative: 0.0 0.0;
3899                image.normal: "flip_0t.png";
3900             }
3901             description { state: "0h" 0.0;
3902                inherit: "default" 0.0;
3903                color: 128 128 128 255;
3904                visible: 0;
3905                rel1.relative: 0.0 1.0;
3906                image.normal: "flip_0t.png";
3907             }
3908             description { state: "1" 0.0;
3909                inherit: "default" 0.0;
3910                visible: 1;
3911                rel1.relative: 0.0 0.0;
3912                image.normal: "flip_1t.png";
3913             }
3914             description { state: "1h" 0.0;
3915                inherit: "default" 0.0;
3916                color: 128 128 128 255;
3917                visible: 0;
3918                rel1.relative: 0.0 1.0;
3919                image.normal: "flip_1t.png";
3920             }
3921             description { state: "2" 0.0;
3922                inherit: "default" 0.0;
3923                visible: 1;
3924                rel1.relative: 0.0 0.0;
3925                image.normal: "flip_2t.png";
3926             }
3927             description { state: "2h" 0.0;
3928                inherit: "default" 0.0;
3929                color: 128 128 128 255;
3930                visible: 0;
3931                rel1.relative: 0.0 1.0;
3932                image.normal: "flip_2t.png";
3933             }
3934             description { state: "3" 0.0;
3935                inherit: "default" 0.0;
3936                visible: 1;
3937                rel1.relative: 0.0 0.0;
3938                image.normal: "flip_3t.png";
3939             }
3940             description { state: "3h" 0.0;
3941                inherit: "default" 0.0;
3942                color: 128 128 128 255;
3943                visible: 0;
3944                rel1.relative: 0.0 1.0;
3945                image.normal: "flip_3t.png";
3946             }
3947             description { state: "4" 0.0;
3948                inherit: "default" 0.0;
3949                visible: 1;
3950                rel1.relative: 0.0 0.0;
3951                image.normal: "flip_4t.png";
3952             }
3953             description { state: "4h" 0.0;
3954                inherit: "default" 0.0;
3955                color: 128 128 128 255;
3956                visible: 0;
3957                rel1.relative: 0.0 1.0;
3958                image.normal: "flip_4t.png";
3959             }
3960             description { state: "5" 0.0;
3961                inherit: "default" 0.0;
3962                visible: 1;
3963                rel1.relative: 0.0 0.0;
3964                image.normal: "flip_5t.png";
3965             }
3966             description { state: "5h" 0.0;
3967                inherit: "default" 0.0;
3968                color: 128 128 128 255;
3969                visible: 0;
3970                rel1.relative: 0.0 1.0;
3971                image.normal: "flip_5t.png";
3972             }
3973             description { state: "6" 0.0;
3974                inherit: "default" 0.0;
3975                visible: 1;
3976                rel1.relative: 0.0 0.0;
3977                image.normal: "flip_6t.png";
3978             }
3979             description { state: "6h" 0.0;
3980                inherit: "default" 0.0;
3981                color: 128 128 128 255;
3982                visible: 0;
3983                rel1.relative: 0.0 1.0;
3984                image.normal: "flip_6t.png";
3985             }
3986             description { state: "7" 0.0;
3987                inherit: "default" 0.0;
3988                visible: 1;
3989                rel1.relative: 0.0 0.0;
3990                image.normal: "flip_7t.png";
3991             }
3992             description { state: "7h" 0.0;
3993                inherit: "default" 0.0;
3994                color: 128 128 128 255;
3995                visible: 0;
3996                rel1.relative: 0.0 1.0;
3997                image.normal: "flip_7t.png";
3998             }
3999             description { state: "8" 0.0;
4000                inherit: "default" 0.0;
4001                visible: 1;
4002                rel1.relative: 0.0 0.0;
4003                image.normal: "flip_8t.png";
4004             }
4005             description { state: "8h" 0.0;
4006                inherit: "default" 0.0;
4007                color: 128 128 128 255;
4008                visible: 0;
4009                rel1.relative: 0.0 1.0;
4010                image.normal: "flip_8t.png";
4011             }
4012             description { state: "9" 0.0;
4013                inherit: "default" 0.0;
4014                visible: 1;
4015                rel1.relative: 0.0 0.0;
4016                image.normal: "flip_9t.png";
4017             }
4018             description { state: "9h" 0.0;
4019                inherit: "default" 0.0;
4020                color: 128 128 128 255;
4021                visible: 0;
4022                rel1.relative: 0.0 1.0;
4023                image.normal: "flip_9t.png";
4024             }
4025          }
4026          part { name: "atop";
4027             mouse_events: 0;
4028             scale: 1;
4029             description { state: "default" 0.0;
4030                visible: 0;
4031                min: 15 15;
4032                max: 15 15;
4033                align: 0.5 0.0;
4034                rel1.to: "t";
4035                rel2.to: "t";
4036                image.normal: "arrow_up.png";
4037             }
4038             description { state: "visible" 0.0;
4039                inherit: "default" 0.0;
4040                visible: 1;
4041             }
4042          }
4043          part { name: "abot";
4044             mouse_events: 0;
4045             scale: 1;
4046             description { state: "default" 0.0;
4047                visible: 0;
4048                min: 15 15;
4049                max: 15 15;
4050                align: 0.5 1.0;
4051                rel1.to: "b";
4052                rel2.to: "b";
4053                image.normal: "arrow_down.png";
4054             }
4055             description { state: "visible" 0.0;
4056                inherit: "default" 0.0;
4057                visible: 1;
4058             }
4059          }
4060       }
4061       programs {
4062          program { name: "load";
4063             signal: "load";
4064             source: "";
4065             script {
4066                set_int(v0_cur, 0);
4067                set_int(v0_pre, 0);
4068                set_int(v0_lock, 0);
4069                set_int(v0_next, -1);
4070             }
4071          }
4072          program { name: "edit_on";
4073             signal: "elm,state,edit,on";
4074             source: "elm";
4075             action: STATE_SET "visible" 0.0;
4076             target: "atop";
4077             target: "abot";
4078             target: "t";
4079             target: "b";
4080          }
4081          program { name: "edit_off";
4082             signal: "elm,state,edit,off";
4083             source: "elm";
4084             action: STATE_SET "default" 0.0;
4085             target: "atop";
4086             target: "abot";
4087             target: "t";
4088             target: "b";
4089          }
4090          program { name: "up";
4091             signal: "mouse,down,1";
4092             source: "t";
4093             action: SIGNAL_EMIT "elm,action,up,start" "";
4094          }
4095          program { name: "up,stop";
4096             signal: "mouse,up,1";
4097             source: "t";
4098             action: SIGNAL_EMIT "elm,action,up,stop" "";
4099          }
4100          program { name: "down";
4101             signal: "mouse,down,1";
4102             source: "b";
4103             action: SIGNAL_EMIT "elm,action,down,start" "";
4104          }
4105          program { name: "down,stop";
4106             signal: "mouse,up,1";
4107             source: "b";
4108             action: SIGNAL_EMIT "elm,action,down,stop" "";
4109          }
4110       }
4111    }
4112
4113 ///////////////////////////////////////////////////////////////////////////////
4114    group { name: "elm/clock/flipampm/default";
4115       images {
4116          image: "flip_base.png" COMP;
4117          image: "flip_base_shad.png" COMP;
4118          image: "flip_shad.png" COMP;
4119          image: "flip_amt.png" COMP;
4120          image: "flip_amb.png" COMP;
4121          image: "flip_pmt.png" COMP;
4122          image: "flip_pmb.png" COMP;
4123          image: "arrow_up.png" COMP;
4124          image: "arrow_down.png" COMP;
4125       }
4126       script {
4127          public v0_cur, v0_pre, v0_lock, v0_next;
4128
4129        public animator2(val, Float:pos) {
4130           new st1[11], st2[11], v;
4131
4132           v = get_int(v0_cur);
4133           snprintf(st1, 10, "%ih", v);
4134           snprintf(st2, 10, "%i", v);
4135           set_tween_state(PART:"bot", pos, st1, 0.0, st2, 0.0);
4136           set_tween_state(PART:"sh", pos, "half", 0.0, "full", 0.0);
4137           if (pos >= 1.0) {
4138              set_state(PART:"sh", "default", 0.0);
4139              set_int(v0_lock, 0);
4140              v = get_int(v0_next);
4141              if (v >= 0) {
4142                 set_int(v0_next, -1);
4143                 message(MSG_INT, 1, v);
4144              }
4145           }
4146        }
4147        public animator1(val, Float:pos) {
4148           new st1[11], st2[11], v;
4149
4150           v = get_int(v0_pre);
4151           snprintf(st1, 10, "%i", v);
4152           snprintf(st2, 10, "%ih", v);
4153           set_tween_state(PART:"top", pos, st1, 0.0, st2, 0.0);
4154           set_tween_state(PART:"sh", pos, "default", 0.0, "half", 0.0);
4155           if (pos >= 1.0) anim(0.2, "animator2", val);
4156        }
4157        public message(Msg_Type:type, id, ...) {
4158           if ((type == MSG_INT) && (id == 1)) {
4159              new value, v, buf[11];
4160
4161              value = getarg(2);
4162              if (get_int(v0_lock) == 1) {
4163                 set_int(v0_next, value);
4164                 return;
4165              }
4166              v = get_int(v0_cur);
4167              set_int(v0_pre, v);
4168              set_int(v0_cur, value);
4169              set_int(v0_lock, 1);
4170              snprintf(buf, 10, "%i", get_int(v0_pre));
4171              set_state(PART:"bot0", buf, 0.0);
4172              snprintf(buf, 10, "%ih", get_int(v0_cur));
4173              set_state(PART:"bot", buf, 0.0);
4174              snprintf(buf, 10, "%i", get_int(v0_cur));
4175              set_state(PART:"top0", buf, 0.0);
4176              snprintf(buf, 10, "%i", get_int(v0_pre));
4177              set_state(PART:"top", buf, 0.0);
4178              set_state(PART:"sh", "default", 0.0);
4179              anim(0.2, "animator1", 1);
4180           }
4181        }
4182       }
4183       parts {
4184          part { name: "shad";
4185             mouse_events: 0;
4186             description { state: "default" 0.0;
4187                rel1.offset: -4 -4;
4188                rel1.to: "base";
4189                rel2.offset: 3 3;
4190                rel2.to: "base";
4191                image {
4192                   normal: "flip_base_shad.png";
4193                   border: 8 8 8 8;
4194                }
4195             }
4196          }
4197          part { name: "base";
4198             mouse_events: 0;
4199             scale: 1;
4200             description { state: "default" 0.0;
4201                rel1.offset: 4 4;
4202                rel2.offset: -5 -5;
4203                // FIXME 48x96 should be the native pixel design, right now
4204                // its 80x160. fix int he artwork later
4205                aspect: 0.5 0.5;
4206                min: 24 48;
4207 //               max: 24 48;
4208                image.normal: "flip_base.png";
4209             }
4210          }
4211          part { name: "b";
4212             type: RECT;
4213             mouse_events: 1;
4214             description { state: "default" 0.0;
4215                rel1.to: "base";
4216                rel1.relative: 0.0 0.5;
4217                rel2.to: "base";
4218                color: 0 0 0 0;
4219             }
4220          }
4221          part { name: "t";
4222             type: RECT;
4223             mouse_events: 1;
4224             description { state: "default" 0.0;
4225                rel1.to: "base";
4226                rel2.to: "base";
4227                rel2.relative: 1.0 0.5;
4228                color: 0 0 0 0;
4229             }
4230          }
4231          part { name: "bot0";
4232             mouse_events: 0;
4233             description { state: "default" 0.0;
4234                rel1.to: "b";
4235                rel2.to: "b";
4236                image.normal: "flip_amb.png";
4237             }
4238             description { state: "0" 0.0;
4239                inherit: "default" 0.0;
4240                image.normal: "flip_amb.png";
4241             }
4242             description { state: "1" 0.0;
4243                inherit: "default" 0.0;
4244                image.normal: "flip_pmb.png";
4245             }
4246          }
4247          part { name: "sh";
4248             mouse_events: 0;
4249             description { state: "default" 0.0;
4250                rel1.to: "b";
4251                rel2.to: "b";
4252                rel2.relative: 1.0 0.0;
4253                image.normal: "flip_shad.png";
4254             }
4255             description { state: "half" 0.0;
4256                inherit: "default" 0.0;
4257                rel2.relative: 1.0 0.5;
4258             }
4259             description { state: "full" 0.0;
4260                inherit: "default" 0.0;
4261                rel2.relative: 1.0 1.0;
4262             }
4263          }
4264          part { name: "bot";
4265             mouse_events: 0;
4266             description { state: "default" 0.0;
4267                visible: 1;
4268                rel1.to: "b";
4269                rel2.to: "b";
4270                image.normal: "flip_amb.png";
4271             }
4272             description { state: "0" 0.0;
4273                inherit: "default" 0.0;
4274                visible: 1;
4275                rel2.relative: 1.0 1.0;
4276                image.normal: "flip_amb.png";
4277             }
4278             description { state: "0h" 0.0;
4279                inherit: "default" 0.0;
4280                visible: 0;
4281                rel2.relative: 1.0 0.0;
4282                image.normal: "flip_amb.png";
4283             }
4284             description { state: "1" 0.0;
4285                inherit: "default" 0.0;
4286                visible: 1;
4287                rel2.relative: 1.0 1.0;
4288                image.normal: "flip_pmb.png";
4289             }
4290             description { state: "1h" 0.0;
4291                inherit: "default" 0.0;
4292                visible: 0;
4293                rel2.relative: 1.0 0.0;
4294                image.normal: "flip_pmb.png";
4295             }
4296          }
4297          part { name: "top0";
4298             mouse_events: 0;
4299             description { state: "default" 0.0;
4300                rel1.to: "t";
4301                rel2.to: "t";
4302                image.normal: "flip_amt.png";
4303             }
4304             description { state: "0" 0.0;
4305                inherit: "default" 0.0;
4306                image.normal: "flip_amt.png";
4307             }
4308             description { state: "1" 0.0;
4309                inherit: "default" 0.0;
4310                image.normal: "flip_pmt.png";
4311             }
4312          }
4313          part { name: "top";
4314             mouse_events: 0;
4315             description { state: "default" 0.0;
4316                visible: 1;
4317                rel1.to: "t";
4318                rel2.to: "t";
4319                image.normal: "flip_amt.png";
4320             }
4321             description { state: "0" 0.0;
4322                inherit: "default" 0.0;
4323                visible: 1;
4324                rel1.relative: 0.0 0.0;
4325                image.normal: "flip_amt.png";
4326             }
4327             description { state: "0h" 0.0;
4328                inherit: "default" 0.0;
4329                color: 128 128 128 255;
4330                visible: 0;
4331                rel1.relative: 0.0 1.0;
4332                image.normal: "flip_amt.png";
4333             }
4334             description { state: "1" 0.0;
4335                inherit: "default" 0.0;
4336                visible: 1;
4337                rel1.relative: 0.0 0.0;
4338                image.normal: "flip_pmt.png";
4339             }
4340             description { state: "1h" 0.0;
4341                inherit: "default" 0.0;
4342                color: 128 128 128 255;
4343                visible: 0;
4344                rel1.relative: 0.0 1.0;
4345                image.normal: "flip_pmt.png";
4346             }
4347          }
4348          part { name: "atop";
4349             mouse_events: 0;
4350             scale: 1;
4351             description { state: "default" 0.0;
4352                visible: 0;
4353                min: 15 15;
4354                max: 15 15;
4355                align: 0.5 0.0;
4356                rel1.to: "t";
4357                rel2.to: "t";
4358                image.normal: "arrow_up.png";
4359             }
4360             description { state: "visible" 0.0;
4361                inherit: "default" 0.0;
4362                visible: 1;
4363             }
4364          }
4365          part { name: "abot";
4366             mouse_events: 0;
4367             scale: 1;
4368             description { state: "default" 0.0;
4369                visible: 0;
4370                min: 15 15;
4371                max: 15 15;
4372                align: 0.5 1.0;
4373                rel1.to: "b";
4374                rel2.to: "b";
4375                image.normal: "arrow_down.png";
4376             }
4377             description { state: "visible" 0.0;
4378                inherit: "default" 0.0;
4379                visible: 1;
4380             }
4381          }
4382       }
4383       programs {
4384          program { name: "load";
4385             signal: "load";
4386             source: "";
4387             script {
4388                set_int(v0_cur, 0);
4389                set_int(v0_pre, 0);
4390                set_int(v0_lock, 0);
4391                set_int(v0_next, -1);
4392             }
4393          }
4394          program { name: "edit_on";
4395             signal: "elm,state,edit,on";
4396             source: "elm";
4397             action: STATE_SET "visible" 0.0;
4398             target: "atop";
4399             target: "abot";
4400          }
4401 /*
4402          program { name: "edit_off";
4403             signal: "elm,state,edit,off";
4404             source: "elm";
4405             action: STATE_SET "default" 0.0;
4406             target: "atop";
4407             target: "abot";
4408          }
4409  */
4410          program { name: "up";
4411             signal: "mouse,down,1";
4412             source: "t";
4413             action: SIGNAL_EMIT "elm,action,up,start" "";
4414          }
4415          program { name: "up,stop";
4416             signal: "mouse,up,1";
4417             source: "t";
4418             action: SIGNAL_EMIT "elm,action,up,stop" "";
4419          }
4420          program { name: "down";
4421             signal: "mouse,down,1";
4422             source: "b";
4423             action: SIGNAL_EMIT "elm,action,down,start" "";
4424          }
4425          program { name: "down,stop";
4426             signal: "mouse,up,1";
4427             source: "b";
4428             action: SIGNAL_EMIT "elm,action,down,stop" "";
4429          }
4430       }
4431    }
4432
4433    ///////////////////////////////////////////////////////////////////////////////
4434    group { name: "elm/menu/item/default";
4435        images {
4436            image: "bt_base1.png" COMP;
4437            image: "bt_base2.png" COMP;
4438            image: "bt_hilight.png" COMP;
4439            image: "bt_shine.png" COMP;
4440            image: "bt_glow.png" COMP;
4441            image: "bt_dis_base.png" COMP;
4442            image: "bt_dis_hilight.png" COMP;
4443        }
4444        script {
4445             public menu_text_visible; //0:hide (default), 1:visible
4446             public menu_disable; //0:enable, 1:disable
4447        }
4448        parts {
4449            part { name: "item_image";
4450                mouse_events: 1;
4451                description { state: "default" 0.0;
4452                    color: 255 255 255 0;
4453                    image {
4454                        normal: "bt_base2.png";
4455                        border: 7 7 7 7;
4456                    }
4457                    image.middle: SOLID;
4458                }
4459                description { state: "visible" 0.0;
4460                    inherit: "default" 0.0;
4461                    color: 255 255 255 255;
4462                }
4463                description { state: "clicked" 0.0;
4464                    inherit: "default" 0.0;
4465                    inherit: "visible" 0.0;
4466                    image.normal: "bt_base1.png";
4467                    image.middle: SOLID;
4468                }
4469                description { state: "disabled" 0.0;
4470                    inherit:  "default" 0.0;
4471                }
4472            }
4473            part { name: "item_image_disabled";
4474                mouse_events: 1;
4475                description { state: "default" 0.0;
4476                    color: 255 255 255 0;
4477                    image {
4478                        normal: "bt_dis_base.png";
4479                        border: 4 4 4 4;
4480                    }
4481                    image.middle: SOLID;
4482                }
4483                description { state: "disabled" 0.0;
4484                    inherit:  "default" 0.0;
4485                    color: 255 255 255 255;
4486                }
4487            }
4488            part { name: "elm.swallow.content";
4489                type: SWALLOW;
4490                description { state: "default" 0.0;
4491                    fixed: 1 0;
4492                    visible: 1;
4493                    align: 0.0 0.5;
4494                    rel1.offset: 4 4;
4495                    rel2.offset: 3 -5;
4496                    rel2.relative: 0.0 1.0;
4497                    aspect: 1.0 1.0;
4498                    aspect_preference: VERTICAL;
4499                    rel2.offset: 4 -5;
4500                }
4501            }
4502            part {
4503                name:          "elm.text";
4504                type:          TEXT;
4505                mouse_events:  0;
4506                scale: 1;
4507                description { state: "default" 0.0;
4508                    visible: 0;
4509                    rel1.to_x: "elm.swallow.content";
4510                    rel1.relative: 1.0 0.0;
4511                    rel1.offset: 5 7;
4512                    rel2.offset: -10 -8;
4513                    color: 0 0 0 255;
4514                    text {
4515                        font:     "Sans,Edje-Vera";
4516                        size:     10;
4517                        min:      1 1;
4518                        align:    0.0 0.5;
4519                        text_class: "menu_item";
4520                    }
4521                }
4522                description { state: "visible" 0.0;
4523                    inherit: "default" 0.0;
4524                    visible: 1;
4525                    text.min: 1 1;
4526                }
4527                description { state: "selected" 0.0;
4528                    inherit: "default" 0.0;
4529                    inherit: "visible" 0.0;
4530                    color: 254 254 254 255;
4531                }
4532                description { state: "disabled" 0.0;
4533                    inherit: "default" 0.0;
4534                    color: 0 0 0 128;
4535                }
4536                description { state: "disabled_visible" 0.0;
4537                    inherit: "default" 0.0;
4538                    inherit: "visible" 0.0;
4539                    color: 0 0 0 128;
4540                }
4541            }
4542            part {          name: "over1";
4543                mouse_events: 0;
4544                description { state: "default" 0.0;
4545                    color: 255 255 255 0;
4546                    rel2.relative: 1.0 0.5;
4547                    image {
4548                        normal: "bt_hilight.png";
4549                        border: 7 7 7 0;
4550                    }
4551                }
4552                description { state: "visible" 0.0;
4553                    inherit:  "default" 0.0;
4554                    color: 255 255 255 255;
4555                }
4556                description { state: "disabled" 0.0;
4557                    inherit:  "default" 0.0;
4558                }
4559            }
4560            part {          name: "over_disabled";
4561                mouse_events: 0;
4562                description { state: "default" 0.0;
4563                    color: 255 255 255 0;
4564                    rel2.relative: 1.0 0.5;
4565                    image {
4566                        normal: "bt_dis_hilight.png";
4567                        border: 4 4 4 0;
4568                    }
4569                }
4570                description { state: "disabled" 0.0;
4571                    inherit:  "default" 0.0;
4572                    color: 255 255 255 255;
4573                }
4574            }
4575            part { name: "over2";
4576                mouse_events: 1;
4577                repeat_events: 1;
4578                ignore_flags: ON_HOLD;
4579                description { state: "default" 0.0;
4580                    image {
4581                        normal: "bt_shine.png";
4582                        border: 7 7 7 7;
4583                    }
4584                }
4585                description { state: "disabled" 0.0;
4586                    inherit:  "default" 0.0;
4587                    visible: 0;
4588                }
4589            }
4590            part { name: "over3";
4591                mouse_events: 1;
4592                repeat_events: 1;
4593                description { state: "default" 0.0;
4594                    color: 255 255 255 0;
4595                    image {
4596                        normal: "bt_glow.png";
4597                        border: 12 12 12 12;
4598                    }
4599                    fill.smooth : 0;
4600                }
4601                description { state: "clicked" 0.0;
4602                    inherit:  "default" 0.0;
4603                    visible: 1;
4604                    color: 255 255 255 255;
4605                }
4606            }
4607            part { name: "disabler";
4608                type: RECT;
4609                description { state: "default" 0.0;
4610                    color: 0 0 0 0;
4611                    visible: 0;
4612                }
4613                description { state: "disabled" 0.0;
4614                    inherit: "default" 0.0;
4615                    visible: 1;
4616                }
4617            }
4618        }
4619        programs {
4620           //
4621            program {
4622                name:   "item_mouse_in";
4623                signal: "mouse,in";
4624                source: "over2";
4625                action: SIGNAL_EMIT "elm,action,activate" "";
4626                after: "item_mouse_in_2";
4627                after: "item_mouse_in_3";
4628            }
4629            program {
4630                name:   "item_mouse_in_2";
4631                transition: DECELERATE 0.5;
4632                script {
4633                    new v, d;
4634                    v = get_int(menu_text_visible);
4635                    d = get_int(menu_disable);
4636
4637                    if (v==1 && d==0)
4638                         run_program(PROGRAM:"selected_text");
4639                }
4640            }
4641            program {
4642                name:   "item_mouse_in_3";
4643                action : STATE_SET "visible" 0.0;
4644                target: "item_image";
4645                target: "over1";
4646                transition: DECELERATE 0.5;
4647            }
4648            program {
4649                name:   "selected_text";
4650                action: STATE_SET "selected" 0.0;
4651                target: "elm.text";
4652                transition: DECELERATE 0.5;
4653            }
4654            //
4655
4656            //
4657            program {
4658                name:   "item_mouse_out";
4659                signal: "mouse,out";
4660                source: "over2";
4661                action: SIGNAL_EMIT "elm,action,inactivate" "";
4662                after: "item_mouse_out_2";
4663                after: "item_mouse_out_3";
4664            }
4665            program {
4666                name:   "item_mouse_out_2";
4667                transition: DECELERATE 0.5;
4668                script {
4669                    new v, d;
4670                    v = get_int(menu_text_visible);
4671                    d = get_int(menu_disable);
4672
4673                    if (v==1 && d==0)
4674                         run_program(PROGRAM:"visible_text");
4675                }
4676            }
4677            program {
4678                name:   "item_mouse_out_3";
4679                action: STATE_SET "default" 0.0;
4680                target: "item_image";
4681                target: "over1";
4682                transition: DECELERATE 0.5;
4683            }
4684            program {
4685                name:   "visible_text";
4686                action: STATE_SET "visible" 0.0;
4687                target: "elm.text";
4688                transition: DECELERATE 0.5;
4689            }
4690            //
4691
4692            program {
4693                name:   "item_unclick";
4694                signal: "mouse,up,1";
4695                source: "over2";
4696                action: STATE_SET "visible" 0.0;
4697                target: "item_image";
4698            }
4699            program {
4700                name:   "item_click2";
4701                signal: "mouse,down,1";
4702                source: "over3";
4703                action: STATE_SET "clicked" 0.0;
4704                target: "over3";
4705            }
4706            program {
4707                name:   "item_unclick2";
4708                signal: "mouse,up,1";
4709                source: "over3";
4710                action: STATE_SET "default" 0.0;
4711                transition: DECELERATE 0.5;
4712                target: "over3";
4713            }
4714            program {
4715                name:   "item_unclick3";
4716                signal: "mouse,up,1";
4717                source: "over2";
4718                action: SIGNAL_EMIT "elm,action,click" "";
4719            }
4720            program { name: "text_show";
4721                signal: "elm,state,text,visible";
4722                source: "elm";
4723                script {
4724                    set_int(menu_text_visible, 1);
4725                    set_state(PART:"elm.text", "visible", 0.0);
4726                }
4727            }
4728            program { name: "text_hide";
4729                signal: "elm,state,text,hidden";
4730                source: "elm";
4731                script {
4732                    set_int(menu_text_visible, 0);
4733                    set_state(PART:"elm.text", "default", 0.0);
4734                }
4735            }
4736            program { name: "disable";
4737                signal: "elm,state,disabled";
4738                source: "elm";
4739                action: STATE_SET "disabled" 0.0;
4740                target: "item_image";
4741                target: "item_image_disabled";
4742                target: "over1";
4743                target: "over2";
4744                target: "over_disabled";
4745                target: "disabler";
4746                after: "disable_text";
4747            }
4748            program { name: "disable_text";
4749                script {
4750                    new v;
4751                    v = get_int(menu_text_visible);
4752                    if (v==1)
4753                     set_state(PART:"elm.text", "disabled_visible", 0.0);
4754                    else if (v==0)
4755                     set_state(PART:"elm.text", "disabled", 0.0);
4756                    set_int(menu_disable, 1);
4757                }
4758            }
4759            program { name: "item_select";
4760                signal: "elm,state,selected";
4761                source: "elm";
4762                after: "item_mouse_in_2";
4763                after: "item_mouse_in_3";
4764            }
4765            program { name: "item_unselect";
4766                signal: "elm,state,unselected";
4767                source: "elm";
4768                after: "item_mouse_out_2";
4769                after: "item_mouse_out_3";
4770            }
4771            program { name: "enable";
4772                signal: "elm,state,enabled";
4773                source: "elm";
4774                action: STATE_SET "default" 0.0;
4775                target: "item_image";
4776                target: "item_image_disabled";
4777                target: "over1";
4778                target: "over2";
4779                target: "over_disabled";
4780                target: "disabler";
4781                after: "enable_text";
4782            }
4783            program { name: "enable_text";
4784                script {
4785                    new v;
4786                    v = get_int(menu_text_visible);
4787                    if (v==1)
4788                     set_state(PART:"elm.text", "visible", 0.0);
4789                    else  if (v==0)
4790                     set_state(PART:"elm.text", "default", 0.0);
4791                    set_int(menu_disable, 0);
4792                }
4793            }
4794        }
4795    }
4796
4797    group { name: "elm/menu/item_with_submenu/default";
4798        images {
4799            image: "bt_base1.png" COMP;
4800            image: "bt_base2.png" COMP;
4801            image: "bt_hilight.png" COMP;
4802            image: "bt_shine.png" COMP;
4803            image: "bt_glow.png" COMP;
4804            image: "bt_dis_base.png" COMP;
4805            image: "bt_dis_hilight.png" COMP;
4806            image: "arrow_right.png" COMP;
4807            image: "arrow_left.png" COMP;
4808        }
4809        script {
4810             public menu_text_visible; //0:hide (default), 1:visible
4811             public menu_disable; //0:enable, 1:disable
4812        }
4813        parts {
4814            part { name: "item_image";
4815                mouse_events: 1;
4816                description { state: "default" 0.0;
4817                    color: 255 255 255 0;
4818                    image {
4819                        normal: "bt_base2.png";
4820                        border: 7 7 7 7;
4821                    }
4822                    image.middle: SOLID;
4823                }
4824                description { state: "visible" 0.0;
4825                    inherit: "default" 0.0;
4826                    color: 255 255 255 255;
4827                }
4828                description { state: "clicked" 0.0;
4829                    inherit: "default" 0.0;
4830                    inherit: "visible" 0.0;
4831                    image.normal: "bt_base1.png";
4832                    image.middle: SOLID;
4833                }
4834                description { state: "disabled" 0.0;
4835                    inherit:  "default" 0.0;
4836                }
4837            }
4838            part { name: "item_image_disabled";
4839                mouse_events: 1;
4840                description { state: "default" 0.0;
4841                    color: 255 255 255 0;
4842                    image {
4843                        normal: "bt_dis_base.png";
4844                        border: 4 4 4 4;
4845                    }
4846                    image.middle: SOLID;
4847                }
4848                description { state: "disabled" 0.0;
4849                    inherit:  "default" 0.0;
4850                    color: 255 255 255 255;
4851                }
4852            }
4853            part { name: "arrow";
4854                mouse_events: 1;
4855                description { state: "default" 0.0;
4856                    color: 255 255 255 255;
4857                    align: 1.0 0.5;
4858                    aspect: 1 1;
4859                    aspect_preference: BOTH;
4860                    image {
4861                        normal: "arrow_right.png";
4862                    }
4863                }
4864                description { state: "rtl" 0.0;
4865                   inherit: "default" 0.0;
4866                   image.normal: "arrow_left.png";
4867                }
4868            }
4869            part { name: "elm.swallow.content";
4870                type: SWALLOW;
4871                description { state: "default" 0.0;
4872                    fixed: 1 0;
4873                    visible: 1;
4874                    align: 0.0 0.5;
4875                    rel1.offset: 4 4;
4876                    rel2.offset: 3 -5;
4877                    rel2.relative: 0.0 1.0;
4878                    aspect: 1.0 1.0;
4879                    aspect_preference: VERTICAL;
4880                    rel2.offset: 4 -5;
4881                }
4882            }
4883            part {
4884                name:          "elm.text";
4885                type:          TEXT;
4886                mouse_events:  0;
4887                scale: 1;
4888                description { state: "default" 0.0;
4889                    visible: 0;
4890                    rel1.to_x: "elm.swallow.content";
4891                    rel1.relative: 1.0 0.0;
4892                    rel1.offset: 5 7;
4893                    rel2.offset: -10 -8;
4894                    color: 0 0 0 255;
4895                    text {
4896                        font:     "Sans,Edje-Vera";
4897                        size:     10;
4898                        min:      1 1;
4899                        align:    0.0 0.5;
4900                        text_class: "menu_item";
4901                    }
4902                }
4903                description { state: "visible" 0.0;
4904                    inherit: "default" 0.0;
4905                    visible: 1;
4906                    text.min: 1 1;
4907                }
4908                description { state: "selected" 0.0;
4909                    inherit: "default" 0.0;
4910                    inherit: "visible" 0.0;
4911                    color: 254 254 254 255;
4912                }
4913                description { state: "disabled" 0.0;
4914                    inherit: "default" 0.0;
4915                    color: 0 0 0 128;
4916                }
4917                description { state: "disabled_visible" 0.0;
4918                    inherit: "default" 0.0;
4919                    inherit: "visible" 0.0;
4920                    color: 0 0 0 128;
4921                }
4922            }
4923            part {          name: "over1";
4924                mouse_events: 0;
4925                description { state: "default" 0.0;
4926                    color: 255 255 255 0;
4927                    rel2.relative: 1.0 0.5;
4928                    image {
4929                        normal: "bt_hilight.png";
4930                        border: 7 7 7 0;
4931                    }
4932                }
4933                description { state: "visible" 0.0;
4934                    inherit:  "default" 0.0;
4935                    color: 255 255 255 255;
4936                }
4937                description { state: "disabled" 0.0;
4938                    inherit:  "default" 0.0;
4939                }
4940            }
4941            part { name: "over_disabled";
4942                mouse_events: 0;
4943                description { state: "default" 0.0;
4944                    color: 255 255 255 0;
4945                    rel2.relative: 1.0 0.5;
4946                    image {
4947                        normal: "bt_dis_hilight.png";
4948                        border: 4 4 4 0;
4949                    }
4950                }
4951                description { state: "disabled" 0.0;
4952                    inherit:  "default" 0.0;
4953                    color: 255 255 255 255;
4954                }
4955            }
4956            part { name: "over2";
4957                mouse_events: 1;
4958                repeat_events: 1;
4959                ignore_flags: ON_HOLD;
4960                description { state: "default" 0.0;
4961                    image {
4962                        normal: "bt_shine.png";
4963                        border: 7 7 7 7;
4964                    }
4965                }
4966                description { state: "disabled" 0.0;
4967                    inherit:  "default" 0.0;
4968                    visible: 0;
4969                }
4970            }
4971            part { name: "over3";
4972                mouse_events: 1;
4973                repeat_events: 1;
4974                description { state: "default" 0.0;
4975                    color: 255 255 255 0;
4976                    image {
4977                        normal: "bt_glow.png";
4978                        border: 12 12 12 12;
4979                    }
4980                    fill.smooth : 0;
4981                }
4982                description { state: "clicked" 0.0;
4983                    inherit:  "default" 0.0;
4984                    visible: 1;
4985                    color: 255 255 255 255;
4986                }
4987            }
4988            part { name: "disabler";
4989                type: RECT;
4990                description { state: "default" 0.0;
4991                    color: 0 0 0 0;
4992                    visible: 0;
4993                }
4994                description { state: "disabled" 0.0;
4995                    inherit: "default" 0.0;
4996                    visible: 1;
4997                }
4998            }
4999        }
5000        programs {
5001            //
5002            program {
5003                name:   "item_mouse_in";
5004                signal: "mouse,in";
5005                source: "over2";
5006                action: SIGNAL_EMIT "elm,action,activate" "";
5007                after: "item_mouse_in_2";
5008                after: "item_mouse_in_3";
5009            }
5010            program {
5011                name:   "item_mouse_in_2";
5012                transition: DECELERATE 0.5;
5013                script {
5014                    new v, d;
5015                    v = get_int(menu_text_visible);
5016                    d = get_int(menu_disable);
5017
5018                    if (v==1 && d==0)
5019                         run_program(PROGRAM:"selected_text");
5020                }
5021            }
5022            program {
5023                name:   "item_mouse_in_3";
5024                action : STATE_SET "visible" 0.0;
5025                target: "item_image";
5026                target: "over1";
5027                transition: DECELERATE 0.5;
5028            }
5029            program {
5030                name:   "selected_text";
5031                action: STATE_SET "selected" 0.0;
5032                target: "elm.text";
5033                transition: DECELERATE 0.5;
5034            }
5035            //
5036
5037            //
5038            program {
5039                name:   "item_mouse_out";
5040                signal: "mouse,out";
5041                source: "over2";
5042                after: "item_mouse_out_2";
5043                after: "item_mouse_out_3";
5044            }
5045            program {
5046                name:   "item_mouse_out_2";
5047                transition: DECELERATE 0.5;
5048                script {
5049                    new v, d;
5050                    v = get_int(menu_text_visible);
5051                    d = get_int(menu_disable);
5052
5053                    if (v==1 && d==0)
5054                         run_program(PROGRAM:"visible_text");
5055                }
5056            }
5057            program {
5058                name:   "item_mouse_out_3";
5059                action: STATE_SET "default" 0.0;
5060                target: "item_image";
5061                target: "over1";
5062                transition: DECELERATE 0.5;
5063            }
5064            program {
5065                name:   "visible_text";
5066                action: STATE_SET "visible" 0.0;
5067                target: "elm.text";
5068                transition: DECELERATE 0.5;
5069            }
5070            //
5071
5072            program {
5073                name:   "item_unclick";
5074                signal: "mouse,up,1";
5075                source: "over2";
5076                action: STATE_SET "visible" 0.0;
5077                target: "item_image";
5078            }
5079            program {
5080                name:   "item_click2";
5081                signal: "mouse,down,1";
5082                source: "over3";
5083                action: STATE_SET "clicked" 0.0;
5084                target: "over3";
5085            }
5086            program {
5087                name:   "item_unclick2";
5088                signal: "mouse,up,1";
5089                source: "over3";
5090                action: STATE_SET "default" 0.0;
5091                transition: DECELERATE 0.5;
5092                target: "over3";
5093            }
5094            program {
5095                name:   "item_unclick3";
5096                signal: "mouse,up,1";
5097                source: "over2";
5098                action: SIGNAL_EMIT "elm,action,click" "";
5099            }
5100            program {
5101                name:   "menu_open";
5102                signal: "mouse,in";
5103                source: "over2";
5104                action: SIGNAL_EMIT "elm,action,open" "";
5105            }
5106             program { name: "text_show";
5107                signal: "elm,state,text,visible";
5108                source: "elm";
5109                script {
5110                    set_int(menu_text_visible, 1);
5111                    set_state(PART:"elm.text", "visible", 0.0);
5112                }
5113            }
5114            program { name: "text_hide";
5115                signal: "elm,state,text,hidden";
5116                source: "elm";
5117                script {
5118                    set_int(menu_text_visible, 0);
5119                    set_state(PART:"elm.text", "default", 0.0);
5120                }
5121            }
5122            program { name: "disable";
5123                signal: "elm,state,disabled";
5124                source: "elm";
5125                action: STATE_SET "disabled" 0.0;
5126                target: "item_image";
5127                target: "item_image_disabled";
5128                target: "over1";
5129                target: "over2";
5130                target: "over_disabled";
5131                target: "disabler";
5132                after: "disable_text";
5133            }
5134            program { name: "disable_text";
5135                script {
5136                    new st[31];
5137                    new Float:vl;
5138                    get_state(PART:"elm.text", st, 30, vl);
5139                    if (!strcmp(st, "visible"))
5140                    set_state(PART:"elm.text", "disabled_visible", 0.0);
5141                    else if (!strcmp(st, "default"))
5142                    set_state(PART:"elm.text", "disabled", 0.0);
5143                }
5144            }
5145            program { name: "enable";
5146                signal: "elm,state,enabled";
5147                source: "elm";
5148                action: STATE_SET "default" 0.0;
5149                target: "item_image";
5150                target: "item_image_disabled";
5151                target: "over1";
5152                target: "over2";
5153                target: "over_disabled";
5154                target: "disabler";
5155                after: "enable_text";
5156            }
5157            program { name: "enable_text";
5158                script {
5159                    new v;
5160                    v = get_int(menu_text_visible);
5161                    if (v==1)
5162                     set_state(PART:"elm.text", "visible", 0.0);
5163                    else  if (v==0)
5164                     set_state(PART:"elm.text", "default", 0.0);
5165                    set_int(menu_disable, 0);
5166                }
5167            }
5168            program { name: "to_rtl";
5169                signal: "edje,state,rtl";
5170                source: "edje";
5171                action: STATE_SET "rtl" 0.0;
5172                target: "arrow";
5173            }
5174            program { name: "to_ltr";
5175                signal: "edje,state,ltr";
5176                source: "edje";
5177                action: STATE_SET "default" 0.0;
5178                target: "arrow";
5179            }
5180        }
5181    }
5182
5183    group { name: "elm/menu/separator/default";
5184        images {
5185            image: "separator_h.png" COMP;
5186        }
5187        parts {
5188            part { name: "separator"; // separator group
5189                description { state: "default" 0.0;
5190                    min: 2 2;
5191                    rel1.offset: 4 4;
5192                    rel2.offset: -5 -5;
5193                    image {
5194                        normal: "separator_h.png";
5195                    }
5196                    fill {
5197                        smooth: 0;
5198                    }
5199                }
5200            }
5201        }
5202    }
5203 ///////////////////////////////////////////////////////////////////////////////
5204    group { name: "elm/clock/base-all/default";
5205       parts {
5206          part { name: "d0";
5207             type: SWALLOW;
5208             description { state: "default" 0.0;
5209                rel1.relative: 0.0000000 0.0;
5210                rel2.relative: 0.1250000 1.0;
5211             }
5212          }
5213          part { name: "d1";
5214             type: SWALLOW;
5215             description { state: "default" 0.0;
5216                rel1.relative: 0.1250000 0.0;
5217                rel2.relative: 0.2500000 1.0;
5218             }
5219          }
5220          part { name: "c0";
5221             type: SWALLOW;
5222             type: TEXT;
5223             mouse_events:  0;
5224             scale: 1;
5225             description { state: "default" 0.0;
5226                rel1.relative: 0.2500000 0.0;
5227                rel2.relative: 0.3125000 1.0;
5228                color: 0 0 0 255;
5229                text {
5230                   font:     "Sans,Edje-Vera";
5231                   text:     ":";
5232                   size:     10;
5233                   min:      1 1;
5234                   align:    0.5 0.5;
5235                }
5236             }
5237          }
5238          part { name: "d2";
5239             type: SWALLOW;
5240             description { state: "default" 0.0;
5241                rel1.relative: 0.3125000 0.0;
5242                rel2.relative: 0.4375000 1.0;
5243             }
5244          }
5245          part { name: "d3";
5246             type: SWALLOW;
5247             description { state: "default" 0.0;
5248                rel1.relative: 0.4375000 0.0;
5249                rel2.relative: 0.5625000 1.0;
5250             }
5251          }
5252          // (if seconds)
5253          part { name: "c1";
5254             type: SWALLOW;
5255             type: TEXT;
5256             mouse_events:  0;
5257             scale: 1;
5258             description { state: "default" 0.0;
5259                rel1.relative: 0.5625000 0.0;
5260                rel2.relative: 0.6250000 1.0;
5261                color: 0 0 0 255;
5262                text {
5263                   font:     "Sans,Edje-Vera";
5264                   text:     ":";
5265                   size:     10;
5266                   min:      1 1;
5267                   align:    0.5 0.5;
5268                }
5269             }
5270          }
5271          // (if seconds)
5272          part { name: "d4";
5273             type: SWALLOW;
5274             description { state: "default" 0.0;
5275                rel1.relative: 0.6250000 0.0;
5276                rel2.relative: 0.7500000 1.0;
5277             }
5278          }
5279          // (if seconds)
5280          part { name: "d5";
5281             type: SWALLOW;
5282             description { state: "default" 0.0;
5283                rel1.relative: 0.7500000 0.0;
5284                rel2.relative: 0.8750000 1.0;
5285             }
5286          }
5287          // (if am_pm)
5288          part { name: "ampm";
5289             type: SWALLOW;
5290             description { state: "default" 0.0;
5291                rel1.relative: 0.8750000 0.0;
5292                rel2.relative: 1.0 1.0;
5293             }
5294          }
5295       }
5296    }
5297
5298 ///////////////////////////////////////////////////////////////////////////////
5299    group { name: "elm/clock/base-seconds/default";
5300       parts {
5301          part { name: "d0";
5302             type: SWALLOW;
5303             description { state: "default" 0.0;
5304                rel1.relative: 0.000000000 0.0;
5305                rel2.relative: 0.142857143 1.0;
5306             }
5307          }
5308          part { name: "d1";
5309             type: SWALLOW;
5310             description { state: "default" 0.0;
5311                rel1.relative: 0.142857143 0.0;
5312                rel2.relative: 0.285714286 1.0;
5313             }
5314          }
5315          part { name: "c0";
5316             type: SWALLOW;
5317             type: TEXT;
5318             mouse_events:  0;
5319             scale: 1;
5320             description { state: "default" 0.0;
5321                rel1.relative: 0.285714286 0.0;
5322                rel2.relative: 0.357142857 1.0;
5323                color: 0 0 0 255;
5324                text {
5325                   font:     "Sans,Edje-Vera";
5326                   text:     ":";
5327                   size:     10;
5328                   min:      1 1;
5329                   align:    0.5 0.5;
5330                }
5331             }
5332          }
5333          part { name: "d2";
5334             type: SWALLOW;
5335             description { state: "default" 0.0;
5336                rel1.relative: 0.357142857 0.0;
5337                rel2.relative: 0.500000000 1.0;
5338             }
5339          }
5340          part { name: "d3";
5341             type: SWALLOW;
5342             description { state: "default" 0.0;
5343                rel1.relative: 0.500000000 0.0;
5344                rel2.relative: 0.642857143 1.0;
5345             }
5346          }
5347          // (if seconds)
5348          part { name: "c1";
5349             type: SWALLOW;
5350             type: TEXT;
5351             mouse_events:  0;
5352             scale: 1;
5353             description { state: "default" 0.0;
5354                rel1.relative: 0.642857143 0.0;
5355                rel2.relative: 0.714285714 1.0;
5356                color: 0 0 0 255;
5357                text {
5358                   font:     "Sans,Edje-Vera";
5359                   text:     ":";
5360                   size:     10;
5361                   min:      1 1;
5362                   align:    0.5 0.5;
5363                }
5364             }
5365          }
5366          // (if seconds)
5367          part { name: "d4";
5368             type: SWALLOW;
5369             description { state: "default" 0.0;
5370                rel1.relative: 0.714285714 0.0;
5371                rel2.relative: 0.857142857 1.0;
5372             }
5373          }
5374          // (if seconds)
5375          part { name: "d5";
5376             type: SWALLOW;
5377             description { state: "default" 0.0;
5378                rel1.relative: 0.857142857 0.0;
5379                rel2.relative: 1.000000000 1.0;
5380             }
5381          }
5382       }
5383    }
5384
5385 ///////////////////////////////////////////////////////////////////////////////
5386    group { name: "elm/clock/base-am_pm/default";
5387       parts {
5388          part { name: "d0";
5389             type: SWALLOW;
5390             description { state: "default" 0.0;
5391                rel1.relative: 0.000000000 0.0;
5392                rel2.relative: 0.181818182 1.0;
5393             }
5394          }
5395          part { name: "d1";
5396             type: SWALLOW;
5397             description { state: "default" 0.0;
5398                rel1.relative: 0.181818182 0.0;
5399                rel2.relative: 0.363636364 1.0;
5400             }
5401          }
5402          part { name: "c0";
5403             type: SWALLOW;
5404             type: TEXT;
5405             mouse_events:  0;
5406             scale: 1;
5407             description { state: "default" 0.0;
5408                rel1.relative: 0.363636364 0.0;
5409                rel2.relative: 0.454545455 1.0;
5410                color: 0 0 0 255;
5411                text {
5412                   font:     "Sans,Edje-Vera";
5413                   text:     ":";
5414                   size:     10;
5415                   min:      1 1;
5416                   align:    0.5 0.5;
5417                }
5418             }
5419          }
5420          part { name: "d2";
5421             type: SWALLOW;
5422             description { state: "default" 0.0;
5423                rel1.relative: 0.454545455 0.0;
5424                rel2.relative: 0.636363636 1.0;
5425             }
5426          }
5427          part { name: "d3";
5428             type: SWALLOW;
5429             description { state: "default" 0.0;
5430                rel1.relative: 0.636363636 0.0;
5431                rel2.relative: 0.818181818 1.0;
5432             }
5433          }
5434          // (if am_pm)
5435          part { name: "ampm";
5436             type: SWALLOW;
5437             description { state: "default" 0.0;
5438                rel1.relative: 0.818181818 0.0;
5439                rel2.relative: 1.0 1.0;
5440             }
5441          }
5442       }
5443    }
5444
5445 ///////////////////////////////////////////////////////////////////////////////
5446    group { name: "elm/clock/base/default";
5447       parts {
5448          part { name: "d0";
5449             type: SWALLOW;
5450             description { state: "default" 0.0;
5451                rel1.relative: 0.000000000 0.0;
5452                rel2.relative: 0.222222222 1.0;
5453             }
5454          }
5455          part { name: "d1";
5456             type: SWALLOW;
5457             description { state: "default" 0.0;
5458                rel1.relative: 0.222222222 0.0;
5459                rel2.relative: 0.444444444 1.0;
5460             }
5461          }
5462          part { name: "c0";
5463             type: SWALLOW;
5464             type: TEXT;
5465             mouse_events:  0;
5466             scale: 1;
5467             description { state: "default" 0.0;
5468                rel1.relative: 0.444444444 0.0;
5469                rel2.relative: 0.555555556 1.0;
5470                color: 0 0 0 255;
5471                text {
5472                   font:     "Sans,Edje-Vera";
5473                   text:     ":";
5474                   size:     10;
5475                   min:      1 1;
5476                   align:    0.5 0.5;
5477                }
5478             }
5479          }
5480          part { name: "d2";
5481             type: SWALLOW;
5482             description { state: "default" 0.0;
5483                rel1.relative: 0.555555556 0.0;
5484                rel2.relative: 0.777777778 1.0;
5485             }
5486          }
5487          part { name: "d3";
5488             type: SWALLOW;
5489             description { state: "default" 0.0;
5490                rel1.relative: 0.777777778 0.0;
5491                rel2.relative: 1.000000000 1.0;
5492             }
5493          }
5494       }
5495    }
5496
5497 ///////////////////////////////////////////////////////////////////////////////
5498    group { name: "elm/frame/base/default";
5499        images {
5500            image: "frame_1.png" COMP;
5501            image: "frame_2.png" COMP;
5502            image: "dia_grad.png" COMP;
5503        }
5504        parts {
5505            part { name: "base0";
5506                mouse_events:  0;
5507                description { state: "default" 0.0;
5508                    image.normal: "dia_grad.png";
5509                    rel1.to: "over";
5510                    rel2.to: "over";
5511                    fill {
5512                        smooth: 0;
5513                        size {
5514                            relative: 0.0 1.0;
5515                            offset: 64 0;
5516                        }
5517                    }
5518                }
5519            }
5520            part { name: "base";
5521                mouse_events:  0;
5522                description { state:    "default" 0.0;
5523                    rel2.to: "elm.swallow.content";
5524                    rel2.offset: 9 9;
5525                    image {
5526                        normal: "frame_2.png";
5527                        border: 5 5 32 26;
5528                        middle: 0;
5529                    }
5530                    fill.smooth : 0;
5531                }
5532            }
5533            part { name: "elm.text";
5534                type: TEXT;
5535                mouse_events:   0;
5536                scale: 1;
5537                description { state: "default" 0.0;
5538                    align: 0.0 0.0;
5539                    fixed: 0 1;
5540                    rel1 {
5541                        relative: 0.0 0.0;
5542                        offset: 6 6;
5543                    }
5544                    rel2 {
5545                        relative: 1.0 0.0;
5546                        offset: -7 6;
5547                    }
5548                    color: 0 0 0 64;
5549                    text {
5550                        font: "Sans:style=Bold,Edje-Vera-Bold";
5551                        size: 10;
5552                        min: 1 1;
5553                        max: 1 1;
5554                        align: 0.0 0.0;
5555                    }
5556                }
5557            }
5558            part { name: "over";
5559                mouse_events:  0;
5560                description { state:    "default" 0.0;
5561                    rel1.offset: 4 4;
5562                    rel2.to: "elm.swallow.content";
5563                    rel2.offset: 5 5;
5564                    image {
5565                        normal: "frame_1.png";
5566                        border: 2 2 28 22;
5567                        middle: 0;
5568                    }
5569                    fill.smooth : 0;
5570                }
5571            }
5572            part { name: "elm.swallow.content";
5573                type: SWALLOW;
5574                description { state: "default" 0.0;
5575                    align: 0.0 0.0;
5576                    rel1 {
5577                        to_y: "elm.text";
5578                        relative: 0.0 1.0;
5579                        offset: 8 2;
5580                    }
5581                    rel2.offset: -9 -9;
5582                }
5583            }
5584        }
5585    }
5586
5587    group { name: "elm/frame/base/pad_small";
5588        parts {
5589            part { name: "b0";
5590                mouse_events:  0;
5591                type: RECT;
5592                scale: 1;
5593                description { state: "default" 0.0;
5594                    visible: 0;
5595                    min: 4 4;
5596                    max: 4 4;
5597                    align: 0.0 0.0;
5598                }
5599            }
5600            part { name: "b1";
5601                mouse_events:  0;
5602                type: RECT;
5603                scale: 1;
5604                description { state: "default" 0.0;
5605                    visible: 0;
5606                    min: 4 4;
5607                    max: 4 4;
5608                    align: 1.0 1.0;
5609                }
5610            }
5611            part { name: "elm.swallow.content";
5612                type: SWALLOW;
5613                description { state: "default" 0.0;
5614                    rel1 {
5615                        to: "b0";
5616                        relative: 1.0 1.0;
5617                        offset: 0 0;
5618                    }
5619                    rel2 {
5620                        to: "b1";
5621                        relative: 0.0 0.0;
5622                        offset: -1 -1;
5623                    }
5624                }
5625            }
5626        }
5627    }
5628
5629    group { name: "elm/frame/base/pad_medium";
5630        parts {
5631            part { name: "b0";
5632                mouse_events:  0;
5633                type: RECT;
5634                scale: 1;
5635                description { state: "default" 0.0;
5636                    visible: 0;
5637                    min: 8 8;
5638                    max: 8 8;
5639                    align: 0.0 0.0;
5640                }
5641            }
5642            part { name: "b1";
5643                mouse_events:  0;
5644                type: RECT;
5645                scale: 1;
5646                description { state: "default" 0.0;
5647                    visible: 0;
5648                    min: 8 8;
5649                    max: 8 8;
5650                    align: 1.0 1.0;
5651                }
5652            }
5653            part { name: "elm.swallow.content";
5654                type: SWALLOW;
5655                description { state: "default" 0.0;
5656                    rel1 {
5657                        to: "b0";
5658                        relative: 1.0 1.0;
5659                        offset: 0 0;
5660                    }
5661                    rel2 {
5662                        to: "b1";
5663                        relative: 0.0 0.0;
5664                        offset: -1 -1;
5665                    }
5666                }
5667            }
5668        }
5669    }
5670
5671    group { name: "elm/frame/base/pad_large";
5672        parts {
5673            part { name: "b0";
5674                mouse_events:  0;
5675                type: RECT;
5676                scale: 1;
5677                description { state: "default" 0.0;
5678                    visible: 0;
5679                    min: 16 16;
5680                    max: 16 16;
5681                    align: 0.0 0.0;
5682                }
5683            }
5684            part { name: "b1";
5685                mouse_events:  0;
5686                type: RECT;
5687                scale: 1;
5688                description { state: "default" 0.0;
5689                    visible: 0;
5690                    min: 16 16;
5691                    max: 16 16;
5692                    align: 1.0 1.0;
5693                }
5694            }
5695            part { name: "elm.swallow.content";
5696                type: SWALLOW;
5697                description { state: "default" 0.0;
5698                    rel1 {
5699                        to: "b0";
5700                        relative: 1.0 1.0;
5701                        offset: 0 0;
5702                    }
5703                    rel2 {
5704                        to: "b1";
5705                        relative: 0.0 0.0;
5706                        offset: -1 -1;
5707                    }
5708                }
5709            }
5710        }
5711    }
5712
5713    group { name: "elm/frame/base/pad_huge";
5714        parts {
5715            part { name: "b0";
5716                mouse_events:  0;
5717                type: RECT;
5718                scale: 1;
5719                description { state: "default" 0.0;
5720                    visible: 0;
5721                    min: 32 32;
5722                    max: 32 32;
5723                    align: 0.0 0.0;
5724                }
5725            }
5726            part { name: "b1";
5727                mouse_events:  0;
5728                type: RECT;
5729                scale: 1;
5730                description { state: "default" 0.0;
5731                    visible: 0;
5732                    min: 32 32;
5733                    max: 32 32;
5734                    align: 1.0 1.0;
5735                }
5736            }
5737            part { name: "elm.swallow.content";
5738                type: SWALLOW;
5739                description { state: "default" 0.0;
5740                    rel1 {
5741                        to: "b0";
5742                        relative: 1.0 1.0;
5743                        offset: 0 0;
5744                    }
5745                    rel2 {
5746                        to: "b1";
5747                        relative: 0.0 0.0;
5748                        offset: -1 -1;
5749                    }
5750                }
5751            }
5752        }
5753    }
5754
5755    group { name: "elm/frame/base/outdent_top";
5756        images {
5757            image: "outdent-top.png" COMP;
5758        }
5759        parts {
5760            part { name: "base0";
5761                mouse_events:  0;
5762                description { state: "default" 0.0;
5763                    image.normal: "outdent-top.png";
5764                    image.border: 0 0 0 13;
5765                    fill.smooth: 0;
5766                }
5767            }
5768            part { name: "elm.swallow.content";
5769                type: SWALLOW;
5770                description { state: "default" 0.0;
5771                    rel1.offset: 2 2;
5772                    rel2.offset: -3 -13;
5773                }
5774            }
5775        }
5776    }
5777
5778    group { name: "elm/frame/base/outdent_bottom";
5779        images {
5780            image: "outdent-bottom.png" COMP;
5781        }
5782        parts {
5783            part { name: "base0";
5784                mouse_events:  0;
5785                description { state: "default" 0.0;
5786                    image.normal: "outdent-bottom.png";
5787                    image.border: 0 0 13 0;
5788                    fill.smooth: 0;
5789                }
5790            }
5791            part { name: "elm.swallow.content";
5792                type: SWALLOW;
5793                description { state: "default" 0.0;
5794                    rel1.offset: 2 12;
5795                    rel2.offset: -3 -3;
5796                }
5797            }
5798        }
5799    }
5800
5801 ///////////////////////////////////////////////////////////////////////////////
5802    group { name: "elm/label/base/tooltip";
5803       styles {
5804          style { name: "tooltip_style";
5805             base: "font=Sans font_size=8 color=#666 wrap=word";
5806             tag:  "br" "\n";
5807             tag:  "hilight" "+ font=Sans:style=Bold";
5808             tag:  "b" "+ font=Sans:style=Bold";
5809             tag:  "tab" "\t";
5810          }
5811       }
5812       parts {
5813          part { name: "elm.text";
5814             type: TEXTBLOCK;
5815             mouse_events: 0;
5816             scale: 1;
5817             description { state: "default" 0.0;
5818                text {
5819                   style: "tooltip_style";
5820                   min: 1 1;
5821                }
5822             }
5823          }
5824       }
5825    }
5826
5827    group { name: "elm/tooltip/base/default";
5828        min: 30 30;
5829        data {
5830            item: "pad_x" "20";
5831            item: "pad_y" "20";
5832            item: "pad_border_x" "10";
5833            item: "pad_border_y" "10";
5834            item: "hide_timeout" "0.35"; /**< tooltip is hidden after this amount, keep in sync with hide animations */
5835        }
5836        images {
5837            image: "tooltip-base.png" COMP;
5838            image: "tooltip-corner-top-left-tip.png" COMP;
5839            image: "tooltip-corner-top-right-tip.png" COMP;
5840            image: "tooltip-corner-bottom-left-tip.png" COMP;
5841            image: "tooltip-corner-bottom-right-tip.png" COMP;
5842            image: "tooltip-edge-left-tip.png" COMP;
5843            image: "tooltip-edge-right-tip.png" COMP;
5844            image: "tooltip-edge-bottom-tip.png" COMP;
5845            image: "tooltip-edge-top-tip.png" COMP;
5846        }
5847        script {
5848           hide_corners() {
5849              set_state(PART:"corner-top-left", "default", 0.0);
5850              set_state(PART:"corner-top-right", "default", 0.0);
5851              set_state(PART:"corner-bottom-left", "default", 0.0);
5852              set_state(PART:"corner-bottom-right", "default", 0.0);
5853           }
5854           hide_edges() {
5855              set_state(PART:"clipper-edge-left", "default", 0.0);
5856              set_state(PART:"clipper-edge-right", "default", 0.0);
5857              set_state(PART:"clipper-edge-top", "default", 0.0);
5858              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5859           }
5860
5861           show_corner_top_left() {
5862              set_state(PART:"corner-top-left", "visible", 0.0);
5863
5864              set_state(PART:"corner-top-right", "default", 0.0);
5865              set_state(PART:"corner-bottom-left", "default", 0.0);
5866              set_state(PART:"corner-bottom-right", "default", 0.0);
5867              hide_edges();
5868           }
5869           show_corner_top_right() {
5870              set_state(PART:"corner-top-right", "visible", 0.0);
5871
5872              set_state(PART:"corner-top-left", "default", 0.0);
5873              set_state(PART:"corner-bottom-left", "default", 0.0);
5874              set_state(PART:"corner-bottom-right", "default", 0.0);
5875              hide_edges();
5876           }
5877
5878           show_corner_bottom_left() {
5879              set_state(PART:"corner-bottom-left", "visible", 0.0);
5880
5881              set_state(PART:"corner-bottom-right", "default", 0.0);
5882              set_state(PART:"corner-top-left", "default", 0.0);
5883              set_state(PART:"corner-top-right", "default", 0.0);
5884              hide_edges();
5885           }
5886           show_corner_bottom_right() {
5887              set_state(PART:"corner-bottom-right", "visible", 0.0);
5888
5889              set_state(PART:"corner-bottom-left", "default", 0.0);
5890              set_state(PART:"corner-top-left", "default", 0.0);
5891              set_state(PART:"corner-top-right", "default", 0.0);
5892              hide_edges();
5893           }
5894
5895           show_edge_left(Float:val) {
5896              set_state(PART:"clipper-edge-left", "visible", 0.0);
5897              set_drag(PART:"edge-drag-left", 0.0, val);
5898
5899              set_state(PART:"clipper-edge-right", "default", 0.0);
5900              set_state(PART:"clipper-edge-top", "default", 0.0);
5901              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5902              hide_corners();
5903           }
5904           show_edge_right(Float:val) {
5905              set_state(PART:"clipper-edge-right", "visible", 0.0);
5906              set_drag(PART:"edge-drag-right", 0.0, val);
5907
5908              set_state(PART:"clipper-edge-left", "default", 0.0);
5909              set_state(PART:"clipper-edge-top", "default", 0.0);
5910              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5911              hide_corners();
5912           }
5913
5914           show_edge_top(Float:val) {
5915              set_state(PART:"clipper-edge-top", "visible", 0.0);
5916              set_drag(PART:"edge-drag-top", val, 0.0);
5917
5918              set_state(PART:"clipper-edge-bottom", "default", 0.0);
5919              set_state(PART:"clipper-edge-left", "default", 0.0);
5920              set_state(PART:"clipper-edge-right", "default", 0.0);
5921              hide_corners();
5922           }
5923           show_edge_bottom(Float:val) {
5924              set_state(PART:"clipper-edge-bottom", "visible", 0.0);
5925              set_drag(PART:"edge-drag-bottom", val, 0.0);
5926
5927              set_state(PART:"clipper-edge-top", "default", 0.0);
5928              set_state(PART:"clipper-edge-left", "default", 0.0);
5929              set_state(PART:"clipper-edge-right", "default", 0.0);
5930              hide_corners();
5931           }
5932
5933           public message(Msg_Type:type, id, ...) {
5934              if ((type == MSG_FLOAT_SET) && (id == 1)) {
5935                 new Float:x, Float:y;
5936
5937                 x = getfarg(2);
5938                 y = getfarg(3);
5939
5940                 if (x < 0.0)
5941                   {
5942                      if (y < 0.0)      show_corner_top_left();
5943                      else if (y > 1.0) show_corner_bottom_left();
5944                      else              show_edge_left(y);
5945                   }
5946                 else if (x > 1.0)
5947                   {
5948                      if (y < 0.0)      show_corner_top_right();
5949                      else if (y > 1.0) show_corner_bottom_right();
5950                      else              show_edge_right(y);
5951                   }
5952                 else
5953                   {
5954                      if (y < 0.0)      show_edge_top(x);
5955                      else if (y > 1.0) show_edge_bottom(x);
5956                      else
5957                        {
5958                           hide_corners();
5959                           hide_edges();
5960                        }
5961                   }
5962              }
5963           }
5964        }
5965        parts {
5966            part { name: "clipper";
5967                type: RECT;
5968                description { state: "default" 0.0;
5969                    color: 255 255 255 0;
5970                    rel1.to: "elm.swallow.content";
5971                    rel1.offset: -64 -64;
5972                    rel2.to: "elm.swallow.content";
5973                    rel2.offset: 63 63;
5974                }
5975                description { state: "visible" 0.0;
5976                    inherit: "default" 0.0;
5977                    color: 255 255 255 255;
5978                }
5979            }
5980            part { name: "pop";
5981                mouse_events: 0;
5982                clip_to: "clipper";
5983                description { state: "default" 0.0;
5984                    min: 30 30;
5985                    rel1 {
5986                        to: "elm.swallow.content";
5987                        offset: -15 -15;
5988                    }
5989                    rel2 {
5990                        to: "elm.swallow.content";
5991                        offset: 14 14;
5992                    }
5993                    image {
5994                        normal: "tooltip-base.png";
5995                        border: 14 14 14 14;
5996                    }
5997                    image.middle: SOLID;
5998                }
5999            }
6000
6001 #define TT_CORNER(name_, rx, ry, ax, ay, ox, oy)                        \
6002            part { name: "corner-"name_;                                 \
6003               type: IMAGE;                                              \
6004               mouse_events: 0;                                          \
6005               clip_to: "clipper";                                       \
6006               description { state: "default" 0.0;                       \
6007                  color: 255 255 255 0;                                  \
6008                  visible: 0;                                            \
6009                  min: 14 14;                                            \
6010                  max: 14 14;                                            \
6011                  align: ax ay;                                          \
6012                  fixed: 1 1;                                            \
6013                  rel1 {                                                 \
6014                     relative: rx ry;                                    \
6015                     offset: ox oy;                                      \
6016                     to: "elm.swallow.content";                          \
6017                  }                                                      \
6018                  rel2 {                                                 \
6019                     relative: rx ry;                                    \
6020                     offset: ox oy;                                      \
6021                     to: "elm.swallow.content";                          \
6022                  }                                                      \
6023                  image.normal: "tooltip-corner-"name_"-tip.png";        \
6024               }                                                         \
6025               description { state: "visible" 0.0;                       \
6026                  inherit: "default" 0.0;                                \
6027                  color: 255 255 255 255;                                \
6028                  visible: 1;                                            \
6029               }                                                         \
6030            }
6031            TT_CORNER("top-left", 0, 0, 1, 1, 4, 4);
6032            TT_CORNER("top-right", 1, 0, 0, 1, -5, 4);
6033            TT_CORNER("bottom-left", 0, 1, 1, 0, 4, -5);
6034            TT_CORNER("bottom-right", 1, 1, 0, 0, -5, -5);
6035 #undef TT_CORNER
6036
6037 #define TT_EDGE_VERT(name_, rx, ax, ox)                                 \
6038            part { name: "clipper-edge-"name_;                           \
6039               type: RECT;                                               \
6040               clip_to: "clipper";                                       \
6041               description { state: "default" 0.0;                       \
6042                  color: 255 255 255 0;                                  \
6043                  visible: 0;                                            \
6044                  min: 14 14;                                            \
6045                  align: ax 0.5;                                         \
6046                  fixed: 1 1;                                            \
6047                  rel1 {                                                 \
6048                     relative: rx 0.0;                                   \
6049                     offset: ox 0;                                       \
6050                     to: "elm.swallow.content";                          \
6051                  }                                                      \
6052                  rel2 {                                                 \
6053                     relative: rx 1.0;                                   \
6054                     offset: ox 0;                                       \
6055                     to: "elm.swallow.content";                          \
6056                  }                                                      \
6057               }                                                         \
6058               description { state: "visible" 0.0;                       \
6059                  inherit: "default" 0.0;                                \
6060                  color: 255 255 255 255;                                \
6061                  visible: 1;                                            \
6062               }                                                         \
6063            }                                                            \
6064            part { name: "edge-area-"name_;                              \
6065               type: RECT;                                               \
6066               mouse_events: 0;                                          \
6067               clip_to: "clipper-edge-"name_;                            \
6068               description { state: "default" 0.0;                       \
6069                  color: 0 0 0 0;                                        \
6070                  min: 14 14;                                            \
6071                  align: ax 0.5;                                         \
6072                  fixed: 1 1;                                            \
6073                  rel1 {                                                 \
6074                     relative: rx 0.0;                                   \
6075                     offset: ox 0;                                       \
6076                     to: "elm.swallow.content";                          \
6077                  }                                                      \
6078                  rel2 {                                                 \
6079                     relative: rx 1.0;                                   \
6080                     offset: ox 0;                                       \
6081                     to: "elm.swallow.content";                          \
6082                  }                                                      \
6083               }                                                         \
6084            }                                                            \
6085            part { name: "edge-drag-"name_;                              \
6086               type: RECT;                                               \
6087               mouse_events: 0;                                          \
6088               clip_to: "clipper-edge-"name_;                            \
6089               dragable {                                                \
6090                   x: 0 0 0;                                             \
6091                   y: 1 1 0;                                             \
6092                   confine: "edge-area-"name_;                           \
6093               }                                                         \
6094               description { state: "default" 0.0;                       \
6095                  color: 0 0 0 0;                                        \
6096                  min: 14 14;                                            \
6097                  rel1.to: "edge-area-"name_;                            \
6098                  rel2.to: "edge-area-"name_;                            \
6099               }                                                         \
6100            }                                                            \
6101            part { name: "edge-img-"name_;                               \
6102               type: IMAGE;                                              \
6103               mouse_events: 0;                                          \
6104               clip_to: "clipper-edge-"name_;                            \
6105               description { state: "default" 0.0;                       \
6106                  min: 14 14;                                            \
6107                  max: 14 14;                                            \
6108                  align: ax 0.5;                                         \
6109                  fixed: 1 1;                                            \
6110                  rel1.to: "edge-drag-"name_;                            \
6111                  rel2.to: "edge-drag-"name_;                            \
6112                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6113               }                                                         \
6114            }
6115            TT_EDGE_VERT("left", 0, 1, -2);
6116            TT_EDGE_VERT("right", 1, 0, 1);
6117 #undef TT_EDGE_VERT
6118
6119 #define TT_EDGE_HORIZ(name_, ry, ay, oy)                                \
6120            part { name: "clipper-edge-"name_;                           \
6121               type: RECT;                                               \
6122               clip_to: "clipper";                                       \
6123               description { state: "default" 0.0;                       \
6124                  color: 255 255 255 0;                                  \
6125                  visible: 0;                                            \
6126                  min: 14 14;                                            \
6127                  align: 0.5 ay;                                         \
6128                  fixed: 1 1;                                            \
6129                  rel1 {                                                 \
6130                     relative: 0.0 ry;                                   \
6131                     offset: 0 oy;                                       \
6132                     to: "elm.swallow.content";                          \
6133                  }                                                      \
6134                  rel2 {                                                 \
6135                     relative: 1.0 ry;                                   \
6136                     offset: 0 oy;                                       \
6137                     to: "elm.swallow.content";                          \
6138                  }                                                      \
6139               }                                                         \
6140               description { state: "visible" 0.0;                       \
6141                  inherit: "default" 0.0;                                \
6142                  color: 255 255 255 255;                                \
6143                  visible: 1;                                            \
6144               }                                                         \
6145            }                                                            \
6146            part { name: "edge-area-"name_;                              \
6147               type: RECT;                                               \
6148               mouse_events: 0;                                          \
6149               clip_to: "clipper-edge-"name_;                            \
6150               description { state: "default" 0.0;                       \
6151                  color: 0 0 0 0;                                        \
6152                  min: 14 14;                                            \
6153                  align: 0.5 ay;                                         \
6154                  fixed: 1 1;                                            \
6155                  rel1 {                                                 \
6156                     relative: 0.0 ry;                                   \
6157                     offset: 0 oy;                                       \
6158                     to: "elm.swallow.content";                          \
6159                  }                                                      \
6160                  rel2 {                                                 \
6161                     relative: 1.0 ry;                                   \
6162                     offset: 0 oy;                                       \
6163                     to: "elm.swallow.content";                          \
6164                  }                                                      \
6165               }                                                         \
6166            }                                                            \
6167            part { name: "edge-drag-"name_;                              \
6168               type: RECT;                                               \
6169               mouse_events: 0;                                          \
6170               clip_to: "clipper-edge-"name_;                            \
6171               dragable {                                                \
6172                   x: 1 1 0;                                             \
6173                   y: 0 0 0;                                             \
6174                   confine: "edge-area-"name_;                           \
6175               }                                                         \
6176               description { state: "default" 0.0;                       \
6177                  color: 0 0 0 0;                                        \
6178                  min: 14 14;                                            \
6179                  rel1.to: "edge-area-"name_;                            \
6180                  rel2.to: "edge-area-"name_;                            \
6181               }                                                         \
6182            }                                                            \
6183            part { name: "edge-img-"name_;                               \
6184               type: IMAGE;                                              \
6185               mouse_events: 0;                                          \
6186               clip_to: "clipper-edge-"name_;                            \
6187               description { state: "default" 0.0;                       \
6188                  min: 14 14;                                            \
6189                  max: 14 14;                                            \
6190                  align: 0.5 ay;                                         \
6191                  fixed: 1 1;                                            \
6192                  rel1.to: "edge-drag-"name_;                            \
6193                  rel2.to: "edge-drag-"name_;                            \
6194                  image.normal: "tooltip-edge-"name_"-tip.png";          \
6195               }                                                         \
6196            }
6197            TT_EDGE_HORIZ("top", 0, 1, -2);
6198            TT_EDGE_HORIZ("bottom", 1, 0, 1);
6199 #undef TT_EDGE_HORIZ
6200
6201            part { name: "clipper_content";
6202                type: RECT;
6203                description { state: "default" 0.0;
6204                    color: 255 255 255 0;
6205                    rel1.to: "elm.swallow.content";
6206                    rel1.offset: -64 -64;
6207                    rel2.to: "elm.swallow.content";
6208                    rel2.offset: 63 63;
6209                }
6210                description { state: "visible" 0.0;
6211                    inherit: "default" 0.0;
6212                    color: 255 255 255 255;
6213                }
6214            }
6215            part { name: "elm.swallow.content";
6216                type: SWALLOW;
6217                clip_to: "clipper_content";
6218                description { state: "default" 0.0; }
6219            }
6220            programs {
6221                program {
6222                    name: "show0";
6223                    signal: "elm,action,show";
6224                    source: "elm";
6225                    action: ACTION_STOP;
6226                    target: "hide0";
6227                    target: "hide1";
6228                    target: "hide2";
6229                    target: "hide3";
6230                    after: "show1";
6231                    after: "show2";
6232                }
6233                program {
6234                    name: "show1";
6235                    action: STATE_SET "visible" 0.0;
6236                    transition: LINEAR 0.15;
6237                    target: "clipper";
6238                }
6239                program {
6240                    name: "show2";
6241                    in: 0.1 0.0;
6242                    action: STATE_SET "visible" 0.0;
6243                    transition: LINEAR 0.15;
6244                    target: "clipper_content";
6245                }
6246
6247                program {
6248                    name: "hide0";
6249                    signal: "elm,action,hide";
6250                    source: "elm";
6251                    action: ACTION_STOP;
6252                    target: "show0";
6253                    target: "show1";
6254                    target: "show2";
6255                    after: "hide1";
6256                    after: "hide2";
6257                    after: "hide3";
6258                }
6259                program {
6260                    name: "hide1";
6261                    script {
6262                       hide_corners();
6263                       hide_edges();
6264                    }
6265                }
6266                program {
6267                    name: "hide2";
6268                    action: STATE_SET "default" 0.0;
6269                    transition: LINEAR 0.1;
6270                    target: "clipper_content";
6271                }
6272                program {
6273                    name: "hide3";
6274                    in: 0.1 0.0;
6275                    action: STATE_SET "default" 0.0;
6276                    transition: LINEAR 0.1;
6277                    target: "clipper";
6278                }
6279            }
6280        }
6281    }
6282    group { name: "elm/tooltip/base/transparent";
6283       parts {
6284          part { name: "elm.swallow.content";
6285             type: SWALLOW;
6286             mouse_events:   0;
6287             scale: 1;
6288             description { state: "default" 0.0; }
6289          }
6290       }
6291    }
6292
6293 ///////////////////////////////////////////////////////////////////////////////
6294
6295    /* TODO: replicate diagonal swallow slots to the other hover styles */
6296    group { name: "elm/hover/base/default";
6297       images {
6298          image: "shad_circ.png" COMP;
6299       }
6300       parts {
6301          part { name: "elm.swallow.offset";
6302             type: SWALLOW;
6303             description { state: "default" 0.0;
6304                align: 0.0 0.0;
6305                rel1.relative: 0.0 0.0;
6306                rel2.relative: 0.0 0.0;
6307             }
6308          }
6309          part { name: "elm.swallow.size";
6310             type: SWALLOW;
6311             description { state: "default" 0.0;
6312                align: 0.0 0.0;
6313                rel1.to: "elm.swallow.offset";
6314                rel1.relative: 1.0 1.0;
6315                rel2.to: "elm.swallow.offset";
6316                rel2.relative: 1.0 1.0;
6317             }
6318          }
6319          part { name: "base";
6320             type: RECT;
6321             mouse_events: 1;
6322             description { state: "default" 0.0;
6323                color: 0 0 0 64;
6324             }
6325          }
6326          part { name: "shad";
6327             mouse_events:  0;
6328             description { state: "default" 0.0;
6329                image.normal: "shad_circ.png";
6330                rel1.to: "elm.swallow.size";
6331                rel1.offset: -32 -32;
6332                rel2.to: "elm.swallow.size";
6333                rel2.offset: 31 31;
6334                fill.smooth: 0;
6335             }
6336          }
6337          part { name: "box";
6338             type: RECT;
6339             mouse_events: 0;
6340             description { state: "default" 0.0;
6341                color: 0 0 0 0;
6342                rel1.to: "elm.swallow.size";
6343                rel1.offset: -2 -2;
6344                rel2.to: "elm.swallow.size";
6345                rel2.offset: 1 1;
6346             }
6347          }
6348          part { name: "elm.swallow.slot.left";
6349             type: SWALLOW;
6350             description { state: "default" 0.0;
6351                align: 1.0 0.5;
6352                rel1.to: "elm.swallow.slot.middle";
6353                rel1.relative: 0.0 0.0;
6354                rel1.offset: -1 0;
6355                rel2.to: "elm.swallow.slot.middle";
6356                rel2.relative: 0.0 1.0;
6357                rel2.offset: -1 -1;
6358             }
6359          }
6360          part { name: "elm.swallow.slot.top-left";
6361             type: SWALLOW;
6362             description { state: "default" 0.0;
6363                align: 1.0 1.0;
6364                rel1.to: "elm.swallow.slot.middle";
6365                rel1.relative: 0.0 0.0;
6366                rel1.offset: 0 0;
6367                rel2.to: "elm.swallow.slot.middle";
6368                rel2.relative: 0.0 0.0;
6369                rel2.offset: -1 -1;
6370             }
6371          }
6372          part { name: "elm.swallow.slot.top";
6373             type: SWALLOW;
6374             description { state: "default" 0.0;
6375                align: 0.5 1.0;
6376                rel1.to: "elm.swallow.slot.middle";
6377                rel1.relative: 0.0 0.0;
6378                rel1.offset: 0 -1;
6379                rel2.to: "elm.swallow.slot.middle";
6380                rel2.relative: 1.0 0.0;
6381                rel2.offset: -1 -1;
6382             }
6383          }
6384          part { name: "elm.swallow.slot.top-right";
6385             type: SWALLOW;
6386             description { state: "default" 0.0;
6387                align: 0.0 1.0;
6388                rel1.to: "elm.swallow.slot.middle";
6389                rel1.relative: 1.0 0.0;
6390                rel1.offset: 0 0;
6391                rel2.to: "elm.swallow.slot.middle";
6392                rel2.relative: 1.0 0.0;
6393                rel2.offset: -1 -1;
6394             }
6395          }
6396          part { name: "elm.swallow.slot.right";
6397             type: SWALLOW;
6398             description { state: "default" 0.0;
6399                align: 0.0 0.5;
6400                rel1.to: "elm.swallow.slot.middle";
6401                rel1.relative: 1.0 0.0;
6402                rel1.offset: 0 0;
6403                rel2.to: "elm.swallow.slot.middle";
6404                rel2.relative: 1.0 1.0;
6405                rel2.offset: 0 -1;
6406             }
6407          }
6408          part { name: "elm.swallow.slot.bottom-right";
6409             type: SWALLOW;
6410             description { state: "default" 0.0;
6411                align: 0.0 0.0;
6412                rel1.to: "elm.swallow.slot.middle";
6413                rel1.relative: 1.0 1.0;
6414                rel1.offset: 0 0;
6415                rel2.to: "elm.swallow.slot.middle";
6416                rel2.relative: 1.0 1.0;
6417                rel2.offset: -1 -1;
6418             }
6419          }
6420          part { name: "elm.swallow.slot.bottom";
6421             type: SWALLOW;
6422             description { state: "default" 0.0;
6423                align: 0.5 0.0;
6424                rel1.to: "elm.swallow.slot.middle";
6425                rel1.relative: 0.0 1.0;
6426                rel1.offset: 0 0;
6427                rel2.to: "elm.swallow.slot.middle";
6428                rel2.relative: 1.0 1.0;
6429                rel2.offset: -1 0;
6430             }
6431          }
6432          part { name: "elm.swallow.slot.bottom-left";
6433             type: SWALLOW;
6434             description { state: "default" 0.0;
6435                align: 1.0 0.0;
6436                rel1.to: "elm.swallow.slot.middle";
6437                rel1.relative: 0.0 1.0;
6438                rel1.offset: 0 0;
6439                rel2.to: "elm.swallow.slot.middle";
6440                rel2.relative: 0.0 1.0;
6441                rel2.offset: -1 0;
6442             }
6443          }
6444          part { name: "elm.swallow.slot.middle";
6445             type: SWALLOW;
6446             description { state: "default" 0.0;
6447                rel1.to: "elm.swallow.size";
6448                rel2.to: "elm.swallow.size";
6449             }
6450          }
6451       }
6452       programs {
6453          program { name: "end";
6454             signal: "mouse,up,1";
6455             source: "base";
6456             action: SIGNAL_EMIT "elm,action,dismiss" "";
6457          }
6458       }
6459    }
6460
6461    group { name: "elm/hover/base/popout";
6462       images {
6463          image: "shad_circ.png" COMP;
6464          image: "bt_dis_base.png" COMP;
6465          image: "bt_dis_hilight.png" COMP;
6466       }
6467       parts {
6468          part { name: "elm.swallow.offset";
6469             type: SWALLOW;
6470             description { state: "default" 0.0;
6471                align: 0.0 0.0;
6472                rel1.relative: 0.0 0.0;
6473                rel2.relative: 0.0 0.0;
6474             }
6475          }
6476          part { name: "elm.swallow.size";
6477             type: SWALLOW;
6478             description { state: "default" 0.0;
6479                align: 0.0 0.0;
6480                rel1.to: "elm.swallow.offset";
6481                rel1.relative: 1.0 1.0;
6482                rel2.to: "elm.swallow.offset";
6483                rel2.relative: 1.0 1.0;
6484             }
6485          }
6486          part { name: "base";
6487             type: RECT;
6488             mouse_events: 1;
6489             description { state: "default" 0.0;
6490                color: 0 0 0 0;
6491             }
6492             description { state: "visible" 0.0;
6493                inherit: "default" 1.0;
6494                color: 0 0 0 64;
6495             }
6496          }
6497          part { name: "leftclip";
6498             type: RECT;
6499             description { state: "default" 0.0;
6500                rel2.to_x: "pop";
6501                rel2.relative: 0.0 1.0;
6502                rel2.offset: 1 -1;
6503             }
6504          }
6505          part { name: "left";
6506             clip_to: "leftclip";
6507             description { state: "default" 0.0;
6508                visible: 0;
6509                rel1.to: "elm.swallow.slot.left";
6510                rel1.offset: -5 -5;
6511                rel2.to: "elm.swallow.slot.left";
6512                rel2.offset: 4 4;
6513                image {
6514                   normal: "bt_dis_base.png";
6515                   border: 4 4 4 4;
6516                }
6517                image.middle: SOLID;
6518             }
6519             description { state: "visible" 0.0;
6520                inherit: "default" 0.0;
6521                visible: 1;
6522             }
6523          }
6524          part { name: "elm.swallow.slot.left";
6525             type: SWALLOW;
6526             clip_to: "leftclip";
6527             description { state: "default" 0.0;
6528                align: 0.0 0.5;
6529                rel1.to: "elm.swallow.slot.middle";
6530                rel1.relative: 0.0 0.0;
6531                rel1.offset: -1 0;
6532                rel2.to: "elm.swallow.slot.middle";
6533                rel2.relative: 0.0 1.0;
6534                rel2.offset: -1 -1;
6535             }
6536             description { state: "visible" 0.0;
6537                inherit: "default" 0.0;
6538                rel1.offset: -7 0;
6539                rel2.offset: -7 -1;
6540                align: 1.0 0.5;
6541             }
6542          }
6543          part { name: "leftover";
6544             clip_to: "leftclip";
6545             mouse_events: 0;
6546             description { state: "default" 0.0;
6547                rel1.to: "left";
6548                rel2.to: "left";
6549                rel2.relative: 1.0 0.5;
6550                image {
6551                   normal: "bt_dis_hilight.png";
6552                   border: 4 4 4 0;
6553                }
6554             }
6555          }
6556          part { name: "rightclip";
6557             type: RECT;
6558             description { state: "default" 0.0;
6559                rel1.to_x: "pop";
6560                rel1.relative: 1.0 0.0;
6561                rel1.offset: -2 0;
6562             }
6563          }
6564          part { name: "right";
6565             clip_to: "rightclip";
6566             description { state: "default" 0.0;
6567                visible: 0;
6568                rel1.to: "elm.swallow.slot.right";
6569                rel1.offset: -5 -5;
6570                rel2.to: "elm.swallow.slot.right";
6571                rel2.offset: 4 4;
6572                image {
6573                   normal: "bt_dis_base.png";
6574                   border: 4 4 4 4;
6575                }
6576                image.middle: SOLID;
6577             }
6578             description { state: "visible" 0.0;
6579                inherit: "default" 0.0;
6580                visible: 1;
6581             }
6582          }
6583          part { name: "elm.swallow.slot.right";
6584             type: SWALLOW;
6585             clip_to: "rightclip";
6586             description { state: "default" 0.0;
6587                align: 1.0 0.5;
6588                rel1.to: "elm.swallow.slot.middle";
6589                rel1.relative: 1.0 0.0;
6590                rel1.offset: 0 0;
6591                rel2.to: "elm.swallow.slot.middle";
6592                rel2.relative: 1.0 1.0;
6593                rel2.offset: 0 -1;
6594             }
6595             description { state: "visible" 0.0;
6596                inherit: "default" 0.0;
6597                rel1.offset: 6 0;
6598                rel2.offset: 6 -1;
6599                align: 0.0 0.5;
6600             }
6601          }
6602          part { name: "rightover";
6603             clip_to: "rightclip";
6604             mouse_events: 0;
6605             description { state: "default" 0.0;
6606                rel1.to: "right";
6607                rel2.to: "right";
6608                rel2.relative: 1.0 0.5;
6609                image {
6610                   normal: "bt_dis_hilight.png";
6611                   border: 4 4 4 0;
6612                }
6613             }
6614          }
6615          part { name: "topclip";
6616             type: RECT;
6617             description { state: "default" 0.0;
6618                rel2.to_y: "pop";
6619                rel2.relative: 1.0 0.0;
6620                rel2.offset: -1 1;
6621             }
6622          }
6623          part { name: "top";
6624             clip_to: "topclip";
6625             description { state: "default" 0.0;
6626                visible: 0;
6627                rel1.to: "elm.swallow.slot.top";
6628                rel1.offset: -5 -5;
6629                rel2.to: "elm.swallow.slot.top";
6630                rel2.offset: 4 4;
6631                image {
6632                   normal: "bt_dis_base.png";
6633                   border: 4 4 4 4;
6634                }
6635                image.middle: SOLID;
6636             }
6637             description { state: "visible" 0.0;
6638                inherit: "default" 0.0;
6639                visible: 1;
6640             }
6641          }
6642          part { name: "elm.swallow.slot.top";
6643             type: SWALLOW;
6644             clip_to: "topclip";
6645             description { state: "default" 0.0;
6646                visible: 1;
6647                align: 0.5 0.0;
6648                rel1.to: "elm.swallow.slot.middle";
6649                rel1.relative: 0.0 0.0;
6650                rel1.offset: 0 -1;
6651                rel2.to: "elm.swallow.slot.middle";
6652                rel2.relative: 1.0 0.0;
6653                rel2.offset: -1 -1;
6654             }
6655             description { state: "visible" 0.0;
6656                inherit: "default" 0.0;
6657                rel1.offset: 0 -7;
6658                rel2.offset: -1 -7;
6659                align: 0.5 1.0;
6660             }
6661          }
6662          part { name: "topover";
6663             clip_to: "topclip";
6664             mouse_events: 0;
6665             description { state: "default" 0.0;
6666                rel1.to: "top";
6667                rel2.to: "top";
6668                rel2.relative: 1.0 0.5;
6669                image {
6670                   normal: "bt_dis_hilight.png";
6671                   border: 4 4 4 0;
6672                }
6673             }
6674          }
6675          part { name: "bottomclip";
6676             type: RECT;
6677             description { state: "default" 0.0;
6678                rel1.to_y: "pop";
6679                rel1.relative: 0.0 1.0;
6680                rel1.offset: -1 -2;
6681             }
6682          }
6683          part { name: "bottom";
6684             clip_to: "bottomclip";
6685             description { state: "default" 0.0;
6686                visible: 0;
6687                rel1.to: "elm.swallow.slot.bottom";
6688                rel1.offset: -5 -5;
6689                rel2.to: "elm.swallow.slot.bottom";
6690                rel2.offset: 4 4;
6691                image {
6692                   normal: "bt_dis_base.png";
6693                   border: 4 4 4 4;
6694                }
6695                image.middle: SOLID;
6696             }
6697             description { state: "visible" 0.0;
6698                inherit: "default" 0.0;
6699                visible: 1;
6700             }
6701          }
6702          part { name: "elm.swallow.slot.bottom";
6703             type: SWALLOW;
6704             clip_to: "bottomclip";
6705             description { state: "default" 0.0;
6706                align: 0.5 1.0;
6707                rel1.to: "elm.swallow.slot.middle";
6708                rel1.relative: 0.0 1.0;
6709                rel1.offset: 0 0;
6710                rel2.to: "elm.swallow.slot.middle";
6711                rel2.relative: 1.0 1.0;
6712                rel2.offset: -1 0;
6713             }
6714             description { state: "visible" 0.0;
6715                inherit: "default" 0.0;
6716                rel1.offset: 0 6;
6717                rel2.offset: -1 6;
6718                align: 0.5 0.0;
6719             }
6720          }
6721          part { name: "bottomover";
6722             clip_to: "bottomclip";
6723             mouse_events: 0;
6724             description { state: "default" 0.0;
6725                rel1.to: "bottom";
6726                rel2.to: "bottom";
6727                rel2.relative: 1.0 0.5;
6728                image {
6729                   normal: "bt_dis_hilight.png";
6730                   border: 4 4 4 0;
6731                }
6732             }
6733          }
6734          part { name: "shad";
6735             mouse_events:  0;
6736             description { state: "default" 0.0;
6737                image.normal: "shad_circ.png";
6738                rel1.to: "elm.swallow.size";
6739                rel1.offset: -64 -64;
6740                rel2.to: "elm.swallow.size";
6741                rel2.offset: 63 63;
6742                fill.smooth: 0;
6743             }
6744          }
6745          part { name: "pop";
6746             mouse_events: 1;
6747             description { state: "default" 0.0;
6748                rel1.to: "elm.swallow.slot.middle";
6749                rel1.offset: -5 -5;
6750                rel2.to: "elm.swallow.slot.middle";
6751                rel2.offset: 4 4;
6752                image {
6753                   normal: "bt_dis_base.png";
6754                   border: 4 4 4 4;
6755                }
6756                image.middle: SOLID;
6757             }
6758          }
6759          part { name: "elm.swallow.slot.middle";
6760             type: SWALLOW;
6761             description { state: "default" 0.0;
6762                rel1.to: "elm.swallow.size";
6763                rel2.to: "elm.swallow.size";
6764             }
6765          }
6766          part { name: "popover";
6767             mouse_events: 0;
6768             description { state: "default" 0.0;
6769                rel1.to: "pop";
6770                rel2.to: "pop";
6771                rel2.relative: 1.0 0.5;
6772                image {
6773                   normal: "bt_dis_hilight.png";
6774                   border: 4 4 4 0;
6775                }
6776             }
6777          }
6778       }
6779       programs {
6780          program { name: "end";
6781             signal: "mouse,up,1";
6782             source: "base";
6783             action: SIGNAL_EMIT "elm,action,dismiss" "";
6784          }
6785
6786          program { name: "show";
6787             signal: "elm,action,show";
6788             source: "elm";
6789             action: STATE_SET "visible" 0.0;
6790 //            transition: DECELERATE 0.5;
6791             target: "base";
6792          }
6793          program { name: "hide";
6794             signal: "elm,action,hide";
6795             source: "elm";
6796             action: STATE_SET "default" 0.0;
6797 //            transition: DECELERATE 0.5;
6798             target: "base";
6799          }
6800
6801          program { name: "leftshow";
6802             signal: "elm,action,slot,left,show";
6803             source: "elm";
6804             action: STATE_SET "visible" 0.0;
6805             transition: DECELERATE 0.5;
6806             target: "left";
6807             target: "elm.swallow.slot.left";
6808          }
6809          program { name: "lefthide";
6810             signal: "elm,action,slot,left,hide";
6811             source: "elm";
6812             action: STATE_SET "default" 0.0;
6813             transition: DECELERATE 0.5;
6814             target: "left";
6815             target: "elm.swallow.slot.left";
6816          }
6817          program { name: "rightshow";
6818             signal: "elm,action,slot,right,show";
6819             source: "elm";
6820             action: STATE_SET "visible" 0.0;
6821             transition: DECELERATE 0.5;
6822             target: "right";
6823             target: "elm.swallow.slot.right";
6824          }
6825          program { name: "righthide";
6826             signal: "elm,action,slot,right,hide";
6827             source: "elm";
6828             action: STATE_SET "default" 0.0;
6829             transition: DECELERATE 0.5;
6830             target: "right";
6831             target: "elm.swallow.slot.right";
6832          }
6833          program { name: "topshow";
6834             signal: "elm,action,slot,top,show";
6835             source: "elm";
6836             action: STATE_SET "visible" 0.0;
6837             transition: DECELERATE 0.5;
6838             target: "top";
6839             target: "elm.swallow.slot.top";
6840          }
6841          program { name: "tophide";
6842             signal: "elm,action,slot,top,hide";
6843             source: "elm";
6844             action: STATE_SET "default" 0.0;
6845             transition: DECELERATE 0.5;
6846             target: "top";
6847             target: "elm.swallow.slot.top";
6848          }
6849          program { name: "bottomshow";
6850             signal: "elm,action,slot,bottom,show";
6851             source: "elm";
6852             action: STATE_SET "visible" 0.0;
6853             transition: DECELERATE 0.5;
6854             target: "bottom";
6855             target: "elm.swallow.slot.bottom";
6856          }
6857          program { name: "bottomhide";
6858             signal: "elm,action,slot,bottom,hide";
6859             source: "elm";
6860             action: STATE_SET "default" 0.0;
6861             transition: DECELERATE 0.5;
6862             target: "bottom";
6863             target: "elm.swallow.slot.bottom";
6864          }
6865       }
6866    }
6867
6868    //In the hover used by the menu only the bottom part is used.
6869    group { name: "elm/hover/base/menu";
6870        images {
6871            image: "shad_circ.png" COMP;
6872            image: "bt_dis_base.png" COMP;
6873        }
6874        parts {
6875            part { name: "elm.swallow.offset";
6876                type: SWALLOW;
6877                description { state: "default" 0.0;
6878                    align: 0.0 0.0;
6879                    rel1.relative: 0.0 0.0;
6880                    rel2.relative: 0.0 0.0;
6881                }
6882            }
6883            part { name: "elm.swallow.size";
6884                type: SWALLOW;
6885                description { state: "default" 0.0;
6886                    align: 0.0 0.0;
6887                    rel1.to: "elm.swallow.offset";
6888                    rel1.relative: 1.0 1.0;
6889                    rel2.to: "elm.swallow.offset";
6890                    rel2.relative: 1.0 1.0;
6891                }
6892            }
6893            part { name: "base";
6894                type: RECT;
6895                mouse_events: 1;
6896                description { state: "default" 0.0;
6897                    color: 0 0 0 0;
6898                }
6899                description { state: "visible" 0.0;
6900                    inherit: "default" 1.0;
6901                    color: 0 0 0 64;
6902                }
6903            }
6904            part { name: "elm.swallow.slot.left";
6905                type: SWALLOW;
6906                description { state: "default" 0.0;
6907                }
6908            }
6909            part { name: "elm.swallow.slot.right";
6910                type: SWALLOW;
6911                description { state: "default" 0.0;
6912                }
6913            }
6914            part { name: "elm.swallow.slot.top";
6915                type: SWALLOW;
6916                description { state: "default" 0.0;
6917                }
6918                description { state: "visible" 0.0;
6919                    inherit: "default" 0.0;
6920                }
6921            }
6922            part { name: "bottomclip";
6923                type: RECT;
6924                description { state: "default" 0.0;
6925                    rel1.to_y: "pop";
6926                    rel1.relative: 0.0 1.0;
6927                    rel1.offset: -1 -2;
6928                }
6929            }
6930            part { name: "bottom";
6931                clip_to: "bottomclip";
6932                description { state: "default" 0.0;
6933                    visible: 0;
6934                    rel1.to: "elm.swallow.slot.bottom";
6935                    rel1.offset: -5 -5;
6936                    rel2.to: "elm.swallow.slot.bottom";
6937                    rel2.offset: 4 4;
6938                    image {
6939                        normal: "bt_dis_base.png";
6940                        border: 4 4 4 4;
6941                    }
6942                    image.middle: SOLID;
6943                }
6944                description { state: "visible" 0.0;
6945                    inherit: "default" 0.0;
6946                    visible: 1;
6947                }
6948            }
6949            part { name: "elm.swallow.slot.bottom";
6950                type: SWALLOW;
6951                clip_to: "bottomclip";
6952                description { state: "default" 0.0;
6953                    align: 0.5 1.0;
6954                    rel1.to: "elm.swallow.slot.middle";
6955                    rel1.relative: 0.0 1.0;
6956                    rel1.offset: 0 0;
6957                    rel2.to: "elm.swallow.slot.middle";
6958                    rel2.relative: 1.0 1.0;
6959                    rel2.offset: -1 0;
6960                }
6961                description { state: "visible" 0.0;
6962                    inherit: "default" 0.0;
6963                    rel1.offset: 0 6;
6964                    rel2.offset: -1 6;
6965                    align: 0.5 0.0;
6966                }
6967            }
6968            part { name: "pop";
6969                mouse_events: 1;
6970                repeat_events:1;
6971                description { state: "default" 0.0;
6972                    rel1.to: "elm.swallow.slot.middle";
6973                    rel1.offset: -5 -5;
6974                    rel2.to: "elm.swallow.slot.middle";
6975                    rel2.offset: 4 4;
6976                }
6977            }
6978            part { name: "elm.swallow.slot.middle";
6979                type: SWALLOW;
6980                repeat_events:1;
6981                description { state: "default" 0.0;
6982                    rel1.to: "elm.swallow.size";
6983                    rel2.to: "elm.swallow.size";
6984                }
6985            }
6986        }
6987        programs {
6988            program { name: "end";
6989                signal: "mouse,up,1";
6990                source: "base";
6991                action: SIGNAL_EMIT "elm,action,dismiss" "";
6992            }
6993            program { name: "show";
6994                signal: "elm,action,show";
6995                source: "elm";
6996                action: STATE_SET "visible" 0.0;
6997                        //            transition: DECELERATE 0.5;
6998                target: "base";
6999            }
7000            program { name: "hide";
7001                signal: "elm,action,hide";
7002                source: "elm";
7003                action: STATE_SET "default" 0.0;
7004                        //            transition: DECELERATE 0.5;
7005                target: "base";
7006            }
7007            program { name: "bottomshow";
7008                signal: "elm,action,slot,bottom,show";
7009                source: "elm";
7010                action: STATE_SET "visible" 0.0;
7011                transition: DECELERATE 0.3;
7012                target: "bottom";
7013                target: "elm.swallow.slot.bottom";
7014            }
7015            program { name: "bottomhide";
7016                signal: "elm,action,slot,bottom,hide";
7017                source: "elm";
7018                action: STATE_SET "default" 0.0;
7019                transition: DECELERATE 0.5;
7020                target: "bottom";
7021                target: "elm.swallow.slot.bottom";
7022            }
7023        }
7024    }
7025
7026    //In the hover used by the submenu only the bottom part is used
7027    //and no part should interact except the bottom area
7028    group { name: "elm/hover/base/submenu";
7029        images {
7030            image: "shad_circ.png" COMP;
7031            image: "bt_dis_base.png" COMP;
7032        }
7033        parts {
7034            part { name: "elm.swallow.offset";
7035                type: SWALLOW;
7036                repeat_events:1;
7037                description { state: "default" 0.0;
7038                    align: 0.0 0.0;
7039                    rel1.relative: 0.0 0.0;
7040                    rel2.relative: 0.0 0.0;
7041                }
7042            }
7043            part { name: "elm.swallow.size";
7044                type: SWALLOW;
7045                description { state: "default" 0.0;
7046                    align: 0.0 0.0;
7047                    rel1.to: "elm.swallow.offset";
7048                    rel1.relative: 1.0 1.0;
7049                    rel2.to: "elm.swallow.offset";
7050                    rel2.relative: 1.0 1.0;
7051                }
7052            }
7053            //here we do non catch events like the hover hover does
7054            part { name: "base";
7055                type: RECT;
7056                mouse_events: 1;
7057                description { state: "default" 0.0;
7058                    color: 0 0 0 0;
7059                    visible: 0;
7060                }
7061            }
7062            part { name: "elm.swallow.slot.left";
7063                type: SWALLOW;
7064                description { state: "default" 0.0;
7065                }
7066            }
7067            part { name: "elm.swallow.slot.right";
7068                type: SWALLOW;
7069                description { state: "default" 0.0;
7070                }
7071            }
7072            part { name: "elm.swallow.slot.top";
7073                type: SWALLOW;
7074                description { state: "default" 0.0;
7075                }
7076            }
7077            part { name: "bottomclip";
7078                type: RECT;
7079                description { state: "default" 0.0;
7080                    rel1.to_y: "pop";
7081                    rel1.relative: 0.0 1.0;
7082                    rel1.offset: -1 -2;
7083                }
7084            }
7085            part { name: "bottom";
7086                clip_to: "bottomclip";
7087                description { state: "default" 0.0;
7088                    visible: 0;
7089                    rel1.to: "elm.swallow.slot.bottom";
7090                    rel1.offset: -5 -5;
7091                    rel2.to: "elm.swallow.slot.bottom";
7092                    rel2.offset: 4 4;
7093                    image {
7094                        normal: "bt_dis_base.png";
7095                        border: 4 4 4 4;
7096                    }
7097                    image.middle: SOLID;
7098                }
7099                description { state: "visible" 0.0;
7100                    inherit: "default" 0.0;
7101                    visible: 1;
7102                }
7103            }
7104            part { name: "elm.swallow.slot.bottom";
7105                type: SWALLOW;
7106                clip_to: "bottomclip";
7107                description { state: "default" 0.0;
7108                    align: 0.5 1.0;
7109                    rel1.to: "elm.swallow.slot.middle";
7110                    rel1.relative: 0.0 1.0;
7111                    rel1.offset: 0 0;
7112                    rel2.to: "elm.swallow.slot.middle";
7113                    rel2.relative: 1.0 1.0;
7114                    rel2.offset: -1 0;
7115                }
7116                description { state: "visible" 0.0;
7117                    inherit: "default" 0.0;
7118                    rel1.offset: 0 6;
7119                    rel2.offset: -1 6;
7120                    align: 0.5 0.0;
7121                }
7122            }
7123            part { name: "pop";
7124                mouse_events: 1;
7125                repeat_events:1;
7126                description { state: "default" 0.0;
7127                    rel1.to: "elm.swallow.slot.middle";
7128                    rel1.offset: -5 -5;
7129                    rel2.to: "elm.swallow.slot.middle";
7130                    rel2.offset: 4 4;
7131                }
7132            }
7133            part { name: "elm.swallow.slot.middle";
7134                type: SWALLOW;
7135                repeat_events:1;
7136                description { state: "default" 0.0;
7137                    rel1.to: "elm.swallow.size";
7138                    rel2.to: "elm.swallow.size";
7139                }
7140            }
7141        }
7142        programs {
7143            program { name: "end";
7144                signal: "mouse,up,1";
7145                source: "base";
7146                action: SIGNAL_EMIT "elm,action,dismiss" "";
7147            }
7148            program { name: "show";
7149                signal: "elm,action,show";
7150                source: "elm";
7151                action: STATE_SET "visible" 0.0;
7152                        //            transition: DECELERATE 0.5;
7153                target: "base";
7154            }
7155            program { name: "hide";
7156                signal: "elm,action,hide";
7157                source: "elm";
7158                action: STATE_SET "default" 0.0;
7159                        //            transition: DECELERATE 0.5;
7160                target: "base";
7161            }
7162            program { name: "bottomshow";
7163                signal: "elm,action,slot,bottom,show";
7164                source: "elm";
7165                action: STATE_SET "visible" 0.0;
7166                transition: DECELERATE 0.3;
7167                target: "bottom";
7168                target: "elm.swallow.slot.bottom";
7169            }
7170            program { name: "bottomhide";
7171                signal: "elm,action,slot,bottom,hide";
7172                source: "elm";
7173                action: STATE_SET "default" 0.0;
7174                transition: DECELERATE 0.5;
7175                target: "bottom";
7176                target: "elm.swallow.slot.bottom";
7177            }
7178        }
7179    }
7180
7181    group { name: "elm/hover/base/hoversel_vertical/default";
7182       alias: "elm/hover/base/hoversel_vertical/entry";
7183       images {
7184 //         image: "shad_circ.png" COMP;
7185          image: "bt_base2.png" COMP;
7186          image: "bt_hilight.png" COMP;
7187          image: "bt_shine.png" COMP;
7188          image: "outdent-top.png" COMP;
7189          image: "outdent-bottom.png" COMP;
7190       }
7191       parts {
7192          part { name: "elm.swallow.offset";
7193             type: SWALLOW;
7194             description { state: "default" 0.0;
7195                align: 0.0 0.0;
7196                rel1.relative: 0.0 0.0;
7197                rel2.relative: 0.0 0.0;
7198             }
7199          }
7200          part { name: "elm.swallow.size";
7201             type: SWALLOW;
7202             description { state: "default" 0.0;
7203                align: 0.0 0.0;
7204                rel1.to: "elm.swallow.offset";
7205                rel1.relative: 1.0 1.0;
7206                rel2.to: "elm.swallow.offset";
7207                rel2.relative: 1.0 1.0;
7208             }
7209          }
7210 /*
7211         part { name: "shad";
7212             mouse_events:  0;
7213             description { state: "default" 0.0;
7214                image.normal: "shad_circ.png";
7215                rel1.to: "button_image";
7216                rel1.offset: -64 -64;
7217                rel2.to: "button_image";
7218                rel2.offset: 63 63;
7219                fill.smooth: 0;
7220             }
7221          }
7222  */
7223          part { name: "button_image";
7224             mouse_events: 1;
7225             description { state: "default" 0.0;
7226                rel1.to_x: "elm.swallow.slot.top";
7227                rel1.to_y: "elm.swallow.slot.top";
7228                rel1.offset: -2 -6;
7229                rel2.to_x: "elm.swallow.slot.top";
7230                rel2.to_y: "elm.swallow.slot.bottom";
7231                rel2.offset: 1 5;
7232                image {
7233                   normal: "bt_base2.png";
7234                   border: 7 7 7 7;
7235                }
7236                image.middle: SOLID;
7237             }
7238             description { state: "bottom" 0.0;
7239                rel1.to_x: "elm.swallow.slot.bottom";
7240                rel1.to_y: "elm.swallow.slot.top";
7241                rel1.offset: -2 -6;
7242                rel2.to_x: "elm.swallow.slot.bottom";
7243                rel2.to_y: "elm.swallow.slot.bottom";
7244                rel2.offset: 1 5;
7245                image {
7246                   normal: "bt_base2.png";
7247                   border: 7 7 7 7;
7248                }
7249                image.middle: SOLID;
7250             }
7251          }
7252
7253          part { name: "base";
7254             type: RECT;
7255             mouse_events: 1;
7256             description { state: "default" 0.0;
7257                color: 0 0 0 0;
7258             }
7259             description { state: "visible" 0.0;
7260                inherit: "default" 1.0;
7261                color: 0 0 0 64;
7262             }
7263          }
7264
7265          part { name: "topclip";
7266             type: RECT;
7267             description { state: "default" 0.0;
7268                rel2.to_y: "edge_top";
7269                rel2.relative: 1.0 0.0;
7270                rel2.offset: -1 7;
7271             }
7272          }
7273          part { name: "elm.swallow.slot.top";
7274             type: SWALLOW;
7275             clip_to: "topclip";
7276             description { state: "default" 0.0;
7277                visible: 1;
7278                align: 0.5 0.0;
7279                rel1.to: "elm.swallow.slot.middle";
7280                rel1.relative: 0.0 0.0;
7281                rel1.offset: 0 -1;
7282                rel2.to: "elm.swallow.slot.middle";
7283                rel2.relative: 1.0 0.0;
7284                rel2.offset: -1 -1;
7285             }
7286             description { state: "visible" 0.0;
7287                inherit: "default" 0.0;
7288                rel1.offset: 0 -7;
7289                rel2.offset: -1 -7;
7290                align: 0.5 1.0;
7291             }
7292          }
7293
7294          part { name: "bottomclip";
7295             type: RECT;
7296             description { state: "default" 0.0;
7297                rel1.to_y: "edge_bottom";
7298                rel1.relative: 0.0 1.0;
7299                rel1.offset: -1 -8;
7300             }
7301          }
7302          part { name: "elm.swallow.slot.bottom";
7303             type: SWALLOW;
7304             clip_to: "bottomclip";
7305             description { state: "default" 0.0;
7306                align: 0.5 1.0;
7307                rel1.to: "elm.swallow.slot.middle";
7308                rel1.relative: 0.0 1.0;
7309                rel1.offset: 0 0;
7310                rel2.to: "elm.swallow.slot.middle";
7311                rel2.relative: 1.0 1.0;
7312                rel2.offset: -1 0;
7313             }
7314             description { state: "visible" 0.0;
7315                inherit: "default" 0.0;
7316                rel1.offset: 0 6;
7317                rel2.offset: -1 6;
7318                align: 0.5 0.0;
7319             }
7320          }
7321
7322          part {          name: "over1";
7323             mouse_events: 0;
7324             description { state: "default" 0.0;
7325                rel1.to: "button_image";
7326                rel2.to: "button_image";
7327                rel2.relative: 1.0 0.5;
7328                image {
7329                   normal: "bt_hilight.png";
7330                   border: 7 7 7 0;
7331                }
7332             }
7333          }
7334          part { name: "over2";
7335             mouse_events: 1;
7336             repeat_events: 1;
7337             ignore_flags: ON_HOLD;
7338             description { state: "default" 0.0;
7339                rel1.to: "button_image";
7340                rel2.to: "button_image";
7341                image {
7342                   normal: "bt_shine.png";
7343                   border: 7 7 7 7;
7344                }
7345             }
7346          }
7347          part { name: "edge_top";
7348             mouse_events:  0;
7349             description { state: "default" 0.0;
7350                visible: 0;
7351                rel1 {
7352                   to: "elm.swallow.size";
7353                   offset: 0 -10;
7354                }
7355                rel2 {
7356                   to: "elm.swallow.size";
7357                }
7358                image.normal: "outdent-bottom.png";
7359                image.border: 0 0 13 0;
7360                fill.smooth: 0;
7361             }
7362             description { state: "visible" 0.0;
7363                inherit: "default" 0.0;
7364                visible: 1;
7365             }
7366          }
7367          part { name: "edge_bottom";
7368             mouse_events:  0;
7369             description { state: "default" 0.0;
7370                visible: 0;
7371                rel1 {
7372                   to: "elm.swallow.size";
7373                }
7374                rel2 {
7375                   to: "elm.swallow.size";
7376                   offset: -1 9;
7377                }
7378                image.normal: "outdent-top.png";
7379                image.border: 0 0 0 13;
7380                fill.smooth: 0;
7381             }
7382             description { state: "visible" 0.0;
7383                inherit: "default" 0.0;
7384                visible: 1;
7385             }
7386          }
7387          part { name: "elm.swallow.slot.middle";
7388             type: SWALLOW;
7389             description { state: "default" 0.0;
7390                rel1.to: "elm.swallow.size";
7391                rel2.to: "elm.swallow.size";
7392             }
7393          }
7394       }
7395       programs {
7396          program { name: "end";
7397             signal: "mouse,up,1";
7398             source: "base";
7399             action: SIGNAL_EMIT "elm,action,dismiss" "";
7400          }
7401
7402          program { name: "show";
7403             signal: "elm,action,show";
7404             source: "elm";
7405             action: STATE_SET "visible" 0.0;
7406 //            transition: DECELERATE 0.5;
7407             target: "base";
7408          }
7409          program { name: "hide";
7410             signal: "elm,action,hide";
7411             source: "elm";
7412             action: STATE_SET "default" 0.0;
7413 //            transition: DECELERATE 0.5;
7414             target: "base";
7415          }
7416          program { name: "topshow";
7417             signal: "elm,action,slot,top,show";
7418             source: "elm";
7419             action: STATE_SET "visible" 0.0;
7420             target: "edge_top";
7421             after: "topshow2";
7422          }
7423          program { name: "topshow2";
7424             action: STATE_SET "visible" 0.0;
7425             transition: DECELERATE 0.5;
7426             target: "elm.swallow.slot.top";
7427          }
7428          program { name: "topshow3";
7429             signal: "elm,action,slot,top,show";
7430             source: "elm";
7431             action: STATE_SET "default" 0.0;
7432             target: "button_image";
7433          }
7434          program { name: "tophide";
7435             signal: "elm,action,slot,top,hide";
7436             source: "elm";
7437             action: STATE_SET "default" 0.0;
7438             transition: DECELERATE 0.5;
7439             target: "elm.swallow.slot.top";
7440             after: "tophide2";
7441          }
7442          program { name: "tophide2";
7443             action: STATE_SET "default" 0.0;
7444             target: "edge_top";
7445          }
7446          program { name: "bottomshow";
7447             signal: "elm,action,slot,bottom,show";
7448             source: "elm";
7449             action: STATE_SET "visible" 0.0;
7450             target: "edge_bottom";
7451             after: "bottomshow2";
7452          }
7453          program { name: "bottomshow2";
7454             action: STATE_SET "visible" 0.0;
7455             transition: DECELERATE 0.5;
7456             target: "elm.swallow.slot.bottom";
7457          }
7458          program { name: "bottomshow3";
7459             signal: "elm,action,slot,bottom,show";
7460             source: "elm";
7461             action: STATE_SET "bottom" 0.0;
7462             target: "button_image";
7463          }
7464          program { name: "bottomhide";
7465             signal: "elm,action,slot,bottom,hide";
7466             source: "elm";
7467             action: STATE_SET "default" 0.0;
7468             transition: DECELERATE 0.5;
7469             target: "elm.swallow.slot.bottom";
7470             after: "bottomhide2";
7471          }
7472          program { name: "bottomhide2";
7473             action: STATE_SET "default" 0.0;
7474             target: "edge_bottom";
7475          }
7476       }
7477    }
7478 ///////////////////////////////////////////////////////////////////////////////
7479    group { name: "elm/scroller/base/ctxpopup";
7480       data {
7481          item: "focus_highlight" "on";
7482       }
7483       script {
7484          public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
7485          public timer0(val) {
7486             new v;
7487             v = get_int(sbvis_v);
7488             if (v) {
7489                v = get_int(sbalways_v);
7490                if(!v) {
7491                   emit("do-hide-vbar", "");
7492                   set_int(sbvis_v, 0);
7493                }
7494             }
7495             v = get_int(sbvis_h);
7496             if (v) {
7497                v = get_int(sbalways_h);
7498                if(!v) {
7499                   emit("do-hide-hbar", "");
7500                   set_int(sbvis_h, 0);
7501                }
7502             }
7503             set_int(sbvis_timer, 0);
7504             return 0;
7505          }
7506       }
7507       images {
7508          image: "bt_sm_base2.png" COMP;
7509          image: "bt_sm_shine.png" COMP;
7510          image: "bt_sm_hilight.png" COMP;
7511          image: "sl_bt2_2.png" COMP;
7512       }
7513       parts {
7514          part { name: "clipper";
7515             type: RECT;
7516             mouse_events: 0;
7517             scale: 1;
7518             description { state: "default" 0.0;
7519             }
7520          }
7521          part { name: "elm.swallow.content";
7522             clip_to: "clipper";
7523             type: SWALLOW;
7524             scale: 1;
7525             description { state: "default" 0.0;
7526                align: 0.5 0.5;
7527             }
7528          }
7529          part { name: "focus_highlight";
7530             mouse_events: 0;
7531             description { state: "default" 0.0;
7532                rel1.offset: -1 -1;
7533                rel2.offset: 0 0;
7534                image { normal: "sl_bt2_2.png";
7535                   border: 7 7 7 7;
7536                   middle: 0;
7537                }
7538                fill.smooth : 0;
7539                color: 200 155 0 0;
7540             }
7541             description { state: "enabled" 0.0;
7542                inherit: "default" 0.0;
7543                color: 200 155 0 255;
7544             }
7545          }
7546          part { name: "sb_vbar_clip_master";
7547             type: RECT;
7548             mouse_events: 0;
7549             description { state: "default" 0.0;
7550             }
7551             description { state: "hidden" 0.0;
7552                visible: 0;
7553                color: 255 255 255 0;
7554             }
7555          }
7556          part { name: "sb_vbar_clip";
7557             clip_to:"sb_vbar_clip_master";
7558             type: RECT;
7559             mouse_events: 0;
7560             scale: 1;
7561             description { state: "default" 0.0;
7562                align: 0.0 0.0;
7563                rel2{ to:"clipper"; relative: 1.0 1.0;}
7564             }
7565             description { state: "hidden" 0.0;
7566                visible: 0;
7567                color: 255 255 255 0;
7568             }
7569          }
7570          part { name: "sb_vbar";
7571             type: RECT;
7572             mouse_events: 0;
7573             scale: 1;
7574             description { state: "default" 0.0;
7575                fixed: 1 1;
7576                visible: 0;
7577                align: 1.0 0.0;
7578                rel1{ to:"clipper"; relative: 1.0 0.0; }
7579                rel2{ to:"clipper"; relative: 1.0 1.0; }
7580             }
7581          }
7582          part { name: "elm.dragable.vbar";
7583             clip_to: "sb_vbar_clip";
7584             mouse_events: 0;
7585             scale: 1;
7586             dragable {
7587                x: 0 0 0;
7588                y: 1 1 0;
7589                confine: "sb_vbar";
7590             }
7591             description { state: "default" 0.0;
7592                fixed: 1 1;
7593                min: 10 17;
7594                max: 10 99999;
7595                rel1 { relative: 0.5 0.5; to: "sb_vbar"; }
7596                rel2 { relative: 0.5  0.5; to: "sb_vbar"; }
7597                image { normal: "bt_sm_base2.png";
7598                   border: 6 6 6 6;
7599                   middle: SOLID;
7600                }
7601             }
7602          }
7603          part { name: "sb_vbar_over1";
7604             clip_to: "sb_vbar_clip";
7605             mouse_events: 0;
7606             description { state: "default" 0.0;
7607                rel1.to: "elm.dragable.vbar";
7608                rel2.relative: 1.0 0.5;
7609                rel2.to: "elm.dragable.vbar";
7610                image { normal: "bt_sm_hilight.png";
7611                   border: 6 6 6 0;
7612                }
7613             }
7614          }
7615          part { name: "sb_vbar_over2";
7616             clip_to: "sb_vbar_clip";
7617             mouse_events: 0;
7618             description { state: "default" 0.0;
7619                rel1.to: "elm.dragable.vbar";
7620                rel2.to: "elm.dragable.vbar";
7621                image { normal: "bt_sm_shine.png";
7622                   border: 6 6 6 0;
7623                }
7624             }
7625          }
7626          part { name: "sb_hbar_clip_master";
7627             type: RECT;
7628             mouse_events: 0;
7629             description { state: "default" 0.0;
7630             }
7631             description { state: "hidden" 0.0;
7632                visible: 0;
7633                color: 255 255 255 0;
7634             }
7635          }
7636          part { name: "sb_hbar_clip";
7637             clip_to: "sb_hbar_clip_master";
7638             type: RECT;
7639             mouse_events: 0;
7640             scale: 1;
7641             description { state: "default" 0.0;
7642                align: 0.0 0.0;
7643                rel2{ to:"clipper"; relative: 1.0 1.0;}
7644             }
7645             description { state: "hidden" 0.0;
7646                visible: 0;
7647                color: 255 255 255 0;
7648             }
7649          }
7650          part { name: "sb_hbar";
7651             type: RECT;
7652             mouse_events: 0;
7653             scale: 1;
7654             description { state: "default" 0.0;
7655                fixed: 1 1;
7656                visible: 0;
7657                align: 0.0 1.0;
7658                rel1 { to:"clipper"; relative: 0.0 1.0; }
7659                rel2 { to:"clipper"; relative: 1.0 1.0; }
7660             }
7661          }
7662          part { name: "elm.dragable.hbar";
7663             clip_to: "sb_hbar_clip";
7664             mouse_events: 0;
7665             scale: 1;
7666             dragable {
7667                x: 1 1 0;
7668                y: 0 0 0;
7669                confine: "sb_hbar";
7670             }
7671             description { state: "default" 0.0;
7672                min: 17 10;
7673                max: 99999 10;
7674                fixed: 1 1;
7675                rel1 { relative: 0.5  0.5; to: "sb_hbar"; }
7676                rel2 { relative: 0.5  0.5; to: "sb_hbar"; }
7677                image { normal: "bt_sm_base2.png";
7678                   border: 4 4 4 4;
7679                   middle: SOLID;
7680                }
7681             }
7682          }
7683          part { name: "sb_hbar_over1";
7684             clip_to: "sb_hbar_clip";
7685             mouse_events: 0;
7686             description { state: "default" 0.0;
7687                rel1.to: "elm.dragable.hbar";
7688                rel2.relative: 1.0 0.5;
7689                rel2.to: "elm.dragable.hbar";
7690                image { normal: "bt_sm_hilight.png";
7691                   border: 6 6 6 0;
7692                }
7693             }
7694          }
7695          part { name: "sb_hbar_over2";
7696             clip_to: "sb_hbar_clip";
7697             mouse_events: 0;
7698             description { state: "default" 0.0;
7699                rel1.to: "elm.dragable.hbar";
7700                rel2.to: "elm.dragable.hbar";
7701                image { normal: "bt_sm_shine.png";
7702                   border: 6 6 6 0;
7703                }
7704             }
7705          }
7706       }
7707       programs {
7708          program { name: "load";
7709             signal: "load";
7710             source: "";
7711             script {
7712                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
7713                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
7714                set_int(sbvis_v, 0);
7715                set_int(sbvis_h, 0);
7716                set_int(sbalways_v, 0);
7717                                    set_int(sbalways_h, 0);
7718                set_int(sbvis_timer, 0);
7719             }
7720          }
7721          program { name: "vbar_show";
7722             signal: "elm,action,show,vbar";
7723             source: "elm";
7724             action: STATE_SET "default" 0.0;
7725             target: "sb_vbar_clip_master";
7726          }
7727          program { name: "vbar_hide";
7728             signal: "elm,action,hide,vbar";
7729             source: "elm";
7730             action:  STATE_SET "hidden" 0.0;
7731             target: "sb_vbar_clip_master";
7732          }
7733          program { name: "vbar_show_always";
7734             signal: "elm,action,show_always,vbar";
7735             source: "elm";
7736             script {
7737                new v;
7738                v = get_int(sbvis_v);
7739                v |= get_int(sbalways_v);
7740                if (!v) {
7741                   set_int(sbalways_v, 1);
7742                   emit("do-show-vbar", "");
7743                   set_int(sbvis_v, 1);
7744                }
7745             }
7746          }
7747          program { name: "vbar_show_notalways";
7748             signal: "elm,action,show_notalways,vbar";
7749             source: "elm";
7750             script {
7751                new v;
7752                v = get_int(sbalways_v);
7753                if (v) {
7754                   set_int(sbalways_v, 0);
7755                   v = get_int(sbvis_v);
7756                   if (!v) {
7757                      emit("do-hide-vbar", "");
7758                      set_int(sbvis_v, 0);
7759                   }
7760                }
7761             }
7762          }
7763          program { name: "sb_vbar_show";
7764             signal: "do-show-vbar";
7765             source: "";
7766             action:  STATE_SET "default" 0.0;
7767             transition: LINEAR 1.0;
7768             target: "sb_vbar_clip";
7769          }
7770          program { name: "sb_vbar_hide";
7771             signal: "do-hide-vbar";
7772             source: "";
7773             action:  STATE_SET "hidden" 0.0;
7774             transition: LINEAR 1.0;
7775             target: "sb_vbar_clip";
7776          }
7777          program { name: "hbar_show";
7778             signal: "elm,action,show,hbar";
7779             source: "elm";
7780             action:  STATE_SET "default" 0.0;
7781             target: "sb_hbar_clip_master";
7782          }
7783          program { name: "hbar_hide";
7784             signal: "elm,action,hide,hbar";
7785             source: "elm";
7786             action:  STATE_SET "hidden" 0.0;
7787             target: "sb_hbar_clip_master";
7788          }
7789          program { name: "hbar_show_always";
7790             signal: "elm,action,show_always,hbar";
7791             source: "elm";
7792             script {
7793                new v;
7794                v = get_int(sbvis_h);
7795                v |= get_int(sbalways_h);
7796                if (!v) {
7797                   set_int(sbalways_h, 1);
7798                   emit("do-show-hbar", "");
7799                   set_int(sbvis_h, 1);
7800                }
7801             }
7802          }
7803          program { name: "hbar_show_notalways";
7804             signal: "elm,action,show_notalways,hbar";
7805             source: "elm";
7806             script {
7807                new v;
7808                v = get_int(sbalways_h);
7809                if (v) {
7810                   set_int(sbalways_h, 0);
7811                   v = get_int(sbvis_h);
7812                   if (!v) {
7813                      emit("do-hide-hbar", "");
7814                      set_int(sbvis_h, 0);
7815                   }
7816                }
7817             }
7818          }
7819          program { name: "sb_hbar_show";
7820             signal: "do-show-hbar";
7821             source: "";
7822             action:  STATE_SET "default" 0.0;
7823             transition: LINEAR 1.0;
7824             target: "sb_hbar_clip";
7825          }
7826          program { name: "sb_hbar_hide";
7827             signal: "do-hide-hbar";
7828             source: "";
7829             action:  STATE_SET "hidden" 0.0;
7830             transition: LINEAR 1.0;
7831             target: "sb_hbar_clip";
7832          }
7833          program { name: "scroll";
7834             signal: "elm,action,scroll";
7835             source: "elm";
7836             script {
7837                new v;
7838                v = get_int(sbvis_v);
7839                v |= get_int(sbalways_v);
7840                if (!v) {
7841                   emit("do-show-vbar", "")
7842                   set_int(sbvis_v, 1);
7843                }
7844                v = get_int(sbvis_h);
7845                v |= get_int(sbalways_h);
7846                if (!v) {
7847                   emit("do-show-hbar", "");
7848                   set_int(sbvis_h, 1);
7849                }
7850                v = get_int(sbvis_timer);
7851                if (v > 0) cancel_timer(v);
7852                v = timer(1.0, "timer0", 0);
7853                set_int(sbvis_timer, v);
7854             }
7855          }
7856          program { name: "highlight_show";
7857             signal: "elm,action,focus_highlight,show";
7858             source: "elm";
7859             action: STATE_SET "enabled" 0.0;
7860             transition: ACCELERATE 0.3;
7861             target: "focus_highlight";
7862           }
7863          program { name: "highlight_hide";
7864             signal: "elm,action,focus_highlight,hide";
7865             source: "elm";
7866             action: STATE_SET "default" 0.0;
7867             transition: DECELERATE 0.3;
7868             target: "focus_highlight";
7869          }
7870       }
7871    }
7872 ///////////////////////////////////////////////////////////////////////////////
7873    group { name: "elm/ctxpopup/bg/default";
7874       parts {
7875          part { name: "ctxpopup_bg";
7876             type: RECT;
7877             mouse_events: 1;
7878             description { state: "default" 0.0;
7879                color: 0 0 0 0;
7880             }
7881             description { state: "visible" 0.0;
7882                inherit: "default" 0.0;
7883                color: 0 0 0 64;
7884             }
7885          }
7886       }
7887       programs {
7888          program { name: "clicked_event";
7889             signal: "mouse,clicked,1";
7890             source: "ctxpopup_bg";
7891             action: SIGNAL_EMIT "elm,action,click" "";
7892          }
7893          program { name: "show";
7894             signal: "elm,state,show";
7895             source: "elm";
7896             action: STATE_SET "visible" 0.0;
7897             target: "ctxpopup_bg";
7898          }
7899          program { name: "hide";
7900             signal: "elm,state,hide";
7901             source: "elm";
7902             action: STATE_SET "default" 0.0;
7903             target: "ctxpopup_bg";
7904          }
7905       }
7906    }
7907 ///////////////////////////////////////////////////////////////////////////////
7908    group { name: "elm/ctxpopup/base/default";
7909       images {
7910          image: "bt_base2.png" COMP;
7911          image: "bt_hilight.png" COMP;
7912          image: "bt_shine.png" COMP;
7913       }
7914       parts {
7915          part { name: "arrow_area_left";
7916             type: RECT;
7917             mouse_events: 0;
7918             description { state: "default" 0.0;
7919                visible: 0;
7920                min: 40 0;
7921                fixed: 1 1;
7922                align: 1 0.5;
7923                rel1 {
7924                   to_y: "base";
7925                }
7926                rel2 {
7927                   relative:0 1;
7928                   to:"base";
7929                }
7930             }
7931          }
7932          part { name: "arrow_area_right";
7933             type: RECT;
7934             mouse_events: 0;
7935             description { state: "default" 0.0;
7936                visible: 0;
7937                min: 40 0;
7938                fixed: 1 1;
7939                align: 0 0.5;
7940                rel1 {
7941                   relative: 1 0;
7942                   to:"base";
7943                }
7944                rel2 {
7945                   to_y: "base";
7946                }
7947             }
7948          }
7949          part { name: "arrow_area_up";
7950             type: RECT;
7951             mouse_events: 0;
7952             description { state: "default" 0.0;
7953                visible: 0;
7954                min: 0 40;
7955                fixed: 1 1;
7956                align: 0.5 1;
7957                rel1 {
7958                   to_x: "base";
7959                }
7960                rel2 {
7961                   relative: 1 0;
7962                   to:"base";
7963                }
7964             }
7965          }
7966          part { name: "arrow_area_down";
7967             type: RECT;
7968             mouse_events: 0;
7969             description { state: "default" 0.0;
7970                visible: 0;
7971                min: 0 40;
7972                fixed: 1 1;
7973                align: 0.5 0;
7974                rel1 {
7975                   relative: 0 1;
7976                   to:"base";
7977                }
7978                rel2 {
7979                   to_x: "base";
7980                }
7981             }
7982          }
7983          part { name: "elm.swallow.arrow_up";
7984             type: SWALLOW;
7985             mouse_events: 0;
7986             scale: 1;
7987             dragable {
7988                x: 1 1 0;
7989                y: 1 1 0;
7990                confine: "arrow_area_up";
7991             }
7992             description {
7993                state: "default" 0.0;
7994                min: 40 40;
7995                fixed: 1 1;
7996                visible: 1;
7997             }
7998          }
7999          part { name: "elm.swallow.arrow_down";
8000             type: SWALLOW;
8001             mouse_events: 0;
8002             scale: 1;
8003             dragable {
8004                x: 1 1 0;
8005                y: 1 1 0;
8006                confine: "arrow_area_down";
8007             }
8008             description {
8009                state: "default" 0.0;
8010                min: 40 40;
8011                fixed: 1 1;
8012                visible: 1;
8013             }
8014          }
8015          part { name: "elm.swallow.arrow_left";
8016             type: SWALLOW;
8017             mouse_events: 0;
8018             scale: 1;
8019             dragable {
8020                x: 1 1 0;
8021                y: 1 1 0;
8022                confine: "arrow_area_left";
8023             }
8024             description {
8025                state: "default" 0.0;
8026                min: 40 40;
8027                fixed: 1 1;
8028                visible: 1;
8029             }
8030          }
8031          part { name: "elm.swallow.arrow_right";
8032             type: SWALLOW;
8033             mouse_events: 0;
8034             scale: 1;
8035             dragable {
8036                x: 1 1 0;
8037                y: 1 1 0;
8038                confine: "arrow_area_right";
8039             }
8040             description {
8041                state: "default" 0.0;
8042                min: 40 40;
8043                fixed: 1 1;
8044                visible: 1;
8045             }
8046          }
8047          part { name: "base";
8048             scale: 1;
8049             description { state: "default" 0.0;
8050                rel1.offset: -3 -3;
8051                rel2.offset: 3 3;
8052                image { normal: "bt_base2.png";
8053                   border: 7 7 7 7;
8054                }
8055             }
8056          }
8057          part { name: "over1";
8058             scale: 1;
8059             description { state: "default" 0.0;
8060                rel1.to: "base";
8061                rel2.to: "base";
8062                rel2.relative: 1.0 0.5;
8063                image { normal: "bt_hilight.png";
8064                   border: 7 7 7 0;
8065                }
8066             }
8067          }
8068          part { name: "over2";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                rel1.to: "base";
8072                rel2.to: "base";
8073                image { normal: "bt_shine.png";
8074                   border: 7 7 7 7;
8075                }
8076             }
8077          }
8078          part { name: "elm.swallow.content";
8079             type: SWALLOW;
8080             description { state: "default" 0.0;
8081                rel1 { to:"base"; offset: 4 4; };
8082                rel2 { to:"base"; offset: -5 -5; };
8083             }
8084          }
8085       }
8086    }
8087 ///////////////////////////////////////////////////////////////////////////////
8088    group { name: "elm/ctxpopup/arrow/default";
8089       images {
8090          image: "icon_arrow_left.png" COMP;
8091          image: "icon_arrow_right.png" COMP;
8092          image: "icon_arrow_up.png" COMP;
8093          image: "icon_arrow_down.png" COMP;
8094       }
8095       parts {
8096          part { name: "ctxpopup_arrow";
8097             type: IMAGE;
8098             scale: 1;
8099             description {
8100                state: "default" 0.0;
8101                min: 40 40;
8102                fixed: 1 1;
8103                visible: 0;
8104                align: 0.5 0.5;
8105             }
8106             description {
8107                state: "left" 0.0;
8108                min: 40 40;
8109                fixed: 1 1;
8110                align: 0.0 0.5;
8111                rel1 { offset: 7 0; }
8112                rel2 { offset: 6 -1; }
8113                image { normal: "icon_arrow_left.png"; }
8114             }
8115             description { state: "right" 0.0;
8116                min: 40 40;
8117                fixed: 1 1;
8118                align: 1.0 0.5;
8119                rel1 { offset: -7 0; }
8120                rel2 { offset: -8 -1; }
8121                image { normal: "icon_arrow_right.png"; }
8122             }
8123             description { state: "top" 0.0;
8124                min: 40 40;
8125                fixed: 1 1;
8126                align: 0.5 0.0;
8127                rel1 { offset: 0 7; }
8128                rel2 { offset: -1 6; }
8129                image { normal: "icon_arrow_up.png"; }
8130             }
8131             description { state: "bottom" 0.0;
8132                min: 40 40;
8133                fixed: 1 1;
8134                align: 0.5 1.0;
8135                rel1 { offset: 0 -7; }
8136                rel2 { offset: -1 -8; }
8137                image { normal: "icon_arrow_down.png"; }
8138             }
8139          }
8140       }
8141       programs {
8142          program { name: "enable_left_arrow";
8143             signal: "elm,state,left";
8144             source: "elm";
8145             action: STATE_SET "left" 0.0;
8146             target: "ctxpopup_arrow";
8147          }
8148          program { name: "enable_right_arrow";
8149             signal: "elm,state,right";
8150             source: "elm";
8151             action: STATE_SET "right" 0.0;
8152             target: "ctxpopup_arrow";
8153          }
8154          program { name: "enable_top_arrow";
8155             signal: "elm,state,top";
8156             source: "elm";
8157             action: STATE_SET "top" 0.0;
8158             target: "ctxpopup_arrow";
8159          }
8160          program { name: "enable_bottom_arrow";
8161             signal: "elm,state,bottom";
8162             source: "elm";
8163             action: STATE_SET "bottom" 0.0;
8164             target: "ctxpopup_arrow";
8165          }
8166       }
8167    }
8168 ///////////////////////////////////////////////////////////////////////////////
8169    group {
8170       name: "elm/ctxpopup/icon_text_style_item/default";
8171            alias: "elm/ctxpopup/text_style_item/default";
8172            alias: "elm/ctxpopup/icon_style_item/default";
8173       images {
8174          image: "hoversel_entry_bg.png" COMP;
8175       }
8176       parts {
8177          part { name: "event";
8178             mouse_events: 1;
8179             description { state: "default" 0.0;
8180             }
8181          }
8182          part { name: "bg";
8183             mouse_events: 0;
8184             description { state: "default" 0.0;
8185                rel1.offset: 2 2;
8186                rel2.offset: -3 -3;
8187                image { normal:"hoversel_entry_bg.png";
8188                   border: 0 0 2 2;
8189                }
8190                fill.smooth: 0;
8191                color: 255 255 255 0;
8192             }
8193             description { state: "clicked" 0.0;
8194                inherit: "default" 0.0;
8195                color: 255 255 255 255;
8196             }
8197          }
8198          part { name: "elm.swallow.icon";
8199             type: SWALLOW;
8200             clip_to: "disclip";
8201             scale: 1;
8202             description { state: "default" 0.0;
8203                min: 25 25;
8204                max: 25 25;
8205                align: 0 0.5;
8206                aspect: 1.0 1.0;
8207                rel1 { offset: 10 10; }
8208                                         rel2 { offset: 0 -10; }
8209             }
8210          }
8211          part { name: "elm.text";
8212             type: TEXT;
8213             mouse_events: 0;
8214             clip_to: "disclip";
8215             scale: 1;
8216             description { state: "default" 0.0;
8217                min: 1 40;
8218                fixed: 0 1;
8219                align: 0.5 0.5;
8220                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8221                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8222                color: 255 255 255 255;
8223                text {
8224                   font: "Sans";
8225                   size: 10;
8226                   align: 0.0 0.5;
8227                   min: 1 1;
8228                }
8229             }
8230             description { state: "clicked" 0.0;
8231                inherit: "default" 0.0;
8232                color: 0 0 0 255;
8233             }
8234          }
8235          part { name: "over1";
8236             mouse_events: 1;
8237             repeat_events: 1;
8238             ignore_flags: ON_HOLD;
8239             description { state: "default" 0.0;
8240                color: 255 255 255 0;
8241             }
8242             description { state: "clicked" 0.0;
8243                inherit: "default" 0.0;
8244                color: 255 255 255 255;
8245             }
8246          }
8247          part { name: "over2";
8248             mouse_events: 1;
8249             repeat_events: 1;
8250             description { state: "default" 0.0;
8251                color: 255 255 255 0;
8252             }
8253             description { state: "clicked" 0.0;
8254                inherit: "default" 0.0;
8255                color: 255 255 255 255;
8256             }
8257          }
8258          part { name: "disclip";
8259             type: RECT;
8260             description { state: "default" 0.0;
8261                color: 255 255 255 255;
8262             }
8263             description { state: "enabled" 0.0;
8264                color: 127 127 127 127;
8265             }
8266          }
8267          part { name: "blocker";
8268             description { state: "default" 0.0;
8269                visible: 0;
8270             }
8271             description { state: "enabled" 0.0;
8272                visible: 1;
8273                color: 0 0 0 0;
8274             }
8275          }
8276       }
8277       programs {
8278          program {
8279             name: "item_unclick";
8280             signal: "mouse,up,1";
8281             source: "over1";
8282             action: SIGNAL_EMIT "elm,action,click" "";
8283          }
8284          program { name: "disable";
8285             signal: "elm,state,disabled";
8286             source: "elm";
8287             action: STATE_SET "enabled" 0.0;
8288             target: "disclip";
8289             target: "blocker";
8290          }
8291          program { name: "enable";
8292             signal: "elm,state,enabled";
8293             source: "elm";
8294             action: STATE_SET "default" 0.0;
8295             target: "disclip";
8296             target: "blocker";
8297          }
8298          program { name: "item_click2";
8299             signal: "mouse,down,1";
8300             source: "over2";
8301             script {
8302                set_state(PART:"elm.text", "clicked", 0.0);
8303                set_state(PART:"bg", "clicked", 0.0);
8304             }
8305          }
8306          program { name: "item_unclick2";
8307             signal: "mouse,up,1";
8308             source: "over2";
8309             script {
8310                                         set_state(PART:"elm.text", "default", 0.0);
8311                set_state(PART:"bg", "default", 0.0);
8312             }
8313          }
8314       }
8315    }
8316 ///////////////////////////////////////////////////////////////////////////////
8317 // emoticon images from:
8318 // Tanya - Latvia
8319 // http://lazycrazy.deviantart.com/
8320 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8321   group { name: "elm/entry/emoticon/angry/default"; images.image:
8322      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8323         "emo-angry.png"; } } } }
8324   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8325      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8326         "emo-angry-shout.png"; } } } }
8327   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8328      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8329         "emo-crazy-laugh.png"; } } } }
8330   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8331      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8332         "emo-evil-laugh.png"; } } } }
8333   group { name: "elm/entry/emoticon/evil/default"; images.image:
8334      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8335         "emo-evil.png"; } } } }
8336   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8337      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8338         "emo-goggle-smile.png"; } } } }
8339   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8340      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8341         "emo-grumpy.png"; } } } }
8342   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8343      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8344         "emo-grumpy-smile.png"; } } } }
8345   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8346      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8347         "emo-guilty.png"; } } } }
8348   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8349      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8350         "emo-guilty-smile.png"; } } } }
8351   group { name: "elm/entry/emoticon/haha/default"; images.image:
8352      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8353         "emo-haha.png"; } } } }
8354   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8355      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8356         "emo-half-smile.png"; } } } }
8357   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8358      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8359         "emo-happy-panting.png"; } } } }
8360   group { name: "elm/entry/emoticon/happy/default"; images.image:
8361      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8362         "emo-happy.png"; } } } }
8363   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8364      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8365         "emo-indifferent.png"; } } } }
8366   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8367      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8368         "emo-kiss.png"; } } } }
8369   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8370      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8371         "emo-knowing-grin.png"; } } } }
8372   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8373      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8374         "emo-laugh.png"; } } } }
8375   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8376      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8377         "emo-little-bit-sorry.png"; } } } }
8378   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8379      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8380         "emo-love-lots.png"; } } } }
8381   group { name: "elm/entry/emoticon/love/default"; images.image:
8382      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8383         "emo-love.png"; } } } }
8384   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8385      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8386         "emo-minimal-smile.png"; } } } }
8387   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8388      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8389         "emo-not-happy.png"; } } } }
8390   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8391      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8392         "emo-not-impressed.png"; } } } }
8393   group { name: "elm/entry/emoticon/omg/default"; images.image:
8394      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8395         "emo-omg.png"; } } } }
8396   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8397      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8398         "emo-opensmile.png"; } } } }
8399   group { name: "elm/entry/emoticon/smile/default"; images.image:
8400      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8401         "emo-smile.png"; } } } }
8402   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8403      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8404         "emo-sorry.png"; } } } }
8405   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8406      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8407         "emo-squint-laugh.png"; } } } }
8408   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8409      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8410         "emo-surprised.png"; } } } }
8411   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8412      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8413         "emo-suspicious.png"; } } } }
8414   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8415      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8416         "emo-tongue-dangling.png"; } } } }
8417   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8418      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8419         "emo-tongue-poke.png"; } } } }
8420   group { name: "elm/entry/emoticon/uh/default"; images.image:
8421      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8422         "emo-uh.png"; } } } }
8423   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8424      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8425         "emo-unhappy.png"; } } } }
8426   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8427      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8428         "emo-very-sorry.png"; } } } }
8429   group { name: "elm/entry/emoticon/what/default"; images.image:
8430      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8431         "emo-what.png"; } } } }
8432   group { name: "elm/entry/emoticon/wink/default"; images.image:
8433      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8434         "emo-wink.png"; } } } }
8435   group { name: "elm/entry/emoticon/worried/default"; images.image:
8436      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8437         "emo-worried.png"; } } } }
8438   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8439      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8440         "emo-wtf.png"; } } } }
8441 //------------------------------------------------------------
8442    group { name: "elm/entry/base/default";
8443       styles
8444       {
8445          style { name: "entry_textblock_style";
8446             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8447             tag:  "br" "\n";
8448             tag:  "ps" "ps";
8449             tag:  "tab" "\t";
8450             tag:  "em" "+ font=Sans:style=Oblique";
8451             tag:  "b" "+ font=Sans:style=Bold";
8452             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8453             tag:  "hilight" "+ font=Sans:style=Bold";
8454          }
8455          style { name: "entry_textblock_disabled_style";
8456             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8457             tag:  "br" "\n";
8458             tag:  "ps" "ps";
8459             tag:  "tab" "\t";
8460             tag:  "em" "+ font=Sans:style=Oblique";
8461             tag:  "b" "+ font=Sans:style=Bold";
8462             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8463             tag:  "hilight" "+ font=Sans:style=Bold";
8464          }
8465       }
8466       data {
8467 //         item: context_menu_orientation "horizontal";
8468       }
8469       parts {
8470          part { name: "elm.text";
8471             type: TEXTBLOCK;
8472             mouse_events: 1;
8473             scale: 1;
8474             entry_mode: EDITABLE;
8475             select_mode: EXPLICIT;
8476             multiline: 1;
8477             source: "elm/entry/selection/default"; // selection under
8478    //       source2: "X"; // selection over
8479    //       source3: "X"; // cursor under
8480             source4: "elm/entry/cursor/default"; // cursorover
8481             source5: "elm/entry/anchor/default"; // anchor under
8482    //       source6: "X"; // anchor over
8483             description { state: "default" 0.0;
8484                /* we gotta use 0 0 here, because of scrolled entries */
8485                fixed: 0 0;
8486                text {
8487                   style: "entry_textblock_style";
8488                   min: 0 1;
8489                   align: 0.0 0.0;
8490                }
8491             }
8492             description { state: "disabled" 0.0;
8493                inherit: "default" 0.0;
8494                text {
8495                   style: "entry_textblock_disabled_style";
8496                   min: 0 1;
8497                }
8498             }
8499          }
8500       }
8501       programs {
8502          program { name: "focus";
8503             signal: "load";
8504             source: "";
8505             action: FOCUS_SET;
8506             target: "elm.text";
8507          }
8508          program { name: "disable";
8509             signal: "elm,state,disabled";
8510             source: "elm";
8511             action: STATE_SET "disabled" 0.0;
8512             target: "elm.text";
8513          }
8514          program { name: "enable";
8515             signal: "elm,state,enabled";
8516             source: "elm";
8517             action: STATE_SET "default" 0.0;
8518             target: "elm.text";
8519          }
8520       }
8521    }
8522
8523    group { name: "elm/entry/base-mixedwrap/default";
8524       styles
8525       {
8526          style { name: "entry_textblock_style_mixedwrap";
8527             base: "font=Sans font_size=10 color=#000 wrap=mixed text_class=entry";
8528             tag:  "br" "\n";
8529             tag:  "ps" "ps";
8530             tag:  "tab" "\t";
8531             tag:  "em" "+ font=Sans:style=Oblique";
8532             tag:  "b" "+ font=Sans:style=Bold";
8533             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8534             tag:  "hilight" "+ font=Sans:style=Bold";
8535          }
8536          style { name: "entry_textblock_disabled_style_mixedwrap";
8537             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8538             tag:  "br" "\n";
8539             tag:  "ps" "ps";
8540             tag:  "tab" "\t";
8541             tag:  "em" "+ font=Sans:style=Oblique";
8542             tag:  "b" "+ font=Sans:style=Bold";
8543             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8544             tag:  "hilight" "+ font=Sans:style=Bold";
8545          }
8546       }
8547       parts {
8548          part { name: "elm.text";
8549             type: TEXTBLOCK;
8550             mouse_events: 1;
8551             scale: 1;
8552             entry_mode: EDITABLE;
8553             select_mode: EXPLICIT;
8554             multiline: 1;
8555             source: "elm/entry/selection/default"; // selection under
8556 //          source2: "X"; // selection over
8557 //          source3: "X"; // cursor under
8558             source4: "elm/entry/cursor/default"; // cursorover
8559             source5: "elm/entry/anchor/default"; // anchor under
8560 //          source6: "X"; // anchor over
8561             description { state: "default" 0.0;
8562                fixed: 1 0;
8563                text {
8564                   style: "entry_textblock_style_mixedwrap";
8565                   min: 0 1;
8566                   align: 0.0 0.0;
8567                }
8568             }
8569             description { state: "disabled" 0.0;
8570                inherit: "default" 0.0;
8571                text {
8572                   style: "entry_textblock_disabled_style_mixedwrap";
8573                   min: 0 1;
8574                }
8575             }
8576          }
8577       }
8578       programs {
8579          program { name: "focus";
8580             signal: "load";
8581             source: "";
8582             action: FOCUS_SET;
8583             target: "elm.text";
8584          }
8585          program { name: "disable";
8586             signal: "elm,state,disabled";
8587             source: "elm";
8588             action: STATE_SET "disabled" 0.0;
8589             target: "elm.text";
8590          }
8591          program { name: "enable";
8592             signal: "elm,state,enabled";
8593             source: "elm";
8594             action: STATE_SET "default" 0.0;
8595             target: "elm.text";
8596          }
8597       }
8598    }
8599
8600    group { name: "elm/entry/base-charwrap/default";
8601       styles
8602       {
8603          style { name: "entry_textblock_style_charwrap";
8604             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8605             tag:  "br" "\n";
8606             tag:  "ps" "ps";
8607             tag:  "tab" "\t";
8608             tag:  "em" "+ font=Sans:style=Oblique";
8609             tag:  "b" "+ font=Sans:style=Bold";
8610             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8611             tag:  "hilight" "+ font=Sans:style=Bold";
8612          }
8613          style { name: "entry_textblock_disabled_style_charwrap";
8614             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8615             tag:  "br" "\n";
8616             tag:  "ps" "ps";
8617             tag:  "tab" "\t";
8618             tag:  "em" "+ font=Sans:style=Oblique";
8619             tag:  "b" "+ font=Sans:style=Bold";
8620             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8621             tag:  "hilight" "+ font=Sans:style=Bold";
8622          }
8623       }
8624       parts {
8625          part { name: "elm.text";
8626             type: TEXTBLOCK;
8627             mouse_events: 1;
8628             scale: 1;
8629             entry_mode: EDITABLE;
8630             select_mode: EXPLICIT;
8631             multiline: 1;
8632             source: "elm/entry/selection/default"; // selection under
8633 //          source2: "X"; // selection over
8634 //          source3: "X"; // cursor under
8635             source4: "elm/entry/cursor/default"; // cursorover
8636             source5: "elm/entry/anchor/default"; // anchor under
8637 //          source6: "X"; // anchor over
8638             description { state: "default" 0.0;
8639                fixed: 1 0;
8640                text {
8641                   style: "entry_textblock_style_charwrap";
8642                   min: 0 1;
8643                   align: 0.0 0.0;
8644                }
8645             }
8646             description { state: "disabled" 0.0;
8647                inherit: "default" 0.0;
8648                text {
8649                   style: "entry_textblock_disabled_style_charwrap";
8650                   min: 0 1;
8651                }
8652             }
8653          }
8654       }
8655       programs {
8656          program { name: "focus";
8657             signal: "load";
8658             source: "";
8659             action: FOCUS_SET;
8660             target: "elm.text";
8661          }
8662          program { name: "disable";
8663             signal: "elm,state,disabled";
8664             source: "elm";
8665             action: STATE_SET "disabled" 0.0;
8666             target: "elm.text";
8667          }
8668          program { name: "enable";
8669             signal: "elm,state,enabled";
8670             source: "elm";
8671             action: STATE_SET "default" 0.0;
8672             target: "elm.text";
8673          }
8674       }
8675    }
8676
8677    group { name: "elm/entry/base-nowrap/default";
8678       parts {
8679          part { name: "elm.text";
8680             type: TEXTBLOCK;
8681             mouse_events: 1;
8682             scale: 1;
8683             entry_mode: EDITABLE;
8684             select_mode: EXPLICIT;
8685             multiline: 1;
8686             source: "elm/entry/selection/default"; // selection under
8687             source4: "elm/entry/cursor/default"; // cursorover
8688             source5: "elm/entry/anchor/default"; // anchor under
8689             description { state: "default" 0.0;
8690                text {
8691                   style: "entry_textblock_style";
8692                   min: 1 1;
8693                   align: 0.0 0.0;
8694                }
8695             }
8696             description { state: "disabled" 0.0;
8697                inherit: "default" 0.0;
8698                text {
8699                   style: "entry_textblock_disabled_style";
8700                   min: 0 1;
8701                }
8702             }
8703          }
8704 /*
8705          part { name: "sel";
8706             type: RECT;
8707             mouse_events: 0;
8708             description { state: "default" 0.0;
8709                align: 1.0 1.0;
8710                max: 16 16;
8711                aspect: 1.0 1.0;
8712                color: 255 0 0 0;
8713             }
8714             description { state: "visible" 0.0;
8715                inherit: "default" 0.0;
8716                color: 255 0 0 50;
8717             }
8718          }
8719  */
8720       }
8721       programs {
8722          program { name: "focus";
8723             signal: "load";
8724             source: "";
8725             action: FOCUS_SET;
8726             target: "elm.text";
8727          }
8728          program { name: "disable";
8729             signal: "elm,state,disabled";
8730             source: "elm";
8731             action: STATE_SET "disabled" 0.0;
8732             target: "elm.text";
8733          }
8734          program { name: "enable";
8735             signal: "elm,state,enabled";
8736             source: "elm";
8737             action: STATE_SET "default" 0.0;
8738             target: "elm.text";
8739          }
8740 /*
8741          program { name: "selmode0";
8742             signal: "elm,state,select,on";
8743             source: "elm";
8744             action: STATE_SET "visible" 0.0;
8745             target: "sel";
8746          }
8747          program { name: "selmode1";
8748             signal: "elm,state,select,off";
8749             source: "elm";
8750             action: STATE_SET "default" 0.0;
8751             target: "sel";
8752          }
8753  */
8754       }
8755    }
8756
8757    group { name: "elm/entry/base-single/default";
8758       styles
8759       {
8760          style { name: "entry_single_textblock_style";
8761             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8762             tag:  "br" "\n";
8763             tag:  "ps" "ps";
8764             tag:  "tab" "\t";
8765             tag:  "em" "+ font=Sans:style=Oblique";
8766             tag:  "b" "+ font=Sans:style=Bold";
8767             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8768             tag:  "hilight" "+ font=Sans:style=Bold";
8769          }
8770          style { name: "entry_single_textblock_disabled_style";
8771             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8772             tag:  "br" "\n";
8773             tag:  "ps" "ps";
8774             tag:  "tab" "\t";
8775             tag:  "em" "+ font=Sans:style=Oblique";
8776             tag:  "b" "+ font=Sans:style=Bold";
8777             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8778             tag:  "hilight" "+ font=Sans:style=Bold";
8779          }
8780       }
8781       parts {
8782          part { name: "elm.text";
8783             type: TEXTBLOCK;
8784             mouse_events: 1;
8785             scale: 1;
8786             entry_mode: EDITABLE;
8787             select_mode: EXPLICIT;
8788             multiline: 0;
8789             source: "elm/entry/selection/default"; // selection under
8790             source4: "elm/entry/cursor/default"; // cursorover
8791             source5: "elm/entry/anchor/default"; // anchor under
8792             description { state: "default" 0.0;
8793                text {
8794                   style: "entry_single_textblock_style";
8795                   min: 1 1;
8796                   max: 0 0;
8797                   align: 0.0 0.5;
8798                }
8799             }
8800             description { state: "disabled" 0.0;
8801                inherit: "default" 0.0;
8802                text {
8803                   style: "entry_single_textblock_disabled_style";
8804                }
8805             }
8806          }
8807       }
8808       programs {
8809          program { name: "focus";
8810             signal: "load";
8811             source: "";
8812             action: FOCUS_SET;
8813             target: "elm.text";
8814          }
8815          program { name: "disable";
8816             signal: "elm,state,disabled";
8817             source: "elm";
8818             action: STATE_SET "disabled" 0.0;
8819             target: "elm.text";
8820          }
8821          program { name: "enable";
8822             signal: "elm,state,enabled";
8823             source: "elm";
8824             action: STATE_SET "default" 0.0;
8825             target: "elm.text";
8826          }
8827       }
8828    }
8829
8830    group { name: "elm/entry/base-single-noedit/default";
8831       parts {
8832          part { name: "elm.text";
8833             type: TEXTBLOCK;
8834             mouse_events: 1;
8835             scale: 1;
8836             entry_mode: PLAIN;
8837             select_mode: EXPLICIT;
8838             multiline: 0;
8839             source: "elm/entry/selection/default"; // selection under
8840             source5: "elm/entry/anchor/default"; // anchor under
8841             description { state: "default" 0.0;
8842                text {
8843                   style: "entry_single_textblock_style";
8844                   min: 1 1;
8845                   max: 0 0;
8846                   align: 0.0 0.5;
8847                }
8848             }
8849             description { state: "disabled" 0.0;
8850                inherit: "default" 0.0;
8851                text {
8852                style: "entry_single_textblock_disabled_style";
8853                }
8854             }
8855          }
8856       }
8857       programs {
8858          program { name: "focus";
8859             signal: "load";
8860             source: "";
8861             action: FOCUS_SET;
8862             target: "elm.text";
8863          }
8864          program { name: "disable";
8865             signal: "elm,state,disabled";
8866             source: "elm";
8867             action: STATE_SET "disabled" 0.0;
8868             target: "elm.text";
8869          }
8870          program { name: "enable";
8871             signal: "elm,state,enabled";
8872             source: "elm";
8873             action: STATE_SET "default" 0.0;
8874             target: "elm.text";
8875          }
8876       }
8877    }
8878
8879    group { name: "elm/entry/base-noedit/default";
8880       parts {
8881          part { name: "elm.text";
8882             type: TEXTBLOCK;
8883             mouse_events: 1;
8884             scale: 1;
8885             entry_mode: PLAIN;
8886             select_mode: EXPLICIT;
8887             multiline: 1;
8888             source: "elm/entry/selection/default"; // selection under
8889             source5: "elm/entry/anchor/default"; // anchor under
8890             description { state: "default" 0.0;
8891                fixed: 1 0;
8892                text {
8893                   style: "entry_textblock_style";
8894                   min: 0 1;
8895                   align: 0.0 0.0;
8896                }
8897             }
8898             description { state: "disabled" 0.0;
8899                inherit: "default" 0.0;
8900                text {
8901                   style: "entry_textblock_disabled_style";
8902                }
8903             }
8904          }
8905       }
8906       programs {
8907          program { name: "focus";
8908             signal: "load";
8909             source: "";
8910             action: FOCUS_SET;
8911             target: "elm.text";
8912          }
8913          program { name: "disable";
8914             signal: "elm,state,disabled";
8915             source: "elm";
8916             action: STATE_SET "disabled" 0.0;
8917             target: "elm.text";
8918          }
8919          program { name: "enable";
8920             signal: "elm,state,enabled";
8921             source: "elm";
8922             action: STATE_SET "default" 0.0;
8923             target: "elm.text";
8924          }
8925       }
8926    }
8927
8928    group { name: "elm/entry/base-noedit-mixedwrap/default";
8929       parts {
8930          part { name: "elm.text";
8931             type: TEXTBLOCK;
8932             mouse_events: 1;
8933             scale: 1;
8934             entry_mode: PLAIN;
8935             select_mode: EXPLICIT;
8936             multiline: 1;
8937             source: "elm/entry/selection/default"; // selection under
8938             source5: "elm/entry/anchor/default"; // anchor under
8939             description { state: "default" 0.0;
8940                fixed: 1 0;
8941                text {
8942                   style: "entry_textblock_style_mixedwrap";
8943                   min: 0 1;
8944                   align: 0.0 0.0;
8945                }
8946             }
8947             description { state: "disabled" 0.0;
8948                inherit: "default" 0.0;
8949                text {
8950                   style: "entry_textblock_disabled_style_mixedwrap";
8951                }
8952             }
8953          }
8954       }
8955       programs {
8956          program { name: "focus";
8957             signal: "load";
8958             source: "";
8959             action: FOCUS_SET;
8960             target: "elm.text";
8961          }
8962          program { name: "disable";
8963             signal: "elm,state,disabled";
8964             source: "elm";
8965             action: STATE_SET "disabled" 0.0;
8966             target: "elm.text";
8967          }
8968          program { name: "enable";
8969             signal: "elm,state,enabled";
8970             source: "elm";
8971             action: STATE_SET "default" 0.0;
8972             target: "elm.text";
8973          }
8974       }
8975    }
8976
8977    group { name: "elm/entry/base-noedit-charwrap/default";
8978       parts {
8979          part { name: "elm.text";
8980             type: TEXTBLOCK;
8981             mouse_events: 1;
8982             scale: 1;
8983             entry_mode: PLAIN;
8984             select_mode: EXPLICIT;
8985             multiline: 1;
8986             source: "elm/entry/selection/default"; // selection under
8987             source5: "elm/entry/anchor/default"; // anchor under
8988             description { state: "default" 0.0;
8989                fixed: 1 0;
8990                text {
8991                   style: "entry_textblock_style_charwrap";
8992                   min: 0 1;
8993                   align: 0.0 0.0;
8994                }
8995             }
8996             description { state: "disabled" 0.0;
8997                inherit: "default" 0.0;
8998                text {
8999                   style: "entry_textblock_disabled_style_charwrap";
9000                }
9001             }
9002          }
9003       }
9004       programs {
9005          program { name: "focus";
9006             signal: "load";
9007             source: "";
9008             action: FOCUS_SET;
9009             target: "elm.text";
9010          }
9011          program { name: "disable";
9012             signal: "elm,state,disabled";
9013             source: "elm";
9014             action: STATE_SET "disabled" 0.0;
9015             target: "elm.text";
9016          }
9017          program { name: "enable";
9018             signal: "elm,state,enabled";
9019             source: "elm";
9020             action: STATE_SET "default" 0.0;
9021             target: "elm.text";
9022          }
9023       }
9024    }
9025
9026    group { name: "elm/entry/base-nowrap-noedit/default";
9027       parts {
9028          part { name: "elm.text";
9029             type: TEXTBLOCK;
9030             mouse_events: 1;
9031             scale: 1;
9032             entry_mode: PLAIN;
9033             select_mode: EXPLICIT;
9034             multiline: 1;
9035             source: "elm/entry/selection/default"; // selection under
9036             source5: "elm/entry/anchor/default"; // anchor under
9037             description { state: "default" 0.0;
9038                text {
9039                   style: "entry_textblock_style";
9040                   min: 1 1;
9041                   align: 0.0 0.0;
9042                }
9043             }
9044             description { state: "disabled" 0.0;
9045                inherit: "default" 0.0;
9046                text {
9047                   style: "entry_textblock_disabled_style";
9048                }
9049             }
9050          }
9051       }
9052       programs {
9053          program { name: "focus";
9054             signal: "load";
9055             source: "";
9056             action: FOCUS_SET;
9057             target: "elm.text";
9058          }
9059          program { name: "disable";
9060             signal: "elm,state,disabled";
9061             source: "elm";
9062             action: STATE_SET "disabled" 0.0;
9063             target: "elm.text";
9064          }
9065          program { name: "enable";
9066             signal: "elm,state,enabled";
9067             source: "elm";
9068             action: STATE_SET "default" 0.0;
9069             target: "elm.text";
9070          }
9071       }
9072    }
9073
9074    group { name: "elm/entry/base-password/default";
9075       parts {
9076          part { name: "elm.text";
9077             type: TEXTBLOCK;
9078             mouse_events: 1;
9079             scale: 1;
9080             entry_mode: PASSWORD;
9081             select_mode: EXPLICIT;
9082             multiline: 0;
9083             source: "elm/entry/selection/default"; // selection under
9084             source4: "elm/entry/cursor/default"; // cursorover
9085             source5: "elm/entry/anchor/default"; // anchor under
9086             description { state: "default" 0.0;
9087                text {
9088                   style: "entry_single_textblock_style";
9089                   repch: "*";
9090                   min: 1 1;
9091                   max: 0 0;
9092                   align: 0.0 0.5;
9093                }
9094             }
9095             description { state: "disabled" 0.0;
9096                inherit: "default" 0.0;
9097                text {
9098                   style: "entry_single_textblock_disabled_style";
9099                }
9100             }
9101          }
9102       }
9103       programs {
9104          program { name: "focus";
9105             signal: "load";
9106             source: "";
9107             action: FOCUS_SET;
9108             target: "elm.text";
9109          }
9110          program { name: "disable";
9111             signal: "elm,state,disabled";
9112             source: "elm";
9113             action: STATE_SET "disabled" 0.0;
9114             target: "elm.text";
9115          }
9116          program { name: "enable";
9117             signal: "elm,state,enabled";
9118             source: "elm";
9119             action: STATE_SET "default" 0.0;
9120             target: "elm.text";
9121          }
9122       }
9123    }
9124
9125    group { name: "elm/entry/cursor/default";
9126       images {
9127          image: "cur_box.png" COMP;
9128          image: "cur_hi.png" COMP;
9129          image: "cur_shad.png" COMP;
9130          image: "cur_shine.png" COMP;
9131          image: "cur_glow.png" COMP;
9132       }
9133       parts {
9134          part { name: "clip2";
9135             type: RECT;
9136             mouse_events: 0;
9137             description { state: "default" 0.0;
9138                rel1.to: "clip";
9139                rel2.to: "clip";
9140                visible: 0;
9141             }
9142             description { state: "focused" 0.0;
9143                inherit: "default" 0.0;
9144                visible: 1;
9145             }
9146          }
9147          part { name: "clip";
9148             type: RECT;
9149             mouse_events: 0;
9150             clip_to: "clip2";
9151             description { state: "default" 0.0;
9152                rel1.offset: -10 0;
9153                rel2.offset: 9 9;
9154             }
9155             description { state: "hidden" 0.0;
9156                inherit: "default" 0.0;
9157                visible: 0;
9158             }
9159          }
9160          part { name: "bg";
9161             mouse_events: 0;
9162             clip_to: "clip";
9163             description { state: "default" 0.0;
9164                rel1.to: "base";
9165                rel1.offset: -2 0;
9166                rel2.to: "base";
9167                rel2.offset: 1 1;
9168                image.border: 2 2 2 2;
9169                image.normal: "cur_shad.png";
9170             }
9171          }
9172          part { name: "base";
9173             mouse_events: 0;
9174             scale: 1;
9175             clip_to: "clip";
9176             description { state: "default" 0.0;
9177                min: 2 2;
9178                align: 0.5 1.0;
9179                rel1.relative: 0.0 1.0;
9180                rel1.offset: 0 -1;
9181                rel2.relative: 1.0 1.0;
9182                rel2.offset: -1 -1;
9183                image.normal: "cur_box.png";
9184             }
9185          }
9186          part { name: "hi";
9187             mouse_events: 0;
9188             clip_to: "clip";
9189             description { state: "default" 0.0;
9190                rel1.to: "base";
9191                rel2.to: "base";
9192                rel2.relative: 1.0 0.5;
9193                image.normal: "cur_hi.png";
9194             }
9195          }
9196          part { name: "shine";
9197             mouse_events: 0;
9198             clip_to: "clip";
9199             clip_to: "clip2";
9200             description { state: "default" 0.0;
9201                rel1.to: "base";
9202                rel2.to: "base";
9203                rel2.relative: 1.0 0.75;
9204                image.border: 2 2 1 0;
9205                image.normal: "cur_shine.png";
9206                fill.smooth: 0;
9207             }
9208          }
9209          part { name: "glow";
9210             mouse_events: 0;
9211             clip_to: "clip2";
9212             description { state: "default" 0.0;
9213                rel1.to: "base";
9214                rel1.relative: 0.0 -2.0;
9215                rel1.offset: -2 0;
9216                rel2.to: "base";
9217                rel2.relative: 1.0 0.0;
9218                rel2.offset: 1 1;
9219                image.border: 2 2 0 4;
9220                image.normal: "cur_glow.png";
9221                fill.smooth: 0;
9222             }
9223             description { state: "hidden" 0.0;
9224                inherit: "default" 0.0;
9225                color: 255 255 255 0;
9226             }
9227          }
9228       }
9229       programs {
9230          program { name: "show";
9231             signal: "show";
9232             source: "";
9233             action: STATE_SET "hidden" 0.0;
9234             in: 1.0 0.0;
9235             transition: DECELERATE 2.0;
9236             target: "glow";
9237             after: "show2";
9238          }
9239          program { name: "show2";
9240             action: STATE_SET "hidden" 0.0;
9241             in: 0.2 0.0;
9242             target: "clip";
9243             after: "show3";
9244          }
9245          program { name: "show3";
9246             action: STATE_SET "default" 0.0;
9247             in: 0.5 0.0;
9248             target: "clip";
9249             after: "show4";
9250          }
9251          program { name: "show4";
9252             action: STATE_SET "default" 0.0;
9253             in: 0.5 0.0;
9254             transition: DECELERATE 0.5;
9255             target: "glow";
9256             after: "show";
9257          }
9258          program { name: "focused";
9259             signal: "elm,action,focus";
9260             source: "elm";
9261             action: STATE_SET "focused" 0.0;
9262             target: "clip2";
9263          }
9264          program { name: "unfocused";
9265             signal: "elm,action,unfocus";
9266             source: "elm";
9267             action: STATE_SET "default" 0.0;
9268             target: "clip2";
9269          }
9270       }
9271    }
9272
9273    group { name: "elm/entry/selection/default";
9274       parts {
9275          part { name: "bg";
9276             type: RECT;
9277             mouse_events: 0;
9278             description { state: "default" 0.0;
9279                color: 128 128 128 128;
9280             }
9281          }
9282       }
9283    }
9284
9285    group { name: "elm/entry/anchor/default";
9286       parts {
9287          part { name: "bg";
9288             type: RECT;
9289             mouse_events: 0;
9290             description { state: "default" 0.0;
9291                color: 128 0 0 64;
9292             }
9293          }
9294       }
9295    }
9296
9297 ///////////////////////////////////////////////////////////////////////////////
9298   group { name: "elm/bubble/top_left/default";
9299     alias: "elm/bubble/base/default";
9300     images {
9301       image: "bubble_3.png" COMP;
9302       image: "bubble_4.png" COMP;
9303       image: "bubble_shine3.png" COMP;
9304       image: "bubble_shine4.png" COMP;
9305     }
9306     parts {
9307       part { name: "event";
9308          type: RECT;
9309          description {
9310             state: "default" 0.0;
9311             color: 0 0 0 0;
9312          }
9313       }
9314       part { name: "elm.swallow.icon";
9315         type: SWALLOW;
9316         description { state: "default" 0.0;
9317           fixed: 1 1;
9318           visible: 0;
9319           align: 0.0 0.0;
9320           aspect: 1.0 1.0;
9321           aspect_preference: VERTICAL;
9322           rel1 {
9323             relative: 0.0 0.0;
9324             offset: 4 4;
9325           }
9326           rel2 {
9327             to_y: "elm.text";
9328             relative: 0.0 1.0;
9329             offset: 4 -1;
9330           }
9331         }
9332         description { state: "visible" 0.0;
9333           inherit: "default" 0.0;
9334           visible: 1;
9335         }
9336       }
9337       part { name: "elm.text";
9338         type: TEXT;
9339         mouse_events:   0;
9340         scale: 1;
9341         description { state: "default" 0.0;
9342           align: 0.0 0.0;
9343           fixed: 0 1;
9344           rel1 {
9345             to_x: "elm.swallow.icon";
9346             relative: 1.0 0.0;
9347             offset: 4 4;
9348           }
9349           rel2 {
9350             to_x: "elm.info";
9351             relative: 0.0 0.0;
9352             offset: -5 4;
9353           }
9354           color: 0 0 0 255;
9355           text {
9356             font: "Sans:style=Bold,Edje-Vera-Bold";
9357             size: 10;
9358             min: 0 1;
9359             max: 0 1;
9360             align: 0.0 0.0;
9361           }
9362         }
9363       }
9364       part { name: "elm.info";
9365         type: TEXT;
9366         mouse_events:   0;
9367         scale: 1;
9368         description { state: "default" 0.0;
9369           align: 1.0 0.0;
9370           fixed: 1 1;
9371           rel1 {
9372             relative: 1.0 0.0;
9373             offset: -5 4;
9374           }
9375           rel2 {
9376             relative: 1.0 0.0;
9377             offset: -5 4;
9378           }
9379           color: 0 0 0 64;
9380           text {
9381             font: "Sans:style=Bold,Edje-Vera-Bold";
9382             size: 10;
9383             min: 1 1;
9384             max: 1 1;
9385             align: 1.0 0.0;
9386           }
9387         }
9388       }
9389       part { name: "base0";
9390         mouse_events:  0;
9391         description { state: "default" 0.0;
9392           rel1 {
9393             to_y: "elm.swallow.icon";
9394             relative: 0.0 1.0;
9395             offset: 0 0;
9396           }
9397           image {
9398             normal: "bubble_3.png";
9399             border: 36 11 18 9;
9400           }
9401           image.middle: SOLID;
9402           fill.smooth: 0;
9403         }
9404         description { state: "rtl" 0.0;
9405            inherit: "default" 0.0;
9406            image {
9407               normal: "bubble_4.png";
9408               border: 11 36 18 9;
9409            }
9410         }
9411       }
9412       part { name: "elm.swallow.content";
9413         type: SWALLOW;
9414         description { state: "default" 0.0;
9415           rel1 {
9416             to: "base0";
9417             offset: 9 16;
9418           }
9419           rel2 {
9420             to: "base0";
9421             offset: -10 -9;
9422           }
9423         }
9424       }
9425       part { name: "shine";
9426         mouse_events:  0;
9427         description { state:    "default" 0.0;
9428           rel1 {
9429             to: "base0";
9430             offset: 5 4;
9431           }
9432           rel2 {
9433             to: "base0";
9434             relative: 1.0 0.5;
9435             offset: -6 7;
9436           }
9437           image {
9438             normal: "bubble_shine3.png";
9439             border: 36 5 14 0;
9440           }
9441           fill.smooth: 0;
9442         }
9443         description { state: "rtl" 0.0;
9444            inherit: "default" 0.0;
9445            image {
9446               normal: "bubble_shine4.png";
9447               border: 5 36 14 0;
9448            }
9449         }
9450       }
9451     }
9452     programs {
9453       program {
9454         name: "icon_show";
9455         signal: "elm,state,icon,visible";
9456         source: "elm";
9457         action: STATE_SET "visible" 0.0;
9458         target: "elm.swallow.icon";
9459       }
9460       program {
9461         name: "icon_hide";
9462         signal: "elm,state,icon,hidden";
9463         source: "elm";
9464         action: STATE_SET "default" 0.0;
9465         target: "elm.swallow.icon";
9466       }
9467       program { name: "to_rtl";
9468          signal: "edje,state,rtl";
9469          source: "edje";
9470          action: STATE_SET "rtl" 0.0;
9471          target: "base0";
9472          target: "shine";
9473       }
9474       program { name: "to_ltr";
9475          signal: "edje,state,ltr";
9476          source: "edje";
9477          action: STATE_SET "default" 0.0;
9478          target: "base0";
9479          target: "shine";
9480       }
9481     }
9482   }
9483
9484   group { name: "elm/bubble/top_right/default";
9485     images {
9486       image: "bubble_3.png" COMP;
9487       image: "bubble_4.png" COMP;
9488       image: "bubble_shine3.png" COMP;
9489       image: "bubble_shine4.png" COMP;
9490     }
9491     parts {
9492       part { name: "event";
9493          type: RECT;
9494          description {
9495             state: "default" 0.0;
9496             color: 0 0 0 0;
9497          }
9498       }
9499       part { name: "elm.swallow.icon";
9500         type: SWALLOW;
9501         description { state: "default" 0.0;
9502           fixed: 1 1;
9503           visible: 0;
9504           align: 1.0 0.0;
9505           aspect: 1.0 1.0;
9506           aspect_preference: VERTICAL;
9507           rel1 {
9508             relative: 1.0 0.0;
9509             offset: -5 4;
9510           }
9511           rel2 {
9512             to_y: "elm.text";
9513             relative: 1.0 1.0;
9514             offset: -5 -1;
9515           }
9516         }
9517         description { state: "visible" 0.0;
9518           inherit: "default" 0.0;
9519           visible: 1;
9520         }
9521       }
9522       part { name: "elm.text";
9523         type: TEXT;
9524         mouse_events:   0;
9525         scale: 1;
9526         description { state: "default" 0.0;
9527           align: 0.0 0.0;
9528           fixed: 0 1;
9529           rel1 {
9530             relative: 0.0 0.0;
9531             offset: 4 4;
9532           }
9533           rel2 {
9534             to_x: "elm.info";
9535             relative: 0.0 0.0;
9536             offset: -5 4;
9537           }
9538           color: 0 0 0 255;
9539           text {
9540             font: "Sans:style=Bold,Edje-Vera-Bold";
9541             size: 10;
9542             min: 0 1;
9543             max: 0 1;
9544             align: 0.0 0.0;
9545           }
9546         }
9547       }
9548       part { name: "elm.info";
9549         type: TEXT;
9550         mouse_events:   0;
9551         scale: 1;
9552         description { state: "default" 0.0;
9553           align: 1.0 0.0;
9554           fixed: 1 1;
9555           rel1 {
9556             relative: 1.0 0.0;
9557             offset: -5 4;
9558           }
9559           rel2 {
9560             to_x: "elm.swallow.icon";
9561             relative: 0.0 0.0;
9562             offset: -5 4;
9563           }
9564           color: 0 0 0 64;
9565           text {
9566             font: "Sans:style=Bold,Edje-Vera-Bold";
9567             size: 10;
9568             min: 1 1;
9569             max: 1 1;
9570             align: 1.0 0.0;
9571           }
9572         }
9573       }
9574       part { name: "base0";
9575         mouse_events:  0;
9576         description { state: "default" 0.0;
9577           rel1 {
9578             to_y: "elm.swallow.icon";
9579             relative: 0.0 1.0;
9580             offset: 0 0;
9581           }
9582           image {
9583             normal: "bubble_4.png";
9584             border: 11 36 18 9;
9585           }
9586           image.middle: SOLID;
9587           fill.smooth: 0;
9588         }
9589         description { state: "rtl" 0.0;
9590            inherit: "default" 0.0;
9591            image {
9592               normal: "bubble_3.png";
9593               border: 36 11 18 9;
9594            }
9595         }
9596       }
9597       part { name: "elm.swallow.content";
9598         type: SWALLOW;
9599         description { state: "default" 0.0;
9600           rel1 {
9601             to: "base0";
9602             offset: 9 16;
9603           }
9604           rel2 {
9605             to: "base0";
9606             offset: -10 -9;
9607           }
9608         }
9609       }
9610       part { name: "shine";
9611         mouse_events:  0;
9612         description { state:    "default" 0.0;
9613           rel1 {
9614             to: "base0";
9615             offset: 5 4;
9616           }
9617           rel2 {
9618             to: "base0";
9619             relative: 1.0 0.5;
9620             offset: -6 7;
9621           }
9622           image {
9623             normal: "bubble_shine4.png";
9624             border: 5 36 14 0;
9625           }
9626           fill.smooth: 0;
9627         }
9628         description { state: "rtl" 0.0;
9629            inherit: "default" 0.0;
9630            image {
9631               normal: "bubble_shine3.png";
9632               border: 36 5 14 0;
9633            }
9634         }
9635       }
9636     }
9637     programs {
9638       program {
9639         name: "icon_show";
9640         signal: "elm,state,icon,visible";
9641         source: "elm";
9642         action: STATE_SET "visible" 0.0;
9643         target: "elm.swallow.icon";
9644       }
9645       program {
9646         name: "icon_hide";
9647         signal: "elm,state,icon,hidden";
9648         source: "elm";
9649         action: STATE_SET "default" 0.0;
9650         target: "elm.swallow.icon";
9651       }
9652       program { name: "to_rtl";
9653          signal: "edje,state,rtl";
9654          source: "edje";
9655          action: STATE_SET "rtl" 0.0;
9656          target: "base0";
9657          target: "shine";
9658       }
9659       program { name: "to_ltr";
9660          signal: "edje,state,ltr";
9661          source: "edje";
9662          action: STATE_SET "default" 0.0;
9663          target: "base0";
9664          target: "shine";
9665       }
9666     }
9667   }
9668
9669   group { name: "elm/bubble/bottom_left/default";
9670     images {
9671       image: "bubble_1.png" COMP;
9672       image: "bubble_2.png" COMP;
9673       image: "bubble_shine.png" COMP;
9674     }
9675     parts {
9676       part { name: "event";
9677          type: RECT;
9678          description {
9679             state: "default" 0.0;
9680             color: 0 0 0 0;
9681          }
9682       }
9683       part { name: "elm.swallow.icon";
9684         type: SWALLOW;
9685         description { state: "default" 0.0;
9686           fixed: 1 1;
9687           visible: 0;
9688           align: 0.0 1.0;
9689           aspect: 1.0 1.0;
9690           aspect_preference: VERTICAL;
9691           rel1 {
9692             to_y: "elm.text";
9693             relative: 0.0 0.0;
9694             offset: 4 0;
9695           }
9696           rel2 {
9697             relative: 0.0 1.0;
9698             offset: 4 -5;
9699           }
9700         }
9701         description { state: "visible" 0.0;
9702           inherit: "default" 0.0;
9703           visible: 1;
9704         }
9705       }
9706       part { name: "elm.text";
9707         type: TEXT;
9708         mouse_events:   0;
9709         scale: 1;
9710         description { state: "default" 0.0;
9711           align: 0.0 1.0;
9712           fixed: 0 1;
9713           rel1 {
9714             to_x: "elm.swallow.icon";
9715             relative: 1.0 1.0;
9716             offset: 4 -5;
9717           }
9718           rel2 {
9719             to_x: "elm.info";
9720             relative: 0.0 1.0;
9721             offset: -5 -5;
9722           }
9723           color: 0 0 0 255;
9724           text {
9725             font: "Sans:style=Bold,Edje-Vera-Bold";
9726             size: 10;
9727             min: 0 1;
9728             max: 0 1;
9729             align: 0.0 1.0;
9730           }
9731         }
9732       }
9733       part { name: "elm.info";
9734         type: TEXT;
9735         mouse_events:   0;
9736         scale: 1;
9737         description { state: "default" 0.0;
9738           align: 1.0 1.0;
9739           fixed: 1 1;
9740           rel1 {
9741             relative: 1.0 1.0;
9742             offset: -5 -5;
9743           }
9744           rel2 {
9745             relative: 1.0 1.0;
9746             offset: -5 -5;
9747           }
9748           color: 0 0 0 64;
9749           text {
9750             font: "Sans:style=Bold,Edje-Vera-Bold";
9751             size: 10;
9752             min: 1 1;
9753             max: 1 1;
9754             align: 1.0 1.0;
9755           }
9756         }
9757       }
9758       part { name: "base0";
9759         mouse_events:  0;
9760         description { state: "default" 0.0;
9761           rel2 {
9762             to_y: "elm.swallow.icon";
9763             relative: 1.0 0.0;
9764             offset: -1 -1;
9765           }
9766           image {
9767             normal: "bubble_1.png";
9768             border: 36 11 10 19;
9769           }
9770           image.middle: SOLID;
9771           fill.smooth: 0;
9772         }
9773         description { state: "rtl" 0.0;
9774            inherit: "default" 0.0;
9775            image {
9776               normal: "bubble_2.png";
9777               border: 11 36 10 19;
9778            }
9779         }
9780       }
9781       part { name: "elm.swallow.content";
9782         type: SWALLOW;
9783         description { state: "default" 0.0;
9784           rel1 {
9785             to: "base0";
9786             offset: 9 8;
9787           }
9788           rel2 {
9789             to: "base0";
9790             offset: -10 -17;
9791           }
9792         }
9793       }
9794       part { name: "shine";
9795         mouse_events:  0;
9796         description { state:    "default" 0.0;
9797           rel1 {
9798             to: "base0";
9799             offset: 5 4;
9800           }
9801           rel2 {
9802             to: "base0";
9803             relative: 1.0 0.5;
9804             offset: -6 -16;
9805           }
9806           image {
9807             normal: "bubble_shine.png";
9808             border: 5 5 5 0;
9809           }
9810           fill.smooth: 0;
9811         }
9812         description { state: "rtl" 0.0;
9813            inherit: "default" 0.0;
9814            image {
9815               normal: "bubble_shine4.png";
9816               border: 5 36 14 0;
9817            }
9818         }
9819       }
9820     }
9821     programs {
9822       program {
9823         name: "icon_show";
9824         signal: "elm,state,icon,visible";
9825         source: "elm";
9826         action: STATE_SET "visible" 0.0;
9827         target: "elm.swallow.icon";
9828       }
9829       program {
9830         name: "icon_hide";
9831         signal: "elm,state,icon,hidden";
9832         source: "elm";
9833         action: STATE_SET "default" 0.0;
9834         target: "elm.swallow.icon";
9835       }
9836       program { name: "to_rtl";
9837          signal: "edje,state,rtl";
9838          source: "edje";
9839          action: STATE_SET "rtl" 0.0;
9840          target: "base0";
9841       }
9842       program { name: "to_ltr";
9843          signal: "edje,state,ltr";
9844          source: "edje";
9845          action: STATE_SET "default" 0.0;
9846          target: "base0";
9847       }
9848     }
9849   }
9850
9851   group { name: "elm/bubble/bottom_right/default";
9852     images {
9853       image: "bubble_1.png" COMP;
9854       image: "bubble_2.png" COMP;
9855       image: "bubble_shine.png" COMP;
9856     }
9857     parts {
9858       part { name: "event";
9859          type: RECT;
9860          description {
9861             state: "default" 0.0;
9862             color: 0 0 0 0;
9863          }
9864       }
9865       part { name: "elm.swallow.icon";
9866         type: SWALLOW;
9867         description { state: "default" 0.0;
9868           fixed: 1 1;
9869           visible: 0.0;
9870           align: 1.0 1.0;
9871           aspect: 1.0 1.0;
9872           aspect_preference: VERTICAL;
9873           rel1 {
9874             to_y: "elm.text";
9875             relative: 1.0 0.0;
9876             offset: -5 0;
9877           }
9878           rel2 {
9879             relative: 1.0 1.0;
9880             offset: -5 -5;
9881           }
9882         }
9883         description { state: "visible" 0.0;
9884           inherit: "default" 0.0;
9885           visible: 1;
9886         }
9887       }
9888       part { name: "elm.text";
9889         type: TEXT;
9890         mouse_events:   0;
9891         scale: 1;
9892         description { state: "default" 0.0;
9893           align: 0.0 1.0;
9894           fixed: 0 1;
9895           rel1 {
9896             relative: 0.0 1.0;
9897             offset: 4 -5;
9898           }
9899           rel2 {
9900             to_x: "elm.info";
9901             relative: 0.0 1.0;
9902             offset: -5 -5;
9903           }
9904           color: 0 0 0 255;
9905           text {
9906             font: "Sans:style=Bold,Edje-Vera-Bold";
9907             size: 10;
9908             min: 0 1;
9909             max: 0 1;
9910             align: 0.0 1.0;
9911           }
9912         }
9913       }
9914       part { name: "elm.info";
9915         type: TEXT;
9916         mouse_events:   0;
9917         scale: 1;
9918         description { state: "default" 0.0;
9919           align: 1.0 1.0;
9920           fixed: 1 1;
9921           rel1 {
9922             relative: 1.0 1.0;
9923             offset: -5 -5;
9924           }
9925           rel2 {
9926             to_x: "elm.swallow.icon";
9927             relative: 0.0 1.0;
9928             offset: -5 -5;
9929           }
9930           color: 0 0 0 64;
9931           text {
9932             font: "Sans:style=Bold,Edje-Vera-Bold";
9933             size: 10;
9934             min: 1 1;
9935             max: 1 1;
9936             align: 1.0 1.0;
9937           }
9938         }
9939       }
9940       part { name: "base0";
9941         mouse_events:  0;
9942         description { state: "default" 0.0;
9943           rel2 {
9944             to_y: "elm.swallow.icon";
9945             relative: 1.0 0.0;
9946             offset: -1 -1;
9947           }
9948           image {
9949             normal: "bubble_2.png";
9950             border: 11 36 10 19;
9951           }
9952           image.middle: SOLID;
9953           fill.smooth: 0;
9954         }
9955         description { state: "rtl" 0.0;
9956            inherit: "default" 0.0;
9957            image {
9958               normal: "bubble_1.png";
9959               border: 36 11 10 19;
9960            }
9961         }
9962       }
9963       part { name: "elm.swallow.content";
9964         type: SWALLOW;
9965         description { state: "default" 0.0;
9966           rel1 {
9967             to: "base0";
9968             offset: 9 8;
9969           }
9970           rel2 {
9971             to: "base0";
9972             offset: -10 -17;
9973           }
9974         }
9975       }
9976       part { name: "shine";
9977         mouse_events:  0;
9978         description { state:    "default" 0.0;
9979           rel1 {
9980             to: "base0";
9981             offset: 5 4;
9982           }
9983           rel2 {
9984             to: "base0";
9985             relative: 1.0 0.5;
9986             offset: -6 -16;
9987           }
9988           image {
9989             normal: "bubble_shine.png";
9990             border: 5 5 5 0;
9991           }
9992           fill.smooth: 0;
9993         }
9994         description { state: "rtl" 0.0;
9995            inherit: "default" 0.0;
9996            image {
9997               normal: "bubble_shine3.png";
9998               border: 36 5 14 0;
9999            }
10000         }
10001       }
10002     }
10003     programs {
10004       program {
10005         name: "icon_show";
10006         signal: "elm,state,icon,visible";
10007         source: "elm";
10008         action: STATE_SET "visible" 0.0;
10009         target: "elm.swallow.icon";
10010       }
10011       program {
10012         name: "icon_hide";
10013         signal: "elm,state,icon,hidden";
10014         source: "elm";
10015         action: STATE_SET "default" 0.0;
10016         target: "elm.swallow.icon";
10017       }
10018       program { name: "to_rtl";
10019          signal: "edje,state,rtl";
10020          source: "edje";
10021          action: STATE_SET "rtl" 0.0;
10022          target: "base0";
10023       }
10024       program { name: "to_ltr";
10025          signal: "edje,state,ltr";
10026          source: "edje";
10027          action: STATE_SET "default" 0.0;
10028          target: "base0";
10029       }
10030     }
10031   }
10032
10033 ///////////////////////////////////////////////////////////////////////////////
10034    group { name: "elm/photo/base/default";
10035       images {
10036          image: "frame_1.png" COMP;
10037          image: "frame_2.png" COMP;
10038          image: "dia_grad.png" COMP;
10039          image: "head.png" COMP;
10040       }
10041       parts {
10042          part { name: "base0";
10043             mouse_events:  0;
10044             description { state: "default" 0.0;
10045                image.normal: "dia_grad.png";
10046                rel1.to: "over";
10047                rel2.to: "over";
10048                fill {
10049                   smooth: 0;
10050                   size {
10051                      relative: 0.0 1.0;
10052                      offset: 64 0;
10053                   }
10054                }
10055             }
10056          }
10057          part { name: "base";
10058             mouse_events:  0;
10059             description { state:    "default" 0.0;
10060                image {
10061                   normal: "frame_2.png";
10062                   border: 5 5 32 26;
10063                   middle: 0;
10064                }
10065                fill.smooth : 0;
10066             }
10067          }
10068          part { name: "head";
10069             mouse_events:  0;
10070             description { state:    "default" 0.0;
10071                rel1.offset: 4 4;
10072                rel2.offset: -5 -5;
10073                aspect: 1.0 1.0;
10074                aspect_preference: BOTH;
10075                image.normal: "head.png";
10076             }
10077          }
10078          part { name: "clip";
10079             mouse_events:  0;
10080             type: RECT;
10081             description { state:    "default" 0.0;
10082                rel1.offset: 4 4;
10083                rel2.offset: -5 -5;
10084                color: 255 255 255 255;
10085             }
10086          }
10087          part { name: "elm.swallow.content";
10088             type: SWALLOW;
10089             clip_to: "clip";
10090             description { state: "default" 0.0;
10091                rel1.offset: 4 4;
10092                rel2.offset: -5 -5;
10093             }
10094          }
10095          part { name: "over";
10096             mouse_events:  0;
10097             description { state:    "default" 0.0;
10098                rel1.offset: 4 4;
10099                rel2.offset: -5 -5;
10100                image {
10101                   normal: "frame_1.png";
10102                   border: 2 2 28 22;
10103                   middle: 0;
10104                }
10105                fill.smooth: 0;
10106             }
10107          }
10108      }
10109    }
10110
10111    group { name: "elm/photo/base/shadow";
10112               images {
10113                         image: "shadow.png" COMP;
10114                         image: "black.png" COMP;
10115               }
10116               script {
10117               public message(Msg_Type:type, id, ...) {
10118                 if( (type==MSG_INT_SET) && (id==0) )
10119                 {
10120                     new w;
10121                     new h;
10122
10123                     custom_state(PART:"size", "default", 0.0);
10124
10125                     w = getarg(2);
10126                     h = getarg(3);
10127                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
10128                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
10129                     set_state(PART:"size", "custom", 0.0);
10130                 }
10131             }
10132             }
10133               parts {
10134               part { name: "size";
10135                     type: SWALLOW;
10136                     description { state: "default" 0.0;
10137                             rel1.relative: 0.5 0.5;
10138                             rel2.relative: 0.5 0.5;
10139                     }
10140                  }
10141               part {
10142                 name: "shadow";
10143                 type: IMAGE;
10144                 repeat_events: 1;
10145                 description {
10146                     state: "default" 0.0;
10147                     rel1.to: "size";
10148                     rel2.to: "size";
10149                     rel1.relative: -0.06 -0.06;
10150                     rel2.relative: 1.07 1.07;
10151                     image.normal: "shadow.png";
10152                 }
10153             }
10154
10155
10156                  part { name: "elm.swallow.content";
10157                     type: SWALLOW;
10158                     description { state: "default" 0.0;
10159                     rel1.offset: 3 3;
10160                     rel2.offset: -3 -3;
10161                             fixed: 1 1;
10162                     }
10163                  }
10164
10165                  part {
10166                 name: "border";
10167                 type: IMAGE;
10168                 repeat_events: 1;
10169                 description {
10170                     state: "default" 0.0;
10171                     visible: 1;
10172                     color: 0 0 0 255;
10173                     rel1.to: "size";
10174                     rel2.to: "size";
10175                     image.normal: "black.png";
10176                     image.border: 1 1 1 1;
10177                     image.middle: 0;
10178                 }
10179             }
10180                  }
10181    }
10182
10183 ///////////////////////////////////////////////////////////////////////////////
10184    group { name: "elm/thumb/base/default";
10185       images {
10186          image: "frame_1.png" COMP;
10187          image: "frame_2.png" COMP;
10188          image: "dia_grad.png" COMP;
10189          image: "busy-1.png" COMP;
10190          image: "busy-2.png" COMP;
10191          image: "busy-3.png" COMP;
10192          image: "busy-4.png" COMP;
10193          image: "busy-5.png" COMP;
10194          image: "busy-6.png" COMP;
10195          image: "busy-7.png" COMP;
10196          image: "busy-8.png" COMP;
10197          image: "busy-9.png" COMP;
10198       }
10199       parts {
10200          part { name: "base0";
10201             mouse_events:  0;
10202             description { state:        "default" 0.0;
10203                image.normal: "dia_grad.png";
10204                rel1.to: "over";
10205                rel2.to: "over";
10206                fill {
10207                   smooth: 0;
10208                   size {
10209                      relative: 0.0 1.0;
10210                      offset: 64 0;
10211                   }
10212                }
10213             }
10214          }
10215          part { name: "base";
10216             mouse_events:  0;
10217             description { state:        "default" 0.0;
10218                image {
10219                   normal: "frame_2.png";
10220                   border: 5 5 32 26;
10221                   middle: 0;
10222                }
10223                fill.smooth : 0;
10224             }
10225          }
10226          part { name: "clip";
10227             mouse_events:  0;
10228             type: RECT;
10229             description { state:        "default" 0.0;
10230                rel1.offset: 4 4;
10231                rel2.offset: -5 -5;
10232                color: 255 255 255 255;
10233             }
10234          }
10235          part { name: "elm.swallow.content";
10236             type: SWALLOW;
10237             clip_to: "clip";
10238             description { state:        "default" 0.0;
10239                rel1.offset: 4 4;
10240                rel2.offset: -5 -5;
10241             }
10242          }
10243          part { name: "progress";
10244             mouse_events: 0;
10245
10246             clip_to: "clip";
10247             description { state:        "default" 0.0;
10248                min: 32 32;
10249                max: 32 32;
10250                visible: 0;
10251                aspect: 1.0 1.0;
10252                aspect_preference: BOTH;
10253             }
10254             description { state:        "pulse" 0.0;
10255                inherit: "default" 0.0;
10256                visible: 1;
10257                image {
10258                   normal: "busy-9.png";
10259                   tween:  "busy-1.png";
10260                   tween:  "busy-2.png";
10261                   tween:  "busy-3.png";
10262                   tween:  "busy-4.png";
10263                   tween:  "busy-5.png";
10264                   tween:  "busy-6.png";
10265                   tween:  "busy-7.png";
10266                   tween:  "busy-8.png";
10267                   border: 7 7 7 7;
10268                }
10269             }
10270          }
10271          part { name: "over";
10272             mouse_events:  0;
10273             description { state:        "default" 0.0;
10274                rel1.offset: 4 4;
10275                rel2.offset: -5 -5;
10276                image {
10277                   normal: "frame_1.png";
10278                   border: 2 2 28 22;
10279                   middle: 0;
10280                }
10281                fill.smooth: 0;
10282             }
10283          }
10284          programs {
10285             program { name: "start_pulse";
10286                signal: "elm,state,pulse,start";
10287                source: "elm";
10288                action: STATE_SET "pulse" 0.0;
10289                target: "progress";
10290                transition: LINEAR 0.5;
10291                after: "start_pulse";
10292             }
10293             program { name: "stop_pulse";
10294                signal: "elm,state,pulse,stop";
10295                source: "elm";
10296                action: STATE_SET "default" 0.0;
10297                target: "progress";
10298             }
10299          }
10300       }
10301    }
10302
10303    group { name: "elm/thumb/base/noframe";
10304       images {
10305          image: "busy-1.png" COMP;
10306          image: "busy-2.png" COMP;
10307          image: "busy-3.png" COMP;
10308          image: "busy-4.png" COMP;
10309          image: "busy-5.png" COMP;
10310          image: "busy-6.png" COMP;
10311          image: "busy-7.png" COMP;
10312          image: "busy-8.png" COMP;
10313          image: "busy-9.png" COMP;
10314       }
10315       parts {
10316          part { name: "elm.swallow.content";
10317             type: SWALLOW;
10318             description { state: "default" 0.0;
10319                rel1.offset: 4 4;
10320                rel2.offset: -5 -5;
10321             }
10322          }
10323          part { name: "progress";
10324             mouse_events: 0;
10325             description { state:        "default" 0.0;
10326                min: 32 32;
10327                max: 32 32;
10328                visible: 0;
10329                aspect: 1.0 1.0;
10330                aspect_preference: BOTH;
10331             }
10332             description { state:        "pulse" 0.0;
10333                inherit: "default" 0.0;
10334                visible: 1;
10335                image {
10336                   normal: "busy-9.png";
10337                   tween:  "busy-1.png";
10338                   tween:  "busy-2.png";
10339                   tween:  "busy-3.png";
10340                   tween:  "busy-4.png";
10341                   tween:  "busy-5.png";
10342                   tween:  "busy-6.png";
10343                   tween:  "busy-7.png";
10344                   tween:  "busy-8.png";
10345                   border: 7 7 7 7;
10346                }
10347             }
10348          }
10349          programs {
10350             program { name: "start_pulse";
10351                signal: "elm,state,pulse,start";
10352                source: "elm";
10353                action: STATE_SET "pulse" 0.0;
10354                target: "progress";
10355                transition: LINEAR 0.5;
10356                after: "start_pulse";
10357             }
10358             program { name: "stop_pulse";
10359                signal: "elm,state,pulse,stop";
10360                source: "elm";
10361                action: STATE_SET "default" 0.0;
10362                target: "progress";
10363             }
10364          }
10365       }
10366    }
10367
10368
10369 ///////////////////////////////////////////////////////////////////////////////
10370    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10371       images.image: "icon_home.png" COMP; parts { part { name: "base";
10372          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10373             image.normal: "icon_home.png"; } } } }
10374    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10375       images.image: "icon_close.png" COMP; parts { part { name: "base";
10376          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10377             image.normal: "icon_close.png"; } } } }
10378    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10379       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10380          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10381             image.normal: "icon_apps.png"; } } } }
10382    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10383       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10384          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10385             image.normal: "icon_arrow_up.png"; } } } }
10386    group { name: "elm/icon/arrow_down/default";
10387            alias: "elm/icon/toolbar/arrow_down/default";
10388            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10389       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10390          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10391             image.normal: "icon_arrow_down.png"; } } } }
10392    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10393       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10394          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10395             image.normal: "icon_arrow_left.png"; } } } }
10396    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10397       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10398          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10399             image.normal: "icon_arrow_right.png"; } } } }
10400    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10401       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10402          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10403             image.normal: "icon_chat.png"; } } } }
10404    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10405       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10406          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10407             image.normal: "icon_clock.png"; } } } }
10408    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10409       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10410          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10411             image.normal: "icon_delete.png"; } } } }
10412    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10413       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10414          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10415             image.normal: "icon_edit.png"; } } } }
10416    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10417       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10418          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10419             image.normal: "icon_refresh.png"; } } } }
10420    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10421       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10422          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10423             image.normal: "icon_folder.png"; } } } }
10424    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10425       images.image: "icon_file.png" COMP; parts { part { name: "base";
10426          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10427             image.normal: "icon_file.png"; } } } }
10428 ///////////////////////////////////////////////////////////////////////////////
10429    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10430       images.image: "icon_home.png" COMP; parts { part { name: "base";
10431          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10432             image.normal: "icon_home.png"; } } } }
10433    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10434       images.image: "icon_close.png" COMP; parts { part { name: "base";
10435          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10436             image.normal: "icon_close.png"; } } } }
10437    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10438       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10439          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10440             image.normal: "icon_apps.png"; } } } }
10441    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10442       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10443          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10444             image.normal: "icon_arrow_up.png"; } } } }
10445    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10446       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10447          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10448             image.normal: "icon_arrow_down.png"; } } } }
10449    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10450       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10451          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10452             image.normal: "icon_arrow_left.png"; } } } }
10453    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10454       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10455          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10456             image.normal: "icon_arrow_right.png"; } } } }
10457    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10458       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10459          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10460             image.normal: "icon_chat.png"; } } } }
10461    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10462       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10463          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10464             image.normal: "icon_clock.png"; } } } }
10465    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10466       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10467          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10468             image.normal: "icon_delete.png"; } } } }
10469    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10470       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10471          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10472             image.normal: "icon_edit.png"; } } } }
10473    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10474       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10475          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10476             image.normal: "icon_refresh.png"; } } } }
10477    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10478       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10479          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10480             image.normal: "icon_folder.png"; } } } }
10481    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10482       images.image: "icon_file.png" COMP; parts { part { name: "base";
10483          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10484             image.normal: "icon_file.png"; } } } }
10485
10486 ///////////////////////////////////////////////////////////////////////////////
10487    group { name: "elm/toolbar/base/default";
10488       images {
10489          image: "bt_dis_base.png" COMP;
10490          image: "bt_dis_hilight.png" COMP;
10491          image: "bt_dis_shine.png" COMP;
10492          image: "icon_left_arrow.png" COMP;
10493          image: "icon_right_arrow.png" COMP;
10494       }
10495       parts {
10496          part { name: "base";
10497             mouse_events: 1;
10498             description { state: "default" 0.0;
10499                rel1 {
10500                   relative: 0.0 0.0;
10501                   offset: 2 2;
10502                }
10503                rel2.offset: -3 -3;
10504                image {
10505                   normal: "bt_dis_base.png";
10506                   border: 4 4 4 4;
10507                }
10508                image.middle: SOLID;
10509             }
10510          }
10511          part { name: "clipper";
10512             type: RECT;
10513             mouse_events: 0;
10514             description {
10515                state: "default" 0.0;
10516                rel1 {
10517                   to: "base";
10518                   offset: 2 2;
10519                }
10520                rel2 {
10521                   to: "base";
10522                   offset: -3 -3;
10523                }
10524             }
10525          }
10526          part { name: "elm.swallow.content";
10527             clip_to: "clipper";
10528             type: SWALLOW;
10529             description {
10530                state: "default" 0.0;
10531                rel1.to: "clipper";
10532                rel2.to: "clipper";
10533             }
10534          }
10535          part { name: "over2";
10536             mouse_events: 0;
10537             description { state: "default" 0.0;
10538                rel1.to: "base";
10539                rel2.to: "base";
10540                image {
10541                   normal: "bt_dis_shine.png";
10542                   border: 4 4 4 4;
10543                }
10544             }
10545          }
10546          part { name: "over1";
10547             mouse_events: 0;
10548             description { state: "default" 0.0;
10549                rel1.to: "base";
10550                rel2.to: "base";
10551                rel2.relative: 1.0 0.5;
10552                image {
10553                   normal: "bt_dis_hilight.png";
10554                   border: 4 4 4 0;
10555                }
10556                color: 255 255 255 128;
10557             }
10558          }
10559          part { name: "left_arrow";
10560             mouse_events: 0;
10561             description { state: "default" 0.0;
10562                image.normal: "icon_left_arrow.png";
10563                aspect: 1.0 1.0;
10564                aspect_preference: VERTICAL;
10565                align: 0.0 0.5;
10566                min: 32 32;
10567                max: 32 32;
10568             }
10569             description { state: "hidden" 0.0;
10570                inherit: "default" 0.0;
10571                visible: 0;
10572                color: 255 255 255 0;
10573             }
10574          }
10575          part { name: "right_arrow";
10576             mouse_events: 0;
10577             description { state: "default" 0.0;
10578                image.normal: "icon_right_arrow.png";
10579                aspect: 1.0 1.0;
10580                aspect_preference: VERTICAL;
10581                align: 1.0 0.5;
10582                min: 32 32;
10583                max: 32 32;
10584             }
10585             description { state: "hidden" 0.0;
10586                inherit: "default" 0.0;
10587                visible: 0;
10588                color: 255 255 255 0;
10589             }
10590          }
10591          part { name: "event";
10592             type: RECT;
10593             mouse_events: 1;
10594             repeat_events: 1;
10595             description { state: "default" 0.0;
10596                color: 0 0 0 0;
10597             }
10598          }
10599       }
10600       programs {
10601          program { name: "sb_hbar_show";
10602             signal: "elm,action,show,hbar";
10603             source: "elm";
10604             action:  STATE_SET "default" 0.0;
10605             transition: LINEAR 0.5;
10606             target: "left_arrow";
10607             target: "right_arrow";
10608          }
10609          program { name: "sb_hbar_hide";
10610             signal: "elm,action,hide,hbar";
10611             source: "elm";
10612             action:  STATE_SET "hidden" 0.0;
10613             target: "left_arrow";
10614             target: "right_arrow";
10615             transition: LINEAR 0.5;
10616          }
10617       }
10618    }
10619
10620    group { name: "elm/toolbar/item/default";
10621        images {
10622            image: "toolbar_sel.png" COMP;
10623        }
10624        data.item: "transition_animation_on" "1";
10625        parts {
10626            part { name: "label2";
10627                type: TEXT;
10628                mouse_events:  0;
10629                scale: 1;
10630                clip_to: "elm.text.clipper";
10631                description { state: "default" 0.0;
10632                    align: 0.5 1.0;
10633                    fixed: 0 1;
10634                    rel1.to: "elm.text";
10635                    rel2.to: "elm.text";
10636                    color: 0 0 0 255;
10637                    text {
10638                        font: "Sans";
10639                        text_source: "elm.text";
10640                        size: 10;
10641                        min: 1 1;
10642                        align: 0.5 0.5;
10643                        text_class: "toolbar_item";
10644                    }
10645                }
10646                description { state: "selected" 0.0;
10647                    inherit: "default" 0.0;
10648                    visible: 0;
10649                }
10650                description { state: "disabled" 0.0;
10651                    inherit: "default" 0.0;
10652                    color: 0 0 0 128;
10653                    color3: 0 0 0 0;
10654                }
10655                description { state: "disabled_visible" 0.0;
10656                    inherit: "default" 0.0;
10657                    color: 0 0 0 128;
10658                    color3: 0 0 0 0;
10659                    visible: 1;
10660                    text.min: 1 1;
10661                }
10662            }
10663            part { name: "label2_new";
10664                type: TEXT;
10665                mouse_events:  0;
10666                scale: 1;
10667                clip_to: "elm.text_new.clipper";
10668                description { state: "default" 0.0;
10669                    align: 0.5 1.0;
10670                    fixed: 0 1;
10671                    rel1.to: "elm.text_new";
10672                    rel2.to: "elm.text_new";
10673                    color: 0 0 0 255;
10674                    text {
10675                        font: "Sans";
10676                        text_source: "elm.text_new";
10677                        size: 10;
10678                        min: 1 1;
10679                        align: 0.5 0.5;
10680                        text_class: "toolbar_item";
10681                    }
10682                }
10683                description { state: "selected" 0.0;
10684                    inherit: "default" 0.0;
10685                    visible: 0;
10686                }
10687                description { state: "disabled" 0.0;
10688                    inherit: "default" 0.0;
10689                    color: 0 0 0 128;
10690                    color3: 0 0 0 0;
10691                }
10692                description { state: "disabled_visible" 0.0;
10693                    inherit: "default" 0.0;
10694                    color: 0 0 0 128;
10695                    color3: 0 0 0 0;
10696                    visible: 1;
10697                    text.min: 1 1;
10698                }
10699            }
10700            part { name: "bg";
10701                mouse_events: 0;
10702                description { state: "default" 0.0;
10703                    visible: 0;
10704                    color: 255 255 255 0;
10705                    image {
10706                        normal: "toolbar_sel.png";
10707                        border: 3 3 0 0;
10708                    }
10709                    image.middle: SOLID;
10710                    fill.smooth: 0;
10711                }
10712                description { state: "selected" 0.0;
10713                    inherit: "default" 0.0;
10714                    visible: 1;
10715                    color: 255 255 255 255;
10716                }
10717                description { state: "disabled" 0.0;
10718                    inherit: "default" 0.0;
10719                    visible: 0;
10720                    color: 255 255 255 0;
10721                }
10722            }
10723            part { name: "elm.swallow.icon";
10724                type: SWALLOW;
10725                clip_to: "elm.icon.clipper";
10726                description { state: "default" 0.0;
10727                    align: 0.5 0.5;
10728                    fixed: 0 0;
10729                    rel1 {
10730                        relative: 0.0 0.0;
10731                        offset: 2 2;
10732                    }
10733                    rel2 {
10734                        to_y: "elm.text";
10735                        relative: 1.0 0.0;
10736                        offset: -3 -1;
10737                    }
10738                    color: 0 0 0 0;
10739                }
10740            }
10741            part { name: "elm.swallow.icon_new";
10742                type: SWALLOW;
10743                clip_to: "elm.icon_new.clipper";
10744                description { state: "default" 0.0;
10745                    align: 0.5 0.5;
10746                    fixed: 0 0;
10747                    rel1 {
10748                        relative: 0.0 0.0;
10749                        offset: 2 2;
10750                    }
10751                    rel2 {
10752                        to_y: "elm.text_new";
10753                        relative: 1.0 0.0;
10754                        offset: -3 -1;
10755                    }
10756                    color: 0 0 0 0;
10757                }
10758            }
10759            part { name: "elm.text";
10760                type: TEXT;
10761                effect: SOFT_SHADOW;
10762                mouse_events:  0;
10763                scale: 1;
10764                clip_to: "elm.text.clipper";
10765                description { state: "default" 0.0;
10766                    align: 0.5 1.0;
10767                    fixed: 0 1;
10768                    rel1 {
10769                        relative: 0.0 1.0;
10770                        offset:   0 -1;
10771                    }
10772                    rel2 {
10773                        relative: 1.0 1.0;
10774                        offset:   -1 -1;
10775                    }
10776                    visible: 0;
10777                    color: 224 224 224 255;
10778                    color3: 0 0 0 32;
10779                    text {
10780                        font: "Sans:style=Bold";
10781                        size: 10;
10782                        min: 1 1;
10783                        align: 0.5 0.5;
10784                        text_class: "toolbar_item";
10785                    }
10786                }
10787                description { state: "selected" 0.0;
10788                    inherit: "default" 0.0;
10789                    visible: 1;
10790                }
10791                description { state: "visible" 0.0;
10792                    inherit: "default" 0.0;
10793                    visible: 1;
10794                    text.min: 1 1;
10795                }
10796                description { state: "disabled" 0.0;
10797                    inherit: "default" 0.0;
10798                    color: 0 0 0 128;
10799                    color3: 0 0 0 0;
10800                }
10801                description { state: "disabled_visible" 0.0;
10802                    inherit: "default" 0.0;
10803                    color: 0 0 0 128;
10804                    color3: 0 0 0 0;
10805                    visible: 1;
10806                    text.min: 1 1;
10807                }
10808            }
10809            part { name: "elm.text_new";
10810                type: TEXT;
10811                effect: SOFT_SHADOW;
10812                mouse_events:  0;
10813                clip_to: "elm.text_new.clipper";
10814                scale: 1;
10815                description { state: "default" 0.0;
10816                    align: 0.5 1.0;
10817                    fixed: 0 1;
10818                    rel1 {
10819                        relative: 0.0 1.0;
10820                        offset:   0 -1;
10821                    }
10822                    rel2 {
10823                        relative: 1.0 1.0;
10824                        offset:   -1 -1;
10825                    }
10826                    visible: 0;
10827                    color: 224 224 224 255;
10828                    color3: 0 0 0 32;
10829                    text {
10830                        font: "Sans:style=Bold";
10831                        size: 10;
10832                        min: 1 1;
10833                        align: 0.5 0.5;
10834                        text_class: "toolbar_item";
10835                    }
10836                }
10837                description { state: "selected" 0.0;
10838                    inherit: "default" 0.0;
10839                    visible: 1;
10840                }
10841                description { state: "visible" 0.0;
10842                    inherit: "default" 0.0;
10843                    visible: 1;
10844                    text.min: 1 1;
10845                }
10846                description { state: "disabled" 0.0;
10847                    inherit: "default" 0.0;
10848                    color: 0 0 0 128;
10849                    color3: 0 0 0 0;
10850                }
10851                description { state: "disabled_visible" 0.0;
10852                    inherit: "default" 0.0;
10853                    color: 0 0 0 128;
10854                    color3: 0 0 0 0;
10855                    visible: 1;
10856                    text.min: 1 1;
10857                }
10858            }
10859            part { name: "elm.text.clipper";
10860                type: RECT;
10861                description { state: "default" 0.0;
10862                    color: 255 255 255 255;
10863                }
10864                description { state: "animation" 0.0;
10865                    color: 255 255 255 0;
10866                }
10867            }
10868            part { name: "elm.text_new.clipper";
10869                type: RECT;
10870                description { state: "default" 0.0;
10871                    color: 255 255 255 0;
10872                }
10873                description { state: "animation" 0.0;
10874                    color: 255 255 255 255;
10875                }
10876            }
10877            part { name: "elm.icon.clipper";
10878                type: RECT;
10879                description { state: "default" 0.0;
10880                    color: 255 255 255 255;
10881                }
10882                description { state: "animation" 0.0;
10883                    color: 255 255 255 0;
10884                }
10885            }
10886            part { name: "elm.icon_new.clipper";
10887                type: RECT;
10888                description { state: "default" 0.0;
10889                    color: 255 255 255 0;
10890                }
10891                description { state: "animation" 0.0;
10892                    color: 255 255 255 255;
10893                }
10894            }
10895            part { name: "event";
10896                type: RECT;
10897                mouse_events: 1;
10898                ignore_flags: ON_HOLD;
10899                description { state: "default" 0.0;
10900                    color: 0 0 0 0;
10901                }
10902            }
10903        }
10904        programs {
10905            program { name: "go_active";
10906                signal:  "elm,state,selected";
10907                source:  "elm";
10908                action:  STATE_SET "selected" 0.0;
10909                target:  "bg";
10910                target:  "elm.text";
10911                target:  "label2";
10912                target:  "elm.text_new";
10913                target:  "label2_new";
10914                transition: LINEAR 0.2;
10915            }
10916            program { name: "go_passive";
10917                signal:  "elm,state,unselected";
10918                source:  "elm";
10919                action:  STATE_SET "default" 0.0;
10920                target:  "bg";
10921                target:  "elm.text";
10922                target:  "label2";
10923                target:  "elm.text_new";
10924                target:  "label2_new";
10925                transition: LINEAR 0.1;
10926            }
10927            program { name: "go";
10928                signal:  "mouse,up,1";
10929                source:  "event";
10930                action:  SIGNAL_EMIT "elm,action,click" "elm";
10931            }
10932            program { name: "mouse,in";
10933               signal:  "mouse,in";
10934               source:  "event";
10935               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10936            }
10937            program { name: "mouse,out";
10938               signal:  "mouse,out";
10939               source:  "event";
10940               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10941            }
10942            program { name: "disable";
10943                signal: "elm,state,disabled";
10944                source: "elm";
10945                action: STATE_SET "disabled" 0.0;
10946                target: "label2";
10947                target: "label2_new";
10948                target: "bg";
10949                after: "disable_text";
10950            }
10951            program { name: "disable_text";
10952                script {
10953                    new st[31];
10954                    new Float:vl;
10955                    get_state(PART:"elm.text", st, 30, vl);
10956                    if (!strcmp(st, "visible"))
10957                    {
10958                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10959                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10960                    }
10961                    else
10962                    {
10963                       set_state(PART:"elm.text", "disabled", 0.0);
10964                       set_state(PART:"elm.text_new", "disabled", 0.0);
10965                    }
10966                }
10967            }
10968            program { name: "enable";
10969                signal: "elm,state,enabled";
10970                source: "elm";
10971                action: STATE_SET "default" 0.0;
10972                target: "label2";
10973                target: "label2_new";
10974                target: "bg";
10975                after: "enable_text";
10976            }
10977            program { name: "enable_text";
10978                script {
10979                    new st[31];
10980                    new Float:vl;
10981                    get_state(PART:"elm.text", st, 30, vl);
10982                    if (!strcmp(st, "disabled_visible"))
10983                    {
10984                       set_state(PART:"elm.text", "visible", 0.0);
10985                       set_state(PART:"elm.text_new", "visible", 0.0);
10986                    }
10987                    else
10988                    {
10989                       set_state(PART:"elm.text", "default", 0.0);
10990                       set_state(PART:"elm.text_new", "default", 0.0);
10991                    }
10992                }
10993            }
10994            program { name: "label_set,animation,forward";
10995               signal: "elm,state,label_set,forward";
10996               source: "elm";
10997               after: "label_set,animation";
10998            }
10999            program { name: "label_set,animation,backward";
11000               signal: "elm,state,label_set,backward";
11001               source: "elm";
11002               after: "label_set,animation";
11003            }
11004            program { name: "label_set,animation";
11005               signal: "elm,state,label_set";
11006               source: "elm";
11007               action: STATE_SET "animation" 0.0;
11008               target: "elm.text.clipper";
11009               target: "elm.text_new.clipper";
11010               transition: LINEAR 0.2;
11011               after: "label_set,animation,done";
11012            }
11013            program { name: "label_set,animation,done";
11014               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
11015            }
11016            program { name: "label,reset";
11017               signal: "elm,state,label,reset";
11018               source: "elm";
11019               action: STATE_SET "default" 0.0;
11020               target: "elm.text.clipper";
11021               target: "elm.text_new.clipper";
11022            }
11023            program { name: "icon_set,animation,forward";
11024               signal: "elm,state,icon_set,forward";
11025               source: "elm";
11026               after: "icon_set,animation";
11027            }
11028            program { name: "icon_set,animation,backward";
11029               signal: "elm,state,icon_set,backward";
11030               source: "elm";
11031               after: "icon_set,animation";
11032            }
11033            program { name: "icon_set,animation";
11034               signal: "elm,state,icon_set";
11035               source: "elm";
11036               action: STATE_SET "animation" 0.0;
11037               target: "elm.icon.clipper";
11038               target: "elm.icon_new.clipper";
11039               transition: LINEAR 0.2;
11040               after: "icon_set,animation,done";
11041            }
11042            program { name: "icon_set,animation,done";
11043               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
11044            }
11045            program { name: "icon,reset";
11046               signal: "elm,state,icon,reset";
11047               source: "elm";
11048               action: STATE_SET "default" 0.0;
11049               target: "elm.icon.clipper";
11050               target: "elm.icon_new.clipper";
11051            }
11052        }
11053    }
11054
11055    group { name: "elm/toolbar/separator/default";
11056       images {
11057          image: "toolbar_separator_v.png" COMP;
11058       }
11059       parts {
11060          part { name: "separator"; // separator group
11061             description { state: "default" 0.0;
11062                min: 2 2;
11063                max: 2 9999;
11064                rel1.offset: 4 4;
11065                rel2.offset: -5 -5;
11066                image {
11067                   normal: "toolbar_separator_v.png";
11068                }
11069                fill {
11070                   smooth: 0;
11071                }
11072             }
11073          }
11074       }
11075    }
11076
11077    ///////////////////////////////////////////////////////////////////////////////
11078    group { name: "elm/notify/block_events/default";
11079        parts {
11080            part { name: "block_events";
11081                type: RECT;
11082                description { state: "default" 0.0;
11083                    color: 0 0 0 64;
11084                    visible: 1;
11085                }
11086            }
11087        }
11088            programs {
11089                    program {
11090                                 name: "block_clicked";
11091                                 signal: "mouse,clicked,1";
11092                                 source: "block_events";
11093                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
11094                    }
11095            }
11096    }
11097    group { name: "elm/notify/top/default";
11098        //this group is a design similar to the inwin group
11099        images {
11100            image: "shad_circ.png" COMP;
11101            image: "bt_dis_base.png" COMP;
11102            image: "bt_dis_hilight.png" COMP;
11103        }
11104        parts {
11105            part { name: "base";
11106                type: RECT;
11107                mouse_events: 0;
11108                repeat_events: 1;
11109                description { state: "default" 0.0;
11110                    color: 0 0 0 0;
11111                    rel1.offset: 10 10;
11112                    rel2.offset: -10 -10;
11113                    rel1.relative: 0.0 -1.0;
11114                    rel2.relative: 1.0 0.0;
11115                }
11116                description { state: "visible" 0.0;
11117                    inherit: "default" 0.0;
11118                    color: 0 0 0 64;
11119                    rel1.relative: 0.0 0.0;
11120                    rel2.relative: 1.0 1.0;
11121                }
11122            }
11123            part { name: "shad";
11124                mouse_events:  0;
11125                description { state: "default" 0.0;
11126                    image.normal: "shad_circ.png";
11127                    rel1.to: "elm.swallow.content";
11128                    rel1.offset: -64 -64;
11129                    rel2.to: "elm.swallow.content";
11130                    rel2.offset: 63 63;
11131                    fill.smooth: 0;
11132                }
11133            }
11134            part { name: "pop";
11135                mouse_events: 1;
11136                description { state: "default" 0.0;
11137                    rel1.to: "elm.swallow.content";
11138                    rel1.offset: -5 -5;
11139                    rel2.to: "elm.swallow.content";
11140                    rel2.offset: 4 4;
11141                    image {
11142                        normal: "bt_dis_base.png";
11143                        border: 4 4 4 4;
11144                    }
11145                    image.middle: SOLID;
11146                }
11147            }
11148            part { name: "popover";
11149                mouse_events: 0;
11150                description { state: "default" 0.0;
11151                    rel1.to: "pop";
11152                    rel2.to: "pop";
11153                    rel2.relative: 1.0 0.5;
11154                    image {
11155                        normal: "bt_dis_hilight.png";
11156                        border: 4 4 4 0;
11157                    }
11158                }
11159            }
11160            part { name: "elm.swallow.content";
11161                type: SWALLOW;
11162                description { state: "default" 0.0;
11163                    rel1.to: "base";
11164                    rel2.to: "base";
11165                }
11166            }
11167        }
11168        programs {
11169            program { name: "show";
11170                signal: "elm,action,show";
11171                source: "elm";
11172                action: STATE_SET "visible" 0.0;
11173                target: "base";
11174            }
11175            program { name: "show_2";
11176                 signal: "show";
11177                 action: STATE_SET "default" 0.0;
11178                 target: "base";
11179                 after: "show_3";
11180            }
11181            program { name: "show_3";
11182                 signal: "show";
11183                 action: STATE_SET "visible" 0.0;
11184                 target: "base";
11185                 transition: LINEAR 0.5;
11186            }
11187            program { name: "hide";
11188                signal: "elm,action,hide";
11189                source: "elm";
11190                action: STATE_SET "default" 0.0;
11191                target: "base";
11192            }
11193        }
11194    }
11195    group { name: "elm/notify/center/default";
11196        //this group is a design similar to the inwin group
11197        images {
11198            image: "bt_dis_base.png" COMP;
11199        }
11200        parts {
11201            part { name: "base";
11202                type: RECT;
11203                mouse_events: 0;
11204                repeat_events: 1;
11205                description { state: "default" 0.0;
11206                    color: 0 0 0 0;
11207                    rel1.relative: 0.0 0.0;
11208                    rel2.relative: 1.0 1.0;
11209                }
11210            }
11211            part { name: "pop";
11212                mouse_events: 1;
11213                description { state: "default" 0.0;
11214                    rel1.to: "elm.swallow.content";
11215                    rel1.offset: -5 -5;
11216                    rel2.to: "elm.swallow.content";
11217                    rel2.offset: 4 4;
11218                    image {
11219                        normal: "bt_dis_base.png";
11220                        border: 4 4 4 4;
11221                    }
11222                }
11223            }
11224            part { name: "elm.swallow.content";
11225                type: SWALLOW;
11226                description { state: "default" 0.0;
11227                    rel1.to: "base";
11228                    rel2.to: "base";
11229                }
11230            }
11231        }
11232        programs {
11233            program { name: "show";
11234                signal: "elm,action,show";
11235                source: "elm";
11236                action: STATE_SET "default" 0.0;
11237                target: "base";
11238            }
11239            program { name: "show_2";
11240                 signal: "show";
11241                 action: STATE_SET "default" 0.0;
11242                 target: "base";
11243            }
11244            program { name: "hide";
11245                signal: "elm,action,hide";
11246                source: "elm";
11247                action: STATE_SET "default" 0.0;
11248                target: "base";
11249            }
11250        }
11251    }
11252    group { name: "elm/notify/bottom/default";
11253        //this group is a design similar to the inwin group
11254        images {
11255            image: "shad_circ.png" COMP;
11256            image: "bt_dis_base.png" COMP;
11257            image: "bt_dis_hilight.png" COMP;
11258        }
11259        parts {
11260            part { name: "base";
11261                type: RECT;
11262                mouse_events: 0;
11263                repeat_events: 1;
11264                description { state: "default" 0.0;
11265                    color: 0 0 0 0;
11266                    rel1.offset: 10 10;
11267                    rel2.offset: -10 -10;
11268                    rel1.relative: 0.0 1.0;
11269                    rel2.relative: 1.0 2.0;
11270                }
11271                description { state: "visible" 0.0;
11272                    inherit: "default" 0.0;
11273                    color: 0 0 0 64;
11274                    rel1.relative: 0.0 0.0;
11275                    rel2.relative: 1.0 1.0;
11276                }
11277            }
11278            part { name: "shad";
11279                mouse_events:  0;
11280                description { state: "default" 0.0;
11281                    image.normal: "shad_circ.png";
11282                    rel1.to: "elm.swallow.content";
11283                    rel1.offset: -64 -64;
11284                    rel2.to: "elm.swallow.content";
11285                    rel2.offset: 63 63;
11286                    fill.smooth: 0;
11287                }
11288            }
11289            part { name: "pop";
11290                mouse_events: 1;
11291                description { state: "default" 0.0;
11292                    rel1.to: "elm.swallow.content";
11293                    rel1.offset: -5 -5;
11294                    rel2.to: "elm.swallow.content";
11295                    rel2.offset: 4 4;
11296                    image {
11297                        normal: "bt_dis_base.png";
11298                        border: 4 4 4 4;
11299                    }
11300                    image.middle: SOLID;
11301                }
11302            }
11303            part { name: "popover";
11304                mouse_events: 0;
11305                description { state: "default" 0.0;
11306                    rel1.to: "pop";
11307                    rel2.to: "pop";
11308                    rel2.relative: 1.0 0.5;
11309                    image {
11310                        normal: "bt_dis_hilight.png";
11311                        border: 4 4 4 0;
11312                    }
11313                }
11314            }
11315            part { name: "elm.swallow.content";
11316                type: SWALLOW;
11317                description { state: "default" 0.0;
11318                    rel1.to: "base";
11319                    rel2.to: "base";
11320                }
11321            }
11322        }
11323        programs {
11324            program { name: "show";
11325                signal: "elm,action,show";
11326                source: "elm";
11327                action: STATE_SET "visible" 0.0;
11328                target: "base";
11329            }
11330            program { name: "show_2";
11331                 signal: "show";
11332                 action: STATE_SET "default" 0.0;
11333                 target: "base";
11334                 after: "show_3";
11335            }
11336            program { name: "show_3";
11337                 signal: "show";
11338                 action: STATE_SET "visible" 0.0;
11339                 target: "base";
11340                 transition: LINEAR 0.5;
11341            }
11342            program { name: "hide";
11343                signal: "elm,action,hide";
11344                source: "elm";
11345                action: STATE_SET "default" 0.0;
11346                target: "base";
11347            }
11348        }
11349    }
11350    group { name: "elm/notify/left/default";
11351        //this group is a design similar to the inwin group
11352        images {
11353            image: "shad_circ.png" COMP;
11354            image: "bt_dis_base.png" COMP;
11355            image: "bt_dis_hilight.png" COMP;
11356        }
11357        parts {
11358            part { name: "base";
11359                type: RECT;
11360                mouse_events: 0;
11361                repeat_events: 1;
11362                description { state: "default" 0.0;
11363                    color: 0 0 0 0;
11364                    rel1.offset: 10 10;
11365                    rel2.offset: -10 -10;
11366                    rel1.relative: -1.0 0.0;
11367                    rel2.relative: 0.0 1.0;
11368                }
11369                description { state: "visible" 0.0;
11370                    inherit: "default" 0.0;
11371                    color: 0 0 0 64;
11372                    rel1.relative: 0.0 0.0;
11373                    rel2.relative: 1.0 1.0;
11374                }
11375            }
11376            part { name: "shad";
11377                mouse_events:  0;
11378                description { state: "default" 0.0;
11379                    image.normal: "shad_circ.png";
11380                    rel1.to: "elm.swallow.content";
11381                    rel1.offset: -64 -64;
11382                    rel2.to: "elm.swallow.content";
11383                    rel2.offset: 63 63;
11384                    fill.smooth: 0;
11385                }
11386            }
11387            part { name: "pop";
11388                mouse_events: 1;
11389                description { state: "default" 0.0;
11390                    rel1.to: "elm.swallow.content";
11391                    rel1.offset: -5 -5;
11392                    rel2.to: "elm.swallow.content";
11393                    rel2.offset: 4 4;
11394                    image {
11395                        normal: "bt_dis_base.png";
11396                        border: 4 4 4 4;
11397                    }
11398                    image.middle: SOLID;
11399                }
11400            }
11401            part { name: "popover";
11402                mouse_events: 0;
11403                description { state: "default" 0.0;
11404                    rel1.to: "pop";
11405                    rel2.to: "pop";
11406                    rel2.relative: 1.0 0.5;
11407                    image {
11408                        normal: "bt_dis_hilight.png";
11409                        border: 4 4 4 0;
11410                    }
11411                }
11412            }
11413            part { name: "elm.swallow.content";
11414                type: SWALLOW;
11415                description { state: "default" 0.0;
11416                    rel1.to: "base";
11417                    rel2.to: "base";
11418                }
11419            }
11420        }
11421        programs {
11422            program { name: "show";
11423                signal: "elm,action,show";
11424                source: "elm";
11425                action: STATE_SET "visible" 0.0;
11426                target: "base";
11427            }
11428            program { name: "show_2";
11429                signal: "show";
11430                action: STATE_SET "default" 0.0;
11431                target: "base";
11432                after: "show_3";
11433            }
11434            program { name: "show_3";
11435                signal: "show";
11436                action: STATE_SET "visible" 0.0;
11437                target: "base";
11438                transition: LINEAR 0.5;
11439            }
11440            program { name: "hide";
11441                signal: "elm,action,hide";
11442                source: "elm";
11443                action: STATE_SET "default" 0.0;
11444                target: "base";
11445            }
11446        }
11447    }
11448    group { name: "elm/notify/right/default";
11449        //this group is a design similar to the inwin group
11450        images {
11451            image: "shad_circ.png" COMP;
11452            image: "bt_dis_base.png" COMP;
11453            image: "bt_dis_hilight.png" COMP;
11454        }
11455        parts {
11456            part { name: "base";
11457                type: RECT;
11458                mouse_events: 0;
11459                repeat_events: 1;
11460                 description { state: "default" 0.0;
11461                    color: 0 0 0 0;
11462                    rel1.offset: 10 10;
11463                    rel2.offset: -10 -10;
11464                    rel1.relative: 1.0 0.0;
11465                    rel2.relative: 2.0 1.0;
11466                }
11467                description { state: "visible" 0.0;
11468                    inherit: "default" 0.0;
11469                    color: 0 0 0 64;
11470                    rel1.relative: 0.0 0.0;
11471                    rel2.relative: 1.0 1.0;
11472                }
11473            }
11474            part { name: "shad";
11475                mouse_events:  0;
11476                description { state: "default" 0.0;
11477                    image.normal: "shad_circ.png";
11478                    rel1.to: "elm.swallow.content";
11479                    rel1.offset: -64 -64;
11480                    rel2.to: "elm.swallow.content";
11481                    rel2.offset: 63 63;
11482                    fill.smooth: 0;
11483                }
11484            }
11485            part { name: "pop";
11486                mouse_events: 1;
11487                description { state: "default" 0.0;
11488                    rel1.to: "elm.swallow.content";
11489                    rel1.offset: -5 -5;
11490                    rel2.to: "elm.swallow.content";
11491                    rel2.offset: 4 4;
11492                    image {
11493                        normal: "bt_dis_base.png";
11494                        border: 4 4 4 4;
11495                    }
11496                    image.middle: SOLID;
11497                }
11498            }
11499            part { name: "popover";
11500                mouse_events: 0;
11501                description { state: "default" 0.0;
11502                    rel1.to: "pop";
11503                    rel2.to: "pop";
11504                    rel2.relative: 1.0 0.5;
11505                    image {
11506                        normal: "bt_dis_hilight.png";
11507                        border: 4 4 4 0;
11508                    }
11509                }
11510            }
11511            part { name: "elm.swallow.content";
11512                type: SWALLOW;
11513                description { state: "default" 0.0;
11514                    rel1.to: "base";
11515                    rel2.to: "base";
11516                }
11517            }
11518        }
11519        programs {
11520            program { name: "show";
11521                signal: "elm,action,show";
11522                source: "elm";
11523                action: STATE_SET "visible" 0.0;
11524                target: "base";
11525            }
11526            program { name: "show_2";
11527                signal: "show";
11528                action: STATE_SET "default" 0.0;
11529                target: "base";
11530                after: "show_3";
11531            }
11532            program { name: "show_3";
11533                signal: "show";
11534                action: STATE_SET "visible" 0.0;
11535                target: "base";
11536                transition: LINEAR 0.5;
11537            }
11538            program { name: "hide";
11539                signal: "elm,action,hide";
11540                source: "elm";
11541                action: STATE_SET "default" 0.0;
11542                target: "base";
11543            }
11544        }
11545    }
11546    group { name: "elm/notify/top_left/default";
11547        //this group is a design similar to the inwin group
11548        images {
11549            image: "shad_circ.png" COMP;
11550            image: "bt_dis_base.png" COMP;
11551            image: "bt_dis_hilight.png" COMP;
11552        }
11553        parts {
11554            part { name: "base";
11555                type: RECT;
11556                mouse_events: 0;
11557                repeat_events: 1;
11558                 description { state: "default" 0.0;
11559                    color: 0 0 0 0;
11560                    rel1.offset: 10 10;
11561                    rel2.offset: -10 -10;
11562                    rel1.relative: 0.0 -1.0;
11563                    rel2.relative: 1.0 0.0;
11564                }
11565                description { state: "visible" 0.0;
11566                    inherit: "default" 0.0;
11567                    color: 0 0 0 64;
11568                    rel1.relative: 0.0 0.0;
11569                    rel2.relative: 1.0 1.0;
11570                }
11571            }
11572            part { name: "shad";
11573                mouse_events:  0;
11574                description { state: "default" 0.0;
11575                    image.normal: "shad_circ.png";
11576                    rel1.to: "elm.swallow.content";
11577                    rel1.offset: -64 -64;
11578                    rel2.to: "elm.swallow.content";
11579                    rel2.offset: 63 63;
11580                    fill.smooth: 0;
11581                }
11582            }
11583            part { name: "pop";
11584                mouse_events: 1;
11585                description { state: "default" 0.0;
11586                    rel1.to: "elm.swallow.content";
11587                    rel1.offset: -5 -5;
11588                    rel2.to: "elm.swallow.content";
11589                    rel2.offset: 4 4;
11590                    image {
11591                        normal: "bt_dis_base.png";
11592                        border: 4 4 4 4;
11593                    }
11594                    image.middle: SOLID;
11595                }
11596            }
11597            part { name: "popover";
11598                mouse_events: 0;
11599                description { state: "default" 0.0;
11600                    rel1.to: "pop";
11601                    rel2.to: "pop";
11602                    rel2.relative: 1.0 0.5;
11603                    image {
11604                        normal: "bt_dis_hilight.png";
11605                        border: 4 4 4 0;
11606                    }
11607                }
11608            }
11609            part { name: "elm.swallow.content";
11610                type: SWALLOW;
11611                description { state: "default" 0.0;
11612                    rel1.to: "base";
11613                    rel2.to: "base";
11614                }
11615            }
11616        }
11617        programs {
11618            program { name: "show";
11619                signal: "elm,action,show";
11620                source: "elm";
11621                action: STATE_SET "visible" 0.0;
11622                target: "base";
11623            }
11624            program { name: "show_2";
11625                signal: "show";
11626                action: STATE_SET "default" 0.0;
11627                target: "base";
11628                after: "show_3";
11629            }
11630            program { name: "show_3";
11631                signal: "show";
11632                action: STATE_SET "visible" 0.0;
11633                target: "base";
11634                transition: LINEAR 0.5;
11635            }
11636            program { name: "hide";
11637                signal: "elm,action,hide";
11638                source: "elm";
11639                action: STATE_SET "default" 0.0;
11640                target: "base";
11641            }
11642        }
11643    }
11644    group { name: "elm/notify/top_right/default";
11645        //this group is a design similar to the inwin group
11646        images {
11647            image: "shad_circ.png" COMP;
11648            image: "bt_dis_base.png" COMP;
11649            image: "bt_dis_hilight.png" COMP;
11650        }
11651        parts {
11652            part { name: "base";
11653                type: RECT;
11654                mouse_events: 0;
11655                repeat_events: 1;
11656                description { state: "default" 0.0;
11657                    color: 0 0 0 0;
11658                    rel1.offset: 10 10;
11659                    rel2.offset: -10 -10;
11660                    rel1.relative: 0.0 -1.0;
11661                    rel2.relative: 1.0 0.0;
11662                }
11663                description { state: "visible" 0.0;
11664                    inherit: "default" 0.0;
11665                    color: 0 0 0 64;
11666                    rel1.relative: 0.0 0.0;
11667                    rel2.relative: 1.0 1.0;
11668                }
11669            }
11670            part { name: "shad";
11671                mouse_events:  0;
11672                description { state: "default" 0.0;
11673                    image.normal: "shad_circ.png";
11674                    rel1.to: "elm.swallow.content";
11675                    rel1.offset: -64 -64;
11676                    rel2.to: "elm.swallow.content";
11677                    rel2.offset: 63 63;
11678                    fill.smooth: 0;
11679                }
11680            }
11681            part { name: "pop";
11682                mouse_events: 1;
11683                description { state: "default" 0.0;
11684                    rel1.to: "elm.swallow.content";
11685                    rel1.offset: -5 -5;
11686                    rel2.to: "elm.swallow.content";
11687                    rel2.offset: 4 4;
11688                    image {
11689                        normal: "bt_dis_base.png";
11690                        border: 4 4 4 4;
11691                    }
11692                    image.middle: SOLID;
11693                }
11694            }
11695            part { name: "popover";
11696                mouse_events: 0;
11697                description { state: "default" 0.0;
11698                    rel1.to: "pop";
11699                    rel2.to: "pop";
11700                    rel2.relative: 1.0 0.5;
11701                    image {
11702                        normal: "bt_dis_hilight.png";
11703                        border: 4 4 4 0;
11704                    }
11705                }
11706            }
11707            part { name: "elm.swallow.content";
11708                type: SWALLOW;
11709                description { state: "default" 0.0;
11710                    rel1.to: "base";
11711                    rel2.to: "base";
11712                }
11713            }
11714        }
11715        programs {
11716            program { name: "show";
11717                signal: "elm,action,show";
11718                source: "elm";
11719                action: STATE_SET "visible" 0.0;
11720                target: "base";
11721            }
11722            program { name: "show_2";
11723                signal: "show";
11724                action: STATE_SET "default" 0.0;
11725                target: "base";
11726                after: "show_3";
11727            }
11728            program { name: "show_3";
11729                signal: "show";
11730                action: STATE_SET "visible" 0.0;
11731                target: "base";
11732                transition: LINEAR 0.5;
11733            }
11734            program { name: "hide";
11735                signal: "elm,action,hide";
11736                source: "elm";
11737                action: STATE_SET "default" 0.0;
11738                target: "base";
11739            }
11740        }
11741    }
11742    group { name: "elm/notify/bottom_left/default";
11743        //this group is a design similar to the inwin group
11744        images {
11745            image: "shad_circ.png" COMP;
11746            image: "bt_dis_base.png" COMP;
11747            image: "bt_dis_hilight.png" COMP;
11748        }
11749        parts {
11750            part { name: "base";
11751                type: RECT;
11752                mouse_events: 0;
11753                repeat_events: 1;
11754                description { state: "default" 0.0;
11755                    color: 0 0 0 0;
11756                    rel1.offset: 10 10;
11757                    rel2.offset: -10 -10;
11758                    rel1.relative: 0.0 1.0;
11759                    rel2.relative: 1.0 2.0;
11760                }
11761                description { state: "visible" 0.0;
11762                    inherit: "default" 0.0;
11763                    color: 0 0 0 64;
11764                    rel1.relative: 0.0 0.0;
11765                    rel2.relative: 1.0 1.0;
11766                }
11767            }
11768            part { name: "shad";
11769                mouse_events:  0;
11770                description { state: "default" 0.0;
11771                    image.normal: "shad_circ.png";
11772                    rel1.to: "elm.swallow.content";
11773                    rel1.offset: -64 -64;
11774                    rel2.to: "elm.swallow.content";
11775                    rel2.offset: 63 63;
11776                    fill.smooth: 0;
11777                }
11778            }
11779            part { name: "pop";
11780                mouse_events: 1;
11781                description { state: "default" 0.0;
11782                    rel1.to: "elm.swallow.content";
11783                    rel1.offset: -5 -5;
11784                    rel2.to: "elm.swallow.content";
11785                    rel2.offset: 4 4;
11786                    image {
11787                        normal: "bt_dis_base.png";
11788                        border: 4 4 4 4;
11789                    }
11790                    image.middle: SOLID;
11791                }
11792            }
11793            part { name: "popover";
11794                mouse_events: 0;
11795                description { state: "default" 0.0;
11796                    rel1.to: "pop";
11797                    rel2.to: "pop";
11798                    rel2.relative: 1.0 0.5;
11799                    image {
11800                        normal: "bt_dis_hilight.png";
11801                        border: 4 4 4 0;
11802                    }
11803                }
11804            }
11805            part { name: "elm.swallow.content";
11806                type: SWALLOW;
11807                description { state: "default" 0.0;
11808                    rel1.to: "base";
11809                    rel2.to: "base";
11810                }
11811            }
11812        }
11813        programs {
11814            program { name: "show";
11815                signal: "elm,action,show";
11816                source: "elm";
11817                action: STATE_SET "visible" 0.0;
11818                target: "base";
11819            }
11820            program { name: "show_2";
11821                signal: "show";
11822                action: STATE_SET "default" 0.0;
11823                target: "base";
11824                after: "show_3";
11825            }
11826            program { name: "show_3";
11827                signal: "show";
11828                action: STATE_SET "visible" 0.0;
11829                target: "base";
11830                transition: LINEAR 0.5;
11831            }
11832            program { name: "hide";
11833                signal: "elm,action,hide";
11834                source: "elm";
11835                action: STATE_SET "default" 0.0;
11836                target: "base";
11837            }
11838        }
11839    }
11840    group { name: "elm/notify/bottom_right/default";
11841        //this group is a design similar to the inwin group
11842        images {
11843            image: "shad_circ.png" COMP;
11844            image: "bt_dis_base.png" COMP;
11845            image: "bt_dis_hilight.png" COMP;
11846        }
11847        parts {
11848            part { name: "base";
11849                type: RECT;
11850                mouse_events: 0;
11851                repeat_events: 1;
11852               description { state: "default" 0.0;
11853                    color: 0 0 0 0;
11854                    rel1.offset: 10 10;
11855                    rel2.offset: -10 -10;
11856                    rel1.relative: 0.0 1.0;
11857                    rel2.relative: 1.0 2.0;
11858                }
11859                description { state: "visible" 0.0;
11860                    inherit: "default" 0.0;
11861                    color: 0 0 0 64;
11862                    rel1.relative: 0.0 0.0;
11863                    rel2.relative: 1.0 1.0;
11864                }
11865            }
11866            part { name: "shad";
11867                mouse_events:  0;
11868                description { state: "default" 0.0;
11869                    image.normal: "shad_circ.png";
11870                    rel1.to: "elm.swallow.content";
11871                    rel1.offset: -64 -64;
11872                    rel2.to: "elm.swallow.content";
11873                    rel2.offset: 63 63;
11874                    fill.smooth: 0;
11875                }
11876            }
11877            part { name: "pop";
11878                mouse_events: 1;
11879                description { state: "default" 0.0;
11880                    rel1.to: "elm.swallow.content";
11881                    rel1.offset: -5 -5;
11882                    rel2.to: "elm.swallow.content";
11883                    rel2.offset: 4 4;
11884                    image {
11885                        normal: "bt_dis_base.png";
11886                        border: 4 4 4 4;
11887                    }
11888                    image.middle: SOLID;
11889                }
11890            }
11891            part { name: "popover";
11892                mouse_events: 0;
11893                description { state: "default" 0.0;
11894                    rel1.to: "pop";
11895                    rel2.to: "pop";
11896                    rel2.relative: 1.0 0.5;
11897                    image {
11898                        normal: "bt_dis_hilight.png";
11899                        border: 4 4 4 0;
11900                    }
11901                }
11902            }
11903            part { name: "elm.swallow.content";
11904                type: SWALLOW;
11905                description { state: "default" 0.0;
11906                    rel1.to: "base";
11907                    rel2.to: "base";
11908                }
11909            }
11910        }
11911        programs {
11912            program { name: "show";
11913                signal: "elm,action,show";
11914                source: "elm";
11915                action: STATE_SET "visible" 0.0;
11916                target: "base";
11917            }
11918            program { name: "show_2";
11919                signal: "show";
11920                action: STATE_SET "default" 0.0;
11921                target: "base";
11922                after: "show_3";
11923            }
11924            program { name: "show_3";
11925                signal: "show";
11926                action: STATE_SET "visible" 0.0;
11927                target: "base";
11928                transition: LINEAR 0.5;
11929            }
11930            program { name: "hide";
11931                signal: "elm,action,hide";
11932                source: "elm";
11933                action: STATE_SET "default" 0.0;
11934                target: "base";
11935            }
11936        }
11937    }
11938
11939 ///////////////////////////////////////////////////////////////////////////////
11940    group { name: "elm/slideshow/base/default";
11941       data {
11942          item: transitions "fade black_fade horizontal vertical square";
11943          item: layouts "fullscreen not_fullscreen";
11944       }
11945       parts {
11946          part { name: "whole";
11947                  type: RECT;
11948             description {
11949                state: "default" 0.0;
11950                visible: 1;
11951                color: 20 20 20 255;
11952             }
11953          }
11954          part { name: "image_1_whole";
11955             description {
11956                state: "default" 0.0;
11957                color: 255 255 255 255;
11958             }
11959             description {
11960                state: "fade_prev_next" 0.0;
11961                inherit: "default" 0.0;
11962                color: 255 255 255 0;
11963             }
11964             description {
11965                state: "black_fade_prev_next_init" 0.0;
11966                inherit: "default" 0.0;
11967                color: 255 255 255 255;
11968             }
11969             description {
11970                state: "black_fade_prev_next" 0.0;
11971                inherit: "default" 0.0;
11972                color: 0 0 0 255;
11973             }
11974             description {
11975                state: "horizontal_next_init" 0.0;
11976                inherit: "default" 0.0;
11977             }
11978             description {
11979                state: "horizontal_next" 0.0;
11980                inherit: "default" 0.0;
11981                rel1.relative: -1.0 0.0;
11982                rel2.relative: 0.0 1.0;
11983             }
11984             description {
11985                state: "horizontal_prev_init" 0.0;
11986                inherit: "default" 0.0;
11987             }
11988             description {
11989                state: "horizontal_prev" 0.0;
11990                inherit: "default" 0.0;
11991                rel1.relative: 1.0 0.0;
11992                rel2.relative: 2.0 1.0;
11993             }
11994             description {
11995                state: "vertical_next_init" 0.0;
11996                inherit: "default" 0.0;
11997             }
11998             description {
11999                state: "vertical_next" 0.0;
12000                inherit: "default" 0.0;
12001                rel1.relative: 0.0 -1.0;
12002                rel2.relative: 1.0 0.0;
12003             }
12004             description {
12005                state: "vertical_prev_init" 0.0;
12006                inherit: "default" 0.0;
12007             }
12008             description {
12009                state: "vertical_prev" 0.0;
12010                inherit: "default" 0.0;
12011                rel1.relative: 0.0 1.0;
12012                rel2.relative: 1.0 2.0;
12013             }
12014             description {
12015                state: "square_prev_next" 0.0;
12016                inherit: "default" 0.0;
12017                color: 255 255 255 0;
12018             }
12019          }
12020          part { name: "image_2_whole";
12021             description {
12022                state: "default" 0.0;
12023                visible: 1;
12024                color: 255 255 255 0;
12025             }
12026             description {
12027                state: "fade_prev_next" 0.0;
12028                inherit: "default" 0.0;
12029                color: 255 255 255 255;
12030             }
12031             description {
12032                state: "black_fade_prev_next_init" 0.0;
12033                inherit: "default" 0.0;
12034                color: 0 0 0 0;
12035             }
12036             description {
12037                state: "black_fade_prev_next" 0.0;
12038                inherit: "default" 0.0;
12039                color: 255 255 255 255;
12040             }
12041             description {
12042                state: "horizontal_next_init" 0.0;
12043                inherit: "default" 0.0;
12044                rel1.relative: 1.0 0.0;
12045                rel2.relative: 2.0 1.0;
12046                color: 255 255 255 255;
12047             }
12048             description {
12049                state: "horizontal_next" 0.0;
12050                inherit: "default" 0.0;
12051                color: 255 255 255 255;
12052             }
12053             description {
12054                state: "horizontal_prev_init" 0.0;
12055                inherit: "default" 0.0;
12056                rel1.relative: -1.0 0.0;
12057                rel2.relative: 0.0 1.0;
12058                color: 255 255 255 255;
12059             }
12060             description {
12061                state: "horizontal_prev" 0.0;
12062                inherit: "default" 0.0;
12063                color: 255 255 255 255;
12064             }
12065             description {
12066                state: "vertical_next_init" 0.0;
12067                inherit: "default" 0.0;
12068                rel1.relative: 0.0 1.0;
12069                rel2.relative: 1.0 2.0;
12070                color: 255 255 255 255;
12071             }
12072             description {
12073                state: "vertical_next" 0.0;
12074                inherit: "default" 0.0;
12075                color: 255 255 255 255;
12076             }
12077             description {
12078                state: "vertical_prev_init" 0.0;
12079                inherit: "default" 0.0;
12080                rel1.relative: 0.0 -1.0;
12081                rel2.relative: 1.0 0.0;
12082                color: 255 255 255 255;
12083             }
12084             description {
12085                state: "vertical_prev" 0.0;
12086                inherit: "default" 0.0;
12087                color: 255 255 255 255;
12088             }
12089             description {
12090                state: "square_prev_next_init" 0.0;
12091                inherit: "default" 0.0;
12092                rel1.relative: 0.5 0.5;
12093                rel2.relative: 0.5 0.5;
12094                color: 255 255 255 255;
12095             }
12096             description {
12097                state: "square_prev_next" 0.0;
12098                inherit: "default" 0.0;
12099                rel1.relative: 0.0 0.0;
12100                rel2.relative: 1.0 1.0;
12101                color: 255 255 255 255;
12102             }
12103          }
12104          part { name: "elm.swallow.1";
12105             type: SWALLOW;
12106             clip_to: "image_1_whole";
12107             description {
12108                state: "default" 0.0;
12109                rel1.to: "image_1_whole";
12110                rel2.to: "image_1_whole";
12111                color: 255 255 255 255;
12112             }
12113             description {
12114                state: "not_fullscreen" 0.0;
12115                rel1.relative: 0.1 0.1;
12116                rel1.to: "image_1_whole";
12117                rel2.relative: 0.9 0.9;
12118                rel2.to: "image_1_whole";
12119                color: 255 255 255 255;
12120             }
12121          }
12122          part { name: "elm.swallow.2";
12123             type: SWALLOW;
12124             clip_to: "image_2_whole";
12125             description {
12126                state: "default" 0.0;
12127                color: 255 255 255 255;
12128                rel1.to: "image_2_whole";
12129                rel2.to: "image_2_whole";
12130             }
12131             description {
12132                state: "not_fullscreen" 0.0;
12133                color: 255 255 255 255;
12134                rel1.relative: 0.1 0.1;
12135                rel1.to: "image_2_whole";
12136                rel2.relative: 0.9 0.9;
12137                rel2.to: "image_2_whole";
12138             }
12139          }
12140          part { name: "events_catcher";
12141             type: RECT;
12142             repeat_events: 1;
12143             description {
12144                state: "default" 0.0;
12145                visible: 1;
12146                color: 0 0 0 0;
12147             }
12148          }
12149       }
12150       programs {
12151               //Substyle
12152               program { name: "layout_fullscreen";
12153             signal: "layout,fullscreen";
12154             source: "slideshow";
12155             action: STATE_SET "default" 0.0;
12156             target: "elm.swallow.1";
12157             target: "elm.swallow.2";
12158             transition: SINUSOIDAL 1.0;
12159         }
12160         program { name: "layout_not_fullscreen";
12161             signal: "layout,not_fullscreen";
12162             source: "slideshow";
12163             action: STATE_SET "not_fullscreen" 0.0;
12164             target: "elm.swallow.1";
12165             target: "elm.swallow.2";
12166             transition: SINUSOIDAL 1.0;
12167          }
12168                //
12169          program { name: "fade_next";
12170             signal: "fade,next";
12171             source: "slideshow";
12172             action: STATE_SET "default" 0.0;
12173             target: "image_1_whole";
12174             target: "image_2_whole";
12175             after: "fade_next_2";
12176          }
12177          program { name: "fade_next_2";
12178             action: STATE_SET "fade_prev_next" 0.0;
12179             target: "image_1_whole";
12180             target: "image_2_whole";
12181             transition: SINUSOIDAL 1.5;
12182             after: "end";
12183          }
12184          program { name: "fade_previous";
12185             signal: "fade,previous";
12186             source: "slideshow";
12187             action: STATE_SET "default" 0.0;
12188             target: "image_1_whole";
12189             target: "image_2_whole";
12190             after: "fade_previous_2";
12191          }
12192          program { name: "fade_previous_2";
12193             action: STATE_SET "fade_prev_next" 0.0;
12194             target: "image_1_whole";
12195             target: "image_2_whole";
12196             transition: SINUSOIDAL 1.5;
12197             after: "end";
12198          }
12199          program { name: "black_fade_next";
12200             signal: "black_fade,next";
12201             source: "slideshow";
12202             action: STATE_SET "black_fade_prev_next_init" 0.0;
12203             target: "image_1_whole";
12204             target: "image_2_whole";
12205             after: "black_fade_next_2";
12206          }
12207          program { name: "black_fade_next_2";
12208             action: STATE_SET "black_fade_prev_next" 0.0;
12209             target: "image_1_whole";
12210             transition: SINUSOIDAL 0.75;
12211             after: "black_fade_next_3";
12212          }
12213          program { name: "black_fade_next_3";
12214             action: STATE_SET "black_fade_prev_next" 0.0;
12215             target: "image_2_whole";
12216             transition: SINUSOIDAL 0.75;
12217             after: "end";
12218          }
12219          program { name: "black_fade_previous";
12220             signal: "black_fade,previous";
12221             source: "slideshow";
12222             action: STATE_SET "black_fade_prev_next_init" 0.0;
12223             target: "image_1_whole";
12224             target: "image_2_whole";
12225             after: "black_fade_previous_2";
12226          }
12227          program { name: "black_fade_previous_2";
12228             action: STATE_SET "black_fade_prev_next" 0.0;
12229             target: "image_1_whole";
12230             transition: SINUSOIDAL 0.75;
12231             after: "black_fade_previous_3";
12232          }
12233          program { name: "black_fade_previous_3";
12234             action: STATE_SET "black_fade_prev_next" 0.0;
12235             target: "image_2_whole";
12236             transition: SINUSOIDAL 0.75;
12237             after: "end";
12238          }
12239          program { name: "horizontal_next";
12240             signal: "horizontal,next";
12241             source: "slideshow";
12242             action: STATE_SET "horizontal_next_init" 0.0;
12243             target: "image_1_whole";
12244             target: "image_2_whole";
12245             after: "horizontal_next_2";
12246          }
12247          program { name: "horizontal_next_2";
12248             action: STATE_SET "horizontal_next" 0.0;
12249             target: "image_1_whole";
12250             target: "image_2_whole";
12251             transition: SINUSOIDAL 1.5;
12252             after: "end";
12253          }
12254          program { name: "horizontal_previous";
12255             signal: "horizontal,previous";
12256             source: "slideshow";
12257             action: STATE_SET "horizontal_prev_init" 0.0;
12258             target: "image_1_whole";
12259             target: "image_2_whole";
12260             after: "horizontal_previous_2";
12261          }
12262          program { name: "horizontal_previous_2";
12263             action: STATE_SET "horizontal_prev" 0.0;
12264             target: "image_1_whole";
12265             target: "image_2_whole";
12266             transition: SINUSOIDAL 1.5;
12267             after: "end";
12268          }
12269          program { name: "vertical_next";
12270             signal: "vertical,next";
12271             source: "slideshow";
12272             action: STATE_SET "vertical_next_init" 0.0;
12273             target: "image_1_whole";
12274             target: "image_2_whole";
12275             after: "vertical_next_2";
12276          }
12277          program { name: "vertical_next_2";
12278             action: STATE_SET "vertical_next" 0.0;
12279             target: "image_1_whole";
12280             target: "image_2_whole";
12281             transition: SINUSOIDAL 1.5;
12282             after: "end";
12283          }
12284          program { name: "vertical_previous";
12285             signal: "vertical,previous";
12286             source: "slideshow";
12287             action: STATE_SET "vertical_prev_init" 0.0;
12288             target: "image_1_whole";
12289             target: "image_2_whole";
12290             after: "vertical_previous_2";
12291          }
12292          program { name: "vertical_previous_2";
12293             action: STATE_SET "vertical_prev" 0.0;
12294             target: "image_1_whole";
12295             target: "image_2_whole";
12296             transition: SINUSOIDAL 1.5;
12297             after: "end";
12298          }
12299          program { name: "square_next";
12300             signal: "square,next";
12301             source: "slideshow";
12302             action: STATE_SET "square_prev_next_init" 0.0;
12303             target: "image_2_whole";
12304             after: "square_next_2";
12305          }
12306          program { name: "square_next_2";
12307             action: STATE_SET "square_prev_next" 0.0;
12308             target: "image_2_whole";
12309             target: "image_1_whole";
12310             transition: SINUSOIDAL 1.5;
12311             after: "end";
12312          }
12313          program { name: "square_previous";
12314             signal: "square,previous";
12315             source: "slideshow";
12316             action: STATE_SET "square_prev_next_init" 0.0;
12317             target: "image_2_whole";
12318             after: "square_next_2";
12319          }
12320          program { name: "end";
12321             action: SIGNAL_EMIT "end" "slideshow";
12322          }
12323          program { name: "end_signal";
12324             signal: "anim,end";
12325             source: "slideshow";
12326             action: STATE_SET "default" 0.0;
12327             target: "image_1_whole";
12328             target: "image_2_whole";
12329          }
12330       }
12331    }
12332
12333 ///////////////////////////////////////////////////////////////////////////////
12334    group { name: "elm/win/inwin/default";
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                rel1.relative: 0.1 0.1;
12393                rel2.relative: 0.9 0.9;
12394             }
12395          }
12396       }
12397       programs {
12398          program { name: "show";
12399             signal: "elm,action,show";
12400             source: "elm";
12401             action: STATE_SET "visible" 0.0;
12402 //            transition: DECELERATE 0.5;
12403             target: "base";
12404          }
12405          program { name: "hide";
12406             signal: "elm,action,hide";
12407             source: "elm";
12408             action: STATE_SET "default" 0.0;
12409 //            transition: DECELERATE 0.5;
12410             target: "base";
12411          }
12412       }
12413    }
12414
12415    group { name: "elm/win/inwin/minimal";
12416       images {
12417          image: "shad_circ.png" COMP;
12418          image: "bt_dis_base.png" COMP;
12419          image: "bt_dis_hilight.png" COMP;
12420       }
12421       parts {
12422          part { name: "base";
12423             type: RECT;
12424             mouse_events: 1;
12425             description { state: "default" 0.0;
12426                color: 0 0 0 0;
12427             }
12428             description { state: "visible" 0.0;
12429                inherit: "default" 1.0;
12430                color: 0 0 0 64;
12431             }
12432          }
12433          part { name: "shad";
12434             mouse_events:  0;
12435             description { state: "default" 0.0;
12436                image.normal: "shad_circ.png";
12437                rel1.to: "elm.swallow.content";
12438                rel1.offset: -64 -64;
12439                rel2.to: "elm.swallow.content";
12440                rel2.offset: 63 63;
12441                fill.smooth: 0;
12442             }
12443          }
12444          part { name: "pop";
12445             mouse_events: 1;
12446             description { state: "default" 0.0;
12447                rel1.to: "elm.swallow.content";
12448                rel1.offset: -5 -5;
12449                rel2.to: "elm.swallow.content";
12450                rel2.offset: 4 4;
12451                image {
12452                   normal: "bt_dis_base.png";
12453                   border: 4 4 4 4;
12454                }
12455                image.middle: SOLID;
12456             }
12457          }
12458          part { name: "popover";
12459             mouse_events: 0;
12460             description { state: "default" 0.0;
12461                rel1.to: "pop";
12462                rel2.to: "pop";
12463                rel2.relative: 1.0 0.5;
12464                image {
12465                   normal: "bt_dis_hilight.png";
12466                   border: 4 4 4 0;
12467                }
12468             }
12469          }
12470          part { name: "elm.swallow.content";
12471             type: SWALLOW;
12472             description { state: "default" 0.0;
12473                fixed: 1 1;
12474                rel1.relative: 0.5 0.5;
12475                rel2.relative: 0.5 0.5;
12476             }
12477          }
12478       }
12479       programs {
12480          program { name: "show";
12481             signal: "elm,action,show";
12482             source: "elm";
12483             action: STATE_SET "visible" 0.0;
12484 //            transition: DECELERATE 0.5;
12485             target: "base";
12486          }
12487          program { name: "hide";
12488             signal: "elm,action,hide";
12489             source: "elm";
12490             action: STATE_SET "default" 0.0;
12491 //            transition: DECELERATE 0.5;
12492             target: "base";
12493          }
12494       }
12495    }
12496
12497    group { name: "elm/win/inwin/minimal_vertical";
12498       images {
12499          image: "shad_circ.png" COMP;
12500          image: "bt_dis_base.png" COMP;
12501          image: "bt_dis_hilight.png" COMP;
12502       }
12503       parts {
12504          part { name: "base";
12505             type: RECT;
12506             mouse_events: 1;
12507             description { state: "default" 0.0;
12508                color: 0 0 0 0;
12509             }
12510             description { state: "visible" 0.0;
12511                inherit: "default" 1.0;
12512                color: 0 0 0 64;
12513             }
12514          }
12515          part { name: "shad";
12516             mouse_events:  0;
12517             description { state: "default" 0.0;
12518                image.normal: "shad_circ.png";
12519                rel1.to: "elm.swallow.content";
12520                rel1.offset: -64 -64;
12521                rel2.to: "elm.swallow.content";
12522                rel2.offset: 63 63;
12523                fill.smooth: 0;
12524             }
12525          }
12526          part { name: "pop";
12527             mouse_events: 1;
12528             description { state: "default" 0.0;
12529                rel1.to: "elm.swallow.content";
12530                rel1.offset: -5 -5;
12531                rel2.to: "elm.swallow.content";
12532                rel2.offset: 4 4;
12533                image {
12534                   normal: "bt_dis_base.png";
12535                   border: 4 4 4 4;
12536                }
12537                image.middle: SOLID;
12538             }
12539          }
12540          part { name: "popover";
12541             mouse_events: 0;
12542             description { state: "default" 0.0;
12543                rel1.to: "pop";
12544                rel2.to: "pop";
12545                rel2.relative: 1.0 0.5;
12546                image {
12547                   normal: "bt_dis_hilight.png";
12548                   border: 4 4 4 0;
12549                }
12550             }
12551          }
12552          part { name: "elm.swallow.content";
12553             type: SWALLOW;
12554             description { state: "default" 0.0;
12555                fixed: 1 1;
12556                rel1.relative: 0.1 0.5;
12557                rel2.relative: 0.9 0.5;
12558             }
12559          }
12560       }
12561       programs {
12562          program { name: "show";
12563             signal: "elm,action,show";
12564             source: "elm";
12565             action: STATE_SET "visible" 0.0;
12566 //            transition: DECELERATE 0.5;
12567             target: "base";
12568          }
12569          program { name: "hide";
12570             signal: "elm,action,hide";
12571             source: "elm";
12572             action: STATE_SET "default" 0.0;
12573 //            transition: DECELERATE 0.5;
12574             target: "base";
12575          }
12576       }
12577    }
12578
12579 ///////////////////////////////////////////////////////////////////////////////
12580
12581 ///////////////////////////////////////////////////////////////////////////////
12582    group { name: "elm/list/item/default";
12583       data.item: "stacking" "above";
12584       images {
12585          image: "bt_sm_base1.png" COMP;
12586          image: "bt_sm_shine.png" COMP;
12587          image: "bt_sm_hilight.png" COMP;
12588          image: "ilist_1.png" COMP;
12589          image: "ilist_item_shadow.png" COMP;
12590       }
12591       parts {
12592          part {
12593             name:           "event";
12594             type:           RECT;
12595             repeat_events: 1;
12596             description {
12597                state: "default" 0.0;
12598                color: 0 0 0 0;
12599             }
12600          }
12601          part {
12602             name: "base_sh";
12603             mouse_events: 0;
12604             description {
12605                state: "default" 0.0;
12606                align: 0.0 0.0;
12607                min: 0 10;
12608                fixed: 1 1;
12609                rel1 {
12610                   to: "base";
12611                   relative: 0.0 1.0;
12612                   offset: 0 0;
12613                }
12614                rel2 {
12615                   to: "base";
12616                   relative: 1.0 1.0;
12617                   offset: -1 0;
12618                }
12619                image {
12620                   normal: "ilist_item_shadow.png";
12621                }
12622                fill.smooth: 0;
12623             }
12624          }
12625          part {
12626             name: "base";
12627             mouse_events: 0;
12628             description {
12629                state: "default" 0.0;
12630                image {
12631                   normal: "ilist_1.png";
12632                   border: 2 2 2 2;
12633                }
12634                fill.smooth: 0;
12635             }
12636          }
12637          part { name: "bg";
12638             mouse_events: 0;
12639             description { state: "default" 0.0;
12640                visible: 0;
12641                color: 255 255 255 0;
12642                rel1 {
12643                   relative: 0.0 0.0;
12644                   offset: -5 -5;
12645                }
12646                rel2 {
12647                   relative: 1.0 1.0;
12648                   offset: 4 4;
12649                }
12650                image {
12651                   normal: "bt_sm_base1.png";
12652                   border: 6 6 6 6;
12653                }
12654                image.middle: SOLID;
12655             }
12656             description { state: "selected" 0.0;
12657                inherit: "default" 0.0;
12658                visible: 1;
12659                color: 255 255 255 255;
12660                rel1 {
12661                   relative: 0.0 0.0;
12662                   offset: -2 -2;
12663                }
12664                rel2 {
12665                   relative: 1.0 1.0;
12666                   offset: 1 1;
12667                }
12668             }
12669          }
12670          part { name: "elm.swallow.icon";
12671             type: SWALLOW;
12672             description { state: "default" 0.0;
12673                fixed: 1 0;
12674                align: 0.0 0.5;
12675                rel1 {
12676                   relative: 0.0  0.0;
12677                   offset:   4    4;
12678                }
12679                rel2 {
12680                   relative: 0.0  1.0;
12681                   offset:   4   -5;
12682                }
12683             }
12684          }
12685          part { name: "elm.swallow.end";
12686             type: SWALLOW;
12687             description { state: "default" 0.0;
12688                fixed: 1 0;
12689                align: 1.0 0.5;
12690                rel1 {
12691                   relative: 1.0  0.0;
12692                   offset:   -5    4;
12693                }
12694                rel2 {
12695                   relative: 1.0  1.0;
12696                   offset:   -5   -5;
12697                }
12698             }
12699          }
12700          part { name: "elm.text";
12701             type:           TEXT;
12702             effect:         SOFT_SHADOW;
12703             mouse_events:   0;
12704             scale: 1;
12705             description {
12706                state: "default" 0.0;
12707 //               min: 16 16;
12708                rel1 {
12709                   to_x:     "elm.swallow.icon";
12710                   relative: 1.0  0.0;
12711                   offset:   4 4;
12712                }
12713                rel2 {
12714                   to_x:     "elm.swallow.end";
12715                   relative: 0.0  1.0;
12716                   offset:   -1 -5;
12717                }
12718                color: 0 0 0 255;
12719                color3: 0 0 0 0;
12720                text {
12721                   font: "Sans";
12722                   size: 10;
12723                   min: 1 1;
12724 //                  min: 0 1;
12725                   align: -1.0 0.5;
12726                   text_class: "list_item";
12727                }
12728             }
12729             description { state: "selected" 0.0;
12730                inherit: "default" 0.0;
12731                color: 224 224 224 255;
12732                color3: 0 0 0 64;
12733             }
12734          }
12735          part { name: "fg1";
12736             mouse_events: 0;
12737             description { state: "default" 0.0;
12738                visible: 0;
12739                color: 255 255 255 0;
12740                rel1.to: "bg";
12741                rel2.relative: 1.0 0.5;
12742                rel2.to: "bg";
12743                image {
12744                   normal: "bt_sm_hilight.png";
12745                   border: 6 6 6 0;
12746                }
12747             }
12748             description { state: "selected" 0.0;
12749                inherit: "default" 0.0;
12750                visible: 1;
12751                color: 255 255 255 255;
12752             }
12753          }
12754          part { name: "fg2";
12755             mouse_events: 0;
12756             description { state: "default" 0.0;
12757                visible: 0;
12758                color: 255 255 255 0;
12759                rel1.to: "bg";
12760                rel2.to: "bg";
12761                image {
12762                   normal: "bt_sm_shine.png";
12763                   border: 6 6 6 0;
12764                }
12765             }
12766             description { state: "selected" 0.0;
12767                inherit: "default" 0.0;
12768                visible: 1;
12769                color: 255 255 255 255;
12770             }
12771          }
12772       }
12773       programs {
12774          program {
12775             name:    "go_active";
12776             signal:  "elm,state,selected";
12777             source:  "elm";
12778             action:  STATE_SET "selected" 0.0;
12779             target:  "bg";
12780             target:  "fg1";
12781             target:  "fg2";
12782             target:  "elm.text";
12783          }
12784          program {
12785             name:    "go_passive";
12786             signal:  "elm,state,unselected";
12787             source:  "elm";
12788             action:  STATE_SET "default" 0.0;
12789             target:  "bg";
12790             target:  "fg1";
12791             target:  "fg2";
12792             target:  "elm.text";
12793             transition: LINEAR 0.1;
12794          }
12795       }
12796    }
12797    group { name: "elm/list/item_odd/default";
12798       data.item: "stacking" "below";
12799       data.item: "selectraise" "on";
12800       images {
12801          image: "bt_sm_base1.png" COMP;
12802          image: "bt_sm_shine.png" COMP;
12803          image: "bt_sm_hilight.png" COMP;
12804          image: "ilist_2.png" COMP;
12805       }
12806       parts {
12807          part {
12808             name:           "event";
12809             type:           RECT;
12810             repeat_events: 1;
12811             description {
12812                state: "default" 0.0;
12813                color: 0 0 0 0;
12814             }
12815          }
12816          part {
12817             name: "base";
12818             mouse_events: 0;
12819             description {
12820                state: "default" 0.0;
12821                image {
12822                   normal: "ilist_2.png";
12823                   border: 2 2 2 2;
12824                }
12825                fill.smooth: 0;
12826             }
12827          }
12828          part { name: "bg";
12829             mouse_events: 0;
12830             description { state: "default" 0.0;
12831                visible: 0;
12832                color: 255 255 255 0;
12833                rel1 {
12834                   relative: 0.0 0.0;
12835                   offset: -5 -5;
12836                }
12837                rel2 {
12838                   relative: 1.0 1.0;
12839                   offset: 4 4;
12840                }
12841                image {
12842                   normal: "bt_sm_base1.png";
12843                   border: 6 6 6 6;
12844                }
12845                image.middle: SOLID;
12846             }
12847             description { state: "selected" 0.0;
12848                inherit: "default" 0.0;
12849                visible: 1;
12850                color: 255 255 255 255;
12851                rel1 {
12852                   relative: 0.0 0.0;
12853                   offset: -2 -2;
12854                }
12855                rel2 {
12856                   relative: 1.0 1.0;
12857                   offset: 1 1;
12858                }
12859             }
12860          }
12861          part {
12862             name:          "elm.swallow.icon";
12863             type:          SWALLOW;
12864             description { state:    "default" 0.0;
12865                fixed: 1 0;
12866                align:    0.0 0.5;
12867                rel1 {
12868                   relative: 0.0  0.0;
12869                   offset:   4    4;
12870                }
12871                rel2 {
12872                   relative: 0.0  1.0;
12873                   offset:   4   -5;
12874                }
12875             }
12876          }
12877          part {
12878             name:          "elm.swallow.end";
12879             type:          SWALLOW;
12880             description { state:    "default" 0.0;
12881                fixed: 1 0;
12882                align: 1.0 0.5;
12883                rel1 {
12884                   relative: 1.0  0.0;
12885                   offset:   -5    4;
12886                }
12887                rel2 {
12888                   relative: 1.0  1.0;
12889                   offset:   -5   -5;
12890                }
12891             }
12892          }
12893          part {
12894             name:           "elm.text";
12895             type:           TEXT;
12896             effect:         SOFT_SHADOW;
12897             mouse_events:   0;
12898             scale: 1;
12899             description {
12900                state: "default" 0.0;
12901 //               min:      16 16;
12902                rel1 {
12903                   to_x:     "elm.swallow.icon";
12904                   relative: 1.0  0.0;
12905                   offset:   4 4;
12906                }
12907                rel2 {
12908                   to_x:     "elm.swallow.end";
12909                   relative: 0.0  1.0;
12910                   offset:   -1 -5;
12911                }
12912                color: 0 0 0 255;
12913                color3: 0 0 0 0;
12914                text {
12915                   font: "Sans";
12916                   size: 10;
12917                   min: 1 1;
12918 //                  min: 0 1;
12919                   align: -1.0 0.5;
12920                   text_class: "list_item";
12921                }
12922             }
12923             description { state: "selected" 0.0;
12924                inherit: "default" 0.0;
12925                color: 224 224 224 255;
12926                color3: 0 0 0 64;
12927             }
12928          }
12929          part { name: "fg1";
12930             mouse_events: 0;
12931             description { state: "default" 0.0;
12932                visible: 0;
12933                color: 255 255 255 0;
12934                rel1.to: "bg";
12935                rel2.relative: 1.0 0.5;
12936                rel2.to: "bg";
12937                image {
12938                   normal: "bt_sm_hilight.png";
12939                   border: 6 6 6 0;
12940                }
12941             }
12942             description { state: "selected" 0.0;
12943                inherit: "default" 0.0;
12944                visible: 1;
12945                color: 255 255 255 255;
12946             }
12947          }
12948          part { name: "fg2";
12949             mouse_events: 0;
12950             description { state: "default" 0.0;
12951                visible: 0;
12952                color: 255 255 255 0;
12953                rel1.to: "bg";
12954                rel2.to: "bg";
12955                image {
12956                   normal: "bt_sm_shine.png";
12957                   border: 6 6 6 0;
12958                }
12959             }
12960             description { state: "selected" 0.0;
12961                inherit: "default" 0.0;
12962                visible: 1;
12963                color: 255 255 255 255;
12964             }
12965          }
12966       }
12967       programs {
12968          program {
12969             name:    "go_active";
12970             signal:  "elm,state,selected";
12971             source:  "elm";
12972             action:  STATE_SET "selected" 0.0;
12973             target:  "bg";
12974             target:  "fg1";
12975             target:  "fg2";
12976             target:  "elm.text";
12977          }
12978          program {
12979             name:    "go_passive";
12980             signal:  "elm,state,unselected";
12981             source:  "elm";
12982             action:  STATE_SET "default" 0.0;
12983             target:  "bg";
12984             target:  "fg1";
12985             target:  "fg2";
12986             target:  "elm.text";
12987             transition: LINEAR 0.1;
12988          }
12989       }
12990    }
12991    group { name: "elm/list/item_compress/default";
12992       data.item: "stacking" "above";
12993       data.item: "selectraise" "on";
12994       images {
12995          image: "bt_sm_base1.png" COMP;
12996          image: "bt_sm_shine.png" COMP;
12997          image: "bt_sm_hilight.png" COMP;
12998          image: "ilist_1.png" COMP;
12999          image: "ilist_item_shadow.png" COMP;
13000       }
13001       parts {
13002          part {
13003             name:           "event";
13004             type:           RECT;
13005             repeat_events: 1;
13006             description {
13007                state: "default" 0.0;
13008                color: 0 0 0 0;
13009             }
13010          }
13011          part {
13012             name: "base_sh";
13013             mouse_events: 0;
13014             description { state: "default" 0.0;
13015                fixed: 1 1;
13016                align: 0.0 0.0;
13017                min: 0 10;
13018                rel1 {
13019                   to: "base";
13020                   relative: 0.0 1.0;
13021                   offset: 0 0;
13022                }
13023                rel2 {
13024                   to: "base";
13025                   relative: 1.0 1.0;
13026                   offset: -1 0;
13027                }
13028                image {
13029                   normal: "ilist_item_shadow.png";
13030                }
13031                fill.smooth: 0;
13032             }
13033          }
13034          part {
13035             name: "base";
13036             mouse_events: 0;
13037             description {
13038                state: "default" 0.0;
13039                image {
13040                   normal: "ilist_1.png";
13041                   border: 2 2 2 2;
13042                }
13043                fill.smooth: 0;
13044             }
13045          }
13046          part { name: "bg";
13047             mouse_events: 0;
13048             description { state: "default" 0.0;
13049                visible: 0;
13050                color: 255 255 255 0;
13051                rel1 {
13052                   relative: 0.0 0.0;
13053                   offset: -5 -5;
13054                }
13055                rel2 {
13056                   relative: 1.0 1.0;
13057                   offset: 4 4;
13058                }
13059                image {
13060                   normal: "bt_sm_base1.png";
13061                   border: 6 6 6 6;
13062                }
13063                image.middle: SOLID;
13064             }
13065             description { state: "selected" 0.0;
13066                inherit: "default" 0.0;
13067                visible: 1;
13068                color: 255 255 255 255;
13069                rel1 {
13070                   relative: 0.0 0.0;
13071                   offset: -2 -2;
13072                }
13073                rel2 {
13074                   relative: 1.0 1.0;
13075                   offset: 1 1;
13076                }
13077             }
13078          }
13079          part { name:          "elm.swallow.icon";
13080             type:          SWALLOW;
13081             description { state:    "default" 0.0;
13082                fixed: 1 0;
13083                align:    0.0 0.5;
13084                rel1 {
13085                   relative: 0.0  0.0;
13086                   offset:   4    4;
13087                }
13088                rel2 {
13089                   relative: 0.0  1.0;
13090                   offset:   4   -5;
13091                }
13092             }
13093          }
13094          part { name:          "elm.swallow.end";
13095             type:          SWALLOW;
13096             description { state:    "default" 0.0;
13097                fixed: 1 0;
13098                align:    1.0 0.5;
13099                rel1 {
13100                   relative: 1.0  0.0;
13101                   offset:   -5    4;
13102                }
13103                rel2 {
13104                   relative: 1.0  1.0;
13105                   offset:   -5   -5;
13106                }
13107             }
13108          }
13109          part {
13110             name:           "elm.text";
13111             type:           TEXT;
13112             effect:         SOFT_SHADOW;
13113             mouse_events:   0;
13114             scale: 1;
13115             description { state: "default" 0.0;
13116 //               min:      16 16;
13117                rel1 {
13118                   to_x:     "elm.swallow.icon";
13119                   relative: 1.0  0.0;
13120                   offset:   4 4;
13121                }
13122                rel2 {
13123                   to_x:     "elm.swallow.end";
13124                   relative: 0.0  1.0;
13125                   offset:   -1 -5;
13126                }
13127                color: 0 0 0 255;
13128                color3: 0 0 0 0;
13129                text {
13130                   font: "Sans";
13131                   size: 10;
13132 //                  min: 1 1;
13133                   min: 0 1;
13134                   align: 0.0 0.5;
13135                   text_class: "list_item";
13136                }
13137             }
13138             description { state: "selected" 0.0;
13139                inherit: "default" 0.0;
13140                color: 224 224 224 255;
13141                color3: 0 0 0 64;
13142             }
13143          }
13144          part { name: "fg1";
13145             mouse_events: 0;
13146             description { state: "default" 0.0;
13147                visible: 0;
13148                color: 255 255 255 0;
13149                rel1.to: "bg";
13150                rel2.relative: 1.0 0.5;
13151                rel2.to: "bg";
13152                image {
13153                   normal: "bt_sm_hilight.png";
13154                   border: 6 6 6 0;
13155                }
13156             }
13157             description { state: "selected" 0.0;
13158                inherit: "default" 0.0;
13159                visible: 1;
13160                color: 255 255 255 255;
13161             }
13162          }
13163          part { name: "fg2";
13164             mouse_events: 0;
13165             description { state: "default" 0.0;
13166                visible: 0;
13167                color: 255 255 255 0;
13168                rel1.to: "bg";
13169                rel2.to: "bg";
13170                image {
13171                   normal: "bt_sm_shine.png";
13172                   border: 6 6 6 0;
13173                }
13174             }
13175             description { state: "selected" 0.0;
13176                inherit: "default" 0.0;
13177                visible: 1;
13178                color: 255 255 255 255;
13179             }
13180          }
13181       }
13182       programs {
13183          program {
13184             name:    "go_active";
13185             signal:  "elm,state,selected";
13186             source:  "elm";
13187             action:  STATE_SET "selected" 0.0;
13188             target:  "bg";
13189             target:  "fg1";
13190             target:  "fg2";
13191             target:  "elm.text";
13192          }
13193          program {
13194             name:    "go_passive";
13195             signal:  "elm,state,unselected";
13196             source:  "elm";
13197             action:  STATE_SET "default" 0.0;
13198             target:  "bg";
13199             target:  "fg1";
13200             target:  "fg2";
13201             target:  "elm.text";
13202             transition: LINEAR 0.1;
13203          }
13204       }
13205    }
13206    group { name: "elm/list/item_compress_odd/default";
13207       data.item: "stacking" "below";
13208       data.item: "selectraise" "on";
13209       images {
13210          image: "bt_sm_base1.png" COMP;
13211          image: "bt_sm_shine.png" COMP;
13212          image: "bt_sm_hilight.png" COMP;
13213          image: "ilist_2.png" COMP;
13214       }
13215       parts {
13216          part {
13217             name:           "event";
13218             type:           RECT;
13219             repeat_events: 1;
13220             description {
13221                state: "default" 0.0;
13222                color: 0 0 0 0;
13223             }
13224          }
13225          part {
13226             name: "base";
13227             mouse_events: 0;
13228             description {
13229                state: "default" 0.0;
13230                image {
13231                   normal: "ilist_2.png";
13232                   border: 2 2 2 2;
13233                }
13234                fill.smooth: 0;
13235             }
13236          }
13237          part { name: "bg";
13238             mouse_events: 0;
13239             description { state: "default" 0.0;
13240                visible: 0;
13241                color: 255 255 255 0;
13242                rel1 {
13243                   relative: 0.0 0.0;
13244                   offset: -5 -5;
13245                }
13246                rel2 {
13247                   relative: 1.0 1.0;
13248                   offset: 4 4;
13249                }
13250                image {
13251                   normal: "bt_sm_base1.png";
13252                   border: 6 6 6 6;
13253                }
13254                image.middle: SOLID;
13255             }
13256             description { state: "selected" 0.0;
13257                inherit: "default" 0.0;
13258                visible: 1;
13259                color: 255 255 255 255;
13260                rel1 {
13261                   relative: 0.0 0.0;
13262                   offset: -2 -2;
13263                }
13264                rel2 {
13265                   relative: 1.0 1.0;
13266                   offset: 1 1;
13267                }
13268             }
13269          }
13270          part { name:          "elm.swallow.icon";
13271             type:          SWALLOW;
13272             description { state:    "default" 0.0;
13273                fixed: 1 0;
13274                align:    0.0 0.5;
13275                rel1 {
13276                   relative: 0.0  0.0;
13277                   offset:   4    4;
13278                }
13279                rel2 {
13280                   relative: 0.0  1.0;
13281                   offset:   4   -5;
13282                }
13283             }
13284          }
13285          part { name:          "elm.swallow.end";
13286             type:          SWALLOW;
13287             description { state:    "default" 0.0;
13288                fixed: 1 0;
13289                align:    1.0 0.5;
13290                rel1 {
13291                   relative: 1.0  0.0;
13292                   offset:   -5    4;
13293                }
13294                rel2 {
13295                   relative: 1.0  1.0;
13296                   offset:   -5   -5;
13297                }
13298             }
13299          }
13300          part {
13301             name:           "elm.text";
13302             type:           TEXT;
13303             effect:         SOFT_SHADOW;
13304             mouse_events:   0;
13305             scale: 1;
13306             description {
13307                state: "default" 0.0;
13308 //               min:      16 16;
13309                rel1 {
13310                   to_x:     "elm.swallow.icon";
13311                   relative: 1.0  0.0;
13312                   offset:   4 4;
13313                }
13314                rel2 {
13315                   to_x:     "elm.swallow.end";
13316                   relative: 0.0  1.0;
13317                   offset:   -1 -5;
13318                }
13319                color: 0 0 0 255;
13320                color3: 0 0 0 0;
13321                text {
13322                   font: "Sans";
13323                   size: 10;
13324 //                  min: 1 1;
13325                   min: 0 1;
13326                   align: 0.0 0.5;
13327                   text_class: "list_item";
13328                }
13329             }
13330             description { state: "selected" 0.0;
13331                inherit: "default" 0.0;
13332                color: 224 224 224 255;
13333                color3: 0 0 0 64;
13334             }
13335          }
13336          part { name: "fg1";
13337             mouse_events: 0;
13338             description { state: "default" 0.0;
13339                visible: 0;
13340                color: 255 255 255 0;
13341                rel1.to: "bg";
13342                rel2.relative: 1.0 0.5;
13343                rel2.to: "bg";
13344                image {
13345                   normal: "bt_sm_hilight.png";
13346                   border: 6 6 6 0;
13347                }
13348             }
13349             description { state: "selected" 0.0;
13350                inherit: "default" 0.0;
13351                visible: 1;
13352                color: 255 255 255 255;
13353             }
13354          }
13355          part { name: "fg2";
13356             mouse_events: 0;
13357             description { state: "default" 0.0;
13358                visible: 0;
13359                color: 255 255 255 0;
13360                rel1.to: "bg";
13361                rel2.to: "bg";
13362                image {
13363                   normal: "bt_sm_shine.png";
13364                   border: 6 6 6 0;
13365                }
13366             }
13367             description { state: "selected" 0.0;
13368                inherit: "default" 0.0;
13369                visible: 1;
13370                color: 255 255 255 255;
13371             }
13372          }
13373       }
13374       programs {
13375          program {
13376             name:    "go_active";
13377             signal:  "elm,state,selected";
13378             source:  "elm";
13379             action:  STATE_SET "selected" 0.0;
13380             target:  "bg";
13381             target:  "fg1";
13382             target:  "fg2";
13383             target:  "elm.text";
13384          }
13385          program {
13386             name:    "go_passive";
13387             signal:  "elm,state,unselected";
13388             source:  "elm";
13389             action:  STATE_SET "default" 0.0;
13390             target:  "bg";
13391             target:  "fg1";
13392             target:  "fg2";
13393             target:  "elm.text";
13394             transition: LINEAR 0.1;
13395          }
13396       }
13397    }
13398
13399 ///////////////////////////////////////////////////////////////////////////////
13400    group { name: "elm/list/h_item/default";
13401       data.item: "stacking" "above";
13402       images {
13403          image: "bt_sm_base1.png" COMP;
13404          image: "bt_sm_shine.png" COMP;
13405          image: "bt_sm_hilight.png" COMP;
13406          image: "ilist_1_h.png" COMP;
13407          image: "ilist_item_shadow_h.png" COMP;
13408       }
13409       parts {
13410          part {
13411             name: "event";
13412             type: RECT;
13413             repeat_events: 1;
13414             description {
13415                state: "default" 0.0;
13416                color: 0 0 0 0;
13417             }
13418          }
13419          part {
13420             name: "base_sh";
13421             mouse_events: 0;
13422             description {
13423                state: "default" 0.0;
13424                align: 0.0 0.0;
13425                min: 10 0;
13426                fixed: 1 1;
13427                rel1 {
13428                   to: "base";
13429                   relative: 1.0 0.0;
13430                   offset: 0 0;
13431                }
13432                rel2 {
13433                   to: "base";
13434                   relative: 1.0 1.0;
13435                   offset: 0 -1;
13436                }
13437                image {
13438                   normal: "ilist_item_shadow_h.png";
13439                }
13440                fill.smooth: 0;
13441             }
13442          }
13443          part {
13444             name: "base";
13445             mouse_events: 0;
13446             description {
13447                state: "default" 0.0;
13448                image {
13449                   normal: "ilist_1_h.png";
13450                   border: 2 2 2 2;
13451                }
13452                fill.smooth: 0;
13453             }
13454          }
13455          part { name: "bg";
13456             mouse_events: 0;
13457             description { state: "default" 0.0;
13458                visible: 0;
13459                color: 255 255 255 0;
13460                rel1 {
13461                   relative: 0.0 0.0;
13462                   offset: -5 -5;
13463                }
13464                rel2 {
13465                   relative: 1.0 1.0;
13466                   offset: 4 4;
13467                }
13468                image {
13469                   normal: "bt_sm_base1.png";
13470                   border: 6 6 6 6;
13471                }
13472                image.middle: SOLID;
13473             }
13474             description { state: "selected" 0.0;
13475                inherit: "default" 0.0;
13476                visible: 1;
13477                color: 255 255 255 255;
13478                rel1 {
13479                   relative: 0.0 0.0;
13480                   offset: -2 -2;
13481                }
13482                rel2 {
13483                   relative: 1.0 1.0;
13484                   offset: 1 1;
13485                }
13486             }
13487          }
13488          part { name: "elm.swallow.icon";
13489             type: SWALLOW;
13490             description { state: "default" 0.0;
13491                fixed: 0 1;
13492                align: 0.5 0.0;
13493                rel1 {
13494                   relative: 0.0 0.0;
13495                   offset: 4 4;
13496                }
13497                rel2 {
13498                   relative: 1.0 0.0;
13499                   offset: -5 4;
13500                }
13501             }
13502          }
13503          part { name: "elm.swallow.end";
13504             type: SWALLOW;
13505             description { state: "default" 0.0;
13506                fixed: 0 1;
13507                align: 0.5 1.0;
13508                rel1 {
13509                   relative: 0.0 1.0;
13510                   offset: 4 -5;
13511                }
13512                rel2 {
13513                   relative: 1.0 1.0;
13514                   offset: -5 -5;
13515                }
13516             }
13517          }
13518          part { name: "elm.text";
13519             type: TEXT;
13520             effect: SOFT_SHADOW;
13521             mouse_events: 0;
13522             scale: 1;
13523             description {
13524                state: "default" 0.0;
13525                fixed: 0 1;
13526                rel1 {
13527                   to_x: "elm.swallow.icon";
13528                   relative: 0.0 1.0;
13529                   offset: 4 4;
13530                }
13531                rel2 {
13532                   to_x: "elm.swallow.end";
13533                   relative: 1.0 0.0;
13534                   offset: -5 -1;
13535                }
13536                color: 0 0 0 255;
13537                color3: 0 0 0 0;
13538                text {
13539                   font: "Sans";
13540                   size: 10;
13541                   min: 1 1;
13542                   align: 0.5 0.5;
13543                   text_class: "list_item";
13544                }
13545             }
13546             description { state: "selected" 0.0;
13547                inherit: "default" 0.0;
13548                color: 224 224 224 255;
13549                color3: 0 0 0 64;
13550             }
13551          }
13552          part { name: "fg1";
13553             mouse_events: 0;
13554             description { state: "default" 0.0;
13555                visible: 0;
13556                color: 255 255 255 0;
13557                rel1.to: "bg";
13558                rel2.relative: 1.0 0.5;
13559                rel2.to: "bg";
13560                image {
13561                   normal: "bt_sm_hilight.png";
13562                   border: 6 6 6 0;
13563                }
13564             }
13565             description { state: "selected" 0.0;
13566                inherit: "default" 0.0;
13567                visible: 1;
13568                color: 255 255 255 255;
13569             }
13570          }
13571          part { name: "fg2";
13572             mouse_events: 0;
13573             description { state: "default" 0.0;
13574                visible: 0;
13575                color: 255 255 255 0;
13576                rel1.to: "bg";
13577                rel2.to: "bg";
13578                image {
13579                   normal: "bt_sm_shine.png";
13580                   border: 6 6 6 0;
13581                }
13582             }
13583             description { state: "selected" 0.0;
13584                inherit: "default" 0.0;
13585                visible: 1;
13586                color: 255 255 255 255;
13587             }
13588          }
13589       }
13590       programs {
13591          program {
13592             name: "go_active";
13593             signal: "elm,state,selected";
13594             source: "elm";
13595             action: STATE_SET "selected" 0.0;
13596             target: "bg";
13597             target: "fg1";
13598             target: "fg2";
13599             target: "elm.text";
13600          }
13601          program {
13602             name: "go_passive";
13603             signal: "elm,state,unselected";
13604             source: "elm";
13605             action: STATE_SET "default" 0.0;
13606             target: "bg";
13607             target: "fg1";
13608             target: "fg2";
13609             target: "elm.text";
13610             transition: LINEAR 0.1;
13611          }
13612       }
13613    }
13614    group { name: "elm/list/h_item_odd/default";
13615       data.item: "stacking" "below";
13616       data.item: "selectraise" "on";
13617       images {
13618          image: "bt_sm_base1.png" COMP;
13619          image: "bt_sm_shine.png" COMP;
13620          image: "bt_sm_hilight.png" COMP;
13621          image: "ilist_2_h.png" COMP;
13622       }
13623       parts {
13624          part {
13625             name: "event";
13626             type: RECT;
13627             repeat_events: 1;
13628             description {
13629                state: "default" 0.0;
13630                color: 0 0 0 0;
13631             }
13632          }
13633          part {
13634             name: "base";
13635             mouse_events: 0;
13636             description {
13637                state: "default" 0.0;
13638                image {
13639                   normal: "ilist_2_h.png";
13640                   border: 2 2 2 2;
13641                }
13642                fill.smooth: 0;
13643             }
13644          }
13645          part { name: "bg";
13646             mouse_events: 0;
13647             description { state: "default" 0.0;
13648                visible: 0;
13649                color: 255 255 255 0;
13650                rel1 {
13651                   relative: 0.0 0.0;
13652                   offset: -5 -5;
13653                }
13654                rel2 {
13655                   relative: 1.0 1.0;
13656                   offset: 4 4;
13657                }
13658                image {
13659                   normal: "bt_sm_base1.png";
13660                   border: 6 6 6 6;
13661                }
13662                image.middle: SOLID;
13663             }
13664             description { state: "selected" 0.0;
13665                inherit: "default" 0.0;
13666                visible: 1;
13667                color: 255 255 255 255;
13668                rel1 {
13669                   relative: 0.0 0.0;
13670                   offset: -2 -2;
13671                }
13672                rel2 {
13673                   relative: 1.0 1.0;
13674                   offset: 1 1;
13675                }
13676             }
13677          }
13678          part {
13679             name: "elm.swallow.icon";
13680             type: SWALLOW;
13681             description { state: "default" 0.0;
13682                fixed: 0 1;
13683                align: 0.5 0.0;
13684                rel1 {
13685                   relative: 0.0 0.0;
13686                   offset: 4 4;
13687                }
13688                rel2 {
13689                   relative: 1.0 0.0;
13690                   offset: -5 4;
13691                }
13692             }
13693          }
13694          part {
13695             name: "elm.swallow.end";
13696             type: SWALLOW;
13697             description { state: "default" 0.0;
13698                fixed: 0 1;
13699                align: 0.5 1.0;
13700                rel1 {
13701                   relative: 0.0 1.0;
13702                   offset: 4 -5;
13703                }
13704                rel2 {
13705                   relative: 1.0 1.0;
13706                   offset: -5 -5;
13707                }
13708             }
13709          }
13710          part { name: "elm.text";
13711             type: TEXT;
13712             effect: SOFT_SHADOW;
13713             mouse_events: 0;
13714             scale: 1;
13715             description {
13716                state: "default" 0.0;
13717                fixed: 1 1;
13718                rel1 {
13719                   to_x: "elm.swallow.icon";
13720                   relative: 0.0 1.0;
13721                   offset: 4 4;
13722                }
13723                rel2 {
13724                   to_x: "elm.swallow.end";
13725                   relative: 1.0 0.0;
13726                   offset: -5 -1;
13727                }
13728                color: 0 0 0 255;
13729                color3: 0 0 0 0;
13730                text {
13731                   font: "Sans";
13732                   size: 10;
13733                   min: 1 1;
13734                   align: 0.5 0.5;
13735                   text_class: "list_item";
13736                }
13737             }
13738             description { state: "selected" 0.0;
13739                inherit: "default" 0.0;
13740                color: 224 224 224 255;
13741                color3: 0 0 0 64;
13742             }
13743          }
13744          part { name: "fg1";
13745             mouse_events: 0;
13746             description { state: "default" 0.0;
13747                visible: 0;
13748                color: 255 255 255 0;
13749                rel1.to: "bg";
13750                rel2.relative: 1.0 0.5;
13751                rel2.to: "bg";
13752                image {
13753                   normal: "bt_sm_hilight.png";
13754                   border: 6 6 6 0;
13755                }
13756             }
13757             description { state: "selected" 0.0;
13758                inherit: "default" 0.0;
13759                visible: 1;
13760                color: 255 255 255 255;
13761             }
13762          }
13763          part { name: "fg2";
13764             mouse_events: 0;
13765             description { state: "default" 0.0;
13766                visible: 0;
13767                color: 255 255 255 0;
13768                rel1.to: "bg";
13769                rel2.to: "bg";
13770                image {
13771                   normal: "bt_sm_shine.png";
13772                   border: 6 6 6 0;
13773                }
13774             }
13775             description { state: "selected" 0.0;
13776                inherit: "default" 0.0;
13777                visible: 1;
13778                color: 255 255 255 255;
13779             }
13780          }
13781       }
13782       programs {
13783          program {
13784             name: "go_active";
13785             signal: "elm,state,selected";
13786             source: "elm";
13787             action: STATE_SET "selected" 0.0;
13788             target: "bg";
13789             target: "fg1";
13790             target: "fg2";
13791             target: "elm.text";
13792          }
13793          program {
13794             name: "go_passive";
13795             signal: "elm,state,unselected";
13796             source: "elm";
13797             action: STATE_SET "default" 0.0;
13798             target: "bg";
13799             target: "fg1";
13800             target: "fg2";
13801             target: "elm.text";
13802             transition: LINEAR 0.1;
13803          }
13804       }
13805    }
13806    group { name: "elm/list/h_item_compress/default";
13807       data.item: "stacking" "above";
13808       data.item: "selectraise" "on";
13809       images {
13810          image: "bt_sm_base1.png" COMP;
13811          image: "bt_sm_shine.png" COMP;
13812          image: "bt_sm_hilight.png" COMP;
13813          image: "ilist_1_h.png" COMP;
13814          image: "ilist_item_shadow_h.png" COMP;
13815       }
13816       parts {
13817          part {
13818             name: "event";
13819             type: RECT;
13820             repeat_events: 1;
13821             description {
13822                state: "default" 0.0;
13823                color: 0 0 0 0;
13824             }
13825          }
13826          part {
13827             name: "base_sh";
13828             mouse_events: 0;
13829             description { state: "default" 0.0;
13830                fixed: 1 1;
13831                align: 0.0 0.0;
13832                min: 10 0;
13833                rel1 {
13834                   to: "base";
13835                   relative: 1.0 0.0;
13836                   offset: 0 0;
13837                }
13838                rel2 {
13839                   to: "base";
13840                   relative: 1.0 1.0;
13841                   offset: 0 -1;
13842                }
13843                image {
13844                   normal: "ilist_item_shadow_h.png";
13845                }
13846                fill.smooth: 0;
13847             }
13848          }
13849          part {
13850             name: "base";
13851             mouse_events: 0;
13852             description {
13853                state: "default" 0.0;
13854                image {
13855                   normal: "ilist_1_h.png";
13856                   border: 2 2 2 2;
13857                }
13858                fill.smooth: 0;
13859             }
13860          }
13861          part { name: "bg";
13862             mouse_events: 0;
13863             description { state: "default" 0.0;
13864                visible: 0;
13865                color: 255 255 255 0;
13866                rel1 {
13867                   relative: 0.0 0.0;
13868                   offset: -5 -5;
13869                }
13870                rel2 {
13871                   relative: 1.0 1.0;
13872                   offset: 4 4;
13873                }
13874                image {
13875                   normal: "bt_sm_base1.png";
13876                   border: 6 6 6 6;
13877                }
13878                image.middle: SOLID;
13879             }
13880             description { state: "selected" 0.0;
13881                inherit: "default" 0.0;
13882                visible: 1;
13883                color: 255 255 255 255;
13884                rel1 {
13885                   relative: 0.0 0.0;
13886                   offset: -2 -2;
13887                }
13888                rel2 {
13889                   relative: 1.0 1.0;
13890                   offset: 1 1;
13891                }
13892             }
13893          }
13894          part { name: "elm.swallow.icon";
13895             type: SWALLOW;
13896             description { state: "default" 0.0;
13897                fixed: 0 1;
13898                align: 0.5 0.0;
13899                rel1 {
13900                   relative: 0.0 0.0;
13901                   offset: 4 4;
13902                }
13903                rel2 {
13904                   relative: 1.0 0.0;
13905                   offset: -5 4;
13906                }
13907             }
13908          }
13909          part { name: "elm.swallow.end";
13910             type: SWALLOW;
13911             description { state: "default" 0.0;
13912                fixed: 0 1;
13913                align: 0.5 1.0;
13914                rel1 {
13915                   relative: 0.0 1.0;
13916                   offset: 4 -5;
13917                }
13918                rel2 {
13919                   relative: 1.0 1.0;
13920                   offset: -5 -5;
13921                }
13922             }
13923          }
13924          part {
13925             name: "elm.text";
13926             type: TEXT;
13927             effect: SOFT_SHADOW;
13928             mouse_events: 0;
13929             scale: 1;
13930             description { state: "default" 0.0;
13931                fixed: 1 1;
13932                rel1 {
13933                   to_x: "elm.swallow.icon";
13934                   relative: 0.0 1.0;
13935                   offset: 4 4;
13936                }
13937                rel2 {
13938                   to_x: "elm.swallow.end";
13939                   relative: 1.0 0.0;
13940                   offset: -5 -1;
13941                }
13942                color: 0 0 0 255;
13943                color3: 0 0 0 0;
13944                text {
13945                   font: "Sans";
13946                   size: 10;
13947                   min: 1 1;
13948                   align: 0.5 0.5;
13949                   text_class: "list_item";
13950                }
13951             }
13952             description { state: "selected" 0.0;
13953                inherit: "default" 0.0;
13954                color: 224 224 224 255;
13955                color3: 0 0 0 64;
13956             }
13957          }
13958          part { name: "fg1";
13959             mouse_events: 0;
13960             description { state: "default" 0.0;
13961                visible: 0;
13962                color: 255 255 255 0;
13963                rel1.to: "bg";
13964                rel2.relative: 1.0 0.5;
13965                rel2.to: "bg";
13966                image {
13967                   normal: "bt_sm_hilight.png";
13968                   border: 6 6 6 0;
13969                }
13970             }
13971             description { state: "selected" 0.0;
13972                inherit: "default" 0.0;
13973                visible: 1;
13974                color: 255 255 255 255;
13975             }
13976          }
13977          part { name: "fg2";
13978             mouse_events: 0;
13979             description { state: "default" 0.0;
13980                visible: 0;
13981                color: 255 255 255 0;
13982                rel1.to: "bg";
13983                rel2.to: "bg";
13984                image {
13985                   normal: "bt_sm_shine.png";
13986                   border: 6 6 6 0;
13987                }
13988             }
13989             description { state: "selected" 0.0;
13990                inherit: "default" 0.0;
13991                visible: 1;
13992                color: 255 255 255 255;
13993             }
13994          }
13995       }
13996       programs {
13997          program {
13998             name: "go_active";
13999             signal: "elm,state,selected";
14000             source: "elm";
14001             action: STATE_SET "selected" 0.0;
14002             target: "bg";
14003             target: "fg1";
14004             target: "fg2";
14005             target: "elm.text";
14006          }
14007          program {
14008             name: "go_passive";
14009             signal: "elm,state,unselected";
14010             source: "elm";
14011             action: STATE_SET "default" 0.0;
14012             target: "bg";
14013             target: "fg1";
14014             target: "fg2";
14015             target: "elm.text";
14016             transition: LINEAR 0.1;
14017          }
14018       }
14019    }
14020    group { name: "elm/list/h_item_compress_odd/default";
14021       data.item: "stacking" "below";
14022       data.item: "selectraise" "on";
14023       images {
14024          image: "bt_sm_base1.png" COMP;
14025          image: "bt_sm_shine.png" COMP;
14026          image: "bt_sm_hilight.png" COMP;
14027          image: "ilist_2_h.png" COMP;
14028       }
14029       parts {
14030          part {
14031             name: "event";
14032             type: RECT;
14033             repeat_events: 1;
14034             description {
14035                state: "default" 0.0;
14036                color: 0 0 0 0;
14037             }
14038          }
14039          part {
14040             name: "base";
14041             mouse_events: 0;
14042             description {
14043                state: "default" 0.0;
14044                image {
14045                   normal: "ilist_2_h.png";
14046                   border: 2 2 2 2;
14047                }
14048                fill.smooth: 0;
14049             }
14050          }
14051          part { name: "bg";
14052             mouse_events: 0;
14053             description { state: "default" 0.0;
14054                visible: 0;
14055                color: 255 255 255 0;
14056                rel1 {
14057                   relative: 0.0 0.0;
14058                   offset: -5 -5;
14059                }
14060                rel2 {
14061                   relative: 1.0 1.0;
14062                   offset: 4 4;
14063                }
14064                image {
14065                   normal: "bt_sm_base1.png";
14066                   border: 6 6 6 6;
14067                }
14068                image.middle: SOLID;
14069             }
14070             description { state: "selected" 0.0;
14071                inherit: "default" 0.0;
14072                visible: 1;
14073                color: 255 255 255 255;
14074                rel1 {
14075                   relative: 0.0 0.0;
14076                   offset: -2 -2;
14077                }
14078                rel2 {
14079                   relative: 1.0 1.0;
14080                   offset: 1 1;
14081                }
14082             }
14083          }
14084          part { name: "elm.swallow.icon";
14085             type: SWALLOW;
14086             description { state: "default" 0.0;
14087                fixed: 0 1;
14088                align: 0.5 0.0;
14089                rel1 {
14090                   relative: 0.0 0.0;
14091                   offset: 4 4;
14092                }
14093                rel2 {
14094                   relative: 1.0 0.0;
14095                   offset: -5 4;
14096                }
14097             }
14098          }
14099          part { name: "elm.swallow.end";
14100             type: SWALLOW;
14101             description { state: "default" 0.0;
14102                fixed: 0 1;
14103                align: 0.5 1.0;
14104                rel1 {
14105                   relative: 0.0 1.0;
14106                   offset: 4 -5;
14107                }
14108                rel2 {
14109                   relative: 1.0 1.0;
14110                   offset: -5 -5;
14111                }
14112             }
14113          }
14114          part { name: "elm.text";
14115             type: TEXT;
14116             effect: SOFT_SHADOW;
14117             mouse_events: 0;
14118             scale: 1;
14119             description {
14120                state: "default" 0.0;
14121                fixed: 1 1;
14122                rel1 {
14123                   to_x: "elm.swallow.icon";
14124                   relative: 0.0 1.0;
14125                   offset: 4 4;
14126                }
14127                rel2 {
14128                   to_x: "elm.swallow.end";
14129                   relative: 1.0 0.0;
14130                   offset: -5 -1;
14131                }
14132                color: 0 0 0 255;
14133                color3: 0 0 0 0;
14134                text {
14135                   font: "Sans";
14136                   size: 10;
14137                   min: 1 1;
14138                   align: 0.5 0.5;
14139                   text_class: "list_item";
14140                }
14141             }
14142             description { state: "selected" 0.0;
14143                inherit: "default" 0.0;
14144                color: 224 224 224 255;
14145                color3: 0 0 0 64;
14146             }
14147          }
14148          part { name: "fg1";
14149             mouse_events: 0;
14150             description { state: "default" 0.0;
14151                visible: 0;
14152                color: 255 255 255 0;
14153                rel1.to: "bg";
14154                rel2.relative: 1.0 0.5;
14155                rel2.to: "bg";
14156                image {
14157                   normal: "bt_sm_hilight.png";
14158                   border: 6 6 6 0;
14159                }
14160             }
14161             description { state: "selected" 0.0;
14162                inherit: "default" 0.0;
14163                visible: 1;
14164                color: 255 255 255 255;
14165             }
14166          }
14167          part { name: "fg2";
14168             mouse_events: 0;
14169             description { state: "default" 0.0;
14170                visible: 0;
14171                color: 255 255 255 0;
14172                rel1.to: "bg";
14173                rel2.to: "bg";
14174                image {
14175                   normal: "bt_sm_shine.png";
14176                   border: 6 6 6 0;
14177                }
14178             }
14179             description { state: "selected" 0.0;
14180                inherit: "default" 0.0;
14181                visible: 1;
14182                color: 255 255 255 255;
14183             }
14184          }
14185       }
14186       programs {
14187          program {
14188             name: "go_active";
14189             signal: "elm,state,selected";
14190             source: "elm";
14191             action: STATE_SET "selected" 0.0;
14192             target: "bg";
14193             target: "fg1";
14194             target: "fg2";
14195             target: "elm.text";
14196          }
14197          program {
14198             name: "go_passive";
14199             signal: "elm,state,unselected";
14200             source: "elm";
14201             action: STATE_SET "default" 0.0;
14202             target: "bg";
14203             target: "fg1";
14204             target: "fg2";
14205             target: "elm.text";
14206             transition: LINEAR 0.1;
14207          }
14208       }
14209    }
14210
14211 ///////////////////////////////////////////////////////////////////////////////
14212    group { name: "elm/slider/horizontal/default";
14213            alias: "elm/slider/horizontal/disabled";
14214       images {
14215          image: "sl_bg.png" COMP;
14216          image: "sl_bg_over.png" COMP;
14217
14218          image: "sl_units.png" COMP;
14219       }
14220       parts {
14221          part { name: "base";
14222             mouse_events: 0;
14223             description { state: "default" 0.0;
14224                max: 99999 6;
14225                min: 0 6;
14226                rel1 { to: "bg";
14227                   offset: 1 0;
14228                }
14229                rel2 { to: "bg";
14230                   offset: -2 -1;
14231                }
14232                image.normal: "sl_bg.png";
14233                fill.smooth: 0;
14234             }
14235          }
14236          part { name: "level";
14237             type: RECT;
14238             mouse_events: 0;
14239             description { state: "default" 0.0;
14240                fixed: 1 1;
14241                rel1.to: "base";
14242                rel2 {
14243                   to_y: "base";
14244                   to_x: "elm.dragable.slider";
14245                   relative: 0.5 1.0;
14246                }
14247                color: 255 0 0 200;
14248             }
14249             description { state: "inverted" 0.0;
14250                inherit: "default" 0.0;
14251                visible: 0;
14252             }
14253             description { state: "disabled" 0.0;
14254                inherit: "default" 0.0;
14255                color: 255 0 0 100;
14256             }
14257             description { state: "disabled_inverted" 0.0;
14258                inherit: "default" 0.0;
14259                visible: 0;
14260             }
14261          }
14262          part { name: "level2";
14263             type: RECT;
14264             mouse_events: 0;
14265             description { state: "default" 0.0;
14266                fixed: 1 1;
14267                visible: 0;
14268                rel1 {
14269                   to_y: "base";
14270                   to_x: "elm.dragable.slider";
14271                   relative: 0.5 0.0;
14272                }
14273                rel2.to: "base";
14274                color: 255 0 0 200;
14275             }
14276             description { state: "inverted" 0.0;
14277                inherit: "default" 0.0;
14278                visible: 1;
14279             }
14280             description { state: "disabled" 0.0;
14281                inherit: "default" 0.0;
14282             }
14283             description { state: "disabled_inverted" 0.0;
14284                inherit: "default" 0.0;
14285                color: 255 0 0 100;
14286                visible: 1;
14287             }
14288          }
14289          part {
14290             name: "base_over";
14291             mouse_events: 0;
14292             description { state: "default" 0.0;
14293                rel1.to: "base";
14294                rel1.offset: -1 -1;
14295                rel2.to: "base";
14296                rel2.offset: 0 0;
14297                image {
14298                   normal: "sl_bg_over.png";
14299                   border: 3 3 3 3;
14300                }
14301                fill.smooth: 0;
14302             }
14303          }
14304          part { name: "bg";
14305             type: RECT;
14306             mouse_events: 0;
14307             scale: 1;
14308             description { state: "default" 0.0;
14309                visible: 0;
14310                rel1.to: "elm.swallow.bar";
14311                rel2.to: "elm.swallow.bar";
14312                color: 0 0 0 0;
14313             }
14314          }
14315          part { name: "elm.swallow.bar";
14316             type: SWALLOW;
14317             scale: 1;
14318             description { state: "default" 0.0;
14319                min: 48 24;
14320                max: 99999 24;
14321                align: 1.0 0.5;
14322                rel1 {
14323                   to_x: "elm.text";
14324                   relative: 1.0 0.0;
14325                   offset: 8 0;
14326                }
14327                rel2 {
14328                   to_x: "elm.units";
14329                   relative: 0.0 1.0;
14330                   offset: -10 -1;
14331                }
14332             }
14333          }
14334          part { name: "elm.swallow.icon";
14335             type: SWALLOW;
14336             description { state: "default" 0.0;
14337                visible: 0;
14338                align: 0.0 0.5;
14339                rel1 {
14340                   offset: 4 0;
14341                   to_y: "elm.swallow.bar";
14342                }
14343                rel2 {
14344                   offset: 3 -1;
14345                   relative: 0.0 1.0;
14346                   to_y: "elm.swallow.bar";
14347                }
14348             }
14349             description { state: "visible" 0.0;
14350                inherit: "default" 0.0;
14351                visible: 1;
14352                aspect: 1.0 1.0;
14353                aspect_preference: VERTICAL;
14354                rel2.offset: 4 -1;
14355             }
14356          }
14357          part { name: "elm.text";
14358             type: TEXT;
14359             mouse_events: 0;
14360             scale: 1;
14361             description { state: "default" 0.0;
14362                visible: 0;
14363                fixed: 1 1;
14364                align: 0.0 0.5;
14365                rel1.to_x: "elm.swallow.icon";
14366                rel1.relative: 1.0 0.0;
14367                rel1.offset: -1 4;
14368                rel2.to_x: "elm.swallow.icon";
14369                rel2.relative: 1.0 1.0;
14370                rel2.offset: -1 -5;
14371                color: 0 0 0 255;
14372                text {
14373                   font: "Sans,Edje-Vera";
14374                   size: 10;
14375                   min: 0 0;
14376                   align: 0.0 0.5;
14377                }
14378             }
14379             description { state: "visible" 0.0;
14380                inherit: "default" 0.0;
14381                visible: 1;
14382                text.min: 1 1;
14383                rel1.offset: 0 4;
14384                rel2.offset: 0 -5;
14385             }
14386             description { state: "disabled" 0.0;
14387                inherit: "default" 0.0;
14388                color: 255 128 128 128;
14389                visible: 0;
14390             }
14391             description { state: "disabled_visible" 0.0;
14392                inherit: "default" 0.0;
14393                color: 0 0 0 128;
14394                color3: 0 0 0 0;
14395                visible: 1;
14396                text.min: 1 1;
14397             }
14398          }
14399          part {
14400             name: "elm.swallow.end";
14401             type: SWALLOW;
14402             description {
14403                state: "default" 0.0;
14404                visible: 0;
14405                align: 1.0 0.5;
14406                rel1 {
14407                   offset: -4 0;
14408                   relative: 1.0 0.0;
14409                   to_y: "elm.swallow.bar";
14410                }
14411                rel2 {
14412                   offset: -3 -1;
14413                   to_y: "elm.swallow.bar";
14414                }
14415             }
14416             description { state: "visible" 0.0;
14417                inherit: "default" 0.0;
14418                visible: 1;
14419                aspect: 1.0 1.0;
14420                aspect_preference: VERTICAL;
14421                rel2.offset: -4 -1;
14422             }
14423          }
14424          part { name: "units";
14425             mouse_events: 0;
14426             description { state: "default" 0.0;
14427                visible: 0;
14428                rel1 {
14429                   to_x: "elm.units";
14430                   offset: 0 5;
14431                }
14432                rel2 {
14433                   to_x: "elm.units";
14434                   offset: 5 -3;
14435                }
14436                image {
14437                   normal: "sl_units.png";
14438                   border: 0 5 3 8;
14439                }
14440                fill.smooth: 0;
14441             }
14442             description { state: "visible" 0.0;
14443                inherit: "default" 0.0;
14444                visible: 1;
14445             }
14446          }
14447          part { name: "elm.units";
14448             type: TEXT;
14449             mouse_events: 0;
14450             scale: 1;
14451             description { state: "default" 0.0;
14452                visible: 0;
14453                fixed: 1 1;
14454                align: 1.0 0.5;
14455                rel1.to_x: "elm.swallow.end";
14456                rel1.relative: 0.0 0.0;
14457                rel1.offset: 0 8;
14458                rel2.to_x: "elm.swallow.end";
14459                rel2.relative: 0.0 1.0;
14460                rel2.offset: 0 -9;
14461                color: 0 0 0 255;
14462                text {
14463                   font: "Sans,Edje-Vera";
14464                   size: 10;
14465                   min: 0 0;
14466                   align: 0.0 0.5;
14467                }
14468             }
14469             description { state: "visible" 0.0;
14470                inherit: "default" 0.0;
14471                fixed: 1 1;
14472                visible: 1;
14473                text.min: 1 1;
14474                rel1.offset: -5 0;
14475                rel2.offset: -5 -1;
14476             }
14477             description { state: "disabled" 0.0;
14478                inherit: "default" 0.0;
14479                color: 255 128 128 128;
14480                visible: 0;
14481             }
14482             description { state: "disabled_visible" 0.0;
14483                inherit: "default" 0.0;
14484                color: 0 0 0 128;
14485                color3: 0 0 0 0;
14486                visible: 1;
14487                text.min: 1 1;
14488             }
14489          }
14490          part { name: "elm.dragable.slider";
14491             type: GROUP;
14492             source: "elm/slider/horizontal/indicator/default";
14493             mouse_events: 1;
14494             repeat_events: 1;
14495             scale: 1;
14496             dragable {
14497                x: 1 1 0;
14498                y: 0 0 0;
14499                confine: "bg";
14500             }
14501             description { state: "default" 0.0;
14502                min: 0 24;
14503                max: 0 24;
14504                fixed: 1 1;
14505                rel1 {
14506                   relative: 0.5 0.0;
14507                   to_x: "bg";
14508                }
14509                rel2 {
14510                   relative: 0.5 1.0;
14511                   to_x: "bg";
14512                }
14513                color: 255 0 0 100;
14514             }
14515          }
14516           part { name: "disabler";
14517             type: RECT;
14518             description { state: "default" 0.0;
14519                color: 0 0 0 0;
14520                visible: 0;
14521             }
14522             description { state: "disabled" 0.0;
14523                inherit: "default" 0.0;
14524                visible: 1;
14525             }
14526          }
14527       }
14528       programs {
14529          program { name: "text_show";
14530             signal: "elm,state,text,visible";
14531             source: "elm";
14532             action:  STATE_SET "visible" 0.0;
14533             target: "elm.text";
14534          }
14535          program { name: "text_hide";
14536             signal: "elm,state,text,hidden";
14537             source: "elm";
14538             action:  STATE_SET "default" 0.0;
14539             target: "elm.text";
14540          }
14541          program { name: "icon_show";
14542             signal: "elm,state,icon,visible";
14543             source: "elm";
14544             action:  STATE_SET "visible" 0.0;
14545             target: "elm.swallow.icon";
14546          }
14547          program { name: "icon_hide";
14548             signal: "elm,state,icon,hidden";
14549             source: "elm";
14550             action:  STATE_SET "default" 0.0;
14551             target: "elm.swallow.icon";
14552          }
14553           program { name: "end_show";
14554             signal: "elm,state,end,visible";
14555             source: "elm";
14556             action:  STATE_SET "visible" 0.0;
14557             target: "elm.swallow.end";
14558          }
14559          program { name: "end_hide";
14560             signal: "elm,state,end,hidden";
14561             source: "elm";
14562             action:  STATE_SET "default" 0.0;
14563             target: "elm.swallow.end";
14564          }
14565          program { name: "units_show";
14566             signal: "elm,state,units,visible";
14567             source: "elm";
14568             action:  STATE_SET "visible" 0.0;
14569             target: "elm.units";
14570             target: "units";
14571          }
14572          program { name: "units_hide";
14573             signal: "elm,state,units,hidden";
14574             source: "elm";
14575             action:  STATE_SET "default" 0.0;
14576             target: "elm.units";
14577             target: "units";
14578          }
14579          program { name: "invert_on";
14580             signal: "elm,state,inverted,on";
14581             source: "elm";
14582             action:  STATE_SET "inverted" 0.0;
14583             target: "level";
14584             target: "level2";
14585          }
14586          program { name: "invert_off";
14587             signal: "elm,state,inverted,off";
14588             source: "elm";
14589             action:  STATE_SET "default" 0.0;
14590             target: "level";
14591             target: "level2";
14592          }
14593          program {
14594             name:    "go_disabled";
14595             signal:  "elm,state,disabled";
14596             source:  "elm";
14597             action:  STATE_SET "disabled" 0.0;
14598 //            target: "button0";
14599             target: "disabler";
14600             after: "disable_text";
14601             after: "disable_ind";
14602          }
14603
14604          program { name: "disable_ind";
14605             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14606          }
14607          program { name: "disable_text";
14608             script {
14609                new st[31];
14610                new Float:vl;
14611                get_state(PART:"elm.text", st, 30, vl);
14612                if (!strcmp(st, "visible"))
14613                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14614                else
14615                   set_state(PART:"elm.text", "disabled", 0.0);
14616
14617                get_state(PART:"elm.units", st, 30, vl);
14618                if (!strcmp(st, "visible"))
14619                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14620                else
14621                   set_state(PART:"elm.units", "disabled", 0.0);
14622
14623                get_state(PART:"level2", st, 30, vl);
14624                if (!strcmp(st, "inverted"))
14625                {
14626                   set_state(PART:"level", "disabled_inverted", 0.0);
14627                   set_state(PART:"level2", "disabled_inverted", 0.0);
14628                }
14629                else
14630                {
14631                   set_state(PART:"level", "disabled", 0.0);
14632                   set_state(PART:"level2", "disabled", 0.0);
14633                }
14634             }
14635          }
14636          program { name: "enable";
14637             signal: "elm,state,enabled";
14638             source: "elm";
14639             action: STATE_SET "default" 0.0;
14640 //            target: "button0";
14641             target: "disabler";
14642             after: "enable_text";
14643             after: "enable_ind";
14644          }
14645
14646          program { name: "enable_ind";
14647             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14648          }
14649
14650          program { name: "enable_text";
14651             script {
14652                new st[31];
14653                new Float:vl;
14654                get_state(PART:"elm.text", st, 30, vl);
14655                if (!strcmp(st, "disabled_visible"))
14656                   set_state(PART:"elm.text", "visible", 0.0);
14657                else
14658                   set_state(PART:"elm.text", "default", 0.0);
14659
14660                get_state(PART:"elm.units", st, 30, vl);
14661                if (!strcmp(st, "disabled_visible"))
14662                   set_state(PART:"elm.units", "visible", 0.0);
14663                else
14664                   set_state(PART:"elm.units", "default", 0.0);
14665
14666                get_state(PART:"level2", st, 30, vl);
14667                if (!strcmp(st, "disabled_inverted"))
14668                {
14669                   set_state(PART:"level", "inverted", 0.0);
14670                   set_state(PART:"level2", "inverted", 0.0);
14671                }
14672                else
14673                {
14674                   set_state(PART:"level", "default", 0.0);
14675                   set_state(PART:"level2", "default", 0.0);
14676                }
14677             }
14678          }
14679       }
14680    }
14681
14682    group { name: "elm/slider/vertical/default";
14683       images {
14684          image: "slv_bg.png" COMP;
14685          image: "slv_bg_over.png" COMP;
14686
14687          image: "slv_units.png" COMP;
14688       }
14689       parts {
14690          part { name: "base";
14691             mouse_events: 0;
14692             description { state: "default" 0.0;
14693                max: 6 99999;
14694                min: 6 0;
14695                rel1 { to: "bg";
14696                   offset: 1 0;
14697                }
14698                rel2 { to: "bg";
14699                   offset: -2 -1;
14700                }
14701                image.normal: "slv_bg.png";
14702                fill.smooth: 0;
14703             }
14704          }
14705          part { name: "level";
14706             type: RECT;
14707             mouse_events: 0;
14708             description { state: "default" 0.0;
14709                fixed: 1 1;
14710                rel1.to: "base";
14711                rel2 {
14712                   to_x: "base";
14713                   to_y: "elm.dragable.slider";
14714                   relative: 1.0 0.5;
14715                }
14716                color: 255 0 0 200;
14717             }
14718             description { state: "inverted" 0.0;
14719                inherit: "default" 0.0;
14720                visible: 0;
14721             }
14722             description { state: "disabled" 0.0;
14723                inherit: "default" 0.0;
14724                color: 255 0 0 100;
14725             }
14726             description { state: "disabled_inverted" 0.0;
14727                inherit: "default" 0.0;
14728                visible: 0;
14729             }
14730          }
14731          part { name: "level2";
14732             type: RECT;
14733             mouse_events: 0;
14734             description { state: "default" 0.0;
14735                fixed: 1 1;
14736                visible: 0;
14737                rel1 {
14738                   to_x: "base";
14739                   to_y: "elm.dragable.slider";
14740                   relative: 0.0 0.5;
14741                }
14742                rel2.to: "base";
14743                color: 255 0 0 200;
14744             }
14745             description { state: "inverted" 0.0;
14746                inherit: "default" 0.0;
14747                visible: 1;
14748             }
14749             description { state: "disabled" 0.0;
14750                inherit: "default" 0.0;
14751                color: 255 0 0 100;
14752             }
14753             description { state: "disabled_inverted" 0.0;
14754                inherit: "default" 0.0;
14755                color: 255 0 0 100;
14756                visible: 1;
14757             }
14758          }
14759          part {
14760             name: "base_over";
14761             mouse_events: 0;
14762             description { state: "default" 0.0;
14763                rel1.to: "base";
14764                rel1.offset: -1 -1;
14765                rel2.to: "base";
14766                rel2.offset: 0 0;
14767                image {
14768                   normal: "slv_bg_over.png";
14769                   border: 3 3 3 3;
14770                }
14771                fill.smooth: 0;
14772             }
14773          }
14774          part { name: "bg";
14775             type: RECT;
14776             mouse_events: 0;
14777             scale: 1;
14778             description { state: "default" 0.0;
14779                visible: 0;
14780                rel1.to: "elm.swallow.bar";
14781                rel2.to: "elm.swallow.bar";
14782                color: 0 0 0 0;
14783             }
14784          }
14785          part { name: "elm.swallow.bar";
14786             type: SWALLOW;
14787             scale: 1;
14788             description { state: "default" 0.0;
14789                min: 24 48;
14790                max: 24 9999;
14791                align: 0.5 1.0;
14792                rel1 {
14793                   to_y: "elm.text";
14794                   relative: 0.0 1.0;
14795                   offset: 0 10;
14796                }
14797                rel2 {
14798                   to_y: "elm.units";
14799                   relative: 1.0 0.0;
14800                   offset: -1 -8;
14801                }
14802             }
14803          }
14804          part { name: "elm.swallow.icon";
14805             type: SWALLOW;
14806             description { state: "default" 0.0;
14807                visible: 0;
14808                align: 0.5 0.0;
14809                rel1 {
14810                   offset: 0 4;
14811                   to_x: "elm.swallow.bar";
14812                }
14813                rel2 {
14814                   offset: -1 3;
14815                   relative: 1.0 0.0;
14816                   to_x: "elm.swallow.bar";
14817                }
14818             }
14819             description { state: "visible" 0.0;
14820                inherit: "default" 0.0;
14821                visible: 1;
14822                aspect: 1.0 1.0;
14823                aspect_preference: HORIZONTAL;
14824                rel2.offset: -1 4;
14825             }
14826          }
14827          part { name: "elm.text";
14828             type: TEXT;
14829             mouse_events: 0;
14830             scale: 1;
14831             description { state: "default" 0.0;
14832                visible: 0;
14833                fixed: 0 1;
14834                align: 0.5 0.0;
14835                rel1.to_y: "elm.swallow.icon";
14836                rel1.relative: 0.0 1.0;
14837                rel1.offset: 0 -1;
14838                rel2.to_y: "elm.swallow.icon";
14839                rel2.relative: 1.0 1.0;
14840                rel2.offset: -1 -1;
14841                color: 0 0 0 255;
14842                text {
14843                   font: "Sans,Edje-Vera";
14844                   size: 10;
14845                   min: 0 0;
14846                   align: 0.5 0.0;
14847                }
14848             }
14849             description { state: "visible" 0.0;
14850                inherit: "default" 0.0;
14851                visible: 1;
14852                text.min: 1 1;
14853                rel1.offset: 4 0;
14854                rel2.offset: -5 0;
14855             }
14856             description { state: "disabled" 0.0;
14857                inherit: "default" 0.0;
14858                color: 255 128 128 128;
14859                visible: 0;
14860             }
14861             description { state: "disabled_visible" 0.0;
14862                inherit: "default" 0.0;
14863                color: 0 0 0 128;
14864                color3: 0 0 0 0;
14865                visible: 1;
14866                text.min: 1 1;
14867             }
14868          }
14869          part {
14870             name: "elm.swallow.end";
14871             type: SWALLOW;
14872             description {
14873                state: "default" 0.0;
14874                visible: 0;
14875                align: 0.5 1.0;
14876                rel1 {
14877                   offset: 0 -4;
14878                   relative: 0.0 1.0;
14879                   to_x: "elm.swallow.bar";
14880                }
14881                rel2 {
14882                   offset: -1 -3;
14883                   to_x: "elm.swallow.bar";
14884                }
14885             }
14886             description { state: "visible" 0.0;
14887                inherit: "default" 0.0;
14888                visible: 1;
14889                aspect: 1.0 1.0;
14890                aspect_preference: HORIZONTAL;
14891                rel2.offset: -1 -4;
14892             }
14893          }
14894          part { name: "units";
14895             mouse_events: 0;
14896             description { state: "default" 0.0;
14897                visible: 0;
14898                rel1 {
14899                   to: "elm.units";
14900                   offset: -8 0;
14901                }
14902                rel2 {
14903                   to: "elm.units";
14904                   offset: 7 8;
14905                }
14906                image {
14907                   normal: "slv_units.png";
14908                   border: 8 8 0 9;
14909                }
14910                fill.smooth: 0;
14911             }
14912             description { state: "visible" 0.0;
14913                inherit: "default" 0.0;
14914                visible: 1;
14915             }
14916          }
14917          part { name: "elm.units";
14918             type: TEXT;
14919             mouse_events: 0;
14920             scale: 1;
14921             description { state: "default" 0.0;
14922                visible: 0;
14923                fixed: 1 1;
14924                align: 0.5 1.0;
14925                rel1.relative: 0.0 0.0;
14926                rel1.to_y: "elm.swallow.end";
14927                rel1.offset: 8 0;
14928                rel2.relative: 1.0 0.0;
14929                rel2.to_y: "elm.swallow.end";
14930                rel2.offset: -9 0;
14931                color: 0 0 0 255;
14932                text {
14933                   font: "Sans,Edje-Vera";
14934                   size: 10;
14935                   min: 0 0;
14936                   align: 0.5 0.0;
14937                }
14938             }
14939             description { state: "visible" 0.0;
14940                inherit: "default" 0.0;
14941                fixed: 1 1;
14942                visible: 1;
14943                text.min: 1 1;
14944                rel1.offset: 8 -9;
14945                rel2.offset: -9 -9;
14946             }
14947             description { state: "disabled" 0.0;
14948                inherit: "default" 0.0;
14949                color:  0 0 0 128;
14950                color3: 0 0 0 0;
14951                visible: 0;
14952             }
14953             description { state: "disabled_visible" 0.0;
14954                inherit: "default" 0.0;
14955                fixed: 1 1;
14956                visible: 1;
14957                text.min: 1 1;
14958                rel1.offset: 8 -9;
14959                rel2.offset: -9 -9;
14960                color: 0 0 0 128;
14961                color3: 0 0 0 0;
14962             }
14963          }
14964          part { name: "elm.dragable.slider";
14965             type: GROUP;
14966             source: "elm/slider/vertical/indicator/default";
14967             mouse_events: 1;
14968             repeat_events: 1;
14969             scale: 1;
14970             dragable {
14971                x: 0 0 0;
14972                y: 1 1 0;
14973                confine: "bg";
14974             }
14975             description { state: "default" 0.0;
14976                min: 24 0;
14977                max: 24 0;
14978                fixed: 1 1;
14979                rel1 {
14980                   relative: 0.5  0.0;
14981                   to_y: "bg";
14982                }
14983                rel2 {
14984                   relative: 0.5  1.0;
14985                   to_y: "bg";
14986                }
14987                color: 0 0 0 0;
14988             }
14989          }
14990               part { name: "disabler";
14991                 type: RECT;
14992                 description { state: "default" 0.0;
14993                    color: 0 0 0 0;
14994                    visible: 0;
14995                 }
14996                 description { state: "disabled" 0.0;
14997                    inherit: "default" 0.0;
14998                    visible: 1;
14999                 }
15000              }
15001           }
15002
15003       programs {
15004          program { name: "text_show";
15005             signal: "elm,state,text,visible";
15006             source: "elm";
15007             action:  STATE_SET "visible" 0.0;
15008             target: "elm.text";
15009          }
15010          program { name: "text_hide";
15011             signal: "elm,state,text,hidden";
15012             source: "elm";
15013             action:  STATE_SET "default" 0.0;
15014             target: "elm.text";
15015          }
15016          program { name: "icon_show";
15017             signal: "elm,state,icon,visible";
15018             source: "elm";
15019             action:  STATE_SET "visible" 0.0;
15020             target: "elm.swallow.icon";
15021          }
15022          program { name: "icon_hide";
15023             signal: "elm,state,icon,hidden";
15024             source: "elm";
15025             action:  STATE_SET "default" 0.0;
15026             target: "elm.swallow.icon";
15027          }
15028          program { name: "end_show";
15029             signal: "elm,state,end,visible";
15030             source: "elm";
15031             action:  STATE_SET "visible" 0.0;
15032             target: "elm.swallow.end";
15033          }
15034          program { name: "end_hide";
15035             signal: "elm,state,end,hidden";
15036             source: "elm";
15037             action:  STATE_SET "default" 0.0;
15038             target: "elm.swallow.end";
15039          }
15040          program { name: "units_show";
15041             signal: "elm,state,units,visible";
15042             source: "elm";
15043             action:  STATE_SET "visible" 0.0;
15044             target: "elm.units";
15045             target: "units";
15046          }
15047          program { name: "units_hide";
15048             signal: "elm,state,units,hidden";
15049             source: "elm";
15050             action:  STATE_SET "default" 0.0;
15051             target: "elm.units";
15052             target: "units";
15053          }
15054          program { name: "invert_on";
15055             signal: "elm,state,inverted,on";
15056             source: "elm";
15057             action:  STATE_SET "inverted" 0.0;
15058             target: "level";
15059             target: "level2";
15060          }
15061          program { name: "invert_off";
15062             signal: "elm,state,inverted,off";
15063             source: "elm";
15064             action:  STATE_SET "default" 0.0;
15065             target: "level";
15066             target: "level2";
15067          }
15068          program {
15069             name:   "go_disabled";
15070             signal: "elm,state,disabled";
15071             source: "elm";
15072             action: STATE_SET "disabled" 0.0;
15073 //            target: "button0";
15074             target: "disabler";
15075             after: "disable_text";
15076             after: "disable_ind";
15077          }
15078
15079          program { name: "disable_ind";
15080             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
15081          }
15082
15083          program { name: "disable_text";
15084             script {
15085             new st[31];
15086             new Float:vl;
15087                get_state(PART:"elm.text", st, 30, vl);
15088                if (!strcmp(st, "visible"))
15089                   set_state(PART:"elm.text", "disabled_visible", 0.0);
15090                else
15091                   set_state(PART:"elm.text", "disabled", 0.0);
15092
15093                get_state(PART:"elm.units", st, 30, vl);
15094                if (!strcmp(st, "visible"))
15095                   set_state(PART:"elm.units", "disabled_visible", 0.0);
15096                else
15097                   set_state(PART:"elm.units", "disabled", 0.0);
15098
15099                get_state(PART:"level2", st, 30, vl);
15100                if (!strcmp(st, "inverted"))
15101                {
15102                   set_state(PART:"level", "disabled_inverted", 0.0);
15103                   set_state(PART:"level2", "disabled_inverted", 0.0);
15104                }
15105                else
15106                {
15107                   set_state(PART:"level", "disabled", 0.0);
15108                   set_state(PART:"level2", "disabled", 0.0);
15109                }
15110             }
15111          }
15112
15113          program { name: "enable";
15114             signal: "elm,state,enabled";
15115             source: "elm";
15116             action: STATE_SET "default" 0.0;
15117 //            target: "button0";
15118             target: "disabler";
15119             after: "enable_text";
15120             after: "enable_ind";
15121          }
15122
15123          program { name: "enable_ind";
15124             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
15125          }
15126          program { name: "enable_text";
15127             script {
15128                new st[31];
15129                new Float:vl;
15130                get_state(PART:"elm.text", st, 30, vl);
15131                if (!strcmp(st, "disabled_visible"))
15132                   set_state(PART:"elm.text", "visible", 0.0);
15133                else
15134                   set_state(PART:"elm.text", "default", 0.0);
15135
15136                get_state(PART:"elm.units", st, 30, vl);
15137                if (!strcmp(st, "disabled_visible"))
15138                   set_state(PART:"elm.units", "visible", 0.0);
15139                else
15140                   set_state(PART:"elm.units", "default", 0.0);
15141
15142                get_state(PART:"level2", st, 30, vl);
15143                if (!strcmp(st, "disabled_inverted"))
15144                {
15145                   set_state(PART:"level", "inverted", 0.0);
15146                   set_state(PART:"level2", "inverted", 0.0);
15147                }
15148                else
15149                {
15150                   set_state(PART:"level", "default", 0.0);
15151                   set_state(PART:"level2", "default", 0.0);
15152                }
15153             }
15154          }
15155       }
15156    }
15157    group { name: "elm/slider/horizontal/indicator/default";
15158            alias: "elm/slider/horizontal/indicator/disabled";
15159            alias: "elm/slider/vertical/indicator/default";
15160            alias: "elm/slider/vertical/indicator/disabled";
15161       images {
15162          image: "sl_bt_0.png" COMP;
15163          image: "sl_bt_1.png" COMP;
15164          image: "sl_bt_2.png" COMP;
15165          image: "sl_bt_3.png" COMP;
15166          image: "sl_bt2_0_0.png" COMP;
15167          image: "sl_bt2_0_1.png" COMP;
15168          image: "sl_bt2_0_2.png" COMP;
15169          image: "sl_bt2_1.png" COMP;
15170          image: "sl_bt2_2.png" COMP;
15171       }
15172       script {
15173          public value_hide = 0;
15174          public set_value_show() {
15175             set_int(value_hide, 0);
15176          }
15177          public set_value_hide() {
15178             set_int(value_hide, 1);
15179          }
15180          public thumb_down() {
15181             if (get_int(value_hide) == 1) {
15182                set_state(PART:"elm.indicator", "default", 0.0);
15183                set_state(PART:"button3", "default", 0.0);
15184                set_state(PART:"button4", "default", 0.0);
15185                set_state(PART:"button5", "default", 0.0);
15186                set_state(PART:"button6", "default", 0.0);
15187                set_state(PART:"button7", "default", 0.0);
15188             } else {
15189                set_state(PART:"elm.indicator", "visible", 0.0);
15190                set_state(PART:"button3", "visible", 0.0);
15191                set_state(PART:"button4", "visible", 0.0);
15192                set_state(PART:"button5", "visible", 0.0);
15193                set_state(PART:"button6", "visible", 0.0);
15194                set_state(PART:"button7", "visible", 0.0);
15195             }
15196          }
15197          public thumb_up() {
15198             set_state(PART:"elm.indicator", "default", 0.0);
15199             set_state(PART:"button3", "default", 0.0);
15200             set_state(PART:"button4", "default", 0.0);
15201             set_state(PART:"button5", "default", 0.0);
15202             set_state(PART:"button6", "default", 0.0);
15203             set_state(PART:"button7", "default", 0.0);
15204          }
15205       }
15206       parts {
15207          part { name: "button_events";
15208             type: RECT;
15209             mouse_events: 1;
15210             description { state: "default" 0.0;
15211                fixed: 1 1;
15212                min: 16 16;
15213                aspect: 1.0 1.0;
15214                aspect_preference: VERTICAL;
15215                color: 0 0 0 0;
15216             }
15217          }
15218          part { name: "button0";
15219             mouse_events: 0;
15220             description { state: "default" 0.0;
15221                fixed: 1 1;
15222                max: 17 999;
15223                min: 17 24;
15224                image {
15225                   normal: "sl_bt_0.png";
15226                   border: 5 5 5 10;
15227                }
15228                fill.smooth: 0;
15229             }
15230             description { state: "disabled" 0.0;
15231                inherit: "default" 0.0;
15232                image {
15233                   normal: "sl_bt_3.png";
15234                   border: 5 5 5 10;
15235                }
15236             }
15237          }
15238          part { name: "button1";
15239             mouse_events: 0;
15240             description { state: "default" 0.0;
15241                rel1.to: "button0";
15242                rel2 {
15243                   to: "button0";
15244                   relative: 1.0 0.5;
15245                   offset: -1 -5;
15246                }
15247                image {
15248                   normal: "sl_bt_1.png";
15249                   border: 5 5 5 0;
15250                }
15251             }
15252          }
15253          part { name: "button2";
15254             mouse_events: 0;
15255             description { state: "default" 0.0;
15256                rel1.to: "button0";
15257                rel2.to: "button0";
15258                image {
15259                   normal: "sl_bt_2.png";
15260                   border: 5 5 5 10;
15261                }
15262                fill.smooth: 0;
15263             }
15264          }
15265          part { name: "button3";
15266             mouse_events: 0;
15267             description { state: "default" 0.0;
15268                fixed: 1 1;
15269                visible: 0;
15270                min: 8 32;
15271                align: 1.0 0.5;
15272                rel1 {
15273                   to_x: "elm.indicator";
15274                   to_y: "button4";
15275                   relative: 0.0 0.0;
15276                   offset: -7 0;
15277                }
15278                rel2 {
15279                   to: "button4";
15280                   relative: 0.0 1.0;
15281                   offset: -1 -1;
15282                }
15283                image {
15284                   normal: "sl_bt2_0_0.png";
15285                   border: 6 0 6 12;
15286                }
15287                fill.smooth: 0;
15288             }
15289             description { state: "visible" 0.0;
15290                inherit: "default" 0.0;
15291                visible: 1;
15292             }
15293          }
15294          part { name: "button4";
15295             mouse_events: 0;
15296             description { state: "default" 0.0;
15297                visible: 0;
15298                max: 15 999;
15299                min: 15 32;
15300                rel1 {
15301                   to_x: "button0";
15302                   to_y: "elm.indicator";
15303                   offset: 0 0;
15304                }
15305                rel2.to: "button0";
15306                image {
15307                   normal: "sl_bt2_0_1.png";
15308                   border: 0 0 6 12;
15309                }
15310                fill.smooth: 0;
15311             }
15312             description { state: "visible" 0.0;
15313                inherit: "default" 0.0;
15314                visible: 1;
15315             }
15316          }
15317          part { name: "button5";
15318             mouse_events: 0;
15319             description { state: "default" 0.0;
15320                fixed: 1 1;
15321                visible: 0;
15322                min: 8 32;
15323                align: 0.0 0.5;
15324                rel1 {
15325                   to: "button4";
15326                   relative: 1.0 0.0;
15327                   offset: 0 0;
15328                }
15329                rel2 {
15330                   to_x: "elm.indicator";
15331                   to_y: "button4";
15332                   relative: 1.0 1.0;
15333                   offset: 6 -1;
15334                }
15335                image {
15336                   normal: "sl_bt2_0_2.png";
15337                   border: 0 6 6 12;
15338                }
15339                fill.smooth: 0;
15340             }
15341             description { state: "visible" 0.0;
15342                inherit: "default" 0.0;
15343                visible: 1;
15344             }
15345          }
15346          part { name: "elm.indicator";
15347             type: TEXT;
15348             mouse_events: 0;
15349             effect: SOFT_SHADOW;
15350             scale: 1;
15351             description { state: "default" 0.0;
15352                visible: 0;
15353                fixed: 1 1;
15354                align: 0.5 1.0;
15355                rel1 {
15356                   to: "button0";
15357                   relative: 0.0 -0.25;
15358                   offset: 0 0;
15359                }
15360                rel2 {
15361                   to_x: "button0";
15362                   relative: 1.0 -0.25;
15363                   offset: -1 0;
15364                }
15365                color: 224 224 224 255;
15366                color3: 0 0 0 64;
15367                text {
15368                   font:     "Sans,Edje-Vera";
15369                   size:     10;
15370                   min:      0 0;
15371                   align:    0.5 0.5;
15372                }
15373             }
15374             description { state: "visible" 0.0;
15375                inherit: "default" 0.0;
15376                visible: 1;
15377                text.min: 1 1;
15378                rel1.offset: 0 -1;
15379                rel2.offset: -1 -1;
15380             }
15381          }
15382          part { name: "button6";
15383             mouse_events: 0;
15384             description { state: "default" 0.0;
15385                visible: 0;
15386                rel1.to: "button3";
15387                rel2 {
15388                   to: "button5";
15389                   relative: 1.0 0.3;
15390                   offset: -1 -1;
15391                }
15392                image {
15393                   normal: "sl_bt2_1.png";
15394                   border: 5 5 5 0;
15395                }
15396                fill.smooth: 0;
15397             }
15398             description { state: "visible" 0.0;
15399                inherit: "default" 0.0;
15400                visible: 1;
15401             }
15402          }
15403          part { name: "button7";
15404             mouse_events: 0;
15405             description { state: "default" 0.0;
15406                visible: 0;
15407                rel1.to: "button3";
15408                rel2.to: "button5";
15409                image {
15410                   normal: "sl_bt2_2.png";
15411                   border: 5 5 5 0;
15412                   middle: 0;
15413                }
15414                fill.smooth: 0;
15415             }
15416             description { state: "visible" 0.0;
15417                inherit: "default" 0.0;
15418                visible: 1;
15419             }
15420          }
15421       }
15422       programs {
15423          program { name: "set_val_show";
15424             signal: "elm,state,val,show";
15425             source: "elm";
15426             script {
15427                set_value_show();
15428             }
15429          }
15430          program { name: "set_val_hide";
15431             signal: "elm,state,val,hide";
15432             source: "elm";
15433             script {
15434                set_value_hide();
15435             }
15436          }
15437          program { name: "val_show";
15438             signal: "mouse,down,*";
15439             source: "button_events";
15440             script {
15441                thumb_down();
15442             }
15443
15444          }
15445          program { name: "val_hide";
15446             signal: "mouse,up,*";
15447             source: "button_events";
15448             script {
15449                thumb_up();
15450             }
15451          }
15452          program {
15453             name:    "go_disabled";
15454             signal:  "elm,state,disabled";
15455             source:  "elm";
15456             action:  STATE_SET "disabled" 0.0;
15457             target:  "button0";
15458          }
15459          program {
15460             name:    "go_enabled";
15461             signal:  "elm,state,enabled";
15462             source:  "elm";
15463             action:  STATE_SET "default" 0.0;
15464             target:  "button0";
15465          }
15466       }
15467    }
15468
15469
15470 ////////////////////////////////////////////////////////////////////////////////
15471 // actionslider
15472 ////////////////////////////////////////////////////////////////////////////////
15473    group { name: "elm/actionslider/base/default";
15474
15475       images {
15476          image: "shelf_inset.png" COMP;
15477          image: "ilist_1.png" COMP;
15478          image: "bt_bases.png" COMP;
15479          image: "bt_basew.png" COMP;
15480          image: "bt_hilightw.png" COMP;
15481       }
15482
15483       parts {
15484          part {
15485             name: "base";
15486             mouse_events: 0;
15487             description {
15488                state: "default" 0.0;
15489                min: 75 25;
15490                rel1.offset: 1 1;
15491                rel2.offset: -2 -2;
15492                image {
15493                   normal: "ilist_1.png";
15494                   border: 2 2 2 2;
15495                }
15496                fill.smooth: 0;
15497             }
15498          }
15499          part { name: "conf_over";
15500             mouse_events:  0;
15501             description { state: "default" 0.0;
15502                rel1.to: "base";
15503                rel2.to: "base";
15504                image {
15505                   normal: "shelf_inset.png";
15506                   border: 7 7 7 7;
15507                   middle: 0;
15508                }
15509                fill.smooth : 0;
15510             }
15511          }
15512          part { name: "icon.dragable.area";
15513            type: RECT;
15514             mouse_events: 0;
15515             description { state: "default" 0.0;
15516                visible: 0;
15517                rel1.to: "base";
15518                rel2.to: "base";
15519             }
15520          }
15521          part { name: "elm.text.left";
15522             type: TEXT;
15523             mouse_events: 0;
15524             scale: 1;
15525             description { state: "default" 0.0;
15526                color: 0 0 0 255;
15527                text {
15528                   font: "Sans,Edje-Vera";
15529                   size: 10;
15530                   align: 0.05 0.5;
15531                   min: 1 1;
15532                }
15533             }
15534          }
15535          part { name: "elm.text.center";
15536             type: TEXT;
15537             mouse_events: 0;
15538             scale: 1;
15539             description { state: "default" 0.0;
15540                color: 0 0 0 255;
15541                text {
15542                   font: "Sans,Edje-Vera";
15543                   size: 10;
15544                   align: 0.5 0.5;
15545                   min: 1 1;
15546                }
15547             }
15548          }
15549          part { name: "elm.text.right";
15550             type: TEXT;
15551             mouse_events: 0;
15552             scale: 1;
15553             description { state: "default" 0.0;
15554                color: 0 0 0 255;
15555                text {
15556                   font: "Sans,Edje-Vera";
15557                   size: 10;
15558                   align: 0.95 0.5;
15559                   min: 1 1;
15560                }
15561             }
15562          }
15563          part { name: "elm.drag_button_base";
15564             type: SWALLOW;
15565             mouse_events: 0;
15566             scale: 1;
15567             description { state: "default" 0.0;
15568                fixed: 1 1;
15569                min: 50 25;
15570                align: 0.5 0.5;
15571                rel1.to: "icon.dragable.area";
15572                rel2 {
15573                   relative: 0.0 1.0;
15574                   to: "icon.dragable.area";
15575                }
15576             }
15577             dragable {
15578                confine: "icon.dragable.area";
15579                x: 1 1 0;
15580                y: 0 0 0;
15581             }
15582          }
15583          part { name: "elm.drag_button";
15584             type: RECT;
15585             mouse_events: 1;
15586             description { state: "default" 0.0;
15587                min: 50 25;
15588                color: 255 255 255 0;
15589                rel1.to_x: "elm.drag_button_base";
15590                rel1.to_y: "icon.dragable.area";
15591                rel2.to_x: "elm.drag_button_base";
15592                rel2.to_y: "icon.dragable.area";
15593             }
15594             dragable {
15595                events: "elm.drag_button_base";
15596             }
15597          }
15598          part { name: "button0";
15599             mouse_events: 0;
15600             description { state: "default" 0.0;
15601                rel1.to: "button2";
15602                rel1.offset: -4 -4;
15603                rel2.to: "button2";
15604                rel2.offset: 3 3;
15605                image {
15606                   normal: "bt_bases.png";
15607                   border: 11 11 11 11;
15608                   middle: SOLID;
15609                }
15610                color: 255 255 255 128;
15611             }
15612          }
15613          part { name: "button2";
15614             mouse_events: 0;
15615             description { state: "default" 0.0;
15616                rel1.to: "elm.drag_button";
15617                rel2.to: "elm.drag_button";
15618                image {
15619                   normal: "bt_basew.png";
15620                   border: 7 7 7 7;
15621                   middle: SOLID;
15622                }
15623                color: 255 255 255 210;
15624             }
15625          }
15626          part { name: "button3";
15627             mouse_events: 0;
15628             description { state: "default" 0.0;
15629                rel1.to: "button2";
15630                rel2.to: "button2";
15631                rel2.relative: 1.0 0.5;
15632                image {
15633                   normal: "bt_hilightw.png";
15634                   border: 4 4 4 0;
15635                }
15636                color: 255 255 255 190;
15637             }
15638          }
15639          part { name: "elm.text.indicator";
15640             type: TEXT;
15641             scale: 1;
15642             mouse_events: 0;
15643             description { state: "default" 0.0;
15644                rel1 {
15645                   to: "elm.drag_button";
15646                   offset: 5 0;
15647                }
15648                rel2 {
15649                   to: "elm.drag_button";
15650                   offset: -5 0;
15651                }
15652                color: 0 0 0 255;
15653                text {
15654                   font: "Sans,Edje-Vera";
15655                   size: 10;
15656                   align: 0.5 0.5;
15657                   min: 0 1;
15658                }
15659             }
15660          }
15661       }
15662       programs {
15663          program { name: "elm.drag_button,mouse,up";
15664             signal: "mouse,up,1";
15665             source: "elm.drag_button";
15666             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15667          }
15668          program { name: "elm.drag_button,mouse,down";
15669             signal: "mouse,down,1";
15670             source: "elm.drag_button";
15671             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15672          }
15673          program { name: "elm.drag_button,mouse,move";
15674             signal: "mouse,move";
15675             source: "elm.drag_button_base";
15676             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15677          }
15678       }
15679    }
15680
15681    group { name: "elm/actionslider/base/bar";
15682
15683       images {
15684          image: "shelf_inset.png" COMP;
15685          image: "ilist_1.png" COMP;
15686          image: "bt_bases.png" COMP;
15687          image: "bt_basew.png" COMP;
15688          image: "bt_hilightw.png" COMP;
15689       }
15690
15691       parts {
15692          part {
15693             name: "base";
15694             mouse_events: 0;
15695             description {
15696                state: "default" 0.0;
15697                min: 150 30;
15698                rel1.offset: 1 1;
15699                rel2.offset: -2 -2;
15700                image {
15701                   normal: "ilist_1.png";
15702                   border: 2 2 2 2;
15703                }
15704                fill.smooth: 0;
15705             }
15706          }
15707          part { name: "conf_over";
15708             mouse_events:  0;
15709             description { state: "default" 0.0;
15710                rel1.to: "base";
15711                rel2.to: "base";
15712                image {
15713                   normal: "shelf_inset.png";
15714                   border: 7 7 7 7;
15715                   middle: 0;
15716                }
15717                fill.smooth : 0;
15718             }
15719          }
15720          part { name: "icon.dragable.area";
15721            type: RECT;
15722             mouse_events: 0;
15723             description { state: "default" 0.0;
15724                visible: 0;
15725                rel1.to: "base";
15726                rel2.to: "base";
15727             }
15728          }
15729          part { name: "elm.text.left";
15730             type: TEXT;
15731             mouse_events: 0;
15732             scale: 1;
15733             description { state: "default" 0.0;
15734                color: 0 0 0 255;
15735                text {
15736                   font: "Sans,Edje-Vera";
15737                   size: 10;
15738                   align: 0.05 0.5;
15739                   min: 1 1;
15740                }
15741             }
15742          }
15743          part { name: "elm.text.center";
15744             type: TEXT;
15745             mouse_events: 0;
15746             scale: 1;
15747             description { state: "default" 0.0;
15748                color: 0 0 0 255;
15749                text {
15750                   font: "Sans,Edje-Vera";
15751                   size: 10;
15752                   align: 0.5 0.5;
15753                   min: 1 1;
15754                }
15755             }
15756          }
15757          part { name: "elm.text.right";
15758             type: TEXT;
15759             mouse_events: 0;
15760             scale: 1;
15761             description { state: "default" 0.0;
15762                color: 0 0 0 255;
15763                text {
15764                   font: "Sans,Edje-Vera";
15765                   size: 10;
15766                   align: 0.95 0.5;
15767                   min: 1 1;
15768                }
15769             }
15770          }
15771          part { name: "bar";
15772             type: RECT;
15773             mouse_events: 0;
15774             description { state: "default" 0.0;
15775                rel1.to: "base";
15776                rel1.offset: 0 2;
15777                rel2 {
15778                   relative: 0 1;
15779                   offset: 3 -3;
15780                   to_x: "elm.drag_button_base";
15781                   to_y: "base";
15782                }
15783                color: 0 0 0 180;
15784             }
15785          }
15786          part { name: "elm.drag_button_base";
15787             type: SWALLOW;
15788             mouse_events: 1;
15789             scale: 1;
15790             description { state: "default" 0.0;
15791                fixed: 1 1;
15792                min: 50 25;
15793                align: 0.5 0.5;
15794                rel1.to: "icon.dragable.area";
15795                rel2 {
15796                   relative: 0.0 1.0;
15797                   to: "icon.dragable.area";
15798                }
15799             }
15800             dragable {
15801                confine: "icon.dragable.area";
15802                x: 1 1 0;
15803                y: 0 0 0;
15804             }
15805          }
15806          part { name: "elm.drag_button";
15807             type: RECT;
15808             mouse_events: 1;
15809             description { state: "default" 0.0;
15810                min: 50 25;
15811                color: 255 255 255 0;
15812                rel1.to_x: "elm.drag_button_base";
15813                rel1.to_y: "icon.dragable.area";
15814                rel2.to_x: "elm.drag_button_base";
15815                rel2.to_y: "icon.dragable.area";
15816             }
15817             dragable {
15818                events: "elm.drag_button_base";
15819             }
15820          }
15821          part { name: "button0";
15822             mouse_events: 0;
15823             description { state: "default" 0.0;
15824                rel1.to: "button2";
15825                rel1.offset: -4 -4;
15826                rel2.to: "button2";
15827                rel2.offset: 3 3;
15828                image {
15829                   normal: "bt_bases.png";
15830                   border: 11 11 11 11;
15831                   middle: SOLID;
15832                }
15833                color: 255 255 255 128;
15834             }
15835          }
15836          part { name: "button2";
15837             mouse_events: 0;
15838             description { state: "default" 0.0;
15839                rel1.to: "elm.drag_button";
15840                rel2.to: "elm.drag_button";
15841                image {
15842                   normal: "bt_basew.png";
15843                   border: 7 7 7 7;
15844                   middle: SOLID;
15845                }
15846                color: 255 255 255 210;
15847             }
15848          }
15849          part { name: "button3";
15850             mouse_events: 0;
15851             description { state: "default" 0.0;
15852                rel1.to: "button2";
15853                rel2.to: "button2";
15854                rel2.relative: 1.0 0.5;
15855                image {
15856                   normal: "bt_hilightw.png";
15857                   border: 4 4 4 0;
15858                }
15859                color: 255 255 255 190;
15860             }
15861          }
15862          part { name: "elm.text.indicator";
15863             type: TEXT;
15864             scale: 1;
15865             mouse_events: 0;
15866             description { state: "default" 0.0;
15867                rel1 {
15868                   to: "elm.drag_button";
15869                   offset: 5 0;
15870                }
15871                rel2 {
15872                   to: "elm.drag_button";
15873                   offset: -5 0;
15874                }
15875                color: 0 0 0 255;
15876                text {
15877                   font: "Sans,Edje-Vera";
15878                   size: 10;
15879                   align: 0.5 0.5;
15880                   min: 0 1;
15881                }
15882             }
15883          }
15884       }
15885       programs {
15886          program { name: "elm.drag_button,mouse,up";
15887             signal: "mouse,up,1";
15888             source: "elm.drag_button";
15889             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15890          }
15891          program { name: "elm.drag_button,mouse,down";
15892             signal: "mouse,down,1";
15893             source: "elm.drag_button";
15894             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15895          }
15896          program { name: "elm.drag_button,mouse,move";
15897             signal: "mouse,move";
15898             source: "elm.drag_button_base";
15899             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15900          }
15901       }
15902    }
15903
15904 ///////////////////////////////////////////////////////////////////////////////
15905    group { name: "elm/genlist/item/default/default";
15906       data.item: "selectraise" "on";
15907       data.item: "labels" "elm.text";
15908       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15909       data.item: "treesize" "20";
15910 //      data.item: "states" "";
15911       images {
15912          image: "bt_sm_base1.png" COMP;
15913          image: "bt_sm_shine.png" COMP;
15914          image: "bt_sm_hilight.png" COMP;
15915          image: "ilist_1.png" COMP;
15916          image: "ilist_2.png" COMP;
15917          image: "ilist_item_shadow.png" COMP;
15918       }
15919       parts {
15920          part {
15921             name:           "event";
15922             type:           RECT;
15923             repeat_events: 1;
15924             description {
15925                state: "default" 0.0;
15926                color: 0 0 0 0;
15927             }
15928          }
15929          part { name: "reorder_bg";
15930             mouse_events: 0;
15931             description { state: "default" 0.0;
15932                visible: 0;
15933                color: 255 255 255 0;
15934                rel1 {
15935                   relative: 0.0 0.0;
15936                   offset: -7 -7;
15937                }
15938                rel2 {
15939                   relative: 1.0 1.0;
15940                   offset: 9 9;
15941                }
15942                image {
15943                   normal: "bt_bases.png";
15944                   border: 6 6 6 6;
15945                }
15946             }
15947             description { state: "enabled" 0.0;
15948                inherit: "default" 0.0;
15949                visible: 1;
15950                color: 255 255 255 255;
15951             }
15952          }
15953          part {
15954             name: "base_sh";
15955             mouse_events: 0;
15956             description {
15957                state: "default" 0.0;
15958                align: 0.0 0.0;
15959                min: 0 10;
15960                fixed: 1 1;
15961                rel1 {
15962                   to: "base";
15963                   relative: 0.0 1.0;
15964                   offset: 0 0;
15965                }
15966                rel2 {
15967                   to: "base";
15968                   relative: 1.0 1.0;
15969                   offset: -1 0;
15970                }
15971                image {
15972                   normal: "ilist_item_shadow.png";
15973                }
15974                fill.smooth: 0;
15975             }
15976             description {
15977                state: "default" 1.0;
15978                inherit: "default" 0.0;
15979                visible: 0;
15980             }
15981          }
15982          part {
15983             name: "base";
15984             mouse_events: 0;
15985             description {
15986                state: "default" 0.0;
15987                image {
15988                   normal: "ilist_1.png";
15989                   border: 2 2 2 2;
15990                }
15991                fill.smooth: 0;
15992             }
15993             description {
15994                state: "default" 1.0;
15995                inherit: "default" 0.0;
15996                image.normal: "ilist_2.png";
15997             }
15998          }
15999          part { name: "bg";
16000             clip_to: "disclip";
16001             mouse_events: 0;
16002             description { state: "default" 0.0;
16003                visible: 0;
16004                color: 255 255 255 0;
16005                rel1 {
16006                   relative: 0.0 0.0;
16007                   offset: -5 -5;
16008                }
16009                rel2 {
16010                   relative: 1.0 1.0;
16011                   offset: 4 4;
16012                }
16013                image {
16014                   normal: "bt_sm_base1.png";
16015                   border: 6 6 6 6;
16016                }
16017                image.middle: SOLID;
16018             }
16019             description { state: "default" 0.1;
16020                inherit: "default" 0.0;
16021             }
16022             description { state: "selected" 0.0;
16023                inherit: "default" 0.0;
16024                visible: 1;
16025                color: 255 255 255 255;
16026                rel1 {
16027                   relative: 0.0 0.0;
16028                   offset: -2 -2;
16029                }
16030                rel2 {
16031                   relative: 1.0 1.0;
16032                   offset: 1 1;
16033                }
16034             }
16035             description {
16036                state: "selected" 1.0;
16037                inherit: "selected" 0.0;
16038             }
16039          }
16040          part { name: "elm.swallow.pad";
16041             type: SWALLOW;
16042             description { state: "default" 0.0;
16043                fixed: 1 0;
16044                align: 0.0 0.5;
16045                rel1 {
16046                   relative: 0.0  0.0;
16047                   offset:   4    4;
16048                }
16049                rel2 {
16050                   relative: 0.0  1.0;
16051                   offset:   4   -5;
16052                }
16053             }
16054          }
16055          part { name: "elm.swallow.icon";
16056             clip_to: "disclip";
16057             type: SWALLOW;
16058             description { state: "default" 0.0;
16059                fixed: 1 0;
16060                align: 0.0 0.5;
16061                rel1 {
16062                   to_x: "elm.swallow.pad";
16063                   relative: 1.0  0.0;
16064                   offset:   -1    4;
16065                }
16066                rel2 {
16067                   to_x: "elm.swallow.pad";
16068                   relative: 1.0  1.0;
16069                   offset:   -1   -5;
16070                }
16071             }
16072          }
16073          part { name: "elm.swallow.end";
16074             clip_to: "disclip";
16075             type: SWALLOW;
16076             description { state: "default" 0.0;
16077                fixed: 1 0;
16078                align: 1.0 0.5;
16079                aspect: 1.0 1.0;
16080                aspect_preference: VERTICAL;
16081                rel1 {
16082                   relative: 1.0  0.0;
16083                   offset:   -5    4;
16084                }
16085                rel2 {
16086                   relative: 1.0  1.0;
16087                   offset:   -5   -5;
16088                }
16089             }
16090          }
16091          part { name: "elm.text";
16092             clip_to: "disclip";
16093             type:           TEXT;
16094             effect:         SOFT_SHADOW;
16095             mouse_events:   0;
16096             scale: 1;
16097             description {
16098                state: "default" 0.0;
16099 //               min: 16 16;
16100                rel1 {
16101                   to_x:     "elm.swallow.icon";
16102                   relative: 1.0  0.0;
16103                   offset:   0 4;
16104                }
16105                rel2 {
16106                   to_x:     "elm.swallow.end";
16107                   relative: 0.0  1.0;
16108                   offset:   -1 -5;
16109                }
16110                color: 0 0 0 255;
16111                color3: 0 0 0 0;
16112                text {
16113                   font: "Sans";
16114                   size: 10;
16115                   min: 1 1;
16116 //                  min: 0 1;
16117                   align: -1.0 0.5;
16118                   text_class: "list_item";
16119                }
16120             }
16121             description { state: "selected" 0.0;
16122                inherit: "default" 0.0;
16123                color: 224 224 224 255;
16124                color3: 0 0 0 64;
16125             }
16126          }
16127          part { name: "fg1";
16128             clip_to: "disclip";
16129             mouse_events: 0;
16130             description { state: "default" 0.0;
16131                visible: 0;
16132                color: 255 255 255 0;
16133                rel1.to: "bg";
16134                rel2.relative: 1.0 0.5;
16135                rel2.to: "bg";
16136                image {
16137                   normal: "bt_sm_hilight.png";
16138                   border: 6 6 6 0;
16139                }
16140             }
16141             description { state: "selected" 0.0;
16142                inherit: "default" 0.0;
16143                visible: 1;
16144                color: 255 255 255 255;
16145             }
16146             description {
16147                state: "selected" 1.0;
16148                inherit: "default" 0.0;
16149                visible: 1;
16150                color: 255 255 255 255;
16151             }
16152          }
16153          part { name: "fg2";
16154             clip_to: "disclip";
16155             mouse_events: 0;
16156             description { state: "default" 0.0;
16157                visible: 0;
16158                color: 255 255 255 0;
16159                rel1.to: "bg";
16160                rel2.to: "bg";
16161                image {
16162                   normal: "bt_sm_shine.png";
16163                   border: 6 6 6 0;
16164                }
16165             }
16166             description { state: "selected" 0.0;
16167                inherit: "default" 0.0;
16168                visible: 1;
16169                color: 255 255 255 255;
16170             }
16171             description {
16172                state: "selected" 1.0;
16173                inherit: "default" 0.0;
16174                visible: 1;
16175                color: 255 255 255 255;
16176             }
16177          }
16178          part { name: "disclip";
16179             type: RECT;
16180             description { state: "default" 0.0;
16181                rel1.to: "bg";
16182                rel2.to: "bg";
16183             }
16184             description { state: "disabled" 0.0;
16185                inherit: "default" 0.0;
16186                color: 255 255 255 64;
16187             }
16188          }
16189       }
16190       programs {
16191          // signal: elm,state,%s,active
16192          //   a "check" item named %s went active
16193          // signal: elm,state,%s,passive
16194          //   a "check" item named %s went passive
16195          // default is passive
16196          program {
16197             name:    "odd";
16198             signal:  "elm,state,odd";
16199             source:  "elm";
16200             action:  STATE_SET "default" 1.0;
16201             target:  "base_sh";
16202             target:  "base";
16203          }
16204          program {
16205             name:    "even";
16206             signal:  "elm,state,even";
16207             source:  "elm";
16208             action:  STATE_SET "default" 0.0;
16209             target:  "base_sh";
16210             target:  "base";
16211          }
16212          program {
16213             name:    "go_active";
16214             signal:  "elm,state,selected";
16215             source:  "elm";
16216             script {
16217                new st[31];
16218                new Float:vl;
16219                get_state(PART:"base", st, 30, vl);
16220                set_state(PART:"bg", "selected", vl);
16221                set_state(PART:"fg1", "selected", vl);
16222                set_state(PART:"fg2", "selected", vl);
16223                set_state(PART:"elm.text", "selected", vl);
16224             }
16225          }
16226          program {
16227             name:    "go_passive";
16228             signal:  "elm,state,unselected";
16229             source:  "elm";
16230             script {
16231                new st[31];
16232                new Float:vl;
16233                get_state(PART:"base", st, 30, vl);
16234                set_state(PART:"bg", "default", vl);
16235                set_state(PART:"fg1", "default", vl);
16236                set_state(PART:"fg2", "default", vl);
16237                set_state(PART:"elm.text", "default", vl);
16238             }
16239          }
16240          program {
16241             name:    "go_disabled";
16242             signal:  "elm,state,disabled";
16243             source:  "elm";
16244             action:  STATE_SET "disabled" 0.0;
16245             target:  "disclip";
16246          }
16247          program {
16248             name:    "go_enabled";
16249             signal:  "elm,state,enabled";
16250             source:  "elm";
16251             action:  STATE_SET "default" 0.0;
16252             target:  "disclip";
16253          }
16254          program {
16255             name:    "go_reorder_disabled";
16256             signal:  "elm,state,reorder,disabled";
16257             source:  "elm";
16258             action:  STATE_SET "default" 0.0;
16259             target:  "reorder_bg";
16260             transition: DECELERATE 0.5;
16261          }
16262          program {
16263             name:    "go_reorder_enabled";
16264             signal:  "elm,state,reorder,enabled";
16265             source:  "elm";
16266             action:  STATE_SET "enabled" 0.0;
16267             target:  "reorder_bg";
16268             transition: DECELERATE 0.5;
16269          }
16270       }
16271    }
16272    group { name: "elm/genlist/item/group_index/default";
16273       alias: "elm/genlist/item_compress/group_index/default";
16274       data.item: "selectraise" "on";
16275       data.item: "labels" "elm.text";
16276       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16277       data.item: "treesize" "20";
16278 //      data.item: "states" "";
16279       images {
16280          image: "bt_sm_base1.png" COMP;
16281          image: "bt_sm_shine.png" COMP;
16282          image: "bt_sm_hilight.png" COMP;
16283          image: "ilist_item_shadow.png" COMP;
16284          image: "group_index.png" COMP;
16285       }
16286       parts {
16287          part {
16288             name: "event";
16289             type: RECT;
16290             repeat_events: 0;
16291             description {
16292                state: "default" 0.0;
16293                color: 0 0 0 0;
16294             }
16295          }
16296          part {
16297             name: "base_sh";
16298             mouse_events: 0;
16299             description {
16300                state: "default" 0.0;
16301                align: 0.0 0.0;
16302                min: 0 10;
16303                fixed: 1 1;
16304                rel1 {
16305                   to: "base";
16306                   relative: 0.0 1.0;
16307                   offset: 0 0;
16308                }
16309                rel2 {
16310                   to: "base";
16311                   relative: 1.0 1.0;
16312                   offset: -1 0;
16313                }
16314                image {
16315                   normal: "ilist_item_shadow.png";
16316                }
16317                fill.smooth: 0;
16318             }
16319          }
16320          part {
16321             name: "base";
16322             mouse_events: 0;
16323             description {
16324                state: "default" 0.0;
16325                image {
16326                   normal: "group_index.png";
16327                   border: 2 2 2 2;
16328                }
16329                fill.smooth: 0;
16330             }
16331          }
16332          part { name: "bg";
16333             clip_to: "disclip";
16334             mouse_events: 0;
16335             description { state: "default" 0.0;
16336                visible: 0;
16337                color: 255 255 255 0;
16338                rel1 {
16339                   relative: 0.0 0.0;
16340                   offset: -5 -5;
16341                }
16342                rel2 {
16343                   relative: 1.0 1.0;
16344                   offset: 4 4;
16345                }
16346                image {
16347                   normal: "bt_sm_base1.png";
16348                   border: 6 6 6 6;
16349                }
16350                image.middle: SOLID;
16351             }
16352             description { state: "selected" 0.0;
16353                inherit: "default" 0.0;
16354                visible: 1;
16355                color: 255 255 255 255;
16356                rel1 {
16357                   relative: 0.0 0.0;
16358                   offset: -2 -2;
16359                }
16360                rel2 {
16361                   relative: 1.0 1.0;
16362                   offset: 1 1;
16363                }
16364             }
16365          }
16366          part { name: "elm.swallow.pad";
16367             type: SWALLOW;
16368             description { state: "default" 0.0;
16369                fixed: 1 0;
16370                align: 0.0 0.5;
16371                rel1 {
16372                   relative: 0.0  0.0;
16373                   offset: 4 4;
16374                }
16375                rel2 {
16376                   relative: 0.0  1.0;
16377                   offset: 4 -5;
16378                }
16379             }
16380          }
16381          part { name: "elm.swallow.icon";
16382             clip_to: "disclip";
16383             type: SWALLOW;
16384             description { state: "default" 0.0;
16385                fixed: 1 0;
16386                align: 0.0 0.5;
16387                rel1 {
16388                   to_x: "elm.swallow.pad";
16389                   relative: 1.0 0.0;
16390                   offset: -1 4;
16391                }
16392                rel2 {
16393                   to_x: "elm.swallow.pad";
16394                   relative: 1.0 1.0;
16395                   offset: -1 -5;
16396                }
16397             }
16398          }
16399          part { name: "elm.swallow.end";
16400             clip_to: "disclip";
16401             type: SWALLOW;
16402             description { state: "default" 0.0;
16403                fixed: 1 0;
16404                align: 1.0 0.5;
16405                aspect: 1.0 1.0;
16406                aspect_preference: VERTICAL;
16407                rel1 {
16408                   relative: 1.0 0.0;
16409                   offset: -5 4;
16410                }
16411                rel2 {
16412                   relative: 1.0 1.0;
16413                   offset: -5 -5;
16414                }
16415             }
16416          }
16417          part { name: "elm.text";
16418             clip_to: "disclip";
16419             type: TEXT;
16420             effect: SOFT_SHADOW;
16421             mouse_events: 0;
16422             scale: 1;
16423             description {
16424                state: "default" 0.0;
16425 //               min: 16 16;
16426                rel1 {
16427                   to_x: "elm.swallow.icon";
16428                   relative: 1.0  0.0;
16429                   offset: 0 4;
16430                }
16431                rel2 {
16432                   to_x: "elm.swallow.end";
16433                   relative: 0.0  1.0;
16434                   offset: -1 -5;
16435                }
16436                color: 0 0 0 255;
16437                color3: 0 0 0 0;
16438                text {
16439                   font: "Sans";
16440                   size: 10;
16441                   min: 1 1;
16442 //                  min: 0 1;
16443                   align: -1.0 0.5;
16444                   text_class: "list_item";
16445                }
16446             }
16447             description { state: "selected" 0.0;
16448                inherit: "default" 0.0;
16449                color: 224 224 224 255;
16450                color3: 0 0 0 64;
16451             }
16452          }
16453          part { name: "fg1";
16454             clip_to: "disclip";
16455             mouse_events: 0;
16456             description { state: "default" 0.0;
16457                visible: 0;
16458                color: 255 255 255 0;
16459                rel1.to: "bg";
16460                rel2.relative: 1.0 0.5;
16461                rel2.to: "bg";
16462                image {
16463                   normal: "bt_sm_hilight.png";
16464                   border: 6 6 6 0;
16465                }
16466             }
16467             description { state: "selected" 0.0;
16468                inherit: "default" 0.0;
16469                visible: 1;
16470                color: 255 255 255 255;
16471             }
16472          }
16473          part { name: "fg2";
16474             clip_to: "disclip";
16475             mouse_events: 0;
16476             description { state: "default" 0.0;
16477                visible: 0;
16478                color: 255 255 255 0;
16479                rel1.to: "bg";
16480                rel2.to: "bg";
16481                image {
16482                   normal: "bt_sm_shine.png";
16483                   border: 6 6 6 0;
16484                }
16485             }
16486             description { state: "selected" 0.0;
16487                inherit: "default" 0.0;
16488                visible: 1;
16489                color: 255 255 255 255;
16490             }
16491          }
16492          part { name: "disclip";
16493             type: RECT;
16494             description { state: "default" 0.0;
16495                rel1.to: "bg";
16496                rel2.to: "bg";
16497             }
16498             description { state: "disabled" 0.0;
16499                inherit: "default" 0.0;
16500                color: 255 255 255 64;
16501             }
16502          }
16503       }
16504       programs {
16505          // signal: elm,state,%s,active
16506          //   a "check" item named %s went active
16507          // signal: elm,state,%s,passive
16508          //   a "check" item named %s went passive
16509          // default is passive
16510          program {
16511             name:    "go_active";
16512             signal:  "elm,state,selected";
16513             source:  "elm";
16514             action:  STATE_SET "selected" 0.0;
16515             target:  "bg";
16516             target:  "fg1";
16517             target:  "fg2";
16518             target:  "elm.text";
16519          }
16520          program {
16521             name:    "go_passive";
16522             signal:  "elm,state,unselected";
16523             source:  "elm";
16524             action:  STATE_SET "default" 0.0;
16525             target:  "bg";
16526             target:  "fg1";
16527             target:  "fg2";
16528             target:  "elm.text";
16529             transition: LINEAR 0.1;
16530          }
16531          program {
16532             name:    "go_disabled";
16533             signal:  "elm,state,disabled";
16534             source:  "elm";
16535             action:  STATE_SET "disabled" 0.0;
16536             target:  "disclip";
16537          }
16538          program {
16539             name:    "go_enabled";
16540             signal:  "elm,state,enabled";
16541             source:  "elm";
16542             action:  STATE_SET "default" 0.0;
16543             target:  "disclip";
16544          }
16545       }
16546    }
16547    group { name: "elm/genlist/item_compress/message/default";
16548       data.item: "selectraise" "on";
16549       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16550 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16551       data.item: "treesize" "20";
16552 //      data.item: "states" "";
16553       images {
16554          image: "bt_sm_base1.png" COMP;
16555          image: "bt_sm_shine.png" COMP;
16556          image: "bt_sm_hilight.png" COMP;
16557          image: "ilist_1.png" COMP;
16558          image: "ilist_2.png" COMP;
16559          image: "ilist_item_shadow.png" COMP;
16560       }
16561       styles {
16562         style { name: "genlist_textblock_style";
16563           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16564           tag:  "br" "\n";
16565           tag:  "ps" "ps";
16566           tag:  "tab" "\t";
16567         }
16568         style { name: "genlist_textblock_style2";
16569           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16570           tag:  "br" "\n";
16571           tag:  "ps" "ps";
16572           tag:  "tab" "\t";
16573         }
16574       }
16575      parts {
16576          part {
16577             name:           "event";
16578             type:           RECT;
16579             repeat_events: 1;
16580             description {
16581                state: "default" 0.0;
16582                color: 0 0 0 0;
16583             }
16584          }
16585          part {
16586             name: "base_sh";
16587             mouse_events: 0;
16588             description {
16589                state: "default" 0.0;
16590                align: 0.0 0.0;
16591                min: 0 10;
16592                fixed: 1 1;
16593                rel1 {
16594                   to: "base";
16595                   relative: 0.0 1.0;
16596                   offset: 0 0;
16597                }
16598                rel2 {
16599                   to: "base";
16600                   relative: 1.0 1.0;
16601                   offset: -1 0;
16602                }
16603                image {
16604                   normal: "ilist_item_shadow.png";
16605                }
16606                fill.smooth: 0;
16607             }
16608             description {
16609                state: "default" 1.0;
16610                inherit: "default" 0.0;
16611                visible: 0;
16612             }
16613          }
16614          part {
16615             name: "base";
16616             mouse_events: 0;
16617             description {
16618                state: "default" 0.0;
16619                image {
16620                   normal: "ilist_1.png";
16621                   border: 2 2 2 2;
16622                }
16623                fill.smooth: 0;
16624             }
16625             description {
16626                state: "default" 1.0;
16627                inherit: "default" 0.0;
16628                image.normal: "ilist_2.png";
16629             }
16630          }
16631          part { name: "bg";
16632             clip_to: "disclip";
16633             mouse_events: 0;
16634             description { state: "default" 0.0;
16635                visible: 0;
16636                color: 255 255 255 0;
16637                rel1 {
16638                   relative: 0.0 0.0;
16639                   offset: -5 -5;
16640                }
16641                rel2 {
16642                   relative: 1.0 1.0;
16643                   offset: 4 4;
16644                }
16645                image {
16646                   normal: "bt_sm_base1.png";
16647                   border: 6 6 6 6;
16648                }
16649                image.middle: SOLID;
16650             }
16651             description { state: "selected" 0.0;
16652                inherit: "default" 0.0;
16653                visible: 1;
16654                color: 255 255 255 255;
16655                rel1 {
16656                   relative: 0.0 0.0;
16657                   offset: -2 -2;
16658                }
16659                rel2 {
16660                   relative: 1.0 1.0;
16661                   offset: 1 1;
16662                }
16663             }
16664          }
16665          part { name: "elm.title.1";
16666             clip_to: "disclip";
16667             type:           TEXT;
16668             effect:         SOFT_SHADOW;
16669             mouse_events:   0;
16670             scale: 1;
16671             description {
16672                state: "default" 0.0;
16673                fixed: 0 1;
16674 //               min: 16 16;
16675                rel1 {
16676                   relative: 0.0  0.0;
16677                   offset:   4 4;
16678                }
16679                rel2 {
16680                   relative: 1.0  0.0;
16681                   offset:   -5 4;
16682                }
16683                color: 0 0 0 255;
16684                color3: 0 0 0 0;
16685                align: 0.0 0.0;
16686                text {
16687                   font: "Sans";
16688                   size: 10;
16689                   min: 0 1;
16690 //                  min: 1 1;
16691                   align: 0.0 0.0;
16692                   text_class: "list_item";
16693                }
16694             }
16695             description { state: "selected" 0.0;
16696                inherit: "default" 0.0;
16697                color: 224 224 224 255;
16698                color3: 0 0 0 64;
16699             }
16700          }
16701          part { name: "elm.title.2";
16702             clip_to: "disclip";
16703             type:           TEXT;
16704             effect:         SOFT_SHADOW;
16705             mouse_events:   0;
16706             scale: 1;
16707             description {
16708                state: "default" 0.0;
16709                fixed: 0 1;
16710 //               min: 16 16;
16711                rel1 {
16712                   to_y:     "elm.title.1";
16713                   relative: 0.0  1.0;
16714                   offset:   4 0;
16715                }
16716                rel2 {
16717                   to_y:     "elm.title.1";
16718                   relative: 1.0  1.0;
16719                   offset:   -5 0;
16720                }
16721                color: 0 0 0 255;
16722                color3: 0 0 0 0;
16723                align: 0.0 0.0;
16724                text {
16725                   font: "Sans";
16726                   size: 10;
16727                   min: 0 1;
16728 //                  min: 1 1;
16729                   align: 0.0 0.0;
16730                   text_class: "list_item";
16731                }
16732             }
16733             description { state: "selected" 0.0;
16734                inherit: "default" 0.0;
16735                color: 224 224 224 255;
16736                color3: 0 0 0 64;
16737             }
16738          }
16739          part { name: "elm.text";
16740             clip_to: "disclip";
16741             type:           TEXTBLOCK;
16742             mouse_events:   0;
16743             scale: 1;
16744             description {
16745                state: "default" 0.0;
16746 //               fixed: 0 1;
16747 //               min: 16 16;
16748                rel1 {
16749                   to_y:     "elm.title.2";
16750                   relative: 0.0  1.0;
16751                   offset:   4 0;
16752                }
16753                rel2 {
16754                   relative: 1.0  1.0;
16755                   offset:   -5 -5;
16756                }
16757                align: 0.0 0.0;
16758                text {
16759                   style: "genlist_textblock_style";
16760                   min: 0 1;
16761 //                  min: 1 1;
16762                   align: 0.0 0.0;
16763                }
16764             }
16765             description { state: "selected" 0.0;
16766                inherit: "default" 0.0;
16767                text {
16768                   style: "genlist_textblock_style2";
16769                }
16770             }
16771          }
16772          part { name: "fg1";
16773             clip_to: "disclip";
16774             mouse_events: 0;
16775             description { state: "default" 0.0;
16776                visible: 0;
16777                color: 255 255 255 0;
16778                rel1.to: "bg";
16779                rel2.relative: 1.0 0.5;
16780                rel2.to: "bg";
16781                image {
16782                   normal: "bt_sm_hilight.png";
16783                   border: 6 6 6 0;
16784                }
16785             }
16786             description { state: "selected" 0.0;
16787                inherit: "default" 0.0;
16788                visible: 1;
16789                color: 255 255 255 255;
16790             }
16791          }
16792          part { name: "fg2";
16793             clip_to: "disclip";
16794             mouse_events: 0;
16795             description { state: "default" 0.0;
16796                visible: 0;
16797                color: 255 255 255 0;
16798                rel1.to: "bg";
16799                rel2.to: "bg";
16800                image {
16801                   normal: "bt_sm_shine.png";
16802                   border: 6 6 6 0;
16803                }
16804             }
16805             description { state: "selected" 0.0;
16806                inherit: "default" 0.0;
16807                visible: 1;
16808                color: 255 255 255 255;
16809             }
16810          }
16811          part { name: "disclip";
16812             type: RECT;
16813             description { state: "default" 0.0;
16814                rel1.to: "bg";
16815                rel2.to: "bg";
16816             }
16817             description { state: "disabled" 0.0;
16818                inherit: "default" 0.0;
16819                color: 255 255 255 64;
16820             }
16821          }
16822       }
16823       programs {
16824          // signal: elm,state,%s,active
16825          //   a "check" item named %s went active
16826          // signal: elm,state,%s,passive
16827          //   a "check" item named %s went passive
16828          // default is passive
16829          program {
16830             name:    "odd";
16831             signal:  "elm,state,odd";
16832             source:  "elm";
16833             action:  STATE_SET "default" 1.0;
16834             target:  "base_sh";
16835             target:  "base";
16836          }
16837          program {
16838             name:    "even";
16839             signal:  "elm,state,even";
16840             source:  "elm";
16841             action:  STATE_SET "default" 0.0;
16842             target:  "base_sh";
16843             target:  "base";
16844          }
16845          program {
16846             name:    "go_active";
16847             signal:  "elm,state,selected";
16848             source:  "elm";
16849             action:  STATE_SET "selected" 0.0;
16850             target:  "bg";
16851             target:  "fg1";
16852             target:  "fg2";
16853             target:  "elm.title.1";
16854             target:  "elm.title.2";
16855             target:  "elm.text";
16856          }
16857          program {
16858             name:    "go_passive";
16859             signal:  "elm,state,unselected";
16860             source:  "elm";
16861             action:  STATE_SET "default" 0.0;
16862             target:  "bg";
16863             target:  "fg1";
16864             target:  "fg2";
16865             target:  "elm.title.1";
16866             target:  "elm.title.2";
16867             target:  "elm.text";
16868             transition: LINEAR 0.1;
16869          }
16870          program {
16871             name:    "go_disabled";
16872             signal:  "elm,state,disabled";
16873             source:  "elm";
16874             action:  STATE_SET "disabled" 0.0;
16875             target:  "disclip";
16876          }
16877          program {
16878             name:    "go_enabled";
16879             signal:  "elm,state,enabled";
16880             source:  "elm";
16881             action:  STATE_SET "default" 0.0;
16882             target:  "disclip";
16883          }
16884       }
16885    }
16886
16887    group { name: "elm/genlist/item_compress/default/default";
16888       data.item: "selectraise" "on";
16889       data.item: "labels" "elm.text";
16890       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16891       data.item: "treesize" "20";
16892 //      data.item: "states" "";
16893       images {
16894          image: "bt_sm_base1.png" COMP;
16895          image: "bt_sm_shine.png" COMP;
16896          image: "bt_sm_hilight.png" COMP;
16897          image: "ilist_1.png" COMP;
16898          image: "ilist_2.png" COMP;
16899          image: "ilist_item_shadow.png" COMP;
16900       }
16901       parts {
16902          part {
16903             name:           "event";
16904             type:           RECT;
16905             repeat_events: 1;
16906             description {
16907                state: "default" 0.0;
16908                color: 0 0 0 0;
16909             }
16910          }
16911          part {
16912             name: "base_sh";
16913             mouse_events: 0;
16914             description {
16915                state: "default" 0.0;
16916                align: 0.0 0.0;
16917                min: 0 10;
16918                fixed: 1 1;
16919                rel1 {
16920                   to: "base";
16921                   relative: 0.0 1.0;
16922                   offset: 0 0;
16923                }
16924                rel2 {
16925                   to: "base";
16926                   relative: 1.0 1.0;
16927                   offset: -1 0;
16928                }
16929                image {
16930                   normal: "ilist_item_shadow.png";
16931                }
16932                fill.smooth: 0;
16933             }
16934             description {
16935                state: "default" 1.0;
16936                inherit: "default" 0.0;
16937                visible: 0;
16938             }
16939          }
16940          part {
16941             name: "base";
16942             mouse_events: 0;
16943             description {
16944                state: "default" 0.0;
16945                image {
16946                   normal: "ilist_1.png";
16947                   border: 2 2 2 2;
16948                }
16949                fill.smooth: 0;
16950             }
16951             description {
16952                state: "default" 1.0;
16953                inherit: "default" 0.0;
16954                image.normal: "ilist_2.png";
16955             }
16956          }
16957          part { name: "bg";
16958             clip_to: "disclip";
16959             mouse_events: 0;
16960             description { state: "default" 0.0;
16961                visible: 0;
16962                color: 255 255 255 0;
16963                rel1 {
16964                   relative: 0.0 0.0;
16965                   offset: -5 -5;
16966                }
16967                rel2 {
16968                   relative: 1.0 1.0;
16969                   offset: 4 4;
16970                }
16971                image {
16972                   normal: "bt_sm_base1.png";
16973                   border: 6 6 6 6;
16974                }
16975                image.middle: SOLID;
16976             }
16977             description { state: "selected" 0.0;
16978                inherit: "default" 0.0;
16979                visible: 1;
16980                color: 255 255 255 255;
16981                rel1 {
16982                   relative: 0.0 0.0;
16983                   offset: -2 -2;
16984                }
16985                rel2 {
16986                   relative: 1.0 1.0;
16987                   offset: 1 1;
16988                }
16989             }
16990          }
16991          part { name: "elm.swallow.pad";
16992             type: SWALLOW;
16993             description { state: "default" 0.0;
16994                fixed: 1 0;
16995                align: 0.0 0.5;
16996                rel1 {
16997                   relative: 0.0  0.0;
16998                   offset:   4    4;
16999                }
17000                rel2 {
17001                   relative: 0.0  1.0;
17002                   offset:   4   -5;
17003                }
17004             }
17005          }
17006          part { name: "elm.swallow.icon";
17007             clip_to: "disclip";
17008             type: SWALLOW;
17009             description { state: "default" 0.0;
17010                fixed: 1 0;
17011                align: 0.0 0.5;
17012                rel1 {
17013                   to_x: "elm.swallow.pad";
17014                   relative: 1.0  0.0;
17015                   offset:   -1    4;
17016                }
17017                rel2 {
17018                   to_x: "elm.swallow.pad";
17019                   relative: 1.0  1.0;
17020                   offset:   -1   -5;
17021                }
17022             }
17023          }
17024          part { name: "elm.swallow.end";
17025             clip_to: "disclip";
17026             type: SWALLOW;
17027             description { state: "default" 0.0;
17028                fixed: 1 0;
17029                align: 1.0 0.5;
17030                aspect: 1.0 1.0;
17031                aspect_preference: VERTICAL;
17032                rel1 {
17033                   relative: 1.0  0.0;
17034                   offset:   -5    4;
17035                }
17036                rel2 {
17037                   relative: 1.0  1.0;
17038                   offset:   -5   -5;
17039                }
17040             }
17041          }
17042          part { name: "elm.text";
17043             clip_to: "disclip";
17044             type:           TEXT;
17045             effect:         SOFT_SHADOW;
17046             mouse_events:   0;
17047             scale: 1;
17048             description {
17049                state: "default" 0.0;
17050 //               min: 16 16;
17051                rel1 {
17052                   to_x:     "elm.swallow.icon";
17053                   relative: 1.0  0.0;
17054                   offset:   0 4;
17055                }
17056                rel2 {
17057                   to_x:     "elm.swallow.end";
17058                   relative: 0.0  1.0;
17059                   offset:   -1 -5;
17060                }
17061                color: 0 0 0 255;
17062                color3: 0 0 0 0;
17063                text {
17064                   font: "Sans";
17065                   size: 10;
17066                   min: 0 1;
17067 //                  min: 1 1;
17068                   align: 0.0 0.5;
17069                   text_class: "list_item";
17070                }
17071             }
17072             description { state: "selected" 0.0;
17073                inherit: "default" 0.0;
17074                color: 224 224 224 255;
17075                color3: 0 0 0 64;
17076             }
17077          }
17078          part { name: "fg1";
17079             clip_to: "disclip";
17080             mouse_events: 0;
17081             description { state: "default" 0.0;
17082                visible: 0;
17083                color: 255 255 255 0;
17084                rel1.to: "bg";
17085                rel2.relative: 1.0 0.5;
17086                rel2.to: "bg";
17087                image {
17088                   normal: "bt_sm_hilight.png";
17089                   border: 6 6 6 0;
17090                }
17091             }
17092             description { state: "selected" 0.0;
17093                inherit: "default" 0.0;
17094                visible: 1;
17095                color: 255 255 255 255;
17096             }
17097          }
17098          part { name: "fg2";
17099             clip_to: "disclip";
17100             mouse_events: 0;
17101             description { state: "default" 0.0;
17102                visible: 0;
17103                color: 255 255 255 0;
17104                rel1.to: "bg";
17105                rel2.to: "bg";
17106                image {
17107                   normal: "bt_sm_shine.png";
17108                   border: 6 6 6 0;
17109                }
17110             }
17111             description { state: "selected" 0.0;
17112                inherit: "default" 0.0;
17113                visible: 1;
17114                color: 255 255 255 255;
17115             }
17116          }
17117          part { name: "disclip";
17118             type: RECT;
17119             description { state: "default" 0.0;
17120                rel1.to: "bg";
17121                rel2.to: "bg";
17122             }
17123             description { state: "disabled" 0.0;
17124                inherit: "default" 0.0;
17125                color: 255 255 255 64;
17126             }
17127          }
17128       }
17129       programs {
17130          // signal: elm,state,%s,active
17131          //   a "check" item named %s went active
17132          // signal: elm,state,%s,passive
17133          //   a "check" item named %s went passive
17134          // default is passive
17135          program {
17136             name:    "odd";
17137             signal:  "elm,state,odd";
17138             source:  "elm";
17139             action:  STATE_SET "default" 1.0;
17140             target:  "base_sh";
17141             target:  "base";
17142          }
17143          program {
17144             name:    "even";
17145             signal:  "elm,state,even";
17146             source:  "elm";
17147             action:  STATE_SET "default" 0.0;
17148             target:  "base_sh";
17149             target:  "base";
17150          }
17151          program {
17152             name:    "go_active";
17153             signal:  "elm,state,selected";
17154             source:  "elm";
17155             action:  STATE_SET "selected" 0.0;
17156             target:  "bg";
17157             target:  "fg1";
17158             target:  "fg2";
17159             target:  "elm.text";
17160          }
17161          program {
17162             name:    "go_passive";
17163             signal:  "elm,state,unselected";
17164             source:  "elm";
17165             action:  STATE_SET "default" 0.0;
17166             target:  "bg";
17167             target:  "fg1";
17168             target:  "fg2";
17169             target:  "elm.text";
17170             transition: LINEAR 0.1;
17171          }
17172          program {
17173             name:    "go_disabled";
17174             signal:  "elm,state,disabled";
17175             source:  "elm";
17176             action:  STATE_SET "disabled" 0.0;
17177             target:  "disclip";
17178          }
17179          program {
17180             name:    "go_enabled";
17181             signal:  "elm,state,enabled";
17182             source:  "elm";
17183             action:  STATE_SET "default" 0.0;
17184             target:  "disclip";
17185          }
17186       }
17187    }
17188
17189    group { name: "elm/genlist/tree/default/default";
17190       data.item: "selectraise" "on";
17191       data.item: "labels" "elm.text";
17192       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17193       data.item: "treesize" "20";
17194 //      data.item: "states" "";
17195       images {
17196          image: "bt_sm_base1.png" COMP;
17197          image: "bt_sm_shine.png" COMP;
17198          image: "bt_sm_hilight.png" COMP;
17199          image: "ilist_1.png" COMP;
17200          image: "ilist_2.png" COMP;
17201          image: "ilist_item_shadow.png" COMP;
17202          image: "icon_arrow_left.png" COMP;
17203          image: "icon_arrow_right.png" COMP;
17204          image: "icon_arrow_down.png" COMP;
17205       }
17206       parts {
17207          part {
17208             name:           "event";
17209             type:           RECT;
17210             repeat_events: 1;
17211             description {
17212                state: "default" 0.0;
17213                color: 0 0 0 0;
17214             }
17215          }
17216          part {
17217             name: "base_sh";
17218             mouse_events: 0;
17219             description {
17220                state: "default" 0.0;
17221                align: 0.0 0.0;
17222                min: 0 10;
17223                fixed: 1 1;
17224                rel1 {
17225                   to: "base";
17226                   relative: 0.0 1.0;
17227                   offset: 0 0;
17228                }
17229                rel2 {
17230                   to: "base";
17231                   relative: 1.0 1.0;
17232                   offset: -1 0;
17233                }
17234                image {
17235                   normal: "ilist_item_shadow.png";
17236                }
17237                fill.smooth: 0;
17238             }
17239             description {
17240                state: "default" 1.0;
17241                inherit: "default" 0.0;
17242                visible: 0;
17243             }
17244          }
17245          part {
17246             name: "base";
17247             mouse_events: 0;
17248             description {
17249                state: "default" 0.0;
17250                image {
17251                   normal: "ilist_1.png";
17252                   border: 2 2 2 2;
17253                }
17254                fill.smooth: 0;
17255             }
17256             description {
17257                state: "default" 1.0;
17258                inherit: "default" 0.0;
17259                image.normal: "ilist_2.png";
17260             }
17261          }
17262          part { name: "bg";
17263             clip_to: "disclip";
17264             mouse_events: 0;
17265             description { state: "default" 0.0;
17266                visible: 0;
17267                color: 255 255 255 0;
17268                rel1 {
17269                   relative: 0.0 0.0;
17270                   offset: -5 -5;
17271                }
17272                rel2 {
17273                   relative: 1.0 1.0;
17274                   offset: 4 4;
17275                }
17276                image {
17277                   normal: "bt_sm_base1.png";
17278                   border: 6 6 6 6;
17279                }
17280                image.middle: SOLID;
17281             }
17282             description { state: "selected" 0.0;
17283                inherit: "default" 0.0;
17284                visible: 1;
17285                color: 255 255 255 255;
17286                rel1 {
17287                   relative: 0.0 0.0;
17288                   offset: -2 -2;
17289                }
17290                rel2 {
17291                   relative: 1.0 1.0;
17292                   offset: 1 1;
17293                }
17294             }
17295          }
17296          part { name: "elm.swallow.pad";
17297             type: SWALLOW;
17298             description { state: "default" 0.0;
17299                fixed: 1 0;
17300                align: 0.0 0.5;
17301                rel1 {
17302                   relative: 0.0  0.0;
17303                   offset:   4    4;
17304                }
17305                rel2 {
17306                   relative: 0.0  1.0;
17307                   offset:   4   -5;
17308                }
17309             }
17310          }
17311          part { name: "arrow";
17312             clip_to: "disclip";
17313             ignore_flags: ON_HOLD;
17314             description { state: "default" 0.0;
17315                fixed: 1 0;
17316                align: 0.0 0.5;
17317                aspect: 1.0 1.0;
17318                rel1 {
17319                   to_x: "elm.swallow.pad";
17320                   relative: 1.0  0.0;
17321                   offset:   -1    4;
17322                }
17323                rel2 {
17324                   to_x: "elm.swallow.pad";
17325                   relative: 1.0  1.0;
17326                   offset:   -1   -5;
17327                }
17328                image.normal: "icon_arrow_right.png";
17329             }
17330             description { state: "default" 0.1;
17331                inherit: "default" 0.0;
17332                image.normal: "icon_arrow_left.png";
17333             }
17334             description { state: "active" 0.0;
17335                inherit: "default" 0.0;
17336                image.normal: "icon_arrow_down.png";
17337             }
17338             description { state: "active" 0.1;
17339                inherit: "default" 0.0;
17340                image.normal: "icon_arrow_down.png";
17341             }
17342          }
17343          part { name: "elm.swallow.icon";
17344             clip_to: "disclip";
17345             type: SWALLOW;
17346             description { state: "default" 0.0;
17347                fixed: 1 0;
17348                align: 0.0 0.5;
17349                rel1 {
17350                   to_x: "arrow";
17351                   relative: 1.0  0.0;
17352                   offset:   4    4;
17353                }
17354                rel2 {
17355                   to_x: "arrow";
17356                   relative: 1.0  1.0;
17357                   offset:   4   -5;
17358                }
17359             }
17360          }
17361          part { name: "elm.swallow.end";
17362             clip_to: "disclip";
17363             type: SWALLOW;
17364             description { state: "default" 0.0;
17365                fixed: 1 0;
17366                align: 1.0 0.5;
17367                aspect: 1.0 1.0;
17368                aspect_preference: VERTICAL;
17369                rel1 {
17370                   relative: 1.0  0.0;
17371                   offset:   -5    4;
17372                }
17373                rel2 {
17374                   relative: 1.0  1.0;
17375                   offset:   -5   -5;
17376                }
17377             }
17378          }
17379          part { name: "elm.text";
17380             clip_to: "disclip";
17381             type:           TEXT;
17382             effect:         SOFT_SHADOW;
17383             mouse_events:   0;
17384             scale: 1;
17385             description {
17386                state: "default" 0.0;
17387 //               min: 16 16;
17388                rel1 {
17389                   to_x:     "elm.swallow.icon";
17390                   relative: 1.0  0.0;
17391                   offset:   0 4;
17392                }
17393                rel2 {
17394                   to_x:     "elm.swallow.end";
17395                   relative: 0.0  1.0;
17396                   offset:   -1 -5;
17397                }
17398                color: 0 0 0 255;
17399                color3: 0 0 0 0;
17400                text {
17401                   font: "Sans";
17402                   size: 10;
17403                   min: 1 1;
17404 //                  min: 0 1;
17405                   align: -1.0 0.5;
17406                   text_class: "list_item";
17407                }
17408             }
17409             description { state: "selected" 0.0;
17410                inherit: "default" 0.0;
17411                color: 224 224 224 255;
17412                color3: 0 0 0 64;
17413             }
17414          }
17415          part { name: "fg1";
17416             clip_to: "disclip";
17417             mouse_events: 0;
17418             description { state: "default" 0.0;
17419                visible: 0;
17420                color: 255 255 255 0;
17421                rel1.to: "bg";
17422                rel2.relative: 1.0 0.5;
17423                rel2.to: "bg";
17424                image {
17425                   normal: "bt_sm_hilight.png";
17426                   border: 6 6 6 0;
17427                }
17428             }
17429             description { state: "selected" 0.0;
17430                inherit: "default" 0.0;
17431                visible: 1;
17432                color: 255 255 255 255;
17433             }
17434          }
17435          part { name: "fg2";
17436             clip_to: "disclip";
17437             mouse_events: 0;
17438             description { state: "default" 0.0;
17439                visible: 0;
17440                color: 255 255 255 0;
17441                rel1.to: "bg";
17442                rel2.to: "bg";
17443                image {
17444                   normal: "bt_sm_shine.png";
17445                   border: 6 6 6 0;
17446                }
17447             }
17448             description { state: "selected" 0.0;
17449                inherit: "default" 0.0;
17450                visible: 1;
17451                color: 255 255 255 255;
17452             }
17453          }
17454          part { name: "disclip";
17455             type: RECT;
17456             description { state: "default" 0.0;
17457                rel1.to: "bg";
17458                rel2.to: "bg";
17459             }
17460             description { state: "disabled" 0.0;
17461                inherit: "default" 0.0;
17462                color: 255 255 255 64;
17463             }
17464          }
17465       }
17466       programs {
17467          // signal: elm,state,%s,active
17468          //   a "check" item named %s went active
17469          // signal: elm,state,%s,passive
17470          //   a "check" item named %s went passive
17471          // default is passive
17472          program {
17473             name:    "odd";
17474             signal:  "elm,state,odd";
17475             source:  "elm";
17476             action:  STATE_SET "default" 1.0;
17477             target:  "base_sh";
17478             target:  "base";
17479          }
17480          program {
17481             name:    "even";
17482             signal:  "elm,state,even";
17483             source:  "elm";
17484             action:  STATE_SET "default" 0.0;
17485             target:  "base_sh";
17486             target:  "base";
17487          }
17488          program {
17489             name:    "go_active";
17490             signal:  "elm,state,selected";
17491             source:  "elm";
17492             action:  STATE_SET "selected" 0.0;
17493             target:  "bg";
17494             target:  "fg1";
17495             target:  "fg2";
17496             target:  "elm.text";
17497          }
17498          program {
17499             name:    "go_passive";
17500             signal:  "elm,state,unselected";
17501             source:  "elm";
17502             action:  STATE_SET "default" 0.0;
17503             target:  "bg";
17504             target:  "fg1";
17505             target:  "fg2";
17506             target:  "elm.text";
17507             transition: LINEAR 0.1;
17508          }
17509          program {
17510             name:    "go_disabled";
17511             signal:  "elm,state,disabled";
17512             source:  "elm";
17513             action:  STATE_SET "disabled" 0.0;
17514             target:  "disclip";
17515          }
17516          program {
17517             name:    "go_enabled";
17518             signal:  "elm,state,enabled";
17519             source:  "elm";
17520             action:  STATE_SET "default" 0.0;
17521             target:  "disclip";
17522          }
17523          program {
17524             name:    "expand";
17525             signal:  "mouse,up,1";
17526             source:  "arrow";
17527             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17528          }
17529          program {
17530             name:    "go_expanded";
17531             signal:  "elm,state,expanded";
17532             source:  "elm";
17533             script {
17534                new st[31];
17535                new Float:vl;
17536                get_state(PART:"arrow", st, 30, vl);
17537                set_state(PART:"arrow", "active", vl);
17538             }
17539          }
17540          program {
17541             name:    "go_contracted";
17542             signal:  "elm,state,contracted";
17543             source:  "elm";
17544             script {
17545                new st[31];
17546                new Float:vl;
17547                get_state(PART:"arrow", st, 30, vl);
17548                set_state(PART:"arrow", "default", vl);
17549             }
17550          }
17551          program { name: "to_rtl";
17552             signal: "edje,state,rtl";
17553             source: "edje";
17554             script {
17555                new st[31];
17556                new Float:vl;
17557                get_state(PART:"arrow", st, 30, vl);
17558                if (vl == 0.0) {
17559                   set_state(PART:"arrow", st, 0.1);
17560                }
17561             }
17562          }
17563          program { name: "to_ltr";
17564             signal: "edje,state,ltr";
17565             source: "edje";
17566             script {
17567                new st[31];
17568                new Float:vl;
17569                get_state(PART:"arrow", st, 30, vl);
17570                if (vl == 0.1) {
17571                   set_state(PART:"arrow", st, 0.0);
17572                }
17573             }
17574          }
17575       }
17576    }
17577    group { name: "elm/genlist/tree_compress/default/default";
17578       data.item: "stacking" "above";
17579       data.item: "selectraise" "on";
17580       data.item: "labels" "elm.text";
17581       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17582       data.item: "treesize" "20";
17583 //      data.item: "states" "";
17584       images {
17585          image: "bt_sm_base1.png" COMP;
17586          image: "bt_sm_shine.png" COMP;
17587          image: "bt_sm_hilight.png" COMP;
17588          image: "ilist_1.png" COMP;
17589          image: "ilist_item_shadow.png" COMP;
17590          image: "icon_arrow_left.png" COMP;
17591          image: "icon_arrow_right.png" COMP;
17592          image: "icon_arrow_down.png" COMP;
17593       }
17594       parts {
17595          part {
17596             name:           "event";
17597             type:           RECT;
17598             repeat_events: 1;
17599             description {
17600                state: "default" 0.0;
17601                color: 0 0 0 0;
17602             }
17603          }
17604          part {
17605             name: "base_sh";
17606             mouse_events: 0;
17607             description {
17608                state: "default" 0.0;
17609                align: 0.0 0.0;
17610                min: 0 10;
17611                fixed: 1 1;
17612                rel1 {
17613                   to: "base";
17614                   relative: 0.0 1.0;
17615                   offset: 0 0;
17616                }
17617                rel2 {
17618                   to: "base";
17619                   relative: 1.0 1.0;
17620                   offset: -1 0;
17621                }
17622                image {
17623                   normal: "ilist_item_shadow.png";
17624                }
17625                fill.smooth: 0;
17626             }
17627             description {
17628                state: "default" 1.0;
17629                inherit: "default" 0.0;
17630                visible: 0;
17631             }
17632          }
17633          part {
17634             name: "base";
17635             mouse_events: 0;
17636             description {
17637                state: "default" 0.0;
17638                image {
17639                   normal: "ilist_1.png";
17640                   border: 2 2 2 2;
17641                }
17642                fill.smooth: 0;
17643             }
17644             description {
17645                state: "default" 1.0;
17646                inherit: "default" 0.0;
17647                image.normal: "ilist_2.png";
17648             }
17649          }
17650          part { name: "bg";
17651             clip_to: "disclip";
17652             mouse_events: 0;
17653             description { state: "default" 0.0;
17654                visible: 0;
17655                color: 255 255 255 0;
17656                rel1 {
17657                   relative: 0.0 0.0;
17658                   offset: -5 -5;
17659                }
17660                rel2 {
17661                   relative: 1.0 1.0;
17662                   offset: 4 4;
17663                }
17664                image {
17665                   normal: "bt_sm_base1.png";
17666                   border: 6 6 6 6;
17667                }
17668                image.middle: SOLID;
17669             }
17670             description { state: "selected" 0.0;
17671                inherit: "default" 0.0;
17672                visible: 1;
17673                color: 255 255 255 255;
17674                rel1 {
17675                   relative: 0.0 0.0;
17676                   offset: -2 -2;
17677                }
17678                rel2 {
17679                   relative: 1.0 1.0;
17680                   offset: 1 1;
17681                }
17682             }
17683          }
17684          part { name: "elm.swallow.pad";
17685             type: SWALLOW;
17686             description { state: "default" 0.0;
17687                fixed: 1 0;
17688                align: 0.0 0.5;
17689                rel1 {
17690                   relative: 0.0  0.0;
17691                   offset:   4    4;
17692                }
17693                rel2 {
17694                   relative: 0.0  1.0;
17695                   offset:   4   -5;
17696                }
17697             }
17698          }
17699          part { name: "arrow";
17700             clip_to: "disclip";
17701             ignore_flags: ON_HOLD;
17702             description { state: "default" 0.0;
17703                fixed: 1 0;
17704                align: 0.0 0.5;
17705                aspect: 1.0 1.0;
17706                rel1 {
17707                   to_x: "elm.swallow.pad";
17708                   relative: 1.0  0.0;
17709                   offset:   -1    4;
17710                }
17711                rel2 {
17712                   to_x: "elm.swallow.pad";
17713                   relative: 1.0  1.0;
17714                   offset:   -1   -5;
17715                }
17716                image.normal: "icon_arrow_right.png";
17717             }
17718             description { state: "default" 0.1;
17719                inherit: "default" 0.0;
17720                image.normal: "icon_arrow_left.png";
17721             }
17722             description { state: "active" 0.0;
17723                inherit: "default" 0.0;
17724                image.normal: "icon_arrow_down.png";
17725             }
17726             description { state: "active" 0.1;
17727                inherit: "default" 0.0;
17728                image.normal: "icon_arrow_down.png";
17729             }
17730          }
17731          part { name: "elm.swallow.icon";
17732             clip_to: "disclip";
17733             type: SWALLOW;
17734             description { state: "default" 0.0;
17735                fixed: 1 0;
17736                align: 0.0 0.5;
17737                rel1 {
17738                   to_x: "arrow";
17739                   relative: 1.0  0.0;
17740                   offset:   4    4;
17741                }
17742                rel2 {
17743                   to_x: "arrow";
17744                   relative: 1.0  1.0;
17745                   offset:   4   -5;
17746                }
17747             }
17748          }
17749          part { name: "elm.swallow.end";
17750             clip_to: "disclip";
17751             type: SWALLOW;
17752             description { state: "default" 0.0;
17753                fixed: 1 0;
17754                align: 1.0 0.5;
17755                aspect: 1.0 1.0;
17756                aspect_preference: VERTICAL;
17757                rel1 {
17758                   relative: 1.0  0.0;
17759                   offset:   -5    4;
17760                }
17761                rel2 {
17762                   relative: 1.0  1.0;
17763                   offset:   -5   -5;
17764                }
17765             }
17766          }
17767          part { name: "elm.text";
17768             clip_to: "disclip";
17769             type:           TEXT;
17770             effect:         SOFT_SHADOW;
17771             mouse_events:   0;
17772             scale: 1;
17773             description {
17774                state: "default" 0.0;
17775 //               min: 16 16;
17776                rel1 {
17777                   to_x:     "elm.swallow.icon";
17778                   relative: 1.0  0.0;
17779                   offset:   0 4;
17780                }
17781                rel2 {
17782                   to_x:     "elm.swallow.end";
17783                   relative: 0.0  1.0;
17784                   offset:   -1 -5;
17785                }
17786                color: 0 0 0 255;
17787                color3: 0 0 0 0;
17788                text {
17789                   font: "Sans";
17790                   size: 10;
17791 //                  min: 1 1;
17792                   min: 0 1;
17793                   align: 0.0 0.5;
17794                   text_class: "list_item";
17795                }
17796             }
17797             description { state: "selected" 0.0;
17798                inherit: "default" 0.0;
17799                color: 224 224 224 255;
17800                color3: 0 0 0 64;
17801             }
17802          }
17803          part { name: "fg1";
17804             clip_to: "disclip";
17805             mouse_events: 0;
17806             description { state: "default" 0.0;
17807                visible: 0;
17808                color: 255 255 255 0;
17809                rel1.to: "bg";
17810                rel2.relative: 1.0 0.5;
17811                rel2.to: "bg";
17812                image {
17813                   normal: "bt_sm_hilight.png";
17814                   border: 6 6 6 0;
17815                }
17816             }
17817             description { state: "selected" 0.0;
17818                inherit: "default" 0.0;
17819                visible: 1;
17820                color: 255 255 255 255;
17821             }
17822          }
17823          part { name: "fg2";
17824             clip_to: "disclip";
17825             mouse_events: 0;
17826             description { state: "default" 0.0;
17827                visible: 0;
17828                color: 255 255 255 0;
17829                rel1.to: "bg";
17830                rel2.to: "bg";
17831                image {
17832                   normal: "bt_sm_shine.png";
17833                   border: 6 6 6 0;
17834                }
17835             }
17836             description { state: "selected" 0.0;
17837                inherit: "default" 0.0;
17838                visible: 1;
17839                color: 255 255 255 255;
17840             }
17841          }
17842          part { name: "disclip";
17843             type: RECT;
17844             description { state: "default" 0.0;
17845                rel1.to: "bg";
17846                rel2.to: "bg";
17847             }
17848             description { state: "disabled" 0.0;
17849                inherit: "default" 0.0;
17850                color: 255 255 255 64;
17851             }
17852          }
17853       }
17854       programs {
17855          // signal: elm,state,%s,active
17856          //   a "check" item named %s went active
17857          // signal: elm,state,%s,passive
17858          //   a "check" item named %s went passive
17859          // default is passive
17860          program {
17861             name:    "odd";
17862             signal:  "elm,state,odd";
17863             source:  "elm";
17864             action:  STATE_SET "default" 1.0;
17865             target:  "base_sh";
17866             target:  "base";
17867          }
17868          program {
17869             name:    "even";
17870             signal:  "elm,state,even";
17871             source:  "elm";
17872             action:  STATE_SET "default" 0.0;
17873             target:  "base_sh";
17874             target:  "base";
17875          }
17876          program {
17877             name:    "go_active";
17878             signal:  "elm,state,selected";
17879             source:  "elm";
17880             action:  STATE_SET "selected" 0.0;
17881             target:  "bg";
17882             target:  "fg1";
17883             target:  "fg2";
17884             target:  "elm.text";
17885          }
17886          program {
17887             name:    "go_passive";
17888             signal:  "elm,state,unselected";
17889             source:  "elm";
17890             action:  STATE_SET "default" 0.0;
17891             target:  "bg";
17892             target:  "fg1";
17893             target:  "fg2";
17894             target:  "elm.text";
17895             transition: LINEAR 0.1;
17896          }
17897          program {
17898             name:    "go_disabled";
17899             signal:  "elm,state,disabled";
17900             source:  "elm";
17901             action:  STATE_SET "disabled" 0.0;
17902             target:  "disclip";
17903          }
17904          program {
17905             name:    "go_enabled";
17906             signal:  "elm,state,enabled";
17907             source:  "elm";
17908             action:  STATE_SET "default" 0.0;
17909             target:  "disclip";
17910          }
17911          program {
17912             name:    "expand";
17913             signal:  "mouse,up,1";
17914             source:  "arrow";
17915             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17916          }
17917          program {
17918             name:    "go_expanded";
17919             signal:  "elm,state,expanded";
17920             source:  "elm";
17921             script {
17922                new st[31];
17923                new Float:vl;
17924                get_state(PART:"arrow", st, 30, vl);
17925                set_state(PART:"arrow", "active", vl);
17926             }
17927          }
17928          program {
17929             name:    "go_contracted";
17930             signal:  "elm,state,contracted";
17931             source:  "elm";
17932             script {
17933                new st[31];
17934                new Float:vl;
17935                get_state(PART:"arrow", st, 30, vl);
17936                set_state(PART:"arrow", "default", vl);
17937             }
17938          }
17939          program { name: "to_rtl";
17940             signal: "edje,state,rtl";
17941             source: "edje";
17942             script {
17943                new st[31];
17944                new Float:vl;
17945                get_state(PART:"arrow", st, 30, vl);
17946                if (vl == 0.0) {
17947                   set_state(PART:"arrow", st, 0.1);
17948                }
17949             }
17950          }
17951          program { name: "to_ltr";
17952             signal: "edje,state,ltr";
17953             source: "edje";
17954             script {
17955                new st[31];
17956                new Float:vl;
17957                get_state(PART:"arrow", st, 30, vl);
17958                if (vl == 0.1) {
17959                   set_state(PART:"arrow", st, 0.0);
17960                }
17961             }
17962          }
17963       }
17964    }
17965    group { name: "elm/genlist/item/default_style/default";
17966        styles
17967        {
17968            style { name: "genlist_style";
17969                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
17970                tag:  "br" "\n";
17971                tag:  "ps" "ps";
17972                tag:  "hilight" "+ font=Sans:style=Bold";
17973                tag:  "b" "+ font=Sans:style=Bold";
17974                tag:  "tab" "\t";
17975            }
17976            style { name: "genlist_selected_style";
17977                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
17978                tag:  "br" "\n";
17979                tag:  "ps" "ps";
17980                tag:  "hilight" "+ font=Sans:style=Bold";
17981                tag:  "b" "+ font=Sans:style=Bold";
17982                tag:  "tab" "\t";
17983            }
17984        }
17985        data.item: "stacking" "above";
17986        data.item: "selectraise" "on";
17987        data.item: "labels" "elm.text";
17988        data.item: "icons" "elm.swallow.icon elm.swallow.end";
17989        data.item: "treesize" "20";
17990        images {
17991            image: "bt_sm_base1.png" COMP;
17992            image: "bt_sm_shine.png" COMP;
17993            image: "bt_sm_hilight.png" COMP;
17994            image: "ilist_1.png" COMP;
17995            image: "ilist_item_shadow.png" COMP;
17996        }
17997        parts {
17998            part {
17999                name:           "event";
18000                type:           RECT;
18001                repeat_events: 1;
18002                description {
18003                    state: "default" 0.0;
18004                    color: 0 0 0 0;
18005                }
18006            }
18007            part {
18008                name: "base_sh";
18009                mouse_events: 0;
18010                description {
18011                    state: "default" 0.0;
18012                    align: 0.0 0.0;
18013                    min: 0 10;
18014                    fixed: 1 1;
18015                    rel1 {
18016                        to: "base";
18017                        relative: 0.0 1.0;
18018                        offset: 0 0;
18019                    }
18020                    rel2 {
18021                        to: "base";
18022                        relative: 1.0 1.0;
18023                        offset: -1 0;
18024                    }
18025                    image {
18026                        normal: "ilist_item_shadow.png";
18027                    }
18028                    fill.smooth: 0;
18029                }
18030            }
18031            part {
18032                name: "base";
18033                mouse_events: 0;
18034                description {
18035                    state: "default" 0.0;
18036                    min: 16 28;
18037                    image {
18038                        normal: "ilist_1.png";
18039                        border: 2 2 2 2;
18040                    }
18041                    fill.smooth: 0;
18042                }
18043            }
18044            part { name: "bg";
18045                clip_to: "disclip";
18046                mouse_events: 0;
18047                description { state: "default" 0.0;
18048                    visible: 0;
18049                    color: 255 255 255 0;
18050                    rel1 {
18051                        relative: 0.0 0.0;
18052                        offset: -5 -5;
18053                    }
18054                    rel2 {
18055                        relative: 1.0 1.0;
18056                        offset: 4 4;
18057                    }
18058                    image {
18059                        normal: "bt_sm_base1.png";
18060                        border: 6 6 6 6;
18061                    }
18062                    image.middle: SOLID;
18063                }
18064                description { state: "selected" 0.0;
18065                    inherit: "default" 0.0;
18066                    visible: 1;
18067                    color: 255 255 255 255;
18068                    rel1 {
18069                        relative: 0.0 0.0;
18070                        offset: -2 -2;
18071                    }
18072                    rel2 {
18073                        relative: 1.0 1.0;
18074                        offset: 1 1;
18075                    }
18076                }
18077            }
18078            part { name: "elm.swallow.pad";
18079                type: SWALLOW;
18080                description { state: "default" 0.0;
18081                    fixed: 1 0;
18082                    align: 0.0 0.5;
18083                    rel1 {
18084                        relative: 0.0  0.0;
18085                        offset:   4    4;
18086                    }
18087                    rel2 {
18088                        relative: 0.0  1.0;
18089                        offset:   4   -5;
18090                    }
18091                }
18092            }
18093            part { name: "elm.swallow.icon";
18094                clip_to: "disclip";
18095                type: SWALLOW;
18096                description { state: "default" 0.0;
18097                    fixed: 1 0;
18098                    align: 0.0 0.5;
18099                    rel1 {
18100                        to_x: "elm.swallow.pad";
18101                        relative: 1.0  0.0;
18102                        offset:   -1    4;
18103                    }
18104                    rel2 {
18105                        to_x: "elm.swallow.pad";
18106                        relative: 1.0  1.0;
18107                        offset:   -1   -5;
18108                    }
18109                }
18110            }
18111            part { name: "elm.swallow.end";
18112                clip_to: "disclip";
18113                type: SWALLOW;
18114                description { state: "default" 0.0;
18115                    fixed: 1 0;
18116                    align: 1.0 0.5;
18117                    aspect: 1.0 1.0;
18118                    aspect_preference: VERTICAL;
18119                    rel1 {
18120                        relative: 1.0  0.0;
18121                        offset:   -5    4;
18122                    }
18123                    rel2 {
18124                        relative: 1.0  1.0;
18125                        offset:   -5   -5;
18126                    }
18127                }
18128            }
18129            part { name: "elm.text";
18130                clip_to: "disclip";
18131                type: TEXTBLOCK;
18132                mouse_events: 0;
18133                scale: 1;
18134                description {
18135                    state: "default" 0.0;
18136                    align: 0.0 0.5;
18137                    fixed: 0 1;
18138                    rel1 {
18139                        to_x: "elm.swallow.icon";
18140                        to_y: "base";
18141                        relative: 1.0  0.5;
18142                        offset:   0 4;
18143                    }
18144                    rel2 {
18145                        to_x: "elm.swallow.end";
18146                        to_y: "base";
18147                        relative: 0.0  0.5;
18148                        offset:   -1 -5;
18149                    }
18150                    text {
18151                        style: "genlist_style";
18152                        min: 1 1;
18153                    }
18154                }
18155                description { state: "selected" 0.0;
18156                    inherit: "default" 0.0;
18157                    text {
18158                        style: "genlist_selected_style";
18159                    }
18160                }
18161            }
18162            part { name: "fg1";
18163                clip_to: "disclip";
18164                mouse_events: 0;
18165                description { state: "default" 0.0;
18166                    visible: 0;
18167                    color: 255 255 255 0;
18168                    rel1.to: "bg";
18169                    rel2.relative: 1.0 0.5;
18170                    rel2.to: "bg";
18171                    image {
18172                        normal: "bt_sm_hilight.png";
18173                        border: 6 6 6 0;
18174                    }
18175                }
18176                description { state: "selected" 0.0;
18177                    inherit: "default" 0.0;
18178                    visible: 1;
18179                    color: 255 255 255 255;
18180                }
18181            }
18182            part { name: "fg2";
18183                clip_to: "disclip";
18184                mouse_events: 0;
18185                description { state: "default" 0.0;
18186                    visible: 0;
18187                    color: 255 255 255 0;
18188                    rel1.to: "bg";
18189                    rel2.to: "bg";
18190                    image {
18191                        normal: "bt_sm_shine.png";
18192                        border: 6 6 6 0;
18193                    }
18194                }
18195                description { state: "selected" 0.0;
18196                    inherit: "default" 0.0;
18197                    visible: 1;
18198                    color: 255 255 255 255;
18199                }
18200            }
18201            part { name: "disclip";
18202                type: RECT;
18203                description { state: "default" 0.0;
18204                    rel1.to: "bg";
18205                    rel2.to: "bg";
18206                }
18207                description { state: "disabled" 0.0;
18208                    inherit: "default" 0.0;
18209                    color: 255 255 255 64;
18210                }
18211            }
18212        }
18213        programs {
18214            // signal: elm,state,%s,active
18215            //   a "check" item named %s went active
18216            // signal: elm,state,%s,passive
18217            //   a "check" item named %s went passive
18218            // default is passive
18219            program {
18220                name:    "go_active";
18221                signal:  "elm,state,selected";
18222                source:  "elm";
18223                action:  STATE_SET "selected" 0.0;
18224                target:  "bg";
18225                target:  "fg1";
18226                target:  "fg2";
18227                target:  "elm.text";
18228            }
18229            program {
18230                name:    "go_passive";
18231                signal:  "elm,state,unselected";
18232                source:  "elm";
18233                action:  STATE_SET "default" 0.0;
18234                target:  "bg";
18235                target:  "fg1";
18236                target:  "fg2";
18237                target:  "elm.text";
18238                transition: LINEAR 0.1;
18239            }
18240            program {
18241                name:    "go_disabled";
18242                signal:  "elm,state,disabled";
18243                source:  "elm";
18244                action:  STATE_SET "disabled" 0.0;
18245                target:  "disclip";
18246            }
18247            program {
18248                name:    "go_enabled";
18249                signal:  "elm,state,enabled";
18250                source:  "elm";
18251                action:  STATE_SET "default" 0.0;
18252                target:  "disclip";
18253            }
18254        }
18255    }
18256    group { name: "elm/genlist/item_odd/default_style/default";
18257        data.item: "stacking" "below";
18258        data.item: "selectraise" "on";
18259        data.item: "labels" "elm.text";
18260        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18261        data.item: "treesize" "20";
18262        images {
18263            image: "bt_sm_base1.png" COMP;
18264            image: "bt_sm_shine.png" COMP;
18265            image: "bt_sm_hilight.png" COMP;
18266            image: "ilist_2.png" COMP;
18267        }
18268        parts {
18269            part { name: "event";
18270                type: RECT;
18271                repeat_events: 1;
18272                description {
18273                    state: "default" 0.0;
18274                    color: 0 0 0 0;
18275                }
18276            }
18277            part {
18278                name: "base";
18279                mouse_events: 0;
18280                description {
18281                    state: "default" 0.0;
18282                    min: 16 28;
18283                    image {
18284                        normal: "ilist_2.png";
18285                        border: 2 2 2 2;
18286                    }
18287                    fill.smooth: 0;
18288                }
18289            }
18290            part { name: "bg";
18291                clip_to: "disclip";
18292                mouse_events: 0;
18293                description { state: "default" 0.0;
18294                    visible: 0;
18295                    color: 255 255 255 0;
18296                    rel1 {
18297                        relative: 0.0 0.0;
18298                        offset: -5 -5;
18299                    }
18300                    rel2 {
18301                        relative: 1.0 1.0;
18302                        offset: 4 4;
18303                    }
18304                    image {
18305                        normal: "bt_sm_base1.png";
18306                        border: 6 6 6 6;
18307                    }
18308                    image.middle: SOLID;
18309                }
18310                description { state: "selected" 0.0;
18311                    inherit: "default" 0.0;
18312                    visible: 1;
18313                    color: 255 255 255 255;
18314                    rel1 {
18315                        relative: 0.0 0.0;
18316                        offset: -2 -2;
18317                    }
18318                    rel2 {
18319                        relative: 1.0 1.0;
18320                        offset: 1 1;
18321                    }
18322                }
18323            }
18324            part { name: "elm.swallow.pad";
18325                type: SWALLOW;
18326                description { state: "default" 0.0;
18327                    fixed: 1 0;
18328                    align: 0.0 0.5;
18329                    rel1 {
18330                        relative: 0.0  0.0;
18331                        offset:   4    4;
18332                    }
18333                    rel2 {
18334                        relative: 0.0  1.0;
18335                        offset:   4   -5;
18336                    }
18337                }
18338            }
18339            part { name: "elm.swallow.icon";
18340                clip_to: "disclip";
18341                type: SWALLOW;
18342                description { state: "default" 0.0;
18343                    fixed: 1 0;
18344                    align: 0.0 0.5;
18345                    rel1 {
18346                        to_x: "elm.swallow.pad";
18347                        relative: 1.0  0.0;
18348                        offset:   -1    4;
18349                    }
18350                    rel2 {
18351                        to_x: "elm.swallow.pad";
18352                        relative: 1.0  1.0;
18353                        offset:   -1   -5;
18354                    }
18355                }
18356            }
18357            part { name: "elm.swallow.end";
18358                clip_to: "disclip";
18359                type:          SWALLOW;
18360                description { state:    "default" 0.0;
18361                    fixed: 1 0;
18362                    align:    1.0 0.5;
18363                    aspect: 1.0 1.0;
18364                    aspect_preference: VERTICAL;
18365                    rel1 {
18366                        relative: 1.0  0.0;
18367                        offset:   -5    4;
18368                    }
18369                    rel2 {
18370                        relative: 1.0  1.0;
18371                        offset:   -5   -5;
18372                    }
18373                }
18374            }
18375            part { name: "elm.text";
18376                clip_to: "disclip";
18377                type:           TEXTBLOCK;
18378                mouse_events:   0;
18379                scale: 1;
18380                description {
18381                    state: "default" 0.0;
18382                    align: 0.0 0.5;
18383                    fixed: 0 1;
18384                    rel1 {
18385                        to_x: "elm.swallow.icon";
18386                        to_y: "base";
18387                        relative: 1.0  0.5;
18388                        offset:   0 4;
18389                    }
18390                    rel2 {
18391                        to_x: "elm.swallow.end";
18392                        to_y: "base";
18393                        relative: 0.0  0.5;
18394                        offset:   -1 -5;
18395                    }
18396                    text {
18397                        style: "genlist_style";
18398                        min: 1 1;
18399                    }
18400                }
18401                description { state: "selected" 0.0;
18402                    inherit: "default" 0.0;
18403                    text {
18404                        style: "genlist_selected_style";
18405                    }
18406                }
18407            }
18408            part { name: "fg1";
18409                clip_to: "disclip";
18410                mouse_events: 0;
18411                description { state: "default" 0.0;
18412                    visible: 0;
18413                    color: 255 255 255 0;
18414                    rel1.to: "bg";
18415                    rel2.relative: 1.0 0.5;
18416                    rel2.to: "bg";
18417                    image {
18418                        normal: "bt_sm_hilight.png";
18419                        border: 6 6 6 0;
18420                    }
18421                }
18422                description { state: "selected" 0.0;
18423                    inherit: "default" 0.0;
18424                    visible: 1;
18425                    color: 255 255 255 255;
18426                }
18427            }
18428            part { name: "fg2";
18429                clip_to: "disclip";
18430                mouse_events: 0;
18431                description { state: "default" 0.0;
18432                    visible: 0;
18433                    color: 255 255 255 0;
18434                    rel1.to: "bg";
18435                    rel2.to: "bg";
18436                    image {
18437                        normal: "bt_sm_shine.png";
18438                        border: 6 6 6 0;
18439                    }
18440                }
18441                description { state: "selected" 0.0;
18442                    inherit: "default" 0.0;
18443                    visible: 1;
18444                    color: 255 255 255 255;
18445                }
18446            }
18447            part { name: "disclip";
18448                type: RECT;
18449                description { state: "default" 0.0;
18450                    rel1.to: "bg";
18451                    rel2.to: "bg";
18452                }
18453                description { state: "disabled" 0.0;
18454                    inherit: "default" 0.0;
18455                    color: 255 255 255 64;
18456                }
18457            }
18458        }
18459        programs {
18460            // signal: elm,state,%s,active
18461            //   a "check" item named %s went active
18462            // signal: elm,state,%s,passive
18463            //   a "check" item named %s went passive
18464            // default is passive
18465            program {
18466                name:    "go_active";
18467                signal:  "elm,state,selected";
18468                source:  "elm";
18469                action:  STATE_SET "selected" 0.0;
18470                target:  "bg";
18471                target:  "fg1";
18472                target:  "fg2";
18473                target:  "elm.text";
18474            }
18475            program {
18476                name:    "go_passive";
18477                signal:  "elm,state,unselected";
18478                source:  "elm";
18479                action:  STATE_SET "default" 0.0;
18480                target:  "bg";
18481                target:  "fg1";
18482                target:  "fg2";
18483                target:  "elm.text";
18484                transition: LINEAR 0.1;
18485            }
18486            program {
18487                name:    "go_disabled";
18488                signal:  "elm,state,disabled";
18489                source:  "elm";
18490                action:  STATE_SET "disabled" 0.0;
18491                target:  "disclip";
18492            }
18493            program {
18494                name:    "go_enabled";
18495                signal:  "elm,state,enabled";
18496                source:  "elm";
18497                action:  STATE_SET "default" 0.0;
18498                target:  "disclip";
18499            }
18500        }
18501    }
18502
18503    group { name: "elm/genlist/tree/default_style/default";
18504        data.item: "stacking" "above";
18505        data.item: "selectraise" "on";
18506        data.item: "labels" "elm.text";
18507        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18508        data.item: "treesize" "20";
18509        images {
18510            image: "bt_sm_base1.png" COMP;
18511            image: "bt_sm_shine.png" COMP;
18512            image: "bt_sm_hilight.png" COMP;
18513            image: "ilist_1.png" COMP;
18514            image: "ilist_item_shadow.png" COMP;
18515            image: "icon_arrow_right.png" COMP;
18516            image: "icon_arrow_down.png" COMP;
18517        }
18518        parts {
18519            part {
18520                name:           "event";
18521                type:           RECT;
18522                repeat_events: 1;
18523                description {
18524                    state: "default" 0.0;
18525                    color: 0 0 0 0;
18526                }
18527            }
18528            part {
18529                name: "base_sh";
18530                mouse_events: 0;
18531                description {
18532                    state: "default" 0.0;
18533                    align: 0.0 0.0;
18534                    min: 0 10;
18535                    fixed: 1 1;
18536                    rel1 {
18537                        to: "base";
18538                        relative: 0.0 1.0;
18539                        offset: 0 0;
18540                    }
18541                    rel2 {
18542                        to: "base";
18543                        relative: 1.0 1.0;
18544                        offset: -1 0;
18545                    }
18546                    image {
18547                        normal: "ilist_item_shadow.png";
18548                    }
18549                    fill.smooth: 0;
18550                }
18551            }
18552            part {
18553                name: "base";
18554                mouse_events: 0;
18555                description {
18556                    state: "default" 0.0;
18557                    min: 16 28;
18558                    image {
18559                        normal: "ilist_1.png";
18560                        border: 2 2 2 2;
18561                    }
18562                    fill.smooth: 0;
18563                }
18564            }
18565            part { name: "bg";
18566                clip_to: "disclip";
18567                mouse_events: 0;
18568                description { state: "default" 0.0;
18569                    visible: 0;
18570                    color: 255 255 255 0;
18571                    rel1 {
18572                        relative: 0.0 0.0;
18573                        offset: -5 -5;
18574                    }
18575                    rel2 {
18576                        relative: 1.0 1.0;
18577                        offset: 4 4;
18578                    }
18579                    image {
18580                        normal: "bt_sm_base1.png";
18581                        border: 6 6 6 6;
18582                    }
18583                    image.middle: SOLID;
18584                }
18585                description { state: "selected" 0.0;
18586                    inherit: "default" 0.0;
18587                    visible: 1;
18588                    color: 255 255 255 255;
18589                    rel1 {
18590                        relative: 0.0 0.0;
18591                        offset: -2 -2;
18592                    }
18593                    rel2 {
18594                        relative: 1.0 1.0;
18595                        offset: 1 1;
18596                    }
18597                }
18598            }
18599            part { name: "elm.swallow.pad";
18600                type: SWALLOW;
18601                description { state: "default" 0.0;
18602                    fixed: 1 0;
18603                    align: 0.0 0.5;
18604                    rel1 {
18605                        relative: 0.0  0.0;
18606                        offset:   4    4;
18607                    }
18608                    rel2 {
18609                        relative: 0.0  1.0;
18610                        offset:   4   -5;
18611                    }
18612                }
18613            }
18614            part { name: "arrow";
18615                clip_to: "disclip";
18616                ignore_flags: ON_HOLD;
18617                description { state: "default" 0.0;
18618                    fixed: 1 0;
18619                    align: 0.0 0.5;
18620                    aspect: 1.0 1.0;
18621                    rel1 {
18622                        to_x: "elm.swallow.pad";
18623                        relative: 1.0  0.0;
18624                        offset:   -1    4;
18625                    }
18626                    rel2 {
18627                        to_x: "elm.swallow.pad";
18628                        relative: 1.0  1.0;
18629                        offset:   -1   -5;
18630                    }
18631                    image.normal: "icon_arrow_right.png";
18632                }
18633                description { state: "active" 0.0;
18634                    inherit: "default" 0.0;
18635                    image.normal: "icon_arrow_down.png";
18636                }
18637            }
18638            part { name: "elm.swallow.icon";
18639                clip_to: "disclip";
18640                type: SWALLOW;
18641                description { state: "default" 0.0;
18642                    fixed: 1 0;
18643                    align: 0.0 0.5;
18644                    rel1 {
18645                        to_x: "arrow";
18646                        relative: 1.0  0.0;
18647                        offset:   4    4;
18648                    }
18649                    rel2 {
18650                        to_x: "arrow";
18651                        relative: 1.0  1.0;
18652                        offset:   4   -5;
18653                    }
18654                }
18655            }
18656            part { name: "elm.swallow.end";
18657                clip_to: "disclip";
18658                type: SWALLOW;
18659                description { state: "default" 0.0;
18660                    fixed: 1 0;
18661                    align: 1.0 0.5;
18662                    aspect: 1.0 1.0;
18663                    aspect_preference: VERTICAL;
18664                    rel1 {
18665                        relative: 1.0  0.0;
18666                        offset:   -5    4;
18667                    }
18668                    rel2 {
18669                        relative: 1.0  1.0;
18670                        offset:   -5   -5;
18671                    }
18672                }
18673            }
18674            part { name: "elm.text";
18675                clip_to: "disclip";
18676                type:           TEXTBLOCK;
18677                effect:         SOFT_SHADOW;
18678                mouse_events:   0;
18679                scale: 1;
18680                description {
18681                    state: "default" 0.0;
18682                    align: 0.0 0.5;
18683                    fixed: 0 1;
18684                    rel1 {
18685                        to_x:     "elm.swallow.icon";
18686                        to_y: "base";
18687                        relative: 1.0  0.5;
18688                        offset:   0 4;
18689                    }
18690                    rel2 {
18691                        to_x:     "elm.swallow.end";
18692                        to_y: "base";
18693                        relative: 0.0  0.5;
18694                        offset:   -1 -5;
18695                    }
18696                    text {
18697                        style: "genlist_style";
18698                        min: 1 1;
18699                    }
18700                }
18701                description { state: "selected" 0.0;
18702                    inherit: "default" 0.0;
18703                    text {
18704                        style: "genlist_selected_style";
18705                    }
18706                }
18707            }
18708            part { name: "fg1";
18709                clip_to: "disclip";
18710                mouse_events: 0;
18711                description { state: "default" 0.0;
18712                    visible: 0;
18713                    color: 255 255 255 0;
18714                    rel1.to: "bg";
18715                    rel2.relative: 1.0 0.5;
18716                    rel2.to: "bg";
18717                    image {
18718                        normal: "bt_sm_hilight.png";
18719                        border: 6 6 6 0;
18720                    }
18721                }
18722                description { state: "selected" 0.0;
18723                    inherit: "default" 0.0;
18724                    visible: 1;
18725                    color: 255 255 255 255;
18726                }
18727            }
18728            part { name: "fg2";
18729                clip_to: "disclip";
18730                mouse_events: 0;
18731                description { state: "default" 0.0;
18732                    visible: 0;
18733                    color: 255 255 255 0;
18734                    rel1.to: "bg";
18735                    rel2.to: "bg";
18736                    image {
18737                        normal: "bt_sm_shine.png";
18738                        border: 6 6 6 0;
18739                    }
18740                }
18741                description { state: "selected" 0.0;
18742                    inherit: "default" 0.0;
18743                    visible: 1;
18744                    color: 255 255 255 255;
18745                }
18746            }
18747            part { name: "disclip";
18748                type: RECT;
18749                description { state: "default" 0.0;
18750                    rel1.to: "bg";
18751                    rel2.to: "bg";
18752                }
18753                description { state: "disabled" 0.0;
18754                    inherit: "default" 0.0;
18755                    color: 255 255 255 64;
18756                }
18757            }
18758        }
18759        programs {
18760            // signal: elm,state,%s,active
18761            //   a "check" item named %s went active
18762            // signal: elm,state,%s,passive
18763            //   a "check" item named %s went passive
18764            // default is passive
18765            program {
18766                name:    "go_active";
18767                signal:  "elm,state,selected";
18768                source:  "elm";
18769                action:  STATE_SET "selected" 0.0;
18770                target:  "bg";
18771                target:  "fg1";
18772                target:  "fg2";
18773                target:  "elm.text";
18774            }
18775            program {
18776                name:    "go_passive";
18777                signal:  "elm,state,unselected";
18778                source:  "elm";
18779                action:  STATE_SET "default" 0.0;
18780                target:  "bg";
18781                target:  "fg1";
18782                target:  "fg2";
18783                target:  "elm.text";
18784                transition: LINEAR 0.1;
18785            }
18786            program {
18787                name:    "go_disabled";
18788                signal:  "elm,state,disabled";
18789                source:  "elm";
18790                action:  STATE_SET "disabled" 0.0;
18791                target:  "disclip";
18792            }
18793            program {
18794                name:    "go_enabled";
18795                signal:  "elm,state,enabled";
18796                source:  "elm";
18797                action:  STATE_SET "default" 0.0;
18798                target:  "disclip";
18799            }
18800            program {
18801                name:    "expand";
18802                signal:  "mouse,up,1";
18803                source:  "arrow";
18804                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18805            }
18806            program {
18807                name:    "go_expanded";
18808                signal:  "elm,state,expanded";
18809                source:  "elm";
18810                action:  STATE_SET "active" 0.0;
18811                target:  "arrow";
18812            }
18813            program {
18814                name:    "go_contracted";
18815                signal:  "elm,state,contracted";
18816                source:  "elm";
18817                action:  STATE_SET "default" 0.0;
18818                target:  "arrow";
18819            }
18820        }
18821    }
18822    group { name: "elm/genlist/tree_odd/default_style/default";
18823        data.item: "stacking" "below";
18824        data.item: "selectraise" "on";
18825        data.item: "labels" "elm.text";
18826        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18827        data.item: "treesize" "20";
18828        images {
18829            image: "bt_sm_base1.png" COMP;
18830            image: "bt_sm_shine.png" COMP;
18831            image: "bt_sm_hilight.png" COMP;
18832            image: "ilist_2.png" COMP;
18833            image: "icon_arrow_right.png" COMP;
18834            image: "icon_arrow_down.png" COMP;
18835        }
18836        parts {
18837            part {
18838                name:           "event";
18839                type:           RECT;
18840                repeat_events: 1;
18841                description {
18842                    state: "default" 0.0;
18843                    color: 0 0 0 0;
18844                }
18845            }
18846            part {
18847                name: "base";
18848                mouse_events: 0;
18849                description {
18850                    state: "default" 0.0;
18851                    min: 16 28;
18852                    image {
18853                        normal: "ilist_2.png";
18854                        border: 2 2 2 2;
18855                    }
18856                    fill.smooth: 0;
18857                }
18858            }
18859            part { name: "bg";
18860                clip_to: "disclip";
18861                mouse_events: 0;
18862                description { state: "default" 0.0;
18863                    visible: 0;
18864                    color: 255 255 255 0;
18865                    rel1 {
18866                        relative: 0.0 0.0;
18867                        offset: -5 -5;
18868                    }
18869                    rel2 {
18870                        relative: 1.0 1.0;
18871                        offset: 4 4;
18872                    }
18873                    image {
18874                        normal: "bt_sm_base1.png";
18875                        border: 6 6 6 6;
18876                    }
18877                    image.middle: SOLID;
18878                }
18879                description { state: "selected" 0.0;
18880                    inherit: "default" 0.0;
18881                    visible: 1;
18882                    color: 255 255 255 255;
18883                    rel1 {
18884                        relative: 0.0 0.0;
18885                        offset: -2 -2;
18886                    }
18887                    rel2 {
18888                        relative: 1.0 1.0;
18889                        offset: 1 1;
18890                    }
18891                }
18892            }
18893            part { name: "elm.swallow.pad";
18894                type: SWALLOW;
18895                description { state: "default" 0.0;
18896                    fixed: 1 0;
18897                    align: 0.0 0.5;
18898                    rel1 {
18899                        relative: 0.0  0.0;
18900                        offset:   4    4;
18901                    }
18902                    rel2 {
18903                        relative: 0.0  1.0;
18904                        offset:   4   -5;
18905                    }
18906                }
18907            }
18908            part { name: "arrow";
18909                clip_to: "disclip";
18910                ignore_flags: ON_HOLD;
18911                description { state: "default" 0.0;
18912                    fixed: 1 0;
18913                    align: 0.0 0.5;
18914                    aspect: 1.0 1.0;
18915                    rel1 {
18916                        to_x: "elm.swallow.pad";
18917                        relative: 1.0  0.0;
18918                        offset:   -1    4;
18919                    }
18920                    rel2 {
18921                        to_x: "elm.swallow.pad";
18922                        relative: 1.0  1.0;
18923                        offset:   -1   -5;
18924                    }
18925                    image.normal: "icon_arrow_right.png";
18926                }
18927                description { state: "active" 0.0;
18928                    inherit: "default" 0.0;
18929                    image.normal: "icon_arrow_down.png";
18930                }
18931            }
18932            part { name: "elm.swallow.icon";
18933                clip_to: "disclip";
18934                type: SWALLOW;
18935                description { state: "default" 0.0;
18936                    fixed: 1 0;
18937                    align: 0.0 0.5;
18938                    rel1 {
18939                        to_x: "arrow";
18940                        relative: 1.0  0.0;
18941                        offset:   4    4;
18942                    }
18943                    rel2 {
18944                        to_x: "arrow";
18945                        relative: 1.0  1.0;
18946                        offset:   4   -5;
18947                    }
18948                }
18949            }
18950            part { name: "elm.swallow.end";
18951                clip_to: "disclip";
18952                type: SWALLOW;
18953                description { state: "default" 0.0;
18954                    fixed: 1 0;
18955                    align: 1.0 0.5;
18956                    aspect: 1.0 1.0;
18957                    aspect_preference: VERTICAL;
18958                    rel1 {
18959                        relative: 1.0  0.0;
18960                        offset:   -5    4;
18961                    }
18962                    rel2 {
18963                        relative: 1.0  1.0;
18964                        offset:   -5   -5;
18965                    }
18966                }
18967            }
18968            part { name: "elm.text";
18969                clip_to: "disclip";
18970                type:           TEXTBLOCK;
18971                effect:         SOFT_SHADOW;
18972                mouse_events:   0;
18973                scale: 1;
18974                description {
18975                    state: "default" 0.0;
18976                    align: 0.0 0.5;
18977                    fixed: 0 1;
18978                    rel1 {
18979                        to_x:     "elm.swallow.icon";
18980                        to_y: "base";
18981                        relative: 1.0  0.5;
18982                        offset:   0 4;
18983                    }
18984                    rel2 {
18985                        to_x:     "elm.swallow.end";
18986                        to_y: "base";
18987                        relative: 0.0  0.5;
18988                        offset:   -1 -5;
18989                    }
18990                    text {
18991                        style: "genlist_style";
18992                        min: 1 1;
18993                    }
18994                }
18995                description { state: "selected" 0.0;
18996                    inherit: "default" 0.0;
18997                    text {
18998                        style: "genlist_selected_style";
18999                    }
19000                }
19001            }
19002            part { name: "fg1";
19003                clip_to: "disclip";
19004                mouse_events: 0;
19005                description { state: "default" 0.0;
19006                    visible: 0;
19007                    color: 255 255 255 0;
19008                    rel1.to: "bg";
19009                    rel2.relative: 1.0 0.5;
19010                    rel2.to: "bg";
19011                    image {
19012                        normal: "bt_sm_hilight.png";
19013                        border: 6 6 6 0;
19014                    }
19015                }
19016                description { state: "selected" 0.0;
19017                    inherit: "default" 0.0;
19018                    visible: 1;
19019                    color: 255 255 255 255;
19020                }
19021            }
19022            part { name: "fg2";
19023                clip_to: "disclip";
19024                mouse_events: 0;
19025                description { state: "default" 0.0;
19026                    visible: 0;
19027                    color: 255 255 255 0;
19028                    rel1.to: "bg";
19029                    rel2.to: "bg";
19030                    image {
19031                        normal: "bt_sm_shine.png";
19032                        border: 6 6 6 0;
19033                    }
19034                }
19035                description { state: "selected" 0.0;
19036                    inherit: "default" 0.0;
19037                    visible: 1;
19038                    color: 255 255 255 255;
19039                }
19040            }
19041            part { name: "disclip";
19042                type: RECT;
19043                description { state: "default" 0.0;
19044                    rel1.to: "bg";
19045                    rel2.to: "bg";
19046                }
19047                description { state: "disabled" 0.0;
19048                    inherit: "default" 0.0;
19049                    color: 255 255 255 64;
19050                }
19051            }
19052        }
19053        programs {
19054            // signal: elm,state,%s,active
19055            //   a "check" item named %s went active
19056            // signal: elm,state,%s,passive
19057            //   a "check" item named %s went passive
19058            // default is passive
19059            program {
19060                name:    "go_active";
19061                signal:  "elm,state,selected";
19062                source:  "elm";
19063                action:  STATE_SET "selected" 0.0;
19064                target:  "bg";
19065                target:  "fg1";
19066                target:  "fg2";
19067                target:  "elm.text";
19068            }
19069            program {
19070                name:    "go_passive";
19071                signal:  "elm,state,unselected";
19072                source:  "elm";
19073                action:  STATE_SET "default" 0.0;
19074                target:  "bg";
19075                target:  "fg1";
19076                target:  "fg2";
19077                target:  "elm.text";
19078                transition: LINEAR 0.1;
19079            }
19080            program {
19081                name:    "go_disabled";
19082                signal:  "elm,state,disabled";
19083                source:  "elm";
19084                action:  STATE_SET "disabled" 0.0;
19085                target:  "disclip";
19086            }
19087            program {
19088                name:    "go_enabled";
19089                signal:  "elm,state,enabled";
19090                source:  "elm";
19091                action:  STATE_SET "default" 0.0;
19092                target:  "disclip";
19093            }
19094            program {
19095                name:    "expand";
19096                signal:  "mouse,up,1";
19097                source:  "arrow";
19098                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19099            }
19100            program {
19101                name:    "go_expanded";
19102                signal:  "elm,state,expanded";
19103                source:  "elm";
19104                action:  STATE_SET "active" 0.0;
19105                target:  "arrow";
19106            }
19107            program {
19108                name:    "go_contracted";
19109                signal:  "elm,state,contracted";
19110                source:  "elm";
19111                action:  STATE_SET "default" 0.0;
19112                target:  "arrow";
19113            }
19114        }
19115    }
19116
19117
19118    group { name: "elm/genlist/item/double_label/default";
19119       data.item: "stacking" "above";
19120       data.item: "selectraise" "on";
19121       data.item: "labels" "elm.text elm.text.sub";
19122       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19123       data.item: "treesize" "20";
19124 //      data.item: "states" "";
19125       images {
19126          image: "bt_sm_base1.png" COMP;
19127          image: "bt_sm_shine.png" COMP;
19128          image: "bt_sm_hilight.png" COMP;
19129          image: "ilist_1.png" COMP;
19130          image: "ilist_item_shadow.png" COMP;
19131       }
19132       parts {
19133          part {
19134             name:           "event";
19135             type:           RECT;
19136             repeat_events: 1;
19137             description {
19138                state: "default" 0.0;
19139                color: 0 0 0 0;
19140             }
19141          }
19142          part {
19143             name: "base_sh";
19144             mouse_events: 0;
19145             description {
19146                state: "default" 0.0;
19147                align: 0.0 0.0;
19148                min: 0 10;
19149                fixed: 1 1;
19150                rel1 {
19151                   to: "base";
19152                   relative: 0.0 1.0;
19153                   offset: 0 0;
19154                }
19155                rel2 {
19156                   to: "base";
19157                   relative: 1.0 1.0;
19158                   offset: -1 0;
19159                }
19160                image {
19161                   normal: "ilist_item_shadow.png";
19162                }
19163                fill.smooth: 0;
19164             }
19165          }
19166          part {
19167             name: "base";
19168             mouse_events: 0;
19169             description {
19170                state: "default" 0.0;
19171                image {
19172                   normal: "ilist_1.png";
19173                   border: 2 2 2 2;
19174                }
19175                fill.smooth: 0;
19176             }
19177          }
19178          part { name: "bg";
19179             clip_to: "disclip";
19180             mouse_events: 0;
19181             description { state: "default" 0.0;
19182                visible: 0;
19183                color: 255 255 255 0;
19184                rel1 {
19185                   relative: 0.0 0.0;
19186                   offset: -5 -5;
19187                }
19188                rel2 {
19189                   relative: 1.0 1.0;
19190                   offset: 4 4;
19191                }
19192                image {
19193                   normal: "bt_sm_base1.png";
19194                   border: 6 6 6 6;
19195                }
19196                image.middle: SOLID;
19197             }
19198             description { state: "selected" 0.0;
19199                inherit: "default" 0.0;
19200                visible: 1;
19201                color: 255 255 255 255;
19202                rel1 {
19203                   relative: 0.0 0.0;
19204                   offset: -2 -2;
19205                }
19206                rel2 {
19207                   relative: 1.0 1.0;
19208                   offset: 1 1;
19209                }
19210             }
19211          }
19212          part { name: "elm.swallow.pad";
19213             type: SWALLOW;
19214             description { state: "default" 0.0;
19215                fixed: 1 0;
19216                align: 0.0 0.5;
19217                rel1 {
19218                   relative: 0.0  0.0;
19219                   offset:   4    4;
19220                }
19221                rel2 {
19222                   relative: 0.0  1.0;
19223                   offset:   4   -5;
19224                }
19225             }
19226          }
19227          part { name: "elm.swallow.icon";
19228             clip_to: "disclip";
19229             type: SWALLOW;
19230             description { state: "default" 0.0;
19231                fixed: 1 0;
19232                align: 0.0 0.5;
19233                rel1 {
19234                   to_x: "elm.swallow.pad";
19235                   relative: 1.0  0.0;
19236                   offset:   -1    4;
19237                }
19238                rel2 {
19239                   to_x: "elm.swallow.pad";
19240                   relative: 1.0  1.0;
19241                   offset:   -1   -5;
19242                }
19243             }
19244          }
19245          part { name: "elm.swallow.end";
19246             clip_to: "disclip";
19247             type: SWALLOW;
19248             description { state: "default" 0.0;
19249                fixed: 1 0;
19250                align: 1.0 0.5;
19251                aspect: 1.0 1.0;
19252                aspect_preference: VERTICAL;
19253                rel1 {
19254                   relative: 1.0  0.0;
19255                   offset:   -5    4;
19256                }
19257                rel2 {
19258                   relative: 1.0  1.0;
19259                   offset:   -5   -5;
19260                }
19261             }
19262          }
19263          part { name: "elm.text";
19264             clip_to: "disclip";
19265             type:           TEXT;
19266             effect:         SOFT_SHADOW;
19267             mouse_events:   0;
19268             scale: 1;
19269             description {
19270                state: "default" 0.0;
19271 //               min: 16 16;
19272                rel1 {
19273                   to_x:     "elm.swallow.icon";
19274                   relative: 1.0  0.0;
19275                   offset:   0 4;
19276                }
19277                rel2 {
19278                   to_x:     "elm.swallow.end";
19279                   relative: 0.0  0.5;
19280                   offset:   -1 -5;
19281                }
19282                color: 0 0 0 255;
19283                color3: 0 0 0 0;
19284                text {
19285                   font: "Sans";
19286                   size: 10;
19287                   min: 1 1;
19288 //                  min: 0 1;
19289                   align: 0.0 0.5;
19290                   text_class: "list_item";
19291                }
19292             }
19293             description { state: "selected" 0.0;
19294                inherit: "default" 0.0;
19295                color: 224 224 224 255;
19296                color3: 0 0 0 64;
19297             }
19298          }
19299          part { name: "elm.text.sub";
19300             clip_to: "disclip";
19301             type:           TEXT;
19302             mouse_events:   0;
19303             scale: 1;
19304             description {
19305                state: "default" 0.0;
19306 //               min: 16 16;
19307                rel1 {
19308                   to_x:     "elm.swallow.icon";
19309                   relative: 1.0  0.5;
19310                   offset:   0 4;
19311                }
19312                rel2 {
19313                   to_x:     "elm.swallow.end";
19314                   relative: 0.0  1.0;
19315                   offset:   -1 -5;
19316                }
19317                color: 0 0 0 128;
19318                color3: 0 0 0 0;
19319                text {
19320                   font: "Sans";
19321                   size: 8;
19322                   min: 1 1;
19323 //                  min: 0 1;
19324                   align: 0.0 0.5;
19325                   text_class: "list_item";
19326                }
19327             }
19328             description { state: "selected" 0.0;
19329                inherit: "default" 0.0;
19330                color: 128 128 128 255;
19331                color3: 0 0 0 32;
19332             }
19333          }
19334          part { name: "fg1";
19335             clip_to: "disclip";
19336             mouse_events: 0;
19337             description { state: "default" 0.0;
19338                visible: 0;
19339                color: 255 255 255 0;
19340                rel1.to: "bg";
19341                rel2.relative: 1.0 0.5;
19342                rel2.to: "bg";
19343                image {
19344                   normal: "bt_sm_hilight.png";
19345                   border: 6 6 6 0;
19346                }
19347             }
19348             description { state: "selected" 0.0;
19349                inherit: "default" 0.0;
19350                visible: 1;
19351                color: 255 255 255 255;
19352             }
19353          }
19354          part { name: "fg2";
19355             clip_to: "disclip";
19356             mouse_events: 0;
19357             description { state: "default" 0.0;
19358                visible: 0;
19359                color: 255 255 255 0;
19360                rel1.to: "bg";
19361                rel2.to: "bg";
19362                image {
19363                   normal: "bt_sm_shine.png";
19364                   border: 6 6 6 0;
19365                }
19366             }
19367             description { state: "selected" 0.0;
19368                inherit: "default" 0.0;
19369                visible: 1;
19370                color: 255 255 255 255;
19371             }
19372          }
19373          part { name: "disclip";
19374             type: RECT;
19375             description { state: "default" 0.0;
19376                rel1.to: "bg";
19377                rel2.to: "bg";
19378             }
19379             description { state: "disabled" 0.0;
19380                inherit: "default" 0.0;
19381                color: 255 255 255 64;
19382             }
19383          }
19384       }
19385       programs {
19386          // signal: elm,state,%s,active
19387          //   a "check" item named %s went active
19388          // signal: elm,state,%s,passive
19389          //   a "check" item named %s went passive
19390          // default is passive
19391          program {
19392             name:    "go_active";
19393             signal:  "elm,state,selected";
19394             source:  "elm";
19395             action:  STATE_SET "selected" 0.0;
19396             target:  "bg";
19397             target:  "fg1";
19398             target:  "fg2";
19399             target:  "elm.text";
19400             target:  "elm.text.sub";
19401          }
19402          program {
19403             name:    "go_passive";
19404             signal:  "elm,state,unselected";
19405             source:  "elm";
19406             action:  STATE_SET "default" 0.0;
19407             target:  "bg";
19408             target:  "fg1";
19409             target:  "fg2";
19410             target:  "elm.text";
19411             target:  "elm.text.sub";
19412             transition: LINEAR 0.1;
19413          }
19414          program {
19415             name:    "go_disabled";
19416             signal:  "elm,state,disabled";
19417             source:  "elm";
19418             action:  STATE_SET "disabled" 0.0;
19419             target:  "disclip";
19420          }
19421          program {
19422             name:    "go_enabled";
19423             signal:  "elm,state,enabled";
19424             source:  "elm";
19425             action:  STATE_SET "default" 0.0;
19426             target:  "disclip";
19427          }
19428       }
19429    }
19430    group { name: "elm/genlist/item_compress/double_label/default";
19431       data.item: "stacking" "above";
19432       data.item: "selectraise" "on";
19433       data.item: "labels" "elm.text elm.text.sub";
19434       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19435       data.item: "treesize" "20";
19436 //      data.item: "states" "";
19437       images {
19438          image: "bt_sm_base1.png" COMP;
19439          image: "bt_sm_shine.png" COMP;
19440          image: "bt_sm_hilight.png" COMP;
19441          image: "ilist_1.png" COMP;
19442          image: "ilist_item_shadow.png" COMP;
19443       }
19444       parts {
19445          part {
19446             name:           "event";
19447             type:           RECT;
19448             repeat_events: 1;
19449             description {
19450                state: "default" 0.0;
19451                color: 0 0 0 0;
19452             }
19453          }
19454          part {
19455             name: "base_sh";
19456             mouse_events: 0;
19457             description {
19458                state: "default" 0.0;
19459                align: 0.0 0.0;
19460                min: 0 10;
19461                fixed: 1 1;
19462                rel1 {
19463                   to: "base";
19464                   relative: 0.0 1.0;
19465                   offset: 0 0;
19466                }
19467                rel2 {
19468                   to: "base";
19469                   relative: 1.0 1.0;
19470                   offset: -1 0;
19471                }
19472                image {
19473                   normal: "ilist_item_shadow.png";
19474                }
19475                fill.smooth: 0;
19476             }
19477          }
19478          part {
19479             name: "base";
19480             mouse_events: 0;
19481             description {
19482                state: "default" 0.0;
19483                image {
19484                   normal: "ilist_1.png";
19485                   border: 2 2 2 2;
19486                }
19487                fill.smooth: 0;
19488             }
19489          }
19490          part { name: "bg";
19491             clip_to: "disclip";
19492             mouse_events: 0;
19493             description { state: "default" 0.0;
19494                visible: 0;
19495                color: 255 255 255 0;
19496                rel1 {
19497                   relative: 0.0 0.0;
19498                   offset: -5 -5;
19499                }
19500                rel2 {
19501                   relative: 1.0 1.0;
19502                   offset: 4 4;
19503                }
19504                image {
19505                   normal: "bt_sm_base1.png";
19506                   border: 6 6 6 6;
19507                }
19508                image.middle: SOLID;
19509             }
19510             description { state: "selected" 0.0;
19511                inherit: "default" 0.0;
19512                visible: 1;
19513                color: 255 255 255 255;
19514                rel1 {
19515                   relative: 0.0 0.0;
19516                   offset: -2 -2;
19517                }
19518                rel2 {
19519                   relative: 1.0 1.0;
19520                   offset: 1 1;
19521                }
19522             }
19523          }
19524          part { name: "elm.swallow.pad";
19525             type: SWALLOW;
19526             description { state: "default" 0.0;
19527                fixed: 1 0;
19528                align: 0.0 0.5;
19529                rel1 {
19530                   relative: 0.0  0.0;
19531                   offset:   4    4;
19532                }
19533                rel2 {
19534                   relative: 0.0  1.0;
19535                   offset:   4   -5;
19536                }
19537             }
19538          }
19539          part { name: "elm.swallow.icon";
19540             clip_to: "disclip";
19541             type: SWALLOW;
19542             description { state: "default" 0.0;
19543                fixed: 1 0;
19544                align: 0.0 0.5;
19545                rel1 {
19546                   to_x: "elm.swallow.pad";
19547                   relative: 1.0  0.0;
19548                   offset:   -1    4;
19549                }
19550                rel2 {
19551                   to_x: "elm.swallow.pad";
19552                   relative: 1.0  1.0;
19553                   offset:   -1   -5;
19554                }
19555             }
19556          }
19557          part { name: "elm.swallow.end";
19558             clip_to: "disclip";
19559             type: SWALLOW;
19560             description { state: "default" 0.0;
19561                fixed: 1 0;
19562                align: 1.0 0.5;
19563                aspect: 1.0 1.0;
19564                aspect_preference: VERTICAL;
19565                rel1 {
19566                   relative: 1.0  0.0;
19567                   offset:   -5    4;
19568                }
19569                rel2 {
19570                   relative: 1.0  1.0;
19571                   offset:   -5   -5;
19572                }
19573             }
19574          }
19575          part { name: "elm.text";
19576             clip_to: "disclip";
19577             type:           TEXT;
19578             effect:         SOFT_SHADOW;
19579             mouse_events:   0;
19580             scale: 1;
19581             description {
19582                state: "default" 0.0;
19583 //               min: 16 16;
19584                rel1 {
19585                   to_x:     "elm.swallow.icon";
19586                   relative: 1.0  0.0;
19587                   offset:   0 4;
19588                }
19589                rel2 {
19590                   to_x:     "elm.swallow.end";
19591                   relative: 0.0  0.5;
19592                   offset:   -1 -5;
19593                }
19594                color: 0 0 0 255;
19595                color3: 0 0 0 0;
19596                text {
19597                   font: "Sans";
19598                   size: 10;
19599 //                  min: 1 1;
19600                   min: 0 1;
19601                   align: 0.0 0.5;
19602                   text_class: "list_item";
19603                }
19604             }
19605             description { state: "selected" 0.0;
19606                inherit: "default" 0.0;
19607                color: 224 224 224 255;
19608                color3: 0 0 0 64;
19609             }
19610          }
19611          part { name: "elm.text.sub";
19612             clip_to: "disclip";
19613             type:           TEXT;
19614             mouse_events:   0;
19615             scale: 1;
19616             description {
19617                state: "default" 0.0;
19618 //               min: 16 16;
19619                rel1 {
19620                   to_x:     "elm.swallow.icon";
19621                   relative: 1.0  0.5;
19622                   offset:   0 4;
19623                }
19624                rel2 {
19625                   to_x:     "elm.swallow.end";
19626                   relative: 0.0  1.0;
19627                   offset:   -1 -5;
19628                }
19629                color: 0 0 0 128;
19630                color3: 0 0 0 0;
19631                text {
19632                   font: "Sans";
19633                   size: 8;
19634 //                  min: 1 1;
19635                   min: 0 1;
19636                   align: 0.0 0.5;
19637                   text_class: "list_item";
19638                }
19639             }
19640             description { state: "selected" 0.0;
19641                inherit: "default" 0.0;
19642                color: 128 128 128 255;
19643                color3: 0 0 0 32;
19644             }
19645          }
19646          part { name: "fg1";
19647             clip_to: "disclip";
19648             mouse_events: 0;
19649             description { state: "default" 0.0;
19650                visible: 0;
19651                color: 255 255 255 0;
19652                rel1.to: "bg";
19653                rel2.relative: 1.0 0.5;
19654                rel2.to: "bg";
19655                image {
19656                   normal: "bt_sm_hilight.png";
19657                   border: 6 6 6 0;
19658                }
19659             }
19660             description { state: "selected" 0.0;
19661                inherit: "default" 0.0;
19662                visible: 1;
19663                color: 255 255 255 255;
19664             }
19665          }
19666          part { name: "fg2";
19667             clip_to: "disclip";
19668             mouse_events: 0;
19669             description { state: "default" 0.0;
19670                visible: 0;
19671                color: 255 255 255 0;
19672                rel1.to: "bg";
19673                rel2.to: "bg";
19674                image {
19675                   normal: "bt_sm_shine.png";
19676                   border: 6 6 6 0;
19677                }
19678             }
19679             description { state: "selected" 0.0;
19680                inherit: "default" 0.0;
19681                visible: 1;
19682                color: 255 255 255 255;
19683             }
19684          }
19685          part { name: "disclip";
19686             type: RECT;
19687             description { state: "default" 0.0;
19688                rel1.to: "bg";
19689                rel2.to: "bg";
19690             }
19691             description { state: "disabled" 0.0;
19692                inherit: "default" 0.0;
19693                color: 255 255 255 64;
19694             }
19695          }
19696       }
19697       programs {
19698          // signal: elm,state,%s,active
19699          //   a "check" item named %s went active
19700          // signal: elm,state,%s,passive
19701          //   a "check" item named %s went passive
19702          // default is passive
19703          program {
19704             name:    "go_active";
19705             signal:  "elm,state,selected";
19706             source:  "elm";
19707             action:  STATE_SET "selected" 0.0;
19708             target:  "bg";
19709             target:  "fg1";
19710             target:  "fg2";
19711             target:  "elm.text";
19712             target:  "elm.text.sub";
19713          }
19714          program {
19715             name:    "go_passive";
19716             signal:  "elm,state,unselected";
19717             source:  "elm";
19718             action:  STATE_SET "default" 0.0;
19719             target:  "bg";
19720             target:  "fg1";
19721             target:  "fg2";
19722             target:  "elm.text";
19723             target:  "elm.text.sub";
19724             transition: LINEAR 0.1;
19725          }
19726          program {
19727             name:    "go_disabled";
19728             signal:  "elm,state,disabled";
19729             source:  "elm";
19730             action:  STATE_SET "disabled" 0.0;
19731             target:  "disclip";
19732          }
19733          program {
19734             name:    "go_enabled";
19735             signal:  "elm,state,enabled";
19736             source:  "elm";
19737             action:  STATE_SET "default" 0.0;
19738             target:  "disclip";
19739          }
19740       }
19741    }
19742    group { name: "elm/genlist/item_odd/double_label/default";
19743       data.item: "stacking" "below";
19744       data.item: "selectraise" "on";
19745       data.item: "labels" "elm.text elm.text.sub";
19746       data.item: "icons" "elm.swallow.icon elm.swallow.end";
19747       data.item: "treesize" "20";
19748 //      data.item: "states" "";
19749       images {
19750          image: "bt_sm_base1.png" COMP;
19751          image: "bt_sm_shine.png" COMP;
19752          image: "bt_sm_hilight.png" COMP;
19753          image: "ilist_2.png" COMP;
19754       }
19755       parts {
19756          part { name: "event";
19757             type: RECT;
19758             repeat_events: 1;
19759             description {
19760                state: "default" 0.0;
19761                color: 0 0 0 0;
19762             }
19763          }
19764          part {
19765             name: "base";
19766             mouse_events: 0;
19767             description {
19768                state: "default" 0.0;
19769                image {
19770                   normal: "ilist_2.png";
19771                   border: 2 2 2 2;
19772                }
19773                fill.smooth: 0;
19774             }
19775          }
19776          part { name: "bg";
19777             clip_to: "disclip";
19778             mouse_events: 0;
19779             description { state: "default" 0.0;
19780                visible: 0;
19781                color: 255 255 255 0;
19782                rel1 {
19783                   relative: 0.0 0.0;
19784                   offset: -5 -5;
19785                }
19786                rel2 {
19787                   relative: 1.0 1.0;
19788                   offset: 4 4;
19789                }
19790                image {
19791                   normal: "bt_sm_base1.png";
19792                   border: 6 6 6 6;
19793                }
19794                image.middle: SOLID;
19795             }
19796             description { state: "selected" 0.0;
19797                inherit: "default" 0.0;
19798                visible: 1;
19799                color: 255 255 255 255;
19800                rel1 {
19801                   relative: 0.0 0.0;
19802                   offset: -2 -2;
19803                }
19804                rel2 {
19805                   relative: 1.0 1.0;
19806                   offset: 1 1;
19807                }
19808             }
19809          }
19810          part { name: "elm.swallow.pad";
19811             type: SWALLOW;
19812             description { state: "default" 0.0;
19813                fixed: 1 0;
19814                align: 0.0 0.5;
19815                rel1 {
19816                   relative: 0.0  0.0;
19817                   offset:   4    4;
19818                }
19819                rel2 {
19820                   relative: 0.0  1.0;
19821                   offset:   4   -5;
19822                }
19823             }
19824          }
19825          part { name: "elm.swallow.icon";
19826             clip_to: "disclip";
19827             type: SWALLOW;
19828             description { state: "default" 0.0;
19829                fixed: 1 0;
19830                align: 0.0 0.5;
19831                rel1 {
19832                   to_x: "elm.swallow.pad";
19833                   relative: 1.0  0.0;
19834                   offset:   -1    4;
19835                }
19836                rel2 {
19837                   to_x: "elm.swallow.pad";
19838                   relative: 1.0  1.0;
19839                   offset:   -1   -5;
19840                }
19841             }
19842          }
19843          part { name: "elm.swallow.end";
19844             clip_to: "disclip";
19845             type:          SWALLOW;
19846             description { state:    "default" 0.0;
19847                fixed: 1 0;
19848                align:    1.0 0.5;
19849                aspect: 1.0 1.0;
19850                aspect_preference: VERTICAL;
19851                rel1 {
19852                   relative: 1.0  0.0;
19853                   offset:   -5    4;
19854                }
19855                rel2 {
19856                   relative: 1.0  1.0;
19857                   offset:   -5   -5;
19858                }
19859             }
19860          }
19861          part { name: "elm.text";
19862             clip_to: "disclip";
19863             type:           TEXT;
19864             effect:         SOFT_SHADOW;
19865             mouse_events:   0;
19866             scale: 1;
19867             description {
19868                state: "default" 0.0;
19869 //               min: 16 16;
19870                rel1 {
19871                   to_x:     "elm.swallow.icon";
19872                   relative: 1.0  0.0;
19873                   offset:   0 4;
19874                }
19875                rel2 {
19876                   to_x:     "elm.swallow.end";
19877                   relative: 0.0  0.5;
19878                   offset:   -1 -5;
19879                }
19880                color: 0 0 0 255;
19881                color3: 0 0 0 0;
19882                text {
19883                   font: "Sans";
19884                   size: 10;
19885                   min: 1 1;
19886 //                  min: 0 1;
19887                   align: 0.0 0.5;
19888                   text_class: "list_item";
19889                }
19890             }
19891             description { state: "selected" 0.0;
19892                inherit: "default" 0.0;
19893                color: 224 224 224 255;
19894                color3: 0 0 0 64;
19895             }
19896          }
19897          part { name: "elm.text.sub";
19898             clip_to: "disclip";
19899             type:           TEXT;
19900             mouse_events:   0;
19901             scale: 1;
19902             description {
19903                state: "default" 0.0;
19904 //               min: 16 16;
19905                rel1 {
19906                   to_x:     "elm.swallow.icon";
19907                   relative: 1.0  0.5;
19908                   offset:   0 4;
19909                }
19910                rel2 {
19911                   to_x:     "elm.swallow.end";
19912                   relative: 0.0  1.0;
19913                   offset:   -1 -5;
19914                }
19915                color: 0 0 0 128;
19916                color3: 0 0 0 0;
19917                text {
19918                   font: "Sans";
19919                   size: 8;
19920                   min: 1 1;
19921 //                  min: 0 1;
19922                   align: 0.0 0.5;
19923                   text_class: "list_item";
19924                }
19925             }
19926             description { state: "selected" 0.0;
19927                inherit: "default" 0.0;
19928                color: 128 128 128 255;
19929                color3: 0 0 0 32;
19930             }
19931          }
19932          part { name: "fg1";
19933             clip_to: "disclip";
19934             mouse_events: 0;
19935             description { state: "default" 0.0;
19936                visible: 0;
19937                color: 255 255 255 0;
19938                rel1.to: "bg";
19939                rel2.relative: 1.0 0.5;
19940                rel2.to: "bg";
19941                image {
19942                   normal: "bt_sm_hilight.png";
19943                   border: 6 6 6 0;
19944                }
19945             }
19946             description { state: "selected" 0.0;
19947                inherit: "default" 0.0;
19948                visible: 1;
19949                color: 255 255 255 255;
19950             }
19951          }
19952          part { name: "fg2";
19953             clip_to: "disclip";
19954             mouse_events: 0;
19955             description { state: "default" 0.0;
19956                visible: 0;
19957                color: 255 255 255 0;
19958                rel1.to: "bg";
19959                rel2.to: "bg";
19960                image {
19961                   normal: "bt_sm_shine.png";
19962                   border: 6 6 6 0;
19963                }
19964             }
19965             description { state: "selected" 0.0;
19966                inherit: "default" 0.0;
19967                visible: 1;
19968                color: 255 255 255 255;
19969             }
19970          }
19971          part { name: "disclip";
19972             type: RECT;
19973             description { state: "default" 0.0;
19974                rel1.to: "bg";
19975                rel2.to: "bg";
19976             }
19977             description { state: "disabled" 0.0;
19978                inherit: "default" 0.0;
19979                color: 255 255 255 64;
19980             }
19981          }
19982       }
19983       programs {
19984          // signal: elm,state,%s,active
19985          //   a "check" item named %s went active
19986          // signal: elm,state,%s,passive
19987          //   a "check" item named %s went passive
19988          // default is passive
19989          program {
19990             name:    "go_active";
19991             signal:  "elm,state,selected";
19992             source:  "elm";
19993             action:  STATE_SET "selected" 0.0;
19994             target:  "bg";
19995             target:  "fg1";
19996             target:  "fg2";
19997             target:  "elm.text";
19998             target:  "elm.text.sub";
19999          }
20000          program {
20001             name:    "go_passive";
20002             signal:  "elm,state,unselected";
20003             source:  "elm";
20004             action:  STATE_SET "default" 0.0;
20005             target:  "bg";
20006             target:  "fg1";
20007             target:  "fg2";
20008             target:  "elm.text";
20009             target:  "elm.text.sub";
20010             transition: LINEAR 0.1;
20011          }
20012          program {
20013             name:    "go_disabled";
20014             signal:  "elm,state,disabled";
20015             source:  "elm";
20016             action:  STATE_SET "disabled" 0.0;
20017             target:  "disclip";
20018          }
20019          program {
20020             name:    "go_enabled";
20021             signal:  "elm,state,enabled";
20022             source:  "elm";
20023             action:  STATE_SET "default" 0.0;
20024             target:  "disclip";
20025          }
20026       }
20027    }
20028    group { name: "elm/genlist/item_compress_odd/double_label/default";
20029       data.item: "stacking" "below";
20030       data.item: "selectraise" "on";
20031       data.item: "labels" "elm.text elm.text.sub";
20032       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20033       data.item: "treesize" "20";
20034 //      data.item: "states" "";
20035       images {
20036          image: "bt_sm_base1.png" COMP;
20037          image: "bt_sm_shine.png" COMP;
20038          image: "bt_sm_hilight.png" COMP;
20039          image: "ilist_2.png" COMP;
20040       }
20041       parts {
20042          part { name: "event";
20043             type: RECT;
20044             repeat_events: 1;
20045             description {
20046                state: "default" 0.0;
20047                color: 0 0 0 0;
20048             }
20049          }
20050          part {
20051             name: "base";
20052             mouse_events: 0;
20053             description {
20054                state: "default" 0.0;
20055                image {
20056                   normal: "ilist_2.png";
20057                   border: 2 2 2 2;
20058                }
20059                fill.smooth: 0;
20060             }
20061          }
20062          part { name: "bg";
20063             clip_to: "disclip";
20064             mouse_events: 0;
20065             description { state: "default" 0.0;
20066                visible: 0;
20067                color: 255 255 255 0;
20068                rel1 {
20069                   relative: 0.0 0.0;
20070                   offset: -5 -5;
20071                }
20072                rel2 {
20073                   relative: 1.0 1.0;
20074                   offset: 4 4;
20075                }
20076                image {
20077                   normal: "bt_sm_base1.png";
20078                   border: 6 6 6 6;
20079                }
20080                image.middle: SOLID;
20081             }
20082             description { state: "selected" 0.0;
20083                inherit: "default" 0.0;
20084                visible: 1;
20085                color: 255 255 255 255;
20086                rel1 {
20087                   relative: 0.0 0.0;
20088                   offset: -2 -2;
20089                }
20090                rel2 {
20091                   relative: 1.0 1.0;
20092                   offset: 1 1;
20093                }
20094             }
20095          }
20096          part { name: "elm.swallow.pad";
20097             type: SWALLOW;
20098             description { state: "default" 0.0;
20099                fixed: 1 0;
20100                align: 0.0 0.5;
20101                rel1 {
20102                   relative: 0.0  0.0;
20103                   offset:   4    4;
20104                }
20105                rel2 {
20106                   relative: 0.0  1.0;
20107                   offset:   4   -5;
20108                }
20109             }
20110          }
20111          part { name: "elm.swallow.icon";
20112             clip_to: "disclip";
20113             type: SWALLOW;
20114             description { state: "default" 0.0;
20115                fixed: 1 0;
20116                align: 0.0 0.5;
20117                rel1 {
20118                   to_x: "elm.swallow.pad";
20119                   relative: 1.0  0.0;
20120                   offset:   -1    4;
20121                }
20122                rel2 {
20123                   to_x: "elm.swallow.pad";
20124                   relative: 1.0  1.0;
20125                   offset:   -1   -5;
20126                }
20127             }
20128          }
20129          part { name: "elm.swallow.end";
20130             clip_to: "disclip";
20131             type:          SWALLOW;
20132             description { state:    "default" 0.0;
20133                fixed: 1 0;
20134                align:    1.0 0.5;
20135                aspect: 1.0 1.0;
20136                aspect_preference: VERTICAL;
20137                rel1 {
20138                   relative: 1.0  0.0;
20139                   offset:   -5    4;
20140                }
20141                rel2 {
20142                   relative: 1.0  1.0;
20143                   offset:   -5   -5;
20144                }
20145             }
20146          }
20147          part { name: "elm.text";
20148             clip_to: "disclip";
20149             type:           TEXT;
20150             effect:         SOFT_SHADOW;
20151             mouse_events:   0;
20152             scale: 1;
20153             description {
20154                state: "default" 0.0;
20155 //               min: 16 16;
20156                rel1 {
20157                   to_x:     "elm.swallow.icon";
20158                   relative: 1.0  0.0;
20159                   offset:   0 4;
20160                }
20161                rel2 {
20162                   to_x:     "elm.swallow.end";
20163                   relative: 0.0  0.5;
20164                   offset:   -1 -5;
20165                }
20166                color: 0 0 0 255;
20167                color3: 0 0 0 0;
20168                text {
20169                   font: "Sans";
20170                   size: 10;
20171 //                  min: 1 1;
20172                   min: 0 1;
20173                   align: 0.0 0.5;
20174                   text_class: "list_item";
20175                }
20176             }
20177             description { state: "selected" 0.0;
20178                inherit: "default" 0.0;
20179                color: 224 224 224 255;
20180                color3: 0 0 0 64;
20181             }
20182          }
20183          part { name: "elm.text.sub";
20184             clip_to: "disclip";
20185             type:           TEXT;
20186             mouse_events:   0;
20187             scale: 1;
20188             description {
20189                state: "default" 0.0;
20190 //               min: 16 16;
20191                rel1 {
20192                   to_x:     "elm.swallow.icon";
20193                   relative: 1.0  0.5;
20194                   offset:   0 4;
20195                }
20196                rel2 {
20197                   to_x:     "elm.swallow.end";
20198                   relative: 0.0  1.0;
20199                   offset:   -1 -5;
20200                }
20201                color: 0 0 0 128;
20202                color3: 0 0 0 0;
20203                text {
20204                   font: "Sans";
20205                   size: 8;
20206 //                  min: 1 1;
20207                   min: 0 1;
20208                   align: 0.0 0.5;
20209                   text_class: "list_item";
20210                }
20211             }
20212             description { state: "selected" 0.0;
20213                inherit: "default" 0.0;
20214                color: 128 128 128 255;
20215                color3: 0 0 0 32;
20216             }
20217          }
20218          part { name: "fg1";
20219             clip_to: "disclip";
20220             mouse_events: 0;
20221             description { state: "default" 0.0;
20222                visible: 0;
20223                color: 255 255 255 0;
20224                rel1.to: "bg";
20225                rel2.relative: 1.0 0.5;
20226                rel2.to: "bg";
20227                image {
20228                   normal: "bt_sm_hilight.png";
20229                   border: 6 6 6 0;
20230                }
20231             }
20232             description { state: "selected" 0.0;
20233                inherit: "default" 0.0;
20234                visible: 1;
20235                color: 255 255 255 255;
20236             }
20237          }
20238          part { name: "fg2";
20239             clip_to: "disclip";
20240             mouse_events: 0;
20241             description { state: "default" 0.0;
20242                visible: 0;
20243                color: 255 255 255 0;
20244                rel1.to: "bg";
20245                rel2.to: "bg";
20246                image {
20247                   normal: "bt_sm_shine.png";
20248                   border: 6 6 6 0;
20249                }
20250             }
20251             description { state: "selected" 0.0;
20252                inherit: "default" 0.0;
20253                visible: 1;
20254                color: 255 255 255 255;
20255             }
20256          }
20257          part { name: "disclip";
20258             type: RECT;
20259             description { state: "default" 0.0;
20260                rel1.to: "bg";
20261                rel2.to: "bg";
20262             }
20263             description { state: "disabled" 0.0;
20264                inherit: "default" 0.0;
20265                color: 255 255 255 64;
20266             }
20267          }
20268       }
20269       programs {
20270          // signal: elm,state,%s,active
20271          //   a "check" item named %s went active
20272          // signal: elm,state,%s,passive
20273          //   a "check" item named %s went passive
20274          // default is passive
20275          program {
20276             name:    "go_active";
20277             signal:  "elm,state,selected";
20278             source:  "elm";
20279             action:  STATE_SET "selected" 0.0;
20280             target:  "bg";
20281             target:  "fg1";
20282             target:  "fg2";
20283             target:  "elm.text";
20284             target:  "elm.text.sub";
20285          }
20286          program {
20287             name:    "go_passive";
20288             signal:  "elm,state,unselected";
20289             source:  "elm";
20290             action:  STATE_SET "default" 0.0;
20291             target:  "bg";
20292             target:  "fg1";
20293             target:  "fg2";
20294             target:  "elm.text";
20295             target:  "elm.text.sub";
20296             transition: LINEAR 0.1;
20297          }
20298          program {
20299             name:    "go_disabled";
20300             signal:  "elm,state,disabled";
20301             source:  "elm";
20302             action:  STATE_SET "disabled" 0.0;
20303             target:  "disclip";
20304          }
20305          program {
20306             name:    "go_enabled";
20307             signal:  "elm,state,enabled";
20308             source:  "elm";
20309             action:  STATE_SET "default" 0.0;
20310             target:  "disclip";
20311          }
20312       }
20313    }
20314
20315    group { name: "elm/genlist/tree/double_label/default";
20316       data.item: "stacking" "above";
20317       data.item: "selectraise" "on";
20318       data.item: "labels" "elm.text elm.text.sub";
20319       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20320       data.item: "treesize" "20";
20321 //      data.item: "states" "";
20322       images {
20323          image: "bt_sm_base1.png" COMP;
20324          image: "bt_sm_shine.png" COMP;
20325          image: "bt_sm_hilight.png" COMP;
20326          image: "ilist_1.png" COMP;
20327          image: "ilist_item_shadow.png" COMP;
20328          image: "icon_arrow_right.png" COMP;
20329          image: "icon_arrow_down.png" COMP;
20330       }
20331       parts {
20332          part {
20333             name:           "event";
20334             type:           RECT;
20335             repeat_events: 1;
20336             description {
20337                state: "default" 0.0;
20338                color: 0 0 0 0;
20339             }
20340          }
20341          part {
20342             name: "base_sh";
20343             mouse_events: 0;
20344             description {
20345                state: "default" 0.0;
20346                align: 0.0 0.0;
20347                min: 0 10;
20348                fixed: 1 1;
20349                rel1 {
20350                   to: "base";
20351                   relative: 0.0 1.0;
20352                   offset: 0 0;
20353                }
20354                rel2 {
20355                   to: "base";
20356                   relative: 1.0 1.0;
20357                   offset: -1 0;
20358                }
20359                image {
20360                   normal: "ilist_item_shadow.png";
20361                }
20362                fill.smooth: 0;
20363             }
20364          }
20365          part {
20366             name: "base";
20367             mouse_events: 0;
20368             description {
20369                state: "default" 0.0;
20370                image {
20371                   normal: "ilist_1.png";
20372                   border: 2 2 2 2;
20373                }
20374                fill.smooth: 0;
20375             }
20376          }
20377          part { name: "bg";
20378             clip_to: "disclip";
20379             mouse_events: 0;
20380             description { state: "default" 0.0;
20381                visible: 0;
20382                color: 255 255 255 0;
20383                rel1 {
20384                   relative: 0.0 0.0;
20385                   offset: -5 -5;
20386                }
20387                rel2 {
20388                   relative: 1.0 1.0;
20389                   offset: 4 4;
20390                }
20391                image {
20392                   normal: "bt_sm_base1.png";
20393                   border: 6 6 6 6;
20394                }
20395                image.middle: SOLID;
20396             }
20397             description { state: "selected" 0.0;
20398                inherit: "default" 0.0;
20399                visible: 1;
20400                color: 255 255 255 255;
20401                rel1 {
20402                   relative: 0.0 0.0;
20403                   offset: -2 -2;
20404                }
20405                rel2 {
20406                   relative: 1.0 1.0;
20407                   offset: 1 1;
20408                }
20409             }
20410          }
20411          part { name: "elm.swallow.pad";
20412             type: SWALLOW;
20413             description { state: "default" 0.0;
20414                fixed: 1 0;
20415                align: 0.0 0.5;
20416                rel1 {
20417                   relative: 0.0  0.0;
20418                   offset:   4    4;
20419                }
20420                rel2 {
20421                   relative: 0.0  1.0;
20422                   offset:   4   -5;
20423                }
20424             }
20425          }
20426          part { name: "arrow";
20427             clip_to: "disclip";
20428             ignore_flags: ON_HOLD;
20429             description { state: "default" 0.0;
20430                fixed: 1 0;
20431                align: 0.0 0.5;
20432                aspect: 1.0 1.0;
20433                rel1 {
20434                   to_x: "elm.swallow.pad";
20435                   relative: 1.0  0.0;
20436                   offset:   -1    4;
20437                }
20438                rel2 {
20439                   to_x: "elm.swallow.pad";
20440                   relative: 1.0  1.0;
20441                   offset:   -1   -5;
20442                }
20443                image.normal: "icon_arrow_right.png";
20444             }
20445             description { state: "active" 0.0;
20446                inherit: "default" 0.0;
20447                image.normal: "icon_arrow_down.png";
20448             }
20449          }
20450          part { name: "elm.swallow.icon";
20451             clip_to: "disclip";
20452             type: SWALLOW;
20453             description { state: "default" 0.0;
20454                fixed: 1 0;
20455                align: 0.0 0.5;
20456                rel1 {
20457                   to_x: "arrow";
20458                   relative: 1.0  0.0;
20459                   offset:   4    4;
20460                }
20461                rel2 {
20462                   to_x: "arrow";
20463                   relative: 1.0  1.0;
20464                   offset:   4   -5;
20465                }
20466             }
20467          }
20468          part { name: "elm.swallow.end";
20469             clip_to: "disclip";
20470             type: SWALLOW;
20471             description { state: "default" 0.0;
20472                fixed: 1 0;
20473                align: 1.0 0.5;
20474                aspect: 1.0 1.0;
20475                aspect_preference: VERTICAL;
20476                rel1 {
20477                   relative: 1.0  0.0;
20478                   offset:   -5    4;
20479                }
20480                rel2 {
20481                   relative: 1.0  1.0;
20482                   offset:   -5   -5;
20483                }
20484             }
20485          }
20486          part { name: "elm.text";
20487             clip_to: "disclip";
20488             type:           TEXT;
20489             effect:         SOFT_SHADOW;
20490             mouse_events:   0;
20491             scale: 1;
20492             description {
20493                state: "default" 0.0;
20494 //               min: 16 16;
20495                rel1 {
20496                   to_x:     "elm.swallow.icon";
20497                   relative: 1.0  0.0;
20498                   offset:   0 4;
20499                }
20500                rel2 {
20501                   to_x:     "elm.swallow.end";
20502                   relative: 0.0  0.5;
20503                   offset:   -1 -5;
20504                }
20505                color: 0 0 0 255;
20506                color3: 0 0 0 0;
20507                text {
20508                   font: "Sans";
20509                   size: 10;
20510                   min: 1 1;
20511 //                  min: 0 1;
20512                   align: 0.0 0.5;
20513                   text_class: "list_item";
20514                }
20515             }
20516             description { state: "selected" 0.0;
20517                inherit: "default" 0.0;
20518                color: 224 224 224 255;
20519                color3: 0 0 0 64;
20520             }
20521          }
20522          part { name: "elm.text.sub";
20523             clip_to: "disclip";
20524             type:           TEXT;
20525             mouse_events:   0;
20526             scale: 1;
20527             description {
20528                state: "default" 0.0;
20529 //               min: 16 16;
20530                rel1 {
20531                   to_x:     "elm.swallow.icon";
20532                   relative: 1.0  0.5;
20533                   offset:   0 4;
20534                }
20535                rel2 {
20536                   to_x:     "elm.swallow.end";
20537                   relative: 0.0  1.0;
20538                   offset:   -1 -5;
20539                }
20540                color: 0 0 0 128;
20541                color3: 0 0 0 0;
20542                text {
20543                   font: "Sans";
20544                   size: 8;
20545                   min: 1 1;
20546 //                  min: 0 1;
20547                   align: 0.0 0.5;
20548                   text_class: "list_item";
20549                }
20550             }
20551             description { state: "selected" 0.0;
20552                inherit: "default" 0.0;
20553                color: 128 128 128 255;
20554                color3: 0 0 0 32;
20555             }
20556          }
20557          part { name: "fg1";
20558             clip_to: "disclip";
20559             mouse_events: 0;
20560             description { state: "default" 0.0;
20561                visible: 0;
20562                color: 255 255 255 0;
20563                rel1.to: "bg";
20564                rel2.relative: 1.0 0.5;
20565                rel2.to: "bg";
20566                image {
20567                   normal: "bt_sm_hilight.png";
20568                   border: 6 6 6 0;
20569                }
20570             }
20571             description { state: "selected" 0.0;
20572                inherit: "default" 0.0;
20573                visible: 1;
20574                color: 255 255 255 255;
20575             }
20576          }
20577          part { name: "fg2";
20578             clip_to: "disclip";
20579             mouse_events: 0;
20580             description { state: "default" 0.0;
20581                visible: 0;
20582                color: 255 255 255 0;
20583                rel1.to: "bg";
20584                rel2.to: "bg";
20585                image {
20586                   normal: "bt_sm_shine.png";
20587                   border: 6 6 6 0;
20588                }
20589             }
20590             description { state: "selected" 0.0;
20591                inherit: "default" 0.0;
20592                visible: 1;
20593                color: 255 255 255 255;
20594             }
20595          }
20596          part { name: "disclip";
20597             type: RECT;
20598             description { state: "default" 0.0;
20599                rel1.to: "bg";
20600                rel2.to: "bg";
20601             }
20602             description { state: "disabled" 0.0;
20603                inherit: "default" 0.0;
20604                color: 255 255 255 64;
20605             }
20606          }
20607       }
20608       programs {
20609          // signal: elm,state,%s,active
20610          //   a "check" item named %s went active
20611          // signal: elm,state,%s,passive
20612          //   a "check" item named %s went passive
20613          // default is passive
20614          program {
20615             name:    "go_active";
20616             signal:  "elm,state,selected";
20617             source:  "elm";
20618             action:  STATE_SET "selected" 0.0;
20619             target:  "bg";
20620             target:  "fg1";
20621             target:  "fg2";
20622             target:  "elm.text";
20623             target:  "elm.text.sub";
20624          }
20625          program {
20626             name:    "go_passive";
20627             signal:  "elm,state,unselected";
20628             source:  "elm";
20629             action:  STATE_SET "default" 0.0;
20630             target:  "bg";
20631             target:  "fg1";
20632             target:  "fg2";
20633             target:  "elm.text";
20634             target:  "elm.text.sub";
20635             transition: LINEAR 0.1;
20636          }
20637          program {
20638             name:    "go_disabled";
20639             signal:  "elm,state,disabled";
20640             source:  "elm";
20641             action:  STATE_SET "disabled" 0.0;
20642             target:  "disclip";
20643          }
20644          program {
20645             name:    "go_enabled";
20646             signal:  "elm,state,enabled";
20647             source:  "elm";
20648             action:  STATE_SET "default" 0.0;
20649             target:  "disclip";
20650          }
20651          program {
20652             name:    "expand";
20653             signal:  "mouse,up,1";
20654             source:  "arrow";
20655             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20656          }
20657          program {
20658             name:    "go_expanded";
20659             signal:  "elm,state,expanded";
20660             source:  "elm";
20661             action:  STATE_SET "active" 0.0;
20662             target:  "arrow";
20663          }
20664          program {
20665             name:    "go_contracted";
20666             signal:  "elm,state,contracted";
20667             source:  "elm";
20668             action:  STATE_SET "default" 0.0;
20669             target:  "arrow";
20670          }
20671       }
20672    }
20673    group { name: "elm/genlist/tree_compress/double_label/default";
20674       data.item: "stacking" "above";
20675       data.item: "selectraise" "on";
20676       data.item: "labels" "elm.text elm.text.sub";
20677       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20678       data.item: "treesize" "20";
20679 //      data.item: "states" "";
20680       images {
20681          image: "bt_sm_base1.png" COMP;
20682          image: "bt_sm_shine.png" COMP;
20683          image: "bt_sm_hilight.png" COMP;
20684          image: "ilist_1.png" COMP;
20685          image: "ilist_item_shadow.png" COMP;
20686          image: "icon_arrow_right.png" COMP;
20687          image: "icon_arrow_down.png" COMP;
20688       }
20689       parts {
20690          part {
20691             name:           "event";
20692             type:           RECT;
20693             repeat_events: 1;
20694             description {
20695                state: "default" 0.0;
20696                color: 0 0 0 0;
20697             }
20698          }
20699          part {
20700             name: "base_sh";
20701             mouse_events: 0;
20702             description {
20703                state: "default" 0.0;
20704                align: 0.0 0.0;
20705                min: 0 10;
20706                fixed: 1 1;
20707                rel1 {
20708                   to: "base";
20709                   relative: 0.0 1.0;
20710                   offset: 0 0;
20711                }
20712                rel2 {
20713                   to: "base";
20714                   relative: 1.0 1.0;
20715                   offset: -1 0;
20716                }
20717                image {
20718                   normal: "ilist_item_shadow.png";
20719                }
20720                fill.smooth: 0;
20721             }
20722          }
20723          part {
20724             name: "base";
20725             mouse_events: 0;
20726             description {
20727                state: "default" 0.0;
20728                image {
20729                   normal: "ilist_1.png";
20730                   border: 2 2 2 2;
20731                }
20732                fill.smooth: 0;
20733             }
20734          }
20735          part { name: "bg";
20736             clip_to: "disclip";
20737             mouse_events: 0;
20738             description { state: "default" 0.0;
20739                visible: 0;
20740                color: 255 255 255 0;
20741                rel1 {
20742                   relative: 0.0 0.0;
20743                   offset: -5 -5;
20744                }
20745                rel2 {
20746                   relative: 1.0 1.0;
20747                   offset: 4 4;
20748                }
20749                image {
20750                   normal: "bt_sm_base1.png";
20751                   border: 6 6 6 6;
20752                }
20753                image.middle: SOLID;
20754             }
20755             description { state: "selected" 0.0;
20756                inherit: "default" 0.0;
20757                visible: 1;
20758                color: 255 255 255 255;
20759                rel1 {
20760                   relative: 0.0 0.0;
20761                   offset: -2 -2;
20762                }
20763                rel2 {
20764                   relative: 1.0 1.0;
20765                   offset: 1 1;
20766                }
20767             }
20768          }
20769          part { name: "elm.swallow.pad";
20770             type: SWALLOW;
20771             description { state: "default" 0.0;
20772                fixed: 1 0;
20773                align: 0.0 0.5;
20774                rel1 {
20775                   relative: 0.0  0.0;
20776                   offset:   4    4;
20777                }
20778                rel2 {
20779                   relative: 0.0  1.0;
20780                   offset:   4   -5;
20781                }
20782             }
20783          }
20784          part { name: "arrow";
20785             clip_to: "disclip";
20786             ignore_flags: ON_HOLD;
20787             description { state: "default" 0.0;
20788                fixed: 1 0;
20789                align: 0.0 0.5;
20790                aspect: 1.0 1.0;
20791                rel1 {
20792                   to_x: "elm.swallow.pad";
20793                   relative: 1.0  0.0;
20794                   offset:   -1    4;
20795                }
20796                rel2 {
20797                   to_x: "elm.swallow.pad";
20798                   relative: 1.0  1.0;
20799                   offset:   -1   -5;
20800                }
20801                image.normal: "icon_arrow_right.png";
20802             }
20803             description { state: "active" 0.0;
20804                inherit: "default" 0.0;
20805                image.normal: "icon_arrow_down.png";
20806             }
20807          }
20808          part { name: "elm.swallow.icon";
20809             clip_to: "disclip";
20810             type: SWALLOW;
20811             description { state: "default" 0.0;
20812                fixed: 1 0;
20813                align: 0.0 0.5;
20814                rel1 {
20815                   to_x: "arrow";
20816                   relative: 1.0  0.0;
20817                   offset:   4    4;
20818                }
20819                rel2 {
20820                   to_x: "arrow";
20821                   relative: 1.0  1.0;
20822                   offset:   4   -5;
20823                }
20824             }
20825          }
20826          part { name: "elm.swallow.end";
20827             clip_to: "disclip";
20828             type: SWALLOW;
20829             description { state: "default" 0.0;
20830                fixed: 1 0;
20831                align: 1.0 0.5;
20832                aspect: 1.0 1.0;
20833                aspect_preference: VERTICAL;
20834                rel1 {
20835                   relative: 1.0  0.0;
20836                   offset:   -5    4;
20837                }
20838                rel2 {
20839                   relative: 1.0  1.0;
20840                   offset:   -5   -5;
20841                }
20842             }
20843          }
20844          part { name: "elm.text";
20845             clip_to: "disclip";
20846             type:           TEXT;
20847             effect:         SOFT_SHADOW;
20848             mouse_events:   0;
20849             scale: 1;
20850             description {
20851                state: "default" 0.0;
20852 //               min: 16 16;
20853                rel1 {
20854                   to_x:     "elm.swallow.icon";
20855                   relative: 1.0  0.0;
20856                   offset:   0 4;
20857                }
20858                rel2 {
20859                   to_x:     "elm.swallow.end";
20860                   relative: 0.0  0.5;
20861                   offset:   -1 -5;
20862                }
20863                color: 0 0 0 255;
20864                color3: 0 0 0 0;
20865                text {
20866                   font: "Sans";
20867                   size: 10;
20868 //                  min: 1 1;
20869                   min: 0 1;
20870                   align: 0.0 0.5;
20871                   text_class: "list_item";
20872                }
20873             }
20874             description { state: "selected" 0.0;
20875                inherit: "default" 0.0;
20876                color: 224 224 224 255;
20877                color3: 0 0 0 64;
20878             }
20879          }
20880          part { name: "elm.text.sub";
20881             clip_to: "disclip";
20882             type:           TEXT;
20883             mouse_events:   0;
20884             scale: 1;
20885             description {
20886                state: "default" 0.0;
20887 //               min: 16 16;
20888                rel1 {
20889                   to_x:     "elm.swallow.icon";
20890                   relative: 1.0  0.5;
20891                   offset:   0 4;
20892                }
20893                rel2 {
20894                   to_x:     "elm.swallow.end";
20895                   relative: 0.0  1.0;
20896                   offset:   -1 -5;
20897                }
20898                color: 0 0 0 128;
20899                color3: 0 0 0 0;
20900                text {
20901                   font: "Sans";
20902                   size: 8;
20903 //                  min: 1 1;
20904                   min: 0 1;
20905                   align: 0.0 0.5;
20906                   text_class: "list_item";
20907                }
20908             }
20909             description { state: "selected" 0.0;
20910                inherit: "default" 0.0;
20911                color: 128 128 128 255;
20912                color3: 0 0 0 32;
20913             }
20914          }
20915          part { name: "fg1";
20916             clip_to: "disclip";
20917             mouse_events: 0;
20918             description { state: "default" 0.0;
20919                visible: 0;
20920                color: 255 255 255 0;
20921                rel1.to: "bg";
20922                rel2.relative: 1.0 0.5;
20923                rel2.to: "bg";
20924                image {
20925                   normal: "bt_sm_hilight.png";
20926                   border: 6 6 6 0;
20927                }
20928             }
20929             description { state: "selected" 0.0;
20930                inherit: "default" 0.0;
20931                visible: 1;
20932                color: 255 255 255 255;
20933             }
20934          }
20935          part { name: "fg2";
20936             clip_to: "disclip";
20937             mouse_events: 0;
20938             description { state: "default" 0.0;
20939                visible: 0;
20940                color: 255 255 255 0;
20941                rel1.to: "bg";
20942                rel2.to: "bg";
20943                image {
20944                   normal: "bt_sm_shine.png";
20945                   border: 6 6 6 0;
20946                }
20947             }
20948             description { state: "selected" 0.0;
20949                inherit: "default" 0.0;
20950                visible: 1;
20951                color: 255 255 255 255;
20952             }
20953          }
20954          part { name: "disclip";
20955             type: RECT;
20956             description { state: "default" 0.0;
20957                rel1.to: "bg";
20958                rel2.to: "bg";
20959             }
20960             description { state: "disabled" 0.0;
20961                inherit: "default" 0.0;
20962                color: 255 255 255 64;
20963             }
20964          }
20965       }
20966       programs {
20967          // signal: elm,state,%s,active
20968          //   a "check" item named %s went active
20969          // signal: elm,state,%s,passive
20970          //   a "check" item named %s went passive
20971          // default is passive
20972          program {
20973             name:    "go_active";
20974             signal:  "elm,state,selected";
20975             source:  "elm";
20976             action:  STATE_SET "selected" 0.0;
20977             target:  "bg";
20978             target:  "fg1";
20979             target:  "fg2";
20980             target:  "elm.text";
20981             target:  "elm.text.sub";
20982          }
20983          program {
20984             name:    "go_passive";
20985             signal:  "elm,state,unselected";
20986             source:  "elm";
20987             action:  STATE_SET "default" 0.0;
20988             target:  "bg";
20989             target:  "fg1";
20990             target:  "fg2";
20991             target:  "elm.text";
20992             target:  "elm.text.sub";
20993             transition: LINEAR 0.1;
20994          }
20995          program {
20996             name:    "go_disabled";
20997             signal:  "elm,state,disabled";
20998             source:  "elm";
20999             action:  STATE_SET "disabled" 0.0;
21000             target:  "disclip";
21001          }
21002          program {
21003             name:    "go_enabled";
21004             signal:  "elm,state,enabled";
21005             source:  "elm";
21006             action:  STATE_SET "default" 0.0;
21007             target:  "disclip";
21008          }
21009          program {
21010             name:    "expand";
21011             signal:  "mouse,up,1";
21012             source:  "arrow";
21013             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21014          }
21015          program {
21016             name:    "go_expanded";
21017             signal:  "elm,state,expanded";
21018             source:  "elm";
21019             action:  STATE_SET "active" 0.0;
21020             target:  "arrow";
21021          }
21022          program {
21023             name:    "go_contracted";
21024             signal:  "elm,state,contracted";
21025             source:  "elm";
21026             action:  STATE_SET "default" 0.0;
21027             target:  "arrow";
21028          }
21029       }
21030    }
21031    group { name: "elm/genlist/tree_odd/double_label/default";
21032       data.item: "stacking" "below";
21033       data.item: "selectraise" "on";
21034       data.item: "labels" "elm.text elm.text.sub";
21035       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21036       data.item: "treesize" "20";
21037 //      data.item: "states" "";
21038       images {
21039          image: "bt_sm_base1.png" COMP;
21040          image: "bt_sm_shine.png" COMP;
21041          image: "bt_sm_hilight.png" COMP;
21042          image: "ilist_2.png" COMP;
21043          image: "icon_arrow_right.png" COMP;
21044          image: "icon_arrow_down.png" COMP;
21045       }
21046       parts {
21047          part {
21048             name:           "event";
21049             type:           RECT;
21050             repeat_events: 1;
21051             description {
21052                state: "default" 0.0;
21053                color: 0 0 0 0;
21054             }
21055          }
21056          part {
21057             name: "base";
21058             mouse_events: 0;
21059             description {
21060                state: "default" 0.0;
21061                image {
21062                   normal: "ilist_2.png";
21063                   border: 2 2 2 2;
21064                }
21065                fill.smooth: 0;
21066             }
21067          }
21068          part { name: "bg";
21069             clip_to: "disclip";
21070             mouse_events: 0;
21071             description { state: "default" 0.0;
21072                visible: 0;
21073                color: 255 255 255 0;
21074                rel1 {
21075                   relative: 0.0 0.0;
21076                   offset: -5 -5;
21077                }
21078                rel2 {
21079                   relative: 1.0 1.0;
21080                   offset: 4 4;
21081                }
21082                image {
21083                   normal: "bt_sm_base1.png";
21084                   border: 6 6 6 6;
21085                }
21086                image.middle: SOLID;
21087             }
21088             description { state: "selected" 0.0;
21089                inherit: "default" 0.0;
21090                visible: 1;
21091                color: 255 255 255 255;
21092                rel1 {
21093                   relative: 0.0 0.0;
21094                   offset: -2 -2;
21095                }
21096                rel2 {
21097                   relative: 1.0 1.0;
21098                   offset: 1 1;
21099                }
21100             }
21101          }
21102          part { name: "elm.swallow.pad";
21103             type: SWALLOW;
21104             description { state: "default" 0.0;
21105                fixed: 1 0;
21106                align: 0.0 0.5;
21107                rel1 {
21108                   relative: 0.0  0.0;
21109                   offset:   4    4;
21110                }
21111                rel2 {
21112                   relative: 0.0  1.0;
21113                   offset:   4   -5;
21114                }
21115             }
21116          }
21117          part { name: "arrow";
21118             clip_to: "disclip";
21119             ignore_flags: ON_HOLD;
21120             description { state: "default" 0.0;
21121                fixed: 1 0;
21122                align: 0.0 0.5;
21123                aspect: 1.0 1.0;
21124                rel1 {
21125                   to_x: "elm.swallow.pad";
21126                   relative: 1.0  0.0;
21127                   offset:   -1    4;
21128                }
21129                rel2 {
21130                   to_x: "elm.swallow.pad";
21131                   relative: 1.0  1.0;
21132                   offset:   -1   -5;
21133                }
21134                image.normal: "icon_arrow_right.png";
21135             }
21136             description { state: "active" 0.0;
21137                inherit: "default" 0.0;
21138                image.normal: "icon_arrow_down.png";
21139             }
21140          }
21141          part { name: "elm.swallow.icon";
21142             clip_to: "disclip";
21143             type: SWALLOW;
21144             description { state: "default" 0.0;
21145                fixed: 1 0;
21146                align: 0.0 0.5;
21147                rel1 {
21148                   to_x: "arrow";
21149                   relative: 1.0  0.0;
21150                   offset:   4    4;
21151                }
21152                rel2 {
21153                   to_x: "arrow";
21154                   relative: 1.0  1.0;
21155                   offset:   4   -5;
21156                }
21157             }
21158          }
21159          part { name: "elm.swallow.end";
21160             clip_to: "disclip";
21161             type: SWALLOW;
21162             description { state: "default" 0.0;
21163                fixed: 1 0;
21164                align: 1.0 0.5;
21165                aspect: 1.0 1.0;
21166                aspect_preference: VERTICAL;
21167                rel1 {
21168                   relative: 1.0  0.0;
21169                   offset:   -5    4;
21170                }
21171                rel2 {
21172                   relative: 1.0  1.0;
21173                   offset:   -5   -5;
21174                }
21175             }
21176          }
21177          part { name: "elm.text";
21178             clip_to: "disclip";
21179             type:           TEXT;
21180             effect:         SOFT_SHADOW;
21181             mouse_events:   0;
21182             scale: 1;
21183             description {
21184                state: "default" 0.0;
21185 //               min: 16 16;
21186                rel1 {
21187                   to_x:     "elm.swallow.icon";
21188                   relative: 1.0  0.0;
21189                   offset:   0 4;
21190                }
21191                rel2 {
21192                   to_x:     "elm.swallow.end";
21193                   relative: 0.0  0.5;
21194                   offset:   -1 -5;
21195                }
21196                color: 0 0 0 255;
21197                color3: 0 0 0 0;
21198                text {
21199                   font: "Sans";
21200                   size: 10;
21201                   min: 1 1;
21202 //                  min: 0 1;
21203                   align: 0.0 0.5;
21204                   text_class: "list_item";
21205                }
21206             }
21207             description { state: "selected" 0.0;
21208                inherit: "default" 0.0;
21209                color: 224 224 224 255;
21210                color3: 0 0 0 64;
21211             }
21212          }
21213          part { name: "elm.text.sub";
21214             clip_to: "disclip";
21215             type:           TEXT;
21216             mouse_events:   0;
21217             scale: 1;
21218             description {
21219                state: "default" 0.0;
21220 //               min: 16 16;
21221                rel1 {
21222                   to_x:     "elm.swallow.icon";
21223                   relative: 1.0  0.5;
21224                   offset:   0 4;
21225                }
21226                rel2 {
21227                   to_x:     "elm.swallow.end";
21228                   relative: 0.0  1.0;
21229                   offset:   -1 -5;
21230                }
21231                color: 0 0 0 128;
21232                color3: 0 0 0 0;
21233                text {
21234                   font: "Sans";
21235                   size: 8;
21236                   min: 1 1;
21237 //                  min: 0 1;
21238                   align: 0.0 0.5;
21239                   text_class: "list_item";
21240                }
21241             }
21242             description { state: "selected" 0.0;
21243                inherit: "default" 0.0;
21244                color: 128 128 128 255;
21245                color3: 0 0 0 32;
21246             }
21247          }
21248          part { name: "fg1";
21249             clip_to: "disclip";
21250             mouse_events: 0;
21251             description { state: "default" 0.0;
21252                visible: 0;
21253                color: 255 255 255 0;
21254                rel1.to: "bg";
21255                rel2.relative: 1.0 0.5;
21256                rel2.to: "bg";
21257                image {
21258                   normal: "bt_sm_hilight.png";
21259                   border: 6 6 6 0;
21260                }
21261             }
21262             description { state: "selected" 0.0;
21263                inherit: "default" 0.0;
21264                visible: 1;
21265                color: 255 255 255 255;
21266             }
21267          }
21268          part { name: "fg2";
21269             clip_to: "disclip";
21270             mouse_events: 0;
21271             description { state: "default" 0.0;
21272                visible: 0;
21273                color: 255 255 255 0;
21274                rel1.to: "bg";
21275                rel2.to: "bg";
21276                image {
21277                   normal: "bt_sm_shine.png";
21278                   border: 6 6 6 0;
21279                }
21280             }
21281             description { state: "selected" 0.0;
21282                inherit: "default" 0.0;
21283                visible: 1;
21284                color: 255 255 255 255;
21285             }
21286          }
21287          part { name: "disclip";
21288             type: RECT;
21289             description { state: "default" 0.0;
21290                rel1.to: "bg";
21291                rel2.to: "bg";
21292             }
21293             description { state: "disabled" 0.0;
21294                inherit: "default" 0.0;
21295                color: 255 255 255 64;
21296             }
21297          }
21298       }
21299       programs {
21300          // signal: elm,state,%s,active
21301          //   a "check" item named %s went active
21302          // signal: elm,state,%s,passive
21303          //   a "check" item named %s went passive
21304          // default is passive
21305          program {
21306             name:    "go_active";
21307             signal:  "elm,state,selected";
21308             source:  "elm";
21309             action:  STATE_SET "selected" 0.0;
21310             target:  "bg";
21311             target:  "fg1";
21312             target:  "fg2";
21313             target:  "elm.text";
21314             target:  "elm.text.sub";
21315          }
21316          program {
21317             name:    "go_passive";
21318             signal:  "elm,state,unselected";
21319             source:  "elm";
21320             action:  STATE_SET "default" 0.0;
21321             target:  "bg";
21322             target:  "fg1";
21323             target:  "fg2";
21324             target:  "elm.text";
21325             target:  "elm.text.sub";
21326             transition: LINEAR 0.1;
21327          }
21328          program {
21329             name:    "go_disabled";
21330             signal:  "elm,state,disabled";
21331             source:  "elm";
21332             action:  STATE_SET "disabled" 0.0;
21333             target:  "disclip";
21334          }
21335          program {
21336             name:    "go_enabled";
21337             signal:  "elm,state,enabled";
21338             source:  "elm";
21339             action:  STATE_SET "default" 0.0;
21340             target:  "disclip";
21341          }
21342          program {
21343             name:    "expand";
21344             signal:  "mouse,up,1";
21345             source:  "arrow";
21346             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21347          }
21348          program {
21349             name:    "go_expanded";
21350             signal:  "elm,state,expanded";
21351             source:  "elm";
21352             action:  STATE_SET "active" 0.0;
21353             target:  "arrow";
21354          }
21355          program {
21356             name:    "go_contracted";
21357             signal:  "elm,state,contracted";
21358             source:  "elm";
21359             action:  STATE_SET "default" 0.0;
21360             target:  "arrow";
21361          }
21362       }
21363    }
21364
21365    group { name: "elm/genlist/item/icon_top_text_bottom/default";
21366       data.item: "stacking" "above";
21367       data.item: "selectraise" "on";
21368       data.item: "labels" "elm.text";
21369       data.item: "icons" "elm.swallow.icon";
21370       data.item: "treesize" "20";
21371 //      data.item: "states" "";
21372       images {
21373          image: "bt_sm_base1.png" COMP;
21374          image: "bt_sm_shine.png" COMP;
21375          image: "bt_sm_hilight.png" COMP;
21376          image: "ilist_1.png" COMP;
21377          image: "ilist_item_shadow.png" COMP;
21378       }
21379       parts {
21380          part {
21381             name:           "event";
21382             type:           RECT;
21383             repeat_events: 1;
21384             description {
21385                state: "default" 0.0;
21386                color: 0 0 0 0;
21387             }
21388          }
21389          part {
21390             name: "base_sh";
21391             mouse_events: 0;
21392             description {
21393                state: "default" 0.0;
21394                align: 0.0 0.0;
21395                min: 0 10;
21396                fixed: 1 1;
21397                rel1 {
21398                   to: "base";
21399                   relative: 0.0 1.0;
21400                   offset: 0 0;
21401                }
21402                rel2 {
21403                   to: "base";
21404                   relative: 1.0 1.0;
21405                   offset: -1 0;
21406                }
21407                image {
21408                   normal: "ilist_item_shadow.png";
21409                }
21410                fill.smooth: 0;
21411             }
21412          }
21413          part {
21414             name: "base";
21415             mouse_events: 0;
21416             description {
21417                state: "default" 0.0;
21418                image {
21419                   normal: "ilist_1.png";
21420                   border: 2 2 2 2;
21421                }
21422                fill.smooth: 0;
21423             }
21424          }
21425          part { name: "bg";
21426             clip_to: "disclip";
21427             mouse_events: 0;
21428             description { state: "default" 0.0;
21429                visible: 0;
21430                color: 255 255 255 0;
21431                rel1 {
21432                   relative: 0.0 0.0;
21433                   offset: -5 -5;
21434                }
21435                rel2 {
21436                   relative: 1.0 1.0;
21437                   offset: 4 4;
21438                }
21439                image {
21440                   normal: "bt_sm_base1.png";
21441                   border: 6 6 6 6;
21442                }
21443                image.middle: SOLID;
21444             }
21445             description { state: "selected" 0.0;
21446                inherit: "default" 0.0;
21447                visible: 1;
21448                color: 255 255 255 255;
21449                rel1 {
21450                   relative: 0.0 0.0;
21451                   offset: -2 -2;
21452                }
21453                rel2 {
21454                   relative: 1.0 1.0;
21455                   offset: 1 1;
21456                }
21457             }
21458          }
21459          part { name: "elm.swallow.pad";
21460             type: SWALLOW;
21461             description { state: "default" 0.0;
21462                fixed: 1 0;
21463                align: 0.0 0.5;
21464                rel1 {
21465                   relative: 0.0  0.0;
21466                   offset:   4    4;
21467                }
21468                rel2 {
21469                   relative: 1.0  1.0;
21470                   offset:   -4   -5;
21471                }
21472             }
21473          }
21474          part { name: "elm.swallow.icon";
21475             clip_to: "disclip";
21476             type: SWALLOW;
21477             description { state: "default" 0.0;
21478                fixed: 1 0;
21479                align: 0.5 0.5;
21480                rel1 {
21481                   to_x: "elm.swallow.pad";
21482                   relative: 0.0  0.0;
21483                   offset:   -1    4;
21484                }
21485                rel2 {
21486                   to_x: "elm.swallow.pad";
21487                   relative: 1.0  1.0;
21488                   offset:   -1   -5;
21489                }
21490             }
21491          }
21492          part { name: "elm.text";
21493             clip_to: "disclip";
21494             type:           TEXT;
21495             effect:         SOFT_SHADOW;
21496             mouse_events:   0;
21497             scale: 1;
21498             description {
21499                state: "default" 0.0;
21500 //               min: 16 16;
21501                rel1 {
21502                   to_y:     "elm.swallow.icon";
21503                   relative: 0.0  1.0;
21504                   offset:   0 4;
21505                }
21506                rel2 {
21507                   relative: 1.0  1.0;
21508                   offset:   -5 -5;
21509                }
21510                color: 0 0 0 255;
21511                color3: 0 0 0 0;
21512                text {
21513                   font: "Sans";
21514                   size: 10;
21515                   min: 1 1;
21516 //                  min: 0 1;
21517                   align: 0.5 0.5;
21518                   text_class: "list_item";
21519                }
21520             }
21521             description { state: "selected" 0.0;
21522                inherit: "default" 0.0;
21523                color: 224 224 224 255;
21524                color3: 0 0 0 64;
21525             }
21526          }
21527          part { name: "fg1";
21528             clip_to: "disclip";
21529             mouse_events: 0;
21530             description { state: "default" 0.0;
21531                visible: 0;
21532                color: 255 255 255 0;
21533                rel1.to: "bg";
21534                rel2.relative: 1.0 0.5;
21535                rel2.to: "bg";
21536                image {
21537                   normal: "bt_sm_hilight.png";
21538                   border: 6 6 6 0;
21539                }
21540             }
21541             description { state: "selected" 0.0;
21542                inherit: "default" 0.0;
21543                visible: 1;
21544                color: 255 255 255 255;
21545             }
21546          }
21547          part { name: "fg2";
21548             clip_to: "disclip";
21549             mouse_events: 0;
21550             description { state: "default" 0.0;
21551                visible: 0;
21552                color: 255 255 255 0;
21553                rel1.to: "bg";
21554                rel2.to: "bg";
21555                image {
21556                   normal: "bt_sm_shine.png";
21557                   border: 6 6 6 0;
21558                }
21559             }
21560             description { state: "selected" 0.0;
21561                inherit: "default" 0.0;
21562                visible: 1;
21563                color: 255 255 255 255;
21564             }
21565          }
21566          part { name: "disclip";
21567             type: RECT;
21568             description { state: "default" 0.0;
21569                rel1.to: "bg";
21570                rel2.to: "bg";
21571             }
21572             description { state: "disabled" 0.0;
21573                inherit: "default" 0.0;
21574                color: 255 255 255 64;
21575             }
21576          }
21577       }
21578       programs {
21579          // signal: elm,state,%s,active
21580          //   a "check" item named %s went active
21581          // signal: elm,state,%s,passive
21582          //   a "check" item named %s went passive
21583          // default is passive
21584          program {
21585             name:    "go_active";
21586             signal:  "elm,state,selected";
21587             source:  "elm";
21588             action:  STATE_SET "selected" 0.0;
21589             target:  "bg";
21590             target:  "fg1";
21591             target:  "fg2";
21592             target:  "elm.text";
21593          }
21594          program {
21595             name:    "go_passive";
21596             signal:  "elm,state,unselected";
21597             source:  "elm";
21598             action:  STATE_SET "default" 0.0;
21599             target:  "bg";
21600             target:  "fg1";
21601             target:  "fg2";
21602             target:  "elm.text";
21603             transition: LINEAR 0.1;
21604          }
21605          program {
21606             name:    "go_disabled";
21607             signal:  "elm,state,disabled";
21608             source:  "elm";
21609             action:  STATE_SET "disabled" 0.0;
21610             target:  "disclip";
21611          }
21612          program {
21613             name:    "go_enabled";
21614             signal:  "elm,state,enabled";
21615             source:  "elm";
21616             action:  STATE_SET "default" 0.0;
21617             target:  "disclip";
21618          }
21619       }
21620    }
21621    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
21622       data.item: "stacking" "below";
21623       data.item: "selectraise" "on";
21624       data.item: "labels" "elm.text";
21625       data.item: "icons" "elm.swallow.icon";
21626       data.item: "treesize" "20";
21627 //      data.item: "states" "";
21628       images {
21629          image: "bt_sm_base1.png" COMP;
21630          image: "bt_sm_shine.png" COMP;
21631          image: "bt_sm_hilight.png" COMP;
21632          image: "ilist_2.png" COMP;
21633       }
21634       parts {
21635          part { name: "event";
21636             type: RECT;
21637             repeat_events: 1;
21638             description {
21639                state: "default" 0.0;
21640                color: 0 0 0 0;
21641             }
21642          }
21643          part {
21644             name: "base";
21645             mouse_events: 0;
21646             description {
21647                state: "default" 0.0;
21648                image {
21649                   normal: "ilist_2.png";
21650                   border: 2 2 2 2;
21651                }
21652                fill.smooth: 0;
21653             }
21654          }
21655          part { name: "bg";
21656             clip_to: "disclip";
21657             mouse_events: 0;
21658             description { state: "default" 0.0;
21659                visible: 0;
21660                color: 255 255 255 0;
21661                rel1 {
21662                   relative: 0.0 0.0;
21663                   offset: -5 -5;
21664                }
21665                rel2 {
21666                   relative: 1.0 1.0;
21667                   offset: 4 4;
21668                }
21669                image {
21670                   normal: "bt_sm_base1.png";
21671                   border: 6 6 6 6;
21672                }
21673                image.middle: SOLID;
21674             }
21675             description { state: "selected" 0.0;
21676                inherit: "default" 0.0;
21677                visible: 1;
21678                color: 255 255 255 255;
21679                rel1 {
21680                   relative: 0.0 0.0;
21681                   offset: -2 -2;
21682                }
21683                rel2 {
21684                   relative: 1.0 1.0;
21685                   offset: 1 1;
21686                }
21687             }
21688          }
21689          part { name: "elm.swallow.pad";
21690             type: SWALLOW;
21691             description { state: "default" 0.0;
21692                fixed: 1 0;
21693                align: 0.0 0.5;
21694                rel1 {
21695                   relative: 0.0  0.0;
21696                   offset:   4    4;
21697                }
21698                rel2 {
21699                   relative: 1.0  1.0;
21700                   offset:   -4   -5;
21701                }
21702             }
21703          }
21704          part { name: "elm.swallow.icon";
21705             clip_to: "disclip";
21706             type: SWALLOW;
21707             description { state: "default" 0.0;
21708                fixed: 1 0;
21709                align: 0.5 0.5;
21710                rel1 {
21711                   to_x: "elm.swallow.pad";
21712                   relative: 0.0  0.0;
21713                   offset:   -1    4;
21714                }
21715                rel2 {
21716                   to_x: "elm.swallow.pad";
21717                   relative: 1.0  1.0;
21718                   offset:   -1   -5;
21719                }
21720             }
21721          }
21722          part { name: "elm.text";
21723             clip_to: "disclip";
21724             type:           TEXT;
21725             effect:         SOFT_SHADOW;
21726             mouse_events:   0;
21727             scale: 1;
21728             description {
21729                state: "default" 0.0;
21730 //               min:      16 16;
21731                rel1 {
21732                   to_y:     "elm.swallow.icon";
21733                   relative: 0.0  1.0;
21734                   offset:   0 4;
21735                }
21736                rel2 {
21737                   relative: 1.0  1.0;
21738                   offset:   -5 -5;
21739                }
21740                color: 0 0 0 255;
21741                color3: 0 0 0 0;
21742                text {
21743                   font: "Sans";
21744                   size: 10;
21745                   min: 1 1;
21746 //                  min: 0 1;
21747                   align: 0.5 0.5;
21748                   text_class: "list_item";
21749                }
21750             }
21751             description { state: "selected" 0.0;
21752                inherit: "default" 0.0;
21753                color: 224 224 224 255;
21754                color3: 0 0 0 64;
21755             }
21756          }
21757          part { name: "fg1";
21758             clip_to: "disclip";
21759             mouse_events: 0;
21760             description { state: "default" 0.0;
21761                visible: 0;
21762                color: 255 255 255 0;
21763                rel1.to: "bg";
21764                rel2.relative: 1.0 0.5;
21765                rel2.to: "bg";
21766                image {
21767                   normal: "bt_sm_hilight.png";
21768                   border: 6 6 6 0;
21769                }
21770             }
21771             description { state: "selected" 0.0;
21772                inherit: "default" 0.0;
21773                visible: 1;
21774                color: 255 255 255 255;
21775             }
21776          }
21777          part { name: "fg2";
21778             clip_to: "disclip";
21779             mouse_events: 0;
21780             description { state: "default" 0.0;
21781                visible: 0;
21782                color: 255 255 255 0;
21783                rel1.to: "bg";
21784                rel2.to: "bg";
21785                image {
21786                   normal: "bt_sm_shine.png";
21787                   border: 6 6 6 0;
21788                }
21789             }
21790             description { state: "selected" 0.0;
21791                inherit: "default" 0.0;
21792                visible: 1;
21793                color: 255 255 255 255;
21794             }
21795          }
21796          part { name: "disclip";
21797             type: RECT;
21798             description { state: "default" 0.0;
21799                rel1.to: "bg";
21800                rel2.to: "bg";
21801             }
21802             description { state: "disabled" 0.0;
21803                inherit: "default" 0.0;
21804                color: 255 255 255 64;
21805             }
21806          }
21807       }
21808       programs {
21809          // signal: elm,state,%s,active
21810          //   a "check" item named %s went active
21811          // signal: elm,state,%s,passive
21812          //   a "check" item named %s went passive
21813          // default is passive
21814          program {
21815             name:    "go_active";
21816             signal:  "elm,state,selected";
21817             source:  "elm";
21818             action:  STATE_SET "selected" 0.0;
21819             target:  "bg";
21820             target:  "fg1";
21821             target:  "fg2";
21822             target:  "elm.text";
21823          }
21824          program {
21825             name:    "go_passive";
21826             signal:  "elm,state,unselected";
21827             source:  "elm";
21828             action:  STATE_SET "default" 0.0;
21829             target:  "bg";
21830             target:  "fg1";
21831             target:  "fg2";
21832             target:  "elm.text";
21833             transition: LINEAR 0.1;
21834          }
21835          program {
21836             name:    "go_disabled";
21837             signal:  "elm,state,disabled";
21838             source:  "elm";
21839             action:  STATE_SET "disabled" 0.0;
21840             target:  "disclip";
21841          }
21842          program {
21843             name:    "go_enabled";
21844             signal:  "elm,state,enabled";
21845             source:  "elm";
21846             action:  STATE_SET "default" 0.0;
21847             target:  "disclip";
21848          }
21849       }
21850    }
21851
21852    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
21853       data.item: "stacking" "above";
21854       data.item: "selectraise" "on";
21855       data.item: "labels" "elm.text";
21856       data.item: "icons" "elm.swallow.icon";
21857       data.item: "treesize" "20";
21858 //      data.item: "states" "";
21859       images {
21860          image: "bt_sm_base1.png" COMP;
21861          image: "bt_sm_shine.png" COMP;
21862          image: "bt_sm_hilight.png" COMP;
21863          image: "ilist_1.png" COMP;
21864          image: "ilist_item_shadow.png" COMP;
21865          image: "icon_arrow_right.png" COMP;
21866          image: "icon_arrow_down.png" COMP;
21867       }
21868       parts {
21869          part {
21870             name:           "event";
21871             type:           RECT;
21872             repeat_events: 1;
21873             description {
21874                state: "default" 0.0;
21875                color: 0 0 0 0;
21876             }
21877          }
21878          part {
21879             name: "base_sh";
21880             mouse_events: 0;
21881             description {
21882                state: "default" 0.0;
21883                align: 0.0 0.0;
21884                min: 0 10;
21885                fixed: 1 1;
21886                rel1 {
21887                   to: "base";
21888                   relative: 0.0 1.0;
21889                   offset: 0 0;
21890                }
21891                rel2 {
21892                   to: "base";
21893                   relative: 1.0 1.0;
21894                   offset: -1 0;
21895                }
21896                image {
21897                   normal: "ilist_item_shadow.png";
21898                }
21899                fill.smooth: 0;
21900             }
21901          }
21902          part {
21903             name: "base";
21904             mouse_events: 0;
21905             description {
21906                state: "default" 0.0;
21907                image {
21908                   normal: "ilist_1.png";
21909                   border: 2 2 2 2;
21910                }
21911                fill.smooth: 0;
21912             }
21913          }
21914          part { name: "bg";
21915             clip_to: "disclip";
21916             mouse_events: 0;
21917             description { state: "default" 0.0;
21918                visible: 0;
21919                color: 255 255 255 0;
21920                rel1 {
21921                   relative: 0.0 0.0;
21922                   offset: -5 -5;
21923                }
21924                rel2 {
21925                   relative: 1.0 1.0;
21926                   offset: 4 4;
21927                }
21928                image {
21929                   normal: "bt_sm_base1.png";
21930                   border: 6 6 6 6;
21931                }
21932                image.middle: SOLID;
21933             }
21934             description { state: "selected" 0.0;
21935                inherit: "default" 0.0;
21936                visible: 1;
21937                color: 255 255 255 255;
21938                rel1 {
21939                   relative: 0.0 0.0;
21940                   offset: -2 -2;
21941                }
21942                rel2 {
21943                   relative: 1.0 1.0;
21944                   offset: 1 1;
21945                }
21946             }
21947          }
21948          part { name: "elm.swallow.pad";
21949             type: SWALLOW;
21950             description { state: "default" 0.0;
21951                fixed: 1 0;
21952                align: 0.0 0.5;
21953                rel1 {
21954                   relative: 0.0  0.0;
21955                   offset:   4    4;
21956                }
21957                rel2 {
21958                   relative: 0.0  1.0;
21959                   offset:   4   -5;
21960                }
21961             }
21962          }
21963          part { name: "arrow";
21964             clip_to: "disclip";
21965             ignore_flags: ON_HOLD;
21966             description { state: "default" 0.0;
21967                fixed: 1 0;
21968                align: 0.0 0.5;
21969                aspect: 1.0 1.0;
21970                rel1 {
21971                   to_x: "elm.swallow.pad";
21972                   relative: 1.0  0.0;
21973                   offset:   -1    4;
21974                }
21975                rel2 {
21976                   to_x: "elm.swallow.pad";
21977                   relative: 1.0  1.0;
21978                   offset:   -1   -5;
21979                }
21980                image.normal: "icon_arrow_right.png";
21981             }
21982             description { state: "active" 0.0;
21983                inherit: "default" 0.0;
21984                image.normal: "icon_arrow_down.png";
21985             }
21986          }
21987          part { name: "elm.swallow.icon";
21988             clip_to: "disclip";
21989             type: SWALLOW;
21990             description { state: "default" 0.0;
21991                fixed: 1 0;
21992                align: 0.5 0.5;
21993                rel1 {
21994                   to_x: "arrow";
21995                   relative: 1.0  0.0;
21996                   offset:   4    4;
21997                }
21998                rel2 {
21999                   relative: 1.0  1.0;
22000                   offset:   -4   -5;
22001                }
22002             }
22003          }
22004          part { name: "elm.text";
22005             clip_to: "disclip";
22006             type:           TEXT;
22007             effect:         SOFT_SHADOW;
22008             mouse_events:   0;
22009             scale: 1;
22010             description {
22011                state: "default" 0.0;
22012 //               min: 16 16;
22013                rel1 {
22014                   to_y:     "elm.swallow.icon";
22015                   relative: 0.0  1.0;
22016                   offset:   0 4;
22017                }
22018                rel2 {
22019                   relative: 1.0  1.0;
22020                   offset:   -5 -5;
22021                }
22022                color: 0 0 0 255;
22023                color3: 0 0 0 0;
22024                text {
22025                   font: "Sans";
22026                   size: 10;
22027                   min: 1 1;
22028 //                  min: 0 1;
22029                   align: 0.5 0.5;
22030                   text_class: "list_item";
22031                }
22032             }
22033             description { state: "selected" 0.0;
22034                inherit: "default" 0.0;
22035                color: 224 224 224 255;
22036                color3: 0 0 0 64;
22037             }
22038          }
22039          part { name: "fg1";
22040             clip_to: "disclip";
22041             mouse_events: 0;
22042             description { state: "default" 0.0;
22043                visible: 0;
22044                color: 255 255 255 0;
22045                rel1.to: "bg";
22046                rel2.relative: 1.0 0.5;
22047                rel2.to: "bg";
22048                image {
22049                   normal: "bt_sm_hilight.png";
22050                   border: 6 6 6 0;
22051                }
22052             }
22053             description { state: "selected" 0.0;
22054                inherit: "default" 0.0;
22055                visible: 1;
22056                color: 255 255 255 255;
22057             }
22058          }
22059          part { name: "fg2";
22060             clip_to: "disclip";
22061             mouse_events: 0;
22062             description { state: "default" 0.0;
22063                visible: 0;
22064                color: 255 255 255 0;
22065                rel1.to: "bg";
22066                rel2.to: "bg";
22067                image {
22068                   normal: "bt_sm_shine.png";
22069                   border: 6 6 6 0;
22070                }
22071             }
22072             description { state: "selected" 0.0;
22073                inherit: "default" 0.0;
22074                visible: 1;
22075                color: 255 255 255 255;
22076             }
22077          }
22078          part { name: "disclip";
22079             type: RECT;
22080             description { state: "default" 0.0;
22081                rel1.to: "bg";
22082                rel2.to: "bg";
22083             }
22084             description { state: "disabled" 0.0;
22085                inherit: "default" 0.0;
22086                color: 255 255 255 64;
22087             }
22088          }
22089       }
22090       programs {
22091          // signal: elm,state,%s,active
22092          //   a "check" item named %s went active
22093          // signal: elm,state,%s,passive
22094          //   a "check" item named %s went passive
22095          // default is passive
22096          program {
22097             name:    "go_active";
22098             signal:  "elm,state,selected";
22099             source:  "elm";
22100             action:  STATE_SET "selected" 0.0;
22101             target:  "bg";
22102             target:  "fg1";
22103             target:  "fg2";
22104             target:  "elm.text";
22105          }
22106          program {
22107             name:    "go_passive";
22108             signal:  "elm,state,unselected";
22109             source:  "elm";
22110             action:  STATE_SET "default" 0.0;
22111             target:  "bg";
22112             target:  "fg1";
22113             target:  "fg2";
22114             target:  "elm.text";
22115             transition: LINEAR 0.1;
22116          }
22117          program {
22118             name:    "go_disabled";
22119             signal:  "elm,state,disabled";
22120             source:  "elm";
22121             action:  STATE_SET "disabled" 0.0;
22122             target:  "disclip";
22123          }
22124          program {
22125             name:    "go_enabled";
22126             signal:  "elm,state,enabled";
22127             source:  "elm";
22128             action:  STATE_SET "default" 0.0;
22129             target:  "disclip";
22130          }
22131          program {
22132             name:    "expand";
22133             signal:  "mouse,up,1";
22134             source:  "arrow";
22135             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22136          }
22137          program {
22138             name:    "go_expanded";
22139             signal:  "elm,state,expanded";
22140             source:  "elm";
22141             action:  STATE_SET "active" 0.0;
22142             target:  "arrow";
22143          }
22144          program {
22145             name:    "go_contracted";
22146             signal:  "elm,state,contracted";
22147             source:  "elm";
22148             action:  STATE_SET "default" 0.0;
22149             target:  "arrow";
22150          }
22151       }
22152    }
22153    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
22154       data.item: "stacking" "below";
22155       data.item: "selectraise" "on";
22156       data.item: "labels" "elm.text";
22157       data.item: "icons" "elm.swallow.icon";
22158       data.item: "treesize" "20";
22159 //      data.item: "states" "";
22160       images {
22161          image: "bt_sm_base1.png" COMP;
22162          image: "bt_sm_shine.png" COMP;
22163          image: "bt_sm_hilight.png" COMP;
22164          image: "ilist_2.png" COMP;
22165          image: "icon_arrow_right.png" COMP;
22166          image: "icon_arrow_down.png" COMP;
22167       }
22168       parts {
22169          part {
22170             name:           "event";
22171             type:           RECT;
22172             repeat_events: 1;
22173             description {
22174                state: "default" 0.0;
22175                color: 0 0 0 0;
22176             }
22177          }
22178          part {
22179             name: "base";
22180             mouse_events: 0;
22181             description {
22182                state: "default" 0.0;
22183                image {
22184                   normal: "ilist_2.png";
22185                   border: 2 2 2 2;
22186                }
22187                fill.smooth: 0;
22188             }
22189          }
22190          part { name: "bg";
22191             clip_to: "disclip";
22192             mouse_events: 0;
22193             description { state: "default" 0.0;
22194                visible: 0;
22195                color: 255 255 255 0;
22196                rel1 {
22197                   relative: 0.0 0.0;
22198                   offset: -5 -5;
22199                }
22200                rel2 {
22201                   relative: 1.0 1.0;
22202                   offset: 4 4;
22203                }
22204                image {
22205                   normal: "bt_sm_base1.png";
22206                   border: 6 6 6 6;
22207                }
22208                image.middle: SOLID;
22209             }
22210             description { state: "selected" 0.0;
22211                inherit: "default" 0.0;
22212                visible: 1;
22213                color: 255 255 255 255;
22214                rel1 {
22215                   relative: 0.0 0.0;
22216                   offset: -2 -2;
22217                }
22218                rel2 {
22219                   relative: 1.0 1.0;
22220                   offset: 1 1;
22221                }
22222             }
22223          }
22224          part { name: "elm.swallow.pad";
22225             type: SWALLOW;
22226             description { state: "default" 0.0;
22227                fixed: 1 0;
22228                align: 0.0 0.5;
22229                rel1 {
22230                   relative: 0.0  0.0;
22231                   offset:   4    4;
22232                }
22233                rel2 {
22234                   relative: 0.0  1.0;
22235                   offset:   4   -5;
22236                }
22237             }
22238          }
22239          part { name: "arrow";
22240             clip_to: "disclip";
22241             ignore_flags: ON_HOLD;
22242             description { state: "default" 0.0;
22243                fixed: 1 0;
22244                align: 0.0 0.5;
22245                aspect: 1.0 1.0;
22246                rel1 {
22247                   to_x: "elm.swallow.pad";
22248                   relative: 1.0  0.0;
22249                   offset:   -1    4;
22250                }
22251                rel2 {
22252                   to_x: "elm.swallow.pad";
22253                   relative: 1.0  1.0;
22254                   offset:   -1   -5;
22255                }
22256                image.normal: "icon_arrow_right.png";
22257             }
22258             description { state: "active" 0.0;
22259                inherit: "default" 0.0;
22260                image.normal: "icon_arrow_down.png";
22261             }
22262          }
22263          part { name: "elm.swallow.icon";
22264             clip_to: "disclip";
22265             type: SWALLOW;
22266             description { state: "default" 0.0;
22267                fixed: 1 0;
22268                align: 0.5 0.5;
22269                rel1 {
22270                   to_x: "arrow";
22271                   relative: 1.0  0.0;
22272                   offset:   4    4;
22273                }
22274                rel2 {
22275                   relative: 1.0  1.0;
22276                   offset:   -4   -5;
22277                }
22278             }
22279          }
22280          part { name: "elm.text";
22281             clip_to: "disclip";
22282             type:           TEXT;
22283             effect:         SOFT_SHADOW;
22284             mouse_events:   0;
22285             scale: 1;
22286             description {
22287                state: "default" 0.0;
22288 //               min: 16 16;
22289                rel1 {
22290                   to_y:     "elm.swallow.icon";
22291                   relative: 0.0  1.0;
22292                   offset:   0 4;
22293                }
22294                rel2 {
22295                   relative: 1.0  1.0;
22296                   offset:   -5 -5;
22297                }
22298                color: 0 0 0 255;
22299                color3: 0 0 0 0;
22300                text {
22301                   font: "Sans";
22302                   size: 10;
22303                   min: 1 1;
22304 //                  min: 0 1;
22305                   align: 0.5 0.5;
22306                   text_class: "list_item";
22307                }
22308             }
22309             description { state: "selected" 0.0;
22310                inherit: "default" 0.0;
22311                color: 224 224 224 255;
22312                color3: 0 0 0 64;
22313             }
22314          }
22315          part { name: "fg1";
22316             clip_to: "disclip";
22317             mouse_events: 0;
22318             description { state: "default" 0.0;
22319                visible: 0;
22320                color: 255 255 255 0;
22321                rel1.to: "bg";
22322                rel2.relative: 1.0 0.5;
22323                rel2.to: "bg";
22324                image {
22325                   normal: "bt_sm_hilight.png";
22326                   border: 6 6 6 0;
22327                }
22328             }
22329             description { state: "selected" 0.0;
22330                inherit: "default" 0.0;
22331                visible: 1;
22332                color: 255 255 255 255;
22333             }
22334          }
22335          part { name: "fg2";
22336             clip_to: "disclip";
22337             mouse_events: 0;
22338             description { state: "default" 0.0;
22339                visible: 0;
22340                color: 255 255 255 0;
22341                rel1.to: "bg";
22342                rel2.to: "bg";
22343                image {
22344                   normal: "bt_sm_shine.png";
22345                   border: 6 6 6 0;
22346                }
22347             }
22348             description { state: "selected" 0.0;
22349                inherit: "default" 0.0;
22350                visible: 1;
22351                color: 255 255 255 255;
22352             }
22353          }
22354          part { name: "disclip";
22355             type: RECT;
22356             description { state: "default" 0.0;
22357                rel1.to: "bg";
22358                rel2.to: "bg";
22359             }
22360             description { state: "disabled" 0.0;
22361                inherit: "default" 0.0;
22362                color: 255 255 255 64;
22363             }
22364          }
22365       }
22366       programs {
22367          // signal: elm,state,%s,active
22368          //   a "check" item named %s went active
22369          // signal: elm,state,%s,passive
22370          //   a "check" item named %s went passive
22371          // default is passive
22372          program {
22373             name:    "go_active";
22374             signal:  "elm,state,selected";
22375             source:  "elm";
22376             action:  STATE_SET "selected" 0.0;
22377             target:  "bg";
22378             target:  "fg1";
22379             target:  "fg2";
22380             target:  "elm.text";
22381          }
22382          program {
22383             name:    "go_passive";
22384             signal:  "elm,state,unselected";
22385             source:  "elm";
22386             action:  STATE_SET "default" 0.0;
22387             target:  "bg";
22388             target:  "fg1";
22389             target:  "fg2";
22390             target:  "elm.text";
22391             transition: LINEAR 0.1;
22392          }
22393          program {
22394             name:    "go_disabled";
22395             signal:  "elm,state,disabled";
22396             source:  "elm";
22397             action:  STATE_SET "disabled" 0.0;
22398             target:  "disclip";
22399          }
22400          program {
22401             name:    "go_enabled";
22402             signal:  "elm,state,enabled";
22403             source:  "elm";
22404             action:  STATE_SET "default" 0.0;
22405             target:  "disclip";
22406          }
22407          program {
22408             name:    "expand";
22409             signal:  "mouse,up,1";
22410             source:  "arrow";
22411             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22412          }
22413          program {
22414             name:    "go_expanded";
22415             signal:  "elm,state,expanded";
22416             source:  "elm";
22417             action:  STATE_SET "active" 0.0;
22418             target:  "arrow";
22419          }
22420          program {
22421             name:    "go_contracted";
22422             signal:  "elm,state,contracted";
22423             source:  "elm";
22424             action:  STATE_SET "default" 0.0;
22425             target:  "arrow";
22426          }
22427       }
22428    }
22429
22430
22431 ///////////////////////////////////////////////////////////////////////////////
22432    group { name: "elm/check/base/default";
22433       images {
22434          image: "check_base.png" COMP;
22435          image: "check.png" COMP;
22436          image: "check2.png" COMP;
22437       }
22438       parts {
22439          part { name: "bg";
22440             mouse_events: 0;
22441             scale: 1;
22442             description { state: "default" 0.0;
22443                rel1.offset: 1 1;
22444                rel2.relative: 0.0 1.0;
22445                rel2.offset: 1 -2;
22446                align: 0.0 0.5;
22447                min: 16 16;
22448                max: 16 16;
22449                aspect: 1.0 1.0;
22450                aspect_preference: VERTICAL;
22451                image {
22452                   normal: "check_base.png";
22453                   border: 5 5 5 5;
22454                   middle: 0;
22455                }
22456                fill.smooth : 0;
22457             }
22458          }
22459          part { name: "check";
22460             mouse_events: 0;
22461             scale: 1;
22462             description { state: "default" 0.0;
22463                rel1 {
22464                   to: "bg";
22465                   offset: 1 1;
22466                }
22467                rel2 {
22468                   to: "bg";
22469                   offset: -2 -2;
22470                }
22471                visible: 0;
22472                color: 255 255 255 255;
22473                image.normal: "check.png";
22474             }
22475             description { state: "visible" 0.0;
22476                inherit: "default" 0.0;
22477                visible: 1;
22478             }
22479             description { state: "disabled" 0.0;
22480                inherit: "default" 0.0;
22481                visible: 0;
22482                color: 128 128 128 128;
22483             }
22484             description { state: "disabled_visible" 0.0;
22485                inherit: "default" 0.0;
22486                color: 128 128 128 128;
22487                visible: 1;
22488             }
22489          }
22490          part { name: "elm.swallow.content";
22491             type: SWALLOW;
22492             description { state: "default" 0.0;
22493                fixed: 1 0;
22494                visible: 0;
22495                align: 0.0 0.5;
22496           rel1.to_x: "bg";
22497                rel1.relative: 1.0 0.0;
22498                rel1.offset: 1 1;
22499           rel2.to_x: "bg";
22500                rel2.offset: 1 -2;
22501                rel2.relative: 1.0 1.0;
22502             }
22503             description { state: "visible" 0.0;
22504                inherit: "default" 0.0;
22505           fixed: 1 0;
22506                visible: 1;
22507                aspect: 1.0 1.0;
22508             }
22509             description { state: "disabled" 0.0;
22510                inherit: "default" 0.0;
22511                color: 128 128 128 128;
22512             }
22513             description { state: "disabled_visible" 0.0;
22514                inherit: "default" 0.0;
22515                color: 128 128 128 128;
22516           fixed: 1 0;
22517                visible: 1;
22518                aspect: 1.0 1.0;
22519             }
22520          }
22521          part { name: "elm.text";
22522             type: TEXT;
22523             mouse_events: 0;
22524             scale: 1;
22525             description { state: "default" 0.0;
22526                visible: 0;
22527                rel1.to_x: "elm.swallow.content";
22528                rel1.relative: 1.0 0.0;
22529                rel1.offset: 1 1;
22530                rel2.relative: 1.0 1.0;
22531                rel2.offset: -2 -2;
22532                color: 0 0 0 255;
22533                text {
22534                   font: "Sans,Edje-Vera";
22535                   size: 10;
22536                   min: 0 1;
22537                   align: 0.0 0.5;
22538                }
22539             }
22540             description { state: "visible" 0.0;
22541                inherit: "default" 0.0;
22542                visible: 1;
22543                text.min: 1 1;
22544             }
22545             description { state: "disabled" 0.0;
22546                inherit: "default" 0.0;
22547                color: 0 0 0 128;
22548                color3: 0 0 0 0;
22549             }
22550             description { state: "disabled_visible" 0.0;
22551                inherit: "default" 0.0;
22552                color: 0 0 0 128;
22553                color3: 0 0 0 0;
22554                visible: 1;
22555                text.min: 1 1;
22556             }
22557          }
22558          part { name: "events";
22559             type: RECT;
22560             ignore_flags: ON_HOLD;
22561             description { state: "default" 0.0;
22562                color: 0 0 0 0;
22563             }
22564          }
22565           part { name: "disabler";
22566             type: RECT;
22567             description { state: "default" 0.0;
22568                color: 0 0 0 0;
22569                visible: 0;
22570             }
22571             description { state: "disabled" 0.0;
22572                inherit: "default" 0.0;
22573                visible: 1;
22574             }
22575          }
22576       }
22577       programs {
22578          program { name: "click";
22579             signal: "mouse,up,1";
22580             source: "events";
22581             action: SIGNAL_EMIT "elm,action,check,toggle" "";
22582          }
22583          program { name: "check_on";
22584             signal: "elm,state,check,on";
22585             source: "elm";
22586             action:  STATE_SET "visible" 0.0;
22587             target: "check";
22588          }
22589          program { name: "check_off";
22590             signal: "elm,state,check,off";
22591             source: "elm";
22592             action:  STATE_SET "default" 0.0;
22593             target: "check";
22594          }
22595          program { name: "text_show";
22596             signal: "elm,state,text,visible";
22597             source: "elm";
22598             action:  STATE_SET "visible" 0.0;
22599             target: "elm.text";
22600          }
22601          program { name: "text_hide";
22602             signal: "elm,state,text,hidden";
22603             source: "elm";
22604             action:  STATE_SET "default" 0.0;
22605             target: "elm.text";
22606          }
22607          program { name: "icon_show";
22608             signal: "elm,state,icon,visible";
22609             source: "elm";
22610             action:  STATE_SET "visible" 0.0;
22611             target: "elm.swallow.content";
22612          }
22613          program { name: "icon_hide";
22614             signal: "elm,state,icon,hidden";
22615             source: "elm";
22616             action:  STATE_SET "default" 0.0;
22617             target: "elm.swallow.content";
22618          }
22619          program { name: "disable";
22620             signal: "elm,state,disabled";
22621             source: "elm";
22622             action: STATE_SET "disabled" 0.0;
22623             target: "disabler";
22624             after: "disable_text";
22625          }
22626          program { name: "disable_text";
22627             script {
22628                new st[31];
22629                new Float:vl;
22630                get_state(PART:"elm.text", st, 30, vl);
22631                if (!strcmp(st, "visible"))
22632                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22633                else
22634                  set_state(PART:"elm.text", "disabled", 0.0);
22635
22636                get_state(PART:"elm.swallow.content", st, 30, vl);
22637                if (!strcmp(st, "visible"))
22638                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22639                else
22640                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22641
22642                get_state(PART:"check", st, 30, vl);
22643                if (!strcmp(st, "visible"))
22644                  set_state(PART:"check", "disabled_visible", 0.0);
22645                else
22646                  set_state(PART:"check", "disabled", 0.0);
22647             }
22648          }
22649          program { name: "enable";
22650             signal: "elm,state,enabled";
22651             source: "elm";
22652             action: STATE_SET "default" 0.0;
22653             target: "disabler";
22654             after: "enable_text";
22655          }
22656          program { name: "enable_text";
22657             script {
22658                new st[31];
22659                new Float:vl;
22660                get_state(PART:"elm.text", st, 30, vl);
22661                if (!strcmp(st, "disabled_visible"))
22662                  set_state(PART:"elm.text", "visible", 0.0);
22663                else
22664                  set_state(PART:"elm.text", "default", 0.0);
22665
22666                get_state(PART:"elm.swallow.content", st, 30, vl);
22667                if (!strcmp(st, "visible"))
22668                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22669                else
22670                  set_state(PART:"elm.swallow.content", "default", 0.0);
22671
22672                get_state(PART:"check", st, 30, vl);
22673                if (!strcmp(st, "visible"))
22674                  set_state(PART:"check", "visible", 0.0);
22675                else
22676                  set_state(PART:"check", "default", 0.0);
22677             }
22678          }
22679       }
22680    }
22681 ///////////////////////////////////////////////////////////////////////////////
22682    group { name: "elm/radio/base/default";
22683       images {
22684          image: "radio_base.png" COMP;
22685          image: "radio.png" COMP;
22686          image: "radio2.png" COMP;
22687       }
22688       parts {
22689          part { name: "bg";
22690             mouse_events: 0;
22691             scale: 1;
22692             description { state: "default" 0.0;
22693                rel1.offset: 1 1;
22694                rel2.relative: 0.0 1.0;
22695                rel2.offset: 1 -2;
22696                align: 0.0 0.5;
22697                min: 16 16;
22698                max: 16 16;
22699                aspect: 1.0 1.0;
22700                aspect_preference: VERTICAL;
22701                image.normal: "radio_base.png";
22702             }
22703          }
22704          part { name: "radio";
22705             mouse_events: 0;
22706             scale: 1;
22707             description { state: "default" 0.0;
22708                rel1.to: "bg";
22709                rel2.to: "bg";
22710                visible: 0;
22711                image.normal: "radio.png";
22712             }
22713             description { state: "visible" 0.0;
22714                inherit: "default" 0.0;
22715                visible: 1;
22716             }
22717          }
22718          part { name: "elm.swallow.content";
22719             type: SWALLOW;
22720             description { state: "default" 0.0;
22721                fixed: 1 0;
22722                visible: 0;
22723                align: 0.0 0.5;
22724                color: 0 0 0 0;
22725                rel1.to_x: "bg";
22726                rel1.relative: 1.0 0.0;
22727                rel1.offset: 1 1;
22728                rel2.to_x: "bg";
22729                rel2.relative: 1.0 1.0;
22730                rel2.offset: 2 -2;
22731             }
22732             description { state: "visible" 0.0;
22733                inherit: "default" 0.0;
22734                visible: 1;
22735                color: 255 255 255 255;
22736                aspect: 1.0 1.0;
22737             }
22738             description { state: "disabled" 0.0;
22739                inherit: "default" 0.0;
22740                color: 128 128 128 128;
22741             }
22742             description { state: "disabled_visible" 0.0;
22743                inherit: "default" 0.0;
22744                color: 128 128 128 128;
22745                visible: 1;
22746                aspect: 1.0 1.0;
22747             }
22748          }
22749          part { name: "elm.text";
22750             type: TEXT;
22751             mouse_events: 0;
22752             scale: 1;
22753             description { state: "default" 0.0;
22754                visible: 0;
22755                rel1.to_x: "elm.swallow.content";
22756                rel1.relative: 1.0 0.0;
22757                rel1.offset: 1 1;
22758                rel2.relative: 1.0 1.0;
22759                rel2.offset: -2 -2;
22760                color: 0 0 0 255;
22761                text {
22762                   font: "Sans,Edje-Vera";
22763                   size: 10;
22764                   min: 0 0;
22765                   align: 0.0 0.5;
22766                }
22767             }
22768             description { state: "visible" 0.0;
22769                inherit: "default" 0.0;
22770                visible: 1;
22771                text.min: 1 1;
22772             }
22773             description { state: "disabled" 0.0;
22774                inherit: "default" 0.0;
22775                color: 0 0 0 128;
22776                color3: 0 0 0 0;
22777             }
22778             description { state: "disabled_visible" 0.0;
22779                inherit: "default" 0.0;
22780                color: 0 0 0 128;
22781                color3: 0 0 0 0;
22782                visible: 1;
22783                text.min: 1 1;
22784             }
22785          }
22786          part { name: "events";
22787             type: RECT;
22788             ignore_flags: ON_HOLD;
22789             description { state: "default" 0.0;
22790                color: 0 0 0 0;
22791             }
22792          }
22793           part { name: "disabler";
22794             type: RECT;
22795             description { state: "default" 0.0;
22796                color: 0 0 0 0;
22797                visible: 0;
22798             }
22799             description { state: "disabled" 0.0;
22800                inherit: "default" 0.0;
22801                visible: 1;
22802             }
22803          }
22804       }
22805       programs {
22806          program { name: "click";
22807             signal: "mouse,up,1";
22808             source: "events";
22809             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
22810          }
22811          program { name: "radio_on";
22812             signal: "elm,state,radio,on";
22813             source: "elm";
22814             action:  STATE_SET "visible" 0.0;
22815             target: "radio";
22816          }
22817          program { name: "radio_off";
22818             signal: "elm,state,radio,off";
22819             source: "elm";
22820             action:  STATE_SET "default" 0.0;
22821             target: "radio";
22822          }
22823          program { name: "text_show";
22824             signal: "elm,state,text,visible";
22825             source: "elm";
22826             action:  STATE_SET "visible" 0.0;
22827             target: "elm.text";
22828          }
22829          program { name: "text_hide";
22830             signal: "elm,state,text,hidden";
22831             source: "elm";
22832             action:  STATE_SET "default" 0.0;
22833             target: "elm.text";
22834          }
22835          program { name: "icon_show";
22836             signal: "elm,state,icon,visible";
22837             source: "elm";
22838             action:  STATE_SET "visible" 0.0;
22839             target: "elm.swallow.content";
22840          }
22841          program { name: "icon_hide";
22842             signal: "elm,state,icon,hidden";
22843             source: "elm";
22844             action:  STATE_SET "default" 0.0;
22845             target: "elm.swallow.content";
22846          }
22847          program { name: "disable";
22848             signal: "elm,state,disabled";
22849             source: "elm";
22850             action: STATE_SET "disabled" 0.0;
22851             target: "disabler";
22852             after: "disable_text";
22853          }
22854          program { name: "disable_text";
22855             script {
22856                new st[31];
22857                new Float:vl;
22858                get_state(PART:"elm.text", st, 30, vl);
22859                if (!strcmp(st, "visible"))
22860                  set_state(PART:"elm.text", "disabled_visible", 0.0);
22861                else
22862                  set_state(PART:"elm.text", "disabled", 0.0);
22863
22864                get_state(PART:"elm.swallow.content", st, 30, vl);
22865                if (!strcmp(st, "visible"))
22866                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
22867                else
22868                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
22869             }
22870          }
22871          program { name: "enable";
22872             signal: "elm,state,enabled";
22873             source: "elm";
22874             action: STATE_SET "default" 0.0;
22875             target: "disabler";
22876             after: "enable_text";
22877          }
22878          program { name: "enable_text";
22879             script {
22880                new st[31];
22881                new Float:vl;
22882                get_state(PART:"elm.text", st, 30, vl);
22883                if (!strcmp(st, "disabled_visible"))
22884                  set_state(PART:"elm.text", "visible", 0.0);
22885                else
22886                  set_state(PART:"elm.text", "default", 0.0);
22887
22888                get_state(PART:"elm.swallow.content", st, 30, vl);
22889                if (!strcmp(st, "visible"))
22890                  set_state(PART:"elm.swallow.content", "visible", 0.0);
22891                else
22892                  set_state(PART:"elm.swallow.content", "default", 0.0);
22893             }
22894          }
22895       }
22896    }
22897    group { name: "elm/genlist/tree_compress_odd/double_label/default";
22898       data.item: "stacking" "below";
22899       data.item: "selectraise" "on";
22900       data.item: "labels" "elm.text elm.text.sub";
22901       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22902       data.item: "treesize" "20";
22903 //      data.item: "states" "";
22904       images {
22905          image: "bt_sm_base1.png" COMP;
22906          image: "bt_sm_shine.png" COMP;
22907          image: "bt_sm_hilight.png" COMP;
22908          image: "ilist_2.png" COMP;
22909          image: "icon_arrow_right.png" COMP;
22910          image: "icon_arrow_down.png" COMP;
22911       }
22912       parts {
22913          part {
22914             name:           "event";
22915             type:           RECT;
22916             repeat_events: 1;
22917             description {
22918                state: "default" 0.0;
22919                color: 0 0 0 0;
22920             }
22921          }
22922          part {
22923             name: "base";
22924             mouse_events: 0;
22925             description {
22926                state: "default" 0.0;
22927                image {
22928                   normal: "ilist_2.png";
22929                   border: 2 2 2 2;
22930                }
22931                fill.smooth: 0;
22932             }
22933          }
22934          part { name: "bg";
22935             clip_to: "disclip";
22936             mouse_events: 0;
22937             description { state: "default" 0.0;
22938                visible: 0;
22939                color: 255 255 255 0;
22940                rel1 {
22941                   relative: 0.0 0.0;
22942                   offset: -5 -5;
22943                }
22944                rel2 {
22945                   relative: 1.0 1.0;
22946                   offset: 4 4;
22947                }
22948                image {
22949                   normal: "bt_sm_base1.png";
22950                   border: 6 6 6 6;
22951                }
22952                image.middle: SOLID;
22953             }
22954             description { state: "selected" 0.0;
22955                inherit: "default" 0.0;
22956                visible: 1;
22957                color: 255 255 255 255;
22958                rel1 {
22959                   relative: 0.0 0.0;
22960                   offset: -2 -2;
22961                }
22962                rel2 {
22963                   relative: 1.0 1.0;
22964                   offset: 1 1;
22965                }
22966             }
22967          }
22968          part { name: "elm.swallow.pad";
22969             type: SWALLOW;
22970             description { state: "default" 0.0;
22971                fixed: 1 0;
22972                align: 0.0 0.5;
22973                rel1 {
22974                   relative: 0.0  0.0;
22975                   offset:   4    4;
22976                }
22977                rel2 {
22978                   relative: 0.0  1.0;
22979                   offset:   4   -5;
22980                }
22981             }
22982          }
22983          part { name: "arrow";
22984             clip_to: "disclip";
22985             ignore_flags: ON_HOLD;
22986             description { state: "default" 0.0;
22987                fixed: 1 0;
22988                align: 0.0 0.5;
22989                aspect: 1.0 1.0;
22990                rel1 {
22991                   to_x: "elm.swallow.pad";
22992                   relative: 1.0  0.0;
22993                   offset:   -1    4;
22994                }
22995                rel2 {
22996                   to_x: "elm.swallow.pad";
22997                   relative: 1.0  1.0;
22998                   offset:   -1   -5;
22999                }
23000                image.normal: "icon_arrow_right.png";
23001             }
23002             description { state: "active" 0.0;
23003                inherit: "default" 0.0;
23004                image.normal: "icon_arrow_down.png";
23005             }
23006          }
23007          part { name: "elm.swallow.icon";
23008             clip_to: "disclip";
23009             type: SWALLOW;
23010             description { state: "default" 0.0;
23011                fixed: 1 0;
23012                align: 0.0 0.5;
23013                rel1 {
23014                   to_x: "arrow";
23015                   relative: 1.0  0.0;
23016                   offset:   4    4;
23017                }
23018                rel2 {
23019                   to_x: "arrow";
23020                   relative: 1.0  1.0;
23021                   offset:   4   -5;
23022                }
23023             }
23024          }
23025          part { name: "elm.swallow.end";
23026             clip_to: "disclip";
23027             type: SWALLOW;
23028             description { state: "default" 0.0;
23029                fixed: 1 0;
23030                align: 1.0 0.5;
23031                aspect: 1.0 1.0;
23032                aspect_preference: VERTICAL;
23033                rel1 {
23034                   relative: 1.0  0.0;
23035                   offset:   -5    4;
23036                }
23037                rel2 {
23038                   relative: 1.0  1.0;
23039                   offset:   -5   -5;
23040                }
23041             }
23042          }
23043          part { name: "elm.text";
23044             clip_to: "disclip";
23045             type:           TEXT;
23046             effect:         SOFT_SHADOW;
23047             mouse_events:   0;
23048             scale: 1;
23049             description {
23050                state: "default" 0.0;
23051 //               min: 16 16;
23052                rel1 {
23053                   to_x:     "elm.swallow.icon";
23054                   relative: 1.0  0.0;
23055                   offset:   0 4;
23056                }
23057                rel2 {
23058                   to_x:     "elm.swallow.end";
23059                   relative: 0.0  0.5;
23060                   offset:   -1 -5;
23061                }
23062                color: 0 0 0 255;
23063                color3: 0 0 0 0;
23064                text {
23065                   font: "Sans";
23066                   size: 10;
23067 //                  min: 1 1;
23068                   min: 0 1;
23069                   align: 0.0 0.5;
23070                   text_class: "list_item";
23071                }
23072             }
23073             description { state: "selected" 0.0;
23074                inherit: "default" 0.0;
23075                color: 224 224 224 255;
23076                color3: 0 0 0 64;
23077             }
23078          }
23079          part { name: "elm.text.sub";
23080             clip_to: "disclip";
23081             type:           TEXT;
23082             mouse_events:   0;
23083             scale: 1;
23084             description {
23085                state: "default" 0.0;
23086 //               min: 16 16;
23087                rel1 {
23088                   to_x:     "elm.swallow.icon";
23089                   relative: 1.0  0.5;
23090                   offset:   0 4;
23091                }
23092                rel2 {
23093                   to_x:     "elm.swallow.end";
23094                   relative: 0.0  1.0;
23095                   offset:   -1 -5;
23096                }
23097                color: 0 0 0 128;
23098                color3: 0 0 0 0;
23099                text {
23100                   font: "Sans";
23101                   size: 8;
23102 //                  min: 1 1;
23103                   min: 0 1;
23104                   align: 0.0 0.5;
23105                   text_class: "list_item";
23106                }
23107             }
23108             description { state: "selected" 0.0;
23109                inherit: "default" 0.0;
23110                color: 128 128 128 255;
23111                color3: 0 0 0 32;
23112             }
23113          }
23114          part { name: "fg1";
23115             clip_to: "disclip";
23116             mouse_events: 0;
23117             description { state: "default" 0.0;
23118                visible: 0;
23119                color: 255 255 255 0;
23120                rel1.to: "bg";
23121                rel2.relative: 1.0 0.5;
23122                rel2.to: "bg";
23123                image {
23124                   normal: "bt_sm_hilight.png";
23125                   border: 6 6 6 0;
23126                }
23127             }
23128             description { state: "selected" 0.0;
23129                inherit: "default" 0.0;
23130                visible: 1;
23131                color: 255 255 255 255;
23132             }
23133          }
23134          part { name: "fg2";
23135             clip_to: "disclip";
23136             mouse_events: 0;
23137             description { state: "default" 0.0;
23138                visible: 0;
23139                color: 255 255 255 0;
23140                rel1.to: "bg";
23141                rel2.to: "bg";
23142                image {
23143                   normal: "bt_sm_shine.png";
23144                   border: 6 6 6 0;
23145                }
23146             }
23147             description { state: "selected" 0.0;
23148                inherit: "default" 0.0;
23149                visible: 1;
23150                color: 255 255 255 255;
23151             }
23152          }
23153          part { name: "disclip";
23154             type: RECT;
23155             description { state: "default" 0.0;
23156                rel1.to: "bg";
23157                rel2.to: "bg";
23158             }
23159             description { state: "disabled" 0.0;
23160                inherit: "default" 0.0;
23161                color: 255 255 255 64;
23162             }
23163          }
23164       }
23165       programs {
23166          // signal: elm,state,%s,active
23167          //   a "check" item named %s went active
23168          // signal: elm,state,%s,passive
23169          //   a "check" item named %s went passive
23170          // default is passive
23171          program {
23172             name:    "go_active";
23173             signal:  "elm,state,selected";
23174             source:  "elm";
23175             action:  STATE_SET "selected" 0.0;
23176             target:  "bg";
23177             target:  "fg1";
23178             target:  "fg2";
23179             target:  "elm.text";
23180             target:  "elm.text.sub";
23181          }
23182          program {
23183             name:    "go_passive";
23184             signal:  "elm,state,unselected";
23185             source:  "elm";
23186             action:  STATE_SET "default" 0.0;
23187             target:  "bg";
23188             target:  "fg1";
23189             target:  "fg2";
23190             target:  "elm.text";
23191             target:  "elm.text.sub";
23192             transition: LINEAR 0.1;
23193          }
23194          program {
23195             name:    "go_disabled";
23196             signal:  "elm,state,disabled";
23197             source:  "elm";
23198             action:  STATE_SET "disabled" 0.0;
23199             target:  "disclip";
23200          }
23201          program {
23202             name:    "go_enabled";
23203             signal:  "elm,state,enabled";
23204             source:  "elm";
23205             action:  STATE_SET "default" 0.0;
23206             target:  "disclip";
23207          }
23208          program {
23209             name:    "expand";
23210             signal:  "mouse,up,1";
23211             source:  "arrow";
23212             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23213          }
23214          program {
23215             name:    "go_expanded";
23216             signal:  "elm,state,expanded";
23217             source:  "elm";
23218             action:  STATE_SET "active" 0.0;
23219             target:  "arrow";
23220          }
23221          program {
23222             name:    "go_contracted";
23223             signal:  "elm,state,contracted";
23224             source:  "elm";
23225             action:  STATE_SET "default" 0.0;
23226             target:  "arrow";
23227          }
23228       }
23229    }
23230
23231    group { name: "elm/genlist/item_compress/media/default";
23232       data.item: "stacking" "above";
23233       data.item: "selectraise" "on";
23234       data.item: "labels" "elm.text.title elm.text.album-artist";
23235       data.item: "treesize" "20";
23236       images {
23237          image: "bt_sm_base1.png" COMP;
23238          image: "bt_sm_shine.png" COMP;
23239          image: "bt_sm_hilight.png" COMP;
23240          image: "ilist_1.png" COMP;
23241          image: "ilist_item_shadow.png" COMP;
23242       }
23243       parts {
23244          part {
23245             name:           "event";
23246             type:           RECT;
23247             repeat_events: 1;
23248             description {
23249                state: "default" 0.0;
23250                color: 0 0 0 0;
23251             }
23252          }
23253          part {
23254             name: "base_sh";
23255             mouse_events: 0;
23256             description {
23257                state: "default" 0.0;
23258                align: 0.0 0.0;
23259                min: 0 10;
23260                fixed: 1 1;
23261                rel1 {
23262                   to: "base";
23263                   relative: 0.0 1.0;
23264                   offset: 0 0;
23265                }
23266                rel2 {
23267                   to: "base";
23268                   relative: 1.0 1.0;
23269                   offset: -1 0;
23270                }
23271                image {
23272                   normal: "ilist_item_shadow.png";
23273                }
23274                fill.smooth: 0;
23275             }
23276          }
23277          part {
23278             name: "base";
23279             mouse_events: 0;
23280             description {
23281                state: "default" 0.0;
23282                image {
23283                   normal: "ilist_1.png";
23284                   border: 2 2 2 2;
23285                }
23286                fill.smooth: 0;
23287             }
23288          }
23289          part { name: "bg";
23290             clip_to: "disclip";
23291             mouse_events: 0;
23292             description { state: "default" 0.0;
23293                visible: 0;
23294                color: 255 255 255 0;
23295                rel1 {
23296                   relative: 0.0 0.0;
23297                   offset: -5 -5;
23298                }
23299                rel2 {
23300                   relative: 1.0 1.0;
23301                   offset: 4 4;
23302                }
23303                image {
23304                   normal: "bt_sm_base1.png";
23305                   border: 6 6 6 6;
23306                }
23307                image.middle: SOLID;
23308             }
23309             description { state: "selected" 0.0;
23310                inherit: "default" 0.0;
23311                visible: 1;
23312                color: 255 255 255 255;
23313                rel1 {
23314                   relative: 0.0 0.0;
23315                   offset: -2 -2;
23316                }
23317                rel2 {
23318                   relative: 1.0 1.0;
23319                   offset: 1 1;
23320                }
23321             }
23322          }
23323          part { name: "elm.swallow.pad";
23324             type: SWALLOW;
23325             description { state: "default" 0.0;
23326                fixed: 1 0;
23327                align: 0.0 0.5;
23328                rel1 {
23329                   relative: 0.0  0.0;
23330                   offset:   4    4;
23331                }
23332                rel2 {
23333                   relative: 0.0  1.0;
23334                   offset:   4   -5;
23335                }
23336             }
23337          }
23338          part { name: "elm.text.title";
23339             clip_to: "disclip";
23340             type:           TEXT;
23341             effect:         SOFT_SHADOW;
23342             mouse_events:   0;
23343             scale: 1;
23344             description {
23345                state: "default" 0.0;
23346                rel1 {
23347                   relative: 0.0  0.0;
23348                   offset:   4 4;
23349                }
23350                rel2 {
23351                   relative: 1.0  0.5;
23352                   offset:   -1 -5;
23353                }
23354                color: 0 0 0 255;
23355                color3: 0 0 0 0;
23356                text {
23357                   font: "Sans";
23358                   size: 10;
23359                   min: 0 1;
23360                   align: 0.0 0.5;
23361                }
23362             }
23363             description { state: "selected" 0.0;
23364                inherit: "default" 0.0;
23365                color: 224 224 224 255;
23366                color3: 0 0 0 64;
23367             }
23368          }
23369          part { name: "elm.text.album-artist";
23370             clip_to: "disclip";
23371             type:           TEXT;
23372             mouse_events:   0;
23373             scale: 1;
23374             description {
23375                state: "default" 0.0;
23376                rel1 {
23377                   relative: 0.0  0.5;
23378                   offset:   4 4;
23379                }
23380                rel2 {
23381                   relative: 1.0  1.0;
23382                   offset:   -1 -5;
23383                }
23384                color: 0 0 0 128;
23385                color3: 0 0 0 0;
23386                text {
23387                   font: "Sans";
23388                   size: 8;
23389                   min: 0 1;
23390                   align: 0.0 0.5;
23391                }
23392             }
23393             description { state: "selected" 0.0;
23394                inherit: "default" 0.0;
23395                color: 128 128 128 255;
23396                color3: 0 0 0 32;
23397             }
23398          }
23399          part { name: "fg1";
23400             clip_to: "disclip";
23401             mouse_events: 0;
23402             description { state: "default" 0.0;
23403                visible: 0;
23404                color: 255 255 255 0;
23405                rel1.to: "bg";
23406                rel2.relative: 1.0 0.5;
23407                rel2.to: "bg";
23408                image {
23409                   normal: "bt_sm_hilight.png";
23410                   border: 6 6 6 0;
23411                }
23412             }
23413             description { state: "selected" 0.0;
23414                inherit: "default" 0.0;
23415                visible: 1;
23416                color: 255 255 255 255;
23417             }
23418          }
23419          part { name: "fg2";
23420             clip_to: "disclip";
23421             mouse_events: 0;
23422             description { state: "default" 0.0;
23423                visible: 0;
23424                color: 255 255 255 0;
23425                rel1.to: "bg";
23426                rel2.to: "bg";
23427                image {
23428                   normal: "bt_sm_shine.png";
23429                   border: 6 6 6 0;
23430                }
23431             }
23432             description { state: "selected" 0.0;
23433                inherit: "default" 0.0;
23434                visible: 1;
23435                color: 255 255 255 255;
23436             }
23437          }
23438          part { name: "disclip";
23439             type: RECT;
23440             description { state: "default" 0.0;
23441                rel1.to: "bg";
23442                rel2.to: "bg";
23443             }
23444             description { state: "disabled" 0.0;
23445                inherit: "default" 0.0;
23446                color: 255 255 255 64;
23447             }
23448          }
23449       }
23450       programs {
23451          // signal: elm,state,%s,active
23452          //   a "check" item named %s went active
23453          // signal: elm,state,%s,passive
23454          //   a "check" item named %s went passive
23455          // default is passive
23456          program {
23457             name:    "go_active";
23458             signal:  "elm,state,selected";
23459             source:  "elm";
23460             action:  STATE_SET "selected" 0.0;
23461             target:  "bg";
23462             target:  "fg1";
23463             target:  "fg2";
23464             target:  "elm.text.title";
23465             target:  "elm.text.album-artist";
23466          }
23467          program {
23468             name:    "go_passive";
23469             signal:  "elm,state,unselected";
23470             source:  "elm";
23471             action:  STATE_SET "default" 0.0;
23472             target:  "bg";
23473             target:  "fg1";
23474             target:  "fg2";
23475             target:  "elm.text.title";
23476             target:  "elm.text.album-artist";
23477             transition: LINEAR 0.1;
23478          }
23479          program {
23480             name:    "go_disabled";
23481             signal:  "elm,state,disabled";
23482             source:  "elm";
23483             action:  STATE_SET "disabled" 0.0;
23484             target:  "disclip";
23485          }
23486          program {
23487             name:    "go_enabled";
23488             signal:  "elm,state,enabled";
23489             source:  "elm";
23490             action:  STATE_SET "default" 0.0;
23491             target:  "disclip";
23492          }
23493       }
23494    }
23495    group { name: "elm/genlist/item_compress_odd/media/default";
23496       data.item: "stacking" "below";
23497       data.item: "selectraise" "on";
23498       data.item: "labels" "elm.text.title elm.text.album-artist";
23499       data.item: "treesize" "20";
23500       images {
23501          image: "bt_sm_base1.png" COMP;
23502          image: "bt_sm_shine.png" COMP;
23503          image: "bt_sm_hilight.png" COMP;
23504          image: "ilist_2.png" COMP;
23505       }
23506       parts {
23507          part { name: "event";
23508             type: RECT;
23509             repeat_events: 1;
23510             description {
23511                state: "default" 0.0;
23512                color: 0 0 0 0;
23513             }
23514          }
23515          part {
23516             name: "base";
23517             mouse_events: 0;
23518             description {
23519                state: "default" 0.0;
23520                image {
23521                   normal: "ilist_2.png";
23522                   border: 2 2 2 2;
23523                }
23524                fill.smooth: 0;
23525             }
23526          }
23527          part { name: "bg";
23528             clip_to: "disclip";
23529             mouse_events: 0;
23530             description { state: "default" 0.0;
23531                visible: 0;
23532                color: 255 255 255 0;
23533                rel1 {
23534                   relative: 0.0 0.0;
23535                   offset: -5 -5;
23536                }
23537                rel2 {
23538                   relative: 1.0 1.0;
23539                   offset: 4 4;
23540                }
23541                image {
23542                   normal: "bt_sm_base1.png";
23543                   border: 6 6 6 6;
23544                }
23545                image.middle: SOLID;
23546             }
23547             description { state: "selected" 0.0;
23548                inherit: "default" 0.0;
23549                visible: 1;
23550                color: 255 255 255 255;
23551                rel1 {
23552                   relative: 0.0 0.0;
23553                   offset: -2 -2;
23554                }
23555                rel2 {
23556                   relative: 1.0 1.0;
23557                   offset: 1 1;
23558                }
23559             }
23560          }
23561          part { name: "elm.swallow.pad";
23562             type: SWALLOW;
23563             description { state: "default" 0.0;
23564                fixed: 1 0;
23565                align: 0.0 0.5;
23566                rel1 {
23567                   relative: 0.0  0.0;
23568                   offset:   4    4;
23569                }
23570                rel2 {
23571                   relative: 0.0  1.0;
23572                   offset:   4   -5;
23573                }
23574             }
23575          }
23576          part { name: "elm.text.title";
23577             clip_to: "disclip";
23578             type:           TEXT;
23579             effect:         SOFT_SHADOW;
23580             mouse_events:   0;
23581             scale: 1;
23582             description {
23583                state: "default" 0.0;
23584                rel1 {
23585                   relative: 0.0  0.0;
23586                   offset:   4 4;
23587                }
23588                rel2 {
23589                   relative: 1.0  0.5;
23590                   offset:   -1 -5;
23591                }
23592                color: 0 0 0 255;
23593                color3: 0 0 0 0;
23594                text {
23595                   font: "Sans";
23596                   size: 10;
23597                   min: 0 1;
23598                   align: 0.0 0.5;
23599                }
23600             }
23601             description { state: "selected" 0.0;
23602                inherit: "default" 0.0;
23603                color: 224 224 224 255;
23604                color3: 0 0 0 64;
23605             }
23606          }
23607          part { name: "elm.text.album-artist";
23608             clip_to: "disclip";
23609             type:           TEXT;
23610             mouse_events:   0;
23611             scale: 1;
23612             description {
23613                state: "default" 0.0;
23614                rel1 {
23615                   relative: 0.0  0.5;
23616                   offset:   4 4;
23617                }
23618                rel2 {
23619                   relative: 1.0  1.0;
23620                   offset:   -1 -5;
23621                }
23622                color: 0 0 0 128;
23623                color3: 0 0 0 0;
23624                text {
23625                   font: "Sans";
23626                   size: 8;
23627                   min: 0 1;
23628                   align: 0.0 0.5;
23629                }
23630             }
23631             description { state: "selected" 0.0;
23632                inherit: "default" 0.0;
23633                color: 128 128 128 255;
23634                color3: 0 0 0 32;
23635             }
23636          }
23637          part { name: "fg1";
23638             clip_to: "disclip";
23639             mouse_events: 0;
23640             description { state: "default" 0.0;
23641                visible: 0;
23642                color: 255 255 255 0;
23643                rel1.to: "bg";
23644                rel2.relative: 1.0 0.5;
23645                rel2.to: "bg";
23646                image {
23647                   normal: "bt_sm_hilight.png";
23648                   border: 6 6 6 0;
23649                }
23650             }
23651             description { state: "selected" 0.0;
23652                inherit: "default" 0.0;
23653                visible: 1;
23654                color: 255 255 255 255;
23655             }
23656          }
23657          part { name: "fg2";
23658             clip_to: "disclip";
23659             mouse_events: 0;
23660             description { state: "default" 0.0;
23661                visible: 0;
23662                color: 255 255 255 0;
23663                rel1.to: "bg";
23664                rel2.to: "bg";
23665                image {
23666                   normal: "bt_sm_shine.png";
23667                   border: 6 6 6 0;
23668                }
23669             }
23670             description { state: "selected" 0.0;
23671                inherit: "default" 0.0;
23672                visible: 1;
23673                color: 255 255 255 255;
23674             }
23675          }
23676          part { name: "disclip";
23677             type: RECT;
23678             description { state: "default" 0.0;
23679                rel1.to: "bg";
23680                rel2.to: "bg";
23681             }
23682             description { state: "disabled" 0.0;
23683                inherit: "default" 0.0;
23684                color: 255 255 255 64;
23685             }
23686          }
23687       }
23688       programs {
23689          // signal: elm,state,%s,active
23690          //   a "check" item named %s went active
23691          // signal: elm,state,%s,passive
23692          //   a "check" item named %s went passive
23693          // default is passive
23694          program {
23695             name:    "go_active";
23696             signal:  "elm,state,selected";
23697             source:  "elm";
23698             action:  STATE_SET "selected" 0.0;
23699             target:  "bg";
23700             target:  "fg1";
23701             target:  "fg2";
23702             target:  "elm.text.title";
23703             target:  "elm.text.album-artist";
23704          }
23705          program {
23706             name:    "go_passive";
23707             signal:  "elm,state,unselected";
23708             source:  "elm";
23709             action:  STATE_SET "default" 0.0;
23710             target:  "bg";
23711             target:  "fg1";
23712             target:  "fg2";
23713             target:  "elm.text.title";
23714             target:  "elm.text.album-artist";
23715             transition: LINEAR 0.1;
23716          }
23717          program {
23718             name:    "go_disabled";
23719             signal:  "elm,state,disabled";
23720             source:  "elm";
23721             action:  STATE_SET "disabled" 0.0;
23722             target:  "disclip";
23723          }
23724          program {
23725             name:    "go_enabled";
23726             signal:  "elm,state,enabled";
23727             source:  "elm";
23728             action:  STATE_SET "default" 0.0;
23729             target:  "disclip";
23730          }
23731       }
23732    }
23733
23734    group { name: "elm/genlist/item_compress/media-album/default";
23735       data.item: "stacking" "above";
23736       data.item: "selectraise" "on";
23737       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
23738       data.item: "states" "elm.state.trackno";
23739       data.item: "treesize" "20";
23740       images {
23741          image: "bt_sm_base1.png" COMP;
23742          image: "bt_sm_shine.png" COMP;
23743          image: "bt_sm_hilight.png" COMP;
23744          image: "ilist_1.png" COMP;
23745          image: "ilist_item_shadow.png" COMP;
23746       }
23747       script {
23748          public dot_visible;
23749       }
23750       parts {
23751          part {
23752             name: "event";
23753             type: RECT;
23754             repeat_events: 1;
23755             description {
23756                state: "default" 0.0;
23757                color: 0 0 0 0;
23758             }
23759          }
23760          part {
23761             name: "base_sh";
23762             mouse_events: 0;
23763             description {
23764                state: "default" 0.0;
23765                align: 0.0 0.0;
23766                min: 0 10;
23767                fixed: 1 1;
23768                rel1 {
23769                   to: "base";
23770                   relative: 0.0 1.0;
23771                   offset: 0 0;
23772                }
23773                rel2 {
23774                   to: "base";
23775                   relative: 1.0 1.0;
23776                   offset: -1 0;
23777                }
23778                image {
23779                   normal: "ilist_item_shadow.png";
23780                }
23781                fill.smooth: 0;
23782             }
23783          }
23784          part {
23785             name: "base";
23786             mouse_events: 0;
23787             description {
23788                state: "default" 0.0;
23789                image {
23790                   normal: "ilist_1.png";
23791                   border: 2 2 2 2;
23792                }
23793                fill.smooth: 0;
23794             }
23795          }
23796          part { name: "bg";
23797             clip_to: "disclip";
23798             mouse_events: 0;
23799             description { state: "default" 0.0;
23800                visible: 0;
23801                color: 255 255 255 0;
23802                rel1 {
23803                   relative: 0.0 0.0;
23804                   offset: -5 -5;
23805                }
23806                rel2 {
23807                   relative: 1.0 1.0;
23808                   offset: 4 4;
23809                }
23810                image {
23811                   normal: "bt_sm_base1.png";
23812                   border: 6 6 6 6;
23813                }
23814                image.middle: SOLID;
23815             }
23816             description { state: "selected" 0.0;
23817                inherit: "default" 0.0;
23818                visible: 1;
23819                color: 255 255 255 255;
23820                rel1 {
23821                   relative: 0.0 0.0;
23822                   offset: -2 -2;
23823                }
23824                rel2 {
23825                   relative: 1.0 1.0;
23826                   offset: 1 1;
23827                }
23828             }
23829          }
23830          part { name: "elm.swallow.pad";
23831             type: SWALLOW;
23832             description { state: "default" 0.0;
23833                fixed: 1 0;
23834                align: 0.0 0.5;
23835                rel1 {
23836                   relative: 0.0  0.0;
23837                   offset:   4    4;
23838                }
23839                rel2 {
23840                   relative: 0.0  1.0;
23841                   offset:   4   -5;
23842                }
23843             }
23844          }
23845          part {
23846             name: "elm.text.trackno";
23847             type: TEXT;
23848             scale: 1;
23849             mouse_events: 0;
23850             description {
23851                state: "default" 0.0;
23852                color: 255 255 255 255;
23853                align: 0.0 0.0;
23854                fixed: 1 0;
23855                rel1 {
23856                   to_y: "elm.text.title";
23857                   relative: 0.0 0.0;
23858                   offset: 5 0;
23859                }
23860                rel2 {
23861                   to_y: "elm.text.title";
23862                   relative: 0.0 1.0;
23863                   offset: 20 0;
23864                }
23865                color: 0 0 0 255;
23866                color3: 0 0 0 0;
23867                text {
23868                   font: "Sans";
23869                   size: 10;
23870                   min: 1 1;
23871                   align: 1.0 0.5;
23872                }
23873             }
23874             description { state: "selected" 0.0;
23875                inherit: "default" 0.0;
23876                color: 224 224 224 255;
23877                color3: 0 0 0 64;
23878             }
23879          }
23880          part {
23881             name: "dot";
23882             type: TEXT;
23883             scale: 1;
23884             mouse_events: 0;
23885             description {
23886                state: "default" 0.0;
23887                color: 255 255 255 255;
23888                visible: 0;
23889                fixed: 1 1;
23890                align: 0.0 0.0;
23891                rel1 {
23892                   to_x: "elm.text.trackno";
23893                   to_y: "elm.text.title";
23894                   relative: 1.0 0.0;
23895                   offset: 1 0;
23896                }
23897                rel2 {
23898                   to_x: "elm.text.trackno";
23899                   to_y: "elm.text.title";
23900                   relative: 1.0 1.0;
23901                   offset: 1 0;
23902
23903                }
23904                color: 0 0 0 255;
23905                color3: 0 0 0 0;
23906                text {
23907                   font: "Sans";
23908                   size: 10;
23909                   min: 1 1;
23910                   align: 0.0 0.5;
23911                   text: ".";
23912                }
23913             }
23914             description {
23915                state: "visible" 0.0;
23916                inherit: "default" 0.0;
23917                visible: 1;
23918             }
23919             description { state: "selected" 0.0;
23920                inherit: "default" 0.0;
23921                color: 224 224 224 255;
23922                color3: 0 0 0 64;
23923                visible: 1;
23924             }
23925          }
23926          programs {
23927             program {
23928                signal: "elm,state,elm.state.trackno,active";
23929                source: "elm";
23930                script {
23931                   set_state(PART:"dot", "visible", 0.0);
23932                   set_int(dot_visible, 1);
23933                }
23934             }
23935          }
23936          part { name: "elm.text.title";
23937             clip_to: "disclip";
23938             type:           TEXT;
23939             effect:         SOFT_SHADOW;
23940             mouse_events:   0;
23941             scale: 1;
23942             description {
23943                state: "default" 0.0;
23944                rel1 {
23945                   to_x: "dot";
23946                   relative: 0.0  0.0;
23947                   offset:   4 4;
23948                }
23949                rel2 {
23950                   relative: 1.0  0.5;
23951                   offset:   -1 -5;
23952                }
23953                color: 0 0 0 255;
23954                color3: 0 0 0 0;
23955                text {
23956                   font: "Sans";
23957                   size: 10;
23958                   min: 0 1;
23959                   align: 0.0 0.5;
23960                }
23961             }
23962             description { state: "selected" 0.0;
23963                inherit: "default" 0.0;
23964                color: 224 224 224 255;
23965                color3: 0 0 0 64;
23966             }
23967          }
23968          part { name: "elm.text.length";
23969             clip_to: "disclip";
23970             type:           TEXT;
23971             mouse_events:   0;
23972             scale: 1;
23973             description {
23974                state: "default" 0.0;
23975                rel1 {
23976                   relative: 0.0  0.5;
23977                   offset:   4 4;
23978                }
23979                rel2 {
23980                   relative: 1.0  1.0;
23981                   offset:   -1 -5;
23982                }
23983                color: 0 0 0 128;
23984                color3: 0 0 0 0;
23985                text {
23986                   font: "Sans";
23987                   size: 8;
23988                   min: 0 1;
23989                   align: 0.0 0.5;
23990                }
23991             }
23992             description { state: "selected" 0.0;
23993                inherit: "default" 0.0;
23994                color: 128 128 128 255;
23995                color3: 0 0 0 32;
23996             }
23997          }
23998          part { name: "fg1";
23999             clip_to: "disclip";
24000             mouse_events: 0;
24001             description { state: "default" 0.0;
24002                visible: 0;
24003                color: 255 255 255 0;
24004                rel1.to: "bg";
24005                rel2.relative: 1.0 0.5;
24006                rel2.to: "bg";
24007                image {
24008                   normal: "bt_sm_hilight.png";
24009                   border: 6 6 6 0;
24010                }
24011             }
24012             description { state: "selected" 0.0;
24013                inherit: "default" 0.0;
24014                visible: 1;
24015                color: 255 255 255 255;
24016             }
24017          }
24018          part { name: "fg2";
24019             clip_to: "disclip";
24020             mouse_events: 0;
24021             description { state: "default" 0.0;
24022                visible: 0;
24023                color: 255 255 255 0;
24024                rel1.to: "bg";
24025                rel2.to: "bg";
24026                image {
24027                   normal: "bt_sm_shine.png";
24028                   border: 6 6 6 0;
24029                }
24030             }
24031             description { state: "selected" 0.0;
24032                inherit: "default" 0.0;
24033                visible: 1;
24034                color: 255 255 255 255;
24035             }
24036          }
24037          part { name: "disclip";
24038             type: RECT;
24039             description { state: "default" 0.0;
24040                rel1.to: "bg";
24041                rel2.to: "bg";
24042             }
24043             description { state: "disabled" 0.0;
24044                inherit: "default" 0.0;
24045                color: 255 255 255 64;
24046             }
24047          }
24048       }
24049       programs {
24050          // signal: elm,state,%s,active
24051          //   a "check" item named %s went active
24052          // signal: elm,state,%s,passive
24053          //   a "check" item named %s went passive
24054          // default is passive
24055          program {
24056             name:    "go_active";
24057             signal:  "elm,state,selected";
24058             source:  "elm";
24059             action:  STATE_SET "selected" 0.0;
24060             target:  "bg";
24061             target:  "fg1";
24062             target:  "fg2";
24063             target:  "elm.text.title";
24064             target:  "elm.text.trackno";
24065             target:  "elm.text.length";
24066             after:   "dot_active";
24067          }
24068          program {
24069             name: "dot_active";
24070             script {
24071                if (get_int(dot_visible) == 1)
24072                   set_state(PART:"dot", "selected", 0.0);
24073             }
24074          }
24075          program {
24076             name:    "go_passive";
24077             signal:  "elm,state,unselected";
24078             source:  "elm";
24079             action:  STATE_SET "default" 0.0;
24080             target:  "bg";
24081             target:  "fg1";
24082             target:  "fg2";
24083             target:  "elm.text.title";
24084             target:  "elm.text.length";
24085             target:  "elm.text.trackno";
24086             transition: LINEAR 0.1;
24087             after:   "dot_passive";
24088          }
24089          program {
24090             name: "dot_passive";
24091             script {
24092                if (get_int(dot_visible) == 1)
24093                   set_state(PART:"dot", "visible", 0.0);
24094             }
24095          }
24096          program {
24097             name:    "go_disabled";
24098             signal:  "elm,state,disabled";
24099             source:  "elm";
24100             action:  STATE_SET "disabled" 0.0;
24101             target:  "disclip";
24102          }
24103          program {
24104             name:    "go_enabled";
24105             signal:  "elm,state,enabled";
24106             source:  "elm";
24107             action:  STATE_SET "default" 0.0;
24108             target:  "disclip";
24109          }
24110       }
24111    }
24112    group { name: "elm/genlist/item_compress_odd/media-album/default";
24113       data.item: "stacking" "below";
24114       data.item: "selectraise" "on";
24115       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24116       data.item: "states" "elm.state.trackno";
24117       data.item: "treesize" "20";
24118       images {
24119          image: "bt_sm_base1.png" COMP;
24120          image: "bt_sm_shine.png" COMP;
24121          image: "bt_sm_hilight.png" COMP;
24122          image: "ilist_2.png" COMP;
24123       }
24124       script {
24125          public dot_visible;
24126       }
24127       parts {
24128          part { name: "event";
24129             type: RECT;
24130             repeat_events: 1;
24131             description {
24132                state: "default" 0.0;
24133                color: 0 0 0 0;
24134             }
24135          }
24136          part {
24137             name: "base";
24138             mouse_events: 0;
24139             description {
24140                state: "default" 0.0;
24141                image {
24142                   normal: "ilist_2.png";
24143                   border: 2 2 2 2;
24144                }
24145                fill.smooth: 0;
24146             }
24147          }
24148          part { name: "bg";
24149             clip_to: "disclip";
24150             mouse_events: 0;
24151             description { state: "default" 0.0;
24152                visible: 0;
24153                color: 255 255 255 0;
24154                rel1 {
24155                   relative: 0.0 0.0;
24156                   offset: -5 -5;
24157                }
24158                rel2 {
24159                   relative: 1.0 1.0;
24160                   offset: 4 4;
24161                }
24162                image {
24163                   normal: "bt_sm_base1.png";
24164                   border: 6 6 6 6;
24165                }
24166                image.middle: SOLID;
24167             }
24168             description { state: "selected" 0.0;
24169                inherit: "default" 0.0;
24170                visible: 1;
24171                color: 255 255 255 255;
24172                rel1 {
24173                   relative: 0.0 0.0;
24174                   offset: -2 -2;
24175                }
24176                rel2 {
24177                   relative: 1.0 1.0;
24178                   offset: 1 1;
24179                }
24180             }
24181          }
24182          part { name: "elm.swallow.pad";
24183             type: SWALLOW;
24184             description { state: "default" 0.0;
24185                fixed: 1 0;
24186                align: 0.0 0.5;
24187                rel1 {
24188                   relative: 0.0  0.0;
24189                   offset:   4    4;
24190                }
24191                rel2 {
24192                   relative: 0.0  1.0;
24193                   offset:   4   -5;
24194                }
24195             }
24196          }
24197          part {
24198             name: "elm.text.trackno";
24199             type: TEXT;
24200             scale: 1;
24201             mouse_events: 0;
24202             description {
24203                state: "default" 0.0;
24204                color: 255 255 255 255;
24205                align: 0.0 0.0;
24206                fixed: 1 0;
24207                rel1 {
24208                   to_y: "elm.text.title";
24209                   relative: 0.0 0.0;
24210                   offset: 5 0;
24211                }
24212                rel2 {
24213                   to_y: "elm.text.title";
24214                   relative: 0.0 1.0;
24215                   offset: 20 0;
24216                }
24217                color: 0 0 0 255;
24218                color3: 0 0 0 0;
24219                text {
24220                   font: "Sans";
24221                   size: 10;
24222                   min: 1 1;
24223                   align: 1.0 0.5;
24224                }
24225             }
24226             description { state: "selected" 0.0;
24227                inherit: "default" 0.0;
24228                color: 224 224 224 255;
24229                color3: 0 0 0 64;
24230             }
24231          }
24232          part {
24233             name: "dot";
24234             type: TEXT;
24235             scale: 1;
24236             mouse_events: 0;
24237             description {
24238                state: "default" 0.0;
24239                color: 255 255 255 255;
24240                visible: 0;
24241                fixed: 1 1;
24242                align: 0.0 0.0;
24243                rel1 {
24244                   to_x: "elm.text.trackno";
24245                   to_y: "elm.text.title";
24246                   relative: 1.0 0.0;
24247                   offset: 1 0;
24248                }
24249                rel2 {
24250                   to_x: "elm.text.trackno";
24251                   to_y: "elm.text.title";
24252                   relative: 1.0 1.0;
24253                   offset: 1 0;
24254
24255                }
24256                color: 0 0 0 255;
24257                color3: 0 0 0 0;
24258                text {
24259                   font: "Sans";
24260                   size: 10;
24261                   min: 1 1;
24262                   align: 0.0 0.5;
24263                   text: ".";
24264                }
24265             }
24266             description {
24267                state: "visible" 0.0;
24268                inherit: "default" 0.0;
24269                visible: 1;
24270             }
24271             description { state: "selected" 0.0;
24272                inherit: "default" 0.0;
24273                color: 224 224 224 255;
24274                color3: 0 0 0 64;
24275                visible: 1;
24276             }
24277          }
24278          programs {
24279             program {
24280                signal: "elm,state,elm.state.trackno,active";
24281                source: "elm";
24282                script {
24283                   set_state(PART:"dot", "visible", 0.0);
24284                   set_int(dot_visible, 1);
24285                }
24286             }
24287          }
24288          part { name: "elm.text.title";
24289             clip_to: "disclip";
24290             type:           TEXT;
24291             effect:         SOFT_SHADOW;
24292             mouse_events:   0;
24293             scale: 1;
24294             description {
24295                state: "default" 0.0;
24296                rel1 {
24297                   to_x: "dot";
24298                   relative: 1.0  0.0;
24299                   offset:   4 4;
24300                }
24301                rel2 {
24302                   relative: 1.0  0.5;
24303                   offset:   -1 -5;
24304                }
24305                color: 0 0 0 255;
24306                color3: 0 0 0 0;
24307                text {
24308                   font: "Sans";
24309                   size: 10;
24310                   min: 0 1;
24311                   align: 0.0 0.5;
24312                }
24313             }
24314             description { state: "selected" 0.0;
24315                inherit: "default" 0.0;
24316                color: 224 224 224 255;
24317                color3: 0 0 0 64;
24318             }
24319          }
24320          part { name: "elm.text.length";
24321             clip_to: "disclip";
24322             type:           TEXT;
24323             mouse_events:   0;
24324             scale: 1;
24325             description {
24326                state: "default" 0.0;
24327                rel1 {
24328                   relative: 0.0  0.5;
24329                   offset:   4 4;
24330                }
24331                rel2 {
24332                   relative: 1.0  1.0;
24333                   offset:   -1 -5;
24334                }
24335                color: 0 0 0 128;
24336                color3: 0 0 0 0;
24337                text {
24338                   font: "Sans";
24339                   size: 8;
24340                   min: 0 1;
24341                   align: 0.0 0.5;
24342                }
24343             }
24344             description { state: "selected" 0.0;
24345                inherit: "default" 0.0;
24346                color: 128 128 128 255;
24347                color3: 0 0 0 32;
24348             }
24349          }
24350          part { name: "fg1";
24351             clip_to: "disclip";
24352             mouse_events: 0;
24353             description { state: "default" 0.0;
24354                visible: 0;
24355                color: 255 255 255 0;
24356                rel1.to: "bg";
24357                rel2.relative: 1.0 0.5;
24358                rel2.to: "bg";
24359                image {
24360                   normal: "bt_sm_hilight.png";
24361                   border: 6 6 6 0;
24362                }
24363             }
24364             description { state: "selected" 0.0;
24365                inherit: "default" 0.0;
24366                visible: 1;
24367                color: 255 255 255 255;
24368             }
24369          }
24370          part { name: "fg2";
24371             clip_to: "disclip";
24372             mouse_events: 0;
24373             description { state: "default" 0.0;
24374                visible: 0;
24375                color: 255 255 255 0;
24376                rel1.to: "bg";
24377                rel2.to: "bg";
24378                image {
24379                   normal: "bt_sm_shine.png";
24380                   border: 6 6 6 0;
24381                }
24382             }
24383             description { state: "selected" 0.0;
24384                inherit: "default" 0.0;
24385                visible: 1;
24386                color: 255 255 255 255;
24387             }
24388          }
24389          part { name: "disclip";
24390             type: RECT;
24391             description { state: "default" 0.0;
24392                rel1.to: "bg";
24393                rel2.to: "bg";
24394             }
24395             description { state: "disabled" 0.0;
24396                inherit: "default" 0.0;
24397                color: 255 255 255 64;
24398             }
24399          }
24400       }
24401       programs {
24402          // signal: elm,state,%s,active
24403          //   a "check" item named %s went active
24404          // signal: elm,state,%s,passive
24405          //   a "check" item named %s went passive
24406          // default is passive
24407          program {
24408             name:    "go_active";
24409             signal:  "elm,state,selected";
24410             source:  "elm";
24411             action:  STATE_SET "selected" 0.0;
24412             target:  "bg";
24413             target:  "fg1";
24414             target:  "fg2";
24415             target:  "elm.text.title";
24416             target:  "elm.text.length";
24417             target:  "elm.text.trackno";
24418             after:   "dot_active";
24419          }
24420          program {
24421             name: "dot_active";
24422             script {
24423                if (get_int(dot_visible) == 1)
24424                   set_state(PART:"dot", "selected", 0.0);
24425             }
24426          }
24427          program {
24428             name:    "go_passive";
24429             signal:  "elm,state,unselected";
24430             source:  "elm";
24431             action:  STATE_SET "default" 0.0;
24432             target:  "bg";
24433             target:  "fg1";
24434             target:  "fg2";
24435             target:  "elm.text.title";
24436             target:  "elm.text.length";
24437             target:  "elm.text.trackno";
24438             transition: LINEAR 0.1;
24439             after:   "dot_passive";
24440          }
24441          program {
24442             name: "dot_passive";
24443             script {
24444                if (get_int(dot_visible) == 1)
24445                   set_state(PART:"dot", "visible", 0.0);
24446             }
24447          }
24448          program {
24449             name:    "go_disabled";
24450             signal:  "elm,state,disabled";
24451             source:  "elm";
24452             action:  STATE_SET "disabled" 0.0;
24453             target:  "disclip";
24454          }
24455          program {
24456             name:    "go_enabled";
24457             signal:  "elm,state,enabled";
24458             source:  "elm";
24459             action:  STATE_SET "default" 0.0;
24460             target:  "disclip";
24461          }
24462       }
24463    }
24464
24465    group { name: "elm/genlist/item_compress/media-preview/default";
24466       data.item: "stacking" "above";
24467       data.item: "selectraise" "on";
24468       data.item: "labels" "elm.text.title elm.text.artist";
24469       data.item: "icons" "elm.swallow.preview";
24470       data.item: "treesize" "20";
24471       images {
24472          image: "bt_sm_base1.png" COMP;
24473          image: "bt_sm_shine.png" COMP;
24474          image: "bt_sm_hilight.png" COMP;
24475          image: "ilist_1.png" COMP;
24476          image: "ilist_item_shadow.png" COMP;
24477       }
24478       parts {
24479          part {
24480             name: "event";
24481             type: RECT;
24482             repeat_events: 1;
24483             description {
24484                state: "default" 0.0;
24485                color: 0 0 0 0;
24486             }
24487          }
24488          part {
24489             name: "base_sh";
24490             mouse_events: 0;
24491             description {
24492                state: "default" 0.0;
24493                align: 0.0 0.0;
24494                min: 0 10;
24495                fixed: 1 1;
24496                rel1 {
24497                   to: "base";
24498                   relative: 0.0 1.0;
24499                   offset: 0 0;
24500                }
24501                rel2 {
24502                   to: "base";
24503                   relative: 1.0 1.0;
24504                   offset: -1 0;
24505                }
24506                image {
24507                   normal: "ilist_item_shadow.png";
24508                }
24509                fill.smooth: 0;
24510             }
24511          }
24512          part {
24513             name: "base";
24514             mouse_events: 0;
24515             description {
24516                state: "default" 0.0;
24517                image {
24518                   normal: "ilist_1.png";
24519                   border: 2 2 2 2;
24520                }
24521                fill.smooth: 0;
24522             }
24523          }
24524          part { name: "bg";
24525             clip_to: "disclip";
24526             mouse_events: 0;
24527             description { state: "default" 0.0;
24528                visible: 0;
24529                color: 255 255 255 0;
24530                rel1 {
24531                   relative: 0.0 0.0;
24532                   offset: -5 -5;
24533                }
24534                rel2 {
24535                   relative: 1.0 1.0;
24536                   offset: 4 4;
24537                }
24538                image {
24539                   normal: "bt_sm_base1.png";
24540                   border: 6 6 6 6;
24541                }
24542                image.middle: SOLID;
24543             }
24544             description { state: "selected" 0.0;
24545                inherit: "default" 0.0;
24546                visible: 1;
24547                color: 255 255 255 255;
24548                rel1 {
24549                   relative: 0.0 0.0;
24550                   offset: -2 -2;
24551                }
24552                rel2 {
24553                   relative: 1.0 1.0;
24554                   offset: 1 1;
24555                }
24556             }
24557          }
24558          part { name: "elm.swallow.pad";
24559             type: SWALLOW;
24560             description { state: "default" 0.0;
24561                fixed: 1 0;
24562                align: 0.0 0.5;
24563                rel1 {
24564                   relative: 0.0  0.0;
24565                   offset:   4    4;
24566                }
24567                rel2 {
24568                   relative: 0.0  1.0;
24569                   offset:   4   -5;
24570                }
24571             }
24572          }
24573          part { name: "elm.swallow.preview";
24574             clip_to: "disclip";
24575             type: SWALLOW;
24576             description { state: "default" 0.0;
24577                fixed: 1 0;
24578                align: 0.0 0.5;
24579                min: 68 68;
24580                max: 68 68;
24581                rel1 {
24582                   to_x: "elm.swallow.pad";
24583                   relative: 1.0  0.0;
24584                   offset:   -1    4;
24585                }
24586                rel2 {
24587                   to_x: "elm.swallow.pad";
24588                   relative: 1.0  1.0;
24589                   offset:   -1   -5;
24590                }
24591             }
24592          }
24593          part { name: "elm.text.title";
24594             clip_to: "disclip";
24595             type:           TEXT;
24596             effect:         SOFT_SHADOW;
24597             mouse_events:   0;
24598             scale: 1;
24599             description {
24600                state: "default" 0.0;
24601                rel1 {
24602                   to_x:     "elm.swallow.preview";
24603                   relative: 1.0  0.0;
24604                   offset:   4 4;
24605                }
24606                rel2 {
24607                   relative: 1.0  0.5;
24608                   offset:   -1 -5;
24609                }
24610                color: 0 0 0 255;
24611                color3: 0 0 0 0;
24612                text {
24613                   font: "Sans";
24614                   size: 10;
24615                   min: 0 1;
24616                   align: 0.0 0.5;
24617                }
24618             }
24619             description { state: "selected" 0.0;
24620                inherit: "default" 0.0;
24621                color: 224 224 224 255;
24622                color3: 0 0 0 64;
24623             }
24624          }
24625          part { name: "elm.text.artist";
24626             clip_to: "disclip";
24627             type:           TEXT;
24628             mouse_events:   0;
24629             scale: 1;
24630             description {
24631                state: "default" 0.0;
24632                rel1 {
24633                   to_x:     "elm.swallow.preview";
24634                   relative: 1.0  0.5;
24635                   offset:   4 4;
24636                }
24637                rel2 {
24638                   relative: 1.0  1.0;
24639                   offset:   -1 -5;
24640                }
24641                color: 0 0 0 128;
24642                color3: 0 0 0 0;
24643                text {
24644                   font: "Sans";
24645                   size: 8;
24646                   min: 0 1;
24647                   align: 0.0 0.5;
24648                }
24649             }
24650             description { state: "selected" 0.0;
24651                inherit: "default" 0.0;
24652                color: 128 128 128 255;
24653                color3: 0 0 0 32;
24654             }
24655          }
24656          part { name: "fg1";
24657             clip_to: "disclip";
24658             mouse_events: 0;
24659             description { state: "default" 0.0;
24660                visible: 0;
24661                color: 255 255 255 0;
24662                rel1.to: "bg";
24663                rel2.relative: 1.0 0.5;
24664                rel2.to: "bg";
24665                image {
24666                   normal: "bt_sm_hilight.png";
24667                   border: 6 6 6 0;
24668                }
24669             }
24670             description { state: "selected" 0.0;
24671                inherit: "default" 0.0;
24672                visible: 1;
24673                color: 255 255 255 255;
24674             }
24675          }
24676          part { name: "fg2";
24677             clip_to: "disclip";
24678             mouse_events: 0;
24679             description { state: "default" 0.0;
24680                visible: 0;
24681                color: 255 255 255 0;
24682                rel1.to: "bg";
24683                rel2.to: "bg";
24684                image {
24685                   normal: "bt_sm_shine.png";
24686                   border: 6 6 6 0;
24687                }
24688             }
24689             description { state: "selected" 0.0;
24690                inherit: "default" 0.0;
24691                visible: 1;
24692                color: 255 255 255 255;
24693             }
24694          }
24695          part { name: "disclip";
24696             type: RECT;
24697             description { state: "default" 0.0;
24698                rel1.to: "bg";
24699                rel2.to: "bg";
24700             }
24701             description { state: "disabled" 0.0;
24702                inherit: "default" 0.0;
24703                color: 255 255 255 64;
24704             }
24705          }
24706       }
24707       programs {
24708          // signal: elm,state,%s,active
24709          //   a "check" item named %s went active
24710          // signal: elm,state,%s,passive
24711          //   a "check" item named %s went passive
24712          // default is passive
24713          program {
24714             name:    "go_active";
24715             signal:  "elm,state,selected";
24716             source:  "elm";
24717             action:  STATE_SET "selected" 0.0;
24718             target:  "bg";
24719             target:  "fg1";
24720             target:  "fg2";
24721             target:  "elm.text.title";
24722             target:  "elm.text.artist";
24723          }
24724          program {
24725             name:    "go_passive";
24726             signal:  "elm,state,unselected";
24727             source:  "elm";
24728             action:  STATE_SET "default" 0.0;
24729             target:  "bg";
24730             target:  "fg1";
24731             target:  "fg2";
24732             target:  "elm.text.title";
24733             target:  "elm.text.artist";
24734             transition: LINEAR 0.1;
24735          }
24736          program {
24737             name:    "go_disabled";
24738             signal:  "elm,state,disabled";
24739             source:  "elm";
24740             action:  STATE_SET "disabled" 0.0;
24741             target:  "disclip";
24742          }
24743          program {
24744             name:    "go_enabled";
24745             signal:  "elm,state,enabled";
24746             source:  "elm";
24747             action:  STATE_SET "default" 0.0;
24748             target:  "disclip";
24749          }
24750       }
24751    }
24752    group { name: "elm/genlist/item_compress_odd/media-preview/default";
24753       data.item: "stacking" "below";
24754       data.item: "selectraise" "on";
24755       data.item: "labels" "elm.text.title elm.text.artist";
24756       data.item: "icons" "elm.swallow.preview";
24757       data.item: "treesize" "20";
24758       images {
24759          image: "bt_sm_base1.png" COMP;
24760          image: "bt_sm_shine.png" COMP;
24761          image: "bt_sm_hilight.png" COMP;
24762          image: "ilist_2.png" COMP;
24763       }
24764       parts {
24765          part { name: "event";
24766             type: RECT;
24767             repeat_events: 1;
24768             description {
24769                state: "default" 0.0;
24770                color: 0 0 0 0;
24771             }
24772          }
24773          part {
24774             name: "base";
24775             mouse_events: 0;
24776             description {
24777                state: "default" 0.0;
24778                image {
24779                   normal: "ilist_2.png";
24780                   border: 2 2 2 2;
24781                }
24782                fill.smooth: 0;
24783             }
24784          }
24785          part { name: "bg";
24786             clip_to: "disclip";
24787             mouse_events: 0;
24788             description { state: "default" 0.0;
24789                visible: 0;
24790                color: 255 255 255 0;
24791                rel1 {
24792                   relative: 0.0 0.0;
24793                   offset: -5 -5;
24794                }
24795                rel2 {
24796                   relative: 1.0 1.0;
24797                   offset: 4 4;
24798                }
24799                image {
24800                   normal: "bt_sm_base1.png";
24801                   border: 6 6 6 6;
24802                }
24803                image.middle: SOLID;
24804             }
24805             description { state: "selected" 0.0;
24806                inherit: "default" 0.0;
24807                visible: 1;
24808                color: 255 255 255 255;
24809                rel1 {
24810                   relative: 0.0 0.0;
24811                   offset: -2 -2;
24812                }
24813                rel2 {
24814                   relative: 1.0 1.0;
24815                   offset: 1 1;
24816                }
24817             }
24818          }
24819          part { name: "elm.swallow.pad";
24820             type: SWALLOW;
24821             description { state: "default" 0.0;
24822                fixed: 1 0;
24823                align: 0.0 0.5;
24824                rel1 {
24825                   relative: 0.0  0.0;
24826                   offset:   4    4;
24827                }
24828                rel2 {
24829                   relative: 0.0  1.0;
24830                   offset:   4   -5;
24831                }
24832             }
24833          }
24834          part { name: "elm.swallow.preview";
24835             clip_to: "disclip";
24836             type: SWALLOW;
24837             description { state: "default" 0.0;
24838                fixed: 1 0;
24839                align: 0.0 0.5;
24840                min: 68 68;
24841                max: 68 68;
24842                rel1 {
24843                   to_x: "elm.swallow.pad";
24844                   relative: 1.0  0.0;
24845                   offset:   -1    4;
24846                }
24847                rel2 {
24848                   to_x: "elm.swallow.pad";
24849                   relative: 1.0  1.0;
24850                   offset:   -1   -5;
24851                }
24852             }
24853          }
24854          part { name: "elm.text.title";
24855             clip_to: "disclip";
24856             type:           TEXT;
24857             effect:         SOFT_SHADOW;
24858             mouse_events:   0;
24859             scale: 1;
24860             description {
24861                state: "default" 0.0;
24862                rel1 {
24863                   to_x:     "elm.swallow.preview";
24864                   relative: 1.0  0.0;
24865                   offset:   4 4;
24866                }
24867                rel2 {
24868                   relative: 1.0  0.5;
24869                   offset:   -1 -5;
24870                }
24871                color: 0 0 0 255;
24872                color3: 0 0 0 0;
24873                text {
24874                   font: "Sans";
24875                   size: 10;
24876                   min: 0 1;
24877                   align: 0.0 0.5;
24878                }
24879             }
24880             description { state: "selected" 0.0;
24881                inherit: "default" 0.0;
24882                color: 224 224 224 255;
24883                color3: 0 0 0 64;
24884             }
24885          }
24886          part { name: "elm.text.artist";
24887             clip_to: "disclip";
24888             type:           TEXT;
24889             mouse_events:   0;
24890             scale: 1;
24891             description {
24892                state: "default" 0.0;
24893                rel1 {
24894                   to_x:     "elm.swallow.preview";
24895                   relative: 1.0  0.5;
24896                   offset:   4 4;
24897                }
24898                rel2 {
24899                   relative: 1.0  1.0;
24900                   offset:   -1 -5;
24901                }
24902                color: 0 0 0 128;
24903                color3: 0 0 0 0;
24904                text {
24905                   font: "Sans";
24906                   size: 8;
24907                   min: 0 1;
24908                   align: 0.0 0.5;
24909                }
24910             }
24911             description { state: "selected" 0.0;
24912                inherit: "default" 0.0;
24913                color: 128 128 128 255;
24914                color3: 0 0 0 32;
24915             }
24916          }
24917          part { name: "fg1";
24918             clip_to: "disclip";
24919             mouse_events: 0;
24920             description { state: "default" 0.0;
24921                visible: 0;
24922                color: 255 255 255 0;
24923                rel1.to: "bg";
24924                rel2.relative: 1.0 0.5;
24925                rel2.to: "bg";
24926                image {
24927                   normal: "bt_sm_hilight.png";
24928                   border: 6 6 6 0;
24929                }
24930             }
24931             description { state: "selected" 0.0;
24932                inherit: "default" 0.0;
24933                visible: 1;
24934                color: 255 255 255 255;
24935             }
24936          }
24937          part { name: "fg2";
24938             clip_to: "disclip";
24939             mouse_events: 0;
24940             description { state: "default" 0.0;
24941                visible: 0;
24942                color: 255 255 255 0;
24943                rel1.to: "bg";
24944                rel2.to: "bg";
24945                image {
24946                   normal: "bt_sm_shine.png";
24947                   border: 6 6 6 0;
24948                }
24949             }
24950             description { state: "selected" 0.0;
24951                inherit: "default" 0.0;
24952                visible: 1;
24953                color: 255 255 255 255;
24954             }
24955          }
24956          part { name: "disclip";
24957             type: RECT;
24958             description { state: "default" 0.0;
24959                rel1.to: "bg";
24960                rel2.to: "bg";
24961             }
24962             description { state: "disabled" 0.0;
24963                inherit: "default" 0.0;
24964                color: 255 255 255 64;
24965             }
24966          }
24967       }
24968       programs {
24969          // signal: elm,state,%s,active
24970          //   a "check" item named %s went active
24971          // signal: elm,state,%s,passive
24972          //   a "check" item named %s went passive
24973          // default is passive
24974          program {
24975             name:    "go_active";
24976             signal:  "elm,state,selected";
24977             source:  "elm";
24978             action:  STATE_SET "selected" 0.0;
24979             target:  "bg";
24980             target:  "fg1";
24981             target:  "fg2";
24982             target:  "elm.text.title";
24983             target:  "elm.text.artist";
24984          }
24985          program {
24986             name:    "go_passive";
24987             signal:  "elm,state,unselected";
24988             source:  "elm";
24989             action:  STATE_SET "default" 0.0;
24990             target:  "bg";
24991             target:  "fg1";
24992             target:  "fg2";
24993             target:  "elm.text.title";
24994             target:  "elm.text.artist";
24995             transition: LINEAR 0.1;
24996          }
24997          program {
24998             name:    "go_disabled";
24999             signal:  "elm,state,disabled";
25000             source:  "elm";
25001             action:  STATE_SET "disabled" 0.0;
25002             target:  "disclip";
25003          }
25004          program {
25005             name:    "go_enabled";
25006             signal:  "elm,state,enabled";
25007             source:  "elm";
25008             action:  STATE_SET "default" 0.0;
25009             target:  "disclip";
25010          }
25011       }
25012    }
25013
25014    group { name: "elm/genlist/item/mode/default";
25015       data.item: "selectraise" "on";
25016       data.item: "labels" "elm.text.mode";
25017       data.item: "icons" "elm.swallow.mode";
25018       data.item: "mode_part" "elm.swallow.origin";
25019       data.item: "treesize" "20";
25020       images {
25021          image: "bt_sm_base1.png" COMP;
25022          image: "bt_sm_shine.png" COMP;
25023          image: "bt_sm_hilight.png" COMP;
25024          image: "ilist_1.png" COMP;
25025          image: "ilist_2.png" COMP;
25026          image: "ilist_item_shadow.png" COMP;
25027       }
25028
25029       parts {
25030          part {
25031             name: "event";
25032             type: RECT;
25033             repeat_events: 1;
25034             description {
25035                state: "default" 0.0;
25036                color: 0 0 0 0;
25037             }
25038          }
25039          part {
25040             name: "base_sh";
25041             mouse_events: 0;
25042             description {
25043                state: "default" 0.0;
25044                align: 0.0 0.0;
25045                min: 0 10;
25046                fixed: 1 1;
25047                rel1 {
25048                   to: "base";
25049                   relative: 0.0 1.0;
25050                   offset: 0 0;
25051                }
25052                rel2 {
25053                   to: "base";
25054                   relative: 1.0 1.0;
25055                   offset: -1 0;
25056                }
25057                image {
25058                   normal: "ilist_item_shadow.png";
25059                }
25060                fill.smooth: 0;
25061             }
25062             description {
25063                state: "default" 1.0;
25064                inherit: "default" 0.0;
25065                visible: 0;
25066             }
25067          }
25068          part {
25069             name: "base";
25070             mouse_events: 0;
25071             description {
25072                state: "default" 0.0;
25073                image {
25074                   normal: "ilist_1.png";
25075                   border: 2 2 2 2;
25076                }
25077                fill.smooth: 0;
25078             }
25079             description {
25080                state: "default" 1.0;
25081                inherit: "default" 0.0;
25082                image.normal: "ilist_2.png";
25083             }
25084          }
25085          part { name: "bg";
25086             clip_to: "disclip";
25087             mouse_events: 0;
25088             description { state: "default" 0.0;
25089                visible: 0;
25090                color: 255 255 255 0;
25091                rel1 {
25092                   relative: 0.0 0.0;
25093                   offset: -5 -5;
25094                }
25095                rel2 {
25096                   relative: 1.0 1.0;
25097                   offset: 4 4;
25098                }
25099                image {
25100                   normal: "bt_sm_base1.png";
25101                   border: 6 6 6 6;
25102                }
25103                image.middle: SOLID;
25104             }
25105             description { state: "default" 0.1;
25106                inherit: "default" 0.0;
25107             }
25108             description { state: "selected" 0.0;
25109                inherit: "default" 0.0;
25110                visible: 1;
25111                color: 255 255 255 255;
25112                rel1 {
25113                   relative: 0.0 0.0;
25114                   offset: -2 -2;
25115                }
25116                rel2 {
25117                   relative: 1.0 1.0;
25118                   offset: 1 1;
25119                }
25120             }
25121             description {
25122                state: "selected" 1.0;
25123                inherit: "selected" 0.0;
25124             }
25125          }
25126          part { name: "elm.text.mode";
25127             clip_to: "disclip";
25128             type: TEXT;
25129             scale: 1;
25130             description { state: "default" 0.0;
25131                rel2.relative: 0.5 1.0;
25132                color: 0 0 0 255;
25133                text {
25134                   font: "Sans";
25135                   size: 10;
25136                   min: 1 1;
25137                   align: -1.0 0.5;
25138                   text_class: "list_item";
25139                }
25140             }
25141          }
25142         part { name: "elm.swallow.mode";
25143             clip_to: "disclip";
25144             type: SWALLOW;
25145             description { state: "default" 0.0;
25146                rel1.relative: 0.5 0.0;
25147             }
25148          }
25149          part { name: "fg1";
25150             clip_to: "disclip";
25151             mouse_events: 0;
25152             description { state: "default" 0.0;
25153                visible: 0;
25154                color: 255 255 255 0;
25155                rel1.to: "bg";
25156                rel2.relative: 1.0 0.5;
25157                rel2.to: "bg";
25158                image {
25159                   normal: "bt_sm_hilight.png";
25160                   border: 6 6 6 0;
25161                }
25162             }
25163             description { state: "selected" 0.0;
25164                inherit: "default" 0.0;
25165                visible: 1;
25166                color: 255 255 255 255;
25167             }
25168             description {
25169                state: "selected" 1.0;
25170                inherit: "default" 0.0;
25171                visible: 1;
25172                color: 255 255 255 255;
25173             }
25174          }
25175          part { name: "fg2";
25176             clip_to: "disclip";
25177             mouse_events: 0;
25178             description { state: "default" 0.0;
25179                visible: 0;
25180                color: 255 255 255 0;
25181                rel1.to: "bg";
25182                rel2.to: "bg";
25183                image {
25184                   normal: "bt_sm_shine.png";
25185                   border: 6 6 6 0;
25186                }
25187             }
25188             description { state: "selected" 0.0;
25189                inherit: "default" 0.0;
25190                visible: 1;
25191                color: 255 255 255 255;
25192             }
25193             description {
25194                state: "selected" 1.0;
25195                inherit: "default" 0.0;
25196                visible: 1;
25197                color: 255 255 255 255;
25198             }
25199          }
25200          // Transparent part between base parts and slidable parts
25201          part { name: "event_block_layer";
25202             type: RECT;
25203             clip_to: "disclip";
25204             mouse_events: 1;
25205             description { state: "default" 0.0;
25206                rel1.to: "base";
25207                rel2.to: "base";
25208                color: 0 0 0 0;
25209             }
25210             description { state: "repeat_events" 0.0;
25211                inherit: "default" 0.0;
25212                visible: 0;
25213             }
25214          }
25215          part { name: "pers";
25216             clip_to: "disclip";
25217             type: RECT;
25218             description { state: "default" 0.0;
25219                rel1.relative: 0.0 1.0;
25220             }
25221          }
25222          part { name: "elm.swallow.origin";
25223             clip_to: "disclip";
25224             type: SWALLOW;
25225             description { state: "default" 0.0;
25226                fixed: 1 0;
25227                align: 0.0 0.5;
25228             }
25229             description { state: "slide" 0.0;
25230                inherit: "default" 0.0;
25231                rel1.relative: 1 0;
25232                rel2.relative: 2 1;
25233             }
25234             description { state: "rotate" 0.0;
25235                inherit: "default" 0.0;
25236                map {
25237                   perspective: "pers";
25238                   on: 1;
25239                   smooth: 1;
25240                   perspective_on: 1;
25241                   backface_cull: 1;
25242                   rotation {
25243                      center: "pers";
25244                      x: 0.0;
25245                      y: 0.0;
25246                      z: 0.0;
25247                   }
25248                }
25249             }
25250             description { state: "rotate" 1.0;
25251                inherit: "default" 0.0;
25252                map {
25253                   perspective: "pers";
25254                   on: 1;
25255                   smooth: 1;
25256                   perspective_on: 1;
25257                   backface_cull: 1;
25258                   rotation {
25259                      center: "pers";
25260                      x: 90.0;
25261                      y: 0.0;
25262                      z: 0.0;
25263                   }
25264                }
25265             }
25266          }
25267          part { name: "disclip";
25268             type: RECT;
25269             description { state: "default" 0.0;
25270                rel1.to: "bg";
25271                rel2.to: "bg";
25272             }
25273             description { state: "disabled" 0.0;
25274                inherit: "default" 0.0;
25275                color: 255 255 255 64;
25276             }
25277          }
25278       }
25279       programs {
25280          program {
25281             name:    "odd";
25282             signal:  "elm,state,odd";
25283             source:  "elm";
25284             action:  STATE_SET "default" 1.0;
25285             target:  "base_sh";
25286             target:  "base";
25287          }
25288          program {
25289             name:    "even";
25290             signal:  "elm,state,even";
25291             source:  "elm";
25292             action:  STATE_SET "default" 0.0;
25293             target:  "base_sh";
25294             target:  "base";
25295          }
25296          program {
25297             name:    "go_active";
25298             signal:  "elm,state,selected";
25299             source:  "elm";
25300             script {
25301                new st[31];
25302                new Float:vl;
25303                get_state(PART:"base", st, 30, vl);
25304                set_state(PART:"bg", "selected", vl);
25305                set_state(PART:"fg1", "selected", vl);
25306                set_state(PART:"fg2", "selected", vl);
25307             }
25308          }
25309          program {
25310             name:    "go_passive";
25311             signal:  "elm,state,unselected";
25312             source:  "elm";
25313             script {
25314                new st[31];
25315                new Float:vl;
25316                get_state(PART:"base", st, 30, vl);
25317                set_state(PART:"bg", "default", vl);
25318                set_state(PART:"fg1", "default", vl);
25319                set_state(PART:"fg2", "default", vl);
25320             }
25321          }
25322          program {
25323             name:    "go_disabled";
25324             signal:  "elm,state,disabled";
25325             source:  "elm";
25326             action:  STATE_SET "disabled" 0.0;
25327             target:  "disclip";
25328          }
25329          program {
25330             name:    "go_enabled";
25331             signal:  "elm,state,enabled";
25332             source:  "elm";
25333             action:  STATE_SET "default" 0.0;
25334             target:  "disclip";
25335          }
25336          program {
25337             name:    "slide_right";
25338             signal:  "elm,state,slide,active";
25339             source:  "elm";
25340             action:  STATE_SET "slide" 0.0;
25341             target:  "elm.swallow.origin";
25342             transition: ACCELERATE 0.5;
25343             after:   "unblock_event";
25344          }
25345          program {
25346             name:    "unblock_event";
25347             action:  STATE_SET "repeat_events" 0.0;
25348             target:  "event_block_layer";
25349          }
25350          program {
25351             name:    "slide_left";
25352             signal:  "elm,state,slide,passive";
25353             source:  "elm";
25354             action:  STATE_SET "default" 0.0;
25355             target:  "event_block_layer";
25356             after:   "slide_left2";
25357          }
25358          program {
25359             name:    "slide_left2";
25360             action:  STATE_SET "default" 0.0;
25361             target:  "elm.swallow.origin";
25362             transition: DECELERATE 0.5;
25363             after:   "slide_left_finished";
25364          }
25365          program {
25366             name:    "slide_left_finished";
25367             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25368          }
25369          program {
25370             name:    "rotate_on";
25371             signal:  "elm,state,rotate,active";
25372             source:  "elm";
25373             action:  STATE_SET "rotate" 0.0;
25374             target:  "elm.swallow.origin";
25375             after:   "rotate_on2";
25376          }
25377          program {
25378             name:    "rotate_on2";
25379             action:  STATE_SET "rotate" 1.0;
25380             target:  "elm.swallow.origin";
25381             transition: LINEAR 0.5;
25382             after:   "unblock_event";
25383          }
25384          program {
25385             name:    "rotate_off";
25386             signal:  "elm,state,rotate,passive";
25387             source:  "elm";
25388             action:  STATE_SET "default" 0.0;
25389             target:  "event_block_layer";
25390             after:   "rotate_off2";
25391          }
25392          program {
25393             name:    "rotate_off2";
25394             action:  STATE_SET "rotate" 0.0;
25395             transition: LINEAR 0.5;
25396             target:  "elm.swallow.origin";
25397             after:   "rotate_off3";
25398          }
25399          program {
25400             name:    "rotate_off3";
25401             action:  STATE_SET "default" 0.0;
25402             target:  "elm.swallow.origin";
25403             after:   "rotate_off_finished";
25404          }
25405          program {
25406             name:    "rotate_off_finished";
25407             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25408          }
25409       }
25410    }
25411
25412    group { name: "elm/genlist/item_odd/mode/default";
25413       data.item: "stacking" "below";
25414       data.item: "selectraise" "on";
25415       data.item: "labels" "elm.text.mode";
25416       data.item: "icons" "elm.swallow.mode";
25417       data.item: "mode_part" "elm.swallow.origin";
25418       data.item: "treesize" "20";
25419       images {
25420          image: "bt_sm_base1.png" COMP;
25421          image: "bt_sm_shine.png" COMP;
25422          image: "bt_sm_hilight.png" COMP;
25423          image: "ilist_2.png" COMP;
25424       }
25425
25426       parts {
25427          part {
25428             name: "event";
25429             type: RECT;
25430             repeat_events: 1;
25431             description {
25432                state: "default" 0.0;
25433                color: 0 0 0 0;
25434             }
25435          }
25436          part {
25437             name: "base";
25438             mouse_events: 0;
25439             description {
25440                state: "default" 0.0;
25441                image {
25442                   normal: "ilist_2.png";
25443                   border: 2 2 2 2;
25444                }
25445                fill.smooth: 0;
25446             }
25447          }
25448          part { name: "bg";
25449             clip_to: "disclip";
25450             mouse_events: 0;
25451             description { state: "default" 0.0;
25452                visible: 0;
25453                color: 255 255 255 0;
25454                rel1 {
25455                   relative: 0.0 0.0;
25456                   offset: -5 -5;
25457                }
25458                rel2 {
25459                   relative: 1.0 1.0;
25460                   offset: 4 4;
25461                }
25462                image {
25463                   normal: "bt_sm_base1.png";
25464                   border: 6 6 6 6;
25465                }
25466                image.middle: SOLID;
25467             }
25468             description { state: "selected" 0.0;
25469                inherit: "default" 0.0;
25470                visible: 1;
25471                color: 255 255 255 255;
25472                rel1 {
25473                   relative: 0.0 0.0;
25474                   offset: -2 -2;
25475                }
25476                rel2 {
25477                   relative: 1.0 1.0;
25478                   offset: 1 1;
25479                }
25480             }
25481          }
25482          part { name: "elm.text.mode";
25483             clip_to: "disclip";
25484             type: TEXT;
25485             scale: 1;
25486             description { state: "default" 0.0;
25487                rel2.relative: 0.5 1.0;
25488                color: 0 0 0 255;
25489                text {
25490                   font: "Sans";
25491                   size: 10;
25492                   min: 1 1;
25493                   align: 0.5 0.5;
25494                   text_class: "list_item";
25495                }
25496             }
25497          }
25498         part { name: "elm.swallow.mode";
25499             clip_to: "disclip";
25500             type: SWALLOW;
25501             description { state: "default" 0.0;
25502                rel1.relative: 0.5 0.0;
25503             }
25504          }
25505          part { name: "fg1";
25506             clip_to: "disclip";
25507             mouse_events: 0;
25508             description { state: "default" 0.0;
25509                visible: 0;
25510                color: 255 255 255 0;
25511                rel1.to: "bg";
25512                rel2.relative: 1.0 0.5;
25513                rel2.to: "bg";
25514                image {
25515                   normal: "bt_sm_hilight.png";
25516                   border: 6 6 6 0;
25517                }
25518             }
25519             description { state: "selected" 0.0;
25520                inherit: "default" 0.0;
25521                visible: 1;
25522                color: 255 255 255 255;
25523             }
25524          }
25525          part { name: "fg2";
25526             clip_to: "disclip";
25527             mouse_events: 0;
25528             description { state: "default" 0.0;
25529                visible: 0;
25530                color: 255 255 255 0;
25531                rel1.to: "bg";
25532                rel2.to: "bg";
25533                image {
25534                   normal: "bt_sm_shine.png";
25535                   border: 6 6 6 0;
25536                }
25537             }
25538             description { state: "selected" 0.0;
25539                inherit: "default" 0.0;
25540                visible: 1;
25541                color: 255 255 255 255;
25542             }
25543          }
25544          // Transparent part between base parts and slidable parts
25545          part { name: "event_block_layer";
25546             type: RECT;
25547             clip_to: "disclip";
25548             mouse_events: 1;
25549             description { state: "default" 0.0;
25550                rel1.to: "base";
25551                rel2.to: "base";
25552                color: 0 0 0 0;
25553             }
25554             description { state: "repeat_events" 0.0;
25555                inherit: "default" 0.0;
25556                visible: 0;
25557             }
25558          }
25559          part { name: "pers";
25560             clip_to: "disclip";
25561             type: RECT;
25562             description { state: "default" 0.0;
25563                rel1.relative: 0.0 1.0;
25564             }
25565          }
25566          part { name: "elm.swallow.origin";
25567             clip_to: "disclip";
25568             type: SWALLOW;
25569             description { state: "default" 0.0;
25570                fixed: 1 0;
25571                align: 0.0 0.5;
25572             }
25573             description { state: "slide" 0.0;
25574                inherit: "default" 0.0;
25575                rel1.relative: 1 0;
25576                rel2.relative: 2 1;
25577             }
25578             description { state: "rotate" 0.0;
25579                inherit: "default" 0.0;
25580                map {
25581                   perspective: "pers";
25582                   on: 1;
25583                   smooth: 1;
25584                   perspective_on: 1;
25585                   backface_cull: 1;
25586                   rotation {
25587                      center: "pers";
25588                      x: 0.0;
25589                      y: 0.0;
25590                      z: 0.0;
25591                   }
25592                }
25593             }
25594             description { state: "rotate" 1.0;
25595                inherit: "default" 0.0;
25596                map {
25597                   perspective: "pers";
25598                   on: 1;
25599                   smooth: 1;
25600                   perspective_on: 1;
25601                   backface_cull: 1;
25602                   rotation {
25603                      center: "pers";
25604                      x: 90.0;
25605                      y: 0.0;
25606                      z: 0.0;
25607                   }
25608                }
25609             }
25610          }
25611          part { name: "disclip";
25612             type: RECT;
25613             description { state: "default" 0.0;
25614                rel1.to: "bg";
25615                rel2.to: "bg";
25616             }
25617             description { state: "disabled" 0.0;
25618                inherit: "default" 0.0;
25619                color: 255 255 255 64;
25620             }
25621          }
25622       }
25623       programs {
25624          program {
25625             name:    "go_active";
25626             signal:  "elm,state,selected";
25627             source:  "elm";
25628             action:  STATE_SET "selected" 0.0;
25629             target:  "bg";
25630             target:  "fg1";
25631             target:  "fg2";
25632          }
25633          program {
25634             name:    "go_passive";
25635             signal:  "elm,state,unselected";
25636             source:  "elm";
25637             action:  STATE_SET "default" 0.0;
25638             target:  "bg";
25639             target:  "fg1";
25640             target:  "fg2";
25641             transition: LINEAR 0.1;
25642          }
25643          program {
25644             name:    "go_disabled";
25645             signal:  "elm,state,disabled";
25646             source:  "elm";
25647             action:  STATE_SET "disabled" 0.0;
25648             target:  "disclip";
25649          }
25650          program {
25651             name:    "go_enabled";
25652             signal:  "elm,state,enabled";
25653             source:  "elm";
25654             action:  STATE_SET "default" 0.0;
25655             target:  "disclip";
25656          }
25657          program {
25658             name:    "slide_right";
25659             signal:  "elm,state,slide,active";
25660             source:  "elm";
25661             action:  STATE_SET "slide" 0.0;
25662             target:  "elm.swallow.origin";
25663             transition: ACCELERATE 0.5;
25664             after:   "unblock_event";
25665          }
25666          program {
25667             name:    "unblock_event";
25668             action:  STATE_SET "repeat_events" 0.0;
25669             target:  "event_block_layer";
25670          }
25671          program {
25672             name:    "slide_left";
25673             signal:  "elm,state,slide,passive";
25674             source:  "elm";
25675             action:  STATE_SET "default" 0.0;
25676             target:   "event_block_layer";
25677             after:   "slide_left2";
25678          }
25679          program {
25680             name:    "slide_left2";
25681             action:  STATE_SET "default" 0.0;
25682             target:  "elm.swallow.origin";
25683             transition: DECELERATE 0.5;
25684             after:   "slide_left_finished";
25685          }
25686          program {
25687             name:    "slide_left_finished";
25688             action:  SIGNAL_EMIT "elm,state,slide,passive,finished" "elm";
25689          }
25690          program {
25691             name:    "rotate_on";
25692             signal:  "elm,state,rotate,active";
25693             source:  "elm";
25694             action:  STATE_SET "rotate" 0.0;
25695             target:  "elm.swallow.origin";
25696             after:   "rotate_on2";
25697          }
25698          program {
25699             name:    "rotate_on2";
25700             action:  STATE_SET "rotate" 1.0;
25701             target:  "elm.swallow.origin";
25702             transition: LINEAR 0.5;
25703             after:   "unblock_event";
25704          }
25705          program {
25706             name:    "rotate_off";
25707             signal:  "elm,state,rotate,passive";
25708             source:  "elm";
25709             action:  STATE_SET "default" 0.0;
25710             target:  "event_block_layer";
25711             after:   "rotate_off2";
25712          }
25713          program {
25714             name:    "rotate_off2";
25715             action:  STATE_SET "rotate" 0.0;
25716             transition: LINEAR 0.5;
25717             target:  "elm.swallow.origin";
25718             after:   "rotate_off3";
25719          }
25720          program {
25721             name:    "rotate_off3";
25722             action:  STATE_SET "default" 0.0;
25723             target:  "elm.swallow.origin";
25724             after:   "rotate_off_finished";
25725          }
25726          program {
25727             name:    "rotate_off_finished";
25728             action:  SIGNAL_EMIT "elm,state,rotate,passive,finished" "elm";
25729          }
25730       }
25731    }
25732
25733 ///////////////////////////////////////////////////////////////////////////////
25734    group { name: "elm/pager/base/default";
25735       data.item: "onshow" "raise";
25736 // other options
25737 //      data.item: "onhide" "lower";
25738 //      data.item: "onshow" "lower";
25739       images {
25740          image: "frame_1.png" COMP;
25741          image: "frame_2.png" COMP;
25742          image: "dia_grad.png" COMP;
25743       }
25744       parts {
25745          part { name: "clip";
25746             type: RECT;
25747             mouse_events: 0;
25748             description { state: "default" 0.0;
25749                rel1 {
25750                   to: "base";
25751                   offset: -9999 -9999;
25752                }
25753                rel2 {
25754                   to: "base";
25755                   offset: 9999 9999;
25756                }
25757                color: 255 255 255 255;
25758             }
25759             description { state: "visible" 0.0;
25760                inherit: "default" 0.0;
25761             }
25762             description { state: "hidden" 0.0;
25763                inherit: "default" 0.0;
25764                color: 255 255 255 0;
25765                visible: 0;
25766             }
25767          }
25768          part { name: "base0";
25769             mouse_events:  0;
25770             clip_to: "clip";
25771             description { state: "default" 0.0;
25772                image.normal: "dia_grad.png";
25773                rel1.to: "over";
25774                rel2.to: "over";
25775                fill {
25776                   smooth: 0;
25777                   size {
25778                      relative: 0.0 1.0;
25779                      offset: 64 0;
25780                   }
25781                }
25782             }
25783          }
25784          part { name: "base";
25785             mouse_events:  0;
25786             clip_to: "clip";
25787             description { state: "default" 0.0;
25788                image {
25789                   normal: "frame_2.png";
25790                   border: 5 5 32 26;
25791                   middle: 0;
25792                }
25793                fill.smooth : 0;
25794             }
25795             description { state: "hidden" 0.0;
25796                inherit: "default" 0.0;
25797                rel1.relative: -1.0 0.0;
25798                rel2.relative: 0.0 1.0;
25799             }
25800             description { state: "visible" 0.0;
25801                inherit: "default" 0.0;
25802                rel1.relative: 0.0 0.0;
25803                rel2.relative: 1.0 1.0;
25804             }
25805          }
25806          part { name: "over";
25807             mouse_events:  0;
25808             clip_to: "clip";
25809             description { state:    "default" 0.0;
25810                rel1 {
25811                   to: "base";
25812                   offset: 4 4;
25813                }
25814                rel2 {
25815                   to: "base";
25816                   offset: -5 -5;
25817                }
25818                image {
25819                   normal: "frame_1.png";
25820                   border: 2 2 28 22;
25821                   middle: 0;
25822                }
25823                fill.smooth : 0;
25824             }
25825          }
25826          part { name: "elm.swallow.content";
25827             type: SWALLOW;
25828             clip_to: "clip";
25829             description { state: "default" 0.0;
25830                rel1 {
25831                   to: "base";
25832                   offset: 8 8;
25833                }
25834                rel2 {
25835                   to: "base";
25836                   offset: -9 -9;
25837                }
25838             }
25839          }
25840       }
25841       programs {
25842          program { name: "push_start";
25843             signal: "elm,action,push";
25844             source: "elm";
25845             action:  STATE_SET "hidden" 0.0;
25846             target: "base";
25847             target: "clip";
25848             after: "show_start2";
25849          }
25850          program { name: "show_start";
25851             signal: "elm,action,show";
25852             source: "elm";
25853             action:  STATE_SET "hidden" 0.0;
25854             target: "base";
25855             target: "clip";
25856             after: "show_start2";
25857          }
25858          program { name: "show_start2";
25859             action:  STATE_SET "visible" 0.0;
25860             transition: DECELERATE 0.5;
25861             target: "base";
25862             target: "clip";
25863             after: "show_end";
25864          }
25865          program { name: "show_end";
25866             action: SIGNAL_EMIT "elm,action,show,finished" "";
25867          }
25868          program { name: "pop_start";
25869             signal: "elm,action,pop";
25870             source: "elm";
25871             action:  STATE_SET "visible" 0.0;
25872             target: "base";
25873             target: "clip";
25874             after: "hide_start2";
25875          }
25876          program { name: "hide_start";
25877             signal: "elm,action,hide";
25878             source: "elm";
25879             action:  STATE_SET "visible" 0.0;
25880             target: "base";
25881             target: "clip";
25882             after: "hide_start2";
25883          }
25884          program { name: "hide_start2";
25885             action:  STATE_SET "hidden" 0.0;
25886             transition: DECELERATE 0.5;
25887             target: "base";
25888             target: "clip";
25889             after: "hide_end";
25890          }
25891          program { name: "hide_end";
25892             action: SIGNAL_EMIT "elm,action,hide,finished" "";
25893          }
25894          program { name: "reset";
25895             signal: "elm,action,reset";
25896             source: "elm";
25897             action:  STATE_SET "default" 0.0;
25898             target: "base";
25899             target: "clip";
25900          }
25901       }
25902    }
25903
25904    group { name: "elm/pager/base/slide";
25905       images {
25906          image: "frame_1.png" COMP;
25907          image: "frame_2.png" COMP;
25908          image: "dia_grad.png" COMP;
25909       }
25910       parts {
25911          part { name: "clip";
25912             type: RECT;
25913             mouse_events: 0;
25914             description { state: "default" 0.0;
25915                rel1 {
25916                   to: "base";
25917                   offset: -9999 -9999;
25918                }
25919                rel2 {
25920                   to: "base";
25921                   offset: 9999 9999;
25922                }
25923                color: 255 255 255 255;
25924             }
25925             description { state: "visible" 0.0;
25926                inherit: "default" 0.0;
25927             }
25928             description { state: "hidden" 0.0;
25929                inherit: "default" 0.0;
25930                color: 255 255 255 0;
25931                visible: 0;
25932             }
25933             description { state: "hidden2" 0.0;
25934                inherit: "default" 0.0;
25935                color: 255 255 255 0;
25936                visible: 0;
25937             }
25938          }
25939          part { name: "base0";
25940             mouse_events:  0;
25941             clip_to: "clip";
25942             description { state: "default" 0.0;
25943                image.normal: "dia_grad.png";
25944                rel1.to: "over";
25945                rel2.to: "over";
25946                fill {
25947                   smooth: 0;
25948                   size {
25949                      relative: 0.0 1.0;
25950                      offset: 64 0;
25951                   }
25952                }
25953             }
25954          }
25955          part { name: "base";
25956             mouse_events:  0;
25957             clip_to: "clip";
25958             description { state: "default" 0.0;
25959                image {
25960                   normal: "frame_2.png";
25961                   border: 5 5 32 26;
25962                   middle: 0;
25963                }
25964                fill.smooth : 0;
25965             }
25966             description { state: "hidden" 0.0;
25967                inherit: "default" 0.0;
25968                rel1.relative: -1.0 0.0;
25969                rel2.relative: 0.0 1.0;
25970             }
25971             description { state: "hidden2" 0.0;
25972                inherit: "default" 0.0;
25973                rel1.relative: 1.0 0.0;
25974                rel2.relative: 2.0 1.0;
25975             }
25976             description { state: "visible" 0.0;
25977                inherit: "default" 0.0;
25978                rel1.relative: 0.0 0.0;
25979                rel2.relative: 1.0 1.0;
25980             }
25981          }
25982          part { name: "over";
25983             mouse_events:  0;
25984             clip_to: "clip";
25985             description { state:    "default" 0.0;
25986                rel1 {
25987                   to: "base";
25988                   offset: 4 4;
25989                }
25990                rel2 {
25991                   to: "base";
25992                   offset: -5 -5;
25993                }
25994                image {
25995                   normal: "frame_1.png";
25996                   border: 2 2 28 22;
25997                   middle: 0;
25998                }
25999                fill.smooth : 0;
26000             }
26001          }
26002          part { name: "elm.swallow.content";
26003             type: SWALLOW;
26004             clip_to: "clip";
26005             description { state: "default" 0.0;
26006                rel1 {
26007                   to: "base";
26008                   offset: 8 8;
26009                }
26010                rel2 {
26011                   to: "base";
26012                   offset: -9 -9;
26013                }
26014             }
26015          }
26016       }
26017       programs {
26018          program { name: "push_start";
26019             signal: "elm,action,push";
26020             source: "elm";
26021             action:  STATE_SET "hidden2" 0.0;
26022             target: "base";
26023             target: "clip";
26024             after: "show_start2";
26025          }
26026          program { name: "show_start";
26027             signal: "elm,action,show";
26028             source: "elm";
26029             action:  STATE_SET "hidden" 0.0;
26030             target: "base";
26031             target: "clip";
26032             after: "show_start2";
26033          }
26034          program { name: "show_start2";
26035             action:  STATE_SET "visible" 0.0;
26036             transition: DECELERATE 0.5;
26037             target: "base";
26038             target: "clip";
26039             after: "show_end";
26040          }
26041          program { name: "show_end";
26042             action: SIGNAL_EMIT "elm,action,show,finished" "";
26043          }
26044          program { name: "pop_start";
26045             signal: "elm,action,pop";
26046             source: "elm";
26047             action:  STATE_SET "visible" 0.0;
26048             target: "base";
26049             target: "clip";
26050             after: "pop_start2";
26051          }
26052          program { name: "pop_start2";
26053             action:  STATE_SET "hidden2" 0.0;
26054             transition: DECELERATE 0.5;
26055             target: "base";
26056             target: "clip";
26057             after: "hide_end";
26058          }
26059          program { name: "hide_start";
26060             signal: "elm,action,hide";
26061             source: "elm";
26062             action:  STATE_SET "visible" 0.0;
26063             target: "base";
26064             target: "clip";
26065             after: "hide_start2";
26066          }
26067          program { name: "hide_start2";
26068             action:  STATE_SET "hidden" 0.0;
26069             transition: DECELERATE 0.5;
26070             target: "base";
26071             target: "clip";
26072             after: "hide_end";
26073          }
26074          program { name: "hide_end";
26075             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26076          }
26077          program { name: "reset";
26078             signal: "elm,action,reset";
26079             source: "elm";
26080             action:  STATE_SET "default" 0.0;
26081             target: "base";
26082             target: "clip";
26083          }
26084       }
26085    }
26086    group { name: "elm/pager/base/slide_invisible";
26087       parts {
26088          part { name: "clip";
26089             type: RECT;
26090             mouse_events: 0;
26091             description { state: "default" 0.0;
26092                rel1 {
26093                   to: "base";
26094                   offset: -9999 -9999;
26095             }
26096                rel2 {
26097                   to: "base";
26098                   offset: 9999 9999;
26099                }
26100                color: 255 255 255 255;
26101             }
26102             description { state: "visible" 0.0;
26103                inherit: "default" 0.0;
26104             }
26105             description { state: "hidden" 0.0;
26106                inherit: "default" 0.0;
26107                color: 255 255 255 0;
26108                visible: 0;
26109             }
26110             description { state: "hidden2" 0.0;
26111                inherit: "default" 0.0;
26112                color: 255 255 255 0;
26113                visible: 0;
26114             }
26115          }
26116          part { name: "base";
26117             type: RECT;
26118             mouse_events:  0;
26119             clip_to: "clip";
26120             description { state: "default" 0.0;
26121                color: 0 0 0 0;
26122             }
26123             description { state: "hidden" 0.0;
26124                color: 0 0 0 0;
26125                rel1.relative: -1.0 0.0;
26126                rel2.relative: 0.0 1.0;
26127             }
26128             description { state: "hidden2" 0.0;
26129                color: 0 0 0 0;
26130                rel1.relative: 1.0 0.0;
26131                rel2.relative: 2.0 1.0;
26132             }
26133             description { state: "visible" 0.0;
26134                color: 0 0 0 0;
26135                rel1.relative: 0.0 0.0;
26136                rel2.relative: 1.0 1.0;
26137             }
26138          }
26139          part { name: "elm.swallow.content";
26140             type: SWALLOW;
26141             clip_to: "clip";
26142             description { state: "default" 0.0;
26143                rel1.to: "base";
26144                rel2.to: "base";
26145             }
26146          }
26147       }
26148       programs {
26149          program { name: "push_start";
26150             signal: "elm,action,push";
26151             source: "elm";
26152             action:  STATE_SET "hidden2" 0.0;
26153             target: "base";
26154             target: "clip";
26155             after: "show_start2";
26156          }
26157          program { name: "show_start";
26158             signal: "elm,action,show";
26159             source: "elm";
26160             action:  STATE_SET "hidden" 0.0;
26161             target: "base";
26162             target: "clip";
26163             after: "show_start2";
26164          }
26165          program { name: "show_start2";
26166             action:  STATE_SET "visible" 0.0;
26167             transition: DECELERATE 0.5;
26168             target: "base";
26169             target: "clip";
26170             after: "show_end";
26171          }
26172          program { name: "show_end";
26173             action: SIGNAL_EMIT "elm,action,show,finished" "";
26174          }
26175          program { name: "pop_start";
26176             signal: "elm,action,pop";
26177             source: "elm";
26178             action:  STATE_SET "visible" 0.0;
26179             target: "base";
26180             target: "clip";
26181             after: "pop_start2";
26182          }
26183          program { name: "pop_start2";
26184             action:  STATE_SET "hidden2" 0.0;
26185             transition: DECELERATE 0.5;
26186             target: "base";
26187             target: "clip";
26188             after: "hide_end";
26189          }
26190          program { name: "hide_start";
26191             signal: "elm,action,hide";
26192             source: "elm";
26193             action:  STATE_SET "visible" 0.0;
26194             target: "base";
26195             target: "clip";
26196             after: "hide_start2";
26197          }
26198          program { name: "hide_start2";
26199             action:  STATE_SET "hidden" 0.0;
26200             transition: DECELERATE 0.5;
26201             target: "base";
26202             target: "clip";
26203             after: "hide_end";
26204          }
26205          program { name: "hide_end";
26206             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26207          }
26208          program { name: "reset";
26209             signal: "elm,action,reset";
26210             source: "elm";
26211             action:  STATE_SET "default" 0.0;
26212             target: "base";
26213             target: "clip";
26214          }
26215       }
26216    }
26217
26218    group { name: "elm/pager/base/fade";
26219        data.item: "onshow" "raise";
26220        // other options
26221        //      data.item: "onhide" "lower";
26222        //      data.item: "onshow" "lower";
26223        images {
26224            image: "frame_1.png" COMP;
26225            image: "frame_2.png" COMP;
26226            image: "dia_grad.png" COMP;
26227        }
26228        parts {
26229            part { name: "clip_base";
26230                type: RECT;
26231                mouse_events: 0;
26232                description { state: "default" 0.0;
26233                    rel1 {
26234                        to: "base";
26235                        offset: -9999 -9999;
26236                    }
26237                    rel2 {
26238                        to: "base";
26239                        offset: 9999 9999;
26240                    }
26241                    color: 255 255 255 120;
26242                }
26243                description { state: "visible" 0.0;
26244                    inherit: "default" 0.0;
26245                }
26246                description { state: "hidden" 0.0;
26247                    inherit: "default" 0.0;
26248                    color: 255 255 255 0;
26249                    visible: 0;
26250                }
26251            }
26252            part { name: "clip";
26253                type: RECT;
26254                mouse_events: 0;
26255                description { state: "default" 0.0;
26256                    rel1 {
26257                        to: "base";
26258                        offset: -9999 -9999;
26259                    }
26260                    rel2 {
26261                        to: "base";
26262                        offset: 9999 9999;
26263                    }
26264                    color: 255 255 255 255;
26265                }
26266                description { state: "visible" 0.0;
26267                    inherit: "default" 0.0;
26268                }
26269                description { state: "hidden" 0.0;
26270                    inherit: "default" 0.0;
26271                    color: 255 255 255 0;
26272                    visible: 0;
26273                }
26274            }
26275            part { name: "base0";
26276                mouse_events:  0;
26277                clip_to: "clip_base";
26278                description { state: "default" 0.0;
26279                    image.normal: "dia_grad.png";
26280                    rel1.to: "over";
26281                    rel2.to: "over";
26282                    fill {
26283                        smooth: 0;
26284                        size {
26285                            relative: 0.0 1.0;
26286                            offset: 64 0;
26287                        }
26288                    }
26289                }
26290            }
26291            part { name: "base";
26292                mouse_events:  0;
26293                clip_to: "clip_base";
26294                description { state: "default" 0.0;
26295                    image {
26296                        normal: "frame_2.png";
26297                        border: 5 5 32 26;
26298                        middle: 0;
26299                    }
26300                    fill.smooth : 0;
26301                }
26302            }
26303            part { name: "over";
26304                mouse_events:  0;
26305                clip_to: "clip";
26306                description { state:    "default" 0.0;
26307                    rel1 {
26308                        to: "base";
26309                        offset: 4 4;
26310                    }
26311                    rel2 {
26312                        to: "base";
26313                        offset: -5 -5;
26314                    }
26315                    image {
26316                        normal: "frame_1.png";
26317                        border: 2 2 28 22;
26318                        middle: 0;
26319                    }
26320                    fill.smooth : 0;
26321                }
26322            }
26323            part { name: "elm.swallow.content";
26324                type: SWALLOW;
26325                clip_to: "clip";
26326                description { state: "default" 0.0;
26327                    rel1 {
26328                        to: "base";
26329                        offset: 8 8;
26330                    }
26331                    rel2 {
26332                        to: "base";
26333                        offset: -9 -9;
26334                    }
26335                }
26336            }
26337        }
26338        programs {
26339            program { name: "push_start";
26340                signal: "elm,action,push";
26341                source: "elm";
26342                action:  STATE_SET "hidden" 0.0;
26343                target: "clip";
26344                target: "clip_base";
26345                after: "show_start2";
26346            }
26347            program { name: "show_start";
26348                signal: "elm,action,show";
26349                source: "elm";
26350                action:  STATE_SET "hidden" 0.0;
26351                target: "clip";
26352                target: "clip_base";
26353                after: "show_start2";
26354            }
26355            program { name: "show_start2";
26356                action:  STATE_SET "visible" 0.0;
26357                transition: DECELERATE 0.5;
26358                target: "clip";
26359                target: "clip_base";
26360                after: "show_end";
26361            }
26362            program { name: "show_end";
26363                action: SIGNAL_EMIT "elm,action,show,finished" "";
26364            }
26365            program { name: "pop_start";
26366                signal: "elm,action,pop";
26367                source: "elm";
26368                action:  STATE_SET "visible" 0.0;
26369                target: "clip";
26370                target: "clip_base";
26371                after: "hide_start2";
26372            }
26373            program { name: "hide_start";
26374                signal: "elm,action,hide";
26375                source: "elm";
26376                action:  STATE_SET "visible" 0.0;
26377                target: "clip";
26378                target: "clip_base";
26379                after: "hide_start2";
26380            }
26381            program { name: "hide_start2";
26382                action:  STATE_SET "hidden" 0.0;
26383                transition: DECELERATE 0.5;
26384                target: "clip";
26385                target: "clip_base";
26386                after: "hide_end";
26387            }
26388            program { name: "hide_end";
26389                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26390            }
26391            program { name: "reset";
26392                signal: "elm,action,reset";
26393                source: "elm";
26394                action:  STATE_SET "default" 0.0;
26395                target: "clip_base";
26396                target: "clip";
26397            }
26398        }
26399    }
26400    group { name: "elm/pager/base/fade_translucide";
26401        data.item: "onshow" "raise";
26402        // other options
26403        //      data.item: "onhide" "lower";
26404        //      data.item: "onshow" "lower";
26405        images {
26406            image: "frame_1.png" COMP;
26407            image: "frame_2.png" COMP;
26408            image: "dia_grad.png" COMP;
26409        }
26410        parts {
26411            part { name: "clip_base";
26412                type: RECT;
26413                mouse_events: 0;
26414                description { state: "default" 0.0;
26415                    rel1 {
26416                        to: "base";
26417                        offset: -9999 -9999;
26418                    }
26419                    rel2 {
26420                        to: "base";
26421                        offset: 9999 9999;
26422                    }
26423                    color: 255 255 255 120;
26424                }
26425                description { state: "visible" 0.0;
26426                    inherit: "default" 0.0;
26427                }
26428                description { state: "hidden" 0.0;
26429                    inherit: "default" 0.0;
26430                    color: 255 255 255 0;
26431                    visible: 0;
26432                }
26433            }
26434            part { name: "clip";
26435                type: RECT;
26436                mouse_events: 0;
26437                description { state: "default" 0.0;
26438                    rel1 {
26439                        to: "base";
26440                        offset: -9999 -9999;
26441                    }
26442                    rel2 {
26443                        to: "base";
26444                        offset: 9999 9999;
26445                    }
26446                    color: 255 255 255 255;
26447                }
26448                description { state: "visible" 0.0;
26449                    inherit: "default" 0.0;
26450                }
26451                description { state: "hidden" 0.0;
26452                    inherit: "default" 0.0;
26453                    color: 255 255 255 0;
26454                    visible: 0;
26455                }
26456            }
26457            part { name: "base0";
26458                mouse_events:  0;
26459                clip_to: "clip_base";
26460                description { state: "default" 0.0;
26461                    image.normal: "dia_grad.png";
26462                    rel1.to: "over";
26463                    rel2.to: "over";
26464                    fill {
26465                        smooth: 0;
26466                        size {
26467                            relative: 0.0 1.0;
26468                            offset: 64 0;
26469                        }
26470                    }
26471                }
26472            }
26473            part { name: "base";
26474                mouse_events:  0;
26475                clip_to: "clip_base";
26476                description { state: "default" 0.0;
26477                    image {
26478                        normal: "frame_2.png";
26479                        border: 5 5 32 26;
26480                        middle: 0;
26481                    }
26482                    fill.smooth : 0;
26483                }
26484            }
26485            part { name: "over";
26486                mouse_events:  0;
26487                clip_to: "clip";
26488                description { state:    "default" 0.0;
26489                    rel1 {
26490                        to: "base";
26491                        offset: 4 4;
26492                    }
26493                    rel2 {
26494                        to: "base";
26495                        offset: -5 -5;
26496                    }
26497                    image {
26498                        normal: "frame_1.png";
26499                        border: 2 2 28 22;
26500                        middle: 0;
26501                    }
26502                    fill.smooth : 0;
26503                }
26504            }
26505            part { name: "elm.swallow.content";
26506                type: SWALLOW;
26507                clip_to: "clip";
26508                description { state: "default" 0.0;
26509                    rel1 {
26510                        to: "base";
26511                        offset: 8 8;
26512                    }
26513                    rel2 {
26514                        to: "base";
26515                        offset: -9 -9;
26516                    }
26517                }
26518            }
26519        }
26520        programs {
26521            program { name: "push_start";
26522                signal: "elm,action,push";
26523                source: "elm";
26524                action:  STATE_SET "hidden" 0.0;
26525                target: "clip";
26526                target: "clip_base";
26527                after: "show_start2";
26528            }
26529            program { name: "show_start";
26530                signal: "elm,action,show";
26531                source: "elm";
26532                action:  STATE_SET "hidden" 0.0;
26533                target: "clip";
26534                target: "clip_base";
26535                after: "show_start2";
26536            }
26537            program { name: "show_start2";
26538                action:  STATE_SET "visible" 0.0;
26539                transition: DECELERATE 0.5;
26540                target: "clip";
26541                target: "clip_base";
26542                after: "show_end";
26543            }
26544            program { name: "show_end";
26545                action: SIGNAL_EMIT "elm,action,show,finished" "";
26546            }
26547            program { name: "pop_start";
26548                signal: "elm,action,pop";
26549                source: "elm";
26550                action:  STATE_SET "visible" 0.0;
26551                target: "clip";
26552                target: "clip_base";
26553                after: "hide_start2";
26554            }
26555            program { name: "hide_start";
26556                signal: "elm,action,hide";
26557                source: "elm";
26558                action:  STATE_SET "visible" 0.0;
26559                target: "clip";
26560                target: "clip_base";
26561                after: "hide_start2";
26562            }
26563            program { name: "hide_start2";
26564                action:  STATE_SET "hidden" 0.0;
26565                transition: DECELERATE 0.5;
26566                target: "clip";
26567                target: "clip_base";
26568                after: "hide_end";
26569            }
26570            program { name: "hide_end";
26571                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26572            }
26573            program { name: "reset";
26574                signal: "elm,action,reset";
26575                source: "elm";
26576                action:  STATE_SET "default" 0.0;
26577                target: "clip_base";
26578                target: "clip";
26579            }
26580        }
26581    }
26582    group { name: "elm/pager/base/fade_invisible";
26583        data.item: "onshow" "raise";
26584        // other options
26585        //      data.item: "onhide" "lower";
26586        //      data.item: "onshow" "lower";
26587        parts {
26588            part { name: "clip";
26589                type: RECT;
26590                mouse_events: 0;
26591                description { state: "default" 0.0;
26592                    rel1 {
26593                        offset: -9999 -9999;
26594                    }
26595                    rel2 {
26596                        offset: 9999 9999;
26597                    }
26598                    color: 255 255 255 255;
26599                }
26600                description { state: "visible" 0.0;
26601                    inherit: "default" 0.0;
26602                }
26603                description { state: "hidden" 0.0;
26604                    inherit: "default" 0.0;
26605                    color: 255 255 255 0;
26606                    visible: 0;
26607                }
26608            }
26609            part { name: "elm.swallow.content";
26610                type: SWALLOW;
26611                clip_to: "clip";
26612                description { state: "default" 0.0;
26613                    rel1 {
26614                        offset: 8 8;
26615                    }
26616                    rel2 {
26617                        offset: -9 -9;
26618                    }
26619                }
26620            }
26621        }
26622        programs {
26623            program { name: "push_start";
26624                signal: "elm,action,push";
26625                source: "elm";
26626                action:  STATE_SET "hidden" 0.0;
26627                target: "clip";
26628                after: "show_start2";
26629            }
26630            program { name: "show_start";
26631                signal: "elm,action,show";
26632                source: "elm";
26633                action:  STATE_SET "hidden" 0.0;
26634                target: "clip";
26635                after: "show_start2";
26636            }
26637            program { name: "show_start2";
26638                action:  STATE_SET "visible" 0.0;
26639                transition: DECELERATE 0.5;
26640                target: "clip";
26641                after: "show_end";
26642            }
26643            program { name: "show_end";
26644                action: SIGNAL_EMIT "elm,action,show,finished" "";
26645            }
26646            program { name: "pop_start";
26647                signal: "elm,action,pop";
26648                source: "elm";
26649                action:  STATE_SET "visible" 0.0;
26650                target: "clip";
26651                after: "hide_start2";
26652            }
26653            program { name: "hide_start";
26654                signal: "elm,action,hide";
26655                source: "elm";
26656                action:  STATE_SET "visible" 0.0;
26657                target: "clip";
26658                after: "hide_start2";
26659            }
26660            program { name: "hide_start2";
26661                action:  STATE_SET "hidden" 0.0;
26662                transition: DECELERATE 0.5;
26663                target: "clip";
26664                after: "hide_end";
26665            }
26666            program { name: "hide_end";
26667                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26668            }
26669            program { name: "reset";
26670                signal: "elm,action,reset";
26671                source: "elm";
26672                action:  STATE_SET "default" 0.0;
26673                target: "clip";
26674            }
26675        }
26676    }
26677
26678    group { name: "elm/pager/base/flip";
26679       data.item: "onshow" "raise";
26680       images {
26681          image: "frame_1.png" COMP;
26682          image: "frame_2.png" COMP;
26683          image: "dia_grad.png" COMP;
26684       }
26685       parts {
26686          part { name: "elm.swallow.content";
26687             type: SWALLOW;
26688             description { state: "default" 0.0;
26689                map {
26690                   on: 1;
26691                   smooth: 1;
26692                   backface_cull: 1;
26693                   perspective_on: 1;
26694                }
26695                perspective {
26696                   zplane: 0;
26697                   focal: 1000;
26698                }
26699             }
26700             description { state: "hidden" 0.0;
26701                inherit: "default" 0.0;
26702                visible: 0;
26703                map.rotation.y: 90.0;
26704             }
26705             description { state: "before_hidden" 0.0;
26706                inherit: "default" 0.0;
26707                visible: 0;
26708                map.rotation.y: -90.0;
26709             }
26710          }
26711       }
26712       programs {
26713          program { name: "push_start";
26714             signal: "elm,action,push";
26715             source: "elm";
26716             after: "push1";
26717          }
26718          program { name: "push1";
26719             action:  STATE_SET "hidden" 0.0;
26720             target: "elm.swallow.content";
26721             after: "push2";
26722          }
26723          program { name: "push2";
26724             action:  STATE_SET "default" 0.0;
26725             in: 0.5 0.0;
26726             transition: LINEAR 0.5;
26727             target: "elm.swallow.content";
26728             after: "push3";
26729          }
26730          program { name: "push3";
26731             action: SIGNAL_EMIT "elm,action,show,finished" "";
26732          }
26733
26734          program { name: "show_start";
26735             signal: "elm,action,show";
26736             source: "elm";
26737             after: "show1";
26738          }
26739          program { name: "show1";
26740             action:  STATE_SET "before_hidden" 0.0;
26741             target: "elm.swallow.content";
26742             after: "show2";
26743          }
26744          program { name: "show2";
26745             action:  STATE_SET "default" 0.0;
26746             in: 0.5 0.0;
26747             transition: LINEAR 0.5;
26748             target: "elm.swallow.content";
26749             after: "show3";
26750          }
26751          program { name: "show3";
26752             action: SIGNAL_EMIT "elm,action,show,finished" "";
26753          }
26754
26755          program { name: "pop_start";
26756             signal: "elm,action,pop";
26757             source: "elm";
26758             after: "pop1";
26759          }
26760          program { name: "pop1";
26761             action:  STATE_SET "default" 0.0;
26762             target: "elm.swallow.content";
26763             after: "pop2";
26764          }
26765          program { name: "pop2";
26766             action:  STATE_SET "hidden" 0.0;
26767             transition: LINEAR 0.5;
26768             target: "elm.swallow.content";
26769             after: "pop3";
26770          }
26771          program { name: "pop3";
26772             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26773          }
26774
26775          program { name: "hide_start";
26776             signal: "elm,action,hide";
26777             source: "elm";
26778             after: "hide1";
26779          }
26780          program { name: "hide1";
26781             action:  STATE_SET "default" 0.0;
26782             target: "elm.swallow.content";
26783             after: "hide2";
26784          }
26785          program { name: "hide2";
26786             action:  STATE_SET "before_hidden" 0.0;
26787             transition: LINEAR 0.5;
26788             target: "elm.swallow.content";
26789             after: "hide3";
26790          }
26791          program { name: "hide3";
26792             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26793          }
26794
26795          program { name: "reset";
26796             signal: "elm,action,reset";
26797             source: "elm";
26798             action:  STATE_SET "default" 0.0;
26799             target: "elm.swallow.content";
26800          }
26801       }
26802    }
26803
26804
26805
26806 ///////////////////////////////////////////////////////////////////////////////
26807 // FIXME: this doesn't look too hot. need to fix it up
26808    group { name: "elm/progressbar/horizontal/default";
26809       images {
26810          image: "shelf_inset.png" COMP;
26811          image: "bt_sm_base2.png" COMP;
26812          image: "bt_sm_hilight.png" COMP;
26813          image: "bt_sm_shine.png" COMP;
26814       }
26815       parts {
26816          part { name: "elm.background.progressbar";
26817             mouse_events: 0;
26818             description {
26819                state: "default" 0.0;
26820                rel1 {
26821                   relative: 0.0 0.0;
26822                   offset: 0 0;
26823                }
26824                rel2 {
26825                   relative: 1.0 1.0;
26826                }
26827             }
26828          }
26829          part { name: "elm.swallow.bar";
26830             mouse_events: 0;
26831             type: SWALLOW;
26832             description {
26833                min: 48 28;
26834                max: 99999 28;
26835                state: "default" 0.0;
26836                rel1 {
26837                   to_x: "elm.text";
26838                   to_y: "elm.background.progressbar";
26839                   relative: 1.0 0.0;
26840                }
26841                rel2 {
26842                   to: "elm.background.progressbar";
26843                   relative: 1.0 1.0;
26844                }
26845             }
26846          }
26847          part { name: "elm.swallow.content";
26848             type: SWALLOW;
26849             description { state: "default" 0.0;
26850                visible: 0;
26851                align: 0.0 0.5;
26852                rel1 {
26853                   offset: 4 0;
26854                   to_y: "elm.background.progressbar";
26855                }
26856                rel2 {
26857                   offset: 3 -1;
26858                   relative: 0.0 1.0;
26859                   to_y: "elm.background.progressbar";
26860                }
26861             }
26862             description { state: "visible" 0.0;
26863                inherit: "default" 0.0;
26864                visible: 1;
26865                aspect: 1.0 1.0;
26866                aspect_preference: VERTICAL;
26867                rel2.offset: 4 -1;
26868             }
26869          }
26870          part { name: "elm.text";
26871             type: TEXT;
26872             mouse_events: 0;
26873             scale: 1;
26874             description { state: "default" 0.0;
26875                visible: 0;
26876                fixed: 1 1;
26877                align: 0.0 0.5;
26878                rel1.to_x: "elm.swallow.content";
26879                rel1.relative: 1.0 0.0;
26880                rel1.offset: -1 4;
26881                rel2.to_x: "elm.swallow.content";
26882                rel2.relative: 1.0 1.0;
26883                rel2.offset: -1 -5;
26884                color: 0 0 0 255;
26885                text {
26886                   font: "Sans,Edje-Vera";
26887                   size: 10;
26888                   min: 0 0;
26889                   align: 0.0 0.5;
26890                }
26891             }
26892             description { state: "visible" 0.0;
26893                inherit: "default" 0.0;
26894                visible: 1;
26895                text.min: 1 1;
26896                rel1.offset: 0 4;
26897                rel2.offset: 0 -5;
26898             }
26899          }
26900
26901          part { name: "background";
26902             mouse_events: 0;
26903             clip_to: "elm.background.progressbar";
26904             description {
26905                state: "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: 1.0 1.0;
26913                   offset: -1 -1;
26914                }
26915                image {
26916                   normal: "shelf_inset.png";
26917                   border: 7 7 7 7;
26918                }
26919             }
26920          }
26921
26922          part { name: "elm.text.status";
26923             type: TEXT;
26924             mouse_events: 0;
26925             description { state: "default" 0.0;
26926                fixed: 1 1;
26927                visible: 1;
26928                rel1 {
26929                   to: "background";
26930                   relative: 0.5 0.5;
26931                }
26932                rel2 {
26933                   to: "background";
26934                   relative: 0.5 0.5;
26935                }
26936                text {
26937                   font: "Sans:style=Bold,Edje-Vera-Bold";
26938                   size: 10;
26939                   min: 1 1;
26940                   align: 0.5 0.0;
26941                }
26942                color: 0 0 0 255;
26943             }
26944             description { state: "hidden" 0.0;
26945                inherit: "default" 0.0;
26946                visible: 0;
26947                text.min: 0 0;
26948             }
26949          }
26950
26951          part { name: "elm.progress.progressbar";
26952             mouse_events: 0;
26953             clip_to: "elm.background.progressbar";
26954             description {
26955                state: "default" 0.0;
26956                min: 14 28;
26957                fixed: 1 1;
26958                rel1 {
26959                   to: "elm.swallow.bar";
26960                   relative: 0.0 0.0;
26961                }
26962                rel2 {
26963                   to_y: "elm.swallow.bar";
26964                   to_x: "elm.cur.progressbar";
26965                   offset: -1 -1;
26966                }
26967                image {
26968                   normal: "bt_sm_base2.png";
26969                   border: 6 6 6 6;
26970                }
26971             }
26972             description {
26973                state: "invert" 0.0;
26974                inherit: "default" 0.0;
26975                rel1 {
26976                   to_y: "elm.swallow.bar";
26977                   to_x: "elm.cur.progressbar";
26978                }
26979                rel2 {
26980                   to: "elm.swallow.bar";
26981                   relative: 1.0 1.0;
26982                }
26983             }
26984             description {
26985                state: "state_begin" 0.0;
26986                inherit: "default" 0.0;
26987                rel1 {
26988                   to: "elm.swallow.bar";
26989                   relative: 0.0 0.0;
26990                }
26991                rel2 {
26992                   to: "elm.swallow.bar";
26993                   relative: 0.1 1.0;
26994                }
26995             }
26996             description {
26997                state: "state_end" 0.0;
26998                inherit: "default" 0.0;
26999                rel1 {
27000                   to: "elm.swallow.bar";
27001                   relative: 0.9 0.0;
27002                }
27003                rel2 {
27004                   to: "elm.swallow.bar";
27005                   relative: 1.0 1.0;
27006                }
27007             }
27008          }
27009          part { name: "text-bar";
27010             type: TEXT;
27011             mouse_events: 0;
27012             clip_to: "progress-rect";
27013             effect: SOFT_SHADOW;
27014             scale: 1;
27015             description { state: "default" 0.0;
27016                align: 0.0 0.0;
27017                fixed: 1 1;
27018                visible: 1;
27019                rel1.to: "elm.text.status";
27020                rel1.offset: -1 -1;
27021                rel2.to: "elm.text.status";
27022                text {
27023                   text_source: "elm.text.status";
27024                   font: "Sans:style=Bold,Edje-Vera-Bold";
27025                   size: 10;
27026                   min: 1 1;
27027                   align: 0.0 0.0;
27028                }
27029                color: 224 224 224 255;
27030                color3: 0 0 0 64;
27031             }
27032             description { state: "hidden" 0.0;
27033                inherit: "default" 0.0;
27034                visible: 0;
27035                text.min: 0 0;
27036             }
27037          }
27038
27039          part { name: "over1";
27040             mouse_events: 0;
27041             description { state: "default" 0.0;
27042                rel1.to: "elm.progress.progressbar";
27043                rel2.to: "elm.progress.progressbar";
27044                rel2.relative: 1.0 0.5;
27045                image {
27046                   normal: "bt_sm_hilight.png";
27047                   border: 6 6 6 0;
27048                }
27049             }
27050          }
27051
27052          part { name: "over2";
27053             mouse_events: 1;
27054             repeat_events: 1;
27055             description { state: "default" 0.0;
27056                rel1.to: "elm.progress.progressbar";
27057                rel2.to: "elm.progress.progressbar";
27058                image {
27059                   normal: "bt_sm_shine.png";
27060                   border: 6 6 6 0;
27061                }
27062             }
27063          }
27064
27065          part { name: "elm.cur.progressbar";
27066             mouse_events: 0;
27067             dragable {
27068                confine: "background";
27069                x: 1 1 1;
27070                y: 0 0 0;
27071             }
27072             description { state: "default" 0.0;
27073                min: 14 28;
27074                fixed: 1 1;
27075                visible: 0;
27076                rel1 {
27077                   to: "background";
27078                   relative: 0 0;
27079                }
27080                rel2.to: "background";
27081            }
27082          }
27083          part { name: "progress-rect";
27084             mouse_events: 0;
27085             description {
27086                state: "default" 0.0;
27087                rel1.to: "elm.progress.progressbar";
27088                rel2.to: "elm.progress.progressbar";
27089             }
27090          }
27091       }
27092       programs {
27093          program { name: "label_show";
27094             signal: "elm,state,text,visible";
27095             source: "elm";
27096             action:  STATE_SET "visible" 0.0;
27097             target: "elm.text";
27098          }
27099          program { name: "label_hide";
27100             signal: "elm,state,text,hidden";
27101             source: "elm";
27102             action:  STATE_SET "default" 0.0;
27103             target: "elm.text";
27104          }
27105          program { name: "icon_show";
27106             signal: "elm,state,icon,visible";
27107             source: "elm";
27108             action:  STATE_SET "visible" 0.0;
27109             target: "elm.swallow.content";
27110          }
27111          program { name: "icon_hide";
27112             signal: "elm,state,icon,hidden";
27113             source: "elm";
27114             action:  STATE_SET "default" 0.0;
27115             target: "elm.swallow.content";
27116          }
27117          program { name: "units_show";
27118             signal: "elm,state,units,visible";
27119             source: "elm";
27120             action:  STATE_SET "default" 0.0;
27121             target: "text-bar";
27122             target: "elm.text.status";
27123          }
27124          program { name: "units_hide";
27125             signal: "elm,state,units,hidden";
27126             source: "elm";
27127             action:  STATE_SET "hidden" 0.0;
27128             target: "text-bar";
27129             target: "elm.text.status";
27130          }
27131          program { name: "slide_to_end";
27132             action:  STATE_SET "state_end" 0.0;
27133             transition: LINEAR 0.5;
27134             target: "elm.progress.progressbar";
27135             after: "slide_to_begin";
27136          }
27137          program { name: "slide_to_begin";
27138             signal: "elm,state,slide,begin";
27139             action: STATE_SET "state_begin" 0.0;
27140             target: "elm.progress.progressbar";
27141             transition: LINEAR 0.5;
27142             after: "slide_to_end";
27143          }
27144          program { name: "start_pulse";
27145             signal: "elm,state,pulse,start";
27146             source: "elm";
27147             after: "slide_to_end";
27148          }
27149          program { name: "stop_pulse";
27150             signal: "elm,state,pulse,stop";
27151             source: "elm";
27152             action: ACTION_STOP;
27153             target: "slide_to_begin";
27154             target: "slide_to_end";
27155             target: "start_pulse";
27156             after: "state_pulse";
27157          }
27158          program { name: "state_pulse";
27159             signal: "elm,state,pulse";
27160             source: "elm";
27161             action: STATE_SET "state_begin" 0.0;
27162             target: "elm.progress.progressbar";
27163             after: "units_hide";
27164          }
27165          program { name: "state_fraction";
27166             signal: "elm,state,fraction";
27167             source: "elm";
27168             action: ACTION_STOP;
27169             target: "slide_to_begin";
27170             target: "slide_to_end";
27171             target: "start_pulse";
27172             action: STATE_SET "default" 0.0;
27173             target: "elm.progress.progressbar";
27174          }
27175          program { name: "set_invert_on";
27176             signal: "elm,state,inverted,on";
27177             source: "elm";
27178             action:  STATE_SET "invert" 0.0;
27179             target: "elm.progress.progressbar";
27180          }
27181          program { name: "set_invert_off";
27182             signal: "elm,state,inverted,off";
27183             source: "elm";
27184             action:  STATE_SET "default" 0.0;
27185             target: "elm.progress.progressbar";
27186          }
27187       }
27188    }
27189
27190 ///////////////////////////////////////////////////////////////////////////////
27191    group { name: "elm/progressbar/vertical/default";
27192       images {
27193          image: "shelf_inset.png" COMP;
27194          image: "bt_sm_base2.png" COMP;
27195          image: "bt_sm_hilight.png" COMP;
27196          image: "bt_sm_shine.png" COMP;
27197       }
27198       parts {
27199          part { name: "elm.background.progressbar";
27200             type: RECT;
27201             mouse_events: 0;
27202             description {
27203                state: "default" 0.0;
27204                rel1 {
27205                   relative: 0.0 0.0;
27206                   offset: 0 0;
27207                }
27208                rel2 {
27209                   relative: 1.0 1.0;
27210                   offset: -1 -1;
27211                }
27212             }
27213          }
27214          part { name: "elm.swallow.bar";
27215             type: SWALLOW;
27216             scale: 1;
27217             description { state: "default" 0.0;
27218                min: 28 48;
27219                max: 28 9999;
27220                align: 0.5 1.0;
27221                rel1 {
27222                   to_y: "elm.text";
27223                   relative: 0.0 1.0;
27224                   offset: 0 2;
27225                }
27226                rel2 {
27227                   to_y: "elm.text.box";
27228                   relative: 1.0 0.0;
27229                   offset: -1 -3;
27230                }
27231             }
27232          }
27233          part { name: "elm.swallow.content";
27234             type: SWALLOW;
27235             description { state: "default" 0.0;
27236                visible: 0;
27237                align: 0.5 0.0;
27238                rel1 {
27239                   offset: 0 4;
27240                   to_x: "elm.swallow.bar";
27241                }
27242                rel2 {
27243                   offset: -1 3;
27244                   relative: 1.0 0.0;
27245                   to_x: "elm.swallow.bar";
27246                }
27247             }
27248             description { state: "visible" 0.0;
27249                inherit: "default" 0.0;
27250                visible: 1;
27251                aspect: 1.0 1.0;
27252                aspect_preference: HORIZONTAL;
27253                rel2.offset: -1 4;
27254             }
27255          }
27256          part { name: "elm.text";
27257             type: TEXT;
27258             mouse_events: 0;
27259             scale: 1;
27260             description { state: "default" 0.0;
27261                visible: 0;
27262                fixed: 1 1;
27263                align: 0.5 0.0;
27264                rel1.to_y: "elm.swallow.content";
27265                rel1.relative: 0.5 1.0;
27266                rel1.offset: 0 -1;
27267                rel2.to_y: "elm.swallow.content";
27268                rel2.relative: 0.5 1.0;
27269                rel2.offset: -1 -1;
27270                color: 0 0 0 255;
27271                text {
27272                   font: "Sans,Edje-Vera";
27273                   size: 10;
27274                   min: 0 0;
27275                   align: 0.5 0.0;
27276                }
27277             }
27278             description { state: "visible" 0.0;
27279                inherit: "default" 0.0;
27280                visible: 1;
27281                text.min: 1 1;
27282                rel1.offset: 4 0;
27283                rel2.offset: -5 0;
27284             }
27285          }
27286
27287          part { name: "background";
27288             mouse_events: 0;
27289             clip_to: "elm.background.progressbar";
27290             description {
27291                state: "default" 0.0;
27292                rel1 {
27293                   to: "elm.swallow.bar";
27294                   relative: 0.0 0.0;
27295                }
27296                rel2 {
27297                   to: "elm.swallow.bar";
27298                   relative: 1.0 1.0;
27299                   offset: -1 -1;
27300                }
27301                image {
27302                   normal: "shelf_inset.png";
27303                   border: 7 7 7 7;
27304                }
27305             }
27306          }
27307
27308          part { name: "elm.progress.progressbar";
27309             mouse_events: 0;
27310             clip_to: "elm.background.progressbar";
27311             description {
27312                state: "default" 0.0;
27313                min: 28 14;
27314                fixed: 1 1;
27315                rel1 {
27316                   to: "elm.swallow.bar";
27317                   relative: 0.0 0.0;
27318                }
27319                rel2 {
27320                   to_x: "elm.swallow.bar";
27321                   to_y: "elm.cur.progressbar";
27322                   offset: -1 -1;
27323                }
27324                image {
27325                   normal: "bt_sm_base2.png";
27326                   border: 6 6 6 6;
27327                }
27328             }
27329             description {
27330                state: "invert" 0.0;
27331                inherit: "default" 0.0;
27332                rel1 {
27333                   to_x: "elm.swallow.bar";
27334                   to_y: "elm.cur.progressbar";
27335                }
27336                rel2 {
27337                   to: "elm.swallow.bar";
27338                   relative: 1.0 1.0;
27339                }
27340             }
27341             description {
27342                state: "state_begin" 0.0;
27343                inherit: "default" 0.0;
27344                rel1 {
27345                   to: "elm.swallow.bar";
27346                   relative: 0.0 0.0;
27347                }
27348                rel2 {
27349                   to: "elm.swallow.bar";
27350                   relative: 1.0 0.1;
27351                }
27352             }
27353             description {
27354                state: "state_end" 0.0;
27355                inherit: "default" 0.0;
27356                rel1 {
27357                   to: "elm.swallow.bar";
27358                   relative: 0.0 0.9;
27359                }
27360                rel2 {
27361                   to: "elm.swallow.bar";
27362                   relative: 1.0 1.0;
27363                }
27364             }
27365          }
27366
27367          part { name: "over1";
27368             mouse_events: 0;
27369             description { state: "default" 0.0;
27370                rel1.to: "elm.progress.progressbar";
27371                rel2.to: "elm.progress.progressbar";
27372                rel2.relative: 1.0 0.5;
27373                image {
27374                   normal: "bt_sm_hilight.png";
27375                   border: 6 6 6 0;
27376                }
27377             }
27378          }
27379
27380          part { name: "over2";
27381             mouse_events: 1;
27382             repeat_events: 1;
27383             description { state: "default" 0.0;
27384                rel1.to: "elm.progress.progressbar";
27385                rel2.to: "elm.progress.progressbar";
27386                image {
27387                   normal: "bt_sm_shine.png";
27388                   border: 6 6 6 0;
27389                }
27390             }
27391          }
27392
27393          part { name: "elm.cur.progressbar";
27394             mouse_events: 0;
27395             dragable {
27396                confine: "background";
27397                x: 0 0 0;
27398                y: 1 1 1;
27399             }
27400             description { state: "default" 0.0;
27401                min: 28 14;
27402                fixed: 1 1;
27403                visible: 0;
27404                rel1 {
27405                   to: "background";
27406                   relative: 0 0;
27407                }
27408                rel2.to: "background";
27409            }
27410          }
27411
27412          part { name: "elm.text.box";
27413             mouse_events: 0;
27414             type: RECT;
27415             description { state: "default" 0.0;
27416                visible: 0;
27417                rel1 {
27418                   to: "elm.text.status";
27419                   offset: -2 -2;
27420                }
27421                rel2 {
27422                   to: "elm.text.status";
27423                   offset: 2 2;
27424                }
27425                color: 255 255 255 0;
27426             }
27427             description { state: "visible" 0.0;
27428                inherit: "default" 0.0;
27429                visible: 1;
27430             }
27431          }
27432          part { name: "elm.text.status";
27433             type: TEXT;
27434             mouse_events: 0;
27435             scale: 1;
27436             description { state: "default" 0.0;
27437                visible: 0;
27438                fixed: 1 1;
27439                align: 0.5 1.0;
27440                rel1.relative: 0.0 1.0;
27441                rel1.offset: 2 0;
27442                rel2.relative: 1.0 1.0;
27443                rel2.offset: -2 0;
27444                color: 0 0 0 255;
27445                text {
27446                   font: "Sans:style=Bold,Edje-Vera-Bold";
27447                   size: 10;
27448                   min: 0 0;
27449                   align: 0.5 0.0;
27450                }
27451             }
27452             description { state: "visible" 0.0;
27453                inherit: "default" 0.0;
27454                fixed: 1 1;
27455                visible: 1;
27456                text.min: 1 1;
27457                rel1.offset: 8 -9;
27458                rel2.offset: -9 -9;
27459             }
27460          }
27461       }
27462       programs {
27463          program { name: "label_show";
27464             signal: "elm,state,text,visible";
27465             source: "elm";
27466             action:  STATE_SET "visible" 0.0;
27467             target: "elm.text";
27468          }
27469          program { name: "label_hide";
27470             signal: "elm,state,text,hidden";
27471             source: "elm";
27472             action:  STATE_SET "default" 0.0;
27473             target: "elm.text";
27474          }
27475          program { name: "icon_show";
27476             signal: "elm,state,icon,visible";
27477             source: "elm";
27478             action:  STATE_SET "visible" 0.0;
27479             target: "elm.swallow.content";
27480          }
27481          program { name: "icon_hide";
27482             signal: "elm,state,icon,hidden";
27483             source: "elm";
27484             action:  STATE_SET "default" 0.0;
27485             target: "elm.swallow.content";
27486          }
27487          program { name: "units_show";
27488             signal: "elm,state,units,visible";
27489             source: "elm";
27490             action:  STATE_SET "visible" 0.0;
27491             target: "elm.text.status";
27492             target: "elm.text.box";
27493          }
27494          program { name: "units_hide";
27495             signal: "elm,state,units,hidden";
27496             source: "elm";
27497             action:  STATE_SET "default" 0.0;
27498             target: "elm.text.status";
27499             target: "elm.text.box";
27500          }
27501          program { name: "slide_to_end";
27502             action:  STATE_SET "state_end" 0.0;
27503             transition: LINEAR 0.5;
27504             target: "elm.progress.progressbar";
27505             after: "slide_to_begin";
27506          }
27507          program { name: "slide_to_begin";
27508             action:  STATE_SET "state_begin" 0.0;
27509             target: "elm.progress.progressbar";
27510             transition: LINEAR 0.5;
27511             after: "slide_to_end";
27512          }
27513          program { name: "start_pulse";
27514             signal: "elm,state,pulse,start";
27515             source: "elm";
27516             action: STATE_SET "state_begin" 0.0;
27517             target: "elm.progress.progressbar";
27518             after: "slide_to_end";
27519          }
27520          program { name: "stop_pulse";
27521             signal: "elm,state,pulse,stop";
27522             source: "elm";
27523             action: ACTION_STOP;
27524             target: "slide_to_begin";
27525             target: "slide_to_end";
27526             target: "start_pulse";
27527             after: "state_pulse";
27528          }
27529          program { name: "state_pulse";
27530             signal: "elm,state,pulse";
27531             source: "elm";
27532             action: STATE_SET "state_begin" 0.0;
27533             target: "elm.progress.progressbar";
27534             after: "units_hide";
27535          }
27536          program { name: "state_fraction";
27537             signal: "elm,state,fraction";
27538             source: "elm";
27539             action: ACTION_STOP;
27540             target: "slide_to_begin";
27541             target: "slide_to_end";
27542             target: "start_pulse";
27543             action: STATE_SET "default" 0.0;
27544             target: "elm.progress.progressbar";
27545          }
27546          program { name: "set_invert_on";
27547             signal: "elm,state,inverted,on";
27548             source: "elm";
27549             action:  STATE_SET "invert" 0.0;
27550             target: "elm.progress.progressbar";
27551             target: "elm.cur.progressbar";
27552          }
27553          program { name: "set_invert_off";
27554             signal: "elm,state,inverted,off";
27555             source: "elm";
27556             action:  STATE_SET "default" 0.0;
27557             target: "elm.progress.progressbar";
27558             target: "elm.cur.progressbar";
27559          }
27560       }
27561    }
27562
27563 ///////////////////////////////////////////////////////////////////////////////
27564    group { name: "elm/separator/horizontal/default";
27565        images {
27566            image: "separator_h.png" COMP;
27567        }
27568        parts {
27569            part { name: "separator"; // separator group
27570                description { state: "default" 0.0;
27571                    min: 2 2;
27572                    rel1.offset: 4 4;
27573                    rel2.offset: -5 -5;
27574                    image {
27575                        normal: "separator_h.png";
27576                    }
27577                    fill {
27578                        smooth: 0;
27579                    }
27580                }
27581            }
27582        }
27583    }
27584
27585    ///////////////////////////////////////////////////////////////////////////////
27586    group { name: "elm/separator/vertical/default";
27587        images {
27588            image: "separator_v.png" COMP;
27589        }
27590        parts {
27591            part { name: "separator"; // separator group
27592                description { state: "default" 0.0;
27593                    min: 2 2;
27594                    rel1.offset: 4 4;
27595                    rel2.offset: -5 -5;
27596                    image {
27597                        normal: "separator_v.png";
27598                    }
27599                    fill {
27600                        smooth: 0;
27601                    }
27602                }
27603            }
27604        }
27605    }
27606
27607    group { name: "elm/progressbar/horizontal/wheel";
27608        images {
27609            image: "busy-1.png" COMP;
27610            image: "busy-2.png" COMP;
27611            image: "busy-3.png" COMP;
27612            image: "busy-4.png" COMP;
27613            image: "busy-5.png" COMP;
27614            image: "busy-6.png" COMP;
27615            image: "busy-7.png" COMP;
27616            image: "busy-8.png" COMP;
27617            image: "busy-9.png" COMP;
27618        }
27619        parts {
27620            part { name: "elm.background.progressbar";
27621                mouse_events: 0;
27622                type: RECT;
27623                description {
27624                    state: "default" 0.0;
27625                }
27626            }
27627            part { name: "elm.swallow.bar";
27628                mouse_events: 0;
27629                type: SWALLOW;
27630                description { state: "default" 0.0;
27631                    min: 0 0;
27632                    max: 0 0;
27633                    visible: 0;
27634                }
27635            }
27636            part { name: "elm.swallow.content";
27637                type: SWALLOW;
27638                description { state: "default" 0.0;
27639                    min: 0 0;
27640                    max: 0 0;
27641                    visible: 0;
27642                }
27643            }
27644            part { name: "background";
27645                mouse_events: 0;
27646                clip_to: "elm.background.progressbar";
27647                description {
27648                    state: "default" 0.0;
27649                    min: 32 32;
27650                    max: 32 32;
27651                    visible: 1;
27652                    aspect: 1.0 1.0;
27653                    aspect_preference: BOTH;
27654                    image {
27655                        normal: "busy-9.png";
27656                        border: 7 7 7 7;
27657                    }
27658                }
27659                description {
27660                    state: "pulse" 0.0;
27661                    inherit: "default" 0.0;
27662                    image {
27663                        normal: "busy-9.png";
27664                        tween:  "busy-1.png";
27665                        tween:  "busy-2.png";
27666                        tween:  "busy-3.png";
27667                        tween:  "busy-4.png";
27668                        tween:  "busy-5.png";
27669                        tween:  "busy-6.png";
27670                        tween:  "busy-7.png";
27671                        tween:  "busy-8.png";
27672                        border: 7 7 7 7;
27673                    }
27674                }
27675            }
27676        }
27677        programs {
27678            program { name: "start_pulse";
27679                signal: "elm,state,pulse,start";
27680                source: "elm";
27681                action: STATE_SET "pulse" 0.0;
27682                target: "background";
27683                transition: LINEAR 0.5;
27684                after: "start_pulse";
27685            }
27686            program { name: "stop_pulse";
27687                signal: "elm,state,pulse,stop";
27688                source: "elm";
27689                action: STATE_SET "default" 0.0;
27690                target: "background";
27691            }
27692        }
27693    }
27694
27695
27696 ///////////////////////////////////////////////////////////////////////////////
27697    group { name: "elm/spinner/base/default";
27698        images {
27699            image: "shelf_inset.png" COMP;
27700            image: "bt_base1.png" COMP;
27701            image: "bt_hilight.png" COMP;
27702            image: "bt_shine.png" COMP;
27703            image: "bt_glow.png" COMP;
27704            image: "bt_dis_base.png" COMP;
27705            image: "bt_dis_hilight.png" COMP;
27706            image: "sp_bt_l.png" COMP;
27707            image: "sp_bt_r.png" COMP;
27708        }
27709        parts {
27710            part { name: "bg";
27711                type: RECT;
27712                description { state: "default" 0.0;
27713                    min: 0 30;
27714                    rel1.offset: 1 1;
27715                    rel2.offset: -2 -2;
27716                    color: 255 255 255 0;
27717                }
27718            }
27719            part { name: "conf_over";
27720                mouse_events:  0;
27721                description { state: "default" 0.0;
27722                    rel1.to: "bg";
27723                    rel2.to: "bg";
27724                    image {
27725                        normal: "shelf_inset.png";
27726                        border: 7 7 7 7;
27727                        middle: 0;
27728                    }
27729                    fill.smooth : 0;
27730                }
27731            }
27732            part { name: "left_bt";
27733                mouse_events:  1;
27734                description { state: "default" 0.0;
27735                    rel1 { to: "bg";
27736                        offset: 3 3;
27737                    }
27738                    rel2 { to: "bg";
27739                        offset: -4 -4;
27740                    }
27741                    align: 0.0 0.5;
27742                    min: 24 24;
27743                    aspect: 1.0 1.0;
27744                    aspect_preference: VERTICAL;
27745                    image {
27746                        normal: "bt_base1.png";
27747                        border: 6 6 6 6;
27748                    }
27749                    fill.smooth : 0;
27750                }
27751                description { state: "clicked" 0.0;
27752                    inherit: "default" 0.0;
27753                    image.normal: "bt_base1.png";
27754                    image.middle: SOLID;
27755                }
27756                description { state: "disabled" 0.0;
27757                    inherit:  "default" 0.0;
27758                    image {
27759                        normal: "bt_dis_base.png";
27760                        border: 4 4 4 4;
27761                    }
27762                }
27763            }
27764            part {          name: "left_over1";
27765                mouse_events: 0;
27766                description { state: "default" 0.0;
27767                    rel1.to: "left_bt";
27768                    rel2 { to: "left_bt";
27769                        relative: 1.0 0.5;
27770                    }
27771                    image {
27772                        normal: "bt_hilight.png";
27773                        border: 7 7 7 0;
27774                    }
27775                }
27776                description { state: "disabled" 0.0;
27777                    inherit:  "default" 0.0;
27778                    image {
27779                        normal: "bt_dis_hilight.png";
27780                        border: 4 4 4 0;
27781                    }
27782                }
27783            }
27784            part { name: "left_over2";
27785                mouse_events: 1;
27786                repeat_events: 1;
27787                ignore_flags: ON_HOLD;
27788                description { state: "default" 0.0;
27789                    rel1.to: "left_bt";
27790                    rel2.to: "left_bt";
27791                    image {
27792                        normal: "bt_shine.png";
27793                        border: 7 7 7 7;
27794                    }
27795                }
27796                description { state: "disabled" 0.0;
27797                    inherit:  "default" 0.0;
27798                    visible: 0;
27799                }
27800            }
27801            part { name: "left_over3";
27802                mouse_events: 1;
27803                repeat_events: 1;
27804                description { state: "default" 0.0;
27805                    color: 255 255 255 0;
27806                    rel1.to: "left_bt";
27807                    rel2.to: "left_bt";
27808                    image {
27809                        normal: "bt_glow.png";
27810                        border: 12 12 12 12;
27811                    }
27812                    fill.smooth : 0;
27813                }
27814                description { state: "clicked" 0.0;
27815                    inherit:  "default" 0.0;
27816                    visible: 1;
27817                    color: 255 255 255 255;
27818                }
27819            }
27820            part { name: "right_bt";
27821                mouse_events:  1;
27822                description { state: "default" 0.0;
27823                    rel1 { to: "bg";
27824                        offset: -26 3;
27825                    }
27826                    rel2 { to: "bg";
27827                        offset: -4 -4;
27828                    }
27829                    align: 1.0 0.5;
27830                    min: 24 24;
27831                    aspect: 1.0 1.0;
27832                    aspect_preference: VERTICAL;
27833                    image {
27834                        normal: "bt_base1.png";
27835                        border: 5 5 4 12;
27836                    }
27837                    fill.smooth : 0;
27838                }
27839                description { state: "clicked" 0.0;
27840                    inherit: "default" 0.0;
27841                    image.normal: "bt_base1.png";
27842                    image.middle: SOLID;
27843                }
27844                description { state: "disabled" 0.0;
27845                    inherit:  "default" 0.0;
27846                    image {
27847                        normal: "bt_dis_base.png";
27848                        border: 4 4 4 4;
27849                    }
27850                }
27851            }
27852            part { name: "right_over1";
27853                mouse_events: 0;
27854                description { state: "default" 0.0;
27855                    rel1.to: "right_bt";
27856                    rel2 { to: "right_bt";
27857                        relative: 1.0 0.5;
27858                    }
27859                    image {
27860                        normal: "bt_hilight.png";
27861                        border: 7 7 7 0;
27862                    }
27863                }
27864                description { state: "disabled" 0.0;
27865                    inherit:  "default" 0.0;
27866                    image {
27867                        normal: "bt_dis_hilight.png";
27868                        border: 4 4 4 0;
27869                    }
27870                }
27871            }
27872            part { name: "right_over2";
27873                mouse_events: 1;
27874                repeat_events: 1;
27875                ignore_flags: ON_HOLD;
27876                description { state: "default" 0.0;
27877                    rel1.to: "right_bt";
27878                    rel2.to: "right_bt";
27879                    image {
27880                        normal: "bt_shine.png";
27881                        border: 7 7 7 7;
27882                    }
27883                }
27884                description { state: "disabled" 0.0;
27885                    inherit:  "default" 0.0;
27886                    visible: 0;
27887                }
27888            }
27889            part { name: "right_over3";
27890                mouse_events: 1;
27891                repeat_events: 1;
27892                description { state: "default" 0.0;
27893                    color: 255 255 255 0;
27894                    rel1.to: "right_bt";
27895                    rel2.to: "right_bt";
27896                    image {
27897                        normal: "bt_glow.png";
27898                        border: 12 12 12 12;
27899                    }
27900                    fill.smooth : 0;
27901                }
27902                description { state: "clicked" 0.0;
27903                    inherit:  "default" 0.0;
27904                    visible: 1;
27905                    color: 255 255 255 255;
27906                }
27907            }
27908            part { name: "left_bt_icon";
27909                repeat_events: 1;
27910                description { state: "default" 0.0;
27911                    rel1.to: "left_bt";
27912                    rel1.offset: 4 4;
27913                    rel2.to: "left_bt";
27914                    rel2.offset: -5 -5;
27915                    align: 0.5 0.5;
27916                    min: 16 16;
27917                    aspect: 1.0 1.0;
27918                    aspect_preference: BOTH;
27919                    image.normal: "sp_bt_l.png";
27920                }
27921                description { state: "rtl" 0.0;
27922                    inherit: "default" 0.0;
27923                    image.normal: "sp_bt_r.png";
27924                }
27925            }
27926            part { name: "right_bt_icon";
27927                repeat_events: 1;
27928                description { state: "default" 0.0;
27929                    rel1.to: "right_bt";
27930                    rel1.offset: 4 4;
27931                    rel2.to: "right_bt";
27932                    rel2.offset: -5 -5;
27933                    align: 0.5 0.5;
27934                    min: 16 16;
27935                    aspect: 1.0 1.0;
27936                    aspect_preference: BOTH;
27937                    image.normal: "sp_bt_r.png";
27938                }
27939                description { state: "rtl" 0.0;
27940                    inherit: "default" 0.0;
27941                    image.normal: "sp_bt_l.png";
27942                }
27943            }
27944            part { name: "elm.text";
27945                type: TEXT;
27946                mouse_events: 0;
27947                scale: 1;
27948                description { state: "default" 0.0;
27949                    visible: 1;
27950                    align: 0.0 0.5;
27951                    rel1 { relative: 1.0 0.0;
27952                        offset: 3 2;
27953                        to_x: "left_bt";
27954                        to_y: "bg";
27955                    }
27956                    rel2 { relative: 0.0 1.0;
27957                        offset: -3 -2;
27958                        to_x: "right_bt";
27959                        to_y: "bg";
27960                    }
27961                    color: 0 0 0 255;
27962                    text {
27963                        font: "Sans,Edje-Vera";
27964                        size: 10;
27965                        min: 1 1;
27966                        align: 0.5 0.5;
27967                    }
27968                }
27969                description { state: "active" 0.0;
27970                    inherit: "default" 0.0;
27971                    visible: 0;
27972                }
27973                description { state: "disabled_active" 0.0;
27974                    inherit: "default" 0.0;
27975                    color: 0 0 0 128;
27976                    color3: 0 0 0 0;
27977                }
27978                description { state: "disabled" 0.0;
27979                    inherit: "default" 0.0;
27980                    color: 0 0 0 128;
27981                    color3: 0 0 0 0;
27982                }
27983            }
27984            part { name: "elm.dragable.slider";
27985                type: RECT;
27986                mouse_events: 0;
27987                scale: 1;
27988                dragable {
27989                    x: 1 1 0;
27990                    y: 0 0 0;
27991                }
27992                description { state: "default" 0.0;
27993                    rel1.to: "bg";
27994                    rel2.to: "bg";
27995                    fixed: 1 1;
27996                    color: 0 0 0 0;
27997                }
27998            }
27999            part { name: "button_events";
28000                type: RECT;
28001                dragable {
28002                    events: "elm.dragable.slider";
28003                }
28004                mouse_events: 1;
28005                description { state: "default" 0.0;
28006                    rel1.to: "elm.text";
28007                    rel2.to: "elm.text";
28008                    color: 0 0 0 0;
28009                }
28010            }
28011            part { name: "elm.swallow.entry";
28012                type: SWALLOW;
28013                description { state: "default" 0.0;
28014                    visible: 0;
28015                    align: 0.5 0.5;
28016                    rel1 { relative: 1.0 0.5;
28017                        offset: 3 2;
28018                        to_x: "left_bt";
28019                        to_y: "bg";
28020                    }
28021                    rel2 { relative: 0.0 0.5;
28022                        offset: -3 -2;
28023                        to_x: "right_bt";
28024                        to_y: "bg";
28025                    }
28026                    fixed: 1 1;
28027                    color: 0 0 0 0;
28028                }
28029                description { state: "active" 0.0;
28030                    inherit: "default" 0.0;
28031                    visible: 1;
28032                    color: 255 255 255 255;
28033                }
28034                description { state: "disabled_active" 0.0;
28035                    inherit: "default" 0.0;
28036                    visible: 0;
28037                }
28038                description { state: "disabled" 0.0;
28039                    inherit: "default" 0.0;
28040                    visible: 0;
28041                }
28042            }
28043            part { name: "disabler";
28044                type: RECT;
28045                description { state: "default" 0.0;
28046                    color: 0 0 0 0;
28047                    visible: 0;
28048                }
28049                description { state: "disabled" 0.0;
28050                    inherit: "default" 0.0;
28051                    visible: 1;
28052                }
28053            }
28054        }
28055        programs {
28056            program { name: "text_show";
28057                signal: "elm,state,text,visible";
28058                source: "elm";
28059                action:  STATE_SET "visible" 0.0;
28060                target: "elm.text";
28061            }
28062            program { name: "text_hide";
28063                signal: "elm,state,text,hidden";
28064                source: "elm";
28065                action:  STATE_SET "default" 0.0;
28066                target: "elm.text";
28067            }
28068            program { name: "dec";
28069                signal: "mouse,down,1";
28070                source: "left_bt";
28071                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28072            }
28073            program { name: "dec2";
28074                signal: "mouse,up,1";
28075                source: "left_bt";
28076                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28077            }
28078            program { name: "inc";
28079                signal: "mouse,down,1";
28080                source: "right_bt";
28081                action: SIGNAL_EMIT "elm,action,increment,start" "";
28082            }
28083            program { name: "inc2";
28084                signal: "mouse,up,1";
28085                source: "right_bt";
28086                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28087            }
28088            program {
28089                name:   "left_bt_click";
28090                signal: "mouse,down,1";
28091                source: "left_over2";
28092                action: STATE_SET "clicked" 0.0;
28093                target: "left_bt";
28094            }
28095            program {
28096                name:   "left_bt_unclick";
28097                signal: "mouse,up,1";
28098                source: "left_over2";
28099                action: STATE_SET "default" 0.0;
28100                target: "left_bt";
28101            }
28102            program {
28103                name:   "left_bt_click2";
28104                signal: "mouse,down,1";
28105                source: "left_over3";
28106                action: STATE_SET "clicked" 0.0;
28107                target: "left_over3";
28108            }
28109            program {
28110                name:   "left_bt_unclick2";
28111                signal: "mouse,up,1";
28112                source: "left_over3";
28113                action: STATE_SET "default" 0.0;
28114                transition: DECELERATE 0.5;
28115                target: "left_over3";
28116            }
28117            program {
28118                name:   "left_bt_unclick3";
28119                signal: "mouse,up,1";
28120                source: "left_over2";
28121                action: SIGNAL_EMIT "elm,action,click" "";
28122            }
28123            program {
28124                name:   "left_bt_pressed_anim";
28125                signal: "elm,left,anim,activate";
28126                source: "elm";
28127                action: STATE_SET "clicked" 0.0;
28128                target: "left_bt";
28129                target: "left_over3";
28130                after: "left_bt_unpressed_anim";
28131            }
28132            program {
28133                name:   "left_bt_unpressed_anim";
28134                action: STATE_SET "default" 0.0;
28135                transition: DECELERATE 0.5;
28136                target: "left_bt";
28137                target: "left_over3";
28138            }
28139
28140            program {
28141                name:   "right_bt_click";
28142                signal: "mouse,down,1";
28143                source: "right_over2";
28144                action: STATE_SET "clicked" 0.0;
28145                target: "right_bt";
28146            }
28147            program {
28148                name:   "right_bt_unclick";
28149                signal: "mouse,up,1";
28150                source: "right_over2";
28151                action: STATE_SET "default" 0.0;
28152                target: "right_bt";
28153            }
28154            program {
28155                name:   "right_bt_click2";
28156                signal: "mouse,down,1";
28157                source: "right_over3";
28158                action: STATE_SET "clicked" 0.0;
28159                target: "right_over3";
28160            }
28161            program {
28162                name:   "right_bt_unclick2";
28163                signal: "mouse,up,1";
28164                source: "right_over3";
28165                action: STATE_SET "default" 0.0;
28166                transition: DECELERATE 0.5;
28167                target: "right_over3";
28168            }
28169            program {
28170                name:   "right_bt_unclick3";
28171                signal: "mouse,up,1";
28172                source: "right_over2";
28173                action: SIGNAL_EMIT "elm,action,click" "";
28174            }
28175            program {
28176                name:   "right_bt_pressed_anim";
28177                signal: "elm,right,anim,activate";
28178                source: "elm";
28179                action: STATE_SET "clicked" 0.0;
28180                target: "right_bt";
28181                target: "right_over3";
28182                after: "right_bt_unpressed_anim";
28183            }
28184            program {
28185                name:   "right_bt_unpressed_anim";
28186                action: STATE_SET "default" 0.0;
28187                transition: DECELERATE 0.5;
28188                target: "right_bt";
28189                target: "right_over3";
28190            }
28191
28192            program { name: "disable";
28193                signal: "elm,state,disabled";
28194                source: "elm";
28195                action: STATE_SET "disabled" 0.0;
28196                target: "left_bt";
28197                target: "left_over1";
28198                target: "left_over2";
28199                target: "right_bt";
28200                target: "right_over1";
28201                target: "right_over2";
28202                target: "disabler";
28203                after: "disable_text";
28204            }
28205            program { name: "disable_text";
28206                script {
28207                    new st[31];
28208                    new Float:vl;
28209                    get_state(PART:"elm.text", st, 30, vl);
28210                    if (!strcmp(st, "active"))
28211                    set_state(PART:"elm.text", "disabled_active", 0.0);
28212                    else
28213                    set_state(PART:"elm.text", "disabled", 0.0);
28214
28215                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28216                    if (!strcmp(st, "active"))
28217                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28218                    else
28219                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28220                }
28221            }
28222            program { name: "enable";
28223                signal: "elm,state,enabled";
28224                source: "elm";
28225                action: STATE_SET "default" 0.0;
28226                target: "left_bt";
28227                target: "left_over1";
28228                target: "left_over2";
28229                target: "right_bt";
28230                target: "right_over1";
28231                target: "right_over2";
28232                target: "disabler";
28233                after: "enable_text";
28234            }
28235            program { name: "enable_text";
28236                script {
28237                    new st[31];
28238                    new Float:vl;
28239                    get_state(PART:"elm.text", st, 30, vl);
28240                    if (!strcmp(st, "disabled_active"))
28241                    set_state(PART:"elm.text", "active", 0.0);
28242                    else
28243                    set_state(PART:"elm.text", "default", 0.0);
28244
28245                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28246                    if (!strcmp(st, "disabled_active"))
28247                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28248                    else
28249                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28250                }
28251            }
28252            program { name: "active";
28253                signal: "elm,state,active";
28254                source: "elm";
28255                action: STATE_SET "active" 0.0;
28256                target: "elm.text";
28257                target: "elm.swallow.entry";
28258            }
28259            program { name: "inactive";
28260                signal: "elm,state,inactive";
28261                source: "elm";
28262                action: STATE_SET "default" 0.0;
28263                target: "elm.text";
28264                target: "elm.swallow.entry";
28265            }
28266            program { name: "toggle_text";
28267                signal: "mouse,up,1";
28268                source: "button_events";
28269                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28270            }
28271            program { name: "to_rtl";
28272                signal: "edje,state,rtl";
28273                source: "edje";
28274                action: STATE_SET "rtl" 0.0;
28275                target: "right_bt_icon";
28276                target: "left_bt_icon";
28277            }
28278            program { name: "to_ltr";
28279                signal: "edje,state,ltr";
28280                source: "edje";
28281                action: STATE_SET "default" 0.0;
28282                target: "right_bt_icon";
28283                target: "left_bt_icon";
28284            }
28285        }
28286    }
28287
28288 ///////////////////////////////////////////////////////////////////////////////
28289    group { name: "elm/spinner/base/vertical";
28290        images {
28291            image: "shelf_inset.png" COMP;
28292            image: "bt_hilight.png" COMP;
28293            image: "bt_shine.png" COMP;
28294            image: "bt_glow.png" COMP;
28295            image: "bt_dis_base.png" COMP;
28296            image: "bt_dis_hilight.png" COMP;
28297            image: "up.png" COMP;
28298            image: "down.png" COMP;
28299            image: "bt_spinner_up.png" COMP;
28300            image: "bt_spinner_down.png" COMP;
28301            image: "bt_spinner_hilight.png" COMP;
28302        }
28303        parts {
28304            part { name: "bg";
28305                type: RECT;
28306                description { state: "default" 0.0;
28307                    min: 0 30;
28308                    rel1.offset: 1 1;
28309                    rel2.offset: -2 -2;
28310                    color: 255 255 255 0;
28311                }
28312            }
28313            part { name: "conf_over";
28314                mouse_events:  0;
28315                description { state: "default" 0.0;
28316                    rel1 {
28317                      to: "bg";
28318                      relative: 0.0 0.0;
28319                    }
28320                    rel2 {
28321                       to: "bg";
28322                    }
28323                    image {
28324                        normal: "shelf_inset.png";
28325                        border: 7 7 7 7;
28326                        middle: 0;
28327                    }
28328                    fill.smooth : 0;
28329                }
28330            }
28331            part { name: "down_bt";
28332                mouse_events:  1;
28333                description { state: "default" 0.0;
28334                    fixed: 1 1;
28335                    rel1 {
28336                        to: "up_bt";
28337                        relative: 0 1;
28338                        offset: 0 1;
28339                    }
28340                    rel2 {
28341                        to_y: "bg";
28342                        to_x: "up_bt";
28343                        relative: 1 1;
28344                        offset: -1 -4;
28345                    }
28346                    align: 1.0 0.5;
28347                    min: 24 16;
28348                    image {
28349                        normal: "bt_spinner_down.png";
28350                        border: 6 6 6 6;
28351                    }
28352                    fill.smooth : 0;
28353                }
28354                description { state: "clicked" 0.0;
28355                    inherit: "default" 0.0;
28356                    image.normal: "bt_spinner_down.png";
28357                    image.middle: SOLID;
28358                }
28359                description { state: "disabled" 0.0;
28360                    inherit:  "default" 0.0;
28361                    image {
28362                        normal: "bt_dis_base.png";
28363                        border: 4 4 4 4;
28364                    }
28365                }
28366            }
28367            part { name: "down_over3";
28368                mouse_events: 1;
28369                repeat_events: 1;
28370                description { state: "default" 0.0;
28371                    color: 255 255 255 0;
28372                    rel1.to: "down_bt";
28373                    rel2.to: "down_bt";
28374                    image {
28375                        normal: "bt_glow.png";
28376                        border: 12 12 12 12;
28377                    }
28378                    fill.smooth : 0;
28379                }
28380                description { state: "clicked" 0.0;
28381                    inherit:  "default" 0.0;
28382                    visible: 1;
28383                    color: 255 255 255 255;
28384                }
28385            }
28386            part { name: "up_bt";
28387                mouse_events:  1;
28388                description { state: "default" 0.0;
28389                    fixed: 1 0;
28390                    rel1 { to: "bg";
28391                        relative: 0 0;
28392                        offset: 0 2;
28393                    }
28394                    rel2 { to: "bg";
28395                        relative: 1 0.5;
28396                        offset: -3 0;
28397                    }
28398                    align: 1.0 0.5;
28399                    min: 24 16;
28400                    aspect: 1.5 1.0;
28401                    aspect_preference: BOTH;
28402                    image {
28403                        normal: "bt_spinner_up.png";
28404                        border: 6 6 6 6;
28405                    }
28406                    fill.smooth : 0;
28407                }
28408                description { state: "clicked" 0.0;
28409                    inherit: "default" 0.0;
28410                    image.normal: "bt_spinner_up.png";
28411                    image.middle: SOLID;
28412                }
28413                description { state: "disabled" 0.0;
28414                    inherit:  "default" 0.0;
28415                    image {
28416                        normal: "bt_dis_base.png";
28417                        border: 4 4 4 4;
28418                    }
28419                }
28420            }
28421            part { name: "up_over1";
28422                mouse_events: 0;
28423                description { state: "default" 0.0;
28424                    rel1.to: "up_bt";
28425                    rel2 { to: "up_bt";
28426                        relative: 1.0 0.5;
28427                    }
28428                    image {
28429                        normal: "bt_spinner_hilight.png";
28430                        border: 7 7 7 0;
28431                    }
28432                }
28433                description { state: "disabled" 0.0;
28434                    inherit:  "default" 0.0;
28435                    image {
28436                        normal: "bt_dis_hilight.png";
28437                        border: 4 4 4 0;
28438                    }
28439                }
28440            }
28441            part { name: "up_over3";
28442                mouse_events: 1;
28443                repeat_events: 1;
28444                description { state: "default" 0.0;
28445                    color: 255 255 255 0;
28446                    rel1.to: "up_bt";
28447                    rel2.to: "up_bt";
28448                    image {
28449                        normal: "bt_glow.png";
28450                        border: 12 12 12 12;
28451                    }
28452                    fill.smooth : 0;
28453                }
28454                description { state: "clicked" 0.0;
28455                    inherit:  "default" 0.0;
28456                    visible: 1;
28457                    color: 255 255 255 255;
28458                }
28459            }
28460            part { name: "down_bt_icon";
28461                repeat_events: 1;
28462                description { state: "default" 0.0;
28463                    rel1.to: "down_bt";
28464                    rel1.offset: 5 3;
28465                    rel2.to: "down_bt";
28466                    rel2.offset: -6 -3;
28467                    align: 0.5 0.5;
28468                    image.normal: "down.png";
28469                }
28470            }
28471            part { name: "up_bt_icon";
28472                repeat_events: 1;
28473                description { state: "default" 0.0;
28474                    rel1.to: "up_bt";
28475                    rel1.offset: 5 3;
28476                    rel2.to: "up_bt";
28477                    rel2.offset: -6 -3;
28478                    align: 0.5 0.5;
28479                    image.normal: "up.png";
28480                }
28481            }
28482            part { name: "elm.text";
28483                type: TEXT;
28484                mouse_events: 0;
28485                scale: 1;
28486                description { state: "default" 0.0;
28487                    visible: 1;
28488                    align: 0.0 0.5;
28489                    rel1 { relative: 0.0 0.0;
28490                        offset: 3 2;
28491                        to_x: "bg";
28492                        to_y: "bg";
28493                    }
28494                    rel2 { relative: 0.0 1.0;
28495                        offset: -3 -2;
28496                        to_x: "down_bt";
28497                        to_y: "bg";
28498                    }
28499                    color: 0 0 0 255;
28500                    text {
28501                        font: "Sans,Edje-Vera";
28502                        size: 10;
28503                        min: 1 1;
28504                        align: 0.5 0.5;
28505                    }
28506                }
28507                description { state: "active" 0.0;
28508                    inherit: "default" 0.0;
28509                    visible: 0;
28510                }
28511                description { state: "disabled_active" 0.0;
28512                    inherit: "default" 0.0;
28513                    color: 0 0 0 128;
28514                    color3: 0 0 0 0;
28515                }
28516                description { state: "disabled" 0.0;
28517                    inherit: "default" 0.0;
28518                    color: 0 0 0 128;
28519                    color3: 0 0 0 0;
28520                }
28521            }
28522            part { name: "elm.dragable.slider";
28523                type: RECT;
28524                mouse_events: 0;
28525                scale: 1;
28526                dragable {
28527                    x: 1 1 0;
28528                    y: 0 0 0;
28529                }
28530                description { state: "default" 0.0;
28531                    rel1.to: "bg";
28532                    rel2.to: "bg";
28533                    fixed: 1 1;
28534                    color: 0 0 0 0;
28535                }
28536            }
28537            part { name: "button_events";
28538                type: RECT;
28539                dragable {
28540                    events: "elm.dragable.slider";
28541                }
28542                mouse_events: 1;
28543                description { state: "default" 0.0;
28544                    rel1.to: "elm.text";
28545                    rel2.to: "elm.text";
28546                    color: 0 0 0 0;
28547                }
28548            }
28549            part { name: "elm.swallow.entry";
28550                type: SWALLOW;
28551                description { state: "default" 0.0;
28552                    visible: 0;
28553                    align: 0.5 0.5;
28554                    rel1 { relative: 0.0 0.5;
28555                        offset: 3 2;
28556                        to: "bg";
28557                    }
28558                    rel2 { relative: 1.0 0.5;
28559                        offset: -3 -2;
28560                        to: "bg";
28561                    }
28562                    fixed: 1 1;
28563                    color: 0 0 0 0;
28564                }
28565                description { state: "active" 0.0;
28566                    inherit: "default" 0.0;
28567                    visible: 1;
28568                    color: 255 255 255 255;
28569                }
28570                description { state: "disabled_active" 0.0;
28571                    inherit: "default" 0.0;
28572                    visible: 0;
28573                }
28574                description { state: "disabled" 0.0;
28575                    inherit: "default" 0.0;
28576                    visible: 0;
28577                }
28578            }
28579            part { name: "disabler";
28580                type: RECT;
28581                description { state: "default" 0.0;
28582                    color: 0 0 0 0;
28583                    visible: 0;
28584                }
28585                description { state: "disabled" 0.0;
28586                    inherit: "default" 0.0;
28587                    visible: 1;
28588                }
28589            }
28590        }
28591        programs {
28592            program { name: "text_show";
28593                signal: "elm,state,text,visible";
28594                source: "elm";
28595                action:  STATE_SET "visible" 0.0;
28596                target: "elm.text";
28597            }
28598            program { name: "text_hide";
28599                signal: "elm,state,text,hidden";
28600                source: "elm";
28601                action:  STATE_SET "default" 0.0;
28602                target: "elm.text";
28603            }
28604            program { name: "dec";
28605                signal: "mouse,down,1";
28606                source: "down_bt";
28607                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28608            }
28609            program { name: "dec2";
28610                signal: "mouse,up,1";
28611                source: "down_bt";
28612                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28613            }
28614            program { name: "inc";
28615                signal: "mouse,down,1";
28616                source: "up_bt";
28617                action: SIGNAL_EMIT "elm,action,increment,start" "";
28618            }
28619            program { name: "inc2";
28620                signal: "mouse,up,1";
28621                source: "up_bt";
28622                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28623            }
28624            program {
28625                name:   "down_bt_click2";
28626                signal: "mouse,down,1";
28627                source: "down_over3";
28628                action: STATE_SET "clicked" 0.0;
28629                target: "down_over3";
28630            }
28631            program {
28632                name:   "down_bt_unclick2";
28633                signal: "mouse,up,1";
28634                source: "down_over3";
28635                action: STATE_SET "default" 0.0;
28636                transition: DECELERATE 0.5;
28637                target: "down_over3";
28638            }
28639            program {
28640                name:   "up_bt_click2";
28641                signal: "mouse,down,1";
28642                source: "up_over3";
28643                action: STATE_SET "clicked" 0.0;
28644                target: "up_over3";
28645            }
28646            program {
28647                name:   "up_bt_unclick2";
28648                signal: "mouse,up,1";
28649                source: "up_over3";
28650                action: STATE_SET "default" 0.0;
28651                transition: DECELERATE 0.5;
28652                target: "up_over3";
28653            }
28654            program { name: "disable";
28655                signal: "elm,state,disabled";
28656                source: "elm";
28657                action: STATE_SET "disabled" 0.0;
28658                target: "down_bt";
28659                target: "up_bt";
28660                target: "disabler";
28661                after: "disable_text";
28662            }
28663            program { name: "disable_text";
28664                script {
28665                    new st[31];
28666                    new Float:vl;
28667                    get_state(PART:"elm.text", st, 30, vl);
28668                    if (!strcmp(st, "active"))
28669                    set_state(PART:"elm.text", "disabled_active", 0.0);
28670                    else
28671                    set_state(PART:"elm.text", "disabled", 0.0);
28672
28673                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28674                    if (!strcmp(st, "active"))
28675                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28676                    else
28677                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28678                }
28679            }
28680            program { name: "enable";
28681                signal: "elm,state,enabled";
28682                source: "elm";
28683                action: STATE_SET "default" 0.0;
28684                target: "down_bt";
28685                target: "up_bt";
28686                target: "disabler";
28687                after: "enable_text";
28688            }
28689            program { name: "enable_text";
28690                script {
28691                    new st[31];
28692                    new Float:vl;
28693                    get_state(PART:"elm.text", st, 30, vl);
28694                    if (!strcmp(st, "disabled_active"))
28695                    set_state(PART:"elm.text", "active", 0.0);
28696                    else
28697                    set_state(PART:"elm.text", "default", 0.0);
28698
28699                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28700                    if (!strcmp(st, "disabled_active"))
28701                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28702                    else
28703                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28704                }
28705            }
28706            program { name: "active";
28707                signal: "elm,state,active";
28708                source: "elm";
28709                action: STATE_SET "active" 0.0;
28710                target: "elm.text";
28711                target: "elm.swallow.entry";
28712            }
28713            program { name: "inactive";
28714                signal: "elm,state,inactive";
28715                source: "elm";
28716                action: STATE_SET "default" 0.0;
28717                target: "elm.text";
28718                target: "elm.swallow.entry";
28719            }
28720            program { name: "toggle_text";
28721                signal: "mouse,up,1";
28722                source: "button_events";
28723                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28724            }
28725        }
28726    }
28727
28728
28729    ///////////////////////////////////////////////////////////////////////////////
28730    group { name: "elm/index/base/vertical/default";
28731        images {
28732            image: "bt_base1.png" COMP;
28733            image: "bt_base2.png" COMP;
28734            image: "bt_hilight.png" COMP;
28735            image: "bt_shine.png" COMP;
28736        }
28737        parts {
28738            part { name: "clip";
28739                type: RECT;
28740                mouse_events:  0;
28741                description { state: "default" 0.0;
28742                    visible:  0;
28743                    color: 255 255 255 0;
28744                }
28745                description { state: "active" 0.0;
28746                    visible:  1;
28747                    color: 255 255 255 255;
28748                }
28749            }
28750            part { name: "clip2";
28751                type: RECT;
28752                mouse_events:  0;
28753                clip_to: "clip";
28754                description { state: "default" 0.0;
28755                    visible: 0;
28756                    color: 255 255 255 0;
28757                }
28758                description { state: "active" 0.0;
28759                    visible:  1;
28760                    color: 255 255 255 255;
28761                }
28762            }
28763            part { name: "elm.swallow.index.0";
28764                type: SWALLOW;
28765                clip_to: "clip";
28766                description { state: "default" 0.0;
28767                    align: 1.0 0.5;
28768                    fixed: 1 1;
28769                    rel1 {
28770                        relative: 1.0 0.5;
28771                        offset: -1 5;
28772                    }
28773                    rel2 {
28774                        relative: 1.0 0.5;
28775                        offset: -1 -6;
28776                    }
28777                }
28778            }
28779            part { name: "button_image";
28780                mouse_events: 1;
28781                clip_to: "clip";
28782                description { state: "default" 0.0;
28783                    rel1 {
28784                        to: "elm.text.body";
28785                        offset: -5 -5;
28786                    }
28787                    rel2 {
28788                        to: "elm.text";
28789                        offset: 4 4;
28790                    }
28791                    image {
28792                        normal: "bt_base2.png";
28793                        border: 7 7 7 7;
28794                    }
28795                    image.middle: SOLID;
28796                }
28797            }
28798            part { name: "elm.text.body";
28799                type: TEXT;
28800                effect: SOFT_SHADOW;
28801                mouse_events: 0;
28802                scale: 1;
28803                clip_to: "clip";
28804                description { state: "default" 0.0;
28805                    align: 1.0 0.5;
28806                    fixed: 1 1;
28807                    rel1 {
28808                        to: "elm.text";
28809                        relative: 0.0 0.0;
28810                        offset: 5 0;
28811                    }
28812                    rel2 {
28813                        to: "elm.text";
28814                        relative: 0.0 1.0;
28815                        offset: 5 -1;
28816                    }
28817                    color: 224 224 224 255;
28818                    color3: 0 0 0 64;
28819                    text {
28820                        font:     "Sans,Edje-Vera";
28821                        size:     20;
28822                        min:      1 1;
28823                        align:    1.0 0.5;
28824                    }
28825                }
28826            }
28827            part { name: "elm.text";
28828                type: TEXT;
28829                effect: SOFT_SHADOW;
28830                mouse_events: 0;
28831                scale: 1;
28832                clip_to: "clip";
28833                description { state: "default" 0.0;
28834                    align: 1.0 0.5;
28835                    fixed: 1 1;
28836                    rel1 {
28837                        to_x: "elm.swallow.event.0";
28838                        to_y: "elm.dragable.pointer";
28839                        relative: 0.0 0.5;
28840                        offset: -16 0;
28841                    }
28842                    rel2 {
28843                        to_x: "elm.swallow.event.0";
28844                        to_y: "elm.dragable.pointer";
28845                        relative: 0.0 0.5;
28846                        offset: -16 -1;
28847                    }
28848                    color: 255 0 0 255;
28849                    color3: 0 0 0 64;
28850                    text {
28851                        font:     "Sans,Edje-Vera";
28852                        size:     20;
28853                        min:      1 1;
28854                        align:    1.0 0.5;
28855                    }
28856                }
28857            }
28858            part {        name: "over1";
28859                mouse_events: 0;
28860                clip_to: "clip";
28861                description { state: "default" 0.0;
28862                    rel1 {
28863                        to: "button_image";
28864                    }
28865                    rel2 {
28866                        to: "button_image";
28867                        relative: 1.0 0.5;
28868                    }
28869                    image {
28870                        normal: "bt_hilight.png";
28871                        border: 7 7 7 0;
28872                    }
28873                }
28874            }
28875            part { name: "over2";
28876                mouse_events: 1;
28877                repeat_events: 1;
28878                ignore_flags: ON_HOLD;
28879                clip_to: "clip";
28880                description { state: "default" 0.0;
28881                    rel1 {
28882                        to: "button_image";
28883                    }
28884                    rel2 {
28885                        to: "button_image";
28886                    }
28887                    image {
28888                        normal: "bt_shine.png";
28889                        border: 7 7 7 7;
28890                    }
28891                }
28892            }
28893            part { name: "elm.dragable.pointer";
28894                type: RECT;
28895                mouse_events: 0;
28896                dragable {
28897                    x: 1 1 0;
28898                    y: 1 1 0;
28899                }
28900                clip_to: "clip";
28901                description { state: "default" 0.0;
28902                    fixed: 1 1;
28903                    min: 8 8;
28904                    max: 8 8;
28905                    visible: 0;
28906                    rel1 {
28907                        relative: 0.0 0.0;
28908                        offset:   0 0;
28909                    }
28910                    rel2 {
28911                        relative: 0.0 0.0;
28912                        offset:   0 0;
28913                    }
28914                }
28915            }
28916            part { name: "elm.swallow.event.0";
28917                type: SWALLOW;
28918                description { state: "default" 0.0;
28919                    align: 1.0 0.5;
28920                    fixed: 1 1;
28921                    rel1 {
28922                        relative: 1.0 0.0;
28923                        offset: -1 0;
28924                    }
28925                    rel2 {
28926                        relative: 1.0 1.0;
28927                        offset: -1 -1;
28928                    }
28929                }
28930            }
28931        }
28932        programs {
28933            program { name: "active";
28934                signal: "elm,state,active";
28935                source: "elm";
28936                action: STATE_SET "active" 0.0;
28937                transition: DECELERATE 0.5;
28938                target: "clip";
28939            }
28940            program { name: "inactive";
28941                signal: "elm,state,inactive";
28942                source: "elm";
28943                action: STATE_SET "default" 0.0;
28944                transition: DECELERATE 0.5;
28945                target: "clip";
28946            }
28947        }
28948    }
28949
28950    group { name: "elm/index/item/vertical/default";
28951        data.item: "stacking" "above";
28952        data.item: "selectraise" "on";
28953        images {
28954            image: "ilist_1.png" COMP;
28955            image: "ilist_item_shadow.png" COMP;
28956        }
28957        parts {
28958            part {
28959                name: "base_sh";
28960                mouse_events: 0;
28961                description {
28962                    state: "default" 0.0;
28963                    align: 0.0 0.0;
28964                    min: 0 10;
28965                    fixed: 1 1;
28966                    rel1 {
28967                        to: "base";
28968                        relative: 0.0 1.0;
28969                        offset: 0 0;
28970                    }
28971                    rel2 {
28972                        to: "base";
28973                        relative: 1.0 1.0;
28974                        offset: -1 0;
28975                    }
28976                    image {
28977                        normal: "ilist_item_shadow.png";
28978                    }
28979                    fill.smooth: 0;
28980                }
28981            }
28982            part {
28983                name: "base";
28984                mouse_events: 0;
28985                description {
28986                    state: "default" 0.0;
28987                    image {
28988                        normal: "ilist_1.png";
28989                        border: 2 2 2 2;
28990                    }
28991                    fill.smooth: 0;
28992                }
28993                description { state: "active" 0.0;
28994                    inherit: "default" 0.0;
28995                    rel1 {
28996                        offset: -16 0;
28997                    }
28998                }
28999            }
29000            part { name: "elm.text";
29001                type:           TEXT;
29002                mouse_events:   0;
29003                scale: 1;
29004                description {
29005                    state: "default" 0.0;
29006                           //               min: 16 16;
29007                    rel1 {
29008                        to: "base";
29009                        relative: 0.0  0.0;
29010                        offset:   4 4;
29011                    }
29012                    rel2 {
29013                        to: "base";
29014                        relative: 0.5  1.0;
29015                        offset:   -1 -1;
29016                    }
29017                    color: 0 0 0 128;
29018                    text {
29019                        font: "Sans";
29020                        size: 10;
29021                        min: 1 1;
29022                             //                  min: 0 1;
29023                        align: 0.5 0.5;
29024                    }
29025                }
29026                description { state: "active" 0.0;
29027                    inherit: "default" 0.0;
29028                    color: 0 0 0 255;
29029                }
29030            }
29031        }
29032        programs {
29033            program { name: "active";
29034                signal: "elm,state,active";
29035                source: "elm";
29036                action: STATE_SET "active" 0.0;
29037                transition: DECELERATE 0.5;
29038                target: "elm.text";
29039                target: "base";
29040            }
29041            program { name: "inactive";
29042                signal: "elm,state,inactive";
29043                source: "elm";
29044                action: STATE_SET "default" 0.0;
29045                transition: DECELERATE 0.5;
29046                target: "elm.text";
29047                target: "base";
29048            }
29049        }
29050    }
29051
29052    group { name: "elm/index/item_odd/vertical/default";
29053        data.item: "stacking" "below";
29054        images {
29055            image: "ilist_2.png" COMP;
29056        }
29057        parts {
29058            part {
29059                name: "base";
29060                mouse_events: 0;
29061                description {
29062                    state: "default" 0.0;
29063                    image {
29064                        normal: "ilist_2.png";
29065                        border: 2 2 2 2;
29066                    }
29067                    fill.smooth: 0;
29068                }
29069                description { state: "active" 0.0;
29070                    inherit: "default" 0.0;
29071                    rel1 {
29072                        offset: -16 0;
29073                    }
29074                }
29075            }
29076            part { name: "elm.text";
29077                type:           TEXT;
29078                mouse_events:   0;
29079                scale: 1;
29080                description {
29081                    state: "default" 0.0;
29082                           //               min: 16 16;
29083                    rel1 {
29084                        to: "base";
29085                        relative: 0.0  0.0;
29086                        offset:   4 4;
29087                    }
29088                    rel2 {
29089                        to: "base";
29090                        relative: 0.5  1.0;
29091                        offset:   -1 -1;
29092                    }
29093                    color: 0 0 0 128;
29094                    text {
29095                        font: "Sans";
29096                        size: 10;
29097                        min: 1 1;
29098                             //                  min: 0 1;
29099                        align: 0.5 0.5;
29100                    }
29101                }
29102                description { state: "active" 0.0;
29103                    inherit: "default" 0.0;
29104                    color: 0 0 0 255;
29105                }
29106            }
29107        }
29108        programs {
29109            program { name: "active";
29110                signal: "elm,state,active";
29111                source: "elm";
29112                action: STATE_SET "active" 0.0;
29113                transition: DECELERATE 0.5;
29114                target: "elm.text";
29115                target: "base";
29116            }
29117            program { name: "inactive";
29118                signal: "elm,state,inactive";
29119                source: "elm";
29120                action: STATE_SET "default" 0.0;
29121                transition: DECELERATE 0.5;
29122                target: "elm.text";
29123                target: "base";
29124            }
29125        }
29126    }
29127
29128 ///////////////////////////////////////////////////////////////////////////////
29129    group { name: "elm/gengrid/item/default/default";
29130       data.item: "labels" "elm.text";
29131       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29132       images {
29133          image: "bt_sm_base1.png" COMP;
29134          image: "bt_sm_shine.png" COMP;
29135          image: "bt_sm_hilight.png" COMP;
29136          image: "ilist_1.png" COMP;
29137          image: "ilist_item_shadow.png" COMP;
29138       }
29139       parts {
29140          part { name: "event";
29141             type: RECT;
29142             repeat_events: 1;
29143             description {
29144                state: "default" 0.0;
29145                color: 0 0 0 0;
29146             }
29147          }
29148          part { name: "reorder_bg";
29149             mouse_events: 0;
29150             description { state: "default" 0.0;
29151                visible: 0;
29152                color: 255 255 255 0;
29153                rel1 {
29154                   relative: 0.0 0.0;
29155                   offset: -10 -10;
29156                }
29157                rel2 {
29158                   relative: 1.0 1.0;
29159                   offset: 12 12;
29160                }
29161                image {
29162                   normal: "bt_bases.png";
29163                   border: 6 6 6 6;
29164                }
29165             }
29166             description { state: "enabled" 0.0;
29167                inherit: "default" 0.0;
29168                visible: 1;
29169                color: 255 255 255 255;
29170             }
29171          }
29172          part { name: "base_sh";
29173             mouse_events: 0;
29174             description { state: "default" 0.0;
29175                align: 0.0 0.0;
29176                min: 0 10;
29177                fixed: 1 1;
29178                rel1 {
29179                   to: "base";
29180                   relative: 0.0 1.0;
29181                   offset: 0 0;
29182                }
29183                rel2 {
29184                   to: "base";
29185                   relative: 1.0 1.0;
29186                   offset: -1 0;
29187                }
29188                image {
29189                   normal: "ilist_item_shadow.png";
29190                }
29191                fill.smooth: 0;
29192             }
29193          }
29194          part { name: "base";
29195             mouse_events: 0;
29196             description { state: "default" 0.0;
29197                image {
29198                   normal: "ilist_1.png";
29199                   border: 2 2 2 2;
29200                }
29201                fill.smooth: 0;
29202             }
29203          }
29204          part { name: "bg";
29205             clip_to: "disclip";
29206             mouse_events: 0;
29207             description { state: "default" 0.0;
29208                visible: 0;
29209                color: 255 255 255 0;
29210                rel1 {
29211                   relative: 0.0 0.0;
29212                   offset: -5 -5;
29213                }
29214                rel2 {
29215                   relative: 1.0 1.0;
29216                   offset: 4 4;
29217                }
29218                image {
29219                   normal: "bt_sm_base1.png";
29220                   border: 6 6 6 6;
29221                }
29222                image.middle: SOLID;
29223             }
29224             description { state: "selected" 0.0;
29225                inherit: "default" 0.0;
29226                visible: 1;
29227                color: 255 255 255 255;
29228                rel1 {
29229                   relative: 0.0 0.0;
29230                   offset: -2 -2;
29231                }
29232                rel2 {
29233                   relative: 1.0 1.0;
29234                   offset: 1 1;
29235                }
29236             }
29237          }
29238          part { name: "elm.swallow.pad";
29239             type: SWALLOW;
29240             description { state: "default" 0.0;
29241                fixed: 1 0;
29242                align: 0.0 0.5;
29243                rel1 {
29244                   relative: 0.0  1.0;
29245                   offset:   0    -10;
29246                }
29247                rel2 {
29248                   to_y: "elm.text";
29249                   relative: 0.0  0.0;
29250                   offset:   -1   -1;
29251                }
29252             }
29253          }
29254          part { name: "elm.swallow.icon";
29255             clip_to: "disclip";
29256             type: SWALLOW;
29257             description { state: "default" 0.0;
29258                fixed: 1 0;
29259                align: 0.5 0.5;
29260                rel1 {
29261                   relative: 0.0  0.0;
29262                   offset:   -1    4;
29263                }
29264                rel2 {
29265                   to_y: "elm.swallow.pad";
29266                   relative: 1.0  0.0;
29267                   offset:   -1   -5;
29268                }
29269             }
29270          }
29271          part { name: "elm.swallow.end";
29272             clip_to: "disclip";
29273             type: SWALLOW;
29274             description { state: "default" 0.0;
29275                fixed: 1 0;
29276                align: 1.0 0.0;
29277                aspect: 1.0 1.0;
29278                aspect_preference: HORIZONTAL;
29279                rel1 {
29280                   relative: 1.0 0.0;
29281                   offset: -5 -5;
29282                }
29283                rel2 {
29284                   relative: 1.0 1.0;
29285                   offset: 5 5;
29286                }
29287             }
29288          }
29289          part { name: "elm.text";
29290             clip_to: "disclip";
29291             type: TEXT;
29292             effect: SOFT_SHADOW;
29293             mouse_events: 0;
29294             scale: 1;
29295             description { state: "default" 0.0;
29296                rel1 {
29297                   relative: 0.0  1.0;
29298                   offset: 0 0;
29299                }
29300                rel2 {
29301                   relative: 1.0  1.0;
29302                   offset: -5 -5;
29303                }
29304                color: 0 0 0 255;
29305                color3: 0 0 0 0;
29306                text {
29307                   font: "Sans";
29308                   size: 10;
29309                   min: 0 1;
29310                   align: 0.5 0.0;
29311                   text_class: "grid_item";
29312                }
29313             }
29314             description { state: "selected" 0.0;
29315                inherit: "default" 0.0;
29316                color: 224 224 224 255;
29317                color3: 0 0 0 64;
29318             }
29319          }
29320          part { name: "fg1";
29321             clip_to: "disclip";
29322             mouse_events: 0;
29323             description { state: "default" 0.0;
29324                visible: 0;
29325                color: 255 255 255 0;
29326                rel1.to: "bg";
29327                rel2.relative: 1.0 0.5;
29328                rel2.to: "bg";
29329                image {
29330                   normal: "bt_sm_hilight.png";
29331                   border: 6 6 6 0;
29332                }
29333             }
29334             description { state: "selected" 0.0;
29335                inherit: "default" 0.0;
29336                visible: 1;
29337                color: 255 255 255 255;
29338             }
29339          }
29340          part { name: "fg2";
29341             clip_to: "disclip";
29342             mouse_events: 0;
29343             description { state: "default" 0.0;
29344                visible: 0;
29345                color: 255 255 255 0;
29346                rel1.to: "bg";
29347                rel2.to: "bg";
29348                image {
29349                   normal: "bt_sm_shine.png";
29350                   border: 6 6 6 0;
29351                }
29352             }
29353             description { state: "selected" 0.0;
29354                inherit: "default" 0.0;
29355                visible: 1;
29356                color: 255 255 255 255;
29357             }
29358          }
29359          part { name: "disclip";
29360             type: RECT;
29361             description { state: "default" 0.0;
29362                rel1.to: "bg";
29363                rel2.to: "bg";
29364             }
29365             description { state: "disabled" 0.0;
29366                inherit: "default" 0.0;
29367                color: 255 255 255 64;
29368             }
29369          }
29370       }
29371       programs {
29372          // signal: elm,state,%s,active
29373          //   a "check" item named %s went active
29374          // signal: elm,state,%s,passive
29375          //   a "check" item named %s went passive
29376          // default is passive
29377          program { name:    "go_active";
29378             signal:  "elm,state,selected";
29379             source:  "elm";
29380             action:  STATE_SET "selected" 0.0;
29381             target:  "bg";
29382             target:  "fg1";
29383             target:  "fg2";
29384             target:  "elm.text";
29385          }
29386          program { name:    "go_passive";
29387             signal:  "elm,state,unselected";
29388             source:  "elm";
29389             action:  STATE_SET "default" 0.0;
29390             target:  "bg";
29391             target:  "fg1";
29392             target:  "fg2";
29393             target:  "elm.text";
29394             transition: LINEAR 0.1;
29395          }
29396          program { name:    "go_disabled";
29397             signal:  "elm,state,disabled";
29398             source:  "elm";
29399             action:  STATE_SET "disabled" 0.0;
29400             target:  "disclip";
29401          }
29402          program { name:    "go_enabled";
29403             signal:  "elm,state,enabled";
29404             source:  "elm";
29405             action:  STATE_SET "default" 0.0;
29406             target:  "disclip";
29407          }
29408          program { name:    "go_reorder_disabled";
29409             signal:  "elm,state,reorder,disabled";
29410             source:  "elm";
29411             action:  STATE_SET "default" 0.0;
29412             target:  "reorder_bg";
29413             transition: DECELERATE 0.5;
29414          }
29415          program { name:    "go_reorder_enabled";
29416             signal:  "elm,state,reorder,enabled";
29417             source:  "elm";
29418             action:  STATE_SET "enabled" 0.0;
29419             target:  "reorder_bg";
29420             transition: DECELERATE 0.5;
29421          }
29422       }
29423    }
29424    group { name: "elm/gengrid/item/default_style/default";
29425        styles
29426        {
29427            style { name: "gengrid_style";
29428                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29429                tag:  "br" "\n";
29430                tag:  "ps" "ps";
29431                tag:  "hilight" "+ font=Sans:style=Bold";
29432                tag:  "b" "+ font=Sans:style=Bold";
29433                tag:  "tab" "\t";
29434            }
29435            style { name: "gengrid_selected_style";
29436                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29437                tag:  "br" "\n";
29438                tag:  "ps" "ps";
29439                tag:  "hilight" "+ font=Sans:style=Bold";
29440                tag:  "b" "+ font=Sans:style=Bold";
29441                tag:  "tab" "\t";
29442            }
29443        }
29444        data.item: "labels" "elm.text";
29445        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29446        images {
29447            image: "bt_sm_base1.png" COMP;
29448            image: "bt_sm_shine.png" COMP;
29449            image: "bt_sm_hilight.png" COMP;
29450            image: "ilist_1.png" COMP;
29451            image: "ilist_item_shadow.png" COMP;
29452        }
29453        parts {
29454            part { name: "event";
29455                type: RECT;
29456                repeat_events: 1;
29457                description { state: "default" 0.0;
29458                    color: 0 0 0 0;
29459                }
29460            }
29461            part { name: "base_sh";
29462                mouse_events: 0;
29463                description { state: "default" 0.0;
29464                    align: 0.0 0.0;
29465                    min: 0 10;
29466                    fixed: 1 1;
29467                    rel1 {
29468                        to: "base";
29469                        relative: 0.0 1.0;
29470                        offset: 0 0;
29471                    }
29472                    rel2 {
29473                        to: "base";
29474                        relative: 1.0 1.0;
29475                        offset: -1 0;
29476                    }
29477                    image {
29478                        normal: "ilist_item_shadow.png";
29479                    }
29480                    fill.smooth: 0;
29481                }
29482            }
29483            part { name: "base";
29484                mouse_events: 0;
29485                description { state: "default" 0.0;
29486                    min: 16 28;
29487                    image {
29488                        normal: "ilist_1.png";
29489                        border: 2 2 2 2;
29490                    }
29491                    fill.smooth: 0;
29492                }
29493            }
29494            part { name: "bg";
29495                clip_to: "disclip";
29496                mouse_events: 0;
29497                description { state: "default" 0.0;
29498                    visible: 0;
29499                    color: 255 255 255 0;
29500                    rel1 {
29501                        relative: 0.0 0.0;
29502                        offset: -5 -5;
29503                    }
29504                    rel2 {
29505                        relative: 1.0 1.0;
29506                        offset: 4 4;
29507                    }
29508                    image {
29509                        normal: "bt_sm_base1.png";
29510                        border: 6 6 6 6;
29511                    }
29512                    image.middle: SOLID;
29513                }
29514                description { state: "selected" 0.0;
29515                    inherit: "default" 0.0;
29516                    visible: 1;
29517                    color: 255 255 255 255;
29518                    rel1 {
29519                        relative: 0.0 0.0;
29520                        offset: -2 -2;
29521                    }
29522                    rel2 {
29523                        relative: 1.0 1.0;
29524                        offset: 1 1;
29525                    }
29526                }
29527            }
29528            part { name: "elm.swallow.pad";
29529                type: SWALLOW;
29530                description { state: "default" 0.0;
29531                    fixed: 1 0;
29532                    align: 0.0 0.5;
29533                    rel1 {
29534                        relative: 0.0  0.0;
29535                        offset:   4    4;
29536                    }
29537                    rel2 {
29538                        relative: 0.0  1.0;
29539                        offset:   4   -5;
29540                    }
29541                }
29542            }
29543            part { name: "elm.swallow.icon";
29544                clip_to: "disclip";
29545                type: SWALLOW;
29546                description { state: "default" 0.0;
29547                    fixed: 1 0;
29548                    align: 0.0 0.5;
29549                    rel1 {
29550                        to_x: "elm.swallow.pad";
29551                        relative: 1.0  0.0;
29552                        offset:   -1    4;
29553                    }
29554                    rel2 {
29555                        to_x: "elm.swallow.pad";
29556                        relative: 1.0  1.0;
29557                        offset:   -1   -5;
29558                    }
29559                }
29560            }
29561            part { name: "elm.swallow.end";
29562                clip_to: "disclip";
29563                type: SWALLOW;
29564                description { state: "default" 0.0;
29565                    fixed: 1 0;
29566                    align: 1.0 0.5;
29567                    aspect: 1.0 1.0;
29568                    aspect_preference: VERTICAL;
29569                    rel1 {
29570                        relative: 1.0  0.0;
29571                        offset:   -5    4;
29572                    }
29573                    rel2 {
29574                        relative: 1.0  1.0;
29575                        offset:   -5   -5;
29576                    }
29577                }
29578            }
29579            part { name: "elm.text";
29580                clip_to: "disclip";
29581                type: TEXTBLOCK;
29582                mouse_events: 0;
29583                scale: 1;
29584                description {
29585                    state: "default" 0.0;
29586                    align: 0.0 0.5;
29587                    fixed: 0 1;
29588                    rel1 {
29589                        to_x: "elm.swallow.icon";
29590                        to_y: "base";
29591                        relative: 1.0  0.5;
29592                        offset:   0 4;
29593                    }
29594                    rel2 {
29595                        to_x: "elm.swallow.end";
29596                        to_y: "base";
29597                        relative: 0.0  0.5;
29598                        offset:   -1 -5;
29599                    }
29600                    text {
29601                        style: "gengrid_style";
29602                        min: 1 1;
29603                    }
29604                }
29605                description { state: "selected" 0.0;
29606                    inherit: "default" 0.0;
29607                    text {
29608                        style: "gengrid_selected_style";
29609                    }
29610                }
29611            }
29612            part { name: "fg1";
29613                clip_to: "disclip";
29614                mouse_events: 0;
29615                description { state: "default" 0.0;
29616                    visible: 0;
29617                    color: 255 255 255 0;
29618                    rel1.to: "bg";
29619                    rel2.relative: 1.0 0.5;
29620                    rel2.to: "bg";
29621                    image {
29622                        normal: "bt_sm_hilight.png";
29623                        border: 6 6 6 0;
29624                    }
29625                }
29626                description { state: "selected" 0.0;
29627                    inherit: "default" 0.0;
29628                    visible: 1;
29629                    color: 255 255 255 255;
29630                }
29631            }
29632            part { name: "fg2";
29633                clip_to: "disclip";
29634                mouse_events: 0;
29635                description { state: "default" 0.0;
29636                    visible: 0;
29637                    color: 255 255 255 0;
29638                    rel1.to: "bg";
29639                    rel2.to: "bg";
29640                    image {
29641                        normal: "bt_sm_shine.png";
29642                        border: 6 6 6 0;
29643                    }
29644                }
29645                description { state: "selected" 0.0;
29646                    inherit: "default" 0.0;
29647                    visible: 1;
29648                    color: 255 255 255 255;
29649                }
29650            }
29651            part { name: "disclip";
29652                type: RECT;
29653                description { state: "default" 0.0;
29654                    rel1.to: "bg";
29655                    rel2.to: "bg";
29656                }
29657                description { state: "disabled" 0.0;
29658                    inherit: "default" 0.0;
29659                    color: 255 255 255 64;
29660                }
29661            }
29662        }
29663        programs {
29664            // signal: elm,state,%s,active
29665            //   a "check" item named %s went active
29666            // signal: elm,state,%s,passive
29667            //   a "check" item named %s went passive
29668            // default is passive
29669            program { name:    "go_active";
29670                signal:  "elm,state,selected";
29671                source:  "elm";
29672                action:  STATE_SET "selected" 0.0;
29673                target:  "bg";
29674                target:  "fg1";
29675                target:  "fg2";
29676                target:  "elm.text";
29677            }
29678            program { name:    "go_passive";
29679                signal:  "elm,state,unselected";
29680                source:  "elm";
29681                action:  STATE_SET "default" 0.0;
29682                target:  "bg";
29683                target:  "fg1";
29684                target:  "fg2";
29685                target:  "elm.text";
29686                transition: LINEAR 0.1;
29687            }
29688            program { name:    "go_disabled";
29689                signal:  "elm,state,disabled";
29690                source:  "elm";
29691                action:  STATE_SET "disabled" 0.0;
29692                target:  "disclip";
29693            }
29694            program { name:    "go_enabled";
29695                signal:  "elm,state,enabled";
29696                source:  "elm";
29697                action:  STATE_SET "default" 0.0;
29698                target:  "disclip";
29699            }
29700        }
29701    }
29702
29703    group { name: "elm/gengrid/item/up/default";
29704       data.item: "labels" "elm.text";
29705       images {
29706           image: "bt_sm_base1.png" COMP;
29707           image: "bt_sm_shine.png" COMP;
29708           image: "bt_sm_hilight.png" COMP;
29709           image: "arrow_up.png" COMP;
29710       }
29711       parts {
29712          part { name: "event";
29713             type: RECT;
29714             repeat_events: 1;
29715             description { state: "default" 0.0;
29716                color: 0 0 0 0;
29717             }
29718          }
29719          part { name: "bg";
29720             clip_to: "disclip";
29721             mouse_events: 0;
29722             description { state: "default" 0.0;
29723                visible: 0;
29724                color: 255 255 255 0;
29725                rel1.offset: -3 -3;
29726                rel2.offset: 2 2;
29727                image { normal: "bt_sm_base1.png";
29728                   border: 6 6 6 6;
29729                   middle: SOLID;
29730                }
29731             }
29732             description { state: "selected" 0.0;
29733                inherit: "default" 0.0;
29734                visible: 1;
29735                color: 255 255 255 255;
29736             }
29737          }
29738          part { name: "image";
29739              type: IMAGE;
29740              mouse_events: 0;
29741              description { state: "default" 0.0;
29742                  aspect_preference: BOTH;
29743                  aspect: 1.0 1.0;
29744                  image.normal: "arrow_up.png";
29745                  rel2 {
29746                      to_y: "elm.text";
29747                      relative: 1.0 0.0;
29748                      offset: -1 -2;
29749                  }
29750              }
29751          }
29752          part { name: "elm.text";
29753             clip_to: "disclip";
29754             type: TEXT;
29755             effect: SOFT_SHADOW;
29756             mouse_events: 0;
29757             scale: 1;
29758             description { state: "default" 0.0;
29759                rel1 {
29760                   relative: 0.0  1.0;
29761                   offset: 20 -25;
29762                }
29763                rel2 {
29764                   relative: 1.0  1.0;
29765                   offset: -21 -3;
29766                }
29767                color: 0 0 0 255;
29768                color3: 0 0 0 0;
29769                text {
29770                   font: "Sans";
29771                   size: 10;
29772                   min: 0 1;
29773                   align: 0.5 0.0;
29774                   text_class: "grid_item";
29775                }
29776             }
29777             description { state: "selected" 0.0;
29778                inherit: "default" 0.0;
29779                color: 224 224 224 255;
29780                color3: 0 0 0 64;
29781             }
29782          }
29783          part { name: "fg1";
29784             clip_to: "disclip";
29785             mouse_events: 0;
29786             description { state: "default" 0.0;
29787                visible: 0;
29788                color: 255 255 255 0;
29789                rel1.offset: -3 -3;
29790                rel2 {
29791                    relative: 1.0 0.5;
29792                    offset: 2 -1;
29793                }
29794                image {
29795                   normal: "bt_sm_hilight.png";
29796                   border: 6 6 6 0;
29797                }
29798             }
29799             description { state: "selected" 0.0;
29800                inherit: "default" 0.0;
29801                visible: 1;
29802                color: 255 255 255 255;
29803             }
29804          }
29805          part { name: "fg2";
29806             clip_to: "disclip";
29807             mouse_events: 0;
29808             description { state: "default" 0.0;
29809                visible: 0;
29810                color: 255 255 255 0;
29811                rel1.offset: -3 -3;
29812                rel2.offset: 2 2;
29813                image {
29814                   normal: "bt_sm_shine.png";
29815                   border: 6 6 6 0;
29816                }
29817             }
29818             description { state: "selected" 0.0;
29819                inherit: "default" 0.0;
29820                visible: 1;
29821                color: 255 255 255 255;
29822             }
29823          }
29824          part { name: "disclip";
29825             type: RECT;
29826             description { state: "default" 0.0;
29827                rel1.to: "bg";
29828                rel2.to: "bg";
29829             }
29830             description { state: "disabled" 0.0;
29831                inherit: "default" 0.0;
29832                color: 255 255 255 64;
29833             }
29834          }
29835       }
29836       programs {
29837          program { name:    "go_active";
29838             signal:  "elm,state,selected";
29839             source:  "elm";
29840             action:  STATE_SET "selected" 0.0;
29841             target:  "bg";
29842             target:  "fg1";
29843             target:  "fg2";
29844             target:  "elm.text";
29845          }
29846          program { name:    "go_passive";
29847             signal:  "elm,state,unselected";
29848             source:  "elm";
29849             action:  STATE_SET "default" 0.0;
29850             target:  "bg";
29851             target:  "fg1";
29852             target:  "fg2";
29853             target:  "elm.text";
29854             transition: LINEAR 0.1;
29855          }
29856          program { name:    "go_disabled";
29857             signal:  "elm,state,disabled";
29858             source:  "elm";
29859             action:  STATE_SET "disabled" 0.0;
29860             target:  "disclip";
29861          }
29862          program { name:    "go_enabled";
29863             signal:  "elm,state,enabled";
29864             source:  "elm";
29865             action:  STATE_SET "default" 0.0;
29866             target:  "disclip";
29867          }
29868       }
29869    }
29870
29871    group { name: "elm/gengrid/item/album-preview/default";
29872       data.item: "labels" "elm.text";
29873       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
29874       data.item: "states" "have_files";
29875       images {
29876          image: "bt_sm_base1.png" COMP;
29877          image: "bt_sm_shine.png" COMP;
29878          image: "bt_sm_hilight.png" COMP;
29879          image: "icon_folder.png" COMP;
29880       }
29881       parts {
29882          part { name: "event";
29883             type: RECT;
29884             repeat_events: 1;
29885             description { state: "default" 0.0;
29886                color: 0 0 0 0;
29887             }
29888          }
29889          part { name: "bg";
29890             clip_to: "disclip";
29891             mouse_events: 0;
29892             description { state: "default" 0.0;
29893                visible: 0;
29894                color: 255 255 255 0;
29895                rel1.offset: -3 -3;
29896                rel2.offset: 2 2;
29897                image {
29898                   normal: "bt_sm_base1.png";
29899                   border: 6 6 6 6;
29900                   middle: SOLID;
29901                }
29902             }
29903             description { state: "selected" 0.0;
29904                inherit: "default" 0.0;
29905                visible: 1;
29906                color: 255 255 255 255;
29907             }
29908          }
29909          part { name: "image";
29910              type: IMAGE;
29911              mouse_events: 0;
29912              description { state: "default" 0.0;
29913                  aspect_preference: BOTH;
29914                  aspect: 1.0 1.0;
29915                  image.normal: "icon_folder.png";
29916                  rel2 {
29917                      to_y: "elm.text";
29918                      relative: 1.0 0.0;
29919                      offset: -1 -2;
29920                  }
29921              }
29922          }
29923          part { name: "have-files-clipper";
29924              type: RECT;
29925              description { state: "default" 0.0;
29926                  color: 255 255 255 0;
29927                  visible: 0;
29928              }
29929              description { state: "visible" 0.0;
29930                  inherit: "default" 0.0;
29931                  color: 255 255 255 255;
29932                  visible: 1;
29933              }
29934          }
29935          part { name: "icon_box_margin";
29936              type: RECT;
29937              mouse_events: 0;
29938              clip_to: "have-files-clipper";
29939              description { state: "default" 0.0;
29940                  color: 0 0 0 255;
29941                  rel1 {
29942                      to: "icon_box";
29943                      offset: -1 -1;
29944                  }
29945                  rel2 {
29946                      to: "icon_box";
29947                      offset: 0 0;
29948                  }
29949              }
29950          }
29951          part { name: "icon_box";
29952              type: RECT;
29953              mouse_events: 0;
29954              clip_to: "have-files-clipper";
29955              description { state: "default" 0.0;
29956                  color: 255 255 255 255;
29957                  align: 1.0 1.0;
29958                  min: 32 32;
29959                  rel1 {
29960                      relative: 0.25 0.25;
29961                      offset: 0 0;
29962                  }
29963                  rel2 {
29964                      relative: 1.0 0.0;
29965                      offset: -11 -4;
29966                      to_y: "elm.text";
29967                  }
29968              }
29969          }
29970          part { name: "elm.swallow.icon.1";
29971              type: SWALLOW;
29972              mouse_events: 0;
29973              clip_to: "have-files-clipper";
29974              description { state: "default" 0.0;
29975                rel1 {
29976                   relative: 0.0  0.0;
29977                   to: "icon_box";
29978                }
29979                rel2 {
29980                   relative: 0.5  0.5;
29981                   offset: -1 -1;
29982                   to: "icon_box";
29983                }
29984             }
29985          }
29986          part { name: "elm.swallow.icon.2";
29987              type: SWALLOW;
29988              mouse_events: 0;
29989              clip_to: "have-files-clipper";
29990              description { state: "default" 0.0;
29991                rel1 {
29992                   relative: 0.5  0.0;
29993                   to: "icon_box";
29994                }
29995                rel2 {
29996                   relative: 1.0  0.5;
29997                   offset: -1 -1;
29998                   to: "icon_box";
29999                }
30000             }
30001          }
30002          part { name: "elm.swallow.icon.3";
30003              type: SWALLOW;
30004              mouse_events: 0;
30005              clip_to: "have-files-clipper";
30006              description { state: "default" 0.0;
30007                rel1 {
30008                   relative: 0.0  0.5;
30009                   to: "icon_box";
30010                }
30011                rel2 {
30012                   relative: 0.5  1.0;
30013                   offset: -1 -1;
30014                   to: "icon_box";
30015                }
30016             }
30017          }
30018          part { name: "elm.swallow.icon.4";
30019              type: SWALLOW;
30020              mouse_events: 0;
30021              clip_to: "have-files-clipper";
30022              description { state: "default" 0.0;
30023                rel1 {
30024                   relative: 0.5  0.5;
30025                   to: "icon_box";
30026                }
30027                rel2 {
30028                   relative: 1.0  1.0;
30029                   offset: -1 -1;
30030                   to: "icon_box";
30031                }
30032             }
30033          }
30034          part { name: "elm.text";
30035             clip_to: "disclip";
30036             type: TEXT;
30037             effect: SOFT_SHADOW;
30038             mouse_events: 0;
30039             scale: 1;
30040             description { state: "default" 0.0;
30041                rel1 {
30042                   relative: 0.0  1.0;
30043                   offset: 20 -30;
30044                }
30045                rel2 {
30046                   relative: 1.0  1.0;
30047                   offset: -21 -15;
30048                }
30049                color: 0 0 0 255;
30050                color3: 0 0 0 0;
30051                text {
30052                   font: "Sans";
30053                   size: 10;
30054                   min: 0 1;
30055                   align: 0.5 0.0;
30056                   text_class: "grid_item";
30057                }
30058             }
30059             description { state: "selected" 0.0;
30060                 inherit: "default" 0.0;
30061                 color: 255 255 255 255;
30062             }
30063          }
30064          part { name: "fg1";
30065             clip_to: "disclip";
30066             mouse_events: 0;
30067             description { state: "default" 0.0;
30068                visible: 0;
30069                color: 255 255 255 0;
30070                rel1.offset: -3 -3;
30071                rel2 {
30072                    relative: 1.0 0.5;
30073                    offset: 2 -1;
30074                }
30075                image {
30076                   normal: "bt_sm_hilight.png";
30077                   border: 6 6 6 0;
30078                }
30079             }
30080             description { state: "selected" 0.0;
30081                inherit: "default" 0.0;
30082                visible: 1;
30083                color: 255 255 255 255;
30084             }
30085          }
30086          part { name: "fg2";
30087             clip_to: "disclip";
30088             mouse_events: 0;
30089             description { state: "default" 0.0;
30090                visible: 0;
30091                color: 255 255 255 0;
30092                rel1.offset: -3 -3;
30093                rel2.offset: 2 2;
30094                image {
30095                   normal: "bt_sm_shine.png";
30096                   border: 6 6 6 0;
30097                }
30098             }
30099             description { state: "selected" 0.0;
30100                inherit: "default" 0.0;
30101                visible: 1;
30102                color: 255 255 255 255;
30103             }
30104          }
30105          part { name: "disclip";
30106             type: RECT;
30107             description { state: "default" 0.0;
30108                rel1.to: "bg";
30109                rel2.to: "bg";
30110             }
30111             description { state: "disabled" 0.0;
30112                inherit: "default" 0.0;
30113                color: 255 255 255 64;
30114             }
30115          }
30116       }
30117       programs {
30118          program { name:    "go_active";
30119             signal:  "elm,state,selected";
30120             source:  "elm";
30121             action:  STATE_SET "selected" 0.0;
30122             target:  "bg";
30123             target:  "fg1";
30124             target:  "fg2";
30125             target:  "elm.text";
30126          }
30127          program { name:    "go_passive";
30128             signal:  "elm,state,unselected";
30129             source:  "elm";
30130             action:  STATE_SET "default" 0.0;
30131             target:  "bg";
30132             target:  "fg1";
30133             target:  "fg2";
30134             target:  "elm.text";
30135             transition: LINEAR 0.1;
30136          }
30137          program { name:    "go_disabled";
30138             signal:  "elm,state,disabled";
30139             source:  "elm";
30140             action:  STATE_SET "disabled" 0.0;
30141             target:  "disclip";
30142          }
30143          program { name:    "go_enabled";
30144             signal:  "elm,state,enabled";
30145             source:  "elm";
30146             action:  STATE_SET "default" 0.0;
30147             target:  "disclip";
30148          }
30149          program {
30150              signal: "elm,state,have_files,active";
30151              source: "elm";
30152              action: STATE_SET "visible" 0.0;
30153              target: "have-files-clipper";
30154          }
30155       }
30156    }
30157
30158    group { name: "elm/gengrid/item/thumb/default";
30159        data {
30160            item: "icons" "elm.swallow.icon";
30161            item: "labels" "elm.text";
30162        }
30163        images {
30164            image: "bt_sm_base1.png" COMP;
30165            image: "bt_sm_shine.png" COMP;
30166            image: "bt_sm_hilight.png" COMP;
30167            image: "thumb_shadow.png" COMP;
30168        }
30169        parts {
30170            part { name: "event";
30171                type: RECT;
30172                repeat_events: 1;
30173                description { state: "default" 0.0;
30174                    color: 0 0 0 0;
30175                }
30176            }
30177            part { name: "bg";
30178                mouse_events: 0;
30179                description { state: "default" 0.0;
30180                    visible: 0;
30181                    color: 255 255 255 0;
30182                    rel1.offset: -3 -3;
30183                    rel2.offset: 2 2;
30184                    image {
30185                        normal: "bt_sm_base1.png";
30186                        border: 6 6 6 6;
30187                        middle: SOLID;
30188                    }
30189                }
30190                description { state: "selected" 0.0;
30191                    inherit: "default" 0.0;
30192                    visible: 1;
30193                    color: 255 255 255 255;
30194                }
30195            }
30196            part { name: "border-shadow";
30197                type: IMAGE;
30198                mouse_events: 0;
30199                description { state: "default" 0.0;
30200                    rel1 {
30201                        to: "elm.swallow.icon";
30202                        offset: -18 -18;
30203                    }
30204                    rel2 {
30205                        to_x: "elm.swallow.icon";
30206                        to_y: "elm.text";
30207                        offset: 17 17;
30208                    }
30209                    image {
30210                        normal: "thumb_shadow.png";
30211                        border: 17 17 17 17;
30212                        middle: NONE;
30213                    }
30214                }
30215            }
30216            part { name: "border";
30217                type: RECT;
30218                mouse_events: 0;
30219                description { state: "default" 0.0;
30220                    rel1 {
30221                        to: "border-shadow";
30222                        offset: 16 16;
30223                    }
30224                    rel2 {
30225                        to: "border-shadow";
30226                        offset: -15 -15;
30227                    }
30228                }
30229            }
30230            part { name: "elm.swallow.icon";
30231                type: SWALLOW;
30232                mouse_events: 0;
30233                description { state: "default" 0.0;
30234                    aspect_preference: BOTH;
30235                    aspect: 1.0 1.0;
30236                    rel1.offset: 0 8;
30237                    rel2 {
30238                        to_y: "elm.text";
30239                        relative: 1.0 0.0;
30240                        offset: -1 -2;
30241                    }
30242                }
30243            }
30244            part { name: "elm.text";
30245                type: TEXT;
30246                effect: SOFT_SHADOW;
30247                mouse_events: 0;
30248                scale: 1;
30249                description { state: "default" 0.0;
30250                    color: 0 0 0 255;
30251                    color3: 0 0 0 0;
30252                    align: 0.5 1.0;
30253                    rel1 {
30254                        relative: 0.0 1.0;
30255                        offset: 20 -30;
30256                    }
30257                    rel2 {
30258                        relative: 1.0 1.0;
30259                        offset: -21 -15;
30260                    }
30261                    text {
30262                        font: "Sans";
30263                        size: 10;
30264                        min: 0 1;
30265                        align: 0.5 0.0;
30266                        text_class: "grid_item";
30267                    }
30268                }
30269            }
30270            part { name: "fg1";
30271                mouse_events: 0;
30272                description { state: "default" 0.0;
30273                    visible: 0;
30274                    color: 255 255 255 0;
30275                    rel1.offset: -3 -3;
30276                    rel2 {
30277                        relative: 1.0 0.5;
30278                        offset: 2 -1;
30279                    }
30280                    image {
30281                        normal: "bt_sm_hilight.png";
30282                        border: 6 6 6 0;
30283                    }
30284                }
30285                description { state: "selected" 0.0;
30286                    inherit: "default" 0.0;
30287                    visible: 1;
30288                    color: 255 255 255 255;
30289                }
30290            }
30291            part { name: "fg2";
30292                mouse_events: 0;
30293                description { state: "default" 0.0;
30294                    visible: 0;
30295                    color: 255 255 255 0;
30296                    rel1.offset: -3 -3;
30297                    rel2.offset: 2 2;
30298                    image {
30299                        image: "bt_sm_shine.png";
30300                        border: 6 6 6 0;
30301                    }
30302                }
30303                description { state: "selected" 0.0;
30304                    inherit: "default" 0.0;
30305                    visible: 1;
30306                    color: 255 255 255 255;
30307                }
30308            }
30309        }
30310        programs {
30311            program {
30312                signal: "elm,state,selected";
30313                source: "elm";
30314                action: STATE_SET "selected" 0.0;
30315                target: "bg";
30316                target: "fg1";
30317                target: "fg2";
30318            }
30319            program {
30320                signal: "elm,state,unselected";
30321                source: "elm";
30322                action:  STATE_SET "default" 0.0;
30323                target: "bg";
30324                target: "fg1";
30325                target: "fg2";
30326                transition: LINEAR 0.1;
30327            }
30328        }
30329    }
30330
30331 ///////////////////////////////////////////////////////////////////////////////
30332    group { name: "elm/photocam/base/default";
30333        script {
30334            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30335            public timer0(val) {
30336                new v;
30337                v = get_int(sbvis_v);
30338                if (v) {
30339                    v = get_int(sbalways_v);
30340                    if (!v) {
30341                        emit("do-hide-vbar", "");
30342                        set_int(sbvis_v, 0);
30343                    }
30344                }
30345                v = get_int(sbvis_h);
30346                if (v) {
30347                    v = get_int(sbalways_h);
30348                    if (!v) {
30349                        emit("do-hide-hbar", "");
30350                        set_int(sbvis_h, 0);
30351                    }
30352                }
30353                set_int(sbvis_timer, 0);
30354                return 0;
30355            }
30356        }
30357        images {
30358            image: "shelf_inset.png" COMP;
30359            image: "bt_sm_base2.png" COMP;
30360            image: "bt_sm_shine.png" COMP;
30361            image: "bt_sm_hilight.png" COMP;
30362            image: "busy-1.png" COMP;
30363            image: "busy-2.png" COMP;
30364            image: "busy-3.png" COMP;
30365            image: "busy-4.png" COMP;
30366            image: "busy-5.png" COMP;
30367            image: "busy-6.png" COMP;
30368            image: "busy-7.png" COMP;
30369            image: "busy-8.png" COMP;
30370            image: "busy-9.png" COMP;
30371        }
30372        parts {
30373            part { name: "bg";
30374                type: RECT;
30375                description { state: "default" 0.0;
30376                    rel1.offset: 1 1;
30377                    rel2.offset: -2 -2;
30378                    color: 255 255 255 0;
30379                }
30380            }
30381            part { name: "clipper";
30382                type: RECT;
30383                mouse_events: 0;
30384                description { state: "default" 0.0;
30385                    rel1.to: "bg";
30386                    rel2.to: "bg";
30387                }
30388            }
30389            part { name: "elm.swallow.content";
30390                clip_to: "clipper";
30391                type: SWALLOW;
30392                description { state: "default" 0.0;
30393                    rel1.offset: 1 1;
30394                    rel2.offset: -2 -2;
30395                }
30396            }
30397            part { name: "busy_clip";
30398                type: RECT;
30399                mouse_events: 0;
30400                description { state: "default" 0.0;
30401                    visible: 0;
30402                    color: 255 255 255 0;
30403                }
30404                description { state: "active" 0.0;
30405                    visible: 1;
30406                    color: 255 255 255 255;
30407                }
30408            }
30409            part { name: "busy";
30410                clip_to: "busy_clip";
30411                mouse_events: 0;
30412                description { state: "default" 0.0;
30413                    fixed: 1 1;
30414                    min: 32 32;
30415                    aspect: 1.0 1.0;
30416                    align: 1.0 1.0;
30417                    aspect_preference: BOTH;
30418                    rel1 {
30419                        relative: 0.9 0.9;
30420                        offset:   -9 -9;
30421                    }
30422                    rel2 {
30423                        relative: 0.9 0.9;
30424                        offset:   -9 -9;
30425                    }
30426                    image {
30427                        normal: "busy-9.png";
30428                        tween:  "busy-1.png";
30429                        tween:  "busy-2.png";
30430                        tween:  "busy-3.png";
30431                        tween:  "busy-4.png";
30432                        tween:  "busy-5.png";
30433                        tween:  "busy-6.png";
30434                        tween:  "busy-7.png";
30435                        tween:  "busy-8.png";
30436                    }
30437                }
30438            }
30439            part { name: "conf_over";
30440                mouse_events:  0;
30441                description { state: "default" 0.0;
30442                    rel1.offset: 0 0;
30443                    rel2.offset: -1 -1;
30444                    image {
30445                        normal: "shelf_inset.png";
30446                        border: 7 7 7 7;
30447                        middle: 0;
30448                    }
30449                    fill.smooth : 0;
30450                }
30451            }
30452            part { name: "sb_vbar_clip_master";
30453                type: RECT;
30454                mouse_events: 0;
30455                description { state: "default" 0.0;
30456                }
30457                description { state: "hidden" 0.0;
30458                    visible: 0;
30459                    color: 255 255 255 0;
30460                }
30461            }
30462            part { name: "sb_vbar_clip";
30463                clip_to: "sb_vbar_clip_master";
30464                type: RECT;
30465                mouse_events: 0;
30466                description { state: "default" 0.0;
30467                }
30468                description { state: "hidden" 0.0;
30469                    visible: 0;
30470                    color: 255 255 255 0;
30471                }
30472            }
30473            part { name: "sb_vbar";
30474                type: RECT;
30475                mouse_events: 0;
30476                description { state: "default" 0.0;
30477                    fixed: 1 1;
30478                    visible: 0;
30479                    min: 10 17;
30480                    align: 1.0 0.0;
30481                    rel1 {
30482                        relative: 1.0 0.0;
30483                        offset:   -2 0;
30484                    }
30485                    rel2 {
30486                        relative: 1.0 0.0;
30487                        offset:   -2 -1;
30488                        to_y:     "sb_hbar";
30489                    }
30490                }
30491            }
30492            part { name: "elm.dragable.vbar";
30493                clip_to: "sb_vbar_clip";
30494                mouse_events: 0;
30495                dragable {
30496                    x: 0 0 0;
30497                    y: 1 1 0;
30498                    confine: "sb_vbar";
30499                }
30500                description { state: "default" 0.0;
30501                    fixed: 1 1;
30502                    min: 10 17;
30503                    max: 10 99999;
30504                    rel1 {
30505                        relative: 0.5  0.5;
30506                        offset:   0    0;
30507                        to: "sb_vbar";
30508                    }
30509                    rel2 {
30510                        relative: 0.5  0.5;
30511                        offset:   0    0;
30512                        to: "sb_vbar";
30513                    }
30514                    image {
30515                        normal: "bt_sm_base2.png";
30516                        border: 6 6 6 6;
30517                        middle: SOLID;
30518                    }
30519                }
30520            }
30521            part { name: "sb_vbar_over1";
30522                clip_to: "sb_vbar_clip";
30523                mouse_events: 0;
30524                description { state: "default" 0.0;
30525                    rel1.to: "elm.dragable.vbar";
30526                    rel2.relative: 1.0 0.5;
30527                    rel2.to: "elm.dragable.vbar";
30528                    image {
30529                        normal: "bt_sm_hilight.png";
30530                        border: 6 6 6 0;
30531                    }
30532                }
30533            }
30534            part { name: "sb_vbar_over2";
30535                clip_to: "sb_vbar_clip";
30536                mouse_events: 0;
30537                description { state: "default" 0.0;
30538                    rel1.to: "elm.dragable.vbar";
30539                    rel2.to: "elm.dragable.vbar";
30540                    image {
30541                        normal: "bt_sm_shine.png";
30542                        border: 6 6 6 0;
30543                    }
30544                }
30545            }
30546
30547            part { name: "sb_hbar_clip_master";
30548                type: RECT;
30549                mouse_events: 0;
30550                description { state: "default" 0.0;
30551                }
30552                description { state: "hidden" 0.0;
30553                    visible: 0;
30554                    color: 255 255 255 0;
30555                }
30556            }
30557            part { name: "sb_hbar_clip";
30558                clip_to: "sb_hbar_clip_master";
30559                type: RECT;
30560                mouse_events: 0;
30561                description { state: "default" 0.0;
30562                }
30563                description { state: "hidden" 0.0;
30564                    visible: 0;
30565                    color: 255 255 255 0;
30566                }
30567            }
30568            part { name: "sb_hbar";
30569                type: RECT;
30570                mouse_events: 0;
30571                description { state: "default" 0.0;
30572                    fixed: 1 1;
30573                    visible: 0;
30574                    min: 17 10;
30575                    align: 0.0 1.0;
30576                    rel1 {
30577                        relative: 0.0 1.0;
30578                        offset:   0 -2;
30579                    }
30580                    rel2 {
30581                        relative: 0.0 1.0;
30582                        offset:   -1 -2;
30583                        to_x:     "sb_vbar";
30584                    }
30585                }
30586            }
30587            part { name: "elm.dragable.hbar";
30588                clip_to: "sb_hbar_clip";
30589                mouse_events: 0;
30590                dragable {
30591                    x: 1 1 0;
30592                    y: 0 0 0;
30593                    confine: "sb_hbar";
30594                }
30595                description { state: "default" 0.0;
30596                    fixed: 1 1;
30597                    min: 17 10;
30598                    max: 99999 10;
30599                    rel1 {
30600                        relative: 0.5  0.5;
30601                        offset:   0    0;
30602                        to: "sb_hbar";
30603                    }
30604                    rel2 {
30605                        relative: 0.5  0.5;
30606                        offset:   0    0;
30607                        to: "sb_hbar";
30608                    }
30609                    image {
30610                        normal: "bt_sm_base2.png";
30611                        border: 4 4 4 4;
30612                        middle: SOLID;
30613                    }
30614                }
30615            }
30616            part { name: "sb_hbar_over1";
30617                clip_to: "sb_hbar_clip";
30618                mouse_events: 0;
30619                description { state: "default" 0.0;
30620                    rel1.to: "elm.dragable.hbar";
30621                    rel2.relative: 1.0 0.5;
30622                    rel2.to: "elm.dragable.hbar";
30623                    image {
30624                        normal: "bt_sm_hilight.png";
30625                        border: 4 4 4 0;
30626                    }
30627                }
30628            }
30629            part { name: "sb_hbar_over2";
30630                clip_to: "sb_hbar_clip";
30631                mouse_events: 0;
30632                description { state: "default" 0.0;
30633                    rel1.to: "elm.dragable.hbar";
30634                    rel2.to: "elm.dragable.hbar";
30635                    image {
30636                        normal: "bt_sm_shine.png";
30637                        border: 4 4 4 0;
30638                    }
30639                }
30640            }
30641        }
30642        programs {
30643            program { name: "load";
30644                signal: "load";
30645                source: "";
30646                script {
30647                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30648                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30649                    set_int(sbvis_h, 0);
30650                    set_int(sbvis_v, 0);
30651                    set_int(sbalways_v, 0);
30652                    set_int(sbalways_h, 0);
30653                    set_int(sbvis_timer, 0);
30654                }
30655            }
30656
30657            program { name: "vbar_show";
30658                signal: "elm,action,show,vbar";
30659                source: "elm";
30660                action:  STATE_SET "default" 0.0;
30661                target: "sb_vbar_clip_master";
30662            }
30663            program { name: "vbar_hide";
30664                signal: "elm,action,hide,vbar";
30665                source: "elm";
30666                action:  STATE_SET "hidden" 0.0;
30667                target: "sb_vbar_clip_master";
30668            }
30669            program { name: "vbar_show_always";
30670                signal: "elm,action,show_always,vbar";
30671                source: "elm";
30672                script {
30673                    new v;
30674                    v = get_int(sbvis_v);
30675                    v |= get_int(sbalways_v);
30676                    if (!v) {
30677                        set_int(sbalways_v, 1);
30678                        emit("do-show-vbar", "");
30679                        set_int(sbvis_v, 1);
30680                    }
30681                }
30682            }
30683            program { name: "vbar_show_notalways";
30684                signal: "elm,action,show_notalways,vbar";
30685                source: "elm";
30686                script {
30687                    new v;
30688                    v = get_int(sbalways_v);
30689                    if (v) {
30690                        set_int(sbalways_v, 0);
30691                        v = get_int(sbvis_v);
30692                        if (!v) {
30693                            emit("do-hide-vbar", "");
30694                            set_int(sbvis_v, 0);
30695                        }
30696                    }
30697                }
30698            }
30699            program { name: "sb_vbar_show";
30700                signal: "do-show-vbar";
30701                source: "";
30702                action:  STATE_SET "default" 0.0;
30703                transition: LINEAR 0.5;
30704                target: "sb_vbar_clip";
30705            }
30706            program { name: "sb_vbar_hide";
30707                signal: "do-hide-vbar";
30708                source: "";
30709                action:  STATE_SET "hidden" 0.0;
30710                transition: LINEAR 0.5;
30711                target: "sb_vbar_clip";
30712            }
30713
30714            program { name: "hbar_show";
30715                signal: "elm,action,show,hbar";
30716                source: "elm";
30717                action:  STATE_SET "default" 0.0;
30718                target: "sb_hbar_clip_master";
30719            }
30720            program { name: "hbar_hide";
30721                signal: "elm,action,hide,hbar";
30722                source: "elm";
30723                action:  STATE_SET "hidden" 0.0;
30724                target: "sb_hbar_clip_master";
30725            }
30726            program { name: "hbar_show_always";
30727                signal: "elm,action,show_always,hbar";
30728                source: "elm";
30729                script {
30730                    new v;
30731                    v = get_int(sbvis_h);
30732                    v |= get_int(sbalways_h);
30733                    if (!v) {
30734                        set_int(sbalways_h, 1);
30735                        emit("do-show-hbar", "");
30736                        set_int(sbvis_h, 1);
30737                    }
30738                }
30739            }
30740            program { name: "hbar_show_notalways";
30741                signal: "elm,action,show_notalways,hbar";
30742                source: "elm";
30743                script {
30744                    new v;
30745                    v = get_int(sbalways_h);
30746                    if (v) {
30747                        set_int(sbalways_h, 0);
30748                        v = get_int(sbvis_h);
30749                        if (!v) {
30750                            emit("do-hide-hbar", "");
30751                            set_int(sbvis_h, 0);
30752                        }
30753                    }
30754                }
30755            }
30756            program { name: "sb_hbar_show";
30757                signal: "do-show-hbar";
30758                source: "";
30759                action:  STATE_SET "default" 0.0;
30760                transition: LINEAR 0.5;
30761                target: "sb_hbar_clip";
30762            }
30763            program { name: "sb_hbar_hide";
30764                signal: "do-hide-hbar";
30765                source: "";
30766                action:  STATE_SET "hidden" 0.0;
30767                transition: LINEAR 0.5;
30768                target: "sb_hbar_clip";
30769            }
30770
30771            program { name: "scroll";
30772                signal: "elm,action,scroll";
30773                source: "elm";
30774                script {
30775                    new v;
30776                    v = get_int(sbvis_v);
30777                    v |= get_int(sbalways_v);
30778                    if (!v) {
30779                        emit("do-show-vbar", "");
30780                        set_int(sbvis_v, 1);
30781                    }
30782                    v = get_int(sbvis_h);
30783                    v |= get_int(sbalways_h);
30784                    if (!v) {
30785                        emit("do-show-hbar", "");
30786                        set_int(sbvis_h, 1);
30787                    }
30788                    v = get_int(sbvis_timer);
30789                    if (v > 0) cancel_timer(v);
30790                    v = timer(1.0, "timer0", 0);
30791                    set_int(sbvis_timer, v);
30792                }
30793            }
30794            program { name: "go1";
30795                signal: "elm,state,busy,start";
30796                source: "elm";
30797                action: STATE_SET "active" 0.0;
30798                transition: SINUSOIDAL 1.0;
30799                target:  "busy_clip";
30800            }
30801            program { name: "go2";
30802                signal: "elm,state,busy,start";
30803                source: "elm";
30804                action: STATE_SET "default" 0.0;
30805                transition: LINEAR 0.5;
30806                target: "busy";
30807                after:  "go2";
30808            }
30809            program { name: "stop1";
30810                signal: "elm,state,busy,stop";
30811                source: "elm";
30812                action: STATE_SET "default" 0.0;
30813                transition: SINUSOIDAL 1.0;
30814                target: "busy_clip";
30815                after: "stop2";
30816            }
30817          program { name: "stop2";
30818             action: ACTION_STOP;
30819             target: "go2";
30820          }
30821       }
30822    }
30823
30824    ///////////////////////////////////////////////////////////////////////////////
30825    group { name: "elm/map/base/default";
30826        script {
30827            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30828            public timer0(val) {
30829                new v;
30830                v = get_int(sbvis_v);
30831                if (v) {
30832                    v = get_int(sbalways_v);
30833                    if (!v) {
30834                        emit("do-hide-vbar", "");
30835                        set_int(sbvis_v, 0);
30836                    }
30837                }
30838                v = get_int(sbvis_h);
30839                if (v) {
30840                    v = get_int(sbalways_h);
30841                    if (!v) {
30842                        emit("do-hide-hbar", "");
30843                        set_int(sbvis_h, 0);
30844                    }
30845                }
30846                set_int(sbvis_timer, 0);
30847                return 0;
30848            }
30849        }
30850        images {
30851            image: "shelf_inset.png" COMP;
30852            image: "bt_sm_base2.png" COMP;
30853            image: "bt_sm_shine.png" COMP;
30854            image: "bt_sm_hilight.png" COMP;
30855            image: "busy-1.png" COMP;
30856            image: "busy-2.png" COMP;
30857            image: "busy-3.png" COMP;
30858            image: "busy-4.png" COMP;
30859            image: "busy-5.png" COMP;
30860            image: "busy-6.png" COMP;
30861            image: "busy-7.png" COMP;
30862            image: "busy-8.png" COMP;
30863            image: "busy-9.png" COMP;
30864        }
30865        parts {
30866            part { name: "bg";
30867                type: RECT;
30868                description { state: "default" 0.0;
30869                    rel1.offset: 1 1;
30870                    rel2.offset: -2 -2;
30871                    color: 255 255 255 0;
30872                }
30873            }
30874            part { name: "clipper";
30875                type: RECT;
30876                mouse_events: 0;
30877                description { state: "default" 0.0;
30878                    rel1.to: "bg";
30879                    rel2.to: "bg";
30880                }
30881            }
30882            part { name: "elm.swallow.content";
30883                clip_to: "clipper";
30884                type: SWALLOW;
30885                description { state: "default" 0.0;
30886                    rel1.offset: 1 1;
30887                    rel2.offset: -2 -2;
30888                }
30889            }
30890            part { name: "busy_clip";
30891                type: RECT;
30892                mouse_events: 0;
30893                description { state: "default" 0.0;
30894                    visible: 0;
30895                    color: 255 255 255 0;
30896                }
30897                description { state: "active" 0.0;
30898                    visible: 1;
30899                    color: 255 255 255 255;
30900                }
30901            }
30902            part { name: "busy";
30903                clip_to: "busy_clip";
30904                mouse_events: 0;
30905                description { state: "default" 0.0;
30906                    fixed: 1 1;
30907                    min: 32 32;
30908                    aspect: 1.0 1.0;
30909                    align: 1.0 1.0;
30910                    aspect_preference: BOTH;
30911                    rel1 {
30912                        relative: 0.9 0.9;
30913                        offset:   -9 -9;
30914                    }
30915                    rel2 {
30916                        relative: 0.9 0.9;
30917                        offset:   -9 -9;
30918                    }
30919                    image {
30920                        normal: "busy-9.png";
30921                        tween:  "busy-1.png";
30922                        tween:  "busy-2.png";
30923                        tween:  "busy-3.png";
30924                        tween:  "busy-4.png";
30925                        tween:  "busy-5.png";
30926                        tween:  "busy-6.png";
30927                        tween:  "busy-7.png";
30928                        tween:  "busy-8.png";
30929                    }
30930                }
30931            }
30932            part { name: "conf_over";
30933                mouse_events:  0;
30934                description { state: "default" 0.0;
30935                    rel1.offset: 0 0;
30936                    rel2.offset: -1 -1;
30937                    image {
30938                        normal: "shelf_inset.png";
30939                        border: 7 7 7 7;
30940                        middle: 0;
30941                    }
30942                    fill.smooth : 0;
30943                }
30944            }
30945            part { name: "sb_vbar_clip_master";
30946                type: RECT;
30947                mouse_events: 0;
30948                description { state: "default" 0.0;
30949                }
30950                description { state: "hidden" 0.0;
30951                    visible: 0;
30952                    color: 255 255 255 0;
30953                }
30954            }
30955            part { name: "sb_vbar_clip";
30956                clip_to: "sb_vbar_clip_master";
30957                type: RECT;
30958                mouse_events: 0;
30959                description { state: "default" 0.0;
30960                }
30961                description { state: "hidden" 0.0;
30962                    visible: 0;
30963                    color: 255 255 255 0;
30964                }
30965            }
30966            part { name: "sb_vbar";
30967                type: RECT;
30968                mouse_events: 0;
30969                description { state: "default" 0.0;
30970                    fixed: 1 1;
30971                    visible: 0;
30972                    min: 10 17;
30973                    align: 1.0 0.0;
30974                    rel1 {
30975                        relative: 1.0 0.0;
30976                        offset:   -2 0;
30977                    }
30978                    rel2 {
30979                        relative: 1.0 0.0;
30980                        offset:   -2 -1;
30981                        to_y:     "sb_hbar";
30982                    }
30983                }
30984            }
30985            part { name: "elm.dragable.vbar";
30986                clip_to: "sb_vbar_clip";
30987                mouse_events: 0;
30988                dragable {
30989                    x: 0 0 0;
30990                    y: 1 1 0;
30991                    confine: "sb_vbar";
30992                }
30993                description { state: "default" 0.0;
30994                    fixed: 1 1;
30995                    min: 10 17;
30996                    max: 10 99999;
30997                    rel1 {
30998                        relative: 0.5  0.5;
30999                        offset:   0    0;
31000                        to: "sb_vbar";
31001                    }
31002                    rel2 {
31003                        relative: 0.5  0.5;
31004                        offset:   0    0;
31005                        to: "sb_vbar";
31006                    }
31007                    image {
31008                        normal: "bt_sm_base2.png";
31009                        border: 6 6 6 6;
31010                        middle: SOLID;
31011                    }
31012                }
31013            }
31014            part { name: "sb_vbar_over1";
31015                clip_to: "sb_vbar_clip";
31016                mouse_events: 0;
31017                description { state: "default" 0.0;
31018                    rel1.to: "elm.dragable.vbar";
31019                    rel2.relative: 1.0 0.5;
31020                    rel2.to: "elm.dragable.vbar";
31021                    image {
31022                        normal: "bt_sm_hilight.png";
31023                        border: 6 6 6 0;
31024                    }
31025                }
31026            }
31027            part { name: "sb_vbar_over2";
31028                clip_to: "sb_vbar_clip";
31029                mouse_events: 0;
31030                description { state: "default" 0.0;
31031                    rel1.to: "elm.dragable.vbar";
31032                    rel2.to: "elm.dragable.vbar";
31033                    image {
31034                        normal: "bt_sm_shine.png";
31035                        border: 6 6 6 0;
31036                    }
31037                }
31038            }
31039
31040            part { name: "sb_hbar_clip_master";
31041                type: RECT;
31042                mouse_events: 0;
31043                description { state: "default" 0.0;
31044                }
31045                description { state: "hidden" 0.0;
31046                    visible: 0;
31047                    color: 255 255 255 0;
31048                }
31049            }
31050            part { name: "sb_hbar_clip";
31051                clip_to: "sb_hbar_clip_master";
31052                type: RECT;
31053                mouse_events: 0;
31054                description { state: "default" 0.0;
31055                }
31056                description { state: "hidden" 0.0;
31057                    visible: 0;
31058                    color: 255 255 255 0;
31059                }
31060            }
31061            part { name: "sb_hbar";
31062                type: RECT;
31063                mouse_events: 0;
31064                description { state: "default" 0.0;
31065                    fixed: 1 1;
31066                    visible: 0;
31067                    min: 17 10;
31068                    align: 0.0 1.0;
31069                    rel1 {
31070                        relative: 0.0 1.0;
31071                        offset:   0 -2;
31072                    }
31073                    rel2 {
31074                        relative: 0.0 1.0;
31075                        offset:   -1 -2;
31076                        to_x:     "sb_vbar";
31077                    }
31078                }
31079            }
31080            part { name: "elm.dragable.hbar";
31081                clip_to: "sb_hbar_clip";
31082                mouse_events: 0;
31083                dragable {
31084                    x: 1 1 0;
31085                    y: 0 0 0;
31086                    confine: "sb_hbar";
31087                }
31088                description { state: "default" 0.0;
31089                    fixed: 1 1;
31090                    min: 17 10;
31091                    max: 99999 10;
31092                    rel1 {
31093                        relative: 0.5  0.5;
31094                        offset:   0    0;
31095                        to: "sb_hbar";
31096                    }
31097                    rel2 {
31098                        relative: 0.5  0.5;
31099                        offset:   0    0;
31100                        to: "sb_hbar";
31101                    }
31102                    image {
31103                        normal: "bt_sm_base2.png";
31104                        border: 4 4 4 4;
31105                        middle: SOLID;
31106                    }
31107                }
31108            }
31109            part { name: "sb_hbar_over1";
31110                clip_to: "sb_hbar_clip";
31111                mouse_events: 0;
31112                description { state: "default" 0.0;
31113                    rel1.to: "elm.dragable.hbar";
31114                    rel2.relative: 1.0 0.5;
31115                    rel2.to: "elm.dragable.hbar";
31116                    image {
31117                        normal: "bt_sm_hilight.png";
31118                        border: 4 4 4 0;
31119                    }
31120                }
31121            }
31122            part { name: "sb_hbar_over2";
31123                clip_to: "sb_hbar_clip";
31124                mouse_events: 0;
31125                description { state: "default" 0.0;
31126                    rel1.to: "elm.dragable.hbar";
31127                    rel2.to: "elm.dragable.hbar";
31128                    image {
31129                        normal: "bt_sm_shine.png";
31130                        border: 4 4 4 0;
31131                    }
31132                }
31133            }
31134        }
31135        programs {
31136            program { name: "load";
31137                signal: "load";
31138                source: "";
31139                script {
31140                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31141                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31142                    set_int(sbvis_h, 0);
31143                    set_int(sbvis_v, 0);
31144                    set_int(sbalways_v, 0);
31145                    set_int(sbalways_h, 0);
31146                    set_int(sbvis_timer, 0);
31147                }
31148            }
31149
31150            program { name: "vbar_show";
31151                signal: "elm,action,show,vbar";
31152                source: "elm";
31153                action:  STATE_SET "default" 0.0;
31154                target: "sb_vbar_clip_master";
31155            }
31156            program { name: "vbar_hide";
31157                signal: "elm,action,hide,vbar";
31158                source: "elm";
31159                action:  STATE_SET "hidden" 0.0;
31160                target: "sb_vbar_clip_master";
31161            }
31162            program { name: "vbar_show_always";
31163                signal: "elm,action,show_always,vbar";
31164                source: "elm";
31165                script {
31166                    new v;
31167                    v = get_int(sbvis_v);
31168                    v |= get_int(sbalways_v);
31169                    if (!v) {
31170                        set_int(sbalways_v, 1);
31171                        emit("do-show-vbar", "");
31172                        set_int(sbvis_v, 1);
31173                    }
31174                }
31175            }
31176            program { name: "vbar_show_notalways";
31177                signal: "elm,action,show_notalways,vbar";
31178                source: "elm";
31179                script {
31180                    new v;
31181                    v = get_int(sbalways_v);
31182                    if (v) {
31183                        set_int(sbalways_v, 0);
31184                        v = get_int(sbvis_v);
31185                        if (!v) {
31186                            emit("do-hide-vbar", "");
31187                            set_int(sbvis_v, 0);
31188                        }
31189                    }
31190                }
31191            }
31192            program { name: "sb_vbar_show";
31193                signal: "do-show-vbar";
31194                source: "";
31195                action:  STATE_SET "default" 0.0;
31196                transition: LINEAR 0.5;
31197                target: "sb_vbar_clip";
31198            }
31199            program { name: "sb_vbar_hide";
31200                signal: "do-hide-vbar";
31201                source: "";
31202                action:  STATE_SET "hidden" 0.0;
31203                transition: LINEAR 0.5;
31204                target: "sb_vbar_clip";
31205            }
31206
31207            program { name: "hbar_show";
31208                signal: "elm,action,show,hbar";
31209                source: "elm";
31210                action:  STATE_SET "default" 0.0;
31211                target: "sb_hbar_clip_master";
31212            }
31213            program { name: "hbar_hide";
31214                signal: "elm,action,hide,hbar";
31215                source: "elm";
31216                action:  STATE_SET "hidden" 0.0;
31217                target: "sb_hbar_clip_master";
31218            }
31219            program { name: "hbar_show_always";
31220                signal: "elm,action,show_always,hbar";
31221                source: "elm";
31222                script {
31223                    new v;
31224                    v = get_int(sbvis_h);
31225                    v |= get_int(sbalways_h);
31226                    if (!v) {
31227                        set_int(sbalways_h, 1);
31228                        emit("do-show-hbar", "");
31229                        set_int(sbvis_h, 1);
31230                    }
31231                }
31232            }
31233            program { name: "hbar_show_notalways";
31234                signal: "elm,action,show_notalways,hbar";
31235                source: "elm";
31236                script {
31237                    new v;
31238                    v = get_int(sbalways_h);
31239                    if (v) {
31240                        set_int(sbalways_h, 0);
31241                        v = get_int(sbvis_h);
31242                        if (!v) {
31243                            emit("do-hide-hbar", "");
31244                            set_int(sbvis_h, 0);
31245                        }
31246                    }
31247                }
31248            }
31249            program { name: "sb_hbar_show";
31250                signal: "do-show-hbar";
31251                source: "";
31252                action:  STATE_SET "default" 0.0;
31253                transition: LINEAR 0.5;
31254                target: "sb_hbar_clip";
31255            }
31256            program { name: "sb_hbar_hide";
31257                signal: "do-hide-hbar";
31258                source: "";
31259                action:  STATE_SET "hidden" 0.0;
31260                transition: LINEAR 0.5;
31261                target: "sb_hbar_clip";
31262            }
31263
31264            program { name: "scroll";
31265                signal: "elm,action,scroll";
31266                source: "elm";
31267                script {
31268                    new v;
31269                    v = get_int(sbvis_v);
31270                    v |= get_int(sbalways_v);
31271                    if (!v) {
31272                        emit("do-show-vbar", "");
31273                        set_int(sbvis_v, 1);
31274                    }
31275                    v = get_int(sbvis_h);
31276                    v |= get_int(sbalways_h);
31277                    if (!v) {
31278                        emit("do-show-hbar", "");
31279                        set_int(sbvis_h, 1);
31280                    }
31281                    v = get_int(sbvis_timer);
31282                    if (v > 0) cancel_timer(v);
31283                    v = timer(1.0, "timer0", 0);
31284                    set_int(sbvis_timer, v);
31285                }
31286            }
31287            program { name: "go1";
31288                signal: "elm,state,busy,start";
31289                source: "elm";
31290                action: STATE_SET "active" 0.0;
31291                transition: SINUSOIDAL 1.0;
31292                target:  "busy_clip";
31293            }
31294            program { name: "go2";
31295                signal: "elm,state,busy,start";
31296                source: "elm";
31297                action: STATE_SET "default" 0.0;
31298                transition: LINEAR 0.5;
31299                target: "busy";
31300                after:  "go2";
31301            }
31302            program { name: "stop1";
31303                signal: "elm,state,busy,stop";
31304                source: "elm";
31305                action: STATE_SET "default" 0.0;
31306                transition: SINUSOIDAL 1.0;
31307                target: "busy_clip";
31308                after: "stop2";
31309            }
31310          program { name: "stop2";
31311             action: ACTION_STOP;
31312             target: "go2";
31313          }
31314       }
31315    }
31316    group { name: "elm/map/marker/radio/default";
31317         data {
31318             item: size_w 24;
31319             item: size_h 24;
31320             item: size_max_w 58;
31321             item: size_max_h 58;
31322         }
31323         images {
31324                 image: "map_item.png" COMP;
31325         }
31326         parts {
31327             part { name: "whole";
31328                 description { state: "default" 0.0;
31329                 }
31330             }
31331             part { name: "base";
31332                 ignore_flags: ON_HOLD;
31333                 description { state: "default" 0.0;
31334                     image.normal: "map_item.png";
31335                 }
31336             }
31337             part { name: "elm.icon";
31338                 type: SWALLOW;
31339                 clip_to: "whole";
31340                 mouse_events:  0;
31341                 description { state: "default" 0.0;
31342                     rel1.relative: 0.27 0.27;
31343                     rel2.relative: 0.73 0.73;
31344                 }
31345             }
31346             part { name: "elm.text";
31347                 type:          TEXT;
31348                 effect:        SOFT_SHADOW;
31349                 mouse_events:  0;
31350                 scale: 1;
31351                 description { state: "default" 0.0;
31352                     align:    0.5 0.5;
31353                     color: 224 224 224 255;
31354                     color3: 0 0 0 64;
31355                     rel1.relative: 0.28 0.25;
31356                     rel2.relative: 0.75 0.75;
31357                     text {
31358                         font:     "Sans,Edje-Vera";
31359                         size:     10;
31360                         min:      0 0;
31361                         align:    0.5 0.5;
31362                     }
31363                 }
31364             }
31365        }
31366        programs {
31367             program { name: "open";
31368                 signal: "mouse,clicked,1";
31369                 source: "base";
31370                 action: SIGNAL_EMIT "open" "elm";
31371             }
31372             program { name: "bringin";
31373                 signal: "mouse,down,1,double";
31374                 source: "base";
31375                 action: SIGNAL_EMIT "bringin" "elm";
31376             }
31377        }
31378    }
31379    group { name: "elm/map/marker/radio2/default";
31380         data {
31381             item: size_w 24;
31382             item: size_h 24;
31383             item: size_max_w 58;
31384             item: size_max_h 58;
31385         }
31386         images {
31387                 image: "map_item_2.png" COMP;
31388         }
31389         parts {
31390             part { name: "base";
31391                 ignore_flags: ON_HOLD;
31392                 description { state: "default" 0.0;
31393                     image.normal: "map_item_2.png";
31394                 }
31395             }
31396             part { name: "elm.text";
31397                 type:          TEXT;
31398                 effect:        SOFT_SHADOW;
31399                 mouse_events:  0;
31400                 scale: 1;
31401                 description { state: "default" 0.0;
31402                     align:    0.5 0.5;
31403                     color: 224 224 224 255;
31404                     color3: 0 0 0 64;
31405                     rel1.relative: 0.28 0.25;
31406                     rel2.relative: 0.75 0.75;
31407                     text {
31408                         font:     "Sans,Edje-Vera";
31409                         size:     10;
31410                         min:      0 0;
31411                         align:    0.5 0.5;
31412                     }
31413                 }
31414             }
31415        }
31416        programs {
31417             program { name: "open";
31418                 signal: "mouse,clicked,1";
31419                 source: "base";
31420                 action: SIGNAL_EMIT "open" "elm";
31421             }
31422             program { name: "bringin";
31423                 signal: "mouse,down,1,double";
31424                 source: "base";
31425                 action: SIGNAL_EMIT "bringin" "elm";
31426             }
31427        }
31428    }
31429    group { name: "elm/map/marker/empty/default";
31430         data {
31431             item: size_w 22;
31432             item: size_h 22;
31433             item: size_max_w 64;
31434             item: size_max_h 64;
31435         }
31436         parts {
31437             part { name: "whole";
31438                 description { state: "default" 0.0;
31439                 }
31440             }
31441             part { name: "base";
31442                 ignore_flags: ON_HOLD;
31443                 description { state: "default" 0.0;
31444                 }
31445             }
31446             part { name: "elm.icon";
31447                 type: SWALLOW;
31448                 clip_to: "whole";
31449                 mouse_events:  0;
31450                 description { state: "default" 0.0;
31451                 }
31452             }
31453             part { name: "elm.text";
31454                 type:          TEXT;
31455                 effect:        SOFT_SHADOW;
31456                 mouse_events:  0;
31457                 scale: 1;
31458                 description { state: "default" 0.0;
31459                     align:    0.5 0.5;
31460                     color: 224 224 224 255;
31461                     color3: 0 0 0 64;
31462                     rel1.relative: 0.28 0.25;
31463                     rel2.relative: 0.75 0.75;
31464                     text {
31465                         font:     "Sans,Edje-Vera";
31466                         size:     10;
31467                         min:      0 0;
31468                         align:    0.5 0.5;
31469                     }
31470                 }
31471             }
31472        }
31473        programs {
31474             program { name: "open";
31475                 signal: "mouse,clicked,1";
31476                 source: "base";
31477                 action: SIGNAL_EMIT "open" "elm";
31478             }
31479             program { name: "bringin";
31480                 signal: "mouse,down,1,double";
31481                 source: "base";
31482                 action: SIGNAL_EMIT "bringin" "elm";
31483             }
31484        }
31485    }
31486    group { name: "elm/map/marker_bubble/default";
31487     images {
31488       image: "bubble.png" COMP;
31489       image: "bubble_shine.png" COMP;
31490     }
31491     data {
31492             item: size_w 400;
31493             item: size_h 100;
31494         }
31495     parts {
31496     part { name: "clipper";
31497         mouse_events:  1;
31498         description { state: "default" 0.0;
31499           color: 255 255 255 0;
31500         }
31501         description { state: "show" 0.0;
31502             inherit: "default" 0.0;
31503             color: 255 255 255 255;
31504         }
31505       }
31506      part { name: "base0";
31507         mouse_events:  0;
31508         clip_to: "clipper";
31509         description { state: "default" 0.0;
31510           image {
31511             normal: "bubble.png";
31512             border: 11 36 10 19;
31513           }
31514           image.middle: SOLID;
31515           fill.smooth: 0;
31516         }
31517         description { state: "rtl" 0.0;
31518            inherit: "default" 0.0;
31519            image {
31520               normal: "bubble_4.png";
31521               border: 11 36 18 9;
31522            }
31523         }
31524       }
31525       part { name: "elm.swallow.content";
31526         type: SWALLOW;
31527         clip_to: "clipper";
31528         description { state: "default" 0.0;
31529             align: 0.5 0.5;
31530           rel1 {
31531             offset: 9 8;
31532           }
31533           rel2 {
31534             offset: -10 -17;
31535           }
31536         }
31537       }
31538       part { name: "shine";
31539         mouse_events:  0;
31540         clip_to: "clipper";
31541         description { state:    "default" 0.0;
31542           rel1 {
31543             to: "base0";
31544           }
31545           rel2 {
31546             to: "base0";
31547             relative: 1.0 0.5;
31548           }
31549           image {
31550             normal: "bubble_shine.png";
31551             border: 5 5 5 0;
31552           }
31553           fill.smooth: 0;
31554         }
31555         }
31556     }
31557     programs {
31558         program { name: "show";
31559             signal: "show";
31560             action: STATE_SET "show" 0.0;
31561             target: "clipper";
31562             transition: ACCELERATE 0.5;
31563         }
31564     }
31565   }
31566
31567 /////////////////////////////////////////////////////////////////////////////
31568 // PANES
31569 /////////////////////////////////////////////////////////////////////////////
31570   group {
31571      name: "elm/panes/vertical/default";
31572       images {
31573          image: "bt_base1.png" COMP;
31574          image: "bt_base2.png" COMP;
31575          image: "bt_hilight.png" COMP;
31576          image: "bt_shine.png" COMP;
31577          image: "bt_glow.png" COMP;
31578          image: "bt_dis_base.png" COMP;
31579          image: "bt_dis_hilight.png" COMP;
31580          image: "arrow_right.png" COMP;
31581          image: "arrow_left.png" COMP;
31582       }
31583      parts
31584        {
31585           part
31586             {
31587                name: "whole";
31588                type: RECT;
31589                mouse_events: 0;
31590                description
31591                  {
31592                     state: "default" 0.0;
31593                     visible: 0;
31594                  }
31595             }
31596
31597          //2 contents
31598           part
31599             {
31600                name: "whole_left";
31601                type: RECT;
31602                mouse_events: 0;
31603                description
31604                  {
31605                     state: "default" 0.0;
31606                     rel2.to_x: "elm.bar";
31607                     rel2.relative: 0.0 1.0;
31608                     visible: 1;
31609                  }
31610             }
31611           part
31612             {
31613                name: "elm.swallow.left";
31614                type: SWALLOW;
31615                clip_to: "whole_left";
31616                description
31617                  {
31618                     state: "default" 0.0;
31619                     rel1.to: "whole_left";
31620                     rel2.to: "whole_left";
31621                  }
31622             }
31623
31624             part
31625             {
31626                name: "whole_right";
31627                type: RECT;
31628                mouse_events: 0;
31629                description
31630                  {
31631                     state: "default" 0.0;
31632                     rel1.to_x: "elm.bar";
31633                     rel1.relative: 1.0 0.0;
31634                     visible: 1;
31635                  }
31636             }
31637           part
31638             {
31639                name: "elm.swallow.right";
31640                type: SWALLOW;
31641                clip_to: "whole_right";
31642                description
31643                  {
31644                     state: "default" 0.0;
31645                     rel1.to: "whole_right";
31646                     rel2.to: "whole_right";
31647                  }
31648             }
31649          //BAR
31650          part { name: "elm.bar";
31651             mouse_events: 1;
31652             dragable {
31653                confine: "whole";
31654                x: 1 1 1;
31655                y: 0 0 0;
31656             }
31657             description { state: "default" 0.0;
31658                max: 15 9999;
31659                min: 15 100;
31660                rel1.relative: 0.0 0.5;
31661                rel2.relative: 1.0 0.5;
31662                image {
31663                   normal: "bt_base2.png";
31664                   border: 7 7 7 7;
31665                }
31666                image.middle: SOLID;
31667             }
31668             description { state: "clicked" 0.0;
31669                inherit: "default" 0.0;
31670                image.normal: "bt_base1.png";
31671                image.middle: SOLID;
31672             }
31673             description { state: "disabled" 0.0;
31674                inherit:  "default" 0.0;
31675                image {
31676                   normal: "bt_dis_base.png";
31677                   border: 4 4 4 4;
31678                }
31679             }
31680          }
31681          part {          name: "over1";
31682             mouse_events: 0;
31683             description { state: "default" 0.0;
31684             rel1.to: "elm.bar";
31685             rel2.to: "elm.bar";
31686                rel2.relative: 1.0 0.5;
31687                image {
31688                   normal: "bt_hilight.png";
31689                   border: 7 7 7 0;
31690                }
31691             }
31692             description { state: "disabled" 0.0;
31693                inherit:  "default" 0.0;
31694                image {
31695                   normal: "bt_dis_hilight.png";
31696                   border: 4 4 4 0;
31697                }
31698             }
31699          }
31700          part { name: "over2";
31701             mouse_events: 1;
31702             repeat_events: 1;
31703             ignore_flags: ON_HOLD;
31704             description { state: "default" 0.0;
31705             rel1.to: "elm.bar";
31706             rel2.to: "elm.bar";
31707                image {
31708                   normal: "bt_shine.png";
31709                   border: 7 7 7 7;
31710                }
31711             }
31712             description { state: "disabled" 0.0;
31713                inherit:  "default" 0.0;
31714                visible: 0;
31715             }
31716          }
31717          part { name: "over3";
31718             mouse_events: 1;
31719             repeat_events: 1;
31720             description { state: "default" 0.0;
31721                color: 255 255 255 0;
31722             rel1.to: "elm.bar";
31723             rel2.to: "elm.bar";
31724                image {
31725                   normal: "bt_glow.png";
31726                   border: 12 12 12 12;
31727                }
31728                fill.smooth : 0;
31729             }
31730             description { state: "clicked" 0.0;
31731                inherit:  "default" 0.0;
31732                visible: 1;
31733                color: 255 255 255 255;
31734             }
31735          }
31736
31737          //Arrow
31738          part {
31739             name: "arrow_right";
31740             repeat_events: 1;
31741             description { state: "default" 0.0;
31742                 min: 45 45;
31743                 max: 45 45;
31744                 color: 255 255 255 0;
31745
31746                 rel1.relative: 1.0 0.5;
31747                 rel1.to_x: "elm.bar";
31748                 rel1.offset: 45/2 -45/2;
31749
31750                 rel2.relative: 1.0 0.5;
31751                 rel2.to_x: "elm.bar";
31752                 rel2.offset: 45/2 45/2;
31753
31754                 image.normal: "arrow_right.png";
31755
31756                 fixed: 1 1;
31757             }
31758             description { state: "default" 0.1;
31759                 inherit: "default" 0.0;
31760                 image.normal: "arrow_left.png";
31761             }
31762             description { state: "anim_1" 0.0;
31763                 inherit: "default" 0.0;
31764                 color: 255 255 255 200;
31765                 rel1.offset: (45/2 + 10) -45/2;
31766                 rel2.offset: (45/2 +10) 45/2;
31767             }
31768             description { state: "anim_1" 0.1;
31769                 inherit: "default" 0.0;
31770                 image.normal: "arrow_left.png";
31771                 color: 255 255 255 200;
31772                 rel1.offset: (45/2 + 10) -45/2;
31773                 rel2.offset: (45/2 +10) 45/2;
31774             }
31775             description { state: "anim_2" 0.0;
31776                 inherit: "default" 0.0;
31777                 color: 255 255 255 0;
31778                 rel1.offset: (45/2 + 20) -45/2;
31779                 rel2.offset: (45/2 + 20) 45/2;
31780             }
31781             description { state: "anim_2" 0.1;
31782                 inherit: "default" 0.0;
31783                 image.normal: "arrow_left.png";
31784                 color: 255 255 255 0;
31785                 rel1.offset: (45/2 + 20) -45/2;
31786                 rel2.offset: (45/2 + 20) 45/2;
31787             }
31788          }
31789         part {
31790             name: "arrow_left";
31791             repeat_events: 1;
31792             description { state: "default" 0.0;
31793                 min: 45 45;
31794                 max: 45 45;
31795                 color: 255 255 255 0;
31796
31797                 rel1.relative: 0.0 0.5;
31798                 rel1.to_x: "elm.bar";
31799                 rel1.offset: -45/2 -45/2;
31800
31801                 rel2.relative: 0.0 0.5;
31802                 rel2.to_x: "elm.bar";
31803                 rel2.offset: -45/2 45/2;
31804
31805                 image.normal: "arrow_left.png";
31806
31807                 fixed: 1 1;
31808             }
31809             description { state: "default" 0.1;
31810                 inherit: "default" 0.0;
31811                 image.normal: "arrow_right.png";
31812             }
31813             description { state: "anim_1" 0.0;
31814                 inherit: "default" 0.0;
31815                 color: 255 255 255 200;
31816                 rel1.offset: (-45/2 - 10) -45/2;
31817                 rel2.offset: (-45/2 - 10) 45/2;
31818             }
31819             description { state: "anim_1" 0.1;
31820                 inherit: "default" 0.0;
31821                 image.normal: "arrow_right.png";
31822                 color: 255 255 255 200;
31823                 rel1.offset: (-45/2 - 10) -45/2;
31824                 rel2.offset: (-45/2 - 10) 45/2;
31825             }
31826             description { state: "anim_2" 0.0;
31827                 inherit: "default" 0.0;
31828                 color: 255 255 255 0;
31829                 rel1.offset: (-45/2 - 20) -45/2;
31830                 rel2.offset: (-45/2 - 20) 45/2;
31831             }
31832             description { state: "anim_2" 0.1;
31833                 inherit: "default" 0.0;
31834                 image.normal: "arrow_right.png";
31835                 color: 255 255 255 0;
31836                 rel1.offset: (-45/2 - 20) -45/2;
31837                 rel2.offset: (-45/2 - 20) 45/2;
31838             }
31839          }
31840
31841        }
31842         programs {
31843          program {
31844             name:   "button_click";
31845             signal: "mouse,down,1";
31846             source: "over2";
31847             action: SIGNAL_EMIT "elm,action,press" "";
31848             after: "button_click_anim";
31849             after: "arrow_anim_start";
31850          }
31851          program {
31852             name:   "button_click_anim";
31853             action: STATE_SET "clicked" 0.0;
31854             target: "elm.bar";
31855          }
31856          program {
31857             name:   "button_unclick";
31858             signal: "mouse,up,1";
31859             source: "over2";
31860             action: SIGNAL_EMIT "elm,action,unpress" "";
31861             after: "button_unclick_anim";
31862             after: "arrow_anim_stop";
31863          }
31864          program {
31865             name:   "button_unclick_anim";
31866             action: STATE_SET "default" 0.0;
31867             target: "elm.bar";
31868          }
31869          program {
31870             name:   "button_click2";
31871             signal: "mouse,down,1";
31872             source: "over3";
31873             action: STATE_SET "clicked" 0.0;
31874             target: "over3";
31875          }
31876          program {
31877             name:   "button_unclick2";
31878             signal: "mouse,up,1";
31879             source: "over3";
31880             action: STATE_SET "default" 0.0;
31881             transition: DECELERATE 0.5;
31882             target: "over3";
31883          }
31884          program {
31885             name:   "button_unclick3";
31886             signal: "mouse,up,1";
31887             source: "over2";
31888             action: SIGNAL_EMIT "elm,action,click" "";
31889          }
31890          program {
31891             name:   "button_down_double";
31892             signal: "mouse,down,1,double";
31893             source: "over3";
31894             action: SIGNAL_EMIT "elm,action,click,double" "";
31895          }
31896
31897          //arrows animation
31898          program {
31899             name: "arrow_anim_start";
31900             script {
31901                new st[31];
31902                new Float:vl;
31903                get_state(PART:"arrow_left", st, 30, vl);
31904                if (vl == 0.0) {
31905                   run_program(PROGRAM:"arrow_anim_start_ltr");
31906                }
31907                else {
31908                   run_program(PROGRAM:"arrow_anim_start_rtl");
31909                }
31910             }
31911          }
31912          program {
31913             name: "arrow_anim_stop";
31914             script {
31915                new st[31];
31916                new Float:vl;
31917                get_state(PART:"arrow_left", st, 30, vl);
31918                if (vl == 0.0) {
31919                   run_program(PROGRAM:"arrow_anim_stop_ltr");
31920                }
31921                else {
31922                   run_program(PROGRAM:"arrow_anim_stop_rtl");
31923                }
31924             }
31925          }
31926
31927          program {
31928             name: "arrow_anim_start_ltr";
31929             action: STATE_SET "anim_1" 0.0;
31930             target: "arrow_right";
31931             target: "arrow_left";
31932             transition: LINEAR 0.6;
31933             after: "arrow_anim_1_ltr";
31934          }
31935          program {
31936             name: "arrow_anim_1_ltr";
31937             action: STATE_SET "anim_2" 0.0;
31938             target: "arrow_right";
31939             target: "arrow_left";
31940             transition: LINEAR 0.6;
31941             after: "arrow_anim_2_ltr";
31942          }
31943          program {
31944             name: "arrow_anim_2_ltr";
31945             action: STATE_SET "default" 0.0;
31946             target: "arrow_right";
31947             target: "arrow_left";
31948             after: "arrow_anim_start_ltr";
31949          }
31950          program {
31951             name: "arrow_anim_stop_ltr";
31952             action: ACTION_STOP;
31953             target: "arrow_anim_start_ltr";
31954             target: "arrow_anim_1_ltr";
31955             target: "arrow_anim_2_ltr";
31956             after: "arrow_anim_stop_1_ltr";
31957          }
31958          program {
31959             name: "arrow_anim_stop_1_ltr";
31960             action: STATE_SET "default" 0.0;
31961             target: "arrow_right";
31962             target: "arrow_left";
31963             transition: DECELERATE 0.4;
31964         }
31965          program {
31966             name: "arrow_anim_start_rtl";
31967             action: STATE_SET "anim_1" 0.1;
31968             target: "arrow_right";
31969             target: "arrow_left";
31970             transition: LINEAR 0.6;
31971             after: "arrow_anim_1_rtl";
31972          }
31973          program {
31974             name: "arrow_anim_1_rtl";
31975             action: STATE_SET "anim_2" 0.1;
31976             target: "arrow_right";
31977             target: "arrow_left";
31978             transition: LINEAR 0.6;
31979             after: "arrow_anim_2_rtl";
31980          }
31981          program {
31982             name: "arrow_anim_2_rtl";
31983             action: STATE_SET "default" 0.1;
31984             target: "arrow_right";
31985             target: "arrow_left";
31986             after: "arrow_anim_start_rtl";
31987          }
31988          program {
31989             name: "arrow_anim_stop_rtl";
31990             action: ACTION_STOP;
31991             target: "arrow_anim_start_rtl";
31992             target: "arrow_anim_1_rtl";
31993             target: "arrow_anim_2_rtl";
31994             after: "arrow_anim_stop_1_rtl";
31995          }
31996          program {
31997             name: "arrow_anim_stop_1_rtl";
31998             action: STATE_SET "default" 0.1;
31999             target: "arrow_right";
32000             target: "arrow_left";
32001             transition: DECELERATE 0.4;
32002         }
32003          program { name: "to_rtl";
32004             signal: "edje,state,rtl";
32005             source: "edje";
32006             script {
32007                new st[31];
32008                new Float:vl;
32009                get_state(PART:"arrow_left", st, 30, vl);
32010                if (vl == 0.0) {
32011                   set_state(PART:"arrow_left", st, 0.1);
32012                }
32013                get_state(PART:"arrow_right", st, 30, vl);
32014                if (vl == 0.0) {
32015                   set_state(PART:"arrow_right", st, 0.1);
32016                }
32017             }
32018          }
32019          program { name: "to_ltr";
32020             signal: "edje,state,ltr";
32021             source: "edje";
32022             script {
32023                new st[31];
32024                new Float:vl;
32025                get_state(PART:"arrow_left", st, 30, vl);
32026                if (vl == 0.1) {
32027                   set_state(PART:"arrow_left", st, 0.0);
32028                }
32029                get_state(PART:"arrow_right", st, 30, vl);
32030                if (vl == 0.1) {
32031                   set_state(PART:"arrow_right", st, 0.0);
32032                }
32033             }
32034          }
32035       }
32036   }
32037
32038   group {
32039      name: "elm/panes/horizontal/default";
32040       images {
32041          image: "bt_base1.png" COMP;
32042          image: "bt_base2.png" COMP;
32043          image: "bt_hilight.png" COMP;
32044          image: "bt_shine.png" COMP;
32045          image: "bt_glow.png" COMP;
32046          image: "bt_dis_base.png" COMP;
32047          image: "bt_dis_hilight.png" COMP;
32048          image: "arrow_up.png" COMP;
32049          image: "arrow_down.png" COMP;
32050       }
32051      parts
32052        {
32053           part
32054             {
32055                name: "whole";
32056                type: RECT;
32057                mouse_events: 0;
32058                description
32059                  {
32060                     state: "default" 0.0;
32061                     visible: 0;
32062                  }
32063             }
32064
32065          //2 contents
32066           part
32067             {
32068                name: "whole_left";
32069                type: RECT;
32070                mouse_events: 0;
32071                description
32072                  {
32073                     state: "default" 0.0;
32074                     rel2.to_y: "elm.bar";
32075                     rel2.relative: 1.0 0.0;
32076                     visible: 1;
32077                  }
32078             }
32079           part
32080             {
32081                name: "elm.swallow.left";
32082                type: SWALLOW;
32083                clip_to: "whole_left";
32084                description
32085                  {
32086                     state: "default" 0.0;
32087                     rel1.to: "whole_left";
32088                     rel2.to: "whole_left";
32089                  }
32090             }
32091
32092             part
32093             {
32094                name: "whole_right";
32095                type: RECT;
32096                mouse_events: 0;
32097                description
32098                  {
32099                     state: "default" 0.0;
32100                     rel1.to_y: "elm.bar";
32101                     rel1.relative: 0.0 1.0;
32102                     visible: 1;
32103                  }
32104             }
32105           part
32106             {
32107                name: "elm.swallow.right";
32108                type: SWALLOW;
32109                clip_to: "whole_right";
32110                description
32111                  {
32112                     state: "default" 0.0;
32113                     rel1.to: "whole_right";
32114                     rel2.to: "whole_right";
32115                  }
32116             }
32117          //BAR
32118          part { name: "elm.bar";
32119             mouse_events: 1;
32120             dragable {
32121                confine: "whole";
32122                x: 0 0 0;
32123                y: 1 1 1;
32124             }
32125             description { state: "default" 0.0;
32126                max: 999 15;
32127                min: 100 15;
32128                rel1.relative: 0.5 0.0;
32129                rel2.relative: 0.5 1.0;
32130                image {
32131                   normal: "bt_base2.png";
32132                   border: 7 7 7 7;
32133                }
32134                image.middle: SOLID;
32135             }
32136             description { state: "clicked" 0.0;
32137                inherit: "default" 0.0;
32138                image.normal: "bt_base1.png";
32139                image.middle: SOLID;
32140             }
32141             description { state: "disabled" 0.0;
32142                inherit:  "default" 0.0;
32143                image {
32144                   normal: "bt_dis_base.png";
32145                   border: 4 4 4 4;
32146                }
32147             }
32148          }
32149          part {          name: "over1";
32150             mouse_events: 0;
32151             description { state: "default" 0.0;
32152             rel1.to: "elm.bar";
32153             rel2.to: "elm.bar";
32154                rel2.relative: 1.0 0.5;
32155                image {
32156                   normal: "bt_hilight.png";
32157                   border: 7 7 7 0;
32158                }
32159             }
32160             description { state: "disabled" 0.0;
32161                inherit:  "default" 0.0;
32162                image {
32163                   normal: "bt_dis_hilight.png";
32164                   border: 4 4 4 0;
32165                }
32166             }
32167          }
32168          part { name: "over2";
32169             mouse_events: 1;
32170             repeat_events: 1;
32171             ignore_flags: ON_HOLD;
32172             description { state: "default" 0.0;
32173             rel1.to: "elm.bar";
32174             rel2.to: "elm.bar";
32175                image {
32176                   normal: "bt_shine.png";
32177                   border: 7 7 7 7;
32178                }
32179             }
32180             description { state: "disabled" 0.0;
32181                inherit:  "default" 0.0;
32182                visible: 0;
32183             }
32184          }
32185          part { name: "over3";
32186             mouse_events: 1;
32187             repeat_events: 1;
32188             description { state: "default" 0.0;
32189                color: 255 255 255 0;
32190             rel1.to: "elm.bar";
32191             rel2.to: "elm.bar";
32192                image {
32193                   normal: "bt_glow.png";
32194                   border: 12 12 12 12;
32195                }
32196                fill.smooth : 0;
32197             }
32198             description { state: "clicked" 0.0;
32199                inherit:  "default" 0.0;
32200                visible: 1;
32201                color: 255 255 255 255;
32202             }
32203          }
32204
32205          //Arrow
32206          part {
32207             name: "arrow_right";
32208             repeat_events: 1;
32209             description { state: "default" 0.0;
32210                 min: 45 45;
32211                 max: 45 45;
32212                 color: 255 255 255 0;
32213
32214                 rel1.relative: 0.5 1.0;
32215                 rel1.to_y: "elm.bar";
32216                 rel1.offset: -45/2 45/2;
32217
32218                 rel2.relative: 0.5 1.0;
32219                 rel2.to_y: "elm.bar";
32220                 rel2.offset: 45/2 45/2;
32221
32222                 image.normal: "arrow_down.png";
32223
32224                 fixed: 1 1;
32225             }
32226             description { state: "anim_1" 0.0;
32227                 inherit: "default" 0.0;
32228                 color: 255 255 255 200;
32229                 rel1.offset: -45/2 (45/2 +10);
32230                 rel2.offset: 45/2 (45/2 +10);
32231             }
32232             description { state: "anim_2" 0.0;
32233                 inherit: "default" 0.0;
32234                 color: 255 255 255 0;
32235                 rel1.offset: -45/2 (45/2 + 20);
32236                 rel2.offset: 45/2 (45/2 + 20);
32237             }
32238          }
32239         part {
32240             name: "arrow_left";
32241             repeat_events: 1;
32242             description { state: "default" 0.0;
32243                 min: 45 45;
32244                 max: 45 45;
32245                 color: 255 255 255 0;
32246
32247                 rel1.relative: 0.5 0.0;
32248                 rel1.to_y: "elm.bar";
32249                 rel1.offset: -45/2 -45/2;
32250
32251                 rel2.relative: 0.5 0.0;
32252                 rel2.to_y: "elm.bar";
32253                 rel2.offset: 45/2 -45/2;
32254
32255                 image.normal: "arrow_up.png";
32256
32257                 fixed: 1 1;
32258             }
32259             description { state: "anim_1" 0.0;
32260                 inherit: "default" 0.0;
32261                 color: 255 255 255 200;
32262                 rel1.offset: -45/2 (-45/2 - 10);
32263                 rel2.offset: 45/2 (-45/2 - 10);
32264             }
32265             description { state: "anim_2" 0.0;
32266                 inherit: "default" 0.0;
32267                 color: 255 255 255 0;
32268                 rel1.offset: -45/2 (-45/2 - 20);
32269                 rel2.offset: 45/2 (-45/2 - 20);
32270             }
32271          }
32272
32273        }
32274         programs {
32275          program {
32276             name:   "button_click";
32277             signal: "mouse,down,1";
32278             source: "over2";
32279             action: SIGNAL_EMIT "elm,action,press" "";
32280             after: "button_click_anim";
32281             after: "arrow_anim_start";
32282          }
32283          program {
32284             name:   "button_click_anim";
32285             action: STATE_SET "clicked" 0.0;
32286             target: "elm.bar";
32287          }
32288          program {
32289             name:   "button_unclick";
32290             signal: "mouse,up,1";
32291             source: "over2";
32292             action: SIGNAL_EMIT "elm,action,unpress" "";
32293             after: "button_unclick_anim";
32294             after: "arrow_anim_stop";
32295          }
32296          program {
32297             name:   "button_unclick_anim";
32298             action: STATE_SET "default" 0.0;
32299             target: "elm.bar";
32300          }
32301          program {
32302             name:   "button_click2";
32303             signal: "mouse,down,1";
32304             source: "over3";
32305             action: STATE_SET "clicked" 0.0;
32306             target: "over3";
32307          }
32308          program {
32309             name:   "button_unclick2";
32310             signal: "mouse,up,1";
32311             source: "over3";
32312             action: STATE_SET "default" 0.0;
32313             transition: DECELERATE 0.5;
32314             target: "over3";
32315          }
32316          program {
32317             name:   "button_unclick3";
32318             signal: "mouse,up,1";
32319             source: "over2";
32320             action: SIGNAL_EMIT "elm,action,click" "";
32321          }
32322          program {
32323             name:   "button_down_double";
32324             signal: "mouse,down,1,double";
32325             source: "over3";
32326             action: SIGNAL_EMIT "elm,action,click,double" "";
32327          }
32328
32329          //arrows animation
32330          program {
32331             name: "arrow_anim_start";
32332             action: STATE_SET "anim_1" 0.0;
32333             target: "arrow_right";
32334             target: "arrow_left";
32335             transition: LINEAR 0.6;
32336             after: "arrow_anim_1";
32337          }
32338          program {
32339             name: "arrow_anim_1";
32340             action: STATE_SET "anim_2" 0.0;
32341             target: "arrow_right";
32342             target: "arrow_left";
32343             transition: LINEAR 0.6;
32344             after: "arrow_anim_2";
32345          }
32346          program {
32347             name: "arrow_anim_2";
32348             action: STATE_SET "default" 0.0;
32349             target: "arrow_right";
32350             target: "arrow_left";
32351             after: "arrow_anim_start";
32352          }
32353          program {
32354             name: "arrow_anim_stop";
32355             action: ACTION_STOP;
32356             target: "arrow_anim_start";
32357             target: "arrow_anim_1";
32358             target: "arrow_anim_2";
32359             after: "arrow_anim_stop_1";
32360          }
32361          program {
32362             name: "arrow_anim_stop_1";
32363             action: STATE_SET "default" 0.0;
32364             target: "arrow_right";
32365             target: "arrow_left";
32366             transition: DECELERATE 0.4;
32367         }
32368       }
32369   }
32370
32371
32372
32373 /////////////////////////////////////////////////////////////////////////////
32374 // PANEL
32375 /////////////////////////////////////////////////////////////////////////////
32376   group {
32377      name: "elm/panel/base/left";
32378      alias: "elm/panel/base/top";
32379      images
32380        {
32381           image: "bt_base1.png" COMP;
32382           image: "bt_hilight.png" COMP;
32383           image: "bt_shine.png" COMP;
32384           image: "bt_glow.png" COMP;
32385           image: "bt_dis_base.png" COMP;
32386           image: "icon_arrow_left.png" COMP;
32387           image: "icon_arrow_right.png" COMP;
32388        }
32389        data {
32390           item: "focus_highlight" "on";
32391        }
32392      parts
32393        {
32394             part { name: "focus_highlight";
32395                description { state: "default" 0.0;
32396                   visible: 0;
32397                   color: 255 255 255 0;
32398                   rel1 {
32399                      to: "btn";
32400                      offset: -8 -8;
32401                   }
32402                   rel2 {
32403                      to: "btn";
32404                      offset: 7 7;
32405                   }
32406                   image {
32407                      normal: "frame_2.png";
32408                      border: 5 5 32 26;
32409                      middle: 0;
32410                   }
32411                }
32412                description { state: "enabled" 0.0;
32413                   inherit: "default" 0.0;
32414                   visible: 1;
32415                   color: 255 255 255 255;
32416                }
32417             }
32418           part
32419             {
32420                name: "bg";
32421                type: RECT;
32422                mouse_events: 0;
32423                description
32424                  {
32425                     state: "default" 0.0;
32426                     color: 255 255 255 0;
32427                     rel1.relative: 0.0 0.0;
32428                     rel1.offset: 0 0;
32429                     rel2.relative: 1.0 1.0;
32430                     rel2.offset: -1 -1;
32431                  }
32432                description
32433                  {
32434                     state: "hidden" 0.0;
32435                     inherit: "default" 0.0;
32436                     rel1.relative: -1.0 0.0;
32437                     rel1.offset: 21 0;
32438                     rel2.relative: 0.0 1.0;
32439                     rel2.offset: 20 -1;
32440                  }
32441             }
32442           part
32443             {
32444                name: "base";
32445                type: IMAGE;
32446                mouse_events: 0;
32447                description
32448                  {
32449                     state: "default" 0.0;
32450                     rel1.to: "bg";
32451                     rel2.to: "bg";
32452                     rel2.offset: -20 -1;
32453                     image
32454                       {
32455                          normal: "bt_dis_base.png";
32456                          border: 4 4 4 4;
32457                       }
32458                  }
32459             }
32460           part
32461             {
32462                name: "clipper";
32463                type: RECT;
32464                mouse_events: 0;
32465                description
32466                  {
32467                     state: "default" 0.0;
32468                     rel1
32469                       {
32470                          offset: 4 4;
32471                          to: "base";
32472                       }
32473                     rel2
32474                       {
32475                          offset: -5 -5;
32476                          to: "base";
32477                       }
32478                  }
32479             }
32480           part
32481             {
32482                name: "elm.swallow.content";
32483                type: SWALLOW;
32484                clip_to: "clipper";
32485                description
32486                  {
32487                     state: "default" 0.0;
32488                     rel1.to: "clipper";
32489                     rel2.to: "clipper";
32490                  }
32491             }
32492           part
32493             {
32494                name: "btn";
32495                type: IMAGE;
32496                mouse_events: 1;
32497                description
32498                  {
32499                     state: "default" 0.0;
32500                     max: 32 48;
32501                     fixed: 1 1;
32502                     align: 0.0 0.5;
32503                     rel1
32504                       {
32505                          relative: 1.0 0.0;
32506                          offset: -3 0;
32507                          to_x: "base";
32508                       }
32509                     rel2.to_x: "bg";
32510                     image
32511                       {
32512                          normal: "bt_base1.png";
32513                          border: 0 5 4 12;
32514                       }
32515                     fill.smooth: 0;
32516                  }
32517                description
32518                  {
32519                     state: "clicked" 0.0;
32520                     inherit: "default" 0.0;
32521                  }
32522             }
32523           part
32524             {
32525                name: "btn_over";
32526                type: IMAGE;
32527                mouse_events: 0;
32528                description
32529                  {
32530                     state: "default" 0.0;
32531                     rel1.to: "btn";
32532                     rel2
32533                       {
32534                          relative: 1.0 0.5;
32535                          to: "btn";
32536                       }
32537                     image
32538                       {
32539                          normal: "bt_hilight.png";
32540                          border: 0 7 7 0;
32541                       }
32542                  }
32543             }
32544           part
32545             {
32546                name: "btn_over2";
32547                type: IMAGE;
32548                mouse_events: 1;
32549                repeat_events: 1;
32550                ignore_flags: ON_HOLD;
32551                description
32552                  {
32553                     state: "default" 0.0;
32554                     rel1.to: "btn";
32555                     rel2.to: "btn";
32556                     image
32557                       {
32558                          normal: "bt_shine.png";
32559                          border: 0 7 7 7;
32560                     }
32561                  }
32562             }
32563           part
32564             {
32565                name: "btn_over3";
32566                type: IMAGE;
32567                mouse_events: 1;
32568                repeat_events: 1;
32569                description
32570                  {
32571                     state: "default" 0.0;
32572                     color: 255 255 255 0;
32573                     rel1.to: "btn";
32574                     rel2.to: "btn";
32575                     image
32576                       {
32577                        normal: "bt_glow.png";
32578                        border: 12 12 12 12;
32579                     }
32580                   fill.smooth: 0;
32581                }
32582              description
32583                {
32584                   state: "clicked" 0.0;
32585                   inherit: "default" 0.0;
32586                   visible: 1;
32587                   color: 255 255 255 255;
32588                }
32589             }
32590           part
32591             {
32592                name: "btn_icon";
32593                type: IMAGE;
32594                repeat_events: 1;
32595                description
32596                  {
32597                     state: "default" 0.0;
32598                     rel1.to: "btn";
32599                     rel2.to: "btn";
32600                     align: 0.5 0.5;
32601                     min: 16 16;
32602                     max: 16 16;
32603                     image.normal: "icon_arrow_left.png";
32604                  }
32605                description
32606                  {
32607                     state: "hidden" 0.0;
32608                     inherit: "default" 0.0;
32609                     image.normal: "icon_arrow_right.png";
32610                  }
32611             }
32612        }
32613      programs
32614        {
32615           program
32616             {
32617                name: "show";
32618                signal: "elm,action,show";
32619                source: "elm";
32620                action: STATE_SET "default" 0.0;
32621                target: "bg";
32622                target: "btn_icon";
32623                transition: LINEAR 0.5;
32624             }
32625           program
32626             {
32627                name: "hide";
32628                signal: "elm,action,hide";
32629                source: "elm";
32630                action: STATE_SET "hidden" 0.0;
32631                target: "bg";
32632                target: "btn_icon";
32633                transition: LINEAR 0.5;
32634             }
32635           program
32636             {
32637                name: "btn_click";
32638                signal: "mouse,down,1";
32639                source: "btn_over2";
32640                action: STATE_SET "clicked" 0.0;
32641                target: "btn";
32642             }
32643           program
32644             {
32645                name: "btn_unclick";
32646                signal: "mouse,up,1";
32647                source: "btn_over2";
32648                action: STATE_SET "default" 0.0;
32649                target: "btn";
32650             }
32651           program
32652             {
32653                name: "btn_click2";
32654                signal: "mouse,down,1";
32655                source: "btn_over3";
32656                action: STATE_SET "clicked" 0.0;
32657                target: "btn_over3";
32658             }
32659           program
32660             {
32661                name: "btn_unclick2";
32662                signal: "mouse,up,1";
32663                source: "btn_over3";
32664                action: STATE_SET "default" 0.0;
32665                transition: DECELERATE 0.5;
32666                target: "btn_over3";
32667             }
32668           program
32669             {
32670                name: "btn_unclick3";
32671                signal: "mouse,clicked,1";
32672                source: "btn_over2";
32673                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32674             }
32675          program { name: "highlight_show";
32676             signal: "elm,action,focus_highlight,show";
32677             source: "elm";
32678             action: STATE_SET "enabled" 0.0;
32679             transition: ACCELERATE 0.3;
32680             target: "focus_highlight";
32681          }
32682          program { name: "highlight_hide";
32683             signal: "elm,action,focus_highlight,hide";
32684             source: "elm";
32685             action: STATE_SET "default" 0.0;
32686             transition: DECELERATE 0.3;
32687             target: "focus_highlight";
32688          }
32689        }
32690   }
32691
32692   group {
32693      name: "elm/panel/base/right";
32694      alias: "elm/panel/base/bottom";
32695      images
32696        {
32697           image: "bt_base1.png" COMP;
32698           image: "bt_hilight.png" COMP;
32699           image: "bt_shine.png" COMP;
32700           image: "bt_glow.png" COMP;
32701           image: "bt_dis_base.png" COMP;
32702           image: "icon_arrow_left.png" COMP;
32703           image: "icon_arrow_right.png" COMP;
32704        }
32705      parts
32706        {
32707             part { name: "focus_highlight";
32708                description { state: "default" 0.0;
32709                   visible: 0;
32710                   color: 255 255 255 0;
32711                   rel1 {
32712                      to: "btn";
32713                      offset: -8 -8;
32714                   }
32715                   rel2 {
32716                      to: "btn";
32717                      offset: 7 7;
32718                   }
32719                   image {
32720                      normal: "frame_2.png";
32721                      border: 5 5 32 26;
32722                      middle: 0;
32723                   }
32724                }
32725                description { state: "enabled" 0.0;
32726                   inherit: "default" 0.0;
32727                   visible: 1;
32728                   color: 255 255 255 255;
32729                }
32730             }
32731           part
32732             {
32733                name: "bg";
32734                type: RECT;
32735                mouse_events: 0;
32736                description
32737                  {
32738                     state: "default" 0.0;
32739                     color: 255 255 255 0;
32740                     rel1.relative: 0.0 0.0;
32741                     rel1.offset: 0 0;
32742                     rel2.relative: 1.0 1.0;
32743                     rel2.offset: -1 -1;
32744                  }
32745                description
32746                  {
32747                     state: "hidden" 0.0;
32748                     inherit: "default" 0.0;
32749                     rel1.relative: 1.0 0.0;
32750                     rel1.offset: -22 0;
32751                     rel2.relative: 2.0 1.0;
32752                     rel2.offset: -23 -1;
32753                  }
32754             }
32755           part
32756             {
32757                name: "base";
32758                type: IMAGE;
32759                mouse_events: 0;
32760                description
32761                  {
32762                     state: "default" 0.0;
32763                     rel1.to: "bg";
32764                     rel1.offset: 20 0;
32765                     rel2.to: "bg";
32766                     image
32767                       {
32768                          normal: "bt_dis_base.png";
32769                          border: 4 4 4 4;
32770                       }
32771                  }
32772             }
32773           part
32774             {
32775                name: "clipper";
32776                type: RECT;
32777                mouse_events: 0;
32778                description
32779                  {
32780                     state: "default" 0.0;
32781                     rel1
32782                       {
32783                          offset: 4 4;
32784                          to: "base";
32785                       }
32786                     rel2
32787                       {
32788                          offset: -5 -5;
32789                          to: "base";
32790                       }
32791                  }
32792             }
32793           part
32794             {
32795                name: "elm.swallow.content";
32796                type: SWALLOW;
32797                clip_to: "clipper";
32798                description
32799                  {
32800                     state: "default" 0.0;
32801                     rel1.to: "clipper";
32802                     rel2.to: "clipper";
32803                  }
32804             }
32805           part
32806             {
32807                name: "btn";
32808                type: IMAGE;
32809                mouse_events: 1;
32810                description
32811                  {
32812                     state: "default" 0.0;
32813                     max: 32 48;
32814                     fixed: 1 1;
32815                     align: 1 0.5;
32816                     rel1
32817                       {
32818                          to_x: "bg";
32819                       }
32820                     rel2
32821                       {
32822                          offset: 2 0;
32823                          relative: 0.0 1;
32824                          to_x: "base";
32825                       }
32826                     image
32827                       {
32828                          normal: "bt_base1.png";
32829                          border: 5 0 4 12;
32830                       }
32831                     fill.smooth: 0;
32832                  }
32833                description
32834                  {
32835                     state: "clicked" 0.0;
32836                     inherit: "default" 0.0;
32837                  }
32838             }
32839           part
32840             {
32841                name: "btn_over";
32842                type: IMAGE;
32843                mouse_events: 0;
32844                description
32845                  {
32846                     state: "default" 0.0;
32847                     rel1.to: "btn";
32848                     rel2
32849                       {
32850                          relative: 1.0 0.5;
32851                          to: "btn";
32852                       }
32853                     image
32854                       {
32855                          normal: "bt_hilight.png";
32856                          border: 7 0 7 0;
32857                       }
32858                  }
32859             }
32860           part
32861             {
32862                name: "btn_over2";
32863                type: IMAGE;
32864                mouse_events: 1;
32865                repeat_events: 1;
32866                ignore_flags: ON_HOLD;
32867                description
32868                  {
32869                     state: "default" 0.0;
32870                     rel1.to: "btn";
32871                     rel2.to: "btn";
32872                     image
32873                       {
32874                          normal: "bt_shine.png";
32875                          border: 7 0 7 7;
32876                     }
32877                  }
32878             }
32879           part
32880             {
32881                name: "btn_over3";
32882                type: IMAGE;
32883                mouse_events: 1;
32884                repeat_events: 1;
32885                description
32886                  {
32887                     state: "default" 0.0;
32888                     color: 255 255 255 0;
32889                     rel1.to: "btn";
32890                     rel2.to: "btn";
32891                     image
32892                       {
32893                        normal: "bt_glow.png";
32894                        border: 12 12 12 12;
32895                     }
32896                   fill.smooth: 0;
32897                }
32898              description
32899                {
32900                   state: "clicked" 0.0;
32901                   inherit: "default" 0.0;
32902                   visible: 1;
32903                   color: 255 255 255 255;
32904                }
32905             }
32906           part
32907             {
32908                name: "btn_icon";
32909                type: IMAGE;
32910                repeat_events: 1;
32911                description
32912                  {
32913                     state: "default" 0.0;
32914                     rel1.to: "btn";
32915                     rel2.to: "btn";
32916                     align: 0.5 0.5;
32917                     min: 16 16;
32918                     max: 16 16;
32919                     image.normal: "icon_arrow_right.png";
32920                  }
32921                description
32922                  {
32923                     state: "hidden" 0.0;
32924                     inherit: "default" 0.0;
32925                     image.normal: "icon_arrow_left.png";
32926                  }
32927             }
32928        }
32929      programs
32930        {
32931           program
32932             {
32933                name: "show";
32934                signal: "elm,action,show";
32935                source: "elm";
32936                action: STATE_SET "default" 0.0;
32937                target: "bg";
32938                target: "btn_icon";
32939                transition: LINEAR 0.5;
32940             }
32941           program
32942             {
32943                name: "hide";
32944                signal: "elm,action,hide";
32945                source: "elm";
32946                action: STATE_SET "hidden" 0.0;
32947                target: "bg";
32948                target: "btn_icon";
32949                transition: LINEAR 0.5;
32950             }
32951           program
32952             {
32953                name: "btn_click";
32954                signal: "mouse,down,1";
32955                source: "btn_over2";
32956                action: STATE_SET "clicked" 0.0;
32957                target: "btn";
32958             }
32959           program
32960             {
32961                name: "btn_unclick";
32962                signal: "mouse,up,1";
32963                source: "btn_over2";
32964                action: STATE_SET "default" 0.0;
32965                target: "btn";
32966             }
32967           program
32968             {
32969                name: "btn_click2";
32970                signal: "mouse,down,1";
32971                source: "btn_over3";
32972                action: STATE_SET "clicked" 0.0;
32973                target: "btn_over3";
32974             }
32975           program
32976             {
32977                name: "btn_unclick2";
32978                signal: "mouse,up,1";
32979                source: "btn_over3";
32980                action: STATE_SET "default" 0.0;
32981                transition: DECELERATE 0.5;
32982                target: "btn_over3";
32983             }
32984           program
32985             {
32986                name: "btn_unclick3";
32987                signal: "mouse,up,1";
32988                source: "btn_over2";
32989                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32990             }
32991          program { name: "highlight_show";
32992             signal: "elm,action,focus";
32993             source: "elm";
32994             action: STATE_SET "enabled" 0.0;
32995             transition: ACCELERATE 0.3;
32996             target: "focus_highlight";
32997          }
32998          program { name: "highlight_hide";
32999             signal: "elm,action,unfocus";
33000             source: "elm";
33001             action: STATE_SET "default" 0.0;
33002             transition: DECELERATE 0.3;
33003             target: "focus_highlight";
33004          }
33005        }
33006   }
33007
33008 ///////////////////////////////////////////////////////////////////////////////
33009   group { name: "elm/conformant/base/default";
33010      parts {
33011         part { name: "elm.swallow.shelf";
33012            type: SWALLOW;
33013            description { state: "default" 0.0;
33014               fixed: 0 1;
33015               align: 0.0 0.0;
33016               rel2.relative: 1.0 0.0;
33017            }
33018         }
33019         part { name: "elm.swallow.content";
33020            type: SWALLOW;
33021            description { state: "default" 0.0;
33022               fixed: 0 1;
33023               align: 0.5 0.5;
33024               rel1.relative: 0.0 1.0;
33025               rel1.to_y: "elm.swallow.shelf";
33026               rel2.relative: 1.0 0.0;
33027               rel2.to_y: "elm.swallow.virtualkeypad";
33028            }
33029         }
33030         part { name: "elm.swallow.virtualkeypad";
33031            type: SWALLOW;
33032            description { state: "default" 0.0;
33033               fixed: 0 1;
33034               align: 0.0 1.0;
33035               rel2.relative: 1.0 0.0;
33036               rel2.to_y: "elm.swallow.panel";
33037            }
33038         }
33039         part { name: "elm.swallow.panel";
33040            type: SWALLOW;
33041            description { state: "default" 0.0;
33042               fixed: 0 1;
33043               align: 0.0 1.0;
33044               rel1.relative: 0.0 1.0;
33045            }
33046         }
33047      }
33048   }
33049
33050 /////////////////////////////////////////////////////////////////////////////
33051 // CALENDAR
33052 /////////////////////////////////////////////////////////////////////////////
33053 #define CH(_pos) \
33054          part { name: "ch_"#_pos".base"; \
33055             type: RECT; \
33056             description { state: "default" 0.0; \
33057                rel1 { \
33058                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33059                   to: "header"; \
33060                } \
33061                rel2 { \
33062                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33063                   to: "header"; \
33064                } \
33065                color: 0 0 0 0; \
33066                visible: 0; \
33067             } \
33068          } \
33069          part { name: "ch_"#_pos".text"; \
33070             type: TEXT; \
33071             effect: SOFT_SHADOW; \
33072             mouse_events: 0; \
33073             scale: 1; \
33074             clip_to: "ch_"#_pos".clipper"; \
33075             description { \
33076                state: "default" 0.0; \
33077                rel1.to: "ch_"#_pos".base"; \
33078                rel2.to: "ch_"#_pos".base"; \
33079                color: 0 0 0 255; \
33080                color3: 0 0 0 0; \
33081                text { \
33082                   font: "Sans"; \
33083                   size: 10; \
33084                   min: 1 1; \
33085                   align: 0.5 0.5; \
33086                } \
33087             } \
33088          } \
33089          part { name: "ch_"#_pos".clipper"; \
33090             type: RECT; \
33091             description { state: "default" 0.0; \
33092                rel1.to: "ch_"#_pos".base"; \
33093                rel2.to: "ch_"#_pos".base"; \
33094             } \
33095          }
33096
33097 #define CIT(_pos) \
33098          part { name: "cit_"#_pos".rect"; \
33099             type: RECT; \
33100             description { state: "default" 0.0; \
33101                rel1 { \
33102                   relative: (_pos % 7 * 7 / 8 / 6) \
33103                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33104                   to: "base"; \
33105                } \
33106                rel2 { \
33107                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33108                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33109                   to: "base"; \
33110                } \
33111                color: 0 0 0 0; \
33112                visible: 0; \
33113             } \
33114          } \
33115          part { \
33116             name: "cit_"#_pos".event"; \
33117             type: RECT; \
33118             repeat_events: 1; \
33119             description { \
33120                rel1.to: "cit_"#_pos".rect"; \
33121                rel2.to: "cit_"#_pos".rect"; \
33122                state: "default" 0.0; \
33123                color: 0 0 0 0; \
33124             } \
33125          } \
33126          part { name: "cit_"#_pos".shelf"; \
33127             type: RECT; \
33128             mouse_events: 0; \
33129             description { state: "default" 0.0; \
33130                rel1 { \
33131                   to: "cit_"#_pos".bg"; \
33132                   offset: -1 -1; \
33133                } \
33134                rel2 { \
33135                   to: "cit_"#_pos".bg"; \
33136                } \
33137                color: 200 200 200 255; \
33138             } \
33139          } \
33140          part { name: "cit_"#_pos".hd"; \
33141             type: RECT; \
33142             mouse_events: 0; \
33143             description { state: "default" 0.0; \
33144                rel1 { \
33145                   to: "cit_"#_pos".bg"; \
33146                   offset: -1 -1; \
33147                } \
33148                rel2 { \
33149                   to: "cit_"#_pos".bg"; \
33150                } \
33151                visible: 0; \
33152                color: 160 0 0 255; \
33153             } \
33154             description { state: "visible" 0.0; \
33155                inherit: "default" 0.0; \
33156                visible: 1; \
33157             } \
33158          } \
33159          part { \
33160             name: "cit_"#_pos".base_sh"; \
33161             mouse_events: 0; \
33162             description { \
33163                state: "default" 0.0; \
33164                align: 0.0 0.0; \
33165                min: 0 1; \
33166                rel1 { \
33167                   to: "cit_"#_pos".base"; \
33168                   relative: 0.0 1.0; \
33169                   offset: 0 0; \
33170                } \
33171                rel2 { \
33172                   to: "cit_"#_pos".base"; \
33173                   relative: 1.0 1.05; \
33174                   offset: -1 0; \
33175                } \
33176                image { \
33177                   normal: "ilist_item_shadow.png"; \
33178                } \
33179                fill.smooth: 0; \
33180             } \
33181          } \
33182          part { \
33183             name: "cit_"#_pos".base"; \
33184             mouse_events: 0; \
33185             description { \
33186                state: "default" 0.0; \
33187                rel1.to: "cit_"#_pos".rect"; \
33188                rel2.to: "cit_"#_pos".rect"; \
33189                rel2.offset: -1 -1; \
33190                image { \
33191                   normal: "ilist_1.png"; \
33192                   border: 2 2 2 2; \
33193                } \
33194                fill.smooth: 0; \
33195             } \
33196             description { \
33197                state: "today" 0.0; \
33198                inherit: "default" 0.0; \
33199                image.normal: "ilist_2.png"; \
33200                color: 240 240 240 255; \
33201             } \
33202          } \
33203          part { name: "cit_"#_pos".bg"; \
33204             mouse_events: 0; \
33205             description { state: "default" 0.0; \
33206                visible: 0; \
33207                color: 255 255 255 0; \
33208                rel1 { \
33209                   to: "cit_"#_pos".rect"; \
33210                   relative: 0.0 0.0; \
33211                } \
33212                rel2 { \
33213                   to: "cit_"#_pos".rect"; \
33214                   relative: 1.0 1.0; \
33215                   offset: -1 -1; \
33216                } \
33217                image { \
33218                   normal: "bt_sm_base1.png"; \
33219                   border: 6 6 6 6; \
33220                } \
33221                image.middle: SOLID; \
33222             } \
33223             description { state: "selected" 0.0; \
33224                inherit: "default" 0.0; \
33225                visible: 1; \
33226                color: 255 255 255 255; \
33227             } \
33228          } \
33229          part { name: "cit_"#_pos".text"; \
33230             type: TEXT; \
33231             effect: SOFT_SHADOW; \
33232             mouse_events: 0; \
33233             scale: 1; \
33234             description { \
33235                state: "default" 0.0; \
33236                rel1.to: "cit_"#_pos".bg"; \
33237                rel2.to: "cit_"#_pos".bg"; \
33238                color: 0 0 0 255; \
33239                color3: 0 0 0 0; \
33240                text { \
33241                   font: "Sans"; \
33242                   size: 10; \
33243                   min: 1 1; \
33244                   align: 0.5 0.5; \
33245                } \
33246             } \
33247             description { state: "selected" 0.0; \
33248                inherit: "default" 0.0; \
33249                color: 224 224 224 255; \
33250                color3: 0 0 0 64; \
33251             } \
33252          } \
33253          part { name: "cit_"#_pos".fg1"; \
33254             mouse_events: 0; \
33255             description { state: "default" 0.0; \
33256                visible: 0; \
33257                color: 255 255 255 0; \
33258                rel1.to: "cit_"#_pos".bg"; \
33259                rel2.relative: 1.0 0.5; \
33260                rel2.to: "cit_"#_pos".bg"; \
33261                image { \
33262                   normal: "bt_sm_hilight.png"; \
33263                   border: 6 6 6 0; \
33264                } \
33265             } \
33266             description { state: "selected" 0.0; \
33267                inherit: "default" 0.0; \
33268                visible: 1; \
33269                color: 255 255 255 255; \
33270             } \
33271          } \
33272          part { name: "cit_"#_pos".fg2"; \
33273             mouse_events: 0; \
33274             description { state: "default" 0.0; \
33275                visible: 0; \
33276                color: 255 255 255 0; \
33277                rel1.to: "cit_"#_pos".bg"; \
33278                rel2.to: "cit_"#_pos".bg"; \
33279                image { \
33280                   normal: "bt_sm_shine.png"; \
33281                   border: 6 6 6 0; \
33282                } \
33283             } \
33284             description { state: "selected" 0.0; \
33285                inherit: "default" 0.0; \
33286                visible: 1; \
33287                color: 255 255 255 255; \
33288             } \
33289          } \
33290          part { name: "cit_"#_pos".check"; \
33291             mouse_events: 0; \
33292             description { state: "default" 0.0; \
33293                rel1 { \
33294                   to: "cit_"#_pos".bg"; \
33295                   relative: 0.7 0.6; \
33296                   offset: 1 1; \
33297                } \
33298                rel2 { \
33299                   to: "cit_"#_pos".bg"; \
33300                   relative: 1.1 1.2; \
33301                   offset: -2 -2; \
33302                } \
33303                aspect: 1 1; \
33304                visible: 0; \
33305                color: 255 0 0 255; \
33306                image.normal: "check.png"; \
33307             } \
33308             description { state: "visible" 0.0; \
33309                inherit: "default" 0.0; \
33310                visible: 1; \
33311             } \
33312          } \
33313       programs { \
33314          program { \
33315             name:    "cit_"#_pos".go_active"; \
33316             signal:  "cit_"#_pos",selected"; \
33317             source:  "elm"; \
33318             action:  STATE_SET "selected" 0.0; \
33319             target:  "cit_"#_pos".bg"; \
33320             target:  "cit_"#_pos".fg1"; \
33321             target:  "cit_"#_pos".fg2"; \
33322             target:  "cit_"#_pos".text"; \
33323          } \
33324          program { \
33325             name:    "cit_"#_pos".go_passive"; \
33326             signal:  "cit_"#_pos",unselected"; \
33327             source:  "elm"; \
33328             action:  STATE_SET "default" 0.0; \
33329             target:  "cit_"#_pos".bg"; \
33330             target:  "cit_"#_pos".fg1"; \
33331             target:  "cit_"#_pos".fg2"; \
33332             target:  "cit_"#_pos".text"; \
33333          } \
33334          program { \
33335             name:    "cit_"#_pos".is_today"; \
33336             signal:  "cit_"#_pos",today"; \
33337             source:  "elm"; \
33338             action:  STATE_SET "today" 0.0; \
33339             target: "cit_"#_pos".base"; \
33340          } \
33341          program { \
33342             name:    "cit_"#_pos".not_today"; \
33343             signal:  "cit_"#_pos",not_today"; \
33344             source:  "elm"; \
33345             action:  STATE_SET "default" 0.0; \
33346             target: "cit_"#_pos".base"; \
33347          } \
33348          program { \
33349             source: "cit_"#_pos".clicked"; \
33350             signal: "mouse,clicked,1"; \
33351             source: "cit_"#_pos".event"; \
33352             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33353          } \
33354          program { \
33355             name:    "cit_"#_pos".clear"; \
33356             signal:  "cit_"#_pos",clear"; \
33357             source:  "elm"; \
33358             action:  STATE_SET "default" 0.0; \
33359             target: "cit_"#_pos".check"; \
33360             target: "cit_"#_pos".hd"; \
33361          } \
33362          program { \
33363             name:    "cit_"#_pos".checked"; \
33364             signal:  "cit_"#_pos",checked"; \
33365             source:  "elm"; \
33366             action:  STATE_SET "visible" 0.0; \
33367             target: "cit_"#_pos".check"; \
33368          } \
33369          program { \
33370             name:    "cit_"#_pos".holiday"; \
33371             signal:  "cit_"#_pos",holiday"; \
33372             source:  "elm"; \
33373             action:  STATE_SET "visible" 0.0; \
33374             target: "cit_"#_pos".hd"; \
33375          } \
33376       }
33377
33378    group { name: "elm/calendar/base/default";
33379        images {
33380            image: "shelf_inset.png" COMP;
33381            image: "bt_base1.png" COMP;
33382            image: "bt_hilight.png" COMP;
33383            image: "bt_shine.png" COMP;
33384            image: "bt_glow.png" COMP;
33385            image: "bt_dis_base.png" COMP;
33386            image: "bt_dis_hilight.png" COMP;
33387            image: "sp_bt_l.png" COMP;
33388            image: "sp_bt_r.png" COMP;
33389            image: "bt_sm_base1.png" COMP;
33390            image: "bt_sm_shine.png" COMP;
33391            image: "bt_sm_hilight.png" COMP;
33392            image: "ilist_1.png" COMP;
33393            image: "ilist_2.png" COMP;
33394            image: "ilist_item_shadow.png" COMP;
33395            image: "check.png" COMP;
33396        }
33397        parts {
33398            part { name: "bg";
33399                type: RECT;
33400                description { state: "default" 0.0;
33401                    min: 0 30;
33402                    rel1.offset: 1 1;
33403                    rel2.offset: -2 -2;
33404                    color: 255 255 255 0;
33405                    align: 0.0 0.5;
33406                }
33407            }
33408            part { name: "spinner-base";
33409                type: RECT;
33410                mouse_events: 0;
33411                description { state: "default" 0.0;
33412                    min: 24 24;
33413                    max: 999999 24;
33414                    rel1.to: "bg";
33415                    rel1.offset: 6 6;
33416                    rel2.to: "bg";
33417                    rel2.offset: -7 -7;
33418                    color: 255 255 255 0;
33419                    align: 0.0 0.0;
33420                }
33421            }
33422            part { name: "conf_over_spinner";
33423                mouse_events:  0;
33424                description { state: "default" 0.0;
33425                    rel1.to: "spinner-base";
33426                    rel1.offset: -3 -3;
33427                    rel2.to: "spinner-base";
33428                    rel2.offset: 2 2;
33429                    image {
33430                        normal: "shelf_inset.png";
33431                        border: 7 7 7 7;
33432                        middle: 0;
33433                    }
33434                    fill.smooth : 0;
33435                }
33436            }
33437            part { name: "table-base";
33438                type: RECT;
33439                mouse_events: 0;
33440                description { state: "default" 0.0;
33441                    min: 256 220;
33442                    rel1.to_x: "bg";
33443                    rel1.to_y: "spinner-base";
33444                    rel1.offset: 6 6;
33445                    rel1.relative: 0 1;
33446                    rel2.to: "bg";
33447                    rel2.offset: -7 -7;
33448                    color: 255 255 255 0;
33449                }
33450            }
33451            part { name: "conf_over_table";
33452                mouse_events:  0;
33453                description { state: "default" 0.0;
33454                    rel1.to: "table-base";
33455                    rel1.offset: -3 -3;
33456                    rel2.to: "table-base";
33457                    rel2.offset: 2 2;
33458                    image {
33459                        normal: "shelf_inset.png";
33460                        border: 7 7 7 7;
33461                        middle: 0;
33462                    }
33463                    fill.smooth : 0;
33464                }
33465            }
33466            part { name: "header";
33467                type: RECT;
33468                mouse_events: 0;
33469                description { state: "default" 0.0;
33470                    rel1.to: "table-base";
33471                    rel1.relative: 0 0;
33472                    rel2.to: "table-base";
33473                    rel2.relative: 1 0.1;
33474                    color: 255 255 255 0;
33475                }
33476            }
33477            part { name: "base";
33478                type: RECT;
33479                mouse_events: 0;
33480                description { state: "default" 0.0;
33481                    rel1.to_x: "table-base";
33482                    rel1.to_y: "header";
33483                    rel1.relative: 0 1;
33484                    rel1.offset: 3 0;
33485                    rel2.to: "table-base";
33486                    rel2.offset: -3 0;
33487                    color: 255 255 255 0;
33488                }
33489            }
33490            part { name: "left_bt";
33491                mouse_events:  1;
33492                description { state: "default" 0.0;
33493                    rel1 { to: "spinner-base";
33494                        offset: 2 2;
33495                    }
33496                    rel2 { to: "spinner-base";
33497                        offset: -3 -3;
33498                    }
33499                    align: 0.0 0.5;
33500                    min: 24 24;
33501                    max: 24 24;
33502                    fixed: 1 1;
33503                    image {
33504                        normal: "bt_base1.png";
33505                        border: 6 6 6 6;
33506                    }
33507                    fill.smooth : 0;
33508                }
33509                description { state: "clicked" 0.0;
33510                    inherit: "default" 0.0;
33511                    image.normal: "bt_base1.png";
33512                    image.middle: SOLID;
33513                }
33514            }
33515            part { name: "left_over1";
33516                mouse_events: 0;
33517                description { state: "default" 0.0;
33518                    rel1.to: "left_bt";
33519                    rel2 { to: "left_bt";
33520                        relative: 1.0 0.5;
33521                    }
33522                    image {
33523                        normal: "bt_hilight.png";
33524                        border: 7 7 7 0;
33525                    }
33526                }
33527            }
33528            part { name: "left_over2";
33529                mouse_events: 1;
33530                repeat_events: 1;
33531                description { state: "default" 0.0;
33532                    rel1.to: "left_bt";
33533                    rel2.to: "left_bt";
33534                    image {
33535                        normal: "bt_shine.png";
33536                        border: 7 7 7 7;
33537                    }
33538                }
33539            }
33540            part { name: "left_over3";
33541                mouse_events: 1;
33542                repeat_events: 1;
33543                description { state: "default" 0.0;
33544                    color: 255 255 255 0;
33545                    rel1.to: "left_bt";
33546                    rel2.to: "left_bt";
33547                    image {
33548                        normal: "bt_glow.png";
33549                        border: 12 12 12 12;
33550                    }
33551                    fill.smooth : 0;
33552                }
33553                description { state: "clicked" 0.0;
33554                    inherit:  "default" 0.0;
33555                    visible: 1;
33556                    color: 255 255 255 255;
33557                }
33558            }
33559            part { name: "right_bt";
33560                mouse_events:  1;
33561                description { state: "default" 0.0;
33562                    rel1 { to: "spinner-base";
33563                        offset: -27 3;
33564                    }
33565                    rel2 { to: "spinner-base";
33566                        offset: -3 -3;
33567                    }
33568                    align: 1.0 0.5;
33569                    min: 24 24;
33570                    max: 24 24;
33571                    fixed: 1 1;
33572                    image {
33573                        normal: "bt_base1.png";
33574                        border: 5 5 4 12;
33575                    }
33576                    fill.smooth : 0;
33577                }
33578                description { state: "clicked" 0.0;
33579                    inherit: "default" 0.0;
33580                    image.normal: "bt_base1.png";
33581                    image.middle: SOLID;
33582                }
33583            }
33584            part { name: "right_over1";
33585                mouse_events: 0;
33586                description { state: "default" 0.0;
33587                    rel1.to: "right_bt";
33588                    rel2 { to: "right_bt";
33589                        relative: 1.0 0.5;
33590                    }
33591                    image {
33592                        normal: "bt_hilight.png";
33593                        border: 7 7 7 0;
33594                    }
33595                }
33596            }
33597            part { name: "right_over2";
33598                mouse_events: 1;
33599                repeat_events: 1;
33600                description { state: "default" 0.0;
33601                    rel1.to: "right_bt";
33602                    rel2.to: "right_bt";
33603                    image {
33604                        normal: "bt_shine.png";
33605                        border: 7 7 7 7;
33606                    }
33607                }
33608            }
33609            part { name: "right_over3";
33610                mouse_events: 1;
33611                repeat_events: 1;
33612                description { state: "default" 0.0;
33613                    color: 255 255 255 0;
33614                    rel1.to: "right_bt";
33615                    rel2.to: "right_bt";
33616                    image {
33617                        normal: "bt_glow.png";
33618                        border: 12 12 12 12;
33619                    }
33620                    fill.smooth : 0;
33621                }
33622                description { state: "clicked" 0.0;
33623                    inherit:  "default" 0.0;
33624                    visible: 1;
33625                    color: 255 255 255 255;
33626                }
33627            }
33628            part { name: "left_bt_icon";
33629                repeat_events: 1;
33630                description { state: "default" 0.0;
33631                    rel1.to: "left_bt";
33632                    rel2.to: "left_bt";
33633                    align: 0.5 0.5;
33634                    min: 16 16;
33635                    max: 16 16;
33636                    image.normal: "sp_bt_l.png";
33637                }
33638                description { state: "rtl" 0.0;
33639                    inherit: "default" 0.0;
33640                    image.normal: "sp_bt_r.png";
33641                }
33642            }
33643            part { name: "right_bt_icon";
33644                repeat_events: 1;
33645                description { state: "default" 0.0;
33646                    rel1.to: "right_bt";
33647                    rel2.to: "right_bt";
33648                    align: 0.5 0.5;
33649                    min: 16 16;
33650                    max: 16 16;
33651                    image.normal: "sp_bt_r.png";
33652                }
33653                description { state: "rtl" 0.0;
33654                    inherit: "default" 0.0;
33655                    image.normal: "sp_bt_l.png";
33656                }
33657            }
33658            part { name: "month_text";
33659                type: TEXT;
33660                mouse_events: 0;
33661                scale: 1;
33662                description { state: "default" 0.0;
33663                    align: 0 0.5;
33664                    fixed: 1 1;
33665                    rel1 { relative: 1.0 0.0;
33666                        offset: 3 2;
33667                        to: "left_bt";
33668                        to_y: "spinner-base";
33669                    }
33670                    rel2 { relative: 0.0 1.0;
33671                        offset: -3 -2;
33672                        to_x: "right_bt";
33673                        to_y: "spinner-base";
33674                    }
33675                    color: 0 0 0 255;
33676                    text {
33677                        font: "Sans,Edje-Vera";
33678                        size: 12;
33679                        min: 1 1;
33680                        align: 0.5 0.5;
33681                    }
33682                }
33683            }
33684            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33685            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33686            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33687            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33688            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33689            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33690            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33691        }
33692        programs {
33693            program { name: "dec_start";
33694                signal: "mouse,down,1";
33695                source: "left_bt";
33696                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33697            }
33698            program { name: "dec_stop";
33699                signal: "mouse,up,1";
33700                source: "left_bt";
33701                action: SIGNAL_EMIT "elm,action,stop" "";
33702            }
33703            program { name: "inc_start";
33704                signal: "mouse,down,1";
33705                source: "right_bt";
33706                action: SIGNAL_EMIT "elm,action,increment,start" "";
33707            }
33708            program { name: "inc_stop";
33709                signal: "mouse,up,1";
33710                source: "right_bt";
33711                action: SIGNAL_EMIT "elm,action,stop" "";
33712            }
33713            program {
33714                name:   "left_bt_click";
33715                signal: "mouse,down,1";
33716                source: "left_over2";
33717                action: STATE_SET "clicked" 0.0;
33718                target: "left_bt";
33719            }
33720            program {
33721                name:   "left_bt_unclick";
33722                signal: "mouse,up,1";
33723                source: "left_over2";
33724                action: STATE_SET "default" 0.0;
33725                target: "left_bt";
33726            }
33727            program {
33728                name:   "left_bt_click2";
33729                signal: "mouse,down,1";
33730                source: "left_over3";
33731                action: STATE_SET "clicked" 0.0;
33732                target: "left_over3";
33733            }
33734            program {
33735                name:   "left_bt_unclick2";
33736                signal: "mouse,up,1";
33737                source: "left_over3";
33738                action: STATE_SET "default" 0.0;
33739                transition: DECELERATE 0.5;
33740                target: "left_over3";
33741            }
33742            program {
33743                name:   "right_bt_click";
33744                signal: "mouse,down,1";
33745                source: "right_over2";
33746                action: STATE_SET "clicked" 0.0;
33747                target: "right_bt";
33748            }
33749            program {
33750                name:   "right_bt_unclick";
33751                signal: "mouse,up,1";
33752                source: "right_over2";
33753                action: STATE_SET "default" 0.0;
33754                target: "right_bt";
33755            }
33756            program {
33757                name:   "right_bt_click2";
33758                signal: "mouse,down,1";
33759                source: "right_over3";
33760                action: STATE_SET "clicked" 0.0;
33761                target: "right_over3";
33762            }
33763            program {
33764                name:   "right_bt_unclick2";
33765                signal: "mouse,up,1";
33766                source: "right_over3";
33767                action: STATE_SET "default" 0.0;
33768                transition: DECELERATE 0.5;
33769                target: "right_over3";
33770            }
33771            program { name: "to_rtl";
33772                signal: "edje,state,rtl";
33773                source: "edje";
33774                action: STATE_SET "rtl" 0.0;
33775                target: "right_bt_icon";
33776                target: "left_bt_icon";
33777            }
33778            program { name: "to_ltr";
33779                signal: "edje,state,ltr";
33780                source: "edje";
33781                action: STATE_SET "default" 0.0;
33782                target: "right_bt_icon";
33783                target: "left_bt_icon";
33784            }
33785        }
33786    }
33787
33788 #undef CIT
33789 #undef CH
33790
33791 ////////////////////////////////////////////////////////////////////////////////
33792 // colorselector
33793 ////////////////////////////////////////////////////////////////////////////////
33794    group { name: "elm/colorselector/bg/default";
33795       parts {
33796          part { name: "elm.colorbar_0";
33797             type: SWALLOW;
33798             mouse_events: 1;
33799             description { state: "default" 0.0;
33800                min: 120 30;
33801                rel1.relative: 0.0 0.00653594771;
33802                rel2.relative: 1.0 0.254901961;
33803             }
33804          }
33805          part { name: "elm.colorbar_1";
33806             type: SWALLOW;
33807             mouse_events: 1;
33808             description { state: "default" 0.0;
33809                min: 120 30;
33810                rel1.relative: 0.0 0.254901961;
33811                rel2.relative: 1.0 0.503267974;
33812             }
33813          }
33814          part { name: "elm.colorbar_2";
33815             type: SWALLOW;
33816             mouse_events: 1;
33817             description { state: "default" 0.0;
33818                min: 120 30;
33819                rel1.relative: 0.0 0.503267974;
33820                rel2.relative: 1.0 0.751633987;
33821             }
33822          }
33823          part { name: "elm.colorbar_3";
33824             type: SWALLOW;
33825             mouse_events: 1;
33826             description { state: "default" 0.0;
33827                min: 120 30;
33828                rel1.relative: 0.0 0.751633987;
33829                rel2.relative: 1.0 1.0;
33830             }
33831          }
33832       }
33833    }
33834
33835    group { name: "elm/colorselector/base/default";
33836       parts {
33837          part { name: "elm.bar_bg";
33838             type: SWALLOW;
33839             mouse_events: 0;
33840             description { state: "default" 0.0;
33841                min: 60 22;
33842                rel1 {
33843                   relative: 0.0 0.8;
33844                   to_x: "elm.arrow_bg";
33845                   to_y: "elm.arrow_icon";
33846                   offset: 0 0;
33847                }
33848                rel2 {
33849                   relative: 1.0 0.83;
33850                   to_x: "elm.arrow_bg";
33851                   offset: 0 0;
33852                }
33853             }
33854          }
33855          part { name: "elm.bar";
33856             type: SWALLOW;
33857             mouse_events: 0;
33858             description { state: "default" 0.0;
33859                rel1.to: "elm.bar_bg";
33860                rel2.to: "elm.bar_bg";
33861             }
33862          }
33863          part { name: "elm.arrow_bg";
33864             type: SWALLOW;
33865             mouse_events: 1;
33866             description { state: "default" 0.0;
33867                rel1 {
33868                   relative: 1.0 0.17;
33869                   offset: 3 0;
33870                   to_x: "elm.l_button";
33871                }
33872                rel2 {
33873                   relative: 0.0 0.83;
33874                      offset: -4 0;
33875                   to_x: "elm.r_button";
33876                }
33877             }
33878          }
33879          part { name: "elm.arrow";
33880             type: RECT;
33881             mouse_events: 1;
33882             scale: 1;
33883             description { state: "default" 0.0;
33884                min: 1 1;
33885                fixed: 1 1;
33886                align: 0 0;
33887                rel1 {
33888                   to_x: "elm.arrow_bg";
33889                }
33890                rel2 {
33891                   relative: 0.0 0.17;
33892                   to_x: "elm.arrow_bg";
33893                }
33894                color: 0 0 0 0;
33895                visible: 0;
33896             }
33897             dragable {
33898                confine: "elm.arrow_bg";
33899                x: 1 1 0;
33900                y: 0 0 0;
33901             }
33902          }
33903          part { name: "elm.arrow_icon";
33904             type: SWALLOW;
33905             mouse_events: 0;
33906             description { state: "default" 0.0;
33907                min: 25 15;
33908                max: 25 15;
33909                fixed: 1 1;
33910                align: 0.5 0;
33911                rel1 {
33912                   to_x: "elm.arrow";
33913                }
33914                rel2 {
33915                   relative: 1.0 0.0;
33916                   offset: 0 10;
33917                   to_x: "elm.arrow";
33918                }
33919             }
33920          }
33921          part { name: "event";
33922             type: RECT;
33923             mouse_events: 1;
33924             description { state: "default" 0.0;
33925                rel1 {
33926                   to: "elm.arrow_icon";
33927                }
33928                rel2 {
33929                   to_x: "elm.arrow_icon";
33930                   to_y: "elm.arrow_bg";
33931                   offset: 0 0;
33932                }
33933                color: 0 0 0 0;
33934             }
33935             dragable {
33936                events: "elm.arrow";
33937             }
33938          }
33939          part { name: "elm.l_button";
33940             type: SWALLOW;
33941             mouse_events: 1;
33942             scale: 1;
33943             description { state: "default" 0.0;
33944                min: 24 24;
33945                fixed: 1 1;
33946                rel1 {
33947                   relative: 0.0 0.0;
33948                   to_y: "elm.bar_bg";
33949                }
33950                rel2 {
33951                   relative: 0.0 1.0;
33952                   to_y: "elm.bar_bg";
33953                }
33954                align: 0.0 0.5;
33955             }
33956          }
33957          part { name: "elm.r_button";
33958             type: SWALLOW;
33959             mouse_events: 1;
33960             scale: 1;
33961             description {
33962                state: "default" 0.0;
33963                min: 24 24;
33964                fixed: 1 1;
33965                rel1 {
33966                   relative: 1.0 0.0;
33967                   to_y: "elm.bar_bg";
33968                }
33969                rel2 {
33970                   relative: 1.0 1.0;
33971                   to_y: "elm.bar_bg";
33972                }
33973                align: 1.0 0.5;
33974             }
33975          }
33976       }
33977    }
33978
33979    group{ name: "elm/colorselector/image/colorbar_0";
33980       images {
33981          image: "color_picker_color.png" COMP;
33982       }
33983       parts {
33984          part { name: "colorbar_0_image";
33985             type: IMAGE;
33986             mouse_events: 1;
33987             description { state: "default" 0.0;
33988                rel2.offset: -1 -1;
33989                image.normal: "color_picker_color.png";
33990             }
33991          }
33992       }
33993    }
33994
33995    group { name: "elm/colorselector/image/colorbar_1";
33996       images {
33997          image: "color_picker_opacity.png" COMP;
33998       }
33999       parts {
34000          part { name: "colorbar_1_image";
34001             type: IMAGE;
34002             mouse_events: 1;
34003             description { state: "default" 0.0;
34004                rel2.offset: -1 -1;
34005                image.normal: "color_picker_opacity.png";
34006             }
34007          }
34008       }
34009    }
34010
34011    group { name: "elm/colorselector/image/colorbar_2";
34012       images {
34013          image: "color_picker_brightness.png" COMP;
34014       }
34015       parts {
34016          part { name: "colorbar_2_image";
34017             type: IMAGE;
34018             mouse_events: 1;
34019             description { state: "default" 0.0;
34020                rel2.offset: -1 -1;
34021                image.normal: "color_picker_brightness.png";
34022             }
34023          }
34024       }
34025    }
34026
34027    group { name: "elm/colorselector/image/colorbar_3";
34028       images {
34029          image: "color_picker_alpha.png" COMP;
34030       }
34031       parts {
34032          part { name: "colorbar_3_image";
34033             type: IMAGE;
34034             mouse_events: 1;
34035             description { state: "default" 0.0;
34036                rel2.offset: -1 -1;
34037                image.normal: "color_picker_alpha.png";
34038             }
34039          }
34040       }
34041    }
34042
34043    group { name: "elm/colorselector/bg_image/colorbar_3";
34044       images {
34045          image: "color_picker_alpha_bg.png" COMP;
34046       }
34047       parts {
34048          part { name: "colorbar_3_image";
34049             type: IMAGE;
34050             mouse_events: 1;
34051             description { state: "default" 0.0;
34052                rel2.offset: -1 -1;
34053                image.normal: "color_picker_alpha_bg.png";
34054             }
34055          }
34056       }
34057    }
34058
34059    group { name: "elm/colorselector/image/updown";
34060       images {
34061          image: "icon_arrow_down.png" COMP;
34062       }
34063       parts {
34064          part { name: "bg";
34065             type: RECT;
34066             mouse_events: 1;
34067             description { state: "default" 0.0;
34068                color: 0 0 0 0;
34069             }
34070          }
34071          part { name: "arrow_image";
34072             type: IMAGE;
34073             mouse_events: 1;
34074             description { state: "default" 0.0;
34075                image.normal: "icon_arrow_down.png";
34076             }
34077          }
34078       }
34079    }
34080
34081    group { name: "elm/colorselector/button/left";
34082       images {
34083          image: "bt_base1.png" COMP;
34084          image: "bt_shine.png" COMP;
34085          image: "sp_bt_l.png" COMP;
34086       }
34087       parts {
34088          part { name: "button_image";
34089             mouse_events: 1;
34090             description { state: "default" 0.0;
34091                image.normal: "bt_base1.png";
34092                image.border: 6 6 6 6;
34093                image.middle: SOLID;
34094             }
34095
34096             description { state: "clicked" 0.0;
34097                inherit: "default" 0.0;
34098                image.normal: "bt_shine.png";
34099                image.border: 6 6 6 6;
34100                image.middle: SOLID;
34101             }
34102          }
34103          part { name: "btn_over";
34104             type: IMAGE;
34105             mouse_events: 0;
34106             description { state: "default" 0.0;
34107                rel1.to: "button_image";
34108                rel2 {
34109                   relative: 1.0 0.5;
34110                   to: "button_image";
34111                }
34112                image {
34113                   normal: "bt_hilight.png";
34114                   border: 7 7 7 0;
34115                }
34116             }
34117          }
34118          part { name: "btn_over2";
34119             type: IMAGE;
34120             mouse_events: 1;
34121             repeat_events: 1;
34122             ignore_flags: ON_HOLD;
34123             description { state: "default" 0.0;
34124                rel1.to: "button_image";
34125                rel2.to: "button_image";
34126                image {
34127                   normal: "bt_shine.png";
34128                   border: 7 7 7 7;
34129                }
34130             }
34131          }
34132          part { name: "focus_image";
34133             type: IMAGE;
34134             description { state: "default" 0.0;
34135                color: 255 255 255 0;
34136                rel1.to: "button_image";
34137                rel2.to: "button_image";
34138                image {
34139                   normal: "bt_glow.png";
34140                   border: 12 12 12 12;
34141                }
34142                fill.smooth: 0;
34143
34144             }
34145             description { state: "clicked" 0.0;
34146                inherit: "default" 0.0;
34147                visible: 1;
34148                color: 255 255 255 255;
34149             }
34150          }
34151          part { name: "left_arrow";
34152             mouse_events: 1;
34153             description { state: "default" 0.0;
34154                min: 16 16;
34155                max: 16 16;
34156                image.normal: "sp_bt_l.png";
34157             }
34158          }
34159       }
34160
34161       programs {
34162          program {
34163             name:   "button_down";
34164             signal: "elm,state,left,button,down";
34165             source: "left_button";
34166             action: STATE_SET "clicked" 0.0;
34167             target: "button_image";
34168             target: "focus_image";
34169          }
34170          program {
34171             name:   "button_up";
34172             signal: "elm,state,left,button,up";
34173             source: "left_button";
34174             action: STATE_SET "default" 0.0;
34175             target: "button_image";
34176             target: "focus_image";
34177          }
34178       }
34179    }
34180
34181    group { name: "elm/colorselector/button/right";
34182       images {
34183          image: "bt_base1.png" COMP;
34184          image: "bt_shine.png" COMP;
34185          image: "sp_bt_r.png" COMP;
34186       }
34187       parts {
34188          part { name: "button_image";
34189             mouse_events: 1;
34190             description { state: "default" 0.0;
34191                image.normal: "bt_base1.png";
34192                image.border: 6 6 6 6;
34193                image.middle: SOLID;
34194             }
34195
34196             description { state: "clicked" 0.0;
34197                inherit: "default" 0.0;
34198                image.normal: "bt_shine.png";
34199                image.border: 6 6 6 6;
34200                image.middle: SOLID;
34201             }
34202          }
34203          part { name: "btn_over";
34204             type: IMAGE;
34205             mouse_events: 0;
34206             description { state: "default" 0.0;
34207                rel1.to: "button_image";
34208                rel2 {
34209                   relative: 1.0 0.5;
34210                   to: "button_image";
34211                }
34212                image {
34213                   normal: "bt_hilight.png";
34214                   border: 7 7 7 0;
34215                }
34216             }
34217          }
34218          part { name: "btn_over2";
34219             type: IMAGE;
34220             mouse_events: 1;
34221             repeat_events: 1;
34222             ignore_flags: ON_HOLD;
34223             description { state: "default" 0.0;
34224                rel1.to: "button_image";
34225                rel2.to: "button_image";
34226                image {
34227                   normal: "bt_shine.png";
34228                   border: 7 7 7 7;
34229                }
34230             }
34231          }
34232          part { name: "focus_image";
34233             type: IMAGE;
34234             description { state: "default" 0.0;
34235                color: 255 255 255 0;
34236                rel1.to: "button_image";
34237                rel2.to: "button_image";
34238                image {
34239                   normal: "bt_glow.png";
34240                   border: 12 12 12 12;
34241                }
34242                fill.smooth: 0;
34243
34244             }
34245             description { state: "clicked" 0.0;
34246                inherit: "default" 0.0;
34247                visible: 1;
34248                color: 255 255 255 255;
34249             }
34250          }
34251          part { name: "right_arrow";
34252             mouse_events: 1;
34253             description { state: "default" 0.0;
34254                min: 16 16;
34255                max: 16 16;
34256                image.normal: "sp_bt_r.png";
34257             }
34258          }
34259       }
34260
34261       programs {
34262          program {
34263             name:   "button_down";
34264             signal: "elm,state,right,button,down";
34265             source: "right_button";
34266             action: STATE_SET "clicked" 0.0;
34267             target: "button_image";
34268             target: "focus_image";
34269          }
34270          program {
34271             name:   "button_up";
34272             signal: "elm,state,right,button,up";
34273             source: "right_button";
34274             action: STATE_SET "default" 0.0;
34275             target: "button_image";
34276             target: "focus_image";
34277          }
34278       }
34279    }
34280
34281 ///////////////////////////////////////////////////////////////////////////////
34282 #define FLIP_PICKER_MAX_LEN (50)
34283 #define FLIP_PICKER_MAX_LEN_STR "50"
34284
34285    group { name: "elm/flipselector/base/default";
34286       images {
34287          image: "flip_base.png" COMP;
34288          image: "flip_base_shad.png" COMP;
34289          image: "flip_shad.png" COMP;
34290          image: "arrow_up.png" COMP;
34291          image: "arrow_down.png" COMP;
34292          image: "flip_t.png" COMP;
34293          image: "flip_b.png" COMP;
34294       }
34295
34296       data {
34297          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34298       }
34299
34300       //FIXME: quick successive clicks on, say, up, lead to nastiness
34301       script {
34302          public cur, prev, next, lock;
34303
34304          public animator_bottom_down(val, Float:pos) {
34305             new tmp[FLIP_PICKER_MAX_LEN];
34306
34307             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34308             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34309                             0.0);
34310             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34311                             0.0);
34312
34313             if (pos >= 1.0) {
34314                set_state(PART:"shadow", "default", 0.0);
34315                set_int(lock, 0);
34316
34317                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34318                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34319                   replace_str(next, 0, "");
34320                   message(MSG_STRING, 1, tmp);
34321                }
34322             }
34323          }
34324
34325          public animator_top_down(val, Float:pos) {
34326             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34327             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34328                             0.0);
34329             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34330                             0.0);
34331
34332             if (pos >= 1.0)
34333                anim(0.2, "animator_bottom_down", val);
34334          }
34335
34336          public animator_bottom_up(val, Float:pos) {
34337             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34338             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34339                             0.0);
34340             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34341                             0.0);
34342
34343             if (pos >= 1.0)
34344                anim(0.2, "animator_top_up", val);
34345          }
34346
34347          public animator_top_up(val, Float:pos) {
34348             new tmp[FLIP_PICKER_MAX_LEN];
34349
34350             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34351             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34352                             0.0);
34353             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34354                             0.0);
34355
34356             if (pos >= 1.0) {
34357                set_state(PART:"shadow", "default", 0.0);
34358                set_int(lock, 0);
34359
34360                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34361                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34362                   replace_str(next, 0, "");
34363                   message(MSG_STRING, 2, tmp);
34364                }
34365             }
34366          }
34367
34368          public message(Msg_Type:type, id, ...) {
34369             /* flip down */
34370             if ((type == MSG_STRING) && (id == 1)) {
34371                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34372
34373                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34374
34375                if (get_int(lock) == 1) {
34376                   replace_str(next, 0, value);
34377                   return;
34378                }
34379
34380                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34381
34382                set_text(PART:"bottom_b", tmp);
34383
34384                set_state(PART:"top", "shrink", 0.0);
34385                set_text(PART:"top", tmp);
34386                set_state(PART:"top", "default", 0.0);
34387                set_text(PART:"top", tmp);
34388
34389                replace_str(prev, 0, tmp);
34390
34391                set_state(PART:"bottom", "default", 0.0);
34392                set_text(PART:"bottom", value);
34393                set_state(PART:"bottom", "shrink", 0.0);
34394                set_text(PART:"bottom", value);
34395
34396                set_text(PART:"top_b", value);
34397
34398                replace_str(cur, 0, value);
34399
34400                set_state(PART:"bottom_sheet", "shrink", 0.0);
34401                set_state(PART:"top_sheet", "default", 0.0);
34402
34403                set_int(lock, 1);
34404                set_state(PART:"shadow", "default", 0.0);
34405                anim(0.2, "animator_top_down", 1);
34406             }
34407
34408             /* flip up */
34409             if ((type == MSG_STRING) && (id == 2)) {
34410                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34411
34412                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34413
34414                if (get_int(lock) == 1) {
34415                   replace_str(next, 0, value);
34416                   return;
34417                }
34418
34419                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34420
34421                set_text(PART:"top_b", tmp);
34422
34423                set_state(PART:"bottom", "shrink", 0.0);
34424                set_text(PART:"bottom", tmp);
34425                set_state(PART:"bottom", "default", 0.0);
34426                set_text(PART:"bottom", tmp);
34427
34428                replace_str(prev, 0, tmp);
34429
34430                set_state(PART:"top", "default", 0.0);
34431                set_text(PART:"top", value);
34432                set_state(PART:"top", "shrink", 0.0);
34433                set_text(PART:"top", value);
34434
34435                set_text(PART:"bottom_b", value);
34436
34437                replace_str(cur, 0, value);
34438
34439                set_state(PART:"bottom_sheet", "default", 0.0);
34440                set_state(PART:"top_sheet", "shrink", 0.0);
34441
34442                set_int(lock, 1);
34443                set_state(PART:"shadow", "full", 0.0);
34444                anim(0.2, "animator_bottom_up", 1);
34445             }
34446          }
34447       }
34448
34449       parts {
34450          part { name: "shad";
34451             mouse_events: 0;
34452             description { state: "default" 0.0;
34453                rel1.offset: -4 -4;
34454                rel1.to: "base";
34455                rel2.offset: 3 3;
34456                rel2.to: "base";
34457                image {
34458                   normal: "flip_base_shad.png";
34459                   border: 8 8 8 8;
34460                }
34461             }
34462          }
34463
34464          part { name: "base";
34465             scale: 1;
34466             description { state: "default" 0.0;
34467                rel1.offset: 4 4;
34468                rel2.offset: -5 -5;
34469                min: 24 48;
34470                image.normal: "flip_base.png";
34471             }
34472          }
34473
34474          part { name: "b";
34475             type: RECT;
34476             mouse_events: 1;
34477             description { state: "default" 0.0;
34478                rel1.to: "base";
34479                rel1.relative: 0.0 0.5;
34480                rel2.to: "base";
34481                color: 0 0 0 0;
34482             }
34483             description { state: "hidden" 0.0;
34484                inherit: "default" 0.0;
34485                visible: 0;
34486             }
34487          }
34488
34489          part { name: "t";
34490             type: RECT;
34491             mouse_events: 1;
34492             description { state: "default" 0.0;
34493                rel1.to: "base";
34494                rel2.to: "base";
34495                rel2.relative: 1.0 0.5;
34496                color: 0 0 0 0;
34497             }
34498             description { state: "hidden" 0.0;
34499                inherit: "default" 0.0;
34500                visible: 0;
34501             }
34502          }
34503
34504          part { name: "bottom_sheet_static";
34505             mouse_events: 0;
34506             description { state: "default" 0.0;
34507                visible: 1;
34508                rel1.to: "b";
34509                rel2.to: "b";
34510                image.normal: "flip_b.png";
34511             }
34512          }
34513
34514          part { name: "bottom_b";
34515             mouse_events: 0;
34516             clip_to: "bottom_clipper";
34517             type: TEXT;
34518             scale: 1;
34519             description { state: "default" 0.0;
34520                rel1.to: "base";
34521                rel2.to: "base";
34522                color: 0 0 0 255;
34523                color2: 0 0 0 255;
34524                text {
34525                   font: "Sans:style=Bold,Edje-Vera-Bold";
34526                   size: 30;
34527                   min: 1 1;
34528                   align: 0.5 0.5;
34529                }
34530             }
34531          }
34532
34533          part { name: "shadow";
34534             mouse_events: 0;
34535             description { state: "default" 0.0;
34536                rel1.to: "b";
34537                rel2.to: "b";
34538                rel2.relative: 1.0 0.0;
34539                image.normal: "flip_shad.png";
34540             }
34541             description { state: "half" 0.0;
34542                inherit: "default" 0.0;
34543                rel2.relative: 1.0 0.5;
34544             }
34545             description { state: "full" 0.0;
34546                inherit: "default" 0.0;
34547                rel2.relative: 1.0 1.0;
34548             }
34549          }
34550
34551          part { name: "bottom_sheet";
34552             mouse_events: 0;
34553             description { state: "default" 0.0;
34554                visible: 1;
34555                rel1.to: "b";
34556                rel2.to: "b";
34557                image.normal: "flip_b.png";
34558             }
34559             description { state: "shrink" 0.0;
34560                inherit: "default" 0.0;
34561                visible: 0;
34562                rel2.relative: 1.0 0.0;
34563             }
34564          }
34565
34566          part { name: "bottom";
34567             mouse_events: 0;
34568             clip_to: "bottom_clipper";
34569             type: TEXT;
34570             scale: 1;
34571             description { state: "default" 0.0;
34572                rel1.to: "base";
34573                rel2.to: "base";
34574                color: 0 0 0 255;
34575                color2: 0 0 0 255;
34576                text {
34577                   font: "Sans:style=Bold,Edje-Vera-Bold";
34578                   size: 30;
34579                   min: 1 1;
34580                   align: 0.5 0.5;
34581                }
34582             }
34583             description { state: "shrink" 0.0;
34584                inherit: "default" 0.0;
34585                color: 128 128 128 255;
34586                visible: 0;
34587                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34588             }
34589          }
34590
34591          part { name: "top_sheet_static";
34592             mouse_events: 0;
34593             description { state: "default" 0.0;
34594                visible: 1;
34595                rel1.to: "t";
34596                rel2.to: "t";
34597                image.normal: "flip_t.png";
34598             }
34599          }
34600
34601          part { name: "top_b";
34602             mouse_events: 0;
34603             clip_to: "top_clipper";
34604             type: TEXT;
34605             scale: 1;
34606             description { state: "default" 0.0;
34607                rel1.to: "base";
34608                rel2.to: "base";
34609                color: 0 0 0 255;
34610                color2: 0 0 0 255;
34611                text {
34612                   font: "Sans:style=Bold,Edje-Vera-Bold";
34613                   size: 30;
34614                   min: 1 1;
34615                   align: 0.5 0.5;
34616                   source: "top";
34617                }
34618             }
34619          }
34620
34621          part { name: "top_sheet";
34622             mouse_events: 0;
34623             description { state: "default" 0.0;
34624                visible: 1;
34625                rel1.to: "t";
34626                rel2.to: "t";
34627                image.normal: "flip_t.png";
34628             }
34629             description { state: "shrink" 0.0;
34630                inherit: "default" 0.0;
34631                color: 128 128 128 255;
34632                visible: 0;
34633                rel1.relative: 0.0 1.0;
34634             }
34635          }
34636
34637          part { name: "top";
34638             mouse_events: 0;
34639             clip_to: "top_clipper";
34640             type: TEXT;
34641             scale: 1;
34642             description { state: "default" 0.0;
34643                rel1.to: "base";
34644                rel2.to: "base";
34645                color: 0 0 0 255;
34646                color2: 0 0 0 255;
34647                text {
34648                   font: "Sans:style=Bold,Edje-Vera-Bold";
34649                   size: 30;
34650                   min: 1 1;
34651                   align: 0.5 0.5;
34652                }
34653             }
34654             description { state: "shrink" 0.0;
34655                inherit: "default" 0.0;
34656                visible: 0;
34657                rel1.relative: 0.0 0.5;
34658             }
34659          }
34660
34661          part { name: "arrow_top";
34662             mouse_events: 0;
34663             scale: 1;
34664             description { state: "default" 0.0;
34665                min: 15 15;
34666                max: 15 15;
34667                align: 0.5 0.0;
34668                rel1.to: "t";
34669                rel2.to: "t";
34670                image.normal: "arrow_up.png";
34671             }
34672             description { state: "hidden" 0.0;
34673                inherit: "default" 0.0;
34674                visible: 0;
34675             }
34676          }
34677          part { name: "arrow_bottom";
34678             mouse_events: 0;
34679             scale: 1;
34680             description { state: "default" 0.0;
34681                min: 15 15;
34682                max: 15 15;
34683                align: 0.5 1.0;
34684                rel1.to: "b";
34685                rel2.to: "b";
34686                image.normal: "arrow_down.png";
34687             }
34688             description { state: "hidden" 0.0;
34689                inherit: "default" 0.0;
34690                visible: 0;
34691             }
34692          }
34693
34694          part {
34695             type: RECT;
34696             mouse_events: 0;
34697             name: "top_clipper";
34698             description {
34699                state: "default" 0.0;
34700                rel1.to: "t";
34701                rel2.to: "t";
34702                visible: 1;
34703             }
34704          }
34705
34706          part {
34707             type: RECT;
34708             mouse_events: 0;
34709             name: "bottom_clipper";
34710             description {
34711                state: "default" 0.0;
34712                rel1.to: "b";
34713                rel2.to: "b";
34714                visible: 1;
34715             }
34716          }
34717       }
34718
34719       programs {
34720          program { name: "load";
34721             signal: "load";
34722             source: "";
34723             script {
34724                append_str(cur, "");
34725                append_str(prev, "");
34726                append_str(next, "");
34727                set_int(lock, 0);
34728             }
34729          }
34730
34731          program { name: "hide_arrows";
34732             signal: "elm,state,button,hidden";
34733             source: "elm";
34734             action: STATE_SET "hidden" 0.0;
34735             target: "arrow_top";
34736             target: "arrow_bottom";
34737             target: "t";
34738             target: "b";
34739          }
34740
34741          program { name: "show_arrows";
34742             signal: "elm,state,button,visible";
34743             source: "elm";
34744             action: STATE_SET "default" 0.0;
34745             target: "arrow_top";
34746             target: "arrow_bottom";
34747             target: "t";
34748             target: "b";
34749          }
34750
34751          program { name: "up";
34752             signal: "mouse,down,1";
34753             source: "t";
34754             action: SIGNAL_EMIT "elm,action,up,start" "";
34755          }
34756          program { name: "up,stop";
34757             signal: "mouse,up,1";
34758             source: "t";
34759             action: SIGNAL_EMIT "elm,action,up,stop" "";
34760          }
34761          program { name: "down";
34762             signal: "mouse,down,1";
34763             source: "b";
34764             action: SIGNAL_EMIT "elm,action,down,start" "";
34765          }
34766          program { name: "down,stop";
34767             signal: "mouse,up,1";
34768             source: "b";
34769             action: SIGNAL_EMIT "elm,action,down,stop" "";
34770          }
34771       }
34772    }
34773
34774 ////////////////////////////////////////////////////////////////////////////////
34775 // diskselector
34776 ////////////////////////////////////////////////////////////////////////////////
34777    group { name: "elm/diskselector/base/default";
34778       images {
34779          image: "bar_shine.png" COMP;
34780       }
34781
34782       parts {
34783          part { name: "bg";
34784             type: RECT;
34785             mouse_events: 0;
34786             description { state: "default" 0.0;
34787                color: 0 0 0 255;
34788             }
34789          }
34790          part { name: "shine_left";
34791             mouse_events:  0;
34792             description { state: "default" 0.0;
34793                rel1.to: "bg";
34794                rel1.relative: -0.1 0;
34795                rel2.to: "bg";
34796                rel2.relative: 0.1 1;
34797                image.normal: "bar_shine.png";
34798                color: 255 255 255 120;
34799             }
34800          }
34801          part { name: "shine_center";
34802             mouse_events:  0;
34803             description { state: "default" 0.0;
34804                rel1.to: "bg";
34805                rel1.relative: 0.2 0;
34806                rel2.to: "bg";
34807                rel2.relative: 0.8 1;
34808                image.normal: "bar_shine.png";
34809                color: 255 255 255 180;
34810             }
34811          }
34812          part { name: "shine_right";
34813             mouse_events:  0;
34814             description { state: "default" 0.0;
34815                rel1.to: "bg";
34816                rel1.relative: 0.9 0;
34817                rel2.to: "bg";
34818                rel2.relative: 1.1 1;
34819                image.normal: "bar_shine.png";
34820                color: 255 255 255 120;
34821             }
34822          }
34823          part { name: "clipper";
34824             type: RECT;
34825             mouse_events: 0;
34826             description { state: "default" 0.0;
34827                rel1.to: "bg";
34828                rel2.to: "bg";
34829                rel1.offset: 2 2;
34830                rel2.offset: -3 -3;
34831             }
34832          }
34833          part { name: "elm.swallow.content";
34834             clip_to: "clipper";
34835             type: SWALLOW;
34836             description { state: "default" 0.0;
34837                rel1.to: "bg";
34838                rel2.to: "bg";
34839             }
34840          }
34841       }
34842    }
34843
34844    group { name: "elm/diskselector/item/default";
34845
34846       data {
34847          item: "len_threshold" "14";
34848          item: "display_item_num" "3";
34849          item: "min_height" "-1";
34850          item: "min_width" "-1";
34851       }
34852
34853       parts {
34854          part { name: "elm.swallow.icon";
34855             type: SWALLOW;
34856             description { state: "default" 0.0;
34857                fixed: 1 0;
34858                align: 0.0 0.5;
34859                rel1 {
34860                   relative: 0 0;
34861                   offset: 4 4;
34862                }
34863                rel2 {
34864                   relative: 0 1;
34865                   offset: 4 -5;
34866                }
34867             }
34868             description { state: "show" 0.0;
34869                inherit: "default" 0.0;
34870             }
34871             description { state: "default_small" 0.0;
34872                inherit: "default" 0.0;
34873                rel1.relative: 0 0.2;
34874                rel2.relative: 0 0.8;
34875             }
34876             description { state: "left_side" 0.0;
34877                inherit: "default" 0.0;
34878                rel1.relative: 0 0.2;
34879                rel2.relative: 0 0.8;
34880                color: 255 255 255 160;
34881             }
34882             description { state: "right_side" 0.0;
34883                inherit: "left_side" 0.0;
34884                rel1.relative: 0.4 0.2;
34885                rel2.relative: 0.4 0.8;
34886                color: 255 255 255 160;
34887             }
34888          }
34889          part { name: "elm.text";
34890             type: TEXT;
34891             mouse_events: 0;
34892             scale: 1;
34893             description { state: "default" 0.0;
34894                rel1.relative: 1 0.0;
34895                rel1.to_x: "elm.swallow.icon";
34896                rel2.relative: 1.0 1.0;
34897                color: 255 255 255 255;
34898                visible: 0;
34899                text {
34900                   font: "Sans,Edje-Vera";
34901                   size: 13;
34902                   align: 0.5 0.5;
34903                   min: 0 1;
34904                }
34905             }
34906             description { state: "show" 0.0;
34907                inherit: "default" 0.0;
34908                visible: 1;
34909             }
34910             description { state: "default_small" 0.0;
34911                inherit: "default" 0.0;
34912                visible: 1;
34913                text.size: 10;
34914             }
34915             description { state: "left_side" 0.0;
34916                inherit: "default" 0.0;
34917                color: 172 172 172 255;
34918                text.size: 10;
34919                visible: 1;
34920                text.align: 0.2 0.5;
34921             }
34922             description { state: "right_side" 0.0;
34923                inherit: "default" 0.0;
34924                color: 172 172 172 255;
34925                visible: 1;
34926                text.size: 10;
34927                text.align: 0.8 0.5;
34928             }
34929          }
34930       }
34931
34932       programs {
34933          program { name: "center_text";
34934             signal: "elm,state,center";
34935             source: "elm";
34936             action: STATE_SET "show" 0.0;
34937             target: "elm.text";
34938             target: "elm.swallow.icon";
34939          }
34940          program { name: "center_small_text";
34941             signal: "elm,state,center_small";
34942             source: "elm";
34943             action: STATE_SET "default_small" 0.0;
34944             target: "elm.text";
34945             target: "elm.swallow.icon";
34946          }
34947          program { name: "l_side_text";
34948             signal: "elm,state,left_side";
34949             source: "elm";
34950             action: STATE_SET "left_side" 0.0;
34951             target: "elm.text";
34952             target: "elm.swallow.icon";
34953          }
34954          program { name: "r_side_text";
34955             signal: "elm,state,right_side";
34956             source: "elm";
34957             action: STATE_SET "right_side" 0.0;
34958             target: "elm.text";
34959             target: "elm.swallow.icon";
34960          }
34961       }
34962    }
34963
34964    group { name: "elm/entry/path/separator/default";
34965       images.image: "arrow_right.png" COMP;
34966       parts {
34967          part { name: "icon";
34968             mouse_events: 0;
34969             description { state: "default" 0.0;
34970                image.normal: "arrow_right.png";
34971                max: 64 64;
34972                aspect: 1.0 1.0;
34973             }
34974          }
34975       }
34976    }
34977
34978    group { name: "elm/fileselector/base/default";
34979       data {
34980          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
34981       }
34982       parts {
34983          part { name: "elm.swallow.up";
34984             type: SWALLOW;
34985             description { state: "default" 0.0;
34986                align: 0.0 0.0;
34987                min: 10 10;
34988                fixed: 1 1;
34989                rel2 {
34990                   relative: 0.0 0.0;
34991                   offset: 0 0;
34992                }
34993             }
34994          }
34995          part { name: "elm.swallow.home";
34996             type: SWALLOW;
34997             description { state: "default" 0.0;
34998                align: 0.0 0.0;
34999                min: 10 10;
35000                fixed: 1 1;
35001                rel1 {
35002                   to: "elm.swallow.up";
35003                   relative: 1.0 0.0;
35004                   offset: 5 0;
35005                }
35006                rel2 {
35007                   to: "elm.swallow.up";
35008                   relative: 1.0 1.0;
35009                   offset: 20 -1;
35010                }
35011             }
35012          }
35013          part { name: "elm.swallow.files";
35014             type: SWALLOW;
35015             description { state: "default" 0.0;
35016                align: 1.0 0.0;
35017                min: 10 10;
35018                fixed: 1 1;
35019                rel1 {
35020                   to_y: "elm.swallow.home";
35021                   relative: 0.0 1.0;
35022                   offset: 0 0;
35023                }
35024                rel2 {
35025                   to_y: "elm.swallow.path";
35026                   relative: 1.0 0.0;
35027                   offset: -1 -1;
35028                }
35029             }
35030          }
35031          part { name: "elm.swallow.path";
35032             type: SWALLOW;
35033             description { state: "default" 0.0;
35034                align: 0.5 1.0;
35035                fixed: 1 1;
35036                rel1 {
35037                   to_y: "elm.swallow.filename";
35038                   relative: 0.0 0.0;
35039                   offset: 0 -1;
35040                }
35041                rel2 {
35042                   to_y: "elm.swallow.filename";
35043                   relative: 1.0 0.0;
35044                   offset: -1 -1;
35045                }
35046             }
35047          }
35048          part { name: "elm.swallow.filename";
35049             type: SWALLOW;
35050             description { state: "default" 0.0;
35051                align: 0.5 1.0;
35052                fixed: 1 1;
35053                rel1 {
35054                   to_y: "elm.swallow.ok";
35055                   relative: 0.0 0.0;
35056                   offset: 0 -1;
35057                }
35058                rel2 {
35059                   to_y: "elm.swallow.ok";
35060                   relative: 1.0 0.0;
35061                   offset: -1 -1;
35062                }
35063             }
35064          }
35065          part { name: "elm.swallow.cancel";
35066             type: SWALLOW;
35067             description { state: "default" 0.0;
35068                align: 1.0 1.0;
35069                fixed: 1 1;
35070                rel1 {
35071                   to: "elm.swallow.ok";
35072                   relative: 0.0 0.0;
35073                   offset: -3 0;
35074                }
35075                rel2 {
35076                   to: "elm.swallow.ok";
35077                   relative: 0.0 1.0;
35078                   offset: -3 -1;
35079                }
35080             }
35081          }
35082          part { name: "elm.swallow.ok";
35083             type: SWALLOW;
35084             description { state: "default" 0.0;
35085                align: 1.0 1.0;
35086                fixed: 1 1;
35087                rel1 {
35088                   relative: 1.0 1.0;
35089                   offset: -1 -1;
35090                }
35091             }
35092          }
35093       }
35094    }
35095
35096    group { name: "elm/fileselector_entry/base/default";
35097       parts {
35098          part { name: "elm.swallow.entry";
35099             type: SWALLOW;
35100             description { state: "default" 0.0;
35101                align: 0.0 0.0;
35102                min: 50 10;
35103                rel2 { to_x: "elm.swallow.button";
35104                   relative: 0.0 1.0;
35105                   offset: -1 -1;
35106                }
35107             }
35108          }
35109          part { name: "elm.swallow.button";
35110             type: SWALLOW;
35111             description { state: "default" 0.0;
35112                align: 1.0 0.0;
35113                min: 10 10;
35114                fixed: 1 1;
35115                rel1 {
35116                   relative: 1.0 0.0;
35117                   offset: -21 0;
35118                }
35119             }
35120          }
35121       }
35122    }
35123
35124 ////////////////////////////////////////////////////////////////////////
35125 // Standard layouts to be used                                        //
35126 ////////////////////////////////////////////////////////////////////////
35127    /* application with toolbar and main content area */
35128    group { name: "elm/layout/application/toolbar-content";
35129       parts {
35130          part { name: "elm.swallow.content";
35131             type: SWALLOW;
35132             description { state: "default" 0.0;
35133                rel1 { to_y: "elm.external.toolbar";
35134                   relative: 0.0 1.0;
35135                   offset: -1 1;
35136                }
35137             }
35138          }
35139
35140          part { name: "elm.external.toolbar";
35141             type: EXTERNAL;
35142             source: "elm/toolbar";
35143             description { state: "default" 0.0;
35144                align: 0.5 0.0;
35145                fixed: 0 1;
35146                rel2 {
35147                   relative: 1.0 0.0;
35148                   offset: -1 47;
35149                }
35150             }
35151          }
35152       }
35153    }
35154
35155    /* application with toolbar and main content area with a back button and title area */
35156    group { name: "elm/layout/application/toolbar-content-back";
35157       parts {
35158          part { name: "elm.swallow.content";
35159             type: SWALLOW;
35160             description { state: "default" 0.0;
35161                rel1 { to_y: "title_clipper";
35162                   relative: 0.0 1.0;
35163                   offset: -1 1;
35164                }
35165             }
35166          }
35167
35168          part { name: "elm.external.toolbar";
35169             type: EXTERNAL;
35170             source: "elm/toolbar";
35171             description { state: "default" 0.0;
35172                fixed: 0 1;
35173                align: 0.5 0.0;
35174                rel2 {
35175                   relative: 1.0 0.0;
35176                   offset: -1 47;
35177                }
35178             }
35179          }
35180          part { name: "title_clipper";
35181             type: RECT;
35182             description { state: "default" 0.0;
35183                visible: 1;
35184                rel1 {
35185                   to_y: "back";
35186                }
35187                rel2 {
35188                   to_y: "back";
35189                }
35190             }
35191             description { state: "hidden" 0.0;
35192                inherit: "default" 0.0;
35193                visible: 0;
35194                rel2 {
35195                   relative: 1.0 0.0;
35196                }
35197             }
35198          }
35199          part { name: "back_clipper";
35200             type: RECT;
35201             clip_to: "title_clipper";
35202             description { state: "default" 0.0;
35203                visible: 1;
35204             }
35205             description { state: "hidden" 0.0;
35206                visible: 0;
35207             }
35208          }
35209          part { name: "back";
35210             type: EXTERNAL;
35211             source: "elm/button";
35212             clip_to: "back_clipper";
35213             description { state: "default" 0.0;
35214                align: 0.0 0.0;
35215                fixed: 1 1;
35216                rel1 { to_y: "elm.external.toolbar";
35217                   relative: 0.0 1.0;
35218                   offset: 0 1;
35219                }
35220                rel2 { to_y: "elm.external.toolbar";
35221                   relative: 0.0 1.0;
35222                   offset: 50 32;
35223                }
35224                params.string: "label" "Back";
35225             }
35226          }
35227          programs {
35228             program {
35229                signal: "clicked";
35230                source: "back";
35231                action: SIGNAL_EMIT "elm,action,back" "";
35232             }
35233             program {
35234                signal: "elm,back,hide";
35235                source: "elm";
35236                action: STATE_SET "hidden" 0.0;
35237                target: "back_clipper";
35238             }
35239             program {
35240                signal: "elm,back,show";
35241                source: "elm";
35242                action: STATE_SET "default" 0.0;
35243                target: "back_clipper";
35244             }
35245             program {
35246                signal: "elm,title,hide";
35247                source: "elm";
35248                action: STATE_SET "hidden" 0.0;
35249                transition: LINEAR 0.1;
35250                target: "title_clipper";
35251             }
35252             program {
35253                signal: "elm,title,show";
35254                source: "elm";
35255                action: STATE_SET "default" 0.0;
35256                target: "title_clipper";
35257             }
35258          }
35259
35260          part { name: "elm.swallow.end";
35261             type: SWALLOW;
35262             description { state: "default" 0.0;
35263                align: 1.0 0.0;
35264                fixed: 1 1;
35265                rel1 { to_y: "elm.external.toolbar";
35266                   relative: 1.0 1.0;
35267                   offset: -2 1;
35268                }
35269                rel2 { to_y: "elm.external.toolbar";
35270                   relative: 1.0 1.0;
35271                   offset: -1 32;
35272                }
35273             }
35274          }
35275
35276          part { name: "elm.text.title";
35277             type: TEXT;
35278             effect: SOFT_SHADOW;
35279             scale: 1;
35280             description { state: "default" 0.0;
35281                rel1 { to_y: "elm.external.toolbar";
35282                   to_x: "back";
35283                   relative: 1.0 1.0;
35284                   offset: 2 1;
35285                }
35286                rel2 { to_y: "back";
35287                   to_x: "elm.swallow.end";
35288                   relative: 0.0 1.0;
35289                   offset: -3 -1;
35290                }
35291                text {
35292                   font: "Sans:style=Bold";
35293                   size: 12;
35294                }
35295             }
35296          }
35297       }
35298    }
35299
35300    /* application with toolbar and main content area with a back and next buttons and title area */
35301    group { name: "elm/layout/application/toolbar-content-back-next";
35302       parts {
35303          part { name: "elm.swallow.content";
35304             type: SWALLOW;
35305             description { state: "default" 0.0;
35306                rel1 { to_y: "title_clipper";
35307                   relative: 0.0 1.0;
35308                   offset: -1 1;
35309                }
35310             }
35311          }
35312
35313          part { name: "elm.external.toolbar";
35314             type: EXTERNAL;
35315             source: "elm/toolbar";
35316             description { state: "default" 0.0;
35317                fixed: 0 1;
35318                align: 0.5 0.0;
35319                rel2 {
35320                   relative: 1.0 0.0;
35321                   offset: -1 47;
35322                }
35323             }
35324          }
35325          part { name: "title_clipper";
35326             type: RECT;
35327             description { state: "default" 0.0;
35328                visible: 1;
35329                rel1 {
35330                   to_y: "back";
35331                }
35332                rel2 {
35333                   to_y: "back";
35334                }
35335             }
35336             description { state: "hidden" 0.0;
35337                inherit: "default" 0.0;
35338                visible: 0;
35339                rel2 {
35340                   relative: 1.0 0.0;
35341                }
35342             }
35343          }
35344          part { name: "back";
35345             type: EXTERNAL;
35346             source: "elm/button";
35347             clip_to: "back_clipper";
35348             description { state: "default" 0.0;
35349                align: 0.0 0.0;
35350                fixed: 1 1;
35351                rel1 { to_y: "elm.external.toolbar";
35352                   relative: 0.0 1.0;
35353                   offset: 0 1;
35354                }
35355                rel2 { to_y: "elm.external.toolbar";
35356                   relative: 0.0 1.0;
35357                   offset: 50 32;
35358                }
35359                params.string: "label" "Back";
35360             }
35361          }
35362          part { name: "back_clipper";
35363             type: RECT;
35364             clip_to: "title_clipper";
35365             description { state: "default" 0.0;
35366                visible: 1;
35367             }
35368             description { state: "hidden" 0.0;
35369                visible: 0;
35370             }
35371          }
35372          part { name: "next";
35373             type: EXTERNAL;
35374             source: "elm/button";
35375             clip_to: "next_clipper";
35376             description { state: "default" 0.0;
35377                align: 1.0 0.0;
35378                fixed: 1 1;
35379                rel1 { to_y: "elm.external.toolbar";
35380                   relative: 1.0 1.0;
35381                   offset: -2 1;
35382                }
35383                rel2 { to_y: "elm.external.toolbar";
35384                   relative: 1.0 1.0;
35385                   offset: -1 32;
35386                }
35387                params.string: "label" "Next";
35388            }
35389          }
35390          part { name: "next_clipper";
35391             type: RECT;
35392             clip_to: "title_clipper";
35393             description { state: "default" 0.0;
35394                visible: 1;
35395             }
35396             description { state: "hidden" 0.0;
35397                visible: 0;
35398             }
35399          }
35400          programs {
35401             program {
35402                signal: "clicked";
35403                source: "back";
35404                action: SIGNAL_EMIT "elm,action,back" "";
35405             }
35406             program {
35407                signal: "elm,title,hide";
35408                source: "elm";
35409                action: STATE_SET "hidden" 0.0;
35410                transition: LINEAR 0.1;
35411                target: "title_clipper";
35412             }
35413             program {
35414                signal: "elm,title,show";
35415                source: "elm";
35416                action: STATE_SET "default" 0.0;
35417                target: "title_clipper";
35418             }
35419             program {
35420                signal: "elm,back,hide";
35421                source: "elm";
35422                action: STATE_SET "hidden" 0.0;
35423                target: "back_clipper";
35424             }
35425             program {
35426                signal: "elm,back,show";
35427                source: "elm";
35428                action: STATE_SET "default" 0.0;
35429                target: "back_clipper";
35430             }
35431             program {
35432                signal: "clicked";
35433                source: "next";
35434                action: SIGNAL_EMIT "elm,action,next" "";
35435             }
35436             program {
35437                signal: "elm,next,hide";
35438                source: "elm";
35439                action: STATE_SET "hidden" 0.0;
35440                target: "next_clipper";
35441             }
35442             program {
35443                signal: "elm,next,show";
35444                source: "elm";
35445                action: STATE_SET "default" 0.0;
35446                target: "next_clipper";
35447             }
35448          }
35449          part { name: "elm.text.title";
35450             type: TEXT;
35451             effect: SOFT_SHADOW;
35452             scale: 1;
35453             clip_to: "title_clipper";
35454             description { state: "default" 0.0;
35455                rel1 { to_y: "elm.external.toolbar";
35456                   to_x: "back";
35457                   relative: 1.0 1.0;
35458                   offset: 2 1;
35459                }
35460                rel2 { to_y: "back";
35461                   to_x: "next";
35462                   relative: 0.0 1.0;
35463                   offset: -3 -1;
35464                }
35465                text {
35466                   font: "Sans:style=Bold";
35467                   size: 12;
35468                }
35469             }
35470          }
35471       }
35472    }
35473    /* application with a main content area with a back button and title area */
35474    group { name: "elm/layout/application/content-back";
35475       parts {
35476          part { name: "elm.swallow.content";
35477             type: SWALLOW;
35478             description { state: "default" 0.0;
35479                rel1 { to_y: "title_clipper";
35480                   relative: 0.0 1.0;
35481                   offset: -1 1;
35482                }
35483             }
35484          }
35485          part { name: "title_clipper";
35486             type: RECT;
35487             description { state: "default" 0.0;
35488                visible: 1;
35489                rel1 {
35490                   to_y: "back";
35491                }
35492                rel2 {
35493                   to_y: "back";
35494                }
35495             }
35496             description { state: "hidden" 0.0;
35497                inherit: "default" 0.0;
35498                visible: 0;
35499                rel2 {
35500                   relative: 1.0 0.0;
35501                }
35502             }
35503          }
35504          part { name: "back_clipper";
35505             type: RECT;
35506             clip_to: "title_clipper";
35507             description { state: "default" 0.0;
35508                visible: 1;
35509             }
35510             description { state: "hidden" 0.0;
35511                visible: 0;
35512             }
35513          }
35514          part { name: "back";
35515             type: EXTERNAL;
35516             source: "elm/button";
35517             clip_to: "back_clipper";
35518             description { state: "default" 0.0;
35519                align: 0.0 0.0;
35520                fixed: 1 1;
35521                rel1 {
35522                   relative: 0.0 0.0;
35523                   offset: 0 1;
35524                }
35525                rel2 {
35526                   relative: 0.0 0.0;
35527                   offset: 50 32;
35528                }
35529                params.string: "label" "Back";
35530             }
35531          }
35532          programs {
35533             program {
35534                signal: "clicked";
35535                source: "back";
35536                action: SIGNAL_EMIT "elm,action,back" "";
35537             }
35538             program {
35539                signal: "elm,back,hide";
35540                source: "elm";
35541                action: STATE_SET "hidden" 0.0;
35542                target: "back_clipper";
35543             }
35544             program {
35545                signal: "elm,back,show";
35546                source: "elm";
35547                action: STATE_SET "default" 0.0;
35548                target: "back_clipper";
35549             }
35550             program {
35551                signal: "elm,title,hide";
35552                source: "elm";
35553                action: STATE_SET "hidden" 0.0;
35554                transition: LINEAR 0.1;
35555                target: "title_clipper";
35556             }
35557             program {
35558                signal: "elm,title,show";
35559                source: "elm";
35560                action: STATE_SET "default" 0.0;
35561                target: "title_clipper";
35562             }
35563          }
35564
35565          part { name: "elm.swallow.end";
35566             type: SWALLOW;
35567             description { state: "default" 0.0;
35568                align: 1.0 0.0;
35569                fixed: 1 1;
35570                rel1 {
35571                   relative: 1.0 0.0;
35572                   offset: -2 1;
35573                }
35574                rel2 {
35575                   relative: 1.0 1.0;
35576                   offset: -1 32;
35577                }
35578             }
35579          }
35580
35581          part { name: "elm.text.title";
35582             type: TEXT;
35583             effect: SOFT_SHADOW;
35584             scale: 1; 
35585             description { state: "default" 0.0;
35586                rel1 {
35587                   to_x: "back";
35588                   relative: 1.0 0.0;
35589                   offset: 2 1;
35590                }
35591                rel2 { to_y: "back";
35592                   to_x: "elm.swallow.end";
35593                   relative: 0.0 1.0;
35594                   offset: -3 -1;
35595                }
35596                text {
35597                   font: "Sans:style=Bold";
35598                   size: 12;
35599                }
35600             }
35601          }
35602       }
35603    }
35604
35605    /* application with a main content area with a back and next buttons and title area */
35606    group { name: "elm/layout/application/content-back-next";
35607       parts {
35608          part { name: "elm.swallow.content";
35609             type: SWALLOW;
35610             description { state: "default" 0.0;
35611                rel1 { to_y: "title_clipper";
35612                   relative: 0.0 1.0;
35613                   offset: -1 1;
35614                }
35615             }
35616          }
35617
35618          part { name: "title_clipper";
35619             type: RECT;
35620             description { state: "default" 0.0;
35621                visible: 1;
35622                rel1 {
35623                   to_y: "back";
35624                }
35625                rel2 {
35626                   to_y: "back";
35627                }
35628             }
35629             description { state: "hidden" 0.0;
35630                inherit: "default" 0.0;
35631                visible: 0;
35632                rel2 {
35633                   relative: 1.0 0.0;
35634                }
35635             }
35636          }
35637          part { name: "back";
35638             type: EXTERNAL;
35639             source: "elm/button";
35640             clip_to: "back_clipper";
35641             description { state: "default" 0.0;
35642                align: 0.0 0.0;
35643                fixed: 1 1;
35644                rel1 {
35645                   relative: 0.0 0.0;
35646                   offset: 0 1;
35647                }
35648                rel2 {
35649                   relative: 0.0 0.0;
35650                   offset: 50 32;
35651                }
35652                params.string: "label" "Back";
35653             }
35654          }
35655          part { name: "back_clipper";
35656             type: RECT;
35657             clip_to: "title_clipper";
35658             description { state: "default" 0.0;
35659                visible: 1;
35660             }
35661             description { state: "hidden" 0.0;
35662                visible: 0;
35663             }
35664          }
35665          part { name: "next";
35666             type: EXTERNAL;
35667             source: "elm/button";
35668             clip_to: "next_clipper";
35669             description { state: "default" 0.0;
35670                align: 1.0 0.0;
35671                fixed: 1 1;
35672                rel1 {
35673                   relative: 1.0 0.0;
35674                   offset: -2 1;
35675                }
35676                rel2 {
35677                   relative: 1.0 0.0;
35678                   offset: -1 32;
35679                }
35680                params.string: "label" "Next";
35681            }
35682          }
35683          part { name: "next_clipper";
35684             type: RECT;
35685             clip_to: "title_clipper";
35686             description { state: "default" 0.0;
35687                visible: 1;
35688             }
35689             description { state: "hidden" 0.0;
35690                visible: 0;
35691             }
35692          }
35693          programs {
35694             program {
35695                signal: "clicked";
35696                source: "back";
35697                action: SIGNAL_EMIT "elm,action,back" "";
35698             }
35699             program {
35700                signal: "elm,title,hide";
35701                source: "elm";
35702                action: STATE_SET "hidden" 0.0;
35703                transition: LINEAR 0.1;
35704                target: "title_clipper";
35705             }
35706             program {
35707                signal: "elm,title,show";
35708                source: "elm";
35709                action: STATE_SET "default" 0.0;
35710                target: "title_clipper";
35711             }
35712             program {
35713                signal: "elm,back,hide";
35714                source: "elm";
35715                action: STATE_SET "hidden" 0.0;
35716                target: "back_clipper";
35717             }
35718             program {
35719                signal: "elm,back,show";
35720                source: "elm";
35721                action: STATE_SET "default" 0.0;
35722                target: "back_clipper";
35723             }
35724             program {
35725                signal: "clicked";
35726                source: "next";
35727                action: SIGNAL_EMIT "elm,action,next" "";
35728             }
35729             program {
35730                signal: "elm,next,hide";
35731                source: "elm";
35732                action: STATE_SET "hidden" 0.0;
35733                target: "next_clipper";
35734             }
35735             program {
35736                signal: "elm,next,show";
35737                source: "elm";
35738                action: STATE_SET "default" 0.0;
35739                target: "next_clipper";
35740             }
35741          }
35742          part { name: "elm.text.title";
35743             type: TEXT;
35744             effect: SOFT_SHADOW;
35745             scale: 1;
35746             clip_to: "title_clipper";
35747             description { state: "default" 0.0;
35748                rel1 {
35749                   to_x: "back";
35750                   relative: 1.0 0.0;
35751                   offset: 2 1;
35752                }
35753                rel2 { to_y: "back";
35754                   to_x: "next";
35755                   relative: 0.0 1.0;
35756                   offset: -3 -1;
35757                }
35758                text {
35759                   font: "Sans:style=Bold";
35760                   size: 12;
35761                }
35762             }
35763          }
35764       }
35765    }
35766
35767    /* application with toolbar and main content area as a vertical box */
35768    group { name: "elm/layout/application/toolbar-vbox";
35769       parts {
35770          part { name: "elm.box.content";
35771             type: BOX;
35772             description { state: "default" 0.0;
35773                rel1 { to_y: "elm.external.toolbar";
35774                   relative: 0.0 1.0;
35775                   offset: -1 1;
35776                }
35777                box.layout: "vertical";
35778             }
35779          }
35780
35781          part { name: "elm.external.toolbar";
35782             type: EXTERNAL;
35783             source: "elm/toolbar";
35784             description { state: "default" 0.0;
35785                align: 0.5 0.0;
35786                fixed: 0 1;
35787                rel2 {
35788                   relative: 1.0 0.0;
35789                   offset: -1 47;
35790                }
35791             }
35792          }
35793       }
35794    }
35795
35796    /* application with toolbar and main content area as a table */
35797    group { name: "elm/layout/application/toolbar-table";
35798       parts {
35799          part { name: "elm.table.content";
35800             type: TABLE;
35801             description { state: "default" 0.0;
35802                rel1 { to_y: "elm.external.toolbar";
35803                   relative: 0.0 1.0;
35804                   offset: -1 1;
35805                }
35806             }
35807          }
35808
35809          part { name: "elm.external.toolbar";
35810             type: EXTERNAL;
35811             source: "elm/toolbar";
35812             description { state: "default" 0.0;
35813                align: 0.5 0.0;
35814                fixed: 0 1;
35815                rel2 {
35816                   relative: 1.0 0.0;
35817                   offset: -1 47;
35818                }
35819             }
35820          }
35821       }
35822    }
35823
35824 ///////////////////////////////////////////////////////////////////////////////
35825    group { name: "elm/segment_control/base/default";
35826 #define SEGMENT_TYPE_SINGLE 1
35827 #define SEGMENT_TYPE_LEFT 2
35828 #define SEGMENT_TYPE_MIDDLE 3
35829 #define SEGMENT_TYPE_RIGHT 4
35830 #define SEGMENT_STATE_NORMAL 1
35831 #define SEGMENT_STATE_PRESSED 2
35832 #define SEGMENT_STATE_SELECTED 3
35833 #define SEGMENT_STATUS_ENABLED 0
35834 #define SEGMENT_STATUS_DISABLED 1
35835       parts {
35836          part { name: "bg";
35837             type: RECT;
35838             mouse_events: 0;
35839             scale: 1;
35840             description {
35841                state: "default" 0.0;
35842                color: 0 0 0 0;
35843                min: 100 40;
35844             }
35845          }
35846       }
35847    }
35848    group { name: "elm/segment_control/item/default";
35849       data.item: "label.wrap.part" "label.bg";
35850       styles {
35851          style { name: "seg_text_style_normal";
35852             base: "font=Sans font_size=16 style=shadow \
35853             shadow_color=#2924224d \
35854             align=center \
35855             color=#ffffffff wrap=char text_class=label";
35856             tag:  "br" "\n";
35857             tag:  "hilight" "+ font=Sans:style=Bold";
35858             tag:  "tab" "\t";
35859          }
35860          style { name: "seg_text_style_selected";
35861             base: "font=Sans:style=Bold font_size=16 style=shadow \
35862             shadow_color=#aaaaaa4d \
35863             align=center \
35864             color=#111111ff wrap=char text_class=label";
35865             tag:  "br" "\n";
35866             tag:  "hilight" "+ font=Sans:style=Bold";
35867             tag:  "b" "+ font=Sans:style=Bold";
35868             tag:  "tab" "\t";
35869          }
35870          style { name: "seg_text_style_disabled";
35871             base: "font=Sans:style=Medium font_size=16 style=shadow \
35872             shadow_color=#2924224d \
35873             align=center color=#2924224d \
35874             wrap=char text_class=label";
35875             tag:  "br" "\n";
35876             tag:  "hilight" "+ font=Sans:style=Bold";
35877             tag:  "b" "+ font=Sans:style=Bold";
35878             tag:  "tab" "\t";
35879          }
35880       }
35881       images {
35882          image: "seg_single_pressed.png" COMP;
35883          image: "seg_single_selected.png" COMP;
35884          image: "seg_single_normal.png" COMP;
35885
35886          image: "seg_left_pressed.png" COMP;
35887          image: "seg_left_selected.png" COMP;
35888          image: "seg_left_normal.png" COMP;
35889
35890          image: "seg_middle_pressed.png" COMP;
35891          image: "seg_middle_selected.png" COMP;
35892          image: "seg_middle_normal.png" COMP;
35893
35894          image: "seg_right_pressed.png" COMP;
35895          image: "seg_right_selected.png" COMP;
35896          image: "seg_right_normal.png" COMP;
35897       }
35898       parts {
35899          part { name: "segment";
35900             mouse_events: 1;
35901             scale: 1;
35902             description { state: "default" 0.0;
35903                min: 1 1;
35904                visible: 0;
35905                image {
35906                   normal: "seg_single_normal.png";
35907                   border: 7 7 7 7;
35908                   border_scale: 1;
35909                   middle: 1;
35910                }
35911             }
35912             description { state: "default_single" 0.0;
35913                inherit: "default" 0.0;
35914                visible: 1;
35915                image {
35916                   normal: "seg_single_normal.png";
35917                   border: 7 7 7 7;
35918                }
35919             }
35920             description { state: "default_left" 0.0;
35921                inherit: "default" 0.0;
35922                visible: 1;
35923                image {
35924                normal: "seg_left_normal.png";
35925                   border:  6 1 7 7;
35926                }
35927             }
35928             description { state: "default_right" 0.0;
35929                inherit: "default" 0.0;
35930                visible: 1;
35931                image {
35932                   normal: "seg_right_normal.png";
35933                   border: 1 6 7 7;
35934                }
35935             }
35936             description { state: "default_middle" 0.0;
35937                inherit: "default" 0.0;
35938                visible: 1;
35939                image {
35940                   normal: "seg_middle_normal.png";
35941                   border: 2 2 2 2;
35942                }
35943             }
35944             description { state: "pressed_single" 0.0;
35945                inherit: "default" 0.0;
35946                visible: 1;
35947                image {
35948                   normal: "seg_single_pressed.png";
35949                   border: 7 7 7 7;
35950                }
35951             }
35952             description { state: "pressed_left" 0.0;
35953                inherit: "default" 0.0;
35954                visible: 1;
35955                image {
35956                   normal: "seg_left_pressed.png";
35957                   border:  6 1 7 7;
35958                }
35959             }
35960             description { state: "pressed_right" 0.0;
35961                inherit: "default" 0.0;
35962                visible: 1;
35963                image {
35964                   normal: "seg_right_pressed.png";
35965                   border: 1 6 7 7;
35966                }
35967             }
35968             description { state: "pressed_middle" 0.0;
35969                inherit: "default" 0.0;
35970                visible: 1;
35971                image {
35972                   normal: "seg_middle_pressed.png";
35973                   border: 1 1 2 2;
35974                }
35975             }
35976             description { state: "selected_single" 0.0;
35977                inherit: "default" 0.0;
35978                visible: 1;
35979                image {
35980                   normal: "seg_single_selected.png";
35981                   border: 7 7 7 7;
35982                }
35983             }
35984             description { state: "selected_left" 0.0;
35985                inherit: "default" 0.0;
35986                visible: 1;
35987                image {
35988                   normal: "seg_left_selected.png";
35989                   border:  6 3 7 7;
35990                }
35991             }
35992             description { state: "selected_right" 0.0;
35993                inherit: "default" 0.0;
35994                visible: 1;
35995                image {
35996                   normal: "seg_right_selected.png";
35997                   border: 3 6 7 7;
35998                }
35999             }
36000             description { state: "selected_middle" 0.0;
36001                inherit: "default" 0.0;
36002                visible: 1;
36003                image {
36004                   normal: "seg_middle_selected.png";
36005                   border: 3 3 3 3;
36006                }
36007             }
36008          }
36009          part { name: "padding_left";
36010             type: RECT;
36011             scale: 1;
36012             mouse_events: 0;
36013             description { state: "default" 0.0;
36014                align: 0.0 0.0;
36015                rel1.relative: 0.0 0.0;
36016                rel2.relative: 0.0 1.0;
36017                min: 2 2;
36018                max: 2 2;
36019                fixed: 1 0;
36020                color: 0 0 0 0;
36021             }
36022          }
36023          part { name: "padding_right";
36024             type: RECT;
36025             scale: 1;
36026             mouse_events: 0;
36027             description { state: "default" 0.0;
36028                align: 1.0 0.0;
36029                rel1.relative: 1.0 0.0;
36030                rel2.relative: 1.0 1.0;
36031                min: 2 2;
36032                max: 2 2;
36033                fixed: 1 0;
36034                color: 0 0 0 0;
36035             }
36036          }
36037          part { name: "padding_top";
36038             type: RECT;
36039             scale: 1;
36040             mouse_events: 0;
36041             description { state: "default" 0.0;
36042                align: 0.0 0.0;
36043                rel1.relative: 0.0 0.0;
36044                rel2.relative: 1.0 0.0;
36045                min: 2 2;
36046                max: 2 2;
36047                fixed: 0 1;
36048                color: 0 0 0 0;
36049             }
36050          }
36051          part { name: "padding_bottom";
36052             type: RECT;
36053             scale: 1;
36054             mouse_events: 0;
36055             description { state: "default" 0.0;
36056                align: 1.0 1.0;
36057                rel1.relative: 0.0 1.0;
36058                rel2.relative: 1.0 1.0;
36059                min: 2 2;
36060                max: 2 2;
36061                fixed: 0 1;
36062                color: 0 0 0 0;
36063             }
36064          }
36065          part { name: "icon.bg";
36066             type: RECT;
36067             scale: 1;
36068             mouse_events: 0;
36069             description { state: "default" 0.0;
36070                visible: 1;
36071                fixed: 1 0;
36072                rel1 {
36073                   to_x: "padding_left";
36074                   to_y: "padding_top";
36075                   relative: 1.0 1.0;
36076                }
36077                rel2 {
36078                   to: "elm.swallow.icon";
36079                   relative: 1.0 1.0;
36080                }
36081                align: 0.0 0.5;
36082                color: 0 0 0 0;
36083             }
36084          }
36085          part { name: "padding_icon_text";
36086             type: RECT;
36087             scale: 1;
36088             mouse_events: 0;
36089             description { state: "default" 0.0; //when only icon or no icon is there
36090                align: 0.0 0.0;
36091                rel1 {
36092                   to: "icon.bg";
36093                   relative: 1.0 0.0;
36094                }
36095                rel2 {
36096                   to: "icon.bg";
36097                   relative: 1.0 1.0;
36098                }
36099                fixed: 1 0;
36100                min: 0 0;
36101                color: 0 0 0 0;
36102             }
36103             description { state: "icononly" 0.0;
36104                inherit: "default" 0.0;
36105             }
36106             description { state: "visible" 0.0; //when icon is visible
36107                inherit: "default" 0.0;
36108                min: 2 0;
36109             }
36110          }
36111          part { name: "elm.swallow.icon";
36112             type: SWALLOW;
36113             scale: 1;
36114             description { state: "default" 0.0;
36115                visible: 0;
36116                align: 0.0 0.5;
36117                rel1 {
36118                   to_x: "padding_left";
36119                   to_y: "padding_top";
36120                   relative: 1.0 1.0;
36121                }
36122                rel2 {
36123                   to_y: "padding_bottom";
36124                   relative: 0.0 0.0;
36125                }
36126                fixed: 1 0;
36127                aspect: 1.0 1.0;
36128                aspect_preference: BOTH;
36129             }
36130             description { state: "visible" 0.0;
36131                inherit: "default" 0.0;
36132                visible: 1;
36133                rel2 {
36134                   to_y: "padding_bottom";
36135                   relative: 0.3 0.0;
36136                }
36137             }
36138             description { state: "icononly" 0.0;
36139                inherit: "default" 0.0;
36140                visible: 1;
36141                rel2 {
36142                   to_x: "padding_right";
36143                   to_y: "padding_bottom";
36144                   relative: 0.0 0.0;
36145                }
36146                align: 0.5 0.5;
36147             }
36148          }
36149          part { name: "elm.text";
36150             type: TEXT;
36151             mouse_events: 0;
36152             scale: 1;
36153             description {
36154                state: "default" 0.0;
36155                visible: 0;
36156                fixed: 1 1;
36157                min: 1 1;
36158                rel1 {
36159                   to_x: "padding_icon_text";
36160                   relative: 1.0 1.0;
36161                }
36162                rel2 {
36163                   to_x: "padding_right";
36164                   relative: 0.0 0.0;
36165                }
36166                color: 224 224 224 255;
36167                color3: 0 0 0 64;
36168                text {
36169                   font: "Sans";
36170                   ellipsis: 0.0;
36171                   fit: 1 1;
36172                   size: 24;
36173                   size_range: 8 36;
36174                   min: 0 1;
36175                }
36176             }
36177             description { state: "normal" 0.0;
36178                inherit: "default" 0.0;
36179                visible: 1;
36180             }
36181             description { state: "pressed" 0.0;
36182                inherit: "default" 0.0;
36183                visible: 1;
36184                color: 0 0 0 255;
36185             }
36186             description { state: "selected" 0.0;
36187                inherit: "default" 0.0;
36188                visible: 1;
36189                color: 50 50 50 255;
36190             }
36191             description { state: "disabled" 0.0;
36192                inherit: "default" 0.0;
36193                visible: 1;
36194                color: 200 200 200 255;
36195             }
36196          }
36197          part { name: "disabler";
36198             repeat_events: 0;
36199             scale: 1;
36200             description { state: "default" 0.0;
36201                visible: 0;
36202                fixed: 1 1;
36203                min: 1 1;
36204                align: 0.0 0.5;
36205                rel1 { relative: 0.0 0.0; to: "segment";}
36206                rel2 { relative: 1.0 1.0; to: "segment";}
36207                color: 255 255 255 150;
36208             }
36209             description { state: "disabled_single" 0.0;
36210                inherit: "default" 0.0;
36211                visible: 1;
36212                image {
36213                   normal: "seg_single_normal.png";
36214                   border: 7 7 7 7;
36215                }
36216             }
36217             description { state: "disabled_left" 0.0;
36218                inherit: "default" 0.0;
36219                visible: 1;
36220                image {
36221                   normal: "seg_left_normal.png";
36222                   border:  6 1 7 7;
36223                }
36224             }
36225             description { state: "disabled_right" 0.0;
36226                inherit: "default" 0.0;
36227                visible: 1;
36228                image {
36229                   normal: "seg_right_normal.png";
36230                   border: 1 6 7 7;
36231                }
36232             }
36233             description { state: "disabled_middle" 0.0;
36234                inherit: "default" 0.0;
36235                visible: 1;
36236                image {
36237                   normal: "seg_middle_normal.png";
36238                   border: 2 2 2 2;
36239                }
36240             }
36241          }
36242       }
36243       programs {
36244          script {
36245             public seg_type; // Single, Left, Middle, Right.
36246             public seg_state; // Normal/Default, Pressed, Selected.
36247             public seg_status;// Enabled/Default, Disabled
36248
36249             public update_state() {
36250                new type, state, disabled;
36251                type = get_int(seg_type);
36252                state = get_int(seg_state);
36253                disabled = get_int(seg_status);
36254
36255                if(state == SEGMENT_STATE_NORMAL)
36256                  {
36257                     if(type == SEGMENT_TYPE_SINGLE)
36258                       set_state(PART:"segment", "default_single", 0.0);
36259                     else if(type == SEGMENT_TYPE_LEFT)
36260                       set_state(PART:"segment", "default_left", 0.0);
36261                     else if(type == SEGMENT_TYPE_MIDDLE)
36262                       set_state(PART:"segment", "default_middle", 0.0);
36263                     else if(type == SEGMENT_TYPE_RIGHT)
36264                       set_state(PART:"segment", "default_right", 0.0);
36265                     set_state(PART:"elm.text", "normal", 0.0);
36266                  }
36267                else if(state == SEGMENT_STATE_PRESSED)
36268                  {
36269                     if(type == SEGMENT_TYPE_SINGLE)
36270                       set_state(PART:"segment", "pressed_single", 0.0);
36271                     else if(type == SEGMENT_TYPE_LEFT)
36272                       set_state(PART:"segment", "pressed_left", 0.0);
36273                     else if(type == SEGMENT_TYPE_MIDDLE)
36274                       set_state(PART:"segment", "pressed_middle", 0.0);
36275                     else if(type == SEGMENT_TYPE_RIGHT)
36276                       set_state(PART:"segment", "pressed_right", 0.0);
36277                     set_state(PART:"elm.text", "pressed", 0.0);
36278                  }
36279                else if(state == SEGMENT_STATE_SELECTED)
36280                  {
36281                     if(type == SEGMENT_TYPE_SINGLE)
36282                       set_state(PART:"segment", "selected_single", 0.0);
36283                     else if(type == SEGMENT_TYPE_LEFT)
36284                       set_state(PART:"segment", "selected_left", 0.0);
36285                     else if(type == SEGMENT_TYPE_MIDDLE)
36286                       set_state(PART:"segment", "selected_middle", 0.0);
36287                     else if(type == SEGMENT_TYPE_RIGHT)
36288                       set_state(PART:"segment", "selected_right", 0.0);
36289                     set_state(PART:"elm.text", "selected", 0.0);
36290                  }
36291                if(disabled == SEGMENT_STATUS_DISABLED)
36292                  {
36293                     if(type == SEGMENT_TYPE_SINGLE)
36294                       set_state(PART:"disabler", "disabled_single", 0.0);
36295                     else if(type == SEGMENT_TYPE_LEFT)
36296                       set_state(PART:"disabler", "disabled_left", 0.0);
36297                     else if(type == SEGMENT_TYPE_MIDDLE)
36298                       set_state(PART:"disabler", "disabled_middle", 0.0);
36299                     else if(type == SEGMENT_TYPE_RIGHT)
36300                       set_state(PART:"disabler", "disabled_right", 0.0);
36301                     set_state(PART:"elm.text", "disabled", 0.0);
36302                  }
36303             }
36304          }
36305          program {
36306             name: "segment_type_s";
36307             signal: "elm,type,segment,single";
36308             source: "elm";
36309             script {
36310                set_int(seg_type, SEGMENT_TYPE_SINGLE);
36311                update_state();
36312             }
36313          }
36314          program {
36315             name: "segment_type_l";
36316             signal: "elm,type,segment,left";
36317             source: "elm";
36318             script {
36319                set_int(seg_type, SEGMENT_TYPE_LEFT);
36320                update_state();
36321             }
36322          }
36323          program {
36324             name: "segment_type_m";
36325             signal: "elm,type,segment,middle";
36326             source: "elm";
36327             script {
36328                set_int(seg_type, SEGMENT_TYPE_MIDDLE);
36329                update_state();
36330             }
36331          }
36332          program {
36333             name: "segment_type_r";
36334             signal: "elm,type,segment,right";
36335             source: "elm";
36336             script {
36337                set_int(seg_type, SEGMENT_TYPE_RIGHT);
36338                update_state();
36339             }
36340          }
36341          program {
36342             name: "normal_segment";
36343             signal: "elm,state,segment,normal";
36344             source: "elm";
36345             script {
36346                set_int(seg_state, SEGMENT_STATE_NORMAL);
36347                update_state();
36348             }
36349          }
36350          program {
36351             name: "pressed_segment";
36352             signal: "elm,state,segment,pressed";
36353             source: "elm";
36354             script {
36355                set_int(seg_state, SEGMENT_STATE_PRESSED);
36356                update_state();
36357             }
36358          }
36359          program {
36360             name: "selected_segment";
36361             signal: "elm,state,segment,selected";
36362             source: "elm";
36363             script {
36364                set_int(seg_state, SEGMENT_STATE_SELECTED);
36365                update_state();
36366             }
36367          }
36368          program { name: "disable_segment";
36369             signal: "elm,state,disabled";
36370             source: "elm";
36371             script {
36372                set_int(seg_status, SEGMENT_STATUS_DISABLED);
36373                update_state();
36374             }
36375          }
36376          program { name: "enable_segment";
36377             signal: "elm,state,enabled";
36378             source: "elm";
36379             script {
36380                set_int(seg_status, SEGMENT_STATUS_ENABLED);
36381                update_state();
36382             }
36383          }
36384          program { name: "text_show";
36385             signal: "elm,state,text,visible";
36386             source: "elm";
36387             script {
36388                new st[31];
36389                new Float:vl;
36390                get_state(PART:"elm.swallow.icon", st, 30, vl);
36391                if (!strcmp(st, "icononly"))
36392                  {
36393                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36394                     set_state(PART:"padding_icon_text", "visible", 0.0);
36395                  }
36396                get_state(PART:"elm.text", st, 30, vl);
36397                if (!strcmp(st, "selected"))
36398                   set_state(PART:"elm.text", "selected", 0.0);
36399                else
36400                   set_state(PART:"elm.text", "normal", 0.0);
36401             }
36402          }
36403          program { name: "text_hide";
36404             signal: "elm,state,text,hidden";
36405             source: "elm";
36406             script {
36407                new st[31];
36408                new Float:vl;
36409                get_state(PART:"elm.swallow.icon", st, 30, vl);
36410                if (!strcmp(st, "visible"))
36411                  {
36412                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36413                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36414                  }
36415                set_state(PART:"elm.text", "default", 0.0);
36416             }
36417          }
36418          program { name: "icon_show";
36419             signal: "elm,state,icon,visible";
36420             source: "elm";
36421             script {
36422                new st[31];
36423                new Float:vl;
36424                get_state(PART:"elm.text", st, 30, vl);
36425                if ((!strcmp(st, "normal")) || (!strcmp(st, "selected")))
36426                  {
36427                     set_state(PART:"elm.swallow.icon", "visible", 0.0);
36428                     set_state(PART:"padding_icon_text", "visible", 0.0);
36429                  }
36430                else
36431                  {
36432                     set_state(PART:"elm.swallow.icon", "icononly", 0.0);
36433                     set_state(PART:"padding_icon_text", "icononly", 0.0);
36434                  }
36435             }
36436          }
36437          program { name: "icon_hide";
36438             signal: "elm,state,icon,hidden";
36439             source: "elm";
36440             action:  STATE_SET "default" 0.0;
36441             target: "elm.swallow.icon";
36442          }
36443       }
36444 #undef SEGMENT_TYPE_SINGLE
36445 #undef SEGMENT_TYPE_LEFT
36446 #undef SEGMENT_TYPE_MIDDLE
36447 #undef SEGMENT_TYPE_RIGHT
36448 #undef SEGMENT_STATE_NORMAL
36449 #undef SEGMENT_STATE_PRESSED
36450 #undef SEGMENT_STATE_SELECTED
36451 #undef SEGMENT_STATUS_ENABLED
36452 #undef SEGMENT_STATUS_DISABLED
36453    }
36454
36455    /* a simple title layout, with a label and two icons */
36456    group { name: "elm/layout/application/titlebar";
36457       images {
36458          image: "toolbar_sel.png" COMP;
36459       }
36460       parts {
36461          part { name: "base";
36462             mouse_events: 0;
36463             scale: 1;
36464             description { state: "default" 0.0;
36465                min: 0 33;
36466                max: 99999 33;
36467                align: 0.5 0.0;
36468                rel1.offset: -1 0;
36469                rel2.offset: 1 0;
36470                image {
36471                   normal: "toolbar_sel.png";
36472                   border: 3 3 0 0;
36473                }
36474             }
36475          }
36476          part { name: "elm.swallow.content";
36477             type: SWALLOW;
36478             description { state: "default" 0.0;
36479                visible: 1;
36480                rel1 {
36481                   to: "base";
36482                   relative: 0.0 1.0;
36483                }
36484             }
36485          }
36486          part { name: "elm.swallow.icon";
36487             type: SWALLOW;
36488             scale: 1;
36489             description { state: "default" 0.0;
36490                visible: 0;
36491                fixed: 1 1;
36492                align: 0.0 0.0;
36493                rel1 {
36494                   to: "base";
36495                   relative: 0.0 0.0;
36496                   offset: 4 0;
36497                }
36498                rel2 {
36499                   to: "base";
36500                   relative: 0.0 1.0;
36501                }
36502             }
36503             description { state: "visible" 0.0;
36504                inherit: "default" 0.0;
36505                visible: 1;
36506             }
36507          }
36508          part { name: "elm.swallow.end";
36509             type: SWALLOW;
36510             scale: 1;
36511             description { state: "default" 0.0;
36512                visible: 0;
36513                fixed: 1 1;
36514                align: 1.0 0.0;
36515                rel1 {
36516                   to: "base";
36517                   relative: 1.0 0.0;
36518                   offset: 0 0;
36519                }
36520                rel2 {
36521                   to: "base";
36522                   relative: 1.0 1.0;
36523                   offset: -5 -1;
36524                }
36525             }
36526             description { state: "visible" 0.0;
36527                inherit: "default" 0.0;
36528                visible: 1;
36529             }
36530          }
36531          part { name: "elm.text";
36532             type: TEXT;
36533             effect: SOFT_SHADOW;
36534             mouse_events: 0;
36535             scale: 1;
36536             description { state: "default" 0.0;
36537                fixed: 1 1;
36538                rel1 {
36539                   to_x: "elm.swallow.icon";
36540                   to_y: "base";
36541                   relative: 1.0 0.0;
36542                }
36543                rel2 {
36544                   to_x: "elm.swallow.end";
36545                   to_y: "base";
36546                   relative: 0.0 1.0;
36547                }
36548                text {
36549                   font: "Sans";
36550                   size: 12;
36551                   min: 0 0;
36552                   align: 0.5 0.5;
36553                   text_class: "title_bar";
36554                }
36555             }
36556          }
36557       }
36558       programs {
36559          program { name: "show_icon";
36560             signal: "elm,state,icon,visible";
36561             source: "elm";
36562             action: STATE_SET "visible" 0.0;
36563             target: "elm.swallow.icon";
36564          }
36565          program { name: "hide_icon";
36566             signal: "elm,state,icon,hidden";
36567             source: "elm";
36568             action: STATE_SET "default" 0.0;
36569             target: "elm.swallow.icon";
36570          }
36571          program { name: "show_end";
36572             signal: "elm,state,end,visible";
36573             source: "elm";
36574             action: STATE_SET "visible" 0.0;
36575             target: "elm.swallow.end";
36576          }
36577          program { name: "hide_end";
36578             signal: "elm,state,end,hidden";
36579             source: "elm";
36580             action: STATE_SET "default" 0.0;
36581             target: "elm.swallow.end";
36582          }
36583       }
36584    }
36585 }