wow! how did i miss that? ;++
[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: "base";
7916             scale: 1;
7917             description { state: "default" 0.0;
7918                rel1.offset: -3 -3;
7919                rel2.offset: 3 3;
7920                image { normal: "bt_base2.png";
7921                   border: 7 7 7 7;
7922                }
7923             }
7924          }
7925          part { name: "over1";
7926             scale: 1;
7927             description { state: "default" 0.0;
7928                rel1.to: "base";
7929                rel2.to: "base";
7930                rel2.relative: 1.0 0.5;
7931                image { normal: "bt_hilight.png";
7932                   border: 7 7 7 0;
7933                }
7934             }
7935          }
7936          part { name: "over2";
7937             scale: 1;
7938             description { state: "default" 0.0;
7939                rel1.to: "base";
7940                rel2.to: "base";
7941                image { normal: "bt_shine.png";
7942                   border: 7 7 7 7;
7943                }
7944             }
7945          }
7946          part { name: "elm.swallow.content";
7947             type: SWALLOW;
7948             description { state: "default" 0.0;
7949                rel1 { to:"base"; offset: 4 4; };
7950                rel2 { to:"base"; offset: -5 -5; };
7951             }
7952          }          
7953       }
7954    }
7955 ///////////////////////////////////////////////////////////////////////////////
7956    group { name: "elm/ctxpopup/arrow/default";
7957       images {
7958          image: "icon_arrow_left.png" COMP;
7959          image: "icon_arrow_right.png" COMP;
7960          image: "icon_arrow_up.png" COMP;
7961          image: "icon_arrow_down.png" COMP;
7962       }
7963       parts {
7964          part { name: "ctxpopup_arrow";
7965             type: IMAGE;
7966             scale: 1;
7967             description {
7968                state: "default" 0.0;
7969                min: 40 40;
7970                fixed: 1 1;
7971                visible: 0;
7972                align: 0.5 0.5;
7973             }
7974             description {
7975                state: "left" 0.0;
7976                min: 40 40;
7977                fixed: 1 1;
7978                align: 0.0 0.5;
7979                rel1 { offset: 7 0; }
7980                rel2 { offset: 6 -1; }
7981                image { normal: "icon_arrow_left.png"; }
7982             }
7983             description { state: "right" 0.0;
7984                min: 40 40;
7985                fixed: 1 1;
7986                align: 1.0 0.5;
7987                rel1 { offset: -7 0; }
7988                rel2 { offset: -8 -1; }
7989                image { normal: "icon_arrow_right.png"; }
7990             }
7991             description { state: "top" 0.0;
7992                min: 40 40;
7993                fixed: 1 1;
7994                align: 0.5 0.0;
7995                rel1 { offset: 0 7; }
7996                rel2 { offset: -1 6; }
7997                image { normal: "icon_arrow_up.png"; }
7998             }
7999             description { state: "bottom" 0.0;
8000                min: 40 40;
8001                fixed: 1 1;
8002                align: 0.5 1.0;
8003                rel1 { offset: 0 -7; }
8004                rel2 { offset: -1 -8; }
8005                image { normal: "icon_arrow_down.png"; }
8006             }
8007          }
8008       }
8009       programs {
8010          program { name: "enable_left_arrow";
8011             signal: "elm,state,left";
8012             source: "elm";
8013             action: STATE_SET "left" 0.0;
8014             target: "ctxpopup_arrow";
8015          }
8016          program { name: "enable_right_arrow";
8017             signal: "elm,state,right";
8018             source: "elm";
8019             action: STATE_SET "right" 0.0;
8020             target: "ctxpopup_arrow";
8021          }
8022          program { name: "enable_top_arrow";
8023             signal: "elm,state,top";
8024             source: "elm";
8025             action: STATE_SET "top" 0.0;
8026             target: "ctxpopup_arrow";
8027          }
8028          program { name: "enable_bottom_arrow";
8029             signal: "elm,state,bottom";
8030             source: "elm";
8031             action: STATE_SET "bottom" 0.0;
8032             target: "ctxpopup_arrow";
8033          }
8034       }
8035    }
8036 ///////////////////////////////////////////////////////////////////////////////
8037    group {
8038       name: "elm/ctxpopup/icon_text_style_item/default";
8039            alias: "elm/ctxpopup/text_style_item/default";
8040            alias: "elm/ctxpopup/icon_style_item/default";
8041       images {
8042          image: "hoversel_entry_bg.png" COMP;
8043       }
8044       parts {
8045          part { name: "event";
8046             mouse_events: 1;
8047             description { state: "default" 0.0;
8048             }
8049          }
8050          part { name: "bg";
8051             mouse_events: 0;
8052             description { state: "default" 0.0;
8053                rel1.offset: 2 2;
8054                rel2.offset: -3 -3;
8055                image { normal:"hoversel_entry_bg.png";
8056                   border: 0 0 2 2;
8057                }
8058                fill.smooth: 0;
8059                color: 255 255 255 0;
8060             }
8061             description { state: "clicked" 0.0;
8062                inherit: "default" 0.0;
8063                color: 255 255 255 255;
8064             }
8065          }
8066          part { name: "elm.swallow.icon";
8067             type: SWALLOW;
8068             clip_to: "disclip";
8069             scale: 1;
8070             description { state: "default" 0.0;
8071                min: 25 25;
8072                max: 25 25;  
8073                align: 0 0.5;
8074                aspect: 1.0 1.0;
8075                rel1 { offset: 10 10; }  
8076                                         rel2 { offset: 0 -10; }
8077             }
8078          }
8079          part { name: "elm.text";
8080             type: TEXT;
8081             mouse_events: 0;
8082             clip_to: "disclip";
8083             scale: 1;
8084             description { state: "default" 0.0;
8085                min: 1 40;
8086                fixed: 0 1;
8087                align: 0.5 0.5;
8088                rel1 { relative: 1.0 0.0; to: "elm.swallow.icon"; offset: 10 0; }
8089                rel2 { relative: 1.0 1.0; offset: -11 -1; }
8090                color: 255 255 255 255;
8091                text {
8092                   font: "Sans";
8093                   size: 10;
8094                   align: 0.0 0.5;
8095                   min: 1 1;
8096                }
8097             }
8098             description { state: "clicked" 0.0;
8099                inherit: "default" 0.0;
8100                color: 0 0 0 255;
8101             }
8102          }
8103                         part { name: "over1";
8104             mouse_events: 1;
8105             repeat_events: 1;
8106             ignore_flags: ON_HOLD;
8107             description { state: "default" 0.0;
8108                color: 255 255 255 0;
8109             }
8110             description { state: "clicked" 0.0;
8111                inherit: "default" 0.0;
8112                color: 255 255 255 255;
8113             }
8114          }
8115          part { name: "over2";
8116             mouse_events: 1;
8117             repeat_events: 1;
8118             description { state: "default" 0.0;
8119                color: 255 255 255 0;
8120             }
8121             description { state: "clicked" 0.0;
8122                inherit: "default" 0.0;
8123                color: 255 255 255 255;
8124             }
8125          }
8126          part { name: "disclip";
8127             type: RECT;
8128             description { state: "default" 0.0;
8129                color: 255 255 255 255;
8130             }
8131             description { state: "enabled" 0.0;
8132                color: 127 127 127 127;
8133             }
8134          }
8135          part { name: "blocker";
8136             description { state: "default" 0.0;
8137                visible: 0;
8138             }
8139             description { state: "enabled" 0.0;
8140                visible: 1;
8141                color: 0 0 0 0;
8142             }
8143          }
8144                 }
8145       programs {
8146          program {
8147             name: "item_unclick";
8148             signal: "mouse,up,1";
8149             source: "over1";
8150             action: SIGNAL_EMIT "elm,action,click" "";
8151          }
8152          program { name: "disable";
8153             signal: "elm,state,disabled";
8154             source: "elm";
8155             action: STATE_SET "enabled" 0.0;
8156             target: "disclip";
8157             target: "blocker";
8158          }
8159          program { name: "enable";
8160             signal: "elm,state,enabled";
8161             source: "elm";
8162             action: STATE_SET "default" 0.0;
8163             target: "disclip";
8164             target: "blocker";
8165          }
8166          program { name: "item_click2";
8167             signal: "mouse,down,1";
8168             source: "over2";
8169             script {
8170                set_state(PART:"elm.text", "clicked", 0.0);
8171                set_state(PART:"bg", "clicked", 0.0);
8172             }
8173          }
8174          program { name: "item_unclick2";
8175             signal: "mouse,up,1";
8176             source: "over2";
8177             script {
8178                                         set_state(PART:"elm.text", "default", 0.0);
8179                set_state(PART:"bg", "default", 0.0);
8180             }
8181          }
8182       }
8183    }
8184 ///////////////////////////////////////////////////////////////////////////////
8185 // emoticon images from:
8186 // Tanya - Latvia
8187 // http://lazycrazy.deviantart.com/
8188 // http://lazycrazy.deviantart.com/art/Very-Emotional-Emoticons-144461621
8189   group { name: "elm/entry/emoticon/angry/default"; images.image:
8190      "emo-angry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8191         "emo-angry.png"; } } } }
8192   group { name: "elm/entry/emoticon/angry-shout/default"; images.image:
8193      "emo-angry-shout.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8194         "emo-angry-shout.png"; } } } }
8195   group { name: "elm/entry/emoticon/crazy-laugh/default"; images.image:
8196      "emo-crazy-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8197         "emo-crazy-laugh.png"; } } } }
8198   group { name: "elm/entry/emoticon/evil-laugh/default"; images.image:
8199      "emo-evil-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8200         "emo-evil-laugh.png"; } } } }
8201   group { name: "elm/entry/emoticon/evil/default"; images.image:
8202      "emo-evil.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8203         "emo-evil.png"; } } } }
8204   group { name: "elm/entry/emoticon/goggle-smile/default"; images.image:
8205      "emo-goggle-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8206         "emo-goggle-smile.png"; } } } }
8207   group { name: "elm/entry/emoticon/grumpy/default"; images.image:
8208      "emo-grumpy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8209         "emo-grumpy.png"; } } } }
8210   group { name: "elm/entry/emoticon/grumpy-smile/default"; images.image:
8211      "emo-grumpy-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8212         "emo-grumpy-smile.png"; } } } }
8213   group { name: "elm/entry/emoticon/guilty/default"; images.image:
8214      "emo-guilty.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8215         "emo-guilty.png"; } } } }
8216   group { name: "elm/entry/emoticon/guilty-smile/default"; images.image:
8217      "emo-guilty-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8218         "emo-guilty-smile.png"; } } } }
8219   group { name: "elm/entry/emoticon/haha/default"; images.image:
8220      "emo-haha.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8221         "emo-haha.png"; } } } }
8222   group { name: "elm/entry/emoticon/half-smile/default"; images.image:
8223      "emo-half-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8224         "emo-half-smile.png"; } } } }
8225   group { name: "elm/entry/emoticon/happy-panting/default"; images.image:
8226      "emo-happy-panting.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8227         "emo-happy-panting.png"; } } } }
8228   group { name: "elm/entry/emoticon/happy/default"; images.image:
8229      "emo-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8230         "emo-happy.png"; } } } }
8231   group { name: "elm/entry/emoticon/indifferent/default"; images.image:
8232      "emo-indifferent.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8233         "emo-indifferent.png"; } } } }
8234   group { name: "elm/entry/emoticon/kiss/default"; images.image:
8235      "emo-kiss.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8236         "emo-kiss.png"; } } } }
8237   group { name: "elm/entry/emoticon/knowing-grin/default"; images.image:
8238      "emo-knowing-grin.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8239         "emo-knowing-grin.png"; } } } }
8240   group { name: "elm/entry/emoticon/laugh/default"; images.image:
8241      "emo-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8242         "emo-laugh.png"; } } } }
8243   group { name: "elm/entry/emoticon/little-bit-sorry/default"; images.image:
8244      "emo-little-bit-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8245         "emo-little-bit-sorry.png"; } } } }
8246   group { name: "elm/entry/emoticon/love-lots/default"; images.image:
8247      "emo-love-lots.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8248         "emo-love-lots.png"; } } } }
8249   group { name: "elm/entry/emoticon/love/default"; images.image:
8250      "emo-love.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8251         "emo-love.png"; } } } }
8252   group { name: "elm/entry/emoticon/minimal-smile/default"; images.image:
8253      "emo-minimal-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8254         "emo-minimal-smile.png"; } } } }
8255   group { name: "elm/entry/emoticon/not-happy/default"; images.image:
8256      "emo-not-happy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8257         "emo-not-happy.png"; } } } }
8258   group { name: "elm/entry/emoticon/not-impressed/default"; images.image:
8259      "emo-not-impressed.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8260         "emo-not-impressed.png"; } } } }
8261   group { name: "elm/entry/emoticon/omg/default"; images.image:
8262      "emo-omg.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8263         "emo-omg.png"; } } } }
8264   group { name: "elm/entry/emoticon/opensmile/default"; images.image:
8265      "emo-opensmile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8266         "emo-opensmile.png"; } } } }
8267   group { name: "elm/entry/emoticon/smile/default"; images.image:
8268      "emo-smile.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8269         "emo-smile.png"; } } } }
8270   group { name: "elm/entry/emoticon/sorry/default"; images.image:
8271      "emo-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8272         "emo-sorry.png"; } } } }
8273   group { name: "elm/entry/emoticon/squint-laugh/default"; images.image:
8274      "emo-squint-laugh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8275         "emo-squint-laugh.png"; } } } }
8276   group { name: "elm/entry/emoticon/surprised/default"; images.image:
8277      "emo-surprised.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8278         "emo-surprised.png"; } } } }
8279   group { name: "elm/entry/emoticon/suspicious/default"; images.image:
8280      "emo-suspicious.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8281         "emo-suspicious.png"; } } } }
8282   group { name: "elm/entry/emoticon/tongue-dangling/default"; images.image:
8283      "emo-tongue-dangling.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8284         "emo-tongue-dangling.png"; } } } }
8285   group { name: "elm/entry/emoticon/tongue-poke/default"; images.image:
8286      "emo-tongue-poke.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8287         "emo-tongue-poke.png"; } } } }
8288   group { name: "elm/entry/emoticon/uh/default"; images.image:
8289      "emo-uh.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8290         "emo-uh.png"; } } } }
8291   group { name: "elm/entry/emoticon/unhappy/default"; images.image:
8292      "emo-unhappy.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8293         "emo-unhappy.png"; } } } }
8294   group { name: "elm/entry/emoticon/very-sorry/default"; images.image:
8295      "emo-very-sorry.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8296         "emo-very-sorry.png"; } } } }
8297   group { name: "elm/entry/emoticon/what/default"; images.image:
8298      "emo-what.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8299         "emo-what.png"; } } } }
8300   group { name: "elm/entry/emoticon/wink/default"; images.image:
8301      "emo-wink.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8302         "emo-wink.png"; } } } }
8303   group { name: "elm/entry/emoticon/worried/default"; images.image:
8304      "emo-worried.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8305         "emo-worried.png"; } } } }
8306   group { name: "elm/entry/emoticon/wtf/default"; images.image:
8307      "emo-wtf.png" COMP; parts { part { name: "icon"; mouse_events: 0; description { state: "default" 0.0; max: 64 64; image.normal:
8308         "emo-wtf.png"; } } } }
8309 //------------------------------------------------------------
8310    group { name: "elm/entry/base/default";
8311       styles
8312       {
8313          style { name: "entry_textblock_style";
8314             base: "font=Sans font_size=10 color=#000 wrap=word text_class=entry";
8315             tag:  "br" "\n";
8316             tag:  "ps" "ps";
8317             tag:  "tab" "\t";
8318             tag:  "em" "+ font=Sans:style=Oblique";
8319             tag:  "b" "+ font=Sans:style=Bold";
8320             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8321             tag:  "hilight" "+ font=Sans:style=Bold";
8322          }
8323          style { name: "entry_textblock_disabled_style";
8324             base: "font=Sans font_size=10 color=#00000080 wrap=word text_class=entry";
8325             tag:  "br" "\n";
8326             tag:  "ps" "ps";
8327             tag:  "tab" "\t";
8328             tag:  "em" "+ font=Sans:style=Oblique";
8329             tag:  "b" "+ font=Sans:style=Bold";
8330             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8331             tag:  "hilight" "+ font=Sans:style=Bold";
8332          }
8333       }
8334       data {
8335 //         item: context_menu_orientation "horizontal";
8336       }
8337       parts {
8338          part { name: "elm.text";
8339             type: TEXTBLOCK;
8340             mouse_events: 1;
8341             scale: 1;
8342             entry_mode: EDITABLE;
8343             select_mode: EXPLICIT;
8344             multiline: 1;
8345             source: "elm/entry/selection/default"; // selection under
8346    //       source2: "X"; // selection over
8347    //       source3: "X"; // cursor under
8348             source4: "elm/entry/cursor/default"; // cursorover
8349             source5: "elm/entry/anchor/default"; // anchor under
8350    //       source6: "X"; // anchor over
8351             description { state: "default" 0.0;
8352                /* we gotta use 0 0 here, because of scrolled entries */
8353                fixed: 0 0;
8354                text {
8355                   style: "entry_textblock_style";
8356                   min: 0 1;
8357                }
8358             }
8359             description { state: "disabled" 0.0;
8360                inherit: "default" 0.0;
8361                text {
8362                   style: "entry_textblock_disabled_style";
8363                   min: 0 1;
8364                }
8365             }
8366          }
8367       }
8368       programs {
8369          program { name: "focus";
8370             signal: "load";
8371             source: "";
8372             action: FOCUS_SET;
8373             target: "elm.text";
8374          }
8375          program { name: "disable";
8376             signal: "elm,state,disabled";
8377             source: "elm";
8378             action: STATE_SET "disabled" 0.0;
8379             target: "elm.text";
8380          }
8381          program { name: "enable";
8382             signal: "elm,state,enabled";
8383             source: "elm";
8384             action: STATE_SET "default" 0.0;
8385             target: "elm.text";
8386          }
8387       }
8388    }
8389
8390    group { name: "elm/entry/base-charwrap/default";
8391       styles
8392       {
8393          style { name: "entry_textblock_style_charwrap";
8394             base: "font=Sans font_size=10 color=#000 wrap=char text_class=entry";
8395             tag:  "br" "\n";
8396             tag:  "ps" "ps";
8397             tag:  "tab" "\t";
8398             tag:  "em" "+ font=Sans:style=Oblique";
8399             tag:  "b" "+ font=Sans:style=Bold";
8400             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8401             tag:  "hilight" "+ font=Sans:style=Bold";
8402          }
8403          style { name: "entry_textblock_disabled_style_charwrap";
8404             base: "font=Sans font_size=10 color=#00000080 wrap=char text_class=entry";
8405             tag:  "br" "\n";
8406             tag:  "ps" "ps";
8407             tag:  "tab" "\t";
8408             tag:  "em" "+ font=Sans:style=Oblique";
8409             tag:  "b" "+ font=Sans:style=Bold";
8410             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8411             tag:  "hilight" "+ font=Sans:style=Bold";
8412          }
8413       }
8414       parts {
8415          part { name: "elm.text";
8416             type: TEXTBLOCK;
8417             mouse_events: 1;
8418             scale: 1;
8419             entry_mode: EDITABLE;
8420             select_mode: EXPLICIT;
8421             multiline: 1;
8422             source: "elm/entry/selection/default"; // selection under
8423 //          source2: "X"; // selection over
8424 //          source3: "X"; // cursor under
8425             source4: "elm/entry/cursor/default"; // cursorover
8426             source5: "elm/entry/anchor/default"; // anchor under
8427 //          source6: "X"; // anchor over
8428             description { state: "default" 0.0;
8429                fixed: 1 0;
8430                text {
8431                   style: "entry_textblock_style_charwrap";
8432                   min: 0 1;
8433                }
8434             }
8435             description { state: "disabled" 0.0;
8436                inherit: "default" 0.0;
8437                text {
8438                   style: "entry_textblock_disabled_style_charwrap";
8439                   min: 0 1;
8440                }
8441             }
8442          }
8443       }
8444       programs {
8445          program { name: "focus";
8446             signal: "load";
8447             source: "";
8448             action: FOCUS_SET;
8449             target: "elm.text";
8450          }
8451          program { name: "disable";
8452             signal: "elm,state,disabled";
8453             source: "elm";
8454             action: STATE_SET "disabled" 0.0;
8455             target: "elm.text";
8456          }
8457          program { name: "enable";
8458             signal: "elm,state,enabled";
8459             source: "elm";
8460             action: STATE_SET "default" 0.0;
8461             target: "elm.text";
8462          }
8463       }
8464    }
8465
8466    group { name: "elm/entry/base-nowrap/default";
8467       parts {
8468          part { name: "elm.text";
8469             type: TEXTBLOCK;
8470             mouse_events: 1;
8471             scale: 1;
8472             entry_mode: EDITABLE;
8473             select_mode: EXPLICIT;
8474             multiline: 1;
8475             source: "elm/entry/selection/default"; // selection under
8476             source4: "elm/entry/cursor/default"; // cursorover
8477             source5: "elm/entry/anchor/default"; // anchor under
8478             description { state: "default" 0.0;
8479                text {
8480                   style: "entry_textblock_style";
8481                   min: 1 1;
8482                }
8483             }
8484             description { state: "disabled" 0.0;
8485                inherit: "default" 0.0;
8486                text {
8487                   style: "entry_textblock_disabled_style";
8488                   min: 0 1;
8489                }
8490             }
8491          }
8492 /*
8493          part { name: "sel";
8494             type: RECT;
8495             mouse_events: 0;
8496             description { state: "default" 0.0;
8497                align: 1.0 1.0;
8498                max: 16 16;
8499                aspect: 1.0 1.0;
8500                color: 255 0 0 0;
8501             }
8502             description { state: "visible" 0.0;
8503                inherit: "default" 0.0;
8504                color: 255 0 0 50;
8505             }
8506          }
8507  */
8508       }
8509       programs {
8510          program { name: "focus";
8511             signal: "load";
8512             source: "";
8513             action: FOCUS_SET;
8514             target: "elm.text";
8515          }
8516          program { name: "disable";
8517             signal: "elm,state,disabled";
8518             source: "elm";
8519             action: STATE_SET "disabled" 0.0;
8520             target: "elm.text";
8521          }
8522          program { name: "enable";
8523             signal: "elm,state,enabled";
8524             source: "elm";
8525             action: STATE_SET "default" 0.0;
8526             target: "elm.text";
8527          }
8528 /*
8529          program { name: "selmode0";
8530             signal: "elm,state,select,on";
8531             source: "elm";
8532             action: STATE_SET "visible" 0.0;
8533             target: "sel";
8534          }
8535          program { name: "selmode1";
8536             signal: "elm,state,select,off";
8537             source: "elm";
8538             action: STATE_SET "default" 0.0;
8539             target: "sel";
8540          }
8541  */
8542       }
8543    }
8544
8545    group { name: "elm/entry/base-single/default";
8546       styles
8547       {
8548          style { name: "entry_single_textblock_style";
8549             base: "font=Sans font_size=10 color=#000 wrap=none text_class=entry";
8550             tag:  "br" "\n";
8551             tag:  "ps" "ps";
8552             tag:  "tab" "\t";
8553             tag:  "em" "+ font=Sans:style=Oblique";
8554             tag:  "b" "+ font=Sans:style=Bold";
8555             tag:  "link" "+ color=#800 underline=on underline_color=#8008";
8556             tag:  "hilight" "+ font=Sans:style=Bold";
8557          }
8558          style { name: "entry_single_textblock_disabled_style";
8559             base: "font=Sans font_size=10 color=#00000080 wrap=none text_class=entry";
8560             tag:  "br" "\n";
8561             tag:  "ps" "ps";
8562             tag:  "tab" "\t";
8563             tag:  "em" "+ font=Sans:style=Oblique";
8564             tag:  "b" "+ font=Sans:style=Bold";
8565             tag:  "link" "+ color=#00000080 underline=on underline_color=#00000080";
8566             tag:  "hilight" "+ font=Sans:style=Bold";
8567          }
8568       }
8569       parts {
8570          part { name: "elm.text";
8571             type: TEXTBLOCK;
8572             mouse_events: 1;
8573             scale: 1;
8574             entry_mode: EDITABLE;
8575             select_mode: EXPLICIT;
8576             multiline: 0;
8577             source: "elm/entry/selection/default"; // selection under
8578             source4: "elm/entry/cursor/default"; // cursorover
8579             source5: "elm/entry/anchor/default"; // anchor under
8580             description { state: "default" 0.0;
8581                text {
8582                   style: "entry_single_textblock_style";
8583                   min: 1 1;
8584                   max: 0 1;
8585                }
8586             }
8587             description { state: "disabled" 0.0;
8588                inherit: "default" 0.0;
8589                text {
8590                   style: "entry_single_textblock_disabled_style";
8591                }
8592             }
8593          }
8594       }
8595       programs {
8596          program { name: "focus";
8597             signal: "load";
8598             source: "";
8599             action: FOCUS_SET;
8600             target: "elm.text";
8601          }
8602          program { name: "disable";
8603             signal: "elm,state,disabled";
8604             source: "elm";
8605             action: STATE_SET "disabled" 0.0;
8606             target: "elm.text";
8607          }
8608          program { name: "enable";
8609             signal: "elm,state,enabled";
8610             source: "elm";
8611             action: STATE_SET "default" 0.0;
8612             target: "elm.text";
8613          }
8614       }
8615    }
8616
8617    group { name: "elm/entry/base-single-noedit/default";
8618       parts {
8619          part { name: "elm.text";
8620             type: TEXTBLOCK;
8621             mouse_events: 1;
8622             scale: 1;
8623             entry_mode: PLAIN;
8624             select_mode: EXPLICIT;
8625             multiline: 0;
8626             source: "elm/entry/selection/default"; // selection under
8627             source5: "elm/entry/anchor/default"; // anchor under
8628             description { state: "default" 0.0;
8629                text {
8630                   style: "entry_single_textblock_style";
8631                   min: 1 1;
8632                   max: 0 1;
8633                }
8634             }
8635             description { state: "disabled" 0.0;
8636                inherit: "default" 0.0;
8637                text {
8638                style: "entry_single_textblock_disabled_style";
8639                }
8640             }
8641          }
8642       }
8643       programs {
8644          program { name: "focus";
8645             signal: "load";
8646             source: "";
8647             action: FOCUS_SET;
8648             target: "elm.text";
8649          }
8650          program { name: "disable";
8651             signal: "elm,state,disabled";
8652             source: "elm";
8653             action: STATE_SET "disabled" 0.0;
8654             target: "elm.text";
8655          }
8656          program { name: "enable";
8657             signal: "elm,state,enabled";
8658             source: "elm";
8659             action: STATE_SET "default" 0.0;
8660             target: "elm.text";
8661          }
8662       }
8663    }
8664
8665    group { name: "elm/entry/base-noedit/default";
8666       parts {
8667          part { name: "elm.text";
8668             type: TEXTBLOCK;
8669             mouse_events: 1;
8670             scale: 1;
8671             entry_mode: PLAIN;
8672             select_mode: EXPLICIT;
8673             multiline: 1;
8674             source: "elm/entry/selection/default"; // selection under
8675             source5: "elm/entry/anchor/default"; // anchor under
8676             description { state: "default" 0.0;
8677                fixed: 1 0;
8678                text {
8679                   style: "entry_textblock_style";
8680                   min: 0 1;
8681                }
8682             }
8683             description { state: "disabled" 0.0;
8684                inherit: "default" 0.0;
8685                text {
8686                   style: "entry_textblock_disabled_style";
8687                }
8688             }
8689          }
8690       }
8691       programs {
8692          program { name: "focus";
8693             signal: "load";
8694             source: "";
8695             action: FOCUS_SET;
8696             target: "elm.text";
8697          }
8698          program { name: "disable";
8699             signal: "elm,state,disabled";
8700             source: "elm";
8701             action: STATE_SET "disabled" 0.0;
8702             target: "elm.text";
8703          }
8704          program { name: "enable";
8705             signal: "elm,state,enabled";
8706             source: "elm";
8707             action: STATE_SET "default" 0.0;
8708             target: "elm.text";
8709          }
8710       }
8711    }
8712
8713    group { name: "elm/entry/base-noedit-charwrap/default";
8714       parts {
8715          part { name: "elm.text";
8716             type: TEXTBLOCK;
8717             mouse_events: 1;
8718             scale: 1;
8719             entry_mode: PLAIN;
8720             select_mode: EXPLICIT;
8721             multiline: 1;
8722             source: "elm/entry/selection/default"; // selection under
8723             source5: "elm/entry/anchor/default"; // anchor under
8724             description { state: "default" 0.0;
8725                fixed: 1 0;
8726                text {
8727                   style: "entry_textblock_style_charwrap";
8728                   min: 0 1;
8729                }
8730             }
8731             description { state: "disabled" 0.0;
8732                inherit: "default" 0.0;
8733                text {
8734                   style: "entry_textblock_disabled_style_charwrap";
8735                }
8736             }
8737          }
8738       }
8739       programs {
8740          program { name: "focus";
8741             signal: "load";
8742             source: "";
8743             action: FOCUS_SET;
8744             target: "elm.text";
8745          }
8746          program { name: "disable";
8747             signal: "elm,state,disabled";
8748             source: "elm";
8749             action: STATE_SET "disabled" 0.0;
8750             target: "elm.text";
8751          }
8752          program { name: "enable";
8753             signal: "elm,state,enabled";
8754             source: "elm";
8755             action: STATE_SET "default" 0.0;
8756             target: "elm.text";
8757          }
8758       }
8759    }
8760
8761    group { name: "elm/entry/base-nowrap-noedit/default";
8762       parts {
8763          part { name: "elm.text";
8764             type: TEXTBLOCK;
8765             mouse_events: 1;
8766             scale: 1;
8767             entry_mode: PLAIN;
8768             select_mode: EXPLICIT;
8769             multiline: 1;
8770             source: "elm/entry/selection/default"; // selection under
8771             source5: "elm/entry/anchor/default"; // anchor under
8772             description { state: "default" 0.0;
8773                text {
8774                   style: "entry_textblock_style";
8775                   min: 1 1;
8776                }
8777             }
8778             description { state: "disabled" 0.0;
8779                inherit: "default" 0.0;
8780                text {
8781                   style: "entry_textblock_disabled_style";
8782                }
8783             }
8784          }
8785       }
8786       programs {
8787          program { name: "focus";
8788             signal: "load";
8789             source: "";
8790             action: FOCUS_SET;
8791             target: "elm.text";
8792          }
8793          program { name: "disable";
8794             signal: "elm,state,disabled";
8795             source: "elm";
8796             action: STATE_SET "disabled" 0.0;
8797             target: "elm.text";
8798          }
8799          program { name: "enable";
8800             signal: "elm,state,enabled";
8801             source: "elm";
8802             action: STATE_SET "default" 0.0;
8803             target: "elm.text";
8804          }
8805       }
8806    }
8807
8808    group { name: "elm/entry/base-password/default";
8809       parts {
8810          part { name: "elm.text";
8811             type: TEXTBLOCK;
8812             mouse_events: 1;
8813             scale: 1;
8814             entry_mode: PASSWORD;
8815             select_mode: EXPLICIT;
8816             multiline: 0;
8817             source: "elm/entry/selection/default"; // selection under
8818             source4: "elm/entry/cursor/default"; // cursorover
8819             source5: "elm/entry/anchor/default"; // anchor under
8820             description { state: "default" 0.0;
8821                text {
8822                   style: "entry_single_textblock_style";
8823                   repch: "*";
8824                   min: 1 1;
8825                   max: 0 1;
8826                }
8827             }
8828             description { state: "disabled" 0.0;
8829                inherit: "default" 0.0;
8830                text {
8831                   style: "entry_single_textblock_disabled_style";
8832                }
8833             }
8834          }
8835       }
8836       programs {
8837          program { name: "focus";
8838             signal: "load";
8839             source: "";
8840             action: FOCUS_SET;
8841             target: "elm.text";
8842          }
8843          program { name: "disable";
8844             signal: "elm,state,disabled";
8845             source: "elm";
8846             action: STATE_SET "disabled" 0.0;
8847             target: "elm.text";
8848          }
8849          program { name: "enable";
8850             signal: "elm,state,enabled";
8851             source: "elm";
8852             action: STATE_SET "default" 0.0;
8853             target: "elm.text";
8854          }
8855       }
8856    }
8857
8858    group { name: "elm/entry/cursor/default";
8859       images {
8860          image: "cur_box.png" COMP;
8861          image: "cur_hi.png" COMP;
8862          image: "cur_shad.png" COMP;
8863          image: "cur_shine.png" COMP;
8864          image: "cur_glow.png" COMP;
8865       }
8866       parts {
8867          part { name: "clip2";
8868             type: RECT;
8869             mouse_events: 0;
8870             description { state: "default" 0.0;
8871                rel1.to: "clip";
8872                rel2.to: "clip";
8873                visible: 0;
8874             }
8875             description { state: "focused" 0.0;
8876                inherit: "default" 0.0;
8877                visible: 1;
8878             }
8879          }
8880          part { name: "clip";
8881             type: RECT;
8882             mouse_events: 0;
8883             clip_to: "clip2";
8884             description { state: "default" 0.0;
8885                rel1.offset: -10 0;
8886                rel2.offset: 9 9;
8887             }
8888             description { state: "hidden" 0.0;
8889                inherit: "default" 0.0;
8890                visible: 0;
8891             }
8892          }
8893          part { name: "bg";
8894             mouse_events: 0;
8895             clip_to: "clip";
8896             description { state: "default" 0.0;
8897                rel1.to: "base";
8898                rel1.offset: -2 0;
8899                rel2.to: "base";
8900                rel2.offset: 1 1;
8901                image.border: 2 2 2 2;
8902                image.normal: "cur_shad.png";
8903             }
8904          }
8905          part { name: "base";
8906             mouse_events: 0;
8907             scale: 1;
8908             clip_to: "clip";
8909             description { state: "default" 0.0;
8910                min: 2 2;
8911                align: 0.5 1.0;
8912                rel1.relative: 0.0 1.0;
8913                rel1.offset: 0 -1;
8914                rel2.relative: 1.0 1.0;
8915                rel2.offset: -1 -1;
8916                image.normal: "cur_box.png";
8917             }
8918          }
8919          part { name: "hi";
8920             mouse_events: 0;
8921             clip_to: "clip";
8922             description { state: "default" 0.0;
8923                rel1.to: "base";
8924                rel2.to: "base";
8925                rel2.relative: 1.0 0.5;
8926                image.normal: "cur_hi.png";
8927             }
8928          }
8929          part { name: "shine";
8930             mouse_events: 0;
8931             clip_to: "clip";
8932             clip_to: "clip2";
8933             description { state: "default" 0.0;
8934                rel1.to: "base";
8935                rel2.to: "base";
8936                rel2.relative: 1.0 0.75;
8937                image.border: 2 2 1 0;
8938                image.normal: "cur_shine.png";
8939                fill.smooth: 0;
8940             }
8941          }
8942          part { name: "glow";
8943             mouse_events: 0;
8944             clip_to: "clip2";
8945             description { state: "default" 0.0;
8946                rel1.to: "base";
8947                rel1.relative: 0.0 -2.0;
8948                rel1.offset: -2 0;
8949                rel2.to: "base";
8950                rel2.relative: 1.0 0.0;
8951                rel2.offset: 1 1;
8952                image.border: 2 2 0 4;
8953                image.normal: "cur_glow.png";
8954                fill.smooth: 0;
8955             }
8956             description { state: "hidden" 0.0;
8957                inherit: "default" 0.0;
8958                color: 255 255 255 0;
8959             }
8960          }
8961       }
8962       programs {
8963          program { name: "show";
8964             signal: "show";
8965             source: "";
8966             action: STATE_SET "hidden" 0.0;
8967             in: 1.0 0.0;
8968             transition: DECELERATE 2.0;
8969             target: "glow";
8970             after: "show2";
8971          }
8972          program { name: "show2";
8973             action: STATE_SET "hidden" 0.0;
8974             in: 0.2 0.0;
8975             target: "clip";
8976             after: "show3";
8977          }
8978          program { name: "show3";
8979             action: STATE_SET "default" 0.0;
8980             in: 0.5 0.0;
8981             target: "clip";
8982             after: "show4";
8983          }
8984          program { name: "show4";
8985             action: STATE_SET "default" 0.0;
8986             in: 0.5 0.0;
8987             transition: DECELERATE 0.5;
8988             target: "glow";
8989             after: "show";
8990          }
8991          program { name: "focused";
8992             signal: "elm,action,focus";
8993             source: "elm";
8994             action: STATE_SET "focused" 0.0;
8995             target: "clip2";
8996          }
8997          program { name: "unfocused";
8998             signal: "elm,action,unfocus";
8999             source: "elm";
9000             action: STATE_SET "default" 0.0;
9001             target: "clip2";
9002          }
9003       }
9004    }
9005
9006    group { name: "elm/entry/selection/default";
9007       parts {
9008          part { name: "bg";
9009             type: RECT;
9010             mouse_events: 0;
9011             description { state: "default" 0.0;
9012                color: 128 128 128 128;
9013             }
9014          }
9015       }
9016    }
9017
9018    group { name: "elm/entry/anchor/default";
9019       parts {
9020          part { name: "bg";
9021             type: RECT;
9022             mouse_events: 0;
9023             description { state: "default" 0.0;
9024                color: 128 0 0 64;
9025             }
9026          }
9027       }
9028    }
9029
9030 ///////////////////////////////////////////////////////////////////////////////
9031   group { name: "elm/bubble/top_left/default";
9032     alias: "elm/bubble/base/default";
9033     images {
9034       image: "bubble_3.png" COMP;
9035       image: "bubble_4.png" COMP;
9036       image: "bubble_shine3.png" COMP;
9037       image: "bubble_shine4.png" COMP;
9038     }
9039     parts {
9040       part { name: "event";
9041          type: RECT;
9042          description {
9043             state: "default" 0.0;
9044             color: 0 0 0 0;
9045          }
9046       }
9047       part { name: "elm.swallow.icon";
9048         type: SWALLOW;
9049         description { state: "default" 0.0;
9050           fixed: 1 1;
9051           visible: 0;
9052           align: 0.0 0.0;
9053           aspect: 1.0 1.0;
9054           aspect_preference: VERTICAL;
9055           rel1 {
9056             relative: 0.0 0.0;
9057             offset: 4 4;
9058           }
9059           rel2 {
9060             to_y: "elm.text";
9061             relative: 0.0 1.0;
9062             offset: 4 -1;
9063           }
9064         }
9065         description { state: "visible" 0.0;
9066           inherit: "default" 0.0;
9067           visible: 1;
9068         }
9069       }
9070       part { name: "elm.text";
9071         type: TEXT;
9072         mouse_events:   0;
9073         scale: 1;
9074         description { state: "default" 0.0;
9075           align: 0.0 0.0;
9076           fixed: 0 1;
9077           rel1 {
9078             to_x: "elm.swallow.icon";
9079             relative: 1.0 0.0;
9080             offset: 4 4;
9081           }
9082           rel2 {
9083             to_x: "elm.info";
9084             relative: 0.0 0.0;
9085             offset: -5 4;
9086           }
9087           color: 0 0 0 255;
9088           text {
9089             font: "Sans:style=Bold,Edje-Vera-Bold";
9090             size: 10;
9091             min: 0 1;
9092             max: 0 1;
9093             align: 0.0 0.0;
9094           }
9095         }
9096       }
9097       part { name: "elm.info";
9098         type: TEXT;
9099         mouse_events:   0;
9100         scale: 1;
9101         description { state: "default" 0.0;
9102           align: 1.0 0.0;
9103           fixed: 1 1;
9104           rel1 {
9105             relative: 1.0 0.0;
9106             offset: -5 4;
9107           }
9108           rel2 {
9109             relative: 1.0 0.0;
9110             offset: -5 4;
9111           }
9112           color: 0 0 0 64;
9113           text {
9114             font: "Sans:style=Bold,Edje-Vera-Bold";
9115             size: 10;
9116             min: 1 1;
9117             max: 1 1;
9118             align: 1.0 0.0;
9119           }
9120         }
9121       }
9122       part { name: "base0";
9123         mouse_events:  0;
9124         description { state: "default" 0.0;
9125           rel1 {
9126             to_y: "elm.swallow.icon";
9127             relative: 0.0 1.0;
9128             offset: 0 0;
9129           }
9130           image {
9131             normal: "bubble_3.png";
9132             border: 36 11 18 9;
9133           }
9134           image.middle: SOLID;
9135           fill.smooth: 0;
9136         }
9137         description { state: "rtl" 0.0;
9138            inherit: "default" 0.0;
9139            image {
9140               normal: "bubble_4.png";
9141               border: 11 36 18 9;
9142            }
9143         }
9144       }
9145       part { name: "elm.swallow.content";
9146         type: SWALLOW;
9147         description { state: "default" 0.0;
9148           rel1 {
9149             to: "base0";
9150             offset: 9 16;
9151           }
9152           rel2 {
9153             to: "base0";
9154             offset: -10 -9;
9155           }
9156         }
9157       }
9158       part { name: "shine";
9159         mouse_events:  0;
9160         description { state:    "default" 0.0;
9161           rel1 {
9162             to: "base0";
9163             offset: 5 4;
9164           }
9165           rel2 {
9166             to: "base0";
9167             relative: 1.0 0.5;
9168             offset: -6 7;
9169           }
9170           image {
9171             normal: "bubble_shine3.png";
9172             border: 36 5 14 0;
9173           }
9174           fill.smooth: 0;
9175         }
9176         description { state: "rtl" 0.0;
9177            inherit: "default" 0.0;
9178            image {
9179               normal: "bubble_shine4.png";
9180               border: 5 36 14 0;
9181            }
9182         }
9183       }
9184     }
9185     programs {
9186       program {
9187         name: "icon_show";
9188         signal: "elm,state,icon,visible";
9189         source: "elm";
9190         action: STATE_SET "visible" 0.0;
9191         target: "elm.swallow.icon";
9192       }
9193       program {
9194         name: "icon_hide";
9195         signal: "elm,state,icon,hidden";
9196         source: "elm";
9197         action: STATE_SET "default" 0.0;
9198         target: "elm.swallow.icon";
9199       }
9200       program { name: "to_rtl";
9201          signal: "edje,state,rtl";
9202          source: "edje";
9203          action: STATE_SET "rtl" 0.0;
9204          target: "base0";
9205          target: "shine";
9206       }
9207       program { name: "to_ltr";
9208          signal: "edje,state,ltr";
9209          source: "edje";
9210          action: STATE_SET "default" 0.0;
9211          target: "base0";
9212          target: "shine";
9213       }
9214     }
9215   }
9216
9217   group { name: "elm/bubble/top_right/default";
9218     images {
9219       image: "bubble_3.png" COMP;
9220       image: "bubble_4.png" COMP;
9221       image: "bubble_shine3.png" COMP;
9222       image: "bubble_shine4.png" COMP;
9223     }
9224     parts {
9225       part { name: "event";
9226          type: RECT;
9227          description {
9228             state: "default" 0.0;
9229             color: 0 0 0 0;
9230          }
9231       }
9232       part { name: "elm.swallow.icon";
9233         type: SWALLOW;
9234         description { state: "default" 0.0;
9235           fixed: 1 1;
9236           visible: 0;
9237           align: 1.0 0.0;
9238           aspect: 1.0 1.0;
9239           aspect_preference: VERTICAL;
9240           rel1 {
9241             relative: 1.0 0.0;
9242             offset: -5 4;
9243           }
9244           rel2 {
9245             to_y: "elm.text";
9246             relative: 1.0 1.0;
9247             offset: -5 -1;
9248           }
9249         }
9250         description { state: "visible" 0.0;
9251           inherit: "default" 0.0;
9252           visible: 1;
9253         }
9254       }
9255       part { name: "elm.text";
9256         type: TEXT;
9257         mouse_events:   0;
9258         scale: 1;
9259         description { state: "default" 0.0;
9260           align: 0.0 0.0;
9261           fixed: 0 1;
9262           rel1 {
9263             relative: 0.0 0.0;
9264             offset: 4 4;
9265           }
9266           rel2 {
9267             to_x: "elm.info";
9268             relative: 0.0 0.0;
9269             offset: -5 4;
9270           }
9271           color: 0 0 0 255;
9272           text {
9273             font: "Sans:style=Bold,Edje-Vera-Bold";
9274             size: 10;
9275             min: 0 1;
9276             max: 0 1;
9277             align: 0.0 0.0;
9278           }
9279         }
9280       }
9281       part { name: "elm.info";
9282         type: TEXT;
9283         mouse_events:   0;
9284         scale: 1;
9285         description { state: "default" 0.0;
9286           align: 1.0 0.0;
9287           fixed: 1 1;
9288           rel1 {
9289             relative: 1.0 0.0;
9290             offset: -5 4;
9291           }
9292           rel2 {
9293             to_x: "elm.swallow.icon";
9294             relative: 0.0 0.0;
9295             offset: -5 4;
9296           }
9297           color: 0 0 0 64;
9298           text {
9299             font: "Sans:style=Bold,Edje-Vera-Bold";
9300             size: 10;
9301             min: 1 1;
9302             max: 1 1;
9303             align: 1.0 0.0;
9304           }
9305         }
9306       }
9307       part { name: "base0";
9308         mouse_events:  0;
9309         description { state: "default" 0.0;
9310           rel1 {
9311             to_y: "elm.swallow.icon";
9312             relative: 0.0 1.0;
9313             offset: 0 0;
9314           }
9315           image {
9316             normal: "bubble_4.png";
9317             border: 11 36 18 9;
9318           }
9319           image.middle: SOLID;
9320           fill.smooth: 0;
9321         }
9322         description { state: "rtl" 0.0;
9323            inherit: "default" 0.0;
9324            image {
9325               normal: "bubble_3.png";
9326               border: 36 11 18 9;
9327            }
9328         }
9329       }
9330       part { name: "elm.swallow.content";
9331         type: SWALLOW;
9332         description { state: "default" 0.0;
9333           rel1 {
9334             to: "base0";
9335             offset: 9 16;
9336           }
9337           rel2 {
9338             to: "base0";
9339             offset: -10 -9;
9340           }
9341         }
9342       }
9343       part { name: "shine";
9344         mouse_events:  0;
9345         description { state:    "default" 0.0;
9346           rel1 {
9347             to: "base0";
9348             offset: 5 4;
9349           }
9350           rel2 {
9351             to: "base0";
9352             relative: 1.0 0.5;
9353             offset: -6 7;
9354           }
9355           image {
9356             normal: "bubble_shine4.png";
9357             border: 5 36 14 0;
9358           }
9359           fill.smooth: 0;
9360         }
9361         description { state: "rtl" 0.0;
9362            inherit: "default" 0.0;
9363            image {
9364               normal: "bubble_shine3.png";
9365               border: 36 5 14 0;
9366            }
9367         }
9368       }
9369     }
9370     programs {
9371       program {
9372         name: "icon_show";
9373         signal: "elm,state,icon,visible";
9374         source: "elm";
9375         action: STATE_SET "visible" 0.0;
9376         target: "elm.swallow.icon";
9377       }
9378       program {
9379         name: "icon_hide";
9380         signal: "elm,state,icon,hidden";
9381         source: "elm";
9382         action: STATE_SET "default" 0.0;
9383         target: "elm.swallow.icon";
9384       }
9385       program { name: "to_rtl";
9386          signal: "edje,state,rtl";
9387          source: "edje";
9388          action: STATE_SET "rtl" 0.0;
9389          target: "base0";
9390          target: "shine";
9391       }
9392       program { name: "to_ltr";
9393          signal: "edje,state,ltr";
9394          source: "edje";
9395          action: STATE_SET "default" 0.0;
9396          target: "base0";
9397          target: "shine";
9398       }
9399     }
9400   }
9401
9402   group { name: "elm/bubble/bottom_left/default";
9403     images {
9404       image: "bubble_1.png" COMP;
9405       image: "bubble_2.png" COMP;
9406       image: "bubble_shine.png" COMP;
9407     }
9408     parts {
9409       part { name: "event";
9410          type: RECT;
9411          description {
9412             state: "default" 0.0;
9413             color: 0 0 0 0;
9414          }
9415       }
9416       part { name: "elm.swallow.icon";
9417         type: SWALLOW;
9418         description { state: "default" 0.0;
9419           fixed: 1 1;
9420           visible: 0;
9421           align: 0.0 1.0;
9422           aspect: 1.0 1.0;
9423           aspect_preference: VERTICAL;
9424           rel1 {
9425             to_y: "elm.text";
9426             relative: 0.0 0.0;
9427             offset: 4 0;
9428           }
9429           rel2 {
9430             relative: 0.0 1.0;
9431             offset: 4 -5;
9432           }
9433         }
9434         description { state: "visible" 0.0;
9435           inherit: "default" 0.0;
9436           visible: 1;
9437         }
9438       }
9439       part { name: "elm.text";
9440         type: TEXT;
9441         mouse_events:   0;
9442         scale: 1;
9443         description { state: "default" 0.0;
9444           align: 0.0 1.0;
9445           fixed: 0 1;
9446           rel1 {
9447             to_x: "elm.swallow.icon";
9448             relative: 1.0 1.0;
9449             offset: 4 -5;
9450           }
9451           rel2 {
9452             to_x: "elm.info";
9453             relative: 0.0 1.0;
9454             offset: -5 -5;
9455           }
9456           color: 0 0 0 255;
9457           text {
9458             font: "Sans:style=Bold,Edje-Vera-Bold";
9459             size: 10;
9460             min: 0 1;
9461             max: 0 1;
9462             align: 0.0 1.0;
9463           }
9464         }
9465       }
9466       part { name: "elm.info";
9467         type: TEXT;
9468         mouse_events:   0;
9469         scale: 1;
9470         description { state: "default" 0.0;
9471           align: 1.0 1.0;
9472           fixed: 1 1;
9473           rel1 {
9474             relative: 1.0 1.0;
9475             offset: -5 -5;
9476           }
9477           rel2 {
9478             relative: 1.0 1.0;
9479             offset: -5 -5;
9480           }
9481           color: 0 0 0 64;
9482           text {
9483             font: "Sans:style=Bold,Edje-Vera-Bold";
9484             size: 10;
9485             min: 1 1;
9486             max: 1 1;
9487             align: 1.0 1.0;
9488           }
9489         }
9490       }
9491       part { name: "base0";
9492         mouse_events:  0;
9493         description { state: "default" 0.0;
9494           rel2 {
9495             to_y: "elm.swallow.icon";
9496             relative: 1.0 0.0;
9497             offset: -1 -1;
9498           }
9499           image {
9500             normal: "bubble_1.png";
9501             border: 36 11 10 19;
9502           }
9503           image.middle: SOLID;
9504           fill.smooth: 0;
9505         }
9506         description { state: "rtl" 0.0;
9507            inherit: "default" 0.0;
9508            image {
9509               normal: "bubble_2.png";
9510               border: 11 36 10 19;
9511            }
9512         }
9513       }
9514       part { name: "elm.swallow.content";
9515         type: SWALLOW;
9516         description { state: "default" 0.0;
9517           rel1 {
9518             to: "base0";
9519             offset: 9 8;
9520           }
9521           rel2 {
9522             to: "base0";
9523             offset: -10 -17;
9524           }
9525         }
9526       }
9527       part { name: "shine";
9528         mouse_events:  0;
9529         description { state:    "default" 0.0;
9530           rel1 {
9531             to: "base0";
9532             offset: 5 4;
9533           }
9534           rel2 {
9535             to: "base0";
9536             relative: 1.0 0.5;
9537             offset: -6 -16;
9538           }
9539           image {
9540             normal: "bubble_shine.png";
9541             border: 5 5 5 0;
9542           }
9543           fill.smooth: 0;
9544         }
9545         description { state: "rtl" 0.0;
9546            inherit: "default" 0.0;
9547            image {
9548               normal: "bubble_shine4.png";
9549               border: 5 36 14 0;
9550            }
9551         }
9552       }
9553     }
9554     programs {
9555       program {
9556         name: "icon_show";
9557         signal: "elm,state,icon,visible";
9558         source: "elm";
9559         action: STATE_SET "visible" 0.0;
9560         target: "elm.swallow.icon";
9561       }
9562       program {
9563         name: "icon_hide";
9564         signal: "elm,state,icon,hidden";
9565         source: "elm";
9566         action: STATE_SET "default" 0.0;
9567         target: "elm.swallow.icon";
9568       }
9569       program { name: "to_rtl";
9570          signal: "edje,state,rtl";
9571          source: "edje";
9572          action: STATE_SET "rtl" 0.0;
9573          target: "base0";
9574       }
9575       program { name: "to_ltr";
9576          signal: "edje,state,ltr";
9577          source: "edje";
9578          action: STATE_SET "default" 0.0;
9579          target: "base0";
9580       }
9581     }
9582   }
9583
9584   group { name: "elm/bubble/bottom_right/default";
9585     images {
9586       image: "bubble_1.png" COMP;
9587       image: "bubble_2.png" COMP;
9588       image: "bubble_shine.png" COMP;
9589     }
9590     parts {
9591       part { name: "event";
9592          type: RECT;
9593          description {
9594             state: "default" 0.0;
9595             color: 0 0 0 0;
9596          }
9597       }
9598       part { name: "elm.swallow.icon";
9599         type: SWALLOW;
9600         description { state: "default" 0.0;
9601           fixed: 1 1;
9602           visible: 0.0;
9603           align: 1.0 1.0;
9604           aspect: 1.0 1.0;
9605           aspect_preference: VERTICAL;
9606           rel1 {
9607             to_y: "elm.text";
9608             relative: 1.0 0.0;
9609             offset: -5 0;
9610           }
9611           rel2 {
9612             relative: 1.0 1.0;
9613             offset: -5 -5;
9614           }
9615         }
9616         description { state: "visible" 0.0;
9617           inherit: "default" 0.0;
9618           visible: 1;
9619         }
9620       }
9621       part { name: "elm.text";
9622         type: TEXT;
9623         mouse_events:   0;
9624         scale: 1;
9625         description { state: "default" 0.0;
9626           align: 0.0 1.0;
9627           fixed: 0 1;
9628           rel1 {
9629             relative: 0.0 1.0;
9630             offset: 4 -5;
9631           }
9632           rel2 {
9633             to_x: "elm.info";
9634             relative: 0.0 1.0;
9635             offset: -5 -5;
9636           }
9637           color: 0 0 0 255;
9638           text {
9639             font: "Sans:style=Bold,Edje-Vera-Bold";
9640             size: 10;
9641             min: 0 1;
9642             max: 0 1;
9643             align: 0.0 1.0;
9644           }
9645         }
9646       }
9647       part { name: "elm.info";
9648         type: TEXT;
9649         mouse_events:   0;
9650         scale: 1;
9651         description { state: "default" 0.0;
9652           align: 1.0 1.0;
9653           fixed: 1 1;
9654           rel1 {
9655             relative: 1.0 1.0;
9656             offset: -5 -5;
9657           }
9658           rel2 {
9659             to_x: "elm.swallow.icon";
9660             relative: 0.0 1.0;
9661             offset: -5 -5;
9662           }
9663           color: 0 0 0 64;
9664           text {
9665             font: "Sans:style=Bold,Edje-Vera-Bold";
9666             size: 10;
9667             min: 1 1;
9668             max: 1 1;
9669             align: 1.0 1.0;
9670           }
9671         }
9672       }
9673       part { name: "base0";
9674         mouse_events:  0;
9675         description { state: "default" 0.0;
9676           rel2 {
9677             to_y: "elm.swallow.icon";
9678             relative: 1.0 0.0;
9679             offset: -1 -1;
9680           }
9681           image {
9682             normal: "bubble_2.png";
9683             border: 11 36 10 19;
9684           }
9685           image.middle: SOLID;
9686           fill.smooth: 0;
9687         }
9688         description { state: "rtl" 0.0;
9689            inherit: "default" 0.0;
9690            image {
9691               normal: "bubble_1.png";
9692               border: 36 11 10 19;
9693            }
9694         }
9695       }
9696       part { name: "elm.swallow.content";
9697         type: SWALLOW;
9698         description { state: "default" 0.0;
9699           rel1 {
9700             to: "base0";
9701             offset: 9 8;
9702           }
9703           rel2 {
9704             to: "base0";
9705             offset: -10 -17;
9706           }
9707         }
9708       }
9709       part { name: "shine";
9710         mouse_events:  0;
9711         description { state:    "default" 0.0;
9712           rel1 {
9713             to: "base0";
9714             offset: 5 4;
9715           }
9716           rel2 {
9717             to: "base0";
9718             relative: 1.0 0.5;
9719             offset: -6 -16;
9720           }
9721           image {
9722             normal: "bubble_shine.png";
9723             border: 5 5 5 0;
9724           }
9725           fill.smooth: 0;
9726         }
9727         description { state: "rtl" 0.0;
9728            inherit: "default" 0.0;
9729            image {
9730               normal: "bubble_shine3.png";
9731               border: 36 5 14 0;
9732            }
9733         }
9734       }
9735     }
9736     programs {
9737       program {
9738         name: "icon_show";
9739         signal: "elm,state,icon,visible";
9740         source: "elm";
9741         action: STATE_SET "visible" 0.0;
9742         target: "elm.swallow.icon";
9743       }
9744       program {
9745         name: "icon_hide";
9746         signal: "elm,state,icon,hidden";
9747         source: "elm";
9748         action: STATE_SET "default" 0.0;
9749         target: "elm.swallow.icon";
9750       }
9751       program { name: "to_rtl";
9752          signal: "edje,state,rtl";
9753          source: "edje";
9754          action: STATE_SET "rtl" 0.0;
9755          target: "base0";
9756       }
9757       program { name: "to_ltr";
9758          signal: "edje,state,ltr";
9759          source: "edje";
9760          action: STATE_SET "default" 0.0;
9761          target: "base0";
9762       }
9763     }
9764   }
9765
9766 ///////////////////////////////////////////////////////////////////////////////
9767    group { name: "elm/photo/base/default";
9768       images {
9769          image: "frame_1.png" COMP;
9770          image: "frame_2.png" COMP;
9771          image: "dia_grad.png" COMP;
9772          image: "head.png" COMP;
9773       }
9774       parts {
9775          part { name: "base0";
9776             mouse_events:  0;
9777             description { state: "default" 0.0;
9778                image.normal: "dia_grad.png";
9779                rel1.to: "over";
9780                rel2.to: "over";
9781                fill {
9782                   smooth: 0;
9783                   size {
9784                      relative: 0.0 1.0;
9785                      offset: 64 0;
9786                   }
9787                }
9788             }
9789          }
9790          part { name: "base";
9791             mouse_events:  0;
9792             description { state:    "default" 0.0;
9793                image {
9794                   normal: "frame_2.png";
9795                   border: 5 5 32 26;
9796                   middle: 0;
9797                }
9798                fill.smooth : 0;
9799             }
9800          }
9801          part { name: "head";
9802             mouse_events:  0;
9803             description { state:    "default" 0.0;
9804                rel1.offset: 4 4;
9805                rel2.offset: -5 -5;
9806                aspect: 1.0 1.0;
9807                aspect_preference: BOTH;
9808                image.normal: "head.png";
9809             }
9810          }
9811          part { name: "clip";
9812             mouse_events:  0;
9813             type: RECT;
9814             description { state:    "default" 0.0;
9815                rel1.offset: 4 4;
9816                rel2.offset: -5 -5;
9817                color: 255 255 255 255;
9818             }
9819          }
9820          part { name: "elm.swallow.content";
9821             type: SWALLOW;
9822             clip_to: "clip";
9823             description { state: "default" 0.0;
9824                rel1.offset: 4 4;
9825                rel2.offset: -5 -5;
9826             }
9827          }
9828          part { name: "over";
9829             mouse_events:  0;
9830             description { state:    "default" 0.0;
9831                rel1.offset: 4 4;
9832                rel2.offset: -5 -5;
9833                image {
9834                   normal: "frame_1.png";
9835                   border: 2 2 28 22;
9836                   middle: 0;
9837                }
9838                fill.smooth: 0;
9839             }
9840          }
9841      }
9842    }
9843
9844    group { name: "elm/photo/base/shadow";
9845               images {
9846                         image: "shadow.png" COMP;
9847                         image: "black.png" COMP;
9848               }
9849               script {
9850               public message(Msg_Type:type, id, ...) {
9851                 if( (type==MSG_INT_SET) && (id==0) )
9852                 {
9853                     new w;
9854                     new h;
9855
9856                     custom_state(PART:"size", "default", 0.0);
9857
9858                     w = getarg(2);
9859                     h = getarg(3);
9860                     set_state_val(PART:"size", STATE_REL1_OFFSET, - w/2, - h/2);
9861                     set_state_val(PART:"size", STATE_REL2_OFFSET, w/2 + 1, h/2 + 1);
9862                     set_state(PART:"size", "custom", 0.0);
9863                 }
9864             }
9865             }
9866               parts {
9867               part { name: "size";
9868                     type: SWALLOW;
9869                     description { state: "default" 0.0;
9870                             rel1.relative: 0.5 0.5;
9871                             rel2.relative: 0.5 0.5;
9872                     }
9873                  }
9874               part {
9875                 name: "shadow";
9876                 type: IMAGE;
9877                 repeat_events: 1;
9878                 description {
9879                     state: "default" 0.0;
9880                     rel1.to: "size";
9881                     rel2.to: "size";
9882                     rel1.relative: -0.06 -0.06;
9883                     rel2.relative: 1.07 1.07;
9884                     image.normal: "shadow.png";
9885                 }
9886             }
9887   
9888
9889                  part { name: "elm.swallow.content";
9890                     type: SWALLOW;
9891                     description { state: "default" 0.0;
9892                     rel1.offset: 3 3;
9893                     rel2.offset: -3 -3;
9894                             fixed: 1 1;
9895                     }
9896                  }
9897      
9898                  part {
9899                 name: "border";
9900                 type: IMAGE;
9901                 repeat_events: 1;
9902                 description {
9903                     state: "default" 0.0;
9904                     visible: 1;
9905                     color: 0 0 0 255;
9906                     rel1.to: "size";
9907                     rel2.to: "size";
9908                     image.normal: "black.png";
9909                     image.border: 1 1 1 1;
9910                     image.middle: 0;
9911                 }
9912             }
9913                  }
9914    }
9915
9916 ///////////////////////////////////////////////////////////////////////////////
9917    group { name: "elm/thumb/base/default";
9918       images {
9919          image: "frame_1.png" COMP;
9920          image: "frame_2.png" COMP;
9921          image: "dia_grad.png" COMP;
9922          image: "busy-1.png" COMP;
9923          image: "busy-2.png" COMP;
9924          image: "busy-3.png" COMP;
9925          image: "busy-4.png" COMP;
9926          image: "busy-5.png" COMP;
9927          image: "busy-6.png" COMP;
9928          image: "busy-7.png" COMP;
9929          image: "busy-8.png" COMP;
9930          image: "busy-9.png" COMP;
9931       }
9932       parts {
9933          part { name: "base0";
9934             mouse_events:  0;
9935             description { state:        "default" 0.0;
9936                image.normal: "dia_grad.png";
9937                rel1.to: "over";
9938                rel2.to: "over";
9939                fill {
9940                   smooth: 0;
9941                   size {
9942                      relative: 0.0 1.0;
9943                      offset: 64 0;
9944                   }
9945                }
9946             }
9947          }
9948          part { name: "base";
9949             mouse_events:  0;
9950             description { state:        "default" 0.0;
9951                image {
9952                   normal: "frame_2.png";
9953                   border: 5 5 32 26;
9954                   middle: 0;
9955                }
9956                fill.smooth : 0;
9957             }
9958          }
9959          part { name: "clip";
9960             mouse_events:  0;
9961             type: RECT;
9962             description { state:        "default" 0.0;
9963                rel1.offset: 4 4;
9964                rel2.offset: -5 -5;
9965                color: 255 255 255 255;
9966             }
9967          }
9968          part { name: "elm.swallow.content";
9969             type: SWALLOW;
9970             clip_to: "clip";
9971             description { state:        "default" 0.0;
9972                rel1.offset: 4 4;
9973                rel2.offset: -5 -5;
9974             }
9975          }
9976          part { name: "progress";
9977             mouse_events: 0;
9978
9979             clip_to: "clip";
9980             description { state:        "default" 0.0;
9981                min: 32 32;
9982                max: 32 32;
9983                visible: 0;
9984                aspect: 1.0 1.0;
9985                aspect_preference: BOTH;
9986             }
9987             description { state:        "pulse" 0.0;
9988                inherit: "default" 0.0;
9989                visible: 1;
9990                image {
9991                   normal: "busy-9.png";
9992                   tween:  "busy-1.png";
9993                   tween:  "busy-2.png";
9994                   tween:  "busy-3.png";
9995                   tween:  "busy-4.png";
9996                   tween:  "busy-5.png";
9997                   tween:  "busy-6.png";
9998                   tween:  "busy-7.png";
9999                   tween:  "busy-8.png";
10000                   border: 7 7 7 7;
10001                }
10002             }
10003          }
10004          part { name: "over";
10005             mouse_events:  0;
10006             description { state:        "default" 0.0;
10007                rel1.offset: 4 4;
10008                rel2.offset: -5 -5;
10009                image {
10010                   normal: "frame_1.png";
10011                   border: 2 2 28 22;
10012                   middle: 0;
10013                }
10014                fill.smooth: 0;
10015             }
10016          }
10017          programs {
10018             program { name: "start_pulse";
10019                signal: "elm,state,pulse,start";
10020                source: "elm";
10021                action: STATE_SET "pulse" 0.0;
10022                target: "progress";
10023                transition: LINEAR 0.5;
10024                after: "start_pulse";
10025             }
10026             program { name: "stop_pulse";
10027                signal: "elm,state,pulse,stop";
10028                source: "elm";
10029                action: STATE_SET "default" 0.0;
10030                target: "progress";
10031             }
10032          }
10033       }
10034    }
10035
10036    group { name: "elm/thumb/base/noframe";
10037       images {
10038          image: "busy-1.png" COMP;
10039          image: "busy-2.png" COMP;
10040          image: "busy-3.png" COMP;
10041          image: "busy-4.png" COMP;
10042          image: "busy-5.png" COMP;
10043          image: "busy-6.png" COMP;
10044          image: "busy-7.png" COMP;
10045          image: "busy-8.png" COMP;
10046          image: "busy-9.png" COMP;
10047       }
10048       parts {
10049          part { name: "elm.swallow.content";
10050             type: SWALLOW;
10051             description { state: "default" 0.0;
10052                rel1.offset: 4 4;
10053                rel2.offset: -5 -5;
10054             }
10055          }
10056          part { name: "progress";
10057             mouse_events: 0;
10058             description { state:        "default" 0.0;
10059                min: 32 32;
10060                max: 32 32;
10061                visible: 0;
10062                aspect: 1.0 1.0;
10063                aspect_preference: BOTH;
10064             }
10065             description { state:        "pulse" 0.0;
10066                inherit: "default" 0.0;
10067                visible: 1;
10068                image {
10069                   normal: "busy-9.png";
10070                   tween:  "busy-1.png";
10071                   tween:  "busy-2.png";
10072                   tween:  "busy-3.png";
10073                   tween:  "busy-4.png";
10074                   tween:  "busy-5.png";
10075                   tween:  "busy-6.png";
10076                   tween:  "busy-7.png";
10077                   tween:  "busy-8.png";
10078                   border: 7 7 7 7;
10079                }
10080             }
10081          }
10082          programs {
10083             program { name: "start_pulse";
10084                signal: "elm,state,pulse,start";
10085                source: "elm";
10086                action: STATE_SET "pulse" 0.0;
10087                target: "progress";
10088                transition: LINEAR 0.5;
10089                after: "start_pulse";
10090             }
10091             program { name: "stop_pulse";
10092                signal: "elm,state,pulse,stop";
10093                source: "elm";
10094                action: STATE_SET "default" 0.0;
10095                target: "progress";
10096             }
10097          }
10098       }
10099    }
10100
10101
10102 ///////////////////////////////////////////////////////////////////////////////
10103    group { name: "elm/icon/home/default"; alias: "elm/icon/toolbar/home/default"; min: 32 32;
10104       images.image: "icon_home.png" COMP; parts { part { name: "base";
10105          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10106             image.normal: "icon_home.png"; } } } }
10107    group { name: "elm/icon/close/default"; alias: "elm/icon/toolbar/close/default"; min: 32 32;
10108       images.image: "icon_close.png" COMP; parts { part { name: "base";
10109          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10110             image.normal: "icon_close.png"; } } } }
10111    group { name: "elm/icon/apps/default"; alias: "elm/icon/toolbar/apps/default"; min: 32 32;
10112       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10113          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10114             image.normal: "icon_apps.png"; } } } }
10115    group { name: "elm/icon/arrow_up/default"; alias: "elm/icon/toolbar/arrow_up/default"; min: 32 32;
10116       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10117          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10118             image.normal: "icon_arrow_up.png"; } } } }
10119    group { name: "elm/icon/arrow_down/default";
10120            alias: "elm/icon/toolbar/arrow_down/default";
10121            alias: "elm/icon/toolbar/more_menu/default"; min: 32 32;
10122       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10123          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10124             image.normal: "icon_arrow_down.png"; } } } }
10125    group { name: "elm/icon/arrow_left/default"; alias: "elm/icon/toolbar/arrow_left/default"; min: 32 32;
10126       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10127          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10128             image.normal: "icon_arrow_left.png"; } } } }
10129    group { name: "elm/icon/arrow_right/default"; alias: "elm/icon/toolbar/arrow_right/default"; min: 32 32;
10130       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10131          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10132             image.normal: "icon_arrow_right.png"; } } } }
10133    group { name: "elm/icon/chat/default"; alias: "elm/icon/toolbar/chat/default"; min: 32 32;
10134       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10135          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10136             image.normal: "icon_chat.png"; } } } }
10137    group { name: "elm/icon/clock/default"; alias: "elm/icon/toolbar/clock/default"; min: 32 32;
10138       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10139          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10140             image.normal: "icon_clock.png"; } } } }
10141    group { name: "elm/icon/delete/default"; alias: "elm/icon/toolbar/delete/default"; min: 32 32;
10142       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10143          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10144             image.normal: "icon_delete.png"; } } } }
10145    group { name: "elm/icon/edit/default"; alias: "elm/icon/toolbar/edit/default"; min: 32 32;
10146       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10147          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10148             image.normal: "icon_edit.png"; } } } }
10149    group { name: "elm/icon/refresh/default"; alias: "elm/icon/toolbar/refresh/default"; min: 32 32;
10150       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10151          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10152             image.normal: "icon_refresh.png"; } } } }
10153    group { name: "elm/icon/folder/default"; alias: "elm/icon/toolbar/folder/default"; min: 32 32;
10154       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10155          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10156             image.normal: "icon_folder.png"; } } } }
10157    group { name: "elm/icon/file/default"; alias: "elm/icon/toolbar/file/default"; min: 32 32;
10158       images.image: "icon_file.png" COMP; parts { part { name: "base";
10159          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10160             image.normal: "icon_file.png"; } } } }
10161 ///////////////////////////////////////////////////////////////////////////////
10162    group { name: "elm/icon/menu/home/default"; min: 24 24; max: 24 24;
10163       images.image: "icon_home.png" COMP; parts { part { name: "base";
10164          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10165             image.normal: "icon_home.png"; } } } }
10166    group { name: "elm/icon/menu/close/default"; min: 24 24; max: 24 24;
10167       images.image: "icon_close.png" COMP; parts { part { name: "base";
10168          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10169             image.normal: "icon_close.png"; } } } }
10170    group { name: "elm/icon/menu/apps/default"; min: 24 24; max: 24 24;
10171       images.image: "icon_apps.png" COMP; parts { part { name: "base";
10172          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10173             image.normal: "icon_apps.png"; } } } }
10174    group { name: "elm/icon/menu/arrow_up/default"; min: 24 24; max: 24 24;
10175       images.image: "icon_arrow_up.png" COMP; parts { part { name: "base";
10176          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10177             image.normal: "icon_arrow_up.png"; } } } }
10178    group { name: "elm/icon/menu/arrow_down/default"; min: 24 24; max: 24 24;
10179       images.image: "icon_arrow_down.png" COMP; parts { part { name: "base";
10180          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10181             image.normal: "icon_arrow_down.png"; } } } }
10182    group { name: "elm/icon/menu/arrow_left/default"; min: 24 24; max: 24 24;
10183       images.image: "icon_arrow_left.png" COMP; parts { part { name: "base";
10184          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10185             image.normal: "icon_arrow_left.png"; } } } }
10186    group { name: "elm/icon/menu/arrow_right/default"; min: 24 24; max: 24 24;
10187       images.image: "icon_arrow_right.png" COMP; parts { part { name: "base";
10188          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10189             image.normal: "icon_arrow_right.png"; } } } }
10190    group { name: "elm/icon/menu/chat/default"; min: 24 24; max: 24 24;
10191       images.image: "icon_chat.png" COMP; parts { part { name: "base";
10192          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10193             image.normal: "icon_chat.png"; } } } }
10194    group { name: "elm/icon/menu/clock/default"; min: 24 24; max: 24 24;
10195       images.image: "icon_clock.png" COMP; parts { part { name: "base";
10196          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10197             image.normal: "icon_clock.png"; } } } }
10198    group { name: "elm/icon/menu/delete/default"; min: 24 24; max: 24 24;
10199       images.image: "icon_delete.png" COMP; parts { part { name: "base";
10200          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10201             image.normal: "icon_delete.png"; } } } }
10202    group { name: "elm/icon/menu/edit/default"; min: 24 24; max: 24 24;
10203       images.image: "icon_edit.png" COMP; parts { part { name: "base";
10204          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10205             image.normal: "icon_edit.png"; } } } }
10206    group { name: "elm/icon/menu/refresh/default"; min: 24 24; max: 24 24;
10207       images.image: "icon_refresh.png" COMP; parts { part { name: "base";
10208          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10209             image.normal: "icon_refresh.png"; } } } }
10210    group { name: "elm/icon/menu/folder/default"; min: 24 24; max: 24 24;
10211       images.image: "icon_folder.png" COMP; parts { part { name: "base";
10212          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10213             image.normal: "icon_folder.png"; } } } }
10214    group { name: "elm/icon/menu/file/default"; min: 24 24; max: 24 24;
10215       images.image: "icon_file.png" COMP; parts { part { name: "base";
10216          description { state: "default" 0.0; aspect: 1.0 1.0; aspect_preference: BOTH;
10217             image.normal: "icon_file.png"; } } } }
10218
10219 ///////////////////////////////////////////////////////////////////////////////
10220    group { name: "elm/toolbar/base/default";
10221       images {
10222          image: "bt_dis_base.png" COMP;
10223          image: "bt_dis_hilight.png" COMP;
10224          image: "bt_dis_shine.png" COMP;
10225          image: "icon_left_arrow.png" COMP;
10226          image: "icon_right_arrow.png" COMP;
10227       }
10228       parts {
10229          part { name: "base";
10230             mouse_events: 1;
10231             description { state: "default" 0.0;
10232                rel1 {
10233                   relative: 0.0 0.0;
10234                   offset: 2 2;
10235                }
10236                rel2.offset: -3 -3;
10237                image {
10238                   normal: "bt_dis_base.png";
10239                   border: 4 4 4 4;
10240                }
10241                image.middle: SOLID;
10242             }
10243          }
10244          part { name: "clipper";
10245             type: RECT;
10246             mouse_events: 0;
10247             description {
10248                state: "default" 0.0;
10249                rel1 {
10250                   to: "base";
10251                   offset: 2 2;
10252                }
10253                rel2 {
10254                   to: "base";
10255                   offset: -3 -3;
10256                }
10257             }
10258          }
10259          part { name: "elm.swallow.content";
10260             clip_to: "clipper";
10261             type: SWALLOW;
10262             description {
10263                state: "default" 0.0;
10264                rel1.to: "clipper";
10265                rel2.to: "clipper";
10266             }
10267          }
10268          part { name: "over2";
10269             mouse_events: 0;
10270             description { state: "default" 0.0;
10271                rel1.to: "base";
10272                rel2.to: "base";
10273                image {
10274                   normal: "bt_dis_shine.png";
10275                   border: 4 4 4 4;
10276                }
10277             }
10278          }
10279          part { name: "over1";
10280             mouse_events: 0;
10281             description { state: "default" 0.0;
10282                rel1.to: "base";
10283                rel2.to: "base";
10284                rel2.relative: 1.0 0.5;
10285                image {
10286                   normal: "bt_dis_hilight.png";
10287                   border: 4 4 4 0;
10288                }
10289                color: 255 255 255 128;
10290             }
10291          }
10292          part { name: "left_arrow";
10293             mouse_events: 0;
10294             description { state: "default" 0.0;
10295                image.normal: "icon_left_arrow.png";
10296                aspect: 1.0 1.0;
10297                aspect_preference: VERTICAL;
10298                align: 0.0 0.5;
10299                min: 32 32;
10300                max: 32 32;
10301             }
10302             description { state: "hidden" 0.0;
10303                inherit: "default" 0.0;
10304                visible: 0;
10305                color: 255 255 255 0;
10306             }
10307          }
10308          part { name: "right_arrow";
10309             mouse_events: 0;
10310             description { state: "default" 0.0;
10311                image.normal: "icon_right_arrow.png";
10312                aspect: 1.0 1.0;
10313                aspect_preference: VERTICAL;
10314                align: 1.0 0.5;
10315                min: 32 32;
10316                max: 32 32;
10317             }
10318             description { state: "hidden" 0.0;
10319                inherit: "default" 0.0;
10320                visible: 0;
10321                color: 255 255 255 0;
10322             }
10323          }
10324          part { name: "event";
10325             type: RECT;
10326             mouse_events: 1;
10327             repeat_events: 1;
10328             description { state: "default" 0.0;
10329                color: 0 0 0 0;
10330             }
10331          }
10332       }
10333       programs {
10334          program { name: "sb_hbar_show";
10335             signal: "elm,action,show,hbar";
10336             source: "elm";
10337             action:  STATE_SET "default" 0.0;
10338             transition: LINEAR 0.5;
10339             target: "left_arrow";
10340             target: "right_arrow";
10341          }
10342          program { name: "sb_hbar_hide";
10343             signal: "elm,action,hide,hbar";
10344             source: "elm";
10345             action:  STATE_SET "hidden" 0.0;
10346             target: "left_arrow";
10347             target: "right_arrow";
10348             transition: LINEAR 0.5;
10349          }
10350       }
10351    }
10352
10353    group { name: "elm/toolbar/item/default";
10354        images {
10355            image: "toolbar_sel.png" COMP;
10356        }
10357        data.item: "transition_animation_on" "1";
10358        parts {
10359            part { name: "label2";
10360                type: TEXT;
10361                mouse_events:  0;
10362                scale: 1;
10363                clip_to: "elm.text.clipper";
10364                description { state: "default" 0.0;
10365                    align: 0.5 1.0;
10366                    fixed: 0 1;
10367                    rel1.to: "elm.text";
10368                    rel2.to: "elm.text";
10369                    color: 0 0 0 255;
10370                    text {
10371                        font: "Sans";
10372                        text_source: "elm.text";
10373                        size: 10;
10374                        min: 1 1;
10375                        align: 0.5 0.5;
10376                        text_class: "toolbar_item";
10377                    }
10378                }
10379                description { state: "selected" 0.0;
10380                    inherit: "default" 0.0;
10381                    visible: 0;
10382                }
10383                description { state: "disabled" 0.0;
10384                    inherit: "default" 0.0;
10385                    color: 0 0 0 128;
10386                    color3: 0 0 0 0;
10387                }
10388                description { state: "disabled_visible" 0.0;
10389                    inherit: "default" 0.0;
10390                    color: 0 0 0 128;
10391                    color3: 0 0 0 0;
10392                    visible: 1;
10393                    text.min: 1 1;
10394                }
10395            }
10396            part { name: "label2_new";
10397                type: TEXT;
10398                mouse_events:  0;
10399                scale: 1;
10400                clip_to: "elm.text_new.clipper";
10401                description { state: "default" 0.0;
10402                    align: 0.5 1.0;
10403                    fixed: 0 1;
10404                    rel1.to: "elm.text_new";
10405                    rel2.to: "elm.text_new";
10406                    color: 0 0 0 255;
10407                    text {
10408                        font: "Sans";
10409                        text_source: "elm.text_new";
10410                        size: 10;
10411                        min: 1 1;
10412                        align: 0.5 0.5;
10413                        text_class: "toolbar_item";
10414                    }
10415                }
10416                description { state: "selected" 0.0;
10417                    inherit: "default" 0.0;
10418                    visible: 0;
10419                }
10420                description { state: "disabled" 0.0;
10421                    inherit: "default" 0.0;
10422                    color: 0 0 0 128;
10423                    color3: 0 0 0 0;
10424                }
10425                description { state: "disabled_visible" 0.0;
10426                    inherit: "default" 0.0;
10427                    color: 0 0 0 128;
10428                    color3: 0 0 0 0;
10429                    visible: 1;
10430                    text.min: 1 1;
10431                }
10432            }
10433            part { name: "bg";
10434                mouse_events: 0;
10435                description { state: "default" 0.0;
10436                    visible: 0;
10437                    color: 255 255 255 0;
10438                    image {
10439                        normal: "toolbar_sel.png";
10440                        border: 3 3 0 0;
10441                    }
10442                    image.middle: SOLID;
10443                    fill.smooth: 0;
10444                }
10445                description { state: "selected" 0.0;
10446                    inherit: "default" 0.0;
10447                    visible: 1;
10448                    color: 255 255 255 255;
10449                }
10450                description { state: "disabled" 0.0;
10451                    inherit: "default" 0.0;
10452                    visible: 0;
10453                    color: 255 255 255 0;
10454                }
10455            }
10456            part { name: "elm.swallow.icon";
10457                type: SWALLOW;
10458                clip_to: "elm.icon.clipper";
10459                description { state: "default" 0.0;
10460                    align: 0.5 0.5;
10461                    fixed: 0 0;
10462                    rel1 {
10463                        relative: 0.0 0.0;
10464                        offset: 2 2;
10465                    }
10466                    rel2 {
10467                        to_y: "elm.text";
10468                        relative: 1.0 0.0;
10469                        offset: -3 -1;
10470                    }
10471                    color: 0 0 0 0;
10472                }
10473            }
10474            part { name: "elm.swallow.icon_new";
10475                type: SWALLOW;
10476                clip_to: "elm.icon_new.clipper";
10477                description { state: "default" 0.0;
10478                    align: 0.5 0.5;
10479                    fixed: 0 0;
10480                    rel1 {
10481                        relative: 0.0 0.0;
10482                        offset: 2 2;
10483                    }
10484                    rel2 {
10485                        to_y: "elm.text_new";
10486                        relative: 1.0 0.0;
10487                        offset: -3 -1;
10488                    }
10489                    color: 0 0 0 0;
10490                }
10491            }
10492            part { name: "elm.text";
10493                type: TEXT;
10494                effect: SOFT_SHADOW;
10495                mouse_events:  0;
10496                scale: 1;
10497                clip_to: "elm.text.clipper";
10498                description { state: "default" 0.0;
10499                    align: 0.5 1.0;
10500                    fixed: 0 1;
10501                    rel1 {
10502                        relative: 0.0 1.0;
10503                        offset:   0 -1;
10504                    }
10505                    rel2 {
10506                        relative: 1.0 1.0;
10507                        offset:   -1 -1;
10508                    }
10509                    visible: 0;
10510                    color: 224 224 224 255;
10511                    color3: 0 0 0 32;
10512                    text {
10513                        font: "Sans:style=Bold";
10514                        size: 10;
10515                        min: 1 1;
10516                        align: 0.5 0.5;
10517                        text_class: "toolbar_item";
10518                    }
10519                }
10520                description { state: "selected" 0.0;
10521                    inherit: "default" 0.0;
10522                    visible: 1;
10523                }
10524                description { state: "visible" 0.0;
10525                    inherit: "default" 0.0;
10526                    visible: 1;
10527                    text.min: 1 1;
10528                }
10529                description { state: "disabled" 0.0;
10530                    inherit: "default" 0.0;
10531                    color: 0 0 0 128;
10532                    color3: 0 0 0 0;
10533                }
10534                description { state: "disabled_visible" 0.0;
10535                    inherit: "default" 0.0;
10536                    color: 0 0 0 128;
10537                    color3: 0 0 0 0;
10538                    visible: 1;
10539                    text.min: 1 1;
10540                }
10541            }
10542            part { name: "elm.text_new";
10543                type: TEXT;
10544                effect: SOFT_SHADOW;
10545                mouse_events:  0;
10546                clip_to: "elm.text_new.clipper";
10547                scale: 1;
10548                description { state: "default" 0.0;
10549                    align: 0.5 1.0;
10550                    fixed: 0 1;
10551                    rel1 {
10552                        relative: 0.0 1.0;
10553                        offset:   0 -1;
10554                    }
10555                    rel2 {
10556                        relative: 1.0 1.0;
10557                        offset:   -1 -1;
10558                    }
10559                    visible: 0;
10560                    color: 224 224 224 255;
10561                    color3: 0 0 0 32;
10562                    text {
10563                        font: "Sans:style=Bold";
10564                        size: 10;
10565                        min: 1 1;
10566                        align: 0.5 0.5;
10567                        text_class: "toolbar_item";
10568                    }
10569                }
10570                description { state: "selected" 0.0;
10571                    inherit: "default" 0.0;
10572                    visible: 1;
10573                }
10574                description { state: "visible" 0.0;
10575                    inherit: "default" 0.0;
10576                    visible: 1;
10577                    text.min: 1 1;
10578                }
10579                description { state: "disabled" 0.0;
10580                    inherit: "default" 0.0;
10581                    color: 0 0 0 128;
10582                    color3: 0 0 0 0;
10583                }
10584                description { state: "disabled_visible" 0.0;
10585                    inherit: "default" 0.0;
10586                    color: 0 0 0 128;
10587                    color3: 0 0 0 0;
10588                    visible: 1;
10589                    text.min: 1 1;
10590                }
10591            }
10592            part { name: "elm.text.clipper";
10593                type: RECT;
10594                description { state: "default" 0.0;
10595                    color: 255 255 255 255;
10596                }
10597                description { state: "animation" 0.0;
10598                    color: 255 255 255 0;
10599                }
10600            }
10601            part { name: "elm.text_new.clipper";
10602                type: RECT;
10603                description { state: "default" 0.0;
10604                    color: 255 255 255 0;
10605                }
10606                description { state: "animation" 0.0;
10607                    color: 255 255 255 255;
10608                }
10609            }
10610            part { name: "elm.icon.clipper";
10611                type: RECT;
10612                description { state: "default" 0.0;
10613                    color: 255 255 255 255;
10614                }
10615                description { state: "animation" 0.0;
10616                    color: 255 255 255 0;
10617                }
10618            }
10619            part { name: "elm.icon_new.clipper";
10620                type: RECT;
10621                description { state: "default" 0.0;
10622                    color: 255 255 255 0;
10623                }
10624                description { state: "animation" 0.0;
10625                    color: 255 255 255 255;
10626                }
10627            }
10628            part { name: "event";
10629                type: RECT;
10630                mouse_events: 1;
10631                ignore_flags: ON_HOLD;
10632                description { state: "default" 0.0;
10633                    color: 0 0 0 0;
10634                }
10635            }
10636        }
10637        programs {
10638            program { name: "go_active";
10639                signal:  "elm,state,selected";
10640                source:  "elm";
10641                action:  STATE_SET "selected" 0.0;
10642                target:  "bg";
10643                target:  "elm.text";
10644                target:  "label2";
10645                target:  "elm.text_new";
10646                target:  "label2_new";
10647                transition: LINEAR 0.2;
10648            }
10649            program { name: "go_passive";
10650                signal:  "elm,state,unselected";
10651                source:  "elm";
10652                action:  STATE_SET "default" 0.0;
10653                target:  "bg";
10654                target:  "elm.text";
10655                target:  "label2";
10656                target:  "elm.text_new";
10657                target:  "label2_new";
10658                transition: LINEAR 0.1;
10659            }
10660            program { name: "go";
10661                signal:  "mouse,up,1";
10662                source:  "event";
10663                action:  SIGNAL_EMIT "elm,action,click" "elm";
10664            }
10665            program { name: "mouse,in";
10666               signal:  "mouse,in";
10667               source:  "event";
10668               action:  SIGNAL_EMIT "elm,mouse,in" "elm";
10669            }
10670            program { name: "mouse,out";
10671               signal:  "mouse,out";
10672               source:  "event";
10673               action:  SIGNAL_EMIT "elm,mouse,out" "elm";
10674            }
10675            program { name: "disable";
10676                signal: "elm,state,disabled";
10677                source: "elm";
10678                action: STATE_SET "disabled" 0.0;
10679                target: "label2";
10680                target: "label2_new";
10681                target: "bg";
10682                after: "disable_text";
10683            }
10684            program { name: "disable_text";
10685                script {
10686                    new st[31];
10687                    new Float:vl;
10688                    get_state(PART:"elm.text", st, 30, vl);
10689                    if (!strcmp(st, "visible"))
10690                    {
10691                       set_state(PART:"elm.text", "disabled_visible", 0.0);
10692                       set_state(PART:"elm.text_new", "disabled_visible", 0.0);
10693                    }
10694                    else
10695                    {
10696                       set_state(PART:"elm.text", "disabled", 0.0);
10697                       set_state(PART:"elm.text_new", "disabled", 0.0);
10698                    }
10699                }
10700            }
10701            program { name: "enable";
10702                signal: "elm,state,enabled";
10703                source: "elm";
10704                action: STATE_SET "default" 0.0;
10705                target: "label2";
10706                target: "label2_new";
10707                target: "bg";
10708                after: "enable_text";
10709            }
10710            program { name: "enable_text";
10711                script {
10712                    new st[31];
10713                    new Float:vl;
10714                    get_state(PART:"elm.text", st, 30, vl);
10715                    if (!strcmp(st, "disabled_visible"))
10716                    {
10717                       set_state(PART:"elm.text", "visible", 0.0);
10718                       set_state(PART:"elm.text_new", "visible", 0.0);
10719                    }
10720                    else
10721                    {
10722                       set_state(PART:"elm.text", "default", 0.0);
10723                       set_state(PART:"elm.text_new", "default", 0.0);
10724                    }
10725                }
10726            }
10727            program { name: "label_set,animation,forward";
10728               signal: "elm,state,label_set,forward";
10729               source: "elm";
10730               after: "label_set,animation";
10731            }
10732            program { name: "label_set,animation,backward";
10733               signal: "elm,state,label_set,backward";
10734               source: "elm";
10735               after: "label_set,animation";
10736            }
10737            program { name: "label_set,animation";
10738               signal: "elm,state,label_set";
10739               source: "elm";
10740               action: STATE_SET "animation" 0.0;
10741               target: "elm.text.clipper";
10742               target: "elm.text_new.clipper";
10743               transition: LINEAR 0.2;
10744               after: "label_set,animation,done";
10745            }
10746            program { name: "label_set,animation,done";
10747               action: SIGNAL_EMIT "elm,state,label_set,done" "elm";
10748            }
10749            program { name: "label,reset";
10750               signal: "elm,state,label,reset";
10751               source: "elm";
10752               action: STATE_SET "default" 0.0;
10753               target: "elm.text.clipper";
10754               target: "elm.text_new.clipper";
10755            }
10756            program { name: "icon_set,animation,forward";
10757               signal: "elm,state,icon_set,forward";
10758               source: "elm";
10759               after: "icon_set,animation";
10760            }
10761            program { name: "icon_set,animation,backward";
10762               signal: "elm,state,icon_set,backward";
10763               source: "elm";
10764               after: "icon_set,animation";
10765            }
10766            program { name: "icon_set,animation";
10767               signal: "elm,state,icon_set";
10768               source: "elm";
10769               action: STATE_SET "animation" 0.0;
10770               target: "elm.icon.clipper";
10771               target: "elm.icon_new.clipper";
10772               transition: LINEAR 0.2;
10773               after: "icon_set,animation,done";
10774            }
10775            program { name: "icon_set,animation,done";
10776               action: SIGNAL_EMIT "elm,state,icon_set,done" "elm";
10777            }
10778            program { name: "icon,reset";
10779               signal: "elm,state,icon,reset";
10780               source: "elm";
10781               action: STATE_SET "default" 0.0;
10782               target: "elm.icon.clipper";
10783               target: "elm.icon_new.clipper";
10784            }
10785        }
10786    }
10787
10788    group { name: "elm/toolbar/separator/default";
10789       images {
10790          image: "toolbar_separator_v.png" COMP;
10791       }
10792       parts {
10793          part { name: "separator"; // separator group
10794             description { state: "default" 0.0;
10795                min: 2 2;
10796                max: 2 9999;
10797                rel1.offset: 4 4;
10798                rel2.offset: -5 -5;
10799                image {
10800                   normal: "toolbar_separator_v.png";
10801                }
10802                fill {
10803                   smooth: 0;
10804                }
10805             }
10806          }
10807       }
10808    }
10809
10810    ///////////////////////////////////////////////////////////////////////////////
10811    group { name: "elm/notify/block_events/default";
10812        parts {
10813            part { name: "block_events";
10814                type: RECT;
10815                description { state: "default" 0.0;
10816                    color: 0 0 0 64;
10817                    visible: 1;
10818                }
10819            }
10820        }
10821            programs {
10822                    program {
10823                                 name: "block_clicked";
10824                                 signal: "mouse,clicked,1";
10825                                 source: "block_events";
10826                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
10827                    }
10828            }
10829    }
10830    group { name: "elm/notify/top/default";
10831        //this group is a design similar to the inwin group
10832        images {
10833            image: "shad_circ.png" COMP;
10834            image: "bt_dis_base.png" COMP;
10835            image: "bt_dis_hilight.png" COMP;
10836        }
10837        parts {
10838            part { name: "base";
10839                type: RECT;
10840                mouse_events: 0;
10841                repeat_events: 1;
10842                description { state: "default" 0.0;
10843                    color: 0 0 0 0;
10844                    rel1.offset: 10 10;
10845                    rel2.offset: -10 -10;
10846                    rel1.relative: 0.0 -1.0;
10847                    rel2.relative: 1.0 0.0;
10848                }
10849                description { state: "visible" 0.0;
10850                    inherit: "default" 0.0;
10851                    color: 0 0 0 64;
10852                    rel1.relative: 0.0 0.0;
10853                    rel2.relative: 1.0 1.0;
10854                }
10855            }
10856            part { name: "shad";
10857                mouse_events:  0;
10858                description { state: "default" 0.0;
10859                    image.normal: "shad_circ.png";
10860                    rel1.to: "elm.swallow.content";
10861                    rel1.offset: -64 -64;
10862                    rel2.to: "elm.swallow.content";
10863                    rel2.offset: 63 63;
10864                    fill.smooth: 0;
10865                }
10866            }
10867            part { name: "pop";
10868                mouse_events: 1;
10869                description { state: "default" 0.0;
10870                    rel1.to: "elm.swallow.content";
10871                    rel1.offset: -5 -5;
10872                    rel2.to: "elm.swallow.content";
10873                    rel2.offset: 4 4;
10874                    image {
10875                        normal: "bt_dis_base.png";
10876                        border: 4 4 4 4;
10877                    }
10878                    image.middle: SOLID;
10879                }
10880            }
10881            part { name: "popover";
10882                mouse_events: 0;
10883                description { state: "default" 0.0;
10884                    rel1.to: "pop";
10885                    rel2.to: "pop";
10886                    rel2.relative: 1.0 0.5;
10887                    image {
10888                        normal: "bt_dis_hilight.png";
10889                        border: 4 4 4 0;
10890                    }
10891                }
10892            }
10893            part { name: "elm.swallow.content";
10894                type: SWALLOW;
10895                description { state: "default" 0.0;
10896                    rel1.to: "base";
10897                    rel2.to: "base";
10898                }
10899            }
10900        }
10901        programs {
10902            program { name: "show";
10903                signal: "elm,action,show";
10904                source: "elm";
10905                action: STATE_SET "visible" 0.0;
10906                target: "base";
10907            }
10908            program { name: "show_2";
10909                 signal: "show";
10910                 action: STATE_SET "default" 0.0;
10911                 target: "base";
10912                 after: "show_3";
10913            }
10914            program { name: "show_3";
10915                 signal: "show";
10916                 action: STATE_SET "visible" 0.0;
10917                 target: "base";
10918                 transition: LINEAR 0.5;
10919            }
10920            program { name: "hide";
10921                signal: "elm,action,hide";
10922                source: "elm";
10923                action: STATE_SET "default" 0.0;
10924                target: "base";
10925            }
10926        }
10927    }
10928    group { name: "elm/notify/center/default";
10929        //this group is a design similar to the inwin group
10930        images {
10931            image: "bt_dis_base.png" COMP;
10932        }
10933        parts {
10934            part { name: "base";
10935                type: RECT;
10936                mouse_events: 0;
10937                repeat_events: 1;
10938                description { state: "default" 0.0;
10939                    color: 0 0 0 0;
10940                    rel1.relative: 0.0 0.0;
10941                    rel2.relative: 1.0 1.0;
10942                }
10943            }
10944            part { name: "pop";
10945                mouse_events: 1;
10946                description { state: "default" 0.0;
10947                    rel1.to: "elm.swallow.content";
10948                    rel1.offset: -5 -5;
10949                    rel2.to: "elm.swallow.content";
10950                    rel2.offset: 4 4;
10951                    image {
10952                        normal: "bt_dis_base.png";
10953                        border: 4 4 4 4;
10954                    }
10955                }
10956            }
10957            part { name: "elm.swallow.content";
10958                type: SWALLOW;
10959                description { state: "default" 0.0;
10960                    rel1.to: "base";
10961                    rel2.to: "base";
10962                }
10963            }
10964        }
10965        programs {
10966            program { name: "show";
10967                signal: "elm,action,show";
10968                source: "elm";
10969                action: STATE_SET "default" 0.0;
10970                target: "base";
10971            }
10972            program { name: "show_2";
10973                 signal: "show";
10974                 action: STATE_SET "default" 0.0;
10975                 target: "base";
10976            }
10977            program { name: "hide";
10978                signal: "elm,action,hide";
10979                source: "elm";
10980                action: STATE_SET "default" 0.0;
10981                target: "base";
10982            }
10983        }
10984    }
10985    group { name: "elm/notify/bottom/default";
10986        //this group is a design similar to the inwin group
10987        images {
10988            image: "shad_circ.png" COMP;
10989            image: "bt_dis_base.png" COMP;
10990            image: "bt_dis_hilight.png" COMP;
10991        }
10992        parts {
10993            part { name: "base";
10994                type: RECT;
10995                mouse_events: 0;
10996                repeat_events: 1;
10997                description { state: "default" 0.0;
10998                    color: 0 0 0 0;
10999                    rel1.offset: 10 10;
11000                    rel2.offset: -10 -10;
11001                    rel1.relative: 0.0 1.0;
11002                    rel2.relative: 1.0 2.0;
11003                }
11004                description { state: "visible" 0.0;
11005                    inherit: "default" 0.0;
11006                    color: 0 0 0 64;
11007                    rel1.relative: 0.0 0.0;
11008                    rel2.relative: 1.0 1.0;
11009                }
11010            }
11011            part { name: "shad";
11012                mouse_events:  0;
11013                description { state: "default" 0.0;
11014                    image.normal: "shad_circ.png";
11015                    rel1.to: "elm.swallow.content";
11016                    rel1.offset: -64 -64;
11017                    rel2.to: "elm.swallow.content";
11018                    rel2.offset: 63 63;
11019                    fill.smooth: 0;
11020                }
11021            }
11022            part { name: "pop";
11023                mouse_events: 1;
11024                description { state: "default" 0.0;
11025                    rel1.to: "elm.swallow.content";
11026                    rel1.offset: -5 -5;
11027                    rel2.to: "elm.swallow.content";
11028                    rel2.offset: 4 4;
11029                    image {
11030                        normal: "bt_dis_base.png";
11031                        border: 4 4 4 4;
11032                    }
11033                    image.middle: SOLID;
11034                }
11035            }
11036            part { name: "popover";
11037                mouse_events: 0;
11038                description { state: "default" 0.0;
11039                    rel1.to: "pop";
11040                    rel2.to: "pop";
11041                    rel2.relative: 1.0 0.5;
11042                    image {
11043                        normal: "bt_dis_hilight.png";
11044                        border: 4 4 4 0;
11045                    }
11046                }
11047            }
11048            part { name: "elm.swallow.content";
11049                type: SWALLOW;
11050                description { state: "default" 0.0;
11051                    rel1.to: "base";
11052                    rel2.to: "base";
11053                }
11054            }
11055        }
11056        programs {
11057            program { name: "show";
11058                signal: "elm,action,show";
11059                source: "elm";
11060                action: STATE_SET "visible" 0.0;
11061                target: "base";
11062            }
11063            program { name: "show_2";
11064                 signal: "show";
11065                 action: STATE_SET "default" 0.0;
11066                 target: "base";
11067                 after: "show_3";
11068            }
11069            program { name: "show_3";
11070                 signal: "show";
11071                 action: STATE_SET "visible" 0.0;
11072                 target: "base";
11073                 transition: LINEAR 0.5;
11074            }
11075            program { name: "hide";
11076                signal: "elm,action,hide";
11077                source: "elm";
11078                action: STATE_SET "default" 0.0;
11079                target: "base";
11080            }
11081        }
11082    }
11083    group { name: "elm/notify/left/default";
11084        //this group is a design similar to the inwin group
11085        images {
11086            image: "shad_circ.png" COMP;
11087            image: "bt_dis_base.png" COMP;
11088            image: "bt_dis_hilight.png" COMP;
11089        }
11090        parts {
11091            part { name: "base";
11092                type: RECT;
11093                mouse_events: 0;
11094                repeat_events: 1;
11095                description { state: "default" 0.0;
11096                    color: 0 0 0 0;
11097                    rel1.offset: 10 10;
11098                    rel2.offset: -10 -10;
11099                    rel1.relative: -1.0 0.0;
11100                    rel2.relative: 0.0 1.0;
11101                }
11102                description { state: "visible" 0.0;
11103                    inherit: "default" 0.0;
11104                    color: 0 0 0 64;
11105                    rel1.relative: 0.0 0.0;
11106                    rel2.relative: 1.0 1.0;
11107                }
11108            }
11109            part { name: "shad";
11110                mouse_events:  0;
11111                description { state: "default" 0.0;
11112                    image.normal: "shad_circ.png";
11113                    rel1.to: "elm.swallow.content";
11114                    rel1.offset: -64 -64;
11115                    rel2.to: "elm.swallow.content";
11116                    rel2.offset: 63 63;
11117                    fill.smooth: 0;
11118                }
11119            }
11120            part { name: "pop";
11121                mouse_events: 1;
11122                description { state: "default" 0.0;
11123                    rel1.to: "elm.swallow.content";
11124                    rel1.offset: -5 -5;
11125                    rel2.to: "elm.swallow.content";
11126                    rel2.offset: 4 4;
11127                    image {
11128                        normal: "bt_dis_base.png";
11129                        border: 4 4 4 4;
11130                    }
11131                    image.middle: SOLID;
11132                }
11133            }
11134            part { name: "popover";
11135                mouse_events: 0;
11136                description { state: "default" 0.0;
11137                    rel1.to: "pop";
11138                    rel2.to: "pop";
11139                    rel2.relative: 1.0 0.5;
11140                    image {
11141                        normal: "bt_dis_hilight.png";
11142                        border: 4 4 4 0;
11143                    }
11144                }
11145            }
11146            part { name: "elm.swallow.content";
11147                type: SWALLOW;
11148                description { state: "default" 0.0;
11149                    rel1.to: "base";
11150                    rel2.to: "base";
11151                }
11152            }
11153        }
11154        programs {
11155            program { name: "show";
11156                signal: "elm,action,show";
11157                source: "elm";
11158                action: STATE_SET "visible" 0.0;
11159                target: "base";
11160            }
11161            program { name: "show_2";
11162                signal: "show";
11163                action: STATE_SET "default" 0.0;
11164                target: "base";
11165                after: "show_3";
11166            }
11167            program { name: "show_3";
11168                signal: "show";
11169                action: STATE_SET "visible" 0.0;
11170                target: "base";
11171                transition: LINEAR 0.5;
11172            }
11173            program { name: "hide";
11174                signal: "elm,action,hide";
11175                source: "elm";
11176                action: STATE_SET "default" 0.0;
11177                target: "base";
11178            }
11179        }
11180    }
11181    group { name: "elm/notify/right/default";
11182        //this group is a design similar to the inwin group
11183        images {
11184            image: "shad_circ.png" COMP;
11185            image: "bt_dis_base.png" COMP;
11186            image: "bt_dis_hilight.png" COMP;
11187        }
11188        parts {
11189            part { name: "base";
11190                type: RECT;
11191                mouse_events: 0;
11192                repeat_events: 1;
11193                 description { state: "default" 0.0;
11194                    color: 0 0 0 0;
11195                    rel1.offset: 10 10;
11196                    rel2.offset: -10 -10;
11197                    rel1.relative: 1.0 0.0;
11198                    rel2.relative: 2.0 1.0;
11199                }
11200                description { state: "visible" 0.0;
11201                    inherit: "default" 0.0;
11202                    color: 0 0 0 64;
11203                    rel1.relative: 0.0 0.0;
11204                    rel2.relative: 1.0 1.0;
11205                }
11206            }
11207            part { name: "shad";
11208                mouse_events:  0;
11209                description { state: "default" 0.0;
11210                    image.normal: "shad_circ.png";
11211                    rel1.to: "elm.swallow.content";
11212                    rel1.offset: -64 -64;
11213                    rel2.to: "elm.swallow.content";
11214                    rel2.offset: 63 63;
11215                    fill.smooth: 0;
11216                }
11217            }
11218            part { name: "pop";
11219                mouse_events: 1;
11220                description { state: "default" 0.0;
11221                    rel1.to: "elm.swallow.content";
11222                    rel1.offset: -5 -5;
11223                    rel2.to: "elm.swallow.content";
11224                    rel2.offset: 4 4;
11225                    image {
11226                        normal: "bt_dis_base.png";
11227                        border: 4 4 4 4;
11228                    }
11229                    image.middle: SOLID;
11230                }
11231            }
11232            part { name: "popover";
11233                mouse_events: 0;
11234                description { state: "default" 0.0;
11235                    rel1.to: "pop";
11236                    rel2.to: "pop";
11237                    rel2.relative: 1.0 0.5;
11238                    image {
11239                        normal: "bt_dis_hilight.png";
11240                        border: 4 4 4 0;
11241                    }
11242                }
11243            }
11244            part { name: "elm.swallow.content";
11245                type: SWALLOW;
11246                description { state: "default" 0.0;
11247                    rel1.to: "base";
11248                    rel2.to: "base";
11249                }
11250            }
11251        }
11252        programs {
11253            program { name: "show";
11254                signal: "elm,action,show";
11255                source: "elm";
11256                action: STATE_SET "visible" 0.0;
11257                target: "base";
11258            }
11259            program { name: "show_2";
11260                signal: "show";
11261                action: STATE_SET "default" 0.0;
11262                target: "base";
11263                after: "show_3";
11264            }
11265            program { name: "show_3";
11266                signal: "show";
11267                action: STATE_SET "visible" 0.0;
11268                target: "base";
11269                transition: LINEAR 0.5;
11270            }
11271            program { name: "hide";
11272                signal: "elm,action,hide";
11273                source: "elm";
11274                action: STATE_SET "default" 0.0;
11275                target: "base";
11276            }
11277        }
11278    }
11279    group { name: "elm/notify/top_left/default";
11280        //this group is a design similar to the inwin group
11281        images {
11282            image: "shad_circ.png" COMP;
11283            image: "bt_dis_base.png" COMP;
11284            image: "bt_dis_hilight.png" COMP;
11285        }
11286        parts {
11287            part { name: "base";
11288                type: RECT;
11289                mouse_events: 0;
11290                repeat_events: 1;
11291                 description { state: "default" 0.0;
11292                    color: 0 0 0 0;
11293                    rel1.offset: 10 10;
11294                    rel2.offset: -10 -10;
11295                    rel1.relative: 0.0 -1.0;
11296                    rel2.relative: 1.0 0.0;
11297                }
11298                description { state: "visible" 0.0;
11299                    inherit: "default" 0.0;
11300                    color: 0 0 0 64;
11301                    rel1.relative: 0.0 0.0;
11302                    rel2.relative: 1.0 1.0;
11303                }
11304            }
11305            part { name: "shad";
11306                mouse_events:  0;
11307                description { state: "default" 0.0;
11308                    image.normal: "shad_circ.png";
11309                    rel1.to: "elm.swallow.content";
11310                    rel1.offset: -64 -64;
11311                    rel2.to: "elm.swallow.content";
11312                    rel2.offset: 63 63;
11313                    fill.smooth: 0;
11314                }
11315            }
11316            part { name: "pop";
11317                mouse_events: 1;
11318                description { state: "default" 0.0;
11319                    rel1.to: "elm.swallow.content";
11320                    rel1.offset: -5 -5;
11321                    rel2.to: "elm.swallow.content";
11322                    rel2.offset: 4 4;
11323                    image {
11324                        normal: "bt_dis_base.png";
11325                        border: 4 4 4 4;
11326                    }
11327                    image.middle: SOLID;
11328                }
11329            }
11330            part { name: "popover";
11331                mouse_events: 0;
11332                description { state: "default" 0.0;
11333                    rel1.to: "pop";
11334                    rel2.to: "pop";
11335                    rel2.relative: 1.0 0.5;
11336                    image {
11337                        normal: "bt_dis_hilight.png";
11338                        border: 4 4 4 0;
11339                    }
11340                }
11341            }
11342            part { name: "elm.swallow.content";
11343                type: SWALLOW;
11344                description { state: "default" 0.0;
11345                    rel1.to: "base";
11346                    rel2.to: "base";
11347                }
11348            }
11349        }
11350        programs {
11351            program { name: "show";
11352                signal: "elm,action,show";
11353                source: "elm";
11354                action: STATE_SET "visible" 0.0;
11355                target: "base";
11356            }
11357            program { name: "show_2";
11358                signal: "show";
11359                action: STATE_SET "default" 0.0;
11360                target: "base";
11361                after: "show_3";
11362            }
11363            program { name: "show_3";
11364                signal: "show";
11365                action: STATE_SET "visible" 0.0;
11366                target: "base";
11367                transition: LINEAR 0.5;
11368            }
11369            program { name: "hide";
11370                signal: "elm,action,hide";
11371                source: "elm";
11372                action: STATE_SET "default" 0.0;
11373                target: "base";
11374            }
11375        }
11376    }
11377    group { name: "elm/notify/top_right/default";
11378        //this group is a design similar to the inwin group
11379        images {
11380            image: "shad_circ.png" COMP;
11381            image: "bt_dis_base.png" COMP;
11382            image: "bt_dis_hilight.png" COMP;
11383        }
11384        parts {
11385            part { name: "base";
11386                type: RECT;
11387                mouse_events: 0;
11388                repeat_events: 1;
11389                description { state: "default" 0.0;
11390                    color: 0 0 0 0;
11391                    rel1.offset: 10 10;
11392                    rel2.offset: -10 -10;
11393                    rel1.relative: 0.0 -1.0;
11394                    rel2.relative: 1.0 0.0;
11395                }
11396                description { state: "visible" 0.0;
11397                    inherit: "default" 0.0;
11398                    color: 0 0 0 64;
11399                    rel1.relative: 0.0 0.0;
11400                    rel2.relative: 1.0 1.0;
11401                }
11402            }
11403            part { name: "shad";
11404                mouse_events:  0;
11405                description { state: "default" 0.0;
11406                    image.normal: "shad_circ.png";
11407                    rel1.to: "elm.swallow.content";
11408                    rel1.offset: -64 -64;
11409                    rel2.to: "elm.swallow.content";
11410                    rel2.offset: 63 63;
11411                    fill.smooth: 0;
11412                }
11413            }
11414            part { name: "pop";
11415                mouse_events: 1;
11416                description { state: "default" 0.0;
11417                    rel1.to: "elm.swallow.content";
11418                    rel1.offset: -5 -5;
11419                    rel2.to: "elm.swallow.content";
11420                    rel2.offset: 4 4;
11421                    image {
11422                        normal: "bt_dis_base.png";
11423                        border: 4 4 4 4;
11424                    }
11425                    image.middle: SOLID;
11426                }
11427            }
11428            part { name: "popover";
11429                mouse_events: 0;
11430                description { state: "default" 0.0;
11431                    rel1.to: "pop";
11432                    rel2.to: "pop";
11433                    rel2.relative: 1.0 0.5;
11434                    image {
11435                        normal: "bt_dis_hilight.png";
11436                        border: 4 4 4 0;
11437                    }
11438                }
11439            }
11440            part { name: "elm.swallow.content";
11441                type: SWALLOW;
11442                description { state: "default" 0.0;
11443                    rel1.to: "base";
11444                    rel2.to: "base";
11445                }
11446            }
11447        }
11448        programs {
11449            program { name: "show";
11450                signal: "elm,action,show";
11451                source: "elm";
11452                action: STATE_SET "visible" 0.0;
11453                target: "base";
11454            }
11455            program { name: "show_2";
11456                signal: "show";
11457                action: STATE_SET "default" 0.0;
11458                target: "base";
11459                after: "show_3";
11460            }
11461            program { name: "show_3";
11462                signal: "show";
11463                action: STATE_SET "visible" 0.0;
11464                target: "base";
11465                transition: LINEAR 0.5;
11466            }
11467            program { name: "hide";
11468                signal: "elm,action,hide";
11469                source: "elm";
11470                action: STATE_SET "default" 0.0;
11471                target: "base";
11472            }
11473        }
11474    }
11475    group { name: "elm/notify/bottom_left/default";
11476        //this group is a design similar to the inwin group
11477        images {
11478            image: "shad_circ.png" COMP;
11479            image: "bt_dis_base.png" COMP;
11480            image: "bt_dis_hilight.png" COMP;
11481        }
11482        parts {
11483            part { name: "base";
11484                type: RECT;
11485                mouse_events: 0;
11486                repeat_events: 1;
11487                description { state: "default" 0.0;
11488                    color: 0 0 0 0;
11489                    rel1.offset: 10 10;
11490                    rel2.offset: -10 -10;
11491                    rel1.relative: 0.0 1.0;
11492                    rel2.relative: 1.0 2.0;
11493                }
11494                description { state: "visible" 0.0;
11495                    inherit: "default" 0.0;
11496                    color: 0 0 0 64;
11497                    rel1.relative: 0.0 0.0;
11498                    rel2.relative: 1.0 1.0;
11499                }
11500            }
11501            part { name: "shad";
11502                mouse_events:  0;
11503                description { state: "default" 0.0;
11504                    image.normal: "shad_circ.png";
11505                    rel1.to: "elm.swallow.content";
11506                    rel1.offset: -64 -64;
11507                    rel2.to: "elm.swallow.content";
11508                    rel2.offset: 63 63;
11509                    fill.smooth: 0;
11510                }
11511            }
11512            part { name: "pop";
11513                mouse_events: 1;
11514                description { state: "default" 0.0;
11515                    rel1.to: "elm.swallow.content";
11516                    rel1.offset: -5 -5;
11517                    rel2.to: "elm.swallow.content";
11518                    rel2.offset: 4 4;
11519                    image {
11520                        normal: "bt_dis_base.png";
11521                        border: 4 4 4 4;
11522                    }
11523                    image.middle: SOLID;
11524                }
11525            }
11526            part { name: "popover";
11527                mouse_events: 0;
11528                description { state: "default" 0.0;
11529                    rel1.to: "pop";
11530                    rel2.to: "pop";
11531                    rel2.relative: 1.0 0.5;
11532                    image {
11533                        normal: "bt_dis_hilight.png";
11534                        border: 4 4 4 0;
11535                    }
11536                }
11537            }
11538            part { name: "elm.swallow.content";
11539                type: SWALLOW;
11540                description { state: "default" 0.0;
11541                    rel1.to: "base";
11542                    rel2.to: "base";
11543                }
11544            }
11545        }
11546        programs {
11547            program { name: "show";
11548                signal: "elm,action,show";
11549                source: "elm";
11550                action: STATE_SET "visible" 0.0;
11551                target: "base";
11552            }
11553            program { name: "show_2";
11554                signal: "show";
11555                action: STATE_SET "default" 0.0;
11556                target: "base";
11557                after: "show_3";
11558            }
11559            program { name: "show_3";
11560                signal: "show";
11561                action: STATE_SET "visible" 0.0;
11562                target: "base";
11563                transition: LINEAR 0.5;
11564            }
11565            program { name: "hide";
11566                signal: "elm,action,hide";
11567                source: "elm";
11568                action: STATE_SET "default" 0.0;
11569                target: "base";
11570            }
11571        }
11572    }
11573    group { name: "elm/notify/bottom_right/default";
11574        //this group is a design similar to the inwin group
11575        images {
11576            image: "shad_circ.png" COMP;
11577            image: "bt_dis_base.png" COMP;
11578            image: "bt_dis_hilight.png" COMP;
11579        }
11580        parts {
11581            part { name: "base";
11582                type: RECT;
11583                mouse_events: 0;
11584                repeat_events: 1;
11585               description { state: "default" 0.0;
11586                    color: 0 0 0 0;
11587                    rel1.offset: 10 10;
11588                    rel2.offset: -10 -10;
11589                    rel1.relative: 0.0 1.0;
11590                    rel2.relative: 1.0 2.0;
11591                }
11592                description { state: "visible" 0.0;
11593                    inherit: "default" 0.0;
11594                    color: 0 0 0 64;
11595                    rel1.relative: 0.0 0.0;
11596                    rel2.relative: 1.0 1.0;
11597                }
11598            }
11599            part { name: "shad";
11600                mouse_events:  0;
11601                description { state: "default" 0.0;
11602                    image.normal: "shad_circ.png";
11603                    rel1.to: "elm.swallow.content";
11604                    rel1.offset: -64 -64;
11605                    rel2.to: "elm.swallow.content";
11606                    rel2.offset: 63 63;
11607                    fill.smooth: 0;
11608                }
11609            }
11610            part { name: "pop";
11611                mouse_events: 1;
11612                description { state: "default" 0.0;
11613                    rel1.to: "elm.swallow.content";
11614                    rel1.offset: -5 -5;
11615                    rel2.to: "elm.swallow.content";
11616                    rel2.offset: 4 4;
11617                    image {
11618                        normal: "bt_dis_base.png";
11619                        border: 4 4 4 4;
11620                    }
11621                    image.middle: SOLID;
11622                }
11623            }
11624            part { name: "popover";
11625                mouse_events: 0;
11626                description { state: "default" 0.0;
11627                    rel1.to: "pop";
11628                    rel2.to: "pop";
11629                    rel2.relative: 1.0 0.5;
11630                    image {
11631                        normal: "bt_dis_hilight.png";
11632                        border: 4 4 4 0;
11633                    }
11634                }
11635            }
11636            part { name: "elm.swallow.content";
11637                type: SWALLOW;
11638                description { state: "default" 0.0;
11639                    rel1.to: "base";
11640                    rel2.to: "base";
11641                }
11642            }
11643        }
11644        programs {
11645            program { name: "show";
11646                signal: "elm,action,show";
11647                source: "elm";
11648                action: STATE_SET "visible" 0.0;
11649                target: "base";
11650            }
11651            program { name: "show_2";
11652                signal: "show";
11653                action: STATE_SET "default" 0.0;
11654                target: "base";
11655                after: "show_3";
11656            }
11657            program { name: "show_3";
11658                signal: "show";
11659                action: STATE_SET "visible" 0.0;
11660                target: "base";
11661                transition: LINEAR 0.5;
11662            }
11663            program { name: "hide";
11664                signal: "elm,action,hide";
11665                source: "elm";
11666                action: STATE_SET "default" 0.0;
11667                target: "base";
11668            }
11669        }
11670    }
11671
11672 ///////////////////////////////////////////////////////////////////////////////
11673    group { name: "elm/slideshow/base/default";
11674       data {
11675          item: transitions "fade black_fade horizontal vertical square";
11676          item: layouts "fullscreen not_fullscreen";
11677       }
11678       parts {
11679          part { name: "whole";
11680                  type: RECT;
11681             description {
11682                state: "default" 0.0;
11683                visible: 1;
11684                color: 20 20 20 255;
11685             }
11686          }
11687          part { name: "image_1_whole";
11688             description {
11689                state: "default" 0.0;
11690                color: 255 255 255 255;
11691             }
11692             description {
11693                state: "fade_prev_next" 0.0;
11694                inherit: "default" 0.0;
11695                color: 255 255 255 0;
11696             }
11697             description {
11698                state: "black_fade_prev_next_init" 0.0;
11699                inherit: "default" 0.0;
11700                color: 255 255 255 255;
11701             }
11702             description {
11703                state: "black_fade_prev_next" 0.0;
11704                inherit: "default" 0.0;
11705                color: 0 0 0 255;
11706             }
11707             description {
11708                state: "horizontal_next_init" 0.0;
11709                inherit: "default" 0.0;
11710             }
11711             description {
11712                state: "horizontal_next" 0.0;
11713                inherit: "default" 0.0;
11714                rel1.relative: -1.0 0.0;
11715                rel2.relative: 0.0 1.0;
11716             }
11717             description {
11718                state: "horizontal_prev_init" 0.0;
11719                inherit: "default" 0.0;
11720             }
11721             description {
11722                state: "horizontal_prev" 0.0;
11723                inherit: "default" 0.0;
11724                rel1.relative: 1.0 0.0;
11725                rel2.relative: 2.0 1.0;
11726             }
11727             description {
11728                state: "vertical_next_init" 0.0;
11729                inherit: "default" 0.0;
11730             }
11731             description {
11732                state: "vertical_next" 0.0;
11733                inherit: "default" 0.0;
11734                rel1.relative: 0.0 -1.0;
11735                rel2.relative: 1.0 0.0;
11736             }
11737             description {
11738                state: "vertical_prev_init" 0.0;
11739                inherit: "default" 0.0;
11740             }
11741             description {
11742                state: "vertical_prev" 0.0;
11743                inherit: "default" 0.0;
11744                rel1.relative: 0.0 1.0;
11745                rel2.relative: 1.0 2.0;
11746             }
11747             description {
11748                state: "square_prev_next" 0.0;
11749                inherit: "default" 0.0;
11750                color: 255 255 255 0;
11751             }
11752          }
11753          part { name: "image_2_whole";
11754             description {
11755                state: "default" 0.0;
11756                visible: 1;
11757                color: 255 255 255 0;
11758             }
11759             description {
11760                state: "fade_prev_next" 0.0;
11761                inherit: "default" 0.0;
11762                color: 255 255 255 255;
11763             }
11764             description {
11765                state: "black_fade_prev_next_init" 0.0;
11766                inherit: "default" 0.0;
11767                color: 0 0 0 0;
11768             }
11769             description {
11770                state: "black_fade_prev_next" 0.0;
11771                inherit: "default" 0.0;
11772                color: 255 255 255 255;
11773             }
11774             description {
11775                state: "horizontal_next_init" 0.0;
11776                inherit: "default" 0.0;
11777                rel1.relative: 1.0 0.0;
11778                rel2.relative: 2.0 1.0;
11779                color: 255 255 255 255;
11780             }
11781             description {
11782                state: "horizontal_next" 0.0;
11783                inherit: "default" 0.0;
11784                color: 255 255 255 255;
11785             }
11786             description {
11787                state: "horizontal_prev_init" 0.0;
11788                inherit: "default" 0.0;
11789                rel1.relative: -1.0 0.0;
11790                rel2.relative: 0.0 1.0;
11791                color: 255 255 255 255;
11792             }
11793             description {
11794                state: "horizontal_prev" 0.0;
11795                inherit: "default" 0.0;
11796                color: 255 255 255 255;
11797             }
11798             description {
11799                state: "vertical_next_init" 0.0;
11800                inherit: "default" 0.0;
11801                rel1.relative: 0.0 1.0;
11802                rel2.relative: 1.0 2.0;
11803                color: 255 255 255 255;
11804             }
11805             description {
11806                state: "vertical_next" 0.0;
11807                inherit: "default" 0.0;
11808                color: 255 255 255 255;
11809             }
11810             description {
11811                state: "vertical_prev_init" 0.0;
11812                inherit: "default" 0.0;
11813                rel1.relative: 0.0 -1.0;
11814                rel2.relative: 1.0 0.0;
11815                color: 255 255 255 255;
11816             }
11817             description {
11818                state: "vertical_prev" 0.0;
11819                inherit: "default" 0.0;
11820                color: 255 255 255 255;
11821             }
11822             description {
11823                state: "square_prev_next_init" 0.0;
11824                inherit: "default" 0.0;
11825                rel1.relative: 0.5 0.5;
11826                rel2.relative: 0.5 0.5;
11827                color: 255 255 255 255;
11828             }
11829             description {
11830                state: "square_prev_next" 0.0;
11831                inherit: "default" 0.0;
11832                rel1.relative: 0.0 0.0;
11833                rel2.relative: 1.0 1.0;
11834                color: 255 255 255 255;
11835             }
11836          }
11837          part { name: "elm.swallow.1";
11838             type: SWALLOW;
11839             clip_to: "image_1_whole";
11840             description {
11841                state: "default" 0.0;
11842                rel1.to: "image_1_whole";
11843                rel2.to: "image_1_whole";
11844                color: 255 255 255 255;
11845             }
11846             description {
11847                state: "not_fullscreen" 0.0;
11848                rel1.relative: 0.1 0.1;
11849                rel1.to: "image_1_whole";
11850                rel2.relative: 0.9 0.9;
11851                rel2.to: "image_1_whole";
11852                color: 255 255 255 255;
11853             }
11854          }
11855          part { name: "elm.swallow.2";
11856             type: SWALLOW;
11857             clip_to: "image_2_whole";
11858             description {
11859                state: "default" 0.0;
11860                color: 255 255 255 255;
11861                rel1.to: "image_2_whole";
11862                rel2.to: "image_2_whole";
11863             }
11864             description {
11865                state: "not_fullscreen" 0.0;
11866                color: 255 255 255 255;
11867                rel1.relative: 0.1 0.1;
11868                rel1.to: "image_2_whole";
11869                rel2.relative: 0.9 0.9;
11870                rel2.to: "image_2_whole";
11871             }
11872          }
11873          part { name: "events_catcher";
11874             type: RECT;
11875             repeat_events: 1;
11876             description {
11877                state: "default" 0.0;
11878                visible: 1;
11879                color: 0 0 0 0;
11880             }
11881          }
11882       }
11883       programs {
11884               //Substyle
11885               program { name: "layout_fullscreen";
11886             signal: "layout,fullscreen";
11887             source: "slideshow";
11888             action: STATE_SET "default" 0.0;
11889             target: "elm.swallow.1";
11890             target: "elm.swallow.2";
11891             transition: SINUSOIDAL 1.0;
11892         }
11893         program { name: "layout_not_fullscreen";
11894             signal: "layout,not_fullscreen";
11895             source: "slideshow";
11896             action: STATE_SET "not_fullscreen" 0.0;
11897             target: "elm.swallow.1";
11898             target: "elm.swallow.2";
11899             transition: SINUSOIDAL 1.0;
11900          }
11901                //
11902          program { name: "fade_next";
11903             signal: "fade,next";
11904             source: "slideshow";
11905             action: STATE_SET "default" 0.0;
11906             target: "image_1_whole";
11907             target: "image_2_whole";
11908             after: "fade_next_2";
11909          }
11910          program { name: "fade_next_2";
11911             action: STATE_SET "fade_prev_next" 0.0;
11912             target: "image_1_whole";
11913             target: "image_2_whole";
11914             transition: SINUSOIDAL 1.5;
11915             after: "end";
11916          }
11917          program { name: "fade_previous";
11918             signal: "fade,previous";
11919             source: "slideshow";
11920             action: STATE_SET "default" 0.0;
11921             target: "image_1_whole";
11922             target: "image_2_whole";
11923             after: "fade_previous_2";
11924          }
11925          program { name: "fade_previous_2";
11926             action: STATE_SET "fade_prev_next" 0.0;
11927             target: "image_1_whole";
11928             target: "image_2_whole";
11929             transition: SINUSOIDAL 1.5;
11930             after: "end";
11931          }
11932          program { name: "black_fade_next";
11933             signal: "black_fade,next";
11934             source: "slideshow";
11935             action: STATE_SET "black_fade_prev_next_init" 0.0;
11936             target: "image_1_whole";
11937             target: "image_2_whole";
11938             after: "black_fade_next_2";
11939          }
11940          program { name: "black_fade_next_2";
11941             action: STATE_SET "black_fade_prev_next" 0.0;
11942             target: "image_1_whole";
11943             transition: SINUSOIDAL 0.75;
11944             after: "black_fade_next_3";
11945          }
11946          program { name: "black_fade_next_3";
11947             action: STATE_SET "black_fade_prev_next" 0.0;
11948             target: "image_2_whole";
11949             transition: SINUSOIDAL 0.75;
11950             after: "end";
11951          }
11952          program { name: "black_fade_previous";
11953             signal: "black_fade,previous";
11954             source: "slideshow";
11955             action: STATE_SET "black_fade_prev_next_init" 0.0;
11956             target: "image_1_whole";
11957             target: "image_2_whole";
11958             after: "black_fade_previous_2";
11959          }
11960          program { name: "black_fade_previous_2";
11961             action: STATE_SET "black_fade_prev_next" 0.0;
11962             target: "image_1_whole";
11963             transition: SINUSOIDAL 0.75;
11964             after: "black_fade_previous_3";
11965          }
11966          program { name: "black_fade_previous_3";
11967             action: STATE_SET "black_fade_prev_next" 0.0;
11968             target: "image_2_whole";
11969             transition: SINUSOIDAL 0.75;
11970             after: "end";
11971          }
11972          program { name: "horizontal_next";
11973             signal: "horizontal,next";
11974             source: "slideshow";
11975             action: STATE_SET "horizontal_next_init" 0.0;
11976             target: "image_1_whole";
11977             target: "image_2_whole";
11978             after: "horizontal_next_2";
11979          }
11980          program { name: "horizontal_next_2";
11981             action: STATE_SET "horizontal_next" 0.0;
11982             target: "image_1_whole";
11983             target: "image_2_whole";
11984             transition: SINUSOIDAL 1.5;
11985             after: "end";
11986          }
11987          program { name: "horizontal_previous";
11988             signal: "horizontal,previous";
11989             source: "slideshow";
11990             action: STATE_SET "horizontal_prev_init" 0.0;
11991             target: "image_1_whole";
11992             target: "image_2_whole";
11993             after: "horizontal_previous_2";
11994          }
11995          program { name: "horizontal_previous_2";
11996             action: STATE_SET "horizontal_prev" 0.0;
11997             target: "image_1_whole";
11998             target: "image_2_whole";
11999             transition: SINUSOIDAL 1.5;
12000             after: "end";
12001          }
12002          program { name: "vertical_next";
12003             signal: "vertical,next";
12004             source: "slideshow";
12005             action: STATE_SET "vertical_next_init" 0.0;
12006             target: "image_1_whole";
12007             target: "image_2_whole";
12008             after: "vertical_next_2";
12009          }
12010          program { name: "vertical_next_2";
12011             action: STATE_SET "vertical_next" 0.0;
12012             target: "image_1_whole";
12013             target: "image_2_whole";
12014             transition: SINUSOIDAL 1.5;
12015             after: "end";
12016          }
12017          program { name: "vertical_previous";
12018             signal: "vertical,previous";
12019             source: "slideshow";
12020             action: STATE_SET "vertical_prev_init" 0.0;
12021             target: "image_1_whole";
12022             target: "image_2_whole";
12023             after: "vertical_previous_2";
12024          }
12025          program { name: "vertical_previous_2";
12026             action: STATE_SET "vertical_prev" 0.0;
12027             target: "image_1_whole";
12028             target: "image_2_whole";
12029             transition: SINUSOIDAL 1.5;
12030             after: "end";
12031          }
12032          program { name: "square_next";
12033             signal: "square,next";
12034             source: "slideshow";
12035             action: STATE_SET "square_prev_next_init" 0.0;
12036             target: "image_2_whole";
12037             after: "square_next_2";
12038          }
12039          program { name: "square_next_2";
12040             action: STATE_SET "square_prev_next" 0.0;
12041             target: "image_2_whole";
12042             target: "image_1_whole";
12043             transition: SINUSOIDAL 1.5;
12044             after: "end";
12045          }
12046          program { name: "square_previous";
12047             signal: "square,previous";
12048             source: "slideshow";
12049             action: STATE_SET "square_prev_next_init" 0.0;
12050             target: "image_2_whole";
12051             after: "square_next_2";
12052          }
12053          program { name: "end";
12054             action: SIGNAL_EMIT "end" "slideshow";
12055          }
12056          program { name: "end_signal";
12057             signal: "anim,end";
12058             source: "slideshow";
12059             action: STATE_SET "default" 0.0;
12060             target: "image_1_whole";
12061             target: "image_2_whole";
12062          }
12063       }
12064    }
12065
12066 ///////////////////////////////////////////////////////////////////////////////
12067    group { name: "elm/win/inwin/default";
12068       images {
12069          image: "shad_circ.png" COMP;
12070          image: "bt_dis_base.png" COMP;
12071          image: "bt_dis_hilight.png" COMP;
12072       }
12073       parts {
12074          part { name: "base";
12075             type: RECT;
12076             mouse_events: 1;
12077             description { state: "default" 0.0;
12078                color: 0 0 0 0;
12079             }
12080             description { state: "visible" 0.0;
12081                inherit: "default" 1.0;
12082                color: 0 0 0 64;
12083             }
12084          }
12085          part { name: "shad";
12086             mouse_events:  0;
12087             description { state: "default" 0.0;
12088                image.normal: "shad_circ.png";
12089                rel1.to: "elm.swallow.content";
12090                rel1.offset: -64 -64;
12091                rel2.to: "elm.swallow.content";
12092                rel2.offset: 63 63;
12093                fill.smooth: 0;
12094             }
12095          }
12096          part { name: "pop";
12097             mouse_events: 1;
12098             description { state: "default" 0.0;
12099                rel1.to: "elm.swallow.content";
12100                rel1.offset: -5 -5;
12101                rel2.to: "elm.swallow.content";
12102                rel2.offset: 4 4;
12103                image {
12104                   normal: "bt_dis_base.png";
12105                   border: 4 4 4 4;
12106                }
12107                image.middle: SOLID;
12108             }
12109          }
12110          part { name: "popover";
12111             mouse_events: 0;
12112             description { state: "default" 0.0;
12113                rel1.to: "pop";
12114                rel2.to: "pop";
12115                rel2.relative: 1.0 0.5;
12116                image {
12117                   normal: "bt_dis_hilight.png";
12118                   border: 4 4 4 0;
12119                }
12120             }
12121          }
12122          part { name: "elm.swallow.content";
12123             type: SWALLOW;
12124             description { state: "default" 0.0;
12125                rel1.relative: 0.1 0.1;
12126                rel2.relative: 0.9 0.9;
12127             }
12128          }
12129       }
12130       programs {
12131          program { name: "show";
12132             signal: "elm,action,show";
12133             source: "elm";
12134             action: STATE_SET "visible" 0.0;
12135 //            transition: DECELERATE 0.5;
12136             target: "base";
12137          }
12138          program { name: "hide";
12139             signal: "elm,action,hide";
12140             source: "elm";
12141             action: STATE_SET "default" 0.0;
12142 //            transition: DECELERATE 0.5;
12143             target: "base";
12144          }
12145       }
12146    }
12147
12148    group { name: "elm/win/inwin/minimal";
12149       images {
12150          image: "shad_circ.png" COMP;
12151          image: "bt_dis_base.png" COMP;
12152          image: "bt_dis_hilight.png" COMP;
12153       }
12154       parts {
12155          part { name: "base";
12156             type: RECT;
12157             mouse_events: 1;
12158             description { state: "default" 0.0;
12159                color: 0 0 0 0;
12160             }
12161             description { state: "visible" 0.0;
12162                inherit: "default" 1.0;
12163                color: 0 0 0 64;
12164             }
12165          }
12166          part { name: "shad";
12167             mouse_events:  0;
12168             description { state: "default" 0.0;
12169                image.normal: "shad_circ.png";
12170                rel1.to: "elm.swallow.content";
12171                rel1.offset: -64 -64;
12172                rel2.to: "elm.swallow.content";
12173                rel2.offset: 63 63;
12174                fill.smooth: 0;
12175             }
12176          }
12177          part { name: "pop";
12178             mouse_events: 1;
12179             description { state: "default" 0.0;
12180                rel1.to: "elm.swallow.content";
12181                rel1.offset: -5 -5;
12182                rel2.to: "elm.swallow.content";
12183                rel2.offset: 4 4;
12184                image {
12185                   normal: "bt_dis_base.png";
12186                   border: 4 4 4 4;
12187                }
12188                image.middle: SOLID;
12189             }
12190          }
12191          part { name: "popover";
12192             mouse_events: 0;
12193             description { state: "default" 0.0;
12194                rel1.to: "pop";
12195                rel2.to: "pop";
12196                rel2.relative: 1.0 0.5;
12197                image {
12198                   normal: "bt_dis_hilight.png";
12199                   border: 4 4 4 0;
12200                }
12201             }
12202          }
12203          part { name: "elm.swallow.content";
12204             type: SWALLOW;
12205             description { state: "default" 0.0;
12206                fixed: 1 1;
12207                rel1.relative: 0.5 0.5;
12208                rel2.relative: 0.5 0.5;
12209             }
12210          }
12211       }
12212       programs {
12213          program { name: "show";
12214             signal: "elm,action,show";
12215             source: "elm";
12216             action: STATE_SET "visible" 0.0;
12217 //            transition: DECELERATE 0.5;
12218             target: "base";
12219          }
12220          program { name: "hide";
12221             signal: "elm,action,hide";
12222             source: "elm";
12223             action: STATE_SET "default" 0.0;
12224 //            transition: DECELERATE 0.5;
12225             target: "base";
12226          }
12227       }
12228    }
12229
12230    group { name: "elm/win/inwin/minimal_vertical";
12231       images {
12232          image: "shad_circ.png" COMP;
12233          image: "bt_dis_base.png" COMP;
12234          image: "bt_dis_hilight.png" COMP;
12235       }
12236       parts {
12237          part { name: "base";
12238             type: RECT;
12239             mouse_events: 1;
12240             description { state: "default" 0.0;
12241                color: 0 0 0 0;
12242             }
12243             description { state: "visible" 0.0;
12244                inherit: "default" 1.0;
12245                color: 0 0 0 64;
12246             }
12247          }
12248          part { name: "shad";
12249             mouse_events:  0;
12250             description { state: "default" 0.0;
12251                image.normal: "shad_circ.png";
12252                rel1.to: "elm.swallow.content";
12253                rel1.offset: -64 -64;
12254                rel2.to: "elm.swallow.content";
12255                rel2.offset: 63 63;
12256                fill.smooth: 0;
12257             }
12258          }
12259          part { name: "pop";
12260             mouse_events: 1;
12261             description { state: "default" 0.0;
12262                rel1.to: "elm.swallow.content";
12263                rel1.offset: -5 -5;
12264                rel2.to: "elm.swallow.content";
12265                rel2.offset: 4 4;
12266                image {
12267                   normal: "bt_dis_base.png";
12268                   border: 4 4 4 4;
12269                }
12270                image.middle: SOLID;
12271             }
12272          }
12273          part { name: "popover";
12274             mouse_events: 0;
12275             description { state: "default" 0.0;
12276                rel1.to: "pop";
12277                rel2.to: "pop";
12278                rel2.relative: 1.0 0.5;
12279                image {
12280                   normal: "bt_dis_hilight.png";
12281                   border: 4 4 4 0;
12282                }
12283             }
12284          }
12285          part { name: "elm.swallow.content";
12286             type: SWALLOW;
12287             description { state: "default" 0.0;
12288                fixed: 1 1;
12289                rel1.relative: 0.1 0.5;
12290                rel2.relative: 0.9 0.5;
12291             }
12292          }
12293       }
12294       programs {
12295          program { name: "show";
12296             signal: "elm,action,show";
12297             source: "elm";
12298             action: STATE_SET "visible" 0.0;
12299 //            transition: DECELERATE 0.5;
12300             target: "base";
12301          }
12302          program { name: "hide";
12303             signal: "elm,action,hide";
12304             source: "elm";
12305             action: STATE_SET "default" 0.0;
12306 //            transition: DECELERATE 0.5;
12307             target: "base";
12308          }
12309       }
12310    }
12311
12312 ///////////////////////////////////////////////////////////////////////////////
12313
12314 ///////////////////////////////////////////////////////////////////////////////
12315    group { name: "elm/list/item/default";
12316       data.item: "stacking" "above";
12317       images {
12318          image: "bt_sm_base1.png" COMP;
12319          image: "bt_sm_shine.png" COMP;
12320          image: "bt_sm_hilight.png" COMP;
12321          image: "ilist_1.png" COMP;
12322          image: "ilist_item_shadow.png" COMP;
12323       }
12324       parts {
12325          part {
12326             name:           "event";
12327             type:           RECT;
12328             repeat_events: 1;
12329             description {
12330                state: "default" 0.0;
12331                color: 0 0 0 0;
12332             }
12333          }
12334          part {
12335             name: "base_sh";
12336             mouse_events: 0;
12337             description {
12338                state: "default" 0.0;
12339                align: 0.0 0.0;
12340                min: 0 10;
12341                fixed: 1 1;
12342                rel1 {
12343                   to: "base";
12344                   relative: 0.0 1.0;
12345                   offset: 0 0;
12346                }
12347                rel2 {
12348                   to: "base";
12349                   relative: 1.0 1.0;
12350                   offset: -1 0;
12351                }
12352                image {
12353                   normal: "ilist_item_shadow.png";
12354                }
12355                fill.smooth: 0;
12356             }
12357          }
12358          part {
12359             name: "base";
12360             mouse_events: 0;
12361             description {
12362                state: "default" 0.0;
12363                image {
12364                   normal: "ilist_1.png";
12365                   border: 2 2 2 2;
12366                }
12367                fill.smooth: 0;
12368             }
12369          }
12370          part { name: "bg";
12371             mouse_events: 0;
12372             description { state: "default" 0.0;
12373                visible: 0;
12374                color: 255 255 255 0;
12375                rel1 {
12376                   relative: 0.0 0.0;
12377                   offset: -5 -5;
12378                }
12379                rel2 {
12380                   relative: 1.0 1.0;
12381                   offset: 4 4;
12382                }
12383                image {
12384                   normal: "bt_sm_base1.png";
12385                   border: 6 6 6 6;
12386                }
12387                image.middle: SOLID;
12388             }
12389             description { state: "selected" 0.0;
12390                inherit: "default" 0.0;
12391                visible: 1;
12392                color: 255 255 255 255;
12393                rel1 {
12394                   relative: 0.0 0.0;
12395                   offset: -2 -2;
12396                }
12397                rel2 {
12398                   relative: 1.0 1.0;
12399                   offset: 1 1;
12400                }
12401             }
12402          }
12403          part { name: "elm.swallow.icon";
12404             type: SWALLOW;
12405             description { state: "default" 0.0;
12406                fixed: 1 0;
12407                align: 0.0 0.5;
12408                rel1 {
12409                   relative: 0.0  0.0;
12410                   offset:   4    4;
12411                }
12412                rel2 {
12413                   relative: 0.0  1.0;
12414                   offset:   4   -5;
12415                }
12416             }
12417          }
12418          part { name: "elm.swallow.end";
12419             type: SWALLOW;
12420             description { state: "default" 0.0;
12421                fixed: 1 0;
12422                align: 1.0 0.5;
12423                rel1 {
12424                   relative: 1.0  0.0;
12425                   offset:   -5    4;
12426                }
12427                rel2 {
12428                   relative: 1.0  1.0;
12429                   offset:   -5   -5;
12430                }
12431             }
12432          }
12433          part { name: "elm.text";
12434             type:           TEXT;
12435             effect:         SOFT_SHADOW;
12436             mouse_events:   0;
12437             scale: 1;
12438             description {
12439                state: "default" 0.0;
12440 //               min: 16 16;
12441                rel1 {
12442                   to_x:     "elm.swallow.icon";
12443                   relative: 1.0  0.0;
12444                   offset:   4 4;
12445                }
12446                rel2 {
12447                   to_x:     "elm.swallow.end";
12448                   relative: 0.0  1.0;
12449                   offset:   -1 -5;
12450                }
12451                color: 0 0 0 255;
12452                color3: 0 0 0 0;
12453                text {
12454                   font: "Sans";
12455                   size: 10;
12456                   min: 1 1;
12457 //                  min: 0 1;
12458                   align: -1.0 0.5;
12459                   text_class: "list_item";
12460                }
12461             }
12462             description { state: "selected" 0.0;
12463                inherit: "default" 0.0;
12464                color: 224 224 224 255;
12465                color3: 0 0 0 64;
12466             }
12467          }
12468          part { name: "fg1";
12469             mouse_events: 0;
12470             description { state: "default" 0.0;
12471                visible: 0;
12472                color: 255 255 255 0;
12473                rel1.to: "bg";
12474                rel2.relative: 1.0 0.5;
12475                rel2.to: "bg";
12476                image {
12477                   normal: "bt_sm_hilight.png";
12478                   border: 6 6 6 0;
12479                }
12480             }
12481             description { state: "selected" 0.0;
12482                inherit: "default" 0.0;
12483                visible: 1;
12484                color: 255 255 255 255;
12485             }
12486          }
12487          part { name: "fg2";
12488             mouse_events: 0;
12489             description { state: "default" 0.0;
12490                visible: 0;
12491                color: 255 255 255 0;
12492                rel1.to: "bg";
12493                rel2.to: "bg";
12494                image {
12495                   normal: "bt_sm_shine.png";
12496                   border: 6 6 6 0;
12497                }
12498             }
12499             description { state: "selected" 0.0;
12500                inherit: "default" 0.0;
12501                visible: 1;
12502                color: 255 255 255 255;
12503             }
12504          }
12505       }
12506       programs {
12507          program {
12508             name:    "go_active";
12509             signal:  "elm,state,selected";
12510             source:  "elm";
12511             action:  STATE_SET "selected" 0.0;
12512             target:  "bg";
12513             target:  "fg1";
12514             target:  "fg2";
12515             target:  "elm.text";
12516          }
12517          program {
12518             name:    "go_passive";
12519             signal:  "elm,state,unselected";
12520             source:  "elm";
12521             action:  STATE_SET "default" 0.0;
12522             target:  "bg";
12523             target:  "fg1";
12524             target:  "fg2";
12525             target:  "elm.text";
12526             transition: LINEAR 0.1;
12527          }
12528       }
12529    }
12530    group { name: "elm/list/item_odd/default";
12531       data.item: "stacking" "below";
12532       data.item: "selectraise" "on";
12533       images {
12534          image: "bt_sm_base1.png" COMP;
12535          image: "bt_sm_shine.png" COMP;
12536          image: "bt_sm_hilight.png" COMP;
12537          image: "ilist_2.png" COMP;
12538       }
12539       parts {
12540          part {
12541             name:           "event";
12542             type:           RECT;
12543             repeat_events: 1;
12544             description {
12545                state: "default" 0.0;
12546                color: 0 0 0 0;
12547             }
12548          }
12549          part {
12550             name: "base";
12551             mouse_events: 0;
12552             description {
12553                state: "default" 0.0;
12554                image {
12555                   normal: "ilist_2.png";
12556                   border: 2 2 2 2;
12557                }
12558                fill.smooth: 0;
12559             }
12560          }
12561          part { name: "bg";
12562             mouse_events: 0;
12563             description { state: "default" 0.0;
12564                visible: 0;
12565                color: 255 255 255 0;
12566                rel1 {
12567                   relative: 0.0 0.0;
12568                   offset: -5 -5;
12569                }
12570                rel2 {
12571                   relative: 1.0 1.0;
12572                   offset: 4 4;
12573                }
12574                image {
12575                   normal: "bt_sm_base1.png";
12576                   border: 6 6 6 6;
12577                }
12578                image.middle: SOLID;
12579             }
12580             description { state: "selected" 0.0;
12581                inherit: "default" 0.0;
12582                visible: 1;
12583                color: 255 255 255 255;
12584                rel1 {
12585                   relative: 0.0 0.0;
12586                   offset: -2 -2;
12587                }
12588                rel2 {
12589                   relative: 1.0 1.0;
12590                   offset: 1 1;
12591                }
12592             }
12593          }
12594          part {
12595             name:          "elm.swallow.icon";
12596             type:          SWALLOW;
12597             description { state:    "default" 0.0;
12598                fixed: 1 0;
12599                align:    0.0 0.5;
12600                rel1 {
12601                   relative: 0.0  0.0;
12602                   offset:   4    4;
12603                }
12604                rel2 {
12605                   relative: 0.0  1.0;
12606                   offset:   4   -5;
12607                }
12608             }
12609          }
12610          part {
12611             name:          "elm.swallow.end";
12612             type:          SWALLOW;
12613             description { state:    "default" 0.0;
12614                fixed: 1 0;
12615                align: 1.0 0.5;
12616                rel1 {
12617                   relative: 1.0  0.0;
12618                   offset:   -5    4;
12619                }
12620                rel2 {
12621                   relative: 1.0  1.0;
12622                   offset:   -5   -5;
12623                }
12624             }
12625          }
12626          part {
12627             name:           "elm.text";
12628             type:           TEXT;
12629             effect:         SOFT_SHADOW;
12630             mouse_events:   0;
12631             scale: 1;
12632             description {
12633                state: "default" 0.0;
12634 //               min:      16 16;
12635                rel1 {
12636                   to_x:     "elm.swallow.icon";
12637                   relative: 1.0  0.0;
12638                   offset:   4 4;
12639                }
12640                rel2 {
12641                   to_x:     "elm.swallow.end";
12642                   relative: 0.0  1.0;
12643                   offset:   -1 -5;
12644                }
12645                color: 0 0 0 255;
12646                color3: 0 0 0 0;
12647                text {
12648                   font: "Sans";
12649                   size: 10;
12650                   min: 1 1;
12651 //                  min: 0 1;
12652                   align: -1.0 0.5;
12653                   text_class: "list_item";
12654                }
12655             }
12656             description { state: "selected" 0.0;
12657                inherit: "default" 0.0;
12658                color: 224 224 224 255;
12659                color3: 0 0 0 64;
12660             }
12661          }
12662          part { name: "fg1";
12663             mouse_events: 0;
12664             description { state: "default" 0.0;
12665                visible: 0;
12666                color: 255 255 255 0;
12667                rel1.to: "bg";
12668                rel2.relative: 1.0 0.5;
12669                rel2.to: "bg";
12670                image {
12671                   normal: "bt_sm_hilight.png";
12672                   border: 6 6 6 0;
12673                }
12674             }
12675             description { state: "selected" 0.0;
12676                inherit: "default" 0.0;
12677                visible: 1;
12678                color: 255 255 255 255;
12679             }
12680          }
12681          part { name: "fg2";
12682             mouse_events: 0;
12683             description { state: "default" 0.0;
12684                visible: 0;
12685                color: 255 255 255 0;
12686                rel1.to: "bg";
12687                rel2.to: "bg";
12688                image {
12689                   normal: "bt_sm_shine.png";
12690                   border: 6 6 6 0;
12691                }
12692             }
12693             description { state: "selected" 0.0;
12694                inherit: "default" 0.0;
12695                visible: 1;
12696                color: 255 255 255 255;
12697             }
12698          }
12699       }
12700       programs {
12701          program {
12702             name:    "go_active";
12703             signal:  "elm,state,selected";
12704             source:  "elm";
12705             action:  STATE_SET "selected" 0.0;
12706             target:  "bg";
12707             target:  "fg1";
12708             target:  "fg2";
12709             target:  "elm.text";
12710          }
12711          program {
12712             name:    "go_passive";
12713             signal:  "elm,state,unselected";
12714             source:  "elm";
12715             action:  STATE_SET "default" 0.0;
12716             target:  "bg";
12717             target:  "fg1";
12718             target:  "fg2";
12719             target:  "elm.text";
12720             transition: LINEAR 0.1;
12721          }
12722       }
12723    }
12724    group { name: "elm/list/item_compress/default";
12725       data.item: "stacking" "above";
12726       data.item: "selectraise" "on";
12727       images {
12728          image: "bt_sm_base1.png" COMP;
12729          image: "bt_sm_shine.png" COMP;
12730          image: "bt_sm_hilight.png" COMP;
12731          image: "ilist_1.png" COMP;
12732          image: "ilist_item_shadow.png" COMP;
12733       }
12734       parts {
12735          part {
12736             name:           "event";
12737             type:           RECT;
12738             repeat_events: 1;
12739             description {
12740                state: "default" 0.0;
12741                color: 0 0 0 0;
12742             }
12743          }
12744          part {
12745             name: "base_sh";
12746             mouse_events: 0;
12747             description { state: "default" 0.0;
12748                fixed: 1 1;
12749                align: 0.0 0.0;
12750                min: 0 10;
12751                rel1 {
12752                   to: "base";
12753                   relative: 0.0 1.0;
12754                   offset: 0 0;
12755                }
12756                rel2 {
12757                   to: "base";
12758                   relative: 1.0 1.0;
12759                   offset: -1 0;
12760                }
12761                image {
12762                   normal: "ilist_item_shadow.png";
12763                }
12764                fill.smooth: 0;
12765             }
12766          }
12767          part {
12768             name: "base";
12769             mouse_events: 0;
12770             description {
12771                state: "default" 0.0;
12772                image {
12773                   normal: "ilist_1.png";
12774                   border: 2 2 2 2;
12775                }
12776                fill.smooth: 0;
12777             }
12778          }
12779          part { name: "bg";
12780             mouse_events: 0;
12781             description { state: "default" 0.0;
12782                visible: 0;
12783                color: 255 255 255 0;
12784                rel1 {
12785                   relative: 0.0 0.0;
12786                   offset: -5 -5;
12787                }
12788                rel2 {
12789                   relative: 1.0 1.0;
12790                   offset: 4 4;
12791                }
12792                image {
12793                   normal: "bt_sm_base1.png";
12794                   border: 6 6 6 6;
12795                }
12796                image.middle: SOLID;
12797             }
12798             description { state: "selected" 0.0;
12799                inherit: "default" 0.0;
12800                visible: 1;
12801                color: 255 255 255 255;
12802                rel1 {
12803                   relative: 0.0 0.0;
12804                   offset: -2 -2;
12805                }
12806                rel2 {
12807                   relative: 1.0 1.0;
12808                   offset: 1 1;
12809                }
12810             }
12811          }
12812          part { name:          "elm.swallow.icon";
12813             type:          SWALLOW;
12814             description { state:    "default" 0.0;
12815                fixed: 1 0;
12816                align:    0.0 0.5;
12817                rel1 {
12818                   relative: 0.0  0.0;
12819                   offset:   4    4;
12820                }
12821                rel2 {
12822                   relative: 0.0  1.0;
12823                   offset:   4   -5;
12824                }
12825             }
12826          }
12827          part { name:          "elm.swallow.end";
12828             type:          SWALLOW;
12829             description { state:    "default" 0.0;
12830                fixed: 1 0;
12831                align:    1.0 0.5;
12832                rel1 {
12833                   relative: 1.0  0.0;
12834                   offset:   -5    4;
12835                }
12836                rel2 {
12837                   relative: 1.0  1.0;
12838                   offset:   -5   -5;
12839                }
12840             }
12841          }
12842          part {
12843             name:           "elm.text";
12844             type:           TEXT;
12845             effect:         SOFT_SHADOW;
12846             mouse_events:   0;
12847             scale: 1;
12848             description { state: "default" 0.0;
12849 //               min:      16 16;
12850                rel1 {
12851                   to_x:     "elm.swallow.icon";
12852                   relative: 1.0  0.0;
12853                   offset:   4 4;
12854                }
12855                rel2 {
12856                   to_x:     "elm.swallow.end";
12857                   relative: 0.0  1.0;
12858                   offset:   -1 -5;
12859                }
12860                color: 0 0 0 255;
12861                color3: 0 0 0 0;
12862                text {
12863                   font: "Sans";
12864                   size: 10;
12865 //                  min: 1 1;
12866                   min: 0 1;
12867                   align: 0.0 0.5;
12868                   text_class: "list_item";
12869                }
12870             }
12871             description { state: "selected" 0.0;
12872                inherit: "default" 0.0;
12873                color: 224 224 224 255;
12874                color3: 0 0 0 64;
12875             }
12876          }
12877          part { name: "fg1";
12878             mouse_events: 0;
12879             description { state: "default" 0.0;
12880                visible: 0;
12881                color: 255 255 255 0;
12882                rel1.to: "bg";
12883                rel2.relative: 1.0 0.5;
12884                rel2.to: "bg";
12885                image {
12886                   normal: "bt_sm_hilight.png";
12887                   border: 6 6 6 0;
12888                }
12889             }
12890             description { state: "selected" 0.0;
12891                inherit: "default" 0.0;
12892                visible: 1;
12893                color: 255 255 255 255;
12894             }
12895          }
12896          part { name: "fg2";
12897             mouse_events: 0;
12898             description { state: "default" 0.0;
12899                visible: 0;
12900                color: 255 255 255 0;
12901                rel1.to: "bg";
12902                rel2.to: "bg";
12903                image {
12904                   normal: "bt_sm_shine.png";
12905                   border: 6 6 6 0;
12906                }
12907             }
12908             description { state: "selected" 0.0;
12909                inherit: "default" 0.0;
12910                visible: 1;
12911                color: 255 255 255 255;
12912             }
12913          }
12914       }
12915       programs {
12916          program {
12917             name:    "go_active";
12918             signal:  "elm,state,selected";
12919             source:  "elm";
12920             action:  STATE_SET "selected" 0.0;
12921             target:  "bg";
12922             target:  "fg1";
12923             target:  "fg2";
12924             target:  "elm.text";
12925          }
12926          program {
12927             name:    "go_passive";
12928             signal:  "elm,state,unselected";
12929             source:  "elm";
12930             action:  STATE_SET "default" 0.0;
12931             target:  "bg";
12932             target:  "fg1";
12933             target:  "fg2";
12934             target:  "elm.text";
12935             transition: LINEAR 0.1;
12936          }
12937       }
12938    }
12939    group { name: "elm/list/item_compress_odd/default";
12940       data.item: "stacking" "below";
12941       data.item: "selectraise" "on";
12942       images {
12943          image: "bt_sm_base1.png" COMP;
12944          image: "bt_sm_shine.png" COMP;
12945          image: "bt_sm_hilight.png" COMP;
12946          image: "ilist_2.png" COMP;
12947       }
12948       parts {
12949          part {
12950             name:           "event";
12951             type:           RECT;
12952             repeat_events: 1;
12953             description {
12954                state: "default" 0.0;
12955                color: 0 0 0 0;
12956             }
12957          }
12958          part {
12959             name: "base";
12960             mouse_events: 0;
12961             description {
12962                state: "default" 0.0;
12963                image {
12964                   normal: "ilist_2.png";
12965                   border: 2 2 2 2;
12966                }
12967                fill.smooth: 0;
12968             }
12969          }
12970          part { name: "bg";
12971             mouse_events: 0;
12972             description { state: "default" 0.0;
12973                visible: 0;
12974                color: 255 255 255 0;
12975                rel1 {
12976                   relative: 0.0 0.0;
12977                   offset: -5 -5;
12978                }
12979                rel2 {
12980                   relative: 1.0 1.0;
12981                   offset: 4 4;
12982                }
12983                image {
12984                   normal: "bt_sm_base1.png";
12985                   border: 6 6 6 6;
12986                }
12987                image.middle: SOLID;
12988             }
12989             description { state: "selected" 0.0;
12990                inherit: "default" 0.0;
12991                visible: 1;
12992                color: 255 255 255 255;
12993                rel1 {
12994                   relative: 0.0 0.0;
12995                   offset: -2 -2;
12996                }
12997                rel2 {
12998                   relative: 1.0 1.0;
12999                   offset: 1 1;
13000                }
13001             }
13002          }
13003          part { name:          "elm.swallow.icon";
13004             type:          SWALLOW;
13005             description { state:    "default" 0.0;
13006                fixed: 1 0;
13007                align:    0.0 0.5;
13008                rel1 {
13009                   relative: 0.0  0.0;
13010                   offset:   4    4;
13011                }
13012                rel2 {
13013                   relative: 0.0  1.0;
13014                   offset:   4   -5;
13015                }
13016             }
13017          }
13018          part { name:          "elm.swallow.end";
13019             type:          SWALLOW;
13020             description { state:    "default" 0.0;
13021                fixed: 1 0;
13022                align:    1.0 0.5;
13023                rel1 {
13024                   relative: 1.0  0.0;
13025                   offset:   -5    4;
13026                }
13027                rel2 {
13028                   relative: 1.0  1.0;
13029                   offset:   -5   -5;
13030                }
13031             }
13032          }
13033          part {
13034             name:           "elm.text";
13035             type:           TEXT;
13036             effect:         SOFT_SHADOW;
13037             mouse_events:   0;
13038             scale: 1;
13039             description {
13040                state: "default" 0.0;
13041 //               min:      16 16;
13042                rel1 {
13043                   to_x:     "elm.swallow.icon";
13044                   relative: 1.0  0.0;
13045                   offset:   4 4;
13046                }
13047                rel2 {
13048                   to_x:     "elm.swallow.end";
13049                   relative: 0.0  1.0;
13050                   offset:   -1 -5;
13051                }
13052                color: 0 0 0 255;
13053                color3: 0 0 0 0;
13054                text {
13055                   font: "Sans";
13056                   size: 10;
13057 //                  min: 1 1;
13058                   min: 0 1;
13059                   align: 0.0 0.5;
13060                   text_class: "list_item";
13061                }
13062             }
13063             description { state: "selected" 0.0;
13064                inherit: "default" 0.0;
13065                color: 224 224 224 255;
13066                color3: 0 0 0 64;
13067             }
13068          }
13069          part { name: "fg1";
13070             mouse_events: 0;
13071             description { state: "default" 0.0;
13072                visible: 0;
13073                color: 255 255 255 0;
13074                rel1.to: "bg";
13075                rel2.relative: 1.0 0.5;
13076                rel2.to: "bg";
13077                image {
13078                   normal: "bt_sm_hilight.png";
13079                   border: 6 6 6 0;
13080                }
13081             }
13082             description { state: "selected" 0.0;
13083                inherit: "default" 0.0;
13084                visible: 1;
13085                color: 255 255 255 255;
13086             }
13087          }
13088          part { name: "fg2";
13089             mouse_events: 0;
13090             description { state: "default" 0.0;
13091                visible: 0;
13092                color: 255 255 255 0;
13093                rel1.to: "bg";
13094                rel2.to: "bg";
13095                image {
13096                   normal: "bt_sm_shine.png";
13097                   border: 6 6 6 0;
13098                }
13099             }
13100             description { state: "selected" 0.0;
13101                inherit: "default" 0.0;
13102                visible: 1;
13103                color: 255 255 255 255;
13104             }
13105          }
13106       }
13107       programs {
13108          program {
13109             name:    "go_active";
13110             signal:  "elm,state,selected";
13111             source:  "elm";
13112             action:  STATE_SET "selected" 0.0;
13113             target:  "bg";
13114             target:  "fg1";
13115             target:  "fg2";
13116             target:  "elm.text";
13117          }
13118          program {
13119             name:    "go_passive";
13120             signal:  "elm,state,unselected";
13121             source:  "elm";
13122             action:  STATE_SET "default" 0.0;
13123             target:  "bg";
13124             target:  "fg1";
13125             target:  "fg2";
13126             target:  "elm.text";
13127             transition: LINEAR 0.1;
13128          }
13129       }
13130    }
13131
13132 ///////////////////////////////////////////////////////////////////////////////
13133    group { name: "elm/list/h_item/default";
13134       data.item: "stacking" "above";
13135       images {
13136          image: "bt_sm_base1.png" COMP;
13137          image: "bt_sm_shine.png" COMP;
13138          image: "bt_sm_hilight.png" COMP;
13139          image: "ilist_1_h.png" COMP;
13140          image: "ilist_item_shadow_h.png" COMP;
13141       }
13142       parts {
13143          part {
13144             name: "event";
13145             type: RECT;
13146             repeat_events: 1;
13147             description {
13148                state: "default" 0.0;
13149                color: 0 0 0 0;
13150             }
13151          }
13152          part {
13153             name: "base_sh";
13154             mouse_events: 0;
13155             description {
13156                state: "default" 0.0;
13157                align: 0.0 0.0;
13158                min: 10 0;
13159                fixed: 1 1;
13160                rel1 {
13161                   to: "base";
13162                   relative: 1.0 0.0;
13163                   offset: 0 0;
13164                }
13165                rel2 {
13166                   to: "base";
13167                   relative: 1.0 1.0;
13168                   offset: 0 -1;
13169                }
13170                image {
13171                   normal: "ilist_item_shadow_h.png";
13172                }
13173                fill.smooth: 0;
13174             }
13175          }
13176          part {
13177             name: "base";
13178             mouse_events: 0;
13179             description {
13180                state: "default" 0.0;
13181                image {
13182                   normal: "ilist_1_h.png";
13183                   border: 2 2 2 2;
13184                }
13185                fill.smooth: 0;
13186             }
13187          }
13188          part { name: "bg";
13189             mouse_events: 0;
13190             description { state: "default" 0.0;
13191                visible: 0;
13192                color: 255 255 255 0;
13193                rel1 {
13194                   relative: 0.0 0.0;
13195                   offset: -5 -5;
13196                }
13197                rel2 {
13198                   relative: 1.0 1.0;
13199                   offset: 4 4;
13200                }
13201                image {
13202                   normal: "bt_sm_base1.png";
13203                   border: 6 6 6 6;
13204                }
13205                image.middle: SOLID;
13206             }
13207             description { state: "selected" 0.0;
13208                inherit: "default" 0.0;
13209                visible: 1;
13210                color: 255 255 255 255;
13211                rel1 {
13212                   relative: 0.0 0.0;
13213                   offset: -2 -2;
13214                }
13215                rel2 {
13216                   relative: 1.0 1.0;
13217                   offset: 1 1;
13218                }
13219             }
13220          }
13221          part { name: "elm.swallow.icon";
13222             type: SWALLOW;
13223             description { state: "default" 0.0;
13224                fixed: 0 1;
13225                align: 0.5 0.0;
13226                rel1 {
13227                   relative: 0.0 0.0;
13228                   offset: 4 4;
13229                }
13230                rel2 {
13231                   relative: 1.0 0.0;
13232                   offset: -5 4;
13233                }
13234             }
13235          }
13236          part { name: "elm.swallow.end";
13237             type: SWALLOW;
13238             description { state: "default" 0.0;
13239                fixed: 0 1;
13240                align: 0.5 1.0;
13241                rel1 {
13242                   relative: 0.0 1.0;
13243                   offset: 4 -5;
13244                }
13245                rel2 {
13246                   relative: 1.0 1.0;
13247                   offset: -5 -5;
13248                }
13249             }
13250          }
13251          part { name: "elm.text";
13252             type: TEXT;
13253             effect: SOFT_SHADOW;
13254             mouse_events: 0;
13255             scale: 1;
13256             description {
13257                state: "default" 0.0;
13258                fixed: 0 1;
13259                rel1 {
13260                   to_x: "elm.swallow.icon";
13261                   relative: 0.0 1.0;
13262                   offset: 4 4;
13263                }
13264                rel2 {
13265                   to_x: "elm.swallow.end";
13266                   relative: 1.0 0.0;
13267                   offset: -5 -1;
13268                }
13269                color: 0 0 0 255;
13270                color3: 0 0 0 0;
13271                text {
13272                   font: "Sans";
13273                   size: 10;
13274                   min: 1 1;
13275                   align: 0.5 0.5;
13276                   text_class: "list_item";
13277                }
13278             }
13279             description { state: "selected" 0.0;
13280                inherit: "default" 0.0;
13281                color: 224 224 224 255;
13282                color3: 0 0 0 64;
13283             }
13284          }
13285          part { name: "fg1";
13286             mouse_events: 0;
13287             description { state: "default" 0.0;
13288                visible: 0;
13289                color: 255 255 255 0;
13290                rel1.to: "bg";
13291                rel2.relative: 1.0 0.5;
13292                rel2.to: "bg";
13293                image {
13294                   normal: "bt_sm_hilight.png";
13295                   border: 6 6 6 0;
13296                }
13297             }
13298             description { state: "selected" 0.0;
13299                inherit: "default" 0.0;
13300                visible: 1;
13301                color: 255 255 255 255;
13302             }
13303          }
13304          part { name: "fg2";
13305             mouse_events: 0;
13306             description { state: "default" 0.0;
13307                visible: 0;
13308                color: 255 255 255 0;
13309                rel1.to: "bg";
13310                rel2.to: "bg";
13311                image {
13312                   normal: "bt_sm_shine.png";
13313                   border: 6 6 6 0;
13314                }
13315             }
13316             description { state: "selected" 0.0;
13317                inherit: "default" 0.0;
13318                visible: 1;
13319                color: 255 255 255 255;
13320             }
13321          }
13322       }
13323       programs {
13324          program {
13325             name: "go_active";
13326             signal: "elm,state,selected";
13327             source: "elm";
13328             action: STATE_SET "selected" 0.0;
13329             target: "bg";
13330             target: "fg1";
13331             target: "fg2";
13332             target: "elm.text";
13333          }
13334          program {
13335             name: "go_passive";
13336             signal: "elm,state,unselected";
13337             source: "elm";
13338             action: STATE_SET "default" 0.0;
13339             target: "bg";
13340             target: "fg1";
13341             target: "fg2";
13342             target: "elm.text";
13343             transition: LINEAR 0.1;
13344          }
13345       }
13346    }
13347    group { name: "elm/list/h_item_odd/default";
13348       data.item: "stacking" "below";
13349       data.item: "selectraise" "on";
13350       images {
13351          image: "bt_sm_base1.png" COMP;
13352          image: "bt_sm_shine.png" COMP;
13353          image: "bt_sm_hilight.png" COMP;
13354          image: "ilist_2_h.png" COMP;
13355       }
13356       parts {
13357          part {
13358             name: "event";
13359             type: RECT;
13360             repeat_events: 1;
13361             description {
13362                state: "default" 0.0;
13363                color: 0 0 0 0;
13364             }
13365          }
13366          part {
13367             name: "base";
13368             mouse_events: 0;
13369             description {
13370                state: "default" 0.0;
13371                image {
13372                   normal: "ilist_2_h.png";
13373                   border: 2 2 2 2;
13374                }
13375                fill.smooth: 0;
13376             }
13377          }
13378          part { name: "bg";
13379             mouse_events: 0;
13380             description { state: "default" 0.0;
13381                visible: 0;
13382                color: 255 255 255 0;
13383                rel1 {
13384                   relative: 0.0 0.0;
13385                   offset: -5 -5;
13386                }
13387                rel2 {
13388                   relative: 1.0 1.0;
13389                   offset: 4 4;
13390                }
13391                image {
13392                   normal: "bt_sm_base1.png";
13393                   border: 6 6 6 6;
13394                }
13395                image.middle: SOLID;
13396             }
13397             description { state: "selected" 0.0;
13398                inherit: "default" 0.0;
13399                visible: 1;
13400                color: 255 255 255 255;
13401                rel1 {
13402                   relative: 0.0 0.0;
13403                   offset: -2 -2;
13404                }
13405                rel2 {
13406                   relative: 1.0 1.0;
13407                   offset: 1 1;
13408                }
13409             }
13410          }
13411          part {
13412             name: "elm.swallow.icon";
13413             type: SWALLOW;
13414             description { state: "default" 0.0;
13415                fixed: 0 1;
13416                align: 0.5 0.0;
13417                rel1 {
13418                   relative: 0.0 0.0;
13419                   offset: 4 4;
13420                }
13421                rel2 {
13422                   relative: 1.0 0.0;
13423                   offset: -5 4;
13424                }
13425             }
13426          }
13427          part {
13428             name: "elm.swallow.end";
13429             type: SWALLOW;
13430             description { state: "default" 0.0;
13431                fixed: 0 1;
13432                align: 0.5 1.0;
13433                rel1 {
13434                   relative: 0.0 1.0;
13435                   offset: 4 -5;
13436                }
13437                rel2 {
13438                   relative: 1.0 1.0;
13439                   offset: -5 -5;
13440                }
13441             }
13442          }
13443          part { name: "elm.text";
13444             type: TEXT;
13445             effect: SOFT_SHADOW;
13446             mouse_events: 0;
13447             scale: 1;
13448             description {
13449                state: "default" 0.0;
13450                fixed: 1 1;
13451                rel1 {
13452                   to_x: "elm.swallow.icon";
13453                   relative: 0.0 1.0;
13454                   offset: 4 4;
13455                }
13456                rel2 {
13457                   to_x: "elm.swallow.end";
13458                   relative: 1.0 0.0;
13459                   offset: -5 -1;
13460                }
13461                color: 0 0 0 255;
13462                color3: 0 0 0 0;
13463                text {
13464                   font: "Sans";
13465                   size: 10;
13466                   min: 1 1;
13467                   align: 0.5 0.5;
13468                   text_class: "list_item";
13469                }
13470             }
13471             description { state: "selected" 0.0;
13472                inherit: "default" 0.0;
13473                color: 224 224 224 255;
13474                color3: 0 0 0 64;
13475             }
13476          }
13477          part { name: "fg1";
13478             mouse_events: 0;
13479             description { state: "default" 0.0;
13480                visible: 0;
13481                color: 255 255 255 0;
13482                rel1.to: "bg";
13483                rel2.relative: 1.0 0.5;
13484                rel2.to: "bg";
13485                image {
13486                   normal: "bt_sm_hilight.png";
13487                   border: 6 6 6 0;
13488                }
13489             }
13490             description { state: "selected" 0.0;
13491                inherit: "default" 0.0;
13492                visible: 1;
13493                color: 255 255 255 255;
13494             }
13495          }
13496          part { name: "fg2";
13497             mouse_events: 0;
13498             description { state: "default" 0.0;
13499                visible: 0;
13500                color: 255 255 255 0;
13501                rel1.to: "bg";
13502                rel2.to: "bg";
13503                image {
13504                   normal: "bt_sm_shine.png";
13505                   border: 6 6 6 0;
13506                }
13507             }
13508             description { state: "selected" 0.0;
13509                inherit: "default" 0.0;
13510                visible: 1;
13511                color: 255 255 255 255;
13512             }
13513          }
13514       }
13515       programs {
13516          program {
13517             name: "go_active";
13518             signal: "elm,state,selected";
13519             source: "elm";
13520             action: STATE_SET "selected" 0.0;
13521             target: "bg";
13522             target: "fg1";
13523             target: "fg2";
13524             target: "elm.text";
13525          }
13526          program {
13527             name: "go_passive";
13528             signal: "elm,state,unselected";
13529             source: "elm";
13530             action: STATE_SET "default" 0.0;
13531             target: "bg";
13532             target: "fg1";
13533             target: "fg2";
13534             target: "elm.text";
13535             transition: LINEAR 0.1;
13536          }
13537       }
13538    }
13539    group { name: "elm/list/h_item_compress/default";
13540       data.item: "stacking" "above";
13541       data.item: "selectraise" "on";
13542       images {
13543          image: "bt_sm_base1.png" COMP;
13544          image: "bt_sm_shine.png" COMP;
13545          image: "bt_sm_hilight.png" COMP;
13546          image: "ilist_1_h.png" COMP;
13547          image: "ilist_item_shadow_h.png" COMP;
13548       }
13549       parts {
13550          part {
13551             name: "event";
13552             type: RECT;
13553             repeat_events: 1;
13554             description {
13555                state: "default" 0.0;
13556                color: 0 0 0 0;
13557             }
13558          }
13559          part {
13560             name: "base_sh";
13561             mouse_events: 0;
13562             description { state: "default" 0.0;
13563                fixed: 1 1;
13564                align: 0.0 0.0;
13565                min: 10 0;
13566                rel1 {
13567                   to: "base";
13568                   relative: 1.0 0.0;
13569                   offset: 0 0;
13570                }
13571                rel2 {
13572                   to: "base";
13573                   relative: 1.0 1.0;
13574                   offset: 0 -1;
13575                }
13576                image {
13577                   normal: "ilist_item_shadow_h.png";
13578                }
13579                fill.smooth: 0;
13580             }
13581          }
13582          part {
13583             name: "base";
13584             mouse_events: 0;
13585             description {
13586                state: "default" 0.0;
13587                image {
13588                   normal: "ilist_1_h.png";
13589                   border: 2 2 2 2;
13590                }
13591                fill.smooth: 0;
13592             }
13593          }
13594          part { name: "bg";
13595             mouse_events: 0;
13596             description { state: "default" 0.0;
13597                visible: 0;
13598                color: 255 255 255 0;
13599                rel1 {
13600                   relative: 0.0 0.0;
13601                   offset: -5 -5;
13602                }
13603                rel2 {
13604                   relative: 1.0 1.0;
13605                   offset: 4 4;
13606                }
13607                image {
13608                   normal: "bt_sm_base1.png";
13609                   border: 6 6 6 6;
13610                }
13611                image.middle: SOLID;
13612             }
13613             description { state: "selected" 0.0;
13614                inherit: "default" 0.0;
13615                visible: 1;
13616                color: 255 255 255 255;
13617                rel1 {
13618                   relative: 0.0 0.0;
13619                   offset: -2 -2;
13620                }
13621                rel2 {
13622                   relative: 1.0 1.0;
13623                   offset: 1 1;
13624                }
13625             }
13626          }
13627          part { name: "elm.swallow.icon";
13628             type: SWALLOW;
13629             description { state: "default" 0.0;
13630                fixed: 0 1;
13631                align: 0.5 0.0;
13632                rel1 {
13633                   relative: 0.0 0.0;
13634                   offset: 4 4;
13635                }
13636                rel2 {
13637                   relative: 1.0 0.0;
13638                   offset: -5 4;
13639                }
13640             }
13641          }
13642          part { name: "elm.swallow.end";
13643             type: SWALLOW;
13644             description { state: "default" 0.0;
13645                fixed: 0 1;
13646                align: 0.5 1.0;
13647                rel1 {
13648                   relative: 0.0 1.0;
13649                   offset: 4 -5;
13650                }
13651                rel2 {
13652                   relative: 1.0 1.0;
13653                   offset: -5 -5;
13654                }
13655             }
13656          }
13657          part {
13658             name: "elm.text";
13659             type: TEXT;
13660             effect: SOFT_SHADOW;
13661             mouse_events: 0;
13662             scale: 1;
13663             description { state: "default" 0.0;
13664                fixed: 1 1;
13665                rel1 {
13666                   to_x: "elm.swallow.icon";
13667                   relative: 0.0 1.0;
13668                   offset: 4 4;
13669                }
13670                rel2 {
13671                   to_x: "elm.swallow.end";
13672                   relative: 1.0 0.0;
13673                   offset: -5 -1;
13674                }
13675                color: 0 0 0 255;
13676                color3: 0 0 0 0;
13677                text {
13678                   font: "Sans";
13679                   size: 10;
13680                   min: 1 1;
13681                   align: 0.5 0.5;
13682                   text_class: "list_item";
13683                }
13684             }
13685             description { state: "selected" 0.0;
13686                inherit: "default" 0.0;
13687                color: 224 224 224 255;
13688                color3: 0 0 0 64;
13689             }
13690          }
13691          part { name: "fg1";
13692             mouse_events: 0;
13693             description { state: "default" 0.0;
13694                visible: 0;
13695                color: 255 255 255 0;
13696                rel1.to: "bg";
13697                rel2.relative: 1.0 0.5;
13698                rel2.to: "bg";
13699                image {
13700                   normal: "bt_sm_hilight.png";
13701                   border: 6 6 6 0;
13702                }
13703             }
13704             description { state: "selected" 0.0;
13705                inherit: "default" 0.0;
13706                visible: 1;
13707                color: 255 255 255 255;
13708             }
13709          }
13710          part { name: "fg2";
13711             mouse_events: 0;
13712             description { state: "default" 0.0;
13713                visible: 0;
13714                color: 255 255 255 0;
13715                rel1.to: "bg";
13716                rel2.to: "bg";
13717                image {
13718                   normal: "bt_sm_shine.png";
13719                   border: 6 6 6 0;
13720                }
13721             }
13722             description { state: "selected" 0.0;
13723                inherit: "default" 0.0;
13724                visible: 1;
13725                color: 255 255 255 255;
13726             }
13727          }
13728       }
13729       programs {
13730          program {
13731             name: "go_active";
13732             signal: "elm,state,selected";
13733             source: "elm";
13734             action: STATE_SET "selected" 0.0;
13735             target: "bg";
13736             target: "fg1";
13737             target: "fg2";
13738             target: "elm.text";
13739          }
13740          program {
13741             name: "go_passive";
13742             signal: "elm,state,unselected";
13743             source: "elm";
13744             action: STATE_SET "default" 0.0;
13745             target: "bg";
13746             target: "fg1";
13747             target: "fg2";
13748             target: "elm.text";
13749             transition: LINEAR 0.1;
13750          }
13751       }
13752    }
13753    group { name: "elm/list/h_item_compress_odd/default";
13754       data.item: "stacking" "below";
13755       data.item: "selectraise" "on";
13756       images {
13757          image: "bt_sm_base1.png" COMP;
13758          image: "bt_sm_shine.png" COMP;
13759          image: "bt_sm_hilight.png" COMP;
13760          image: "ilist_2_h.png" COMP;
13761       }
13762       parts {
13763          part {
13764             name: "event";
13765             type: RECT;
13766             repeat_events: 1;
13767             description {
13768                state: "default" 0.0;
13769                color: 0 0 0 0;
13770             }
13771          }
13772          part {
13773             name: "base";
13774             mouse_events: 0;
13775             description {
13776                state: "default" 0.0;
13777                image {
13778                   normal: "ilist_2_h.png";
13779                   border: 2 2 2 2;
13780                }
13781                fill.smooth: 0;
13782             }
13783          }
13784          part { name: "bg";
13785             mouse_events: 0;
13786             description { state: "default" 0.0;
13787                visible: 0;
13788                color: 255 255 255 0;
13789                rel1 {
13790                   relative: 0.0 0.0;
13791                   offset: -5 -5;
13792                }
13793                rel2 {
13794                   relative: 1.0 1.0;
13795                   offset: 4 4;
13796                }
13797                image {
13798                   normal: "bt_sm_base1.png";
13799                   border: 6 6 6 6;
13800                }
13801                image.middle: SOLID;
13802             }
13803             description { state: "selected" 0.0;
13804                inherit: "default" 0.0;
13805                visible: 1;
13806                color: 255 255 255 255;
13807                rel1 {
13808                   relative: 0.0 0.0;
13809                   offset: -2 -2;
13810                }
13811                rel2 {
13812                   relative: 1.0 1.0;
13813                   offset: 1 1;
13814                }
13815             }
13816          }
13817          part { name: "elm.swallow.icon";
13818             type: SWALLOW;
13819             description { state: "default" 0.0;
13820                fixed: 0 1;
13821                align: 0.5 0.0;
13822                rel1 {
13823                   relative: 0.0 0.0;
13824                   offset: 4 4;
13825                }
13826                rel2 {
13827                   relative: 1.0 0.0;
13828                   offset: -5 4;
13829                }
13830             }
13831          }
13832          part { name: "elm.swallow.end";
13833             type: SWALLOW;
13834             description { state: "default" 0.0;
13835                fixed: 0 1;
13836                align: 0.5 1.0;
13837                rel1 {
13838                   relative: 0.0 1.0;
13839                   offset: 4 -5;
13840                }
13841                rel2 {
13842                   relative: 1.0 1.0;
13843                   offset: -5 -5;
13844                }
13845             }
13846          }
13847          part { name: "elm.text";
13848             type: TEXT;
13849             effect: SOFT_SHADOW;
13850             mouse_events: 0;
13851             scale: 1;
13852             description {
13853                state: "default" 0.0;
13854                fixed: 1 1;
13855                rel1 {
13856                   to_x: "elm.swallow.icon";
13857                   relative: 0.0 1.0;
13858                   offset: 4 4;
13859                }
13860                rel2 {
13861                   to_x: "elm.swallow.end";
13862                   relative: 1.0 0.0;
13863                   offset: -5 -1;
13864                }
13865                color: 0 0 0 255;
13866                color3: 0 0 0 0;
13867                text {
13868                   font: "Sans";
13869                   size: 10;
13870                   min: 1 1;
13871                   align: 0.5 0.5;
13872                   text_class: "list_item";
13873                }
13874             }
13875             description { state: "selected" 0.0;
13876                inherit: "default" 0.0;
13877                color: 224 224 224 255;
13878                color3: 0 0 0 64;
13879             }
13880          }
13881          part { name: "fg1";
13882             mouse_events: 0;
13883             description { state: "default" 0.0;
13884                visible: 0;
13885                color: 255 255 255 0;
13886                rel1.to: "bg";
13887                rel2.relative: 1.0 0.5;
13888                rel2.to: "bg";
13889                image {
13890                   normal: "bt_sm_hilight.png";
13891                   border: 6 6 6 0;
13892                }
13893             }
13894             description { state: "selected" 0.0;
13895                inherit: "default" 0.0;
13896                visible: 1;
13897                color: 255 255 255 255;
13898             }
13899          }
13900          part { name: "fg2";
13901             mouse_events: 0;
13902             description { state: "default" 0.0;
13903                visible: 0;
13904                color: 255 255 255 0;
13905                rel1.to: "bg";
13906                rel2.to: "bg";
13907                image {
13908                   normal: "bt_sm_shine.png";
13909                   border: 6 6 6 0;
13910                }
13911             }
13912             description { state: "selected" 0.0;
13913                inherit: "default" 0.0;
13914                visible: 1;
13915                color: 255 255 255 255;
13916             }
13917          }
13918       }
13919       programs {
13920          program {
13921             name: "go_active";
13922             signal: "elm,state,selected";
13923             source: "elm";
13924             action: STATE_SET "selected" 0.0;
13925             target: "bg";
13926             target: "fg1";
13927             target: "fg2";
13928             target: "elm.text";
13929          }
13930          program {
13931             name: "go_passive";
13932             signal: "elm,state,unselected";
13933             source: "elm";
13934             action: STATE_SET "default" 0.0;
13935             target: "bg";
13936             target: "fg1";
13937             target: "fg2";
13938             target: "elm.text";
13939             transition: LINEAR 0.1;
13940          }
13941       }
13942    }
13943
13944 ///////////////////////////////////////////////////////////////////////////////
13945    group { name: "elm/slider/horizontal/default";
13946            alias: "elm/slider/horizontal/disabled";
13947       images {
13948          image: "sl_bg.png" COMP;
13949          image: "sl_bg_over.png" COMP;
13950
13951          image: "sl_units.png" COMP;
13952       }
13953       parts {
13954          part { name: "base";
13955             mouse_events: 0;
13956             description { state: "default" 0.0;
13957                max: 99999 6;
13958                min: 0 6;
13959                rel1 { to: "bg";
13960                   offset: 1 0;
13961                }
13962                rel2 { to: "bg";
13963                   offset: -2 -1;
13964                }
13965                image.normal: "sl_bg.png";
13966                fill.smooth: 0;
13967             }
13968          }
13969          part { name: "level";
13970             type: RECT;
13971             mouse_events: 0;
13972             description { state: "default" 0.0;
13973                fixed: 1 1;
13974                rel1.to: "base";
13975                rel2 {
13976                   to_y: "base";
13977                   to_x: "elm.dragable.slider";
13978                   relative: 0.5 1.0;
13979                }
13980                color: 255 0 0 200;
13981             }
13982             description { state: "inverted" 0.0;
13983                inherit: "default" 0.0;
13984                visible: 0;
13985             }
13986             description { state: "disabled" 0.0;
13987                inherit: "default" 0.0;
13988                color: 255 0 0 100;
13989             }
13990             description { state: "disabled_inverted" 0.0;
13991                inherit: "default" 0.0;
13992                visible: 0;
13993             }
13994          }
13995          part { name: "level2";
13996             type: RECT;
13997             mouse_events: 0;
13998             description { state: "default" 0.0;
13999                fixed: 1 1;
14000                visible: 0;
14001                rel1 {
14002                   to_y: "base";
14003                   to_x: "elm.dragable.slider";
14004                   relative: 0.5 0.0;
14005                }
14006                rel2.to: "base";
14007                color: 255 0 0 200;
14008             }
14009             description { state: "inverted" 0.0;
14010                inherit: "default" 0.0;
14011                visible: 1;
14012             }
14013             description { state: "disabled" 0.0;
14014                inherit: "default" 0.0;
14015             }
14016             description { state: "disabled_inverted" 0.0;
14017                inherit: "default" 0.0;
14018                color: 255 0 0 100;
14019                visible: 1;
14020             }
14021          }
14022          part {
14023             name: "base_over";
14024             mouse_events: 0;
14025             description { state: "default" 0.0;
14026                rel1.to: "base";
14027                rel1.offset: -1 -1;
14028                rel2.to: "base";
14029                rel2.offset: 0 0;
14030                image {
14031                   normal: "sl_bg_over.png";
14032                   border: 3 3 3 3;
14033                }
14034                fill.smooth: 0;
14035             }
14036          }
14037          part { name: "bg";
14038             type: RECT;
14039             mouse_events: 0;
14040             scale: 1;
14041             description { state: "default" 0.0;
14042                visible: 0;
14043                rel1.to: "elm.swallow.bar";
14044                rel2.to: "elm.swallow.bar";
14045                color: 0 0 0 0;
14046             }
14047          }
14048          part { name: "elm.swallow.bar";
14049             type: SWALLOW;
14050             scale: 1;
14051             description { state: "default" 0.0;
14052                min: 48 24;
14053                max: 99999 24;
14054                align: 1.0 0.5;
14055                rel1 {
14056                   to_x: "elm.text";
14057                   relative: 1.0 0.0;
14058                   offset: 8 0;
14059                }
14060                rel2 {
14061                   to_x: "elm.units";
14062                   relative: 0.0 1.0;
14063                   offset: -10 -1;
14064                }
14065             }
14066          }
14067          part { name: "elm.swallow.icon";
14068             type: SWALLOW;
14069             description { state: "default" 0.0;
14070                visible: 0;
14071                align: 0.0 0.5;
14072                rel1 {
14073                   offset: 4 0;
14074                   to_y: "elm.swallow.bar";
14075                }
14076                rel2 {
14077                   offset: 3 -1;
14078                   relative: 0.0 1.0;
14079                   to_y: "elm.swallow.bar";
14080                }
14081             }
14082             description { state: "visible" 0.0;
14083                inherit: "default" 0.0;
14084                visible: 1;
14085                aspect: 1.0 1.0;
14086                aspect_preference: VERTICAL;
14087                rel2.offset: 4 -1;
14088             }
14089          }
14090          part { name: "elm.text";
14091             type: TEXT;
14092             mouse_events: 0;
14093             scale: 1;
14094             description { state: "default" 0.0;
14095                visible: 0;
14096                fixed: 1 1;
14097                align: 0.0 0.5;
14098                rel1.to_x: "elm.swallow.icon";
14099                rel1.relative: 1.0 0.0;
14100                rel1.offset: -1 4;
14101                rel2.to_x: "elm.swallow.icon";
14102                rel2.relative: 1.0 1.0;
14103                rel2.offset: -1 -5;
14104                color: 0 0 0 255;
14105                text {
14106                   font: "Sans,Edje-Vera";
14107                   size: 10;
14108                   min: 0 0;
14109                   align: 0.0 0.5;
14110                }
14111             }
14112             description { state: "visible" 0.0;
14113                inherit: "default" 0.0;
14114                visible: 1;
14115                text.min: 1 1;
14116                rel1.offset: 0 4;
14117                rel2.offset: 0 -5;
14118             }
14119             description { state: "disabled" 0.0;
14120                inherit: "default" 0.0;
14121                color: 255 128 128 128;
14122                visible: 0;
14123             }
14124             description { state: "disabled_visible" 0.0;
14125                inherit: "default" 0.0;
14126                color: 0 0 0 128;
14127                color3: 0 0 0 0;
14128                visible: 1;
14129                text.min: 1 1;
14130             }
14131          }
14132          part {
14133             name: "elm.swallow.end";
14134             type: SWALLOW;
14135             description {
14136                state: "default" 0.0;
14137                visible: 0;
14138                align: 1.0 0.5;
14139                rel1 {
14140                   offset: -4 0;
14141                   relative: 1.0 0.0;
14142                   to_y: "elm.swallow.bar";
14143                }
14144                rel2 {
14145                   offset: -3 -1;
14146                   to_y: "elm.swallow.bar";
14147                }
14148             }
14149             description { state: "visible" 0.0;
14150                inherit: "default" 0.0;
14151                visible: 1;
14152                aspect: 1.0 1.0;
14153                aspect_preference: VERTICAL;
14154                rel2.offset: -4 -1;
14155             }
14156          }
14157          part { name: "units";
14158             mouse_events: 0;
14159             description { state: "default" 0.0;
14160                visible: 0;
14161                rel1 {
14162                   to_x: "elm.units";
14163                   offset: 0 5;
14164                }
14165                rel2 {
14166                   to_x: "elm.units";
14167                   offset: 5 -3;
14168                }
14169                image {
14170                   normal: "sl_units.png";
14171                   border: 0 5 3 8;
14172                }
14173                fill.smooth: 0;
14174             }
14175             description { state: "visible" 0.0;
14176                inherit: "default" 0.0;
14177                visible: 1;
14178             }
14179          }
14180          part { name: "elm.units";
14181             type: TEXT;
14182             mouse_events: 0;
14183             scale: 1;
14184             description { state: "default" 0.0;
14185                visible: 0;
14186                fixed: 1 1;
14187                align: 1.0 0.5;
14188                rel1.to_x: "elm.swallow.end";
14189                rel1.relative: 0.0 0.0;
14190                rel1.offset: 0 8;
14191                rel2.to_x: "elm.swallow.end";
14192                rel2.relative: 0.0 1.0;
14193                rel2.offset: 0 -9;
14194                color: 0 0 0 255;
14195                text {
14196                   font: "Sans,Edje-Vera";
14197                   size: 10;
14198                   min: 0 0;
14199                   align: 0.0 0.5;
14200                }
14201             }
14202             description { state: "visible" 0.0;
14203                inherit: "default" 0.0;
14204                fixed: 1 1;
14205                visible: 1;
14206                text.min: 1 1;
14207                rel1.offset: -5 0;
14208                rel2.offset: -5 -1;
14209             }
14210             description { state: "disabled" 0.0;
14211                inherit: "default" 0.0;
14212                color: 255 128 128 128;
14213                visible: 0;
14214             }
14215             description { state: "disabled_visible" 0.0;
14216                inherit: "default" 0.0;
14217                color: 0 0 0 128;
14218                color3: 0 0 0 0;
14219                visible: 1;
14220                text.min: 1 1;
14221             }
14222          }
14223          part { name: "elm.dragable.slider";
14224             type: GROUP;
14225             source: "elm/slider/horizontal/indicator/default";
14226             mouse_events: 1;
14227             repeat_events: 1;
14228             scale: 1;
14229             dragable {
14230                x: 1 1 0;
14231                y: 0 0 0;
14232                confine: "bg";
14233             }
14234             description { state: "default" 0.0;
14235                min: 0 24;
14236                max: 0 24;
14237                fixed: 1 1;
14238                rel1 {
14239                   relative: 0.5 0.0;
14240                   to_x: "bg";
14241                }
14242                rel2 {
14243                   relative: 0.5 1.0;
14244                   to_x: "bg";
14245                }
14246                color: 255 0 0 100;
14247             }
14248          }
14249           part { name: "disabler";
14250             type: RECT;
14251             description { state: "default" 0.0;
14252                color: 0 0 0 0;
14253                visible: 0;
14254             }
14255             description { state: "disabled" 0.0;
14256                inherit: "default" 0.0;
14257                visible: 1;
14258             }
14259          }
14260       }
14261       programs {
14262          program { name: "text_show";
14263             signal: "elm,state,text,visible";
14264             source: "elm";
14265             action:  STATE_SET "visible" 0.0;
14266             target: "elm.text";
14267          }
14268          program { name: "text_hide";
14269             signal: "elm,state,text,hidden";
14270             source: "elm";
14271             action:  STATE_SET "default" 0.0;
14272             target: "elm.text";
14273          }
14274          program { name: "icon_show";
14275             signal: "elm,state,icon,visible";
14276             source: "elm";
14277             action:  STATE_SET "visible" 0.0;
14278             target: "elm.swallow.icon";
14279          }
14280          program { name: "icon_hide";
14281             signal: "elm,state,icon,hidden";
14282             source: "elm";
14283             action:  STATE_SET "default" 0.0;
14284             target: "elm.swallow.icon";
14285          }
14286           program { name: "end_show";
14287             signal: "elm,state,end,visible";
14288             source: "elm";
14289             action:  STATE_SET "visible" 0.0;
14290             target: "elm.swallow.end";
14291          }
14292          program { name: "end_hide";
14293             signal: "elm,state,end,hidden";
14294             source: "elm";
14295             action:  STATE_SET "default" 0.0;
14296             target: "elm.swallow.end";
14297          }
14298          program { name: "units_show";
14299             signal: "elm,state,units,visible";
14300             source: "elm";
14301             action:  STATE_SET "visible" 0.0;
14302             target: "elm.units";
14303             target: "units";
14304          }
14305          program { name: "units_hide";
14306             signal: "elm,state,units,hidden";
14307             source: "elm";
14308             action:  STATE_SET "default" 0.0;
14309             target: "elm.units";
14310             target: "units";
14311          }
14312          program { name: "invert_on";
14313             signal: "elm,state,inverted,on";
14314             source: "elm";
14315             action:  STATE_SET "inverted" 0.0;
14316             target: "level";
14317             target: "level2";
14318          }
14319          program { name: "invert_off";
14320             signal: "elm,state,inverted,off";
14321             source: "elm";
14322             action:  STATE_SET "default" 0.0;
14323             target: "level";
14324             target: "level2";
14325          }
14326          program {
14327             name:    "go_disabled";
14328             signal:  "elm,state,disabled";
14329             source:  "elm";
14330             action:  STATE_SET "disabled" 0.0;
14331 //            target: "button0";
14332             target: "disabler";
14333             after: "disable_text";
14334             after: "disable_ind";
14335          }
14336
14337          program { name: "disable_ind";
14338             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14339          }
14340          program { name: "disable_text";
14341             script {
14342                new st[31];
14343                new Float:vl;
14344                get_state(PART:"elm.text", st, 30, vl);
14345                if (!strcmp(st, "visible"))
14346                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14347                else
14348                   set_state(PART:"elm.text", "disabled", 0.0);
14349
14350                get_state(PART:"elm.units", st, 30, vl);
14351                if (!strcmp(st, "visible"))
14352                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14353                else
14354                   set_state(PART:"elm.units", "disabled", 0.0);
14355
14356                get_state(PART:"level2", st, 30, vl);
14357                if (!strcmp(st, "inverted"))
14358                {
14359                   set_state(PART:"level", "disabled_inverted", 0.0);
14360                   set_state(PART:"level2", "disabled_inverted", 0.0);
14361                }
14362                else
14363                {
14364                   set_state(PART:"level", "disabled", 0.0);
14365                   set_state(PART:"level2", "disabled", 0.0);
14366                }
14367             }
14368          }
14369          program { name: "enable";
14370             signal: "elm,state,enabled";
14371             source: "elm";
14372             action: STATE_SET "default" 0.0;
14373 //            target: "button0";
14374             target: "disabler";
14375             after: "enable_text";
14376             after: "enable_ind";
14377          }
14378
14379          program { name: "enable_ind";
14380             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14381          }
14382
14383          program { name: "enable_text";
14384             script {
14385                new st[31];
14386                new Float:vl;
14387                get_state(PART:"elm.text", st, 30, vl);
14388                if (!strcmp(st, "disabled_visible"))
14389                   set_state(PART:"elm.text", "visible", 0.0);
14390                else
14391                   set_state(PART:"elm.text", "default", 0.0);
14392
14393                get_state(PART:"elm.units", st, 30, vl);
14394                if (!strcmp(st, "disabled_visible"))
14395                   set_state(PART:"elm.units", "visible", 0.0);
14396                else
14397                   set_state(PART:"elm.units", "default", 0.0);
14398
14399                get_state(PART:"level2", st, 30, vl);
14400                if (!strcmp(st, "disabled_inverted"))
14401                {
14402                   set_state(PART:"level", "inverted", 0.0);
14403                   set_state(PART:"level2", "inverted", 0.0);
14404                }
14405                else
14406                {
14407                   set_state(PART:"level", "default", 0.0);
14408                   set_state(PART:"level2", "default", 0.0);
14409                }
14410             }
14411          }
14412       }
14413    }
14414
14415    group { name: "elm/slider/vertical/default";
14416       images {
14417          image: "slv_bg.png" COMP;
14418          image: "slv_bg_over.png" COMP;
14419
14420          image: "slv_units.png" COMP;
14421       }
14422       parts {
14423          part { name: "base";
14424             mouse_events: 0;
14425             description { state: "default" 0.0;
14426                max: 6 99999;
14427                min: 6 0;
14428                rel1 { to: "bg";
14429                   offset: 1 0;
14430                }
14431                rel2 { to: "bg";
14432                   offset: -2 -1;
14433                }
14434                image.normal: "slv_bg.png";
14435                fill.smooth: 0;
14436             }
14437          }
14438          part { name: "level";
14439             type: RECT;
14440             mouse_events: 0;
14441             description { state: "default" 0.0;
14442                fixed: 1 1;
14443                rel1.to: "base";
14444                rel2 {
14445                   to_x: "base";
14446                   to_y: "elm.dragable.slider";
14447                   relative: 1.0 0.5;
14448                }
14449                color: 255 0 0 200;
14450             }
14451             description { state: "inverted" 0.0;
14452                inherit: "default" 0.0;
14453                visible: 0;
14454             }
14455             description { state: "disabled" 0.0;
14456                inherit: "default" 0.0;
14457                color: 255 0 0 100;
14458             }
14459             description { state: "disabled_inverted" 0.0;
14460                inherit: "default" 0.0;
14461                visible: 0;
14462             }
14463          }
14464          part { name: "level2";
14465             type: RECT;
14466             mouse_events: 0;
14467             description { state: "default" 0.0;
14468                fixed: 1 1;
14469                visible: 0;
14470                rel1 {
14471                   to_x: "base";
14472                   to_y: "elm.dragable.slider";
14473                   relative: 0.0 0.5;
14474                }
14475                rel2.to: "base";
14476                color: 255 0 0 200;
14477             }
14478             description { state: "inverted" 0.0;
14479                inherit: "default" 0.0;
14480                visible: 1;
14481             }
14482             description { state: "disabled" 0.0;
14483                inherit: "default" 0.0;
14484                color: 255 0 0 100;
14485             }
14486             description { state: "disabled_inverted" 0.0;
14487                inherit: "default" 0.0;
14488                color: 255 0 0 100;
14489                visible: 1;
14490             }
14491          }
14492          part {
14493             name: "base_over";
14494             mouse_events: 0;
14495             description { state: "default" 0.0;
14496                rel1.to: "base";
14497                rel1.offset: -1 -1;
14498                rel2.to: "base";
14499                rel2.offset: 0 0;
14500                image {
14501                   normal: "slv_bg_over.png";
14502                   border: 3 3 3 3;
14503                }
14504                fill.smooth: 0;
14505             }
14506          }
14507          part { name: "bg";
14508             type: RECT;
14509             mouse_events: 0;
14510             scale: 1;
14511             description { state: "default" 0.0;
14512                visible: 0;
14513                rel1.to: "elm.swallow.bar";
14514                rel2.to: "elm.swallow.bar";
14515                color: 0 0 0 0;
14516             }
14517          }
14518          part { name: "elm.swallow.bar";
14519             type: SWALLOW;
14520             scale: 1;
14521             description { state: "default" 0.0;
14522                min: 24 48;
14523                max: 24 9999;
14524                align: 0.5 1.0;
14525                rel1 {
14526                   to_y: "elm.text";
14527                   relative: 0.0 1.0;
14528                   offset: 0 10;
14529                }
14530                rel2 {
14531                   to_y: "elm.units";
14532                   relative: 1.0 0.0;
14533                   offset: -1 -8;
14534                }
14535             }
14536          }
14537          part { name: "elm.swallow.icon";
14538             type: SWALLOW;
14539             description { state: "default" 0.0;
14540                visible: 0;
14541                align: 0.5 0.0;
14542                rel1 {
14543                   offset: 0 4;
14544                   to_x: "elm.swallow.bar";
14545                }
14546                rel2 {
14547                   offset: -1 3;
14548                   relative: 1.0 0.0;
14549                   to_x: "elm.swallow.bar";
14550                }
14551             }
14552             description { state: "visible" 0.0;
14553                inherit: "default" 0.0;
14554                visible: 1;
14555                aspect: 1.0 1.0;
14556                aspect_preference: HORIZONTAL;
14557                rel2.offset: -1 4;
14558             }
14559          }
14560          part { name: "elm.text";
14561             type: TEXT;
14562             mouse_events: 0;
14563             scale: 1;
14564             description { state: "default" 0.0;
14565                visible: 0;
14566                fixed: 0 1;
14567                align: 0.5 0.0;
14568                rel1.to_y: "elm.swallow.icon";
14569                rel1.relative: 0.0 1.0;
14570                rel1.offset: 0 -1;
14571                rel2.to_y: "elm.swallow.icon";
14572                rel2.relative: 1.0 1.0;
14573                rel2.offset: -1 -1;
14574                color: 0 0 0 255;
14575                text {
14576                   font: "Sans,Edje-Vera";
14577                   size: 10;
14578                   min: 0 0;
14579                   align: 0.5 0.0;
14580                }
14581             }
14582             description { state: "visible" 0.0;
14583                inherit: "default" 0.0;
14584                visible: 1;
14585                text.min: 1 1;
14586                rel1.offset: 4 0;
14587                rel2.offset: -5 0;
14588             }
14589             description { state: "disabled" 0.0;
14590                inherit: "default" 0.0;
14591                color: 255 128 128 128;
14592                visible: 0;
14593             }
14594             description { state: "disabled_visible" 0.0;
14595                inherit: "default" 0.0;
14596                color: 0 0 0 128;
14597                color3: 0 0 0 0;
14598                visible: 1;
14599                text.min: 1 1;
14600             }
14601          }
14602          part {
14603             name: "elm.swallow.end";
14604             type: SWALLOW;
14605             description {
14606                state: "default" 0.0;
14607                visible: 0;
14608                align: 0.5 1.0;
14609                rel1 {
14610                   offset: 0 -4;
14611                   relative: 0.0 1.0;
14612                   to_x: "elm.swallow.bar";
14613                }
14614                rel2 {
14615                   offset: -1 -3;
14616                   to_x: "elm.swallow.bar";
14617                }
14618             }
14619             description { state: "visible" 0.0;
14620                inherit: "default" 0.0;
14621                visible: 1;
14622                aspect: 1.0 1.0;
14623                aspect_preference: HORIZONTAL;
14624                rel2.offset: -1 -4;
14625             }
14626          }
14627          part { name: "units";
14628             mouse_events: 0;
14629             description { state: "default" 0.0;
14630                visible: 0;
14631                rel1 {
14632                   to: "elm.units";
14633                   offset: -8 0;
14634                }
14635                rel2 {
14636                   to: "elm.units";
14637                   offset: 7 8;
14638                }
14639                image {
14640                   normal: "slv_units.png";
14641                   border: 8 8 0 9;
14642                }
14643                fill.smooth: 0;
14644             }
14645             description { state: "visible" 0.0;
14646                inherit: "default" 0.0;
14647                visible: 1;
14648             }
14649          }
14650          part { name: "elm.units";
14651             type: TEXT;
14652             mouse_events: 0;
14653             scale: 1;
14654             description { state: "default" 0.0;
14655                visible: 0;
14656                fixed: 1 1;
14657                align: 0.5 1.0;
14658                rel1.relative: 0.0 0.0;
14659                rel1.to_y: "elm.swallow.end";
14660                rel1.offset: 8 0;
14661                rel2.relative: 1.0 0.0;
14662                rel2.to_y: "elm.swallow.end";
14663                rel2.offset: -9 0;
14664                color: 0 0 0 255;
14665                text {
14666                   font: "Sans,Edje-Vera";
14667                   size: 10;
14668                   min: 0 0;
14669                   align: 0.5 0.0;
14670                }
14671             }
14672             description { state: "visible" 0.0;
14673                inherit: "default" 0.0;
14674                fixed: 1 1;
14675                visible: 1;
14676                text.min: 1 1;
14677                rel1.offset: 8 -9;
14678                rel2.offset: -9 -9;
14679             }
14680             description { state: "disabled" 0.0;
14681                inherit: "default" 0.0;
14682                color:  0 0 0 128;
14683                color3: 0 0 0 0;
14684                visible: 0;
14685             }
14686             description { state: "disabled_visible" 0.0;
14687                inherit: "default" 0.0;
14688                fixed: 1 1;
14689                visible: 1;
14690                text.min: 1 1;
14691                rel1.offset: 8 -9;
14692                rel2.offset: -9 -9;
14693                color: 0 0 0 128;
14694                color3: 0 0 0 0;
14695             }
14696          }
14697          part { name: "elm.dragable.slider";
14698             type: GROUP;
14699             source: "elm/slider/vertical/indicator/default";
14700             mouse_events: 1;
14701             repeat_events: 1;
14702             scale: 1;
14703             dragable {
14704                x: 0 0 0;
14705                y: 1 1 0;
14706                confine: "bg";
14707             }
14708             description { state: "default" 0.0;
14709                min: 24 0;
14710                max: 24 0;
14711                fixed: 1 1;
14712                rel1 {
14713                   relative: 0.5  0.0;
14714                   to_y: "bg";
14715                }
14716                rel2 {
14717                   relative: 0.5  1.0;
14718                   to_y: "bg";
14719                }
14720                color: 0 0 0 0;
14721             }
14722          }
14723               part { name: "disabler";
14724                 type: RECT;
14725                 description { state: "default" 0.0;
14726                    color: 0 0 0 0;
14727                    visible: 0;
14728                 }
14729                 description { state: "disabled" 0.0;
14730                    inherit: "default" 0.0;
14731                    visible: 1;
14732                 }
14733              }
14734           }
14735
14736       programs {
14737          program { name: "text_show";
14738             signal: "elm,state,text,visible";
14739             source: "elm";
14740             action:  STATE_SET "visible" 0.0;
14741             target: "elm.text";
14742          }
14743          program { name: "text_hide";
14744             signal: "elm,state,text,hidden";
14745             source: "elm";
14746             action:  STATE_SET "default" 0.0;
14747             target: "elm.text";
14748          }
14749          program { name: "icon_show";
14750             signal: "elm,state,icon,visible";
14751             source: "elm";
14752             action:  STATE_SET "visible" 0.0;
14753             target: "elm.swallow.icon";
14754          }
14755          program { name: "icon_hide";
14756             signal: "elm,state,icon,hidden";
14757             source: "elm";
14758             action:  STATE_SET "default" 0.0;
14759             target: "elm.swallow.icon";
14760          }
14761          program { name: "end_show";
14762             signal: "elm,state,end,visible";
14763             source: "elm";
14764             action:  STATE_SET "visible" 0.0;
14765             target: "elm.swallow.end";
14766          }
14767          program { name: "end_hide";
14768             signal: "elm,state,end,hidden";
14769             source: "elm";
14770             action:  STATE_SET "default" 0.0;
14771             target: "elm.swallow.end";
14772          }
14773          program { name: "units_show";
14774             signal: "elm,state,units,visible";
14775             source: "elm";
14776             action:  STATE_SET "visible" 0.0;
14777             target: "elm.units";
14778             target: "units";
14779          }
14780          program { name: "units_hide";
14781             signal: "elm,state,units,hidden";
14782             source: "elm";
14783             action:  STATE_SET "default" 0.0;
14784             target: "elm.units";
14785             target: "units";
14786          }
14787          program { name: "invert_on";
14788             signal: "elm,state,inverted,on";
14789             source: "elm";
14790             action:  STATE_SET "inverted" 0.0;
14791             target: "level";
14792             target: "level2";
14793          }
14794          program { name: "invert_off";
14795             signal: "elm,state,inverted,off";
14796             source: "elm";
14797             action:  STATE_SET "default" 0.0;
14798             target: "level";
14799             target: "level2";
14800          }
14801          program {
14802             name:   "go_disabled";
14803             signal: "elm,state,disabled";
14804             source: "elm";
14805             action: STATE_SET "disabled" 0.0;
14806 //            target: "button0";
14807             target: "disabler";
14808             after: "disable_text";
14809             after: "disable_ind";
14810          }
14811
14812          program { name: "disable_ind";
14813             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,disabled" "elm";
14814          }
14815
14816          program { name: "disable_text";
14817             script {
14818             new st[31];
14819             new Float:vl;
14820                get_state(PART:"elm.text", st, 30, vl);
14821                if (!strcmp(st, "visible"))
14822                   set_state(PART:"elm.text", "disabled_visible", 0.0);
14823                else
14824                   set_state(PART:"elm.text", "disabled", 0.0);
14825
14826                get_state(PART:"elm.units", st, 30, vl);
14827                if (!strcmp(st, "visible"))
14828                   set_state(PART:"elm.units", "disabled_visible", 0.0);
14829                else
14830                   set_state(PART:"elm.units", "disabled", 0.0);
14831
14832                get_state(PART:"level2", st, 30, vl);
14833                if (!strcmp(st, "inverted"))
14834                {
14835                   set_state(PART:"level", "disabled_inverted", 0.0);
14836                   set_state(PART:"level2", "disabled_inverted", 0.0);
14837                }
14838                else
14839                {
14840                   set_state(PART:"level", "disabled", 0.0);
14841                   set_state(PART:"level2", "disabled", 0.0);
14842                }
14843             }
14844          }
14845
14846          program { name: "enable";
14847             signal: "elm,state,enabled";
14848             source: "elm";
14849             action: STATE_SET "default" 0.0;
14850 //            target: "button0";
14851             target: "disabler";
14852             after: "enable_text";
14853             after: "enable_ind";
14854          }
14855
14856          program { name: "enable_ind";
14857             action: SIGNAL_EMIT "elm.dragable.slider:elm,state,enabled" "elm";
14858          }
14859          program { name: "enable_text";
14860             script {
14861                new st[31];
14862                new Float:vl;
14863                get_state(PART:"elm.text", st, 30, vl);
14864                if (!strcmp(st, "disabled_visible"))
14865                   set_state(PART:"elm.text", "visible", 0.0);
14866                else
14867                   set_state(PART:"elm.text", "default", 0.0);
14868
14869                get_state(PART:"elm.units", st, 30, vl);
14870                if (!strcmp(st, "disabled_visible"))
14871                   set_state(PART:"elm.units", "visible", 0.0);
14872                else
14873                   set_state(PART:"elm.units", "default", 0.0);
14874
14875                get_state(PART:"level2", st, 30, vl);
14876                if (!strcmp(st, "disabled_inverted"))
14877                {
14878                   set_state(PART:"level", "inverted", 0.0);
14879                   set_state(PART:"level2", "inverted", 0.0);
14880                }
14881                else
14882                {
14883                   set_state(PART:"level", "default", 0.0);
14884                   set_state(PART:"level2", "default", 0.0);
14885                }
14886             }
14887          }
14888       }
14889    }
14890    group { name: "elm/slider/horizontal/indicator/default";
14891            alias: "elm/slider/horizontal/indicator/disabled";
14892            alias: "elm/slider/vertical/indicator/default";
14893            alias: "elm/slider/vertical/indicator/disabled";
14894       images {
14895          image: "sl_bt_0.png" COMP;
14896          image: "sl_bt_1.png" COMP;
14897          image: "sl_bt_2.png" COMP;
14898          image: "sl_bt_3.png" COMP;
14899          image: "sl_bt2_0_0.png" COMP;
14900          image: "sl_bt2_0_1.png" COMP;
14901          image: "sl_bt2_0_2.png" COMP;
14902          image: "sl_bt2_1.png" COMP;
14903          image: "sl_bt2_2.png" COMP;
14904       }
14905       script {
14906          public value_hide = 0;
14907          public set_value_show() {
14908             set_int(value_hide, 0);
14909          }
14910          public set_value_hide() {
14911             set_int(value_hide, 1);
14912          }
14913          public thumb_down() {
14914             if (get_int(value_hide) == 1) {
14915                set_state(PART:"elm.indicator", "default", 0.0);
14916                set_state(PART:"button3", "default", 0.0);
14917                set_state(PART:"button4", "default", 0.0);
14918                set_state(PART:"button5", "default", 0.0);
14919                set_state(PART:"button6", "default", 0.0);
14920                set_state(PART:"button7", "default", 0.0);
14921             } else {
14922                set_state(PART:"elm.indicator", "visible", 0.0);
14923                set_state(PART:"button3", "visible", 0.0);
14924                set_state(PART:"button4", "visible", 0.0);
14925                set_state(PART:"button5", "visible", 0.0);
14926                set_state(PART:"button6", "visible", 0.0);
14927                set_state(PART:"button7", "visible", 0.0);
14928             }
14929          }
14930          public thumb_up() {
14931             set_state(PART:"elm.indicator", "default", 0.0);
14932             set_state(PART:"button3", "default", 0.0);
14933             set_state(PART:"button4", "default", 0.0);
14934             set_state(PART:"button5", "default", 0.0);
14935             set_state(PART:"button6", "default", 0.0);
14936             set_state(PART:"button7", "default", 0.0);
14937          }
14938       }
14939       parts {
14940          part { name: "button_events";
14941             type: RECT;
14942             mouse_events: 1;
14943             description { state: "default" 0.0;
14944                fixed: 1 1;
14945                min: 16 16;
14946                aspect: 1.0 1.0;
14947                aspect_preference: VERTICAL;
14948                color: 0 0 0 0;
14949             }
14950          }
14951          part { name: "button0";
14952             mouse_events: 0;
14953             description { state: "default" 0.0;
14954                fixed: 1 1;
14955                max: 17 999;
14956                min: 17 24;
14957                image {
14958                   normal: "sl_bt_0.png";
14959                   border: 5 5 5 10;
14960                }
14961                fill.smooth: 0;
14962             }
14963             description { state: "disabled" 0.0;
14964                inherit: "default" 0.0;
14965                image {
14966                   normal: "sl_bt_3.png";
14967                   border: 5 5 5 10;
14968                }
14969             }
14970          }
14971          part { name: "button1";
14972             mouse_events: 0;
14973             description { state: "default" 0.0;
14974                rel1.to: "button0";
14975                rel2 {
14976                   to: "button0";
14977                   relative: 1.0 0.5;
14978                   offset: -1 -5;
14979                }
14980                image {
14981                   normal: "sl_bt_1.png";
14982                   border: 5 5 5 0;
14983                }
14984             }
14985          }
14986          part { name: "button2";
14987             mouse_events: 0;
14988             description { state: "default" 0.0;
14989                rel1.to: "button0";
14990                rel2.to: "button0";
14991                image {
14992                   normal: "sl_bt_2.png";
14993                   border: 5 5 5 10;
14994                }
14995                fill.smooth: 0;
14996             }
14997          }
14998          part { name: "button3";
14999             mouse_events: 0;
15000             description { state: "default" 0.0;
15001                fixed: 1 1;
15002                visible: 0;
15003                min: 8 32;
15004                align: 1.0 0.5;
15005                rel1 {
15006                   to_x: "elm.indicator";
15007                   to_y: "button4";
15008                   relative: 0.0 0.0;
15009                   offset: -7 0;
15010                }
15011                rel2 {
15012                   to: "button4";
15013                   relative: 0.0 1.0;
15014                   offset: -1 -1;
15015                }
15016                image {
15017                   normal: "sl_bt2_0_0.png";
15018                   border: 6 0 6 12;
15019                }
15020                fill.smooth: 0;
15021             }
15022             description { state: "visible" 0.0;
15023                inherit: "default" 0.0;
15024                visible: 1;
15025             }
15026          }
15027          part { name: "button4";
15028             mouse_events: 0;
15029             description { state: "default" 0.0;
15030                visible: 0;
15031                max: 15 999;
15032                min: 15 32;
15033                rel1 {
15034                   to_x: "button0";
15035                   to_y: "elm.indicator";
15036                   offset: 0 0;
15037                }
15038                rel2.to: "button0";
15039                image {
15040                   normal: "sl_bt2_0_1.png";
15041                   border: 0 0 6 12;
15042                }
15043                fill.smooth: 0;
15044             }
15045             description { state: "visible" 0.0;
15046                inherit: "default" 0.0;
15047                visible: 1;
15048             }
15049          }
15050          part { name: "button5";
15051             mouse_events: 0;
15052             description { state: "default" 0.0;
15053                fixed: 1 1;
15054                visible: 0;
15055                min: 8 32;
15056                align: 0.0 0.5;
15057                rel1 {
15058                   to: "button4";
15059                   relative: 1.0 0.0;
15060                   offset: 0 0;
15061                }
15062                rel2 {
15063                   to_x: "elm.indicator";
15064                   to_y: "button4";
15065                   relative: 1.0 1.0;
15066                   offset: 6 -1;
15067                }
15068                image {
15069                   normal: "sl_bt2_0_2.png";
15070                   border: 0 6 6 12;
15071                }
15072                fill.smooth: 0;
15073             }
15074             description { state: "visible" 0.0;
15075                inherit: "default" 0.0;
15076                visible: 1;
15077             }
15078          }
15079          part { name: "elm.indicator";
15080             type: TEXT;
15081             mouse_events: 0;
15082             effect: SOFT_SHADOW;
15083             scale: 1;
15084             description { state: "default" 0.0;
15085                visible: 0;
15086                fixed: 1 1;
15087                align: 0.5 1.0;
15088                rel1 {
15089                   to: "button0";
15090                   relative: 0.0 -0.25;
15091                   offset: 0 0;
15092                }
15093                rel2 {
15094                   to_x: "button0";
15095                   relative: 1.0 -0.25;
15096                   offset: -1 0;
15097                }
15098                color: 224 224 224 255;
15099                color3: 0 0 0 64;
15100                text {
15101                   font:     "Sans,Edje-Vera";
15102                   size:     10;
15103                   min:      0 0;
15104                   align:    0.5 0.5;
15105                }
15106             }
15107             description { state: "visible" 0.0;
15108                inherit: "default" 0.0;
15109                visible: 1;
15110                text.min: 1 1;
15111                rel1.offset: 0 -1;
15112                rel2.offset: -1 -1;
15113             }
15114          }
15115          part { name: "button6";
15116             mouse_events: 0;
15117             description { state: "default" 0.0;
15118                visible: 0;
15119                rel1.to: "button3";
15120                rel2 {
15121                   to: "button5";
15122                   relative: 1.0 0.3;
15123                   offset: -1 -1;
15124                }
15125                image {
15126                   normal: "sl_bt2_1.png";
15127                   border: 5 5 5 0;
15128                }
15129                fill.smooth: 0;
15130             }
15131             description { state: "visible" 0.0;
15132                inherit: "default" 0.0;
15133                visible: 1;
15134             }
15135          }
15136          part { name: "button7";
15137             mouse_events: 0;
15138             description { state: "default" 0.0;
15139                visible: 0;
15140                rel1.to: "button3";
15141                rel2.to: "button5";
15142                image {
15143                   normal: "sl_bt2_2.png";
15144                   border: 5 5 5 0;
15145                   middle: 0;
15146                }
15147                fill.smooth: 0;
15148             }
15149             description { state: "visible" 0.0;
15150                inherit: "default" 0.0;
15151                visible: 1;
15152             }
15153          }
15154       }
15155       programs {
15156          program { name: "set_val_show";
15157             signal: "elm,state,val,show";
15158             source: "elm";
15159             script {
15160                set_value_show();
15161             }
15162          }
15163          program { name: "set_val_hide";
15164             signal: "elm,state,val,hide";
15165             source: "elm";
15166             script {
15167                set_value_hide();
15168             }
15169          }
15170          program { name: "val_show";
15171             signal: "mouse,down,*";
15172             source: "button_events";
15173             script {
15174                thumb_down();
15175             }
15176
15177          }
15178          program { name: "val_hide";
15179             signal: "mouse,up,*";
15180             source: "button_events";
15181             script {
15182                thumb_up();
15183             }
15184          }
15185          program {
15186             name:    "go_disabled";
15187             signal:  "elm,state,disabled";
15188             source:  "elm";
15189             action:  STATE_SET "disabled" 0.0;
15190             target:  "button0";
15191          }
15192          program {
15193             name:    "go_enabled";
15194             signal:  "elm,state,enabled";
15195             source:  "elm";
15196             action:  STATE_SET "default" 0.0;
15197             target:  "button0";
15198          }
15199       }
15200    }
15201
15202
15203 ////////////////////////////////////////////////////////////////////////////////
15204 // actionslider
15205 ////////////////////////////////////////////////////////////////////////////////
15206    group { name: "elm/actionslider/base/default";
15207
15208       images {
15209          image: "shelf_inset.png" COMP;
15210          image: "ilist_1.png" COMP;
15211          image: "bt_bases.png" COMP;
15212          image: "bt_basew.png" COMP;
15213          image: "bt_hilightw.png" COMP;
15214       }
15215
15216       parts {
15217          part {
15218             name: "base";
15219             mouse_events: 0;
15220             description {
15221                state: "default" 0.0;
15222                min: 75 25;
15223                rel1.offset: 1 1;
15224                rel2.offset: -2 -2;
15225                image {
15226                   normal: "ilist_1.png";
15227                   border: 2 2 2 2;
15228                }
15229                fill.smooth: 0;
15230             }
15231          }
15232          part { name: "conf_over";
15233             mouse_events:  0;
15234             description { state: "default" 0.0;
15235                rel1.to: "base";
15236                rel2.to: "base";
15237                image {
15238                   normal: "shelf_inset.png";
15239                   border: 7 7 7 7;
15240                   middle: 0;
15241                }
15242                fill.smooth : 0;
15243             }
15244          }
15245          part { name: "icon.dragable.area";
15246            type: RECT;
15247             mouse_events: 0;
15248             description { state: "default" 0.0;
15249                visible: 0;
15250                rel1.to: "base";
15251                rel2.to: "base";
15252             }
15253          }
15254          part { name: "elm.text.left";
15255             type: TEXT;
15256             mouse_events: 0;
15257             scale: 1;
15258             description { state: "default" 0.0;
15259                color: 0 0 0 255;
15260                text {
15261                   font: "Sans,Edje-Vera";
15262                   size: 10;
15263                   align: 0.05 0.5;
15264                   min: 1 1;
15265                }
15266             }
15267          }
15268          part { name: "elm.text.center";
15269             type: TEXT;
15270             mouse_events: 0;
15271             scale: 1;
15272             description { state: "default" 0.0;
15273                color: 0 0 0 255;
15274                text {
15275                   font: "Sans,Edje-Vera";
15276                   size: 10;
15277                   align: 0.5 0.5;
15278                   min: 1 1;
15279                }
15280             }
15281          }
15282          part { name: "elm.text.right";
15283             type: TEXT;
15284             mouse_events: 0;
15285             scale: 1;
15286             description { state: "default" 0.0;
15287                color: 0 0 0 255;
15288                text {
15289                   font: "Sans,Edje-Vera";
15290                   size: 10;
15291                   align: 0.95 0.5;
15292                   min: 1 1;
15293                }
15294             }
15295          }
15296          part { name: "elm.drag_button_base";
15297             type: SWALLOW;
15298             mouse_events: 0;
15299             scale: 1;
15300             description { state: "default" 0.0;
15301                fixed: 1 1;
15302                min: 50 25;
15303                align: 0.5 0.5;
15304                rel1.to: "icon.dragable.area";
15305                rel2 {
15306                   relative: 0.0 1.0;
15307                   to: "icon.dragable.area";
15308                }
15309             }
15310             dragable {
15311                confine: "icon.dragable.area";
15312                x: 1 1 0;
15313                y: 0 0 0;
15314             }
15315          }
15316          part { name: "elm.drag_button";
15317             type: RECT;
15318             mouse_events: 1;
15319             description { state: "default" 0.0;
15320                min: 50 25;
15321                color: 255 255 255 0;
15322                rel1.to_x: "elm.drag_button_base";
15323                rel1.to_y: "icon.dragable.area";
15324                rel2.to_x: "elm.drag_button_base";
15325                rel2.to_y: "icon.dragable.area";
15326             }
15327             dragable {
15328                events: "elm.drag_button_base";
15329             }
15330          }
15331          part { name: "button0";
15332             mouse_events: 0;
15333             description { state: "default" 0.0;
15334                rel1.to: "button2";
15335                rel1.offset: -4 -4;
15336                rel2.to: "button2";
15337                rel2.offset: 3 3;
15338                image {
15339                   normal: "bt_bases.png";
15340                   border: 11 11 11 11;
15341                   middle: SOLID;
15342                }
15343                color: 255 255 255 128;
15344             }
15345          }
15346          part { name: "button2";
15347             mouse_events: 0;
15348             description { state: "default" 0.0;
15349                rel1.to: "elm.drag_button";
15350                rel2.to: "elm.drag_button";
15351                image {
15352                   normal: "bt_basew.png";
15353                   border: 7 7 7 7;
15354                   middle: SOLID;
15355                }
15356                color: 255 255 255 210;
15357             }
15358          }
15359          part { name: "button3";
15360             mouse_events: 0;
15361             description { state: "default" 0.0;
15362                rel1.to: "button2";
15363                rel2.to: "button2";
15364                rel2.relative: 1.0 0.5;
15365                image {
15366                   normal: "bt_hilightw.png";
15367                   border: 4 4 4 0;
15368                }
15369                color: 255 255 255 190;
15370             }
15371          }
15372          part { name: "elm.text.indicator";
15373             type: TEXT;
15374             scale: 1;
15375             mouse_events: 0;
15376             description { state: "default" 0.0;
15377                rel1 {
15378                   to: "elm.drag_button";
15379                   offset: 5 0;
15380                }
15381                rel2 {
15382                   to: "elm.drag_button";
15383                   offset: -5 0;
15384                }
15385                color: 0 0 0 255;
15386                text {
15387                   font: "Sans,Edje-Vera";
15388                   size: 10;
15389                   align: 0.5 0.5;
15390                   min: 0 1;
15391                }
15392             }
15393          }
15394       }
15395       programs {
15396          program { name: "elm.drag_button,mouse,up";
15397             signal: "mouse,up,1";
15398             source: "elm.drag_button";
15399             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15400          }
15401          program { name: "elm.drag_button,mouse,down";
15402             signal: "mouse,down,1";
15403             source: "elm.drag_button";
15404             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15405          }
15406          program { name: "elm.drag_button,mouse,move";
15407             signal: "mouse,move";
15408             source: "elm.drag_button_base";
15409             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15410          }
15411       }
15412    }
15413
15414    group { name: "elm/actionslider/base/bar";
15415
15416       images {
15417          image: "shelf_inset.png" COMP;
15418          image: "ilist_1.png" COMP;
15419          image: "bt_bases.png" COMP;
15420          image: "bt_basew.png" COMP;
15421          image: "bt_hilightw.png" COMP;
15422       }
15423
15424       parts {
15425          part {
15426             name: "base";
15427             mouse_events: 0;
15428             description {
15429                state: "default" 0.0;
15430                min: 150 30;
15431                rel1.offset: 1 1;
15432                rel2.offset: -2 -2;
15433                image {
15434                   normal: "ilist_1.png";
15435                   border: 2 2 2 2;
15436                }
15437                fill.smooth: 0;
15438             }
15439          }
15440          part { name: "conf_over";
15441             mouse_events:  0;
15442             description { state: "default" 0.0;
15443                rel1.to: "base";
15444                rel2.to: "base";
15445                image {
15446                   normal: "shelf_inset.png";
15447                   border: 7 7 7 7;
15448                   middle: 0;
15449                }
15450                fill.smooth : 0;
15451             }
15452          }
15453          part { name: "icon.dragable.area";
15454            type: RECT;
15455             mouse_events: 0;
15456             description { state: "default" 0.0;
15457                visible: 0;
15458                rel1.to: "base";
15459                rel2.to: "base";
15460             }
15461          }
15462          part { name: "elm.text.left";
15463             type: TEXT;
15464             mouse_events: 0;
15465             scale: 1;
15466             description { state: "default" 0.0;
15467                color: 0 0 0 255;
15468                text {
15469                   font: "Sans,Edje-Vera";
15470                   size: 10;
15471                   align: 0.05 0.5;
15472                   min: 1 1;
15473                }
15474             }
15475          }
15476          part { name: "elm.text.center";
15477             type: TEXT;
15478             mouse_events: 0;
15479             scale: 1;
15480             description { state: "default" 0.0;
15481                color: 0 0 0 255;
15482                text {
15483                   font: "Sans,Edje-Vera";
15484                   size: 10;
15485                   align: 0.5 0.5;
15486                   min: 1 1;
15487                }
15488             }
15489          }
15490          part { name: "elm.text.right";
15491             type: TEXT;
15492             mouse_events: 0;
15493             scale: 1;
15494             description { state: "default" 0.0;
15495                color: 0 0 0 255;
15496                text {
15497                   font: "Sans,Edje-Vera";
15498                   size: 10;
15499                   align: 0.95 0.5;
15500                   min: 1 1;
15501                }
15502             }
15503          }
15504          part { name: "bar";
15505             type: RECT;
15506             mouse_events: 0;
15507             description { state: "default" 0.0;
15508                rel1.to: "base";
15509                rel1.offset: 0 2;
15510                rel2 {
15511                   relative: 0 1;
15512                   offset: 3 -3;
15513                   to_x: "elm.drag_button_base";
15514                   to_y: "base";
15515                }
15516                color: 0 0 0 180;
15517             }
15518          }
15519          part { name: "elm.drag_button_base";
15520             type: SWALLOW;
15521             mouse_events: 1;
15522             scale: 1;
15523             description { state: "default" 0.0;
15524                fixed: 1 1;
15525                min: 50 25;
15526                align: 0.5 0.5;
15527                rel1.to: "icon.dragable.area";
15528                rel2 {
15529                   relative: 0.0 1.0;
15530                   to: "icon.dragable.area";
15531                }
15532             }
15533             dragable {
15534                confine: "icon.dragable.area";
15535                x: 1 1 0;
15536                y: 0 0 0;
15537             }
15538          }
15539          part { name: "elm.drag_button";
15540             type: RECT;
15541             mouse_events: 1;
15542             description { state: "default" 0.0;
15543                min: 50 25;
15544                color: 255 255 255 0;
15545                rel1.to_x: "elm.drag_button_base";
15546                rel1.to_y: "icon.dragable.area";
15547                rel2.to_x: "elm.drag_button_base";
15548                rel2.to_y: "icon.dragable.area";
15549             }
15550             dragable {
15551                events: "elm.drag_button_base";
15552             }
15553          }
15554          part { name: "button0";
15555             mouse_events: 0;
15556             description { state: "default" 0.0;
15557                rel1.to: "button2";
15558                rel1.offset: -4 -4;
15559                rel2.to: "button2";
15560                rel2.offset: 3 3;
15561                image {
15562                   normal: "bt_bases.png";
15563                   border: 11 11 11 11;
15564                   middle: SOLID;
15565                }
15566                color: 255 255 255 128;
15567             }
15568          }
15569          part { name: "button2";
15570             mouse_events: 0;
15571             description { state: "default" 0.0;
15572                rel1.to: "elm.drag_button";
15573                rel2.to: "elm.drag_button";
15574                image {
15575                   normal: "bt_basew.png";
15576                   border: 7 7 7 7;
15577                   middle: SOLID;
15578                }
15579                color: 255 255 255 210;
15580             }
15581          }
15582          part { name: "button3";
15583             mouse_events: 0;
15584             description { state: "default" 0.0;
15585                rel1.to: "button2";
15586                rel2.to: "button2";
15587                rel2.relative: 1.0 0.5;
15588                image {
15589                   normal: "bt_hilightw.png";
15590                   border: 4 4 4 0;
15591                }
15592                color: 255 255 255 190;
15593             }
15594          }
15595          part { name: "elm.text.indicator";
15596             type: TEXT;
15597             scale: 1;
15598             mouse_events: 0;
15599             description { state: "default" 0.0;
15600                rel1 {
15601                   to: "elm.drag_button";
15602                   offset: 5 0;
15603                }
15604                rel2 {
15605                   to: "elm.drag_button";
15606                   offset: -5 0;
15607                }
15608                color: 0 0 0 255;
15609                text {
15610                   font: "Sans,Edje-Vera";
15611                   size: 10;
15612                   align: 0.5 0.5;
15613                   min: 0 1;
15614                }
15615             }
15616          }
15617       }
15618       programs {
15619          program { name: "elm.drag_button,mouse,up";
15620             signal: "mouse,up,1";
15621             source: "elm.drag_button";
15622             action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
15623          }
15624          program { name: "elm.drag_button,mouse,down";
15625             signal: "mouse,down,1";
15626             source: "elm.drag_button";
15627             action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
15628          }
15629          program { name: "elm.drag_button,mouse,move";
15630             signal: "mouse,move";
15631             source: "elm.drag_button_base";
15632             action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
15633          }
15634       }
15635    }
15636
15637 ///////////////////////////////////////////////////////////////////////////////
15638    group { name: "elm/genlist/item/default/default";
15639       data.item: "stacking" "above";
15640       data.item: "selectraise" "on";
15641       data.item: "labels" "elm.text";
15642       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15643       data.item: "treesize" "20";
15644 //      data.item: "states" "";
15645       images {
15646          image: "bt_sm_base1.png" COMP;
15647          image: "bt_sm_shine.png" COMP;
15648          image: "bt_sm_hilight.png" COMP;
15649          image: "ilist_1.png" COMP;
15650          image: "ilist_item_shadow.png" COMP;
15651       }
15652       parts {
15653          part {
15654             name:           "event";
15655             type:           RECT;
15656             repeat_events: 1;
15657             description {
15658                state: "default" 0.0;
15659                color: 0 0 0 0;
15660             }
15661          }
15662          part {
15663             name: "base_sh";
15664             mouse_events: 0;
15665             description {
15666                state: "default" 0.0;
15667                align: 0.0 0.0;
15668                min: 0 10;
15669                fixed: 1 1;
15670                rel1 {
15671                   to: "base";
15672                   relative: 0.0 1.0;
15673                   offset: 0 0;
15674                }
15675                rel2 {
15676                   to: "base";
15677                   relative: 1.0 1.0;
15678                   offset: -1 0;
15679                }
15680                image {
15681                   normal: "ilist_item_shadow.png";
15682                }
15683                fill.smooth: 0;
15684             }
15685          }
15686          part {
15687             name: "base";
15688             mouse_events: 0;
15689             description {
15690                state: "default" 0.0;
15691                image {
15692                   normal: "ilist_1.png";
15693                   border: 2 2 2 2;
15694                }
15695                fill.smooth: 0;
15696             }
15697          }
15698          part { name: "bg";
15699             clip_to: "disclip";
15700             mouse_events: 0;
15701             description { state: "default" 0.0;
15702                visible: 0;
15703                color: 255 255 255 0;
15704                rel1 {
15705                   relative: 0.0 0.0;
15706                   offset: -5 -5;
15707                }
15708                rel2 {
15709                   relative: 1.0 1.0;
15710                   offset: 4 4;
15711                }
15712                image {
15713                   normal: "bt_sm_base1.png";
15714                   border: 6 6 6 6;
15715                }
15716                image.middle: SOLID;
15717             }
15718             description { state: "selected" 0.0;
15719                inherit: "default" 0.0;
15720                visible: 1;
15721                color: 255 255 255 255;
15722                rel1 {
15723                   relative: 0.0 0.0;
15724                   offset: -2 -2;
15725                }
15726                rel2 {
15727                   relative: 1.0 1.0;
15728                   offset: 1 1;
15729                }
15730             }
15731          }
15732          part { name: "elm.swallow.pad";
15733             type: SWALLOW;
15734             description { state: "default" 0.0;
15735                fixed: 1 0;
15736                align: 0.0 0.5;
15737                rel1 {
15738                   relative: 0.0  0.0;
15739                   offset:   4    4;
15740                }
15741                rel2 {
15742                   relative: 0.0  1.0;
15743                   offset:   4   -5;
15744                }
15745             }
15746          }
15747          part { name: "elm.swallow.icon";
15748             clip_to: "disclip";
15749             type: SWALLOW;
15750             description { state: "default" 0.0;
15751                fixed: 1 0;
15752                align: 0.0 0.5;
15753                rel1 {
15754                   to_x: "elm.swallow.pad";
15755                   relative: 1.0  0.0;
15756                   offset:   -1    4;
15757                }
15758                rel2 {
15759                   to_x: "elm.swallow.pad";
15760                   relative: 1.0  1.0;
15761                   offset:   -1   -5;
15762                }
15763             }
15764          }
15765          part { name: "elm.swallow.end";
15766             clip_to: "disclip";
15767             type: SWALLOW;
15768             description { state: "default" 0.0;
15769                fixed: 1 0;
15770                align: 1.0 0.5;
15771                aspect: 1.0 1.0;
15772                aspect_preference: VERTICAL;
15773                rel1 {
15774                   relative: 1.0  0.0;
15775                   offset:   -5    4;
15776                }
15777                rel2 {
15778                   relative: 1.0  1.0;
15779                   offset:   -5   -5;
15780                }
15781             }
15782          }
15783          part { name: "elm.text";
15784             clip_to: "disclip";
15785             type:           TEXT;
15786             effect:         SOFT_SHADOW;
15787             mouse_events:   0;
15788             scale: 1;
15789             description {
15790                state: "default" 0.0;
15791 //               min: 16 16;
15792                rel1 {
15793                   to_x:     "elm.swallow.icon";
15794                   relative: 1.0  0.0;
15795                   offset:   0 4;
15796                }
15797                rel2 {
15798                   to_x:     "elm.swallow.end";
15799                   relative: 0.0  1.0;
15800                   offset:   -1 -5;
15801                }
15802                color: 0 0 0 255;
15803                color3: 0 0 0 0;
15804                text {
15805                   font: "Sans";
15806                   size: 10;
15807                   min: 1 1;
15808 //                  min: 0 1;
15809                   align: 0.0 0.5;
15810                   text_class: "list_item";
15811                }
15812             }
15813             description { state: "selected" 0.0;
15814                inherit: "default" 0.0;
15815                color: 224 224 224 255;
15816                color3: 0 0 0 64;
15817             }
15818          }
15819          part { name: "fg1";
15820             clip_to: "disclip";
15821             mouse_events: 0;
15822             description { state: "default" 0.0;
15823                visible: 0;
15824                color: 255 255 255 0;
15825                rel1.to: "bg";
15826                rel2.relative: 1.0 0.5;
15827                rel2.to: "bg";
15828                image {
15829                   normal: "bt_sm_hilight.png";
15830                   border: 6 6 6 0;
15831                }
15832             }
15833             description { state: "selected" 0.0;
15834                inherit: "default" 0.0;
15835                visible: 1;
15836                color: 255 255 255 255;
15837             }
15838          }
15839          part { name: "fg2";
15840             clip_to: "disclip";
15841             mouse_events: 0;
15842             description { state: "default" 0.0;
15843                visible: 0;
15844                color: 255 255 255 0;
15845                rel1.to: "bg";
15846                rel2.to: "bg";
15847                image {
15848                   normal: "bt_sm_shine.png";
15849                   border: 6 6 6 0;
15850                }
15851             }
15852             description { state: "selected" 0.0;
15853                inherit: "default" 0.0;
15854                visible: 1;
15855                color: 255 255 255 255;
15856             }
15857          }
15858          part { name: "disclip";
15859             type: RECT;
15860             description { state: "default" 0.0;
15861                rel1.to: "bg";
15862                rel2.to: "bg";
15863             }
15864             description { state: "disabled" 0.0;
15865                inherit: "default" 0.0;
15866                color: 255 255 255 64;
15867             }
15868          }
15869       }
15870       programs {
15871          // signal: elm,state,%s,active
15872          //   a "check" item named %s went active
15873          // signal: elm,state,%s,passive
15874          //   a "check" item named %s went passive
15875          // default is passive
15876          program {
15877             name:    "go_active";
15878             signal:  "elm,state,selected";
15879             source:  "elm";
15880             action:  STATE_SET "selected" 0.0;
15881             target:  "bg";
15882             target:  "fg1";
15883             target:  "fg2";
15884             target:  "elm.text";
15885          }
15886          program {
15887             name:    "go_passive";
15888             signal:  "elm,state,unselected";
15889             source:  "elm";
15890             action:  STATE_SET "default" 0.0;
15891             target:  "bg";
15892             target:  "fg1";
15893             target:  "fg2";
15894             target:  "elm.text";
15895             transition: LINEAR 0.1;
15896          }
15897          program {
15898             name:    "go_disabled";
15899             signal:  "elm,state,disabled";
15900             source:  "elm";
15901             action:  STATE_SET "disabled" 0.0;
15902             target:  "disclip";
15903          }
15904          program {
15905             name:    "go_enabled";
15906             signal:  "elm,state,enabled";
15907             source:  "elm";
15908             action:  STATE_SET "default" 0.0;
15909             target:  "disclip";
15910          }
15911       }
15912    }
15913    group { name: "elm/genlist/item/group_index/default";
15914       alias: "elm/genlist/item_odd/group_index/default";
15915       alias: "elm/genlist/item_compress/group_index/default";
15916       alias: "elm/genlist/item_compress_odd/group_index/default";
15917       data.item: "stacking" "above";
15918       data.item: "selectraise" "on";
15919       data.item: "labels" "elm.text";
15920       data.item: "icons" "elm.swallow.icon elm.swallow.end";
15921       data.item: "treesize" "20";
15922 //      data.item: "states" "";
15923       images {
15924          image: "bt_sm_base1.png" COMP;
15925          image: "bt_sm_shine.png" COMP;
15926          image: "bt_sm_hilight.png" COMP;
15927          image: "ilist_item_shadow.png" COMP;
15928          image: "group_index.png" COMP;
15929       }
15930       parts {
15931          part {
15932             name: "event";
15933             type: RECT;
15934             repeat_events: 0;
15935             description {
15936                state: "default" 0.0;
15937                color: 0 0 0 0;
15938             }
15939          }
15940          part {
15941             name: "base_sh";
15942             mouse_events: 0;
15943             description {
15944                state: "default" 0.0;
15945                align: 0.0 0.0;
15946                min: 0 10;
15947                fixed: 1 1;
15948                rel1 {
15949                   to: "base";
15950                   relative: 0.0 1.0;
15951                   offset: 0 0;
15952                }
15953                rel2 {
15954                   to: "base";
15955                   relative: 1.0 1.0;
15956                   offset: -1 0;
15957                }
15958                image {
15959                   normal: "ilist_item_shadow.png";
15960                }
15961                fill.smooth: 0;
15962             }
15963          }
15964          part {
15965             name: "base";
15966             mouse_events: 0;
15967             description {
15968                state: "default" 0.0;
15969                image {
15970                   normal: "group_index.png";
15971                   border: 2 2 2 2;
15972                }
15973                fill.smooth: 0;
15974             }
15975          }
15976          part { name: "bg";
15977             clip_to: "disclip";
15978             mouse_events: 0;
15979             description { state: "default" 0.0;
15980                visible: 0;
15981                color: 255 255 255 0;
15982                rel1 {
15983                   relative: 0.0 0.0;
15984                   offset: -5 -5;
15985                }
15986                rel2 {
15987                   relative: 1.0 1.0;
15988                   offset: 4 4;
15989                }
15990                image {
15991                   normal: "bt_sm_base1.png";
15992                   border: 6 6 6 6;
15993                }
15994                image.middle: SOLID;
15995             }
15996             description { state: "selected" 0.0;
15997                inherit: "default" 0.0;
15998                visible: 1;
15999                color: 255 255 255 255;
16000                rel1 {
16001                   relative: 0.0 0.0;
16002                   offset: -2 -2;
16003                }
16004                rel2 {
16005                   relative: 1.0 1.0;
16006                   offset: 1 1;
16007                }
16008             }
16009          }
16010          part { name: "elm.swallow.pad";
16011             type: SWALLOW;
16012             description { state: "default" 0.0;
16013                fixed: 1 0;
16014                align: 0.0 0.5;
16015                rel1 {
16016                   relative: 0.0  0.0;
16017                   offset: 4 4;
16018                }
16019                rel2 {
16020                   relative: 0.0  1.0;
16021                   offset: 4 -5;
16022                }
16023             }
16024          }
16025          part { name: "elm.swallow.icon";
16026             clip_to: "disclip";
16027             type: SWALLOW;
16028             description { state: "default" 0.0;
16029                fixed: 1 0;
16030                align: 0.0 0.5;
16031                rel1 {
16032                   to_x: "elm.swallow.pad";
16033                   relative: 1.0 0.0;
16034                   offset: -1 4;
16035                }
16036                rel2 {
16037                   to_x: "elm.swallow.pad";
16038                   relative: 1.0 1.0;
16039                   offset: -1 -5;
16040                }
16041             }
16042          }
16043          part { name: "elm.swallow.end";
16044             clip_to: "disclip";
16045             type: SWALLOW;
16046             description { state: "default" 0.0;
16047                fixed: 1 0;
16048                align: 1.0 0.5;
16049                aspect: 1.0 1.0;
16050                aspect_preference: VERTICAL;
16051                rel1 {
16052                   relative: 1.0 0.0;
16053                   offset: -5 4;
16054                }
16055                rel2 {
16056                   relative: 1.0 1.0;
16057                   offset: -5 -5;
16058                }
16059             }
16060          }
16061          part { name: "elm.text";
16062             clip_to: "disclip";
16063             type: TEXT;
16064             effect: SOFT_SHADOW;
16065             mouse_events: 0;
16066             scale: 1;
16067             description {
16068                state: "default" 0.0;
16069 //               min: 16 16;
16070                rel1 {
16071                   to_x: "elm.swallow.icon";
16072                   relative: 1.0  0.0;
16073                   offset: 0 4;
16074                }
16075                rel2 {
16076                   to_x: "elm.swallow.end";
16077                   relative: 0.0  1.0;
16078                   offset: -1 -5;
16079                }
16080                color: 0 0 0 255;
16081                color3: 0 0 0 0;
16082                text {
16083                   font: "Sans";
16084                   size: 10;
16085                   min: 1 1;
16086 //                  min: 0 1;
16087                   align: -1.0 0.5;
16088                   text_class: "list_item";
16089                }
16090             }
16091             description { state: "selected" 0.0;
16092                inherit: "default" 0.0;
16093                color: 224 224 224 255;
16094                color3: 0 0 0 64;
16095             }
16096          }
16097          part { name: "fg1";
16098             clip_to: "disclip";
16099             mouse_events: 0;
16100             description { state: "default" 0.0;
16101                visible: 0;
16102                color: 255 255 255 0;
16103                rel1.to: "bg";
16104                rel2.relative: 1.0 0.5;
16105                rel2.to: "bg";
16106                image {
16107                   normal: "bt_sm_hilight.png";
16108                   border: 6 6 6 0;
16109                }
16110             }
16111             description { state: "selected" 0.0;
16112                inherit: "default" 0.0;
16113                visible: 1;
16114                color: 255 255 255 255;
16115             }
16116          }
16117          part { name: "fg2";
16118             clip_to: "disclip";
16119             mouse_events: 0;
16120             description { state: "default" 0.0;
16121                visible: 0;
16122                color: 255 255 255 0;
16123                rel1.to: "bg";
16124                rel2.to: "bg";
16125                image {
16126                   normal: "bt_sm_shine.png";
16127                   border: 6 6 6 0;
16128                }
16129             }
16130             description { state: "selected" 0.0;
16131                inherit: "default" 0.0;
16132                visible: 1;
16133                color: 255 255 255 255;
16134             }
16135          }
16136          part { name: "disclip";
16137             type: RECT;
16138             description { state: "default" 0.0;
16139                rel1.to: "bg";
16140                rel2.to: "bg";
16141             }
16142             description { state: "disabled" 0.0;
16143                inherit: "default" 0.0;
16144                color: 255 255 255 64;
16145             }
16146          }
16147       }
16148       programs {
16149          // signal: elm,state,%s,active
16150          //   a "check" item named %s went active
16151          // signal: elm,state,%s,passive
16152          //   a "check" item named %s went passive
16153          // default is passive
16154          program {
16155             name:    "go_active";
16156             signal:  "elm,state,selected";
16157             source:  "elm";
16158             action:  STATE_SET "selected" 0.0;
16159             target:  "bg";
16160             target:  "fg1";
16161             target:  "fg2";
16162             target:  "elm.text";
16163          }
16164          program {
16165             name:    "go_passive";
16166             signal:  "elm,state,unselected";
16167             source:  "elm";
16168             action:  STATE_SET "default" 0.0;
16169             target:  "bg";
16170             target:  "fg1";
16171             target:  "fg2";
16172             target:  "elm.text";
16173             transition: LINEAR 0.1;
16174          }
16175          program {
16176             name:    "go_disabled";
16177             signal:  "elm,state,disabled";
16178             source:  "elm";
16179             action:  STATE_SET "disabled" 0.0;
16180             target:  "disclip";
16181          }
16182          program {
16183             name:    "go_enabled";
16184             signal:  "elm,state,enabled";
16185             source:  "elm";
16186             action:  STATE_SET "default" 0.0;
16187             target:  "disclip";
16188          }
16189       }
16190    }
16191    group { name: "elm/genlist/item_compress/message/default";
16192       data.item: "stacking" "above";
16193       data.item: "selectraise" "on";
16194       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16195 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16196       data.item: "treesize" "20";
16197 //      data.item: "states" "";
16198       images {
16199          image: "bt_sm_base1.png" COMP;
16200          image: "bt_sm_shine.png" COMP;
16201          image: "bt_sm_hilight.png" COMP;
16202          image: "ilist_1.png" COMP;
16203          image: "ilist_item_shadow.png" COMP;
16204       }
16205       styles {
16206         style { name: "genlist_textblock_style";
16207           base: "font=Sans font_size=10 color=#000 wrap=char text_class=list_item";
16208           tag:  "br" "\n";
16209           tag:  "ps" "ps";
16210           tag:  "tab" "\t";
16211         }
16212         style { name: "genlist_textblock_style2";
16213           base: "font=Sans font_size=10 color=#fff wrap=char text_class=list_item";
16214           tag:  "br" "\n";
16215           tag:  "ps" "ps";
16216           tag:  "tab" "\t";
16217         }
16218       }
16219      parts {
16220          part {
16221             name:           "event";
16222             type:           RECT;
16223             repeat_events: 1;
16224             description {
16225                state: "default" 0.0;
16226                color: 0 0 0 0;
16227             }
16228          }
16229          part {
16230             name: "base_sh";
16231             mouse_events: 0;
16232             description {
16233                state: "default" 0.0;
16234                align: 0.0 0.0;
16235                min: 0 10;
16236                fixed: 1 1;
16237                rel1 {
16238                   to: "base";
16239                   relative: 0.0 1.0;
16240                   offset: 0 0;
16241                }
16242                rel2 {
16243                   to: "base";
16244                   relative: 1.0 1.0;
16245                   offset: -1 0;
16246                }
16247                image {
16248                   normal: "ilist_item_shadow.png";
16249                }
16250                fill.smooth: 0;
16251             }
16252          }
16253          part {
16254             name: "base";
16255             mouse_events: 0;
16256             description {
16257                state: "default" 0.0;
16258                image {
16259                   normal: "ilist_1.png";
16260                   border: 2 2 2 2;
16261                }
16262                fill.smooth: 0;
16263             }
16264          }
16265          part { name: "bg";
16266             clip_to: "disclip";
16267             mouse_events: 0;
16268             description { state: "default" 0.0;
16269                visible: 0;
16270                color: 255 255 255 0;
16271                rel1 {
16272                   relative: 0.0 0.0;
16273                   offset: -5 -5;
16274                }
16275                rel2 {
16276                   relative: 1.0 1.0;
16277                   offset: 4 4;
16278                }
16279                image {
16280                   normal: "bt_sm_base1.png";
16281                   border: 6 6 6 6;
16282                }
16283                image.middle: SOLID;
16284             }
16285             description { state: "selected" 0.0;
16286                inherit: "default" 0.0;
16287                visible: 1;
16288                color: 255 255 255 255;
16289                rel1 {
16290                   relative: 0.0 0.0;
16291                   offset: -2 -2;
16292                }
16293                rel2 {
16294                   relative: 1.0 1.0;
16295                   offset: 1 1;
16296                }
16297             }
16298          }
16299          part { name: "elm.title.1";
16300             clip_to: "disclip";
16301             type:           TEXT;
16302             effect:         SOFT_SHADOW;
16303             mouse_events:   0;
16304             scale: 1;
16305             description {
16306                state: "default" 0.0;
16307                fixed: 0 1;
16308 //               min: 16 16;
16309                rel1 {
16310                   relative: 0.0  0.0;
16311                   offset:   4 4;
16312                }
16313                rel2 {
16314                   relative: 1.0  0.0;
16315                   offset:   -5 4;
16316                }
16317                color: 0 0 0 255;
16318                color3: 0 0 0 0;
16319                align: 0.0 0.0;
16320                text {
16321                   font: "Sans";
16322                   size: 10;
16323                   min: 0 1;
16324 //                  min: 1 1;
16325                   align: 0.0 0.0;
16326                   text_class: "list_item";
16327                }
16328             }
16329             description { state: "selected" 0.0;
16330                inherit: "default" 0.0;
16331                color: 224 224 224 255;
16332                color3: 0 0 0 64;
16333             }
16334          }
16335          part { name: "elm.title.2";
16336             clip_to: "disclip";
16337             type:           TEXT;
16338             effect:         SOFT_SHADOW;
16339             mouse_events:   0;
16340             scale: 1;
16341             description {
16342                state: "default" 0.0;
16343                fixed: 0 1;
16344 //               min: 16 16;
16345                rel1 {
16346                   to_y:     "elm.title.1";
16347                   relative: 0.0  1.0;
16348                   offset:   4 0;
16349                }
16350                rel2 {
16351                   to_y:     "elm.title.1";
16352                   relative: 1.0  1.0;
16353                   offset:   -5 0;
16354                }
16355                color: 0 0 0 255;
16356                color3: 0 0 0 0;
16357                align: 0.0 0.0;
16358                text {
16359                   font: "Sans";
16360                   size: 10;
16361                   min: 0 1;
16362 //                  min: 1 1;
16363                   align: 0.0 0.0;
16364                   text_class: "list_item";
16365                }
16366             }
16367             description { state: "selected" 0.0;
16368                inherit: "default" 0.0;
16369                color: 224 224 224 255;
16370                color3: 0 0 0 64;
16371             }
16372          }
16373          part { name: "elm.text";
16374             clip_to: "disclip";
16375             type:           TEXTBLOCK;
16376             mouse_events:   0;
16377             scale: 1;
16378             description {
16379                state: "default" 0.0;
16380 //               fixed: 0 1;
16381 //               min: 16 16;
16382                rel1 {
16383                   to_y:     "elm.title.2";
16384                   relative: 0.0  1.0;
16385                   offset:   4 0;
16386                }
16387                rel2 {
16388                   relative: 1.0  1.0;
16389                   offset:   -5 -5;
16390                }
16391                align: 0.0 0.0;
16392                text {
16393                   style: "genlist_textblock_style";
16394                   min: 0 1;
16395 //                  min: 1 1;
16396                   align: 0.0 0.0;
16397                }
16398             }
16399             description { state: "selected" 0.0;
16400                inherit: "default" 0.0;
16401                text {
16402                   style: "genlist_textblock_style2";
16403                }
16404             }
16405          }
16406          part { name: "fg1";
16407             clip_to: "disclip";
16408             mouse_events: 0;
16409             description { state: "default" 0.0;
16410                visible: 0;
16411                color: 255 255 255 0;
16412                rel1.to: "bg";
16413                rel2.relative: 1.0 0.5;
16414                rel2.to: "bg";
16415                image {
16416                   normal: "bt_sm_hilight.png";
16417                   border: 6 6 6 0;
16418                }
16419             }
16420             description { state: "selected" 0.0;
16421                inherit: "default" 0.0;
16422                visible: 1;
16423                color: 255 255 255 255;
16424             }
16425          }
16426          part { name: "fg2";
16427             clip_to: "disclip";
16428             mouse_events: 0;
16429             description { state: "default" 0.0;
16430                visible: 0;
16431                color: 255 255 255 0;
16432                rel1.to: "bg";
16433                rel2.to: "bg";
16434                image {
16435                   normal: "bt_sm_shine.png";
16436                   border: 6 6 6 0;
16437                }
16438             }
16439             description { state: "selected" 0.0;
16440                inherit: "default" 0.0;
16441                visible: 1;
16442                color: 255 255 255 255;
16443             }
16444          }
16445          part { name: "disclip";
16446             type: RECT;
16447             description { state: "default" 0.0;
16448                rel1.to: "bg";
16449                rel2.to: "bg";
16450             }
16451             description { state: "disabled" 0.0;
16452                inherit: "default" 0.0;
16453                color: 255 255 255 64;
16454             }
16455          }
16456       }
16457       programs {
16458          // signal: elm,state,%s,active
16459          //   a "check" item named %s went active
16460          // signal: elm,state,%s,passive
16461          //   a "check" item named %s went passive
16462          // default is passive
16463          program {
16464             name:    "go_active";
16465             signal:  "elm,state,selected";
16466             source:  "elm";
16467             action:  STATE_SET "selected" 0.0;
16468             target:  "bg";
16469             target:  "fg1";
16470             target:  "fg2";
16471             target:  "elm.title.1";
16472             target:  "elm.title.2";
16473             target:  "elm.text";
16474          }
16475          program {
16476             name:    "go_passive";
16477             signal:  "elm,state,unselected";
16478             source:  "elm";
16479             action:  STATE_SET "default" 0.0;
16480             target:  "bg";
16481             target:  "fg1";
16482             target:  "fg2";
16483             target:  "elm.title.1";
16484             target:  "elm.title.2";
16485             target:  "elm.text";
16486             transition: LINEAR 0.1;
16487          }
16488          program {
16489             name:    "go_disabled";
16490             signal:  "elm,state,disabled";
16491             source:  "elm";
16492             action:  STATE_SET "disabled" 0.0;
16493             target:  "disclip";
16494          }
16495          program {
16496             name:    "go_enabled";
16497             signal:  "elm,state,enabled";
16498             source:  "elm";
16499             action:  STATE_SET "default" 0.0;
16500             target:  "disclip";
16501          }
16502       }
16503    }
16504    group { name: "elm/genlist/item_compress_odd/message/default";
16505       data.item: "stacking" "below";
16506       data.item: "selectraise" "on";
16507       data.item: "labels" "elm.title.1 elm.title.2 elm.text";
16508 //      data.item: "icons" "elm.swallow.icon elm.swallow.end";
16509       data.item: "treesize" "20";
16510 //      data.item: "states" "";
16511       images {
16512          image: "bt_sm_base1.png" COMP;
16513          image: "bt_sm_shine.png" COMP;
16514          image: "bt_sm_hilight.png" COMP;
16515          image: "ilist_2.png" COMP;
16516       }
16517       parts {
16518          part { name: "event";
16519             type: RECT;
16520             repeat_events: 1;
16521             description {
16522                state: "default" 0.0;
16523                color: 0 0 0 0;
16524             }
16525          }
16526          part {
16527             name: "base";
16528             mouse_events: 0;
16529             description {
16530                state: "default" 0.0;
16531                image {
16532                   normal: "ilist_2.png";
16533                   border: 2 2 2 2;
16534                }
16535                fill.smooth: 0;
16536             }
16537          }
16538          part { name: "bg";
16539             clip_to: "disclip";
16540             mouse_events: 0;
16541             description { state: "default" 0.0;
16542                visible: 0;
16543                color: 255 255 255 0;
16544                rel1 {
16545                   relative: 0.0 0.0;
16546                   offset: -5 -5;
16547                }
16548                rel2 {
16549                   relative: 1.0 1.0;
16550                   offset: 4 4;
16551                }
16552                image {
16553                   normal: "bt_sm_base1.png";
16554                   border: 6 6 6 6;
16555                }
16556                image.middle: SOLID;
16557             }
16558             description { state: "selected" 0.0;
16559                inherit: "default" 0.0;
16560                visible: 1;
16561                color: 255 255 255 255;
16562                rel1 {
16563                   relative: 0.0 0.0;
16564                   offset: -2 -2;
16565                }
16566                rel2 {
16567                   relative: 1.0 1.0;
16568                   offset: 1 1;
16569                }
16570             }
16571          }
16572          part { name: "elm.title.1";
16573             clip_to: "disclip";
16574             type:           TEXT;
16575             effect:         SOFT_SHADOW;
16576             mouse_events:   0;
16577             scale: 1;
16578             description {
16579                state: "default" 0.0;
16580                fixed: 0 1;
16581 //               min: 16 16;
16582                rel1 {
16583                   relative: 0.0  0.0;
16584                   offset:   4 4;
16585                }
16586                rel2 {
16587                   relative: 1.0  0.0;
16588                   offset:   -5 4;
16589                }
16590                color: 0 0 0 255;
16591                color3: 0 0 0 0;
16592                align: 0.0 0.0;
16593                text {
16594                   font: "Sans";
16595                   size: 10;
16596                   min: 0 1;
16597 //                  min: 1 1;
16598                   align: 0.0 0.0;
16599                   text_class: "list_item";
16600                }
16601             }
16602             description { state: "selected" 0.0;
16603                inherit: "default" 0.0;
16604                color: 224 224 224 255;
16605                color3: 0 0 0 64;
16606             }
16607          }
16608          part { name: "elm.title.2";
16609             clip_to: "disclip";
16610             type:           TEXT;
16611             effect:         SOFT_SHADOW;
16612             mouse_events:   0;
16613             scale: 1;
16614             description {
16615                state: "default" 0.0;
16616                fixed: 0 1;
16617 //               min: 16 16;
16618                rel1 {
16619                   to_y:     "elm.title.1";
16620                   relative: 0.0  1.0;
16621                   offset:   4 0;
16622                }
16623                rel2 {
16624                   to_y:     "elm.title.1";
16625                   relative: 1.0  1.0;
16626                   offset:   -5 0;
16627                }
16628                color: 0 0 0 255;
16629                color3: 0 0 0 0;
16630                align: 0.0 0.0;
16631                text {
16632                   font: "Sans";
16633                   size: 10;
16634                   min: 0 1;
16635 //                  min: 1 1;
16636                   align: 0.0 0.0;
16637                   text_class: "list_item";
16638                }
16639             }
16640             description { state: "selected" 0.0;
16641                inherit: "default" 0.0;
16642                color: 224 224 224 255;
16643                color3: 0 0 0 64;
16644             }
16645          }
16646          part { name: "elm.text";
16647             clip_to: "disclip";
16648             type:           TEXTBLOCK;
16649             mouse_events:   0;
16650             scale: 1;
16651             description {
16652                state: "default" 0.0;
16653 //               fixed: 0 1;
16654 //               min: 16 16;
16655                rel1 {
16656                   to_y:     "elm.title.2";
16657                   relative: 0.0  1.0;
16658                   offset:   4 0;
16659                }
16660                rel2 {
16661                   relative: 1.0  1.0;
16662                   offset:   -5 -5;
16663                }
16664                align: 0.0 0.0;
16665                text {
16666                   style: "genlist_textblock_style";
16667                   min: 0 1;
16668 //                  min: 1 1;
16669                   align: 0.0 0.0;
16670                }
16671             }
16672             description { state: "selected" 0.0;
16673                inherit: "default" 0.0;
16674                text {
16675                   style: "genlist_textblock_style2";
16676                }
16677             }
16678          }
16679          part { name: "fg1";
16680             clip_to: "disclip";
16681             mouse_events: 0;
16682             description { state: "default" 0.0;
16683                visible: 0;
16684                color: 255 255 255 0;
16685                rel1.to: "bg";
16686                rel2.relative: 1.0 0.5;
16687                rel2.to: "bg";
16688                image {
16689                   normal: "bt_sm_hilight.png";
16690                   border: 6 6 6 0;
16691                }
16692             }
16693             description { state: "selected" 0.0;
16694                inherit: "default" 0.0;
16695                visible: 1;
16696                color: 255 255 255 255;
16697             }
16698          }
16699          part { name: "fg2";
16700             clip_to: "disclip";
16701             mouse_events: 0;
16702             description { state: "default" 0.0;
16703                visible: 0;
16704                color: 255 255 255 0;
16705                rel1.to: "bg";
16706                rel2.to: "bg";
16707                image {
16708                   normal: "bt_sm_shine.png";
16709                   border: 6 6 6 0;
16710                }
16711             }
16712             description { state: "selected" 0.0;
16713                inherit: "default" 0.0;
16714                visible: 1;
16715                color: 255 255 255 255;
16716             }
16717          }
16718          part { name: "disclip";
16719             type: RECT;
16720             description { state: "default" 0.0;
16721                rel1.to: "bg";
16722                rel2.to: "bg";
16723             }
16724             description { state: "disabled" 0.0;
16725                inherit: "default" 0.0;
16726                color: 255 255 255 64;
16727             }
16728          }
16729       }
16730       programs {
16731          // signal: elm,state,%s,active
16732          //   a "check" item named %s went active
16733          // signal: elm,state,%s,passive
16734          //   a "check" item named %s went passive
16735          // default is passive
16736          program {
16737             name:    "go_active";
16738             signal:  "elm,state,selected";
16739             source:  "elm";
16740             action:  STATE_SET "selected" 0.0;
16741             target:  "bg";
16742             target:  "fg1";
16743             target:  "fg2";
16744             target:  "elm.title.1";
16745             target:  "elm.title.2";
16746             target:  "elm.text";
16747          }
16748          program {
16749             name:    "go_passive";
16750             signal:  "elm,state,unselected";
16751             source:  "elm";
16752             action:  STATE_SET "default" 0.0;
16753             target:  "bg";
16754             target:  "fg1";
16755             target:  "fg2";
16756             target:  "elm.title.1";
16757             target:  "elm.title.2";
16758             target:  "elm.text";
16759             transition: LINEAR 0.1;
16760          }
16761          program {
16762             name:    "go_disabled";
16763             signal:  "elm,state,disabled";
16764             source:  "elm";
16765             action:  STATE_SET "disabled" 0.0;
16766             target:  "disclip";
16767          }
16768          program {
16769             name:    "go_enabled";
16770             signal:  "elm,state,enabled";
16771             source:  "elm";
16772             action:  STATE_SET "default" 0.0;
16773             target:  "disclip";
16774          }
16775       }
16776    }
16777    group { name: "elm/genlist/item_compress/default/default";
16778       data.item: "stacking" "above";
16779       data.item: "selectraise" "on";
16780       data.item: "labels" "elm.text";
16781       data.item: "icons" "elm.swallow.icon elm.swallow.end";
16782       data.item: "treesize" "20";
16783 //      data.item: "states" "";
16784       images {
16785          image: "bt_sm_base1.png" COMP;
16786          image: "bt_sm_shine.png" COMP;
16787          image: "bt_sm_hilight.png" COMP;
16788          image: "ilist_1.png" COMP;
16789          image: "ilist_item_shadow.png" COMP;
16790       }
16791       parts {
16792          part {
16793             name:           "event";
16794             type:           RECT;
16795             repeat_events: 1;
16796             description {
16797                state: "default" 0.0;
16798                color: 0 0 0 0;
16799             }
16800          }
16801          part {
16802             name: "base_sh";
16803             mouse_events: 0;
16804             description {
16805                state: "default" 0.0;
16806                align: 0.0 0.0;
16807                min: 0 10;
16808                fixed: 1 1;
16809                rel1 {
16810                   to: "base";
16811                   relative: 0.0 1.0;
16812                   offset: 0 0;
16813                }
16814                rel2 {
16815                   to: "base";
16816                   relative: 1.0 1.0;
16817                   offset: -1 0;
16818                }
16819                image {
16820                   normal: "ilist_item_shadow.png";
16821                }
16822                fill.smooth: 0;
16823             }
16824          }
16825          part {
16826             name: "base";
16827             mouse_events: 0;
16828             description {
16829                state: "default" 0.0;
16830                image {
16831                   normal: "ilist_1.png";
16832                   border: 2 2 2 2;
16833                }
16834                fill.smooth: 0;
16835             }
16836          }
16837          part { name: "bg";
16838             clip_to: "disclip";
16839             mouse_events: 0;
16840             description { state: "default" 0.0;
16841                visible: 0;
16842                color: 255 255 255 0;
16843                rel1 {
16844                   relative: 0.0 0.0;
16845                   offset: -5 -5;
16846                }
16847                rel2 {
16848                   relative: 1.0 1.0;
16849                   offset: 4 4;
16850                }
16851                image {
16852                   normal: "bt_sm_base1.png";
16853                   border: 6 6 6 6;
16854                }
16855                image.middle: SOLID;
16856             }
16857             description { state: "selected" 0.0;
16858                inherit: "default" 0.0;
16859                visible: 1;
16860                color: 255 255 255 255;
16861                rel1 {
16862                   relative: 0.0 0.0;
16863                   offset: -2 -2;
16864                }
16865                rel2 {
16866                   relative: 1.0 1.0;
16867                   offset: 1 1;
16868                }
16869             }
16870          }
16871          part { name: "elm.swallow.pad";
16872             type: SWALLOW;
16873             description { state: "default" 0.0;
16874                fixed: 1 0;
16875                align: 0.0 0.5;
16876                rel1 {
16877                   relative: 0.0  0.0;
16878                   offset:   4    4;
16879                }
16880                rel2 {
16881                   relative: 0.0  1.0;
16882                   offset:   4   -5;
16883                }
16884             }
16885          }
16886          part { name: "elm.swallow.icon";
16887             clip_to: "disclip";
16888             type: SWALLOW;
16889             description { state: "default" 0.0;
16890                fixed: 1 0;
16891                align: 0.0 0.5;
16892                rel1 {
16893                   to_x: "elm.swallow.pad";
16894                   relative: 1.0  0.0;
16895                   offset:   -1    4;
16896                }
16897                rel2 {
16898                   to_x: "elm.swallow.pad";
16899                   relative: 1.0  1.0;
16900                   offset:   -1   -5;
16901                }
16902             }
16903          }
16904          part { name: "elm.swallow.end";
16905             clip_to: "disclip";
16906             type: SWALLOW;
16907             description { state: "default" 0.0;
16908                fixed: 1 0;
16909                align: 1.0 0.5;
16910                aspect: 1.0 1.0;
16911                aspect_preference: VERTICAL;
16912                rel1 {
16913                   relative: 1.0  0.0;
16914                   offset:   -5    4;
16915                }
16916                rel2 {
16917                   relative: 1.0  1.0;
16918                   offset:   -5   -5;
16919                }
16920             }
16921          }
16922          part { name: "elm.text";
16923             clip_to: "disclip";
16924             type:           TEXT;
16925             effect:         SOFT_SHADOW;
16926             mouse_events:   0;
16927             scale: 1;
16928             description {
16929                state: "default" 0.0;
16930 //               min: 16 16;
16931                rel1 {
16932                   to_x:     "elm.swallow.icon";
16933                   relative: 1.0  0.0;
16934                   offset:   0 4;
16935                }
16936                rel2 {
16937                   to_x:     "elm.swallow.end";
16938                   relative: 0.0  1.0;
16939                   offset:   -1 -5;
16940                }
16941                color: 0 0 0 255;
16942                color3: 0 0 0 0;
16943                text {
16944                   font: "Sans";
16945                   size: 10;
16946                   min: 0 1;
16947 //                  min: 1 1;
16948                   align: 0.0 0.5;
16949                   text_class: "list_item";
16950                }
16951             }
16952             description { state: "selected" 0.0;
16953                inherit: "default" 0.0;
16954                color: 224 224 224 255;
16955                color3: 0 0 0 64;
16956             }
16957          }
16958          part { name: "fg1";
16959             clip_to: "disclip";
16960             mouse_events: 0;
16961             description { state: "default" 0.0;
16962                visible: 0;
16963                color: 255 255 255 0;
16964                rel1.to: "bg";
16965                rel2.relative: 1.0 0.5;
16966                rel2.to: "bg";
16967                image {
16968                   normal: "bt_sm_hilight.png";
16969                   border: 6 6 6 0;
16970                }
16971             }
16972             description { state: "selected" 0.0;
16973                inherit: "default" 0.0;
16974                visible: 1;
16975                color: 255 255 255 255;
16976             }
16977          }
16978          part { name: "fg2";
16979             clip_to: "disclip";
16980             mouse_events: 0;
16981             description { state: "default" 0.0;
16982                visible: 0;
16983                color: 255 255 255 0;
16984                rel1.to: "bg";
16985                rel2.to: "bg";
16986                image {
16987                   normal: "bt_sm_shine.png";
16988                   border: 6 6 6 0;
16989                }
16990             }
16991             description { state: "selected" 0.0;
16992                inherit: "default" 0.0;
16993                visible: 1;
16994                color: 255 255 255 255;
16995             }
16996          }
16997          part { name: "disclip";
16998             type: RECT;
16999             description { state: "default" 0.0;
17000                rel1.to: "bg";
17001                rel2.to: "bg";
17002             }
17003             description { state: "disabled" 0.0;
17004                inherit: "default" 0.0;
17005                color: 255 255 255 64;
17006             }
17007          }
17008       }
17009       programs {
17010          // signal: elm,state,%s,active
17011          //   a "check" item named %s went active
17012          // signal: elm,state,%s,passive
17013          //   a "check" item named %s went passive
17014          // default is passive
17015          program {
17016             name:    "go_active";
17017             signal:  "elm,state,selected";
17018             source:  "elm";
17019             action:  STATE_SET "selected" 0.0;
17020             target:  "bg";
17021             target:  "fg1";
17022             target:  "fg2";
17023             target:  "elm.text";
17024          }
17025          program {
17026             name:    "go_passive";
17027             signal:  "elm,state,unselected";
17028             source:  "elm";
17029             action:  STATE_SET "default" 0.0;
17030             target:  "bg";
17031             target:  "fg1";
17032             target:  "fg2";
17033             target:  "elm.text";
17034             transition: LINEAR 0.1;
17035          }
17036          program {
17037             name:    "go_disabled";
17038             signal:  "elm,state,disabled";
17039             source:  "elm";
17040             action:  STATE_SET "disabled" 0.0;
17041             target:  "disclip";
17042          }
17043          program {
17044             name:    "go_enabled";
17045             signal:  "elm,state,enabled";
17046             source:  "elm";
17047             action:  STATE_SET "default" 0.0;
17048             target:  "disclip";
17049          }
17050       }
17051    }
17052    group { name: "elm/genlist/item_odd/default/default";
17053       data.item: "stacking" "below";
17054       data.item: "selectraise" "on";
17055       data.item: "labels" "elm.text";
17056       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17057       data.item: "treesize" "20";
17058 //      data.item: "states" "";
17059       images {
17060          image: "bt_sm_base1.png" COMP;
17061          image: "bt_sm_shine.png" COMP;
17062          image: "bt_sm_hilight.png" COMP;
17063          image: "ilist_2.png" COMP;
17064       }
17065       parts {
17066          part { name: "event";
17067             type: RECT;
17068             repeat_events: 1;
17069             description {
17070                state: "default" 0.0;
17071                color: 0 0 0 0;
17072             }
17073          }
17074          part {
17075             name: "base";
17076             mouse_events: 0;
17077             description {
17078                state: "default" 0.0;
17079                image {
17080                   normal: "ilist_2.png";
17081                   border: 2 2 2 2;
17082                }
17083                fill.smooth: 0;
17084             }
17085          }
17086          part { name: "bg";
17087             clip_to: "disclip";
17088             mouse_events: 0;
17089             description { state: "default" 0.0;
17090                visible: 0;
17091                color: 255 255 255 0;
17092                rel1 {
17093                   relative: 0.0 0.0;
17094                   offset: -5 -5;
17095                }
17096                rel2 {
17097                   relative: 1.0 1.0;
17098                   offset: 4 4;
17099                }
17100                image {
17101                   normal: "bt_sm_base1.png";
17102                   border: 6 6 6 6;
17103                }
17104                image.middle: SOLID;
17105             }
17106             description { state: "selected" 0.0;
17107                inherit: "default" 0.0;
17108                visible: 1;
17109                color: 255 255 255 255;
17110                rel1 {
17111                   relative: 0.0 0.0;
17112                   offset: -2 -2;
17113                }
17114                rel2 {
17115                   relative: 1.0 1.0;
17116                   offset: 1 1;
17117                }
17118             }
17119          }
17120          part { name: "elm.swallow.pad";
17121             type: SWALLOW;
17122             description { state: "default" 0.0;
17123                fixed: 1 0;
17124                align: 0.0 0.5;
17125                rel1 {
17126                   relative: 0.0  0.0;
17127                   offset:   4    4;
17128                }
17129                rel2 {
17130                   relative: 0.0  1.0;
17131                   offset:   4   -5;
17132                }
17133             }
17134          }
17135          part { name: "elm.swallow.icon";
17136             clip_to: "disclip";
17137             type: SWALLOW;
17138             description { state: "default" 0.0;
17139                fixed: 1 0;
17140                align: 0.0 0.5;
17141                rel1 {
17142                   to_x: "elm.swallow.pad";
17143                   relative: 1.0  0.0;
17144                   offset:   -1    4;
17145                }
17146                rel2 {
17147                   to_x: "elm.swallow.pad";
17148                   relative: 1.0  1.0;
17149                   offset:   -1   -5;
17150                }
17151             }
17152          }
17153          part { name: "elm.swallow.end";
17154             clip_to: "disclip";
17155             type:          SWALLOW;
17156             description { state:    "default" 0.0;
17157                fixed: 1 0;
17158                align:    1.0 0.5;
17159                aspect: 1.0 1.0;
17160                aspect_preference: VERTICAL;
17161                rel1 {
17162                   relative: 1.0  0.0;
17163                   offset:   -5    4;
17164                }
17165                rel2 {
17166                   relative: 1.0  1.0;
17167                   offset:   -5   -5;
17168                }
17169             }
17170          }
17171          part { name: "elm.text";
17172             clip_to: "disclip";
17173             type:           TEXT;
17174             effect:         SOFT_SHADOW;
17175             mouse_events:   0;
17176             scale: 1;
17177             description {
17178                state: "default" 0.0;
17179 //               min:      16 16;
17180                rel1 {
17181                   to_x:     "elm.swallow.icon";
17182                   relative: 1.0  0.0;
17183                   offset:   0 4;
17184                }
17185                rel2 {
17186                   to_x:     "elm.swallow.end";
17187                   relative: 0.0  1.0;
17188                   offset:   -1 -5;
17189                }
17190                color: 0 0 0 255;
17191                color3: 0 0 0 0;
17192                text {
17193                   font: "Sans";
17194                   size: 10;
17195                   min: 1 1;
17196 //                  min: 0 1;
17197                   align: -1.0 0.5;
17198                   text_class: "list_item";
17199                }
17200             }
17201             description { state: "selected" 0.0;
17202                inherit: "default" 0.0;
17203                color: 224 224 224 255;
17204                color3: 0 0 0 64;
17205             }
17206          }
17207          part { name: "fg1";
17208             clip_to: "disclip";
17209             mouse_events: 0;
17210             description { state: "default" 0.0;
17211                visible: 0;
17212                color: 255 255 255 0;
17213                rel1.to: "bg";
17214                rel2.relative: 1.0 0.5;
17215                rel2.to: "bg";
17216                image {
17217                   normal: "bt_sm_hilight.png";
17218                   border: 6 6 6 0;
17219                }
17220             }
17221             description { state: "selected" 0.0;
17222                inherit: "default" 0.0;
17223                visible: 1;
17224                color: 255 255 255 255;
17225             }
17226          }
17227          part { name: "fg2";
17228             clip_to: "disclip";
17229             mouse_events: 0;
17230             description { state: "default" 0.0;
17231                visible: 0;
17232                color: 255 255 255 0;
17233                rel1.to: "bg";
17234                rel2.to: "bg";
17235                image {
17236                   normal: "bt_sm_shine.png";
17237                   border: 6 6 6 0;
17238                }
17239             }
17240             description { state: "selected" 0.0;
17241                inherit: "default" 0.0;
17242                visible: 1;
17243                color: 255 255 255 255;
17244             }
17245          }
17246          part { name: "disclip";
17247             type: RECT;
17248             description { state: "default" 0.0;
17249                rel1.to: "bg";
17250                rel2.to: "bg";
17251             }
17252             description { state: "disabled" 0.0;
17253                inherit: "default" 0.0;
17254                color: 255 255 255 64;
17255             }
17256          }
17257       }
17258       programs {
17259          // signal: elm,state,%s,active
17260          //   a "check" item named %s went active
17261          // signal: elm,state,%s,passive
17262          //   a "check" item named %s went passive
17263          // default is passive
17264          program {
17265             name:    "go_active";
17266             signal:  "elm,state,selected";
17267             source:  "elm";
17268             action:  STATE_SET "selected" 0.0;
17269             target:  "bg";
17270             target:  "fg1";
17271             target:  "fg2";
17272             target:  "elm.text";
17273          }
17274          program {
17275             name:    "go_passive";
17276             signal:  "elm,state,unselected";
17277             source:  "elm";
17278             action:  STATE_SET "default" 0.0;
17279             target:  "bg";
17280             target:  "fg1";
17281             target:  "fg2";
17282             target:  "elm.text";
17283             transition: LINEAR 0.1;
17284          }
17285          program {
17286             name:    "go_disabled";
17287             signal:  "elm,state,disabled";
17288             source:  "elm";
17289             action:  STATE_SET "disabled" 0.0;
17290             target:  "disclip";
17291          }
17292          program {
17293             name:    "go_enabled";
17294             signal:  "elm,state,enabled";
17295             source:  "elm";
17296             action:  STATE_SET "default" 0.0;
17297             target:  "disclip";
17298          }
17299       }
17300    }
17301    group { name: "elm/genlist/item_compress_odd/default/default";
17302       data.item: "stacking" "below";
17303       data.item: "selectraise" "on";
17304       data.item: "labels" "elm.text";
17305       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17306       data.item: "treesize" "20";
17307 //      data.item: "states" "";
17308       images {
17309          image: "bt_sm_base1.png" COMP;
17310          image: "bt_sm_shine.png" COMP;
17311          image: "bt_sm_hilight.png" COMP;
17312          image: "ilist_2.png" COMP;
17313       }
17314       parts {
17315          part { name: "event";
17316             type: RECT;
17317             repeat_events: 1;
17318             description {
17319                state: "default" 0.0;
17320                color: 0 0 0 0;
17321             }
17322          }
17323          part {
17324             name: "base";
17325             mouse_events: 0;
17326             description {
17327                state: "default" 0.0;
17328                image {
17329                   normal: "ilist_2.png";
17330                   border: 2 2 2 2;
17331                }
17332                fill.smooth: 0;
17333             }
17334          }
17335          part { name: "bg";
17336             clip_to: "disclip";
17337             mouse_events: 0;
17338             description { state: "default" 0.0;
17339                visible: 0;
17340                color: 255 255 255 0;
17341                rel1 {
17342                   relative: 0.0 0.0;
17343                   offset: -5 -5;
17344                }
17345                rel2 {
17346                   relative: 1.0 1.0;
17347                   offset: 4 4;
17348                }
17349                image {
17350                   normal: "bt_sm_base1.png";
17351                   border: 6 6 6 6;
17352                }
17353                image.middle: SOLID;
17354             }
17355             description { state: "selected" 0.0;
17356                inherit: "default" 0.0;
17357                visible: 1;
17358                color: 255 255 255 255;
17359                rel1 {
17360                   relative: 0.0 0.0;
17361                   offset: -2 -2;
17362                }
17363                rel2 {
17364                   relative: 1.0 1.0;
17365                   offset: 1 1;
17366                }
17367             }
17368          }
17369          part { name: "elm.swallow.pad";
17370             type: SWALLOW;
17371             description { state: "default" 0.0;
17372                fixed: 1 0;
17373                align: 0.0 0.5;
17374                rel1 {
17375                   relative: 0.0  0.0;
17376                   offset:   4    4;
17377                }
17378                rel2 {
17379                   relative: 0.0  1.0;
17380                   offset:   4   -5;
17381                }
17382             }
17383          }
17384          part { name: "elm.swallow.icon";
17385             clip_to: "disclip";
17386             type: SWALLOW;
17387             description { state: "default" 0.0;
17388                fixed: 1 0;
17389                align: 0.0 0.5;
17390                rel1 {
17391                   to_x: "elm.swallow.pad";
17392                   relative: 1.0  0.0;
17393                   offset:   -1    4;
17394                }
17395                rel2 {
17396                   to_x: "elm.swallow.pad";
17397                   relative: 1.0  1.0;
17398                   offset:   -1   -5;
17399                }
17400             }
17401          }
17402          part { name: "elm.swallow.end";
17403             clip_to: "disclip";
17404             type:          SWALLOW;
17405             description { state:    "default" 0.0;
17406                fixed: 1 0;
17407                align:    1.0 0.5;
17408                aspect: 1.0 1.0;
17409                aspect_preference: VERTICAL;
17410                rel1 {
17411                   relative: 1.0  0.0;
17412                   offset:   -5    4;
17413                }
17414                rel2 {
17415                   relative: 1.0  1.0;
17416                   offset:   -5   -5;
17417                }
17418             }
17419          }
17420          part { name: "elm.text";
17421             clip_to: "disclip";
17422             type:           TEXT;
17423             effect:         SOFT_SHADOW;
17424             mouse_events:   0;
17425             scale: 1;
17426             description {
17427                state: "default" 0.0;
17428 //               min:      16 16;
17429                rel1 {
17430                   to_x:     "elm.swallow.icon";
17431                   relative: 1.0  0.0;
17432                   offset:   0 4;
17433                }
17434                rel2 {
17435                   to_x:     "elm.swallow.end";
17436                   relative: 0.0  1.0;
17437                   offset:   -1 -5;
17438                }
17439                color: 0 0 0 255;
17440                color3: 0 0 0 0;
17441                text {
17442                   font: "Sans";
17443                   size: 10;
17444                   min: 0 1;
17445 //                  min: 1 1;
17446                   align: 0.0 0.5;
17447                   text_class: "list_item";
17448                }
17449             }
17450             description { state: "selected" 0.0;
17451                inherit: "default" 0.0;
17452                color: 224 224 224 255;
17453                color3: 0 0 0 64;
17454             }
17455          }
17456          part { name: "fg1";
17457             clip_to: "disclip";
17458             mouse_events: 0;
17459             description { state: "default" 0.0;
17460                visible: 0;
17461                color: 255 255 255 0;
17462                rel1.to: "bg";
17463                rel2.relative: 1.0 0.5;
17464                rel2.to: "bg";
17465                image {
17466                   normal: "bt_sm_hilight.png";
17467                   border: 6 6 6 0;
17468                }
17469             }
17470             description { state: "selected" 0.0;
17471                inherit: "default" 0.0;
17472                visible: 1;
17473                color: 255 255 255 255;
17474             }
17475          }
17476          part { name: "fg2";
17477             clip_to: "disclip";
17478             mouse_events: 0;
17479             description { state: "default" 0.0;
17480                visible: 0;
17481                color: 255 255 255 0;
17482                rel1.to: "bg";
17483                rel2.to: "bg";
17484                image {
17485                   normal: "bt_sm_shine.png";
17486                   border: 6 6 6 0;
17487                }
17488             }
17489             description { state: "selected" 0.0;
17490                inherit: "default" 0.0;
17491                visible: 1;
17492                color: 255 255 255 255;
17493             }
17494          }
17495          part { name: "disclip";
17496             type: RECT;
17497             description { state: "default" 0.0;
17498                rel1.to: "bg";
17499                rel2.to: "bg";
17500             }
17501             description { state: "disabled" 0.0;
17502                inherit: "default" 0.0;
17503                color: 255 255 255 64;
17504             }
17505          }
17506       }
17507       programs {
17508          // signal: elm,state,%s,active
17509          //   a "check" item named %s went active
17510          // signal: elm,state,%s,passive
17511          //   a "check" item named %s went passive
17512          // default is passive
17513          program {
17514             name:    "go_active";
17515             signal:  "elm,state,selected";
17516             source:  "elm";
17517             action:  STATE_SET "selected" 0.0;
17518             target:  "bg";
17519             target:  "fg1";
17520             target:  "fg2";
17521             target:  "elm.text";
17522          }
17523          program {
17524             name:    "go_passive";
17525             signal:  "elm,state,unselected";
17526             source:  "elm";
17527             action:  STATE_SET "default" 0.0;
17528             target:  "bg";
17529             target:  "fg1";
17530             target:  "fg2";
17531             target:  "elm.text";
17532             transition: LINEAR 0.1;
17533          }
17534          program {
17535             name:    "go_disabled";
17536             signal:  "elm,state,disabled";
17537             source:  "elm";
17538             action:  STATE_SET "disabled" 0.0;
17539             target:  "disclip";
17540          }
17541          program {
17542             name:    "go_enabled";
17543             signal:  "elm,state,enabled";
17544             source:  "elm";
17545             action:  STATE_SET "default" 0.0;
17546             target:  "disclip";
17547          }
17548       }
17549    }
17550
17551    group { name: "elm/genlist/tree/default/default";
17552       data.item: "stacking" "above";
17553       data.item: "selectraise" "on";
17554       data.item: "labels" "elm.text";
17555       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17556       data.item: "treesize" "20";
17557 //      data.item: "states" "";
17558       images {
17559          image: "bt_sm_base1.png" COMP;
17560          image: "bt_sm_shine.png" COMP;
17561          image: "bt_sm_hilight.png" COMP;
17562          image: "ilist_1.png" COMP;
17563          image: "ilist_item_shadow.png" COMP;
17564          image: "icon_arrow_left.png" COMP;
17565          image: "icon_arrow_right.png" COMP;
17566          image: "icon_arrow_down.png" COMP;
17567       }
17568       parts {
17569          part {
17570             name:           "event";
17571             type:           RECT;
17572             repeat_events: 1;
17573             description {
17574                state: "default" 0.0;
17575                color: 0 0 0 0;
17576             }
17577          }
17578          part {
17579             name: "base_sh";
17580             mouse_events: 0;
17581             description {
17582                state: "default" 0.0;
17583                align: 0.0 0.0;
17584                min: 0 10;
17585                fixed: 1 1;
17586                rel1 {
17587                   to: "base";
17588                   relative: 0.0 1.0;
17589                   offset: 0 0;
17590                }
17591                rel2 {
17592                   to: "base";
17593                   relative: 1.0 1.0;
17594                   offset: -1 0;
17595                }
17596                image {
17597                   normal: "ilist_item_shadow.png";
17598                }
17599                fill.smooth: 0;
17600             }
17601          }
17602          part {
17603             name: "base";
17604             mouse_events: 0;
17605             description {
17606                state: "default" 0.0;
17607                image {
17608                   normal: "ilist_1.png";
17609                   border: 2 2 2 2;
17610                }
17611                fill.smooth: 0;
17612             }
17613          }
17614          part { name: "bg";
17615             clip_to: "disclip";
17616             mouse_events: 0;
17617             description { state: "default" 0.0;
17618                visible: 0;
17619                color: 255 255 255 0;
17620                rel1 {
17621                   relative: 0.0 0.0;
17622                   offset: -5 -5;
17623                }
17624                rel2 {
17625                   relative: 1.0 1.0;
17626                   offset: 4 4;
17627                }
17628                image {
17629                   normal: "bt_sm_base1.png";
17630                   border: 6 6 6 6;
17631                }
17632                image.middle: SOLID;
17633             }
17634             description { state: "selected" 0.0;
17635                inherit: "default" 0.0;
17636                visible: 1;
17637                color: 255 255 255 255;
17638                rel1 {
17639                   relative: 0.0 0.0;
17640                   offset: -2 -2;
17641                }
17642                rel2 {
17643                   relative: 1.0 1.0;
17644                   offset: 1 1;
17645                }
17646             }
17647          }
17648          part { name: "elm.swallow.pad";
17649             type: SWALLOW;
17650             description { state: "default" 0.0;
17651                fixed: 1 0;
17652                align: 0.0 0.5;
17653                rel1 {
17654                   relative: 0.0  0.0;
17655                   offset:   4    4;
17656                }
17657                rel2 {
17658                   relative: 0.0  1.0;
17659                   offset:   4   -5;
17660                }
17661             }
17662          }
17663          part { name: "arrow";
17664             clip_to: "disclip";
17665             ignore_flags: ON_HOLD;
17666             description { state: "default" 0.0;
17667                fixed: 1 0;
17668                align: 0.0 0.5;
17669                aspect: 1.0 1.0;
17670                rel1 {
17671                   to_x: "elm.swallow.pad";
17672                   relative: 1.0  0.0;
17673                   offset:   -1    4;
17674                }
17675                rel2 {
17676                   to_x: "elm.swallow.pad";
17677                   relative: 1.0  1.0;
17678                   offset:   -1   -5;
17679                }
17680                image.normal: "icon_arrow_right.png";
17681             }
17682             description { state: "default" 0.1;
17683                inherit: "default" 0.0;
17684                image.normal: "icon_arrow_left.png";
17685             }
17686             description { state: "active" 0.0;
17687                inherit: "default" 0.0;
17688                image.normal: "icon_arrow_down.png";
17689             }
17690             description { state: "active" 0.1;
17691                inherit: "default" 0.0;
17692                image.normal: "icon_arrow_down.png";
17693             }
17694          }
17695          part { name: "elm.swallow.icon";
17696             clip_to: "disclip";
17697             type: SWALLOW;
17698             description { state: "default" 0.0;
17699                fixed: 1 0;
17700                align: 0.0 0.5;
17701                rel1 {
17702                   to_x: "arrow";
17703                   relative: 1.0  0.0;
17704                   offset:   4    4;
17705                }
17706                rel2 {
17707                   to_x: "arrow";
17708                   relative: 1.0  1.0;
17709                   offset:   4   -5;
17710                }
17711             }
17712          }
17713          part { name: "elm.swallow.end";
17714             clip_to: "disclip";
17715             type: SWALLOW;
17716             description { state: "default" 0.0;
17717                fixed: 1 0;
17718                align: 1.0 0.5;
17719                aspect: 1.0 1.0;
17720                aspect_preference: VERTICAL;
17721                rel1 {
17722                   relative: 1.0  0.0;
17723                   offset:   -5    4;
17724                }
17725                rel2 {
17726                   relative: 1.0  1.0;
17727                   offset:   -5   -5;
17728                }
17729             }
17730          }
17731          part { name: "elm.text";
17732             clip_to: "disclip";
17733             type:           TEXT;
17734             effect:         SOFT_SHADOW;
17735             mouse_events:   0;
17736             scale: 1;
17737             description {
17738                state: "default" 0.0;
17739 //               min: 16 16;
17740                rel1 {
17741                   to_x:     "elm.swallow.icon";
17742                   relative: 1.0  0.0;
17743                   offset:   0 4;
17744                }
17745                rel2 {
17746                   to_x:     "elm.swallow.end";
17747                   relative: 0.0  1.0;
17748                   offset:   -1 -5;
17749                }
17750                color: 0 0 0 255;
17751                color3: 0 0 0 0;
17752                text {
17753                   font: "Sans";
17754                   size: 10;
17755                   min: 1 1;
17756 //                  min: 0 1;
17757                   align: -1.0 0.5;
17758                   text_class: "list_item";
17759                }
17760             }
17761             description { state: "selected" 0.0;
17762                inherit: "default" 0.0;
17763                color: 224 224 224 255;
17764                color3: 0 0 0 64;
17765             }
17766          }
17767          part { name: "fg1";
17768             clip_to: "disclip";
17769             mouse_events: 0;
17770             description { state: "default" 0.0;
17771                visible: 0;
17772                color: 255 255 255 0;
17773                rel1.to: "bg";
17774                rel2.relative: 1.0 0.5;
17775                rel2.to: "bg";
17776                image {
17777                   normal: "bt_sm_hilight.png";
17778                   border: 6 6 6 0;
17779                }
17780             }
17781             description { state: "selected" 0.0;
17782                inherit: "default" 0.0;
17783                visible: 1;
17784                color: 255 255 255 255;
17785             }
17786          }
17787          part { name: "fg2";
17788             clip_to: "disclip";
17789             mouse_events: 0;
17790             description { state: "default" 0.0;
17791                visible: 0;
17792                color: 255 255 255 0;
17793                rel1.to: "bg";
17794                rel2.to: "bg";
17795                image {
17796                   normal: "bt_sm_shine.png";
17797                   border: 6 6 6 0;
17798                }
17799             }
17800             description { state: "selected" 0.0;
17801                inherit: "default" 0.0;
17802                visible: 1;
17803                color: 255 255 255 255;
17804             }
17805          }
17806          part { name: "disclip";
17807             type: RECT;
17808             description { state: "default" 0.0;
17809                rel1.to: "bg";
17810                rel2.to: "bg";
17811             }
17812             description { state: "disabled" 0.0;
17813                inherit: "default" 0.0;
17814                color: 255 255 255 64;
17815             }
17816          }
17817       }
17818       programs {
17819          // signal: elm,state,%s,active
17820          //   a "check" item named %s went active
17821          // signal: elm,state,%s,passive
17822          //   a "check" item named %s went passive
17823          // default is passive
17824          program {
17825             name:    "go_active";
17826             signal:  "elm,state,selected";
17827             source:  "elm";
17828             action:  STATE_SET "selected" 0.0;
17829             target:  "bg";
17830             target:  "fg1";
17831             target:  "fg2";
17832             target:  "elm.text";
17833          }
17834          program {
17835             name:    "go_passive";
17836             signal:  "elm,state,unselected";
17837             source:  "elm";
17838             action:  STATE_SET "default" 0.0;
17839             target:  "bg";
17840             target:  "fg1";
17841             target:  "fg2";
17842             target:  "elm.text";
17843             transition: LINEAR 0.1;
17844          }
17845          program {
17846             name:    "go_disabled";
17847             signal:  "elm,state,disabled";
17848             source:  "elm";
17849             action:  STATE_SET "disabled" 0.0;
17850             target:  "disclip";
17851          }
17852          program {
17853             name:    "go_enabled";
17854             signal:  "elm,state,enabled";
17855             source:  "elm";
17856             action:  STATE_SET "default" 0.0;
17857             target:  "disclip";
17858          }
17859          program {
17860             name:    "expand";
17861             signal:  "mouse,up,1";
17862             source:  "arrow";
17863             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
17864          }
17865          program {
17866             name:    "go_expanded";
17867             signal:  "elm,state,expanded";
17868             source:  "elm";
17869             script {
17870                new st[31];
17871                new Float:vl;
17872                get_state(PART:"arrow", st, 30, vl);
17873                set_state(PART:"arrow", "active", vl);
17874             }
17875          }
17876          program {
17877             name:    "go_contracted";
17878             signal:  "elm,state,contracted";
17879             source:  "elm";
17880             script {
17881                new st[31];
17882                new Float:vl;
17883                get_state(PART:"arrow", st, 30, vl);
17884                set_state(PART:"arrow", "default", vl);
17885             }
17886          }
17887          program { name: "to_rtl";
17888             signal: "edje,state,rtl";
17889             source: "edje";
17890             script {
17891                new st[31];
17892                new Float:vl;
17893                get_state(PART:"arrow", st, 30, vl);
17894                if (vl == 0.0) {
17895                   set_state(PART:"arrow", st, 0.1);
17896                }
17897             }
17898          }
17899          program { name: "to_ltr";
17900             signal: "edje,state,ltr";
17901             source: "edje";
17902             script {
17903                new st[31];
17904                new Float:vl;
17905                get_state(PART:"arrow", st, 30, vl);
17906                if (vl == 0.1) {
17907                   set_state(PART:"arrow", st, 0.0);
17908                }
17909             }
17910          }
17911       }
17912    }
17913    group { name: "elm/genlist/tree_compress/default/default";
17914       data.item: "stacking" "above";
17915       data.item: "selectraise" "on";
17916       data.item: "labels" "elm.text";
17917       data.item: "icons" "elm.swallow.icon elm.swallow.end";
17918       data.item: "treesize" "20";
17919 //      data.item: "states" "";
17920       images {
17921          image: "bt_sm_base1.png" COMP;
17922          image: "bt_sm_shine.png" COMP;
17923          image: "bt_sm_hilight.png" COMP;
17924          image: "ilist_1.png" COMP;
17925          image: "ilist_item_shadow.png" COMP;
17926          image: "icon_arrow_left.png" COMP;
17927          image: "icon_arrow_right.png" COMP;
17928          image: "icon_arrow_down.png" COMP;
17929       }
17930       parts {
17931          part {
17932             name:           "event";
17933             type:           RECT;
17934             repeat_events: 1;
17935             description {
17936                state: "default" 0.0;
17937                color: 0 0 0 0;
17938             }
17939          }
17940          part {
17941             name: "base_sh";
17942             mouse_events: 0;
17943             description {
17944                state: "default" 0.0;
17945                align: 0.0 0.0;
17946                min: 0 10;
17947                fixed: 1 1;
17948                rel1 {
17949                   to: "base";
17950                   relative: 0.0 1.0;
17951                   offset: 0 0;
17952                }
17953                rel2 {
17954                   to: "base";
17955                   relative: 1.0 1.0;
17956                   offset: -1 0;
17957                }
17958                image {
17959                   normal: "ilist_item_shadow.png";
17960                }
17961                fill.smooth: 0;
17962             }
17963          }
17964          part {
17965             name: "base";
17966             mouse_events: 0;
17967             description {
17968                state: "default" 0.0;
17969                image {
17970                   normal: "ilist_1.png";
17971                   border: 2 2 2 2;
17972                }
17973                fill.smooth: 0;
17974             }
17975          }
17976          part { name: "bg";
17977             clip_to: "disclip";
17978             mouse_events: 0;
17979             description { state: "default" 0.0;
17980                visible: 0;
17981                color: 255 255 255 0;
17982                rel1 {
17983                   relative: 0.0 0.0;
17984                   offset: -5 -5;
17985                }
17986                rel2 {
17987                   relative: 1.0 1.0;
17988                   offset: 4 4;
17989                }
17990                image {
17991                   normal: "bt_sm_base1.png";
17992                   border: 6 6 6 6;
17993                }
17994                image.middle: SOLID;
17995             }
17996             description { state: "selected" 0.0;
17997                inherit: "default" 0.0;
17998                visible: 1;
17999                color: 255 255 255 255;
18000                rel1 {
18001                   relative: 0.0 0.0;
18002                   offset: -2 -2;
18003                }
18004                rel2 {
18005                   relative: 1.0 1.0;
18006                   offset: 1 1;
18007                }
18008             }
18009          }
18010          part { name: "elm.swallow.pad";
18011             type: SWALLOW;
18012             description { state: "default" 0.0;
18013                fixed: 1 0;
18014                align: 0.0 0.5;
18015                rel1 {
18016                   relative: 0.0  0.0;
18017                   offset:   4    4;
18018                }
18019                rel2 {
18020                   relative: 0.0  1.0;
18021                   offset:   4   -5;
18022                }
18023             }
18024          }
18025          part { name: "arrow";
18026             clip_to: "disclip";
18027             ignore_flags: ON_HOLD;
18028             description { state: "default" 0.0;
18029                fixed: 1 0;
18030                align: 0.0 0.5;
18031                aspect: 1.0 1.0;
18032                rel1 {
18033                   to_x: "elm.swallow.pad";
18034                   relative: 1.0  0.0;
18035                   offset:   -1    4;
18036                }
18037                rel2 {
18038                   to_x: "elm.swallow.pad";
18039                   relative: 1.0  1.0;
18040                   offset:   -1   -5;
18041                }
18042                image.normal: "icon_arrow_right.png";
18043             }
18044             description { state: "default" 0.1;
18045                inherit: "default" 0.0;
18046                image.normal: "icon_arrow_left.png";
18047             }
18048             description { state: "active" 0.0;
18049                inherit: "default" 0.0;
18050                image.normal: "icon_arrow_down.png";
18051             }
18052             description { state: "active" 0.1;
18053                inherit: "default" 0.0;
18054                image.normal: "icon_arrow_down.png";
18055             }
18056          }
18057          part { name: "elm.swallow.icon";
18058             clip_to: "disclip";
18059             type: SWALLOW;
18060             description { state: "default" 0.0;
18061                fixed: 1 0;
18062                align: 0.0 0.5;
18063                rel1 {
18064                   to_x: "arrow";
18065                   relative: 1.0  0.0;
18066                   offset:   4    4;
18067                }
18068                rel2 {
18069                   to_x: "arrow";
18070                   relative: 1.0  1.0;
18071                   offset:   4   -5;
18072                }
18073             }
18074          }
18075          part { name: "elm.swallow.end";
18076             clip_to: "disclip";
18077             type: SWALLOW;
18078             description { state: "default" 0.0;
18079                fixed: 1 0;
18080                align: 1.0 0.5;
18081                aspect: 1.0 1.0;
18082                aspect_preference: VERTICAL;
18083                rel1 {
18084                   relative: 1.0  0.0;
18085                   offset:   -5    4;
18086                }
18087                rel2 {
18088                   relative: 1.0  1.0;
18089                   offset:   -5   -5;
18090                }
18091             }
18092          }
18093          part { name: "elm.text";
18094             clip_to: "disclip";
18095             type:           TEXT;
18096             effect:         SOFT_SHADOW;
18097             mouse_events:   0;
18098             scale: 1;
18099             description {
18100                state: "default" 0.0;
18101 //               min: 16 16;
18102                rel1 {
18103                   to_x:     "elm.swallow.icon";
18104                   relative: 1.0  0.0;
18105                   offset:   0 4;
18106                }
18107                rel2 {
18108                   to_x:     "elm.swallow.end";
18109                   relative: 0.0  1.0;
18110                   offset:   -1 -5;
18111                }
18112                color: 0 0 0 255;
18113                color3: 0 0 0 0;
18114                text {
18115                   font: "Sans";
18116                   size: 10;
18117 //                  min: 1 1;
18118                   min: 0 1;
18119                   align: 0.0 0.5;
18120                   text_class: "list_item";
18121                }
18122             }
18123             description { state: "selected" 0.0;
18124                inherit: "default" 0.0;
18125                color: 224 224 224 255;
18126                color3: 0 0 0 64;
18127             }
18128          }
18129          part { name: "fg1";
18130             clip_to: "disclip";
18131             mouse_events: 0;
18132             description { state: "default" 0.0;
18133                visible: 0;
18134                color: 255 255 255 0;
18135                rel1.to: "bg";
18136                rel2.relative: 1.0 0.5;
18137                rel2.to: "bg";
18138                image {
18139                   normal: "bt_sm_hilight.png";
18140                   border: 6 6 6 0;
18141                }
18142             }
18143             description { state: "selected" 0.0;
18144                inherit: "default" 0.0;
18145                visible: 1;
18146                color: 255 255 255 255;
18147             }
18148          }
18149          part { name: "fg2";
18150             clip_to: "disclip";
18151             mouse_events: 0;
18152             description { state: "default" 0.0;
18153                visible: 0;
18154                color: 255 255 255 0;
18155                rel1.to: "bg";
18156                rel2.to: "bg";
18157                image {
18158                   normal: "bt_sm_shine.png";
18159                   border: 6 6 6 0;
18160                }
18161             }
18162             description { state: "selected" 0.0;
18163                inherit: "default" 0.0;
18164                visible: 1;
18165                color: 255 255 255 255;
18166             }
18167          }
18168          part { name: "disclip";
18169             type: RECT;
18170             description { state: "default" 0.0;
18171                rel1.to: "bg";
18172                rel2.to: "bg";
18173             }
18174             description { state: "disabled" 0.0;
18175                inherit: "default" 0.0;
18176                color: 255 255 255 64;
18177             }
18178          }
18179       }
18180       programs {
18181          // signal: elm,state,%s,active
18182          //   a "check" item named %s went active
18183          // signal: elm,state,%s,passive
18184          //   a "check" item named %s went passive
18185          // default is passive
18186          program {
18187             name:    "go_active";
18188             signal:  "elm,state,selected";
18189             source:  "elm";
18190             action:  STATE_SET "selected" 0.0;
18191             target:  "bg";
18192             target:  "fg1";
18193             target:  "fg2";
18194             target:  "elm.text";
18195          }
18196          program {
18197             name:    "go_passive";
18198             signal:  "elm,state,unselected";
18199             source:  "elm";
18200             action:  STATE_SET "default" 0.0;
18201             target:  "bg";
18202             target:  "fg1";
18203             target:  "fg2";
18204             target:  "elm.text";
18205             transition: LINEAR 0.1;
18206          }
18207          program {
18208             name:    "go_disabled";
18209             signal:  "elm,state,disabled";
18210             source:  "elm";
18211             action:  STATE_SET "disabled" 0.0;
18212             target:  "disclip";
18213          }
18214          program {
18215             name:    "go_enabled";
18216             signal:  "elm,state,enabled";
18217             source:  "elm";
18218             action:  STATE_SET "default" 0.0;
18219             target:  "disclip";
18220          }
18221          program {
18222             name:    "expand";
18223             signal:  "mouse,up,1";
18224             source:  "arrow";
18225             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18226          }
18227          program {
18228             name:    "go_expanded";
18229             signal:  "elm,state,expanded";
18230             source:  "elm";
18231             script {
18232                new st[31];
18233                new Float:vl;
18234                get_state(PART:"arrow", st, 30, vl);
18235                set_state(PART:"arrow", "active", vl);
18236             }
18237          }
18238          program {
18239             name:    "go_contracted";
18240             signal:  "elm,state,contracted";
18241             source:  "elm";
18242             script {
18243                new st[31];
18244                new Float:vl;
18245                get_state(PART:"arrow", st, 30, vl);
18246                set_state(PART:"arrow", "default", vl);
18247             }
18248          }
18249          program { name: "to_rtl";
18250             signal: "edje,state,rtl";
18251             source: "edje";
18252             script {
18253                new st[31];
18254                new Float:vl;
18255                get_state(PART:"arrow", st, 30, vl);
18256                if (vl == 0.0) {
18257                   set_state(PART:"arrow", st, 0.1);
18258                }
18259             }
18260          }
18261          program { name: "to_ltr";
18262             signal: "edje,state,ltr";
18263             source: "edje";
18264             script {
18265                new st[31];
18266                new Float:vl;
18267                get_state(PART:"arrow", st, 30, vl);
18268                if (vl == 0.1) {
18269                   set_state(PART:"arrow", st, 0.0);
18270                }
18271             }
18272          }
18273       }
18274    }
18275    group { name: "elm/genlist/tree_odd/default/default";
18276       data.item: "stacking" "below";
18277       data.item: "selectraise" "on";
18278       data.item: "labels" "elm.text";
18279       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18280       data.item: "treesize" "20";
18281 //      data.item: "states" "";
18282       images {
18283          image: "bt_sm_base1.png" COMP;
18284          image: "bt_sm_shine.png" COMP;
18285          image: "bt_sm_hilight.png" COMP;
18286          image: "ilist_2.png" COMP;
18287          image: "icon_arrow_left.png" COMP;
18288          image: "icon_arrow_right.png" COMP;
18289          image: "icon_arrow_down.png" COMP;
18290       }
18291       parts {
18292          part {
18293             name:           "event";
18294             type:           RECT;
18295             repeat_events: 1;
18296             description {
18297                state: "default" 0.0;
18298                color: 0 0 0 0;
18299             }
18300          }
18301          part {
18302             name: "base";
18303             mouse_events: 0;
18304             description {
18305                state: "default" 0.0;
18306                image {
18307                   normal: "ilist_2.png";
18308                   border: 2 2 2 2;
18309                }
18310                fill.smooth: 0;
18311             }
18312          }
18313          part { name: "bg";
18314             clip_to: "disclip";
18315             mouse_events: 0;
18316             description { state: "default" 0.0;
18317                visible: 0;
18318                color: 255 255 255 0;
18319                rel1 {
18320                   relative: 0.0 0.0;
18321                   offset: -5 -5;
18322                }
18323                rel2 {
18324                   relative: 1.0 1.0;
18325                   offset: 4 4;
18326                }
18327                image {
18328                   normal: "bt_sm_base1.png";
18329                   border: 6 6 6 6;
18330                }
18331                image.middle: SOLID;
18332             }
18333             description { state: "selected" 0.0;
18334                inherit: "default" 0.0;
18335                visible: 1;
18336                color: 255 255 255 255;
18337                rel1 {
18338                   relative: 0.0 0.0;
18339                   offset: -2 -2;
18340                }
18341                rel2 {
18342                   relative: 1.0 1.0;
18343                   offset: 1 1;
18344                }
18345             }
18346          }
18347          part { name: "elm.swallow.pad";
18348             type: SWALLOW;
18349             description { state: "default" 0.0;
18350                fixed: 1 0;
18351                align: 0.0 0.5;
18352                rel1 {
18353                   relative: 0.0  0.0;
18354                   offset:   4    4;
18355                }
18356                rel2 {
18357                   relative: 0.0  1.0;
18358                   offset:   4   -5;
18359                }
18360             }
18361          }
18362          part { name: "arrow";
18363             clip_to: "disclip";
18364             ignore_flags: ON_HOLD;
18365             description { state: "default" 0.0;
18366                fixed: 1 0;
18367                align: 0.0 0.5;
18368                aspect: 1.0 1.0;
18369                rel1 {
18370                   to_x: "elm.swallow.pad";
18371                   relative: 1.0  0.0;
18372                   offset:   -1    4;
18373                }
18374                rel2 {
18375                   to_x: "elm.swallow.pad";
18376                   relative: 1.0  1.0;
18377                   offset:   -1   -5;
18378                }
18379                image.normal: "icon_arrow_right.png";
18380             }
18381             description { state: "default" 0.1;
18382                inherit: "default" 0.0;
18383                image.normal: "icon_arrow_left.png";
18384             }
18385             description { state: "active" 0.0;
18386                inherit: "default" 0.0;
18387                image.normal: "icon_arrow_down.png";
18388             }
18389             description { state: "active" 0.1;
18390                inherit: "default" 0.0;
18391                image.normal: "icon_arrow_down.png";
18392             }
18393          }
18394          part { name: "elm.swallow.icon";
18395             clip_to: "disclip";
18396             type: SWALLOW;
18397             description { state: "default" 0.0;
18398                fixed: 1 0;
18399                align: 0.0 0.5;
18400                rel1 {
18401                   to_x: "arrow";
18402                   relative: 1.0  0.0;
18403                   offset:   4    4;
18404                }
18405                rel2 {
18406                   to_x: "arrow";
18407                   relative: 1.0  1.0;
18408                   offset:   4   -5;
18409                }
18410             }
18411          }
18412          part { name: "elm.swallow.end";
18413             clip_to: "disclip";
18414             type: SWALLOW;
18415             description { state: "default" 0.0;
18416                fixed: 1 0;
18417                align: 1.0 0.5;
18418                aspect: 1.0 1.0;
18419                aspect_preference: VERTICAL;
18420                rel1 {
18421                   relative: 1.0  0.0;
18422                   offset:   -5    4;
18423                }
18424                rel2 {
18425                   relative: 1.0  1.0;
18426                   offset:   -5   -5;
18427                }
18428             }
18429          }
18430          part { name: "elm.text";
18431             clip_to: "disclip";
18432             type:           TEXT;
18433             effect:         SOFT_SHADOW;
18434             mouse_events:   0;
18435             scale: 1;
18436             description {
18437                state: "default" 0.0;
18438 //               min: 16 16;
18439                rel1 {
18440                   to_x:     "elm.swallow.icon";
18441                   relative: 1.0  0.0;
18442                   offset:   0 4;
18443                }
18444                rel2 {
18445                   to_x:     "elm.swallow.end";
18446                   relative: 0.0  1.0;
18447                   offset:   -1 -5;
18448                }
18449                color: 0 0 0 255;
18450                color3: 0 0 0 0;
18451                text {
18452                   font: "Sans";
18453                   size: 10;
18454                   min: 1 1;
18455 //                  min: 0 1;
18456                   align: -1.0 0.5;
18457                   text_class: "list_item";
18458                }
18459             }
18460             description { state: "selected" 0.0;
18461                inherit: "default" 0.0;
18462                color: 224 224 224 255;
18463                color3: 0 0 0 64;
18464             }
18465          }
18466          part { name: "fg1";
18467             clip_to: "disclip";
18468             mouse_events: 0;
18469             description { state: "default" 0.0;
18470                visible: 0;
18471                color: 255 255 255 0;
18472                rel1.to: "bg";
18473                rel2.relative: 1.0 0.5;
18474                rel2.to: "bg";
18475                image {
18476                   normal: "bt_sm_hilight.png";
18477                   border: 6 6 6 0;
18478                }
18479             }
18480             description { state: "selected" 0.0;
18481                inherit: "default" 0.0;
18482                visible: 1;
18483                color: 255 255 255 255;
18484             }
18485          }
18486          part { name: "fg2";
18487             clip_to: "disclip";
18488             mouse_events: 0;
18489             description { state: "default" 0.0;
18490                visible: 0;
18491                color: 255 255 255 0;
18492                rel1.to: "bg";
18493                rel2.to: "bg";
18494                image {
18495                   normal: "bt_sm_shine.png";
18496                   border: 6 6 6 0;
18497                }
18498             }
18499             description { state: "selected" 0.0;
18500                inherit: "default" 0.0;
18501                visible: 1;
18502                color: 255 255 255 255;
18503             }
18504          }
18505          part { name: "disclip";
18506             type: RECT;
18507             description { state: "default" 0.0;
18508                rel1.to: "bg";
18509                rel2.to: "bg";
18510             }
18511             description { state: "disabled" 0.0;
18512                inherit: "default" 0.0;
18513                color: 255 255 255 64;
18514             }
18515          }
18516       }
18517       programs {
18518          // signal: elm,state,%s,active
18519          //   a "check" item named %s went active
18520          // signal: elm,state,%s,passive
18521          //   a "check" item named %s went passive
18522          // default is passive
18523          program {
18524             name:    "go_active";
18525             signal:  "elm,state,selected";
18526             source:  "elm";
18527             action:  STATE_SET "selected" 0.0;
18528             target:  "bg";
18529             target:  "fg1";
18530             target:  "fg2";
18531             target:  "elm.text";
18532          }
18533          program {
18534             name:    "go_passive";
18535             signal:  "elm,state,unselected";
18536             source:  "elm";
18537             action:  STATE_SET "default" 0.0;
18538             target:  "bg";
18539             target:  "fg1";
18540             target:  "fg2";
18541             target:  "elm.text";
18542             transition: LINEAR 0.1;
18543          }
18544          program {
18545             name:    "go_disabled";
18546             signal:  "elm,state,disabled";
18547             source:  "elm";
18548             action:  STATE_SET "disabled" 0.0;
18549             target:  "disclip";
18550          }
18551          program {
18552             name:    "go_enabled";
18553             signal:  "elm,state,enabled";
18554             source:  "elm";
18555             action:  STATE_SET "default" 0.0;
18556             target:  "disclip";
18557          }
18558          program {
18559             name:    "expand";
18560             signal:  "mouse,up,1";
18561             source:  "arrow";
18562             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18563          }
18564          program {
18565             name:    "go_expanded";
18566             signal:  "elm,state,expanded";
18567             source:  "elm";
18568             script {
18569                new st[31];
18570                new Float:vl;
18571                get_state(PART:"arrow", st, 30, vl);
18572                set_state(PART:"arrow", "active", vl);
18573             }
18574          }
18575          program {
18576             name:    "go_contracted";
18577             signal:  "elm,state,contracted";
18578             source:  "elm";
18579             script {
18580                new st[31];
18581                new Float:vl;
18582                get_state(PART:"arrow", st, 30, vl);
18583                set_state(PART:"arrow", "default", vl);
18584             }
18585          }
18586          program { name: "to_rtl";
18587             signal: "edje,state,rtl";
18588             source: "edje";
18589             script {
18590                new st[31];
18591                new Float:vl;
18592                get_state(PART:"arrow", st, 30, vl);
18593                if (vl == 0.0) {
18594                   set_state(PART:"arrow", st, 0.1);
18595                }
18596             }
18597          }
18598          program { name: "to_ltr";
18599             signal: "edje,state,ltr";
18600             source: "edje";
18601             script {
18602                new st[31];
18603                new Float:vl;
18604                get_state(PART:"arrow", st, 30, vl);
18605                if (vl == 0.1) {
18606                   set_state(PART:"arrow", st, 0.0);
18607                }
18608             }
18609          }
18610       }
18611    }
18612    group { name: "elm/genlist/tree_compress_odd/default/default";
18613       data.item: "stacking" "below";
18614       data.item: "selectraise" "on";
18615       data.item: "labels" "elm.text";
18616       data.item: "icons" "elm.swallow.icon elm.swallow.end";
18617       data.item: "treesize" "20";
18618 //      data.item: "states" "";
18619       images {
18620          image: "bt_sm_base1.png" COMP;
18621          image: "bt_sm_shine.png" COMP;
18622          image: "bt_sm_hilight.png" COMP;
18623          image: "ilist_2.png" COMP;
18624          image: "icon_arrow_left.png" COMP;
18625          image: "icon_arrow_right.png" COMP;
18626          image: "icon_arrow_down.png" COMP;
18627       }
18628       parts {
18629          part {
18630             name:           "event";
18631             type:           RECT;
18632             repeat_events: 1;
18633             description {
18634                state: "default" 0.0;
18635                color: 0 0 0 0;
18636             }
18637          }
18638          part {
18639             name: "base";
18640             mouse_events: 0;
18641             description {
18642                state: "default" 0.0;
18643                image {
18644                   normal: "ilist_2.png";
18645                   border: 2 2 2 2;
18646                }
18647                fill.smooth: 0;
18648             }
18649          }
18650          part { name: "bg";
18651             clip_to: "disclip";
18652             mouse_events: 0;
18653             description { state: "default" 0.0;
18654                visible: 0;
18655                color: 255 255 255 0;
18656                rel1 {
18657                   relative: 0.0 0.0;
18658                   offset: -5 -5;
18659                }
18660                rel2 {
18661                   relative: 1.0 1.0;
18662                   offset: 4 4;
18663                }
18664                image {
18665                   normal: "bt_sm_base1.png";
18666                   border: 6 6 6 6;
18667                }
18668                image.middle: SOLID;
18669             }
18670             description { state: "selected" 0.0;
18671                inherit: "default" 0.0;
18672                visible: 1;
18673                color: 255 255 255 255;
18674                rel1 {
18675                   relative: 0.0 0.0;
18676                   offset: -2 -2;
18677                }
18678                rel2 {
18679                   relative: 1.0 1.0;
18680                   offset: 1 1;
18681                }
18682             }
18683          }
18684          part { name: "elm.swallow.pad";
18685             type: SWALLOW;
18686             description { state: "default" 0.0;
18687                fixed: 1 0;
18688                align: 0.0 0.5;
18689                rel1 {
18690                   relative: 0.0  0.0;
18691                   offset:   4    4;
18692                }
18693                rel2 {
18694                   relative: 0.0  1.0;
18695                   offset:   4   -5;
18696                }
18697             }
18698          }
18699          part { name: "arrow";
18700             clip_to: "disclip";
18701             ignore_flags: ON_HOLD;
18702             description { state: "default" 0.0;
18703                fixed: 1 0;
18704                align: 0.0 0.5;
18705                aspect: 1.0 1.0;
18706                rel1 {
18707                   to_x: "elm.swallow.pad";
18708                   relative: 1.0  0.0;
18709                   offset:   -1    4;
18710                }
18711                rel2 {
18712                   to_x: "elm.swallow.pad";
18713                   relative: 1.0  1.0;
18714                   offset:   -1   -5;
18715                }
18716                image.normal: "icon_arrow_right.png";
18717             }
18718             description { state: "default" 0.1;
18719                inherit: "default" 0.0;
18720                image.normal: "icon_arrow_left.png";
18721             }
18722             description { state: "active" 0.0;
18723                inherit: "default" 0.0;
18724                image.normal: "icon_arrow_down.png";
18725             }
18726             description { state: "active" 0.1;
18727                inherit: "default" 0.0;
18728                image.normal: "icon_arrow_down.png";
18729             }
18730          }
18731          part { name: "elm.swallow.icon";
18732             clip_to: "disclip";
18733             type: SWALLOW;
18734             description { state: "default" 0.0;
18735                fixed: 1 0;
18736                align: 0.0 0.5;
18737                rel1 {
18738                   to_x: "arrow";
18739                   relative: 1.0  0.0;
18740                   offset:   4    4;
18741                }
18742                rel2 {
18743                   to_x: "arrow";
18744                   relative: 1.0  1.0;
18745                   offset:   4   -5;
18746                }
18747             }
18748          }
18749          part { name: "elm.swallow.end";
18750             clip_to: "disclip";
18751             type: SWALLOW;
18752             description { state: "default" 0.0;
18753                fixed: 1 0;
18754                align: 1.0 0.5;
18755                aspect: 1.0 1.0;
18756                aspect_preference: VERTICAL;
18757                rel1 {
18758                   relative: 1.0  0.0;
18759                   offset:   -5    4;
18760                }
18761                rel2 {
18762                   relative: 1.0  1.0;
18763                   offset:   -5   -5;
18764                }
18765             }
18766          }
18767          part { name: "elm.text";
18768             clip_to: "disclip";
18769             type:           TEXT;
18770             effect:         SOFT_SHADOW;
18771             mouse_events:   0;
18772             scale: 1;
18773             description {
18774                state: "default" 0.0;
18775 //               min: 16 16;
18776                rel1 {
18777                   to_x:     "elm.swallow.icon";
18778                   relative: 1.0  0.0;
18779                   offset:   0 4;
18780                }
18781                rel2 {
18782                   to_x:     "elm.swallow.end";
18783                   relative: 0.0  1.0;
18784                   offset:   -1 -5;
18785                }
18786                color: 0 0 0 255;
18787                color3: 0 0 0 0;
18788                text {
18789                   font: "Sans";
18790                   size: 10;
18791 //                  min: 1 1;
18792                   min: 0 1;
18793                   align: 0.0 0.5;
18794                   text_class: "list_item";
18795                }
18796             }
18797             description { state: "selected" 0.0;
18798                inherit: "default" 0.0;
18799                color: 224 224 224 255;
18800                color3: 0 0 0 64;
18801             }
18802          }
18803          part { name: "fg1";
18804             clip_to: "disclip";
18805             mouse_events: 0;
18806             description { state: "default" 0.0;
18807                visible: 0;
18808                color: 255 255 255 0;
18809                rel1.to: "bg";
18810                rel2.relative: 1.0 0.5;
18811                rel2.to: "bg";
18812                image {
18813                   normal: "bt_sm_hilight.png";
18814                   border: 6 6 6 0;
18815                }
18816             }
18817             description { state: "selected" 0.0;
18818                inherit: "default" 0.0;
18819                visible: 1;
18820                color: 255 255 255 255;
18821             }
18822          }
18823          part { name: "fg2";
18824             clip_to: "disclip";
18825             mouse_events: 0;
18826             description { state: "default" 0.0;
18827                visible: 0;
18828                color: 255 255 255 0;
18829                rel1.to: "bg";
18830                rel2.to: "bg";
18831                image {
18832                   normal: "bt_sm_shine.png";
18833                   border: 6 6 6 0;
18834                }
18835             }
18836             description { state: "selected" 0.0;
18837                inherit: "default" 0.0;
18838                visible: 1;
18839                color: 255 255 255 255;
18840             }
18841          }
18842          part { name: "disclip";
18843             type: RECT;
18844             description { state: "default" 0.0;
18845                rel1.to: "bg";
18846                rel2.to: "bg";
18847             }
18848             description { state: "disabled" 0.0;
18849                inherit: "default" 0.0;
18850                color: 255 255 255 64;
18851             }
18852          }
18853       }
18854       programs {
18855          // signal: elm,state,%s,active
18856          //   a "check" item named %s went active
18857          // signal: elm,state,%s,passive
18858          //   a "check" item named %s went passive
18859          // default is passive
18860          program {
18861             name:    "go_active";
18862             signal:  "elm,state,selected";
18863             source:  "elm";
18864             action:  STATE_SET "selected" 0.0;
18865             target:  "bg";
18866             target:  "fg1";
18867             target:  "fg2";
18868             target:  "elm.text";
18869          }
18870          program {
18871             name:    "go_passive";
18872             signal:  "elm,state,unselected";
18873             source:  "elm";
18874             action:  STATE_SET "default" 0.0;
18875             target:  "bg";
18876             target:  "fg1";
18877             target:  "fg2";
18878             target:  "elm.text";
18879             transition: LINEAR 0.1;
18880          }
18881          program {
18882             name:    "go_disabled";
18883             signal:  "elm,state,disabled";
18884             source:  "elm";
18885             action:  STATE_SET "disabled" 0.0;
18886             target:  "disclip";
18887          }
18888          program {
18889             name:    "go_enabled";
18890             signal:  "elm,state,enabled";
18891             source:  "elm";
18892             action:  STATE_SET "default" 0.0;
18893             target:  "disclip";
18894          }
18895          program {
18896             name:    "expand";
18897             signal:  "mouse,up,1";
18898             source:  "arrow";
18899             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
18900          }
18901          program {
18902             name:    "go_expanded";
18903             signal:  "elm,state,expanded";
18904             source:  "elm";
18905             script {
18906                new st[31];
18907                new Float:vl;
18908                get_state(PART:"arrow", st, 30, vl);
18909                set_state(PART:"arrow", "active", vl);
18910             }
18911          }
18912          program {
18913             name:    "go_contracted";
18914             signal:  "elm,state,contracted";
18915             source:  "elm";
18916             script {
18917                new st[31];
18918                new Float:vl;
18919                get_state(PART:"arrow", st, 30, vl);
18920                set_state(PART:"arrow", "default", vl);
18921             }
18922          }
18923          program { name: "to_rtl";
18924             signal: "edje,state,rtl";
18925             source: "edje";
18926             script {
18927                new st[31];
18928                new Float:vl;
18929                get_state(PART:"arrow", st, 30, vl);
18930                if (vl == 0.0) {
18931                   set_state(PART:"arrow", st, 0.1);
18932                }
18933             }
18934          }
18935          program { name: "to_ltr";
18936             signal: "edje,state,ltr";
18937             source: "edje";
18938             script {
18939                new st[31];
18940                new Float:vl;
18941                get_state(PART:"arrow", st, 30, vl);
18942                if (vl == 0.1) {
18943                   set_state(PART:"arrow", st, 0.0);
18944                }
18945             }
18946          }
18947       }
18948    }
18949
18950    group { name: "elm/genlist/item/default_style/default";
18951        styles
18952        {
18953            style { name: "genlist_style";
18954                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=list_item";
18955                tag:  "br" "\n";
18956                tag:  "ps" "ps";
18957                tag:  "hilight" "+ font=Sans:style=Bold";
18958                tag:  "b" "+ font=Sans:style=Bold";
18959                tag:  "tab" "\t";
18960            }
18961            style { name: "genlist_selected_style";
18962                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=list_item";
18963                tag:  "br" "\n";
18964                tag:  "ps" "ps";
18965                tag:  "hilight" "+ font=Sans:style=Bold";
18966                tag:  "b" "+ font=Sans:style=Bold";
18967                tag:  "tab" "\t";
18968            }
18969        }
18970        data.item: "stacking" "above";
18971        data.item: "selectraise" "on";
18972        data.item: "labels" "elm.text";
18973        data.item: "icons" "elm.swallow.icon elm.swallow.end";
18974        data.item: "treesize" "20";
18975        images {
18976            image: "bt_sm_base1.png" COMP;
18977            image: "bt_sm_shine.png" COMP;
18978            image: "bt_sm_hilight.png" COMP;
18979            image: "ilist_1.png" COMP;
18980            image: "ilist_item_shadow.png" COMP;
18981        }
18982        parts {
18983            part {
18984                name:           "event";
18985                type:           RECT;
18986                repeat_events: 1;
18987                description {
18988                    state: "default" 0.0;
18989                    color: 0 0 0 0;
18990                }
18991            }
18992            part {
18993                name: "base_sh";
18994                mouse_events: 0;
18995                description {
18996                    state: "default" 0.0;
18997                    align: 0.0 0.0;
18998                    min: 0 10;
18999                    fixed: 1 1;
19000                    rel1 {
19001                        to: "base";
19002                        relative: 0.0 1.0;
19003                        offset: 0 0;
19004                    }
19005                    rel2 {
19006                        to: "base";
19007                        relative: 1.0 1.0;
19008                        offset: -1 0;
19009                    }
19010                    image {
19011                        normal: "ilist_item_shadow.png";
19012                    }
19013                    fill.smooth: 0;
19014                }
19015            }
19016            part {
19017                name: "base";
19018                mouse_events: 0;
19019                description {
19020                    state: "default" 0.0;
19021                    min: 16 28;
19022                    image {
19023                        normal: "ilist_1.png";
19024                        border: 2 2 2 2;
19025                    }
19026                    fill.smooth: 0;
19027                }
19028            }
19029            part { name: "bg";
19030                clip_to: "disclip";
19031                mouse_events: 0;
19032                description { state: "default" 0.0;
19033                    visible: 0;
19034                    color: 255 255 255 0;
19035                    rel1 {
19036                        relative: 0.0 0.0;
19037                        offset: -5 -5;
19038                    }
19039                    rel2 {
19040                        relative: 1.0 1.0;
19041                        offset: 4 4;
19042                    }
19043                    image {
19044                        normal: "bt_sm_base1.png";
19045                        border: 6 6 6 6;
19046                    }
19047                    image.middle: SOLID;
19048                }
19049                description { state: "selected" 0.0;
19050                    inherit: "default" 0.0;
19051                    visible: 1;
19052                    color: 255 255 255 255;
19053                    rel1 {
19054                        relative: 0.0 0.0;
19055                        offset: -2 -2;
19056                    }
19057                    rel2 {
19058                        relative: 1.0 1.0;
19059                        offset: 1 1;
19060                    }
19061                }
19062            }
19063            part { name: "elm.swallow.pad";
19064                type: SWALLOW;
19065                description { state: "default" 0.0;
19066                    fixed: 1 0;
19067                    align: 0.0 0.5;
19068                    rel1 {
19069                        relative: 0.0  0.0;
19070                        offset:   4    4;
19071                    }
19072                    rel2 {
19073                        relative: 0.0  1.0;
19074                        offset:   4   -5;
19075                    }
19076                }
19077            }
19078            part { name: "elm.swallow.icon";
19079                clip_to: "disclip";
19080                type: SWALLOW;
19081                description { state: "default" 0.0;
19082                    fixed: 1 0;
19083                    align: 0.0 0.5;
19084                    rel1 {
19085                        to_x: "elm.swallow.pad";
19086                        relative: 1.0  0.0;
19087                        offset:   -1    4;
19088                    }
19089                    rel2 {
19090                        to_x: "elm.swallow.pad";
19091                        relative: 1.0  1.0;
19092                        offset:   -1   -5;
19093                    }
19094                }
19095            }
19096            part { name: "elm.swallow.end";
19097                clip_to: "disclip";
19098                type: SWALLOW;
19099                description { state: "default" 0.0;
19100                    fixed: 1 0;
19101                    align: 1.0 0.5;
19102                    aspect: 1.0 1.0;
19103                    aspect_preference: VERTICAL;
19104                    rel1 {
19105                        relative: 1.0  0.0;
19106                        offset:   -5    4;
19107                    }
19108                    rel2 {
19109                        relative: 1.0  1.0;
19110                        offset:   -5   -5;
19111                    }
19112                }
19113            }
19114            part { name: "elm.text";
19115                clip_to: "disclip";
19116                type: TEXTBLOCK;
19117                mouse_events: 0;
19118                scale: 1;
19119                description {
19120                    state: "default" 0.0;
19121                    align: 0.0 0.5;
19122                    fixed: 0 1;
19123                    rel1 {
19124                        to_x: "elm.swallow.icon";
19125                        to_y: "base";
19126                        relative: 1.0  0.5;
19127                        offset:   0 4;
19128                    }
19129                    rel2 {
19130                        to_x: "elm.swallow.end";
19131                        to_y: "base";
19132                        relative: 0.0  0.5;
19133                        offset:   -1 -5;
19134                    }
19135                    text {
19136                        style: "genlist_style";
19137                        min: 1 1;
19138                    }
19139                }
19140                description { state: "selected" 0.0;
19141                    inherit: "default" 0.0;
19142                    text {
19143                        style: "genlist_selected_style";
19144                    }
19145                }
19146            }
19147            part { name: "fg1";
19148                clip_to: "disclip";
19149                mouse_events: 0;
19150                description { state: "default" 0.0;
19151                    visible: 0;
19152                    color: 255 255 255 0;
19153                    rel1.to: "bg";
19154                    rel2.relative: 1.0 0.5;
19155                    rel2.to: "bg";
19156                    image {
19157                        normal: "bt_sm_hilight.png";
19158                        border: 6 6 6 0;
19159                    }
19160                }
19161                description { state: "selected" 0.0;
19162                    inherit: "default" 0.0;
19163                    visible: 1;
19164                    color: 255 255 255 255;
19165                }
19166            }
19167            part { name: "fg2";
19168                clip_to: "disclip";
19169                mouse_events: 0;
19170                description { state: "default" 0.0;
19171                    visible: 0;
19172                    color: 255 255 255 0;
19173                    rel1.to: "bg";
19174                    rel2.to: "bg";
19175                    image {
19176                        normal: "bt_sm_shine.png";
19177                        border: 6 6 6 0;
19178                    }
19179                }
19180                description { state: "selected" 0.0;
19181                    inherit: "default" 0.0;
19182                    visible: 1;
19183                    color: 255 255 255 255;
19184                }
19185            }
19186            part { name: "disclip";
19187                type: RECT;
19188                description { state: "default" 0.0;
19189                    rel1.to: "bg";
19190                    rel2.to: "bg";
19191                }
19192                description { state: "disabled" 0.0;
19193                    inherit: "default" 0.0;
19194                    color: 255 255 255 64;
19195                }
19196            }
19197        }
19198        programs {
19199            // signal: elm,state,%s,active
19200            //   a "check" item named %s went active
19201            // signal: elm,state,%s,passive
19202            //   a "check" item named %s went passive
19203            // default is passive
19204            program {
19205                name:    "go_active";
19206                signal:  "elm,state,selected";
19207                source:  "elm";
19208                action:  STATE_SET "selected" 0.0;
19209                target:  "bg";
19210                target:  "fg1";
19211                target:  "fg2";
19212                target:  "elm.text";
19213            }
19214            program {
19215                name:    "go_passive";
19216                signal:  "elm,state,unselected";
19217                source:  "elm";
19218                action:  STATE_SET "default" 0.0;
19219                target:  "bg";
19220                target:  "fg1";
19221                target:  "fg2";
19222                target:  "elm.text";
19223                transition: LINEAR 0.1;
19224            }
19225            program {
19226                name:    "go_disabled";
19227                signal:  "elm,state,disabled";
19228                source:  "elm";
19229                action:  STATE_SET "disabled" 0.0;
19230                target:  "disclip";
19231            }
19232            program {
19233                name:    "go_enabled";
19234                signal:  "elm,state,enabled";
19235                source:  "elm";
19236                action:  STATE_SET "default" 0.0;
19237                target:  "disclip";
19238            }
19239        }
19240    }
19241    group { name: "elm/genlist/item_odd/default_style/default";
19242        data.item: "stacking" "below";
19243        data.item: "selectraise" "on";
19244        data.item: "labels" "elm.text";
19245        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19246        data.item: "treesize" "20";
19247        images {
19248            image: "bt_sm_base1.png" COMP;
19249            image: "bt_sm_shine.png" COMP;
19250            image: "bt_sm_hilight.png" COMP;
19251            image: "ilist_2.png" COMP;
19252        }
19253        parts {
19254            part { name: "event";
19255                type: RECT;
19256                repeat_events: 1;
19257                description {
19258                    state: "default" 0.0;
19259                    color: 0 0 0 0;
19260                }
19261            }
19262            part {
19263                name: "base";
19264                mouse_events: 0;
19265                description {
19266                    state: "default" 0.0;
19267                    min: 16 28;
19268                    image {
19269                        normal: "ilist_2.png";
19270                        border: 2 2 2 2;
19271                    }
19272                    fill.smooth: 0;
19273                }
19274            }
19275            part { name: "bg";
19276                clip_to: "disclip";
19277                mouse_events: 0;
19278                description { state: "default" 0.0;
19279                    visible: 0;
19280                    color: 255 255 255 0;
19281                    rel1 {
19282                        relative: 0.0 0.0;
19283                        offset: -5 -5;
19284                    }
19285                    rel2 {
19286                        relative: 1.0 1.0;
19287                        offset: 4 4;
19288                    }
19289                    image {
19290                        normal: "bt_sm_base1.png";
19291                        border: 6 6 6 6;
19292                    }
19293                    image.middle: SOLID;
19294                }
19295                description { state: "selected" 0.0;
19296                    inherit: "default" 0.0;
19297                    visible: 1;
19298                    color: 255 255 255 255;
19299                    rel1 {
19300                        relative: 0.0 0.0;
19301                        offset: -2 -2;
19302                    }
19303                    rel2 {
19304                        relative: 1.0 1.0;
19305                        offset: 1 1;
19306                    }
19307                }
19308            }
19309            part { name: "elm.swallow.pad";
19310                type: SWALLOW;
19311                description { state: "default" 0.0;
19312                    fixed: 1 0;
19313                    align: 0.0 0.5;
19314                    rel1 {
19315                        relative: 0.0  0.0;
19316                        offset:   4    4;
19317                    }
19318                    rel2 {
19319                        relative: 0.0  1.0;
19320                        offset:   4   -5;
19321                    }
19322                }
19323            }
19324            part { name: "elm.swallow.icon";
19325                clip_to: "disclip";
19326                type: SWALLOW;
19327                description { state: "default" 0.0;
19328                    fixed: 1 0;
19329                    align: 0.0 0.5;
19330                    rel1 {
19331                        to_x: "elm.swallow.pad";
19332                        relative: 1.0  0.0;
19333                        offset:   -1    4;
19334                    }
19335                    rel2 {
19336                        to_x: "elm.swallow.pad";
19337                        relative: 1.0  1.0;
19338                        offset:   -1   -5;
19339                    }
19340                }
19341            }
19342            part { name: "elm.swallow.end";
19343                clip_to: "disclip";
19344                type:          SWALLOW;
19345                description { state:    "default" 0.0;
19346                    fixed: 1 0;
19347                    align:    1.0 0.5;
19348                    aspect: 1.0 1.0;
19349                    aspect_preference: VERTICAL;
19350                    rel1 {
19351                        relative: 1.0  0.0;
19352                        offset:   -5    4;
19353                    }
19354                    rel2 {
19355                        relative: 1.0  1.0;
19356                        offset:   -5   -5;
19357                    }
19358                }
19359            }
19360            part { name: "elm.text";
19361                clip_to: "disclip";
19362                type:           TEXTBLOCK;
19363                mouse_events:   0;
19364                scale: 1;
19365                description {
19366                    state: "default" 0.0;
19367                    align: 0.0 0.5;
19368                    fixed: 0 1;
19369                    rel1 {
19370                        to_x: "elm.swallow.icon";
19371                        to_y: "base";
19372                        relative: 1.0  0.5;
19373                        offset:   0 4;
19374                    }
19375                    rel2 {
19376                        to_x: "elm.swallow.end";
19377                        to_y: "base";
19378                        relative: 0.0  0.5;
19379                        offset:   -1 -5;
19380                    }
19381                    text {
19382                        style: "genlist_style";
19383                        min: 1 1;
19384                    }
19385                }
19386                description { state: "selected" 0.0;
19387                    inherit: "default" 0.0;
19388                    text {
19389                        style: "genlist_selected_style";
19390                    }
19391                }
19392            }
19393            part { name: "fg1";
19394                clip_to: "disclip";
19395                mouse_events: 0;
19396                description { state: "default" 0.0;
19397                    visible: 0;
19398                    color: 255 255 255 0;
19399                    rel1.to: "bg";
19400                    rel2.relative: 1.0 0.5;
19401                    rel2.to: "bg";
19402                    image {
19403                        normal: "bt_sm_hilight.png";
19404                        border: 6 6 6 0;
19405                    }
19406                }
19407                description { state: "selected" 0.0;
19408                    inherit: "default" 0.0;
19409                    visible: 1;
19410                    color: 255 255 255 255;
19411                }
19412            }
19413            part { name: "fg2";
19414                clip_to: "disclip";
19415                mouse_events: 0;
19416                description { state: "default" 0.0;
19417                    visible: 0;
19418                    color: 255 255 255 0;
19419                    rel1.to: "bg";
19420                    rel2.to: "bg";
19421                    image {
19422                        normal: "bt_sm_shine.png";
19423                        border: 6 6 6 0;
19424                    }
19425                }
19426                description { state: "selected" 0.0;
19427                    inherit: "default" 0.0;
19428                    visible: 1;
19429                    color: 255 255 255 255;
19430                }
19431            }
19432            part { name: "disclip";
19433                type: RECT;
19434                description { state: "default" 0.0;
19435                    rel1.to: "bg";
19436                    rel2.to: "bg";
19437                }
19438                description { state: "disabled" 0.0;
19439                    inherit: "default" 0.0;
19440                    color: 255 255 255 64;
19441                }
19442            }
19443        }
19444        programs {
19445            // signal: elm,state,%s,active
19446            //   a "check" item named %s went active
19447            // signal: elm,state,%s,passive
19448            //   a "check" item named %s went passive
19449            // default is passive
19450            program {
19451                name:    "go_active";
19452                signal:  "elm,state,selected";
19453                source:  "elm";
19454                action:  STATE_SET "selected" 0.0;
19455                target:  "bg";
19456                target:  "fg1";
19457                target:  "fg2";
19458                target:  "elm.text";
19459            }
19460            program {
19461                name:    "go_passive";
19462                signal:  "elm,state,unselected";
19463                source:  "elm";
19464                action:  STATE_SET "default" 0.0;
19465                target:  "bg";
19466                target:  "fg1";
19467                target:  "fg2";
19468                target:  "elm.text";
19469                transition: LINEAR 0.1;
19470            }
19471            program {
19472                name:    "go_disabled";
19473                signal:  "elm,state,disabled";
19474                source:  "elm";
19475                action:  STATE_SET "disabled" 0.0;
19476                target:  "disclip";
19477            }
19478            program {
19479                name:    "go_enabled";
19480                signal:  "elm,state,enabled";
19481                source:  "elm";
19482                action:  STATE_SET "default" 0.0;
19483                target:  "disclip";
19484            }
19485        }
19486    }
19487
19488    group { name: "elm/genlist/tree/default_style/default";
19489        data.item: "stacking" "above";
19490        data.item: "selectraise" "on";
19491        data.item: "labels" "elm.text";
19492        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19493        data.item: "treesize" "20";
19494        images {
19495            image: "bt_sm_base1.png" COMP;
19496            image: "bt_sm_shine.png" COMP;
19497            image: "bt_sm_hilight.png" COMP;
19498            image: "ilist_1.png" COMP;
19499            image: "ilist_item_shadow.png" COMP;
19500            image: "icon_arrow_right.png" COMP;
19501            image: "icon_arrow_down.png" COMP;
19502        }
19503        parts {
19504            part {
19505                name:           "event";
19506                type:           RECT;
19507                repeat_events: 1;
19508                description {
19509                    state: "default" 0.0;
19510                    color: 0 0 0 0;
19511                }
19512            }
19513            part {
19514                name: "base_sh";
19515                mouse_events: 0;
19516                description {
19517                    state: "default" 0.0;
19518                    align: 0.0 0.0;
19519                    min: 0 10;
19520                    fixed: 1 1;
19521                    rel1 {
19522                        to: "base";
19523                        relative: 0.0 1.0;
19524                        offset: 0 0;
19525                    }
19526                    rel2 {
19527                        to: "base";
19528                        relative: 1.0 1.0;
19529                        offset: -1 0;
19530                    }
19531                    image {
19532                        normal: "ilist_item_shadow.png";
19533                    }
19534                    fill.smooth: 0;
19535                }
19536            }
19537            part {
19538                name: "base";
19539                mouse_events: 0;
19540                description {
19541                    state: "default" 0.0;
19542                    min: 16 28;
19543                    image {
19544                        normal: "ilist_1.png";
19545                        border: 2 2 2 2;
19546                    }
19547                    fill.smooth: 0;
19548                }
19549            }
19550            part { name: "bg";
19551                clip_to: "disclip";
19552                mouse_events: 0;
19553                description { state: "default" 0.0;
19554                    visible: 0;
19555                    color: 255 255 255 0;
19556                    rel1 {
19557                        relative: 0.0 0.0;
19558                        offset: -5 -5;
19559                    }
19560                    rel2 {
19561                        relative: 1.0 1.0;
19562                        offset: 4 4;
19563                    }
19564                    image {
19565                        normal: "bt_sm_base1.png";
19566                        border: 6 6 6 6;
19567                    }
19568                    image.middle: SOLID;
19569                }
19570                description { state: "selected" 0.0;
19571                    inherit: "default" 0.0;
19572                    visible: 1;
19573                    color: 255 255 255 255;
19574                    rel1 {
19575                        relative: 0.0 0.0;
19576                        offset: -2 -2;
19577                    }
19578                    rel2 {
19579                        relative: 1.0 1.0;
19580                        offset: 1 1;
19581                    }
19582                }
19583            }
19584            part { name: "elm.swallow.pad";
19585                type: SWALLOW;
19586                description { state: "default" 0.0;
19587                    fixed: 1 0;
19588                    align: 0.0 0.5;
19589                    rel1 {
19590                        relative: 0.0  0.0;
19591                        offset:   4    4;
19592                    }
19593                    rel2 {
19594                        relative: 0.0  1.0;
19595                        offset:   4   -5;
19596                    }
19597                }
19598            }
19599            part { name: "arrow";
19600                clip_to: "disclip";
19601                ignore_flags: ON_HOLD;
19602                description { state: "default" 0.0;
19603                    fixed: 1 0;
19604                    align: 0.0 0.5;
19605                    aspect: 1.0 1.0;
19606                    rel1 {
19607                        to_x: "elm.swallow.pad";
19608                        relative: 1.0  0.0;
19609                        offset:   -1    4;
19610                    }
19611                    rel2 {
19612                        to_x: "elm.swallow.pad";
19613                        relative: 1.0  1.0;
19614                        offset:   -1   -5;
19615                    }
19616                    image.normal: "icon_arrow_right.png";
19617                }
19618                description { state: "active" 0.0;
19619                    inherit: "default" 0.0;
19620                    image.normal: "icon_arrow_down.png";
19621                }
19622            }
19623            part { name: "elm.swallow.icon";
19624                clip_to: "disclip";
19625                type: SWALLOW;
19626                description { state: "default" 0.0;
19627                    fixed: 1 0;
19628                    align: 0.0 0.5;
19629                    rel1 {
19630                        to_x: "arrow";
19631                        relative: 1.0  0.0;
19632                        offset:   4    4;
19633                    }
19634                    rel2 {
19635                        to_x: "arrow";
19636                        relative: 1.0  1.0;
19637                        offset:   4   -5;
19638                    }
19639                }
19640            }
19641            part { name: "elm.swallow.end";
19642                clip_to: "disclip";
19643                type: SWALLOW;
19644                description { state: "default" 0.0;
19645                    fixed: 1 0;
19646                    align: 1.0 0.5;
19647                    aspect: 1.0 1.0;
19648                    aspect_preference: VERTICAL;
19649                    rel1 {
19650                        relative: 1.0  0.0;
19651                        offset:   -5    4;
19652                    }
19653                    rel2 {
19654                        relative: 1.0  1.0;
19655                        offset:   -5   -5;
19656                    }
19657                }
19658            }
19659            part { name: "elm.text";
19660                clip_to: "disclip";
19661                type:           TEXTBLOCK;
19662                effect:         SOFT_SHADOW;
19663                mouse_events:   0;
19664                scale: 1;
19665                description {
19666                    state: "default" 0.0;
19667                    align: 0.0 0.5;
19668                    fixed: 0 1;
19669                    rel1 {
19670                        to_x:     "elm.swallow.icon";
19671                        to_y: "base";
19672                        relative: 1.0  0.5;
19673                        offset:   0 4;
19674                    }
19675                    rel2 {
19676                        to_x:     "elm.swallow.end";
19677                        to_y: "base";
19678                        relative: 0.0  0.5;
19679                        offset:   -1 -5;
19680                    }
19681                    text {
19682                        style: "genlist_style";
19683                        min: 1 1;
19684                    }
19685                }
19686                description { state: "selected" 0.0;
19687                    inherit: "default" 0.0;
19688                    text {
19689                        style: "genlist_selected_style";
19690                    }
19691                }
19692            }
19693            part { name: "fg1";
19694                clip_to: "disclip";
19695                mouse_events: 0;
19696                description { state: "default" 0.0;
19697                    visible: 0;
19698                    color: 255 255 255 0;
19699                    rel1.to: "bg";
19700                    rel2.relative: 1.0 0.5;
19701                    rel2.to: "bg";
19702                    image {
19703                        normal: "bt_sm_hilight.png";
19704                        border: 6 6 6 0;
19705                    }
19706                }
19707                description { state: "selected" 0.0;
19708                    inherit: "default" 0.0;
19709                    visible: 1;
19710                    color: 255 255 255 255;
19711                }
19712            }
19713            part { name: "fg2";
19714                clip_to: "disclip";
19715                mouse_events: 0;
19716                description { state: "default" 0.0;
19717                    visible: 0;
19718                    color: 255 255 255 0;
19719                    rel1.to: "bg";
19720                    rel2.to: "bg";
19721                    image {
19722                        normal: "bt_sm_shine.png";
19723                        border: 6 6 6 0;
19724                    }
19725                }
19726                description { state: "selected" 0.0;
19727                    inherit: "default" 0.0;
19728                    visible: 1;
19729                    color: 255 255 255 255;
19730                }
19731            }
19732            part { name: "disclip";
19733                type: RECT;
19734                description { state: "default" 0.0;
19735                    rel1.to: "bg";
19736                    rel2.to: "bg";
19737                }
19738                description { state: "disabled" 0.0;
19739                    inherit: "default" 0.0;
19740                    color: 255 255 255 64;
19741                }
19742            }
19743        }
19744        programs {
19745            // signal: elm,state,%s,active
19746            //   a "check" item named %s went active
19747            // signal: elm,state,%s,passive
19748            //   a "check" item named %s went passive
19749            // default is passive
19750            program {
19751                name:    "go_active";
19752                signal:  "elm,state,selected";
19753                source:  "elm";
19754                action:  STATE_SET "selected" 0.0;
19755                target:  "bg";
19756                target:  "fg1";
19757                target:  "fg2";
19758                target:  "elm.text";
19759            }
19760            program {
19761                name:    "go_passive";
19762                signal:  "elm,state,unselected";
19763                source:  "elm";
19764                action:  STATE_SET "default" 0.0;
19765                target:  "bg";
19766                target:  "fg1";
19767                target:  "fg2";
19768                target:  "elm.text";
19769                transition: LINEAR 0.1;
19770            }
19771            program {
19772                name:    "go_disabled";
19773                signal:  "elm,state,disabled";
19774                source:  "elm";
19775                action:  STATE_SET "disabled" 0.0;
19776                target:  "disclip";
19777            }
19778            program {
19779                name:    "go_enabled";
19780                signal:  "elm,state,enabled";
19781                source:  "elm";
19782                action:  STATE_SET "default" 0.0;
19783                target:  "disclip";
19784            }
19785            program {
19786                name:    "expand";
19787                signal:  "mouse,up,1";
19788                source:  "arrow";
19789                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
19790            }
19791            program {
19792                name:    "go_expanded";
19793                signal:  "elm,state,expanded";
19794                source:  "elm";
19795                action:  STATE_SET "active" 0.0;
19796                target:  "arrow";
19797            }
19798            program {
19799                name:    "go_contracted";
19800                signal:  "elm,state,contracted";
19801                source:  "elm";
19802                action:  STATE_SET "default" 0.0;
19803                target:  "arrow";
19804            }
19805        }
19806    }
19807    group { name: "elm/genlist/tree_odd/default_style/default";
19808        data.item: "stacking" "below";
19809        data.item: "selectraise" "on";
19810        data.item: "labels" "elm.text";
19811        data.item: "icons" "elm.swallow.icon elm.swallow.end";
19812        data.item: "treesize" "20";
19813        images {
19814            image: "bt_sm_base1.png" COMP;
19815            image: "bt_sm_shine.png" COMP;
19816            image: "bt_sm_hilight.png" COMP;
19817            image: "ilist_2.png" COMP;
19818            image: "icon_arrow_right.png" COMP;
19819            image: "icon_arrow_down.png" COMP;
19820        }
19821        parts {
19822            part {
19823                name:           "event";
19824                type:           RECT;
19825                repeat_events: 1;
19826                description {
19827                    state: "default" 0.0;
19828                    color: 0 0 0 0;
19829                }
19830            }
19831            part {
19832                name: "base";
19833                mouse_events: 0;
19834                description {
19835                    state: "default" 0.0;
19836                    min: 16 28;
19837                    image {
19838                        normal: "ilist_2.png";
19839                        border: 2 2 2 2;
19840                    }
19841                    fill.smooth: 0;
19842                }
19843            }
19844            part { name: "bg";
19845                clip_to: "disclip";
19846                mouse_events: 0;
19847                description { state: "default" 0.0;
19848                    visible: 0;
19849                    color: 255 255 255 0;
19850                    rel1 {
19851                        relative: 0.0 0.0;
19852                        offset: -5 -5;
19853                    }
19854                    rel2 {
19855                        relative: 1.0 1.0;
19856                        offset: 4 4;
19857                    }
19858                    image {
19859                        normal: "bt_sm_base1.png";
19860                        border: 6 6 6 6;
19861                    }
19862                    image.middle: SOLID;
19863                }
19864                description { state: "selected" 0.0;
19865                    inherit: "default" 0.0;
19866                    visible: 1;
19867                    color: 255 255 255 255;
19868                    rel1 {
19869                        relative: 0.0 0.0;
19870                        offset: -2 -2;
19871                    }
19872                    rel2 {
19873                        relative: 1.0 1.0;
19874                        offset: 1 1;
19875                    }
19876                }
19877            }
19878            part { name: "elm.swallow.pad";
19879                type: SWALLOW;
19880                description { state: "default" 0.0;
19881                    fixed: 1 0;
19882                    align: 0.0 0.5;
19883                    rel1 {
19884                        relative: 0.0  0.0;
19885                        offset:   4    4;
19886                    }
19887                    rel2 {
19888                        relative: 0.0  1.0;
19889                        offset:   4   -5;
19890                    }
19891                }
19892            }
19893            part { name: "arrow";
19894                clip_to: "disclip";
19895                ignore_flags: ON_HOLD;
19896                description { state: "default" 0.0;
19897                    fixed: 1 0;
19898                    align: 0.0 0.5;
19899                    aspect: 1.0 1.0;
19900                    rel1 {
19901                        to_x: "elm.swallow.pad";
19902                        relative: 1.0  0.0;
19903                        offset:   -1    4;
19904                    }
19905                    rel2 {
19906                        to_x: "elm.swallow.pad";
19907                        relative: 1.0  1.0;
19908                        offset:   -1   -5;
19909                    }
19910                    image.normal: "icon_arrow_right.png";
19911                }
19912                description { state: "active" 0.0;
19913                    inherit: "default" 0.0;
19914                    image.normal: "icon_arrow_down.png";
19915                }
19916            }
19917            part { name: "elm.swallow.icon";
19918                clip_to: "disclip";
19919                type: SWALLOW;
19920                description { state: "default" 0.0;
19921                    fixed: 1 0;
19922                    align: 0.0 0.5;
19923                    rel1 {
19924                        to_x: "arrow";
19925                        relative: 1.0  0.0;
19926                        offset:   4    4;
19927                    }
19928                    rel2 {
19929                        to_x: "arrow";
19930                        relative: 1.0  1.0;
19931                        offset:   4   -5;
19932                    }
19933                }
19934            }
19935            part { name: "elm.swallow.end";
19936                clip_to: "disclip";
19937                type: SWALLOW;
19938                description { state: "default" 0.0;
19939                    fixed: 1 0;
19940                    align: 1.0 0.5;
19941                    aspect: 1.0 1.0;
19942                    aspect_preference: VERTICAL;
19943                    rel1 {
19944                        relative: 1.0  0.0;
19945                        offset:   -5    4;
19946                    }
19947                    rel2 {
19948                        relative: 1.0  1.0;
19949                        offset:   -5   -5;
19950                    }
19951                }
19952            }
19953            part { name: "elm.text";
19954                clip_to: "disclip";
19955                type:           TEXTBLOCK;
19956                effect:         SOFT_SHADOW;
19957                mouse_events:   0;
19958                scale: 1;
19959                description {
19960                    state: "default" 0.0;
19961                    align: 0.0 0.5;
19962                    fixed: 0 1;
19963                    rel1 {
19964                        to_x:     "elm.swallow.icon";
19965                        to_y: "base";
19966                        relative: 1.0  0.5;
19967                        offset:   0 4;
19968                    }
19969                    rel2 {
19970                        to_x:     "elm.swallow.end";
19971                        to_y: "base";
19972                        relative: 0.0  0.5;
19973                        offset:   -1 -5;
19974                    }
19975                    text {
19976                        style: "genlist_style";
19977                        min: 1 1;
19978                    }
19979                }
19980                description { state: "selected" 0.0;
19981                    inherit: "default" 0.0;
19982                    text {
19983                        style: "genlist_selected_style";
19984                    }
19985                }
19986            }
19987            part { name: "fg1";
19988                clip_to: "disclip";
19989                mouse_events: 0;
19990                description { state: "default" 0.0;
19991                    visible: 0;
19992                    color: 255 255 255 0;
19993                    rel1.to: "bg";
19994                    rel2.relative: 1.0 0.5;
19995                    rel2.to: "bg";
19996                    image {
19997                        normal: "bt_sm_hilight.png";
19998                        border: 6 6 6 0;
19999                    }
20000                }
20001                description { state: "selected" 0.0;
20002                    inherit: "default" 0.0;
20003                    visible: 1;
20004                    color: 255 255 255 255;
20005                }
20006            }
20007            part { name: "fg2";
20008                clip_to: "disclip";
20009                mouse_events: 0;
20010                description { state: "default" 0.0;
20011                    visible: 0;
20012                    color: 255 255 255 0;
20013                    rel1.to: "bg";
20014                    rel2.to: "bg";
20015                    image {
20016                        normal: "bt_sm_shine.png";
20017                        border: 6 6 6 0;
20018                    }
20019                }
20020                description { state: "selected" 0.0;
20021                    inherit: "default" 0.0;
20022                    visible: 1;
20023                    color: 255 255 255 255;
20024                }
20025            }
20026            part { name: "disclip";
20027                type: RECT;
20028                description { state: "default" 0.0;
20029                    rel1.to: "bg";
20030                    rel2.to: "bg";
20031                }
20032                description { state: "disabled" 0.0;
20033                    inherit: "default" 0.0;
20034                    color: 255 255 255 64;
20035                }
20036            }
20037        }
20038        programs {
20039            // signal: elm,state,%s,active
20040            //   a "check" item named %s went active
20041            // signal: elm,state,%s,passive
20042            //   a "check" item named %s went passive
20043            // default is passive
20044            program {
20045                name:    "go_active";
20046                signal:  "elm,state,selected";
20047                source:  "elm";
20048                action:  STATE_SET "selected" 0.0;
20049                target:  "bg";
20050                target:  "fg1";
20051                target:  "fg2";
20052                target:  "elm.text";
20053            }
20054            program {
20055                name:    "go_passive";
20056                signal:  "elm,state,unselected";
20057                source:  "elm";
20058                action:  STATE_SET "default" 0.0;
20059                target:  "bg";
20060                target:  "fg1";
20061                target:  "fg2";
20062                target:  "elm.text";
20063                transition: LINEAR 0.1;
20064            }
20065            program {
20066                name:    "go_disabled";
20067                signal:  "elm,state,disabled";
20068                source:  "elm";
20069                action:  STATE_SET "disabled" 0.0;
20070                target:  "disclip";
20071            }
20072            program {
20073                name:    "go_enabled";
20074                signal:  "elm,state,enabled";
20075                source:  "elm";
20076                action:  STATE_SET "default" 0.0;
20077                target:  "disclip";
20078            }
20079            program {
20080                name:    "expand";
20081                signal:  "mouse,up,1";
20082                source:  "arrow";
20083                action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
20084            }
20085            program {
20086                name:    "go_expanded";
20087                signal:  "elm,state,expanded";
20088                source:  "elm";
20089                action:  STATE_SET "active" 0.0;
20090                target:  "arrow";
20091            }
20092            program {
20093                name:    "go_contracted";
20094                signal:  "elm,state,contracted";
20095                source:  "elm";
20096                action:  STATE_SET "default" 0.0;
20097                target:  "arrow";
20098            }
20099        }
20100    }
20101
20102
20103    group { name: "elm/genlist/item/double_label/default";
20104       data.item: "stacking" "above";
20105       data.item: "selectraise" "on";
20106       data.item: "labels" "elm.text elm.text.sub";
20107       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20108       data.item: "treesize" "20";
20109 //      data.item: "states" "";
20110       images {
20111          image: "bt_sm_base1.png" COMP;
20112          image: "bt_sm_shine.png" COMP;
20113          image: "bt_sm_hilight.png" COMP;
20114          image: "ilist_1.png" COMP;
20115          image: "ilist_item_shadow.png" COMP;
20116       }
20117       parts {
20118          part {
20119             name:           "event";
20120             type:           RECT;
20121             repeat_events: 1;
20122             description {
20123                state: "default" 0.0;
20124                color: 0 0 0 0;
20125             }
20126          }
20127          part {
20128             name: "base_sh";
20129             mouse_events: 0;
20130             description {
20131                state: "default" 0.0;
20132                align: 0.0 0.0;
20133                min: 0 10;
20134                fixed: 1 1;
20135                rel1 {
20136                   to: "base";
20137                   relative: 0.0 1.0;
20138                   offset: 0 0;
20139                }
20140                rel2 {
20141                   to: "base";
20142                   relative: 1.0 1.0;
20143                   offset: -1 0;
20144                }
20145                image {
20146                   normal: "ilist_item_shadow.png";
20147                }
20148                fill.smooth: 0;
20149             }
20150          }
20151          part {
20152             name: "base";
20153             mouse_events: 0;
20154             description {
20155                state: "default" 0.0;
20156                image {
20157                   normal: "ilist_1.png";
20158                   border: 2 2 2 2;
20159                }
20160                fill.smooth: 0;
20161             }
20162          }
20163          part { name: "bg";
20164             clip_to: "disclip";
20165             mouse_events: 0;
20166             description { state: "default" 0.0;
20167                visible: 0;
20168                color: 255 255 255 0;
20169                rel1 {
20170                   relative: 0.0 0.0;
20171                   offset: -5 -5;
20172                }
20173                rel2 {
20174                   relative: 1.0 1.0;
20175                   offset: 4 4;
20176                }
20177                image {
20178                   normal: "bt_sm_base1.png";
20179                   border: 6 6 6 6;
20180                }
20181                image.middle: SOLID;
20182             }
20183             description { state: "selected" 0.0;
20184                inherit: "default" 0.0;
20185                visible: 1;
20186                color: 255 255 255 255;
20187                rel1 {
20188                   relative: 0.0 0.0;
20189                   offset: -2 -2;
20190                }
20191                rel2 {
20192                   relative: 1.0 1.0;
20193                   offset: 1 1;
20194                }
20195             }
20196          }
20197          part { name: "elm.swallow.pad";
20198             type: SWALLOW;
20199             description { state: "default" 0.0;
20200                fixed: 1 0;
20201                align: 0.0 0.5;
20202                rel1 {
20203                   relative: 0.0  0.0;
20204                   offset:   4    4;
20205                }
20206                rel2 {
20207                   relative: 0.0  1.0;
20208                   offset:   4   -5;
20209                }
20210             }
20211          }
20212          part { name: "elm.swallow.icon";
20213             clip_to: "disclip";
20214             type: SWALLOW;
20215             description { state: "default" 0.0;
20216                fixed: 1 0;
20217                align: 0.0 0.5;
20218                rel1 {
20219                   to_x: "elm.swallow.pad";
20220                   relative: 1.0  0.0;
20221                   offset:   -1    4;
20222                }
20223                rel2 {
20224                   to_x: "elm.swallow.pad";
20225                   relative: 1.0  1.0;
20226                   offset:   -1   -5;
20227                }
20228             }
20229          }
20230          part { name: "elm.swallow.end";
20231             clip_to: "disclip";
20232             type: SWALLOW;
20233             description { state: "default" 0.0;
20234                fixed: 1 0;
20235                align: 1.0 0.5;
20236                aspect: 1.0 1.0;
20237                aspect_preference: VERTICAL;
20238                rel1 {
20239                   relative: 1.0  0.0;
20240                   offset:   -5    4;
20241                }
20242                rel2 {
20243                   relative: 1.0  1.0;
20244                   offset:   -5   -5;
20245                }
20246             }
20247          }
20248          part { name: "elm.text";
20249             clip_to: "disclip";
20250             type:           TEXT;
20251             effect:         SOFT_SHADOW;
20252             mouse_events:   0;
20253             scale: 1;
20254             description {
20255                state: "default" 0.0;
20256 //               min: 16 16;
20257                rel1 {
20258                   to_x:     "elm.swallow.icon";
20259                   relative: 1.0  0.0;
20260                   offset:   0 4;
20261                }
20262                rel2 {
20263                   to_x:     "elm.swallow.end";
20264                   relative: 0.0  0.5;
20265                   offset:   -1 -5;
20266                }
20267                color: 0 0 0 255;
20268                color3: 0 0 0 0;
20269                text {
20270                   font: "Sans";
20271                   size: 10;
20272                   min: 1 1;
20273 //                  min: 0 1;
20274                   align: 0.0 0.5;
20275                   text_class: "list_item";
20276                }
20277             }
20278             description { state: "selected" 0.0;
20279                inherit: "default" 0.0;
20280                color: 224 224 224 255;
20281                color3: 0 0 0 64;
20282             }
20283          }
20284          part { name: "elm.text.sub";
20285             clip_to: "disclip";
20286             type:           TEXT;
20287             mouse_events:   0;
20288             scale: 1;
20289             description {
20290                state: "default" 0.0;
20291 //               min: 16 16;
20292                rel1 {
20293                   to_x:     "elm.swallow.icon";
20294                   relative: 1.0  0.5;
20295                   offset:   0 4;
20296                }
20297                rel2 {
20298                   to_x:     "elm.swallow.end";
20299                   relative: 0.0  1.0;
20300                   offset:   -1 -5;
20301                }
20302                color: 0 0 0 128;
20303                color3: 0 0 0 0;
20304                text {
20305                   font: "Sans";
20306                   size: 8;
20307                   min: 1 1;
20308 //                  min: 0 1;
20309                   align: 0.0 0.5;
20310                   text_class: "list_item";
20311                }
20312             }
20313             description { state: "selected" 0.0;
20314                inherit: "default" 0.0;
20315                color: 128 128 128 255;
20316                color3: 0 0 0 32;
20317             }
20318          }
20319          part { name: "fg1";
20320             clip_to: "disclip";
20321             mouse_events: 0;
20322             description { state: "default" 0.0;
20323                visible: 0;
20324                color: 255 255 255 0;
20325                rel1.to: "bg";
20326                rel2.relative: 1.0 0.5;
20327                rel2.to: "bg";
20328                image {
20329                   normal: "bt_sm_hilight.png";
20330                   border: 6 6 6 0;
20331                }
20332             }
20333             description { state: "selected" 0.0;
20334                inherit: "default" 0.0;
20335                visible: 1;
20336                color: 255 255 255 255;
20337             }
20338          }
20339          part { name: "fg2";
20340             clip_to: "disclip";
20341             mouse_events: 0;
20342             description { state: "default" 0.0;
20343                visible: 0;
20344                color: 255 255 255 0;
20345                rel1.to: "bg";
20346                rel2.to: "bg";
20347                image {
20348                   normal: "bt_sm_shine.png";
20349                   border: 6 6 6 0;
20350                }
20351             }
20352             description { state: "selected" 0.0;
20353                inherit: "default" 0.0;
20354                visible: 1;
20355                color: 255 255 255 255;
20356             }
20357          }
20358          part { name: "disclip";
20359             type: RECT;
20360             description { state: "default" 0.0;
20361                rel1.to: "bg";
20362                rel2.to: "bg";
20363             }
20364             description { state: "disabled" 0.0;
20365                inherit: "default" 0.0;
20366                color: 255 255 255 64;
20367             }
20368          }
20369       }
20370       programs {
20371          // signal: elm,state,%s,active
20372          //   a "check" item named %s went active
20373          // signal: elm,state,%s,passive
20374          //   a "check" item named %s went passive
20375          // default is passive
20376          program {
20377             name:    "go_active";
20378             signal:  "elm,state,selected";
20379             source:  "elm";
20380             action:  STATE_SET "selected" 0.0;
20381             target:  "bg";
20382             target:  "fg1";
20383             target:  "fg2";
20384             target:  "elm.text";
20385             target:  "elm.text.sub";
20386          }
20387          program {
20388             name:    "go_passive";
20389             signal:  "elm,state,unselected";
20390             source:  "elm";
20391             action:  STATE_SET "default" 0.0;
20392             target:  "bg";
20393             target:  "fg1";
20394             target:  "fg2";
20395             target:  "elm.text";
20396             target:  "elm.text.sub";
20397             transition: LINEAR 0.1;
20398          }
20399          program {
20400             name:    "go_disabled";
20401             signal:  "elm,state,disabled";
20402             source:  "elm";
20403             action:  STATE_SET "disabled" 0.0;
20404             target:  "disclip";
20405          }
20406          program {
20407             name:    "go_enabled";
20408             signal:  "elm,state,enabled";
20409             source:  "elm";
20410             action:  STATE_SET "default" 0.0;
20411             target:  "disclip";
20412          }
20413       }
20414    }
20415    group { name: "elm/genlist/item_compress/double_label/default";
20416       data.item: "stacking" "above";
20417       data.item: "selectraise" "on";
20418       data.item: "labels" "elm.text elm.text.sub";
20419       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20420       data.item: "treesize" "20";
20421 //      data.item: "states" "";
20422       images {
20423          image: "bt_sm_base1.png" COMP;
20424          image: "bt_sm_shine.png" COMP;
20425          image: "bt_sm_hilight.png" COMP;
20426          image: "ilist_1.png" COMP;
20427          image: "ilist_item_shadow.png" COMP;
20428       }
20429       parts {
20430          part {
20431             name:           "event";
20432             type:           RECT;
20433             repeat_events: 1;
20434             description {
20435                state: "default" 0.0;
20436                color: 0 0 0 0;
20437             }
20438          }
20439          part {
20440             name: "base_sh";
20441             mouse_events: 0;
20442             description {
20443                state: "default" 0.0;
20444                align: 0.0 0.0;
20445                min: 0 10;
20446                fixed: 1 1;
20447                rel1 {
20448                   to: "base";
20449                   relative: 0.0 1.0;
20450                   offset: 0 0;
20451                }
20452                rel2 {
20453                   to: "base";
20454                   relative: 1.0 1.0;
20455                   offset: -1 0;
20456                }
20457                image {
20458                   normal: "ilist_item_shadow.png";
20459                }
20460                fill.smooth: 0;
20461             }
20462          }
20463          part {
20464             name: "base";
20465             mouse_events: 0;
20466             description {
20467                state: "default" 0.0;
20468                image {
20469                   normal: "ilist_1.png";
20470                   border: 2 2 2 2;
20471                }
20472                fill.smooth: 0;
20473             }
20474          }
20475          part { name: "bg";
20476             clip_to: "disclip";
20477             mouse_events: 0;
20478             description { state: "default" 0.0;
20479                visible: 0;
20480                color: 255 255 255 0;
20481                rel1 {
20482                   relative: 0.0 0.0;
20483                   offset: -5 -5;
20484                }
20485                rel2 {
20486                   relative: 1.0 1.0;
20487                   offset: 4 4;
20488                }
20489                image {
20490                   normal: "bt_sm_base1.png";
20491                   border: 6 6 6 6;
20492                }
20493                image.middle: SOLID;
20494             }
20495             description { state: "selected" 0.0;
20496                inherit: "default" 0.0;
20497                visible: 1;
20498                color: 255 255 255 255;
20499                rel1 {
20500                   relative: 0.0 0.0;
20501                   offset: -2 -2;
20502                }
20503                rel2 {
20504                   relative: 1.0 1.0;
20505                   offset: 1 1;
20506                }
20507             }
20508          }
20509          part { name: "elm.swallow.pad";
20510             type: SWALLOW;
20511             description { state: "default" 0.0;
20512                fixed: 1 0;
20513                align: 0.0 0.5;
20514                rel1 {
20515                   relative: 0.0  0.0;
20516                   offset:   4    4;
20517                }
20518                rel2 {
20519                   relative: 0.0  1.0;
20520                   offset:   4   -5;
20521                }
20522             }
20523          }
20524          part { name: "elm.swallow.icon";
20525             clip_to: "disclip";
20526             type: SWALLOW;
20527             description { state: "default" 0.0;
20528                fixed: 1 0;
20529                align: 0.0 0.5;
20530                rel1 {
20531                   to_x: "elm.swallow.pad";
20532                   relative: 1.0  0.0;
20533                   offset:   -1    4;
20534                }
20535                rel2 {
20536                   to_x: "elm.swallow.pad";
20537                   relative: 1.0  1.0;
20538                   offset:   -1   -5;
20539                }
20540             }
20541          }
20542          part { name: "elm.swallow.end";
20543             clip_to: "disclip";
20544             type: SWALLOW;
20545             description { state: "default" 0.0;
20546                fixed: 1 0;
20547                align: 1.0 0.5;
20548                aspect: 1.0 1.0;
20549                aspect_preference: VERTICAL;
20550                rel1 {
20551                   relative: 1.0  0.0;
20552                   offset:   -5    4;
20553                }
20554                rel2 {
20555                   relative: 1.0  1.0;
20556                   offset:   -5   -5;
20557                }
20558             }
20559          }
20560          part { name: "elm.text";
20561             clip_to: "disclip";
20562             type:           TEXT;
20563             effect:         SOFT_SHADOW;
20564             mouse_events:   0;
20565             scale: 1;
20566             description {
20567                state: "default" 0.0;
20568 //               min: 16 16;
20569                rel1 {
20570                   to_x:     "elm.swallow.icon";
20571                   relative: 1.0  0.0;
20572                   offset:   0 4;
20573                }
20574                rel2 {
20575                   to_x:     "elm.swallow.end";
20576                   relative: 0.0  0.5;
20577                   offset:   -1 -5;
20578                }
20579                color: 0 0 0 255;
20580                color3: 0 0 0 0;
20581                text {
20582                   font: "Sans";
20583                   size: 10;
20584 //                  min: 1 1;
20585                   min: 0 1;
20586                   align: 0.0 0.5;
20587                   text_class: "list_item";
20588                }
20589             }
20590             description { state: "selected" 0.0;
20591                inherit: "default" 0.0;
20592                color: 224 224 224 255;
20593                color3: 0 0 0 64;
20594             }
20595          }
20596          part { name: "elm.text.sub";
20597             clip_to: "disclip";
20598             type:           TEXT;
20599             mouse_events:   0;
20600             scale: 1;
20601             description {
20602                state: "default" 0.0;
20603 //               min: 16 16;
20604                rel1 {
20605                   to_x:     "elm.swallow.icon";
20606                   relative: 1.0  0.5;
20607                   offset:   0 4;
20608                }
20609                rel2 {
20610                   to_x:     "elm.swallow.end";
20611                   relative: 0.0  1.0;
20612                   offset:   -1 -5;
20613                }
20614                color: 0 0 0 128;
20615                color3: 0 0 0 0;
20616                text {
20617                   font: "Sans";
20618                   size: 8;
20619 //                  min: 1 1;
20620                   min: 0 1;
20621                   align: 0.0 0.5;
20622                   text_class: "list_item";
20623                }
20624             }
20625             description { state: "selected" 0.0;
20626                inherit: "default" 0.0;
20627                color: 128 128 128 255;
20628                color3: 0 0 0 32;
20629             }
20630          }
20631          part { name: "fg1";
20632             clip_to: "disclip";
20633             mouse_events: 0;
20634             description { state: "default" 0.0;
20635                visible: 0;
20636                color: 255 255 255 0;
20637                rel1.to: "bg";
20638                rel2.relative: 1.0 0.5;
20639                rel2.to: "bg";
20640                image {
20641                   normal: "bt_sm_hilight.png";
20642                   border: 6 6 6 0;
20643                }
20644             }
20645             description { state: "selected" 0.0;
20646                inherit: "default" 0.0;
20647                visible: 1;
20648                color: 255 255 255 255;
20649             }
20650          }
20651          part { name: "fg2";
20652             clip_to: "disclip";
20653             mouse_events: 0;
20654             description { state: "default" 0.0;
20655                visible: 0;
20656                color: 255 255 255 0;
20657                rel1.to: "bg";
20658                rel2.to: "bg";
20659                image {
20660                   normal: "bt_sm_shine.png";
20661                   border: 6 6 6 0;
20662                }
20663             }
20664             description { state: "selected" 0.0;
20665                inherit: "default" 0.0;
20666                visible: 1;
20667                color: 255 255 255 255;
20668             }
20669          }
20670          part { name: "disclip";
20671             type: RECT;
20672             description { state: "default" 0.0;
20673                rel1.to: "bg";
20674                rel2.to: "bg";
20675             }
20676             description { state: "disabled" 0.0;
20677                inherit: "default" 0.0;
20678                color: 255 255 255 64;
20679             }
20680          }
20681       }
20682       programs {
20683          // signal: elm,state,%s,active
20684          //   a "check" item named %s went active
20685          // signal: elm,state,%s,passive
20686          //   a "check" item named %s went passive
20687          // default is passive
20688          program {
20689             name:    "go_active";
20690             signal:  "elm,state,selected";
20691             source:  "elm";
20692             action:  STATE_SET "selected" 0.0;
20693             target:  "bg";
20694             target:  "fg1";
20695             target:  "fg2";
20696             target:  "elm.text";
20697             target:  "elm.text.sub";
20698          }
20699          program {
20700             name:    "go_passive";
20701             signal:  "elm,state,unselected";
20702             source:  "elm";
20703             action:  STATE_SET "default" 0.0;
20704             target:  "bg";
20705             target:  "fg1";
20706             target:  "fg2";
20707             target:  "elm.text";
20708             target:  "elm.text.sub";
20709             transition: LINEAR 0.1;
20710          }
20711          program {
20712             name:    "go_disabled";
20713             signal:  "elm,state,disabled";
20714             source:  "elm";
20715             action:  STATE_SET "disabled" 0.0;
20716             target:  "disclip";
20717          }
20718          program {
20719             name:    "go_enabled";
20720             signal:  "elm,state,enabled";
20721             source:  "elm";
20722             action:  STATE_SET "default" 0.0;
20723             target:  "disclip";
20724          }
20725       }
20726    }
20727    group { name: "elm/genlist/item_odd/double_label/default";
20728       data.item: "stacking" "below";
20729       data.item: "selectraise" "on";
20730       data.item: "labels" "elm.text elm.text.sub";
20731       data.item: "icons" "elm.swallow.icon elm.swallow.end";
20732       data.item: "treesize" "20";
20733 //      data.item: "states" "";
20734       images {
20735          image: "bt_sm_base1.png" COMP;
20736          image: "bt_sm_shine.png" COMP;
20737          image: "bt_sm_hilight.png" COMP;
20738          image: "ilist_2.png" COMP;
20739       }
20740       parts {
20741          part { name: "event";
20742             type: RECT;
20743             repeat_events: 1;
20744             description {
20745                state: "default" 0.0;
20746                color: 0 0 0 0;
20747             }
20748          }
20749          part {
20750             name: "base";
20751             mouse_events: 0;
20752             description {
20753                state: "default" 0.0;
20754                image {
20755                   normal: "ilist_2.png";
20756                   border: 2 2 2 2;
20757                }
20758                fill.smooth: 0;
20759             }
20760          }
20761          part { name: "bg";
20762             clip_to: "disclip";
20763             mouse_events: 0;
20764             description { state: "default" 0.0;
20765                visible: 0;
20766                color: 255 255 255 0;
20767                rel1 {
20768                   relative: 0.0 0.0;
20769                   offset: -5 -5;
20770                }
20771                rel2 {
20772                   relative: 1.0 1.0;
20773                   offset: 4 4;
20774                }
20775                image {
20776                   normal: "bt_sm_base1.png";
20777                   border: 6 6 6 6;
20778                }
20779                image.middle: SOLID;
20780             }
20781             description { state: "selected" 0.0;
20782                inherit: "default" 0.0;
20783                visible: 1;
20784                color: 255 255 255 255;
20785                rel1 {
20786                   relative: 0.0 0.0;
20787                   offset: -2 -2;
20788                }
20789                rel2 {
20790                   relative: 1.0 1.0;
20791                   offset: 1 1;
20792                }
20793             }
20794          }
20795          part { name: "elm.swallow.pad";
20796             type: SWALLOW;
20797             description { state: "default" 0.0;
20798                fixed: 1 0;
20799                align: 0.0 0.5;
20800                rel1 {
20801                   relative: 0.0  0.0;
20802                   offset:   4    4;
20803                }
20804                rel2 {
20805                   relative: 0.0  1.0;
20806                   offset:   4   -5;
20807                }
20808             }
20809          }
20810          part { name: "elm.swallow.icon";
20811             clip_to: "disclip";
20812             type: SWALLOW;
20813             description { state: "default" 0.0;
20814                fixed: 1 0;
20815                align: 0.0 0.5;
20816                rel1 {
20817                   to_x: "elm.swallow.pad";
20818                   relative: 1.0  0.0;
20819                   offset:   -1    4;
20820                }
20821                rel2 {
20822                   to_x: "elm.swallow.pad";
20823                   relative: 1.0  1.0;
20824                   offset:   -1   -5;
20825                }
20826             }
20827          }
20828          part { name: "elm.swallow.end";
20829             clip_to: "disclip";
20830             type:          SWALLOW;
20831             description { state:    "default" 0.0;
20832                fixed: 1 0;
20833                align:    1.0 0.5;
20834                aspect: 1.0 1.0;
20835                aspect_preference: VERTICAL;
20836                rel1 {
20837                   relative: 1.0  0.0;
20838                   offset:   -5    4;
20839                }
20840                rel2 {
20841                   relative: 1.0  1.0;
20842                   offset:   -5   -5;
20843                }
20844             }
20845          }
20846          part { name: "elm.text";
20847             clip_to: "disclip";
20848             type:           TEXT;
20849             effect:         SOFT_SHADOW;
20850             mouse_events:   0;
20851             scale: 1;
20852             description {
20853                state: "default" 0.0;
20854 //               min: 16 16;
20855                rel1 {
20856                   to_x:     "elm.swallow.icon";
20857                   relative: 1.0  0.0;
20858                   offset:   0 4;
20859                }
20860                rel2 {
20861                   to_x:     "elm.swallow.end";
20862                   relative: 0.0  0.5;
20863                   offset:   -1 -5;
20864                }
20865                color: 0 0 0 255;
20866                color3: 0 0 0 0;
20867                text {
20868                   font: "Sans";
20869                   size: 10;
20870                   min: 1 1;
20871 //                  min: 0 1;
20872                   align: 0.0 0.5;
20873                   text_class: "list_item";
20874                }
20875             }
20876             description { state: "selected" 0.0;
20877                inherit: "default" 0.0;
20878                color: 224 224 224 255;
20879                color3: 0 0 0 64;
20880             }
20881          }
20882          part { name: "elm.text.sub";
20883             clip_to: "disclip";
20884             type:           TEXT;
20885             mouse_events:   0;
20886             scale: 1;
20887             description {
20888                state: "default" 0.0;
20889 //               min: 16 16;
20890                rel1 {
20891                   to_x:     "elm.swallow.icon";
20892                   relative: 1.0  0.5;
20893                   offset:   0 4;
20894                }
20895                rel2 {
20896                   to_x:     "elm.swallow.end";
20897                   relative: 0.0  1.0;
20898                   offset:   -1 -5;
20899                }
20900                color: 0 0 0 128;
20901                color3: 0 0 0 0;
20902                text {
20903                   font: "Sans";
20904                   size: 8;
20905                   min: 1 1;
20906 //                  min: 0 1;
20907                   align: 0.0 0.5;
20908                   text_class: "list_item";
20909                }
20910             }
20911             description { state: "selected" 0.0;
20912                inherit: "default" 0.0;
20913                color: 128 128 128 255;
20914                color3: 0 0 0 32;
20915             }
20916          }
20917          part { name: "fg1";
20918             clip_to: "disclip";
20919             mouse_events: 0;
20920             description { state: "default" 0.0;
20921                visible: 0;
20922                color: 255 255 255 0;
20923                rel1.to: "bg";
20924                rel2.relative: 1.0 0.5;
20925                rel2.to: "bg";
20926                image {
20927                   normal: "bt_sm_hilight.png";
20928                   border: 6 6 6 0;
20929                }
20930             }
20931             description { state: "selected" 0.0;
20932                inherit: "default" 0.0;
20933                visible: 1;
20934                color: 255 255 255 255;
20935             }
20936          }
20937          part { name: "fg2";
20938             clip_to: "disclip";
20939             mouse_events: 0;
20940             description { state: "default" 0.0;
20941                visible: 0;
20942                color: 255 255 255 0;
20943                rel1.to: "bg";
20944                rel2.to: "bg";
20945                image {
20946                   normal: "bt_sm_shine.png";
20947                   border: 6 6 6 0;
20948                }
20949             }
20950             description { state: "selected" 0.0;
20951                inherit: "default" 0.0;
20952                visible: 1;
20953                color: 255 255 255 255;
20954             }
20955          }
20956          part { name: "disclip";
20957             type: RECT;
20958             description { state: "default" 0.0;
20959                rel1.to: "bg";
20960                rel2.to: "bg";
20961             }
20962             description { state: "disabled" 0.0;
20963                inherit: "default" 0.0;
20964                color: 255 255 255 64;
20965             }
20966          }
20967       }
20968       programs {
20969          // signal: elm,state,%s,active
20970          //   a "check" item named %s went active
20971          // signal: elm,state,%s,passive
20972          //   a "check" item named %s went passive
20973          // default is passive
20974          program {
20975             name:    "go_active";
20976             signal:  "elm,state,selected";
20977             source:  "elm";
20978             action:  STATE_SET "selected" 0.0;
20979             target:  "bg";
20980             target:  "fg1";
20981             target:  "fg2";
20982             target:  "elm.text";
20983             target:  "elm.text.sub";
20984          }
20985          program {
20986             name:    "go_passive";
20987             signal:  "elm,state,unselected";
20988             source:  "elm";
20989             action:  STATE_SET "default" 0.0;
20990             target:  "bg";
20991             target:  "fg1";
20992             target:  "fg2";
20993             target:  "elm.text";
20994             target:  "elm.text.sub";
20995             transition: LINEAR 0.1;
20996          }
20997          program {
20998             name:    "go_disabled";
20999             signal:  "elm,state,disabled";
21000             source:  "elm";
21001             action:  STATE_SET "disabled" 0.0;
21002             target:  "disclip";
21003          }
21004          program {
21005             name:    "go_enabled";
21006             signal:  "elm,state,enabled";
21007             source:  "elm";
21008             action:  STATE_SET "default" 0.0;
21009             target:  "disclip";
21010          }
21011       }
21012    }
21013    group { name: "elm/genlist/item_compress_odd/double_label/default";
21014       data.item: "stacking" "below";
21015       data.item: "selectraise" "on";
21016       data.item: "labels" "elm.text elm.text.sub";
21017       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21018       data.item: "treesize" "20";
21019 //      data.item: "states" "";
21020       images {
21021          image: "bt_sm_base1.png" COMP;
21022          image: "bt_sm_shine.png" COMP;
21023          image: "bt_sm_hilight.png" COMP;
21024          image: "ilist_2.png" COMP;
21025       }
21026       parts {
21027          part { name: "event";
21028             type: RECT;
21029             repeat_events: 1;
21030             description {
21031                state: "default" 0.0;
21032                color: 0 0 0 0;
21033             }
21034          }
21035          part {
21036             name: "base";
21037             mouse_events: 0;
21038             description {
21039                state: "default" 0.0;
21040                image {
21041                   normal: "ilist_2.png";
21042                   border: 2 2 2 2;
21043                }
21044                fill.smooth: 0;
21045             }
21046          }
21047          part { name: "bg";
21048             clip_to: "disclip";
21049             mouse_events: 0;
21050             description { state: "default" 0.0;
21051                visible: 0;
21052                color: 255 255 255 0;
21053                rel1 {
21054                   relative: 0.0 0.0;
21055                   offset: -5 -5;
21056                }
21057                rel2 {
21058                   relative: 1.0 1.0;
21059                   offset: 4 4;
21060                }
21061                image {
21062                   normal: "bt_sm_base1.png";
21063                   border: 6 6 6 6;
21064                }
21065                image.middle: SOLID;
21066             }
21067             description { state: "selected" 0.0;
21068                inherit: "default" 0.0;
21069                visible: 1;
21070                color: 255 255 255 255;
21071                rel1 {
21072                   relative: 0.0 0.0;
21073                   offset: -2 -2;
21074                }
21075                rel2 {
21076                   relative: 1.0 1.0;
21077                   offset: 1 1;
21078                }
21079             }
21080          }
21081          part { name: "elm.swallow.pad";
21082             type: SWALLOW;
21083             description { state: "default" 0.0;
21084                fixed: 1 0;
21085                align: 0.0 0.5;
21086                rel1 {
21087                   relative: 0.0  0.0;
21088                   offset:   4    4;
21089                }
21090                rel2 {
21091                   relative: 0.0  1.0;
21092                   offset:   4   -5;
21093                }
21094             }
21095          }
21096          part { name: "elm.swallow.icon";
21097             clip_to: "disclip";
21098             type: SWALLOW;
21099             description { state: "default" 0.0;
21100                fixed: 1 0;
21101                align: 0.0 0.5;
21102                rel1 {
21103                   to_x: "elm.swallow.pad";
21104                   relative: 1.0  0.0;
21105                   offset:   -1    4;
21106                }
21107                rel2 {
21108                   to_x: "elm.swallow.pad";
21109                   relative: 1.0  1.0;
21110                   offset:   -1   -5;
21111                }
21112             }
21113          }
21114          part { name: "elm.swallow.end";
21115             clip_to: "disclip";
21116             type:          SWALLOW;
21117             description { state:    "default" 0.0;
21118                fixed: 1 0;
21119                align:    1.0 0.5;
21120                aspect: 1.0 1.0;
21121                aspect_preference: VERTICAL;
21122                rel1 {
21123                   relative: 1.0  0.0;
21124                   offset:   -5    4;
21125                }
21126                rel2 {
21127                   relative: 1.0  1.0;
21128                   offset:   -5   -5;
21129                }
21130             }
21131          }
21132          part { name: "elm.text";
21133             clip_to: "disclip";
21134             type:           TEXT;
21135             effect:         SOFT_SHADOW;
21136             mouse_events:   0;
21137             scale: 1;
21138             description {
21139                state: "default" 0.0;
21140 //               min: 16 16;
21141                rel1 {
21142                   to_x:     "elm.swallow.icon";
21143                   relative: 1.0  0.0;
21144                   offset:   0 4;
21145                }
21146                rel2 {
21147                   to_x:     "elm.swallow.end";
21148                   relative: 0.0  0.5;
21149                   offset:   -1 -5;
21150                }
21151                color: 0 0 0 255;
21152                color3: 0 0 0 0;
21153                text {
21154                   font: "Sans";
21155                   size: 10;
21156 //                  min: 1 1;
21157                   min: 0 1;
21158                   align: 0.0 0.5;
21159                   text_class: "list_item";
21160                }
21161             }
21162             description { state: "selected" 0.0;
21163                inherit: "default" 0.0;
21164                color: 224 224 224 255;
21165                color3: 0 0 0 64;
21166             }
21167          }
21168          part { name: "elm.text.sub";
21169             clip_to: "disclip";
21170             type:           TEXT;
21171             mouse_events:   0;
21172             scale: 1;
21173             description {
21174                state: "default" 0.0;
21175 //               min: 16 16;
21176                rel1 {
21177                   to_x:     "elm.swallow.icon";
21178                   relative: 1.0  0.5;
21179                   offset:   0 4;
21180                }
21181                rel2 {
21182                   to_x:     "elm.swallow.end";
21183                   relative: 0.0  1.0;
21184                   offset:   -1 -5;
21185                }
21186                color: 0 0 0 128;
21187                color3: 0 0 0 0;
21188                text {
21189                   font: "Sans";
21190                   size: 8;
21191 //                  min: 1 1;
21192                   min: 0 1;
21193                   align: 0.0 0.5;
21194                   text_class: "list_item";
21195                }
21196             }
21197             description { state: "selected" 0.0;
21198                inherit: "default" 0.0;
21199                color: 128 128 128 255;
21200                color3: 0 0 0 32;
21201             }
21202          }
21203          part { name: "fg1";
21204             clip_to: "disclip";
21205             mouse_events: 0;
21206             description { state: "default" 0.0;
21207                visible: 0;
21208                color: 255 255 255 0;
21209                rel1.to: "bg";
21210                rel2.relative: 1.0 0.5;
21211                rel2.to: "bg";
21212                image {
21213                   normal: "bt_sm_hilight.png";
21214                   border: 6 6 6 0;
21215                }
21216             }
21217             description { state: "selected" 0.0;
21218                inherit: "default" 0.0;
21219                visible: 1;
21220                color: 255 255 255 255;
21221             }
21222          }
21223          part { name: "fg2";
21224             clip_to: "disclip";
21225             mouse_events: 0;
21226             description { state: "default" 0.0;
21227                visible: 0;
21228                color: 255 255 255 0;
21229                rel1.to: "bg";
21230                rel2.to: "bg";
21231                image {
21232                   normal: "bt_sm_shine.png";
21233                   border: 6 6 6 0;
21234                }
21235             }
21236             description { state: "selected" 0.0;
21237                inherit: "default" 0.0;
21238                visible: 1;
21239                color: 255 255 255 255;
21240             }
21241          }
21242          part { name: "disclip";
21243             type: RECT;
21244             description { state: "default" 0.0;
21245                rel1.to: "bg";
21246                rel2.to: "bg";
21247             }
21248             description { state: "disabled" 0.0;
21249                inherit: "default" 0.0;
21250                color: 255 255 255 64;
21251             }
21252          }
21253       }
21254       programs {
21255          // signal: elm,state,%s,active
21256          //   a "check" item named %s went active
21257          // signal: elm,state,%s,passive
21258          //   a "check" item named %s went passive
21259          // default is passive
21260          program {
21261             name:    "go_active";
21262             signal:  "elm,state,selected";
21263             source:  "elm";
21264             action:  STATE_SET "selected" 0.0;
21265             target:  "bg";
21266             target:  "fg1";
21267             target:  "fg2";
21268             target:  "elm.text";
21269             target:  "elm.text.sub";
21270          }
21271          program {
21272             name:    "go_passive";
21273             signal:  "elm,state,unselected";
21274             source:  "elm";
21275             action:  STATE_SET "default" 0.0;
21276             target:  "bg";
21277             target:  "fg1";
21278             target:  "fg2";
21279             target:  "elm.text";
21280             target:  "elm.text.sub";
21281             transition: LINEAR 0.1;
21282          }
21283          program {
21284             name:    "go_disabled";
21285             signal:  "elm,state,disabled";
21286             source:  "elm";
21287             action:  STATE_SET "disabled" 0.0;
21288             target:  "disclip";
21289          }
21290          program {
21291             name:    "go_enabled";
21292             signal:  "elm,state,enabled";
21293             source:  "elm";
21294             action:  STATE_SET "default" 0.0;
21295             target:  "disclip";
21296          }
21297       }
21298    }
21299
21300    group { name: "elm/genlist/tree/double_label/default";
21301       data.item: "stacking" "above";
21302       data.item: "selectraise" "on";
21303       data.item: "labels" "elm.text elm.text.sub";
21304       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21305       data.item: "treesize" "20";
21306 //      data.item: "states" "";
21307       images {
21308          image: "bt_sm_base1.png" COMP;
21309          image: "bt_sm_shine.png" COMP;
21310          image: "bt_sm_hilight.png" COMP;
21311          image: "ilist_1.png" COMP;
21312          image: "ilist_item_shadow.png" COMP;
21313          image: "icon_arrow_right.png" COMP;
21314          image: "icon_arrow_down.png" COMP;
21315       }
21316       parts {
21317          part {
21318             name:           "event";
21319             type:           RECT;
21320             repeat_events: 1;
21321             description {
21322                state: "default" 0.0;
21323                color: 0 0 0 0;
21324             }
21325          }
21326          part {
21327             name: "base_sh";
21328             mouse_events: 0;
21329             description {
21330                state: "default" 0.0;
21331                align: 0.0 0.0;
21332                min: 0 10;
21333                fixed: 1 1;
21334                rel1 {
21335                   to: "base";
21336                   relative: 0.0 1.0;
21337                   offset: 0 0;
21338                }
21339                rel2 {
21340                   to: "base";
21341                   relative: 1.0 1.0;
21342                   offset: -1 0;
21343                }
21344                image {
21345                   normal: "ilist_item_shadow.png";
21346                }
21347                fill.smooth: 0;
21348             }
21349          }
21350          part {
21351             name: "base";
21352             mouse_events: 0;
21353             description {
21354                state: "default" 0.0;
21355                image {
21356                   normal: "ilist_1.png";
21357                   border: 2 2 2 2;
21358                }
21359                fill.smooth: 0;
21360             }
21361          }
21362          part { name: "bg";
21363             clip_to: "disclip";
21364             mouse_events: 0;
21365             description { state: "default" 0.0;
21366                visible: 0;
21367                color: 255 255 255 0;
21368                rel1 {
21369                   relative: 0.0 0.0;
21370                   offset: -5 -5;
21371                }
21372                rel2 {
21373                   relative: 1.0 1.0;
21374                   offset: 4 4;
21375                }
21376                image {
21377                   normal: "bt_sm_base1.png";
21378                   border: 6 6 6 6;
21379                }
21380                image.middle: SOLID;
21381             }
21382             description { state: "selected" 0.0;
21383                inherit: "default" 0.0;
21384                visible: 1;
21385                color: 255 255 255 255;
21386                rel1 {
21387                   relative: 0.0 0.0;
21388                   offset: -2 -2;
21389                }
21390                rel2 {
21391                   relative: 1.0 1.0;
21392                   offset: 1 1;
21393                }
21394             }
21395          }
21396          part { name: "elm.swallow.pad";
21397             type: SWALLOW;
21398             description { state: "default" 0.0;
21399                fixed: 1 0;
21400                align: 0.0 0.5;
21401                rel1 {
21402                   relative: 0.0  0.0;
21403                   offset:   4    4;
21404                }
21405                rel2 {
21406                   relative: 0.0  1.0;
21407                   offset:   4   -5;
21408                }
21409             }
21410          }
21411          part { name: "arrow";
21412             clip_to: "disclip";
21413             ignore_flags: ON_HOLD;
21414             description { state: "default" 0.0;
21415                fixed: 1 0;
21416                align: 0.0 0.5;
21417                aspect: 1.0 1.0;
21418                rel1 {
21419                   to_x: "elm.swallow.pad";
21420                   relative: 1.0  0.0;
21421                   offset:   -1    4;
21422                }
21423                rel2 {
21424                   to_x: "elm.swallow.pad";
21425                   relative: 1.0  1.0;
21426                   offset:   -1   -5;
21427                }
21428                image.normal: "icon_arrow_right.png";
21429             }
21430             description { state: "active" 0.0;
21431                inherit: "default" 0.0;
21432                image.normal: "icon_arrow_down.png";
21433             }
21434          }
21435          part { name: "elm.swallow.icon";
21436             clip_to: "disclip";
21437             type: SWALLOW;
21438             description { state: "default" 0.0;
21439                fixed: 1 0;
21440                align: 0.0 0.5;
21441                rel1 {
21442                   to_x: "arrow";
21443                   relative: 1.0  0.0;
21444                   offset:   4    4;
21445                }
21446                rel2 {
21447                   to_x: "arrow";
21448                   relative: 1.0  1.0;
21449                   offset:   4   -5;
21450                }
21451             }
21452          }
21453          part { name: "elm.swallow.end";
21454             clip_to: "disclip";
21455             type: SWALLOW;
21456             description { state: "default" 0.0;
21457                fixed: 1 0;
21458                align: 1.0 0.5;
21459                aspect: 1.0 1.0;
21460                aspect_preference: VERTICAL;
21461                rel1 {
21462                   relative: 1.0  0.0;
21463                   offset:   -5    4;
21464                }
21465                rel2 {
21466                   relative: 1.0  1.0;
21467                   offset:   -5   -5;
21468                }
21469             }
21470          }
21471          part { name: "elm.text";
21472             clip_to: "disclip";
21473             type:           TEXT;
21474             effect:         SOFT_SHADOW;
21475             mouse_events:   0;
21476             scale: 1;
21477             description {
21478                state: "default" 0.0;
21479 //               min: 16 16;
21480                rel1 {
21481                   to_x:     "elm.swallow.icon";
21482                   relative: 1.0  0.0;
21483                   offset:   0 4;
21484                }
21485                rel2 {
21486                   to_x:     "elm.swallow.end";
21487                   relative: 0.0  0.5;
21488                   offset:   -1 -5;
21489                }
21490                color: 0 0 0 255;
21491                color3: 0 0 0 0;
21492                text {
21493                   font: "Sans";
21494                   size: 10;
21495                   min: 1 1;
21496 //                  min: 0 1;
21497                   align: 0.0 0.5;
21498                   text_class: "list_item";
21499                }
21500             }
21501             description { state: "selected" 0.0;
21502                inherit: "default" 0.0;
21503                color: 224 224 224 255;
21504                color3: 0 0 0 64;
21505             }
21506          }
21507          part { name: "elm.text.sub";
21508             clip_to: "disclip";
21509             type:           TEXT;
21510             mouse_events:   0;
21511             scale: 1;
21512             description {
21513                state: "default" 0.0;
21514 //               min: 16 16;
21515                rel1 {
21516                   to_x:     "elm.swallow.icon";
21517                   relative: 1.0  0.5;
21518                   offset:   0 4;
21519                }
21520                rel2 {
21521                   to_x:     "elm.swallow.end";
21522                   relative: 0.0  1.0;
21523                   offset:   -1 -5;
21524                }
21525                color: 0 0 0 128;
21526                color3: 0 0 0 0;
21527                text {
21528                   font: "Sans";
21529                   size: 8;
21530                   min: 1 1;
21531 //                  min: 0 1;
21532                   align: 0.0 0.5;
21533                   text_class: "list_item";
21534                }
21535             }
21536             description { state: "selected" 0.0;
21537                inherit: "default" 0.0;
21538                color: 128 128 128 255;
21539                color3: 0 0 0 32;
21540             }
21541          }
21542          part { name: "fg1";
21543             clip_to: "disclip";
21544             mouse_events: 0;
21545             description { state: "default" 0.0;
21546                visible: 0;
21547                color: 255 255 255 0;
21548                rel1.to: "bg";
21549                rel2.relative: 1.0 0.5;
21550                rel2.to: "bg";
21551                image {
21552                   normal: "bt_sm_hilight.png";
21553                   border: 6 6 6 0;
21554                }
21555             }
21556             description { state: "selected" 0.0;
21557                inherit: "default" 0.0;
21558                visible: 1;
21559                color: 255 255 255 255;
21560             }
21561          }
21562          part { name: "fg2";
21563             clip_to: "disclip";
21564             mouse_events: 0;
21565             description { state: "default" 0.0;
21566                visible: 0;
21567                color: 255 255 255 0;
21568                rel1.to: "bg";
21569                rel2.to: "bg";
21570                image {
21571                   normal: "bt_sm_shine.png";
21572                   border: 6 6 6 0;
21573                }
21574             }
21575             description { state: "selected" 0.0;
21576                inherit: "default" 0.0;
21577                visible: 1;
21578                color: 255 255 255 255;
21579             }
21580          }
21581          part { name: "disclip";
21582             type: RECT;
21583             description { state: "default" 0.0;
21584                rel1.to: "bg";
21585                rel2.to: "bg";
21586             }
21587             description { state: "disabled" 0.0;
21588                inherit: "default" 0.0;
21589                color: 255 255 255 64;
21590             }
21591          }
21592       }
21593       programs {
21594          // signal: elm,state,%s,active
21595          //   a "check" item named %s went active
21596          // signal: elm,state,%s,passive
21597          //   a "check" item named %s went passive
21598          // default is passive
21599          program {
21600             name:    "go_active";
21601             signal:  "elm,state,selected";
21602             source:  "elm";
21603             action:  STATE_SET "selected" 0.0;
21604             target:  "bg";
21605             target:  "fg1";
21606             target:  "fg2";
21607             target:  "elm.text";
21608             target:  "elm.text.sub";
21609          }
21610          program {
21611             name:    "go_passive";
21612             signal:  "elm,state,unselected";
21613             source:  "elm";
21614             action:  STATE_SET "default" 0.0;
21615             target:  "bg";
21616             target:  "fg1";
21617             target:  "fg2";
21618             target:  "elm.text";
21619             target:  "elm.text.sub";
21620             transition: LINEAR 0.1;
21621          }
21622          program {
21623             name:    "go_disabled";
21624             signal:  "elm,state,disabled";
21625             source:  "elm";
21626             action:  STATE_SET "disabled" 0.0;
21627             target:  "disclip";
21628          }
21629          program {
21630             name:    "go_enabled";
21631             signal:  "elm,state,enabled";
21632             source:  "elm";
21633             action:  STATE_SET "default" 0.0;
21634             target:  "disclip";
21635          }
21636          program {
21637             name:    "expand";
21638             signal:  "mouse,up,1";
21639             source:  "arrow";
21640             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21641          }
21642          program {
21643             name:    "go_expanded";
21644             signal:  "elm,state,expanded";
21645             source:  "elm";
21646             action:  STATE_SET "active" 0.0;
21647             target:  "arrow";
21648          }
21649          program {
21650             name:    "go_contracted";
21651             signal:  "elm,state,contracted";
21652             source:  "elm";
21653             action:  STATE_SET "default" 0.0;
21654             target:  "arrow";
21655          }
21656       }
21657    }
21658    group { name: "elm/genlist/tree_compress/double_label/default";
21659       data.item: "stacking" "above";
21660       data.item: "selectraise" "on";
21661       data.item: "labels" "elm.text elm.text.sub";
21662       data.item: "icons" "elm.swallow.icon elm.swallow.end";
21663       data.item: "treesize" "20";
21664 //      data.item: "states" "";
21665       images {
21666          image: "bt_sm_base1.png" COMP;
21667          image: "bt_sm_shine.png" COMP;
21668          image: "bt_sm_hilight.png" COMP;
21669          image: "ilist_1.png" COMP;
21670          image: "ilist_item_shadow.png" COMP;
21671          image: "icon_arrow_right.png" COMP;
21672          image: "icon_arrow_down.png" COMP;
21673       }
21674       parts {
21675          part {
21676             name:           "event";
21677             type:           RECT;
21678             repeat_events: 1;
21679             description {
21680                state: "default" 0.0;
21681                color: 0 0 0 0;
21682             }
21683          }
21684          part {
21685             name: "base_sh";
21686             mouse_events: 0;
21687             description {
21688                state: "default" 0.0;
21689                align: 0.0 0.0;
21690                min: 0 10;
21691                fixed: 1 1;
21692                rel1 {
21693                   to: "base";
21694                   relative: 0.0 1.0;
21695                   offset: 0 0;
21696                }
21697                rel2 {
21698                   to: "base";
21699                   relative: 1.0 1.0;
21700                   offset: -1 0;
21701                }
21702                image {
21703                   normal: "ilist_item_shadow.png";
21704                }
21705                fill.smooth: 0;
21706             }
21707          }
21708          part {
21709             name: "base";
21710             mouse_events: 0;
21711             description {
21712                state: "default" 0.0;
21713                image {
21714                   normal: "ilist_1.png";
21715                   border: 2 2 2 2;
21716                }
21717                fill.smooth: 0;
21718             }
21719          }
21720          part { name: "bg";
21721             clip_to: "disclip";
21722             mouse_events: 0;
21723             description { state: "default" 0.0;
21724                visible: 0;
21725                color: 255 255 255 0;
21726                rel1 {
21727                   relative: 0.0 0.0;
21728                   offset: -5 -5;
21729                }
21730                rel2 {
21731                   relative: 1.0 1.0;
21732                   offset: 4 4;
21733                }
21734                image {
21735                   normal: "bt_sm_base1.png";
21736                   border: 6 6 6 6;
21737                }
21738                image.middle: SOLID;
21739             }
21740             description { state: "selected" 0.0;
21741                inherit: "default" 0.0;
21742                visible: 1;
21743                color: 255 255 255 255;
21744                rel1 {
21745                   relative: 0.0 0.0;
21746                   offset: -2 -2;
21747                }
21748                rel2 {
21749                   relative: 1.0 1.0;
21750                   offset: 1 1;
21751                }
21752             }
21753          }
21754          part { name: "elm.swallow.pad";
21755             type: SWALLOW;
21756             description { state: "default" 0.0;
21757                fixed: 1 0;
21758                align: 0.0 0.5;
21759                rel1 {
21760                   relative: 0.0  0.0;
21761                   offset:   4    4;
21762                }
21763                rel2 {
21764                   relative: 0.0  1.0;
21765                   offset:   4   -5;
21766                }
21767             }
21768          }
21769          part { name: "arrow";
21770             clip_to: "disclip";
21771             ignore_flags: ON_HOLD;
21772             description { state: "default" 0.0;
21773                fixed: 1 0;
21774                align: 0.0 0.5;
21775                aspect: 1.0 1.0;
21776                rel1 {
21777                   to_x: "elm.swallow.pad";
21778                   relative: 1.0  0.0;
21779                   offset:   -1    4;
21780                }
21781                rel2 {
21782                   to_x: "elm.swallow.pad";
21783                   relative: 1.0  1.0;
21784                   offset:   -1   -5;
21785                }
21786                image.normal: "icon_arrow_right.png";
21787             }
21788             description { state: "active" 0.0;
21789                inherit: "default" 0.0;
21790                image.normal: "icon_arrow_down.png";
21791             }
21792          }
21793          part { name: "elm.swallow.icon";
21794             clip_to: "disclip";
21795             type: SWALLOW;
21796             description { state: "default" 0.0;
21797                fixed: 1 0;
21798                align: 0.0 0.5;
21799                rel1 {
21800                   to_x: "arrow";
21801                   relative: 1.0  0.0;
21802                   offset:   4    4;
21803                }
21804                rel2 {
21805                   to_x: "arrow";
21806                   relative: 1.0  1.0;
21807                   offset:   4   -5;
21808                }
21809             }
21810          }
21811          part { name: "elm.swallow.end";
21812             clip_to: "disclip";
21813             type: SWALLOW;
21814             description { state: "default" 0.0;
21815                fixed: 1 0;
21816                align: 1.0 0.5;
21817                aspect: 1.0 1.0;
21818                aspect_preference: VERTICAL;
21819                rel1 {
21820                   relative: 1.0  0.0;
21821                   offset:   -5    4;
21822                }
21823                rel2 {
21824                   relative: 1.0  1.0;
21825                   offset:   -5   -5;
21826                }
21827             }
21828          }
21829          part { name: "elm.text";
21830             clip_to: "disclip";
21831             type:           TEXT;
21832             effect:         SOFT_SHADOW;
21833             mouse_events:   0;
21834             scale: 1;
21835             description {
21836                state: "default" 0.0;
21837 //               min: 16 16;
21838                rel1 {
21839                   to_x:     "elm.swallow.icon";
21840                   relative: 1.0  0.0;
21841                   offset:   0 4;
21842                }
21843                rel2 {
21844                   to_x:     "elm.swallow.end";
21845                   relative: 0.0  0.5;
21846                   offset:   -1 -5;
21847                }
21848                color: 0 0 0 255;
21849                color3: 0 0 0 0;
21850                text {
21851                   font: "Sans";
21852                   size: 10;
21853 //                  min: 1 1;
21854                   min: 0 1;
21855                   align: 0.0 0.5;
21856                   text_class: "list_item";
21857                }
21858             }
21859             description { state: "selected" 0.0;
21860                inherit: "default" 0.0;
21861                color: 224 224 224 255;
21862                color3: 0 0 0 64;
21863             }
21864          }
21865          part { name: "elm.text.sub";
21866             clip_to: "disclip";
21867             type:           TEXT;
21868             mouse_events:   0;
21869             scale: 1;
21870             description {
21871                state: "default" 0.0;
21872 //               min: 16 16;
21873                rel1 {
21874                   to_x:     "elm.swallow.icon";
21875                   relative: 1.0  0.5;
21876                   offset:   0 4;
21877                }
21878                rel2 {
21879                   to_x:     "elm.swallow.end";
21880                   relative: 0.0  1.0;
21881                   offset:   -1 -5;
21882                }
21883                color: 0 0 0 128;
21884                color3: 0 0 0 0;
21885                text {
21886                   font: "Sans";
21887                   size: 8;
21888 //                  min: 1 1;
21889                   min: 0 1;
21890                   align: 0.0 0.5;
21891                   text_class: "list_item";
21892                }
21893             }
21894             description { state: "selected" 0.0;
21895                inherit: "default" 0.0;
21896                color: 128 128 128 255;
21897                color3: 0 0 0 32;
21898             }
21899          }
21900          part { name: "fg1";
21901             clip_to: "disclip";
21902             mouse_events: 0;
21903             description { state: "default" 0.0;
21904                visible: 0;
21905                color: 255 255 255 0;
21906                rel1.to: "bg";
21907                rel2.relative: 1.0 0.5;
21908                rel2.to: "bg";
21909                image {
21910                   normal: "bt_sm_hilight.png";
21911                   border: 6 6 6 0;
21912                }
21913             }
21914             description { state: "selected" 0.0;
21915                inherit: "default" 0.0;
21916                visible: 1;
21917                color: 255 255 255 255;
21918             }
21919          }
21920          part { name: "fg2";
21921             clip_to: "disclip";
21922             mouse_events: 0;
21923             description { state: "default" 0.0;
21924                visible: 0;
21925                color: 255 255 255 0;
21926                rel1.to: "bg";
21927                rel2.to: "bg";
21928                image {
21929                   normal: "bt_sm_shine.png";
21930                   border: 6 6 6 0;
21931                }
21932             }
21933             description { state: "selected" 0.0;
21934                inherit: "default" 0.0;
21935                visible: 1;
21936                color: 255 255 255 255;
21937             }
21938          }
21939          part { name: "disclip";
21940             type: RECT;
21941             description { state: "default" 0.0;
21942                rel1.to: "bg";
21943                rel2.to: "bg";
21944             }
21945             description { state: "disabled" 0.0;
21946                inherit: "default" 0.0;
21947                color: 255 255 255 64;
21948             }
21949          }
21950       }
21951       programs {
21952          // signal: elm,state,%s,active
21953          //   a "check" item named %s went active
21954          // signal: elm,state,%s,passive
21955          //   a "check" item named %s went passive
21956          // default is passive
21957          program {
21958             name:    "go_active";
21959             signal:  "elm,state,selected";
21960             source:  "elm";
21961             action:  STATE_SET "selected" 0.0;
21962             target:  "bg";
21963             target:  "fg1";
21964             target:  "fg2";
21965             target:  "elm.text";
21966             target:  "elm.text.sub";
21967          }
21968          program {
21969             name:    "go_passive";
21970             signal:  "elm,state,unselected";
21971             source:  "elm";
21972             action:  STATE_SET "default" 0.0;
21973             target:  "bg";
21974             target:  "fg1";
21975             target:  "fg2";
21976             target:  "elm.text";
21977             target:  "elm.text.sub";
21978             transition: LINEAR 0.1;
21979          }
21980          program {
21981             name:    "go_disabled";
21982             signal:  "elm,state,disabled";
21983             source:  "elm";
21984             action:  STATE_SET "disabled" 0.0;
21985             target:  "disclip";
21986          }
21987          program {
21988             name:    "go_enabled";
21989             signal:  "elm,state,enabled";
21990             source:  "elm";
21991             action:  STATE_SET "default" 0.0;
21992             target:  "disclip";
21993          }
21994          program {
21995             name:    "expand";
21996             signal:  "mouse,up,1";
21997             source:  "arrow";
21998             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
21999          }
22000          program {
22001             name:    "go_expanded";
22002             signal:  "elm,state,expanded";
22003             source:  "elm";
22004             action:  STATE_SET "active" 0.0;
22005             target:  "arrow";
22006          }
22007          program {
22008             name:    "go_contracted";
22009             signal:  "elm,state,contracted";
22010             source:  "elm";
22011             action:  STATE_SET "default" 0.0;
22012             target:  "arrow";
22013          }
22014       }
22015    }
22016    group { name: "elm/genlist/tree_odd/double_label/default";
22017       data.item: "stacking" "below";
22018       data.item: "selectraise" "on";
22019       data.item: "labels" "elm.text elm.text.sub";
22020       data.item: "icons" "elm.swallow.icon elm.swallow.end";
22021       data.item: "treesize" "20";
22022 //      data.item: "states" "";
22023       images {
22024          image: "bt_sm_base1.png" COMP;
22025          image: "bt_sm_shine.png" COMP;
22026          image: "bt_sm_hilight.png" COMP;
22027          image: "ilist_2.png" COMP;
22028          image: "icon_arrow_right.png" COMP;
22029          image: "icon_arrow_down.png" COMP;
22030       }
22031       parts {
22032          part {
22033             name:           "event";
22034             type:           RECT;
22035             repeat_events: 1;
22036             description {
22037                state: "default" 0.0;
22038                color: 0 0 0 0;
22039             }
22040          }
22041          part {
22042             name: "base";
22043             mouse_events: 0;
22044             description {
22045                state: "default" 0.0;
22046                image {
22047                   normal: "ilist_2.png";
22048                   border: 2 2 2 2;
22049                }
22050                fill.smooth: 0;
22051             }
22052          }
22053          part { name: "bg";
22054             clip_to: "disclip";
22055             mouse_events: 0;
22056             description { state: "default" 0.0;
22057                visible: 0;
22058                color: 255 255 255 0;
22059                rel1 {
22060                   relative: 0.0 0.0;
22061                   offset: -5 -5;
22062                }
22063                rel2 {
22064                   relative: 1.0 1.0;
22065                   offset: 4 4;
22066                }
22067                image {
22068                   normal: "bt_sm_base1.png";
22069                   border: 6 6 6 6;
22070                }
22071                image.middle: SOLID;
22072             }
22073             description { state: "selected" 0.0;
22074                inherit: "default" 0.0;
22075                visible: 1;
22076                color: 255 255 255 255;
22077                rel1 {
22078                   relative: 0.0 0.0;
22079                   offset: -2 -2;
22080                }
22081                rel2 {
22082                   relative: 1.0 1.0;
22083                   offset: 1 1;
22084                }
22085             }
22086          }
22087          part { name: "elm.swallow.pad";
22088             type: SWALLOW;
22089             description { state: "default" 0.0;
22090                fixed: 1 0;
22091                align: 0.0 0.5;
22092                rel1 {
22093                   relative: 0.0  0.0;
22094                   offset:   4    4;
22095                }
22096                rel2 {
22097                   relative: 0.0  1.0;
22098                   offset:   4   -5;
22099                }
22100             }
22101          }
22102          part { name: "arrow";
22103             clip_to: "disclip";
22104             ignore_flags: ON_HOLD;
22105             description { state: "default" 0.0;
22106                fixed: 1 0;
22107                align: 0.0 0.5;
22108                aspect: 1.0 1.0;
22109                rel1 {
22110                   to_x: "elm.swallow.pad";
22111                   relative: 1.0  0.0;
22112                   offset:   -1    4;
22113                }
22114                rel2 {
22115                   to_x: "elm.swallow.pad";
22116                   relative: 1.0  1.0;
22117                   offset:   -1   -5;
22118                }
22119                image.normal: "icon_arrow_right.png";
22120             }
22121             description { state: "active" 0.0;
22122                inherit: "default" 0.0;
22123                image.normal: "icon_arrow_down.png";
22124             }
22125          }
22126          part { name: "elm.swallow.icon";
22127             clip_to: "disclip";
22128             type: SWALLOW;
22129             description { state: "default" 0.0;
22130                fixed: 1 0;
22131                align: 0.0 0.5;
22132                rel1 {
22133                   to_x: "arrow";
22134                   relative: 1.0  0.0;
22135                   offset:   4    4;
22136                }
22137                rel2 {
22138                   to_x: "arrow";
22139                   relative: 1.0  1.0;
22140                   offset:   4   -5;
22141                }
22142             }
22143          }
22144          part { name: "elm.swallow.end";
22145             clip_to: "disclip";
22146             type: SWALLOW;
22147             description { state: "default" 0.0;
22148                fixed: 1 0;
22149                align: 1.0 0.5;
22150                aspect: 1.0 1.0;
22151                aspect_preference: VERTICAL;
22152                rel1 {
22153                   relative: 1.0  0.0;
22154                   offset:   -5    4;
22155                }
22156                rel2 {
22157                   relative: 1.0  1.0;
22158                   offset:   -5   -5;
22159                }
22160             }
22161          }
22162          part { name: "elm.text";
22163             clip_to: "disclip";
22164             type:           TEXT;
22165             effect:         SOFT_SHADOW;
22166             mouse_events:   0;
22167             scale: 1;
22168             description {
22169                state: "default" 0.0;
22170 //               min: 16 16;
22171                rel1 {
22172                   to_x:     "elm.swallow.icon";
22173                   relative: 1.0  0.0;
22174                   offset:   0 4;
22175                }
22176                rel2 {
22177                   to_x:     "elm.swallow.end";
22178                   relative: 0.0  0.5;
22179                   offset:   -1 -5;
22180                }
22181                color: 0 0 0 255;
22182                color3: 0 0 0 0;
22183                text {
22184                   font: "Sans";
22185                   size: 10;
22186                   min: 1 1;
22187 //                  min: 0 1;
22188                   align: 0.0 0.5;
22189                   text_class: "list_item";
22190                }
22191             }
22192             description { state: "selected" 0.0;
22193                inherit: "default" 0.0;
22194                color: 224 224 224 255;
22195                color3: 0 0 0 64;
22196             }
22197          }
22198          part { name: "elm.text.sub";
22199             clip_to: "disclip";
22200             type:           TEXT;
22201             mouse_events:   0;
22202             scale: 1;
22203             description {
22204                state: "default" 0.0;
22205 //               min: 16 16;
22206                rel1 {
22207                   to_x:     "elm.swallow.icon";
22208                   relative: 1.0  0.5;
22209                   offset:   0 4;
22210                }
22211                rel2 {
22212                   to_x:     "elm.swallow.end";
22213                   relative: 0.0  1.0;
22214                   offset:   -1 -5;
22215                }
22216                color: 0 0 0 128;
22217                color3: 0 0 0 0;
22218                text {
22219                   font: "Sans";
22220                   size: 8;
22221                   min: 1 1;
22222 //                  min: 0 1;
22223                   align: 0.0 0.5;
22224                   text_class: "list_item";
22225                }
22226             }
22227             description { state: "selected" 0.0;
22228                inherit: "default" 0.0;
22229                color: 128 128 128 255;
22230                color3: 0 0 0 32;
22231             }
22232          }
22233          part { name: "fg1";
22234             clip_to: "disclip";
22235             mouse_events: 0;
22236             description { state: "default" 0.0;
22237                visible: 0;
22238                color: 255 255 255 0;
22239                rel1.to: "bg";
22240                rel2.relative: 1.0 0.5;
22241                rel2.to: "bg";
22242                image {
22243                   normal: "bt_sm_hilight.png";
22244                   border: 6 6 6 0;
22245                }
22246             }
22247             description { state: "selected" 0.0;
22248                inherit: "default" 0.0;
22249                visible: 1;
22250                color: 255 255 255 255;
22251             }
22252          }
22253          part { name: "fg2";
22254             clip_to: "disclip";
22255             mouse_events: 0;
22256             description { state: "default" 0.0;
22257                visible: 0;
22258                color: 255 255 255 0;
22259                rel1.to: "bg";
22260                rel2.to: "bg";
22261                image {
22262                   normal: "bt_sm_shine.png";
22263                   border: 6 6 6 0;
22264                }
22265             }
22266             description { state: "selected" 0.0;
22267                inherit: "default" 0.0;
22268                visible: 1;
22269                color: 255 255 255 255;
22270             }
22271          }
22272          part { name: "disclip";
22273             type: RECT;
22274             description { state: "default" 0.0;
22275                rel1.to: "bg";
22276                rel2.to: "bg";
22277             }
22278             description { state: "disabled" 0.0;
22279                inherit: "default" 0.0;
22280                color: 255 255 255 64;
22281             }
22282          }
22283       }
22284       programs {
22285          // signal: elm,state,%s,active
22286          //   a "check" item named %s went active
22287          // signal: elm,state,%s,passive
22288          //   a "check" item named %s went passive
22289          // default is passive
22290          program {
22291             name:    "go_active";
22292             signal:  "elm,state,selected";
22293             source:  "elm";
22294             action:  STATE_SET "selected" 0.0;
22295             target:  "bg";
22296             target:  "fg1";
22297             target:  "fg2";
22298             target:  "elm.text";
22299             target:  "elm.text.sub";
22300          }
22301          program {
22302             name:    "go_passive";
22303             signal:  "elm,state,unselected";
22304             source:  "elm";
22305             action:  STATE_SET "default" 0.0;
22306             target:  "bg";
22307             target:  "fg1";
22308             target:  "fg2";
22309             target:  "elm.text";
22310             target:  "elm.text.sub";
22311             transition: LINEAR 0.1;
22312          }
22313          program {
22314             name:    "go_disabled";
22315             signal:  "elm,state,disabled";
22316             source:  "elm";
22317             action:  STATE_SET "disabled" 0.0;
22318             target:  "disclip";
22319          }
22320          program {
22321             name:    "go_enabled";
22322             signal:  "elm,state,enabled";
22323             source:  "elm";
22324             action:  STATE_SET "default" 0.0;
22325             target:  "disclip";
22326          }
22327          program {
22328             name:    "expand";
22329             signal:  "mouse,up,1";
22330             source:  "arrow";
22331             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
22332          }
22333          program {
22334             name:    "go_expanded";
22335             signal:  "elm,state,expanded";
22336             source:  "elm";
22337             action:  STATE_SET "active" 0.0;
22338             target:  "arrow";
22339          }
22340          program {
22341             name:    "go_contracted";
22342             signal:  "elm,state,contracted";
22343             source:  "elm";
22344             action:  STATE_SET "default" 0.0;
22345             target:  "arrow";
22346          }
22347       }
22348    }
22349
22350    group { name: "elm/genlist/item/icon_top_text_bottom/default";
22351       data.item: "stacking" "above";
22352       data.item: "selectraise" "on";
22353       data.item: "labels" "elm.text";
22354       data.item: "icons" "elm.swallow.icon";
22355       data.item: "treesize" "20";
22356 //      data.item: "states" "";
22357       images {
22358          image: "bt_sm_base1.png" COMP;
22359          image: "bt_sm_shine.png" COMP;
22360          image: "bt_sm_hilight.png" COMP;
22361          image: "ilist_1.png" COMP;
22362          image: "ilist_item_shadow.png" COMP;
22363       }
22364       parts {
22365          part {
22366             name:           "event";
22367             type:           RECT;
22368             repeat_events: 1;
22369             description {
22370                state: "default" 0.0;
22371                color: 0 0 0 0;
22372             }
22373          }
22374          part {
22375             name: "base_sh";
22376             mouse_events: 0;
22377             description {
22378                state: "default" 0.0;
22379                align: 0.0 0.0;
22380                min: 0 10;
22381                fixed: 1 1;
22382                rel1 {
22383                   to: "base";
22384                   relative: 0.0 1.0;
22385                   offset: 0 0;
22386                }
22387                rel2 {
22388                   to: "base";
22389                   relative: 1.0 1.0;
22390                   offset: -1 0;
22391                }
22392                image {
22393                   normal: "ilist_item_shadow.png";
22394                }
22395                fill.smooth: 0;
22396             }
22397          }
22398          part {
22399             name: "base";
22400             mouse_events: 0;
22401             description {
22402                state: "default" 0.0;
22403                image {
22404                   normal: "ilist_1.png";
22405                   border: 2 2 2 2;
22406                }
22407                fill.smooth: 0;
22408             }
22409          }
22410          part { name: "bg";
22411             clip_to: "disclip";
22412             mouse_events: 0;
22413             description { state: "default" 0.0;
22414                visible: 0;
22415                color: 255 255 255 0;
22416                rel1 {
22417                   relative: 0.0 0.0;
22418                   offset: -5 -5;
22419                }
22420                rel2 {
22421                   relative: 1.0 1.0;
22422                   offset: 4 4;
22423                }
22424                image {
22425                   normal: "bt_sm_base1.png";
22426                   border: 6 6 6 6;
22427                }
22428                image.middle: SOLID;
22429             }
22430             description { state: "selected" 0.0;
22431                inherit: "default" 0.0;
22432                visible: 1;
22433                color: 255 255 255 255;
22434                rel1 {
22435                   relative: 0.0 0.0;
22436                   offset: -2 -2;
22437                }
22438                rel2 {
22439                   relative: 1.0 1.0;
22440                   offset: 1 1;
22441                }
22442             }
22443          }
22444          part { name: "elm.swallow.pad";
22445             type: SWALLOW;
22446             description { state: "default" 0.0;
22447                fixed: 1 0;
22448                align: 0.0 0.5;
22449                rel1 {
22450                   relative: 0.0  0.0;
22451                   offset:   4    4;
22452                }
22453                rel2 {
22454                   relative: 1.0  1.0;
22455                   offset:   -4   -5;
22456                }
22457             }
22458          }
22459          part { name: "elm.swallow.icon";
22460             clip_to: "disclip";
22461             type: SWALLOW;
22462             description { state: "default" 0.0;
22463                fixed: 1 0;
22464                align: 0.5 0.5;
22465                rel1 {
22466                   to_x: "elm.swallow.pad";
22467                   relative: 0.0  0.0;
22468                   offset:   -1    4;
22469                }
22470                rel2 {
22471                   to_x: "elm.swallow.pad";
22472                   relative: 1.0  1.0;
22473                   offset:   -1   -5;
22474                }
22475             }
22476          }
22477          part { name: "elm.text";
22478             clip_to: "disclip";
22479             type:           TEXT;
22480             effect:         SOFT_SHADOW;
22481             mouse_events:   0;
22482             scale: 1;
22483             description {
22484                state: "default" 0.0;
22485 //               min: 16 16;
22486                rel1 {
22487                   to_y:     "elm.swallow.icon";
22488                   relative: 0.0  1.0;
22489                   offset:   0 4;
22490                }
22491                rel2 {
22492                   relative: 1.0  1.0;
22493                   offset:   -5 -5;
22494                }
22495                color: 0 0 0 255;
22496                color3: 0 0 0 0;
22497                text {
22498                   font: "Sans";
22499                   size: 10;
22500                   min: 1 1;
22501 //                  min: 0 1;
22502                   align: 0.5 0.5;
22503                   text_class: "list_item";
22504                }
22505             }
22506             description { state: "selected" 0.0;
22507                inherit: "default" 0.0;
22508                color: 224 224 224 255;
22509                color3: 0 0 0 64;
22510             }
22511          }
22512          part { name: "fg1";
22513             clip_to: "disclip";
22514             mouse_events: 0;
22515             description { state: "default" 0.0;
22516                visible: 0;
22517                color: 255 255 255 0;
22518                rel1.to: "bg";
22519                rel2.relative: 1.0 0.5;
22520                rel2.to: "bg";
22521                image {
22522                   normal: "bt_sm_hilight.png";
22523                   border: 6 6 6 0;
22524                }
22525             }
22526             description { state: "selected" 0.0;
22527                inherit: "default" 0.0;
22528                visible: 1;
22529                color: 255 255 255 255;
22530             }
22531          }
22532          part { name: "fg2";
22533             clip_to: "disclip";
22534             mouse_events: 0;
22535             description { state: "default" 0.0;
22536                visible: 0;
22537                color: 255 255 255 0;
22538                rel1.to: "bg";
22539                rel2.to: "bg";
22540                image {
22541                   normal: "bt_sm_shine.png";
22542                   border: 6 6 6 0;
22543                }
22544             }
22545             description { state: "selected" 0.0;
22546                inherit: "default" 0.0;
22547                visible: 1;
22548                color: 255 255 255 255;
22549             }
22550          }
22551          part { name: "disclip";
22552             type: RECT;
22553             description { state: "default" 0.0;
22554                rel1.to: "bg";
22555                rel2.to: "bg";
22556             }
22557             description { state: "disabled" 0.0;
22558                inherit: "default" 0.0;
22559                color: 255 255 255 64;
22560             }
22561          }
22562       }
22563       programs {
22564          // signal: elm,state,%s,active
22565          //   a "check" item named %s went active
22566          // signal: elm,state,%s,passive
22567          //   a "check" item named %s went passive
22568          // default is passive
22569          program {
22570             name:    "go_active";
22571             signal:  "elm,state,selected";
22572             source:  "elm";
22573             action:  STATE_SET "selected" 0.0;
22574             target:  "bg";
22575             target:  "fg1";
22576             target:  "fg2";
22577             target:  "elm.text";
22578          }
22579          program {
22580             name:    "go_passive";
22581             signal:  "elm,state,unselected";
22582             source:  "elm";
22583             action:  STATE_SET "default" 0.0;
22584             target:  "bg";
22585             target:  "fg1";
22586             target:  "fg2";
22587             target:  "elm.text";
22588             transition: LINEAR 0.1;
22589          }
22590          program {
22591             name:    "go_disabled";
22592             signal:  "elm,state,disabled";
22593             source:  "elm";
22594             action:  STATE_SET "disabled" 0.0;
22595             target:  "disclip";
22596          }
22597          program {
22598             name:    "go_enabled";
22599             signal:  "elm,state,enabled";
22600             source:  "elm";
22601             action:  STATE_SET "default" 0.0;
22602             target:  "disclip";
22603          }
22604       }
22605    }
22606    group { name: "elm/genlist/item_odd/icon_top_text_bottom/default";
22607       data.item: "stacking" "below";
22608       data.item: "selectraise" "on";
22609       data.item: "labels" "elm.text";
22610       data.item: "icons" "elm.swallow.icon";
22611       data.item: "treesize" "20";
22612 //      data.item: "states" "";
22613       images {
22614          image: "bt_sm_base1.png" COMP;
22615          image: "bt_sm_shine.png" COMP;
22616          image: "bt_sm_hilight.png" COMP;
22617          image: "ilist_2.png" COMP;
22618       }
22619       parts {
22620          part { name: "event";
22621             type: RECT;
22622             repeat_events: 1;
22623             description {
22624                state: "default" 0.0;
22625                color: 0 0 0 0;
22626             }
22627          }
22628          part {
22629             name: "base";
22630             mouse_events: 0;
22631             description {
22632                state: "default" 0.0;
22633                image {
22634                   normal: "ilist_2.png";
22635                   border: 2 2 2 2;
22636                }
22637                fill.smooth: 0;
22638             }
22639          }
22640          part { name: "bg";
22641             clip_to: "disclip";
22642             mouse_events: 0;
22643             description { state: "default" 0.0;
22644                visible: 0;
22645                color: 255 255 255 0;
22646                rel1 {
22647                   relative: 0.0 0.0;
22648                   offset: -5 -5;
22649                }
22650                rel2 {
22651                   relative: 1.0 1.0;
22652                   offset: 4 4;
22653                }
22654                image {
22655                   normal: "bt_sm_base1.png";
22656                   border: 6 6 6 6;
22657                }
22658                image.middle: SOLID;
22659             }
22660             description { state: "selected" 0.0;
22661                inherit: "default" 0.0;
22662                visible: 1;
22663                color: 255 255 255 255;
22664                rel1 {
22665                   relative: 0.0 0.0;
22666                   offset: -2 -2;
22667                }
22668                rel2 {
22669                   relative: 1.0 1.0;
22670                   offset: 1 1;
22671                }
22672             }
22673          }
22674          part { name: "elm.swallow.pad";
22675             type: SWALLOW;
22676             description { state: "default" 0.0;
22677                fixed: 1 0;
22678                align: 0.0 0.5;
22679                rel1 {
22680                   relative: 0.0  0.0;
22681                   offset:   4    4;
22682                }
22683                rel2 {
22684                   relative: 1.0  1.0;
22685                   offset:   -4   -5;
22686                }
22687             }
22688          }
22689          part { name: "elm.swallow.icon";
22690             clip_to: "disclip";
22691             type: SWALLOW;
22692             description { state: "default" 0.0;
22693                fixed: 1 0;
22694                align: 0.5 0.5;
22695                rel1 {
22696                   to_x: "elm.swallow.pad";
22697                   relative: 0.0  0.0;
22698                   offset:   -1    4;
22699                }
22700                rel2 {
22701                   to_x: "elm.swallow.pad";
22702                   relative: 1.0  1.0;
22703                   offset:   -1   -5;
22704                }
22705             }
22706          }
22707          part { name: "elm.text";
22708             clip_to: "disclip";
22709             type:           TEXT;
22710             effect:         SOFT_SHADOW;
22711             mouse_events:   0;
22712             scale: 1;
22713             description {
22714                state: "default" 0.0;
22715 //               min:      16 16;
22716                rel1 {
22717                   to_y:     "elm.swallow.icon";
22718                   relative: 0.0  1.0;
22719                   offset:   0 4;
22720                }
22721                rel2 {
22722                   relative: 1.0  1.0;
22723                   offset:   -5 -5;
22724                }
22725                color: 0 0 0 255;
22726                color3: 0 0 0 0;
22727                text {
22728                   font: "Sans";
22729                   size: 10;
22730                   min: 1 1;
22731 //                  min: 0 1;
22732                   align: 0.5 0.5;
22733                   text_class: "list_item";
22734                }
22735             }
22736             description { state: "selected" 0.0;
22737                inherit: "default" 0.0;
22738                color: 224 224 224 255;
22739                color3: 0 0 0 64;
22740             }
22741          }
22742          part { name: "fg1";
22743             clip_to: "disclip";
22744             mouse_events: 0;
22745             description { state: "default" 0.0;
22746                visible: 0;
22747                color: 255 255 255 0;
22748                rel1.to: "bg";
22749                rel2.relative: 1.0 0.5;
22750                rel2.to: "bg";
22751                image {
22752                   normal: "bt_sm_hilight.png";
22753                   border: 6 6 6 0;
22754                }
22755             }
22756             description { state: "selected" 0.0;
22757                inherit: "default" 0.0;
22758                visible: 1;
22759                color: 255 255 255 255;
22760             }
22761          }
22762          part { name: "fg2";
22763             clip_to: "disclip";
22764             mouse_events: 0;
22765             description { state: "default" 0.0;
22766                visible: 0;
22767                color: 255 255 255 0;
22768                rel1.to: "bg";
22769                rel2.to: "bg";
22770                image {
22771                   normal: "bt_sm_shine.png";
22772                   border: 6 6 6 0;
22773                }
22774             }
22775             description { state: "selected" 0.0;
22776                inherit: "default" 0.0;
22777                visible: 1;
22778                color: 255 255 255 255;
22779             }
22780          }
22781          part { name: "disclip";
22782             type: RECT;
22783             description { state: "default" 0.0;
22784                rel1.to: "bg";
22785                rel2.to: "bg";
22786             }
22787             description { state: "disabled" 0.0;
22788                inherit: "default" 0.0;
22789                color: 255 255 255 64;
22790             }
22791          }
22792       }
22793       programs {
22794          // signal: elm,state,%s,active
22795          //   a "check" item named %s went active
22796          // signal: elm,state,%s,passive
22797          //   a "check" item named %s went passive
22798          // default is passive
22799          program {
22800             name:    "go_active";
22801             signal:  "elm,state,selected";
22802             source:  "elm";
22803             action:  STATE_SET "selected" 0.0;
22804             target:  "bg";
22805             target:  "fg1";
22806             target:  "fg2";
22807             target:  "elm.text";
22808          }
22809          program {
22810             name:    "go_passive";
22811             signal:  "elm,state,unselected";
22812             source:  "elm";
22813             action:  STATE_SET "default" 0.0;
22814             target:  "bg";
22815             target:  "fg1";
22816             target:  "fg2";
22817             target:  "elm.text";
22818             transition: LINEAR 0.1;
22819          }
22820          program {
22821             name:    "go_disabled";
22822             signal:  "elm,state,disabled";
22823             source:  "elm";
22824             action:  STATE_SET "disabled" 0.0;
22825             target:  "disclip";
22826          }
22827          program {
22828             name:    "go_enabled";
22829             signal:  "elm,state,enabled";
22830             source:  "elm";
22831             action:  STATE_SET "default" 0.0;
22832             target:  "disclip";
22833          }
22834       }
22835    }
22836
22837    group { name: "elm/genlist/tree/icon_top_text_bottom/default";
22838       data.item: "stacking" "above";
22839       data.item: "selectraise" "on";
22840       data.item: "labels" "elm.text";
22841       data.item: "icons" "elm.swallow.icon";
22842       data.item: "treesize" "20";
22843 //      data.item: "states" "";
22844       images {
22845          image: "bt_sm_base1.png" COMP;
22846          image: "bt_sm_shine.png" COMP;
22847          image: "bt_sm_hilight.png" COMP;
22848          image: "ilist_1.png" COMP;
22849          image: "ilist_item_shadow.png" COMP;
22850          image: "icon_arrow_right.png" COMP;
22851          image: "icon_arrow_down.png" COMP;
22852       }
22853       parts {
22854          part {
22855             name:           "event";
22856             type:           RECT;
22857             repeat_events: 1;
22858             description {
22859                state: "default" 0.0;
22860                color: 0 0 0 0;
22861             }
22862          }
22863          part {
22864             name: "base_sh";
22865             mouse_events: 0;
22866             description {
22867                state: "default" 0.0;
22868                align: 0.0 0.0;
22869                min: 0 10;
22870                fixed: 1 1;
22871                rel1 {
22872                   to: "base";
22873                   relative: 0.0 1.0;
22874                   offset: 0 0;
22875                }
22876                rel2 {
22877                   to: "base";
22878                   relative: 1.0 1.0;
22879                   offset: -1 0;
22880                }
22881                image {
22882                   normal: "ilist_item_shadow.png";
22883                }
22884                fill.smooth: 0;
22885             }
22886          }
22887          part {
22888             name: "base";
22889             mouse_events: 0;
22890             description {
22891                state: "default" 0.0;
22892                image {
22893                   normal: "ilist_1.png";
22894                   border: 2 2 2 2;
22895                }
22896                fill.smooth: 0;
22897             }
22898          }
22899          part { name: "bg";
22900             clip_to: "disclip";
22901             mouse_events: 0;
22902             description { state: "default" 0.0;
22903                visible: 0;
22904                color: 255 255 255 0;
22905                rel1 {
22906                   relative: 0.0 0.0;
22907                   offset: -5 -5;
22908                }
22909                rel2 {
22910                   relative: 1.0 1.0;
22911                   offset: 4 4;
22912                }
22913                image {
22914                   normal: "bt_sm_base1.png";
22915                   border: 6 6 6 6;
22916                }
22917                image.middle: SOLID;
22918             }
22919             description { state: "selected" 0.0;
22920                inherit: "default" 0.0;
22921                visible: 1;
22922                color: 255 255 255 255;
22923                rel1 {
22924                   relative: 0.0 0.0;
22925                   offset: -2 -2;
22926                }
22927                rel2 {
22928                   relative: 1.0 1.0;
22929                   offset: 1 1;
22930                }
22931             }
22932          }
22933          part { name: "elm.swallow.pad";
22934             type: SWALLOW;
22935             description { state: "default" 0.0;
22936                fixed: 1 0;
22937                align: 0.0 0.5;
22938                rel1 {
22939                   relative: 0.0  0.0;
22940                   offset:   4    4;
22941                }
22942                rel2 {
22943                   relative: 0.0  1.0;
22944                   offset:   4   -5;
22945                }
22946             }
22947          }
22948          part { name: "arrow";
22949             clip_to: "disclip";
22950             ignore_flags: ON_HOLD;
22951             description { state: "default" 0.0;
22952                fixed: 1 0;
22953                align: 0.0 0.5;
22954                aspect: 1.0 1.0;
22955                rel1 {
22956                   to_x: "elm.swallow.pad";
22957                   relative: 1.0  0.0;
22958                   offset:   -1    4;
22959                }
22960                rel2 {
22961                   to_x: "elm.swallow.pad";
22962                   relative: 1.0  1.0;
22963                   offset:   -1   -5;
22964                }
22965                image.normal: "icon_arrow_right.png";
22966             }
22967             description { state: "active" 0.0;
22968                inherit: "default" 0.0;
22969                image.normal: "icon_arrow_down.png";
22970             }
22971          }
22972          part { name: "elm.swallow.icon";
22973             clip_to: "disclip";
22974             type: SWALLOW;
22975             description { state: "default" 0.0;
22976                fixed: 1 0;
22977                align: 0.5 0.5;
22978                rel1 {
22979                   to_x: "arrow";
22980                   relative: 1.0  0.0;
22981                   offset:   4    4;
22982                }
22983                rel2 {
22984                   relative: 1.0  1.0;
22985                   offset:   -4   -5;
22986                }
22987             }
22988          }
22989          part { name: "elm.text";
22990             clip_to: "disclip";
22991             type:           TEXT;
22992             effect:         SOFT_SHADOW;
22993             mouse_events:   0;
22994             scale: 1;
22995             description {
22996                state: "default" 0.0;
22997 //               min: 16 16;
22998                rel1 {
22999                   to_y:     "elm.swallow.icon";
23000                   relative: 0.0  1.0;
23001                   offset:   0 4;
23002                }
23003                rel2 {
23004                   relative: 1.0  1.0;
23005                   offset:   -5 -5;
23006                }
23007                color: 0 0 0 255;
23008                color3: 0 0 0 0;
23009                text {
23010                   font: "Sans";
23011                   size: 10;
23012                   min: 1 1;
23013 //                  min: 0 1;
23014                   align: 0.5 0.5;
23015                   text_class: "list_item";
23016                }
23017             }
23018             description { state: "selected" 0.0;
23019                inherit: "default" 0.0;
23020                color: 224 224 224 255;
23021                color3: 0 0 0 64;
23022             }
23023          }
23024          part { name: "fg1";
23025             clip_to: "disclip";
23026             mouse_events: 0;
23027             description { state: "default" 0.0;
23028                visible: 0;
23029                color: 255 255 255 0;
23030                rel1.to: "bg";
23031                rel2.relative: 1.0 0.5;
23032                rel2.to: "bg";
23033                image {
23034                   normal: "bt_sm_hilight.png";
23035                   border: 6 6 6 0;
23036                }
23037             }
23038             description { state: "selected" 0.0;
23039                inherit: "default" 0.0;
23040                visible: 1;
23041                color: 255 255 255 255;
23042             }
23043          }
23044          part { name: "fg2";
23045             clip_to: "disclip";
23046             mouse_events: 0;
23047             description { state: "default" 0.0;
23048                visible: 0;
23049                color: 255 255 255 0;
23050                rel1.to: "bg";
23051                rel2.to: "bg";
23052                image {
23053                   normal: "bt_sm_shine.png";
23054                   border: 6 6 6 0;
23055                }
23056             }
23057             description { state: "selected" 0.0;
23058                inherit: "default" 0.0;
23059                visible: 1;
23060                color: 255 255 255 255;
23061             }
23062          }
23063          part { name: "disclip";
23064             type: RECT;
23065             description { state: "default" 0.0;
23066                rel1.to: "bg";
23067                rel2.to: "bg";
23068             }
23069             description { state: "disabled" 0.0;
23070                inherit: "default" 0.0;
23071                color: 255 255 255 64;
23072             }
23073          }
23074       }
23075       programs {
23076          // signal: elm,state,%s,active
23077          //   a "check" item named %s went active
23078          // signal: elm,state,%s,passive
23079          //   a "check" item named %s went passive
23080          // default is passive
23081          program {
23082             name:    "go_active";
23083             signal:  "elm,state,selected";
23084             source:  "elm";
23085             action:  STATE_SET "selected" 0.0;
23086             target:  "bg";
23087             target:  "fg1";
23088             target:  "fg2";
23089             target:  "elm.text";
23090          }
23091          program {
23092             name:    "go_passive";
23093             signal:  "elm,state,unselected";
23094             source:  "elm";
23095             action:  STATE_SET "default" 0.0;
23096             target:  "bg";
23097             target:  "fg1";
23098             target:  "fg2";
23099             target:  "elm.text";
23100             transition: LINEAR 0.1;
23101          }
23102          program {
23103             name:    "go_disabled";
23104             signal:  "elm,state,disabled";
23105             source:  "elm";
23106             action:  STATE_SET "disabled" 0.0;
23107             target:  "disclip";
23108          }
23109          program {
23110             name:    "go_enabled";
23111             signal:  "elm,state,enabled";
23112             source:  "elm";
23113             action:  STATE_SET "default" 0.0;
23114             target:  "disclip";
23115          }
23116          program {
23117             name:    "expand";
23118             signal:  "mouse,up,1";
23119             source:  "arrow";
23120             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23121          }
23122          program {
23123             name:    "go_expanded";
23124             signal:  "elm,state,expanded";
23125             source:  "elm";
23126             action:  STATE_SET "active" 0.0;
23127             target:  "arrow";
23128          }
23129          program {
23130             name:    "go_contracted";
23131             signal:  "elm,state,contracted";
23132             source:  "elm";
23133             action:  STATE_SET "default" 0.0;
23134             target:  "arrow";
23135          }
23136       }
23137    }
23138    group { name: "elm/genlist/tree_odd/icon_top_text_bottom/default";
23139       data.item: "stacking" "below";
23140       data.item: "selectraise" "on";
23141       data.item: "labels" "elm.text";
23142       data.item: "icons" "elm.swallow.icon";
23143       data.item: "treesize" "20";
23144 //      data.item: "states" "";
23145       images {
23146          image: "bt_sm_base1.png" COMP;
23147          image: "bt_sm_shine.png" COMP;
23148          image: "bt_sm_hilight.png" COMP;
23149          image: "ilist_2.png" COMP;
23150          image: "icon_arrow_right.png" COMP;
23151          image: "icon_arrow_down.png" COMP;
23152       }
23153       parts {
23154          part {
23155             name:           "event";
23156             type:           RECT;
23157             repeat_events: 1;
23158             description {
23159                state: "default" 0.0;
23160                color: 0 0 0 0;
23161             }
23162          }
23163          part {
23164             name: "base";
23165             mouse_events: 0;
23166             description {
23167                state: "default" 0.0;
23168                image {
23169                   normal: "ilist_2.png";
23170                   border: 2 2 2 2;
23171                }
23172                fill.smooth: 0;
23173             }
23174          }
23175          part { name: "bg";
23176             clip_to: "disclip";
23177             mouse_events: 0;
23178             description { state: "default" 0.0;
23179                visible: 0;
23180                color: 255 255 255 0;
23181                rel1 {
23182                   relative: 0.0 0.0;
23183                   offset: -5 -5;
23184                }
23185                rel2 {
23186                   relative: 1.0 1.0;
23187                   offset: 4 4;
23188                }
23189                image {
23190                   normal: "bt_sm_base1.png";
23191                   border: 6 6 6 6;
23192                }
23193                image.middle: SOLID;
23194             }
23195             description { state: "selected" 0.0;
23196                inherit: "default" 0.0;
23197                visible: 1;
23198                color: 255 255 255 255;
23199                rel1 {
23200                   relative: 0.0 0.0;
23201                   offset: -2 -2;
23202                }
23203                rel2 {
23204                   relative: 1.0 1.0;
23205                   offset: 1 1;
23206                }
23207             }
23208          }
23209          part { name: "elm.swallow.pad";
23210             type: SWALLOW;
23211             description { state: "default" 0.0;
23212                fixed: 1 0;
23213                align: 0.0 0.5;
23214                rel1 {
23215                   relative: 0.0  0.0;
23216                   offset:   4    4;
23217                }
23218                rel2 {
23219                   relative: 0.0  1.0;
23220                   offset:   4   -5;
23221                }
23222             }
23223          }
23224          part { name: "arrow";
23225             clip_to: "disclip";
23226             ignore_flags: ON_HOLD;
23227             description { state: "default" 0.0;
23228                fixed: 1 0;
23229                align: 0.0 0.5;
23230                aspect: 1.0 1.0;
23231                rel1 {
23232                   to_x: "elm.swallow.pad";
23233                   relative: 1.0  0.0;
23234                   offset:   -1    4;
23235                }
23236                rel2 {
23237                   to_x: "elm.swallow.pad";
23238                   relative: 1.0  1.0;
23239                   offset:   -1   -5;
23240                }
23241                image.normal: "icon_arrow_right.png";
23242             }
23243             description { state: "active" 0.0;
23244                inherit: "default" 0.0;
23245                image.normal: "icon_arrow_down.png";
23246             }
23247          }
23248          part { name: "elm.swallow.icon";
23249             clip_to: "disclip";
23250             type: SWALLOW;
23251             description { state: "default" 0.0;
23252                fixed: 1 0;
23253                align: 0.5 0.5;
23254                rel1 {
23255                   to_x: "arrow";
23256                   relative: 1.0  0.0;
23257                   offset:   4    4;
23258                }
23259                rel2 {
23260                   relative: 1.0  1.0;
23261                   offset:   -4   -5;
23262                }
23263             }
23264          }
23265          part { name: "elm.text";
23266             clip_to: "disclip";
23267             type:           TEXT;
23268             effect:         SOFT_SHADOW;
23269             mouse_events:   0;
23270             scale: 1;
23271             description {
23272                state: "default" 0.0;
23273 //               min: 16 16;
23274                rel1 {
23275                   to_y:     "elm.swallow.icon";
23276                   relative: 0.0  1.0;
23277                   offset:   0 4;
23278                }
23279                rel2 {
23280                   relative: 1.0  1.0;
23281                   offset:   -5 -5;
23282                }
23283                color: 0 0 0 255;
23284                color3: 0 0 0 0;
23285                text {
23286                   font: "Sans";
23287                   size: 10;
23288                   min: 1 1;
23289 //                  min: 0 1;
23290                   align: 0.5 0.5;
23291                   text_class: "list_item";
23292                }
23293             }
23294             description { state: "selected" 0.0;
23295                inherit: "default" 0.0;
23296                color: 224 224 224 255;
23297                color3: 0 0 0 64;
23298             }
23299          }
23300          part { name: "fg1";
23301             clip_to: "disclip";
23302             mouse_events: 0;
23303             description { state: "default" 0.0;
23304                visible: 0;
23305                color: 255 255 255 0;
23306                rel1.to: "bg";
23307                rel2.relative: 1.0 0.5;
23308                rel2.to: "bg";
23309                image {
23310                   normal: "bt_sm_hilight.png";
23311                   border: 6 6 6 0;
23312                }
23313             }
23314             description { state: "selected" 0.0;
23315                inherit: "default" 0.0;
23316                visible: 1;
23317                color: 255 255 255 255;
23318             }
23319          }
23320          part { name: "fg2";
23321             clip_to: "disclip";
23322             mouse_events: 0;
23323             description { state: "default" 0.0;
23324                visible: 0;
23325                color: 255 255 255 0;
23326                rel1.to: "bg";
23327                rel2.to: "bg";
23328                image {
23329                   normal: "bt_sm_shine.png";
23330                   border: 6 6 6 0;
23331                }
23332             }
23333             description { state: "selected" 0.0;
23334                inherit: "default" 0.0;
23335                visible: 1;
23336                color: 255 255 255 255;
23337             }
23338          }
23339          part { name: "disclip";
23340             type: RECT;
23341             description { state: "default" 0.0;
23342                rel1.to: "bg";
23343                rel2.to: "bg";
23344             }
23345             description { state: "disabled" 0.0;
23346                inherit: "default" 0.0;
23347                color: 255 255 255 64;
23348             }
23349          }
23350       }
23351       programs {
23352          // signal: elm,state,%s,active
23353          //   a "check" item named %s went active
23354          // signal: elm,state,%s,passive
23355          //   a "check" item named %s went passive
23356          // default is passive
23357          program {
23358             name:    "go_active";
23359             signal:  "elm,state,selected";
23360             source:  "elm";
23361             action:  STATE_SET "selected" 0.0;
23362             target:  "bg";
23363             target:  "fg1";
23364             target:  "fg2";
23365             target:  "elm.text";
23366          }
23367          program {
23368             name:    "go_passive";
23369             signal:  "elm,state,unselected";
23370             source:  "elm";
23371             action:  STATE_SET "default" 0.0;
23372             target:  "bg";
23373             target:  "fg1";
23374             target:  "fg2";
23375             target:  "elm.text";
23376             transition: LINEAR 0.1;
23377          }
23378          program {
23379             name:    "go_disabled";
23380             signal:  "elm,state,disabled";
23381             source:  "elm";
23382             action:  STATE_SET "disabled" 0.0;
23383             target:  "disclip";
23384          }
23385          program {
23386             name:    "go_enabled";
23387             signal:  "elm,state,enabled";
23388             source:  "elm";
23389             action:  STATE_SET "default" 0.0;
23390             target:  "disclip";
23391          }
23392          program {
23393             name:    "expand";
23394             signal:  "mouse,up,1";
23395             source:  "arrow";
23396             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
23397          }
23398          program {
23399             name:    "go_expanded";
23400             signal:  "elm,state,expanded";
23401             source:  "elm";
23402             action:  STATE_SET "active" 0.0;
23403             target:  "arrow";
23404          }
23405          program {
23406             name:    "go_contracted";
23407             signal:  "elm,state,contracted";
23408             source:  "elm";
23409             action:  STATE_SET "default" 0.0;
23410             target:  "arrow";
23411          }
23412       }
23413    }
23414
23415
23416 ///////////////////////////////////////////////////////////////////////////////
23417    group { name: "elm/check/base/default";
23418       images {
23419          image: "check_base.png" COMP;
23420          image: "check.png" COMP;
23421          image: "check2.png" COMP;
23422       }
23423       parts {
23424          part { name: "bg";
23425             mouse_events: 0;
23426             scale: 1;
23427             description { state: "default" 0.0;
23428                rel1.offset: 1 1;
23429                rel2.relative: 0.0 1.0;
23430                rel2.offset: 1 -2;
23431                align: 0.0 0.5;
23432                min: 16 16;
23433                max: 16 16;
23434                aspect: 1.0 1.0;
23435                aspect_preference: VERTICAL;
23436                image {
23437                   normal: "check_base.png";
23438                   border: 5 5 5 5;
23439                   middle: 0;
23440                }
23441                fill.smooth : 0;
23442             }
23443          }
23444          part { name: "check";
23445             mouse_events: 0;
23446             scale: 1;
23447             description { state: "default" 0.0;
23448                rel1 {
23449                   to: "bg";
23450                   offset: 1 1;
23451                }
23452                rel2 {
23453                   to: "bg";
23454                   offset: -2 -2;
23455                }
23456                visible: 0;
23457                color: 255 255 255 255;
23458                image.normal: "check.png";
23459             }
23460             description { state: "visible" 0.0;
23461                inherit: "default" 0.0;
23462                visible: 1;
23463             }
23464             description { state: "disabled" 0.0;
23465                inherit: "default" 0.0;
23466                visible: 0;
23467                color: 128 128 128 128;
23468             }
23469             description { state: "disabled_visible" 0.0;
23470                inherit: "default" 0.0;
23471                color: 128 128 128 128;
23472                visible: 1;
23473             }
23474          }
23475          part { name: "elm.swallow.content";
23476             type: SWALLOW;
23477             description { state: "default" 0.0;
23478                fixed: 1 0;
23479                visible: 0;
23480                align: 0.0 0.5;
23481           rel1.to_x: "bg";
23482                rel1.relative: 1.0 0.0;
23483                rel1.offset: 1 1;
23484           rel2.to_x: "bg";
23485                rel2.offset: 1 -2;
23486                rel2.relative: 1.0 1.0;
23487             }
23488             description { state: "visible" 0.0;
23489                inherit: "default" 0.0;
23490           fixed: 1 0;
23491                visible: 1;
23492                aspect: 1.0 1.0;
23493             }
23494             description { state: "disabled" 0.0;
23495                inherit: "default" 0.0;
23496                color: 128 128 128 128;
23497             }
23498             description { state: "disabled_visible" 0.0;
23499                inherit: "default" 0.0;
23500                color: 128 128 128 128;
23501           fixed: 1 0;
23502                visible: 1;
23503                aspect: 1.0 1.0;
23504             }
23505          }
23506          part { name: "elm.text";
23507             type: TEXT;
23508             mouse_events: 0;
23509             scale: 1;
23510             description { state: "default" 0.0;
23511                visible: 0;
23512                rel1.to_x: "elm.swallow.content";
23513                rel1.relative: 1.0 0.0;
23514                rel1.offset: 1 1;
23515                rel2.relative: 1.0 1.0;
23516                rel2.offset: -2 -2;
23517                color: 0 0 0 255;
23518                text {
23519                   font: "Sans,Edje-Vera";
23520                   size: 10;
23521                   min: 0 1;
23522                   align: 0.0 0.5;
23523                }
23524             }
23525             description { state: "visible" 0.0;
23526                inherit: "default" 0.0;
23527                visible: 1;
23528                text.min: 1 1;
23529             }
23530             description { state: "disabled" 0.0;
23531                inherit: "default" 0.0;
23532                color: 0 0 0 128;
23533                color3: 0 0 0 0;
23534             }
23535             description { state: "disabled_visible" 0.0;
23536                inherit: "default" 0.0;
23537                color: 0 0 0 128;
23538                color3: 0 0 0 0;
23539                visible: 1;
23540                text.min: 1 1;
23541             }
23542          }
23543          part { name: "events";
23544             type: RECT;
23545             ignore_flags: ON_HOLD;
23546             description { state: "default" 0.0;
23547                color: 0 0 0 0;
23548             }
23549          }
23550           part { name: "disabler";
23551             type: RECT;
23552             description { state: "default" 0.0;
23553                color: 0 0 0 0;
23554                visible: 0;
23555             }
23556             description { state: "disabled" 0.0;
23557                inherit: "default" 0.0;
23558                visible: 1;
23559             }
23560          }
23561       }
23562       programs {
23563          program { name: "click";
23564             signal: "mouse,up,1";
23565             source: "events";
23566             action: SIGNAL_EMIT "elm,action,check,toggle" "";
23567          }
23568          program { name: "check_on";
23569             signal: "elm,state,check,on";
23570             source: "elm";
23571             action:  STATE_SET "visible" 0.0;
23572             target: "check";
23573          }
23574          program { name: "check_off";
23575             signal: "elm,state,check,off";
23576             source: "elm";
23577             action:  STATE_SET "default" 0.0;
23578             target: "check";
23579          }
23580          program { name: "text_show";
23581             signal: "elm,state,text,visible";
23582             source: "elm";
23583             action:  STATE_SET "visible" 0.0;
23584             target: "elm.text";
23585          }
23586          program { name: "text_hide";
23587             signal: "elm,state,text,hidden";
23588             source: "elm";
23589             action:  STATE_SET "default" 0.0;
23590             target: "elm.text";
23591          }
23592          program { name: "icon_show";
23593             signal: "elm,state,icon,visible";
23594             source: "elm";
23595             action:  STATE_SET "visible" 0.0;
23596             target: "elm.swallow.content";
23597          }
23598          program { name: "icon_hide";
23599             signal: "elm,state,icon,hidden";
23600             source: "elm";
23601             action:  STATE_SET "default" 0.0;
23602             target: "elm.swallow.content";
23603          }
23604          program { name: "disable";
23605             signal: "elm,state,disabled";
23606             source: "elm";
23607             action: STATE_SET "disabled" 0.0;
23608             target: "disabler";
23609             after: "disable_text";
23610          }
23611          program { name: "disable_text";
23612             script {
23613                new st[31];
23614                new Float:vl;
23615                get_state(PART:"elm.text", st, 30, vl);
23616                if (!strcmp(st, "visible"))
23617                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23618                else
23619                  set_state(PART:"elm.text", "disabled", 0.0);
23620
23621                get_state(PART:"elm.swallow.content", st, 30, vl);
23622                if (!strcmp(st, "visible"))
23623                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23624                else
23625                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23626
23627                get_state(PART:"check", st, 30, vl);
23628                if (!strcmp(st, "visible"))
23629                  set_state(PART:"check", "disabled_visible", 0.0);
23630                else
23631                  set_state(PART:"check", "disabled", 0.0);
23632             }
23633          }
23634          program { name: "enable";
23635             signal: "elm,state,enabled";
23636             source: "elm";
23637             action: STATE_SET "default" 0.0;
23638             target: "disabler";
23639             after: "enable_text";
23640          }
23641          program { name: "enable_text";
23642             script {
23643                new st[31];
23644                new Float:vl;
23645                get_state(PART:"elm.text", st, 30, vl);
23646                if (!strcmp(st, "disabled_visible"))
23647                  set_state(PART:"elm.text", "visible", 0.0);
23648                else
23649                  set_state(PART:"elm.text", "default", 0.0);
23650
23651                get_state(PART:"elm.swallow.content", st, 30, vl);
23652                if (!strcmp(st, "visible"))
23653                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23654                else
23655                  set_state(PART:"elm.swallow.content", "default", 0.0);
23656
23657                get_state(PART:"check", st, 30, vl);
23658                if (!strcmp(st, "visible"))
23659                  set_state(PART:"check", "visible", 0.0);
23660                else
23661                  set_state(PART:"check", "default", 0.0);
23662             }
23663          }
23664       }
23665    }
23666 ///////////////////////////////////////////////////////////////////////////////
23667    group { name: "elm/radio/base/default";
23668       images {
23669          image: "radio_base.png" COMP;
23670          image: "radio.png" COMP;
23671          image: "radio2.png" COMP;
23672       }
23673       parts {
23674          part { name: "bg";
23675             mouse_events: 0;
23676             scale: 1;
23677             description { state: "default" 0.0;
23678                rel1.offset: 1 1;
23679                rel2.relative: 0.0 1.0;
23680                rel2.offset: 1 -2;
23681                align: 0.0 0.5;
23682                min: 16 16;
23683                max: 16 16;
23684                aspect: 1.0 1.0;
23685                aspect_preference: VERTICAL;
23686                image.normal: "radio_base.png";
23687             }
23688          }
23689          part { name: "radio";
23690             mouse_events: 0;
23691             scale: 1;
23692             description { state: "default" 0.0;
23693                rel1.to: "bg";
23694                rel2.to: "bg";
23695                visible: 0;
23696                image.normal: "radio.png";
23697             }
23698             description { state: "visible" 0.0;
23699                inherit: "default" 0.0;
23700                visible: 1;
23701             }
23702          }
23703          part { name: "elm.swallow.content";
23704             type: SWALLOW;
23705             description { state: "default" 0.0;
23706                fixed: 1 0;
23707                visible: 0;
23708                align: 0.0 0.5;
23709                color: 0 0 0 0;
23710                rel1.to_x: "bg";
23711                rel1.relative: 1.0 0.0;
23712                rel1.offset: 1 1;
23713                rel2.to_x: "bg";
23714                rel2.relative: 1.0 1.0;
23715                rel2.offset: 2 -2;
23716             }
23717             description { state: "visible" 0.0;
23718                inherit: "default" 0.0;
23719                visible: 1;
23720                color: 255 255 255 255;
23721                aspect: 1.0 1.0;
23722             }
23723             description { state: "disabled" 0.0;
23724                inherit: "default" 0.0;
23725                color: 128 128 128 128;
23726             }
23727             description { state: "disabled_visible" 0.0;
23728                inherit: "default" 0.0;
23729                color: 128 128 128 128;
23730                visible: 1;
23731                aspect: 1.0 1.0;
23732             }
23733          }
23734          part { name: "elm.text";
23735             type: TEXT;
23736             mouse_events: 0;
23737             scale: 1;
23738             description { state: "default" 0.0;
23739                visible: 0;
23740                rel1.to_x: "elm.swallow.content";
23741                rel1.relative: 1.0 0.0;
23742                rel1.offset: 1 1;
23743                rel2.relative: 1.0 1.0;
23744                rel2.offset: -2 -2;
23745                color: 0 0 0 255;
23746                text {
23747                   font: "Sans,Edje-Vera";
23748                   size: 10;
23749                   min: 0 0;
23750                   align: 0.0 0.5;
23751                }
23752             }
23753             description { state: "visible" 0.0;
23754                inherit: "default" 0.0;
23755                visible: 1;
23756                text.min: 1 1;
23757             }
23758             description { state: "disabled" 0.0;
23759                inherit: "default" 0.0;
23760                color: 0 0 0 128;
23761                color3: 0 0 0 0;
23762             }
23763             description { state: "disabled_visible" 0.0;
23764                inherit: "default" 0.0;
23765                color: 0 0 0 128;
23766                color3: 0 0 0 0;
23767                visible: 1;
23768                text.min: 1 1;
23769             }
23770          }
23771          part { name: "events";
23772             type: RECT;
23773             ignore_flags: ON_HOLD;
23774             description { state: "default" 0.0;
23775                color: 0 0 0 0;
23776             }
23777          }
23778           part { name: "disabler";
23779             type: RECT;
23780             description { state: "default" 0.0;
23781                color: 0 0 0 0;
23782                visible: 0;
23783             }
23784             description { state: "disabled" 0.0;
23785                inherit: "default" 0.0;
23786                visible: 1;
23787             }
23788          }
23789       }
23790       programs {
23791          program { name: "click";
23792             signal: "mouse,up,1";
23793             source: "events";
23794             action: SIGNAL_EMIT "elm,action,radio,toggle" "";
23795          }
23796          program { name: "radio_on";
23797             signal: "elm,state,radio,on";
23798             source: "elm";
23799             action:  STATE_SET "visible" 0.0;
23800             target: "radio";
23801          }
23802          program { name: "radio_off";
23803             signal: "elm,state,radio,off";
23804             source: "elm";
23805             action:  STATE_SET "default" 0.0;
23806             target: "radio";
23807          }
23808          program { name: "text_show";
23809             signal: "elm,state,text,visible";
23810             source: "elm";
23811             action:  STATE_SET "visible" 0.0;
23812             target: "elm.text";
23813          }
23814          program { name: "text_hide";
23815             signal: "elm,state,text,hidden";
23816             source: "elm";
23817             action:  STATE_SET "default" 0.0;
23818             target: "elm.text";
23819          }
23820          program { name: "icon_show";
23821             signal: "elm,state,icon,visible";
23822             source: "elm";
23823             action:  STATE_SET "visible" 0.0;
23824             target: "elm.swallow.content";
23825          }
23826          program { name: "icon_hide";
23827             signal: "elm,state,icon,hidden";
23828             source: "elm";
23829             action:  STATE_SET "default" 0.0;
23830             target: "elm.swallow.content";
23831          }
23832          program { name: "disable";
23833             signal: "elm,state,disabled";
23834             source: "elm";
23835             action: STATE_SET "disabled" 0.0;
23836             target: "disabler";
23837             after: "disable_text";
23838          }
23839          program { name: "disable_text";
23840             script {
23841                new st[31];
23842                new Float:vl;
23843                get_state(PART:"elm.text", st, 30, vl);
23844                if (!strcmp(st, "visible"))
23845                  set_state(PART:"elm.text", "disabled_visible", 0.0);
23846                else
23847                  set_state(PART:"elm.text", "disabled", 0.0);
23848
23849                get_state(PART:"elm.swallow.content", st, 30, vl);
23850                if (!strcmp(st, "visible"))
23851                  set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
23852                else
23853                  set_state(PART:"elm.swallow.content", "disabled", 0.0);
23854             }
23855          }
23856          program { name: "enable";
23857             signal: "elm,state,enabled";
23858             source: "elm";
23859             action: STATE_SET "default" 0.0;
23860             target: "disabler";
23861             after: "enable_text";
23862          }
23863          program { name: "enable_text";
23864             script {
23865                new st[31];
23866                new Float:vl;
23867                get_state(PART:"elm.text", st, 30, vl);
23868                if (!strcmp(st, "disabled_visible"))
23869                  set_state(PART:"elm.text", "visible", 0.0);
23870                else
23871                  set_state(PART:"elm.text", "default", 0.0);
23872
23873                get_state(PART:"elm.swallow.content", st, 30, vl);
23874                if (!strcmp(st, "visible"))
23875                  set_state(PART:"elm.swallow.content", "visible", 0.0);
23876                else
23877                  set_state(PART:"elm.swallow.content", "default", 0.0);
23878             }
23879          }
23880       }
23881    }
23882    group { name: "elm/genlist/tree_compress_odd/double_label/default";
23883       data.item: "stacking" "below";
23884       data.item: "selectraise" "on";
23885       data.item: "labels" "elm.text elm.text.sub";
23886       data.item: "icons" "elm.swallow.icon elm.swallow.end";
23887       data.item: "treesize" "20";
23888 //      data.item: "states" "";
23889       images {
23890          image: "bt_sm_base1.png" COMP;
23891          image: "bt_sm_shine.png" COMP;
23892          image: "bt_sm_hilight.png" COMP;
23893          image: "ilist_2.png" COMP;
23894          image: "icon_arrow_right.png" COMP;
23895          image: "icon_arrow_down.png" COMP;
23896       }
23897       parts {
23898          part {
23899             name:           "event";
23900             type:           RECT;
23901             repeat_events: 1;
23902             description {
23903                state: "default" 0.0;
23904                color: 0 0 0 0;
23905             }
23906          }
23907          part {
23908             name: "base";
23909             mouse_events: 0;
23910             description {
23911                state: "default" 0.0;
23912                image {
23913                   normal: "ilist_2.png";
23914                   border: 2 2 2 2;
23915                }
23916                fill.smooth: 0;
23917             }
23918          }
23919          part { name: "bg";
23920             clip_to: "disclip";
23921             mouse_events: 0;
23922             description { state: "default" 0.0;
23923                visible: 0;
23924                color: 255 255 255 0;
23925                rel1 {
23926                   relative: 0.0 0.0;
23927                   offset: -5 -5;
23928                }
23929                rel2 {
23930                   relative: 1.0 1.0;
23931                   offset: 4 4;
23932                }
23933                image {
23934                   normal: "bt_sm_base1.png";
23935                   border: 6 6 6 6;
23936                }
23937                image.middle: SOLID;
23938             }
23939             description { state: "selected" 0.0;
23940                inherit: "default" 0.0;
23941                visible: 1;
23942                color: 255 255 255 255;
23943                rel1 {
23944                   relative: 0.0 0.0;
23945                   offset: -2 -2;
23946                }
23947                rel2 {
23948                   relative: 1.0 1.0;
23949                   offset: 1 1;
23950                }
23951             }
23952          }
23953          part { name: "elm.swallow.pad";
23954             type: SWALLOW;
23955             description { state: "default" 0.0;
23956                fixed: 1 0;
23957                align: 0.0 0.5;
23958                rel1 {
23959                   relative: 0.0  0.0;
23960                   offset:   4    4;
23961                }
23962                rel2 {
23963                   relative: 0.0  1.0;
23964                   offset:   4   -5;
23965                }
23966             }
23967          }
23968          part { name: "arrow";
23969             clip_to: "disclip";
23970             ignore_flags: ON_HOLD;
23971             description { state: "default" 0.0;
23972                fixed: 1 0;
23973                align: 0.0 0.5;
23974                aspect: 1.0 1.0;
23975                rel1 {
23976                   to_x: "elm.swallow.pad";
23977                   relative: 1.0  0.0;
23978                   offset:   -1    4;
23979                }
23980                rel2 {
23981                   to_x: "elm.swallow.pad";
23982                   relative: 1.0  1.0;
23983                   offset:   -1   -5;
23984                }
23985                image.normal: "icon_arrow_right.png";
23986             }
23987             description { state: "active" 0.0;
23988                inherit: "default" 0.0;
23989                image.normal: "icon_arrow_down.png";
23990             }
23991          }
23992          part { name: "elm.swallow.icon";
23993             clip_to: "disclip";
23994             type: SWALLOW;
23995             description { state: "default" 0.0;
23996                fixed: 1 0;
23997                align: 0.0 0.5;
23998                rel1 {
23999                   to_x: "arrow";
24000                   relative: 1.0  0.0;
24001                   offset:   4    4;
24002                }
24003                rel2 {
24004                   to_x: "arrow";
24005                   relative: 1.0  1.0;
24006                   offset:   4   -5;
24007                }
24008             }
24009          }
24010          part { name: "elm.swallow.end";
24011             clip_to: "disclip";
24012             type: SWALLOW;
24013             description { state: "default" 0.0;
24014                fixed: 1 0;
24015                align: 1.0 0.5;
24016                aspect: 1.0 1.0;
24017                aspect_preference: VERTICAL;
24018                rel1 {
24019                   relative: 1.0  0.0;
24020                   offset:   -5    4;
24021                }
24022                rel2 {
24023                   relative: 1.0  1.0;
24024                   offset:   -5   -5;
24025                }
24026             }
24027          }
24028          part { name: "elm.text";
24029             clip_to: "disclip";
24030             type:           TEXT;
24031             effect:         SOFT_SHADOW;
24032             mouse_events:   0;
24033             scale: 1;
24034             description {
24035                state: "default" 0.0;
24036 //               min: 16 16;
24037                rel1 {
24038                   to_x:     "elm.swallow.icon";
24039                   relative: 1.0  0.0;
24040                   offset:   0 4;
24041                }
24042                rel2 {
24043                   to_x:     "elm.swallow.end";
24044                   relative: 0.0  0.5;
24045                   offset:   -1 -5;
24046                }
24047                color: 0 0 0 255;
24048                color3: 0 0 0 0;
24049                text {
24050                   font: "Sans";
24051                   size: 10;
24052 //                  min: 1 1;
24053                   min: 0 1;
24054                   align: 0.0 0.5;
24055                   text_class: "list_item";
24056                }
24057             }
24058             description { state: "selected" 0.0;
24059                inherit: "default" 0.0;
24060                color: 224 224 224 255;
24061                color3: 0 0 0 64;
24062             }
24063          }
24064          part { name: "elm.text.sub";
24065             clip_to: "disclip";
24066             type:           TEXT;
24067             mouse_events:   0;
24068             scale: 1;
24069             description {
24070                state: "default" 0.0;
24071 //               min: 16 16;
24072                rel1 {
24073                   to_x:     "elm.swallow.icon";
24074                   relative: 1.0  0.5;
24075                   offset:   0 4;
24076                }
24077                rel2 {
24078                   to_x:     "elm.swallow.end";
24079                   relative: 0.0  1.0;
24080                   offset:   -1 -5;
24081                }
24082                color: 0 0 0 128;
24083                color3: 0 0 0 0;
24084                text {
24085                   font: "Sans";
24086                   size: 8;
24087 //                  min: 1 1;
24088                   min: 0 1;
24089                   align: 0.0 0.5;
24090                   text_class: "list_item";
24091                }
24092             }
24093             description { state: "selected" 0.0;
24094                inherit: "default" 0.0;
24095                color: 128 128 128 255;
24096                color3: 0 0 0 32;
24097             }
24098          }
24099          part { name: "fg1";
24100             clip_to: "disclip";
24101             mouse_events: 0;
24102             description { state: "default" 0.0;
24103                visible: 0;
24104                color: 255 255 255 0;
24105                rel1.to: "bg";
24106                rel2.relative: 1.0 0.5;
24107                rel2.to: "bg";
24108                image {
24109                   normal: "bt_sm_hilight.png";
24110                   border: 6 6 6 0;
24111                }
24112             }
24113             description { state: "selected" 0.0;
24114                inherit: "default" 0.0;
24115                visible: 1;
24116                color: 255 255 255 255;
24117             }
24118          }
24119          part { name: "fg2";
24120             clip_to: "disclip";
24121             mouse_events: 0;
24122             description { state: "default" 0.0;
24123                visible: 0;
24124                color: 255 255 255 0;
24125                rel1.to: "bg";
24126                rel2.to: "bg";
24127                image {
24128                   normal: "bt_sm_shine.png";
24129                   border: 6 6 6 0;
24130                }
24131             }
24132             description { state: "selected" 0.0;
24133                inherit: "default" 0.0;
24134                visible: 1;
24135                color: 255 255 255 255;
24136             }
24137          }
24138          part { name: "disclip";
24139             type: RECT;
24140             description { state: "default" 0.0;
24141                rel1.to: "bg";
24142                rel2.to: "bg";
24143             }
24144             description { state: "disabled" 0.0;
24145                inherit: "default" 0.0;
24146                color: 255 255 255 64;
24147             }
24148          }
24149       }
24150       programs {
24151          // signal: elm,state,%s,active
24152          //   a "check" item named %s went active
24153          // signal: elm,state,%s,passive
24154          //   a "check" item named %s went passive
24155          // default is passive
24156          program {
24157             name:    "go_active";
24158             signal:  "elm,state,selected";
24159             source:  "elm";
24160             action:  STATE_SET "selected" 0.0;
24161             target:  "bg";
24162             target:  "fg1";
24163             target:  "fg2";
24164             target:  "elm.text";
24165             target:  "elm.text.sub";
24166          }
24167          program {
24168             name:    "go_passive";
24169             signal:  "elm,state,unselected";
24170             source:  "elm";
24171             action:  STATE_SET "default" 0.0;
24172             target:  "bg";
24173             target:  "fg1";
24174             target:  "fg2";
24175             target:  "elm.text";
24176             target:  "elm.text.sub";
24177             transition: LINEAR 0.1;
24178          }
24179          program {
24180             name:    "go_disabled";
24181             signal:  "elm,state,disabled";
24182             source:  "elm";
24183             action:  STATE_SET "disabled" 0.0;
24184             target:  "disclip";
24185          }
24186          program {
24187             name:    "go_enabled";
24188             signal:  "elm,state,enabled";
24189             source:  "elm";
24190             action:  STATE_SET "default" 0.0;
24191             target:  "disclip";
24192          }
24193          program {
24194             name:    "expand";
24195             signal:  "mouse,up,1";
24196             source:  "arrow";
24197             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
24198          }
24199          program {
24200             name:    "go_expanded";
24201             signal:  "elm,state,expanded";
24202             source:  "elm";
24203             action:  STATE_SET "active" 0.0;
24204             target:  "arrow";
24205          }
24206          program {
24207             name:    "go_contracted";
24208             signal:  "elm,state,contracted";
24209             source:  "elm";
24210             action:  STATE_SET "default" 0.0;
24211             target:  "arrow";
24212          }
24213       }
24214    }
24215
24216    group { name: "elm/genlist/item_compress/media/default";
24217       data.item: "stacking" "above";
24218       data.item: "selectraise" "on";
24219       data.item: "labels" "elm.text.title elm.text.album-artist";
24220       data.item: "treesize" "20";
24221       images {
24222          image: "bt_sm_base1.png" COMP;
24223          image: "bt_sm_shine.png" COMP;
24224          image: "bt_sm_hilight.png" COMP;
24225          image: "ilist_1.png" COMP;
24226          image: "ilist_item_shadow.png" COMP;
24227       }
24228       parts {
24229          part {
24230             name:           "event";
24231             type:           RECT;
24232             repeat_events: 1;
24233             description {
24234                state: "default" 0.0;
24235                color: 0 0 0 0;
24236             }
24237          }
24238          part {
24239             name: "base_sh";
24240             mouse_events: 0;
24241             description {
24242                state: "default" 0.0;
24243                align: 0.0 0.0;
24244                min: 0 10;
24245                fixed: 1 1;
24246                rel1 {
24247                   to: "base";
24248                   relative: 0.0 1.0;
24249                   offset: 0 0;
24250                }
24251                rel2 {
24252                   to: "base";
24253                   relative: 1.0 1.0;
24254                   offset: -1 0;
24255                }
24256                image {
24257                   normal: "ilist_item_shadow.png";
24258                }
24259                fill.smooth: 0;
24260             }
24261          }
24262          part {
24263             name: "base";
24264             mouse_events: 0;
24265             description {
24266                state: "default" 0.0;
24267                image {
24268                   normal: "ilist_1.png";
24269                   border: 2 2 2 2;
24270                }
24271                fill.smooth: 0;
24272             }
24273          }
24274          part { name: "bg";
24275             clip_to: "disclip";
24276             mouse_events: 0;
24277             description { state: "default" 0.0;
24278                visible: 0;
24279                color: 255 255 255 0;
24280                rel1 {
24281                   relative: 0.0 0.0;
24282                   offset: -5 -5;
24283                }
24284                rel2 {
24285                   relative: 1.0 1.0;
24286                   offset: 4 4;
24287                }
24288                image {
24289                   normal: "bt_sm_base1.png";
24290                   border: 6 6 6 6;
24291                }
24292                image.middle: SOLID;
24293             }
24294             description { state: "selected" 0.0;
24295                inherit: "default" 0.0;
24296                visible: 1;
24297                color: 255 255 255 255;
24298                rel1 {
24299                   relative: 0.0 0.0;
24300                   offset: -2 -2;
24301                }
24302                rel2 {
24303                   relative: 1.0 1.0;
24304                   offset: 1 1;
24305                }
24306             }
24307          }
24308          part { name: "elm.swallow.pad";
24309             type: SWALLOW;
24310             description { state: "default" 0.0;
24311                fixed: 1 0;
24312                align: 0.0 0.5;
24313                rel1 {
24314                   relative: 0.0  0.0;
24315                   offset:   4    4;
24316                }
24317                rel2 {
24318                   relative: 0.0  1.0;
24319                   offset:   4   -5;
24320                }
24321             }
24322          }
24323          part { name: "elm.text.title";
24324             clip_to: "disclip";
24325             type:           TEXT;
24326             effect:         SOFT_SHADOW;
24327             mouse_events:   0;
24328             scale: 1;
24329             description {
24330                state: "default" 0.0;
24331                rel1 {
24332                   relative: 0.0  0.0;
24333                   offset:   4 4;
24334                }
24335                rel2 {
24336                   relative: 1.0  0.5;
24337                   offset:   -1 -5;
24338                }
24339                color: 0 0 0 255;
24340                color3: 0 0 0 0;
24341                text {
24342                   font: "Sans";
24343                   size: 10;
24344                   min: 0 1;
24345                   align: 0.0 0.5;
24346                }
24347             }
24348             description { state: "selected" 0.0;
24349                inherit: "default" 0.0;
24350                color: 224 224 224 255;
24351                color3: 0 0 0 64;
24352             }
24353          }
24354          part { name: "elm.text.album-artist";
24355             clip_to: "disclip";
24356             type:           TEXT;
24357             mouse_events:   0;
24358             scale: 1;
24359             description {
24360                state: "default" 0.0;
24361                rel1 {
24362                   relative: 0.0  0.5;
24363                   offset:   4 4;
24364                }
24365                rel2 {
24366                   relative: 1.0  1.0;
24367                   offset:   -1 -5;
24368                }
24369                color: 0 0 0 128;
24370                color3: 0 0 0 0;
24371                text {
24372                   font: "Sans";
24373                   size: 8;
24374                   min: 0 1;
24375                   align: 0.0 0.5;
24376                }
24377             }
24378             description { state: "selected" 0.0;
24379                inherit: "default" 0.0;
24380                color: 128 128 128 255;
24381                color3: 0 0 0 32;
24382             }
24383          }
24384          part { name: "fg1";
24385             clip_to: "disclip";
24386             mouse_events: 0;
24387             description { state: "default" 0.0;
24388                visible: 0;
24389                color: 255 255 255 0;
24390                rel1.to: "bg";
24391                rel2.relative: 1.0 0.5;
24392                rel2.to: "bg";
24393                image {
24394                   normal: "bt_sm_hilight.png";
24395                   border: 6 6 6 0;
24396                }
24397             }
24398             description { state: "selected" 0.0;
24399                inherit: "default" 0.0;
24400                visible: 1;
24401                color: 255 255 255 255;
24402             }
24403          }
24404          part { name: "fg2";
24405             clip_to: "disclip";
24406             mouse_events: 0;
24407             description { state: "default" 0.0;
24408                visible: 0;
24409                color: 255 255 255 0;
24410                rel1.to: "bg";
24411                rel2.to: "bg";
24412                image {
24413                   normal: "bt_sm_shine.png";
24414                   border: 6 6 6 0;
24415                }
24416             }
24417             description { state: "selected" 0.0;
24418                inherit: "default" 0.0;
24419                visible: 1;
24420                color: 255 255 255 255;
24421             }
24422          }
24423          part { name: "disclip";
24424             type: RECT;
24425             description { state: "default" 0.0;
24426                rel1.to: "bg";
24427                rel2.to: "bg";
24428             }
24429             description { state: "disabled" 0.0;
24430                inherit: "default" 0.0;
24431                color: 255 255 255 64;
24432             }
24433          }
24434       }
24435       programs {
24436          // signal: elm,state,%s,active
24437          //   a "check" item named %s went active
24438          // signal: elm,state,%s,passive
24439          //   a "check" item named %s went passive
24440          // default is passive
24441          program {
24442             name:    "go_active";
24443             signal:  "elm,state,selected";
24444             source:  "elm";
24445             action:  STATE_SET "selected" 0.0;
24446             target:  "bg";
24447             target:  "fg1";
24448             target:  "fg2";
24449             target:  "elm.text.title";
24450             target:  "elm.text.album-artist";
24451          }
24452          program {
24453             name:    "go_passive";
24454             signal:  "elm,state,unselected";
24455             source:  "elm";
24456             action:  STATE_SET "default" 0.0;
24457             target:  "bg";
24458             target:  "fg1";
24459             target:  "fg2";
24460             target:  "elm.text.title";
24461             target:  "elm.text.album-artist";
24462             transition: LINEAR 0.1;
24463          }
24464          program {
24465             name:    "go_disabled";
24466             signal:  "elm,state,disabled";
24467             source:  "elm";
24468             action:  STATE_SET "disabled" 0.0;
24469             target:  "disclip";
24470          }
24471          program {
24472             name:    "go_enabled";
24473             signal:  "elm,state,enabled";
24474             source:  "elm";
24475             action:  STATE_SET "default" 0.0;
24476             target:  "disclip";
24477          }
24478       }
24479    }
24480    group { name: "elm/genlist/item_compress_odd/media/default";
24481       data.item: "stacking" "below";
24482       data.item: "selectraise" "on";
24483       data.item: "labels" "elm.text.title elm.text.album-artist";
24484       data.item: "treesize" "20";
24485       images {
24486          image: "bt_sm_base1.png" COMP;
24487          image: "bt_sm_shine.png" COMP;
24488          image: "bt_sm_hilight.png" COMP;
24489          image: "ilist_2.png" COMP;
24490       }
24491       parts {
24492          part { name: "event";
24493             type: RECT;
24494             repeat_events: 1;
24495             description {
24496                state: "default" 0.0;
24497                color: 0 0 0 0;
24498             }
24499          }
24500          part {
24501             name: "base";
24502             mouse_events: 0;
24503             description {
24504                state: "default" 0.0;
24505                image {
24506                   normal: "ilist_2.png";
24507                   border: 2 2 2 2;
24508                }
24509                fill.smooth: 0;
24510             }
24511          }
24512          part { name: "bg";
24513             clip_to: "disclip";
24514             mouse_events: 0;
24515             description { state: "default" 0.0;
24516                visible: 0;
24517                color: 255 255 255 0;
24518                rel1 {
24519                   relative: 0.0 0.0;
24520                   offset: -5 -5;
24521                }
24522                rel2 {
24523                   relative: 1.0 1.0;
24524                   offset: 4 4;
24525                }
24526                image {
24527                   normal: "bt_sm_base1.png";
24528                   border: 6 6 6 6;
24529                }
24530                image.middle: SOLID;
24531             }
24532             description { state: "selected" 0.0;
24533                inherit: "default" 0.0;
24534                visible: 1;
24535                color: 255 255 255 255;
24536                rel1 {
24537                   relative: 0.0 0.0;
24538                   offset: -2 -2;
24539                }
24540                rel2 {
24541                   relative: 1.0 1.0;
24542                   offset: 1 1;
24543                }
24544             }
24545          }
24546          part { name: "elm.swallow.pad";
24547             type: SWALLOW;
24548             description { state: "default" 0.0;
24549                fixed: 1 0;
24550                align: 0.0 0.5;
24551                rel1 {
24552                   relative: 0.0  0.0;
24553                   offset:   4    4;
24554                }
24555                rel2 {
24556                   relative: 0.0  1.0;
24557                   offset:   4   -5;
24558                }
24559             }
24560          }
24561          part { name: "elm.text.title";
24562             clip_to: "disclip";
24563             type:           TEXT;
24564             effect:         SOFT_SHADOW;
24565             mouse_events:   0;
24566             scale: 1;
24567             description {
24568                state: "default" 0.0;
24569                rel1 {
24570                   relative: 0.0  0.0;
24571                   offset:   4 4;
24572                }
24573                rel2 {
24574                   relative: 1.0  0.5;
24575                   offset:   -1 -5;
24576                }
24577                color: 0 0 0 255;
24578                color3: 0 0 0 0;
24579                text {
24580                   font: "Sans";
24581                   size: 10;
24582                   min: 0 1;
24583                   align: 0.0 0.5;
24584                }
24585             }
24586             description { state: "selected" 0.0;
24587                inherit: "default" 0.0;
24588                color: 224 224 224 255;
24589                color3: 0 0 0 64;
24590             }
24591          }
24592          part { name: "elm.text.album-artist";
24593             clip_to: "disclip";
24594             type:           TEXT;
24595             mouse_events:   0;
24596             scale: 1;
24597             description {
24598                state: "default" 0.0;
24599                rel1 {
24600                   relative: 0.0  0.5;
24601                   offset:   4 4;
24602                }
24603                rel2 {
24604                   relative: 1.0  1.0;
24605                   offset:   -1 -5;
24606                }
24607                color: 0 0 0 128;
24608                color3: 0 0 0 0;
24609                text {
24610                   font: "Sans";
24611                   size: 8;
24612                   min: 0 1;
24613                   align: 0.0 0.5;
24614                }
24615             }
24616             description { state: "selected" 0.0;
24617                inherit: "default" 0.0;
24618                color: 128 128 128 255;
24619                color3: 0 0 0 32;
24620             }
24621          }
24622          part { name: "fg1";
24623             clip_to: "disclip";
24624             mouse_events: 0;
24625             description { state: "default" 0.0;
24626                visible: 0;
24627                color: 255 255 255 0;
24628                rel1.to: "bg";
24629                rel2.relative: 1.0 0.5;
24630                rel2.to: "bg";
24631                image {
24632                   normal: "bt_sm_hilight.png";
24633                   border: 6 6 6 0;
24634                }
24635             }
24636             description { state: "selected" 0.0;
24637                inherit: "default" 0.0;
24638                visible: 1;
24639                color: 255 255 255 255;
24640             }
24641          }
24642          part { name: "fg2";
24643             clip_to: "disclip";
24644             mouse_events: 0;
24645             description { state: "default" 0.0;
24646                visible: 0;
24647                color: 255 255 255 0;
24648                rel1.to: "bg";
24649                rel2.to: "bg";
24650                image {
24651                   normal: "bt_sm_shine.png";
24652                   border: 6 6 6 0;
24653                }
24654             }
24655             description { state: "selected" 0.0;
24656                inherit: "default" 0.0;
24657                visible: 1;
24658                color: 255 255 255 255;
24659             }
24660          }
24661          part { name: "disclip";
24662             type: RECT;
24663             description { state: "default" 0.0;
24664                rel1.to: "bg";
24665                rel2.to: "bg";
24666             }
24667             description { state: "disabled" 0.0;
24668                inherit: "default" 0.0;
24669                color: 255 255 255 64;
24670             }
24671          }
24672       }
24673       programs {
24674          // signal: elm,state,%s,active
24675          //   a "check" item named %s went active
24676          // signal: elm,state,%s,passive
24677          //   a "check" item named %s went passive
24678          // default is passive
24679          program {
24680             name:    "go_active";
24681             signal:  "elm,state,selected";
24682             source:  "elm";
24683             action:  STATE_SET "selected" 0.0;
24684             target:  "bg";
24685             target:  "fg1";
24686             target:  "fg2";
24687             target:  "elm.text.title";
24688             target:  "elm.text.album-artist";
24689          }
24690          program {
24691             name:    "go_passive";
24692             signal:  "elm,state,unselected";
24693             source:  "elm";
24694             action:  STATE_SET "default" 0.0;
24695             target:  "bg";
24696             target:  "fg1";
24697             target:  "fg2";
24698             target:  "elm.text.title";
24699             target:  "elm.text.album-artist";
24700             transition: LINEAR 0.1;
24701          }
24702          program {
24703             name:    "go_disabled";
24704             signal:  "elm,state,disabled";
24705             source:  "elm";
24706             action:  STATE_SET "disabled" 0.0;
24707             target:  "disclip";
24708          }
24709          program {
24710             name:    "go_enabled";
24711             signal:  "elm,state,enabled";
24712             source:  "elm";
24713             action:  STATE_SET "default" 0.0;
24714             target:  "disclip";
24715          }
24716       }
24717    }
24718
24719    group { name: "elm/genlist/item_compress/media-album/default";
24720       data.item: "stacking" "above";
24721       data.item: "selectraise" "on";
24722       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
24723       data.item: "states" "elm.state.trackno";
24724       data.item: "treesize" "20";
24725       images {
24726          image: "bt_sm_base1.png" COMP;
24727          image: "bt_sm_shine.png" COMP;
24728          image: "bt_sm_hilight.png" COMP;
24729          image: "ilist_1.png" COMP;
24730          image: "ilist_item_shadow.png" COMP;
24731       }
24732       script {
24733          public dot_visible;
24734       }
24735       parts {
24736          part {
24737             name: "event";
24738             type: RECT;
24739             repeat_events: 1;
24740             description {
24741                state: "default" 0.0;
24742                color: 0 0 0 0;
24743             }
24744          }
24745          part {
24746             name: "base_sh";
24747             mouse_events: 0;
24748             description {
24749                state: "default" 0.0;
24750                align: 0.0 0.0;
24751                min: 0 10;
24752                fixed: 1 1;
24753                rel1 {
24754                   to: "base";
24755                   relative: 0.0 1.0;
24756                   offset: 0 0;
24757                }
24758                rel2 {
24759                   to: "base";
24760                   relative: 1.0 1.0;
24761                   offset: -1 0;
24762                }
24763                image {
24764                   normal: "ilist_item_shadow.png";
24765                }
24766                fill.smooth: 0;
24767             }
24768          }
24769          part {
24770             name: "base";
24771             mouse_events: 0;
24772             description {
24773                state: "default" 0.0;
24774                image {
24775                   normal: "ilist_1.png";
24776                   border: 2 2 2 2;
24777                }
24778                fill.smooth: 0;
24779             }
24780          }
24781          part { name: "bg";
24782             clip_to: "disclip";
24783             mouse_events: 0;
24784             description { state: "default" 0.0;
24785                visible: 0;
24786                color: 255 255 255 0;
24787                rel1 {
24788                   relative: 0.0 0.0;
24789                   offset: -5 -5;
24790                }
24791                rel2 {
24792                   relative: 1.0 1.0;
24793                   offset: 4 4;
24794                }
24795                image {
24796                   normal: "bt_sm_base1.png";
24797                   border: 6 6 6 6;
24798                }
24799                image.middle: SOLID;
24800             }
24801             description { state: "selected" 0.0;
24802                inherit: "default" 0.0;
24803                visible: 1;
24804                color: 255 255 255 255;
24805                rel1 {
24806                   relative: 0.0 0.0;
24807                   offset: -2 -2;
24808                }
24809                rel2 {
24810                   relative: 1.0 1.0;
24811                   offset: 1 1;
24812                }
24813             }
24814          }
24815          part { name: "elm.swallow.pad";
24816             type: SWALLOW;
24817             description { state: "default" 0.0;
24818                fixed: 1 0;
24819                align: 0.0 0.5;
24820                rel1 {
24821                   relative: 0.0  0.0;
24822                   offset:   4    4;
24823                }
24824                rel2 {
24825                   relative: 0.0  1.0;
24826                   offset:   4   -5;
24827                }
24828             }
24829          }
24830          part {
24831             name: "elm.text.trackno";
24832             type: TEXT;
24833             scale: 1;
24834             mouse_events: 0;
24835             description {
24836                state: "default" 0.0;
24837                color: 255 255 255 255;
24838                align: 0.0 0.0;
24839                fixed: 1 0;
24840                rel1 {
24841                   to_y: "elm.text.title";
24842                   relative: 0.0 0.0;
24843                   offset: 5 0;
24844                }
24845                rel2 {
24846                   to_y: "elm.text.title";
24847                   relative: 0.0 1.0;
24848                   offset: 20 0;
24849                }
24850                color: 0 0 0 255;
24851                color3: 0 0 0 0;
24852                text {
24853                   font: "Sans";
24854                   size: 10;
24855                   min: 1 1;
24856                   align: 1.0 0.5;
24857                }
24858             }
24859             description { state: "selected" 0.0;
24860                inherit: "default" 0.0;
24861                color: 224 224 224 255;
24862                color3: 0 0 0 64;
24863             }
24864          }
24865          part {
24866             name: "dot";
24867             type: TEXT;
24868             scale: 1;
24869             mouse_events: 0;
24870             description {
24871                state: "default" 0.0;
24872                color: 255 255 255 255;
24873                visible: 0;
24874                fixed: 1 1;
24875                align: 0.0 0.0;
24876                rel1 {
24877                   to_x: "elm.text.trackno";
24878                   to_y: "elm.text.title";
24879                   relative: 1.0 0.0;
24880                   offset: 1 0;
24881                }
24882                rel2 {
24883                   to_x: "elm.text.trackno";
24884                   to_y: "elm.text.title";
24885                   relative: 1.0 1.0;
24886                   offset: 1 0;
24887
24888                }
24889                color: 0 0 0 255;
24890                color3: 0 0 0 0;
24891                text {
24892                   font: "Sans";
24893                   size: 10;
24894                   min: 1 1;
24895                   align: 0.0 0.5;
24896                   text: ".";
24897                }
24898             }
24899             description {
24900                state: "visible" 0.0;
24901                inherit: "default" 0.0;
24902                visible: 1;
24903             }
24904             description { state: "selected" 0.0;
24905                inherit: "default" 0.0;
24906                color: 224 224 224 255;
24907                color3: 0 0 0 64;
24908                visible: 1;
24909             }
24910          }
24911          programs {
24912             program {
24913                signal: "elm,state,elm.state.trackno,active";
24914                source: "elm";
24915                script {
24916                   set_state(PART:"dot", "visible", 0.0);
24917                   set_int(dot_visible, 1);
24918                }
24919             }
24920          }
24921          part { name: "elm.text.title";
24922             clip_to: "disclip";
24923             type:           TEXT;
24924             effect:         SOFT_SHADOW;
24925             mouse_events:   0;
24926             scale: 1;
24927             description {
24928                state: "default" 0.0;
24929                rel1 {
24930                   to_x: "dot";
24931                   relative: 0.0  0.0;
24932                   offset:   4 4;
24933                }
24934                rel2 {
24935                   relative: 1.0  0.5;
24936                   offset:   -1 -5;
24937                }
24938                color: 0 0 0 255;
24939                color3: 0 0 0 0;
24940                text {
24941                   font: "Sans";
24942                   size: 10;
24943                   min: 0 1;
24944                   align: 0.0 0.5;
24945                }
24946             }
24947             description { state: "selected" 0.0;
24948                inherit: "default" 0.0;
24949                color: 224 224 224 255;
24950                color3: 0 0 0 64;
24951             }
24952          }
24953          part { name: "elm.text.length";
24954             clip_to: "disclip";
24955             type:           TEXT;
24956             mouse_events:   0;
24957             scale: 1;
24958             description {
24959                state: "default" 0.0;
24960                rel1 {
24961                   relative: 0.0  0.5;
24962                   offset:   4 4;
24963                }
24964                rel2 {
24965                   relative: 1.0  1.0;
24966                   offset:   -1 -5;
24967                }
24968                color: 0 0 0 128;
24969                color3: 0 0 0 0;
24970                text {
24971                   font: "Sans";
24972                   size: 8;
24973                   min: 0 1;
24974                   align: 0.0 0.5;
24975                }
24976             }
24977             description { state: "selected" 0.0;
24978                inherit: "default" 0.0;
24979                color: 128 128 128 255;
24980                color3: 0 0 0 32;
24981             }
24982          }
24983          part { name: "fg1";
24984             clip_to: "disclip";
24985             mouse_events: 0;
24986             description { state: "default" 0.0;
24987                visible: 0;
24988                color: 255 255 255 0;
24989                rel1.to: "bg";
24990                rel2.relative: 1.0 0.5;
24991                rel2.to: "bg";
24992                image {
24993                   normal: "bt_sm_hilight.png";
24994                   border: 6 6 6 0;
24995                }
24996             }
24997             description { state: "selected" 0.0;
24998                inherit: "default" 0.0;
24999                visible: 1;
25000                color: 255 255 255 255;
25001             }
25002          }
25003          part { name: "fg2";
25004             clip_to: "disclip";
25005             mouse_events: 0;
25006             description { state: "default" 0.0;
25007                visible: 0;
25008                color: 255 255 255 0;
25009                rel1.to: "bg";
25010                rel2.to: "bg";
25011                image {
25012                   normal: "bt_sm_shine.png";
25013                   border: 6 6 6 0;
25014                }
25015             }
25016             description { state: "selected" 0.0;
25017                inherit: "default" 0.0;
25018                visible: 1;
25019                color: 255 255 255 255;
25020             }
25021          }
25022          part { name: "disclip";
25023             type: RECT;
25024             description { state: "default" 0.0;
25025                rel1.to: "bg";
25026                rel2.to: "bg";
25027             }
25028             description { state: "disabled" 0.0;
25029                inherit: "default" 0.0;
25030                color: 255 255 255 64;
25031             }
25032          }
25033       }
25034       programs {
25035          // signal: elm,state,%s,active
25036          //   a "check" item named %s went active
25037          // signal: elm,state,%s,passive
25038          //   a "check" item named %s went passive
25039          // default is passive
25040          program {
25041             name:    "go_active";
25042             signal:  "elm,state,selected";
25043             source:  "elm";
25044             action:  STATE_SET "selected" 0.0;
25045             target:  "bg";
25046             target:  "fg1";
25047             target:  "fg2";
25048             target:  "elm.text.title";
25049             target:  "elm.text.trackno";
25050             target:  "elm.text.length";
25051             after:   "dot_active";
25052          }
25053          program {
25054             name: "dot_active";
25055             script {
25056                if (get_int(dot_visible) == 1)
25057                   set_state(PART:"dot", "selected", 0.0);
25058             }
25059          }
25060          program {
25061             name:    "go_passive";
25062             signal:  "elm,state,unselected";
25063             source:  "elm";
25064             action:  STATE_SET "default" 0.0;
25065             target:  "bg";
25066             target:  "fg1";
25067             target:  "fg2";
25068             target:  "elm.text.title";
25069             target:  "elm.text.length";
25070             target:  "elm.text.trackno";
25071             transition: LINEAR 0.1;
25072             after:   "dot_passive";
25073          }
25074          program {
25075             name: "dot_passive";
25076             script {
25077                if (get_int(dot_visible) == 1)
25078                   set_state(PART:"dot", "visible", 0.0);
25079             }
25080          }
25081          program {
25082             name:    "go_disabled";
25083             signal:  "elm,state,disabled";
25084             source:  "elm";
25085             action:  STATE_SET "disabled" 0.0;
25086             target:  "disclip";
25087          }
25088          program {
25089             name:    "go_enabled";
25090             signal:  "elm,state,enabled";
25091             source:  "elm";
25092             action:  STATE_SET "default" 0.0;
25093             target:  "disclip";
25094          }
25095       }
25096    }
25097    group { name: "elm/genlist/item_compress_odd/media-album/default";
25098       data.item: "stacking" "below";
25099       data.item: "selectraise" "on";
25100       data.item: "labels" "elm.text.title elm.text.trackno elm.text.length";
25101       data.item: "states" "elm.state.trackno";
25102       data.item: "treesize" "20";
25103       images {
25104          image: "bt_sm_base1.png" COMP;
25105          image: "bt_sm_shine.png" COMP;
25106          image: "bt_sm_hilight.png" COMP;
25107          image: "ilist_2.png" COMP;
25108       }
25109       script {
25110          public dot_visible;
25111       }
25112       parts {
25113          part { name: "event";
25114             type: RECT;
25115             repeat_events: 1;
25116             description {
25117                state: "default" 0.0;
25118                color: 0 0 0 0;
25119             }
25120          }
25121          part {
25122             name: "base";
25123             mouse_events: 0;
25124             description {
25125                state: "default" 0.0;
25126                image {
25127                   normal: "ilist_2.png";
25128                   border: 2 2 2 2;
25129                }
25130                fill.smooth: 0;
25131             }
25132          }
25133          part { name: "bg";
25134             clip_to: "disclip";
25135             mouse_events: 0;
25136             description { state: "default" 0.0;
25137                visible: 0;
25138                color: 255 255 255 0;
25139                rel1 {
25140                   relative: 0.0 0.0;
25141                   offset: -5 -5;
25142                }
25143                rel2 {
25144                   relative: 1.0 1.0;
25145                   offset: 4 4;
25146                }
25147                image {
25148                   normal: "bt_sm_base1.png";
25149                   border: 6 6 6 6;
25150                }
25151                image.middle: SOLID;
25152             }
25153             description { state: "selected" 0.0;
25154                inherit: "default" 0.0;
25155                visible: 1;
25156                color: 255 255 255 255;
25157                rel1 {
25158                   relative: 0.0 0.0;
25159                   offset: -2 -2;
25160                }
25161                rel2 {
25162                   relative: 1.0 1.0;
25163                   offset: 1 1;
25164                }
25165             }
25166          }
25167          part { name: "elm.swallow.pad";
25168             type: SWALLOW;
25169             description { state: "default" 0.0;
25170                fixed: 1 0;
25171                align: 0.0 0.5;
25172                rel1 {
25173                   relative: 0.0  0.0;
25174                   offset:   4    4;
25175                }
25176                rel2 {
25177                   relative: 0.0  1.0;
25178                   offset:   4   -5;
25179                }
25180             }
25181          }
25182          part {
25183             name: "elm.text.trackno";
25184             type: TEXT;
25185             scale: 1;
25186             mouse_events: 0;
25187             description {
25188                state: "default" 0.0;
25189                color: 255 255 255 255;
25190                align: 0.0 0.0;
25191                fixed: 1 0;
25192                rel1 {
25193                   to_y: "elm.text.title";
25194                   relative: 0.0 0.0;
25195                   offset: 5 0;
25196                }
25197                rel2 {
25198                   to_y: "elm.text.title";
25199                   relative: 0.0 1.0;
25200                   offset: 20 0;
25201                }
25202                color: 0 0 0 255;
25203                color3: 0 0 0 0;
25204                text {
25205                   font: "Sans";
25206                   size: 10;
25207                   min: 1 1;
25208                   align: 1.0 0.5;
25209                }
25210             }
25211             description { state: "selected" 0.0;
25212                inherit: "default" 0.0;
25213                color: 224 224 224 255;
25214                color3: 0 0 0 64;
25215             }
25216          }
25217          part {
25218             name: "dot";
25219             type: TEXT;
25220             scale: 1;
25221             mouse_events: 0;
25222             description {
25223                state: "default" 0.0;
25224                color: 255 255 255 255;
25225                visible: 0;
25226                fixed: 1 1;
25227                align: 0.0 0.0;
25228                rel1 {
25229                   to_x: "elm.text.trackno";
25230                   to_y: "elm.text.title";
25231                   relative: 1.0 0.0;
25232                   offset: 1 0;
25233                }
25234                rel2 {
25235                   to_x: "elm.text.trackno";
25236                   to_y: "elm.text.title";
25237                   relative: 1.0 1.0;
25238                   offset: 1 0;
25239
25240                }
25241                color: 0 0 0 255;
25242                color3: 0 0 0 0;
25243                text {
25244                   font: "Sans";
25245                   size: 10;
25246                   min: 1 1;
25247                   align: 0.0 0.5;
25248                   text: ".";
25249                }
25250             }
25251             description {
25252                state: "visible" 0.0;
25253                inherit: "default" 0.0;
25254                visible: 1;
25255             }
25256             description { state: "selected" 0.0;
25257                inherit: "default" 0.0;
25258                color: 224 224 224 255;
25259                color3: 0 0 0 64;
25260                visible: 1;
25261             }
25262          }
25263          programs {
25264             program {
25265                signal: "elm,state,elm.state.trackno,active";
25266                source: "elm";
25267                script {
25268                   set_state(PART:"dot", "visible", 0.0);
25269                   set_int(dot_visible, 1);
25270                }
25271             }
25272          }
25273          part { name: "elm.text.title";
25274             clip_to: "disclip";
25275             type:           TEXT;
25276             effect:         SOFT_SHADOW;
25277             mouse_events:   0;
25278             scale: 1;
25279             description {
25280                state: "default" 0.0;
25281                rel1 {
25282                   to_x: "dot";
25283                   relative: 1.0  0.0;
25284                   offset:   4 4;
25285                }
25286                rel2 {
25287                   relative: 1.0  0.5;
25288                   offset:   -1 -5;
25289                }
25290                color: 0 0 0 255;
25291                color3: 0 0 0 0;
25292                text {
25293                   font: "Sans";
25294                   size: 10;
25295                   min: 0 1;
25296                   align: 0.0 0.5;
25297                }
25298             }
25299             description { state: "selected" 0.0;
25300                inherit: "default" 0.0;
25301                color: 224 224 224 255;
25302                color3: 0 0 0 64;
25303             }
25304          }
25305          part { name: "elm.text.length";
25306             clip_to: "disclip";
25307             type:           TEXT;
25308             mouse_events:   0;
25309             scale: 1;
25310             description {
25311                state: "default" 0.0;
25312                rel1 {
25313                   relative: 0.0  0.5;
25314                   offset:   4 4;
25315                }
25316                rel2 {
25317                   relative: 1.0  1.0;
25318                   offset:   -1 -5;
25319                }
25320                color: 0 0 0 128;
25321                color3: 0 0 0 0;
25322                text {
25323                   font: "Sans";
25324                   size: 8;
25325                   min: 0 1;
25326                   align: 0.0 0.5;
25327                }
25328             }
25329             description { state: "selected" 0.0;
25330                inherit: "default" 0.0;
25331                color: 128 128 128 255;
25332                color3: 0 0 0 32;
25333             }
25334          }
25335          part { name: "fg1";
25336             clip_to: "disclip";
25337             mouse_events: 0;
25338             description { state: "default" 0.0;
25339                visible: 0;
25340                color: 255 255 255 0;
25341                rel1.to: "bg";
25342                rel2.relative: 1.0 0.5;
25343                rel2.to: "bg";
25344                image {
25345                   normal: "bt_sm_hilight.png";
25346                   border: 6 6 6 0;
25347                }
25348             }
25349             description { state: "selected" 0.0;
25350                inherit: "default" 0.0;
25351                visible: 1;
25352                color: 255 255 255 255;
25353             }
25354          }
25355          part { name: "fg2";
25356             clip_to: "disclip";
25357             mouse_events: 0;
25358             description { state: "default" 0.0;
25359                visible: 0;
25360                color: 255 255 255 0;
25361                rel1.to: "bg";
25362                rel2.to: "bg";
25363                image {
25364                   normal: "bt_sm_shine.png";
25365                   border: 6 6 6 0;
25366                }
25367             }
25368             description { state: "selected" 0.0;
25369                inherit: "default" 0.0;
25370                visible: 1;
25371                color: 255 255 255 255;
25372             }
25373          }
25374          part { name: "disclip";
25375             type: RECT;
25376             description { state: "default" 0.0;
25377                rel1.to: "bg";
25378                rel2.to: "bg";
25379             }
25380             description { state: "disabled" 0.0;
25381                inherit: "default" 0.0;
25382                color: 255 255 255 64;
25383             }
25384          }
25385       }
25386       programs {
25387          // signal: elm,state,%s,active
25388          //   a "check" item named %s went active
25389          // signal: elm,state,%s,passive
25390          //   a "check" item named %s went passive
25391          // default is passive
25392          program {
25393             name:    "go_active";
25394             signal:  "elm,state,selected";
25395             source:  "elm";
25396             action:  STATE_SET "selected" 0.0;
25397             target:  "bg";
25398             target:  "fg1";
25399             target:  "fg2";
25400             target:  "elm.text.title";
25401             target:  "elm.text.length";
25402             target:  "elm.text.trackno";
25403             after:   "dot_active";
25404          }
25405          program {
25406             name: "dot_active";
25407             script {
25408                if (get_int(dot_visible) == 1)
25409                   set_state(PART:"dot", "selected", 0.0);
25410             }
25411          }
25412          program {
25413             name:    "go_passive";
25414             signal:  "elm,state,unselected";
25415             source:  "elm";
25416             action:  STATE_SET "default" 0.0;
25417             target:  "bg";
25418             target:  "fg1";
25419             target:  "fg2";
25420             target:  "elm.text.title";
25421             target:  "elm.text.length";
25422             target:  "elm.text.trackno";
25423             transition: LINEAR 0.1;
25424             after:   "dot_passive";
25425          }
25426          program {
25427             name: "dot_passive";
25428             script {
25429                if (get_int(dot_visible) == 1)
25430                   set_state(PART:"dot", "visible", 0.0);
25431             }
25432          }
25433          program {
25434             name:    "go_disabled";
25435             signal:  "elm,state,disabled";
25436             source:  "elm";
25437             action:  STATE_SET "disabled" 0.0;
25438             target:  "disclip";
25439          }
25440          program {
25441             name:    "go_enabled";
25442             signal:  "elm,state,enabled";
25443             source:  "elm";
25444             action:  STATE_SET "default" 0.0;
25445             target:  "disclip";
25446          }
25447       }
25448    }
25449
25450    group { name: "elm/genlist/item_compress/media-preview/default";
25451       data.item: "stacking" "above";
25452       data.item: "selectraise" "on";
25453       data.item: "labels" "elm.text.title elm.text.artist";
25454       data.item: "icons" "elm.swallow.preview";
25455       data.item: "treesize" "20";
25456       images {
25457          image: "bt_sm_base1.png" COMP;
25458          image: "bt_sm_shine.png" COMP;
25459          image: "bt_sm_hilight.png" COMP;
25460          image: "ilist_1.png" COMP;
25461          image: "ilist_item_shadow.png" COMP;
25462       }
25463       parts {
25464          part {
25465             name: "event";
25466             type: RECT;
25467             repeat_events: 1;
25468             description {
25469                state: "default" 0.0;
25470                color: 0 0 0 0;
25471             }
25472          }
25473          part {
25474             name: "base_sh";
25475             mouse_events: 0;
25476             description {
25477                state: "default" 0.0;
25478                align: 0.0 0.0;
25479                min: 0 10;
25480                fixed: 1 1;
25481                rel1 {
25482                   to: "base";
25483                   relative: 0.0 1.0;
25484                   offset: 0 0;
25485                }
25486                rel2 {
25487                   to: "base";
25488                   relative: 1.0 1.0;
25489                   offset: -1 0;
25490                }
25491                image {
25492                   normal: "ilist_item_shadow.png";
25493                }
25494                fill.smooth: 0;
25495             }
25496          }
25497          part {
25498             name: "base";
25499             mouse_events: 0;
25500             description {
25501                state: "default" 0.0;
25502                image {
25503                   normal: "ilist_1.png";
25504                   border: 2 2 2 2;
25505                }
25506                fill.smooth: 0;
25507             }
25508          }
25509          part { name: "bg";
25510             clip_to: "disclip";
25511             mouse_events: 0;
25512             description { state: "default" 0.0;
25513                visible: 0;
25514                color: 255 255 255 0;
25515                rel1 {
25516                   relative: 0.0 0.0;
25517                   offset: -5 -5;
25518                }
25519                rel2 {
25520                   relative: 1.0 1.0;
25521                   offset: 4 4;
25522                }
25523                image {
25524                   normal: "bt_sm_base1.png";
25525                   border: 6 6 6 6;
25526                }
25527                image.middle: SOLID;
25528             }
25529             description { state: "selected" 0.0;
25530                inherit: "default" 0.0;
25531                visible: 1;
25532                color: 255 255 255 255;
25533                rel1 {
25534                   relative: 0.0 0.0;
25535                   offset: -2 -2;
25536                }
25537                rel2 {
25538                   relative: 1.0 1.0;
25539                   offset: 1 1;
25540                }
25541             }
25542          }
25543          part { name: "elm.swallow.pad";
25544             type: SWALLOW;
25545             description { state: "default" 0.0;
25546                fixed: 1 0;
25547                align: 0.0 0.5;
25548                rel1 {
25549                   relative: 0.0  0.0;
25550                   offset:   4    4;
25551                }
25552                rel2 {
25553                   relative: 0.0  1.0;
25554                   offset:   4   -5;
25555                }
25556             }
25557          }
25558          part { name: "elm.swallow.preview";
25559             clip_to: "disclip";
25560             type: SWALLOW;
25561             description { state: "default" 0.0;
25562                fixed: 1 0;
25563                align: 0.0 0.5;
25564                min: 68 68;
25565                max: 68 68;
25566                rel1 {
25567                   to_x: "elm.swallow.pad";
25568                   relative: 1.0  0.0;
25569                   offset:   -1    4;
25570                }
25571                rel2 {
25572                   to_x: "elm.swallow.pad";
25573                   relative: 1.0  1.0;
25574                   offset:   -1   -5;
25575                }
25576             }
25577          }
25578          part { name: "elm.text.title";
25579             clip_to: "disclip";
25580             type:           TEXT;
25581             effect:         SOFT_SHADOW;
25582             mouse_events:   0;
25583             scale: 1;
25584             description {
25585                state: "default" 0.0;
25586                rel1 {
25587                   to_x:     "elm.swallow.preview";
25588                   relative: 1.0  0.0;
25589                   offset:   4 4;
25590                }
25591                rel2 {
25592                   relative: 1.0  0.5;
25593                   offset:   -1 -5;
25594                }
25595                color: 0 0 0 255;
25596                color3: 0 0 0 0;
25597                text {
25598                   font: "Sans";
25599                   size: 10;
25600                   min: 0 1;
25601                   align: 0.0 0.5;
25602                }
25603             }
25604             description { state: "selected" 0.0;
25605                inherit: "default" 0.0;
25606                color: 224 224 224 255;
25607                color3: 0 0 0 64;
25608             }
25609          }
25610          part { name: "elm.text.artist";
25611             clip_to: "disclip";
25612             type:           TEXT;
25613             mouse_events:   0;
25614             scale: 1;
25615             description {
25616                state: "default" 0.0;
25617                rel1 {
25618                   to_x:     "elm.swallow.preview";
25619                   relative: 1.0  0.5;
25620                   offset:   4 4;
25621                }
25622                rel2 {
25623                   relative: 1.0  1.0;
25624                   offset:   -1 -5;
25625                }
25626                color: 0 0 0 128;
25627                color3: 0 0 0 0;
25628                text {
25629                   font: "Sans";
25630                   size: 8;
25631                   min: 0 1;
25632                   align: 0.0 0.5;
25633                }
25634             }
25635             description { state: "selected" 0.0;
25636                inherit: "default" 0.0;
25637                color: 128 128 128 255;
25638                color3: 0 0 0 32;
25639             }
25640          }
25641          part { name: "fg1";
25642             clip_to: "disclip";
25643             mouse_events: 0;
25644             description { state: "default" 0.0;
25645                visible: 0;
25646                color: 255 255 255 0;
25647                rel1.to: "bg";
25648                rel2.relative: 1.0 0.5;
25649                rel2.to: "bg";
25650                image {
25651                   normal: "bt_sm_hilight.png";
25652                   border: 6 6 6 0;
25653                }
25654             }
25655             description { state: "selected" 0.0;
25656                inherit: "default" 0.0;
25657                visible: 1;
25658                color: 255 255 255 255;
25659             }
25660          }
25661          part { name: "fg2";
25662             clip_to: "disclip";
25663             mouse_events: 0;
25664             description { state: "default" 0.0;
25665                visible: 0;
25666                color: 255 255 255 0;
25667                rel1.to: "bg";
25668                rel2.to: "bg";
25669                image {
25670                   normal: "bt_sm_shine.png";
25671                   border: 6 6 6 0;
25672                }
25673             }
25674             description { state: "selected" 0.0;
25675                inherit: "default" 0.0;
25676                visible: 1;
25677                color: 255 255 255 255;
25678             }
25679          }
25680          part { name: "disclip";
25681             type: RECT;
25682             description { state: "default" 0.0;
25683                rel1.to: "bg";
25684                rel2.to: "bg";
25685             }
25686             description { state: "disabled" 0.0;
25687                inherit: "default" 0.0;
25688                color: 255 255 255 64;
25689             }
25690          }
25691       }
25692       programs {
25693          // signal: elm,state,%s,active
25694          //   a "check" item named %s went active
25695          // signal: elm,state,%s,passive
25696          //   a "check" item named %s went passive
25697          // default is passive
25698          program {
25699             name:    "go_active";
25700             signal:  "elm,state,selected";
25701             source:  "elm";
25702             action:  STATE_SET "selected" 0.0;
25703             target:  "bg";
25704             target:  "fg1";
25705             target:  "fg2";
25706             target:  "elm.text.title";
25707             target:  "elm.text.artist";
25708          }
25709          program {
25710             name:    "go_passive";
25711             signal:  "elm,state,unselected";
25712             source:  "elm";
25713             action:  STATE_SET "default" 0.0;
25714             target:  "bg";
25715             target:  "fg1";
25716             target:  "fg2";
25717             target:  "elm.text.title";
25718             target:  "elm.text.artist";
25719             transition: LINEAR 0.1;
25720          }
25721          program {
25722             name:    "go_disabled";
25723             signal:  "elm,state,disabled";
25724             source:  "elm";
25725             action:  STATE_SET "disabled" 0.0;
25726             target:  "disclip";
25727          }
25728          program {
25729             name:    "go_enabled";
25730             signal:  "elm,state,enabled";
25731             source:  "elm";
25732             action:  STATE_SET "default" 0.0;
25733             target:  "disclip";
25734          }
25735       }
25736    }
25737    group { name: "elm/genlist/item_compress_odd/media-preview/default";
25738       data.item: "stacking" "below";
25739       data.item: "selectraise" "on";
25740       data.item: "labels" "elm.text.title elm.text.artist";
25741       data.item: "icons" "elm.swallow.preview";
25742       data.item: "treesize" "20";
25743       images {
25744          image: "bt_sm_base1.png" COMP;
25745          image: "bt_sm_shine.png" COMP;
25746          image: "bt_sm_hilight.png" COMP;
25747          image: "ilist_2.png" COMP;
25748       }
25749       parts {
25750          part { name: "event";
25751             type: RECT;
25752             repeat_events: 1;
25753             description {
25754                state: "default" 0.0;
25755                color: 0 0 0 0;
25756             }
25757          }
25758          part {
25759             name: "base";
25760             mouse_events: 0;
25761             description {
25762                state: "default" 0.0;
25763                image {
25764                   normal: "ilist_2.png";
25765                   border: 2 2 2 2;
25766                }
25767                fill.smooth: 0;
25768             }
25769          }
25770          part { name: "bg";
25771             clip_to: "disclip";
25772             mouse_events: 0;
25773             description { state: "default" 0.0;
25774                visible: 0;
25775                color: 255 255 255 0;
25776                rel1 {
25777                   relative: 0.0 0.0;
25778                   offset: -5 -5;
25779                }
25780                rel2 {
25781                   relative: 1.0 1.0;
25782                   offset: 4 4;
25783                }
25784                image {
25785                   normal: "bt_sm_base1.png";
25786                   border: 6 6 6 6;
25787                }
25788                image.middle: SOLID;
25789             }
25790             description { state: "selected" 0.0;
25791                inherit: "default" 0.0;
25792                visible: 1;
25793                color: 255 255 255 255;
25794                rel1 {
25795                   relative: 0.0 0.0;
25796                   offset: -2 -2;
25797                }
25798                rel2 {
25799                   relative: 1.0 1.0;
25800                   offset: 1 1;
25801                }
25802             }
25803          }
25804          part { name: "elm.swallow.pad";
25805             type: SWALLOW;
25806             description { state: "default" 0.0;
25807                fixed: 1 0;
25808                align: 0.0 0.5;
25809                rel1 {
25810                   relative: 0.0  0.0;
25811                   offset:   4    4;
25812                }
25813                rel2 {
25814                   relative: 0.0  1.0;
25815                   offset:   4   -5;
25816                }
25817             }
25818          }
25819          part { name: "elm.swallow.preview";
25820             clip_to: "disclip";
25821             type: SWALLOW;
25822             description { state: "default" 0.0;
25823                fixed: 1 0;
25824                align: 0.0 0.5;
25825                min: 68 68;
25826                max: 68 68;
25827                rel1 {
25828                   to_x: "elm.swallow.pad";
25829                   relative: 1.0  0.0;
25830                   offset:   -1    4;
25831                }
25832                rel2 {
25833                   to_x: "elm.swallow.pad";
25834                   relative: 1.0  1.0;
25835                   offset:   -1   -5;
25836                }
25837             }
25838          }
25839          part { name: "elm.text.title";
25840             clip_to: "disclip";
25841             type:           TEXT;
25842             effect:         SOFT_SHADOW;
25843             mouse_events:   0;
25844             scale: 1;
25845             description {
25846                state: "default" 0.0;
25847                rel1 {
25848                   to_x:     "elm.swallow.preview";
25849                   relative: 1.0  0.0;
25850                   offset:   4 4;
25851                }
25852                rel2 {
25853                   relative: 1.0  0.5;
25854                   offset:   -1 -5;
25855                }
25856                color: 0 0 0 255;
25857                color3: 0 0 0 0;
25858                text {
25859                   font: "Sans";
25860                   size: 10;
25861                   min: 0 1;
25862                   align: 0.0 0.5;
25863                }
25864             }
25865             description { state: "selected" 0.0;
25866                inherit: "default" 0.0;
25867                color: 224 224 224 255;
25868                color3: 0 0 0 64;
25869             }
25870          }
25871          part { name: "elm.text.artist";
25872             clip_to: "disclip";
25873             type:           TEXT;
25874             mouse_events:   0;
25875             scale: 1;
25876             description {
25877                state: "default" 0.0;
25878                rel1 {
25879                   to_x:     "elm.swallow.preview";
25880                   relative: 1.0  0.5;
25881                   offset:   4 4;
25882                }
25883                rel2 {
25884                   relative: 1.0  1.0;
25885                   offset:   -1 -5;
25886                }
25887                color: 0 0 0 128;
25888                color3: 0 0 0 0;
25889                text {
25890                   font: "Sans";
25891                   size: 8;
25892                   min: 0 1;
25893                   align: 0.0 0.5;
25894                }
25895             }
25896             description { state: "selected" 0.0;
25897                inherit: "default" 0.0;
25898                color: 128 128 128 255;
25899                color3: 0 0 0 32;
25900             }
25901          }
25902          part { name: "fg1";
25903             clip_to: "disclip";
25904             mouse_events: 0;
25905             description { state: "default" 0.0;
25906                visible: 0;
25907                color: 255 255 255 0;
25908                rel1.to: "bg";
25909                rel2.relative: 1.0 0.5;
25910                rel2.to: "bg";
25911                image {
25912                   normal: "bt_sm_hilight.png";
25913                   border: 6 6 6 0;
25914                }
25915             }
25916             description { state: "selected" 0.0;
25917                inherit: "default" 0.0;
25918                visible: 1;
25919                color: 255 255 255 255;
25920             }
25921          }
25922          part { name: "fg2";
25923             clip_to: "disclip";
25924             mouse_events: 0;
25925             description { state: "default" 0.0;
25926                visible: 0;
25927                color: 255 255 255 0;
25928                rel1.to: "bg";
25929                rel2.to: "bg";
25930                image {
25931                   normal: "bt_sm_shine.png";
25932                   border: 6 6 6 0;
25933                }
25934             }
25935             description { state: "selected" 0.0;
25936                inherit: "default" 0.0;
25937                visible: 1;
25938                color: 255 255 255 255;
25939             }
25940          }
25941          part { name: "disclip";
25942             type: RECT;
25943             description { state: "default" 0.0;
25944                rel1.to: "bg";
25945                rel2.to: "bg";
25946             }
25947             description { state: "disabled" 0.0;
25948                inherit: "default" 0.0;
25949                color: 255 255 255 64;
25950             }
25951          }
25952       }
25953       programs {
25954          // signal: elm,state,%s,active
25955          //   a "check" item named %s went active
25956          // signal: elm,state,%s,passive
25957          //   a "check" item named %s went passive
25958          // default is passive
25959          program {
25960             name:    "go_active";
25961             signal:  "elm,state,selected";
25962             source:  "elm";
25963             action:  STATE_SET "selected" 0.0;
25964             target:  "bg";
25965             target:  "fg1";
25966             target:  "fg2";
25967             target:  "elm.text.title";
25968             target:  "elm.text.artist";
25969          }
25970          program {
25971             name:    "go_passive";
25972             signal:  "elm,state,unselected";
25973             source:  "elm";
25974             action:  STATE_SET "default" 0.0;
25975             target:  "bg";
25976             target:  "fg1";
25977             target:  "fg2";
25978             target:  "elm.text.title";
25979             target:  "elm.text.artist";
25980             transition: LINEAR 0.1;
25981          }
25982          program {
25983             name:    "go_disabled";
25984             signal:  "elm,state,disabled";
25985             source:  "elm";
25986             action:  STATE_SET "disabled" 0.0;
25987             target:  "disclip";
25988          }
25989          program {
25990             name:    "go_enabled";
25991             signal:  "elm,state,enabled";
25992             source:  "elm";
25993             action:  STATE_SET "default" 0.0;
25994             target:  "disclip";
25995          }
25996       }
25997    }
25998
25999 ///////////////////////////////////////////////////////////////////////////////
26000    group { name: "elm/pager/base/default";
26001       data.item: "onshow" "raise";
26002 // other options
26003 //      data.item: "onhide" "lower";
26004 //      data.item: "onshow" "lower";
26005       images {
26006          image: "frame_1.png" COMP;
26007          image: "frame_2.png" COMP;
26008          image: "dia_grad.png" COMP;
26009       }
26010       parts {
26011          part { name: "clip";
26012             type: RECT;
26013             mouse_events: 0;
26014             description { state: "default" 0.0;
26015                rel1 {
26016                   to: "base";
26017                   offset: -9999 -9999;
26018                }
26019                rel2 {
26020                   to: "base";
26021                   offset: 9999 9999;
26022                }
26023                color: 255 255 255 255;
26024             }
26025             description { state: "visible" 0.0;
26026                inherit: "default" 0.0;
26027             }
26028             description { state: "hidden" 0.0;
26029                inherit: "default" 0.0;
26030                color: 255 255 255 0;
26031                visible: 0;
26032             }
26033          }
26034          part { name: "base0";
26035             mouse_events:  0;
26036             clip_to: "clip";
26037             description { state: "default" 0.0;
26038                image.normal: "dia_grad.png";
26039                rel1.to: "over";
26040                rel2.to: "over";
26041                fill {
26042                   smooth: 0;
26043                   size {
26044                      relative: 0.0 1.0;
26045                      offset: 64 0;
26046                   }
26047                }
26048             }
26049          }
26050          part { name: "base";
26051             mouse_events:  0;
26052             clip_to: "clip";
26053             description { state: "default" 0.0;
26054                image {
26055                   normal: "frame_2.png";
26056                   border: 5 5 32 26;
26057                   middle: 0;
26058                }
26059                fill.smooth : 0;
26060             }
26061             description { state: "hidden" 0.0;
26062                inherit: "default" 0.0;
26063                rel1.relative: -1.0 0.0;
26064                rel2.relative: 0.0 1.0;
26065             }
26066             description { state: "visible" 0.0;
26067                inherit: "default" 0.0;
26068                rel1.relative: 0.0 0.0;
26069                rel2.relative: 1.0 1.0;
26070             }
26071          }
26072          part { name: "over";
26073             mouse_events:  0;
26074             clip_to: "clip";
26075             description { state:    "default" 0.0;
26076                rel1 {
26077                   to: "base";
26078                   offset: 4 4;
26079                }
26080                rel2 {
26081                   to: "base";
26082                   offset: -5 -5;
26083                }
26084                image {
26085                   normal: "frame_1.png";
26086                   border: 2 2 28 22;
26087                   middle: 0;
26088                }
26089                fill.smooth : 0;
26090             }
26091          }
26092          part { name: "elm.swallow.content";
26093             type: SWALLOW;
26094             clip_to: "clip";
26095             description { state: "default" 0.0;
26096                rel1 {
26097                   to: "base";
26098                   offset: 8 8;
26099                }
26100                rel2 {
26101                   to: "base";
26102                   offset: -9 -9;
26103                }
26104             }
26105          }
26106       }
26107       programs {
26108          program { name: "push_start";
26109             signal: "elm,action,push";
26110             source: "elm";
26111             action:  STATE_SET "hidden" 0.0;
26112             target: "base";
26113             target: "clip";
26114             after: "show_start2";
26115          }
26116          program { name: "show_start";
26117             signal: "elm,action,show";
26118             source: "elm";
26119             action:  STATE_SET "hidden" 0.0;
26120             target: "base";
26121             target: "clip";
26122             after: "show_start2";
26123          }
26124          program { name: "show_start2";
26125             action:  STATE_SET "visible" 0.0;
26126             transition: DECELERATE 0.5;
26127             target: "base";
26128             target: "clip";
26129             after: "show_end";
26130          }
26131          program { name: "show_end";
26132             action: SIGNAL_EMIT "elm,action,show,finished" "";
26133          }
26134          program { name: "pop_start";
26135             signal: "elm,action,pop";
26136             source: "elm";
26137             action:  STATE_SET "visible" 0.0;
26138             target: "base";
26139             target: "clip";
26140             after: "hide_start2";
26141          }
26142          program { name: "hide_start";
26143             signal: "elm,action,hide";
26144             source: "elm";
26145             action:  STATE_SET "visible" 0.0;
26146             target: "base";
26147             target: "clip";
26148             after: "hide_start2";
26149          }
26150          program { name: "hide_start2";
26151             action:  STATE_SET "hidden" 0.0;
26152             transition: DECELERATE 0.5;
26153             target: "base";
26154             target: "clip";
26155             after: "hide_end";
26156          }
26157          program { name: "hide_end";
26158             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26159          }
26160          program { name: "reset";
26161             signal: "elm,action,reset";
26162             source: "elm";
26163             action:  STATE_SET "default" 0.0;
26164             target: "base";
26165             target: "clip";
26166          }
26167       }
26168    }
26169
26170    group { name: "elm/pager/base/slide";
26171       images {
26172          image: "frame_1.png" COMP;
26173          image: "frame_2.png" COMP;
26174          image: "dia_grad.png" COMP;
26175       }
26176       parts {
26177          part { name: "clip";
26178             type: RECT;
26179             mouse_events: 0;
26180             description { state: "default" 0.0;
26181                rel1 {
26182                   to: "base";
26183                   offset: -9999 -9999;
26184                }
26185                rel2 {
26186                   to: "base";
26187                   offset: 9999 9999;
26188                }
26189                color: 255 255 255 255;
26190             }
26191             description { state: "visible" 0.0;
26192                inherit: "default" 0.0;
26193             }
26194             description { state: "hidden" 0.0;
26195                inherit: "default" 0.0;
26196                color: 255 255 255 0;
26197                visible: 0;
26198             }
26199             description { state: "hidden2" 0.0;
26200                inherit: "default" 0.0;
26201                color: 255 255 255 0;
26202                visible: 0;
26203             }
26204          }
26205          part { name: "base0";
26206             mouse_events:  0;
26207             clip_to: "clip";
26208             description { state: "default" 0.0;
26209                image.normal: "dia_grad.png";
26210                rel1.to: "over";
26211                rel2.to: "over";
26212                fill {
26213                   smooth: 0;
26214                   size {
26215                      relative: 0.0 1.0;
26216                      offset: 64 0;
26217                   }
26218                }
26219             }
26220          }
26221          part { name: "base";
26222             mouse_events:  0;
26223             clip_to: "clip";
26224             description { state: "default" 0.0;
26225                image {
26226                   normal: "frame_2.png";
26227                   border: 5 5 32 26;
26228                   middle: 0;
26229                }
26230                fill.smooth : 0;
26231             }
26232             description { state: "hidden" 0.0;
26233                inherit: "default" 0.0;
26234                rel1.relative: -1.0 0.0;
26235                rel2.relative: 0.0 1.0;
26236             }
26237             description { state: "hidden2" 0.0;
26238                inherit: "default" 0.0;
26239                rel1.relative: 1.0 0.0;
26240                rel2.relative: 2.0 1.0;
26241             }
26242             description { state: "visible" 0.0;
26243                inherit: "default" 0.0;
26244                rel1.relative: 0.0 0.0;
26245                rel2.relative: 1.0 1.0;
26246             }
26247          }
26248          part { name: "over";
26249             mouse_events:  0;
26250             clip_to: "clip";
26251             description { state:    "default" 0.0;
26252                rel1 {
26253                   to: "base";
26254                   offset: 4 4;
26255                }
26256                rel2 {
26257                   to: "base";
26258                   offset: -5 -5;
26259                }
26260                image {
26261                   normal: "frame_1.png";
26262                   border: 2 2 28 22;
26263                   middle: 0;
26264                }
26265                fill.smooth : 0;
26266             }
26267          }
26268          part { name: "elm.swallow.content";
26269             type: SWALLOW;
26270             clip_to: "clip";
26271             description { state: "default" 0.0;
26272                rel1 {
26273                   to: "base";
26274                   offset: 8 8;
26275                }
26276                rel2 {
26277                   to: "base";
26278                   offset: -9 -9;
26279                }
26280             }
26281          }
26282       }
26283       programs {
26284          program { name: "push_start";
26285             signal: "elm,action,push";
26286             source: "elm";
26287             action:  STATE_SET "hidden2" 0.0;
26288             target: "base";
26289             target: "clip";
26290             after: "show_start2";
26291          }
26292          program { name: "show_start";
26293             signal: "elm,action,show";
26294             source: "elm";
26295             action:  STATE_SET "hidden" 0.0;
26296             target: "base";
26297             target: "clip";
26298             after: "show_start2";
26299          }
26300          program { name: "show_start2";
26301             action:  STATE_SET "visible" 0.0;
26302             transition: DECELERATE 0.5;
26303             target: "base";
26304             target: "clip";
26305             after: "show_end";
26306          }
26307          program { name: "show_end";
26308             action: SIGNAL_EMIT "elm,action,show,finished" "";
26309          }
26310          program { name: "pop_start";
26311             signal: "elm,action,pop";
26312             source: "elm";
26313             action:  STATE_SET "visible" 0.0;
26314             target: "base";
26315             target: "clip";
26316             after: "pop_start2";
26317          }
26318          program { name: "pop_start2";
26319             action:  STATE_SET "hidden2" 0.0;
26320             transition: DECELERATE 0.5;
26321             target: "base";
26322             target: "clip";
26323             after: "hide_end";
26324          }
26325          program { name: "hide_start";
26326             signal: "elm,action,hide";
26327             source: "elm";
26328             action:  STATE_SET "visible" 0.0;
26329             target: "base";
26330             target: "clip";
26331             after: "hide_start2";
26332          }
26333          program { name: "hide_start2";
26334             action:  STATE_SET "hidden" 0.0;
26335             transition: DECELERATE 0.5;
26336             target: "base";
26337             target: "clip";
26338             after: "hide_end";
26339          }
26340          program { name: "hide_end";
26341             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26342          }
26343          program { name: "reset";
26344             signal: "elm,action,reset";
26345             source: "elm";
26346             action:  STATE_SET "default" 0.0;
26347             target: "base";
26348             target: "clip";
26349          }
26350       }
26351    }
26352    group { name: "elm/pager/base/slide_invisible";
26353       parts {
26354          part { name: "clip";
26355             type: RECT;
26356             mouse_events: 0;
26357             description { state: "default" 0.0;
26358                rel1 {
26359                   to: "base";
26360                   offset: -9999 -9999;
26361             }
26362                rel2 {
26363                   to: "base";
26364                   offset: 9999 9999;
26365                }
26366                color: 255 255 255 255;
26367             }
26368             description { state: "visible" 0.0;
26369                inherit: "default" 0.0;
26370             }
26371             description { state: "hidden" 0.0;
26372                inherit: "default" 0.0;
26373                color: 255 255 255 0;
26374                visible: 0;
26375             }
26376             description { state: "hidden2" 0.0;
26377                inherit: "default" 0.0;
26378                color: 255 255 255 0;
26379                visible: 0;
26380             }
26381          }
26382          part { name: "base";
26383             type: RECT;
26384             mouse_events:  0;
26385             clip_to: "clip";
26386             description { state: "default" 0.0;
26387                color: 0 0 0 0;
26388             }
26389             description { state: "hidden" 0.0;
26390                color: 0 0 0 0;
26391                rel1.relative: -1.0 0.0;
26392                rel2.relative: 0.0 1.0;
26393             }
26394             description { state: "hidden2" 0.0;
26395                color: 0 0 0 0;
26396                rel1.relative: 1.0 0.0;
26397                rel2.relative: 2.0 1.0;
26398             }
26399             description { state: "visible" 0.0;
26400                color: 0 0 0 0;
26401                rel1.relative: 0.0 0.0;
26402                rel2.relative: 1.0 1.0;
26403             }
26404          }
26405          part { name: "elm.swallow.content";
26406             type: SWALLOW;
26407             clip_to: "clip";
26408             description { state: "default" 0.0;
26409                rel1.to: "base";
26410                rel2.to: "base";
26411             }
26412          }
26413       }
26414       programs {
26415          program { name: "push_start";
26416             signal: "elm,action,push";
26417             source: "elm";
26418             action:  STATE_SET "hidden2" 0.0;
26419             target: "base";
26420             target: "clip";
26421             after: "show_start2";
26422          }
26423          program { name: "show_start";
26424             signal: "elm,action,show";
26425             source: "elm";
26426             action:  STATE_SET "hidden" 0.0;
26427             target: "base";
26428             target: "clip";
26429             after: "show_start2";
26430          }
26431          program { name: "show_start2";
26432             action:  STATE_SET "visible" 0.0;
26433             transition: DECELERATE 0.5;
26434             target: "base";
26435             target: "clip";
26436             after: "show_end";
26437          }
26438          program { name: "show_end";
26439             action: SIGNAL_EMIT "elm,action,show,finished" "";
26440          }
26441          program { name: "pop_start";
26442             signal: "elm,action,pop";
26443             source: "elm";
26444             action:  STATE_SET "visible" 0.0;
26445             target: "base";
26446             target: "clip";
26447             after: "pop_start2";
26448          }
26449          program { name: "pop_start2";
26450             action:  STATE_SET "hidden2" 0.0;
26451             transition: DECELERATE 0.5;
26452             target: "base";
26453             target: "clip";
26454             after: "hide_end";
26455          }
26456          program { name: "hide_start";
26457             signal: "elm,action,hide";
26458             source: "elm";
26459             action:  STATE_SET "visible" 0.0;
26460             target: "base";
26461             target: "clip";
26462             after: "hide_start2";
26463          }
26464          program { name: "hide_start2";
26465             action:  STATE_SET "hidden" 0.0;
26466             transition: DECELERATE 0.5;
26467             target: "base";
26468             target: "clip";
26469             after: "hide_end";
26470          }
26471          program { name: "hide_end";
26472             action: SIGNAL_EMIT "elm,action,hide,finished" "";
26473          }
26474          program { name: "reset";
26475             signal: "elm,action,reset";
26476             source: "elm";
26477             action:  STATE_SET "default" 0.0;
26478             target: "base";
26479             target: "clip";
26480          }
26481       }
26482    }
26483
26484    group { name: "elm/pager/base/fade";
26485        data.item: "onshow" "raise";
26486        // other options
26487        //      data.item: "onhide" "lower";
26488        //      data.item: "onshow" "lower";
26489        images {
26490            image: "frame_1.png" COMP;
26491            image: "frame_2.png" COMP;
26492            image: "dia_grad.png" COMP;
26493        }
26494        parts {
26495            part { name: "clip_base";
26496                type: RECT;
26497                mouse_events: 0;
26498                description { state: "default" 0.0;
26499                    rel1 {
26500                        to: "base";
26501                        offset: -9999 -9999;
26502                    }
26503                    rel2 {
26504                        to: "base";
26505                        offset: 9999 9999;
26506                    }
26507                    color: 255 255 255 120;
26508                }
26509                description { state: "visible" 0.0;
26510                    inherit: "default" 0.0;
26511                }
26512                description { state: "hidden" 0.0;
26513                    inherit: "default" 0.0;
26514                    color: 255 255 255 0;
26515                    visible: 0;
26516                }
26517            }
26518            part { name: "clip";
26519                type: RECT;
26520                mouse_events: 0;
26521                description { state: "default" 0.0;
26522                    rel1 {
26523                        to: "base";
26524                        offset: -9999 -9999;
26525                    }
26526                    rel2 {
26527                        to: "base";
26528                        offset: 9999 9999;
26529                    }
26530                    color: 255 255 255 255;
26531                }
26532                description { state: "visible" 0.0;
26533                    inherit: "default" 0.0;
26534                }
26535                description { state: "hidden" 0.0;
26536                    inherit: "default" 0.0;
26537                    color: 255 255 255 0;
26538                    visible: 0;
26539                }
26540            }
26541            part { name: "base0";
26542                mouse_events:  0;
26543                clip_to: "clip_base";
26544                description { state: "default" 0.0;
26545                    image.normal: "dia_grad.png";
26546                    rel1.to: "over";
26547                    rel2.to: "over";
26548                    fill {
26549                        smooth: 0;
26550                        size {
26551                            relative: 0.0 1.0;
26552                            offset: 64 0;
26553                        }
26554                    }
26555                }
26556            }
26557            part { name: "base";
26558                mouse_events:  0;
26559                clip_to: "clip_base";
26560                description { state: "default" 0.0;
26561                    image {
26562                        normal: "frame_2.png";
26563                        border: 5 5 32 26;
26564                        middle: 0;
26565                    }
26566                    fill.smooth : 0;
26567                }
26568            }
26569            part { name: "over";
26570                mouse_events:  0;
26571                clip_to: "clip";
26572                description { state:    "default" 0.0;
26573                    rel1 {
26574                        to: "base";
26575                        offset: 4 4;
26576                    }
26577                    rel2 {
26578                        to: "base";
26579                        offset: -5 -5;
26580                    }
26581                    image {
26582                        normal: "frame_1.png";
26583                        border: 2 2 28 22;
26584                        middle: 0;
26585                    }
26586                    fill.smooth : 0;
26587                }
26588            }
26589            part { name: "elm.swallow.content";
26590                type: SWALLOW;
26591                clip_to: "clip";
26592                description { state: "default" 0.0;
26593                    rel1 {
26594                        to: "base";
26595                        offset: 8 8;
26596                    }
26597                    rel2 {
26598                        to: "base";
26599                        offset: -9 -9;
26600                    }
26601                }
26602            }
26603        }
26604        programs {
26605            program { name: "push_start";
26606                signal: "elm,action,push";
26607                source: "elm";
26608                action:  STATE_SET "hidden" 0.0;
26609                target: "clip";
26610                target: "clip_base";
26611                after: "show_start2";
26612            }
26613            program { name: "show_start";
26614                signal: "elm,action,show";
26615                source: "elm";
26616                action:  STATE_SET "hidden" 0.0;
26617                target: "clip";
26618                target: "clip_base";
26619                after: "show_start2";
26620            }
26621            program { name: "show_start2";
26622                action:  STATE_SET "visible" 0.0;
26623                transition: DECELERATE 0.5;
26624                target: "clip";
26625                target: "clip_base";
26626                after: "show_end";
26627            }
26628            program { name: "show_end";
26629                action: SIGNAL_EMIT "elm,action,show,finished" "";
26630            }
26631            program { name: "pop_start";
26632                signal: "elm,action,pop";
26633                source: "elm";
26634                action:  STATE_SET "visible" 0.0;
26635                target: "clip";
26636                target: "clip_base";
26637                after: "hide_start2";
26638            }
26639            program { name: "hide_start";
26640                signal: "elm,action,hide";
26641                source: "elm";
26642                action:  STATE_SET "visible" 0.0;
26643                target: "clip";
26644                target: "clip_base";
26645                after: "hide_start2";
26646            }
26647            program { name: "hide_start2";
26648                action:  STATE_SET "hidden" 0.0;
26649                transition: DECELERATE 0.5;
26650                target: "clip";
26651                target: "clip_base";
26652                after: "hide_end";
26653            }
26654            program { name: "hide_end";
26655                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26656            }
26657            program { name: "reset";
26658                signal: "elm,action,reset";
26659                source: "elm";
26660                action:  STATE_SET "default" 0.0;
26661                target: "clip_base";
26662                target: "clip";
26663            }
26664        }
26665    }
26666    group { name: "elm/pager/base/fade_translucide";
26667        data.item: "onshow" "raise";
26668        // other options
26669        //      data.item: "onhide" "lower";
26670        //      data.item: "onshow" "lower";
26671        images {
26672            image: "frame_1.png" COMP;
26673            image: "frame_2.png" COMP;
26674            image: "dia_grad.png" COMP;
26675        }
26676        parts {
26677            part { name: "clip_base";
26678                type: RECT;
26679                mouse_events: 0;
26680                description { state: "default" 0.0;
26681                    rel1 {
26682                        to: "base";
26683                        offset: -9999 -9999;
26684                    }
26685                    rel2 {
26686                        to: "base";
26687                        offset: 9999 9999;
26688                    }
26689                    color: 255 255 255 120;
26690                }
26691                description { state: "visible" 0.0;
26692                    inherit: "default" 0.0;
26693                }
26694                description { state: "hidden" 0.0;
26695                    inherit: "default" 0.0;
26696                    color: 255 255 255 0;
26697                    visible: 0;
26698                }
26699            }
26700            part { name: "clip";
26701                type: RECT;
26702                mouse_events: 0;
26703                description { state: "default" 0.0;
26704                    rel1 {
26705                        to: "base";
26706                        offset: -9999 -9999;
26707                    }
26708                    rel2 {
26709                        to: "base";
26710                        offset: 9999 9999;
26711                    }
26712                    color: 255 255 255 255;
26713                }
26714                description { state: "visible" 0.0;
26715                    inherit: "default" 0.0;
26716                }
26717                description { state: "hidden" 0.0;
26718                    inherit: "default" 0.0;
26719                    color: 255 255 255 0;
26720                    visible: 0;
26721                }
26722            }
26723            part { name: "base0";
26724                mouse_events:  0;
26725                clip_to: "clip_base";
26726                description { state: "default" 0.0;
26727                    image.normal: "dia_grad.png";
26728                    rel1.to: "over";
26729                    rel2.to: "over";
26730                    fill {
26731                        smooth: 0;
26732                        size {
26733                            relative: 0.0 1.0;
26734                            offset: 64 0;
26735                        }
26736                    }
26737                }
26738            }
26739            part { name: "base";
26740                mouse_events:  0;
26741                clip_to: "clip_base";
26742                description { state: "default" 0.0;
26743                    image {
26744                        normal: "frame_2.png";
26745                        border: 5 5 32 26;
26746                        middle: 0;
26747                    }
26748                    fill.smooth : 0;
26749                }
26750            }
26751            part { name: "over";
26752                mouse_events:  0;
26753                clip_to: "clip";
26754                description { state:    "default" 0.0;
26755                    rel1 {
26756                        to: "base";
26757                        offset: 4 4;
26758                    }
26759                    rel2 {
26760                        to: "base";
26761                        offset: -5 -5;
26762                    }
26763                    image {
26764                        normal: "frame_1.png";
26765                        border: 2 2 28 22;
26766                        middle: 0;
26767                    }
26768                    fill.smooth : 0;
26769                }
26770            }
26771            part { name: "elm.swallow.content";
26772                type: SWALLOW;
26773                clip_to: "clip";
26774                description { state: "default" 0.0;
26775                    rel1 {
26776                        to: "base";
26777                        offset: 8 8;
26778                    }
26779                    rel2 {
26780                        to: "base";
26781                        offset: -9 -9;
26782                    }
26783                }
26784            }
26785        }
26786        programs {
26787            program { name: "push_start";
26788                signal: "elm,action,push";
26789                source: "elm";
26790                action:  STATE_SET "hidden" 0.0;
26791                target: "clip";
26792                target: "clip_base";
26793                after: "show_start2";
26794            }
26795            program { name: "show_start";
26796                signal: "elm,action,show";
26797                source: "elm";
26798                action:  STATE_SET "hidden" 0.0;
26799                target: "clip";
26800                target: "clip_base";
26801                after: "show_start2";
26802            }
26803            program { name: "show_start2";
26804                action:  STATE_SET "visible" 0.0;
26805                transition: DECELERATE 0.5;
26806                target: "clip";
26807                target: "clip_base";
26808                after: "show_end";
26809            }
26810            program { name: "show_end";
26811                action: SIGNAL_EMIT "elm,action,show,finished" "";
26812            }
26813            program { name: "pop_start";
26814                signal: "elm,action,pop";
26815                source: "elm";
26816                action:  STATE_SET "visible" 0.0;
26817                target: "clip";
26818                target: "clip_base";
26819                after: "hide_start2";
26820            }
26821            program { name: "hide_start";
26822                signal: "elm,action,hide";
26823                source: "elm";
26824                action:  STATE_SET "visible" 0.0;
26825                target: "clip";
26826                target: "clip_base";
26827                after: "hide_start2";
26828            }
26829            program { name: "hide_start2";
26830                action:  STATE_SET "hidden" 0.0;
26831                transition: DECELERATE 0.5;
26832                target: "clip";
26833                target: "clip_base";
26834                after: "hide_end";
26835            }
26836            program { name: "hide_end";
26837                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26838            }
26839            program { name: "reset";
26840                signal: "elm,action,reset";
26841                source: "elm";
26842                action:  STATE_SET "default" 0.0;
26843                target: "clip_base";
26844                target: "clip";
26845            }
26846        }
26847    }
26848    group { name: "elm/pager/base/fade_invisible";
26849        data.item: "onshow" "raise";
26850        // other options
26851        //      data.item: "onhide" "lower";
26852        //      data.item: "onshow" "lower";
26853        parts {
26854            part { name: "clip";
26855                type: RECT;
26856                mouse_events: 0;
26857                description { state: "default" 0.0;
26858                    rel1 {
26859                        offset: -9999 -9999;
26860                    }
26861                    rel2 {
26862                        offset: 9999 9999;
26863                    }
26864                    color: 255 255 255 255;
26865                }
26866                description { state: "visible" 0.0;
26867                    inherit: "default" 0.0;
26868                }
26869                description { state: "hidden" 0.0;
26870                    inherit: "default" 0.0;
26871                    color: 255 255 255 0;
26872                    visible: 0;
26873                }
26874            }
26875            part { name: "elm.swallow.content";
26876                type: SWALLOW;
26877                clip_to: "clip";
26878                description { state: "default" 0.0;
26879                    rel1 {
26880                        offset: 8 8;
26881                    }
26882                    rel2 {
26883                        offset: -9 -9;
26884                    }
26885                }
26886            }
26887        }
26888        programs {
26889            program { name: "push_start";
26890                signal: "elm,action,push";
26891                source: "elm";
26892                action:  STATE_SET "hidden" 0.0;
26893                target: "clip";
26894                after: "show_start2";
26895            }
26896            program { name: "show_start";
26897                signal: "elm,action,show";
26898                source: "elm";
26899                action:  STATE_SET "hidden" 0.0;
26900                target: "clip";
26901                after: "show_start2";
26902            }
26903            program { name: "show_start2";
26904                action:  STATE_SET "visible" 0.0;
26905                transition: DECELERATE 0.5;
26906                target: "clip";
26907                after: "show_end";
26908            }
26909            program { name: "show_end";
26910                action: SIGNAL_EMIT "elm,action,show,finished" "";
26911            }
26912            program { name: "pop_start";
26913                signal: "elm,action,pop";
26914                source: "elm";
26915                action:  STATE_SET "visible" 0.0;
26916                target: "clip";
26917                after: "hide_start2";
26918            }
26919            program { name: "hide_start";
26920                signal: "elm,action,hide";
26921                source: "elm";
26922                action:  STATE_SET "visible" 0.0;
26923                target: "clip";
26924                after: "hide_start2";
26925            }
26926            program { name: "hide_start2";
26927                action:  STATE_SET "hidden" 0.0;
26928                transition: DECELERATE 0.5;
26929                target: "clip";
26930                after: "hide_end";
26931            }
26932            program { name: "hide_end";
26933                action: SIGNAL_EMIT "elm,action,hide,finished" "";
26934            }
26935            program { name: "reset";
26936                signal: "elm,action,reset";
26937                source: "elm";
26938                action:  STATE_SET "default" 0.0;
26939                target: "clip";
26940            }
26941        }
26942    }
26943
26944    group { name: "elm/pager/base/flip";
26945       data.item: "onshow" "raise";
26946       images {
26947          image: "frame_1.png" COMP;
26948          image: "frame_2.png" COMP;
26949          image: "dia_grad.png" COMP;
26950       }
26951       parts {
26952          part { name: "elm.swallow.content";
26953             type: SWALLOW;
26954             description { state: "default" 0.0;
26955                map {
26956                   on: 1;
26957                   smooth: 1;
26958                   backface_cull: 1;
26959                   perspective_on: 1;
26960                }
26961                perspective {
26962                   zplane: 0;
26963                   focal: 1000;
26964                }
26965             }
26966             description { state: "hidden" 0.0;
26967                inherit: "default" 0.0;
26968                visible: 0;
26969                map.rotation.y: 90.0;
26970             }
26971             description { state: "before_hidden" 0.0;
26972                inherit: "default" 0.0;
26973                visible: 0;
26974                map.rotation.y: -90.0;
26975             }
26976          }
26977       }
26978       programs {
26979          program { name: "push_start";
26980             signal: "elm,action,push";
26981             source: "elm";
26982             after: "push1";
26983          }
26984          program { name: "push1";
26985             action:  STATE_SET "hidden" 0.0;
26986             target: "elm.swallow.content";
26987             after: "push2";
26988          }
26989          program { name: "push2";
26990             action:  STATE_SET "default" 0.0;
26991             in: 0.5 0.0;
26992             transition: LINEAR 0.5;
26993             target: "elm.swallow.content";
26994             after: "push3";
26995          }
26996          program { name: "push3";
26997             action: SIGNAL_EMIT "elm,action,show,finished" "";
26998          }
26999
27000          program { name: "show_start";
27001             signal: "elm,action,show";
27002             source: "elm";
27003             after: "show1";
27004          }
27005          program { name: "show1";
27006             action:  STATE_SET "before_hidden" 0.0;
27007             target: "elm.swallow.content";
27008             after: "show2";
27009          }
27010          program { name: "show2";
27011             action:  STATE_SET "default" 0.0;
27012             in: 0.5 0.0;
27013             transition: LINEAR 0.5;
27014             target: "elm.swallow.content";
27015             after: "show3";
27016          }
27017          program { name: "show3";
27018             action: SIGNAL_EMIT "elm,action,show,finished" "";
27019          }
27020
27021          program { name: "pop_start";
27022             signal: "elm,action,pop";
27023             source: "elm";
27024             after: "pop1";
27025          }
27026          program { name: "pop1";
27027             action:  STATE_SET "default" 0.0;
27028             target: "elm.swallow.content";
27029             after: "pop2";
27030          }
27031          program { name: "pop2";
27032             action:  STATE_SET "hidden" 0.0;
27033             transition: LINEAR 0.5;
27034             target: "elm.swallow.content";
27035             after: "pop3";
27036          }
27037          program { name: "pop3";
27038             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27039          }
27040
27041          program { name: "hide_start";
27042             signal: "elm,action,hide";
27043             source: "elm";
27044             after: "hide1";
27045          }
27046          program { name: "hide1";
27047             action:  STATE_SET "default" 0.0;
27048             target: "elm.swallow.content";
27049             after: "hide2";
27050          }
27051          program { name: "hide2";
27052             action:  STATE_SET "before_hidden" 0.0;
27053             transition: LINEAR 0.5;
27054             target: "elm.swallow.content";
27055             after: "hide3";
27056          }
27057          program { name: "hide3";
27058             action: SIGNAL_EMIT "elm,action,hide,finished" "";
27059          }
27060
27061          program { name: "reset";
27062             signal: "elm,action,reset";
27063             source: "elm";
27064             action:  STATE_SET "default" 0.0;
27065             target: "elm.swallow.content";
27066          }
27067       }
27068    }
27069
27070
27071
27072 ///////////////////////////////////////////////////////////////////////////////
27073 // FIXME: this doesn't look too hot. need to fix it up
27074    group { name: "elm/progressbar/horizontal/default";
27075       images {
27076          image: "shelf_inset.png" COMP;
27077          image: "bt_sm_base2.png" COMP;
27078          image: "bt_sm_hilight.png" COMP;
27079          image: "bt_sm_shine.png" COMP;
27080       }
27081       parts {
27082          part { name: "elm.background.progressbar";
27083             mouse_events: 0;
27084             description {
27085                state: "default" 0.0;
27086                rel1 {
27087                   relative: 0.0 0.0;
27088                   offset: 0 0;
27089                }
27090                rel2 {
27091                   relative: 1.0 1.0;
27092                }
27093             }
27094          }
27095          part { name: "elm.swallow.bar";
27096             mouse_events: 0;
27097             type: SWALLOW;
27098             description {
27099                min: 48 28;
27100                max: 99999 28;
27101                state: "default" 0.0;
27102                rel1 {
27103                   to_x: "elm.text";
27104                   to_y: "elm.background.progressbar";
27105                   relative: 1.0 0.0;
27106                }
27107                rel2 {
27108                   to: "elm.background.progressbar";
27109                   relative: 1.0 1.0;
27110                }
27111             }
27112          }
27113          part { name: "elm.swallow.content";
27114             type: SWALLOW;
27115             description { state: "default" 0.0;
27116                visible: 0;
27117                align: 0.0 0.5;
27118                rel1 {
27119                   offset: 4 0;
27120                   to_y: "elm.background.progressbar";
27121                }
27122                rel2 {
27123                   offset: 3 -1;
27124                   relative: 0.0 1.0;
27125                   to_y: "elm.background.progressbar";
27126                }
27127             }
27128             description { state: "visible" 0.0;
27129                inherit: "default" 0.0;
27130                visible: 1;
27131                aspect: 1.0 1.0;
27132                aspect_preference: VERTICAL;
27133                rel2.offset: 4 -1;
27134             }
27135          }
27136          part { name: "elm.text";
27137             type: TEXT;
27138             mouse_events: 0;
27139             scale: 1;
27140             description { state: "default" 0.0;
27141                visible: 0;
27142                fixed: 1 1;
27143                align: 0.0 0.5;
27144                rel1.to_x: "elm.swallow.content";
27145                rel1.relative: 1.0 0.0;
27146                rel1.offset: -1 4;
27147                rel2.to_x: "elm.swallow.content";
27148                rel2.relative: 1.0 1.0;
27149                rel2.offset: -1 -5;
27150                color: 0 0 0 255;
27151                text {
27152                   font: "Sans,Edje-Vera";
27153                   size: 10;
27154                   min: 0 0;
27155                   align: 0.0 0.5;
27156                }
27157             }
27158             description { state: "visible" 0.0;
27159                inherit: "default" 0.0;
27160                visible: 1;
27161                text.min: 1 1;
27162                rel1.offset: 0 4;
27163                rel2.offset: 0 -5;
27164             }
27165          }
27166
27167          part { name: "background";
27168             mouse_events: 0;
27169             clip_to: "elm.background.progressbar";
27170             description {
27171                state: "default" 0.0;
27172                rel1 {
27173                   to: "elm.swallow.bar";
27174                   relative: 0.0 0.0;
27175                }
27176                rel2 {
27177                   to: "elm.swallow.bar";
27178                   relative: 1.0 1.0;
27179                   offset: -1 -1;
27180                }
27181                image {
27182                   normal: "shelf_inset.png";
27183                   border: 7 7 7 7;
27184                }
27185             }
27186          }
27187
27188          part { name: "elm.text.status";
27189             type: TEXT;
27190             mouse_events: 0;
27191             description { state: "default" 0.0;
27192                fixed: 1 1;
27193                visible: 1;
27194                rel1 {
27195                   to: "background";
27196                   relative: 0.5 0.5;
27197                }
27198                rel2 {
27199                   to: "background";
27200                   relative: 0.5 0.5;
27201                }
27202                text {
27203                   font: "Sans:style=Bold,Edje-Vera-Bold";
27204                   size: 10;
27205                   min: 1 1;
27206                   align: 0.5 0.0;
27207                }
27208                color: 0 0 0 255;
27209             }
27210             description { state: "hidden" 0.0;
27211                inherit: "default" 0.0;
27212                visible: 0;
27213                text.min: 0 0;
27214             }
27215          }
27216
27217          part { name: "elm.progress.progressbar";
27218             mouse_events: 0;
27219             clip_to: "elm.background.progressbar";
27220             description {
27221                state: "default" 0.0;
27222                min: 14 28;
27223                fixed: 1 1;
27224                rel1 {
27225                   to: "elm.swallow.bar";
27226                   relative: 0.0 0.0;
27227                }
27228                rel2 {
27229                   to_y: "elm.swallow.bar";
27230                   to_x: "elm.cur.progressbar";
27231                   offset: -1 -1;
27232                }
27233                image {
27234                   normal: "bt_sm_base2.png";
27235                   border: 6 6 6 6;
27236                }
27237             }
27238             description {
27239                state: "invert" 0.0;
27240                inherit: "default" 0.0;
27241                rel1 {
27242                   to_y: "elm.swallow.bar";
27243                   to_x: "elm.cur.progressbar";
27244                }
27245                rel2 {
27246                   to: "elm.swallow.bar";
27247                   relative: 1.0 1.0;
27248                }
27249             }
27250             description {
27251                state: "state_begin" 0.0;
27252                inherit: "default" 0.0;
27253                rel1 {
27254                   to: "elm.swallow.bar";
27255                   relative: 0.0 0.0;
27256                }
27257                rel2 {
27258                   to: "elm.swallow.bar";
27259                   relative: 0.1 1.0;
27260                }
27261             }
27262             description {
27263                state: "state_end" 0.0;
27264                inherit: "default" 0.0;
27265                rel1 {
27266                   to: "elm.swallow.bar";
27267                   relative: 0.9 0.0;
27268                }
27269                rel2 {
27270                   to: "elm.swallow.bar";
27271                   relative: 1.0 1.0;
27272                }
27273             }
27274          }
27275          part { name: "text-bar";
27276             type: TEXT;
27277             mouse_events: 0;
27278             clip_to: "progress-rect";
27279             effect: SOFT_SHADOW;
27280             scale: 1;
27281             description { state: "default" 0.0;
27282                align: 0.0 0.0;
27283                fixed: 1 1;
27284                visible: 1;
27285                rel1.to: "elm.text.status";
27286                rel1.offset: -1 -1;
27287                rel2.to: "elm.text.status";
27288                text {
27289                   text_source: "elm.text.status";
27290                   font: "Sans:style=Bold,Edje-Vera-Bold";
27291                   size: 10;
27292                   min: 1 1;
27293                   align: 0.0 0.0;
27294                }
27295                color: 224 224 224 255;
27296                color3: 0 0 0 64;
27297             }
27298             description { state: "hidden" 0.0;
27299                inherit: "default" 0.0;
27300                visible: 0;
27301                text.min: 0 0;
27302             }
27303          }
27304
27305          part { name: "over1";
27306             mouse_events: 0;
27307             description { state: "default" 0.0;
27308                rel1.to: "elm.progress.progressbar";
27309                rel2.to: "elm.progress.progressbar";
27310                rel2.relative: 1.0 0.5;
27311                image {
27312                   normal: "bt_sm_hilight.png";
27313                   border: 6 6 6 0;
27314                }
27315             }
27316          }
27317
27318          part { name: "over2";
27319             mouse_events: 1;
27320             repeat_events: 1;
27321             description { state: "default" 0.0;
27322                rel1.to: "elm.progress.progressbar";
27323                rel2.to: "elm.progress.progressbar";
27324                image {
27325                   normal: "bt_sm_shine.png";
27326                   border: 6 6 6 0;
27327                }
27328             }
27329          }
27330
27331          part { name: "elm.cur.progressbar";
27332             mouse_events: 0;
27333             dragable {
27334                confine: "background";
27335                x: 1 1 1;
27336                y: 0 0 0;
27337             }
27338             description { state: "default" 0.0;
27339                min: 14 28;
27340                fixed: 1 1;
27341                visible: 0;
27342                rel1 {
27343                   to: "background";
27344                   relative: 0 0;
27345                }
27346                rel2.to: "background";
27347            }
27348          }
27349          part { name: "progress-rect";
27350             mouse_events: 0;
27351             description {
27352                state: "default" 0.0;
27353                rel1.to: "elm.progress.progressbar";
27354                rel2.to: "elm.progress.progressbar";
27355             }
27356          }
27357       }
27358       programs {
27359          program { name: "label_show";
27360             signal: "elm,state,text,visible";
27361             source: "elm";
27362             action:  STATE_SET "visible" 0.0;
27363             target: "elm.text";
27364          }
27365          program { name: "label_hide";
27366             signal: "elm,state,text,hidden";
27367             source: "elm";
27368             action:  STATE_SET "default" 0.0;
27369             target: "elm.text";
27370          }
27371          program { name: "icon_show";
27372             signal: "elm,state,icon,visible";
27373             source: "elm";
27374             action:  STATE_SET "visible" 0.0;
27375             target: "elm.swallow.content";
27376          }
27377          program { name: "icon_hide";
27378             signal: "elm,state,icon,hidden";
27379             source: "elm";
27380             action:  STATE_SET "default" 0.0;
27381             target: "elm.swallow.content";
27382          }
27383          program { name: "units_show";
27384             signal: "elm,state,units,visible";
27385             source: "elm";
27386             action:  STATE_SET "default" 0.0;
27387             target: "text-bar";
27388             target: "elm.text.status";
27389          }
27390          program { name: "units_hide";
27391             signal: "elm,state,units,hidden";
27392             source: "elm";
27393             action:  STATE_SET "hidden" 0.0;
27394             target: "text-bar";
27395             target: "elm.text.status";
27396          }
27397          program { name: "slide_to_end";
27398             action:  STATE_SET "state_end" 0.0;
27399             transition: LINEAR 0.5;
27400             target: "elm.progress.progressbar";
27401             after: "slide_to_begin";
27402          }
27403          program { name: "slide_to_begin";
27404             signal: "elm,state,slide,begin";
27405             action: STATE_SET "state_begin" 0.0;
27406             target: "elm.progress.progressbar";
27407             transition: LINEAR 0.5;
27408             after: "slide_to_end";
27409          }
27410          program { name: "start_pulse";
27411             signal: "elm,state,pulse,start";
27412             source: "elm";
27413             after: "slide_to_end";
27414          }
27415          program { name: "stop_pulse";
27416             signal: "elm,state,pulse,stop";
27417             source: "elm";
27418             action: ACTION_STOP;
27419             target: "slide_to_begin";
27420             target: "slide_to_end";
27421             target: "start_pulse";
27422             after: "state_pulse";
27423          }
27424          program { name: "state_pulse";
27425             signal: "elm,state,pulse";
27426             source: "elm";
27427             action: STATE_SET "state_begin" 0.0;
27428             target: "elm.progress.progressbar";
27429             after: "units_hide";
27430          }
27431          program { name: "state_fraction";
27432             signal: "elm,state,fraction";
27433             source: "elm";
27434             action: ACTION_STOP;
27435             target: "slide_to_begin";
27436             target: "slide_to_end";
27437             target: "start_pulse";
27438             action: STATE_SET "default" 0.0;
27439             target: "elm.progress.progressbar";
27440          }
27441          program { name: "set_invert_on";
27442             signal: "elm,state,inverted,on";
27443             source: "elm";
27444             action:  STATE_SET "invert" 0.0;
27445             target: "elm.progress.progressbar";
27446          }
27447          program { name: "set_invert_off";
27448             signal: "elm,state,inverted,off";
27449             source: "elm";
27450             action:  STATE_SET "default" 0.0;
27451             target: "elm.progress.progressbar";
27452          }
27453       }
27454    }
27455
27456 ///////////////////////////////////////////////////////////////////////////////
27457    group { name: "elm/progressbar/vertical/default";
27458       images {
27459          image: "shelf_inset.png" COMP;
27460          image: "bt_sm_base2.png" COMP;
27461          image: "bt_sm_hilight.png" COMP;
27462          image: "bt_sm_shine.png" COMP;
27463       }
27464       parts {
27465          part { name: "elm.background.progressbar";
27466             type: RECT;
27467             mouse_events: 0;
27468             description {
27469                state: "default" 0.0;
27470                rel1 {
27471                   relative: 0.0 0.0;
27472                   offset: 0 0;
27473                }
27474                rel2 {
27475                   relative: 1.0 1.0;
27476                   offset: -1 -1;
27477                }
27478             }
27479          }
27480          part { name: "elm.swallow.bar";
27481             type: SWALLOW;
27482             scale: 1;
27483             description { state: "default" 0.0;
27484                min: 28 48;
27485                max: 28 9999;
27486                align: 0.5 1.0;
27487                rel1 {
27488                   to_y: "elm.text";
27489                   relative: 0.0 1.0;
27490                   offset: 0 2;
27491                }
27492                rel2 {
27493                   to_y: "elm.text.box";
27494                   relative: 1.0 0.0;
27495                   offset: -1 -3;
27496                }
27497             }
27498          }
27499          part { name: "elm.swallow.content";
27500             type: SWALLOW;
27501             description { state: "default" 0.0;
27502                visible: 0;
27503                align: 0.5 0.0;
27504                rel1 {
27505                   offset: 0 4;
27506                   to_x: "elm.swallow.bar";
27507                }
27508                rel2 {
27509                   offset: -1 3;
27510                   relative: 1.0 0.0;
27511                   to_x: "elm.swallow.bar";
27512                }
27513             }
27514             description { state: "visible" 0.0;
27515                inherit: "default" 0.0;
27516                visible: 1;
27517                aspect: 1.0 1.0;
27518                aspect_preference: HORIZONTAL;
27519                rel2.offset: -1 4;
27520             }
27521          }
27522          part { name: "elm.text";
27523             type: TEXT;
27524             mouse_events: 0;
27525             scale: 1;
27526             description { state: "default" 0.0;
27527                visible: 0;
27528                fixed: 1 1;
27529                align: 0.5 0.0;
27530                rel1.to_y: "elm.swallow.content";
27531                rel1.relative: 0.5 1.0;
27532                rel1.offset: 0 -1;
27533                rel2.to_y: "elm.swallow.content";
27534                rel2.relative: 0.5 1.0;
27535                rel2.offset: -1 -1;
27536                color: 0 0 0 255;
27537                text {
27538                   font: "Sans,Edje-Vera";
27539                   size: 10;
27540                   min: 0 0;
27541                   align: 0.5 0.0;
27542                }
27543             }
27544             description { state: "visible" 0.0;
27545                inherit: "default" 0.0;
27546                visible: 1;
27547                text.min: 1 1;
27548                rel1.offset: 4 0;
27549                rel2.offset: -5 0;
27550             }
27551          }
27552
27553          part { name: "background";
27554             mouse_events: 0;
27555             clip_to: "elm.background.progressbar";
27556             description {
27557                state: "default" 0.0;
27558                rel1 {
27559                   to: "elm.swallow.bar";
27560                   relative: 0.0 0.0;
27561                }
27562                rel2 {
27563                   to: "elm.swallow.bar";
27564                   relative: 1.0 1.0;
27565                   offset: -1 -1;
27566                }
27567                image {
27568                   normal: "shelf_inset.png";
27569                   border: 7 7 7 7;
27570                }
27571             }
27572          }
27573
27574          part { name: "elm.progress.progressbar";
27575             mouse_events: 0;
27576             clip_to: "elm.background.progressbar";
27577             description {
27578                state: "default" 0.0;
27579                min: 28 14;
27580                fixed: 1 1;
27581                rel1 {
27582                   to: "elm.swallow.bar";
27583                   relative: 0.0 0.0;
27584                }
27585                rel2 {
27586                   to_x: "elm.swallow.bar";
27587                   to_y: "elm.cur.progressbar";
27588                   offset: -1 -1;
27589                }
27590                image {
27591                   normal: "bt_sm_base2.png";
27592                   border: 6 6 6 6;
27593                }
27594             }
27595             description {
27596                state: "invert" 0.0;
27597                inherit: "default" 0.0;
27598                rel1 {
27599                   to_x: "elm.swallow.bar";
27600                   to_y: "elm.cur.progressbar";
27601                }
27602                rel2 {
27603                   to: "elm.swallow.bar";
27604                   relative: 1.0 1.0;
27605                }
27606             }
27607             description {
27608                state: "state_begin" 0.0;
27609                inherit: "default" 0.0;
27610                rel1 {
27611                   to: "elm.swallow.bar";
27612                   relative: 0.0 0.0;
27613                }
27614                rel2 {
27615                   to: "elm.swallow.bar";
27616                   relative: 1.0 0.1;
27617                }
27618             }
27619             description {
27620                state: "state_end" 0.0;
27621                inherit: "default" 0.0;
27622                rel1 {
27623                   to: "elm.swallow.bar";
27624                   relative: 0.0 0.9;
27625                }
27626                rel2 {
27627                   to: "elm.swallow.bar";
27628                   relative: 1.0 1.0;
27629                }
27630             }
27631          }
27632
27633          part { name: "over1";
27634             mouse_events: 0;
27635             description { state: "default" 0.0;
27636                rel1.to: "elm.progress.progressbar";
27637                rel2.to: "elm.progress.progressbar";
27638                rel2.relative: 1.0 0.5;
27639                image {
27640                   normal: "bt_sm_hilight.png";
27641                   border: 6 6 6 0;
27642                }
27643             }
27644          }
27645
27646          part { name: "over2";
27647             mouse_events: 1;
27648             repeat_events: 1;
27649             description { state: "default" 0.0;
27650                rel1.to: "elm.progress.progressbar";
27651                rel2.to: "elm.progress.progressbar";
27652                image {
27653                   normal: "bt_sm_shine.png";
27654                   border: 6 6 6 0;
27655                }
27656             }
27657          }
27658
27659          part { name: "elm.cur.progressbar";
27660             mouse_events: 0;
27661             dragable {
27662                confine: "background";
27663                x: 0 0 0;
27664                y: 1 1 1;
27665             }
27666             description { state: "default" 0.0;
27667                min: 28 14;
27668                fixed: 1 1;
27669                visible: 0;
27670                rel1 {
27671                   to: "background";
27672                   relative: 0 0;
27673                }
27674                rel2.to: "background";
27675            }
27676          }
27677
27678          part { name: "elm.text.box";
27679             mouse_events: 0;
27680             type: RECT;
27681             description { state: "default" 0.0;
27682                visible: 0;
27683                rel1 {
27684                   to: "elm.text.status";
27685                   offset: -2 -2;
27686                }
27687                rel2 {
27688                   to: "elm.text.status";
27689                   offset: 2 2;
27690                }
27691                color: 255 255 255 0;
27692             }
27693             description { state: "visible" 0.0;
27694                inherit: "default" 0.0;
27695                visible: 1;
27696             }
27697          }
27698          part { name: "elm.text.status";
27699             type: TEXT;
27700             mouse_events: 0;
27701             scale: 1;
27702             description { state: "default" 0.0;
27703                visible: 0;
27704                fixed: 1 1;
27705                align: 0.5 1.0;
27706                rel1.relative: 0.0 1.0;
27707                rel1.offset: 2 0;
27708                rel2.relative: 1.0 1.0;
27709                rel2.offset: -2 0;
27710                color: 0 0 0 255;
27711                text {
27712                   font: "Sans:style=Bold,Edje-Vera-Bold";
27713                   size: 10;
27714                   min: 0 0;
27715                   align: 0.5 0.0;
27716                }
27717             }
27718             description { state: "visible" 0.0;
27719                inherit: "default" 0.0;
27720                fixed: 1 1;
27721                visible: 1;
27722                text.min: 1 1;
27723                rel1.offset: 8 -9;
27724                rel2.offset: -9 -9;
27725             }
27726          }
27727       }
27728       programs {
27729          program { name: "label_show";
27730             signal: "elm,state,text,visible";
27731             source: "elm";
27732             action:  STATE_SET "visible" 0.0;
27733             target: "elm.text";
27734          }
27735          program { name: "label_hide";
27736             signal: "elm,state,text,hidden";
27737             source: "elm";
27738             action:  STATE_SET "default" 0.0;
27739             target: "elm.text";
27740          }
27741          program { name: "icon_show";
27742             signal: "elm,state,icon,visible";
27743             source: "elm";
27744             action:  STATE_SET "visible" 0.0;
27745             target: "elm.swallow.content";
27746          }
27747          program { name: "icon_hide";
27748             signal: "elm,state,icon,hidden";
27749             source: "elm";
27750             action:  STATE_SET "default" 0.0;
27751             target: "elm.swallow.content";
27752          }
27753          program { name: "units_show";
27754             signal: "elm,state,units,visible";
27755             source: "elm";
27756             action:  STATE_SET "visible" 0.0;
27757             target: "elm.text.status";
27758             target: "elm.text.box";
27759          }
27760          program { name: "units_hide";
27761             signal: "elm,state,units,hidden";
27762             source: "elm";
27763             action:  STATE_SET "default" 0.0;
27764             target: "elm.text.status";
27765             target: "elm.text.box";
27766          }
27767          program { name: "slide_to_end";
27768             action:  STATE_SET "state_end" 0.0;
27769             transition: LINEAR 0.5;
27770             target: "elm.progress.progressbar";
27771             after: "slide_to_begin";
27772          }
27773          program { name: "slide_to_begin";
27774             action:  STATE_SET "state_begin" 0.0;
27775             target: "elm.progress.progressbar";
27776             transition: LINEAR 0.5;
27777             after: "slide_to_end";
27778          }
27779          program { name: "start_pulse";
27780             signal: "elm,state,pulse,start";
27781             source: "elm";
27782             action: STATE_SET "state_begin" 0.0;
27783             target: "elm.progress.progressbar";
27784             after: "slide_to_end";
27785          }
27786          program { name: "stop_pulse";
27787             signal: "elm,state,pulse,stop";
27788             source: "elm";
27789             action: ACTION_STOP;
27790             target: "slide_to_begin";
27791             target: "slide_to_end";
27792             target: "start_pulse";
27793             after: "state_pulse";
27794          }
27795          program { name: "state_pulse";
27796             signal: "elm,state,pulse";
27797             source: "elm";
27798             action: STATE_SET "state_begin" 0.0;
27799             target: "elm.progress.progressbar";
27800             after: "units_hide";
27801          }
27802          program { name: "state_fraction";
27803             signal: "elm,state,fraction";
27804             source: "elm";
27805             action: ACTION_STOP;
27806             target: "slide_to_begin";
27807             target: "slide_to_end";
27808             target: "start_pulse";
27809             action: STATE_SET "default" 0.0;
27810             target: "elm.progress.progressbar";
27811          }
27812          program { name: "set_invert_on";
27813             signal: "elm,state,inverted,on";
27814             source: "elm";
27815             action:  STATE_SET "invert" 0.0;
27816             target: "elm.progress.progressbar";
27817             target: "elm.cur.progressbar";
27818          }
27819          program { name: "set_invert_off";
27820             signal: "elm,state,inverted,off";
27821             source: "elm";
27822             action:  STATE_SET "default" 0.0;
27823             target: "elm.progress.progressbar";
27824             target: "elm.cur.progressbar";
27825          }
27826       }
27827    }
27828
27829 ///////////////////////////////////////////////////////////////////////////////
27830    group { name: "elm/separator/horizontal/default";
27831        images {
27832            image: "separator_h.png" COMP;
27833        }
27834        parts {
27835            part { name: "separator"; // separator group
27836                description { state: "default" 0.0;
27837                    min: 2 2;
27838                    rel1.offset: 4 4;
27839                    rel2.offset: -5 -5;
27840                    image {
27841                        normal: "separator_h.png";
27842                    }
27843                    fill {
27844                        smooth: 0;
27845                    }
27846                }
27847            }
27848        }
27849    }
27850
27851    ///////////////////////////////////////////////////////////////////////////////
27852    group { name: "elm/separator/vertical/default";
27853        images {
27854            image: "separator_v.png" COMP;
27855        }
27856        parts {
27857            part { name: "separator"; // separator group
27858                description { state: "default" 0.0;
27859                    min: 2 2;
27860                    rel1.offset: 4 4;
27861                    rel2.offset: -5 -5;
27862                    image {
27863                        normal: "separator_v.png";
27864                    }
27865                    fill {
27866                        smooth: 0;
27867                    }
27868                }
27869            }
27870        }
27871    }
27872
27873    group { name: "elm/progressbar/horizontal/wheel";
27874        images {
27875            image: "busy-1.png" COMP;
27876            image: "busy-2.png" COMP;
27877            image: "busy-3.png" COMP;
27878            image: "busy-4.png" COMP;
27879            image: "busy-5.png" COMP;
27880            image: "busy-6.png" COMP;
27881            image: "busy-7.png" COMP;
27882            image: "busy-8.png" COMP;
27883            image: "busy-9.png" COMP;
27884        }
27885        parts {
27886            part { name: "elm.background.progressbar";
27887                mouse_events: 0;
27888                type: RECT;
27889                description {
27890                    state: "default" 0.0;
27891                }
27892            }
27893            part { name: "elm.swallow.bar";
27894                mouse_events: 0;
27895                type: SWALLOW;
27896                description { state: "default" 0.0;
27897                    min: 0 0;
27898                    max: 0 0;
27899                    visible: 0;
27900                }
27901            }
27902            part { name: "elm.swallow.content";
27903                type: SWALLOW;
27904                description { state: "default" 0.0;
27905                    min: 0 0;
27906                    max: 0 0;
27907                    visible: 0;
27908                }
27909            }
27910            part { name: "background";
27911                mouse_events: 0;
27912                clip_to: "elm.background.progressbar";
27913                description {
27914                    state: "default" 0.0;
27915                    min: 32 32;
27916                    max: 32 32;
27917                    visible: 1;
27918                    aspect: 1.0 1.0;
27919                    aspect_preference: BOTH;
27920                    image {
27921                        normal: "busy-9.png";
27922                        border: 7 7 7 7;
27923                    }
27924                }
27925                description {
27926                    state: "pulse" 0.0;
27927                    inherit: "default" 0.0;
27928                    image {
27929                        normal: "busy-9.png";
27930                        tween:  "busy-1.png";
27931                        tween:  "busy-2.png";
27932                        tween:  "busy-3.png";
27933                        tween:  "busy-4.png";
27934                        tween:  "busy-5.png";
27935                        tween:  "busy-6.png";
27936                        tween:  "busy-7.png";
27937                        tween:  "busy-8.png";
27938                        border: 7 7 7 7;
27939                    }
27940                }
27941            }
27942        }
27943        programs {
27944            program { name: "start_pulse";
27945                signal: "elm,state,pulse,start";
27946                source: "elm";
27947                action: STATE_SET "pulse" 0.0;
27948                target: "background";
27949                transition: LINEAR 0.5;
27950                after: "start_pulse";
27951            }
27952            program { name: "stop_pulse";
27953                signal: "elm,state,pulse,stop";
27954                source: "elm";
27955                action: STATE_SET "default" 0.0;
27956                target: "background";
27957            }
27958        }
27959    }
27960
27961
27962 ///////////////////////////////////////////////////////////////////////////////
27963    group { name: "elm/spinner/base/default";
27964        images {
27965            image: "shelf_inset.png" COMP;
27966            image: "bt_base1.png" COMP;
27967            image: "bt_hilight.png" COMP;
27968            image: "bt_shine.png" COMP;
27969            image: "bt_glow.png" COMP;
27970            image: "bt_dis_base.png" COMP;
27971            image: "bt_dis_hilight.png" COMP;
27972            image: "sp_bt_l.png" COMP;
27973            image: "sp_bt_r.png" COMP;
27974        }
27975        parts {
27976            part { name: "bg";
27977                type: RECT;
27978                description { state: "default" 0.0;
27979                    min: 0 30;
27980                    rel1.offset: 1 1;
27981                    rel2.offset: -2 -2;
27982                    color: 255 255 255 0;
27983                }
27984            }
27985            part { name: "conf_over";
27986                mouse_events:  0;
27987                description { state: "default" 0.0;
27988                    rel1.to: "bg";
27989                    rel2.to: "bg";
27990                    image {
27991                        normal: "shelf_inset.png";
27992                        border: 7 7 7 7;
27993                        middle: 0;
27994                    }
27995                    fill.smooth : 0;
27996                }
27997            }
27998            part { name: "left_bt";
27999                mouse_events:  1;
28000                description { state: "default" 0.0;
28001                    rel1 { to: "bg";
28002                        offset: 3 3;
28003                    }
28004                    rel2 { to: "bg";
28005                        offset: -4 -4;
28006                    }
28007                    align: 0.0 0.5;
28008                    min: 24 24;
28009                    aspect: 1.0 1.0;
28010                    aspect_preference: VERTICAL;
28011                    image {
28012                        normal: "bt_base1.png";
28013                        border: 6 6 6 6;
28014                    }
28015                    fill.smooth : 0;
28016                }
28017                description { state: "clicked" 0.0;
28018                    inherit: "default" 0.0;
28019                    image.normal: "bt_base1.png";
28020                    image.middle: SOLID;
28021                }
28022                description { state: "disabled" 0.0;
28023                    inherit:  "default" 0.0;
28024                    image {
28025                        normal: "bt_dis_base.png";
28026                        border: 4 4 4 4;
28027                    }
28028                }
28029            }
28030            part {          name: "left_over1";
28031                mouse_events: 0;
28032                description { state: "default" 0.0;
28033                    rel1.to: "left_bt";
28034                    rel2 { to: "left_bt";
28035                        relative: 1.0 0.5;
28036                    }
28037                    image {
28038                        normal: "bt_hilight.png";
28039                        border: 7 7 7 0;
28040                    }
28041                }
28042                description { state: "disabled" 0.0;
28043                    inherit:  "default" 0.0;
28044                    image {
28045                        normal: "bt_dis_hilight.png";
28046                        border: 4 4 4 0;
28047                    }
28048                }
28049            }
28050            part { name: "left_over2";
28051                mouse_events: 1;
28052                repeat_events: 1;
28053                ignore_flags: ON_HOLD;
28054                description { state: "default" 0.0;
28055                    rel1.to: "left_bt";
28056                    rel2.to: "left_bt";
28057                    image {
28058                        normal: "bt_shine.png";
28059                        border: 7 7 7 7;
28060                    }
28061                }
28062                description { state: "disabled" 0.0;
28063                    inherit:  "default" 0.0;
28064                    visible: 0;
28065                }
28066            }
28067            part { name: "left_over3";
28068                mouse_events: 1;
28069                repeat_events: 1;
28070                description { state: "default" 0.0;
28071                    color: 255 255 255 0;
28072                    rel1.to: "left_bt";
28073                    rel2.to: "left_bt";
28074                    image {
28075                        normal: "bt_glow.png";
28076                        border: 12 12 12 12;
28077                    }
28078                    fill.smooth : 0;
28079                }
28080                description { state: "clicked" 0.0;
28081                    inherit:  "default" 0.0;
28082                    visible: 1;
28083                    color: 255 255 255 255;
28084                }
28085            }
28086            part { name: "right_bt";
28087                mouse_events:  1;
28088                description { state: "default" 0.0;
28089                    rel1 { to: "bg";
28090                        offset: -26 3;
28091                    }
28092                    rel2 { to: "bg";
28093                        offset: -4 -4;
28094                    }
28095                    align: 1.0 0.5;
28096                    min: 24 24;
28097                    aspect: 1.0 1.0;
28098                    aspect_preference: VERTICAL;
28099                    image {
28100                        normal: "bt_base1.png";
28101                        border: 5 5 4 12;
28102                    }
28103                    fill.smooth : 0;
28104                }
28105                description { state: "clicked" 0.0;
28106                    inherit: "default" 0.0;
28107                    image.normal: "bt_base1.png";
28108                    image.middle: SOLID;
28109                }
28110                description { state: "disabled" 0.0;
28111                    inherit:  "default" 0.0;
28112                    image {
28113                        normal: "bt_dis_base.png";
28114                        border: 4 4 4 4;
28115                    }
28116                }
28117            }
28118            part { name: "right_over1";
28119                mouse_events: 0;
28120                description { state: "default" 0.0;
28121                    rel1.to: "right_bt";
28122                    rel2 { to: "right_bt";
28123                        relative: 1.0 0.5;
28124                    }
28125                    image {
28126                        normal: "bt_hilight.png";
28127                        border: 7 7 7 0;
28128                    }
28129                }
28130                description { state: "disabled" 0.0;
28131                    inherit:  "default" 0.0;
28132                    image {
28133                        normal: "bt_dis_hilight.png";
28134                        border: 4 4 4 0;
28135                    }
28136                }
28137            }
28138            part { name: "right_over2";
28139                mouse_events: 1;
28140                repeat_events: 1;
28141                ignore_flags: ON_HOLD;
28142                description { state: "default" 0.0;
28143                    rel1.to: "right_bt";
28144                    rel2.to: "right_bt";
28145                    image {
28146                        normal: "bt_shine.png";
28147                        border: 7 7 7 7;
28148                    }
28149                }
28150                description { state: "disabled" 0.0;
28151                    inherit:  "default" 0.0;
28152                    visible: 0;
28153                }
28154            }
28155            part { name: "right_over3";
28156                mouse_events: 1;
28157                repeat_events: 1;
28158                description { state: "default" 0.0;
28159                    color: 255 255 255 0;
28160                    rel1.to: "right_bt";
28161                    rel2.to: "right_bt";
28162                    image {
28163                        normal: "bt_glow.png";
28164                        border: 12 12 12 12;
28165                    }
28166                    fill.smooth : 0;
28167                }
28168                description { state: "clicked" 0.0;
28169                    inherit:  "default" 0.0;
28170                    visible: 1;
28171                    color: 255 255 255 255;
28172                }
28173            }
28174            part { name: "left_bt_icon";
28175                repeat_events: 1;
28176                description { state: "default" 0.0;
28177                    rel1.to: "left_bt";
28178                    rel1.offset: 4 4;
28179                    rel2.to: "left_bt";
28180                    rel2.offset: -5 -5;
28181                    align: 0.5 0.5;
28182                    min: 16 16;
28183                    aspect: 1.0 1.0;
28184                    aspect_preference: BOTH;
28185                    image.normal: "sp_bt_l.png";
28186                }
28187                description { state: "rtl" 0.0;
28188                    inherit: "default" 0.0;
28189                    image.normal: "sp_bt_r.png";
28190                }
28191            }
28192            part { name: "right_bt_icon";
28193                repeat_events: 1;
28194                description { state: "default" 0.0;
28195                    rel1.to: "right_bt";
28196                    rel1.offset: 4 4;
28197                    rel2.to: "right_bt";
28198                    rel2.offset: -5 -5;
28199                    align: 0.5 0.5;
28200                    min: 16 16;
28201                    aspect: 1.0 1.0;
28202                    aspect_preference: BOTH;
28203                    image.normal: "sp_bt_r.png";
28204                }
28205                description { state: "rtl" 0.0;
28206                    inherit: "default" 0.0;
28207                    image.normal: "sp_bt_l.png";
28208                }
28209            }
28210            part { name: "elm.text";
28211                type: TEXT;
28212                mouse_events: 0;
28213                scale: 1;
28214                description { state: "default" 0.0;
28215                    visible: 1;
28216                    align: 0.0 0.5;
28217                    rel1 { relative: 1.0 0.0;
28218                        offset: 3 2;
28219                        to_x: "left_bt";
28220                        to_y: "bg";
28221                    }
28222                    rel2 { relative: 0.0 1.0;
28223                        offset: -3 -2;
28224                        to_x: "right_bt";
28225                        to_y: "bg";
28226                    }
28227                    color: 0 0 0 255;
28228                    text {
28229                        font: "Sans,Edje-Vera";
28230                        size: 10;
28231                        min: 1 1;
28232                        align: 0.5 0.5;
28233                    }
28234                }
28235                description { state: "active" 0.0;
28236                    inherit: "default" 0.0;
28237                    visible: 0;
28238                }
28239                description { state: "disabled_active" 0.0;
28240                    inherit: "default" 0.0;
28241                    color: 0 0 0 128;
28242                    color3: 0 0 0 0;
28243                }
28244                description { state: "disabled" 0.0;
28245                    inherit: "default" 0.0;
28246                    color: 0 0 0 128;
28247                    color3: 0 0 0 0;
28248                }
28249            }
28250            part { name: "elm.dragable.slider";
28251                type: RECT;
28252                mouse_events: 0;
28253                scale: 1;
28254                dragable {
28255                    x: 1 1 0;
28256                    y: 0 0 0;
28257                }
28258                description { state: "default" 0.0;
28259                    rel1.to: "bg";
28260                    rel2.to: "bg";
28261                    fixed: 1 1;
28262                    color: 0 0 0 0;
28263                }
28264            }
28265            part { name: "button_events";
28266                type: RECT;
28267                dragable {
28268                    events: "elm.dragable.slider";
28269                }
28270                mouse_events: 1;
28271                description { state: "default" 0.0;
28272                    rel1.to: "elm.text";
28273                    rel2.to: "elm.text";
28274                    color: 0 0 0 0;
28275                }
28276            }
28277            part { name: "elm.swallow.entry";
28278                type: SWALLOW;
28279                description { state: "default" 0.0;
28280                    visible: 0;
28281                    align: 0.5 0.5;
28282                    rel1 { relative: 1.0 0.5;
28283                        offset: 3 2;
28284                        to_x: "left_bt";
28285                        to_y: "bg";
28286                    }
28287                    rel2 { relative: 0.0 0.5;
28288                        offset: -3 -2;
28289                        to_x: "right_bt";
28290                        to_y: "bg";
28291                    }
28292                    fixed: 1 1;
28293                    color: 0 0 0 0;
28294                }
28295                description { state: "active" 0.0;
28296                    inherit: "default" 0.0;
28297                    visible: 1;
28298                    color: 255 255 255 255;
28299                }
28300                description { state: "disabled_active" 0.0;
28301                    inherit: "default" 0.0;
28302                    visible: 0;
28303                }
28304                description { state: "disabled" 0.0;
28305                    inherit: "default" 0.0;
28306                    visible: 0;
28307                }
28308            }
28309            part { name: "disabler";
28310                type: RECT;
28311                description { state: "default" 0.0;
28312                    color: 0 0 0 0;
28313                    visible: 0;
28314                }
28315                description { state: "disabled" 0.0;
28316                    inherit: "default" 0.0;
28317                    visible: 1;
28318                }
28319            }
28320        }
28321        programs {
28322            program { name: "text_show";
28323                signal: "elm,state,text,visible";
28324                source: "elm";
28325                action:  STATE_SET "visible" 0.0;
28326                target: "elm.text";
28327            }
28328            program { name: "text_hide";
28329                signal: "elm,state,text,hidden";
28330                source: "elm";
28331                action:  STATE_SET "default" 0.0;
28332                target: "elm.text";
28333            }
28334            program { name: "dec";
28335                signal: "mouse,down,1";
28336                source: "left_bt";
28337                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28338            }
28339            program { name: "dec2";
28340                signal: "mouse,up,1";
28341                source: "left_bt";
28342                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28343            }
28344            program { name: "inc";
28345                signal: "mouse,down,1";
28346                source: "right_bt";
28347                action: SIGNAL_EMIT "elm,action,increment,start" "";
28348            }
28349            program { name: "inc2";
28350                signal: "mouse,up,1";
28351                source: "right_bt";
28352                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28353            }
28354            program {
28355                name:   "left_bt_click";
28356                signal: "mouse,down,1";
28357                source: "left_over2";
28358                action: STATE_SET "clicked" 0.0;
28359                target: "left_bt";
28360            }
28361            program {
28362                name:   "left_bt_unclick";
28363                signal: "mouse,up,1";
28364                source: "left_over2";
28365                action: STATE_SET "default" 0.0;
28366                target: "left_bt";
28367            }
28368            program {
28369                name:   "left_bt_click2";
28370                signal: "mouse,down,1";
28371                source: "left_over3";
28372                action: STATE_SET "clicked" 0.0;
28373                target: "left_over3";
28374            }
28375            program {
28376                name:   "left_bt_unclick2";
28377                signal: "mouse,up,1";
28378                source: "left_over3";
28379                action: STATE_SET "default" 0.0;
28380                transition: DECELERATE 0.5;
28381                target: "left_over3";
28382            }
28383            program {
28384                name:   "left_bt_unclick3";
28385                signal: "mouse,up,1";
28386                source: "left_over2";
28387                action: SIGNAL_EMIT "elm,action,click" "";
28388            }
28389            program {
28390                name:   "left_bt_pressed_anim";
28391                signal: "elm,left,anim,activate";
28392                source: "elm";
28393                action: STATE_SET "clicked" 0.0;
28394                target: "left_bt";
28395                target: "left_over3";
28396                after: "left_bt_unpressed_anim";
28397            }
28398            program {
28399                name:   "left_bt_unpressed_anim";
28400                action: STATE_SET "default" 0.0;
28401                transition: DECELERATE 0.5;
28402                target: "left_bt";
28403                target: "left_over3";
28404            }
28405
28406            program {
28407                name:   "right_bt_click";
28408                signal: "mouse,down,1";
28409                source: "right_over2";
28410                action: STATE_SET "clicked" 0.0;
28411                target: "right_bt";
28412            }
28413            program {
28414                name:   "right_bt_unclick";
28415                signal: "mouse,up,1";
28416                source: "right_over2";
28417                action: STATE_SET "default" 0.0;
28418                target: "right_bt";
28419            }
28420            program {
28421                name:   "right_bt_click2";
28422                signal: "mouse,down,1";
28423                source: "right_over3";
28424                action: STATE_SET "clicked" 0.0;
28425                target: "right_over3";
28426            }
28427            program {
28428                name:   "right_bt_unclick2";
28429                signal: "mouse,up,1";
28430                source: "right_over3";
28431                action: STATE_SET "default" 0.0;
28432                transition: DECELERATE 0.5;
28433                target: "right_over3";
28434            }
28435            program {
28436                name:   "right_bt_unclick3";
28437                signal: "mouse,up,1";
28438                source: "right_over2";
28439                action: SIGNAL_EMIT "elm,action,click" "";
28440            }
28441            program {
28442                name:   "right_bt_pressed_anim";
28443                signal: "elm,right,anim,activate";
28444                source: "elm";
28445                action: STATE_SET "clicked" 0.0;
28446                target: "right_bt";
28447                target: "right_over3";
28448                after: "right_bt_unpressed_anim";
28449            }
28450            program {
28451                name:   "right_bt_unpressed_anim";
28452                action: STATE_SET "default" 0.0;
28453                transition: DECELERATE 0.5;
28454                target: "right_bt";
28455                target: "right_over3";
28456            }
28457
28458            program { name: "disable";
28459                signal: "elm,state,disabled";
28460                source: "elm";
28461                action: STATE_SET "disabled" 0.0;
28462                target: "left_bt";
28463                target: "left_over1";
28464                target: "left_over2";
28465                target: "right_bt";
28466                target: "right_over1";
28467                target: "right_over2";
28468                target: "disabler";
28469                after: "disable_text";
28470            }
28471            program { name: "disable_text";
28472                script {
28473                    new st[31];
28474                    new Float:vl;
28475                    get_state(PART:"elm.text", st, 30, vl);
28476                    if (!strcmp(st, "active"))
28477                    set_state(PART:"elm.text", "disabled_active", 0.0);
28478                    else
28479                    set_state(PART:"elm.text", "disabled", 0.0);
28480
28481                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28482                    if (!strcmp(st, "active"))
28483                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28484                    else
28485                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28486                }
28487            }
28488            program { name: "enable";
28489                signal: "elm,state,enabled";
28490                source: "elm";
28491                action: STATE_SET "default" 0.0;
28492                target: "left_bt";
28493                target: "left_over1";
28494                target: "left_over2";
28495                target: "right_bt";
28496                target: "right_over1";
28497                target: "right_over2";
28498                target: "disabler";
28499                after: "enable_text";
28500            }
28501            program { name: "enable_text";
28502                script {
28503                    new st[31];
28504                    new Float:vl;
28505                    get_state(PART:"elm.text", st, 30, vl);
28506                    if (!strcmp(st, "disabled_active"))
28507                    set_state(PART:"elm.text", "active", 0.0);
28508                    else
28509                    set_state(PART:"elm.text", "default", 0.0);
28510
28511                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28512                    if (!strcmp(st, "disabled_active"))
28513                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28514                    else
28515                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28516                }
28517            }
28518            program { name: "active";
28519                signal: "elm,state,active";
28520                source: "elm";
28521                action: STATE_SET "active" 0.0;
28522                target: "elm.text";
28523                target: "elm.swallow.entry";
28524            }
28525            program { name: "inactive";
28526                signal: "elm,state,inactive";
28527                source: "elm";
28528                action: STATE_SET "default" 0.0;
28529                target: "elm.text";
28530                target: "elm.swallow.entry";
28531            }
28532            program { name: "toggle_text";
28533                signal: "mouse,up,1";
28534                source: "button_events";
28535                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28536            }
28537            program { name: "to_rtl";
28538                signal: "edje,state,rtl";
28539                source: "edje";
28540                action: STATE_SET "rtl" 0.0;
28541                target: "right_bt_icon";
28542                target: "left_bt_icon";
28543            }
28544            program { name: "to_ltr";
28545                signal: "edje,state,ltr";
28546                source: "edje";
28547                action: STATE_SET "default" 0.0;
28548                target: "right_bt_icon";
28549                target: "left_bt_icon";
28550            }
28551        }
28552    }
28553
28554 ///////////////////////////////////////////////////////////////////////////////
28555    group { name: "elm/spinner/base/vertical";
28556        images {
28557            image: "shelf_inset.png" COMP;
28558            image: "bt_hilight.png" COMP;
28559            image: "bt_shine.png" COMP;
28560            image: "bt_glow.png" COMP;
28561            image: "bt_dis_base.png" COMP;
28562            image: "bt_dis_hilight.png" COMP;
28563            image: "up.png" COMP;
28564            image: "down.png" COMP;
28565            image: "bt_spinner_up.png" COMP;
28566            image: "bt_spinner_down.png" COMP;
28567            image: "bt_spinner_hilight.png" COMP;
28568        }
28569        parts {
28570            part { name: "bg";
28571                type: RECT;
28572                description { state: "default" 0.0;
28573                    min: 0 30;
28574                    rel1.offset: 1 1;
28575                    rel2.offset: -2 -2;
28576                    color: 255 255 255 0;
28577                }
28578            }
28579            part { name: "conf_over";
28580                mouse_events:  0;
28581                description { state: "default" 0.0;
28582                    rel1 {
28583                      to: "bg";
28584                      relative: 0.0 0.0;
28585                    }
28586                    rel2 {
28587                       to: "bg";
28588                    }
28589                    image {
28590                        normal: "shelf_inset.png";
28591                        border: 7 7 7 7;
28592                        middle: 0;
28593                    }
28594                    fill.smooth : 0;
28595                }
28596            }
28597            part { name: "down_bt";
28598                mouse_events:  1;
28599                description { state: "default" 0.0;
28600                    fixed: 1 1;
28601                    rel1 {
28602                        to: "up_bt";
28603                        relative: 0 1;
28604                        offset: 0 1;
28605                    }
28606                    rel2 {
28607                        to_y: "bg";
28608                        to_x: "up_bt";
28609                        relative: 1 1;
28610                        offset: -1 -4;
28611                    }
28612                    align: 1.0 0.5;
28613                    min: 24 16;
28614                    image {
28615                        normal: "bt_spinner_down.png";
28616                        border: 6 6 6 6;
28617                    }
28618                    fill.smooth : 0;
28619                }
28620                description { state: "clicked" 0.0;
28621                    inherit: "default" 0.0;
28622                    image.normal: "bt_spinner_down.png";
28623                    image.middle: SOLID;
28624                }
28625                description { state: "disabled" 0.0;
28626                    inherit:  "default" 0.0;
28627                    image {
28628                        normal: "bt_dis_base.png";
28629                        border: 4 4 4 4;
28630                    }
28631                }
28632            }
28633            part { name: "down_over3";
28634                mouse_events: 1;
28635                repeat_events: 1;
28636                description { state: "default" 0.0;
28637                    color: 255 255 255 0;
28638                    rel1.to: "down_bt";
28639                    rel2.to: "down_bt";
28640                    image {
28641                        normal: "bt_glow.png";
28642                        border: 12 12 12 12;
28643                    }
28644                    fill.smooth : 0;
28645                }
28646                description { state: "clicked" 0.0;
28647                    inherit:  "default" 0.0;
28648                    visible: 1;
28649                    color: 255 255 255 255;
28650                }
28651            }
28652            part { name: "up_bt";
28653                mouse_events:  1;
28654                description { state: "default" 0.0;
28655                    fixed: 1 0;
28656                    rel1 { to: "bg";
28657                        relative: 0 0;
28658                        offset: 0 2;
28659                    }
28660                    rel2 { to: "bg";
28661                        relative: 1 0.5;
28662                        offset: -3 0;
28663                    }
28664                    align: 1.0 0.5;
28665                    min: 24 16;
28666                    aspect: 1.5 1.0;
28667                    aspect_preference: BOTH;
28668                    image {
28669                        normal: "bt_spinner_up.png";
28670                        border: 6 6 6 6;
28671                    }
28672                    fill.smooth : 0;
28673                }
28674                description { state: "clicked" 0.0;
28675                    inherit: "default" 0.0;
28676                    image.normal: "bt_spinner_up.png";
28677                    image.middle: SOLID;
28678                }
28679                description { state: "disabled" 0.0;
28680                    inherit:  "default" 0.0;
28681                    image {
28682                        normal: "bt_dis_base.png";
28683                        border: 4 4 4 4;
28684                    }
28685                }
28686            }
28687            part { name: "up_over1";
28688                mouse_events: 0;
28689                description { state: "default" 0.0;
28690                    rel1.to: "up_bt";
28691                    rel2 { to: "up_bt";
28692                        relative: 1.0 0.5;
28693                    }
28694                    image {
28695                        normal: "bt_spinner_hilight.png";
28696                        border: 7 7 7 0;
28697                    }
28698                }
28699                description { state: "disabled" 0.0;
28700                    inherit:  "default" 0.0;
28701                    image {
28702                        normal: "bt_dis_hilight.png";
28703                        border: 4 4 4 0;
28704                    }
28705                }
28706            }
28707            part { name: "up_over3";
28708                mouse_events: 1;
28709                repeat_events: 1;
28710                description { state: "default" 0.0;
28711                    color: 255 255 255 0;
28712                    rel1.to: "up_bt";
28713                    rel2.to: "up_bt";
28714                    image {
28715                        normal: "bt_glow.png";
28716                        border: 12 12 12 12;
28717                    }
28718                    fill.smooth : 0;
28719                }
28720                description { state: "clicked" 0.0;
28721                    inherit:  "default" 0.0;
28722                    visible: 1;
28723                    color: 255 255 255 255;
28724                }
28725            }
28726            part { name: "down_bt_icon";
28727                repeat_events: 1;
28728                description { state: "default" 0.0;
28729                    rel1.to: "down_bt";
28730                    rel1.offset: 5 3;
28731                    rel2.to: "down_bt";
28732                    rel2.offset: -6 -3;
28733                    align: 0.5 0.5;
28734                    image.normal: "down.png";
28735                }
28736            }
28737            part { name: "up_bt_icon";
28738                repeat_events: 1;
28739                description { state: "default" 0.0;
28740                    rel1.to: "up_bt";
28741                    rel1.offset: 5 3;
28742                    rel2.to: "up_bt";
28743                    rel2.offset: -6 -3;
28744                    align: 0.5 0.5;
28745                    image.normal: "up.png";
28746                }
28747            }
28748            part { name: "elm.text";
28749                type: TEXT;
28750                mouse_events: 0;
28751                scale: 1;
28752                description { state: "default" 0.0;
28753                    visible: 1;
28754                    align: 0.0 0.5;
28755                    rel1 { relative: 0.0 0.0;
28756                        offset: 3 2;
28757                        to_x: "bg";
28758                        to_y: "bg";
28759                    }
28760                    rel2 { relative: 0.0 1.0;
28761                        offset: -3 -2;
28762                        to_x: "down_bt";
28763                        to_y: "bg";
28764                    }
28765                    color: 0 0 0 255;
28766                    text {
28767                        font: "Sans,Edje-Vera";
28768                        size: 10;
28769                        min: 1 1;
28770                        align: 0.5 0.5;
28771                    }
28772                }
28773                description { state: "active" 0.0;
28774                    inherit: "default" 0.0;
28775                    visible: 0;
28776                }
28777                description { state: "disabled_active" 0.0;
28778                    inherit: "default" 0.0;
28779                    color: 0 0 0 128;
28780                    color3: 0 0 0 0;
28781                }
28782                description { state: "disabled" 0.0;
28783                    inherit: "default" 0.0;
28784                    color: 0 0 0 128;
28785                    color3: 0 0 0 0;
28786                }
28787            }
28788            part { name: "elm.dragable.slider";
28789                type: RECT;
28790                mouse_events: 0;
28791                scale: 1;
28792                dragable {
28793                    x: 1 1 0;
28794                    y: 0 0 0;
28795                }
28796                description { state: "default" 0.0;
28797                    rel1.to: "bg";
28798                    rel2.to: "bg";
28799                    fixed: 1 1;
28800                    color: 0 0 0 0;
28801                }
28802            }
28803            part { name: "button_events";
28804                type: RECT;
28805                dragable {
28806                    events: "elm.dragable.slider";
28807                }
28808                mouse_events: 1;
28809                description { state: "default" 0.0;
28810                    rel1.to: "elm.text";
28811                    rel2.to: "elm.text";
28812                    color: 0 0 0 0;
28813                }
28814            }
28815            part { name: "elm.swallow.entry";
28816                type: SWALLOW;
28817                description { state: "default" 0.0;
28818                    visible: 0;
28819                    align: 0.5 0.5;
28820                    rel1 { relative: 0.0 0.5;
28821                        offset: 3 2;
28822                        to: "bg";
28823                    }
28824                    rel2 { relative: 1.0 0.5;
28825                        offset: -3 -2;
28826                        to: "bg";
28827                    }
28828                    fixed: 1 1;
28829                    color: 0 0 0 0;
28830                }
28831                description { state: "active" 0.0;
28832                    inherit: "default" 0.0;
28833                    visible: 1;
28834                    color: 255 255 255 255;
28835                }
28836                description { state: "disabled_active" 0.0;
28837                    inherit: "default" 0.0;
28838                    visible: 0;
28839                }
28840                description { state: "disabled" 0.0;
28841                    inherit: "default" 0.0;
28842                    visible: 0;
28843                }
28844            }
28845            part { name: "disabler";
28846                type: RECT;
28847                description { state: "default" 0.0;
28848                    color: 0 0 0 0;
28849                    visible: 0;
28850                }
28851                description { state: "disabled" 0.0;
28852                    inherit: "default" 0.0;
28853                    visible: 1;
28854                }
28855            }
28856        }
28857        programs {
28858            program { name: "text_show";
28859                signal: "elm,state,text,visible";
28860                source: "elm";
28861                action:  STATE_SET "visible" 0.0;
28862                target: "elm.text";
28863            }
28864            program { name: "text_hide";
28865                signal: "elm,state,text,hidden";
28866                source: "elm";
28867                action:  STATE_SET "default" 0.0;
28868                target: "elm.text";
28869            }
28870            program { name: "dec";
28871                signal: "mouse,down,1";
28872                source: "down_bt";
28873                action: SIGNAL_EMIT "elm,action,decrement,start" "";
28874            }
28875            program { name: "dec2";
28876                signal: "mouse,up,1";
28877                source: "down_bt";
28878                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
28879            }
28880            program { name: "inc";
28881                signal: "mouse,down,1";
28882                source: "up_bt";
28883                action: SIGNAL_EMIT "elm,action,increment,start" "";
28884            }
28885            program { name: "inc2";
28886                signal: "mouse,up,1";
28887                source: "up_bt";
28888                action: SIGNAL_EMIT "elm,action,increment,stop" "";
28889            }
28890            program {
28891                name:   "down_bt_click2";
28892                signal: "mouse,down,1";
28893                source: "down_over3";
28894                action: STATE_SET "clicked" 0.0;
28895                target: "down_over3";
28896            }
28897            program {
28898                name:   "down_bt_unclick2";
28899                signal: "mouse,up,1";
28900                source: "down_over3";
28901                action: STATE_SET "default" 0.0;
28902                transition: DECELERATE 0.5;
28903                target: "down_over3";
28904            }
28905            program {
28906                name:   "up_bt_click2";
28907                signal: "mouse,down,1";
28908                source: "up_over3";
28909                action: STATE_SET "clicked" 0.0;
28910                target: "up_over3";
28911            }
28912            program {
28913                name:   "up_bt_unclick2";
28914                signal: "mouse,up,1";
28915                source: "up_over3";
28916                action: STATE_SET "default" 0.0;
28917                transition: DECELERATE 0.5;
28918                target: "up_over3";
28919            }
28920            program { name: "disable";
28921                signal: "elm,state,disabled";
28922                source: "elm";
28923                action: STATE_SET "disabled" 0.0;
28924                target: "down_bt";
28925                target: "up_bt";
28926                target: "disabler";
28927                after: "disable_text";
28928            }
28929            program { name: "disable_text";
28930                script {
28931                    new st[31];
28932                    new Float:vl;
28933                    get_state(PART:"elm.text", st, 30, vl);
28934                    if (!strcmp(st, "active"))
28935                    set_state(PART:"elm.text", "disabled_active", 0.0);
28936                    else
28937                    set_state(PART:"elm.text", "disabled", 0.0);
28938
28939                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28940                    if (!strcmp(st, "active"))
28941                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
28942                    else
28943                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
28944                }
28945            }
28946            program { name: "enable";
28947                signal: "elm,state,enabled";
28948                source: "elm";
28949                action: STATE_SET "default" 0.0;
28950                target: "down_bt";
28951                target: "up_bt";
28952                target: "disabler";
28953                after: "enable_text";
28954            }
28955            program { name: "enable_text";
28956                script {
28957                    new st[31];
28958                    new Float:vl;
28959                    get_state(PART:"elm.text", st, 30, vl);
28960                    if (!strcmp(st, "disabled_active"))
28961                    set_state(PART:"elm.text", "active", 0.0);
28962                    else
28963                    set_state(PART:"elm.text", "default", 0.0);
28964
28965                    get_state(PART:"elm.swallow.entry", st, 30, vl);
28966                    if (!strcmp(st, "disabled_active"))
28967                    set_state(PART:"elm.swallow.entry", "active", 0.0);
28968                    else
28969                    set_state(PART:"elm.swallow.entry", "default", 0.0);
28970                }
28971            }
28972            program { name: "active";
28973                signal: "elm,state,active";
28974                source: "elm";
28975                action: STATE_SET "active" 0.0;
28976                target: "elm.text";
28977                target: "elm.swallow.entry";
28978            }
28979            program { name: "inactive";
28980                signal: "elm,state,inactive";
28981                source: "elm";
28982                action: STATE_SET "default" 0.0;
28983                target: "elm.text";
28984                target: "elm.swallow.entry";
28985            }
28986            program { name: "toggle_text";
28987                signal: "mouse,up,1";
28988                source: "button_events";
28989                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
28990            }
28991        }
28992    }
28993
28994
28995    ///////////////////////////////////////////////////////////////////////////////
28996    group { name: "elm/index/base/vertical/default";
28997        images {
28998            image: "bt_base1.png" COMP;
28999            image: "bt_base2.png" COMP;
29000            image: "bt_hilight.png" COMP;
29001            image: "bt_shine.png" COMP;
29002        }
29003        parts {
29004            part { name: "clip";
29005                type: RECT;
29006                mouse_events:  0;
29007                description { state: "default" 0.0;
29008                    visible:  0;
29009                    color: 255 255 255 0;
29010                }
29011                description { state: "active" 0.0;
29012                    visible:  1;
29013                    color: 255 255 255 255;
29014                }
29015            }
29016            part { name: "clip2";
29017                type: RECT;
29018                mouse_events:  0;
29019                clip_to: "clip";
29020                description { state: "default" 0.0;
29021                    visible: 0;
29022                    color: 255 255 255 0;
29023                }
29024                description { state: "active" 0.0;
29025                    visible:  1;
29026                    color: 255 255 255 255;
29027                }
29028            }
29029            part { name: "elm.swallow.index.0";
29030                type: SWALLOW;
29031                clip_to: "clip";
29032                description { state: "default" 0.0;
29033                    align: 1.0 0.5;
29034                    fixed: 1 1;
29035                    rel1 {
29036                        relative: 1.0 0.5;
29037                        offset: -1 5;
29038                    }
29039                    rel2 {
29040                        relative: 1.0 0.5;
29041                        offset: -1 -6;
29042                    }
29043                }
29044            }
29045            part { name: "button_image";
29046                mouse_events: 1;
29047                clip_to: "clip";
29048                description { state: "default" 0.0;
29049                    rel1 {
29050                        to: "elm.text.body";
29051                        offset: -5 -5;
29052                    }
29053                    rel2 {
29054                        to: "elm.text";
29055                        offset: 4 4;
29056                    }
29057                    image {
29058                        normal: "bt_base2.png";
29059                        border: 7 7 7 7;
29060                    }
29061                    image.middle: SOLID;
29062                }
29063            }
29064            part { name: "elm.text.body";
29065                type: TEXT;
29066                effect: SOFT_SHADOW;
29067                mouse_events: 0;
29068                scale: 1;
29069                clip_to: "clip";
29070                description { state: "default" 0.0;
29071                    align: 1.0 0.5;
29072                    fixed: 1 1;
29073                    rel1 {
29074                        to: "elm.text";
29075                        relative: 0.0 0.0;
29076                        offset: 5 0;
29077                    }
29078                    rel2 {
29079                        to: "elm.text";
29080                        relative: 0.0 1.0;
29081                        offset: 5 -1;
29082                    }
29083                    color: 224 224 224 255;
29084                    color3: 0 0 0 64;
29085                    text {
29086                        font:     "Sans,Edje-Vera";
29087                        size:     20;
29088                        min:      1 1;
29089                        align:    1.0 0.5;
29090                    }
29091                }
29092            }
29093            part { name: "elm.text";
29094                type: TEXT;
29095                effect: SOFT_SHADOW;
29096                mouse_events: 0;
29097                scale: 1;
29098                clip_to: "clip";
29099                description { state: "default" 0.0;
29100                    align: 1.0 0.5;
29101                    fixed: 1 1;
29102                    rel1 {
29103                        to_x: "elm.swallow.event.0";
29104                        to_y: "elm.dragable.pointer";
29105                        relative: 0.0 0.5;
29106                        offset: -16 0;
29107                    }
29108                    rel2 {
29109                        to_x: "elm.swallow.event.0";
29110                        to_y: "elm.dragable.pointer";
29111                        relative: 0.0 0.5;
29112                        offset: -16 -1;
29113                    }
29114                    color: 255 0 0 255;
29115                    color3: 0 0 0 64;
29116                    text {
29117                        font:     "Sans,Edje-Vera";
29118                        size:     20;
29119                        min:      1 1;
29120                        align:    1.0 0.5;
29121                    }
29122                }
29123            }
29124            part {        name: "over1";
29125                mouse_events: 0;
29126                clip_to: "clip";
29127                description { state: "default" 0.0;
29128                    rel1 {
29129                        to: "button_image";
29130                    }
29131                    rel2 {
29132                        to: "button_image";
29133                        relative: 1.0 0.5;
29134                    }
29135                    image {
29136                        normal: "bt_hilight.png";
29137                        border: 7 7 7 0;
29138                    }
29139                }
29140            }
29141            part { name: "over2";
29142                mouse_events: 1;
29143                repeat_events: 1;
29144                ignore_flags: ON_HOLD;
29145                clip_to: "clip";
29146                description { state: "default" 0.0;
29147                    rel1 {
29148                        to: "button_image";
29149                    }
29150                    rel2 {
29151                        to: "button_image";
29152                    }
29153                    image {
29154                        normal: "bt_shine.png";
29155                        border: 7 7 7 7;
29156                    }
29157                }
29158            }
29159            part { name: "elm.dragable.pointer";
29160                type: RECT;
29161                mouse_events: 0;
29162                dragable {
29163                    x: 1 1 0;
29164                    y: 1 1 0;
29165                }
29166                clip_to: "clip";
29167                description { state: "default" 0.0;
29168                    fixed: 1 1;
29169                    min: 8 8;
29170                    max: 8 8;
29171                    visible: 0;
29172                    rel1 {
29173                        relative: 0.0 0.0;
29174                        offset:   0 0;
29175                    }
29176                    rel2 {
29177                        relative: 0.0 0.0;
29178                        offset:   0 0;
29179                    }
29180                }
29181            }
29182            part { name: "elm.swallow.event.0";
29183                type: SWALLOW;
29184                description { state: "default" 0.0;
29185                    align: 1.0 0.5;
29186                    fixed: 1 1;
29187                    rel1 {
29188                        relative: 1.0 0.0;
29189                        offset: -1 0;
29190                    }
29191                    rel2 {
29192                        relative: 1.0 1.0;
29193                        offset: -1 -1;
29194                    }
29195                }
29196            }
29197        }
29198        programs {
29199            program { name: "active";
29200                signal: "elm,state,active";
29201                source: "elm";
29202                action: STATE_SET "active" 0.0;
29203                transition: DECELERATE 0.5;
29204                target: "clip";
29205            }
29206            program { name: "inactive";
29207                signal: "elm,state,inactive";
29208                source: "elm";
29209                action: STATE_SET "default" 0.0;
29210                transition: DECELERATE 0.5;
29211                target: "clip";
29212            }
29213        }
29214    }
29215
29216    group { name: "elm/index/item/vertical/default";
29217        data.item: "stacking" "above";
29218        data.item: "selectraise" "on";
29219        images {
29220            image: "ilist_1.png" COMP;
29221            image: "ilist_item_shadow.png" COMP;
29222        }
29223        parts {
29224            part {
29225                name: "base_sh";
29226                mouse_events: 0;
29227                description {
29228                    state: "default" 0.0;
29229                    align: 0.0 0.0;
29230                    min: 0 10;
29231                    fixed: 1 1;
29232                    rel1 {
29233                        to: "base";
29234                        relative: 0.0 1.0;
29235                        offset: 0 0;
29236                    }
29237                    rel2 {
29238                        to: "base";
29239                        relative: 1.0 1.0;
29240                        offset: -1 0;
29241                    }
29242                    image {
29243                        normal: "ilist_item_shadow.png";
29244                    }
29245                    fill.smooth: 0;
29246                }
29247            }
29248            part {
29249                name: "base";
29250                mouse_events: 0;
29251                description {
29252                    state: "default" 0.0;
29253                    image {
29254                        normal: "ilist_1.png";
29255                        border: 2 2 2 2;
29256                    }
29257                    fill.smooth: 0;
29258                }
29259                description { state: "active" 0.0;
29260                    inherit: "default" 0.0;
29261                    rel1 {
29262                        offset: -16 0;
29263                    }
29264                }
29265            }
29266            part { name: "elm.text";
29267                type:           TEXT;
29268                mouse_events:   0;
29269                scale: 1;
29270                description {
29271                    state: "default" 0.0;
29272                           //               min: 16 16;
29273                    rel1 {
29274                        to: "base";
29275                        relative: 0.0  0.0;
29276                        offset:   4 4;
29277                    }
29278                    rel2 {
29279                        to: "base";
29280                        relative: 0.5  1.0;
29281                        offset:   -1 -1;
29282                    }
29283                    color: 0 0 0 128;
29284                    text {
29285                        font: "Sans";
29286                        size: 10;
29287                        min: 1 1;
29288                             //                  min: 0 1;
29289                        align: 0.5 0.5;
29290                    }
29291                }
29292                description { state: "active" 0.0;
29293                    inherit: "default" 0.0;
29294                    color: 0 0 0 255;
29295                }
29296            }
29297        }
29298        programs {
29299            program { name: "active";
29300                signal: "elm,state,active";
29301                source: "elm";
29302                action: STATE_SET "active" 0.0;
29303                transition: DECELERATE 0.5;
29304                target: "elm.text";
29305                target: "base";
29306            }
29307            program { name: "inactive";
29308                signal: "elm,state,inactive";
29309                source: "elm";
29310                action: STATE_SET "default" 0.0;
29311                transition: DECELERATE 0.5;
29312                target: "elm.text";
29313                target: "base";
29314            }
29315        }
29316    }
29317
29318    group { name: "elm/index/item_odd/vertical/default";
29319        data.item: "stacking" "below";
29320        images {
29321            image: "ilist_2.png" COMP;
29322        }
29323        parts {
29324            part {
29325                name: "base";
29326                mouse_events: 0;
29327                description {
29328                    state: "default" 0.0;
29329                    image {
29330                        normal: "ilist_2.png";
29331                        border: 2 2 2 2;
29332                    }
29333                    fill.smooth: 0;
29334                }
29335                description { state: "active" 0.0;
29336                    inherit: "default" 0.0;
29337                    rel1 {
29338                        offset: -16 0;
29339                    }
29340                }
29341            }
29342            part { name: "elm.text";
29343                type:           TEXT;
29344                mouse_events:   0;
29345                scale: 1;
29346                description {
29347                    state: "default" 0.0;
29348                           //               min: 16 16;
29349                    rel1 {
29350                        to: "base";
29351                        relative: 0.0  0.0;
29352                        offset:   4 4;
29353                    }
29354                    rel2 {
29355                        to: "base";
29356                        relative: 0.5  1.0;
29357                        offset:   -1 -1;
29358                    }
29359                    color: 0 0 0 128;
29360                    text {
29361                        font: "Sans";
29362                        size: 10;
29363                        min: 1 1;
29364                             //                  min: 0 1;
29365                        align: 0.5 0.5;
29366                    }
29367                }
29368                description { state: "active" 0.0;
29369                    inherit: "default" 0.0;
29370                    color: 0 0 0 255;
29371                }
29372            }
29373        }
29374        programs {
29375            program { name: "active";
29376                signal: "elm,state,active";
29377                source: "elm";
29378                action: STATE_SET "active" 0.0;
29379                transition: DECELERATE 0.5;
29380                target: "elm.text";
29381                target: "base";
29382            }
29383            program { name: "inactive";
29384                signal: "elm,state,inactive";
29385                source: "elm";
29386                action: STATE_SET "default" 0.0;
29387                transition: DECELERATE 0.5;
29388                target: "elm.text";
29389                target: "base";
29390            }
29391        }
29392    }
29393
29394 ///////////////////////////////////////////////////////////////////////////////
29395    group { name: "elm/gengrid/item/default/default";
29396       data.item: "labels" "elm.text";
29397       data.item: "icons" "elm.swallow.icon elm.swallow.end";
29398       images {
29399          image: "bt_sm_base1.png" COMP;
29400          image: "bt_sm_shine.png" COMP;
29401          image: "bt_sm_hilight.png" COMP;
29402          image: "ilist_1.png" COMP;
29403          image: "ilist_item_shadow.png" COMP;
29404       }
29405       parts {
29406          part { name: "event";
29407             type: RECT;
29408             repeat_events: 1;
29409             description {
29410                state: "default" 0.0;
29411                color: 0 0 0 0;
29412             }
29413          }
29414          part { name: "base_sh";
29415             mouse_events: 0;
29416             description { state: "default" 0.0;
29417                align: 0.0 0.0;
29418                min: 0 10;
29419                fixed: 1 1;
29420                rel1 {
29421                   to: "base";
29422                   relative: 0.0 1.0;
29423                   offset: 0 0;
29424                }
29425                rel2 {
29426                   to: "base";
29427                   relative: 1.0 1.0;
29428                   offset: -1 0;
29429                }
29430                image {
29431                   normal: "ilist_item_shadow.png";
29432                }
29433                fill.smooth: 0;
29434             }
29435          }
29436          part { name: "base";
29437             mouse_events: 0;
29438             description { state: "default" 0.0;
29439                image {
29440                   normal: "ilist_1.png";
29441                   border: 2 2 2 2;
29442                }
29443                fill.smooth: 0;
29444             }
29445          }
29446          part { name: "bg";
29447             clip_to: "disclip";
29448             mouse_events: 0;
29449             description { state: "default" 0.0;
29450                visible: 0;
29451                color: 255 255 255 0;
29452                rel1 {
29453                   relative: 0.0 0.0;
29454                   offset: -5 -5;
29455                }
29456                rel2 {
29457                   relative: 1.0 1.0;
29458                   offset: 4 4;
29459                }
29460                image {
29461                   normal: "bt_sm_base1.png";
29462                   border: 6 6 6 6;
29463                }
29464                image.middle: SOLID;
29465             }
29466             description { state: "selected" 0.0;
29467                inherit: "default" 0.0;
29468                visible: 1;
29469                color: 255 255 255 255;
29470                rel1 {
29471                   relative: 0.0 0.0;
29472                   offset: -2 -2;
29473                }
29474                rel2 {
29475                   relative: 1.0 1.0;
29476                   offset: 1 1;
29477                }
29478             }
29479          }
29480          part { name: "elm.swallow.pad";
29481             type: SWALLOW;
29482             description { state: "default" 0.0;
29483                fixed: 1 0;
29484                align: 0.0 0.5;
29485                rel1 {
29486                   relative: 0.0  1.0;
29487                   offset:   0    -10;
29488                }
29489                rel2 {
29490                   to_y: "elm.text";
29491                   relative: 0.0  0.0;
29492                   offset:   -1   -1;
29493                }
29494             }
29495          }
29496          part { name: "elm.swallow.icon";
29497             clip_to: "disclip";
29498             type: SWALLOW;
29499             description { state: "default" 0.0;
29500                fixed: 1 0;
29501                align: 0.5 0.5;
29502                rel1 {
29503                   relative: 0.0  0.0;
29504                   offset:   -1    4;
29505                }
29506                rel2 {
29507                   to_y: "elm.swallow.pad";
29508                   relative: 1.0  0.0;
29509                   offset:   -1   -5;
29510                }
29511             }
29512          }
29513          part { name: "elm.swallow.end";
29514             clip_to: "disclip";
29515             type: SWALLOW;
29516             description { state: "default" 0.0;
29517                fixed: 1 0;
29518                align: 1.0 0.0;
29519                aspect: 1.0 1.0;
29520                aspect_preference: HORIZONTAL;
29521                rel1 {
29522                   relative: 1.0 0.0;
29523                   offset: -5 -5;
29524                }
29525                rel2 {
29526                   relative: 1.0 1.0;
29527                   offset: 5 5;
29528                }
29529             }
29530          }
29531          part { name: "elm.text";
29532             clip_to: "disclip";
29533             type: TEXT;
29534             effect: SOFT_SHADOW;
29535             mouse_events: 0;
29536             scale: 1;
29537             description { state: "default" 0.0;
29538                rel1 {
29539                   relative: 0.0  1.0;
29540                   offset: 0 0;
29541                }
29542                rel2 {
29543                   relative: 1.0  1.0;
29544                   offset: -5 -5;
29545                }
29546                color: 0 0 0 255;
29547                color3: 0 0 0 0;
29548                text {
29549                   font: "Sans";
29550                   size: 10;
29551                   min: 0 1;
29552                   align: 0.5 0.0;
29553                   text_class: "grid_item";
29554                }
29555             }
29556             description { state: "selected" 0.0;
29557                inherit: "default" 0.0;
29558                color: 224 224 224 255;
29559                color3: 0 0 0 64;
29560             }
29561          }
29562          part { name: "fg1";
29563             clip_to: "disclip";
29564             mouse_events: 0;
29565             description { state: "default" 0.0;
29566                visible: 0;
29567                color: 255 255 255 0;
29568                rel1.to: "bg";
29569                rel2.relative: 1.0 0.5;
29570                rel2.to: "bg";
29571                image {
29572                   normal: "bt_sm_hilight.png";
29573                   border: 6 6 6 0;
29574                }
29575             }
29576             description { state: "selected" 0.0;
29577                inherit: "default" 0.0;
29578                visible: 1;
29579                color: 255 255 255 255;
29580             }
29581          }
29582          part { name: "fg2";
29583             clip_to: "disclip";
29584             mouse_events: 0;
29585             description { state: "default" 0.0;
29586                visible: 0;
29587                color: 255 255 255 0;
29588                rel1.to: "bg";
29589                rel2.to: "bg";
29590                image {
29591                   normal: "bt_sm_shine.png";
29592                   border: 6 6 6 0;
29593                }
29594             }
29595             description { state: "selected" 0.0;
29596                inherit: "default" 0.0;
29597                visible: 1;
29598                color: 255 255 255 255;
29599             }
29600          }
29601          part { name: "disclip";
29602             type: RECT;
29603             description { state: "default" 0.0;
29604                rel1.to: "bg";
29605                rel2.to: "bg";
29606             }
29607             description { state: "disabled" 0.0;
29608                inherit: "default" 0.0;
29609                color: 255 255 255 64;
29610             }
29611          }
29612       }
29613       programs {
29614          // signal: elm,state,%s,active
29615          //   a "check" item named %s went active
29616          // signal: elm,state,%s,passive
29617          //   a "check" item named %s went passive
29618          // default is passive
29619          program { name:    "go_active";
29620             signal:  "elm,state,selected";
29621             source:  "elm";
29622             action:  STATE_SET "selected" 0.0;
29623             target:  "bg";
29624             target:  "fg1";
29625             target:  "fg2";
29626             target:  "elm.text";
29627          }
29628          program { name:    "go_passive";
29629             signal:  "elm,state,unselected";
29630             source:  "elm";
29631             action:  STATE_SET "default" 0.0;
29632             target:  "bg";
29633             target:  "fg1";
29634             target:  "fg2";
29635             target:  "elm.text";
29636             transition: LINEAR 0.1;
29637          }
29638          program { name:    "go_disabled";
29639             signal:  "elm,state,disabled";
29640             source:  "elm";
29641             action:  STATE_SET "disabled" 0.0;
29642             target:  "disclip";
29643          }
29644          program { name:    "go_enabled";
29645             signal:  "elm,state,enabled";
29646             source:  "elm";
29647             action:  STATE_SET "default" 0.0;
29648             target:  "disclip";
29649          }
29650       }
29651    }
29652    group { name: "elm/gengrid/item/default_style/default";
29653        styles
29654        {
29655            style { name: "gengrid_style";
29656                base: "font=Sans font_size=10 align=left valign=0.5 color=#000 text_class=grid_item";
29657                tag:  "br" "\n";
29658                tag:  "ps" "ps";
29659                tag:  "hilight" "+ font=Sans:style=Bold";
29660                tag:  "b" "+ font=Sans:style=Bold";
29661                tag:  "tab" "\t";
29662            }
29663            style { name: "gengrid_selected_style";
29664                base: "font=Sans font_size=10 align=left valign=0.5 color=#fff text_class=grid_item";
29665                tag:  "br" "\n";
29666                tag:  "ps" "ps";
29667                tag:  "hilight" "+ font=Sans:style=Bold";
29668                tag:  "b" "+ font=Sans:style=Bold";
29669                tag:  "tab" "\t";
29670            }
29671        }
29672        data.item: "labels" "elm.text";
29673        data.item: "icons" "elm.swallow.icon elm.swallow.end";
29674        images {
29675            image: "bt_sm_base1.png" COMP;
29676            image: "bt_sm_shine.png" COMP;
29677            image: "bt_sm_hilight.png" COMP;
29678            image: "ilist_1.png" COMP;
29679            image: "ilist_item_shadow.png" COMP;
29680        }
29681        parts {
29682            part { name: "event";
29683                type: RECT;
29684                repeat_events: 1;
29685                description { state: "default" 0.0;
29686                    color: 0 0 0 0;
29687                }
29688            }
29689            part { name: "base_sh";
29690                mouse_events: 0;
29691                description { state: "default" 0.0;
29692                    align: 0.0 0.0;
29693                    min: 0 10;
29694                    fixed: 1 1;
29695                    rel1 {
29696                        to: "base";
29697                        relative: 0.0 1.0;
29698                        offset: 0 0;
29699                    }
29700                    rel2 {
29701                        to: "base";
29702                        relative: 1.0 1.0;
29703                        offset: -1 0;
29704                    }
29705                    image {
29706                        normal: "ilist_item_shadow.png";
29707                    }
29708                    fill.smooth: 0;
29709                }
29710            }
29711            part { name: "base";
29712                mouse_events: 0;
29713                description { state: "default" 0.0;
29714                    min: 16 28;
29715                    image {
29716                        normal: "ilist_1.png";
29717                        border: 2 2 2 2;
29718                    }
29719                    fill.smooth: 0;
29720                }
29721            }
29722            part { name: "bg";
29723                clip_to: "disclip";
29724                mouse_events: 0;
29725                description { state: "default" 0.0;
29726                    visible: 0;
29727                    color: 255 255 255 0;
29728                    rel1 {
29729                        relative: 0.0 0.0;
29730                        offset: -5 -5;
29731                    }
29732                    rel2 {
29733                        relative: 1.0 1.0;
29734                        offset: 4 4;
29735                    }
29736                    image {
29737                        normal: "bt_sm_base1.png";
29738                        border: 6 6 6 6;
29739                    }
29740                    image.middle: SOLID;
29741                }
29742                description { state: "selected" 0.0;
29743                    inherit: "default" 0.0;
29744                    visible: 1;
29745                    color: 255 255 255 255;
29746                    rel1 {
29747                        relative: 0.0 0.0;
29748                        offset: -2 -2;
29749                    }
29750                    rel2 {
29751                        relative: 1.0 1.0;
29752                        offset: 1 1;
29753                    }
29754                }
29755            }
29756            part { name: "elm.swallow.pad";
29757                type: SWALLOW;
29758                description { state: "default" 0.0;
29759                    fixed: 1 0;
29760                    align: 0.0 0.5;
29761                    rel1 {
29762                        relative: 0.0  0.0;
29763                        offset:   4    4;
29764                    }
29765                    rel2 {
29766                        relative: 0.0  1.0;
29767                        offset:   4   -5;
29768                    }
29769                }
29770            }
29771            part { name: "elm.swallow.icon";
29772                clip_to: "disclip";
29773                type: SWALLOW;
29774                description { state: "default" 0.0;
29775                    fixed: 1 0;
29776                    align: 0.0 0.5;
29777                    rel1 {
29778                        to_x: "elm.swallow.pad";
29779                        relative: 1.0  0.0;
29780                        offset:   -1    4;
29781                    }
29782                    rel2 {
29783                        to_x: "elm.swallow.pad";
29784                        relative: 1.0  1.0;
29785                        offset:   -1   -5;
29786                    }
29787                }
29788            }
29789            part { name: "elm.swallow.end";
29790                clip_to: "disclip";
29791                type: SWALLOW;
29792                description { state: "default" 0.0;
29793                    fixed: 1 0;
29794                    align: 1.0 0.5;
29795                    aspect: 1.0 1.0;
29796                    aspect_preference: VERTICAL;
29797                    rel1 {
29798                        relative: 1.0  0.0;
29799                        offset:   -5    4;
29800                    }
29801                    rel2 {
29802                        relative: 1.0  1.0;
29803                        offset:   -5   -5;
29804                    }
29805                }
29806            }
29807            part { name: "elm.text";
29808                clip_to: "disclip";
29809                type: TEXTBLOCK;
29810                mouse_events: 0;
29811                scale: 1;
29812                description {
29813                    state: "default" 0.0;
29814                    align: 0.0 0.5;
29815                    fixed: 0 1;
29816                    rel1 {
29817                        to_x: "elm.swallow.icon";
29818                        to_y: "base";
29819                        relative: 1.0  0.5;
29820                        offset:   0 4;
29821                    }
29822                    rel2 {
29823                        to_x: "elm.swallow.end";
29824                        to_y: "base";
29825                        relative: 0.0  0.5;
29826                        offset:   -1 -5;
29827                    }
29828                    text {
29829                        style: "gengrid_style";
29830                        min: 1 1;
29831                    }
29832                }
29833                description { state: "selected" 0.0;
29834                    inherit: "default" 0.0;
29835                    text {
29836                        style: "gengrid_selected_style";
29837                    }
29838                }
29839            }
29840            part { name: "fg1";
29841                clip_to: "disclip";
29842                mouse_events: 0;
29843                description { state: "default" 0.0;
29844                    visible: 0;
29845                    color: 255 255 255 0;
29846                    rel1.to: "bg";
29847                    rel2.relative: 1.0 0.5;
29848                    rel2.to: "bg";
29849                    image {
29850                        normal: "bt_sm_hilight.png";
29851                        border: 6 6 6 0;
29852                    }
29853                }
29854                description { state: "selected" 0.0;
29855                    inherit: "default" 0.0;
29856                    visible: 1;
29857                    color: 255 255 255 255;
29858                }
29859            }
29860            part { name: "fg2";
29861                clip_to: "disclip";
29862                mouse_events: 0;
29863                description { state: "default" 0.0;
29864                    visible: 0;
29865                    color: 255 255 255 0;
29866                    rel1.to: "bg";
29867                    rel2.to: "bg";
29868                    image {
29869                        normal: "bt_sm_shine.png";
29870                        border: 6 6 6 0;
29871                    }
29872                }
29873                description { state: "selected" 0.0;
29874                    inherit: "default" 0.0;
29875                    visible: 1;
29876                    color: 255 255 255 255;
29877                }
29878            }
29879            part { name: "disclip";
29880                type: RECT;
29881                description { state: "default" 0.0;
29882                    rel1.to: "bg";
29883                    rel2.to: "bg";
29884                }
29885                description { state: "disabled" 0.0;
29886                    inherit: "default" 0.0;
29887                    color: 255 255 255 64;
29888                }
29889            }
29890        }
29891        programs {
29892            // signal: elm,state,%s,active
29893            //   a "check" item named %s went active
29894            // signal: elm,state,%s,passive
29895            //   a "check" item named %s went passive
29896            // default is passive
29897            program { name:    "go_active";
29898                signal:  "elm,state,selected";
29899                source:  "elm";
29900                action:  STATE_SET "selected" 0.0;
29901                target:  "bg";
29902                target:  "fg1";
29903                target:  "fg2";
29904                target:  "elm.text";
29905            }
29906            program { name:    "go_passive";
29907                signal:  "elm,state,unselected";
29908                source:  "elm";
29909                action:  STATE_SET "default" 0.0;
29910                target:  "bg";
29911                target:  "fg1";
29912                target:  "fg2";
29913                target:  "elm.text";
29914                transition: LINEAR 0.1;
29915            }
29916            program { name:    "go_disabled";
29917                signal:  "elm,state,disabled";
29918                source:  "elm";
29919                action:  STATE_SET "disabled" 0.0;
29920                target:  "disclip";
29921            }
29922            program { name:    "go_enabled";
29923                signal:  "elm,state,enabled";
29924                source:  "elm";
29925                action:  STATE_SET "default" 0.0;
29926                target:  "disclip";
29927            }
29928        }
29929    }
29930
29931    group { name: "elm/gengrid/item/up/default";
29932       data.item: "labels" "elm.text";
29933       images {
29934           image: "bt_sm_base1.png" COMP;
29935           image: "bt_sm_shine.png" COMP;
29936           image: "bt_sm_hilight.png" COMP;
29937           image: "arrow_up.png" COMP;
29938       }
29939       parts {
29940          part { name: "event";
29941             type: RECT;
29942             repeat_events: 1;
29943             description { state: "default" 0.0;
29944                color: 0 0 0 0;
29945             }
29946          }
29947          part { name: "bg";
29948             clip_to: "disclip";
29949             mouse_events: 0;
29950             description { state: "default" 0.0;
29951                visible: 0;
29952                color: 255 255 255 0;
29953                rel1.offset: -3 -3;
29954                rel2.offset: 2 2;
29955                image { normal: "bt_sm_base1.png";
29956                   border: 6 6 6 6;
29957                   middle: SOLID;
29958                }
29959             }
29960             description { state: "selected" 0.0;
29961                inherit: "default" 0.0;
29962                visible: 1;
29963                color: 255 255 255 255;
29964             }
29965          }
29966          part { name: "image";
29967              type: IMAGE;
29968              mouse_events: 0;
29969              description { state: "default" 0.0;
29970                  aspect_preference: BOTH;
29971                  aspect: 1.0 1.0;
29972                  image.normal: "arrow_up.png";
29973                  rel2 {
29974                      to_y: "elm.text";
29975                      relative: 1.0 0.0;
29976                      offset: -1 -2;
29977                  }
29978              }
29979          }
29980          part { name: "elm.text";
29981             clip_to: "disclip";
29982             type: TEXT;
29983             effect: SOFT_SHADOW;
29984             mouse_events: 0;
29985             scale: 1;
29986             description { state: "default" 0.0;
29987                rel1 {
29988                   relative: 0.0  1.0;
29989                   offset: 20 -25;
29990                }
29991                rel2 {
29992                   relative: 1.0  1.0;
29993                   offset: -21 -3;
29994                }
29995                color: 0 0 0 255;
29996                color3: 0 0 0 0;
29997                text {
29998                   font: "Sans";
29999                   size: 10;
30000                   min: 0 1;
30001                   align: 0.5 0.0;
30002                   text_class: "grid_item";
30003                }
30004             }
30005             description { state: "selected" 0.0;
30006                inherit: "default" 0.0;
30007                color: 224 224 224 255;
30008                color3: 0 0 0 64;
30009             }
30010          }
30011          part { name: "fg1";
30012             clip_to: "disclip";
30013             mouse_events: 0;
30014             description { state: "default" 0.0;
30015                visible: 0;
30016                color: 255 255 255 0;
30017                rel1.offset: -3 -3;
30018                rel2 {
30019                    relative: 1.0 0.5;
30020                    offset: 2 -1;
30021                }
30022                image {
30023                   normal: "bt_sm_hilight.png";
30024                   border: 6 6 6 0;
30025                }
30026             }
30027             description { state: "selected" 0.0;
30028                inherit: "default" 0.0;
30029                visible: 1;
30030                color: 255 255 255 255;
30031             }
30032          }
30033          part { name: "fg2";
30034             clip_to: "disclip";
30035             mouse_events: 0;
30036             description { state: "default" 0.0;
30037                visible: 0;
30038                color: 255 255 255 0;
30039                rel1.offset: -3 -3;
30040                rel2.offset: 2 2;
30041                image {
30042                   normal: "bt_sm_shine.png";
30043                   border: 6 6 6 0;
30044                }
30045             }
30046             description { state: "selected" 0.0;
30047                inherit: "default" 0.0;
30048                visible: 1;
30049                color: 255 255 255 255;
30050             }
30051          }
30052          part { name: "disclip";
30053             type: RECT;
30054             description { state: "default" 0.0;
30055                rel1.to: "bg";
30056                rel2.to: "bg";
30057             }
30058             description { state: "disabled" 0.0;
30059                inherit: "default" 0.0;
30060                color: 255 255 255 64;
30061             }
30062          }
30063       }
30064       programs {
30065          program { name:    "go_active";
30066             signal:  "elm,state,selected";
30067             source:  "elm";
30068             action:  STATE_SET "selected" 0.0;
30069             target:  "bg";
30070             target:  "fg1";
30071             target:  "fg2";
30072             target:  "elm.text";
30073          }
30074          program { name:    "go_passive";
30075             signal:  "elm,state,unselected";
30076             source:  "elm";
30077             action:  STATE_SET "default" 0.0;
30078             target:  "bg";
30079             target:  "fg1";
30080             target:  "fg2";
30081             target:  "elm.text";
30082             transition: LINEAR 0.1;
30083          }
30084          program { name:    "go_disabled";
30085             signal:  "elm,state,disabled";
30086             source:  "elm";
30087             action:  STATE_SET "disabled" 0.0;
30088             target:  "disclip";
30089          }
30090          program { name:    "go_enabled";
30091             signal:  "elm,state,enabled";
30092             source:  "elm";
30093             action:  STATE_SET "default" 0.0;
30094             target:  "disclip";
30095          }
30096       }
30097    }
30098
30099    group { name: "elm/gengrid/item/album-preview/default";
30100       data.item: "labels" "elm.text";
30101       data.item: "icons" "elm.swallow.icon.1 elm.swallow.icon.2 elm.swallow.icon.3 elm.swallow.icon.4";
30102       data.item: "states" "have_files";
30103       images {
30104          image: "bt_sm_base1.png" COMP;
30105          image: "bt_sm_shine.png" COMP;
30106          image: "bt_sm_hilight.png" COMP;
30107          image: "icon_folder.png" COMP;
30108       }
30109       parts {
30110          part { name: "event";
30111             type: RECT;
30112             repeat_events: 1;
30113             description { state: "default" 0.0;
30114                color: 0 0 0 0;
30115             }
30116          }
30117          part { name: "bg";
30118             clip_to: "disclip";
30119             mouse_events: 0;
30120             description { state: "default" 0.0;
30121                visible: 0;
30122                color: 255 255 255 0;
30123                rel1.offset: -3 -3;
30124                rel2.offset: 2 2;
30125                image {
30126                   normal: "bt_sm_base1.png";
30127                   border: 6 6 6 6;
30128                   middle: SOLID;
30129                }
30130             }
30131             description { state: "selected" 0.0;
30132                inherit: "default" 0.0;
30133                visible: 1;
30134                color: 255 255 255 255;
30135             }
30136          }
30137          part { name: "image";
30138              type: IMAGE;
30139              mouse_events: 0;
30140              description { state: "default" 0.0;
30141                  aspect_preference: BOTH;
30142                  aspect: 1.0 1.0;
30143                  image.normal: "icon_folder.png";
30144                  rel2 {
30145                      to_y: "elm.text";
30146                      relative: 1.0 0.0;
30147                      offset: -1 -2;
30148                  }
30149              }
30150          }
30151          part { name: "have-files-clipper";
30152              type: RECT;
30153              description { state: "default" 0.0;
30154                  color: 255 255 255 0;
30155                  visible: 0;
30156              }
30157              description { state: "visible" 0.0;
30158                  inherit: "default" 0.0;
30159                  color: 255 255 255 255;
30160                  visible: 1;
30161              }
30162          }
30163          part { name: "icon_box_margin";
30164              type: RECT;
30165              mouse_events: 0;
30166              clip_to: "have-files-clipper";
30167              description { state: "default" 0.0;
30168                  color: 0 0 0 255;
30169                  rel1 {
30170                      to: "icon_box";
30171                      offset: -1 -1;
30172                  }
30173                  rel2 {
30174                      to: "icon_box";
30175                      offset: 0 0;
30176                  }
30177              }
30178          }
30179          part { name: "icon_box";
30180              type: RECT;
30181              mouse_events: 0;
30182              clip_to: "have-files-clipper";
30183              description { state: "default" 0.0;
30184                  color: 255 255 255 255;
30185                  align: 1.0 1.0;
30186                  min: 32 32;
30187                  rel1 {
30188                      relative: 0.25 0.25;
30189                      offset: 0 0;
30190                  }
30191                  rel2 {
30192                      relative: 1.0 0.0;
30193                      offset: -11 -4;
30194                      to_y: "elm.text";
30195                  }
30196              }
30197          }
30198          part { name: "elm.swallow.icon.1";
30199              type: SWALLOW;
30200              mouse_events: 0;
30201              clip_to: "have-files-clipper";
30202              description { state: "default" 0.0;
30203                rel1 {
30204                   relative: 0.0  0.0;
30205                   to: "icon_box";
30206                }
30207                rel2 {
30208                   relative: 0.5  0.5;
30209                   offset: -1 -1;
30210                   to: "icon_box";
30211                }
30212             }
30213          }
30214          part { name: "elm.swallow.icon.2";
30215              type: SWALLOW;
30216              mouse_events: 0;
30217              clip_to: "have-files-clipper";
30218              description { state: "default" 0.0;
30219                rel1 {
30220                   relative: 0.5  0.0;
30221                   to: "icon_box";
30222                }
30223                rel2 {
30224                   relative: 1.0  0.5;
30225                   offset: -1 -1;
30226                   to: "icon_box";
30227                }
30228             }
30229          }
30230          part { name: "elm.swallow.icon.3";
30231              type: SWALLOW;
30232              mouse_events: 0;
30233              clip_to: "have-files-clipper";
30234              description { state: "default" 0.0;
30235                rel1 {
30236                   relative: 0.0  0.5;
30237                   to: "icon_box";
30238                }
30239                rel2 {
30240                   relative: 0.5  1.0;
30241                   offset: -1 -1;
30242                   to: "icon_box";
30243                }
30244             }
30245          }
30246          part { name: "elm.swallow.icon.4";
30247              type: SWALLOW;
30248              mouse_events: 0;
30249              clip_to: "have-files-clipper";
30250              description { state: "default" 0.0;
30251                rel1 {
30252                   relative: 0.5  0.5;
30253                   to: "icon_box";
30254                }
30255                rel2 {
30256                   relative: 1.0  1.0;
30257                   offset: -1 -1;
30258                   to: "icon_box";
30259                }
30260             }
30261          }
30262          part { name: "elm.text";
30263             clip_to: "disclip";
30264             type: TEXT;
30265             effect: SOFT_SHADOW;
30266             mouse_events: 0;
30267             scale: 1;
30268             description { state: "default" 0.0;
30269                rel1 {
30270                   relative: 0.0  1.0;
30271                   offset: 20 -30;
30272                }
30273                rel2 {
30274                   relative: 1.0  1.0;
30275                   offset: -21 -15;
30276                }
30277                color: 0 0 0 255;
30278                color3: 0 0 0 0;
30279                text {
30280                   font: "Sans";
30281                   size: 10;
30282                   min: 0 1;
30283                   align: 0.5 0.0;
30284                   text_class: "grid_item";
30285                }
30286             }
30287             description { state: "selected" 0.0;
30288                 inherit: "default" 0.0;
30289                 color: 255 255 255 255;
30290             }
30291          }
30292          part { name: "fg1";
30293             clip_to: "disclip";
30294             mouse_events: 0;
30295             description { state: "default" 0.0;
30296                visible: 0;
30297                color: 255 255 255 0;
30298                rel1.offset: -3 -3;
30299                rel2 {
30300                    relative: 1.0 0.5;
30301                    offset: 2 -1;
30302                }
30303                image {
30304                   normal: "bt_sm_hilight.png";
30305                   border: 6 6 6 0;
30306                }
30307             }
30308             description { state: "selected" 0.0;
30309                inherit: "default" 0.0;
30310                visible: 1;
30311                color: 255 255 255 255;
30312             }
30313          }
30314          part { name: "fg2";
30315             clip_to: "disclip";
30316             mouse_events: 0;
30317             description { state: "default" 0.0;
30318                visible: 0;
30319                color: 255 255 255 0;
30320                rel1.offset: -3 -3;
30321                rel2.offset: 2 2;
30322                image {
30323                   normal: "bt_sm_shine.png";
30324                   border: 6 6 6 0;
30325                }
30326             }
30327             description { state: "selected" 0.0;
30328                inherit: "default" 0.0;
30329                visible: 1;
30330                color: 255 255 255 255;
30331             }
30332          }
30333          part { name: "disclip";
30334             type: RECT;
30335             description { state: "default" 0.0;
30336                rel1.to: "bg";
30337                rel2.to: "bg";
30338             }
30339             description { state: "disabled" 0.0;
30340                inherit: "default" 0.0;
30341                color: 255 255 255 64;
30342             }
30343          }
30344       }
30345       programs {
30346          program { name:    "go_active";
30347             signal:  "elm,state,selected";
30348             source:  "elm";
30349             action:  STATE_SET "selected" 0.0;
30350             target:  "bg";
30351             target:  "fg1";
30352             target:  "fg2";
30353             target:  "elm.text";
30354          }
30355          program { name:    "go_passive";
30356             signal:  "elm,state,unselected";
30357             source:  "elm";
30358             action:  STATE_SET "default" 0.0;
30359             target:  "bg";
30360             target:  "fg1";
30361             target:  "fg2";
30362             target:  "elm.text";
30363             transition: LINEAR 0.1;
30364          }
30365          program { name:    "go_disabled";
30366             signal:  "elm,state,disabled";
30367             source:  "elm";
30368             action:  STATE_SET "disabled" 0.0;
30369             target:  "disclip";
30370          }
30371          program { name:    "go_enabled";
30372             signal:  "elm,state,enabled";
30373             source:  "elm";
30374             action:  STATE_SET "default" 0.0;
30375             target:  "disclip";
30376          }
30377          program {
30378              signal: "elm,state,have_files,active";
30379              source: "elm";
30380              action: STATE_SET "visible" 0.0;
30381              target: "have-files-clipper";
30382          }
30383       }
30384    }
30385
30386    group { name: "elm/gengrid/item/thumb/default";
30387        data {
30388            item: "icons" "elm.swallow.icon";
30389            item: "labels" "elm.text";
30390        }
30391        images {
30392            image: "bt_sm_base1.png" COMP;
30393            image: "bt_sm_shine.png" COMP;
30394            image: "bt_sm_hilight.png" COMP;
30395            image: "thumb_shadow.png" COMP;
30396        }
30397        parts {
30398            part { name: "event";
30399                type: RECT;
30400                repeat_events: 1;
30401                description { state: "default" 0.0;
30402                    color: 0 0 0 0;
30403                }
30404            }
30405            part { name: "bg";
30406                mouse_events: 0;
30407                description { state: "default" 0.0;
30408                    visible: 0;
30409                    color: 255 255 255 0;
30410                    rel1.offset: -3 -3;
30411                    rel2.offset: 2 2;
30412                    image {
30413                        normal: "bt_sm_base1.png";
30414                        border: 6 6 6 6;
30415                        middle: SOLID;
30416                    }
30417                }
30418                description { state: "selected" 0.0;
30419                    inherit: "default" 0.0;
30420                    visible: 1;
30421                    color: 255 255 255 255;
30422                }
30423            }
30424            part { name: "border-shadow";
30425                type: IMAGE;
30426                mouse_events: 0;
30427                description { state: "default" 0.0;
30428                    rel1 {
30429                        to: "elm.swallow.icon";
30430                        offset: -18 -18;
30431                    }
30432                    rel2 {
30433                        to_x: "elm.swallow.icon";
30434                        to_y: "elm.text";
30435                        offset: 17 17;
30436                    }
30437                    image {
30438                        normal: "thumb_shadow.png";
30439                        border: 17 17 17 17;
30440                        middle: NONE;
30441                    }
30442                }
30443            }
30444            part { name: "border";
30445                type: RECT;
30446                mouse_events: 0;
30447                description { state: "default" 0.0;
30448                    rel1 {
30449                        to: "border-shadow";
30450                        offset: 16 16;
30451                    }
30452                    rel2 {
30453                        to: "border-shadow";
30454                        offset: -15 -15;
30455                    }
30456                }
30457            }
30458            part { name: "elm.swallow.icon";
30459                type: SWALLOW;
30460                mouse_events: 0;
30461                description { state: "default" 0.0;
30462                    aspect_preference: BOTH;
30463                    aspect: 1.0 1.0;
30464                    rel1.offset: 0 8;
30465                    rel2 {
30466                        to_y: "elm.text";
30467                        relative: 1.0 0.0;
30468                        offset: -1 -2;
30469                    }
30470                }
30471            }
30472            part { name: "elm.text";
30473                type: TEXT;
30474                effect: SOFT_SHADOW;
30475                mouse_events: 0;
30476                scale: 1;
30477                description { state: "default" 0.0;
30478                    color: 0 0 0 255;
30479                    color3: 0 0 0 0;
30480                    align: 0.5 1.0;
30481                    rel1 {
30482                        relative: 0.0 1.0;
30483                        offset: 20 -30;
30484                    }
30485                    rel2 {
30486                        relative: 1.0 1.0;
30487                        offset: -21 -15;
30488                    }
30489                    text {
30490                        font: "Sans";
30491                        size: 10;
30492                        min: 0 1;
30493                        align: 0.5 0.0;
30494                        text_class: "grid_item";
30495                    }
30496                }
30497            }
30498            part { name: "fg1";
30499                mouse_events: 0;
30500                description { state: "default" 0.0;
30501                    visible: 0;
30502                    color: 255 255 255 0;
30503                    rel1.offset: -3 -3;
30504                    rel2 {
30505                        relative: 1.0 0.5;
30506                        offset: 2 -1;
30507                    }
30508                    image {
30509                        normal: "bt_sm_hilight.png";
30510                        border: 6 6 6 0;
30511                    }
30512                }
30513                description { state: "selected" 0.0;
30514                    inherit: "default" 0.0;
30515                    visible: 1;
30516                    color: 255 255 255 255;
30517                }
30518            }
30519            part { name: "fg2";
30520                mouse_events: 0;
30521                description { state: "default" 0.0;
30522                    visible: 0;
30523                    color: 255 255 255 0;
30524                    rel1.offset: -3 -3;
30525                    rel2.offset: 2 2;
30526                    image {
30527                        image: "bt_sm_shine.png";
30528                        border: 6 6 6 0;
30529                    }
30530                }
30531                description { state: "selected" 0.0;
30532                    inherit: "default" 0.0;
30533                    visible: 1;
30534                    color: 255 255 255 255;
30535                }
30536            }
30537        }
30538        programs {
30539            program {
30540                signal: "elm,state,selected";
30541                source: "elm";
30542                action: STATE_SET "selected" 0.0;
30543                target: "bg";
30544                target: "fg1";
30545                target: "fg2";
30546            }
30547            program {
30548                signal: "elm,state,unselected";
30549                source: "elm";
30550                action:  STATE_SET "default" 0.0;
30551                target: "bg";
30552                target: "fg1";
30553                target: "fg2";
30554                transition: LINEAR 0.1;
30555            }
30556        }
30557    }
30558
30559 ///////////////////////////////////////////////////////////////////////////////
30560    group { name: "elm/photocam/base/default";
30561        script {
30562            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
30563            public timer0(val) {
30564                new v;
30565                v = get_int(sbvis_v);
30566                if (v) {
30567                    v = get_int(sbalways_v);
30568                    if (!v) {
30569                        emit("do-hide-vbar", "");
30570                        set_int(sbvis_v, 0);
30571                    }
30572                }
30573                v = get_int(sbvis_h);
30574                if (v) {
30575                    v = get_int(sbalways_h);
30576                    if (!v) {
30577                        emit("do-hide-hbar", "");
30578                        set_int(sbvis_h, 0);
30579                    }
30580                }
30581                set_int(sbvis_timer, 0);
30582                return 0;
30583            }
30584        }
30585        images {
30586            image: "shelf_inset.png" COMP;
30587            image: "bt_sm_base2.png" COMP;
30588            image: "bt_sm_shine.png" COMP;
30589            image: "bt_sm_hilight.png" COMP;
30590            image: "busy-1.png" COMP;
30591            image: "busy-2.png" COMP;
30592            image: "busy-3.png" COMP;
30593            image: "busy-4.png" COMP;
30594            image: "busy-5.png" COMP;
30595            image: "busy-6.png" COMP;
30596            image: "busy-7.png" COMP;
30597            image: "busy-8.png" COMP;
30598            image: "busy-9.png" COMP;
30599        }
30600        parts {
30601            part { name: "bg";
30602                type: RECT;
30603                description { state: "default" 0.0;
30604                    rel1.offset: 1 1;
30605                    rel2.offset: -2 -2;
30606                    color: 255 255 255 0;
30607                }
30608            }
30609            part { name: "clipper";
30610                type: RECT;
30611                mouse_events: 0;
30612                description { state: "default" 0.0;
30613                    rel1.to: "bg";
30614                    rel2.to: "bg";
30615                }
30616            }
30617            part { name: "elm.swallow.content";
30618                clip_to: "clipper";
30619                type: SWALLOW;
30620                description { state: "default" 0.0;
30621                    rel1.offset: 1 1;
30622                    rel2.offset: -2 -2;
30623                }
30624            }
30625            part { name: "busy_clip";
30626                type: RECT;
30627                mouse_events: 0;
30628                description { state: "default" 0.0;
30629                    visible: 0;
30630                    color: 255 255 255 0;
30631                }
30632                description { state: "active" 0.0;
30633                    visible: 1;
30634                    color: 255 255 255 255;
30635                }
30636            }
30637            part { name: "busy";
30638                clip_to: "busy_clip";
30639                mouse_events: 0;
30640                description { state: "default" 0.0;
30641                    fixed: 1 1;
30642                    min: 32 32;
30643                    aspect: 1.0 1.0;
30644                    align: 1.0 1.0;
30645                    aspect_preference: BOTH;
30646                    rel1 {
30647                        relative: 0.9 0.9;
30648                        offset:   -9 -9;
30649                    }
30650                    rel2 {
30651                        relative: 0.9 0.9;
30652                        offset:   -9 -9;
30653                    }
30654                    image {
30655                        normal: "busy-9.png";
30656                        tween:  "busy-1.png";
30657                        tween:  "busy-2.png";
30658                        tween:  "busy-3.png";
30659                        tween:  "busy-4.png";
30660                        tween:  "busy-5.png";
30661                        tween:  "busy-6.png";
30662                        tween:  "busy-7.png";
30663                        tween:  "busy-8.png";
30664                    }
30665                }
30666            }
30667            part { name: "conf_over";
30668                mouse_events:  0;
30669                description { state: "default" 0.0;
30670                    rel1.offset: 0 0;
30671                    rel2.offset: -1 -1;
30672                    image {
30673                        normal: "shelf_inset.png";
30674                        border: 7 7 7 7;
30675                        middle: 0;
30676                    }
30677                    fill.smooth : 0;
30678                }
30679            }
30680            part { name: "sb_vbar_clip_master";
30681                type: RECT;
30682                mouse_events: 0;
30683                description { state: "default" 0.0;
30684                }
30685                description { state: "hidden" 0.0;
30686                    visible: 0;
30687                    color: 255 255 255 0;
30688                }
30689            }
30690            part { name: "sb_vbar_clip";
30691                clip_to: "sb_vbar_clip_master";
30692                type: RECT;
30693                mouse_events: 0;
30694                description { state: "default" 0.0;
30695                }
30696                description { state: "hidden" 0.0;
30697                    visible: 0;
30698                    color: 255 255 255 0;
30699                }
30700            }
30701            part { name: "sb_vbar";
30702                type: RECT;
30703                mouse_events: 0;
30704                description { state: "default" 0.0;
30705                    fixed: 1 1;
30706                    visible: 0;
30707                    min: 10 17;
30708                    align: 1.0 0.0;
30709                    rel1 {
30710                        relative: 1.0 0.0;
30711                        offset:   -2 0;
30712                    }
30713                    rel2 {
30714                        relative: 1.0 0.0;
30715                        offset:   -2 -1;
30716                        to_y:     "sb_hbar";
30717                    }
30718                }
30719            }
30720            part { name: "elm.dragable.vbar";
30721                clip_to: "sb_vbar_clip";
30722                mouse_events: 0;
30723                dragable {
30724                    x: 0 0 0;
30725                    y: 1 1 0;
30726                    confine: "sb_vbar";
30727                }
30728                description { state: "default" 0.0;
30729                    fixed: 1 1;
30730                    min: 10 17;
30731                    max: 10 99999;
30732                    rel1 {
30733                        relative: 0.5  0.5;
30734                        offset:   0    0;
30735                        to: "sb_vbar";
30736                    }
30737                    rel2 {
30738                        relative: 0.5  0.5;
30739                        offset:   0    0;
30740                        to: "sb_vbar";
30741                    }
30742                    image {
30743                        normal: "bt_sm_base2.png";
30744                        border: 6 6 6 6;
30745                        middle: SOLID;
30746                    }
30747                }
30748            }
30749            part { name: "sb_vbar_over1";
30750                clip_to: "sb_vbar_clip";
30751                mouse_events: 0;
30752                description { state: "default" 0.0;
30753                    rel1.to: "elm.dragable.vbar";
30754                    rel2.relative: 1.0 0.5;
30755                    rel2.to: "elm.dragable.vbar";
30756                    image {
30757                        normal: "bt_sm_hilight.png";
30758                        border: 6 6 6 0;
30759                    }
30760                }
30761            }
30762            part { name: "sb_vbar_over2";
30763                clip_to: "sb_vbar_clip";
30764                mouse_events: 0;
30765                description { state: "default" 0.0;
30766                    rel1.to: "elm.dragable.vbar";
30767                    rel2.to: "elm.dragable.vbar";
30768                    image {
30769                        normal: "bt_sm_shine.png";
30770                        border: 6 6 6 0;
30771                    }
30772                }
30773            }
30774
30775            part { name: "sb_hbar_clip_master";
30776                type: RECT;
30777                mouse_events: 0;
30778                description { state: "default" 0.0;
30779                }
30780                description { state: "hidden" 0.0;
30781                    visible: 0;
30782                    color: 255 255 255 0;
30783                }
30784            }
30785            part { name: "sb_hbar_clip";
30786                clip_to: "sb_hbar_clip_master";
30787                type: RECT;
30788                mouse_events: 0;
30789                description { state: "default" 0.0;
30790                }
30791                description { state: "hidden" 0.0;
30792                    visible: 0;
30793                    color: 255 255 255 0;
30794                }
30795            }
30796            part { name: "sb_hbar";
30797                type: RECT;
30798                mouse_events: 0;
30799                description { state: "default" 0.0;
30800                    fixed: 1 1;
30801                    visible: 0;
30802                    min: 17 10;
30803                    align: 0.0 1.0;
30804                    rel1 {
30805                        relative: 0.0 1.0;
30806                        offset:   0 -2;
30807                    }
30808                    rel2 {
30809                        relative: 0.0 1.0;
30810                        offset:   -1 -2;
30811                        to_x:     "sb_vbar";
30812                    }
30813                }
30814            }
30815            part { name: "elm.dragable.hbar";
30816                clip_to: "sb_hbar_clip";
30817                mouse_events: 0;
30818                dragable {
30819                    x: 1 1 0;
30820                    y: 0 0 0;
30821                    confine: "sb_hbar";
30822                }
30823                description { state: "default" 0.0;
30824                    fixed: 1 1;
30825                    min: 17 10;
30826                    max: 99999 10;
30827                    rel1 {
30828                        relative: 0.5  0.5;
30829                        offset:   0    0;
30830                        to: "sb_hbar";
30831                    }
30832                    rel2 {
30833                        relative: 0.5  0.5;
30834                        offset:   0    0;
30835                        to: "sb_hbar";
30836                    }
30837                    image {
30838                        normal: "bt_sm_base2.png";
30839                        border: 4 4 4 4;
30840                        middle: SOLID;
30841                    }
30842                }
30843            }
30844            part { name: "sb_hbar_over1";
30845                clip_to: "sb_hbar_clip";
30846                mouse_events: 0;
30847                description { state: "default" 0.0;
30848                    rel1.to: "elm.dragable.hbar";
30849                    rel2.relative: 1.0 0.5;
30850                    rel2.to: "elm.dragable.hbar";
30851                    image {
30852                        normal: "bt_sm_hilight.png";
30853                        border: 4 4 4 0;
30854                    }
30855                }
30856            }
30857            part { name: "sb_hbar_over2";
30858                clip_to: "sb_hbar_clip";
30859                mouse_events: 0;
30860                description { state: "default" 0.0;
30861                    rel1.to: "elm.dragable.hbar";
30862                    rel2.to: "elm.dragable.hbar";
30863                    image {
30864                        normal: "bt_sm_shine.png";
30865                        border: 4 4 4 0;
30866                    }
30867                }
30868            }
30869        }
30870        programs {
30871            program { name: "load";
30872                signal: "load";
30873                source: "";
30874                script {
30875                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
30876                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
30877                    set_int(sbvis_h, 0);
30878                    set_int(sbvis_v, 0);
30879                    set_int(sbalways_v, 0);
30880                    set_int(sbalways_h, 0);
30881                    set_int(sbvis_timer, 0);
30882                }
30883            }
30884
30885            program { name: "vbar_show";
30886                signal: "elm,action,show,vbar";
30887                source: "elm";
30888                action:  STATE_SET "default" 0.0;
30889                target: "sb_vbar_clip_master";
30890            }
30891            program { name: "vbar_hide";
30892                signal: "elm,action,hide,vbar";
30893                source: "elm";
30894                action:  STATE_SET "hidden" 0.0;
30895                target: "sb_vbar_clip_master";
30896            }
30897            program { name: "vbar_show_always";
30898                signal: "elm,action,show_always,vbar";
30899                source: "elm";
30900                script {
30901                    new v;
30902                    v = get_int(sbvis_v);
30903                    v |= get_int(sbalways_v);
30904                    if (!v) {
30905                        set_int(sbalways_v, 1);
30906                        emit("do-show-vbar", "");
30907                        set_int(sbvis_v, 1);
30908                    }
30909                }
30910            }
30911            program { name: "vbar_show_notalways";
30912                signal: "elm,action,show_notalways,vbar";
30913                source: "elm";
30914                script {
30915                    new v;
30916                    v = get_int(sbalways_v);
30917                    if (v) {
30918                        set_int(sbalways_v, 0);
30919                        v = get_int(sbvis_v);
30920                        if (!v) {
30921                            emit("do-hide-vbar", "");
30922                            set_int(sbvis_v, 0);
30923                        }
30924                    }
30925                }
30926            }
30927            program { name: "sb_vbar_show";
30928                signal: "do-show-vbar";
30929                source: "";
30930                action:  STATE_SET "default" 0.0;
30931                transition: LINEAR 0.5;
30932                target: "sb_vbar_clip";
30933            }
30934            program { name: "sb_vbar_hide";
30935                signal: "do-hide-vbar";
30936                source: "";
30937                action:  STATE_SET "hidden" 0.0;
30938                transition: LINEAR 0.5;
30939                target: "sb_vbar_clip";
30940            }
30941
30942            program { name: "hbar_show";
30943                signal: "elm,action,show,hbar";
30944                source: "elm";
30945                action:  STATE_SET "default" 0.0;
30946                target: "sb_hbar_clip_master";
30947            }
30948            program { name: "hbar_hide";
30949                signal: "elm,action,hide,hbar";
30950                source: "elm";
30951                action:  STATE_SET "hidden" 0.0;
30952                target: "sb_hbar_clip_master";
30953            }
30954            program { name: "hbar_show_always";
30955                signal: "elm,action,show_always,hbar";
30956                source: "elm";
30957                script {
30958                    new v;
30959                    v = get_int(sbvis_h);
30960                    v |= get_int(sbalways_h);
30961                    if (!v) {
30962                        set_int(sbalways_h, 1);
30963                        emit("do-show-hbar", "");
30964                        set_int(sbvis_h, 1);
30965                    }
30966                }
30967            }
30968            program { name: "hbar_show_notalways";
30969                signal: "elm,action,show_notalways,hbar";
30970                source: "elm";
30971                script {
30972                    new v;
30973                    v = get_int(sbalways_h);
30974                    if (v) {
30975                        set_int(sbalways_h, 0);
30976                        v = get_int(sbvis_h);
30977                        if (!v) {
30978                            emit("do-hide-hbar", "");
30979                            set_int(sbvis_h, 0);
30980                        }
30981                    }
30982                }
30983            }
30984            program { name: "sb_hbar_show";
30985                signal: "do-show-hbar";
30986                source: "";
30987                action:  STATE_SET "default" 0.0;
30988                transition: LINEAR 0.5;
30989                target: "sb_hbar_clip";
30990            }
30991            program { name: "sb_hbar_hide";
30992                signal: "do-hide-hbar";
30993                source: "";
30994                action:  STATE_SET "hidden" 0.0;
30995                transition: LINEAR 0.5;
30996                target: "sb_hbar_clip";
30997            }
30998
30999            program { name: "scroll";
31000                signal: "elm,action,scroll";
31001                source: "elm";
31002                script {
31003                    new v;
31004                    v = get_int(sbvis_v);
31005                    v |= get_int(sbalways_v);
31006                    if (!v) {
31007                        emit("do-show-vbar", "");
31008                        set_int(sbvis_v, 1);
31009                    }
31010                    v = get_int(sbvis_h);
31011                    v |= get_int(sbalways_h);
31012                    if (!v) {
31013                        emit("do-show-hbar", "");
31014                        set_int(sbvis_h, 1);
31015                    }
31016                    v = get_int(sbvis_timer);
31017                    if (v > 0) cancel_timer(v);
31018                    v = timer(1.0, "timer0", 0);
31019                    set_int(sbvis_timer, v);
31020                }
31021            }
31022            program { name: "go1";
31023                signal: "elm,state,busy,start";
31024                source: "elm";
31025                action: STATE_SET "active" 0.0;
31026                transition: SINUSOIDAL 1.0;
31027                target:  "busy_clip";
31028            }
31029            program { name: "go2";
31030                signal: "elm,state,busy,start";
31031                source: "elm";
31032                action: STATE_SET "default" 0.0;
31033                transition: LINEAR 0.5;
31034                target: "busy";
31035                after:  "go2";
31036            }
31037            program { name: "stop1";
31038                signal: "elm,state,busy,stop";
31039                source: "elm";
31040                action: STATE_SET "default" 0.0;
31041                transition: SINUSOIDAL 1.0;
31042                target: "busy_clip";
31043                after: "stop2";
31044            }
31045          program { name: "stop2";
31046             action: ACTION_STOP;
31047             target: "go2";
31048          }
31049       }
31050    }
31051
31052    ///////////////////////////////////////////////////////////////////////////////
31053    group { name: "elm/map/base/default";
31054        script {
31055            public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
31056            public timer0(val) {
31057                new v;
31058                v = get_int(sbvis_v);
31059                if (v) {
31060                    v = get_int(sbalways_v);
31061                    if (!v) {
31062                        emit("do-hide-vbar", "");
31063                        set_int(sbvis_v, 0);
31064                    }
31065                }
31066                v = get_int(sbvis_h);
31067                if (v) {
31068                    v = get_int(sbalways_h);
31069                    if (!v) {
31070                        emit("do-hide-hbar", "");
31071                        set_int(sbvis_h, 0);
31072                    }
31073                }
31074                set_int(sbvis_timer, 0);
31075                return 0;
31076            }
31077        }
31078        images {
31079            image: "shelf_inset.png" COMP;
31080            image: "bt_sm_base2.png" COMP;
31081            image: "bt_sm_shine.png" COMP;
31082            image: "bt_sm_hilight.png" COMP;
31083            image: "busy-1.png" COMP;
31084            image: "busy-2.png" COMP;
31085            image: "busy-3.png" COMP;
31086            image: "busy-4.png" COMP;
31087            image: "busy-5.png" COMP;
31088            image: "busy-6.png" COMP;
31089            image: "busy-7.png" COMP;
31090            image: "busy-8.png" COMP;
31091            image: "busy-9.png" COMP;
31092        }
31093        parts {
31094            part { name: "bg";
31095                type: RECT;
31096                description { state: "default" 0.0;
31097                    rel1.offset: 1 1;
31098                    rel2.offset: -2 -2;
31099                    color: 255 255 255 0;
31100                }
31101            }
31102            part { name: "clipper";
31103                type: RECT;
31104                mouse_events: 0;
31105                description { state: "default" 0.0;
31106                    rel1.to: "bg";
31107                    rel2.to: "bg";
31108                }
31109            }
31110            part { name: "elm.swallow.content";
31111                clip_to: "clipper";
31112                type: SWALLOW;
31113                description { state: "default" 0.0;
31114                    rel1.offset: 1 1;
31115                    rel2.offset: -2 -2;
31116                }
31117            }
31118            part { name: "busy_clip";
31119                type: RECT;
31120                mouse_events: 0;
31121                description { state: "default" 0.0;
31122                    visible: 0;
31123                    color: 255 255 255 0;
31124                }
31125                description { state: "active" 0.0;
31126                    visible: 1;
31127                    color: 255 255 255 255;
31128                }
31129            }
31130            part { name: "busy";
31131                clip_to: "busy_clip";
31132                mouse_events: 0;
31133                description { state: "default" 0.0;
31134                    fixed: 1 1;
31135                    min: 32 32;
31136                    aspect: 1.0 1.0;
31137                    align: 1.0 1.0;
31138                    aspect_preference: BOTH;
31139                    rel1 {
31140                        relative: 0.9 0.9;
31141                        offset:   -9 -9;
31142                    }
31143                    rel2 {
31144                        relative: 0.9 0.9;
31145                        offset:   -9 -9;
31146                    }
31147                    image {
31148                        normal: "busy-9.png";
31149                        tween:  "busy-1.png";
31150                        tween:  "busy-2.png";
31151                        tween:  "busy-3.png";
31152                        tween:  "busy-4.png";
31153                        tween:  "busy-5.png";
31154                        tween:  "busy-6.png";
31155                        tween:  "busy-7.png";
31156                        tween:  "busy-8.png";
31157                    }
31158                }
31159            }
31160            part { name: "conf_over";
31161                mouse_events:  0;
31162                description { state: "default" 0.0;
31163                    rel1.offset: 0 0;
31164                    rel2.offset: -1 -1;
31165                    image {
31166                        normal: "shelf_inset.png";
31167                        border: 7 7 7 7;
31168                        middle: 0;
31169                    }
31170                    fill.smooth : 0;
31171                }
31172            }
31173            part { name: "sb_vbar_clip_master";
31174                type: RECT;
31175                mouse_events: 0;
31176                description { state: "default" 0.0;
31177                }
31178                description { state: "hidden" 0.0;
31179                    visible: 0;
31180                    color: 255 255 255 0;
31181                }
31182            }
31183            part { name: "sb_vbar_clip";
31184                clip_to: "sb_vbar_clip_master";
31185                type: RECT;
31186                mouse_events: 0;
31187                description { state: "default" 0.0;
31188                }
31189                description { state: "hidden" 0.0;
31190                    visible: 0;
31191                    color: 255 255 255 0;
31192                }
31193            }
31194            part { name: "sb_vbar";
31195                type: RECT;
31196                mouse_events: 0;
31197                description { state: "default" 0.0;
31198                    fixed: 1 1;
31199                    visible: 0;
31200                    min: 10 17;
31201                    align: 1.0 0.0;
31202                    rel1 {
31203                        relative: 1.0 0.0;
31204                        offset:   -2 0;
31205                    }
31206                    rel2 {
31207                        relative: 1.0 0.0;
31208                        offset:   -2 -1;
31209                        to_y:     "sb_hbar";
31210                    }
31211                }
31212            }
31213            part { name: "elm.dragable.vbar";
31214                clip_to: "sb_vbar_clip";
31215                mouse_events: 0;
31216                dragable {
31217                    x: 0 0 0;
31218                    y: 1 1 0;
31219                    confine: "sb_vbar";
31220                }
31221                description { state: "default" 0.0;
31222                    fixed: 1 1;
31223                    min: 10 17;
31224                    max: 10 99999;
31225                    rel1 {
31226                        relative: 0.5  0.5;
31227                        offset:   0    0;
31228                        to: "sb_vbar";
31229                    }
31230                    rel2 {
31231                        relative: 0.5  0.5;
31232                        offset:   0    0;
31233                        to: "sb_vbar";
31234                    }
31235                    image {
31236                        normal: "bt_sm_base2.png";
31237                        border: 6 6 6 6;
31238                        middle: SOLID;
31239                    }
31240                }
31241            }
31242            part { name: "sb_vbar_over1";
31243                clip_to: "sb_vbar_clip";
31244                mouse_events: 0;
31245                description { state: "default" 0.0;
31246                    rel1.to: "elm.dragable.vbar";
31247                    rel2.relative: 1.0 0.5;
31248                    rel2.to: "elm.dragable.vbar";
31249                    image {
31250                        normal: "bt_sm_hilight.png";
31251                        border: 6 6 6 0;
31252                    }
31253                }
31254            }
31255            part { name: "sb_vbar_over2";
31256                clip_to: "sb_vbar_clip";
31257                mouse_events: 0;
31258                description { state: "default" 0.0;
31259                    rel1.to: "elm.dragable.vbar";
31260                    rel2.to: "elm.dragable.vbar";
31261                    image {
31262                        normal: "bt_sm_shine.png";
31263                        border: 6 6 6 0;
31264                    }
31265                }
31266            }
31267
31268            part { name: "sb_hbar_clip_master";
31269                type: RECT;
31270                mouse_events: 0;
31271                description { state: "default" 0.0;
31272                }
31273                description { state: "hidden" 0.0;
31274                    visible: 0;
31275                    color: 255 255 255 0;
31276                }
31277            }
31278            part { name: "sb_hbar_clip";
31279                clip_to: "sb_hbar_clip_master";
31280                type: RECT;
31281                mouse_events: 0;
31282                description { state: "default" 0.0;
31283                }
31284                description { state: "hidden" 0.0;
31285                    visible: 0;
31286                    color: 255 255 255 0;
31287                }
31288            }
31289            part { name: "sb_hbar";
31290                type: RECT;
31291                mouse_events: 0;
31292                description { state: "default" 0.0;
31293                    fixed: 1 1;
31294                    visible: 0;
31295                    min: 17 10;
31296                    align: 0.0 1.0;
31297                    rel1 {
31298                        relative: 0.0 1.0;
31299                        offset:   0 -2;
31300                    }
31301                    rel2 {
31302                        relative: 0.0 1.0;
31303                        offset:   -1 -2;
31304                        to_x:     "sb_vbar";
31305                    }
31306                }
31307            }
31308            part { name: "elm.dragable.hbar";
31309                clip_to: "sb_hbar_clip";
31310                mouse_events: 0;
31311                dragable {
31312                    x: 1 1 0;
31313                    y: 0 0 0;
31314                    confine: "sb_hbar";
31315                }
31316                description { state: "default" 0.0;
31317                    fixed: 1 1;
31318                    min: 17 10;
31319                    max: 99999 10;
31320                    rel1 {
31321                        relative: 0.5  0.5;
31322                        offset:   0    0;
31323                        to: "sb_hbar";
31324                    }
31325                    rel2 {
31326                        relative: 0.5  0.5;
31327                        offset:   0    0;
31328                        to: "sb_hbar";
31329                    }
31330                    image {
31331                        normal: "bt_sm_base2.png";
31332                        border: 4 4 4 4;
31333                        middle: SOLID;
31334                    }
31335                }
31336            }
31337            part { name: "sb_hbar_over1";
31338                clip_to: "sb_hbar_clip";
31339                mouse_events: 0;
31340                description { state: "default" 0.0;
31341                    rel1.to: "elm.dragable.hbar";
31342                    rel2.relative: 1.0 0.5;
31343                    rel2.to: "elm.dragable.hbar";
31344                    image {
31345                        normal: "bt_sm_hilight.png";
31346                        border: 4 4 4 0;
31347                    }
31348                }
31349            }
31350            part { name: "sb_hbar_over2";
31351                clip_to: "sb_hbar_clip";
31352                mouse_events: 0;
31353                description { state: "default" 0.0;
31354                    rel1.to: "elm.dragable.hbar";
31355                    rel2.to: "elm.dragable.hbar";
31356                    image {
31357                        normal: "bt_sm_shine.png";
31358                        border: 4 4 4 0;
31359                    }
31360                }
31361            }
31362        }
31363        programs {
31364            program { name: "load";
31365                signal: "load";
31366                source: "";
31367                script {
31368                    set_state(PART:"sb_hbar_clip", "hidden", 0.0);
31369                    set_state(PART:"sb_vbar_clip", "hidden", 0.0);
31370                    set_int(sbvis_h, 0);
31371                    set_int(sbvis_v, 0);
31372                    set_int(sbalways_v, 0);
31373                    set_int(sbalways_h, 0);
31374                    set_int(sbvis_timer, 0);
31375                }
31376            }
31377
31378            program { name: "vbar_show";
31379                signal: "elm,action,show,vbar";
31380                source: "elm";
31381                action:  STATE_SET "default" 0.0;
31382                target: "sb_vbar_clip_master";
31383            }
31384            program { name: "vbar_hide";
31385                signal: "elm,action,hide,vbar";
31386                source: "elm";
31387                action:  STATE_SET "hidden" 0.0;
31388                target: "sb_vbar_clip_master";
31389            }
31390            program { name: "vbar_show_always";
31391                signal: "elm,action,show_always,vbar";
31392                source: "elm";
31393                script {
31394                    new v;
31395                    v = get_int(sbvis_v);
31396                    v |= get_int(sbalways_v);
31397                    if (!v) {
31398                        set_int(sbalways_v, 1);
31399                        emit("do-show-vbar", "");
31400                        set_int(sbvis_v, 1);
31401                    }
31402                }
31403            }
31404            program { name: "vbar_show_notalways";
31405                signal: "elm,action,show_notalways,vbar";
31406                source: "elm";
31407                script {
31408                    new v;
31409                    v = get_int(sbalways_v);
31410                    if (v) {
31411                        set_int(sbalways_v, 0);
31412                        v = get_int(sbvis_v);
31413                        if (!v) {
31414                            emit("do-hide-vbar", "");
31415                            set_int(sbvis_v, 0);
31416                        }
31417                    }
31418                }
31419            }
31420            program { name: "sb_vbar_show";
31421                signal: "do-show-vbar";
31422                source: "";
31423                action:  STATE_SET "default" 0.0;
31424                transition: LINEAR 0.5;
31425                target: "sb_vbar_clip";
31426            }
31427            program { name: "sb_vbar_hide";
31428                signal: "do-hide-vbar";
31429                source: "";
31430                action:  STATE_SET "hidden" 0.0;
31431                transition: LINEAR 0.5;
31432                target: "sb_vbar_clip";
31433            }
31434
31435            program { name: "hbar_show";
31436                signal: "elm,action,show,hbar";
31437                source: "elm";
31438                action:  STATE_SET "default" 0.0;
31439                target: "sb_hbar_clip_master";
31440            }
31441            program { name: "hbar_hide";
31442                signal: "elm,action,hide,hbar";
31443                source: "elm";
31444                action:  STATE_SET "hidden" 0.0;
31445                target: "sb_hbar_clip_master";
31446            }
31447            program { name: "hbar_show_always";
31448                signal: "elm,action,show_always,hbar";
31449                source: "elm";
31450                script {
31451                    new v;
31452                    v = get_int(sbvis_h);
31453                    v |= get_int(sbalways_h);
31454                    if (!v) {
31455                        set_int(sbalways_h, 1);
31456                        emit("do-show-hbar", "");
31457                        set_int(sbvis_h, 1);
31458                    }
31459                }
31460            }
31461            program { name: "hbar_show_notalways";
31462                signal: "elm,action,show_notalways,hbar";
31463                source: "elm";
31464                script {
31465                    new v;
31466                    v = get_int(sbalways_h);
31467                    if (v) {
31468                        set_int(sbalways_h, 0);
31469                        v = get_int(sbvis_h);
31470                        if (!v) {
31471                            emit("do-hide-hbar", "");
31472                            set_int(sbvis_h, 0);
31473                        }
31474                    }
31475                }
31476            }
31477            program { name: "sb_hbar_show";
31478                signal: "do-show-hbar";
31479                source: "";
31480                action:  STATE_SET "default" 0.0;
31481                transition: LINEAR 0.5;
31482                target: "sb_hbar_clip";
31483            }
31484            program { name: "sb_hbar_hide";
31485                signal: "do-hide-hbar";
31486                source: "";
31487                action:  STATE_SET "hidden" 0.0;
31488                transition: LINEAR 0.5;
31489                target: "sb_hbar_clip";
31490            }
31491
31492            program { name: "scroll";
31493                signal: "elm,action,scroll";
31494                source: "elm";
31495                script {
31496                    new v;
31497                    v = get_int(sbvis_v);
31498                    v |= get_int(sbalways_v);
31499                    if (!v) {
31500                        emit("do-show-vbar", "");
31501                        set_int(sbvis_v, 1);
31502                    }
31503                    v = get_int(sbvis_h);
31504                    v |= get_int(sbalways_h);
31505                    if (!v) {
31506                        emit("do-show-hbar", "");
31507                        set_int(sbvis_h, 1);
31508                    }
31509                    v = get_int(sbvis_timer);
31510                    if (v > 0) cancel_timer(v);
31511                    v = timer(1.0, "timer0", 0);
31512                    set_int(sbvis_timer, v);
31513                }
31514            }
31515            program { name: "go1";
31516                signal: "elm,state,busy,start";
31517                source: "elm";
31518                action: STATE_SET "active" 0.0;
31519                transition: SINUSOIDAL 1.0;
31520                target:  "busy_clip";
31521            }
31522            program { name: "go2";
31523                signal: "elm,state,busy,start";
31524                source: "elm";
31525                action: STATE_SET "default" 0.0;
31526                transition: LINEAR 0.5;
31527                target: "busy";
31528                after:  "go2";
31529            }
31530            program { name: "stop1";
31531                signal: "elm,state,busy,stop";
31532                source: "elm";
31533                action: STATE_SET "default" 0.0;
31534                transition: SINUSOIDAL 1.0;
31535                target: "busy_clip";
31536                after: "stop2";
31537            }
31538          program { name: "stop2";
31539             action: ACTION_STOP;
31540             target: "go2";
31541          }
31542       }
31543    }
31544    group { name: "elm/map/marker/radio/default";
31545         data {
31546             item: size_w 24;
31547             item: size_h 24;
31548             item: size_max_w 58;
31549             item: size_max_h 58;
31550         }
31551         images {
31552                 image: "map_item.png" COMP;
31553         }
31554         parts {
31555             part { name: "whole";
31556                 description { state: "default" 0.0;
31557                 }
31558             }
31559             part { name: "base";
31560                 ignore_flags: ON_HOLD;
31561                 description { state: "default" 0.0;
31562                     image.normal: "map_item.png";
31563                 }
31564             }
31565             part { name: "elm.icon";
31566                 type: SWALLOW;
31567                 clip_to: "whole";
31568                 mouse_events:  0;
31569                 description { state: "default" 0.0;
31570                     rel1.relative: 0.27 0.27;
31571                     rel2.relative: 0.73 0.73;
31572                 }
31573             }
31574             part { name: "elm.text";
31575                 type:          TEXT;
31576                 effect:        SOFT_SHADOW;
31577                 mouse_events:  0;
31578                 scale: 1;
31579                 description { state: "default" 0.0;
31580                     align:    0.5 0.5;
31581                     color: 224 224 224 255;
31582                     color3: 0 0 0 64;
31583                     rel1.relative: 0.28 0.25;
31584                     rel2.relative: 0.75 0.75;
31585                     text {
31586                         font:     "Sans,Edje-Vera";
31587                         size:     10;
31588                         min:      0 0;
31589                         align:    0.5 0.5;
31590                     }
31591                 }
31592             }
31593        }
31594        programs {
31595             program { name: "open";
31596                 signal: "mouse,clicked,1";
31597                 source: "base";
31598                 action: SIGNAL_EMIT "open" "elm";
31599             }
31600             program { name: "bringin";
31601                 signal: "mouse,down,1,double";
31602                 source: "base";
31603                 action: SIGNAL_EMIT "bringin" "elm";
31604             }
31605        }
31606    }
31607    group { name: "elm/map/marker/radio2/default";
31608         data {
31609             item: size_w 24;
31610             item: size_h 24;
31611             item: size_max_w 58;
31612             item: size_max_h 58;
31613         }
31614         images {
31615                 image: "map_item_2.png" COMP;
31616         }
31617         parts {
31618             part { name: "base";
31619                 ignore_flags: ON_HOLD;
31620                 description { state: "default" 0.0;
31621                     image.normal: "map_item_2.png";
31622                 }
31623             }
31624             part { name: "elm.text";
31625                 type:          TEXT;
31626                 effect:        SOFT_SHADOW;
31627                 mouse_events:  0;
31628                 scale: 1;
31629                 description { state: "default" 0.0;
31630                     align:    0.5 0.5;
31631                     color: 224 224 224 255;
31632                     color3: 0 0 0 64;
31633                     rel1.relative: 0.28 0.25;
31634                     rel2.relative: 0.75 0.75;
31635                     text {
31636                         font:     "Sans,Edje-Vera";
31637                         size:     10;
31638                         min:      0 0;
31639                         align:    0.5 0.5;
31640                     }
31641                 }
31642             }
31643        }
31644        programs {
31645             program { name: "open";
31646                 signal: "mouse,clicked,1";
31647                 source: "base";
31648                 action: SIGNAL_EMIT "open" "elm";
31649             }
31650             program { name: "bringin";
31651                 signal: "mouse,down,1,double";
31652                 source: "base";
31653                 action: SIGNAL_EMIT "bringin" "elm";
31654             }
31655        }
31656    }
31657    group { name: "elm/map/marker/empty/default";
31658         data {
31659             item: size_w 22;
31660             item: size_h 22;
31661             item: size_max_w 64;
31662             item: size_max_h 64;
31663         }
31664         parts {
31665             part { name: "whole";
31666                 description { state: "default" 0.0;
31667                 }
31668             }
31669             part { name: "base";
31670                 ignore_flags: ON_HOLD;
31671                 description { state: "default" 0.0;
31672                 }
31673             }
31674             part { name: "elm.icon";
31675                 type: SWALLOW;
31676                 clip_to: "whole";
31677                 mouse_events:  0;
31678                 description { state: "default" 0.0;
31679                 }
31680             }
31681             part { name: "elm.text";
31682                 type:          TEXT;
31683                 effect:        SOFT_SHADOW;
31684                 mouse_events:  0;
31685                 scale: 1;
31686                 description { state: "default" 0.0;
31687                     align:    0.5 0.5;
31688                     color: 224 224 224 255;
31689                     color3: 0 0 0 64;
31690                     rel1.relative: 0.28 0.25;
31691                     rel2.relative: 0.75 0.75;
31692                     text {
31693                         font:     "Sans,Edje-Vera";
31694                         size:     10;
31695                         min:      0 0;
31696                         align:    0.5 0.5;
31697                     }
31698                 }
31699             }
31700        }
31701        programs {
31702             program { name: "open";
31703                 signal: "mouse,clicked,1";
31704                 source: "base";
31705                 action: SIGNAL_EMIT "open" "elm";
31706             }
31707             program { name: "bringin";
31708                 signal: "mouse,down,1,double";
31709                 source: "base";
31710                 action: SIGNAL_EMIT "bringin" "elm";
31711             }
31712        }
31713    }
31714    group { name: "elm/map/marker_bubble/default";
31715     images {
31716       image: "bubble.png" COMP;
31717       image: "bubble_shine.png" COMP;
31718     }
31719     data {
31720             item: size_w 400;
31721             item: size_h 100;
31722         }
31723     parts {
31724     part { name: "clipper";
31725         mouse_events:  1;
31726         description { state: "default" 0.0;
31727           color: 255 255 255 0;
31728         }
31729         description { state: "show" 0.0;
31730             inherit: "default" 0.0;
31731             color: 255 255 255 255;
31732         }
31733       }
31734      part { name: "base0";
31735         mouse_events:  0;
31736         clip_to: "clipper";
31737         description { state: "default" 0.0;
31738           image {
31739             normal: "bubble.png";
31740             border: 11 36 10 19;
31741           }
31742           image.middle: SOLID;
31743           fill.smooth: 0;
31744         }
31745         description { state: "rtl" 0.0;
31746            inherit: "default" 0.0;
31747            image {
31748               normal: "bubble_4.png";
31749               border: 11 36 18 9;
31750            }
31751         }
31752       }
31753       part { name: "elm.swallow.content";
31754         type: SWALLOW;
31755         clip_to: "clipper";
31756         description { state: "default" 0.0;
31757             align: 0.5 0.5;
31758           rel1 {
31759             offset: 9 8;
31760           }
31761           rel2 {
31762             offset: -10 -17;
31763           }
31764         }
31765       }
31766       part { name: "shine";
31767         mouse_events:  0;
31768         clip_to: "clipper";
31769         description { state:    "default" 0.0;
31770           rel1 {
31771             to: "base0";
31772           }
31773           rel2 {
31774             to: "base0";
31775             relative: 1.0 0.5;
31776           }
31777           image {
31778             normal: "bubble_shine.png";
31779             border: 5 5 5 0;
31780           }
31781           fill.smooth: 0;
31782         }
31783         }
31784     }
31785     programs {
31786         program { name: "show";
31787             signal: "show";
31788             action: STATE_SET "show" 0.0;
31789             target: "clipper";
31790             transition: ACCELERATE 0.5;
31791         }
31792     }
31793   }
31794
31795 /////////////////////////////////////////////////////////////////////////////
31796 // PANES
31797 /////////////////////////////////////////////////////////////////////////////
31798   group {
31799      name: "elm/panes/vertical/default";
31800       images {
31801          image: "bt_base1.png" COMP;
31802          image: "bt_base2.png" COMP;
31803          image: "bt_hilight.png" COMP;
31804          image: "bt_shine.png" COMP;
31805          image: "bt_glow.png" COMP;
31806          image: "bt_dis_base.png" COMP;
31807          image: "bt_dis_hilight.png" COMP;
31808          image: "arrow_right.png" COMP;
31809          image: "arrow_left.png" COMP;
31810       }
31811      parts
31812        {
31813           part
31814             {
31815                name: "whole";
31816                type: RECT;
31817                mouse_events: 0;
31818                description
31819                  {
31820                     state: "default" 0.0;
31821                     visible: 0;
31822                  }
31823             }
31824
31825          //2 contents
31826           part
31827             {
31828                name: "whole_left";
31829                type: RECT;
31830                mouse_events: 0;
31831                description
31832                  {
31833                     state: "default" 0.0;
31834                     rel2.to_x: "elm.bar";
31835                     rel2.relative: 0.0 1.0;
31836                     visible: 1;
31837                  }
31838             }
31839           part
31840             {
31841                name: "elm.swallow.left";
31842                type: SWALLOW;
31843                clip_to: "whole_left";
31844                description
31845                  {
31846                     state: "default" 0.0;
31847                     rel1.to: "whole_left";
31848                     rel2.to: "whole_left";
31849                  }
31850             }
31851
31852             part
31853             {
31854                name: "whole_right";
31855                type: RECT;
31856                mouse_events: 0;
31857                description
31858                  {
31859                     state: "default" 0.0;
31860                     rel1.to_x: "elm.bar";
31861                     rel1.relative: 1.0 0.0;
31862                     visible: 1;
31863                  }
31864             }
31865           part
31866             {
31867                name: "elm.swallow.right";
31868                type: SWALLOW;
31869                clip_to: "whole_right";
31870                description
31871                  {
31872                     state: "default" 0.0;
31873                     rel1.to: "whole_right";
31874                     rel2.to: "whole_right";
31875                  }
31876             }
31877          //BAR
31878          part { name: "elm.bar";
31879             mouse_events: 1;
31880             dragable {
31881                confine: "whole";
31882                x: 1 1 1;
31883                y: 0 0 0;
31884             }
31885             description { state: "default" 0.0;
31886                max: 15 9999;
31887                min: 15 100;
31888                rel1.relative: 0.0 0.5;
31889                rel2.relative: 1.0 0.5;
31890                image {
31891                   normal: "bt_base2.png";
31892                   border: 7 7 7 7;
31893                }
31894                image.middle: SOLID;
31895             }
31896             description { state: "clicked" 0.0;
31897                inherit: "default" 0.0;
31898                image.normal: "bt_base1.png";
31899                image.middle: SOLID;
31900             }
31901             description { state: "disabled" 0.0;
31902                inherit:  "default" 0.0;
31903                image {
31904                   normal: "bt_dis_base.png";
31905                   border: 4 4 4 4;
31906                }
31907             }
31908          }
31909          part {          name: "over1";
31910             mouse_events: 0;
31911             description { state: "default" 0.0;
31912             rel1.to: "elm.bar";
31913             rel2.to: "elm.bar";
31914                rel2.relative: 1.0 0.5;
31915                image {
31916                   normal: "bt_hilight.png";
31917                   border: 7 7 7 0;
31918                }
31919             }
31920             description { state: "disabled" 0.0;
31921                inherit:  "default" 0.0;
31922                image {
31923                   normal: "bt_dis_hilight.png";
31924                   border: 4 4 4 0;
31925                }
31926             }
31927          }
31928          part { name: "over2";
31929             mouse_events: 1;
31930             repeat_events: 1;
31931             ignore_flags: ON_HOLD;
31932             description { state: "default" 0.0;
31933             rel1.to: "elm.bar";
31934             rel2.to: "elm.bar";
31935                image {
31936                   normal: "bt_shine.png";
31937                   border: 7 7 7 7;
31938                }
31939             }
31940             description { state: "disabled" 0.0;
31941                inherit:  "default" 0.0;
31942                visible: 0;
31943             }
31944          }
31945          part { name: "over3";
31946             mouse_events: 1;
31947             repeat_events: 1;
31948             description { state: "default" 0.0;
31949                color: 255 255 255 0;
31950             rel1.to: "elm.bar";
31951             rel2.to: "elm.bar";
31952                image {
31953                   normal: "bt_glow.png";
31954                   border: 12 12 12 12;
31955                }
31956                fill.smooth : 0;
31957             }
31958             description { state: "clicked" 0.0;
31959                inherit:  "default" 0.0;
31960                visible: 1;
31961                color: 255 255 255 255;
31962             }
31963          }
31964
31965          //Arrow
31966          part {
31967             name: "arrow_right";
31968             repeat_events: 1;
31969             description { state: "default" 0.0;
31970                 min: 45 45;
31971                 max: 45 45;
31972                 color: 255 255 255 0;
31973
31974                 rel1.relative: 1.0 0.5;
31975                 rel1.to_x: "elm.bar";
31976                 rel1.offset: 45/2 -45/2;
31977
31978                 rel2.relative: 1.0 0.5;
31979                 rel2.to_x: "elm.bar";
31980                 rel2.offset: 45/2 45/2;
31981
31982                 image.normal: "arrow_right.png";
31983
31984                 fixed: 1 1;
31985             }
31986             description { state: "default" 0.1;
31987                 inherit: "default" 0.0;
31988                 image.normal: "arrow_left.png";
31989             }
31990             description { state: "anim_1" 0.0;
31991                 inherit: "default" 0.0;
31992                 color: 255 255 255 200;
31993                 rel1.offset: (45/2 + 10) -45/2;
31994                 rel2.offset: (45/2 +10) 45/2;
31995             }
31996             description { state: "anim_1" 0.1;
31997                 inherit: "default" 0.0;
31998                 image.normal: "arrow_left.png";
31999                 color: 255 255 255 200;
32000                 rel1.offset: (45/2 + 10) -45/2;
32001                 rel2.offset: (45/2 +10) 45/2;
32002             }
32003             description { state: "anim_2" 0.0;
32004                 inherit: "default" 0.0;
32005                 color: 255 255 255 0;
32006                 rel1.offset: (45/2 + 20) -45/2;
32007                 rel2.offset: (45/2 + 20) 45/2;
32008             }
32009             description { state: "anim_2" 0.1;
32010                 inherit: "default" 0.0;
32011                 image.normal: "arrow_left.png";
32012                 color: 255 255 255 0;
32013                 rel1.offset: (45/2 + 20) -45/2;
32014                 rel2.offset: (45/2 + 20) 45/2;
32015             }
32016          }
32017         part {
32018             name: "arrow_left";
32019             repeat_events: 1;
32020             description { state: "default" 0.0;
32021                 min: 45 45;
32022                 max: 45 45;
32023                 color: 255 255 255 0;
32024
32025                 rel1.relative: 0.0 0.5;
32026                 rel1.to_x: "elm.bar";
32027                 rel1.offset: -45/2 -45/2;
32028
32029                 rel2.relative: 0.0 0.5;
32030                 rel2.to_x: "elm.bar";
32031                 rel2.offset: -45/2 45/2;
32032
32033                 image.normal: "arrow_left.png";
32034
32035                 fixed: 1 1;
32036             }
32037             description { state: "default" 0.1;
32038                 inherit: "default" 0.0;
32039                 image.normal: "arrow_right.png";
32040             }
32041             description { state: "anim_1" 0.0;
32042                 inherit: "default" 0.0;
32043                 color: 255 255 255 200;
32044                 rel1.offset: (-45/2 - 10) -45/2;
32045                 rel2.offset: (-45/2 - 10) 45/2;
32046             }
32047             description { state: "anim_1" 0.1;
32048                 inherit: "default" 0.0;
32049                 image.normal: "arrow_right.png";
32050                 color: 255 255 255 200;
32051                 rel1.offset: (-45/2 - 10) -45/2;
32052                 rel2.offset: (-45/2 - 10) 45/2;
32053             }
32054             description { state: "anim_2" 0.0;
32055                 inherit: "default" 0.0;
32056                 color: 255 255 255 0;
32057                 rel1.offset: (-45/2 - 20) -45/2;
32058                 rel2.offset: (-45/2 - 20) 45/2;
32059             }
32060             description { state: "anim_2" 0.1;
32061                 inherit: "default" 0.0;
32062                 image.normal: "arrow_right.png";
32063                 color: 255 255 255 0;
32064                 rel1.offset: (-45/2 - 20) -45/2;
32065                 rel2.offset: (-45/2 - 20) 45/2;
32066             }
32067          }
32068
32069        }
32070         programs {
32071          program {
32072             name:   "button_click";
32073             signal: "mouse,down,1";
32074             source: "over2";
32075             action: SIGNAL_EMIT "elm,action,press" "";
32076             after: "button_click_anim";
32077             after: "arrow_anim_start";
32078          }
32079          program {
32080             name:   "button_click_anim";
32081             action: STATE_SET "clicked" 0.0;
32082             target: "elm.bar";
32083          }
32084          program {
32085             name:   "button_unclick";
32086             signal: "mouse,up,1";
32087             source: "over2";
32088             action: SIGNAL_EMIT "elm,action,unpress" "";
32089             after: "button_unclick_anim";
32090             after: "arrow_anim_stop";
32091          }
32092          program {
32093             name:   "button_unclick_anim";
32094             action: STATE_SET "default" 0.0;
32095             target: "elm.bar";
32096          }
32097          program {
32098             name:   "button_click2";
32099             signal: "mouse,down,1";
32100             source: "over3";
32101             action: STATE_SET "clicked" 0.0;
32102             target: "over3";
32103          }
32104          program {
32105             name:   "button_unclick2";
32106             signal: "mouse,up,1";
32107             source: "over3";
32108             action: STATE_SET "default" 0.0;
32109             transition: DECELERATE 0.5;
32110             target: "over3";
32111          }
32112          program {
32113             name:   "button_unclick3";
32114             signal: "mouse,up,1";
32115             source: "over2";
32116             action: SIGNAL_EMIT "elm,action,click" "";
32117          }
32118          program {
32119             name:   "button_down_double";
32120             signal: "mouse,down,1,double";
32121             source: "over3";
32122             action: SIGNAL_EMIT "elm,action,click,double" "";
32123          }
32124
32125          //arrows animation
32126          program {
32127             name: "arrow_anim_start";
32128             script {
32129                new st[31];
32130                new Float:vl;
32131                get_state(PART:"arrow_left", st, 30, vl);
32132                if (vl == 0.0) {
32133                   run_program(PROGRAM:"arrow_anim_start_ltr");
32134                }
32135                else {
32136                   run_program(PROGRAM:"arrow_anim_start_rtl");
32137                }
32138             }
32139          }
32140          program {
32141             name: "arrow_anim_stop";
32142             script {
32143                new st[31];
32144                new Float:vl;
32145                get_state(PART:"arrow_left", st, 30, vl);
32146                if (vl == 0.0) {
32147                   run_program(PROGRAM:"arrow_anim_stop_ltr");
32148                }
32149                else {
32150                   run_program(PROGRAM:"arrow_anim_stop_rtl");
32151                }
32152             }
32153          }
32154
32155          program {
32156             name: "arrow_anim_start_ltr";
32157             action: STATE_SET "anim_1" 0.0;
32158             target: "arrow_right";
32159             target: "arrow_left";
32160             transition: LINEAR 0.6;
32161             after: "arrow_anim_1_ltr";
32162          }
32163          program {
32164             name: "arrow_anim_1_ltr";
32165             action: STATE_SET "anim_2" 0.0;
32166             target: "arrow_right";
32167             target: "arrow_left";
32168             transition: LINEAR 0.6;
32169             after: "arrow_anim_2_ltr";
32170          }
32171          program {
32172             name: "arrow_anim_2_ltr";
32173             action: STATE_SET "default" 0.0;
32174             target: "arrow_right";
32175             target: "arrow_left";
32176             after: "arrow_anim_start_ltr";
32177          }
32178          program {
32179             name: "arrow_anim_stop_ltr";
32180             action: ACTION_STOP;
32181             target: "arrow_anim_start_ltr";
32182             target: "arrow_anim_1_ltr";
32183             target: "arrow_anim_2_ltr";
32184             after: "arrow_anim_stop_1_ltr";
32185          }
32186          program {
32187             name: "arrow_anim_stop_1_ltr";
32188             action: STATE_SET "default" 0.0;
32189             target: "arrow_right";
32190             target: "arrow_left";
32191             transition: DECELERATE 0.4;
32192         }
32193          program {
32194             name: "arrow_anim_start_rtl";
32195             action: STATE_SET "anim_1" 0.1;
32196             target: "arrow_right";
32197             target: "arrow_left";
32198             transition: LINEAR 0.6;
32199             after: "arrow_anim_1_rtl";
32200          }
32201          program {
32202             name: "arrow_anim_1_rtl";
32203             action: STATE_SET "anim_2" 0.1;
32204             target: "arrow_right";
32205             target: "arrow_left";
32206             transition: LINEAR 0.6;
32207             after: "arrow_anim_2_rtl";
32208          }
32209          program {
32210             name: "arrow_anim_2_rtl";
32211             action: STATE_SET "default" 0.1;
32212             target: "arrow_right";
32213             target: "arrow_left";
32214             after: "arrow_anim_start_rtl";
32215          }
32216          program {
32217             name: "arrow_anim_stop_rtl";
32218             action: ACTION_STOP;
32219             target: "arrow_anim_start_rtl";
32220             target: "arrow_anim_1_rtl";
32221             target: "arrow_anim_2_rtl";
32222             after: "arrow_anim_stop_1_rtl";
32223          }
32224          program {
32225             name: "arrow_anim_stop_1_rtl";
32226             action: STATE_SET "default" 0.1;
32227             target: "arrow_right";
32228             target: "arrow_left";
32229             transition: DECELERATE 0.4;
32230         }
32231          program { name: "to_rtl";
32232             signal: "edje,state,rtl";
32233             source: "edje";
32234             script {
32235                new st[31];
32236                new Float:vl;
32237                get_state(PART:"arrow_left", st, 30, vl);
32238                if (vl == 0.0) {
32239                   set_state(PART:"arrow_left", st, 0.1);
32240                }
32241                get_state(PART:"arrow_right", st, 30, vl);
32242                if (vl == 0.0) {
32243                   set_state(PART:"arrow_right", st, 0.1);
32244                }
32245             }
32246          }
32247          program { name: "to_ltr";
32248             signal: "edje,state,ltr";
32249             source: "edje";
32250             script {
32251                new st[31];
32252                new Float:vl;
32253                get_state(PART:"arrow_left", st, 30, vl);
32254                if (vl == 0.1) {
32255                   set_state(PART:"arrow_left", st, 0.0);
32256                }
32257                get_state(PART:"arrow_right", st, 30, vl);
32258                if (vl == 0.1) {
32259                   set_state(PART:"arrow_right", st, 0.0);
32260                }
32261             }
32262          }
32263       }
32264   }
32265
32266   group {
32267      name: "elm/panes/horizontal/default";
32268       images {
32269          image: "bt_base1.png" COMP;
32270          image: "bt_base2.png" COMP;
32271          image: "bt_hilight.png" COMP;
32272          image: "bt_shine.png" COMP;
32273          image: "bt_glow.png" COMP;
32274          image: "bt_dis_base.png" COMP;
32275          image: "bt_dis_hilight.png" COMP;
32276          image: "arrow_up.png" COMP;
32277          image: "arrow_down.png" COMP;
32278       }
32279      parts
32280        {
32281           part
32282             {
32283                name: "whole";
32284                type: RECT;
32285                mouse_events: 0;
32286                description
32287                  {
32288                     state: "default" 0.0;
32289                     visible: 0;
32290                  }
32291             }
32292
32293          //2 contents
32294           part
32295             {
32296                name: "whole_left";
32297                type: RECT;
32298                mouse_events: 0;
32299                description
32300                  {
32301                     state: "default" 0.0;
32302                     rel2.to_y: "elm.bar";
32303                     rel2.relative: 1.0 0.0;
32304                     visible: 1;
32305                  }
32306             }
32307           part
32308             {
32309                name: "elm.swallow.left";
32310                type: SWALLOW;
32311                clip_to: "whole_left";
32312                description
32313                  {
32314                     state: "default" 0.0;
32315                     rel1.to: "whole_left";
32316                     rel2.to: "whole_left";
32317                  }
32318             }
32319
32320             part
32321             {
32322                name: "whole_right";
32323                type: RECT;
32324                mouse_events: 0;
32325                description
32326                  {
32327                     state: "default" 0.0;
32328                     rel1.to_y: "elm.bar";
32329                     rel1.relative: 0.0 1.0;
32330                     visible: 1;
32331                  }
32332             }
32333           part
32334             {
32335                name: "elm.swallow.right";
32336                type: SWALLOW;
32337                clip_to: "whole_right";
32338                description
32339                  {
32340                     state: "default" 0.0;
32341                     rel1.to: "whole_right";
32342                     rel2.to: "whole_right";
32343                  }
32344             }
32345          //BAR
32346          part { name: "elm.bar";
32347             mouse_events: 1;
32348             dragable {
32349                confine: "whole";
32350                x: 0 0 0;
32351                y: 1 1 1;
32352             }
32353             description { state: "default" 0.0;
32354                max: 999 15;
32355                min: 100 15;
32356                rel1.relative: 0.5 0.0;
32357                rel2.relative: 0.5 1.0;
32358                image {
32359                   normal: "bt_base2.png";
32360                   border: 7 7 7 7;
32361                }
32362                image.middle: SOLID;
32363             }
32364             description { state: "clicked" 0.0;
32365                inherit: "default" 0.0;
32366                image.normal: "bt_base1.png";
32367                image.middle: SOLID;
32368             }
32369             description { state: "disabled" 0.0;
32370                inherit:  "default" 0.0;
32371                image {
32372                   normal: "bt_dis_base.png";
32373                   border: 4 4 4 4;
32374                }
32375             }
32376          }
32377          part {          name: "over1";
32378             mouse_events: 0;
32379             description { state: "default" 0.0;
32380             rel1.to: "elm.bar";
32381             rel2.to: "elm.bar";
32382                rel2.relative: 1.0 0.5;
32383                image {
32384                   normal: "bt_hilight.png";
32385                   border: 7 7 7 0;
32386                }
32387             }
32388             description { state: "disabled" 0.0;
32389                inherit:  "default" 0.0;
32390                image {
32391                   normal: "bt_dis_hilight.png";
32392                   border: 4 4 4 0;
32393                }
32394             }
32395          }
32396          part { name: "over2";
32397             mouse_events: 1;
32398             repeat_events: 1;
32399             ignore_flags: ON_HOLD;
32400             description { state: "default" 0.0;
32401             rel1.to: "elm.bar";
32402             rel2.to: "elm.bar";
32403                image {
32404                   normal: "bt_shine.png";
32405                   border: 7 7 7 7;
32406                }
32407             }
32408             description { state: "disabled" 0.0;
32409                inherit:  "default" 0.0;
32410                visible: 0;
32411             }
32412          }
32413          part { name: "over3";
32414             mouse_events: 1;
32415             repeat_events: 1;
32416             description { state: "default" 0.0;
32417                color: 255 255 255 0;
32418             rel1.to: "elm.bar";
32419             rel2.to: "elm.bar";
32420                image {
32421                   normal: "bt_glow.png";
32422                   border: 12 12 12 12;
32423                }
32424                fill.smooth : 0;
32425             }
32426             description { state: "clicked" 0.0;
32427                inherit:  "default" 0.0;
32428                visible: 1;
32429                color: 255 255 255 255;
32430             }
32431          }
32432
32433          //Arrow
32434          part {
32435             name: "arrow_right";
32436             repeat_events: 1;
32437             description { state: "default" 0.0;
32438                 min: 45 45;
32439                 max: 45 45;
32440                 color: 255 255 255 0;
32441
32442                 rel1.relative: 0.5 1.0;
32443                 rel1.to_y: "elm.bar";
32444                 rel1.offset: -45/2 45/2;
32445
32446                 rel2.relative: 0.5 1.0;
32447                 rel2.to_y: "elm.bar";
32448                 rel2.offset: 45/2 45/2;
32449
32450                 image.normal: "arrow_down.png";
32451
32452                 fixed: 1 1;
32453             }
32454             description { state: "anim_1" 0.0;
32455                 inherit: "default" 0.0;
32456                 color: 255 255 255 200;
32457                 rel1.offset: -45/2 (45/2 +10);
32458                 rel2.offset: 45/2 (45/2 +10);
32459             }
32460             description { state: "anim_2" 0.0;
32461                 inherit: "default" 0.0;
32462                 color: 255 255 255 0;
32463                 rel1.offset: -45/2 (45/2 + 20);
32464                 rel2.offset: 45/2 (45/2 + 20);
32465             }
32466          }
32467         part {
32468             name: "arrow_left";
32469             repeat_events: 1;
32470             description { state: "default" 0.0;
32471                 min: 45 45;
32472                 max: 45 45;
32473                 color: 255 255 255 0;
32474
32475                 rel1.relative: 0.5 0.0;
32476                 rel1.to_y: "elm.bar";
32477                 rel1.offset: -45/2 -45/2;
32478
32479                 rel2.relative: 0.5 0.0;
32480                 rel2.to_y: "elm.bar";
32481                 rel2.offset: 45/2 -45/2;
32482
32483                 image.normal: "arrow_up.png";
32484
32485                 fixed: 1 1;
32486             }
32487             description { state: "anim_1" 0.0;
32488                 inherit: "default" 0.0;
32489                 color: 255 255 255 200;
32490                 rel1.offset: -45/2 (-45/2 - 10);
32491                 rel2.offset: 45/2 (-45/2 - 10);
32492             }
32493             description { state: "anim_2" 0.0;
32494                 inherit: "default" 0.0;
32495                 color: 255 255 255 0;
32496                 rel1.offset: -45/2 (-45/2 - 20);
32497                 rel2.offset: 45/2 (-45/2 - 20);
32498             }
32499          }
32500
32501        }
32502         programs {
32503          program {
32504             name:   "button_click";
32505             signal: "mouse,down,1";
32506             source: "over2";
32507             action: SIGNAL_EMIT "elm,action,press" "";
32508             after: "button_click_anim";
32509             after: "arrow_anim_start";
32510          }
32511          program {
32512             name:   "button_click_anim";
32513             action: STATE_SET "clicked" 0.0;
32514             target: "elm.bar";
32515          }
32516          program {
32517             name:   "button_unclick";
32518             signal: "mouse,up,1";
32519             source: "over2";
32520             action: SIGNAL_EMIT "elm,action,unpress" "";
32521             after: "button_unclick_anim";
32522             after: "arrow_anim_stop";
32523          }
32524          program {
32525             name:   "button_unclick_anim";
32526             action: STATE_SET "default" 0.0;
32527             target: "elm.bar";
32528          }
32529          program {
32530             name:   "button_click2";
32531             signal: "mouse,down,1";
32532             source: "over3";
32533             action: STATE_SET "clicked" 0.0;
32534             target: "over3";
32535          }
32536          program {
32537             name:   "button_unclick2";
32538             signal: "mouse,up,1";
32539             source: "over3";
32540             action: STATE_SET "default" 0.0;
32541             transition: DECELERATE 0.5;
32542             target: "over3";
32543          }
32544          program {
32545             name:   "button_unclick3";
32546             signal: "mouse,up,1";
32547             source: "over2";
32548             action: SIGNAL_EMIT "elm,action,click" "";
32549          }
32550          program {
32551             name:   "button_down_double";
32552             signal: "mouse,down,1,double";
32553             source: "over3";
32554             action: SIGNAL_EMIT "elm,action,click,double" "";
32555          }
32556
32557          //arrows animation
32558          program {
32559             name: "arrow_anim_start";
32560             action: STATE_SET "anim_1" 0.0;
32561             target: "arrow_right";
32562             target: "arrow_left";
32563             transition: LINEAR 0.6;
32564             after: "arrow_anim_1";
32565          }
32566          program {
32567             name: "arrow_anim_1";
32568             action: STATE_SET "anim_2" 0.0;
32569             target: "arrow_right";
32570             target: "arrow_left";
32571             transition: LINEAR 0.6;
32572             after: "arrow_anim_2";
32573          }
32574          program {
32575             name: "arrow_anim_2";
32576             action: STATE_SET "default" 0.0;
32577             target: "arrow_right";
32578             target: "arrow_left";
32579             after: "arrow_anim_start";
32580          }
32581          program {
32582             name: "arrow_anim_stop";
32583             action: ACTION_STOP;
32584             target: "arrow_anim_start";
32585             target: "arrow_anim_1";
32586             target: "arrow_anim_2";
32587             after: "arrow_anim_stop_1";
32588          }
32589          program {
32590             name: "arrow_anim_stop_1";
32591             action: STATE_SET "default" 0.0;
32592             target: "arrow_right";
32593             target: "arrow_left";
32594             transition: DECELERATE 0.4;
32595         }
32596       }
32597   }
32598
32599
32600
32601 /////////////////////////////////////////////////////////////////////////////
32602 // PANEL
32603 /////////////////////////////////////////////////////////////////////////////
32604   group {
32605      name: "elm/panel/base/left";
32606      alias: "elm/panel/base/top";
32607      images
32608        {
32609           image: "bt_base1.png" COMP;
32610           image: "bt_hilight.png" COMP;
32611           image: "bt_shine.png" COMP;
32612           image: "bt_glow.png" COMP;
32613           image: "bt_dis_base.png" COMP;
32614           image: "icon_arrow_left.png" COMP;
32615           image: "icon_arrow_right.png" COMP;
32616        }
32617        data {
32618           item: "focus_highlight" "on";
32619        }
32620      parts
32621        {
32622             part { name: "focus_highlight";
32623                description { state: "default" 0.0;
32624                   visible: 0;
32625                   color: 255 255 255 0;
32626                   rel1 {
32627                      to: "btn";
32628                      offset: -8 -8;
32629                   }
32630                   rel2 {
32631                      to: "btn";
32632                      offset: 7 7;
32633                   }
32634                   image {
32635                      normal: "frame_2.png";
32636                      border: 5 5 32 26;
32637                      middle: 0;
32638                   }
32639                }
32640                description { state: "enabled" 0.0;
32641                   inherit: "default" 0.0;
32642                   visible: 1;
32643                   color: 255 255 255 255;
32644                }
32645             }
32646           part
32647             {
32648                name: "bg";
32649                type: RECT;
32650                mouse_events: 0;
32651                description
32652                  {
32653                     state: "default" 0.0;
32654                     color: 255 255 255 0;
32655                     rel1.relative: 0.0 0.0;
32656                     rel1.offset: 0 0;
32657                     rel2.relative: 1.0 1.0;
32658                     rel2.offset: -1 -1;
32659                  }
32660                description
32661                  {
32662                     state: "hidden" 0.0;
32663                     inherit: "default" 0.0;
32664                     rel1.relative: -1.0 0.0;
32665                     rel1.offset: 21 0;
32666                     rel2.relative: 0.0 1.0;
32667                     rel2.offset: 20 -1;
32668                  }
32669             }
32670           part
32671             {
32672                name: "base";
32673                type: IMAGE;
32674                mouse_events: 0;
32675                description
32676                  {
32677                     state: "default" 0.0;
32678                     rel1.to: "bg";
32679                     rel2.to: "bg";
32680                     rel2.offset: -20 -1;
32681                     image
32682                       {
32683                          normal: "bt_dis_base.png";
32684                          border: 4 4 4 4;
32685                       }
32686                  }
32687             }
32688           part
32689             {
32690                name: "clipper";
32691                type: RECT;
32692                mouse_events: 0;
32693                description
32694                  {
32695                     state: "default" 0.0;
32696                     rel1
32697                       {
32698                          offset: 4 4;
32699                          to: "base";
32700                       }
32701                     rel2
32702                       {
32703                          offset: -5 -5;
32704                          to: "base";
32705                       }
32706                  }
32707             }
32708           part
32709             {
32710                name: "elm.swallow.content";
32711                type: SWALLOW;
32712                clip_to: "clipper";
32713                description
32714                  {
32715                     state: "default" 0.0;
32716                     rel1.to: "clipper";
32717                     rel2.to: "clipper";
32718                  }
32719             }
32720           part
32721             {
32722                name: "btn";
32723                type: IMAGE;
32724                mouse_events: 1;
32725                description
32726                  {
32727                     state: "default" 0.0;
32728                     max: 32 48;
32729                     fixed: 1 1;
32730                     align: 0.0 0.5;
32731                     rel1
32732                       {
32733                          relative: 1.0 0.0;
32734                          offset: -3 0;
32735                          to_x: "base";
32736                       }
32737                     rel2.to_x: "bg";
32738                     image
32739                       {
32740                          normal: "bt_base1.png";
32741                          border: 0 5 4 12;
32742                       }
32743                     fill.smooth: 0;
32744                  }
32745                description
32746                  {
32747                     state: "clicked" 0.0;
32748                     inherit: "default" 0.0;
32749                  }
32750             }
32751           part
32752             {
32753                name: "btn_over";
32754                type: IMAGE;
32755                mouse_events: 0;
32756                description
32757                  {
32758                     state: "default" 0.0;
32759                     rel1.to: "btn";
32760                     rel2
32761                       {
32762                          relative: 1.0 0.5;
32763                          to: "btn";
32764                       }
32765                     image
32766                       {
32767                          normal: "bt_hilight.png";
32768                          border: 0 7 7 0;
32769                       }
32770                  }
32771             }
32772           part
32773             {
32774                name: "btn_over2";
32775                type: IMAGE;
32776                mouse_events: 1;
32777                repeat_events: 1;
32778                ignore_flags: ON_HOLD;
32779                description
32780                  {
32781                     state: "default" 0.0;
32782                     rel1.to: "btn";
32783                     rel2.to: "btn";
32784                     image
32785                       {
32786                          normal: "bt_shine.png";
32787                          border: 0 7 7 7;
32788                     }
32789                  }
32790             }
32791           part
32792             {
32793                name: "btn_over3";
32794                type: IMAGE;
32795                mouse_events: 1;
32796                repeat_events: 1;
32797                description
32798                  {
32799                     state: "default" 0.0;
32800                     color: 255 255 255 0;
32801                     rel1.to: "btn";
32802                     rel2.to: "btn";
32803                     image
32804                       {
32805                        normal: "bt_glow.png";
32806                        border: 12 12 12 12;
32807                     }
32808                   fill.smooth: 0;
32809                }
32810              description
32811                {
32812                   state: "clicked" 0.0;
32813                   inherit: "default" 0.0;
32814                   visible: 1;
32815                   color: 255 255 255 255;
32816                }
32817             }
32818           part
32819             {
32820                name: "btn_icon";
32821                type: IMAGE;
32822                repeat_events: 1;
32823                description
32824                  {
32825                     state: "default" 0.0;
32826                     rel1.to: "btn";
32827                     rel2.to: "btn";
32828                     align: 0.5 0.5;
32829                     min: 16 16;
32830                     max: 16 16;
32831                     image.normal: "icon_arrow_left.png";
32832                  }
32833                description
32834                  {
32835                     state: "hidden" 0.0;
32836                     inherit: "default" 0.0;
32837                     image.normal: "icon_arrow_right.png";
32838                  }
32839             }
32840        }
32841      programs
32842        {
32843           program
32844             {
32845                name: "show";
32846                signal: "elm,action,show";
32847                source: "elm";
32848                action: STATE_SET "default" 0.0;
32849                target: "bg";
32850                target: "btn_icon";
32851                transition: LINEAR 0.5;
32852             }
32853           program
32854             {
32855                name: "hide";
32856                signal: "elm,action,hide";
32857                source: "elm";
32858                action: STATE_SET "hidden" 0.0;
32859                target: "bg";
32860                target: "btn_icon";
32861                transition: LINEAR 0.5;
32862             }
32863           program
32864             {
32865                name: "btn_click";
32866                signal: "mouse,down,1";
32867                source: "btn_over2";
32868                action: STATE_SET "clicked" 0.0;
32869                target: "btn";
32870             }
32871           program
32872             {
32873                name: "btn_unclick";
32874                signal: "mouse,up,1";
32875                source: "btn_over2";
32876                action: STATE_SET "default" 0.0;
32877                target: "btn";
32878             }
32879           program
32880             {
32881                name: "btn_click2";
32882                signal: "mouse,down,1";
32883                source: "btn_over3";
32884                action: STATE_SET "clicked" 0.0;
32885                target: "btn_over3";
32886             }
32887           program
32888             {
32889                name: "btn_unclick2";
32890                signal: "mouse,up,1";
32891                source: "btn_over3";
32892                action: STATE_SET "default" 0.0;
32893                transition: DECELERATE 0.5;
32894                target: "btn_over3";
32895             }
32896           program
32897             {
32898                name: "btn_unclick3";
32899                signal: "mouse,clicked,1";
32900                source: "btn_over2";
32901                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
32902             }
32903          program { name: "highlight_show";
32904             signal: "elm,action,focus_highlight,show";
32905             source: "elm";
32906             action: STATE_SET "enabled" 0.0;
32907             transition: ACCELERATE 0.3;
32908             target: "focus_highlight";
32909          }
32910          program { name: "highlight_hide";
32911             signal: "elm,action,focus_highlight,hide";
32912             source: "elm";
32913             action: STATE_SET "default" 0.0;
32914             transition: DECELERATE 0.3;
32915             target: "focus_highlight";
32916          }
32917        }
32918   }
32919
32920   group {
32921      name: "elm/panel/base/right";
32922      alias: "elm/panel/base/bottom";
32923      images
32924        {
32925           image: "bt_base1.png" COMP;
32926           image: "bt_hilight.png" COMP;
32927           image: "bt_shine.png" COMP;
32928           image: "bt_glow.png" COMP;
32929           image: "bt_dis_base.png" COMP;
32930           image: "icon_arrow_left.png" COMP;
32931           image: "icon_arrow_right.png" COMP;
32932        }
32933      parts
32934        {
32935             part { name: "focus_highlight";
32936                description { state: "default" 0.0;
32937                   visible: 0;
32938                   color: 255 255 255 0;
32939                   rel1 {
32940                      to: "btn";
32941                      offset: -8 -8;
32942                   }
32943                   rel2 {
32944                      to: "btn";
32945                      offset: 7 7;
32946                   }
32947                   image {
32948                      normal: "frame_2.png";
32949                      border: 5 5 32 26;
32950                      middle: 0;
32951                   }
32952                }
32953                description { state: "enabled" 0.0;
32954                   inherit: "default" 0.0;
32955                   visible: 1;
32956                   color: 255 255 255 255;
32957                }
32958             }
32959           part
32960             {
32961                name: "bg";
32962                type: RECT;
32963                mouse_events: 0;
32964                description
32965                  {
32966                     state: "default" 0.0;
32967                     color: 255 255 255 0;
32968                     rel1.relative: 0.0 0.0;
32969                     rel1.offset: 0 0;
32970                     rel2.relative: 1.0 1.0;
32971                     rel2.offset: -1 -1;
32972                  }
32973                description
32974                  {
32975                     state: "hidden" 0.0;
32976                     inherit: "default" 0.0;
32977                     rel1.relative: 1.0 0.0;
32978                     rel1.offset: -22 0;
32979                     rel2.relative: 2.0 1.0;
32980                     rel2.offset: -23 -1;
32981                  }
32982             }
32983           part
32984             {
32985                name: "base";
32986                type: IMAGE;
32987                mouse_events: 0;
32988                description
32989                  {
32990                     state: "default" 0.0;
32991                     rel1.to: "bg";
32992                     rel1.offset: 20 0;
32993                     rel2.to: "bg";
32994                     image
32995                       {
32996                          normal: "bt_dis_base.png";
32997                          border: 4 4 4 4;
32998                       }
32999                  }
33000             }
33001           part
33002             {
33003                name: "clipper";
33004                type: RECT;
33005                mouse_events: 0;
33006                description
33007                  {
33008                     state: "default" 0.0;
33009                     rel1
33010                       {
33011                          offset: 4 4;
33012                          to: "base";
33013                       }
33014                     rel2
33015                       {
33016                          offset: -5 -5;
33017                          to: "base";
33018                       }
33019                  }
33020             }
33021           part
33022             {
33023                name: "elm.swallow.content";
33024                type: SWALLOW;
33025                clip_to: "clipper";
33026                description
33027                  {
33028                     state: "default" 0.0;
33029                     rel1.to: "clipper";
33030                     rel2.to: "clipper";
33031                  }
33032             }
33033           part
33034             {
33035                name: "btn";
33036                type: IMAGE;
33037                mouse_events: 1;
33038                description
33039                  {
33040                     state: "default" 0.0;
33041                     max: 32 48;
33042                     fixed: 1 1;
33043                     align: 1 0.5;
33044                     rel1
33045                       {
33046                          to_x: "bg";
33047                       }
33048                     rel2
33049                       {
33050                          offset: 2 0;
33051                          relative: 0.0 1;
33052                          to_x: "base";
33053                       }
33054                     image
33055                       {
33056                          normal: "bt_base1.png";
33057                          border: 5 0 4 12;
33058                       }
33059                     fill.smooth: 0;
33060                  }
33061                description
33062                  {
33063                     state: "clicked" 0.0;
33064                     inherit: "default" 0.0;
33065                  }
33066             }
33067           part
33068             {
33069                name: "btn_over";
33070                type: IMAGE;
33071                mouse_events: 0;
33072                description
33073                  {
33074                     state: "default" 0.0;
33075                     rel1.to: "btn";
33076                     rel2
33077                       {
33078                          relative: 1.0 0.5;
33079                          to: "btn";
33080                       }
33081                     image
33082                       {
33083                          normal: "bt_hilight.png";
33084                          border: 7 0 7 0;
33085                       }
33086                  }
33087             }
33088           part
33089             {
33090                name: "btn_over2";
33091                type: IMAGE;
33092                mouse_events: 1;
33093                repeat_events: 1;
33094                ignore_flags: ON_HOLD;
33095                description
33096                  {
33097                     state: "default" 0.0;
33098                     rel1.to: "btn";
33099                     rel2.to: "btn";
33100                     image
33101                       {
33102                          normal: "bt_shine.png";
33103                          border: 7 0 7 7;
33104                     }
33105                  }
33106             }
33107           part
33108             {
33109                name: "btn_over3";
33110                type: IMAGE;
33111                mouse_events: 1;
33112                repeat_events: 1;
33113                description
33114                  {
33115                     state: "default" 0.0;
33116                     color: 255 255 255 0;
33117                     rel1.to: "btn";
33118                     rel2.to: "btn";
33119                     image
33120                       {
33121                        normal: "bt_glow.png";
33122                        border: 12 12 12 12;
33123                     }
33124                   fill.smooth: 0;
33125                }
33126              description
33127                {
33128                   state: "clicked" 0.0;
33129                   inherit: "default" 0.0;
33130                   visible: 1;
33131                   color: 255 255 255 255;
33132                }
33133             }
33134           part
33135             {
33136                name: "btn_icon";
33137                type: IMAGE;
33138                repeat_events: 1;
33139                description
33140                  {
33141                     state: "default" 0.0;
33142                     rel1.to: "btn";
33143                     rel2.to: "btn";
33144                     align: 0.5 0.5;
33145                     min: 16 16;
33146                     max: 16 16;
33147                     image.normal: "icon_arrow_right.png";
33148                  }
33149                description
33150                  {
33151                     state: "hidden" 0.0;
33152                     inherit: "default" 0.0;
33153                     image.normal: "icon_arrow_left.png";
33154                  }
33155             }
33156        }
33157      programs
33158        {
33159           program
33160             {
33161                name: "show";
33162                signal: "elm,action,show";
33163                source: "elm";
33164                action: STATE_SET "default" 0.0;
33165                target: "bg";
33166                target: "btn_icon";
33167                transition: LINEAR 0.5;
33168             }
33169           program
33170             {
33171                name: "hide";
33172                signal: "elm,action,hide";
33173                source: "elm";
33174                action: STATE_SET "hidden" 0.0;
33175                target: "bg";
33176                target: "btn_icon";
33177                transition: LINEAR 0.5;
33178             }
33179           program
33180             {
33181                name: "btn_click";
33182                signal: "mouse,down,1";
33183                source: "btn_over2";
33184                action: STATE_SET "clicked" 0.0;
33185                target: "btn";
33186             }
33187           program
33188             {
33189                name: "btn_unclick";
33190                signal: "mouse,up,1";
33191                source: "btn_over2";
33192                action: STATE_SET "default" 0.0;
33193                target: "btn";
33194             }
33195           program
33196             {
33197                name: "btn_click2";
33198                signal: "mouse,down,1";
33199                source: "btn_over3";
33200                action: STATE_SET "clicked" 0.0;
33201                target: "btn_over3";
33202             }
33203           program
33204             {
33205                name: "btn_unclick2";
33206                signal: "mouse,up,1";
33207                source: "btn_over3";
33208                action: STATE_SET "default" 0.0;
33209                transition: DECELERATE 0.5;
33210                target: "btn_over3";
33211             }
33212           program
33213             {
33214                name: "btn_unclick3";
33215                signal: "mouse,up,1";
33216                source: "btn_over2";
33217                action: SIGNAL_EMIT "elm,action,panel,toggle" "";
33218             }
33219          program { name: "highlight_show";
33220             signal: "elm,action,focus";
33221             source: "elm";
33222             action: STATE_SET "enabled" 0.0;
33223             transition: ACCELERATE 0.3;
33224             target: "focus_highlight";
33225          }
33226          program { name: "highlight_hide";
33227             signal: "elm,action,unfocus";
33228             source: "elm";
33229             action: STATE_SET "default" 0.0;
33230             transition: DECELERATE 0.3;
33231             target: "focus_highlight";
33232          }
33233        }
33234   }
33235
33236 ///////////////////////////////////////////////////////////////////////////////
33237   group { name: "elm/conformant/base/default";
33238      parts {
33239         part { name: "elm.swallow.shelf";
33240            type: SWALLOW;
33241            description { state: "default" 0.0;
33242               fixed: 1 1;
33243               align: 0.0 0.0;
33244               rel2.relative: 1.0 0.0;
33245            }
33246         }
33247         part { name: "elm.swallow.content";
33248            type: SWALLOW;
33249            description { state: "default" 0.0;
33250               align: 0.5 0.5;
33251               rel1.relative: 0.0 1.0;
33252               rel1.to_y: "elm.swallow.shelf";
33253               rel2.relative: 1.0 0.0;
33254               rel2.to_y: "elm.swallow.panel";
33255            }
33256         }
33257         part { name: "elm.swallow.panel";
33258            type: SWALLOW;
33259            description { state: "default" 0.0;
33260               fixed: 1 1;
33261               align: 0.0 1.0;
33262               rel1.relative: 0.0 1.0;
33263            }
33264         }
33265      }
33266   }
33267
33268 /////////////////////////////////////////////////////////////////////////////
33269 // CALENDAR
33270 /////////////////////////////////////////////////////////////////////////////
33271 #define CH(_pos) \
33272          part { name: "ch_"#_pos".base"; \
33273             type: RECT; \
33274             description { state: "default" 0.0; \
33275                rel1 { \
33276                   relative: (_pos % 7 * 7 / 8 / 6) 0; \
33277                   to: "header"; \
33278                } \
33279                rel2 { \
33280                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) 1; \
33281                   to: "header"; \
33282                } \
33283                color: 0 0 0 0; \
33284                visible: 0; \
33285             } \
33286          } \
33287          part { name: "ch_"#_pos".text"; \
33288             type: TEXT; \
33289             effect: SOFT_SHADOW; \
33290             mouse_events: 0; \
33291             scale: 1; \
33292             clip_to: "ch_"#_pos".clipper"; \
33293             description { \
33294                state: "default" 0.0; \
33295                rel1.to: "ch_"#_pos".base"; \
33296                rel2.to: "ch_"#_pos".base"; \
33297                color: 0 0 0 255; \
33298                color3: 0 0 0 0; \
33299                text { \
33300                   font: "Sans"; \
33301                   size: 10; \
33302                   min: 1 1; \
33303                   align: 0.5 0.5; \
33304                } \
33305             } \
33306          } \
33307          part { name: "ch_"#_pos".clipper"; \
33308             type: RECT; \
33309             description { state: "default" 0.0; \
33310                rel1.to: "ch_"#_pos".base"; \
33311                rel2.to: "ch_"#_pos".base"; \
33312             } \
33313          }
33314
33315 #define CIT(_pos) \
33316          part { name: "cit_"#_pos".rect"; \
33317             type: RECT; \
33318             description { state: "default" 0.0; \
33319                rel1 { \
33320                   relative: (_pos % 7 * 7 / 8 / 6) \
33321                             (_pos / 8 / 5 - _pos % 7 / 8 / 5); \
33322                   to: "base"; \
33323                } \
33324                rel2 { \
33325                   relative: (_pos % 7 * 7 / 8 / 6 + 1 / 8) \
33326                             (_pos / 8 / 5 - _pos % 7 / 8 / 5 + 1 / 8); \
33327                   to: "base"; \
33328                } \
33329                color: 0 0 0 0; \
33330                visible: 0; \
33331             } \
33332          } \
33333          part { \
33334             name: "cit_"#_pos".event"; \
33335             type: RECT; \
33336             repeat_events: 1; \
33337             description { \
33338                rel1.to: "cit_"#_pos".rect"; \
33339                rel2.to: "cit_"#_pos".rect"; \
33340                state: "default" 0.0; \
33341                color: 0 0 0 0; \
33342             } \
33343          } \
33344          part { name: "cit_"#_pos".shelf"; \
33345             type: RECT; \
33346             mouse_events: 0; \
33347             description { state: "default" 0.0; \
33348                rel1 { \
33349                   to: "cit_"#_pos".bg"; \
33350                   offset: -1 -1; \
33351                } \
33352                rel2 { \
33353                   to: "cit_"#_pos".bg"; \
33354                } \
33355                color: 200 200 200 255; \
33356             } \
33357          } \
33358          part { name: "cit_"#_pos".hd"; \
33359             type: RECT; \
33360             mouse_events: 0; \
33361             description { state: "default" 0.0; \
33362                rel1 { \
33363                   to: "cit_"#_pos".bg"; \
33364                   offset: -1 -1; \
33365                } \
33366                rel2 { \
33367                   to: "cit_"#_pos".bg"; \
33368                } \
33369                visible: 0; \
33370                color: 160 0 0 255; \
33371             } \
33372             description { state: "visible" 0.0; \
33373                inherit: "default" 0.0; \
33374                visible: 1; \
33375             } \
33376          } \
33377          part { \
33378             name: "cit_"#_pos".base_sh"; \
33379             mouse_events: 0; \
33380             description { \
33381                state: "default" 0.0; \
33382                align: 0.0 0.0; \
33383                min: 0 1; \
33384                rel1 { \
33385                   to: "cit_"#_pos".base"; \
33386                   relative: 0.0 1.0; \
33387                   offset: 0 0; \
33388                } \
33389                rel2 { \
33390                   to: "cit_"#_pos".base"; \
33391                   relative: 1.0 1.05; \
33392                   offset: -1 0; \
33393                } \
33394                image { \
33395                   normal: "ilist_item_shadow.png"; \
33396                } \
33397                fill.smooth: 0; \
33398             } \
33399          } \
33400          part { \
33401             name: "cit_"#_pos".base"; \
33402             mouse_events: 0; \
33403             description { \
33404                state: "default" 0.0; \
33405                rel1.to: "cit_"#_pos".rect"; \
33406                rel2.to: "cit_"#_pos".rect"; \
33407                rel2.offset: -1 -1; \
33408                image { \
33409                   normal: "ilist_1.png"; \
33410                   border: 2 2 2 2; \
33411                } \
33412                fill.smooth: 0; \
33413             } \
33414             description { \
33415                state: "today" 0.0; \
33416                inherit: "default" 0.0; \
33417                image.normal: "ilist_2.png"; \
33418                color: 240 240 240 255; \
33419             } \
33420          } \
33421          part { name: "cit_"#_pos".bg"; \
33422             mouse_events: 0; \
33423             description { state: "default" 0.0; \
33424                visible: 0; \
33425                color: 255 255 255 0; \
33426                rel1 { \
33427                   to: "cit_"#_pos".rect"; \
33428                   relative: 0.0 0.0; \
33429                } \
33430                rel2 { \
33431                   to: "cit_"#_pos".rect"; \
33432                   relative: 1.0 1.0; \
33433                   offset: -1 -1; \
33434                } \
33435                image { \
33436                   normal: "bt_sm_base1.png"; \
33437                   border: 6 6 6 6; \
33438                } \
33439                image.middle: SOLID; \
33440             } \
33441             description { state: "selected" 0.0; \
33442                inherit: "default" 0.0; \
33443                visible: 1; \
33444                color: 255 255 255 255; \
33445             } \
33446          } \
33447          part { name: "cit_"#_pos".text"; \
33448             type: TEXT; \
33449             effect: SOFT_SHADOW; \
33450             mouse_events: 0; \
33451             scale: 1; \
33452             description { \
33453                state: "default" 0.0; \
33454                rel1.to: "cit_"#_pos".bg"; \
33455                rel2.to: "cit_"#_pos".bg"; \
33456                color: 0 0 0 255; \
33457                color3: 0 0 0 0; \
33458                text { \
33459                   font: "Sans"; \
33460                   size: 10; \
33461                   min: 1 1; \
33462                   align: 0.5 0.5; \
33463                } \
33464             } \
33465             description { state: "selected" 0.0; \
33466                inherit: "default" 0.0; \
33467                color: 224 224 224 255; \
33468                color3: 0 0 0 64; \
33469             } \
33470          } \
33471          part { name: "cit_"#_pos".fg1"; \
33472             mouse_events: 0; \
33473             description { state: "default" 0.0; \
33474                visible: 0; \
33475                color: 255 255 255 0; \
33476                rel1.to: "cit_"#_pos".bg"; \
33477                rel2.relative: 1.0 0.5; \
33478                rel2.to: "cit_"#_pos".bg"; \
33479                image { \
33480                   normal: "bt_sm_hilight.png"; \
33481                   border: 6 6 6 0; \
33482                } \
33483             } \
33484             description { state: "selected" 0.0; \
33485                inherit: "default" 0.0; \
33486                visible: 1; \
33487                color: 255 255 255 255; \
33488             } \
33489          } \
33490          part { name: "cit_"#_pos".fg2"; \
33491             mouse_events: 0; \
33492             description { state: "default" 0.0; \
33493                visible: 0; \
33494                color: 255 255 255 0; \
33495                rel1.to: "cit_"#_pos".bg"; \
33496                rel2.to: "cit_"#_pos".bg"; \
33497                image { \
33498                   normal: "bt_sm_shine.png"; \
33499                   border: 6 6 6 0; \
33500                } \
33501             } \
33502             description { state: "selected" 0.0; \
33503                inherit: "default" 0.0; \
33504                visible: 1; \
33505                color: 255 255 255 255; \
33506             } \
33507          } \
33508          part { name: "cit_"#_pos".check"; \
33509             mouse_events: 0; \
33510             description { state: "default" 0.0; \
33511                rel1 { \
33512                   to: "cit_"#_pos".bg"; \
33513                   relative: 0.7 0.6; \
33514                   offset: 1 1; \
33515                } \
33516                rel2 { \
33517                   to: "cit_"#_pos".bg"; \
33518                   relative: 1.1 1.2; \
33519                   offset: -2 -2; \
33520                } \
33521                aspect: 1 1; \
33522                visible: 0; \
33523                color: 255 0 0 255; \
33524                image.normal: "check.png"; \
33525             } \
33526             description { state: "visible" 0.0; \
33527                inherit: "default" 0.0; \
33528                visible: 1; \
33529             } \
33530          } \
33531       programs { \
33532          program { \
33533             name:    "cit_"#_pos".go_active"; \
33534             signal:  "cit_"#_pos",selected"; \
33535             source:  "elm"; \
33536             action:  STATE_SET "selected" 0.0; \
33537             target:  "cit_"#_pos".bg"; \
33538             target:  "cit_"#_pos".fg1"; \
33539             target:  "cit_"#_pos".fg2"; \
33540             target:  "cit_"#_pos".text"; \
33541          } \
33542          program { \
33543             name:    "cit_"#_pos".go_passive"; \
33544             signal:  "cit_"#_pos",unselected"; \
33545             source:  "elm"; \
33546             action:  STATE_SET "default" 0.0; \
33547             target:  "cit_"#_pos".bg"; \
33548             target:  "cit_"#_pos".fg1"; \
33549             target:  "cit_"#_pos".fg2"; \
33550             target:  "cit_"#_pos".text"; \
33551          } \
33552          program { \
33553             name:    "cit_"#_pos".is_today"; \
33554             signal:  "cit_"#_pos",today"; \
33555             source:  "elm"; \
33556             action:  STATE_SET "today" 0.0; \
33557             target: "cit_"#_pos".base"; \
33558          } \
33559          program { \
33560             name:    "cit_"#_pos".not_today"; \
33561             signal:  "cit_"#_pos",not_today"; \
33562             source:  "elm"; \
33563             action:  STATE_SET "default" 0.0; \
33564             target: "cit_"#_pos".base"; \
33565          } \
33566          program { \
33567             source: "cit_"#_pos".clicked"; \
33568             signal: "mouse,clicked,1"; \
33569             source: "cit_"#_pos".event"; \
33570             action: SIGNAL_EMIT "elm,action,selected" #_pos; \
33571          } \
33572          program { \
33573             name:    "cit_"#_pos".clear"; \
33574             signal:  "cit_"#_pos",clear"; \
33575             source:  "elm"; \
33576             action:  STATE_SET "default" 0.0; \
33577             target: "cit_"#_pos".check"; \
33578             target: "cit_"#_pos".hd"; \
33579          } \
33580          program { \
33581             name:    "cit_"#_pos".checked"; \
33582             signal:  "cit_"#_pos",checked"; \
33583             source:  "elm"; \
33584             action:  STATE_SET "visible" 0.0; \
33585             target: "cit_"#_pos".check"; \
33586          } \
33587          program { \
33588             name:    "cit_"#_pos".holiday"; \
33589             signal:  "cit_"#_pos",holiday"; \
33590             source:  "elm"; \
33591             action:  STATE_SET "visible" 0.0; \
33592             target: "cit_"#_pos".hd"; \
33593          } \
33594       }
33595
33596    group { name: "elm/calendar/base/default";
33597        images {
33598            image: "shelf_inset.png" COMP;
33599            image: "bt_base1.png" COMP;
33600            image: "bt_hilight.png" COMP;
33601            image: "bt_shine.png" COMP;
33602            image: "bt_glow.png" COMP;
33603            image: "bt_dis_base.png" COMP;
33604            image: "bt_dis_hilight.png" COMP;
33605            image: "sp_bt_l.png" COMP;
33606            image: "sp_bt_r.png" COMP;
33607            image: "bt_sm_base1.png" COMP;
33608            image: "bt_sm_shine.png" COMP;
33609            image: "bt_sm_hilight.png" COMP;
33610            image: "ilist_1.png" COMP;
33611            image: "ilist_2.png" COMP;
33612            image: "ilist_item_shadow.png" COMP;
33613            image: "check.png" COMP;
33614        }
33615        parts {
33616            part { name: "bg";
33617                type: RECT;
33618                description { state: "default" 0.0;
33619                    min: 0 30;
33620                    rel1.offset: 1 1;
33621                    rel2.offset: -2 -2;
33622                    color: 255 255 255 0;
33623                    align: 0.0 0.5;
33624                }
33625            }
33626            part { name: "spinner-base";
33627                type: RECT;
33628                mouse_events: 0;
33629                description { state: "default" 0.0;
33630                    min: 24 24;
33631                    max: 999999 24;
33632                    rel1.to: "bg";
33633                    rel1.offset: 6 6;
33634                    rel2.to: "bg";
33635                    rel2.offset: -7 -7;
33636                    color: 255 255 255 0;
33637                    align: 0.0 0.0;
33638                }
33639            }
33640            part { name: "conf_over_spinner";
33641                mouse_events:  0;
33642                description { state: "default" 0.0;
33643                    rel1.to: "spinner-base";
33644                    rel1.offset: -3 -3;
33645                    rel2.to: "spinner-base";
33646                    rel2.offset: 2 2;
33647                    image {
33648                        normal: "shelf_inset.png";
33649                        border: 7 7 7 7;
33650                        middle: 0;
33651                    }
33652                    fill.smooth : 0;
33653                }
33654            }
33655            part { name: "table-base";
33656                type: RECT;
33657                mouse_events: 0;
33658                description { state: "default" 0.0;
33659                    min: 256 220;
33660                    rel1.to_x: "bg";
33661                    rel1.to_y: "spinner-base";
33662                    rel1.offset: 6 6;
33663                    rel1.relative: 0 1;
33664                    rel2.to: "bg";
33665                    rel2.offset: -7 -7;
33666                    color: 255 255 255 0;
33667                }
33668            }
33669            part { name: "conf_over_table";
33670                mouse_events:  0;
33671                description { state: "default" 0.0;
33672                    rel1.to: "table-base";
33673                    rel1.offset: -3 -3;
33674                    rel2.to: "table-base";
33675                    rel2.offset: 2 2;
33676                    image {
33677                        normal: "shelf_inset.png";
33678                        border: 7 7 7 7;
33679                        middle: 0;
33680                    }
33681                    fill.smooth : 0;
33682                }
33683            }
33684            part { name: "header";
33685                type: RECT;
33686                mouse_events: 0;
33687                description { state: "default" 0.0;
33688                    rel1.to: "table-base";
33689                    rel1.relative: 0 0;
33690                    rel2.to: "table-base";
33691                    rel2.relative: 1 0.1;
33692                    color: 255 255 255 0;
33693                }
33694            }
33695            part { name: "base";
33696                type: RECT;
33697                mouse_events: 0;
33698                description { state: "default" 0.0;
33699                    rel1.to_x: "table-base";
33700                    rel1.to_y: "header";
33701                    rel1.relative: 0 1;
33702                    rel1.offset: 3 0;
33703                    rel2.to: "table-base";
33704                    rel2.offset: -3 0;
33705                    color: 255 255 255 0;
33706                }
33707            }
33708            part { name: "left_bt";
33709                mouse_events:  1;
33710                description { state: "default" 0.0;
33711                    rel1 { to: "spinner-base";
33712                        offset: 2 2;
33713                    }
33714                    rel2 { to: "spinner-base";
33715                        offset: -3 -3;
33716                    }
33717                    align: 0.0 0.5;
33718                    min: 24 24;
33719                    max: 24 24;
33720                    fixed: 1 1;
33721                    image {
33722                        normal: "bt_base1.png";
33723                        border: 6 6 6 6;
33724                    }
33725                    fill.smooth : 0;
33726                }
33727                description { state: "clicked" 0.0;
33728                    inherit: "default" 0.0;
33729                    image.normal: "bt_base1.png";
33730                    image.middle: SOLID;
33731                }
33732            }
33733            part { name: "left_over1";
33734                mouse_events: 0;
33735                description { state: "default" 0.0;
33736                    rel1.to: "left_bt";
33737                    rel2 { to: "left_bt";
33738                        relative: 1.0 0.5;
33739                    }
33740                    image {
33741                        normal: "bt_hilight.png";
33742                        border: 7 7 7 0;
33743                    }
33744                }
33745            }
33746            part { name: "left_over2";
33747                mouse_events: 1;
33748                repeat_events: 1;
33749                description { state: "default" 0.0;
33750                    rel1.to: "left_bt";
33751                    rel2.to: "left_bt";
33752                    image {
33753                        normal: "bt_shine.png";
33754                        border: 7 7 7 7;
33755                    }
33756                }
33757            }
33758            part { name: "left_over3";
33759                mouse_events: 1;
33760                repeat_events: 1;
33761                description { state: "default" 0.0;
33762                    color: 255 255 255 0;
33763                    rel1.to: "left_bt";
33764                    rel2.to: "left_bt";
33765                    image {
33766                        normal: "bt_glow.png";
33767                        border: 12 12 12 12;
33768                    }
33769                    fill.smooth : 0;
33770                }
33771                description { state: "clicked" 0.0;
33772                    inherit:  "default" 0.0;
33773                    visible: 1;
33774                    color: 255 255 255 255;
33775                }
33776            }
33777            part { name: "right_bt";
33778                mouse_events:  1;
33779                description { state: "default" 0.0;
33780                    rel1 { to: "spinner-base";
33781                        offset: -27 3;
33782                    }
33783                    rel2 { to: "spinner-base";
33784                        offset: -3 -3;
33785                    }
33786                    align: 1.0 0.5;
33787                    min: 24 24;
33788                    max: 24 24;
33789                    fixed: 1 1;
33790                    image {
33791                        normal: "bt_base1.png";
33792                        border: 5 5 4 12;
33793                    }
33794                    fill.smooth : 0;
33795                }
33796                description { state: "clicked" 0.0;
33797                    inherit: "default" 0.0;
33798                    image.normal: "bt_base1.png";
33799                    image.middle: SOLID;
33800                }
33801            }
33802            part { name: "right_over1";
33803                mouse_events: 0;
33804                description { state: "default" 0.0;
33805                    rel1.to: "right_bt";
33806                    rel2 { to: "right_bt";
33807                        relative: 1.0 0.5;
33808                    }
33809                    image {
33810                        normal: "bt_hilight.png";
33811                        border: 7 7 7 0;
33812                    }
33813                }
33814            }
33815            part { name: "right_over2";
33816                mouse_events: 1;
33817                repeat_events: 1;
33818                description { state: "default" 0.0;
33819                    rel1.to: "right_bt";
33820                    rel2.to: "right_bt";
33821                    image {
33822                        normal: "bt_shine.png";
33823                        border: 7 7 7 7;
33824                    }
33825                }
33826            }
33827            part { name: "right_over3";
33828                mouse_events: 1;
33829                repeat_events: 1;
33830                description { state: "default" 0.0;
33831                    color: 255 255 255 0;
33832                    rel1.to: "right_bt";
33833                    rel2.to: "right_bt";
33834                    image {
33835                        normal: "bt_glow.png";
33836                        border: 12 12 12 12;
33837                    }
33838                    fill.smooth : 0;
33839                }
33840                description { state: "clicked" 0.0;
33841                    inherit:  "default" 0.0;
33842                    visible: 1;
33843                    color: 255 255 255 255;
33844                }
33845            }
33846            part { name: "left_bt_icon";
33847                repeat_events: 1;
33848                description { state: "default" 0.0;
33849                    rel1.to: "left_bt";
33850                    rel2.to: "left_bt";
33851                    align: 0.5 0.5;
33852                    min: 16 16;
33853                    max: 16 16;
33854                    image.normal: "sp_bt_l.png";
33855                }
33856                description { state: "rtl" 0.0;
33857                    inherit: "default" 0.0;
33858                    image.normal: "sp_bt_r.png";
33859                }
33860            }
33861            part { name: "right_bt_icon";
33862                repeat_events: 1;
33863                description { state: "default" 0.0;
33864                    rel1.to: "right_bt";
33865                    rel2.to: "right_bt";
33866                    align: 0.5 0.5;
33867                    min: 16 16;
33868                    max: 16 16;
33869                    image.normal: "sp_bt_r.png";
33870                }
33871                description { state: "rtl" 0.0;
33872                    inherit: "default" 0.0;
33873                    image.normal: "sp_bt_l.png";
33874                }
33875            }
33876            part { name: "month_text";
33877                type: TEXT;
33878                mouse_events: 0;
33879                scale: 1;
33880                description { state: "default" 0.0;
33881                    align: 0 0.5;
33882                    fixed: 1 1;
33883                    rel1 { relative: 1.0 0.0;
33884                        offset: 3 2;
33885                        to: "left_bt";
33886                        to_y: "spinner-base";
33887                    }
33888                    rel2 { relative: 0.0 1.0;
33889                        offset: -3 -2;
33890                        to_x: "right_bt";
33891                        to_y: "spinner-base";
33892                    }
33893                    color: 0 0 0 255;
33894                    text {
33895                        font: "Sans,Edje-Vera";
33896                        size: 12;
33897                        min: 1 1;
33898                        align: 0.5 0.5;
33899                    }
33900                }
33901            }
33902            CH(0)   CH(1)   CH(2)   CH(3)   CH(4)   CH(5)   CH(6)
33903            CIT(0)  CIT(1)  CIT(2)  CIT(3)  CIT(4)  CIT(5)  CIT(6)
33904            CIT(7)  CIT(8)  CIT(9)  CIT(10) CIT(11) CIT(12) CIT(13)
33905            CIT(14) CIT(15) CIT(16) CIT(17) CIT(18) CIT(19) CIT(20)
33906            CIT(21) CIT(22) CIT(23) CIT(24) CIT(25) CIT(26) CIT(27)
33907            CIT(28) CIT(29) CIT(30) CIT(31) CIT(32) CIT(33) CIT(34)
33908            CIT(35) CIT(36) CIT(37) CIT(38) CIT(39) CIT(40) CIT(41)
33909        }
33910        programs {
33911            program { name: "dec_start";
33912                signal: "mouse,down,1";
33913                source: "left_bt";
33914                action: SIGNAL_EMIT "elm,action,decrement,start" "";
33915            }
33916            program { name: "dec_stop";
33917                signal: "mouse,up,1";
33918                source: "left_bt";
33919                action: SIGNAL_EMIT "elm,action,stop" "";
33920            }
33921            program { name: "inc_start";
33922                signal: "mouse,down,1";
33923                source: "right_bt";
33924                action: SIGNAL_EMIT "elm,action,increment,start" "";
33925            }
33926            program { name: "inc_stop";
33927                signal: "mouse,up,1";
33928                source: "right_bt";
33929                action: SIGNAL_EMIT "elm,action,stop" "";
33930            }
33931            program {
33932                name:   "left_bt_click";
33933                signal: "mouse,down,1";
33934                source: "left_over2";
33935                action: STATE_SET "clicked" 0.0;
33936                target: "left_bt";
33937            }
33938            program {
33939                name:   "left_bt_unclick";
33940                signal: "mouse,up,1";
33941                source: "left_over2";
33942                action: STATE_SET "default" 0.0;
33943                target: "left_bt";
33944            }
33945            program {
33946                name:   "left_bt_click2";
33947                signal: "mouse,down,1";
33948                source: "left_over3";
33949                action: STATE_SET "clicked" 0.0;
33950                target: "left_over3";
33951            }
33952            program {
33953                name:   "left_bt_unclick2";
33954                signal: "mouse,up,1";
33955                source: "left_over3";
33956                action: STATE_SET "default" 0.0;
33957                transition: DECELERATE 0.5;
33958                target: "left_over3";
33959            }
33960            program {
33961                name:   "right_bt_click";
33962                signal: "mouse,down,1";
33963                source: "right_over2";
33964                action: STATE_SET "clicked" 0.0;
33965                target: "right_bt";
33966            }
33967            program {
33968                name:   "right_bt_unclick";
33969                signal: "mouse,up,1";
33970                source: "right_over2";
33971                action: STATE_SET "default" 0.0;
33972                target: "right_bt";
33973            }
33974            program {
33975                name:   "right_bt_click2";
33976                signal: "mouse,down,1";
33977                source: "right_over3";
33978                action: STATE_SET "clicked" 0.0;
33979                target: "right_over3";
33980            }
33981            program {
33982                name:   "right_bt_unclick2";
33983                signal: "mouse,up,1";
33984                source: "right_over3";
33985                action: STATE_SET "default" 0.0;
33986                transition: DECELERATE 0.5;
33987                target: "right_over3";
33988            }
33989            program { name: "to_rtl";
33990                signal: "edje,state,rtl";
33991                source: "edje";
33992                action: STATE_SET "rtl" 0.0;
33993                target: "right_bt_icon";
33994                target: "left_bt_icon";
33995            }
33996            program { name: "to_ltr";
33997                signal: "edje,state,ltr";
33998                source: "edje";
33999                action: STATE_SET "default" 0.0;
34000                target: "right_bt_icon";
34001                target: "left_bt_icon";
34002            }
34003        }
34004    }
34005
34006 #undef CIT
34007 #undef CH
34008
34009 ////////////////////////////////////////////////////////////////////////////////
34010 // colorselector
34011 ////////////////////////////////////////////////////////////////////////////////
34012    group { name: "elm/colorselector/bg/default";
34013       parts {
34014          part { name: "elm.colorbar_0";
34015             type: SWALLOW;
34016             mouse_events: 1;
34017             description { state: "default" 0.0;
34018                min: 120 30;
34019                rel1.relative: 0.0 0.00653594771;
34020                rel2.relative: 1.0 0.254901961;
34021             }
34022          }
34023          part { name: "elm.colorbar_1";
34024             type: SWALLOW;
34025             mouse_events: 1;
34026             description { state: "default" 0.0;
34027                min: 120 30;
34028                rel1.relative: 0.0 0.254901961;
34029                rel2.relative: 1.0 0.503267974;
34030             }
34031          }
34032          part { name: "elm.colorbar_2";
34033             type: SWALLOW;
34034             mouse_events: 1;
34035             description { state: "default" 0.0;
34036                min: 120 30;
34037                rel1.relative: 0.0 0.503267974;
34038                rel2.relative: 1.0 0.751633987;
34039             }
34040          }
34041          part { name: "elm.colorbar_3";
34042             type: SWALLOW;
34043             mouse_events: 1;
34044             description { state: "default" 0.0;
34045                min: 120 30;
34046                rel1.relative: 0.0 0.751633987;
34047                rel2.relative: 1.0 1.0;
34048             }
34049          }
34050       }
34051    }
34052
34053    group { name: "elm/colorselector/base/default";
34054       parts {
34055          part { name: "elm.bar_bg";
34056             type: SWALLOW;
34057             mouse_events: 0;
34058             description { state: "default" 0.0;
34059                min: 60 22;
34060                rel1 {
34061                   relative: 0.0 0.8;
34062                   to_x: "elm.arrow_bg";
34063                   to_y: "elm.arrow_icon";
34064                   offset: 0 0;
34065                }
34066                rel2 {
34067                   relative: 1.0 0.83;
34068                   to_x: "elm.arrow_bg";
34069                   offset: 0 0;
34070                }
34071             }
34072          }
34073          part { name: "elm.bar";
34074             type: SWALLOW;
34075             mouse_events: 0;
34076             description { state: "default" 0.0;
34077                rel1.to: "elm.bar_bg";
34078                rel2.to: "elm.bar_bg";
34079             }
34080          }
34081          part { name: "elm.arrow_bg";
34082             type: SWALLOW;
34083             mouse_events: 1;
34084             description { state: "default" 0.0;
34085                rel1 {
34086                   relative: 1.0 0.17;
34087                   offset: 3 0;
34088                   to_x: "elm.l_button";
34089                }
34090                rel2 {
34091                   relative: 0.0 0.83;
34092                      offset: -4 0;
34093                   to_x: "elm.r_button";
34094                }
34095             }
34096          }
34097          part { name: "elm.arrow";
34098             type: RECT;
34099             mouse_events: 1;
34100             scale: 1;
34101             description { state: "default" 0.0;
34102                min: 1 1;
34103                fixed: 1 1;
34104                align: 0 0;
34105                rel1 {
34106                   to_x: "elm.arrow_bg";
34107                }
34108                rel2 {
34109                   relative: 0.0 0.17;
34110                   to_x: "elm.arrow_bg";
34111                }
34112                color: 0 0 0 0;
34113                visible: 0;
34114             }
34115             dragable {
34116                confine: "elm.arrow_bg";
34117                x: 1 1 0;
34118                y: 0 0 0;
34119             }
34120          }
34121          part { name: "elm.arrow_icon";
34122             type: SWALLOW;
34123             mouse_events: 0;
34124             description { state: "default" 0.0;
34125                min: 25 15;
34126                max: 25 15;
34127                fixed: 1 1;
34128                align: 0.5 0;
34129                rel1 {
34130                   to_x: "elm.arrow";
34131                }
34132                rel2 {
34133                   relative: 1.0 0.0;
34134                   offset: 0 10;
34135                   to_x: "elm.arrow";
34136                }
34137             }
34138          }
34139          part { name: "event";
34140             type: RECT;
34141             mouse_events: 1;
34142             description { state: "default" 0.0;
34143                rel1 {
34144                   to: "elm.arrow_icon";
34145                }
34146                rel2 {
34147                   to_x: "elm.arrow_icon";
34148                   to_y: "elm.arrow_bg";
34149                   offset: 0 0;
34150                }
34151                color: 0 0 0 0;
34152             }
34153             dragable {
34154                events: "elm.arrow";
34155             }
34156          }
34157          part { name: "elm.l_button";
34158             type: SWALLOW;
34159             mouse_events: 1;
34160             scale: 1;
34161             description { state: "default" 0.0;
34162                min: 24 24;
34163                fixed: 1 1;
34164                rel1 {
34165                   relative: 0.0 0.0;
34166                   to_y: "elm.bar_bg";
34167                }
34168                rel2 {
34169                   relative: 0.0 1.0;
34170                   to_y: "elm.bar_bg";
34171                }
34172                align: 0.0 0.5;
34173             }
34174          }
34175          part { name: "elm.r_button";
34176             type: SWALLOW;
34177             mouse_events: 1;
34178             scale: 1;
34179             description {
34180                state: "default" 0.0;
34181                min: 24 24;
34182                fixed: 1 1;
34183                rel1 {
34184                   relative: 1.0 0.0;
34185                   to_y: "elm.bar_bg";
34186                }
34187                rel2 {
34188                   relative: 1.0 1.0;
34189                   to_y: "elm.bar_bg";
34190                }
34191                align: 1.0 0.5;
34192             }
34193          }
34194       }
34195    }
34196
34197    group{ name: "elm/colorselector/image/colorbar_0";
34198       images {
34199          image: "color_picker_color.png" COMP;
34200       }
34201       parts {
34202          part { name: "colorbar_0_image";
34203             type: IMAGE;
34204             mouse_events: 1;
34205             description { state: "default" 0.0;
34206                rel2.offset: -1 -1;
34207                image.normal: "color_picker_color.png";
34208             }
34209          }
34210       }
34211    }
34212
34213    group { name: "elm/colorselector/image/colorbar_1";
34214       images {
34215          image: "color_picker_opacity.png" COMP;
34216       }
34217       parts {
34218          part { name: "colorbar_1_image";
34219             type: IMAGE;
34220             mouse_events: 1;
34221             description { state: "default" 0.0;
34222                rel2.offset: -1 -1;
34223                image.normal: "color_picker_opacity.png";
34224             }
34225          }
34226       }
34227    }
34228
34229    group { name: "elm/colorselector/image/colorbar_2";
34230       images {
34231          image: "color_picker_brightness.png" COMP;
34232       }
34233       parts {
34234          part { name: "colorbar_2_image";
34235             type: IMAGE;
34236             mouse_events: 1;
34237             description { state: "default" 0.0;
34238                rel2.offset: -1 -1;
34239                image.normal: "color_picker_brightness.png";
34240             }
34241          }
34242       }
34243    }
34244
34245    group { name: "elm/colorselector/image/colorbar_3";
34246       images {
34247          image: "color_picker_alpha.png" COMP;
34248       }
34249       parts {
34250          part { name: "colorbar_3_image";
34251             type: IMAGE;
34252             mouse_events: 1;
34253             description { state: "default" 0.0;
34254                rel2.offset: -1 -1;
34255                image.normal: "color_picker_alpha.png";
34256             }
34257          }
34258       }
34259    }
34260
34261    group { name: "elm/colorselector/bg_image/colorbar_3";
34262       images {
34263          image: "color_picker_alpha_bg.png" COMP;
34264       }
34265       parts {
34266          part { name: "colorbar_3_image";
34267             type: IMAGE;
34268             mouse_events: 1;
34269             description { state: "default" 0.0;
34270                rel2.offset: -1 -1;
34271                image.normal: "color_picker_alpha_bg.png";
34272             }
34273          }
34274       }
34275    }
34276
34277    group { name: "elm/colorselector/image/updown";
34278       images {
34279          image: "icon_arrow_down.png" COMP;
34280       }
34281       parts {
34282          part { name: "bg";
34283             type: RECT;
34284             mouse_events: 1;
34285             description { state: "default" 0.0;
34286                color: 0 0 0 0;
34287             }
34288          }
34289          part { name: "arrow_image";
34290             type: IMAGE;
34291             mouse_events: 1;
34292             description { state: "default" 0.0;
34293                image.normal: "icon_arrow_down.png";
34294             }
34295          }
34296       }
34297    }
34298
34299    group { name: "elm/colorselector/button/left";
34300       images {
34301          image: "bt_base1.png" COMP;
34302          image: "bt_shine.png" COMP;
34303          image: "sp_bt_l.png" COMP;
34304       }
34305       parts {
34306          part { name: "button_image";
34307             mouse_events: 1;
34308             description { state: "default" 0.0;
34309                image.normal: "bt_base1.png";
34310                image.border: 6 6 6 6;
34311                image.middle: SOLID;
34312             }
34313
34314             description { state: "clicked" 0.0;
34315                inherit: "default" 0.0;
34316                image.normal: "bt_shine.png";
34317                image.border: 6 6 6 6;
34318                image.middle: SOLID;
34319             }
34320          }
34321          part { name: "btn_over";
34322             type: IMAGE;
34323             mouse_events: 0;
34324             description { state: "default" 0.0;
34325                rel1.to: "button_image";
34326                rel2 {
34327                   relative: 1.0 0.5;
34328                   to: "button_image";
34329                }
34330                image {
34331                   normal: "bt_hilight.png";
34332                   border: 7 7 7 0;
34333                }
34334             }
34335          }
34336          part { name: "btn_over2";
34337             type: IMAGE;
34338             mouse_events: 1;
34339             repeat_events: 1;
34340             ignore_flags: ON_HOLD;
34341             description { state: "default" 0.0;
34342                rel1.to: "button_image";
34343                rel2.to: "button_image";
34344                image {
34345                   normal: "bt_shine.png";
34346                   border: 7 7 7 7;
34347                }
34348             }
34349          }
34350          part { name: "focus_image";
34351             type: IMAGE;
34352             description { state: "default" 0.0;
34353                color: 255 255 255 0;
34354                rel1.to: "button_image";
34355                rel2.to: "button_image";
34356                image {
34357                   normal: "bt_glow.png";
34358                   border: 12 12 12 12;
34359                }
34360                fill.smooth: 0;
34361
34362             }
34363             description { state: "clicked" 0.0;
34364                inherit: "default" 0.0;
34365                visible: 1;
34366                color: 255 255 255 255;
34367             }
34368          }
34369          part { name: "left_arrow";
34370             mouse_events: 1;
34371             description { state: "default" 0.0;
34372                min: 16 16;
34373                max: 16 16;
34374                image.normal: "sp_bt_l.png";
34375             }
34376          }
34377       }
34378
34379       programs {
34380          program {
34381             name:   "button_down";
34382             signal: "elm,state,left,button,down";
34383             source: "left_button";
34384             action: STATE_SET "clicked" 0.0;
34385             target: "button_image";
34386             target: "focus_image";
34387          }
34388          program {
34389             name:   "button_up";
34390             signal: "elm,state,left,button,up";
34391             source: "left_button";
34392             action: STATE_SET "default" 0.0;
34393             target: "button_image";
34394             target: "focus_image";
34395          }
34396       }
34397    }
34398
34399    group { name: "elm/colorselector/button/right";
34400       images {
34401          image: "bt_base1.png" COMP;
34402          image: "bt_shine.png" COMP;
34403          image: "sp_bt_r.png" COMP;
34404       }
34405       parts {
34406          part { name: "button_image";
34407             mouse_events: 1;
34408             description { state: "default" 0.0;
34409                image.normal: "bt_base1.png";
34410                image.border: 6 6 6 6;
34411                image.middle: SOLID;
34412             }
34413
34414             description { state: "clicked" 0.0;
34415                inherit: "default" 0.0;
34416                image.normal: "bt_shine.png";
34417                image.border: 6 6 6 6;
34418                image.middle: SOLID;
34419             }
34420          }
34421          part { name: "btn_over";
34422             type: IMAGE;
34423             mouse_events: 0;
34424             description { state: "default" 0.0;
34425                rel1.to: "button_image";
34426                rel2 {
34427                   relative: 1.0 0.5;
34428                   to: "button_image";
34429                }
34430                image {
34431                   normal: "bt_hilight.png";
34432                   border: 7 7 7 0;
34433                }
34434             }
34435          }
34436          part { name: "btn_over2";
34437             type: IMAGE;
34438             mouse_events: 1;
34439             repeat_events: 1;
34440             ignore_flags: ON_HOLD;
34441             description { state: "default" 0.0;
34442                rel1.to: "button_image";
34443                rel2.to: "button_image";
34444                image {
34445                   normal: "bt_shine.png";
34446                   border: 7 7 7 7;
34447                }
34448             }
34449          }
34450          part { name: "focus_image";
34451             type: IMAGE;
34452             description { state: "default" 0.0;
34453                color: 255 255 255 0;
34454                rel1.to: "button_image";
34455                rel2.to: "button_image";
34456                image {
34457                   normal: "bt_glow.png";
34458                   border: 12 12 12 12;
34459                }
34460                fill.smooth: 0;
34461
34462             }
34463             description { state: "clicked" 0.0;
34464                inherit: "default" 0.0;
34465                visible: 1;
34466                color: 255 255 255 255;
34467             }
34468          }
34469          part { name: "right_arrow";
34470             mouse_events: 1;
34471             description { state: "default" 0.0;
34472                min: 16 16;
34473                max: 16 16;
34474                image.normal: "sp_bt_r.png";
34475             }
34476          }
34477       }
34478
34479       programs {
34480          program {
34481             name:   "button_down";
34482             signal: "elm,state,right,button,down";
34483             source: "right_button";
34484             action: STATE_SET "clicked" 0.0;
34485             target: "button_image";
34486             target: "focus_image";
34487          }
34488          program {
34489             name:   "button_up";
34490             signal: "elm,state,right,button,up";
34491             source: "right_button";
34492             action: STATE_SET "default" 0.0;
34493             target: "button_image";
34494             target: "focus_image";
34495          }
34496       }
34497    }
34498
34499 ///////////////////////////////////////////////////////////////////////////////
34500 #define FLIP_PICKER_MAX_LEN (50)
34501 #define FLIP_PICKER_MAX_LEN_STR "50"
34502
34503    group { name: "elm/flipselector/base/default";
34504       images {
34505          image: "flip_base.png" COMP;
34506          image: "flip_base_shad.png" COMP;
34507          image: "flip_shad.png" COMP;
34508          image: "arrow_up.png" COMP;
34509          image: "arrow_down.png" COMP;
34510          image: "flip_t.png" COMP;
34511          image: "flip_b.png" COMP;
34512       }
34513
34514       data {
34515          item: "max_len" FLIP_PICKER_MAX_LEN_STR;
34516       }
34517
34518       //FIXME: quick successive clicks on, say, up, lead to nastiness
34519       script {
34520          public cur, prev, next, lock;
34521
34522          public animator_bottom_down(val, Float:pos) {
34523             new tmp[FLIP_PICKER_MAX_LEN];
34524
34525             set_tween_state(PART:"bottom", pos, "shrink", 0.0, "default", 0.0);
34526             set_tween_state(PART:"bottom_sheet", pos, "shrink", 0.0, "default",
34527                             0.0);
34528             set_tween_state(PART:"shadow", pos, "half", 0.0, "full",
34529                             0.0);
34530
34531             if (pos >= 1.0) {
34532                set_state(PART:"shadow", "default", 0.0);
34533                set_int(lock, 0);
34534
34535                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34536                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34537                   replace_str(next, 0, "");
34538                   message(MSG_STRING, 1, tmp);
34539                }
34540             }
34541          }
34542
34543          public animator_top_down(val, Float:pos) {
34544             set_tween_state(PART:"top", pos, "default", 0.0, "shrink", 0.0);
34545             set_tween_state(PART:"top_sheet", pos, "default", 0.0, "shrink",
34546                             0.0);
34547             set_tween_state(PART:"shadow", pos, "default", 0.0, "half",
34548                             0.0);
34549
34550             if (pos >= 1.0)
34551                anim(0.2, "animator_bottom_down", val);
34552          }
34553
34554          public animator_bottom_up(val, Float:pos) {
34555             set_tween_state(PART:"bottom", pos, "default", 0.0, "shrink", 0.0);
34556             set_tween_state(PART:"bottom_sheet", pos, "default", 0.0, "shrink",
34557                             0.0);
34558             set_tween_state(PART:"shadow", pos, "full", 0.0, "half",
34559                             0.0);
34560
34561             if (pos >= 1.0)
34562                anim(0.2, "animator_top_up", val);
34563          }
34564
34565          public animator_top_up(val, Float:pos) {
34566             new tmp[FLIP_PICKER_MAX_LEN];
34567
34568             set_tween_state(PART:"top", pos, "shrink", 0.0, "default", 0.0);
34569             set_tween_state(PART:"top_sheet", pos, "shrink", 0.0, "default",
34570                             0.0);
34571             set_tween_state(PART:"shadow", pos, "half", 0.0, "default",
34572                             0.0);
34573
34574             if (pos >= 1.0) {
34575                set_state(PART:"shadow", "default", 0.0);
34576                set_int(lock, 0);
34577
34578                fetch_str(next, 0, tmp, FLIP_PICKER_MAX_LEN);
34579                if (strncmp(tmp, "", FLIP_PICKER_MAX_LEN) != 0) {
34580                   replace_str(next, 0, "");
34581                   message(MSG_STRING, 2, tmp);
34582                }
34583             }
34584          }
34585
34586          public message(Msg_Type:type, id, ...) {
34587             /* flip down */
34588             if ((type == MSG_STRING) && (id == 1)) {
34589                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34590
34591                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34592
34593                if (get_int(lock) == 1) {
34594                   replace_str(next, 0, value);
34595                   return;
34596                }
34597
34598                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34599
34600                set_text(PART:"bottom_b", tmp);
34601
34602                set_state(PART:"top", "shrink", 0.0);
34603                set_text(PART:"top", tmp);
34604                set_state(PART:"top", "default", 0.0);
34605                set_text(PART:"top", tmp);
34606
34607                replace_str(prev, 0, tmp);
34608
34609                set_state(PART:"bottom", "default", 0.0);
34610                set_text(PART:"bottom", value);
34611                set_state(PART:"bottom", "shrink", 0.0);
34612                set_text(PART:"bottom", value);
34613
34614                set_text(PART:"top_b", value);
34615
34616                replace_str(cur, 0, value);
34617
34618                set_state(PART:"bottom_sheet", "shrink", 0.0);
34619                set_state(PART:"top_sheet", "default", 0.0);
34620
34621                set_int(lock, 1);
34622                set_state(PART:"shadow", "default", 0.0);
34623                anim(0.2, "animator_top_down", 1);
34624             }
34625
34626             /* flip up */
34627             if ((type == MSG_STRING) && (id == 2)) {
34628                new value[FLIP_PICKER_MAX_LEN], tmp[FLIP_PICKER_MAX_LEN];
34629
34630                snprintf(value, FLIP_PICKER_MAX_LEN, "%s", getarg(2));
34631
34632                if (get_int(lock) == 1) {
34633                   replace_str(next, 0, value);
34634                   return;
34635                }
34636
34637                fetch_str(cur, 0, tmp, FLIP_PICKER_MAX_LEN);
34638
34639                set_text(PART:"top_b", tmp);
34640
34641                set_state(PART:"bottom", "shrink", 0.0);
34642                set_text(PART:"bottom", tmp);
34643                set_state(PART:"bottom", "default", 0.0);
34644                set_text(PART:"bottom", tmp);
34645
34646                replace_str(prev, 0, tmp);
34647
34648                set_state(PART:"top", "default", 0.0);
34649                set_text(PART:"top", value);
34650                set_state(PART:"top", "shrink", 0.0);
34651                set_text(PART:"top", value);
34652
34653                set_text(PART:"bottom_b", value);
34654
34655                replace_str(cur, 0, value);
34656
34657                set_state(PART:"bottom_sheet", "default", 0.0);
34658                set_state(PART:"top_sheet", "shrink", 0.0);
34659
34660                set_int(lock, 1);
34661                set_state(PART:"shadow", "full", 0.0);
34662                anim(0.2, "animator_bottom_up", 1);
34663             }
34664          }
34665       }
34666
34667       parts {
34668          part { name: "shad";
34669             mouse_events: 0;
34670             description { state: "default" 0.0;
34671                rel1.offset: -4 -4;
34672                rel1.to: "base";
34673                rel2.offset: 3 3;
34674                rel2.to: "base";
34675                image {
34676                   normal: "flip_base_shad.png";
34677                   border: 8 8 8 8;
34678                }
34679             }
34680          }
34681
34682          part { name: "base";
34683             scale: 1;
34684             description { state: "default" 0.0;
34685                rel1.offset: 4 4;
34686                rel2.offset: -5 -5;
34687                min: 24 48;
34688                image.normal: "flip_base.png";
34689             }
34690          }
34691
34692          part { name: "b";
34693             type: RECT;
34694             mouse_events: 1;
34695             description { state: "default" 0.0;
34696                rel1.to: "base";
34697                rel1.relative: 0.0 0.5;
34698                rel2.to: "base";
34699                color: 0 0 0 0;
34700             }
34701             description { state: "hidden" 0.0;
34702                inherit: "default" 0.0;
34703                visible: 0;
34704             }
34705          }
34706
34707          part { name: "t";
34708             type: RECT;
34709             mouse_events: 1;
34710             description { state: "default" 0.0;
34711                rel1.to: "base";
34712                rel2.to: "base";
34713                rel2.relative: 1.0 0.5;
34714                color: 0 0 0 0;
34715             }
34716             description { state: "hidden" 0.0;
34717                inherit: "default" 0.0;
34718                visible: 0;
34719             }
34720          }
34721
34722          part { name: "bottom_sheet_static";
34723             mouse_events: 0;
34724             description { state: "default" 0.0;
34725                visible: 1;
34726                rel1.to: "b";
34727                rel2.to: "b";
34728                image.normal: "flip_b.png";
34729             }
34730          }
34731
34732          part { name: "bottom_b";
34733             mouse_events: 0;
34734             clip_to: "bottom_clipper";
34735             type: TEXT;
34736             scale: 1;
34737             description { state: "default" 0.0;
34738                rel1.to: "base";
34739                rel2.to: "base";
34740                color: 0 0 0 255;
34741                color2: 0 0 0 255;
34742                text {
34743                   font: "Sans:style=Bold,Edje-Vera-Bold";
34744                   size: 30;
34745                   min: 1 1;
34746                   align: 0.5 0.5;
34747                }
34748             }
34749          }
34750
34751          part { name: "shadow";
34752             mouse_events: 0;
34753             description { state: "default" 0.0;
34754                rel1.to: "b";
34755                rel2.to: "b";
34756                rel2.relative: 1.0 0.0;
34757                image.normal: "flip_shad.png";
34758             }
34759             description { state: "half" 0.0;
34760                inherit: "default" 0.0;
34761                rel2.relative: 1.0 0.5;
34762             }
34763             description { state: "full" 0.0;
34764                inherit: "default" 0.0;
34765                rel2.relative: 1.0 1.0;
34766             }
34767          }
34768
34769          part { name: "bottom_sheet";
34770             mouse_events: 0;
34771             description { state: "default" 0.0;
34772                visible: 1;
34773                rel1.to: "b";
34774                rel2.to: "b";
34775                image.normal: "flip_b.png";
34776             }
34777             description { state: "shrink" 0.0;
34778                inherit: "default" 0.0;
34779                visible: 0;
34780                rel2.relative: 1.0 0.0;
34781             }
34782          }
34783
34784          part { name: "bottom";
34785             mouse_events: 0;
34786             clip_to: "bottom_clipper";
34787             type: TEXT;
34788             scale: 1;
34789             description { state: "default" 0.0;
34790                rel1.to: "base";
34791                rel2.to: "base";
34792                color: 0 0 0 255;
34793                color2: 0 0 0 255;
34794                text {
34795                   font: "Sans:style=Bold,Edje-Vera-Bold";
34796                   size: 30;
34797                   min: 1 1;
34798                   align: 0.5 0.5;
34799                }
34800             }
34801             description { state: "shrink" 0.0;
34802                inherit: "default" 0.0;
34803                color: 128 128 128 255;
34804                visible: 0;
34805                rel2.relative: 1.0 0.5; /* FIXME: same visual effect? --> MAP! */
34806             }
34807          }
34808
34809          part { name: "top_sheet_static";
34810             mouse_events: 0;
34811             description { state: "default" 0.0;
34812                visible: 1;
34813                rel1.to: "t";
34814                rel2.to: "t";
34815                image.normal: "flip_t.png";
34816             }
34817          }
34818
34819          part { name: "top_b";
34820             mouse_events: 0;
34821             clip_to: "top_clipper";
34822             type: TEXT;
34823             scale: 1;
34824             description { state: "default" 0.0;
34825                rel1.to: "base";
34826                rel2.to: "base";
34827                color: 0 0 0 255;
34828                color2: 0 0 0 255;
34829                text {
34830                   font: "Sans:style=Bold,Edje-Vera-Bold";
34831                   size: 30;
34832                   min: 1 1;
34833                   align: 0.5 0.5;
34834                   source: "top";
34835                }
34836             }
34837          }
34838
34839          part { name: "top_sheet";
34840             mouse_events: 0;
34841             description { state: "default" 0.0;
34842                visible: 1;
34843                rel1.to: "t";
34844                rel2.to: "t";
34845                image.normal: "flip_t.png";
34846             }
34847             description { state: "shrink" 0.0;
34848                inherit: "default" 0.0;
34849                color: 128 128 128 255;
34850                visible: 0;
34851                rel1.relative: 0.0 1.0;
34852             }
34853          }
34854
34855          part { name: "top";
34856             mouse_events: 0;
34857             clip_to: "top_clipper";
34858             type: TEXT;
34859             scale: 1;
34860             description { state: "default" 0.0;
34861                rel1.to: "base";
34862                rel2.to: "base";
34863                color: 0 0 0 255;
34864                color2: 0 0 0 255;
34865                text {
34866                   font: "Sans:style=Bold,Edje-Vera-Bold";
34867                   size: 30;
34868                   min: 1 1;
34869                   align: 0.5 0.5;
34870                }
34871             }
34872             description { state: "shrink" 0.0;
34873                inherit: "default" 0.0;
34874                visible: 0;
34875                rel1.relative: 0.0 0.5;
34876             }
34877          }
34878
34879          part { name: "arrow_top";
34880             mouse_events: 0;
34881             scale: 1;
34882             description { state: "default" 0.0;
34883                min: 15 15;
34884                max: 15 15;
34885                align: 0.5 0.0;
34886                rel1.to: "t";
34887                rel2.to: "t";
34888                image.normal: "arrow_up.png";
34889             }
34890             description { state: "hidden" 0.0;
34891                inherit: "default" 0.0;
34892                visible: 0;
34893             }
34894          }
34895          part { name: "arrow_bottom";
34896             mouse_events: 0;
34897             scale: 1;
34898             description { state: "default" 0.0;
34899                min: 15 15;
34900                max: 15 15;
34901                align: 0.5 1.0;
34902                rel1.to: "b";
34903                rel2.to: "b";
34904                image.normal: "arrow_down.png";
34905             }
34906             description { state: "hidden" 0.0;
34907                inherit: "default" 0.0;
34908                visible: 0;
34909             }
34910          }
34911
34912          part {
34913             type: RECT;
34914             mouse_events: 0;
34915             name: "top_clipper";
34916             description {
34917                state: "default" 0.0;
34918                rel1.to: "t";
34919                rel2.to: "t";
34920                visible: 1;
34921             }
34922          }
34923
34924          part {
34925             type: RECT;
34926             mouse_events: 0;
34927             name: "bottom_clipper";
34928             description {
34929                state: "default" 0.0;
34930                rel1.to: "b";
34931                rel2.to: "b";
34932                visible: 1;
34933             }
34934          }
34935       }
34936
34937       programs {
34938          program { name: "load";
34939             signal: "load";
34940             source: "";
34941             script {
34942                append_str(cur, "");
34943                append_str(prev, "");
34944                append_str(next, "");
34945                set_int(lock, 0);
34946             }
34947          }
34948
34949          program { name: "hide_arrows";
34950             signal: "elm,state,button,hidden";
34951             source: "elm";
34952             action: STATE_SET "hidden" 0.0;
34953             target: "arrow_top";
34954             target: "arrow_bottom";
34955             target: "t";
34956             target: "b";
34957          }
34958
34959          program { name: "show_arrows";
34960             signal: "elm,state,button,visible";
34961             source: "elm";
34962             action: STATE_SET "default" 0.0;
34963             target: "arrow_top";
34964             target: "arrow_bottom";
34965             target: "t";
34966             target: "b";
34967          }
34968
34969          program { name: "up";
34970             signal: "mouse,down,1";
34971             source: "t";
34972             action: SIGNAL_EMIT "elm,action,up,start" "";
34973          }
34974          program { name: "up,stop";
34975             signal: "mouse,up,1";
34976             source: "t";
34977             action: SIGNAL_EMIT "elm,action,up,stop" "";
34978          }
34979          program { name: "down";
34980             signal: "mouse,down,1";
34981             source: "b";
34982             action: SIGNAL_EMIT "elm,action,down,start" "";
34983          }
34984          program { name: "down,stop";
34985             signal: "mouse,up,1";
34986             source: "b";
34987             action: SIGNAL_EMIT "elm,action,down,stop" "";
34988          }
34989       }
34990    }
34991
34992 ////////////////////////////////////////////////////////////////////////////////
34993 // diskselector
34994 ////////////////////////////////////////////////////////////////////////////////
34995    group { name: "elm/diskselector/base/default";
34996       images {
34997          image: "bar_shine.png" COMP;
34998       }
34999
35000       parts {
35001          part { name: "bg";
35002             type: RECT;
35003             mouse_events: 0;
35004             description { state: "default" 0.0;
35005                color: 0 0 0 255;
35006             }
35007          }
35008          part { name: "shine_left";
35009             mouse_events:  0;
35010             description { state: "default" 0.0;
35011                rel1.to: "bg";
35012                rel1.relative: -0.1 0;
35013                rel2.to: "bg";
35014                rel2.relative: 0.1 1;
35015                image.normal: "bar_shine.png";
35016                color: 255 255 255 120;
35017             }
35018          }
35019          part { name: "shine_center";
35020             mouse_events:  0;
35021             description { state: "default" 0.0;
35022                rel1.to: "bg";
35023                rel1.relative: 0.2 0;
35024                rel2.to: "bg";
35025                rel2.relative: 0.8 1;
35026                image.normal: "bar_shine.png";
35027                color: 255 255 255 180;
35028             }
35029          }
35030          part { name: "shine_right";
35031             mouse_events:  0;
35032             description { state: "default" 0.0;
35033                rel1.to: "bg";
35034                rel1.relative: 0.9 0;
35035                rel2.to: "bg";
35036                rel2.relative: 1.1 1;
35037                image.normal: "bar_shine.png";
35038                color: 255 255 255 120;
35039             }
35040          }
35041          part { name: "clipper";
35042             type: RECT;
35043             mouse_events: 0;
35044             description { state: "default" 0.0;
35045                rel1.to: "bg";
35046                rel2.to: "bg";
35047                rel1.offset: 2 2;
35048                rel2.offset: -3 -3;
35049             }
35050          }
35051          part { name: "elm.swallow.content";
35052             clip_to: "clipper";
35053             type: SWALLOW;
35054             description { state: "default" 0.0;
35055                rel1.to: "bg";
35056                rel2.to: "bg";
35057             }
35058          }
35059       }
35060    }
35061
35062    group { name: "elm/diskselector/item/default";
35063
35064       data {
35065          item: "len_threshold" "14";
35066       }
35067
35068       parts {
35069          part { name: "elm.swallow.icon";
35070             type: SWALLOW;
35071             description { state: "default" 0.0;
35072                fixed: 1 0;
35073                align: 0.0 0.5;
35074                rel1 {
35075                   relative: 0 0;
35076                   offset: 4 4;
35077                }
35078                rel2 {
35079                   relative: 0 1;
35080                   offset: 4 -5;
35081                }
35082             }
35083             description { state: "show" 0.0;
35084                inherit: "default" 0.0;
35085             }
35086             description { state: "default_small" 0.0;
35087                inherit: "default" 0.0;
35088                rel1.relative: 0 0.2;
35089                rel2.relative: 0 0.8;
35090             }
35091             description { state: "left_side" 0.0;
35092                inherit: "default" 0.0;
35093                rel1.relative: 0 0.2;
35094                rel2.relative: 0 0.8;
35095                color: 255 255 255 160;
35096             }
35097             description { state: "right_side" 0.0;
35098                inherit: "left_side" 0.0;
35099                rel1.relative: 0.4 0.2;
35100                rel2.relative: 0.4 0.8;
35101                color: 255 255 255 160;
35102             }
35103          }
35104          part { name: "elm.text";
35105             type: TEXT;
35106             mouse_events: 0;
35107             scale: 1;
35108             description { state: "default" 0.0;
35109                rel1.relative: 1 0.0;
35110                rel1.to_x: "elm.swallow.icon";
35111                rel2.relative: 1.0 1.0;
35112                color: 255 255 255 255;
35113                visible: 0;
35114                text {
35115                   font: "Sans,Edje-Vera";
35116                   size: 13;
35117                   align: 0.5 0.5;
35118                   min: 0 1;
35119                }
35120             }
35121             description { state: "show" 0.0;
35122                inherit: "default" 0.0;
35123                visible: 1;
35124             }
35125             description { state: "default_small" 0.0;
35126                inherit: "default" 0.0;
35127                visible: 1;
35128                text.size: 10;
35129             }
35130             description { state: "left_side" 0.0;
35131                inherit: "default" 0.0;
35132                color: 172 172 172 255;
35133                text.size: 10;
35134                visible: 1;
35135                text.align: 0.2 0.5;
35136             }
35137             description { state: "right_side" 0.0;
35138                inherit: "default" 0.0;
35139                color: 172 172 172 255;
35140                visible: 1;
35141                text.size: 10;
35142                text.align: 0.8 0.5;
35143             }
35144          }
35145       }
35146
35147       programs {
35148          program { name: "center_text";
35149             signal: "elm,state,center";
35150             source: "elm";
35151             action: STATE_SET "show" 0.0;
35152             target: "elm.text";
35153             target: "elm.swallow.icon";
35154          }
35155          program { name: "center_small_text";
35156             signal: "elm,state,center_small";
35157             source: "elm";
35158             action: STATE_SET "default_small" 0.0;
35159             target: "elm.text";
35160             target: "elm.swallow.icon";
35161          }
35162          program { name: "l_side_text";
35163             signal: "elm,state,left_side";
35164             source: "elm";
35165             action: STATE_SET "left_side" 0.0;
35166             target: "elm.text";
35167             target: "elm.swallow.icon";
35168          }
35169          program { name: "r_side_text";
35170             signal: "elm,state,right_side";
35171             source: "elm";
35172             action: STATE_SET "right_side" 0.0;
35173             target: "elm.text";
35174             target: "elm.swallow.icon";
35175          }
35176       }
35177    }
35178
35179    group { name: "elm/entry/path/separator/default";
35180       images.image: "arrow_right.png" COMP;
35181       parts {
35182          part { name: "icon";
35183             mouse_events: 0;
35184             description { state: "default" 0.0;
35185                image.normal: "arrow_right.png";
35186                max: 64 64;
35187                aspect: 1.0 1.0;
35188             }
35189          }
35190       }
35191    }
35192
35193    group { name: "elm/fileselector/base/default";
35194       data {
35195          item: "path_separator" "<item relsize=16x16 vsize=full href=path/separator></item>";
35196       }
35197       parts {
35198          part { name: "elm.swallow.up";
35199             type: SWALLOW;
35200             description { state: "default" 0.0;
35201                align: 0.0 0.0;
35202                min: 10 10;
35203                fixed: 1 1;
35204                rel2 {
35205                   relative: 0.0 0.0;
35206                   offset: 0 0;
35207                }
35208             }
35209          }
35210          part { name: "elm.swallow.home";
35211             type: SWALLOW;
35212             description { state: "default" 0.0;
35213                align: 0.0 0.0;
35214                min: 10 10;
35215                fixed: 1 1;
35216                rel1 {
35217                   to: "elm.swallow.up";
35218                   relative: 1.0 0.0;
35219                   offset: 5 0;
35220                }
35221                rel2 {
35222                   to: "elm.swallow.up";
35223                   relative: 1.0 1.0;
35224                   offset: 20 -1;
35225                }
35226             }
35227          }
35228          part { name: "elm.swallow.files";
35229             type: SWALLOW;
35230             description { state: "default" 0.0;
35231                align: 1.0 0.0;
35232                min: 10 10;
35233                fixed: 1 1;
35234                rel1 {
35235                   to_y: "elm.swallow.home";
35236                   relative: 0.0 1.0;
35237                   offset: 0 0;
35238                }
35239                rel2 {
35240                   to_y: "elm.swallow.path";
35241                   relative: 1.0 0.0;
35242                   offset: -1 -1;
35243                }
35244             }
35245          }
35246          part { name: "elm.swallow.path";
35247             type: SWALLOW;
35248             description { state: "default" 0.0;
35249                align: 0.5 1.0;
35250                fixed: 1 1;
35251                rel1 {
35252                   to_y: "elm.swallow.filename";
35253                   relative: 0.0 0.0;
35254                   offset: 0 -1;
35255                }
35256                rel2 {
35257                   to_y: "elm.swallow.filename";
35258                   relative: 1.0 0.0;
35259                   offset: -1 -1;
35260                }
35261             }
35262          }
35263          part { name: "elm.swallow.filename";
35264             type: SWALLOW;
35265             description { state: "default" 0.0;
35266                align: 0.5 1.0;
35267                fixed: 1 1;
35268                rel1 {
35269                   to_y: "elm.swallow.ok";
35270                   relative: 0.0 0.0;
35271                   offset: 0 -1;
35272                }
35273                rel2 {
35274                   to_y: "elm.swallow.ok";
35275                   relative: 1.0 0.0;
35276                   offset: -1 -1;
35277                }
35278             }
35279          }
35280          part { name: "elm.swallow.cancel";
35281             type: SWALLOW;
35282             description { state: "default" 0.0;
35283                align: 1.0 1.0;
35284                fixed: 1 1;
35285                rel1 {
35286                   to: "elm.swallow.ok";
35287                   relative: 0.0 0.0;
35288                   offset: -3 0;
35289                }
35290                rel2 {
35291                   to: "elm.swallow.ok";
35292                   relative: 0.0 1.0;
35293                   offset: -3 -1;
35294                }
35295             }
35296          }
35297          part { name: "elm.swallow.ok";
35298             type: SWALLOW;
35299             description { state: "default" 0.0;
35300                align: 1.0 1.0;
35301                fixed: 1 1;
35302                rel1 {
35303                   relative: 1.0 1.0;
35304                   offset: -1 -1;
35305                }
35306             }
35307          }
35308       }
35309    }
35310
35311    group { name: "elm/fileselector_entry/base/default";
35312       parts {
35313          part { name: "elm.swallow.entry";
35314             type: SWALLOW;
35315             description { state: "default" 0.0;
35316                align: 0.0 0.0;
35317                min: 50 10;
35318                rel2 { to_x: "elm.swallow.button";
35319                   relative: 0.0 1.0;
35320                   offset: -1 -1;
35321                }
35322             }
35323          }
35324          part { name: "elm.swallow.button";
35325             type: SWALLOW;
35326             description { state: "default" 0.0;
35327                align: 1.0 0.0;
35328                min: 10 10;
35329                fixed: 1 1;
35330                rel1 {
35331                   relative: 1.0 0.0;
35332                   offset: -21 0;
35333                }
35334             }
35335          }
35336       }
35337    }
35338
35339 ////////////////////////////////////////////////////////////////////////
35340 // Standard layouts to be used                                        //
35341 ////////////////////////////////////////////////////////////////////////
35342    /* application with toolbar and main content area */
35343    group { name: "elm/layout/application/toolbar-content";
35344       parts {
35345          part { name: "elm.swallow.content";
35346             type: SWALLOW;
35347             description { state: "default" 0.0;
35348                rel1 { to_y: "elm.external.toolbar";
35349                   relative: 0.0 1.0;
35350                   offset: -1 1;
35351                }
35352             }
35353          }
35354
35355          part { name: "elm.external.toolbar";
35356             type: EXTERNAL;
35357             source: "elm/toolbar";
35358             description { state: "default" 0.0;
35359                align: 0.5 0.0;
35360                fixed: 0 1;
35361                rel2 {
35362                   relative: 1.0 0.0;
35363                   offset: -1 47;
35364                }
35365             }
35366          }
35367       }
35368    }
35369
35370    /* application with toolbar and main content area with a back button and title area */
35371    group { name: "elm/layout/application/toolbar-content-back";
35372       parts {
35373          part { name: "elm.swallow.content";
35374             type: SWALLOW;
35375             description { state: "default" 0.0;
35376                rel1 { to_y: "title_clipper";
35377                   relative: 0.0 1.0;
35378                   offset: -1 1;
35379                }
35380             }
35381          }
35382
35383          part { name: "elm.external.toolbar";
35384             type: EXTERNAL;
35385             source: "elm/toolbar";
35386             description { state: "default" 0.0;
35387                fixed: 0 1;
35388                align: 0.5 0.0;
35389                rel2 {
35390                   relative: 1.0 0.0;
35391                   offset: -1 47;
35392                }
35393             }
35394          }
35395          part { name: "title_clipper";
35396             type: RECT;
35397             description { state: "default" 0.0;
35398                visible: 1;
35399                rel1 {
35400                   to_y: "back";
35401                }
35402                rel2 {
35403                   to_y: "back";
35404                }
35405             }
35406             description { state: "hidden" 0.0;
35407                inherit: "default" 0.0;
35408                visible: 0;
35409                rel2 {
35410                   relative: 1.0 0.0;
35411                }
35412             }
35413          }
35414          part { name: "back_clipper";
35415             type: RECT;
35416             clip_to: "title_clipper";
35417             description { state: "default" 0.0;
35418                visible: 1;
35419             }
35420             description { state: "hidden" 0.0;
35421                visible: 0;
35422             }
35423          }
35424          part { name: "back";
35425             type: EXTERNAL;
35426             source: "elm/button";
35427             clip_to: "back_clipper";
35428             description { state: "default" 0.0;
35429                align: 0.0 0.0;
35430                fixed: 1 1;
35431                rel1 { to_y: "elm.external.toolbar";
35432                   relative: 0.0 1.0;
35433                   offset: 0 1;
35434                }
35435                rel2 { to_y: "elm.external.toolbar";
35436                   relative: 0.0 1.0;
35437                   offset: 50 32;
35438                }
35439                params.string: "label" "Back";
35440             }
35441          }
35442          programs {
35443             program {
35444                signal: "clicked";
35445                source: "back";
35446                action: SIGNAL_EMIT "elm,action,back" "";
35447             }
35448             program {
35449                signal: "elm,back,hide";
35450                source: "elm";
35451                action: STATE_SET "hidden" 0.0;
35452                target: "back_clipper";
35453             }
35454             program {
35455                signal: "elm,back,show";
35456                source: "elm";
35457                action: STATE_SET "default" 0.0;
35458                target: "back_clipper";
35459             }
35460             program {
35461                signal: "elm,title,hide";
35462                source: "elm";
35463                action: STATE_SET "hidden" 0.0;
35464                transition: LINEAR 0.1;
35465                target: "title_clipper";
35466             }
35467             program {
35468                signal: "elm,title,show";
35469                source: "elm";
35470                action: STATE_SET "default" 0.0;
35471                target: "title_clipper";
35472             }
35473          }
35474
35475          part { name: "elm.swallow.end";
35476             type: SWALLOW;
35477             description { state: "default" 0.0;
35478                align: 1.0 0.0;
35479                fixed: 1 1;
35480                rel1 { to_y: "elm.external.toolbar";
35481                   relative: 1.0 1.0;
35482                   offset: -2 1;
35483                }
35484                rel2 { to_y: "elm.external.toolbar";
35485                   relative: 1.0 1.0;
35486                   offset: -1 32;
35487                }
35488             }
35489          }
35490
35491          part { name: "elm.text.title";
35492             type: TEXT;
35493             effect: SOFT_SHADOW;
35494             scale: 1;
35495             description { state: "default" 0.0;
35496                rel1 { to_y: "elm.external.toolbar";
35497                   to_x: "back";
35498                   relative: 1.0 1.0;
35499                   offset: 2 1;
35500                }
35501                rel2 { to_y: "back";
35502                   to_x: "elm.swallow.end";
35503                   relative: 0.0 1.0;
35504                   offset: -3 -1;
35505                }
35506                text {
35507                   font: "Sans:style=Bold";
35508                   size: 12;
35509                }
35510             }
35511          }
35512       }
35513    }
35514
35515    /* application with toolbar and main content area with a back and next buttons and title area */
35516    group { name: "elm/layout/application/toolbar-content-back-next";
35517       parts {
35518          part { name: "elm.swallow.content";
35519             type: SWALLOW;
35520             description { state: "default" 0.0;
35521                rel1 { to_y: "title_clipper";
35522                   relative: 0.0 1.0;
35523                   offset: -1 1;
35524                }
35525             }
35526          }
35527
35528          part { name: "elm.external.toolbar";
35529             type: EXTERNAL;
35530             source: "elm/toolbar";
35531             description { state: "default" 0.0;
35532                fixed: 0 1;
35533                align: 0.5 0.0;
35534                rel2 {
35535                   relative: 1.0 0.0;
35536                   offset: -1 47;
35537                }
35538             }
35539          }
35540          part { name: "title_clipper";
35541             type: RECT;
35542             description { state: "default" 0.0;
35543                visible: 1;
35544                rel1 {
35545                   to_y: "back";
35546                }
35547                rel2 {
35548                   to_y: "back";
35549                }
35550             }
35551             description { state: "hidden" 0.0;
35552                inherit: "default" 0.0;
35553                visible: 0;
35554                rel2 {
35555                   relative: 1.0 0.0;
35556                }
35557             }
35558          }
35559          part { name: "back";
35560             type: EXTERNAL;
35561             source: "elm/button";
35562             clip_to: "back_clipper";
35563             description { state: "default" 0.0;
35564                align: 0.0 0.0;
35565                fixed: 1 1;
35566                rel1 { to_y: "elm.external.toolbar";
35567                   relative: 0.0 1.0;
35568                   offset: 0 1;
35569                }
35570                rel2 { to_y: "elm.external.toolbar";
35571                   relative: 0.0 1.0;
35572                   offset: 50 32;
35573                }
35574                params.string: "label" "Back";
35575             }
35576          }
35577          part { name: "back_clipper";
35578             type: RECT;
35579             clip_to: "title_clipper";
35580             description { state: "default" 0.0;
35581                visible: 1;
35582             }
35583             description { state: "hidden" 0.0;
35584                visible: 0;
35585             }
35586          }
35587          part { name: "next";
35588             type: EXTERNAL;
35589             source: "elm/button";
35590             clip_to: "next_clipper";
35591             description { state: "default" 0.0;
35592                align: 1.0 0.0;
35593                fixed: 1 1;
35594                rel1 { to_y: "elm.external.toolbar";
35595                   relative: 1.0 1.0;
35596                   offset: -2 1;
35597                }
35598                rel2 { to_y: "elm.external.toolbar";
35599                   relative: 1.0 1.0;
35600                   offset: -1 32;
35601                }
35602                params.string: "label" "Next";
35603            }
35604          }
35605          part { name: "next_clipper";
35606             type: RECT;
35607             clip_to: "title_clipper";
35608             description { state: "default" 0.0;
35609                visible: 1;
35610             }
35611             description { state: "hidden" 0.0;
35612                visible: 0;
35613             }
35614          }
35615          programs {
35616             program {
35617                signal: "clicked";
35618                source: "back";
35619                action: SIGNAL_EMIT "elm,action,back" "";
35620             }
35621             program {
35622                signal: "elm,title,hide";
35623                source: "elm";
35624                action: STATE_SET "hidden" 0.0;
35625                transition: LINEAR 0.1;
35626                target: "title_clipper";
35627             }
35628             program {
35629                signal: "elm,title,show";
35630                source: "elm";
35631                action: STATE_SET "default" 0.0;
35632                target: "title_clipper";
35633             }
35634             program {
35635                signal: "elm,back,hide";
35636                source: "elm";
35637                action: STATE_SET "hidden" 0.0;
35638                target: "back_clipper";
35639             }
35640             program {
35641                signal: "elm,back,show";
35642                source: "elm";
35643                action: STATE_SET "default" 0.0;
35644                target: "back_clipper";
35645             }
35646             program {
35647                signal: "clicked";
35648                source: "next";
35649                action: SIGNAL_EMIT "elm,action,next" "";
35650             }
35651             program {
35652                signal: "elm,next,hide";
35653                source: "elm";
35654                action: STATE_SET "hidden" 0.0;
35655                target: "next_clipper";
35656             }
35657             program {
35658                signal: "elm,next,show";
35659                source: "elm";
35660                action: STATE_SET "default" 0.0;
35661                target: "next_clipper";
35662             }
35663          }
35664          part { name: "elm.text.title";
35665             type: TEXT;
35666             effect: SOFT_SHADOW;
35667             scale: 1;
35668             clip_to: "title_clipper";
35669             description { state: "default" 0.0;
35670                rel1 { to_y: "elm.external.toolbar";
35671                   to_x: "back";
35672                   relative: 1.0 1.0;
35673                   offset: 2 1;
35674                }
35675                rel2 { to_y: "back";
35676                   to_x: "next";
35677                   relative: 0.0 1.0;
35678                   offset: -3 -1;
35679                }
35680                text {
35681                   font: "Sans:style=Bold";
35682                   size: 12;
35683                }
35684             }
35685          }
35686       }
35687    }
35688    /* application with a main content area with a back button and title area */
35689    group { name: "elm/layout/application/content-back";
35690       parts {
35691          part { name: "elm.swallow.content";
35692             type: SWALLOW;
35693             description { state: "default" 0.0;
35694                rel1 { to_y: "title_clipper";
35695                   relative: 0.0 1.0;
35696                   offset: -1 1;
35697                }
35698             }
35699          }
35700          part { name: "title_clipper";
35701             type: RECT;
35702             description { state: "default" 0.0;
35703                visible: 1;
35704                rel1 {
35705                   to_y: "back";
35706                }
35707                rel2 {
35708                   to_y: "back";
35709                }
35710             }
35711             description { state: "hidden" 0.0;
35712                inherit: "default" 0.0;
35713                visible: 0;
35714                rel2 {
35715                   relative: 1.0 0.0;
35716                }
35717             }
35718          }
35719          part { name: "back_clipper";
35720             type: RECT;
35721             clip_to: "title_clipper";
35722             description { state: "default" 0.0;
35723                visible: 1;
35724             }
35725             description { state: "hidden" 0.0;
35726                visible: 0;
35727             }
35728          }
35729          part { name: "back";
35730             type: EXTERNAL;
35731             source: "elm/button";
35732             clip_to: "back_clipper";
35733             description { state: "default" 0.0;
35734                align: 0.0 0.0;
35735                fixed: 1 1;
35736                rel1 {
35737                   relative: 0.0 0.0;
35738                   offset: 0 1;
35739                }
35740                rel2 {
35741                   relative: 0.0 0.0;
35742                   offset: 50 32;
35743                }
35744                params.string: "label" "Back";
35745             }
35746          }
35747          programs {
35748             program {
35749                signal: "clicked";
35750                source: "back";
35751                action: SIGNAL_EMIT "elm,action,back" "";
35752             }
35753             program {
35754                signal: "elm,back,hide";
35755                source: "elm";
35756                action: STATE_SET "hidden" 0.0;
35757                target: "back_clipper";
35758             }
35759             program {
35760                signal: "elm,back,show";
35761                source: "elm";
35762                action: STATE_SET "default" 0.0;
35763                target: "back_clipper";
35764             }
35765             program {
35766                signal: "elm,title,hide";
35767                source: "elm";
35768                action: STATE_SET "hidden" 0.0;
35769                transition: LINEAR 0.1;
35770                target: "title_clipper";
35771             }
35772             program {
35773                signal: "elm,title,show";
35774                source: "elm";
35775                action: STATE_SET "default" 0.0;
35776                target: "title_clipper";
35777             }
35778          }
35779
35780          part { name: "elm.swallow.end";
35781             type: SWALLOW;
35782             description { state: "default" 0.0;
35783                align: 1.0 0.0;
35784                fixed: 1 1;
35785                rel1 {
35786                   relative: 1.0 0.0;
35787                   offset: -2 1;
35788                }
35789                rel2 {
35790                   relative: 1.0 1.0;
35791                   offset: -1 32;
35792                }
35793             }
35794          }
35795
35796          part { name: "elm.text.title";
35797             type: TEXT;
35798             effect: SOFT_SHADOW;
35799             scale: 1;
35800             description { state: "default" 0.0;
35801                rel1 {
35802                   to_x: "back";
35803                   relative: 1.0 0.0;
35804                   offset: 2 1;
35805                }
35806                rel2 { to_y: "back";
35807                   to_x: "elm.swallow.end";
35808                   relative: 0.0 1.0;
35809                   offset: -3 -1;
35810                }
35811                text {
35812                   font: "Sans:style=Bold";
35813                   size: 12;
35814                }
35815             }
35816          }
35817       }
35818    }
35819
35820    /* application with a main content area with a back and next buttons and title area */
35821    group { name: "elm/layout/application/content-back-next";
35822       parts {
35823          part { name: "elm.swallow.content";
35824             type: SWALLOW;
35825             description { state: "default" 0.0;
35826                rel1 { to_y: "title_clipper";
35827                   relative: 0.0 1.0;
35828                   offset: -1 1;
35829                }
35830             }
35831          }
35832
35833          part { name: "title_clipper";
35834             type: RECT;
35835             description { state: "default" 0.0;
35836                visible: 1;
35837                rel1 {
35838                   to_y: "back";
35839                }
35840                rel2 {
35841                   to_y: "back";
35842                }
35843             }
35844             description { state: "hidden" 0.0;
35845                inherit: "default" 0.0;
35846                visible: 0;
35847                rel2 {
35848                   relative: 1.0 0.0;
35849                }
35850             }
35851          }
35852          part { name: "back";
35853             type: EXTERNAL;
35854             source: "elm/button";
35855             clip_to: "back_clipper";
35856             description { state: "default" 0.0;
35857                align: 0.0 0.0;
35858                fixed: 1 1;
35859                rel1 {
35860                   relative: 0.0 0.0;
35861                   offset: 0 1;
35862                }
35863                rel2 {
35864                   relative: 0.0 0.0;
35865                   offset: 50 32;
35866                }
35867                params.string: "label" "Back";
35868             }
35869          }
35870          part { name: "back_clipper";
35871             type: RECT;
35872             clip_to: "title_clipper";
35873             description { state: "default" 0.0;
35874                visible: 1;
35875             }
35876             description { state: "hidden" 0.0;
35877                visible: 0;
35878             }
35879          }
35880          part { name: "next";
35881             type: EXTERNAL;
35882             source: "elm/button";
35883             clip_to: "next_clipper";
35884             description { state: "default" 0.0;
35885                align: 1.0 0.0;
35886                fixed: 1 1;
35887                rel1 {
35888                   relative: 1.0 0.0;
35889                   offset: -2 1;
35890                }
35891                rel2 {
35892                   relative: 1.0 0.0;
35893                   offset: -1 32;
35894                }
35895                params.string: "label" "Next";
35896            }
35897          }
35898          part { name: "next_clipper";
35899             type: RECT;
35900             clip_to: "title_clipper";
35901             description { state: "default" 0.0;
35902                visible: 1;
35903             }
35904             description { state: "hidden" 0.0;
35905                visible: 0;
35906             }
35907          }
35908          programs {
35909             program {
35910                signal: "clicked";
35911                source: "back";
35912                action: SIGNAL_EMIT "elm,action,back" "";
35913             }
35914             program {
35915                signal: "elm,title,hide";
35916                source: "elm";
35917                action: STATE_SET "hidden" 0.0;
35918                transition: LINEAR 0.1;
35919                target: "title_clipper";
35920             }
35921             program {
35922                signal: "elm,title,show";
35923                source: "elm";
35924                action: STATE_SET "default" 0.0;
35925                target: "title_clipper";
35926             }
35927             program {
35928                signal: "elm,back,hide";
35929                source: "elm";
35930                action: STATE_SET "hidden" 0.0;
35931                target: "back_clipper";
35932             }
35933             program {
35934                signal: "elm,back,show";
35935                source: "elm";
35936                action: STATE_SET "default" 0.0;
35937                target: "back_clipper";
35938             }
35939             program {
35940                signal: "clicked";
35941                source: "next";
35942                action: SIGNAL_EMIT "elm,action,next" "";
35943             }
35944             program {
35945                signal: "elm,next,hide";
35946                source: "elm";
35947                action: STATE_SET "hidden" 0.0;
35948                target: "next_clipper";
35949             }
35950             program {
35951                signal: "elm,next,show";
35952                source: "elm";
35953                action: STATE_SET "default" 0.0;
35954                target: "next_clipper";
35955             }
35956          }
35957          part { name: "elm.text.title";
35958             type: TEXT;
35959             effect: SOFT_SHADOW;
35960             scale: 1;
35961             clip_to: "title_clipper";
35962             description { state: "default" 0.0;
35963                rel1 {
35964                   to_x: "back";
35965                   relative: 1.0 0.0;
35966                   offset: 2 1;
35967                }
35968                rel2 { to_y: "back";
35969                   to_x: "next";
35970                   relative: 0.0 1.0;
35971                   offset: -3 -1;
35972                }
35973                text {
35974                   font: "Sans:style=Bold";
35975                   size: 12;
35976                }
35977             }
35978          }
35979       }
35980    }
35981
35982    /* application with toolbar and main content area as a vertical box */
35983    group { name: "elm/layout/application/toolbar-vbox";
35984       parts {
35985          part { name: "elm.box.content";
35986             type: BOX;
35987             description { state: "default" 0.0;
35988                rel1 { to_y: "elm.external.toolbar";
35989                   relative: 0.0 1.0;
35990                   offset: -1 1;
35991                }
35992                box.layout: "vertical";
35993             }
35994          }
35995
35996          part { name: "elm.external.toolbar";
35997             type: EXTERNAL;
35998             source: "elm/toolbar";
35999             description { state: "default" 0.0;
36000                align: 0.5 0.0;
36001                fixed: 0 1;
36002                rel2 {
36003                   relative: 1.0 0.0;
36004                   offset: -1 47;
36005                }
36006             }
36007          }
36008       }
36009    }
36010
36011    /* application with toolbar and main content area as a table */
36012    group { name: "elm/layout/application/toolbar-table";
36013       parts {
36014          part { name: "elm.table.content";
36015             type: TABLE;
36016             description { state: "default" 0.0;
36017                rel1 { to_y: "elm.external.toolbar";
36018                   relative: 0.0 1.0;
36019                   offset: -1 1;
36020                }
36021             }
36022          }
36023
36024          part { name: "elm.external.toolbar";
36025             type: EXTERNAL;
36026             source: "elm/toolbar";
36027             description { state: "default" 0.0;
36028                align: 0.5 0.0;
36029                fixed: 0 1;
36030                rel2 {
36031                   relative: 1.0 0.0;
36032                   offset: -1 47;
36033                }
36034             }
36035          }
36036       }
36037    }
36038
36039    /* a simple title layout, with a label and two icons */
36040    group { name: "elm/layout/application/titlebar";
36041       images {
36042          image: "toolbar_sel.png" COMP;
36043       }
36044       parts {
36045          part { name: "base";
36046             mouse_events: 0;
36047             scale: 1;
36048             description { state: "default" 0.0;
36049                min: 0 33;
36050                max: 99999 33;
36051                align: 0.5 0.0;
36052                rel1.offset: -1 0;
36053                rel2.offset: 1 0;
36054                image {
36055                   normal: "toolbar_sel.png";
36056                   border: 3 3 0 0;
36057                }
36058             }
36059          }
36060          part { name: "elm.swallow.content";
36061             type: SWALLOW;
36062             description { state: "default" 0.0;
36063                visible: 1;
36064                rel1 {
36065                   to: "base";
36066                   relative: 0.0 1.0;
36067                }
36068             }
36069          }
36070          part { name: "elm.swallow.icon";
36071             type: SWALLOW;
36072             scale: 1;
36073             description { state: "default" 0.0;
36074                visible: 0;
36075                fixed: 1 1;
36076                align: 0.0 0.0;
36077                rel1 {
36078                   to: "base";
36079                   relative: 0.0 0.0;
36080                   offset: 4 0;
36081                }
36082                rel2 {
36083                   to: "base";
36084                   relative: 0.0 1.0;
36085                }
36086             }
36087             description { state: "visible" 0.0;
36088                inherit: "default" 0.0;
36089                visible: 1;
36090             }
36091          }
36092          part { name: "elm.swallow.end";
36093             type: SWALLOW;
36094             scale: 1;
36095             description { state: "default" 0.0;
36096                visible: 0;
36097                fixed: 1 1;
36098                align: 1.0 0.0;
36099                rel1 {
36100                   to: "base";
36101                   relative: 1.0 0.0;
36102                   offset: 0 0;
36103                }
36104                rel2 {
36105                   to: "base";
36106                   relative: 1.0 1.0;
36107                   offset: -5 -1;
36108                }
36109             }
36110             description { state: "visible" 0.0;
36111                inherit: "default" 0.0;
36112                visible: 1;
36113             }
36114          }
36115          part { name: "elm.text";
36116             type: TEXT;
36117             effect: SOFT_SHADOW;
36118             mouse_events: 0;
36119             scale: 1;
36120             description { state: "default" 0.0;
36121                fixed: 1 1;
36122                rel1 {
36123                   to_x: "elm.swallow.icon";
36124                   to_y: "base";
36125                   relative: 1.0 0.0;
36126                }
36127                rel2 {
36128                   to_x: "elm.swallow.end";
36129                   to_y: "base";
36130                   relative: 0.0 1.0;
36131                }
36132                text {
36133                   font: "Sans";
36134                   size: 12;
36135                   min: 0 0;
36136                   align: 0.5 0.5;
36137                   text_class: "title_bar";
36138                }
36139             }
36140          }
36141       }
36142       programs {
36143          program { name: "show_icon";
36144             signal: "elm,state,icon,visible";
36145             source: "elm";
36146             action: STATE_SET "visible" 0.0;
36147             target: "elm.swallow.icon";
36148          }
36149          program { name: "hide_icon";
36150             signal: "elm,state,icon,hidden";
36151             source: "elm";
36152             action: STATE_SET "default" 0.0;
36153             target: "elm.swallow.icon";
36154          }
36155          program { name: "show_end";
36156             signal: "elm,state,end,visible";
36157             source: "elm";
36158             action: STATE_SET "visible" 0.0;
36159             target: "elm.swallow.end";
36160          }
36161          program { name: "hide_end";
36162             signal: "elm,state,end,hidden";
36163             source: "elm";
36164             action: STATE_SET "default" 0.0;
36165             target: "elm.swallow.end";
36166          }
36167       }
36168    }
36169 }
36170
36171
36172
36173